yc-agent-ui 1.2.0 → 1.2.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.
- 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 +2 -2
- package/es/components/dialog-form/src/index.vue.d.ts +2 -2
- package/es/components/display-item/index.d.ts +6 -6
- package/es/components/display-item/src/index.vue.d.ts +6 -6
- package/es/components/drawer-form/index.d.ts +14 -14
- package/es/components/drawer-form/src/index.vue.d.ts +6 -6
- package/es/components/form/index.d.ts +4 -4
- package/es/components/form/src/form-content.vue.d.ts +4 -4
- package/es/components/form/src/index.vue.d.ts +4 -4
- package/es/components/form-item/index.d.ts +6 -6
- package/es/components/form-item/src/index.vue.d.ts +4 -4
- package/es/components/page/index.d.ts +86 -86
- package/es/components/page/src/index.vue.d.ts +30 -30
- package/es/components/render/index.d.ts +1 -1
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +26 -26
- package/es/components/search/src/index.vue.d.ts +10 -10
- package/es/components/table/src/table-column.vue.d.ts +12 -12
- package/es/components/yc-ai-chat/src/bubble.vue.d.ts +1 -0
- package/es/components/yc-ai-chat/src/mobile-frame.vue.d.ts +2 -0
- package/es/components/yc-ai-chat/src/sender.vue.d.ts +1 -0
- package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +5 -0
- package/es/components/yc-ai-chat/src/studio.vue.d.ts +2 -1
- package/es/components/yc-ai-chat/src/welcome.vue.d.ts +11 -1
- package/es/components/yc-plus-page/src/index.vue.d.ts +88 -88
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +96 -96
- package/es/index.css +9 -9
- package/es/packages/components/yc-ai-chat/src/bubble2.vue.mjs +3 -2
- package/es/packages/components/yc-ai-chat/src/mobile-frame2.vue.mjs +34 -31
- package/es/packages/components/yc-ai-chat/src/presets.mjs +1 -1
- package/es/packages/components/yc-ai-chat/src/sender2.vue.mjs +16 -15
- package/es/packages/components/yc-ai-chat/src/sidebar2.vue.mjs +63 -35
- package/es/packages/components/yc-ai-chat/src/studio2.vue.mjs +42 -72
- package/es/packages/components/yc-ai-chat/src/welcome2.vue.mjs +22 -40
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +1 -1
- package/index.js +353 -368
- package/index.min.js +18 -18
- package/index.min.mjs +18 -18
- package/index.mjs +353 -368
- 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 +2 -2
- package/lib/components/dialog-form/src/index.vue.d.ts +2 -2
- package/lib/components/display-item/index.d.ts +6 -6
- package/lib/components/display-item/src/index.vue.d.ts +6 -6
- package/lib/components/drawer-form/index.d.ts +14 -14
- package/lib/components/drawer-form/src/index.vue.d.ts +6 -6
- package/lib/components/form/index.d.ts +4 -4
- package/lib/components/form/src/form-content.vue.d.ts +4 -4
- package/lib/components/form/src/index.vue.d.ts +4 -4
- package/lib/components/form-item/index.d.ts +6 -6
- package/lib/components/form-item/src/index.vue.d.ts +4 -4
- package/lib/components/page/index.d.ts +86 -86
- package/lib/components/page/src/index.vue.d.ts +30 -30
- package/lib/components/render/index.d.ts +1 -1
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +26 -26
- package/lib/components/search/src/index.vue.d.ts +10 -10
- package/lib/components/table/src/table-column.vue.d.ts +12 -12
- package/lib/components/yc-ai-chat/src/bubble.vue.d.ts +1 -0
- package/lib/components/yc-ai-chat/src/mobile-frame.vue.d.ts +2 -0
- package/lib/components/yc-ai-chat/src/sender.vue.d.ts +1 -0
- package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +5 -0
- package/lib/components/yc-ai-chat/src/studio.vue.d.ts +2 -1
- package/lib/components/yc-ai-chat/src/welcome.vue.d.ts +11 -1
- package/lib/components/yc-plus-page/src/index.vue.d.ts +88 -88
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +96 -96
- package/lib/index.css +12 -12
- package/lib/packages/components/yc-ai-chat/src/bubble2.vue.js +3 -2
- package/lib/packages/components/yc-ai-chat/src/mobile-frame2.vue.js +34 -31
- package/lib/packages/components/yc-ai-chat/src/presets.js +1 -1
- package/lib/packages/components/yc-ai-chat/src/sender2.vue.js +16 -15
- package/lib/packages/components/yc-ai-chat/src/sidebar2.vue.js +63 -35
- package/lib/packages/components/yc-ai-chat/src/studio2.vue.js +41 -71
- package/lib/packages/components/yc-ai-chat/src/welcome2.vue.js +21 -39
- 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 +1 -1
- package/theme-chalk/plus-yc-ai-chat.css +1 -1
- package/theme-chalk/src/yc-ai-chat.scss +11 -8
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! yc-agent-ui v1.2.
|
|
1
|
+
/*! yc-agent-ui v1.2.1 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('echarts'), require('element-plus'), require('@element-plus/icons-vue'), require('element-plus/es')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vue', 'echarts', 'element-plus', '@element-plus/icons-vue', 'element-plus/es'], factory) :
|
|
@@ -1521,7 +1521,7 @@
|
|
|
1521
1521
|
};
|
|
1522
1522
|
const _hoisted_2$R = { class: "yc-chart-card__header-left" };
|
|
1523
1523
|
const _hoisted_3$K = { class: "yc-chart-card__title-row" };
|
|
1524
|
-
const _hoisted_4$
|
|
1524
|
+
const _hoisted_4$G = {
|
|
1525
1525
|
key: 0,
|
|
1526
1526
|
class: "yc-chart-card__actions"
|
|
1527
1527
|
};
|
|
@@ -1735,7 +1735,7 @@
|
|
|
1735
1735
|
/* TEXT, STYLE */
|
|
1736
1736
|
)) : vue.createCommentVNode("v-if", true)
|
|
1737
1737
|
]),
|
|
1738
|
-
_ctx.$slots.actions ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
1738
|
+
_ctx.$slots.actions ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$G, [
|
|
1739
1739
|
vue.renderSlot(_ctx.$slots, "actions")
|
|
1740
1740
|
])) : vue.createCommentVNode("v-if", true)
|
|
1741
1741
|
];
|
|
@@ -1856,7 +1856,7 @@
|
|
|
1856
1856
|
key: 1,
|
|
1857
1857
|
class: "yc-metric-card__icon"
|
|
1858
1858
|
};
|
|
1859
|
-
const _hoisted_4$
|
|
1859
|
+
const _hoisted_4$F = { class: "yc-metric-card__content" };
|
|
1860
1860
|
const _hoisted_5$y = { class: "yc-metric-card__value-wrap" };
|
|
1861
1861
|
const _hoisted_6$w = {
|
|
1862
1862
|
key: 0,
|
|
@@ -2069,7 +2069,7 @@
|
|
|
2069
2069
|
])
|
|
2070
2070
|
]),
|
|
2071
2071
|
vue.createCommentVNode(" \u6838\u5FC3\u6570\u503C\u533A\u57DF "),
|
|
2072
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
2072
|
+
vue.createElementVNode("div", _hoisted_4$F, [
|
|
2073
2073
|
vue.createElementVNode("div", _hoisted_5$y, [
|
|
2074
2074
|
props.prefix ? (vue.openBlock(), vue.createElementBlock(
|
|
2075
2075
|
"span",
|
|
@@ -4174,7 +4174,7 @@
|
|
|
4174
4174
|
key: 0,
|
|
4175
4175
|
class: "yc-data-table-search"
|
|
4176
4176
|
};
|
|
4177
|
-
const _hoisted_4$
|
|
4177
|
+
const _hoisted_4$E = ["placeholder"];
|
|
4178
4178
|
const _hoisted_5$x = {
|
|
4179
4179
|
key: 0,
|
|
4180
4180
|
class: "yc-data-table-filter__badge"
|
|
@@ -4197,10 +4197,10 @@
|
|
|
4197
4197
|
class: "yc-data-table-filter__count"
|
|
4198
4198
|
};
|
|
4199
4199
|
const _hoisted_14$c = ["onClick"];
|
|
4200
|
-
const _hoisted_15$
|
|
4201
|
-
const _hoisted_16$
|
|
4202
|
-
const _hoisted_17$
|
|
4203
|
-
const _hoisted_18$
|
|
4200
|
+
const _hoisted_15$b = { class: "yc-data-table-toolbar__right" };
|
|
4201
|
+
const _hoisted_16$b = { class: "yc-data-table-column-menu" };
|
|
4202
|
+
const _hoisted_17$9 = { class: "yc-data-table-column-menu__list" };
|
|
4203
|
+
const _hoisted_18$9 = ["onClick"];
|
|
4204
4204
|
const _hoisted_19$8 = { class: "yc-data-table-column-menu__checkbox" };
|
|
4205
4205
|
const _hoisted_20$8 = {
|
|
4206
4206
|
key: 0,
|
|
@@ -4209,7 +4209,7 @@
|
|
|
4209
4209
|
stroke: "currentColor",
|
|
4210
4210
|
"stroke-width": "3"
|
|
4211
4211
|
};
|
|
4212
|
-
const _hoisted_21$
|
|
4212
|
+
const _hoisted_21$6 = { class: "yc-data-table-column-menu__label" };
|
|
4213
4213
|
var _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
|
|
4214
4214
|
...{
|
|
4215
4215
|
name: "DataTableToolbar"
|
|
@@ -4298,7 +4298,7 @@
|
|
|
4298
4298
|
type: "text",
|
|
4299
4299
|
class: "yc-data-table-search__input",
|
|
4300
4300
|
placeholder: props.searchPlaceholder
|
|
4301
|
-
}, null, 8, _hoisted_4$
|
|
4301
|
+
}, null, 8, _hoisted_4$E), [
|
|
4302
4302
|
[vue.vModelText, searchValue.value]
|
|
4303
4303
|
]),
|
|
4304
4304
|
searchValue.value ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
@@ -4495,7 +4495,7 @@
|
|
|
4495
4495
|
])])) : vue.createCommentVNode("v-if", true)
|
|
4496
4496
|
]),
|
|
4497
4497
|
vue.createCommentVNode(" \u53F3\u4FA7\u64CD\u4F5C\u4E0E\u5217\u663E\u9690\u63A7\u5236 "),
|
|
4498
|
-
vue.createElementVNode("div", _hoisted_15$
|
|
4498
|
+
vue.createElementVNode("div", _hoisted_15$b, [
|
|
4499
4499
|
vue.createCommentVNode(" \u5916\u90E8\u81EA\u5B9A\u4E49\u64CD\u4F5C\u680F\u63D2\u69FD "),
|
|
4500
4500
|
vue.renderSlot(_ctx.$slots, "actions"),
|
|
4501
4501
|
vue.createCommentVNode(" \u5217\u663E\u9690\u63A7\u5236 (View) "),
|
|
@@ -4530,7 +4530,7 @@
|
|
|
4530
4530
|
)
|
|
4531
4531
|
])]),
|
|
4532
4532
|
default: vue.withCtx(() => [
|
|
4533
|
-
vue.createElementVNode("div", _hoisted_16$
|
|
4533
|
+
vue.createElementVNode("div", _hoisted_16$b, [
|
|
4534
4534
|
_cache[9] || (_cache[9] = vue.createElementVNode(
|
|
4535
4535
|
"div",
|
|
4536
4536
|
{ class: "yc-data-table-column-menu__title" },
|
|
@@ -4538,7 +4538,7 @@
|
|
|
4538
4538
|
-1
|
|
4539
4539
|
/* CACHED */
|
|
4540
4540
|
)),
|
|
4541
|
-
vue.createElementVNode("div", _hoisted_17$
|
|
4541
|
+
vue.createElementVNode("div", _hoisted_17$9, [
|
|
4542
4542
|
(vue.openBlock(true), vue.createElementBlock(
|
|
4543
4543
|
vue.Fragment,
|
|
4544
4544
|
null,
|
|
@@ -4561,12 +4561,12 @@
|
|
|
4561
4561
|
]),
|
|
4562
4562
|
vue.createElementVNode(
|
|
4563
4563
|
"span",
|
|
4564
|
-
_hoisted_21$
|
|
4564
|
+
_hoisted_21$6,
|
|
4565
4565
|
vue.toDisplayString(col.label),
|
|
4566
4566
|
1
|
|
4567
4567
|
/* TEXT */
|
|
4568
4568
|
)
|
|
4569
|
-
], 10, _hoisted_18$
|
|
4569
|
+
], 10, _hoisted_18$9);
|
|
4570
4570
|
}),
|
|
4571
4571
|
128
|
|
4572
4572
|
/* KEYED_FRAGMENT */
|
|
@@ -4589,7 +4589,7 @@
|
|
|
4589
4589
|
key: 0,
|
|
4590
4590
|
class: "yc-data-table-pagination__selected"
|
|
4591
4591
|
};
|
|
4592
|
-
const _hoisted_4$
|
|
4592
|
+
const _hoisted_4$D = {
|
|
4593
4593
|
key: 1,
|
|
4594
4594
|
class: "yc-data-table-pagination__total"
|
|
4595
4595
|
};
|
|
@@ -4652,7 +4652,7 @@
|
|
|
4652
4652
|
/* TEXT */
|
|
4653
4653
|
)) : (vue.openBlock(), vue.createElementBlock(
|
|
4654
4654
|
"span",
|
|
4655
|
-
_hoisted_4$
|
|
4655
|
+
_hoisted_4$D,
|
|
4656
4656
|
" \u5171 " + vue.toDisplayString(props.totalCount) + " \u6761\u6570\u636E ",
|
|
4657
4657
|
1
|
|
4658
4658
|
/* TEXT */
|
|
@@ -5070,7 +5070,7 @@
|
|
|
5070
5070
|
};
|
|
5071
5071
|
const _hoisted_2$M = { class: "yc-data-table-header__left" };
|
|
5072
5072
|
const _hoisted_3$F = { class: "yc-data-table-header__title-row" };
|
|
5073
|
-
const _hoisted_4$
|
|
5073
|
+
const _hoisted_4$C = {
|
|
5074
5074
|
key: 0,
|
|
5075
5075
|
class: "yc-data-table-header__title"
|
|
5076
5076
|
};
|
|
@@ -5284,7 +5284,7 @@
|
|
|
5284
5284
|
vue.createElementVNode("div", _hoisted_3$F, [
|
|
5285
5285
|
props.title ? (vue.openBlock(), vue.createElementBlock(
|
|
5286
5286
|
"span",
|
|
5287
|
-
_hoisted_4$
|
|
5287
|
+
_hoisted_4$C,
|
|
5288
5288
|
vue.toDisplayString(props.title),
|
|
5289
5289
|
1
|
|
5290
5290
|
/* TEXT */
|
|
@@ -12237,7 +12237,7 @@
|
|
|
12237
12237
|
key: 0,
|
|
12238
12238
|
class: "plus-form-item-field"
|
|
12239
12239
|
};
|
|
12240
|
-
const _hoisted_4$
|
|
12240
|
+
const _hoisted_4$B = {
|
|
12241
12241
|
key: 1,
|
|
12242
12242
|
class: "plus-form-item-field"
|
|
12243
12243
|
};
|
|
@@ -12559,7 +12559,7 @@
|
|
|
12559
12559
|
"render-type": "form",
|
|
12560
12560
|
"handle-change": handleChange
|
|
12561
12561
|
}, null, 8, ["render", "params", "callback-value", "custom-field-props"])) : vue.createCommentVNode("v-if", true)
|
|
12562
|
-
])) : _ctx.$slots[vue.unref(getFieldSlotName)(__props.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
12562
|
+
])) : _ctx.$slots[vue.unref(getFieldSlotName)(__props.prop)] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$B, [
|
|
12563
12563
|
vue.renderSlot(_ctx.$slots, vue.unref(getFieldSlotName)(__props.prop), vue.mergeProps(params.value, { column: props }))
|
|
12564
12564
|
])) : __props.valueType === "select" && customFieldProps.value.multiple === true ? (vue.openBlock(), vue.createBlock(vue.unref(ElSelect), vue.mergeProps({
|
|
12565
12565
|
key: 2,
|
|
@@ -17449,7 +17449,7 @@
|
|
|
17449
17449
|
const _hoisted_1$Y = { class: "plus-table-title-bar" };
|
|
17450
17450
|
const _hoisted_2$G = { class: "plus-table-title-bar__title" };
|
|
17451
17451
|
const _hoisted_3$C = { class: "plus-table-title-bar__toolbar" };
|
|
17452
|
-
const _hoisted_4$
|
|
17452
|
+
const _hoisted_4$A = { class: "plus-table-title-bar__toolbar__density" };
|
|
17453
17453
|
const _hoisted_5$u = { class: "plus-table-checkbox-checkAll" };
|
|
17454
17454
|
const _hoisted_6$s = { class: "plus-table-checkbox-actions" };
|
|
17455
17455
|
const _hoisted_7$o = {
|
|
@@ -17716,7 +17716,7 @@
|
|
|
17716
17716
|
}, 8, ["content"])
|
|
17717
17717
|
]),
|
|
17718
17718
|
default: vue.withCtx(() => [
|
|
17719
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
17719
|
+
vue.createElementVNode("div", _hoisted_4$A, [
|
|
17720
17720
|
(vue.openBlock(), vue.createElementBlock(
|
|
17721
17721
|
vue.Fragment,
|
|
17722
17722
|
null,
|
|
@@ -18823,7 +18823,7 @@
|
|
|
18823
18823
|
const _hoisted_1$V = { class: "yc-switch-row__body" };
|
|
18824
18824
|
const _hoisted_2$E = { class: "yc-switch-row__head" };
|
|
18825
18825
|
const _hoisted_3$A = { class: "yc-switch-row__title" };
|
|
18826
|
-
const _hoisted_4$
|
|
18826
|
+
const _hoisted_4$z = {
|
|
18827
18827
|
key: 0,
|
|
18828
18828
|
class: "yc-switch-row__badge"
|
|
18829
18829
|
};
|
|
@@ -18874,7 +18874,7 @@
|
|
|
18874
18874
|
),
|
|
18875
18875
|
__props.badge ? (vue.openBlock(), vue.createElementBlock(
|
|
18876
18876
|
"span",
|
|
18877
|
-
_hoisted_4$
|
|
18877
|
+
_hoisted_4$z,
|
|
18878
18878
|
vue.toDisplayString(__props.badge),
|
|
18879
18879
|
1
|
|
18880
18880
|
/* TEXT */
|
|
@@ -18918,7 +18918,7 @@
|
|
|
18918
18918
|
};
|
|
18919
18919
|
const _hoisted_2$D = ["role"];
|
|
18920
18920
|
const _hoisted_3$z = ["role", "aria-checked", "disabled", "onClick"];
|
|
18921
|
-
const _hoisted_4$
|
|
18921
|
+
const _hoisted_4$y = { class: "yc-choice-card__top" };
|
|
18922
18922
|
const _hoisted_5$s = { class: "yc-choice-card__title" };
|
|
18923
18923
|
const _hoisted_6$q = { class: "yc-choice-card__right" };
|
|
18924
18924
|
const _hoisted_7$n = {
|
|
@@ -19008,7 +19008,7 @@
|
|
|
19008
19008
|
disabled: __props.disabled || opt.disabled,
|
|
19009
19009
|
onClick: ($event) => select(opt)
|
|
19010
19010
|
}, [
|
|
19011
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
19011
|
+
vue.createElementVNode("div", _hoisted_4$y, [
|
|
19012
19012
|
vue.createElementVNode(
|
|
19013
19013
|
"span",
|
|
19014
19014
|
_hoisted_5$s,
|
|
@@ -19362,7 +19362,7 @@
|
|
|
19362
19362
|
"stroke-linecap": "round",
|
|
19363
19363
|
"stroke-linejoin": "round"
|
|
19364
19364
|
};
|
|
19365
|
-
const _hoisted_4$
|
|
19365
|
+
const _hoisted_4$x = {
|
|
19366
19366
|
key: 1,
|
|
19367
19367
|
class: "yc-table-head__icon",
|
|
19368
19368
|
viewBox: "0 0 24 24",
|
|
@@ -19441,7 +19441,7 @@
|
|
|
19441
19441
|
-1
|
|
19442
19442
|
/* CACHED */
|
|
19443
19443
|
)
|
|
19444
|
-
])])) : __props.sortOrder === "descending" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_4$
|
|
19444
|
+
])])) : __props.sortOrder === "descending" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_4$x, [..._cache[1] || (_cache[1] = [
|
|
19445
19445
|
vue.createElementVNode(
|
|
19446
19446
|
"path",
|
|
19447
19447
|
{ d: "m6 9 6 6 6-6" },
|
|
@@ -19539,7 +19539,7 @@
|
|
|
19539
19539
|
const _hoisted_1$Q = ["checked", "indeterminate"];
|
|
19540
19540
|
const _hoisted_2$B = ["checked", "aria-label", "onChange"];
|
|
19541
19541
|
const _hoisted_3$x = { class: "yc-table-empty" };
|
|
19542
|
-
const _hoisted_4$
|
|
19542
|
+
const _hoisted_4$w = { class: "yc-table-empty__text" };
|
|
19543
19543
|
var _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
19544
19544
|
...{
|
|
19545
19545
|
name: "YcCossTable"
|
|
@@ -19880,7 +19880,7 @@
|
|
|
19880
19880
|
)),
|
|
19881
19881
|
vue.createElementVNode(
|
|
19882
19882
|
"p",
|
|
19883
|
-
_hoisted_4$
|
|
19883
|
+
_hoisted_4$w,
|
|
19884
19884
|
vue.toDisplayString(__props.emptyText),
|
|
19885
19885
|
1
|
|
19886
19886
|
/* TEXT */
|
|
@@ -19940,7 +19940,7 @@
|
|
|
19940
19940
|
key: 0,
|
|
19941
19941
|
class: "yc-card-frame__title"
|
|
19942
19942
|
};
|
|
19943
|
-
const _hoisted_4$
|
|
19943
|
+
const _hoisted_4$v = {
|
|
19944
19944
|
key: 1,
|
|
19945
19945
|
class: "yc-card-frame__description"
|
|
19946
19946
|
};
|
|
@@ -19984,7 +19984,7 @@
|
|
|
19984
19984
|
)
|
|
19985
19985
|
])
|
|
19986
19986
|
])) : vue.createCommentVNode("v-if", true),
|
|
19987
|
-
__props.description || _ctx.$slots.description ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$
|
|
19987
|
+
__props.description || _ctx.$slots.description ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$v, [
|
|
19988
19988
|
vue.renderSlot(_ctx.$slots, "description", {}, () => [
|
|
19989
19989
|
vue.createTextVNode(
|
|
19990
19990
|
vue.toDisplayString(__props.description),
|
|
@@ -20080,7 +20080,7 @@
|
|
|
20080
20080
|
key: 1,
|
|
20081
20081
|
class: "yc-calendar__nav-placeholder"
|
|
20082
20082
|
};
|
|
20083
|
-
const _hoisted_4$
|
|
20083
|
+
const _hoisted_4$u = { class: "yc-calendar__title" };
|
|
20084
20084
|
const _hoisted_5$p = {
|
|
20085
20085
|
key: 3,
|
|
20086
20086
|
class: "yc-calendar__nav-placeholder"
|
|
@@ -20215,7 +20215,7 @@
|
|
|
20215
20215
|
])])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$v)),
|
|
20216
20216
|
vue.createElementVNode(
|
|
20217
20217
|
"span",
|
|
20218
|
-
_hoisted_4$
|
|
20218
|
+
_hoisted_4$u,
|
|
20219
20219
|
vue.toDisplayString(monthTitle.value),
|
|
20220
20220
|
1
|
|
20221
20221
|
/* TEXT */
|
|
@@ -20314,7 +20314,7 @@
|
|
|
20314
20314
|
const _hoisted_1$N = { class: "yc-date-picker-wrap" };
|
|
20315
20315
|
const _hoisted_2$y = ["disabled"];
|
|
20316
20316
|
const _hoisted_3$u = { class: "yc-date-picker-trigger__text" };
|
|
20317
|
-
const _hoisted_4$
|
|
20317
|
+
const _hoisted_4$t = { class: "yc-date-picker-content" };
|
|
20318
20318
|
const _hoisted_5$o = {
|
|
20319
20319
|
key: 0,
|
|
20320
20320
|
class: "yc-date-picker-presets"
|
|
@@ -20666,7 +20666,7 @@
|
|
|
20666
20666
|
], 14, _hoisted_2$y)
|
|
20667
20667
|
]),
|
|
20668
20668
|
default: vue.withCtx(() => [
|
|
20669
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
20669
|
+
vue.createElementVNode("div", _hoisted_4$t, [
|
|
20670
20670
|
vue.createCommentVNode(" \u5FEB\u6377\u9884\u8BBE\u4FA7\u680F (Presets Sidebar) "),
|
|
20671
20671
|
hasPresets.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$o, [
|
|
20672
20672
|
_cache[5] || (_cache[5] = vue.createElementVNode(
|
|
@@ -20838,7 +20838,7 @@
|
|
|
20838
20838
|
"stroke-linecap": "round",
|
|
20839
20839
|
"stroke-linejoin": "round"
|
|
20840
20840
|
};
|
|
20841
|
-
const _hoisted_4$
|
|
20841
|
+
const _hoisted_4$s = {
|
|
20842
20842
|
key: 2,
|
|
20843
20843
|
viewBox: "0 0 24 24",
|
|
20844
20844
|
width: "15",
|
|
@@ -20934,7 +20934,7 @@
|
|
|
20934
20934
|
-1
|
|
20935
20935
|
/* CACHED */
|
|
20936
20936
|
)
|
|
20937
|
-
])])) : __props.tone === "success" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_4$
|
|
20937
|
+
])])) : __props.tone === "success" ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_4$s, [..._cache[3] || (_cache[3] = [
|
|
20938
20938
|
vue.createElementVNode(
|
|
20939
20939
|
"circle",
|
|
20940
20940
|
{
|
|
@@ -21055,7 +21055,7 @@
|
|
|
21055
21055
|
"stroke-linecap": "round",
|
|
21056
21056
|
"stroke-linejoin": "round"
|
|
21057
21057
|
};
|
|
21058
|
-
const _hoisted_4$
|
|
21058
|
+
const _hoisted_4$r = {
|
|
21059
21059
|
key: 0,
|
|
21060
21060
|
class: "yc-timeline__line"
|
|
21061
21061
|
};
|
|
@@ -21117,7 +21117,7 @@
|
|
|
21117
21117
|
)
|
|
21118
21118
|
])])) : vue.createCommentVNode("v-if", true)
|
|
21119
21119
|
]),
|
|
21120
|
-
idx < __props.items.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
21120
|
+
idx < __props.items.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$r)) : vue.createCommentVNode("v-if", true)
|
|
21121
21121
|
]),
|
|
21122
21122
|
vue.createElementVNode("div", _hoisted_5$m, [
|
|
21123
21123
|
vue.createElementVNode("div", _hoisted_6$l, [
|
|
@@ -21179,7 +21179,7 @@
|
|
|
21179
21179
|
key: 0,
|
|
21180
21180
|
class: "yc-empty-state__desc"
|
|
21181
21181
|
};
|
|
21182
|
-
const _hoisted_4$
|
|
21182
|
+
const _hoisted_4$q = {
|
|
21183
21183
|
key: 1,
|
|
21184
21184
|
class: "yc-empty-state__actions"
|
|
21185
21185
|
};
|
|
@@ -21241,7 +21241,7 @@
|
|
|
21241
21241
|
1
|
|
21242
21242
|
/* TEXT */
|
|
21243
21243
|
)) : vue.createCommentVNode("v-if", true),
|
|
21244
|
-
__props.actionText || _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
21244
|
+
__props.actionText || _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$q, [
|
|
21245
21245
|
vue.renderSlot(_ctx.$slots, "action", {}, () => [
|
|
21246
21246
|
vue.createElementVNode(
|
|
21247
21247
|
"button",
|
|
@@ -21273,7 +21273,7 @@
|
|
|
21273
21273
|
key: 0,
|
|
21274
21274
|
class: "yc-kv__title"
|
|
21275
21275
|
};
|
|
21276
|
-
const _hoisted_4$
|
|
21276
|
+
const _hoisted_4$p = {
|
|
21277
21277
|
key: 1,
|
|
21278
21278
|
class: "yc-kv__subtitle"
|
|
21279
21279
|
};
|
|
@@ -21359,7 +21359,7 @@
|
|
|
21359
21359
|
)) : vue.createCommentVNode("v-if", true),
|
|
21360
21360
|
__props.subtitle ? (vue.openBlock(), vue.createElementBlock(
|
|
21361
21361
|
"div",
|
|
21362
|
-
_hoisted_4$
|
|
21362
|
+
_hoisted_4$p,
|
|
21363
21363
|
vue.toDisplayString(__props.subtitle),
|
|
21364
21364
|
1
|
|
21365
21365
|
/* TEXT */
|
|
@@ -21575,7 +21575,7 @@
|
|
|
21575
21575
|
key: 0,
|
|
21576
21576
|
class: "card-footer"
|
|
21577
21577
|
};
|
|
21578
|
-
const _hoisted_4$
|
|
21578
|
+
const _hoisted_4$o = {
|
|
21579
21579
|
key: 0,
|
|
21580
21580
|
class: "hex-tokens"
|
|
21581
21581
|
};
|
|
@@ -21715,7 +21715,7 @@
|
|
|
21715
21715
|
props.showTokenBar || props.actionText || _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$p, [
|
|
21716
21716
|
vue.createCommentVNode(" \u8272\u503C\u8272\u6807\u6761 "),
|
|
21717
21717
|
vue.renderSlot(_ctx.$slots, "tokens", { palette: paletteConfig.value }, () => [
|
|
21718
|
-
props.showTokenBar && paletteConfig.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
21718
|
+
props.showTokenBar && paletteConfig.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$o, [
|
|
21719
21719
|
vue.createElementVNode(
|
|
21720
21720
|
"span",
|
|
21721
21721
|
{
|
|
@@ -22449,7 +22449,7 @@
|
|
|
22449
22449
|
key: 1,
|
|
22450
22450
|
class: "yc-field__extra"
|
|
22451
22451
|
};
|
|
22452
|
-
const _hoisted_4$
|
|
22452
|
+
const _hoisted_4$n = {
|
|
22453
22453
|
key: 0,
|
|
22454
22454
|
class: "yc-input-addon is-before"
|
|
22455
22455
|
};
|
|
@@ -22509,11 +22509,11 @@
|
|
|
22509
22509
|
key: 2,
|
|
22510
22510
|
class: "yc-input__count"
|
|
22511
22511
|
};
|
|
22512
|
-
const _hoisted_15$
|
|
22512
|
+
const _hoisted_15$a = {
|
|
22513
22513
|
key: 3,
|
|
22514
22514
|
class: "yc-input__kbd"
|
|
22515
22515
|
};
|
|
22516
|
-
const _hoisted_16$
|
|
22516
|
+
const _hoisted_16$a = {
|
|
22517
22517
|
key: 1,
|
|
22518
22518
|
class: "yc-input-addon is-after"
|
|
22519
22519
|
};
|
|
@@ -22648,7 +22648,7 @@
|
|
|
22648
22648
|
class: vue.normalizeClass(["yc-input-group", { "has-addon-before": !!(__props.addonBefore || _ctx.$slots["addon-before"]), "has-addon-after": !!(__props.addonAfter || _ctx.$slots["addon-after"]) }])
|
|
22649
22649
|
},
|
|
22650
22650
|
[
|
|
22651
|
-
__props.addonBefore || _ctx.$slots["addon-before"] ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
22651
|
+
__props.addonBefore || _ctx.$slots["addon-before"] ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$n, [
|
|
22652
22652
|
vue.renderSlot(_ctx.$slots, "addon-before", {}, () => [
|
|
22653
22653
|
vue.createTextVNode(
|
|
22654
22654
|
vue.toDisplayString(__props.addonBefore),
|
|
@@ -22822,14 +22822,14 @@
|
|
|
22822
22822
|
)) : vue.createCommentVNode("v-if", true),
|
|
22823
22823
|
__props.shortcut && !stringValue.value ? (vue.openBlock(), vue.createElementBlock(
|
|
22824
22824
|
"kbd",
|
|
22825
|
-
_hoisted_15$
|
|
22825
|
+
_hoisted_15$a,
|
|
22826
22826
|
vue.toDisplayString(__props.shortcut),
|
|
22827
22827
|
1
|
|
22828
22828
|
/* TEXT */
|
|
22829
22829
|
)) : vue.createCommentVNode("v-if", true)
|
|
22830
22830
|
])) : vue.createCommentVNode("v-if", true)
|
|
22831
22831
|
]),
|
|
22832
|
-
__props.addonAfter || _ctx.$slots["addon-after"] ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_16$
|
|
22832
|
+
__props.addonAfter || _ctx.$slots["addon-after"] ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_16$a, [
|
|
22833
22833
|
vue.renderSlot(_ctx.$slots, "addon-after", {}, () => [
|
|
22834
22834
|
vue.createTextVNode(
|
|
22835
22835
|
vue.toDisplayString(__props.addonAfter),
|
|
@@ -22870,7 +22870,7 @@
|
|
|
22870
22870
|
"aria-hidden": "true"
|
|
22871
22871
|
};
|
|
22872
22872
|
const _hoisted_3$m = { class: "yc-input-group" };
|
|
22873
|
-
const _hoisted_4$
|
|
22873
|
+
const _hoisted_4$m = {
|
|
22874
22874
|
key: 0,
|
|
22875
22875
|
class: "yc-input__prefix yc-money-input__currency"
|
|
22876
22876
|
};
|
|
@@ -23016,7 +23016,7 @@
|
|
|
23016
23016
|
}, [
|
|
23017
23017
|
__props.currency ? (vue.openBlock(), vue.createElementBlock(
|
|
23018
23018
|
"span",
|
|
23019
|
-
_hoisted_4$
|
|
23019
|
+
_hoisted_4$m,
|
|
23020
23020
|
vue.toDisplayString(__props.currency),
|
|
23021
23021
|
1
|
|
23022
23022
|
/* TEXT */
|
|
@@ -23109,7 +23109,7 @@
|
|
|
23109
23109
|
"aria-hidden": "true"
|
|
23110
23110
|
};
|
|
23111
23111
|
const _hoisted_3$l = ["rows", "value", "placeholder", "disabled", "readonly", "maxlength"];
|
|
23112
|
-
const _hoisted_4$
|
|
23112
|
+
const _hoisted_4$l = {
|
|
23113
23113
|
key: 0,
|
|
23114
23114
|
class: "yc-textarea__footer"
|
|
23115
23115
|
};
|
|
@@ -23225,7 +23225,7 @@
|
|
|
23225
23225
|
onFocus,
|
|
23226
23226
|
onBlur
|
|
23227
23227
|
}, null, 40, _hoisted_3$l),
|
|
23228
|
-
__props.showCount && __props.maxlength || _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
23228
|
+
__props.showCount && __props.maxlength || _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$l, [
|
|
23229
23229
|
vue.renderSlot(_ctx.$slots, "footer"),
|
|
23230
23230
|
__props.showCount && __props.maxlength ? (vue.openBlock(), vue.createElementBlock(
|
|
23231
23231
|
"span",
|
|
@@ -23260,7 +23260,7 @@
|
|
|
23260
23260
|
};
|
|
23261
23261
|
const _hoisted_2$n = { class: "yc-stepper__control" };
|
|
23262
23262
|
const _hoisted_3$k = ["disabled"];
|
|
23263
|
-
const _hoisted_4$
|
|
23263
|
+
const _hoisted_4$k = { class: "yc-stepper__value-wrap" };
|
|
23264
23264
|
const _hoisted_5$h = ["value", "placeholder", "disabled", "readonly"];
|
|
23265
23265
|
const _hoisted_6$h = {
|
|
23266
23266
|
key: 0,
|
|
@@ -23392,7 +23392,7 @@
|
|
|
23392
23392
|
/* CACHED */
|
|
23393
23393
|
)
|
|
23394
23394
|
])], 8, _hoisted_3$k),
|
|
23395
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
23395
|
+
vue.createElementVNode("div", _hoisted_4$k, [
|
|
23396
23396
|
vue.createElementVNode("input", {
|
|
23397
23397
|
id: stepperId,
|
|
23398
23398
|
type: "text",
|
|
@@ -51995,7 +51995,7 @@
|
|
|
51995
51995
|
class: "node-label-wrapper",
|
|
51996
51996
|
style: { "display": "flex", "gap": "4px", "align-items": "center", "width": "100%" }
|
|
51997
51997
|
};
|
|
51998
|
-
const _hoisted_4$
|
|
51998
|
+
const _hoisted_4$j = { class: "node-label" };
|
|
51999
51999
|
const _hoisted_5$g = ["innerHTML"];
|
|
52000
52000
|
const _hoisted_6$g = { class: "action-icon-wrapper" };
|
|
52001
52001
|
const _hoisted_7$e = {
|
|
@@ -52754,7 +52754,7 @@
|
|
|
52754
52754
|
data,
|
|
52755
52755
|
highlightedLabel: highlightKeyword(node.label, props.searchMode === "local" ? filterText.value : "")
|
|
52756
52756
|
}, () => [
|
|
52757
|
-
vue.createElementVNode("span", _hoisted_4$
|
|
52757
|
+
vue.createElementVNode("span", _hoisted_4$j, [
|
|
52758
52758
|
vue.createCommentVNode(" \u9ED8\u8BA4\u8282\u70B9\u6807\u7B7E\u6587\u672C "),
|
|
52759
52759
|
vue.createVNode(_component_el_tooltip, {
|
|
52760
52760
|
content: node.label,
|
|
@@ -52946,7 +52946,7 @@
|
|
|
52946
52946
|
key: 0,
|
|
52947
52947
|
class: "yc-property-header__title"
|
|
52948
52948
|
};
|
|
52949
|
-
const _hoisted_4$
|
|
52949
|
+
const _hoisted_4$i = {
|
|
52950
52950
|
key: 1,
|
|
52951
52951
|
class: "yc-property-header__subtitle"
|
|
52952
52952
|
};
|
|
@@ -52979,21 +52979,21 @@
|
|
|
52979
52979
|
class: "yc-property-th is-selection",
|
|
52980
52980
|
width: "48px"
|
|
52981
52981
|
};
|
|
52982
|
-
const _hoisted_15$
|
|
52983
|
-
const _hoisted_16$
|
|
52984
|
-
const _hoisted_17$
|
|
52985
|
-
const _hoisted_18$
|
|
52982
|
+
const _hoisted_15$9 = ["checked", "indeterminate"];
|
|
52983
|
+
const _hoisted_16$9 = ["onClick"];
|
|
52984
|
+
const _hoisted_17$8 = { class: "yc-property-th__inner" };
|
|
52985
|
+
const _hoisted_18$8 = {
|
|
52986
52986
|
key: 1,
|
|
52987
52987
|
class: "yc-property-th align-right",
|
|
52988
52988
|
width: "140px"
|
|
52989
52989
|
};
|
|
52990
52990
|
const _hoisted_19$7 = ["onClick"];
|
|
52991
52991
|
const _hoisted_20$7 = ["checked", "onChange"];
|
|
52992
|
-
const _hoisted_21$
|
|
52992
|
+
const _hoisted_21$5 = {
|
|
52993
52993
|
key: 1,
|
|
52994
52994
|
class: "yc-property-money"
|
|
52995
52995
|
};
|
|
52996
|
-
const _hoisted_22$
|
|
52996
|
+
const _hoisted_22$5 = { class: "yc-property-money__num" };
|
|
52997
52997
|
const _hoisted_23$3 = ["href"];
|
|
52998
52998
|
const _hoisted_24$2 = {
|
|
52999
52999
|
key: 1,
|
|
@@ -53337,7 +53337,7 @@
|
|
|
53337
53337
|
)) : vue.createCommentVNode("v-if", true),
|
|
53338
53338
|
__props.subtitle ? (vue.openBlock(), vue.createElementBlock(
|
|
53339
53339
|
"p",
|
|
53340
|
-
_hoisted_4$
|
|
53340
|
+
_hoisted_4$i,
|
|
53341
53341
|
vue.toDisplayString(__props.subtitle),
|
|
53342
53342
|
1
|
|
53343
53343
|
/* TEXT */
|
|
@@ -53464,7 +53464,7 @@
|
|
|
53464
53464
|
checked: isAllSelected.value,
|
|
53465
53465
|
indeterminate: isIndeterminate.value,
|
|
53466
53466
|
onChange: handleToggleSelectAll
|
|
53467
|
-
}, null, 40, _hoisted_15$
|
|
53467
|
+
}, null, 40, _hoisted_15$9)
|
|
53468
53468
|
])) : vue.createCommentVNode("v-if", true),
|
|
53469
53469
|
vue.createCommentVNode(" \u6570\u636E\u5217\u5934 "),
|
|
53470
53470
|
(vue.openBlock(true), vue.createElementBlock(
|
|
@@ -53481,7 +53481,7 @@
|
|
|
53481
53481
|
style: vue.normalizeStyle({ width: typeof col.width === "number" ? `${col.width}px` : col.width, minWidth: typeof col.minWidth === "number" ? `${col.minWidth}px` : col.minWidth }),
|
|
53482
53482
|
onClick: ($event) => col.sortable ? handleSort(col.prop) : void 0
|
|
53483
53483
|
}, [
|
|
53484
|
-
vue.createElementVNode("div", _hoisted_17$
|
|
53484
|
+
vue.createElementVNode("div", _hoisted_17$8, [
|
|
53485
53485
|
vue.renderSlot(_ctx.$slots, `header-${col.prop}`, { column: col }, () => [
|
|
53486
53486
|
vue.createElementVNode(
|
|
53487
53487
|
"span",
|
|
@@ -53522,13 +53522,13 @@
|
|
|
53522
53522
|
/* CLASS */
|
|
53523
53523
|
)) : vue.createCommentVNode("v-if", true)
|
|
53524
53524
|
])
|
|
53525
|
-
], 14, _hoisted_16$
|
|
53525
|
+
], 14, _hoisted_16$9);
|
|
53526
53526
|
}),
|
|
53527
53527
|
128
|
|
53528
53528
|
/* KEYED_FRAGMENT */
|
|
53529
53529
|
)),
|
|
53530
53530
|
vue.createCommentVNode(" \u64CD\u4F5C\u5217\u5934 "),
|
|
53531
|
-
__props.actions && __props.actions.length > 0 ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_18$
|
|
53531
|
+
__props.actions && __props.actions.length > 0 ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_18$8, [..._cache[11] || (_cache[11] = [
|
|
53532
53532
|
vue.createElementVNode(
|
|
53533
53533
|
"span",
|
|
53534
53534
|
null,
|
|
@@ -53609,7 +53609,7 @@
|
|
|
53609
53609
|
],
|
|
53610
53610
|
2
|
|
53611
53611
|
/* CLASS */
|
|
53612
|
-
)) : col.type === "money" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_21$
|
|
53612
|
+
)) : col.type === "money" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_21$5, [
|
|
53613
53613
|
_cache[12] || (_cache[12] = vue.createElementVNode(
|
|
53614
53614
|
"span",
|
|
53615
53615
|
{ class: "yc-property-money__symbol" },
|
|
@@ -53619,7 +53619,7 @@
|
|
|
53619
53619
|
)),
|
|
53620
53620
|
vue.createElementVNode(
|
|
53621
53621
|
"span",
|
|
53622
|
-
_hoisted_22$
|
|
53622
|
+
_hoisted_22$5,
|
|
53623
53623
|
vue.toDisplayString(formatMoney(getCellValue(row, col))),
|
|
53624
53624
|
1
|
|
53625
53625
|
/* TEXT */
|
|
@@ -54162,7 +54162,7 @@
|
|
|
54162
54162
|
const _hoisted_1$x = { class: "yc-order-table-container" };
|
|
54163
54163
|
const _hoisted_2$j = ["onClick"];
|
|
54164
54164
|
const _hoisted_3$h = { class: "yc-order-card__header" };
|
|
54165
|
-
const _hoisted_4$
|
|
54165
|
+
const _hoisted_4$h = { class: "yc-order-card__code" };
|
|
54166
54166
|
const _hoisted_5$e = { class: "yc-order-card__badges" };
|
|
54167
54167
|
const _hoisted_6$e = { class: "yc-order-card__content" };
|
|
54168
54168
|
const _hoisted_7$c = { class: "yc-order-card__title" };
|
|
@@ -54179,20 +54179,20 @@
|
|
|
54179
54179
|
const _hoisted_12$b = { class: "yc-order-card__footer-info" };
|
|
54180
54180
|
const _hoisted_13$b = { class: "yc-order-card__person" };
|
|
54181
54181
|
const _hoisted_14$9 = { class: "yc-order-card__person-name" };
|
|
54182
|
-
const _hoisted_15$
|
|
54182
|
+
const _hoisted_15$8 = {
|
|
54183
54183
|
key: 0,
|
|
54184
54184
|
class: "yc-order-card__person-role"
|
|
54185
54185
|
};
|
|
54186
|
-
const _hoisted_16$
|
|
54187
|
-
const _hoisted_17$
|
|
54188
|
-
const _hoisted_18$
|
|
54186
|
+
const _hoisted_16$8 = { key: 0 };
|
|
54187
|
+
const _hoisted_17$7 = { key: 1 };
|
|
54188
|
+
const _hoisted_18$7 = {
|
|
54189
54189
|
key: 1,
|
|
54190
54190
|
class: "yc-order-card__time"
|
|
54191
54191
|
};
|
|
54192
54192
|
const _hoisted_19$6 = { class: "yc-order-card__links" };
|
|
54193
54193
|
const _hoisted_20$6 = ["href"];
|
|
54194
|
-
const _hoisted_21$
|
|
54195
|
-
const _hoisted_22$
|
|
54194
|
+
const _hoisted_21$4 = ["onClick"];
|
|
54195
|
+
const _hoisted_22$4 = ["onClick"];
|
|
54196
54196
|
const _hoisted_23$2 = ["onClick"];
|
|
54197
54197
|
var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
54198
54198
|
...{
|
|
@@ -54358,7 +54358,7 @@
|
|
|
54358
54358
|
vue.createElementVNode("div", _hoisted_3$h, [
|
|
54359
54359
|
vue.createElementVNode(
|
|
54360
54360
|
"span",
|
|
54361
|
-
_hoisted_4$
|
|
54361
|
+
_hoisted_4$h,
|
|
54362
54362
|
vue.toDisplayString(row.orderNo),
|
|
54363
54363
|
1
|
|
54364
54364
|
/* TEXT */
|
|
@@ -54442,7 +54442,7 @@
|
|
|
54442
54442
|
),
|
|
54443
54443
|
row.reporter ? (vue.openBlock(), vue.createElementBlock(
|
|
54444
54444
|
"span",
|
|
54445
|
-
_hoisted_15$
|
|
54445
|
+
_hoisted_15$8,
|
|
54446
54446
|
"\u63D0\u5355 " + vue.toDisplayString(row.reporter),
|
|
54447
54447
|
1
|
|
54448
54448
|
/* TEXT */
|
|
@@ -54457,13 +54457,13 @@
|
|
|
54457
54457
|
[
|
|
54458
54458
|
row.slaOverdue ? (vue.openBlock(), vue.createElementBlock(
|
|
54459
54459
|
"span",
|
|
54460
|
-
_hoisted_16$
|
|
54460
|
+
_hoisted_16$8,
|
|
54461
54461
|
"\u5DF2\u8D85\u65F6 " + vue.toDisplayString(Math.abs(row.slaRemainMinutes)) + "\u5206\u949F",
|
|
54462
54462
|
1
|
|
54463
54463
|
/* TEXT */
|
|
54464
54464
|
)) : (vue.openBlock(), vue.createElementBlock(
|
|
54465
54465
|
"span",
|
|
54466
|
-
_hoisted_17$
|
|
54466
|
+
_hoisted_17$7,
|
|
54467
54467
|
"\u5269\u4F59 " + vue.toDisplayString(row.slaRemainMinutes) + "\u5206\u949F",
|
|
54468
54468
|
1
|
|
54469
54469
|
/* TEXT */
|
|
@@ -54473,7 +54473,7 @@
|
|
|
54473
54473
|
/* CLASS */
|
|
54474
54474
|
)) : row.createTime ? (vue.openBlock(), vue.createElementBlock(
|
|
54475
54475
|
"div",
|
|
54476
|
-
_hoisted_18$
|
|
54476
|
+
_hoisted_18$7,
|
|
54477
54477
|
vue.toDisplayString(row.createTime),
|
|
54478
54478
|
1
|
|
54479
54479
|
/* TEXT */
|
|
@@ -54494,14 +54494,14 @@
|
|
|
54494
54494
|
type: "button",
|
|
54495
54495
|
class: "yc-order-card__link",
|
|
54496
54496
|
onClick: ($event) => handleAction("detail", row)
|
|
54497
|
-
}, " \u8BE6\u60C5 ", 8, _hoisted_21$
|
|
54497
|
+
}, " \u8BE6\u60C5 ", 8, _hoisted_21$4)
|
|
54498
54498
|
]),
|
|
54499
54499
|
row.status === "pending_dispatch" ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
54500
54500
|
key: 0,
|
|
54501
54501
|
type: "button",
|
|
54502
54502
|
class: "yc-order-card__btn is-primary",
|
|
54503
54503
|
onClick: ($event) => handleAction("dispatch", row)
|
|
54504
|
-
}, " \u6D3E\u5DE5 ", 8, _hoisted_22$
|
|
54504
|
+
}, " \u6D3E\u5DE5 ", 8, _hoisted_22$4)) : row.status === "in_progress" ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
54505
54505
|
key: 1,
|
|
54506
54506
|
type: "button",
|
|
54507
54507
|
class: "yc-order-card__btn is-secondary",
|
|
@@ -54524,7 +54524,7 @@
|
|
|
54524
54524
|
class: "yc-bill-summary-bar"
|
|
54525
54525
|
};
|
|
54526
54526
|
const _hoisted_3$g = { class: "yc-bill-summary-item" };
|
|
54527
|
-
const _hoisted_4$
|
|
54527
|
+
const _hoisted_4$g = { class: "yc-bill-summary-val" };
|
|
54528
54528
|
const _hoisted_5$d = { class: "yc-bill-summary-item is-danger" };
|
|
54529
54529
|
const _hoisted_6$d = { class: "yc-bill-summary-val" };
|
|
54530
54530
|
const _hoisted_7$b = { class: "yc-bill-summary-item" };
|
|
@@ -54558,7 +54558,7 @@
|
|
|
54558
54558
|
"stroke-linecap": "round",
|
|
54559
54559
|
"stroke-linejoin": "round"
|
|
54560
54560
|
};
|
|
54561
|
-
const _hoisted_15$
|
|
54561
|
+
const _hoisted_15$7 = {
|
|
54562
54562
|
key: 2,
|
|
54563
54563
|
viewBox: "0 0 24 24",
|
|
54564
54564
|
width: "14",
|
|
@@ -54569,13 +54569,13 @@
|
|
|
54569
54569
|
"stroke-linecap": "round",
|
|
54570
54570
|
"stroke-linejoin": "round"
|
|
54571
54571
|
};
|
|
54572
|
-
const _hoisted_16$
|
|
54573
|
-
const _hoisted_17$
|
|
54574
|
-
const _hoisted_18$
|
|
54572
|
+
const _hoisted_16$7 = { class: "yc-bill-card__room-name" };
|
|
54573
|
+
const _hoisted_17$6 = { class: "yc-bill-card__status" };
|
|
54574
|
+
const _hoisted_18$6 = { class: "yc-bill-card__amount-section" };
|
|
54575
54575
|
const _hoisted_19$5 = { class: "yc-bill-card__amount-main" };
|
|
54576
54576
|
const _hoisted_20$5 = { class: "yc-bill-card__amount-label" };
|
|
54577
|
-
const _hoisted_21$
|
|
54578
|
-
const _hoisted_22$
|
|
54577
|
+
const _hoisted_21$3 = { class: "yc-bill-card__amount-num" };
|
|
54578
|
+
const _hoisted_22$3 = { class: "yc-bill-card__amount-sub" };
|
|
54579
54579
|
const _hoisted_23$1 = { key: 0 };
|
|
54580
54580
|
const _hoisted_24$1 = { class: "yc-bill-card__details" };
|
|
54581
54581
|
const _hoisted_25$1 = { class: "yc-bill-card__detail-row" };
|
|
@@ -54759,7 +54759,7 @@
|
|
|
54759
54759
|
)),
|
|
54760
54760
|
vue.createElementVNode(
|
|
54761
54761
|
"span",
|
|
54762
|
-
_hoisted_4$
|
|
54762
|
+
_hoisted_4$g,
|
|
54763
54763
|
vue.toDisplayString(overdueCount.value) + " \u6237",
|
|
54764
54764
|
1
|
|
54765
54765
|
/* TEXT */
|
|
@@ -54911,7 +54911,7 @@
|
|
|
54911
54911
|
-1
|
|
54912
54912
|
/* CACHED */
|
|
54913
54913
|
)
|
|
54914
|
-
])])) : (vue.openBlock(), vue.createElementBlock("svg", _hoisted_15$
|
|
54914
|
+
])])) : (vue.openBlock(), vue.createElementBlock("svg", _hoisted_15$7, [..._cache[6] || (_cache[6] = [
|
|
54915
54915
|
vue.createElementVNode(
|
|
54916
54916
|
"rect",
|
|
54917
54917
|
{
|
|
@@ -54950,13 +54950,13 @@
|
|
|
54950
54950
|
]),
|
|
54951
54951
|
vue.createElementVNode(
|
|
54952
54952
|
"span",
|
|
54953
|
-
_hoisted_16$
|
|
54953
|
+
_hoisted_16$7,
|
|
54954
54954
|
vue.toDisplayString(row.room),
|
|
54955
54955
|
1
|
|
54956
54956
|
/* TEXT */
|
|
54957
54957
|
)
|
|
54958
54958
|
]),
|
|
54959
|
-
vue.createElementVNode("div", _hoisted_17$
|
|
54959
|
+
vue.createElementVNode("div", _hoisted_17$6, [
|
|
54960
54960
|
vue.createElementVNode(
|
|
54961
54961
|
"span",
|
|
54962
54962
|
{
|
|
@@ -54981,7 +54981,7 @@
|
|
|
54981
54981
|
)
|
|
54982
54982
|
])
|
|
54983
54983
|
]),
|
|
54984
|
-
vue.createElementVNode("div", _hoisted_18$
|
|
54984
|
+
vue.createElementVNode("div", _hoisted_18$6, [
|
|
54985
54985
|
vue.createElementVNode("div", _hoisted_19$5, [
|
|
54986
54986
|
vue.createElementVNode(
|
|
54987
54987
|
"span",
|
|
@@ -55005,7 +55005,7 @@
|
|
|
55005
55005
|
)),
|
|
55006
55006
|
vue.createElementVNode(
|
|
55007
55007
|
"span",
|
|
55008
|
-
_hoisted_21$
|
|
55008
|
+
_hoisted_21$3,
|
|
55009
55009
|
vue.toDisplayString(formatMoney(row.amountUnpaid > 0 ? row.amountUnpaid : row.amountPaid)),
|
|
55010
55010
|
1
|
|
55011
55011
|
/* TEXT */
|
|
@@ -55015,7 +55015,7 @@
|
|
|
55015
55015
|
/* CLASS */
|
|
55016
55016
|
)
|
|
55017
55017
|
]),
|
|
55018
|
-
vue.createElementVNode("div", _hoisted_22$
|
|
55018
|
+
vue.createElementVNode("div", _hoisted_22$3, [
|
|
55019
55019
|
vue.createElementVNode(
|
|
55020
55020
|
"span",
|
|
55021
55021
|
null,
|
|
@@ -55171,7 +55171,7 @@
|
|
|
55171
55171
|
const _hoisted_1$v = { class: "yc-asset-table-container" };
|
|
55172
55172
|
const _hoisted_2$h = ["onClick"];
|
|
55173
55173
|
const _hoisted_3$f = { class: "yc-asset-card__header" };
|
|
55174
|
-
const _hoisted_4$
|
|
55174
|
+
const _hoisted_4$f = { class: "yc-asset-card__room-badge" };
|
|
55175
55175
|
const _hoisted_5$c = { class: "yc-asset-card__room-building" };
|
|
55176
55176
|
const _hoisted_6$c = { class: "yc-asset-card__room-no" };
|
|
55177
55177
|
const _hoisted_7$a = { class: "yc-asset-card__status" };
|
|
@@ -55188,17 +55188,17 @@
|
|
|
55188
55188
|
class: "yc-asset-card__spec-pill"
|
|
55189
55189
|
};
|
|
55190
55190
|
const _hoisted_14$7 = { class: "yc-asset-card__owner" };
|
|
55191
|
-
const _hoisted_15$
|
|
55192
|
-
const _hoisted_16$
|
|
55193
|
-
const _hoisted_17$
|
|
55194
|
-
const _hoisted_18$
|
|
55191
|
+
const _hoisted_15$6 = { class: "yc-asset-card__owner-info" };
|
|
55192
|
+
const _hoisted_16$6 = { class: "yc-asset-card__owner-name" };
|
|
55193
|
+
const _hoisted_17$5 = ["href"];
|
|
55194
|
+
const _hoisted_18$5 = {
|
|
55195
55195
|
key: 0,
|
|
55196
55196
|
class: "yc-asset-card__tags"
|
|
55197
55197
|
};
|
|
55198
55198
|
const _hoisted_19$4 = { class: "yc-asset-card__links" };
|
|
55199
55199
|
const _hoisted_20$4 = ["onClick"];
|
|
55200
|
-
const _hoisted_21$
|
|
55201
|
-
const _hoisted_22$
|
|
55200
|
+
const _hoisted_21$2 = ["onClick"];
|
|
55201
|
+
const _hoisted_22$2 = ["onClick"];
|
|
55202
55202
|
var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
55203
55203
|
...{
|
|
55204
55204
|
name: "YcAssetTable"
|
|
@@ -55342,7 +55342,7 @@
|
|
|
55342
55342
|
}, [
|
|
55343
55343
|
vue.createCommentVNode(" \u5361\u7247\u5934\u90E8: \u623F\u53F7\u5FBD\u6807 + \u5165\u4F4F\u72B6\u6001 "),
|
|
55344
55344
|
vue.createElementVNode("div", _hoisted_3$f, [
|
|
55345
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
55345
|
+
vue.createElementVNode("div", _hoisted_4$f, [
|
|
55346
55346
|
vue.createElementVNode(
|
|
55347
55347
|
"span",
|
|
55348
55348
|
_hoisted_5$c,
|
|
@@ -55492,7 +55492,7 @@
|
|
|
55492
55492
|
])) : vue.createCommentVNode("v-if", true)
|
|
55493
55493
|
]),
|
|
55494
55494
|
vue.createElementVNode("div", _hoisted_14$7, [
|
|
55495
|
-
vue.createElementVNode("div", _hoisted_15$
|
|
55495
|
+
vue.createElementVNode("div", _hoisted_15$6, [
|
|
55496
55496
|
_cache[7] || (_cache[7] = vue.createElementVNode(
|
|
55497
55497
|
"span",
|
|
55498
55498
|
{ class: "yc-asset-card__owner-label" },
|
|
@@ -55502,7 +55502,7 @@
|
|
|
55502
55502
|
)),
|
|
55503
55503
|
vue.createElementVNode(
|
|
55504
55504
|
"span",
|
|
55505
|
-
_hoisted_16$
|
|
55505
|
+
_hoisted_16$6,
|
|
55506
55506
|
vue.toDisplayString(row.ownerName),
|
|
55507
55507
|
1
|
|
55508
55508
|
/* TEXT */
|
|
@@ -55514,9 +55514,9 @@
|
|
|
55514
55514
|
class: "yc-asset-card__call-btn",
|
|
55515
55515
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
55516
55516
|
}, ["stop"]))
|
|
55517
|
-
}, vue.toDisplayString(row.ownerPhone), 9, _hoisted_17$
|
|
55517
|
+
}, vue.toDisplayString(row.ownerPhone), 9, _hoisted_17$5)) : vue.createCommentVNode("v-if", true)
|
|
55518
55518
|
]),
|
|
55519
|
-
row.tags && row.tags.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18$
|
|
55519
|
+
row.tags && row.tags.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18$5, [
|
|
55520
55520
|
(vue.openBlock(true), vue.createElementBlock(
|
|
55521
55521
|
vue.Fragment,
|
|
55522
55522
|
null,
|
|
@@ -55551,13 +55551,13 @@
|
|
|
55551
55551
|
type: "button",
|
|
55552
55552
|
class: "yc-asset-card__link",
|
|
55553
55553
|
onClick: ($event) => handleAction("archive", row)
|
|
55554
|
-
}, " \u4E00\u623F\u4E00\u6863 ", 8, _hoisted_21$
|
|
55554
|
+
}, " \u4E00\u623F\u4E00\u6863 ", 8, _hoisted_21$2)
|
|
55555
55555
|
]),
|
|
55556
55556
|
vue.createElementVNode("button", {
|
|
55557
55557
|
type: "button",
|
|
55558
55558
|
class: "yc-asset-card__btn is-visit",
|
|
55559
55559
|
onClick: ($event) => handleAction("visit", row)
|
|
55560
|
-
}, " \u5165\u6237\u8D70\u8BBF ", 8, _hoisted_22$
|
|
55560
|
+
}, " \u5165\u6237\u8D70\u8BBF ", 8, _hoisted_22$2)
|
|
55561
55561
|
])
|
|
55562
55562
|
], 10, _hoisted_2$h)
|
|
55563
55563
|
]),
|
|
@@ -55572,7 +55572,7 @@
|
|
|
55572
55572
|
const _hoisted_1$u = { class: "yc-device-table-container" };
|
|
55573
55573
|
const _hoisted_2$g = ["onClick"];
|
|
55574
55574
|
const _hoisted_3$e = { class: "yc-device-card__header" };
|
|
55575
|
-
const _hoisted_4$
|
|
55575
|
+
const _hoisted_4$e = { class: "yc-device-card__code" };
|
|
55576
55576
|
const _hoisted_5$b = { class: "yc-device-card__main" };
|
|
55577
55577
|
const _hoisted_6$b = { class: "yc-device-card__title" };
|
|
55578
55578
|
const _hoisted_7$9 = { class: "yc-device-card__sub" };
|
|
@@ -55598,10 +55598,10 @@
|
|
|
55598
55598
|
key: 2,
|
|
55599
55599
|
class: "yc-device-card__fact"
|
|
55600
55600
|
};
|
|
55601
|
-
const _hoisted_15$
|
|
55602
|
-
const _hoisted_16$
|
|
55603
|
-
const _hoisted_17$
|
|
55604
|
-
const _hoisted_18$
|
|
55601
|
+
const _hoisted_15$5 = { key: 0 };
|
|
55602
|
+
const _hoisted_16$5 = { key: 1 };
|
|
55603
|
+
const _hoisted_17$4 = { class: "yc-device-card__links" };
|
|
55604
|
+
const _hoisted_18$4 = ["onClick"];
|
|
55605
55605
|
const _hoisted_19$3 = ["onClick"];
|
|
55606
55606
|
const _hoisted_20$3 = ["onClick"];
|
|
55607
55607
|
var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -55741,7 +55741,7 @@
|
|
|
55741
55741
|
vue.createElementVNode("div", _hoisted_3$e, [
|
|
55742
55742
|
vue.createElementVNode(
|
|
55743
55743
|
"span",
|
|
55744
|
-
_hoisted_4$
|
|
55744
|
+
_hoisted_4$e,
|
|
55745
55745
|
vue.toDisplayString(row.deviceCode),
|
|
55746
55746
|
1
|
|
55747
55747
|
/* TEXT */
|
|
@@ -55842,9 +55842,9 @@
|
|
|
55842
55842
|
class: vue.normalizeClass(["yc-device-card__due-pill", { "is-warning": ((_a = row.daysToMaintenance) != null ? _a : 99) <= 7, "is-urgent": ((_b = row.daysToMaintenance) != null ? _b : 99) <= 3 }])
|
|
55843
55843
|
},
|
|
55844
55844
|
[
|
|
55845
|
-
((_c = row.daysToMaintenance) != null ? _c : 99) <= 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$
|
|
55845
|
+
((_c = row.daysToMaintenance) != null ? _c : 99) <= 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$5, "\u4ECA\u65E5\u7EF4\u4FDD\u622A\u6B62")) : (vue.openBlock(), vue.createElementBlock(
|
|
55846
55846
|
"span",
|
|
55847
|
-
_hoisted_16$
|
|
55847
|
+
_hoisted_16$5,
|
|
55848
55848
|
"\u8DDD\u4FDD\u517B\u5269 " + vue.toDisplayString(row.daysToMaintenance) + " \u5929",
|
|
55849
55849
|
1
|
|
55850
55850
|
/* TEXT */
|
|
@@ -55860,12 +55860,12 @@
|
|
|
55860
55860
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
55861
55861
|
}, ["stop"]))
|
|
55862
55862
|
}, [
|
|
55863
|
-
vue.createElementVNode("div", _hoisted_17$
|
|
55863
|
+
vue.createElementVNode("div", _hoisted_17$4, [
|
|
55864
55864
|
vue.createElementVNode("button", {
|
|
55865
55865
|
type: "button",
|
|
55866
55866
|
class: "yc-device-card__link",
|
|
55867
55867
|
onClick: ($event) => handleAction("report", row)
|
|
55868
|
-
}, " \u62A5\u4FEE ", 8, _hoisted_18$
|
|
55868
|
+
}, " \u62A5\u4FEE ", 8, _hoisted_18$4),
|
|
55869
55869
|
vue.createElementVNode("button", {
|
|
55870
55870
|
type: "button",
|
|
55871
55871
|
class: "yc-device-card__link",
|
|
@@ -56264,7 +56264,7 @@
|
|
|
56264
56264
|
key: 1,
|
|
56265
56265
|
class: "yc-questionnaire__desc"
|
|
56266
56266
|
};
|
|
56267
|
-
const _hoisted_4$
|
|
56267
|
+
const _hoisted_4$d = {
|
|
56268
56268
|
key: 1,
|
|
56269
56269
|
class: "yc-questionnaire__progress-bar-wrap"
|
|
56270
56270
|
};
|
|
@@ -56284,14 +56284,14 @@
|
|
|
56284
56284
|
const _hoisted_12$7 = { class: "yc-questionnaire__completion-title" };
|
|
56285
56285
|
const _hoisted_13$7 = { class: "yc-questionnaire__completion-desc" };
|
|
56286
56286
|
const _hoisted_14$5 = { class: "yc-questionnaire__summary-list" };
|
|
56287
|
-
const _hoisted_15$
|
|
56288
|
-
const _hoisted_16$
|
|
56289
|
-
const _hoisted_17$
|
|
56290
|
-
const _hoisted_18$
|
|
56287
|
+
const _hoisted_15$4 = { class: "yc-questionnaire__summary-q" };
|
|
56288
|
+
const _hoisted_16$4 = { class: "yc-questionnaire__summary-q-idx" };
|
|
56289
|
+
const _hoisted_17$3 = { class: "yc-questionnaire__summary-a" };
|
|
56290
|
+
const _hoisted_18$3 = { class: "yc-questionnaire__completion-actions" };
|
|
56291
56291
|
const _hoisted_19$2 = { class: "yc-questionnaire__q-header" };
|
|
56292
56292
|
const _hoisted_20$2 = { class: "yc-questionnaire__q-title-row" };
|
|
56293
|
-
const _hoisted_21$
|
|
56294
|
-
const _hoisted_22$
|
|
56293
|
+
const _hoisted_21$1 = { class: "yc-questionnaire__q-title" };
|
|
56294
|
+
const _hoisted_22$1 = { class: "yc-questionnaire__q-idx" };
|
|
56295
56295
|
const _hoisted_23 = {
|
|
56296
56296
|
key: 0,
|
|
56297
56297
|
class: "yc-questionnaire__required-star"
|
|
@@ -56627,7 +56627,7 @@
|
|
|
56627
56627
|
)) : vue.createCommentVNode("v-if", true)
|
|
56628
56628
|
])) : vue.createCommentVNode("v-if", true),
|
|
56629
56629
|
vue.createCommentVNode(" \u9876\u90E8\u8FDB\u5EA6\u6307\u793A\u6761 (Progress) "),
|
|
56630
|
-
props.showProgress && totalQuestions.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
56630
|
+
props.showProgress && totalQuestions.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$d, [
|
|
56631
56631
|
vue.createElementVNode("div", _hoisted_5$a, [
|
|
56632
56632
|
vue.createElementVNode(
|
|
56633
56633
|
"span",
|
|
@@ -56747,10 +56747,10 @@
|
|
|
56747
56747
|
key: q.id,
|
|
56748
56748
|
class: "yc-questionnaire__summary-item"
|
|
56749
56749
|
}, [
|
|
56750
|
-
vue.createElementVNode("div", _hoisted_15$
|
|
56750
|
+
vue.createElementVNode("div", _hoisted_15$4, [
|
|
56751
56751
|
vue.createElementVNode(
|
|
56752
56752
|
"span",
|
|
56753
|
-
_hoisted_16$
|
|
56753
|
+
_hoisted_16$4,
|
|
56754
56754
|
vue.toDisplayString(idx + 1) + ".",
|
|
56755
56755
|
1
|
|
56756
56756
|
/* TEXT */
|
|
@@ -56765,7 +56765,7 @@
|
|
|
56765
56765
|
]),
|
|
56766
56766
|
vue.createElementVNode(
|
|
56767
56767
|
"div",
|
|
56768
|
-
_hoisted_17$
|
|
56768
|
+
_hoisted_17$3,
|
|
56769
56769
|
vue.toDisplayString(getAnswerDisplay(q)),
|
|
56770
56770
|
1
|
|
56771
56771
|
/* TEXT */
|
|
@@ -56777,7 +56777,7 @@
|
|
|
56777
56777
|
))
|
|
56778
56778
|
]),
|
|
56779
56779
|
vue.createCommentVNode(" \u5B8C\u6210\u9875\u5E95\u90E8\u64CD\u4F5C "),
|
|
56780
|
-
vue.createElementVNode("div", _hoisted_18$
|
|
56780
|
+
vue.createElementVNode("div", _hoisted_18$3, [
|
|
56781
56781
|
vue.createElementVNode(
|
|
56782
56782
|
"button",
|
|
56783
56783
|
{
|
|
@@ -56797,10 +56797,10 @@
|
|
|
56797
56797
|
vue.createCommentVNode(" \u9898\u76EE\u6807\u9898\u4E0E\u63CF\u8FF0 "),
|
|
56798
56798
|
vue.createElementVNode("div", _hoisted_19$2, [
|
|
56799
56799
|
vue.createElementVNode("div", _hoisted_20$2, [
|
|
56800
|
-
vue.createElementVNode("h3", _hoisted_21$
|
|
56800
|
+
vue.createElementVNode("h3", _hoisted_21$1, [
|
|
56801
56801
|
vue.createElementVNode(
|
|
56802
56802
|
"span",
|
|
56803
|
-
_hoisted_22$
|
|
56803
|
+
_hoisted_22$1,
|
|
56804
56804
|
vue.toDisplayString(currentStep.value + 1) + ".",
|
|
56805
56805
|
1
|
|
56806
56806
|
/* TEXT */
|
|
@@ -58139,7 +58139,7 @@
|
|
|
58139
58139
|
key: 0,
|
|
58140
58140
|
class: "plus-virtual-table__title-bar__text"
|
|
58141
58141
|
};
|
|
58142
|
-
const _hoisted_4$
|
|
58142
|
+
const _hoisted_4$c = { class: "plus-virtual-table__title-bar__right" };
|
|
58143
58143
|
var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
58144
58144
|
...{
|
|
58145
58145
|
name: "PlusVirtualTable",
|
|
@@ -58335,7 +58335,7 @@
|
|
|
58335
58335
|
)) : vue.createCommentVNode("v-if", true)
|
|
58336
58336
|
])
|
|
58337
58337
|
]),
|
|
58338
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
58338
|
+
vue.createElementVNode("div", _hoisted_4$c, [
|
|
58339
58339
|
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
58340
58340
|
titleBarConfig.value.refresh ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElIcon), {
|
|
58341
58341
|
key: 0,
|
|
@@ -59630,7 +59630,7 @@
|
|
|
59630
59630
|
key: 0,
|
|
59631
59631
|
class: "yc-query-filter__loading"
|
|
59632
59632
|
};
|
|
59633
|
-
const _hoisted_4$
|
|
59633
|
+
const _hoisted_4$b = { class: "yc-query-filter__col" };
|
|
59634
59634
|
const _hoisted_5$9 = { class: "yc-query-filter__title" };
|
|
59635
59635
|
const _hoisted_6$9 = {
|
|
59636
59636
|
key: 0,
|
|
@@ -59650,17 +59650,17 @@
|
|
|
59650
59650
|
class: "yc-query-filter__list"
|
|
59651
59651
|
};
|
|
59652
59652
|
const _hoisted_14$4 = ["onClick"];
|
|
59653
|
-
const _hoisted_15$
|
|
59654
|
-
const _hoisted_16$
|
|
59655
|
-
const _hoisted_17$
|
|
59656
|
-
const _hoisted_18$
|
|
59653
|
+
const _hoisted_15$3 = { class: "yc-query-filter__meta" };
|
|
59654
|
+
const _hoisted_16$3 = { class: "yc-query-filter__highlight" };
|
|
59655
|
+
const _hoisted_17$2 = { class: "yc-query-filter__ops" };
|
|
59656
|
+
const _hoisted_18$2 = {
|
|
59657
59657
|
key: 1,
|
|
59658
59658
|
class: "yc-query-filter__list"
|
|
59659
59659
|
};
|
|
59660
59660
|
const _hoisted_19$1 = ["onClick"];
|
|
59661
59661
|
const _hoisted_20$1 = { class: "yc-query-filter__meta" };
|
|
59662
|
-
const _hoisted_21
|
|
59663
|
-
const _hoisted_22
|
|
59662
|
+
const _hoisted_21 = { class: "yc-query-filter__highlight" };
|
|
59663
|
+
const _hoisted_22 = { class: "yc-query-filter__ops" };
|
|
59664
59664
|
var _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
59665
59665
|
...{
|
|
59666
59666
|
name: "YcQueryFilterManager"
|
|
@@ -59921,7 +59921,7 @@
|
|
|
59921
59921
|
default: vue.withCtx(() => [
|
|
59922
59922
|
vue.createElementVNode("div", _hoisted_2$d, [
|
|
59923
59923
|
loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$b, "...")) : vue.createCommentVNode("v-if", true),
|
|
59924
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
59924
|
+
vue.createElementVNode("div", _hoisted_4$b, [
|
|
59925
59925
|
vue.createElementVNode(
|
|
59926
59926
|
"div",
|
|
59927
59927
|
_hoisted_5$9,
|
|
@@ -60033,20 +60033,20 @@
|
|
|
60033
60033
|
}, [
|
|
60034
60034
|
vue.createElementVNode(
|
|
60035
60035
|
"span",
|
|
60036
|
-
_hoisted_15$
|
|
60036
|
+
_hoisted_15$3,
|
|
60037
60037
|
vue.toDisplayString(receivedPrefix(item)),
|
|
60038
60038
|
1
|
|
60039
60039
|
/* TEXT */
|
|
60040
60040
|
),
|
|
60041
60041
|
vue.createElementVNode(
|
|
60042
60042
|
"span",
|
|
60043
|
-
_hoisted_16$
|
|
60043
|
+
_hoisted_16$3,
|
|
60044
60044
|
"\u3010" + vue.toDisplayString(item.name) + "\u3011",
|
|
60045
60045
|
1
|
|
60046
60046
|
/* TEXT */
|
|
60047
60047
|
)
|
|
60048
60048
|
], 8, _hoisted_14$4),
|
|
60049
|
-
vue.createElementVNode("span", _hoisted_17$
|
|
60049
|
+
vue.createElementVNode("span", _hoisted_17$2, [
|
|
60050
60050
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
60051
60051
|
link: "",
|
|
60052
60052
|
type: "danger",
|
|
@@ -60078,7 +60078,7 @@
|
|
|
60078
60078
|
key: 0,
|
|
60079
60079
|
description: vue.unref(t)("plus.queryFilter.emptyShared"),
|
|
60080
60080
|
"image-size": 48
|
|
60081
|
-
}, null, 8, ["description"])) : (vue.openBlock(), vue.createElementBlock("ul", _hoisted_18$
|
|
60081
|
+
}, null, 8, ["description"])) : (vue.openBlock(), vue.createElementBlock("ul", _hoisted_18$2, [
|
|
60082
60082
|
(vue.openBlock(true), vue.createElementBlock(
|
|
60083
60083
|
vue.Fragment,
|
|
60084
60084
|
null,
|
|
@@ -60101,13 +60101,13 @@
|
|
|
60101
60101
|
),
|
|
60102
60102
|
vue.createElementVNode(
|
|
60103
60103
|
"span",
|
|
60104
|
-
_hoisted_21
|
|
60104
|
+
_hoisted_21,
|
|
60105
60105
|
"\u3010" + vue.toDisplayString(item.name) + "\u3011",
|
|
60106
60106
|
1
|
|
60107
60107
|
/* TEXT */
|
|
60108
60108
|
)
|
|
60109
60109
|
], 8, _hoisted_19$1),
|
|
60110
|
-
vue.createElementVNode("span", _hoisted_22
|
|
60110
|
+
vue.createElementVNode("span", _hoisted_22, [
|
|
60111
60111
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
60112
60112
|
link: "",
|
|
60113
60113
|
type: "danger",
|
|
@@ -60747,7 +60747,7 @@
|
|
|
60747
60747
|
gap: "4px"
|
|
60748
60748
|
}
|
|
60749
60749
|
};
|
|
60750
|
-
const _hoisted_4$
|
|
60750
|
+
const _hoisted_4$a = {
|
|
60751
60751
|
key: 0,
|
|
60752
60752
|
class: "yc-header-filter-cell__operators"
|
|
60753
60753
|
};
|
|
@@ -61196,7 +61196,7 @@
|
|
|
61196
61196
|
default: vue.withCtx(() => [
|
|
61197
61197
|
vue.createElementVNode("div", _hoisted_3$a, [
|
|
61198
61198
|
vue.createCommentVNode(" \u64CD\u4F5C\u7B26\u5217\u8868\uFF08\u591A\u9009/\u65E5\u671F\u533A\u95F4\u7B49\u7531 hideOperatorList \u9690\u85CF\uFF0C\u9ED8\u8BA4 in / between\uFF09 "),
|
|
61199
|
-
!hideOperatorList.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
61199
|
+
!hideOperatorList.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$a, [
|
|
61200
61200
|
(vue.openBlock(true), vue.createElementBlock(
|
|
61201
61201
|
vue.Fragment,
|
|
61202
61202
|
null,
|
|
@@ -62063,7 +62063,7 @@
|
|
|
62063
62063
|
const _hoisted_1$l = { class: "custom-drawer-header" };
|
|
62064
62064
|
const _hoisted_2$a = { class: "header-content" };
|
|
62065
62065
|
const _hoisted_3$9 = ["id"];
|
|
62066
|
-
const _hoisted_4$
|
|
62066
|
+
const _hoisted_4$9 = { key: 1 };
|
|
62067
62067
|
var _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
62068
62068
|
...{
|
|
62069
62069
|
name: "YcDrawer"
|
|
@@ -62238,7 +62238,7 @@
|
|
|
62238
62238
|
!(options == null ? void 0 : options.hideFooter) ? {
|
|
62239
62239
|
name: "footer",
|
|
62240
62240
|
fn: vue.withCtx(() => [
|
|
62241
|
-
(options == null ? void 0 : options.footerRenderer) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(options == null ? void 0 : options.footerRenderer({ options, index })), { key: 0 })) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
62241
|
+
(options == null ? void 0 : options.footerRenderer) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(options == null ? void 0 : options.footerRenderer({ options, index })), { key: 0 })) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$9, [
|
|
62242
62242
|
(vue.openBlock(true), vue.createElementBlock(
|
|
62243
62243
|
vue.Fragment,
|
|
62244
62244
|
null,
|
|
@@ -62361,7 +62361,7 @@
|
|
|
62361
62361
|
const _hoisted_1$k = { class: "dialog-header" };
|
|
62362
62362
|
const _hoisted_2$9 = { class: "icon-wrapper" };
|
|
62363
62363
|
const _hoisted_3$8 = { class: "title-text" };
|
|
62364
|
-
const _hoisted_4$
|
|
62364
|
+
const _hoisted_4$8 = { class: "dialog-content" };
|
|
62365
62365
|
const _hoisted_5$7 = { class: "content-text" };
|
|
62366
62366
|
const _hoisted_6$7 = { class: "dialog-footer" };
|
|
62367
62367
|
const DEFAULT_ICON_URL = "https://staticcdn.jinbizhihui.com/images/saas-basic-platform/error_tips_icon.svg";
|
|
@@ -62529,7 +62529,7 @@
|
|
|
62529
62529
|
])
|
|
62530
62530
|
]),
|
|
62531
62531
|
default: vue.withCtx(() => [
|
|
62532
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
62532
|
+
vue.createElementVNode("div", _hoisted_4$8, [
|
|
62533
62533
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
62534
62534
|
vue.createElementVNode(
|
|
62535
62535
|
"p",
|
|
@@ -62732,7 +62732,7 @@
|
|
|
62732
62732
|
const _hoisted_1$j = ["data-device"];
|
|
62733
62733
|
const _hoisted_2$8 = { class: "yc-mobile-device__shell" };
|
|
62734
62734
|
const _hoisted_3$7 = { class: "yc-mobile-device__navbar" };
|
|
62735
|
-
const _hoisted_4$
|
|
62735
|
+
const _hoisted_4$7 = {
|
|
62736
62736
|
key: 0,
|
|
62737
62737
|
class: "yc-mobile-device__badge"
|
|
62738
62738
|
};
|
|
@@ -62745,7 +62745,14 @@
|
|
|
62745
62745
|
const _hoisted_11$5 = { class: "yc-mobile-device__body" };
|
|
62746
62746
|
const _hoisted_12$5 = { class: "yc-mobile-device__footer" };
|
|
62747
62747
|
const _hoisted_13$5 = { class: "yc-mobile-device__drawer" };
|
|
62748
|
-
const _hoisted_14$3 = { class: "yc-mobile-
|
|
62748
|
+
const _hoisted_14$3 = { class: "yc-mobile-device__drawer-top" };
|
|
62749
|
+
const _hoisted_15$2 = {
|
|
62750
|
+
key: 0,
|
|
62751
|
+
class: "yc-mobile-device__caption"
|
|
62752
|
+
};
|
|
62753
|
+
const _hoisted_16$2 = { key: 0 };
|
|
62754
|
+
const _hoisted_17$1 = { key: 1 };
|
|
62755
|
+
const _hoisted_18$1 = { key: 2 };
|
|
62749
62756
|
var _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
62750
62757
|
...{
|
|
62751
62758
|
name: "YcMobileDeviceFrame"
|
|
@@ -62753,11 +62760,13 @@
|
|
|
62753
62760
|
__name: "mobile-frame",
|
|
62754
62761
|
props: {
|
|
62755
62762
|
device: {},
|
|
62756
|
-
agentName: { default: "
|
|
62763
|
+
agentName: { default: "" },
|
|
62757
62764
|
status: { default: "idle" },
|
|
62758
|
-
statusLabel: { default: "
|
|
62765
|
+
statusLabel: { default: "" },
|
|
62759
62766
|
connected: { type: Boolean, default: false },
|
|
62760
|
-
sessionCount: { default: 0 }
|
|
62767
|
+
sessionCount: { default: 0 },
|
|
62768
|
+
caption: { default: "" },
|
|
62769
|
+
drawerTitle: { default: "\u4F1A\u8BDD" }
|
|
62761
62770
|
},
|
|
62762
62771
|
emits: ["create", "refresh"],
|
|
62763
62772
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -62782,7 +62791,7 @@
|
|
|
62782
62791
|
"data-device": __props.device.id
|
|
62783
62792
|
}, [
|
|
62784
62793
|
vue.createElementVNode("div", _hoisted_2$8, [
|
|
62785
|
-
_cache[
|
|
62794
|
+
_cache[5] || (_cache[5] = vue.createStaticVNode('<div class="yc-mobile-device__statusbar" aria-hidden="true"><span class="yc-mobile-device__clock">09:41</span><div class="yc-mobile-device__island"></div><div class="yc-mobile-device__signals"><svg viewBox="0 0 18 12" class="yc-mobile-device__signal-svg"><rect x="1" y="8" width="2.5" height="3.5" rx="0.8" fill="currentColor"></rect><rect x="5" y="6" width="2.5" height="5.5" rx="0.8" fill="currentColor"></rect><rect x="9" y="3.5" width="2.5" height="8" rx="0.8" fill="currentColor"></rect><rect x="13" y="1" width="2.5" height="10.5" rx="0.8" fill="currentColor"></rect></svg><svg viewBox="0 0 24 12" class="yc-mobile-device__battery-svg"><rect x="1" y="1.5" width="19" height="9" rx="2.5" stroke="currentColor" stroke-width="1.3" fill="none"></rect><rect x="3" y="3.3" width="14.5" height="5.4" rx="1.2" fill="currentColor"></rect><path d="M21.5 4.2V7.8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></div></div>', 1)),
|
|
62786
62795
|
vue.createElementVNode("header", _hoisted_3$7, [
|
|
62787
62796
|
vue.createElementVNode("button", {
|
|
62788
62797
|
type: "button",
|
|
@@ -62811,7 +62820,7 @@
|
|
|
62811
62820
|
)),
|
|
62812
62821
|
__props.sessionCount > 0 ? (vue.openBlock(), vue.createElementBlock(
|
|
62813
62822
|
"span",
|
|
62814
|
-
_hoisted_4$
|
|
62823
|
+
_hoisted_4$7,
|
|
62815
62824
|
vue.toDisplayString(__props.sessionCount > 99 ? "99+" : __props.sessionCount),
|
|
62816
62825
|
1
|
|
62817
62826
|
/* TEXT */
|
|
@@ -62821,7 +62830,7 @@
|
|
|
62821
62830
|
vue.createElementVNode(
|
|
62822
62831
|
"div",
|
|
62823
62832
|
_hoisted_6$6,
|
|
62824
|
-
vue.toDisplayString(__props.agentName
|
|
62833
|
+
vue.toDisplayString(__props.agentName),
|
|
62825
62834
|
1
|
|
62826
62835
|
/* TEXT */
|
|
62827
62836
|
),
|
|
@@ -62887,14 +62896,14 @@
|
|
|
62887
62896
|
onClick: vue.withModifiers(closeDrawer, ["self"])
|
|
62888
62897
|
}, [
|
|
62889
62898
|
vue.createElementVNode("div", _hoisted_13$5, [
|
|
62890
|
-
vue.createElementVNode("div",
|
|
62891
|
-
|
|
62899
|
+
vue.createElementVNode("div", _hoisted_14$3, [
|
|
62900
|
+
vue.createElementVNode(
|
|
62892
62901
|
"span",
|
|
62893
62902
|
null,
|
|
62894
|
-
|
|
62895
|
-
|
|
62896
|
-
/*
|
|
62897
|
-
)
|
|
62903
|
+
vue.toDisplayString(__props.drawerTitle),
|
|
62904
|
+
1
|
|
62905
|
+
/* TEXT */
|
|
62906
|
+
),
|
|
62898
62907
|
vue.createElementVNode("button", {
|
|
62899
62908
|
type: "button",
|
|
62900
62909
|
class: "yc-mobile-device__nav-btn",
|
|
@@ -62930,7 +62939,7 @@
|
|
|
62930
62939
|
])
|
|
62931
62940
|
])) : vue.createCommentVNode("v-if", true)
|
|
62932
62941
|
]),
|
|
62933
|
-
_cache[
|
|
62942
|
+
_cache[6] || (_cache[6] = vue.createElementVNode(
|
|
62934
62943
|
"div",
|
|
62935
62944
|
{
|
|
62936
62945
|
class: "yc-mobile-device__home-bar",
|
|
@@ -62943,29 +62952,23 @@
|
|
|
62943
62952
|
/* CACHED */
|
|
62944
62953
|
))
|
|
62945
62954
|
]),
|
|
62946
|
-
vue.
|
|
62947
|
-
vue.
|
|
62955
|
+
__props.device.badge || __props.caption ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$2, [
|
|
62956
|
+
__props.device.badge ? (vue.openBlock(), vue.createElementBlock(
|
|
62948
62957
|
"span",
|
|
62949
|
-
|
|
62958
|
+
_hoisted_16$2,
|
|
62950
62959
|
vue.toDisplayString(__props.device.badge),
|
|
62951
62960
|
1
|
|
62952
62961
|
/* TEXT */
|
|
62953
|
-
),
|
|
62954
|
-
|
|
62955
|
-
|
|
62956
|
-
null,
|
|
62957
|
-
"\xB7",
|
|
62958
|
-
-1
|
|
62959
|
-
/* CACHED */
|
|
62960
|
-
)),
|
|
62961
|
-
_cache[9] || (_cache[9] = vue.createElementVNode(
|
|
62962
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
62963
|
+
__props.device.badge && __props.caption ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_17$1, "\xB7")) : vue.createCommentVNode("v-if", true),
|
|
62964
|
+
__props.caption ? (vue.openBlock(), vue.createElementBlock(
|
|
62962
62965
|
"span",
|
|
62963
|
-
|
|
62964
|
-
|
|
62965
|
-
|
|
62966
|
-
/*
|
|
62967
|
-
))
|
|
62968
|
-
])
|
|
62966
|
+
_hoisted_18$1,
|
|
62967
|
+
vue.toDisplayString(__props.caption),
|
|
62968
|
+
1
|
|
62969
|
+
/* TEXT */
|
|
62970
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
62971
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
62969
62972
|
], 12, _hoisted_1$j);
|
|
62970
62973
|
};
|
|
62971
62974
|
}
|
|
@@ -62974,7 +62977,7 @@
|
|
|
62974
62977
|
const YC_MOBILE_DEVICE_PRESETS = [
|
|
62975
62978
|
{
|
|
62976
62979
|
id: "wecom",
|
|
62977
|
-
label: "\
|
|
62980
|
+
label: "\u7A84\u5C4F 375",
|
|
62978
62981
|
badge: "WeCom H5 \xB7 375\xD7760",
|
|
62979
62982
|
width: 375,
|
|
62980
62983
|
height: 760
|
|
@@ -63031,44 +63034,45 @@
|
|
|
63031
63034
|
};
|
|
63032
63035
|
const _hoisted_2$7 = { class: "yc-chat-studio__topbar conversation-banner" };
|
|
63033
63036
|
const _hoisted_3$6 = { class: "yc-chat-studio__left" };
|
|
63034
|
-
const _hoisted_4$
|
|
63037
|
+
const _hoisted_4$6 = ["aria-label", "title"];
|
|
63035
63038
|
const _hoisted_5$5 = {
|
|
63036
63039
|
key: 1,
|
|
63037
63040
|
class: "yc-chat-studio__context",
|
|
63038
63041
|
"data-testid": "studio-context-bar"
|
|
63039
63042
|
};
|
|
63040
|
-
const _hoisted_6$5 = {
|
|
63041
|
-
|
|
63042
|
-
|
|
63043
|
-
|
|
63044
|
-
const
|
|
63043
|
+
const _hoisted_6$5 = {
|
|
63044
|
+
key: 2,
|
|
63045
|
+
class: "yc-chat-studio__status-group"
|
|
63046
|
+
};
|
|
63047
|
+
const _hoisted_7$5 = { class: "yc-chat-studio__right" };
|
|
63048
|
+
const _hoisted_8$4 = {
|
|
63045
63049
|
key: 0,
|
|
63046
63050
|
class: "yc-chat-studio__devices",
|
|
63047
63051
|
"aria-label": "\u79FB\u52A8\u7AEF\u673A\u578B\u9884\u8BBE"
|
|
63048
63052
|
};
|
|
63049
|
-
const
|
|
63050
|
-
const
|
|
63053
|
+
const _hoisted_9$4 = ["data-testid", "onClick"];
|
|
63054
|
+
const _hoisted_10$4 = {
|
|
63051
63055
|
class: "yc-chat-studio__segmented",
|
|
63052
63056
|
role: "tablist",
|
|
63053
63057
|
"aria-label": "\u7EC8\u7AEF\u9884\u89C8\u5207\u6362"
|
|
63054
63058
|
};
|
|
63055
|
-
const
|
|
63056
|
-
const
|
|
63057
|
-
const
|
|
63058
|
-
const
|
|
63059
|
+
const _hoisted_11$4 = ["aria-selected"];
|
|
63060
|
+
const _hoisted_12$4 = ["aria-selected"];
|
|
63061
|
+
const _hoisted_13$4 = ["disabled"];
|
|
63062
|
+
const _hoisted_14$2 = {
|
|
63059
63063
|
key: 1,
|
|
63060
63064
|
class: "yc-chat-studio__web-body chat-workspace"
|
|
63061
63065
|
};
|
|
63062
|
-
const
|
|
63063
|
-
const
|
|
63064
|
-
const
|
|
63065
|
-
const
|
|
63066
|
-
const
|
|
63066
|
+
const _hoisted_15$1 = { class: "yc-chat-studio__main conversation-panel" };
|
|
63067
|
+
const _hoisted_16$1 = { class: "yc-chat-studio__stream-inner" };
|
|
63068
|
+
const _hoisted_17 = { class: "yc-chat-studio__composer-dock" };
|
|
63069
|
+
const _hoisted_18 = { class: "yc-chat-studio__composer-inner" };
|
|
63070
|
+
const _hoisted_19 = {
|
|
63067
63071
|
key: 2,
|
|
63068
63072
|
class: "yc-chat-studio__mobile-stage",
|
|
63069
63073
|
"data-testid": "mobile-stage"
|
|
63070
63074
|
};
|
|
63071
|
-
const
|
|
63075
|
+
const _hoisted_20 = { class: "yc-chat-studio__mobile-canvas" };
|
|
63072
63076
|
var _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
63073
63077
|
...{
|
|
63074
63078
|
name: "YcChatStudio"
|
|
@@ -63079,12 +63083,12 @@
|
|
|
63079
63083
|
deviceId: { default: "wecom" },
|
|
63080
63084
|
devices: { default: () => YC_MOBILE_DEVICE_PRESETS },
|
|
63081
63085
|
agentName: { default: "" },
|
|
63082
|
-
bannerSubtitle: { default: "\u4F7F\u7528\u5F53\u524D\u5E94\u7528\u4E0E Agent \u505A\u5B9E\u65F6\u9A8C\u8BC1" },
|
|
63083
63086
|
status: { default: "idle" },
|
|
63084
|
-
statusLabel: { default: "
|
|
63087
|
+
statusLabel: { default: "" },
|
|
63085
63088
|
connected: { type: Boolean, default: false },
|
|
63086
63089
|
refreshing: { type: Boolean, default: false },
|
|
63087
|
-
sessionCount: { default: 0 }
|
|
63090
|
+
sessionCount: { default: 0 },
|
|
63091
|
+
caption: { default: "" }
|
|
63088
63092
|
},
|
|
63089
63093
|
emits: ["update:viewport", "update:deviceId", "refresh", "create"],
|
|
63090
63094
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -63170,48 +63174,16 @@
|
|
|
63170
63174
|
-1
|
|
63171
63175
|
/* CACHED */
|
|
63172
63176
|
)
|
|
63173
|
-
])], 8, _hoisted_4$
|
|
63177
|
+
])], 8, _hoisted_4$6)) : vue.createCommentVNode("v-if", true),
|
|
63174
63178
|
_ctx.$slots.toolbar ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$5, [
|
|
63175
63179
|
vue.renderSlot(_ctx.$slots, "toolbar")
|
|
63176
63180
|
])) : vue.createCommentVNode("v-if", true),
|
|
63177
|
-
vue.
|
|
63178
|
-
vue.
|
|
63179
|
-
|
|
63180
|
-
{
|
|
63181
|
-
class: vue.normalizeClass(["yc-chat-studio__status-chip", `is-${__props.status}`])
|
|
63182
|
-
},
|
|
63183
|
-
[
|
|
63184
|
-
vue.createElementVNode(
|
|
63185
|
-
"span",
|
|
63186
|
-
{
|
|
63187
|
-
class: vue.normalizeClass(["status-dot", __props.status])
|
|
63188
|
-
},
|
|
63189
|
-
null,
|
|
63190
|
-
2
|
|
63191
|
-
/* CLASS */
|
|
63192
|
-
),
|
|
63193
|
-
vue.createElementVNode(
|
|
63194
|
-
"span",
|
|
63195
|
-
_hoisted_7$5,
|
|
63196
|
-
vue.toDisplayString(__props.statusLabel),
|
|
63197
|
-
1
|
|
63198
|
-
/* TEXT */
|
|
63199
|
-
)
|
|
63200
|
-
],
|
|
63201
|
-
2
|
|
63202
|
-
/* CLASS */
|
|
63203
|
-
),
|
|
63204
|
-
vue.createElementVNode(
|
|
63205
|
-
"span",
|
|
63206
|
-
_hoisted_8$4,
|
|
63207
|
-
vue.toDisplayString(__props.bannerSubtitle),
|
|
63208
|
-
1
|
|
63209
|
-
/* TEXT */
|
|
63210
|
-
)
|
|
63211
|
-
])
|
|
63181
|
+
_ctx.$slots.status ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$5, [
|
|
63182
|
+
vue.renderSlot(_ctx.$slots, "status")
|
|
63183
|
+
])) : vue.createCommentVNode("v-if", true)
|
|
63212
63184
|
]),
|
|
63213
|
-
vue.createElementVNode("div",
|
|
63214
|
-
__props.viewport === "mobile" ? (vue.openBlock(), vue.createElementBlock("div",
|
|
63185
|
+
vue.createElementVNode("div", _hoisted_7$5, [
|
|
63186
|
+
__props.viewport === "mobile" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$4, [
|
|
63215
63187
|
(vue.openBlock(true), vue.createElementBlock(
|
|
63216
63188
|
vue.Fragment,
|
|
63217
63189
|
null,
|
|
@@ -63222,13 +63194,13 @@
|
|
|
63222
63194
|
class: vue.normalizeClass(["yc-chat-studio__device-pill", { "is-active": preset.id === activeDevice.value.id }]),
|
|
63223
63195
|
"data-testid": `device-preset-${preset.id}`,
|
|
63224
63196
|
onClick: ($event) => selectDevice(preset.id)
|
|
63225
|
-
}, vue.toDisplayString(preset.label), 11,
|
|
63197
|
+
}, vue.toDisplayString(preset.label), 11, _hoisted_9$4);
|
|
63226
63198
|
}),
|
|
63227
63199
|
128
|
|
63228
63200
|
/* KEYED_FRAGMENT */
|
|
63229
63201
|
))
|
|
63230
63202
|
])) : vue.createCommentVNode("v-if", true),
|
|
63231
|
-
vue.createElementVNode("div",
|
|
63203
|
+
vue.createElementVNode("div", _hoisted_10$4, [
|
|
63232
63204
|
vue.createElementVNode("button", {
|
|
63233
63205
|
type: "button",
|
|
63234
63206
|
role: "tab",
|
|
@@ -63271,7 +63243,7 @@
|
|
|
63271
63243
|
-1
|
|
63272
63244
|
/* CACHED */
|
|
63273
63245
|
)
|
|
63274
|
-
])], 10,
|
|
63246
|
+
])], 10, _hoisted_11$4),
|
|
63275
63247
|
vue.createElementVNode("button", {
|
|
63276
63248
|
type: "button",
|
|
63277
63249
|
role: "tab",
|
|
@@ -63314,7 +63286,7 @@
|
|
|
63314
63286
|
-1
|
|
63315
63287
|
/* CACHED */
|
|
63316
63288
|
)
|
|
63317
|
-
])], 10,
|
|
63289
|
+
])], 10, _hoisted_12$4)
|
|
63318
63290
|
]),
|
|
63319
63291
|
vue.createElementVNode("button", {
|
|
63320
63292
|
type: "button",
|
|
@@ -63356,10 +63328,10 @@
|
|
|
63356
63328
|
-1
|
|
63357
63329
|
/* CACHED */
|
|
63358
63330
|
))
|
|
63359
|
-
], 8,
|
|
63331
|
+
], 8, _hoisted_13$4)
|
|
63360
63332
|
])
|
|
63361
63333
|
]),
|
|
63362
|
-
__props.viewport === "web" ? (vue.openBlock(), vue.createElementBlock("div",
|
|
63334
|
+
__props.viewport === "web" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$2, [
|
|
63363
63335
|
vue.createElementVNode(
|
|
63364
63336
|
"div",
|
|
63365
63337
|
{
|
|
@@ -63371,7 +63343,7 @@
|
|
|
63371
63343
|
2
|
|
63372
63344
|
/* CLASS */
|
|
63373
63345
|
),
|
|
63374
|
-
vue.createElementVNode("section",
|
|
63346
|
+
vue.createElementVNode("section", _hoisted_15$1, [
|
|
63375
63347
|
vue.createElementVNode(
|
|
63376
63348
|
"div",
|
|
63377
63349
|
{
|
|
@@ -63380,30 +63352,31 @@
|
|
|
63380
63352
|
class: "yc-chat-studio__stream message-viewport"
|
|
63381
63353
|
},
|
|
63382
63354
|
[
|
|
63383
|
-
vue.createElementVNode("div",
|
|
63355
|
+
vue.createElementVNode("div", _hoisted_16$1, [
|
|
63384
63356
|
vue.renderSlot(_ctx.$slots, "messages")
|
|
63385
63357
|
])
|
|
63386
63358
|
],
|
|
63387
63359
|
512
|
|
63388
63360
|
/* NEED_PATCH */
|
|
63389
63361
|
),
|
|
63390
|
-
vue.createElementVNode("div",
|
|
63391
|
-
vue.createElementVNode("div",
|
|
63362
|
+
vue.createElementVNode("div", _hoisted_17, [
|
|
63363
|
+
vue.createElementVNode("div", _hoisted_18, [
|
|
63392
63364
|
vue.renderSlot(_ctx.$slots, "composer")
|
|
63393
63365
|
])
|
|
63394
63366
|
])
|
|
63395
63367
|
])
|
|
63396
|
-
])) : (vue.openBlock(), vue.createElementBlock("div",
|
|
63397
|
-
vue.createElementVNode("div",
|
|
63368
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_19, [
|
|
63369
|
+
vue.createElementVNode("div", _hoisted_20, [
|
|
63398
63370
|
vue.createVNode(_sfc_main$j, {
|
|
63399
63371
|
ref_key: "mobileFrameRef",
|
|
63400
63372
|
ref: mobileFrameRef,
|
|
63401
63373
|
device: activeDevice.value,
|
|
63402
|
-
"agent-name": __props.agentName
|
|
63374
|
+
"agent-name": __props.agentName,
|
|
63403
63375
|
status: __props.status,
|
|
63404
63376
|
"status-label": __props.statusLabel,
|
|
63405
63377
|
connected: __props.connected,
|
|
63406
63378
|
"session-count": __props.sessionCount,
|
|
63379
|
+
caption: __props.caption,
|
|
63407
63380
|
onCreate: _cache[4] || (_cache[4] = ($event) => emit("create")),
|
|
63408
63381
|
onRefresh: _cache[5] || (_cache[5] = ($event) => emit("refresh"))
|
|
63409
63382
|
}, {
|
|
@@ -63430,7 +63403,7 @@
|
|
|
63430
63403
|
]),
|
|
63431
63404
|
_: 3
|
|
63432
63405
|
/* FORWARDED */
|
|
63433
|
-
}, 8, ["device", "agent-name", "status", "status-label", "connected", "session-count"])
|
|
63406
|
+
}, 8, ["device", "agent-name", "status", "status-label", "connected", "session-count", "caption"])
|
|
63434
63407
|
])
|
|
63435
63408
|
]))
|
|
63436
63409
|
],
|
|
@@ -64236,7 +64209,7 @@
|
|
|
64236
64209
|
class: "elx-files-card__preview-mask-error"
|
|
64237
64210
|
};
|
|
64238
64211
|
const _hoisted_3$5 = { class: "error-text" };
|
|
64239
|
-
const _hoisted_4$
|
|
64212
|
+
const _hoisted_4$5 = { class: "elx-files-card-content" };
|
|
64240
64213
|
const _hoisted_5$4 = {
|
|
64241
64214
|
key: 0,
|
|
64242
64215
|
class: "elx-files-card-name"
|
|
@@ -64444,7 +64417,7 @@
|
|
|
64444
64417
|
], 34)) : vue.createCommentVNode("", true)
|
|
64445
64418
|
], true) : vue.createCommentVNode("", true),
|
|
64446
64419
|
(_ctx.$slots.content || props.name || vue.unref(description)) && !(vue.unref(isSquareVariant) && vue.unref(isImageFile)) ? vue.renderSlot(_ctx.$slots, "content", vue.normalizeProps(vue.mergeProps({ key: 2 }, { item: props })), () => [
|
|
64447
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
64420
|
+
vue.createElementVNode("div", _hoisted_4$5, [
|
|
64448
64421
|
props.name ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [
|
|
64449
64422
|
vue.renderSlot(_ctx.$slots, "name-prefix", vue.normalizeProps(vue.guardReactiveProps({
|
|
64450
64423
|
item: { ...props, prefix: vue.unref(namePrefix), suffix: vue.unref(nameSuffix) }
|
|
@@ -68037,29 +68010,34 @@
|
|
|
68037
68010
|
};
|
|
68038
68011
|
const _hoisted_2$5 = { class: "yc-chat-sidebar__header rail-header" };
|
|
68039
68012
|
const _hoisted_3$4 = ["disabled"];
|
|
68040
|
-
const _hoisted_4$
|
|
68013
|
+
const _hoisted_4$4 = {
|
|
68041
68014
|
key: 0,
|
|
68042
68015
|
class: "yc-chat-sidebar__search"
|
|
68043
68016
|
};
|
|
68044
|
-
const _hoisted_5$3 =
|
|
68045
|
-
const _hoisted_6$3 = {
|
|
68017
|
+
const _hoisted_5$3 = ["placeholder"];
|
|
68018
|
+
const _hoisted_6$3 = { class: "yc-chat-sidebar__body conversation-list" };
|
|
68019
|
+
const _hoisted_7$3 = {
|
|
68046
68020
|
key: 0,
|
|
68047
68021
|
class: "yc-chat-sidebar__empty empty-hint"
|
|
68048
68022
|
};
|
|
68049
|
-
const
|
|
68023
|
+
const _hoisted_8$3 = {
|
|
68050
68024
|
key: 1,
|
|
68051
68025
|
class: "yc-chat-sidebar__empty empty-hint"
|
|
68052
68026
|
};
|
|
68053
|
-
const
|
|
68027
|
+
const _hoisted_9$3 = {
|
|
68054
68028
|
key: 2,
|
|
68055
68029
|
class: "yc-chat-sidebar__empty empty-hint"
|
|
68056
68030
|
};
|
|
68057
|
-
const
|
|
68058
|
-
|
|
68059
|
-
|
|
68060
|
-
|
|
68061
|
-
const
|
|
68062
|
-
const
|
|
68031
|
+
const _hoisted_10$3 = {
|
|
68032
|
+
key: 3,
|
|
68033
|
+
class: "yc-chat-sidebar__empty empty-hint"
|
|
68034
|
+
};
|
|
68035
|
+
const _hoisted_11$3 = { class: "yc-chat-sidebar__item-main" };
|
|
68036
|
+
const _hoisted_12$3 = { class: "yc-chat-sidebar__item-title conversation-title" };
|
|
68037
|
+
const _hoisted_13$3 = { class: "yc-chat-sidebar__item-time conversation-time" };
|
|
68038
|
+
const _hoisted_14$1 = ["onClick"];
|
|
68039
|
+
const _hoisted_15 = { class: "yc-chat-sidebar__more" };
|
|
68040
|
+
const _hoisted_16 = ["disabled"];
|
|
68063
68041
|
var _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
68064
68042
|
...{
|
|
68065
68043
|
name: "YcChatSidebar"
|
|
@@ -68071,8 +68049,13 @@
|
|
|
68071
68049
|
connected: { type: Boolean, default: false },
|
|
68072
68050
|
loading: { type: Boolean, default: false },
|
|
68073
68051
|
hasMore: { type: Boolean, default: false },
|
|
68074
|
-
title: { default: "
|
|
68075
|
-
createText: { default: "\
|
|
68052
|
+
title: { default: "" },
|
|
68053
|
+
createText: { default: "\u65B0\u5BF9\u8BDD" },
|
|
68054
|
+
disconnectedText: { default: "" },
|
|
68055
|
+
emptyText: { default: "\u6682\u65E0\u4F1A\u8BDD" },
|
|
68056
|
+
noResultText: { default: "\u6CA1\u6709\u5339\u914D\u7ED3\u679C" },
|
|
68057
|
+
searchPlaceholder: { default: "\u641C\u7D22" },
|
|
68058
|
+
untitledText: { default: "\u65B0\u4F1A\u8BDD" }
|
|
68076
68059
|
},
|
|
68077
68060
|
emits: ["select", "create", "delete", "load-more"],
|
|
68078
68061
|
setup(__props, { emit: __emit }) {
|
|
@@ -68083,14 +68066,14 @@
|
|
|
68083
68066
|
const query = keyword.value.trim().toLowerCase();
|
|
68084
68067
|
if (!query) return props.sessions;
|
|
68085
68068
|
return props.sessions.filter(
|
|
68086
|
-
(item) => (item.title ||
|
|
68069
|
+
(item) => (item.title || props.untitledText).toLowerCase().includes(query)
|
|
68087
68070
|
);
|
|
68088
68071
|
});
|
|
68089
68072
|
const conversationItems = vue.computed(
|
|
68090
68073
|
() => filteredSessions.value.map((item) => ({
|
|
68091
68074
|
id: item.id,
|
|
68092
68075
|
key: item.id,
|
|
68093
|
-
label: item.title ||
|
|
68076
|
+
label: item.title || props.untitledText,
|
|
68094
68077
|
group: groupChatSessionByDate(item.updatedAt),
|
|
68095
68078
|
disabled: item.disabled,
|
|
68096
68079
|
timeText: formatChatSessionTime(item.updatedAt)
|
|
@@ -68138,7 +68121,7 @@
|
|
|
68138
68121
|
/* TEXT */
|
|
68139
68122
|
)
|
|
68140
68123
|
], 8, _hoisted_3$4),
|
|
68141
|
-
__props.connected && __props.sessions.length > 3 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
68124
|
+
__props.connected && __props.sessions.length > 3 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$4, [
|
|
68142
68125
|
_cache[5] || (_cache[5] = vue.createElementVNode(
|
|
68143
68126
|
"svg",
|
|
68144
68127
|
{
|
|
@@ -68164,25 +68147,43 @@
|
|
|
68164
68147
|
-1
|
|
68165
68148
|
/* CACHED */
|
|
68166
68149
|
)),
|
|
68167
|
-
vue.withDirectives(vue.createElementVNode(
|
|
68168
|
-
"
|
|
68169
|
-
|
|
68170
|
-
|
|
68171
|
-
|
|
68172
|
-
|
|
68173
|
-
class: "yc-chat-sidebar__search-input"
|
|
68174
|
-
},
|
|
68175
|
-
null,
|
|
68176
|
-
512
|
|
68177
|
-
/* NEED_PATCH */
|
|
68178
|
-
), [
|
|
68150
|
+
vue.withDirectives(vue.createElementVNode("input", {
|
|
68151
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => keyword.value = $event),
|
|
68152
|
+
type: "text",
|
|
68153
|
+
placeholder: __props.searchPlaceholder,
|
|
68154
|
+
class: "yc-chat-sidebar__search-input"
|
|
68155
|
+
}, null, 8, _hoisted_5$3), [
|
|
68179
68156
|
[vue.vModelText, keyword.value]
|
|
68180
68157
|
])
|
|
68181
68158
|
])) : vue.createCommentVNode("v-if", true)
|
|
68182
68159
|
]),
|
|
68183
|
-
vue.createElementVNode("div",
|
|
68184
|
-
!__props.connected
|
|
68185
|
-
|
|
68160
|
+
vue.createElementVNode("div", _hoisted_6$3, [
|
|
68161
|
+
!__props.connected && __props.disconnectedText ? (vue.openBlock(), vue.createElementBlock(
|
|
68162
|
+
"div",
|
|
68163
|
+
_hoisted_7$3,
|
|
68164
|
+
vue.toDisplayString(__props.disconnectedText),
|
|
68165
|
+
1
|
|
68166
|
+
/* TEXT */
|
|
68167
|
+
)) : !__props.connected ? (vue.openBlock(), vue.createElementBlock(
|
|
68168
|
+
"div",
|
|
68169
|
+
_hoisted_8$3,
|
|
68170
|
+
vue.toDisplayString(__props.emptyText),
|
|
68171
|
+
1
|
|
68172
|
+
/* TEXT */
|
|
68173
|
+
)) : !__props.sessions.length && !__props.loading ? (vue.openBlock(), vue.createElementBlock(
|
|
68174
|
+
"div",
|
|
68175
|
+
_hoisted_9$3,
|
|
68176
|
+
vue.toDisplayString(__props.emptyText),
|
|
68177
|
+
1
|
|
68178
|
+
/* TEXT */
|
|
68179
|
+
)) : !conversationItems.value.length && keyword.value ? (vue.openBlock(), vue.createElementBlock(
|
|
68180
|
+
"div",
|
|
68181
|
+
_hoisted_10$3,
|
|
68182
|
+
vue.toDisplayString(__props.noResultText),
|
|
68183
|
+
1
|
|
68184
|
+
/* TEXT */
|
|
68185
|
+
)) : (vue.openBlock(), vue.createBlock(vue.unref(Conversations), {
|
|
68186
|
+
key: 4,
|
|
68186
68187
|
items: conversationItems.value,
|
|
68187
68188
|
active: __props.activeId,
|
|
68188
68189
|
"row-key": "id",
|
|
@@ -68199,17 +68200,17 @@
|
|
|
68199
68200
|
class: vue.normalizeClass(["yc-chat-sidebar__item", { active: item.id === __props.activeId }])
|
|
68200
68201
|
},
|
|
68201
68202
|
[
|
|
68202
|
-
vue.createElementVNode("div",
|
|
68203
|
+
vue.createElementVNode("div", _hoisted_11$3, [
|
|
68203
68204
|
vue.createElementVNode(
|
|
68204
68205
|
"div",
|
|
68205
|
-
|
|
68206
|
+
_hoisted_12$3,
|
|
68206
68207
|
vue.toDisplayString(item.label),
|
|
68207
68208
|
1
|
|
68208
68209
|
/* TEXT */
|
|
68209
68210
|
),
|
|
68210
68211
|
vue.createElementVNode(
|
|
68211
68212
|
"div",
|
|
68212
|
-
|
|
68213
|
+
_hoisted_13$3,
|
|
68213
68214
|
vue.toDisplayString(item.timeText),
|
|
68214
68215
|
1
|
|
68215
68216
|
/* TEXT */
|
|
@@ -68246,7 +68247,7 @@
|
|
|
68246
68247
|
-1
|
|
68247
68248
|
/* CACHED */
|
|
68248
68249
|
)
|
|
68249
|
-
])], 8,
|
|
68250
|
+
])], 8, _hoisted_14$1)
|
|
68250
68251
|
])
|
|
68251
68252
|
],
|
|
68252
68253
|
2
|
|
@@ -68259,13 +68260,13 @@
|
|
|
68259
68260
|
__props.hasMore ? {
|
|
68260
68261
|
name: "load-more",
|
|
68261
68262
|
fn: vue.withCtx(() => [
|
|
68262
|
-
vue.createElementVNode("div",
|
|
68263
|
+
vue.createElementVNode("div", _hoisted_15, [
|
|
68263
68264
|
vue.createElementVNode("button", {
|
|
68264
68265
|
type: "button",
|
|
68265
68266
|
class: "yc-chat-sidebar__more-btn",
|
|
68266
68267
|
disabled: __props.loading,
|
|
68267
68268
|
onClick: _cache[3] || (_cache[3] = ($event) => emit("load-more"))
|
|
68268
|
-
}, vue.toDisplayString(__props.loading ? "\u52A0\u8F7D\u4E2D\u2026" : "\u52A0\u8F7D\u66F4\u591A
|
|
68269
|
+
}, vue.toDisplayString(__props.loading ? "\u52A0\u8F7D\u4E2D\u2026" : "\u52A0\u8F7D\u66F4\u591A"), 9, _hoisted_16)
|
|
68269
68270
|
])
|
|
68270
68271
|
]),
|
|
68271
68272
|
key: "0"
|
|
@@ -68280,6 +68281,10 @@
|
|
|
68280
68281
|
const _hoisted_1$5 = { class: "yc-chat-welcome__inner" };
|
|
68281
68282
|
const _hoisted_2$4 = { class: "yc-chat-welcome__hero" };
|
|
68282
68283
|
const _hoisted_3$3 = {
|
|
68284
|
+
key: 0,
|
|
68285
|
+
class: "yc-chat-welcome__glyph"
|
|
68286
|
+
};
|
|
68287
|
+
const _hoisted_4$3 = {
|
|
68283
68288
|
key: 0,
|
|
68284
68289
|
class: "yc-chat-welcome__prompts"
|
|
68285
68290
|
};
|
|
@@ -68293,10 +68298,11 @@
|
|
|
68293
68298
|
loading: { type: Boolean, default: false },
|
|
68294
68299
|
agentName: { default: "" },
|
|
68295
68300
|
title: { default: "" },
|
|
68296
|
-
description: { default: "
|
|
68297
|
-
disconnectedTitle: { default: "
|
|
68298
|
-
disconnectedDescription: { default: "
|
|
68301
|
+
description: { default: "" },
|
|
68302
|
+
disconnectedTitle: { default: "" },
|
|
68303
|
+
disconnectedDescription: { default: "" },
|
|
68299
68304
|
prompts: { default: () => [] },
|
|
68305
|
+
promptsTitle: { default: "" },
|
|
68300
68306
|
compact: { type: Boolean, default: false }
|
|
68301
68307
|
},
|
|
68302
68308
|
emits: ["prompt"],
|
|
@@ -68304,12 +68310,13 @@
|
|
|
68304
68310
|
const props = __props;
|
|
68305
68311
|
const emit = __emit;
|
|
68306
68312
|
const resolvedTitle = vue.computed(() => {
|
|
68307
|
-
if (
|
|
68308
|
-
if (props.
|
|
68309
|
-
return props.
|
|
68313
|
+
if (props.loading) return "\u52A0\u8F7D\u4E2D\u2026";
|
|
68314
|
+
if (!props.connected) return props.disconnectedTitle || props.title;
|
|
68315
|
+
return props.title || props.agentName;
|
|
68310
68316
|
});
|
|
68311
68317
|
const resolvedDescription = vue.computed(() => {
|
|
68312
|
-
if (
|
|
68318
|
+
if (props.loading) return "";
|
|
68319
|
+
if (!props.connected) return props.disconnectedDescription || props.description;
|
|
68313
68320
|
return props.description;
|
|
68314
68321
|
});
|
|
68315
68322
|
const promptItems = vue.computed(
|
|
@@ -68336,46 +68343,22 @@
|
|
|
68336
68343
|
[
|
|
68337
68344
|
vue.createElementVNode("div", _hoisted_1$5, [
|
|
68338
68345
|
vue.createElementVNode("div", _hoisted_2$4, [
|
|
68339
|
-
|
|
68340
|
-
"
|
|
68341
|
-
|
|
68342
|
-
class: "yc-chat-welcome__glyph",
|
|
68343
|
-
"aria-hidden": "true"
|
|
68344
|
-
},
|
|
68345
|
-
[
|
|
68346
|
-
vue.createElementVNode("svg", {
|
|
68347
|
-
viewBox: "0 0 24 24",
|
|
68348
|
-
fill: "none"
|
|
68349
|
-
}, [
|
|
68350
|
-
vue.createElementVNode("path", {
|
|
68351
|
-
d: "M12 4L13.85 10.15L20 12L13.85 13.85L12 20L10.15 13.85L4 12L10.15 10.15L12 4Z",
|
|
68352
|
-
fill: "currentColor"
|
|
68353
|
-
}),
|
|
68354
|
-
vue.createElementVNode("circle", {
|
|
68355
|
-
cx: "18.5",
|
|
68356
|
-
cy: "6",
|
|
68357
|
-
r: "1.5",
|
|
68358
|
-
fill: "currentColor",
|
|
68359
|
-
"fill-opacity": "0.55"
|
|
68360
|
-
})
|
|
68361
|
-
])
|
|
68362
|
-
],
|
|
68363
|
-
-1
|
|
68364
|
-
/* CACHED */
|
|
68365
|
-
)),
|
|
68346
|
+
_ctx.$slots.logo ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$3, [
|
|
68347
|
+
vue.renderSlot(_ctx.$slots, "logo")
|
|
68348
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
68366
68349
|
vue.createVNode(vue.unref(Welcome), {
|
|
68367
68350
|
variant: "borderless",
|
|
68368
|
-
title:
|
|
68369
|
-
description:
|
|
68351
|
+
title: resolvedTitle.value,
|
|
68352
|
+
description: resolvedDescription.value
|
|
68370
68353
|
}, null, 8, ["title", "description"])
|
|
68371
68354
|
]),
|
|
68372
|
-
__props.connected && !__props.loading && promptItems.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div",
|
|
68355
|
+
__props.connected && !__props.loading && promptItems.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$3, [
|
|
68373
68356
|
vue.createVNode(vue.unref(Prompts), {
|
|
68374
|
-
title:
|
|
68357
|
+
title: __props.promptsTitle,
|
|
68375
68358
|
items: promptItems.value,
|
|
68376
68359
|
wrap: true,
|
|
68377
68360
|
onItemClick: handlePromptClick
|
|
68378
|
-
}, null, 8, ["items"])
|
|
68361
|
+
}, null, 8, ["title", "items"])
|
|
68379
68362
|
])) : vue.createCommentVNode("v-if", true)
|
|
68380
68363
|
])
|
|
68381
68364
|
],
|
|
@@ -68432,6 +68415,7 @@
|
|
|
68432
68415
|
status: { default: "completed" },
|
|
68433
68416
|
metrics: { default: () => [] },
|
|
68434
68417
|
identifiers: { default: () => [] },
|
|
68418
|
+
identifiersTitle: { default: "ID" },
|
|
68435
68419
|
canCopyContent: { type: Boolean, default: true },
|
|
68436
68420
|
compact: { type: Boolean, default: false }
|
|
68437
68421
|
},
|
|
@@ -68509,7 +68493,7 @@
|
|
|
68509
68493
|
vue.createElementVNode(
|
|
68510
68494
|
"summary",
|
|
68511
68495
|
_hoisted_7$2,
|
|
68512
|
-
|
|
68496
|
+
vue.toDisplayString(__props.identifiersTitle) + " (" + vue.toDisplayString(__props.identifiers.length) + ") ",
|
|
68513
68497
|
1
|
|
68514
68498
|
/* TEXT */
|
|
68515
68499
|
),
|
|
@@ -68600,7 +68584,7 @@
|
|
|
68600
68584
|
-1
|
|
68601
68585
|
/* CACHED */
|
|
68602
68586
|
)),
|
|
68603
|
-
!__props.compact ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_13$2, "
|
|
68587
|
+
!__props.compact ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_13$2, "ID")) : vue.createCommentVNode("v-if", true)
|
|
68604
68588
|
], 8, _hoisted_12$2)
|
|
68605
68589
|
])
|
|
68606
68590
|
],
|
|
@@ -68904,7 +68888,7 @@
|
|
|
68904
68888
|
__name: "sender",
|
|
68905
68889
|
props: {
|
|
68906
68890
|
modelValue: { default: "" },
|
|
68907
|
-
placeholder: { default: "\
|
|
68891
|
+
placeholder: { default: "\u8F93\u5165\u6D88\u606F\u2026" },
|
|
68908
68892
|
disabled: { type: Boolean, default: false },
|
|
68909
68893
|
sending: { type: Boolean, default: false },
|
|
68910
68894
|
uploading: { type: Boolean, default: false },
|
|
@@ -68912,6 +68896,7 @@
|
|
|
68912
68896
|
thinking: { type: Boolean, default: false },
|
|
68913
68897
|
showThinking: { type: Boolean, default: true },
|
|
68914
68898
|
thinkingDisabled: { type: Boolean, default: false },
|
|
68899
|
+
thinkingLabel: { default: "\u601D\u8003" },
|
|
68915
68900
|
viewport: { default: "web" },
|
|
68916
68901
|
enterToSend: { type: Function, default: void 0 }
|
|
68917
68902
|
},
|
|
@@ -69034,8 +69019,8 @@
|
|
|
69034
69019
|
class: vue.normalizeClass(["yc-chat-sender__chip", { "is-active": __props.thinking }]),
|
|
69035
69020
|
disabled: __props.disabled || __props.thinkingDisabled,
|
|
69036
69021
|
onClick: toggleThinking
|
|
69037
|
-
}, [
|
|
69038
|
-
vue.createElementVNode(
|
|
69022
|
+
}, [
|
|
69023
|
+
_cache[6] || (_cache[6] = vue.createElementVNode(
|
|
69039
69024
|
"svg",
|
|
69040
69025
|
{
|
|
69041
69026
|
viewBox: "0 0 16 16",
|
|
@@ -69052,15 +69037,15 @@
|
|
|
69052
69037
|
],
|
|
69053
69038
|
-1
|
|
69054
69039
|
/* CACHED */
|
|
69055
|
-
),
|
|
69040
|
+
)),
|
|
69056
69041
|
vue.createElementVNode(
|
|
69057
69042
|
"span",
|
|
69058
69043
|
null,
|
|
69059
|
-
|
|
69060
|
-
|
|
69061
|
-
/*
|
|
69044
|
+
vue.toDisplayString(__props.thinkingLabel),
|
|
69045
|
+
1
|
|
69046
|
+
/* TEXT */
|
|
69062
69047
|
)
|
|
69063
|
-
]
|
|
69048
|
+
], 10, _hoisted_3$1)
|
|
69064
69049
|
])) : vue.createCommentVNode("v-if", true),
|
|
69065
69050
|
vue.createElementVNode("div", _hoisted_4$1, [
|
|
69066
69051
|
vue.createElementVNode("button", {
|
|
@@ -69215,8 +69200,8 @@
|
|
|
69215
69200
|
class: vue.normalizeClass(["yc-chat-sender__chip", { "is-active": __props.thinking }]),
|
|
69216
69201
|
disabled: __props.disabled || __props.thinkingDisabled,
|
|
69217
69202
|
onClick: toggleThinking
|
|
69218
|
-
}, [
|
|
69219
|
-
vue.createElementVNode(
|
|
69203
|
+
}, [
|
|
69204
|
+
_cache[11] || (_cache[11] = vue.createElementVNode(
|
|
69220
69205
|
"svg",
|
|
69221
69206
|
{
|
|
69222
69207
|
viewBox: "0 0 16 16",
|
|
@@ -69233,15 +69218,15 @@
|
|
|
69233
69218
|
],
|
|
69234
69219
|
-1
|
|
69235
69220
|
/* CACHED */
|
|
69236
|
-
),
|
|
69221
|
+
)),
|
|
69237
69222
|
vue.createElementVNode(
|
|
69238
69223
|
"span",
|
|
69239
69224
|
null,
|
|
69240
|
-
|
|
69241
|
-
|
|
69242
|
-
/*
|
|
69225
|
+
vue.toDisplayString(__props.thinkingLabel),
|
|
69226
|
+
1
|
|
69227
|
+
/* TEXT */
|
|
69243
69228
|
)
|
|
69244
|
-
]
|
|
69229
|
+
], 10, _hoisted_12$1)) : vue.createCommentVNode("v-if", true),
|
|
69245
69230
|
vue.renderSlot(_ctx.$slots, "controls")
|
|
69246
69231
|
]),
|
|
69247
69232
|
vue.createElementVNode("div", _hoisted_13$1, [
|
|
@@ -69640,7 +69625,7 @@
|
|
|
69640
69625
|
}
|
|
69641
69626
|
});
|
|
69642
69627
|
|
|
69643
|
-
const version = "1.2.
|
|
69628
|
+
const version = "1.2.1";
|
|
69644
69629
|
|
|
69645
69630
|
const install = installer.install;
|
|
69646
69631
|
|