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.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! yc-agent-ui v1.2.
|
|
1
|
+
/*! yc-agent-ui v1.2.1 */
|
|
2
2
|
import { defineComponent, ref, shallowRef, computed, watch, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeStyle, createElementVNode, createCommentVNode, renderSlot, toDisplayString, markRaw, resolveComponent, normalizeClass, createBlock, withCtx, createTextVNode, createVNode, createSlots, Fragment, resolveDynamicComponent, renderList, mergeProps, withDirectives, vModelText, resolveDirective, withModifiers, watchEffect, unref, isRef, reactive, useAttrs, normalizeProps, guardReactiveProps, nextTick, inject, isReactive, provide, h, isVNode, withKeys, TransitionGroup, toHandlers, getCurrentInstance, toRefs, toRef, Transition, useSlots, toValue, onUpdated, triggerRef, Comment, cloneVNode, onUnmounted, createStaticVNode, vShow, Teleport } from 'vue';
|
|
3
3
|
import * as echarts from 'echarts';
|
|
4
4
|
import { ElMessage, ElPagination, dayjs as dayjs$1, ElRadioGroup, ElRadio, localeContextKey, ElTableColumn, ElDropdown, ElIcon, ElDropdownMenu, ElDropdownItem, ElTooltip, ElPopconfirm, ElButton, ElLink, ElMessageBox, useFormDisabled, ElDatePicker, ClickOutside, ElTag, ElInput, ElSelectV2, ElTreeSelect, ElTransfer, ElTimeSelect, ElTimePicker, ElSwitch, ElSlider, ElOption, ElSelect, ElRate, ElInputNumber, ElColorPicker, ElCheckbox, ElCheckboxGroup, ElCascader, ElAutocomplete, ElFormItem, ElOptionGroup, ElText, ElDivider, ElRow, ElCol, ElForm, ElCard, ElAvatar, ElProgress, ElImage, ElPopover, ElTable, vLoading, TableV2FixedDir, ElAutoResizer, ElTableV2, ElDescriptions, ElDescriptionsItem, ElDialog, ElDrawer, ElEmpty } from 'element-plus';
|
|
@@ -1502,7 +1502,7 @@ const _hoisted_1$1c = {
|
|
|
1502
1502
|
};
|
|
1503
1503
|
const _hoisted_2$R = { class: "yc-chart-card__header-left" };
|
|
1504
1504
|
const _hoisted_3$K = { class: "yc-chart-card__title-row" };
|
|
1505
|
-
const _hoisted_4$
|
|
1505
|
+
const _hoisted_4$G = {
|
|
1506
1506
|
key: 0,
|
|
1507
1507
|
class: "yc-chart-card__actions"
|
|
1508
1508
|
};
|
|
@@ -1716,7 +1716,7 @@ var _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
1716
1716
|
/* TEXT, STYLE */
|
|
1717
1717
|
)) : createCommentVNode("v-if", true)
|
|
1718
1718
|
]),
|
|
1719
|
-
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1719
|
+
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_4$G, [
|
|
1720
1720
|
renderSlot(_ctx.$slots, "actions")
|
|
1721
1721
|
])) : createCommentVNode("v-if", true)
|
|
1722
1722
|
];
|
|
@@ -1837,7 +1837,7 @@ const _hoisted_3$J = {
|
|
|
1837
1837
|
key: 1,
|
|
1838
1838
|
class: "yc-metric-card__icon"
|
|
1839
1839
|
};
|
|
1840
|
-
const _hoisted_4$
|
|
1840
|
+
const _hoisted_4$F = { class: "yc-metric-card__content" };
|
|
1841
1841
|
const _hoisted_5$y = { class: "yc-metric-card__value-wrap" };
|
|
1842
1842
|
const _hoisted_6$w = {
|
|
1843
1843
|
key: 0,
|
|
@@ -2050,7 +2050,7 @@ var _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
2050
2050
|
])
|
|
2051
2051
|
]),
|
|
2052
2052
|
createCommentVNode(" \u6838\u5FC3\u6570\u503C\u533A\u57DF "),
|
|
2053
|
-
createElementVNode("div", _hoisted_4$
|
|
2053
|
+
createElementVNode("div", _hoisted_4$F, [
|
|
2054
2054
|
createElementVNode("div", _hoisted_5$y, [
|
|
2055
2055
|
props.prefix ? (openBlock(), createElementBlock(
|
|
2056
2056
|
"span",
|
|
@@ -4155,7 +4155,7 @@ const _hoisted_3$I = {
|
|
|
4155
4155
|
key: 0,
|
|
4156
4156
|
class: "yc-data-table-search"
|
|
4157
4157
|
};
|
|
4158
|
-
const _hoisted_4$
|
|
4158
|
+
const _hoisted_4$E = ["placeholder"];
|
|
4159
4159
|
const _hoisted_5$x = {
|
|
4160
4160
|
key: 0,
|
|
4161
4161
|
class: "yc-data-table-filter__badge"
|
|
@@ -4178,10 +4178,10 @@ const _hoisted_13$e = {
|
|
|
4178
4178
|
class: "yc-data-table-filter__count"
|
|
4179
4179
|
};
|
|
4180
4180
|
const _hoisted_14$c = ["onClick"];
|
|
4181
|
-
const _hoisted_15$
|
|
4182
|
-
const _hoisted_16$
|
|
4183
|
-
const _hoisted_17$
|
|
4184
|
-
const _hoisted_18$
|
|
4181
|
+
const _hoisted_15$b = { class: "yc-data-table-toolbar__right" };
|
|
4182
|
+
const _hoisted_16$b = { class: "yc-data-table-column-menu" };
|
|
4183
|
+
const _hoisted_17$9 = { class: "yc-data-table-column-menu__list" };
|
|
4184
|
+
const _hoisted_18$9 = ["onClick"];
|
|
4185
4185
|
const _hoisted_19$8 = { class: "yc-data-table-column-menu__checkbox" };
|
|
4186
4186
|
const _hoisted_20$8 = {
|
|
4187
4187
|
key: 0,
|
|
@@ -4190,7 +4190,7 @@ const _hoisted_20$8 = {
|
|
|
4190
4190
|
stroke: "currentColor",
|
|
4191
4191
|
"stroke-width": "3"
|
|
4192
4192
|
};
|
|
4193
|
-
const _hoisted_21$
|
|
4193
|
+
const _hoisted_21$6 = { class: "yc-data-table-column-menu__label" };
|
|
4194
4194
|
var _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
4195
4195
|
...{
|
|
4196
4196
|
name: "DataTableToolbar"
|
|
@@ -4279,7 +4279,7 @@ var _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
4279
4279
|
type: "text",
|
|
4280
4280
|
class: "yc-data-table-search__input",
|
|
4281
4281
|
placeholder: props.searchPlaceholder
|
|
4282
|
-
}, null, 8, _hoisted_4$
|
|
4282
|
+
}, null, 8, _hoisted_4$E), [
|
|
4283
4283
|
[vModelText, searchValue.value]
|
|
4284
4284
|
]),
|
|
4285
4285
|
searchValue.value ? (openBlock(), createElementBlock("button", {
|
|
@@ -4476,7 +4476,7 @@ var _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
4476
4476
|
])])) : createCommentVNode("v-if", true)
|
|
4477
4477
|
]),
|
|
4478
4478
|
createCommentVNode(" \u53F3\u4FA7\u64CD\u4F5C\u4E0E\u5217\u663E\u9690\u63A7\u5236 "),
|
|
4479
|
-
createElementVNode("div", _hoisted_15$
|
|
4479
|
+
createElementVNode("div", _hoisted_15$b, [
|
|
4480
4480
|
createCommentVNode(" \u5916\u90E8\u81EA\u5B9A\u4E49\u64CD\u4F5C\u680F\u63D2\u69FD "),
|
|
4481
4481
|
renderSlot(_ctx.$slots, "actions"),
|
|
4482
4482
|
createCommentVNode(" \u5217\u663E\u9690\u63A7\u5236 (View) "),
|
|
@@ -4511,7 +4511,7 @@ var _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
4511
4511
|
)
|
|
4512
4512
|
])]),
|
|
4513
4513
|
default: withCtx(() => [
|
|
4514
|
-
createElementVNode("div", _hoisted_16$
|
|
4514
|
+
createElementVNode("div", _hoisted_16$b, [
|
|
4515
4515
|
_cache[9] || (_cache[9] = createElementVNode(
|
|
4516
4516
|
"div",
|
|
4517
4517
|
{ class: "yc-data-table-column-menu__title" },
|
|
@@ -4519,7 +4519,7 @@ var _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
4519
4519
|
-1
|
|
4520
4520
|
/* CACHED */
|
|
4521
4521
|
)),
|
|
4522
|
-
createElementVNode("div", _hoisted_17$
|
|
4522
|
+
createElementVNode("div", _hoisted_17$9, [
|
|
4523
4523
|
(openBlock(true), createElementBlock(
|
|
4524
4524
|
Fragment,
|
|
4525
4525
|
null,
|
|
@@ -4542,12 +4542,12 @@ var _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
4542
4542
|
]),
|
|
4543
4543
|
createElementVNode(
|
|
4544
4544
|
"span",
|
|
4545
|
-
_hoisted_21$
|
|
4545
|
+
_hoisted_21$6,
|
|
4546
4546
|
toDisplayString(col.label),
|
|
4547
4547
|
1
|
|
4548
4548
|
/* TEXT */
|
|
4549
4549
|
)
|
|
4550
|
-
], 10, _hoisted_18$
|
|
4550
|
+
], 10, _hoisted_18$9);
|
|
4551
4551
|
}),
|
|
4552
4552
|
128
|
|
4553
4553
|
/* KEYED_FRAGMENT */
|
|
@@ -4570,7 +4570,7 @@ const _hoisted_3$H = {
|
|
|
4570
4570
|
key: 0,
|
|
4571
4571
|
class: "yc-data-table-pagination__selected"
|
|
4572
4572
|
};
|
|
4573
|
-
const _hoisted_4$
|
|
4573
|
+
const _hoisted_4$D = {
|
|
4574
4574
|
key: 1,
|
|
4575
4575
|
class: "yc-data-table-pagination__total"
|
|
4576
4576
|
};
|
|
@@ -4633,7 +4633,7 @@ var _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
4633
4633
|
/* TEXT */
|
|
4634
4634
|
)) : (openBlock(), createElementBlock(
|
|
4635
4635
|
"span",
|
|
4636
|
-
_hoisted_4$
|
|
4636
|
+
_hoisted_4$D,
|
|
4637
4637
|
" \u5171 " + toDisplayString(props.totalCount) + " \u6761\u6570\u636E ",
|
|
4638
4638
|
1
|
|
4639
4639
|
/* TEXT */
|
|
@@ -5051,7 +5051,7 @@ const _hoisted_1$16 = {
|
|
|
5051
5051
|
};
|
|
5052
5052
|
const _hoisted_2$M = { class: "yc-data-table-header__left" };
|
|
5053
5053
|
const _hoisted_3$F = { class: "yc-data-table-header__title-row" };
|
|
5054
|
-
const _hoisted_4$
|
|
5054
|
+
const _hoisted_4$C = {
|
|
5055
5055
|
key: 0,
|
|
5056
5056
|
class: "yc-data-table-header__title"
|
|
5057
5057
|
};
|
|
@@ -5265,7 +5265,7 @@ var _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
5265
5265
|
createElementVNode("div", _hoisted_3$F, [
|
|
5266
5266
|
props.title ? (openBlock(), createElementBlock(
|
|
5267
5267
|
"span",
|
|
5268
|
-
_hoisted_4$
|
|
5268
|
+
_hoisted_4$C,
|
|
5269
5269
|
toDisplayString(props.title),
|
|
5270
5270
|
1
|
|
5271
5271
|
/* TEXT */
|
|
@@ -12218,7 +12218,7 @@ const _hoisted_3$D = {
|
|
|
12218
12218
|
key: 0,
|
|
12219
12219
|
class: "plus-form-item-field"
|
|
12220
12220
|
};
|
|
12221
|
-
const _hoisted_4$
|
|
12221
|
+
const _hoisted_4$B = {
|
|
12222
12222
|
key: 1,
|
|
12223
12223
|
class: "plus-form-item-field"
|
|
12224
12224
|
};
|
|
@@ -12540,7 +12540,7 @@ var _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
12540
12540
|
"render-type": "form",
|
|
12541
12541
|
"handle-change": handleChange
|
|
12542
12542
|
}, null, 8, ["render", "params", "callback-value", "custom-field-props"])) : createCommentVNode("v-if", true)
|
|
12543
|
-
])) : _ctx.$slots[unref(getFieldSlotName)(__props.prop)] ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
12543
|
+
])) : _ctx.$slots[unref(getFieldSlotName)(__props.prop)] ? (openBlock(), createElementBlock("div", _hoisted_4$B, [
|
|
12544
12544
|
renderSlot(_ctx.$slots, unref(getFieldSlotName)(__props.prop), mergeProps(params.value, { column: props }))
|
|
12545
12545
|
])) : __props.valueType === "select" && customFieldProps.value.multiple === true ? (openBlock(), createBlock(unref(ElSelect$1), mergeProps({
|
|
12546
12546
|
key: 2,
|
|
@@ -17430,7 +17430,7 @@ const PlusPopover = _sfc_main$1e;
|
|
|
17430
17430
|
const _hoisted_1$Y = { class: "plus-table-title-bar" };
|
|
17431
17431
|
const _hoisted_2$G = { class: "plus-table-title-bar__title" };
|
|
17432
17432
|
const _hoisted_3$C = { class: "plus-table-title-bar__toolbar" };
|
|
17433
|
-
const _hoisted_4$
|
|
17433
|
+
const _hoisted_4$A = { class: "plus-table-title-bar__toolbar__density" };
|
|
17434
17434
|
const _hoisted_5$u = { class: "plus-table-checkbox-checkAll" };
|
|
17435
17435
|
const _hoisted_6$s = { class: "plus-table-checkbox-actions" };
|
|
17436
17436
|
const _hoisted_7$o = {
|
|
@@ -17697,7 +17697,7 @@ var _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
17697
17697
|
}, 8, ["content"])
|
|
17698
17698
|
]),
|
|
17699
17699
|
default: withCtx(() => [
|
|
17700
|
-
createElementVNode("div", _hoisted_4$
|
|
17700
|
+
createElementVNode("div", _hoisted_4$A, [
|
|
17701
17701
|
(openBlock(), createElementBlock(
|
|
17702
17702
|
Fragment,
|
|
17703
17703
|
null,
|
|
@@ -18804,7 +18804,7 @@ var _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
18804
18804
|
const _hoisted_1$V = { class: "yc-switch-row__body" };
|
|
18805
18805
|
const _hoisted_2$E = { class: "yc-switch-row__head" };
|
|
18806
18806
|
const _hoisted_3$A = { class: "yc-switch-row__title" };
|
|
18807
|
-
const _hoisted_4$
|
|
18807
|
+
const _hoisted_4$z = {
|
|
18808
18808
|
key: 0,
|
|
18809
18809
|
class: "yc-switch-row__badge"
|
|
18810
18810
|
};
|
|
@@ -18855,7 +18855,7 @@ var _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
18855
18855
|
),
|
|
18856
18856
|
__props.badge ? (openBlock(), createElementBlock(
|
|
18857
18857
|
"span",
|
|
18858
|
-
_hoisted_4$
|
|
18858
|
+
_hoisted_4$z,
|
|
18859
18859
|
toDisplayString(__props.badge),
|
|
18860
18860
|
1
|
|
18861
18861
|
/* TEXT */
|
|
@@ -18899,7 +18899,7 @@ const _hoisted_1$U = {
|
|
|
18899
18899
|
};
|
|
18900
18900
|
const _hoisted_2$D = ["role"];
|
|
18901
18901
|
const _hoisted_3$z = ["role", "aria-checked", "disabled", "onClick"];
|
|
18902
|
-
const _hoisted_4$
|
|
18902
|
+
const _hoisted_4$y = { class: "yc-choice-card__top" };
|
|
18903
18903
|
const _hoisted_5$s = { class: "yc-choice-card__title" };
|
|
18904
18904
|
const _hoisted_6$q = { class: "yc-choice-card__right" };
|
|
18905
18905
|
const _hoisted_7$n = {
|
|
@@ -18989,7 +18989,7 @@ var _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
18989
18989
|
disabled: __props.disabled || opt.disabled,
|
|
18990
18990
|
onClick: ($event) => select(opt)
|
|
18991
18991
|
}, [
|
|
18992
|
-
createElementVNode("div", _hoisted_4$
|
|
18992
|
+
createElementVNode("div", _hoisted_4$y, [
|
|
18993
18993
|
createElementVNode(
|
|
18994
18994
|
"span",
|
|
18995
18995
|
_hoisted_5$s,
|
|
@@ -19343,7 +19343,7 @@ const _hoisted_3$y = {
|
|
|
19343
19343
|
"stroke-linecap": "round",
|
|
19344
19344
|
"stroke-linejoin": "round"
|
|
19345
19345
|
};
|
|
19346
|
-
const _hoisted_4$
|
|
19346
|
+
const _hoisted_4$x = {
|
|
19347
19347
|
key: 1,
|
|
19348
19348
|
class: "yc-table-head__icon",
|
|
19349
19349
|
viewBox: "0 0 24 24",
|
|
@@ -19422,7 +19422,7 @@ var _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
19422
19422
|
-1
|
|
19423
19423
|
/* CACHED */
|
|
19424
19424
|
)
|
|
19425
|
-
])])) : __props.sortOrder === "descending" ? (openBlock(), createElementBlock("svg", _hoisted_4$
|
|
19425
|
+
])])) : __props.sortOrder === "descending" ? (openBlock(), createElementBlock("svg", _hoisted_4$x, [..._cache[1] || (_cache[1] = [
|
|
19426
19426
|
createElementVNode(
|
|
19427
19427
|
"path",
|
|
19428
19428
|
{ d: "m6 9 6 6 6-6" },
|
|
@@ -19520,7 +19520,7 @@ var _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
19520
19520
|
const _hoisted_1$Q = ["checked", "indeterminate"];
|
|
19521
19521
|
const _hoisted_2$B = ["checked", "aria-label", "onChange"];
|
|
19522
19522
|
const _hoisted_3$x = { class: "yc-table-empty" };
|
|
19523
|
-
const _hoisted_4$
|
|
19523
|
+
const _hoisted_4$w = { class: "yc-table-empty__text" };
|
|
19524
19524
|
var _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
19525
19525
|
...{
|
|
19526
19526
|
name: "YcCossTable"
|
|
@@ -19861,7 +19861,7 @@ var _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
19861
19861
|
)),
|
|
19862
19862
|
createElementVNode(
|
|
19863
19863
|
"p",
|
|
19864
|
-
_hoisted_4$
|
|
19864
|
+
_hoisted_4$w,
|
|
19865
19865
|
toDisplayString(__props.emptyText),
|
|
19866
19866
|
1
|
|
19867
19867
|
/* TEXT */
|
|
@@ -19921,7 +19921,7 @@ const _hoisted_3$w = {
|
|
|
19921
19921
|
key: 0,
|
|
19922
19922
|
class: "yc-card-frame__title"
|
|
19923
19923
|
};
|
|
19924
|
-
const _hoisted_4$
|
|
19924
|
+
const _hoisted_4$v = {
|
|
19925
19925
|
key: 1,
|
|
19926
19926
|
class: "yc-card-frame__description"
|
|
19927
19927
|
};
|
|
@@ -19965,7 +19965,7 @@ var _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
19965
19965
|
)
|
|
19966
19966
|
])
|
|
19967
19967
|
])) : createCommentVNode("v-if", true),
|
|
19968
|
-
__props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
19968
|
+
__props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("p", _hoisted_4$v, [
|
|
19969
19969
|
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
19970
19970
|
createTextVNode(
|
|
19971
19971
|
toDisplayString(__props.description),
|
|
@@ -20061,7 +20061,7 @@ const _hoisted_3$v = {
|
|
|
20061
20061
|
key: 1,
|
|
20062
20062
|
class: "yc-calendar__nav-placeholder"
|
|
20063
20063
|
};
|
|
20064
|
-
const _hoisted_4$
|
|
20064
|
+
const _hoisted_4$u = { class: "yc-calendar__title" };
|
|
20065
20065
|
const _hoisted_5$p = {
|
|
20066
20066
|
key: 3,
|
|
20067
20067
|
class: "yc-calendar__nav-placeholder"
|
|
@@ -20196,7 +20196,7 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
20196
20196
|
])])) : (openBlock(), createElementBlock("div", _hoisted_3$v)),
|
|
20197
20197
|
createElementVNode(
|
|
20198
20198
|
"span",
|
|
20199
|
-
_hoisted_4$
|
|
20199
|
+
_hoisted_4$u,
|
|
20200
20200
|
toDisplayString(monthTitle.value),
|
|
20201
20201
|
1
|
|
20202
20202
|
/* TEXT */
|
|
@@ -20295,7 +20295,7 @@ var _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
20295
20295
|
const _hoisted_1$N = { class: "yc-date-picker-wrap" };
|
|
20296
20296
|
const _hoisted_2$y = ["disabled"];
|
|
20297
20297
|
const _hoisted_3$u = { class: "yc-date-picker-trigger__text" };
|
|
20298
|
-
const _hoisted_4$
|
|
20298
|
+
const _hoisted_4$t = { class: "yc-date-picker-content" };
|
|
20299
20299
|
const _hoisted_5$o = {
|
|
20300
20300
|
key: 0,
|
|
20301
20301
|
class: "yc-date-picker-presets"
|
|
@@ -20647,7 +20647,7 @@ var _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
20647
20647
|
], 14, _hoisted_2$y)
|
|
20648
20648
|
]),
|
|
20649
20649
|
default: withCtx(() => [
|
|
20650
|
-
createElementVNode("div", _hoisted_4$
|
|
20650
|
+
createElementVNode("div", _hoisted_4$t, [
|
|
20651
20651
|
createCommentVNode(" \u5FEB\u6377\u9884\u8BBE\u4FA7\u680F (Presets Sidebar) "),
|
|
20652
20652
|
hasPresets.value ? (openBlock(), createElementBlock("div", _hoisted_5$o, [
|
|
20653
20653
|
_cache[5] || (_cache[5] = createElementVNode(
|
|
@@ -20819,7 +20819,7 @@ const _hoisted_3$t = {
|
|
|
20819
20819
|
"stroke-linecap": "round",
|
|
20820
20820
|
"stroke-linejoin": "round"
|
|
20821
20821
|
};
|
|
20822
|
-
const _hoisted_4$
|
|
20822
|
+
const _hoisted_4$s = {
|
|
20823
20823
|
key: 2,
|
|
20824
20824
|
viewBox: "0 0 24 24",
|
|
20825
20825
|
width: "15",
|
|
@@ -20915,7 +20915,7 @@ var _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
20915
20915
|
-1
|
|
20916
20916
|
/* CACHED */
|
|
20917
20917
|
)
|
|
20918
|
-
])])) : __props.tone === "success" ? (openBlock(), createElementBlock("svg", _hoisted_4$
|
|
20918
|
+
])])) : __props.tone === "success" ? (openBlock(), createElementBlock("svg", _hoisted_4$s, [..._cache[3] || (_cache[3] = [
|
|
20919
20919
|
createElementVNode(
|
|
20920
20920
|
"circle",
|
|
20921
20921
|
{
|
|
@@ -21036,7 +21036,7 @@ const _hoisted_3$s = {
|
|
|
21036
21036
|
"stroke-linecap": "round",
|
|
21037
21037
|
"stroke-linejoin": "round"
|
|
21038
21038
|
};
|
|
21039
|
-
const _hoisted_4$
|
|
21039
|
+
const _hoisted_4$r = {
|
|
21040
21040
|
key: 0,
|
|
21041
21041
|
class: "yc-timeline__line"
|
|
21042
21042
|
};
|
|
@@ -21098,7 +21098,7 @@ var _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
21098
21098
|
)
|
|
21099
21099
|
])])) : createCommentVNode("v-if", true)
|
|
21100
21100
|
]),
|
|
21101
|
-
idx < __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
21101
|
+
idx < __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$r)) : createCommentVNode("v-if", true)
|
|
21102
21102
|
]),
|
|
21103
21103
|
createElementVNode("div", _hoisted_5$m, [
|
|
21104
21104
|
createElementVNode("div", _hoisted_6$l, [
|
|
@@ -21160,7 +21160,7 @@ const _hoisted_3$r = {
|
|
|
21160
21160
|
key: 0,
|
|
21161
21161
|
class: "yc-empty-state__desc"
|
|
21162
21162
|
};
|
|
21163
|
-
const _hoisted_4$
|
|
21163
|
+
const _hoisted_4$q = {
|
|
21164
21164
|
key: 1,
|
|
21165
21165
|
class: "yc-empty-state__actions"
|
|
21166
21166
|
};
|
|
@@ -21222,7 +21222,7 @@ var _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
21222
21222
|
1
|
|
21223
21223
|
/* TEXT */
|
|
21224
21224
|
)) : createCommentVNode("v-if", true),
|
|
21225
|
-
__props.actionText || _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
21225
|
+
__props.actionText || _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_4$q, [
|
|
21226
21226
|
renderSlot(_ctx.$slots, "action", {}, () => [
|
|
21227
21227
|
createElementVNode(
|
|
21228
21228
|
"button",
|
|
@@ -21254,7 +21254,7 @@ const _hoisted_3$q = {
|
|
|
21254
21254
|
key: 0,
|
|
21255
21255
|
class: "yc-kv__title"
|
|
21256
21256
|
};
|
|
21257
|
-
const _hoisted_4$
|
|
21257
|
+
const _hoisted_4$p = {
|
|
21258
21258
|
key: 1,
|
|
21259
21259
|
class: "yc-kv__subtitle"
|
|
21260
21260
|
};
|
|
@@ -21340,7 +21340,7 @@ var _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
21340
21340
|
)) : createCommentVNode("v-if", true),
|
|
21341
21341
|
__props.subtitle ? (openBlock(), createElementBlock(
|
|
21342
21342
|
"div",
|
|
21343
|
-
_hoisted_4$
|
|
21343
|
+
_hoisted_4$p,
|
|
21344
21344
|
toDisplayString(__props.subtitle),
|
|
21345
21345
|
1
|
|
21346
21346
|
/* TEXT */
|
|
@@ -21556,7 +21556,7 @@ const _hoisted_3$p = {
|
|
|
21556
21556
|
key: 0,
|
|
21557
21557
|
class: "card-footer"
|
|
21558
21558
|
};
|
|
21559
|
-
const _hoisted_4$
|
|
21559
|
+
const _hoisted_4$o = {
|
|
21560
21560
|
key: 0,
|
|
21561
21561
|
class: "hex-tokens"
|
|
21562
21562
|
};
|
|
@@ -21696,7 +21696,7 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
21696
21696
|
props.showTokenBar || props.actionText || _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_3$p, [
|
|
21697
21697
|
createCommentVNode(" \u8272\u503C\u8272\u6807\u6761 "),
|
|
21698
21698
|
renderSlot(_ctx.$slots, "tokens", { palette: paletteConfig.value }, () => [
|
|
21699
|
-
props.showTokenBar && paletteConfig.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
21699
|
+
props.showTokenBar && paletteConfig.value ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
|
|
21700
21700
|
createElementVNode(
|
|
21701
21701
|
"span",
|
|
21702
21702
|
{
|
|
@@ -22430,7 +22430,7 @@ const _hoisted_3$n = {
|
|
|
22430
22430
|
key: 1,
|
|
22431
22431
|
class: "yc-field__extra"
|
|
22432
22432
|
};
|
|
22433
|
-
const _hoisted_4$
|
|
22433
|
+
const _hoisted_4$n = {
|
|
22434
22434
|
key: 0,
|
|
22435
22435
|
class: "yc-input-addon is-before"
|
|
22436
22436
|
};
|
|
@@ -22490,11 +22490,11 @@ const _hoisted_14$b = {
|
|
|
22490
22490
|
key: 2,
|
|
22491
22491
|
class: "yc-input__count"
|
|
22492
22492
|
};
|
|
22493
|
-
const _hoisted_15$
|
|
22493
|
+
const _hoisted_15$a = {
|
|
22494
22494
|
key: 3,
|
|
22495
22495
|
class: "yc-input__kbd"
|
|
22496
22496
|
};
|
|
22497
|
-
const _hoisted_16$
|
|
22497
|
+
const _hoisted_16$a = {
|
|
22498
22498
|
key: 1,
|
|
22499
22499
|
class: "yc-input-addon is-after"
|
|
22500
22500
|
};
|
|
@@ -22629,7 +22629,7 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
22629
22629
|
class: normalizeClass(["yc-input-group", { "has-addon-before": !!(__props.addonBefore || _ctx.$slots["addon-before"]), "has-addon-after": !!(__props.addonAfter || _ctx.$slots["addon-after"]) }])
|
|
22630
22630
|
},
|
|
22631
22631
|
[
|
|
22632
|
-
__props.addonBefore || _ctx.$slots["addon-before"] ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
22632
|
+
__props.addonBefore || _ctx.$slots["addon-before"] ? (openBlock(), createElementBlock("span", _hoisted_4$n, [
|
|
22633
22633
|
renderSlot(_ctx.$slots, "addon-before", {}, () => [
|
|
22634
22634
|
createTextVNode(
|
|
22635
22635
|
toDisplayString(__props.addonBefore),
|
|
@@ -22803,14 +22803,14 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
22803
22803
|
)) : createCommentVNode("v-if", true),
|
|
22804
22804
|
__props.shortcut && !stringValue.value ? (openBlock(), createElementBlock(
|
|
22805
22805
|
"kbd",
|
|
22806
|
-
_hoisted_15$
|
|
22806
|
+
_hoisted_15$a,
|
|
22807
22807
|
toDisplayString(__props.shortcut),
|
|
22808
22808
|
1
|
|
22809
22809
|
/* TEXT */
|
|
22810
22810
|
)) : createCommentVNode("v-if", true)
|
|
22811
22811
|
])) : createCommentVNode("v-if", true)
|
|
22812
22812
|
]),
|
|
22813
|
-
__props.addonAfter || _ctx.$slots["addon-after"] ? (openBlock(), createElementBlock("span", _hoisted_16$
|
|
22813
|
+
__props.addonAfter || _ctx.$slots["addon-after"] ? (openBlock(), createElementBlock("span", _hoisted_16$a, [
|
|
22814
22814
|
renderSlot(_ctx.$slots, "addon-after", {}, () => [
|
|
22815
22815
|
createTextVNode(
|
|
22816
22816
|
toDisplayString(__props.addonAfter),
|
|
@@ -22851,7 +22851,7 @@ const _hoisted_2$p = {
|
|
|
22851
22851
|
"aria-hidden": "true"
|
|
22852
22852
|
};
|
|
22853
22853
|
const _hoisted_3$m = { class: "yc-input-group" };
|
|
22854
|
-
const _hoisted_4$
|
|
22854
|
+
const _hoisted_4$m = {
|
|
22855
22855
|
key: 0,
|
|
22856
22856
|
class: "yc-input__prefix yc-money-input__currency"
|
|
22857
22857
|
};
|
|
@@ -22997,7 +22997,7 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
22997
22997
|
}, [
|
|
22998
22998
|
__props.currency ? (openBlock(), createElementBlock(
|
|
22999
22999
|
"span",
|
|
23000
|
-
_hoisted_4$
|
|
23000
|
+
_hoisted_4$m,
|
|
23001
23001
|
toDisplayString(__props.currency),
|
|
23002
23002
|
1
|
|
23003
23003
|
/* TEXT */
|
|
@@ -23090,7 +23090,7 @@ const _hoisted_2$o = {
|
|
|
23090
23090
|
"aria-hidden": "true"
|
|
23091
23091
|
};
|
|
23092
23092
|
const _hoisted_3$l = ["rows", "value", "placeholder", "disabled", "readonly", "maxlength"];
|
|
23093
|
-
const _hoisted_4$
|
|
23093
|
+
const _hoisted_4$l = {
|
|
23094
23094
|
key: 0,
|
|
23095
23095
|
class: "yc-textarea__footer"
|
|
23096
23096
|
};
|
|
@@ -23206,7 +23206,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
23206
23206
|
onFocus,
|
|
23207
23207
|
onBlur
|
|
23208
23208
|
}, null, 40, _hoisted_3$l),
|
|
23209
|
-
__props.showCount && __props.maxlength || _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
23209
|
+
__props.showCount && __props.maxlength || _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
|
|
23210
23210
|
renderSlot(_ctx.$slots, "footer"),
|
|
23211
23211
|
__props.showCount && __props.maxlength ? (openBlock(), createElementBlock(
|
|
23212
23212
|
"span",
|
|
@@ -23241,7 +23241,7 @@ const _hoisted_1$C = {
|
|
|
23241
23241
|
};
|
|
23242
23242
|
const _hoisted_2$n = { class: "yc-stepper__control" };
|
|
23243
23243
|
const _hoisted_3$k = ["disabled"];
|
|
23244
|
-
const _hoisted_4$
|
|
23244
|
+
const _hoisted_4$k = { class: "yc-stepper__value-wrap" };
|
|
23245
23245
|
const _hoisted_5$h = ["value", "placeholder", "disabled", "readonly"];
|
|
23246
23246
|
const _hoisted_6$h = {
|
|
23247
23247
|
key: 0,
|
|
@@ -23373,7 +23373,7 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
23373
23373
|
/* CACHED */
|
|
23374
23374
|
)
|
|
23375
23375
|
])], 8, _hoisted_3$k),
|
|
23376
|
-
createElementVNode("div", _hoisted_4$
|
|
23376
|
+
createElementVNode("div", _hoisted_4$k, [
|
|
23377
23377
|
createElementVNode("input", {
|
|
23378
23378
|
id: stepperId,
|
|
23379
23379
|
type: "text",
|
|
@@ -51976,7 +51976,7 @@ const _hoisted_3$j = {
|
|
|
51976
51976
|
class: "node-label-wrapper",
|
|
51977
51977
|
style: { "display": "flex", "gap": "4px", "align-items": "center", "width": "100%" }
|
|
51978
51978
|
};
|
|
51979
|
-
const _hoisted_4$
|
|
51979
|
+
const _hoisted_4$j = { class: "node-label" };
|
|
51980
51980
|
const _hoisted_5$g = ["innerHTML"];
|
|
51981
51981
|
const _hoisted_6$g = { class: "action-icon-wrapper" };
|
|
51982
51982
|
const _hoisted_7$e = {
|
|
@@ -52735,7 +52735,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
52735
52735
|
data,
|
|
52736
52736
|
highlightedLabel: highlightKeyword(node.label, props.searchMode === "local" ? filterText.value : "")
|
|
52737
52737
|
}, () => [
|
|
52738
|
-
createElementVNode("span", _hoisted_4$
|
|
52738
|
+
createElementVNode("span", _hoisted_4$j, [
|
|
52739
52739
|
createCommentVNode(" \u9ED8\u8BA4\u8282\u70B9\u6807\u7B7E\u6587\u672C "),
|
|
52740
52740
|
createVNode(_component_el_tooltip, {
|
|
52741
52741
|
content: node.label,
|
|
@@ -52927,7 +52927,7 @@ const _hoisted_3$i = {
|
|
|
52927
52927
|
key: 0,
|
|
52928
52928
|
class: "yc-property-header__title"
|
|
52929
52929
|
};
|
|
52930
|
-
const _hoisted_4$
|
|
52930
|
+
const _hoisted_4$i = {
|
|
52931
52931
|
key: 1,
|
|
52932
52932
|
class: "yc-property-header__subtitle"
|
|
52933
52933
|
};
|
|
@@ -52960,21 +52960,21 @@ const _hoisted_14$a = {
|
|
|
52960
52960
|
class: "yc-property-th is-selection",
|
|
52961
52961
|
width: "48px"
|
|
52962
52962
|
};
|
|
52963
|
-
const _hoisted_15$
|
|
52964
|
-
const _hoisted_16$
|
|
52965
|
-
const _hoisted_17$
|
|
52966
|
-
const _hoisted_18$
|
|
52963
|
+
const _hoisted_15$9 = ["checked", "indeterminate"];
|
|
52964
|
+
const _hoisted_16$9 = ["onClick"];
|
|
52965
|
+
const _hoisted_17$8 = { class: "yc-property-th__inner" };
|
|
52966
|
+
const _hoisted_18$8 = {
|
|
52967
52967
|
key: 1,
|
|
52968
52968
|
class: "yc-property-th align-right",
|
|
52969
52969
|
width: "140px"
|
|
52970
52970
|
};
|
|
52971
52971
|
const _hoisted_19$7 = ["onClick"];
|
|
52972
52972
|
const _hoisted_20$7 = ["checked", "onChange"];
|
|
52973
|
-
const _hoisted_21$
|
|
52973
|
+
const _hoisted_21$5 = {
|
|
52974
52974
|
key: 1,
|
|
52975
52975
|
class: "yc-property-money"
|
|
52976
52976
|
};
|
|
52977
|
-
const _hoisted_22$
|
|
52977
|
+
const _hoisted_22$5 = { class: "yc-property-money__num" };
|
|
52978
52978
|
const _hoisted_23$3 = ["href"];
|
|
52979
52979
|
const _hoisted_24$2 = {
|
|
52980
52980
|
key: 1,
|
|
@@ -53318,7 +53318,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
53318
53318
|
)) : createCommentVNode("v-if", true),
|
|
53319
53319
|
__props.subtitle ? (openBlock(), createElementBlock(
|
|
53320
53320
|
"p",
|
|
53321
|
-
_hoisted_4$
|
|
53321
|
+
_hoisted_4$i,
|
|
53322
53322
|
toDisplayString(__props.subtitle),
|
|
53323
53323
|
1
|
|
53324
53324
|
/* TEXT */
|
|
@@ -53445,7 +53445,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
53445
53445
|
checked: isAllSelected.value,
|
|
53446
53446
|
indeterminate: isIndeterminate.value,
|
|
53447
53447
|
onChange: handleToggleSelectAll
|
|
53448
|
-
}, null, 40, _hoisted_15$
|
|
53448
|
+
}, null, 40, _hoisted_15$9)
|
|
53449
53449
|
])) : createCommentVNode("v-if", true),
|
|
53450
53450
|
createCommentVNode(" \u6570\u636E\u5217\u5934 "),
|
|
53451
53451
|
(openBlock(true), createElementBlock(
|
|
@@ -53462,7 +53462,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
53462
53462
|
style: normalizeStyle({ width: typeof col.width === "number" ? `${col.width}px` : col.width, minWidth: typeof col.minWidth === "number" ? `${col.minWidth}px` : col.minWidth }),
|
|
53463
53463
|
onClick: ($event) => col.sortable ? handleSort(col.prop) : void 0
|
|
53464
53464
|
}, [
|
|
53465
|
-
createElementVNode("div", _hoisted_17$
|
|
53465
|
+
createElementVNode("div", _hoisted_17$8, [
|
|
53466
53466
|
renderSlot(_ctx.$slots, `header-${col.prop}`, { column: col }, () => [
|
|
53467
53467
|
createElementVNode(
|
|
53468
53468
|
"span",
|
|
@@ -53503,13 +53503,13 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
53503
53503
|
/* CLASS */
|
|
53504
53504
|
)) : createCommentVNode("v-if", true)
|
|
53505
53505
|
])
|
|
53506
|
-
], 14, _hoisted_16$
|
|
53506
|
+
], 14, _hoisted_16$9);
|
|
53507
53507
|
}),
|
|
53508
53508
|
128
|
|
53509
53509
|
/* KEYED_FRAGMENT */
|
|
53510
53510
|
)),
|
|
53511
53511
|
createCommentVNode(" \u64CD\u4F5C\u5217\u5934 "),
|
|
53512
|
-
__props.actions && __props.actions.length > 0 ? (openBlock(), createElementBlock("th", _hoisted_18$
|
|
53512
|
+
__props.actions && __props.actions.length > 0 ? (openBlock(), createElementBlock("th", _hoisted_18$8, [..._cache[11] || (_cache[11] = [
|
|
53513
53513
|
createElementVNode(
|
|
53514
53514
|
"span",
|
|
53515
53515
|
null,
|
|
@@ -53590,7 +53590,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
53590
53590
|
],
|
|
53591
53591
|
2
|
|
53592
53592
|
/* CLASS */
|
|
53593
|
-
)) : col.type === "money" ? (openBlock(), createElementBlock("span", _hoisted_21$
|
|
53593
|
+
)) : col.type === "money" ? (openBlock(), createElementBlock("span", _hoisted_21$5, [
|
|
53594
53594
|
_cache[12] || (_cache[12] = createElementVNode(
|
|
53595
53595
|
"span",
|
|
53596
53596
|
{ class: "yc-property-money__symbol" },
|
|
@@ -53600,7 +53600,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
53600
53600
|
)),
|
|
53601
53601
|
createElementVNode(
|
|
53602
53602
|
"span",
|
|
53603
|
-
_hoisted_22$
|
|
53603
|
+
_hoisted_22$5,
|
|
53604
53604
|
toDisplayString(formatMoney(getCellValue(row, col))),
|
|
53605
53605
|
1
|
|
53606
53606
|
/* TEXT */
|
|
@@ -54143,7 +54143,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
54143
54143
|
const _hoisted_1$x = { class: "yc-order-table-container" };
|
|
54144
54144
|
const _hoisted_2$j = ["onClick"];
|
|
54145
54145
|
const _hoisted_3$h = { class: "yc-order-card__header" };
|
|
54146
|
-
const _hoisted_4$
|
|
54146
|
+
const _hoisted_4$h = { class: "yc-order-card__code" };
|
|
54147
54147
|
const _hoisted_5$e = { class: "yc-order-card__badges" };
|
|
54148
54148
|
const _hoisted_6$e = { class: "yc-order-card__content" };
|
|
54149
54149
|
const _hoisted_7$c = { class: "yc-order-card__title" };
|
|
@@ -54160,20 +54160,20 @@ const _hoisted_11$b = { key: 1 };
|
|
|
54160
54160
|
const _hoisted_12$b = { class: "yc-order-card__footer-info" };
|
|
54161
54161
|
const _hoisted_13$b = { class: "yc-order-card__person" };
|
|
54162
54162
|
const _hoisted_14$9 = { class: "yc-order-card__person-name" };
|
|
54163
|
-
const _hoisted_15$
|
|
54163
|
+
const _hoisted_15$8 = {
|
|
54164
54164
|
key: 0,
|
|
54165
54165
|
class: "yc-order-card__person-role"
|
|
54166
54166
|
};
|
|
54167
|
-
const _hoisted_16$
|
|
54168
|
-
const _hoisted_17$
|
|
54169
|
-
const _hoisted_18$
|
|
54167
|
+
const _hoisted_16$8 = { key: 0 };
|
|
54168
|
+
const _hoisted_17$7 = { key: 1 };
|
|
54169
|
+
const _hoisted_18$7 = {
|
|
54170
54170
|
key: 1,
|
|
54171
54171
|
class: "yc-order-card__time"
|
|
54172
54172
|
};
|
|
54173
54173
|
const _hoisted_19$6 = { class: "yc-order-card__links" };
|
|
54174
54174
|
const _hoisted_20$6 = ["href"];
|
|
54175
|
-
const _hoisted_21$
|
|
54176
|
-
const _hoisted_22$
|
|
54175
|
+
const _hoisted_21$4 = ["onClick"];
|
|
54176
|
+
const _hoisted_22$4 = ["onClick"];
|
|
54177
54177
|
const _hoisted_23$2 = ["onClick"];
|
|
54178
54178
|
var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
54179
54179
|
...{
|
|
@@ -54339,7 +54339,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
54339
54339
|
createElementVNode("div", _hoisted_3$h, [
|
|
54340
54340
|
createElementVNode(
|
|
54341
54341
|
"span",
|
|
54342
|
-
_hoisted_4$
|
|
54342
|
+
_hoisted_4$h,
|
|
54343
54343
|
toDisplayString(row.orderNo),
|
|
54344
54344
|
1
|
|
54345
54345
|
/* TEXT */
|
|
@@ -54423,7 +54423,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
54423
54423
|
),
|
|
54424
54424
|
row.reporter ? (openBlock(), createElementBlock(
|
|
54425
54425
|
"span",
|
|
54426
|
-
_hoisted_15$
|
|
54426
|
+
_hoisted_15$8,
|
|
54427
54427
|
"\u63D0\u5355 " + toDisplayString(row.reporter),
|
|
54428
54428
|
1
|
|
54429
54429
|
/* TEXT */
|
|
@@ -54438,13 +54438,13 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
54438
54438
|
[
|
|
54439
54439
|
row.slaOverdue ? (openBlock(), createElementBlock(
|
|
54440
54440
|
"span",
|
|
54441
|
-
_hoisted_16$
|
|
54441
|
+
_hoisted_16$8,
|
|
54442
54442
|
"\u5DF2\u8D85\u65F6 " + toDisplayString(Math.abs(row.slaRemainMinutes)) + "\u5206\u949F",
|
|
54443
54443
|
1
|
|
54444
54444
|
/* TEXT */
|
|
54445
54445
|
)) : (openBlock(), createElementBlock(
|
|
54446
54446
|
"span",
|
|
54447
|
-
_hoisted_17$
|
|
54447
|
+
_hoisted_17$7,
|
|
54448
54448
|
"\u5269\u4F59 " + toDisplayString(row.slaRemainMinutes) + "\u5206\u949F",
|
|
54449
54449
|
1
|
|
54450
54450
|
/* TEXT */
|
|
@@ -54454,7 +54454,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
54454
54454
|
/* CLASS */
|
|
54455
54455
|
)) : row.createTime ? (openBlock(), createElementBlock(
|
|
54456
54456
|
"div",
|
|
54457
|
-
_hoisted_18$
|
|
54457
|
+
_hoisted_18$7,
|
|
54458
54458
|
toDisplayString(row.createTime),
|
|
54459
54459
|
1
|
|
54460
54460
|
/* TEXT */
|
|
@@ -54475,14 +54475,14 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
54475
54475
|
type: "button",
|
|
54476
54476
|
class: "yc-order-card__link",
|
|
54477
54477
|
onClick: ($event) => handleAction("detail", row)
|
|
54478
|
-
}, " \u8BE6\u60C5 ", 8, _hoisted_21$
|
|
54478
|
+
}, " \u8BE6\u60C5 ", 8, _hoisted_21$4)
|
|
54479
54479
|
]),
|
|
54480
54480
|
row.status === "pending_dispatch" ? (openBlock(), createElementBlock("button", {
|
|
54481
54481
|
key: 0,
|
|
54482
54482
|
type: "button",
|
|
54483
54483
|
class: "yc-order-card__btn is-primary",
|
|
54484
54484
|
onClick: ($event) => handleAction("dispatch", row)
|
|
54485
|
-
}, " \u6D3E\u5DE5 ", 8, _hoisted_22$
|
|
54485
|
+
}, " \u6D3E\u5DE5 ", 8, _hoisted_22$4)) : row.status === "in_progress" ? (openBlock(), createElementBlock("button", {
|
|
54486
54486
|
key: 1,
|
|
54487
54487
|
type: "button",
|
|
54488
54488
|
class: "yc-order-card__btn is-secondary",
|
|
@@ -54505,7 +54505,7 @@ const _hoisted_2$i = {
|
|
|
54505
54505
|
class: "yc-bill-summary-bar"
|
|
54506
54506
|
};
|
|
54507
54507
|
const _hoisted_3$g = { class: "yc-bill-summary-item" };
|
|
54508
|
-
const _hoisted_4$
|
|
54508
|
+
const _hoisted_4$g = { class: "yc-bill-summary-val" };
|
|
54509
54509
|
const _hoisted_5$d = { class: "yc-bill-summary-item is-danger" };
|
|
54510
54510
|
const _hoisted_6$d = { class: "yc-bill-summary-val" };
|
|
54511
54511
|
const _hoisted_7$b = { class: "yc-bill-summary-item" };
|
|
@@ -54539,7 +54539,7 @@ const _hoisted_14$8 = {
|
|
|
54539
54539
|
"stroke-linecap": "round",
|
|
54540
54540
|
"stroke-linejoin": "round"
|
|
54541
54541
|
};
|
|
54542
|
-
const _hoisted_15$
|
|
54542
|
+
const _hoisted_15$7 = {
|
|
54543
54543
|
key: 2,
|
|
54544
54544
|
viewBox: "0 0 24 24",
|
|
54545
54545
|
width: "14",
|
|
@@ -54550,13 +54550,13 @@ const _hoisted_15$5 = {
|
|
|
54550
54550
|
"stroke-linecap": "round",
|
|
54551
54551
|
"stroke-linejoin": "round"
|
|
54552
54552
|
};
|
|
54553
|
-
const _hoisted_16$
|
|
54554
|
-
const _hoisted_17$
|
|
54555
|
-
const _hoisted_18$
|
|
54553
|
+
const _hoisted_16$7 = { class: "yc-bill-card__room-name" };
|
|
54554
|
+
const _hoisted_17$6 = { class: "yc-bill-card__status" };
|
|
54555
|
+
const _hoisted_18$6 = { class: "yc-bill-card__amount-section" };
|
|
54556
54556
|
const _hoisted_19$5 = { class: "yc-bill-card__amount-main" };
|
|
54557
54557
|
const _hoisted_20$5 = { class: "yc-bill-card__amount-label" };
|
|
54558
|
-
const _hoisted_21$
|
|
54559
|
-
const _hoisted_22$
|
|
54558
|
+
const _hoisted_21$3 = { class: "yc-bill-card__amount-num" };
|
|
54559
|
+
const _hoisted_22$3 = { class: "yc-bill-card__amount-sub" };
|
|
54560
54560
|
const _hoisted_23$1 = { key: 0 };
|
|
54561
54561
|
const _hoisted_24$1 = { class: "yc-bill-card__details" };
|
|
54562
54562
|
const _hoisted_25$1 = { class: "yc-bill-card__detail-row" };
|
|
@@ -54740,7 +54740,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
54740
54740
|
)),
|
|
54741
54741
|
createElementVNode(
|
|
54742
54742
|
"span",
|
|
54743
|
-
_hoisted_4$
|
|
54743
|
+
_hoisted_4$g,
|
|
54744
54744
|
toDisplayString(overdueCount.value) + " \u6237",
|
|
54745
54745
|
1
|
|
54746
54746
|
/* TEXT */
|
|
@@ -54892,7 +54892,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
54892
54892
|
-1
|
|
54893
54893
|
/* CACHED */
|
|
54894
54894
|
)
|
|
54895
|
-
])])) : (openBlock(), createElementBlock("svg", _hoisted_15$
|
|
54895
|
+
])])) : (openBlock(), createElementBlock("svg", _hoisted_15$7, [..._cache[6] || (_cache[6] = [
|
|
54896
54896
|
createElementVNode(
|
|
54897
54897
|
"rect",
|
|
54898
54898
|
{
|
|
@@ -54931,13 +54931,13 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
54931
54931
|
]),
|
|
54932
54932
|
createElementVNode(
|
|
54933
54933
|
"span",
|
|
54934
|
-
_hoisted_16$
|
|
54934
|
+
_hoisted_16$7,
|
|
54935
54935
|
toDisplayString(row.room),
|
|
54936
54936
|
1
|
|
54937
54937
|
/* TEXT */
|
|
54938
54938
|
)
|
|
54939
54939
|
]),
|
|
54940
|
-
createElementVNode("div", _hoisted_17$
|
|
54940
|
+
createElementVNode("div", _hoisted_17$6, [
|
|
54941
54941
|
createElementVNode(
|
|
54942
54942
|
"span",
|
|
54943
54943
|
{
|
|
@@ -54962,7 +54962,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
54962
54962
|
)
|
|
54963
54963
|
])
|
|
54964
54964
|
]),
|
|
54965
|
-
createElementVNode("div", _hoisted_18$
|
|
54965
|
+
createElementVNode("div", _hoisted_18$6, [
|
|
54966
54966
|
createElementVNode("div", _hoisted_19$5, [
|
|
54967
54967
|
createElementVNode(
|
|
54968
54968
|
"span",
|
|
@@ -54986,7 +54986,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
54986
54986
|
)),
|
|
54987
54987
|
createElementVNode(
|
|
54988
54988
|
"span",
|
|
54989
|
-
_hoisted_21$
|
|
54989
|
+
_hoisted_21$3,
|
|
54990
54990
|
toDisplayString(formatMoney(row.amountUnpaid > 0 ? row.amountUnpaid : row.amountPaid)),
|
|
54991
54991
|
1
|
|
54992
54992
|
/* TEXT */
|
|
@@ -54996,7 +54996,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
54996
54996
|
/* CLASS */
|
|
54997
54997
|
)
|
|
54998
54998
|
]),
|
|
54999
|
-
createElementVNode("div", _hoisted_22$
|
|
54999
|
+
createElementVNode("div", _hoisted_22$3, [
|
|
55000
55000
|
createElementVNode(
|
|
55001
55001
|
"span",
|
|
55002
55002
|
null,
|
|
@@ -55152,7 +55152,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
55152
55152
|
const _hoisted_1$v = { class: "yc-asset-table-container" };
|
|
55153
55153
|
const _hoisted_2$h = ["onClick"];
|
|
55154
55154
|
const _hoisted_3$f = { class: "yc-asset-card__header" };
|
|
55155
|
-
const _hoisted_4$
|
|
55155
|
+
const _hoisted_4$f = { class: "yc-asset-card__room-badge" };
|
|
55156
55156
|
const _hoisted_5$c = { class: "yc-asset-card__room-building" };
|
|
55157
55157
|
const _hoisted_6$c = { class: "yc-asset-card__room-no" };
|
|
55158
55158
|
const _hoisted_7$a = { class: "yc-asset-card__status" };
|
|
@@ -55169,17 +55169,17 @@ const _hoisted_13$9 = {
|
|
|
55169
55169
|
class: "yc-asset-card__spec-pill"
|
|
55170
55170
|
};
|
|
55171
55171
|
const _hoisted_14$7 = { class: "yc-asset-card__owner" };
|
|
55172
|
-
const _hoisted_15$
|
|
55173
|
-
const _hoisted_16$
|
|
55174
|
-
const _hoisted_17$
|
|
55175
|
-
const _hoisted_18$
|
|
55172
|
+
const _hoisted_15$6 = { class: "yc-asset-card__owner-info" };
|
|
55173
|
+
const _hoisted_16$6 = { class: "yc-asset-card__owner-name" };
|
|
55174
|
+
const _hoisted_17$5 = ["href"];
|
|
55175
|
+
const _hoisted_18$5 = {
|
|
55176
55176
|
key: 0,
|
|
55177
55177
|
class: "yc-asset-card__tags"
|
|
55178
55178
|
};
|
|
55179
55179
|
const _hoisted_19$4 = { class: "yc-asset-card__links" };
|
|
55180
55180
|
const _hoisted_20$4 = ["onClick"];
|
|
55181
|
-
const _hoisted_21$
|
|
55182
|
-
const _hoisted_22$
|
|
55181
|
+
const _hoisted_21$2 = ["onClick"];
|
|
55182
|
+
const _hoisted_22$2 = ["onClick"];
|
|
55183
55183
|
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
55184
55184
|
...{
|
|
55185
55185
|
name: "YcAssetTable"
|
|
@@ -55323,7 +55323,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
55323
55323
|
}, [
|
|
55324
55324
|
createCommentVNode(" \u5361\u7247\u5934\u90E8: \u623F\u53F7\u5FBD\u6807 + \u5165\u4F4F\u72B6\u6001 "),
|
|
55325
55325
|
createElementVNode("div", _hoisted_3$f, [
|
|
55326
|
-
createElementVNode("div", _hoisted_4$
|
|
55326
|
+
createElementVNode("div", _hoisted_4$f, [
|
|
55327
55327
|
createElementVNode(
|
|
55328
55328
|
"span",
|
|
55329
55329
|
_hoisted_5$c,
|
|
@@ -55473,7 +55473,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
55473
55473
|
])) : createCommentVNode("v-if", true)
|
|
55474
55474
|
]),
|
|
55475
55475
|
createElementVNode("div", _hoisted_14$7, [
|
|
55476
|
-
createElementVNode("div", _hoisted_15$
|
|
55476
|
+
createElementVNode("div", _hoisted_15$6, [
|
|
55477
55477
|
_cache[7] || (_cache[7] = createElementVNode(
|
|
55478
55478
|
"span",
|
|
55479
55479
|
{ class: "yc-asset-card__owner-label" },
|
|
@@ -55483,7 +55483,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
55483
55483
|
)),
|
|
55484
55484
|
createElementVNode(
|
|
55485
55485
|
"span",
|
|
55486
|
-
_hoisted_16$
|
|
55486
|
+
_hoisted_16$6,
|
|
55487
55487
|
toDisplayString(row.ownerName),
|
|
55488
55488
|
1
|
|
55489
55489
|
/* TEXT */
|
|
@@ -55495,9 +55495,9 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
55495
55495
|
class: "yc-asset-card__call-btn",
|
|
55496
55496
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
55497
55497
|
}, ["stop"]))
|
|
55498
|
-
}, toDisplayString(row.ownerPhone), 9, _hoisted_17$
|
|
55498
|
+
}, toDisplayString(row.ownerPhone), 9, _hoisted_17$5)) : createCommentVNode("v-if", true)
|
|
55499
55499
|
]),
|
|
55500
|
-
row.tags && row.tags.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_18$
|
|
55500
|
+
row.tags && row.tags.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_18$5, [
|
|
55501
55501
|
(openBlock(true), createElementBlock(
|
|
55502
55502
|
Fragment,
|
|
55503
55503
|
null,
|
|
@@ -55532,13 +55532,13 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
55532
55532
|
type: "button",
|
|
55533
55533
|
class: "yc-asset-card__link",
|
|
55534
55534
|
onClick: ($event) => handleAction("archive", row)
|
|
55535
|
-
}, " \u4E00\u623F\u4E00\u6863 ", 8, _hoisted_21$
|
|
55535
|
+
}, " \u4E00\u623F\u4E00\u6863 ", 8, _hoisted_21$2)
|
|
55536
55536
|
]),
|
|
55537
55537
|
createElementVNode("button", {
|
|
55538
55538
|
type: "button",
|
|
55539
55539
|
class: "yc-asset-card__btn is-visit",
|
|
55540
55540
|
onClick: ($event) => handleAction("visit", row)
|
|
55541
|
-
}, " \u5165\u6237\u8D70\u8BBF ", 8, _hoisted_22$
|
|
55541
|
+
}, " \u5165\u6237\u8D70\u8BBF ", 8, _hoisted_22$2)
|
|
55542
55542
|
])
|
|
55543
55543
|
], 10, _hoisted_2$h)
|
|
55544
55544
|
]),
|
|
@@ -55553,7 +55553,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
55553
55553
|
const _hoisted_1$u = { class: "yc-device-table-container" };
|
|
55554
55554
|
const _hoisted_2$g = ["onClick"];
|
|
55555
55555
|
const _hoisted_3$e = { class: "yc-device-card__header" };
|
|
55556
|
-
const _hoisted_4$
|
|
55556
|
+
const _hoisted_4$e = { class: "yc-device-card__code" };
|
|
55557
55557
|
const _hoisted_5$b = { class: "yc-device-card__main" };
|
|
55558
55558
|
const _hoisted_6$b = { class: "yc-device-card__title" };
|
|
55559
55559
|
const _hoisted_7$9 = { class: "yc-device-card__sub" };
|
|
@@ -55579,10 +55579,10 @@ const _hoisted_14$6 = {
|
|
|
55579
55579
|
key: 2,
|
|
55580
55580
|
class: "yc-device-card__fact"
|
|
55581
55581
|
};
|
|
55582
|
-
const _hoisted_15$
|
|
55583
|
-
const _hoisted_16$
|
|
55584
|
-
const _hoisted_17$
|
|
55585
|
-
const _hoisted_18$
|
|
55582
|
+
const _hoisted_15$5 = { key: 0 };
|
|
55583
|
+
const _hoisted_16$5 = { key: 1 };
|
|
55584
|
+
const _hoisted_17$4 = { class: "yc-device-card__links" };
|
|
55585
|
+
const _hoisted_18$4 = ["onClick"];
|
|
55586
55586
|
const _hoisted_19$3 = ["onClick"];
|
|
55587
55587
|
const _hoisted_20$3 = ["onClick"];
|
|
55588
55588
|
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
@@ -55722,7 +55722,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
55722
55722
|
createElementVNode("div", _hoisted_3$e, [
|
|
55723
55723
|
createElementVNode(
|
|
55724
55724
|
"span",
|
|
55725
|
-
_hoisted_4$
|
|
55725
|
+
_hoisted_4$e,
|
|
55726
55726
|
toDisplayString(row.deviceCode),
|
|
55727
55727
|
1
|
|
55728
55728
|
/* TEXT */
|
|
@@ -55823,9 +55823,9 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
55823
55823
|
class: normalizeClass(["yc-device-card__due-pill", { "is-warning": ((_a = row.daysToMaintenance) != null ? _a : 99) <= 7, "is-urgent": ((_b = row.daysToMaintenance) != null ? _b : 99) <= 3 }])
|
|
55824
55824
|
},
|
|
55825
55825
|
[
|
|
55826
|
-
((_c = row.daysToMaintenance) != null ? _c : 99) <= 0 ? (openBlock(), createElementBlock("span", _hoisted_15$
|
|
55826
|
+
((_c = row.daysToMaintenance) != null ? _c : 99) <= 0 ? (openBlock(), createElementBlock("span", _hoisted_15$5, "\u4ECA\u65E5\u7EF4\u4FDD\u622A\u6B62")) : (openBlock(), createElementBlock(
|
|
55827
55827
|
"span",
|
|
55828
|
-
_hoisted_16$
|
|
55828
|
+
_hoisted_16$5,
|
|
55829
55829
|
"\u8DDD\u4FDD\u517B\u5269 " + toDisplayString(row.daysToMaintenance) + " \u5929",
|
|
55830
55830
|
1
|
|
55831
55831
|
/* TEXT */
|
|
@@ -55841,12 +55841,12 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
55841
55841
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
55842
55842
|
}, ["stop"]))
|
|
55843
55843
|
}, [
|
|
55844
|
-
createElementVNode("div", _hoisted_17$
|
|
55844
|
+
createElementVNode("div", _hoisted_17$4, [
|
|
55845
55845
|
createElementVNode("button", {
|
|
55846
55846
|
type: "button",
|
|
55847
55847
|
class: "yc-device-card__link",
|
|
55848
55848
|
onClick: ($event) => handleAction("report", row)
|
|
55849
|
-
}, " \u62A5\u4FEE ", 8, _hoisted_18$
|
|
55849
|
+
}, " \u62A5\u4FEE ", 8, _hoisted_18$4),
|
|
55850
55850
|
createElementVNode("button", {
|
|
55851
55851
|
type: "button",
|
|
55852
55852
|
class: "yc-device-card__link",
|
|
@@ -56245,7 +56245,7 @@ const _hoisted_3$d = {
|
|
|
56245
56245
|
key: 1,
|
|
56246
56246
|
class: "yc-questionnaire__desc"
|
|
56247
56247
|
};
|
|
56248
|
-
const _hoisted_4$
|
|
56248
|
+
const _hoisted_4$d = {
|
|
56249
56249
|
key: 1,
|
|
56250
56250
|
class: "yc-questionnaire__progress-bar-wrap"
|
|
56251
56251
|
};
|
|
@@ -56265,14 +56265,14 @@ const _hoisted_11$7 = {
|
|
|
56265
56265
|
const _hoisted_12$7 = { class: "yc-questionnaire__completion-title" };
|
|
56266
56266
|
const _hoisted_13$7 = { class: "yc-questionnaire__completion-desc" };
|
|
56267
56267
|
const _hoisted_14$5 = { class: "yc-questionnaire__summary-list" };
|
|
56268
|
-
const _hoisted_15$
|
|
56269
|
-
const _hoisted_16$
|
|
56270
|
-
const _hoisted_17$
|
|
56271
|
-
const _hoisted_18$
|
|
56268
|
+
const _hoisted_15$4 = { class: "yc-questionnaire__summary-q" };
|
|
56269
|
+
const _hoisted_16$4 = { class: "yc-questionnaire__summary-q-idx" };
|
|
56270
|
+
const _hoisted_17$3 = { class: "yc-questionnaire__summary-a" };
|
|
56271
|
+
const _hoisted_18$3 = { class: "yc-questionnaire__completion-actions" };
|
|
56272
56272
|
const _hoisted_19$2 = { class: "yc-questionnaire__q-header" };
|
|
56273
56273
|
const _hoisted_20$2 = { class: "yc-questionnaire__q-title-row" };
|
|
56274
|
-
const _hoisted_21$
|
|
56275
|
-
const _hoisted_22$
|
|
56274
|
+
const _hoisted_21$1 = { class: "yc-questionnaire__q-title" };
|
|
56275
|
+
const _hoisted_22$1 = { class: "yc-questionnaire__q-idx" };
|
|
56276
56276
|
const _hoisted_23 = {
|
|
56277
56277
|
key: 0,
|
|
56278
56278
|
class: "yc-questionnaire__required-star"
|
|
@@ -56608,7 +56608,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
56608
56608
|
)) : createCommentVNode("v-if", true)
|
|
56609
56609
|
])) : createCommentVNode("v-if", true),
|
|
56610
56610
|
createCommentVNode(" \u9876\u90E8\u8FDB\u5EA6\u6307\u793A\u6761 (Progress) "),
|
|
56611
|
-
props.showProgress && totalQuestions.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
56611
|
+
props.showProgress && totalQuestions.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$d, [
|
|
56612
56612
|
createElementVNode("div", _hoisted_5$a, [
|
|
56613
56613
|
createElementVNode(
|
|
56614
56614
|
"span",
|
|
@@ -56728,10 +56728,10 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
56728
56728
|
key: q.id,
|
|
56729
56729
|
class: "yc-questionnaire__summary-item"
|
|
56730
56730
|
}, [
|
|
56731
|
-
createElementVNode("div", _hoisted_15$
|
|
56731
|
+
createElementVNode("div", _hoisted_15$4, [
|
|
56732
56732
|
createElementVNode(
|
|
56733
56733
|
"span",
|
|
56734
|
-
_hoisted_16$
|
|
56734
|
+
_hoisted_16$4,
|
|
56735
56735
|
toDisplayString(idx + 1) + ".",
|
|
56736
56736
|
1
|
|
56737
56737
|
/* TEXT */
|
|
@@ -56746,7 +56746,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
56746
56746
|
]),
|
|
56747
56747
|
createElementVNode(
|
|
56748
56748
|
"div",
|
|
56749
|
-
_hoisted_17$
|
|
56749
|
+
_hoisted_17$3,
|
|
56750
56750
|
toDisplayString(getAnswerDisplay(q)),
|
|
56751
56751
|
1
|
|
56752
56752
|
/* TEXT */
|
|
@@ -56758,7 +56758,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
56758
56758
|
))
|
|
56759
56759
|
]),
|
|
56760
56760
|
createCommentVNode(" \u5B8C\u6210\u9875\u5E95\u90E8\u64CD\u4F5C "),
|
|
56761
|
-
createElementVNode("div", _hoisted_18$
|
|
56761
|
+
createElementVNode("div", _hoisted_18$3, [
|
|
56762
56762
|
createElementVNode(
|
|
56763
56763
|
"button",
|
|
56764
56764
|
{
|
|
@@ -56778,10 +56778,10 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
56778
56778
|
createCommentVNode(" \u9898\u76EE\u6807\u9898\u4E0E\u63CF\u8FF0 "),
|
|
56779
56779
|
createElementVNode("div", _hoisted_19$2, [
|
|
56780
56780
|
createElementVNode("div", _hoisted_20$2, [
|
|
56781
|
-
createElementVNode("h3", _hoisted_21$
|
|
56781
|
+
createElementVNode("h3", _hoisted_21$1, [
|
|
56782
56782
|
createElementVNode(
|
|
56783
56783
|
"span",
|
|
56784
|
-
_hoisted_22$
|
|
56784
|
+
_hoisted_22$1,
|
|
56785
56785
|
toDisplayString(currentStep.value + 1) + ".",
|
|
56786
56786
|
1
|
|
56787
56787
|
/* TEXT */
|
|
@@ -58120,7 +58120,7 @@ const _hoisted_3$c = {
|
|
|
58120
58120
|
key: 0,
|
|
58121
58121
|
class: "plus-virtual-table__title-bar__text"
|
|
58122
58122
|
};
|
|
58123
|
-
const _hoisted_4$
|
|
58123
|
+
const _hoisted_4$c = { class: "plus-virtual-table__title-bar__right" };
|
|
58124
58124
|
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
58125
58125
|
...{
|
|
58126
58126
|
name: "PlusVirtualTable",
|
|
@@ -58316,7 +58316,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
58316
58316
|
)) : createCommentVNode("v-if", true)
|
|
58317
58317
|
])
|
|
58318
58318
|
]),
|
|
58319
|
-
createElementVNode("div", _hoisted_4$
|
|
58319
|
+
createElementVNode("div", _hoisted_4$c, [
|
|
58320
58320
|
renderSlot(_ctx.$slots, "toolbar"),
|
|
58321
58321
|
titleBarConfig.value.refresh ? (openBlock(), createBlock(unref(ElIcon), {
|
|
58322
58322
|
key: 0,
|
|
@@ -59611,7 +59611,7 @@ const _hoisted_3$b = {
|
|
|
59611
59611
|
key: 0,
|
|
59612
59612
|
class: "yc-query-filter__loading"
|
|
59613
59613
|
};
|
|
59614
|
-
const _hoisted_4$
|
|
59614
|
+
const _hoisted_4$b = { class: "yc-query-filter__col" };
|
|
59615
59615
|
const _hoisted_5$9 = { class: "yc-query-filter__title" };
|
|
59616
59616
|
const _hoisted_6$9 = {
|
|
59617
59617
|
key: 0,
|
|
@@ -59631,17 +59631,17 @@ const _hoisted_13$6 = {
|
|
|
59631
59631
|
class: "yc-query-filter__list"
|
|
59632
59632
|
};
|
|
59633
59633
|
const _hoisted_14$4 = ["onClick"];
|
|
59634
|
-
const _hoisted_15$
|
|
59635
|
-
const _hoisted_16$
|
|
59636
|
-
const _hoisted_17$
|
|
59637
|
-
const _hoisted_18$
|
|
59634
|
+
const _hoisted_15$3 = { class: "yc-query-filter__meta" };
|
|
59635
|
+
const _hoisted_16$3 = { class: "yc-query-filter__highlight" };
|
|
59636
|
+
const _hoisted_17$2 = { class: "yc-query-filter__ops" };
|
|
59637
|
+
const _hoisted_18$2 = {
|
|
59638
59638
|
key: 1,
|
|
59639
59639
|
class: "yc-query-filter__list"
|
|
59640
59640
|
};
|
|
59641
59641
|
const _hoisted_19$1 = ["onClick"];
|
|
59642
59642
|
const _hoisted_20$1 = { class: "yc-query-filter__meta" };
|
|
59643
|
-
const _hoisted_21
|
|
59644
|
-
const _hoisted_22
|
|
59643
|
+
const _hoisted_21 = { class: "yc-query-filter__highlight" };
|
|
59644
|
+
const _hoisted_22 = { class: "yc-query-filter__ops" };
|
|
59645
59645
|
var _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
59646
59646
|
...{
|
|
59647
59647
|
name: "YcQueryFilterManager"
|
|
@@ -59902,7 +59902,7 @@ var _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
59902
59902
|
default: withCtx(() => [
|
|
59903
59903
|
createElementVNode("div", _hoisted_2$d, [
|
|
59904
59904
|
loading.value ? (openBlock(), createElementBlock("div", _hoisted_3$b, "...")) : createCommentVNode("v-if", true),
|
|
59905
|
-
createElementVNode("div", _hoisted_4$
|
|
59905
|
+
createElementVNode("div", _hoisted_4$b, [
|
|
59906
59906
|
createElementVNode(
|
|
59907
59907
|
"div",
|
|
59908
59908
|
_hoisted_5$9,
|
|
@@ -60014,20 +60014,20 @@ var _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
60014
60014
|
}, [
|
|
60015
60015
|
createElementVNode(
|
|
60016
60016
|
"span",
|
|
60017
|
-
_hoisted_15$
|
|
60017
|
+
_hoisted_15$3,
|
|
60018
60018
|
toDisplayString(receivedPrefix(item)),
|
|
60019
60019
|
1
|
|
60020
60020
|
/* TEXT */
|
|
60021
60021
|
),
|
|
60022
60022
|
createElementVNode(
|
|
60023
60023
|
"span",
|
|
60024
|
-
_hoisted_16$
|
|
60024
|
+
_hoisted_16$3,
|
|
60025
60025
|
"\u3010" + toDisplayString(item.name) + "\u3011",
|
|
60026
60026
|
1
|
|
60027
60027
|
/* TEXT */
|
|
60028
60028
|
)
|
|
60029
60029
|
], 8, _hoisted_14$4),
|
|
60030
|
-
createElementVNode("span", _hoisted_17$
|
|
60030
|
+
createElementVNode("span", _hoisted_17$2, [
|
|
60031
60031
|
createVNode(unref(ElButton), {
|
|
60032
60032
|
link: "",
|
|
60033
60033
|
type: "danger",
|
|
@@ -60059,7 +60059,7 @@ var _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
60059
60059
|
key: 0,
|
|
60060
60060
|
description: unref(t)("plus.queryFilter.emptyShared"),
|
|
60061
60061
|
"image-size": 48
|
|
60062
|
-
}, null, 8, ["description"])) : (openBlock(), createElementBlock("ul", _hoisted_18$
|
|
60062
|
+
}, null, 8, ["description"])) : (openBlock(), createElementBlock("ul", _hoisted_18$2, [
|
|
60063
60063
|
(openBlock(true), createElementBlock(
|
|
60064
60064
|
Fragment,
|
|
60065
60065
|
null,
|
|
@@ -60082,13 +60082,13 @@ var _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
60082
60082
|
),
|
|
60083
60083
|
createElementVNode(
|
|
60084
60084
|
"span",
|
|
60085
|
-
_hoisted_21
|
|
60085
|
+
_hoisted_21,
|
|
60086
60086
|
"\u3010" + toDisplayString(item.name) + "\u3011",
|
|
60087
60087
|
1
|
|
60088
60088
|
/* TEXT */
|
|
60089
60089
|
)
|
|
60090
60090
|
], 8, _hoisted_19$1),
|
|
60091
|
-
createElementVNode("span", _hoisted_22
|
|
60091
|
+
createElementVNode("span", _hoisted_22, [
|
|
60092
60092
|
createVNode(unref(ElButton), {
|
|
60093
60093
|
link: "",
|
|
60094
60094
|
type: "danger",
|
|
@@ -60728,7 +60728,7 @@ const _hoisted_3$a = {
|
|
|
60728
60728
|
gap: "4px"
|
|
60729
60729
|
}
|
|
60730
60730
|
};
|
|
60731
|
-
const _hoisted_4$
|
|
60731
|
+
const _hoisted_4$a = {
|
|
60732
60732
|
key: 0,
|
|
60733
60733
|
class: "yc-header-filter-cell__operators"
|
|
60734
60734
|
};
|
|
@@ -61177,7 +61177,7 @@ var _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
61177
61177
|
default: withCtx(() => [
|
|
61178
61178
|
createElementVNode("div", _hoisted_3$a, [
|
|
61179
61179
|
createCommentVNode(" \u64CD\u4F5C\u7B26\u5217\u8868\uFF08\u591A\u9009/\u65E5\u671F\u533A\u95F4\u7B49\u7531 hideOperatorList \u9690\u85CF\uFF0C\u9ED8\u8BA4 in / between\uFF09 "),
|
|
61180
|
-
!hideOperatorList.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
61180
|
+
!hideOperatorList.value ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
|
|
61181
61181
|
(openBlock(true), createElementBlock(
|
|
61182
61182
|
Fragment,
|
|
61183
61183
|
null,
|
|
@@ -62044,7 +62044,7 @@ const closeAllDrawer = () => {
|
|
|
62044
62044
|
const _hoisted_1$l = { class: "custom-drawer-header" };
|
|
62045
62045
|
const _hoisted_2$a = { class: "header-content" };
|
|
62046
62046
|
const _hoisted_3$9 = ["id"];
|
|
62047
|
-
const _hoisted_4$
|
|
62047
|
+
const _hoisted_4$9 = { key: 1 };
|
|
62048
62048
|
var _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
62049
62049
|
...{
|
|
62050
62050
|
name: "YcDrawer"
|
|
@@ -62219,7 +62219,7 @@ var _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
62219
62219
|
!(options == null ? void 0 : options.hideFooter) ? {
|
|
62220
62220
|
name: "footer",
|
|
62221
62221
|
fn: withCtx(() => [
|
|
62222
|
-
(options == null ? void 0 : options.footerRenderer) ? (openBlock(), createBlock(resolveDynamicComponent(options == null ? void 0 : options.footerRenderer({ options, index })), { key: 0 })) : (openBlock(), createElementBlock("span", _hoisted_4$
|
|
62222
|
+
(options == null ? void 0 : options.footerRenderer) ? (openBlock(), createBlock(resolveDynamicComponent(options == null ? void 0 : options.footerRenderer({ options, index })), { key: 0 })) : (openBlock(), createElementBlock("span", _hoisted_4$9, [
|
|
62223
62223
|
(openBlock(true), createElementBlock(
|
|
62224
62224
|
Fragment,
|
|
62225
62225
|
null,
|
|
@@ -62342,7 +62342,7 @@ const STATUS_CONFIG_MAP = {
|
|
|
62342
62342
|
const _hoisted_1$k = { class: "dialog-header" };
|
|
62343
62343
|
const _hoisted_2$9 = { class: "icon-wrapper" };
|
|
62344
62344
|
const _hoisted_3$8 = { class: "title-text" };
|
|
62345
|
-
const _hoisted_4$
|
|
62345
|
+
const _hoisted_4$8 = { class: "dialog-content" };
|
|
62346
62346
|
const _hoisted_5$7 = { class: "content-text" };
|
|
62347
62347
|
const _hoisted_6$7 = { class: "dialog-footer" };
|
|
62348
62348
|
const DEFAULT_ICON_URL = "https://staticcdn.jinbizhihui.com/images/saas-basic-platform/error_tips_icon.svg";
|
|
@@ -62510,7 +62510,7 @@ var _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
62510
62510
|
])
|
|
62511
62511
|
]),
|
|
62512
62512
|
default: withCtx(() => [
|
|
62513
|
-
createElementVNode("div", _hoisted_4$
|
|
62513
|
+
createElementVNode("div", _hoisted_4$8, [
|
|
62514
62514
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
62515
62515
|
createElementVNode(
|
|
62516
62516
|
"p",
|
|
@@ -62713,7 +62713,7 @@ var installer = makeInstaller([...INSTALLABLE_COMPONENTS]);
|
|
|
62713
62713
|
const _hoisted_1$j = ["data-device"];
|
|
62714
62714
|
const _hoisted_2$8 = { class: "yc-mobile-device__shell" };
|
|
62715
62715
|
const _hoisted_3$7 = { class: "yc-mobile-device__navbar" };
|
|
62716
|
-
const _hoisted_4$
|
|
62716
|
+
const _hoisted_4$7 = {
|
|
62717
62717
|
key: 0,
|
|
62718
62718
|
class: "yc-mobile-device__badge"
|
|
62719
62719
|
};
|
|
@@ -62726,7 +62726,14 @@ const _hoisted_10$5 = { class: "yc-mobile-device__viewport" };
|
|
|
62726
62726
|
const _hoisted_11$5 = { class: "yc-mobile-device__body" };
|
|
62727
62727
|
const _hoisted_12$5 = { class: "yc-mobile-device__footer" };
|
|
62728
62728
|
const _hoisted_13$5 = { class: "yc-mobile-device__drawer" };
|
|
62729
|
-
const _hoisted_14$3 = { class: "yc-mobile-
|
|
62729
|
+
const _hoisted_14$3 = { class: "yc-mobile-device__drawer-top" };
|
|
62730
|
+
const _hoisted_15$2 = {
|
|
62731
|
+
key: 0,
|
|
62732
|
+
class: "yc-mobile-device__caption"
|
|
62733
|
+
};
|
|
62734
|
+
const _hoisted_16$2 = { key: 0 };
|
|
62735
|
+
const _hoisted_17$1 = { key: 1 };
|
|
62736
|
+
const _hoisted_18$1 = { key: 2 };
|
|
62730
62737
|
var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
62731
62738
|
...{
|
|
62732
62739
|
name: "YcMobileDeviceFrame"
|
|
@@ -62734,11 +62741,13 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
62734
62741
|
__name: "mobile-frame",
|
|
62735
62742
|
props: {
|
|
62736
62743
|
device: {},
|
|
62737
|
-
agentName: { default: "
|
|
62744
|
+
agentName: { default: "" },
|
|
62738
62745
|
status: { default: "idle" },
|
|
62739
|
-
statusLabel: { default: "
|
|
62746
|
+
statusLabel: { default: "" },
|
|
62740
62747
|
connected: { type: Boolean, default: false },
|
|
62741
|
-
sessionCount: { default: 0 }
|
|
62748
|
+
sessionCount: { default: 0 },
|
|
62749
|
+
caption: { default: "" },
|
|
62750
|
+
drawerTitle: { default: "\u4F1A\u8BDD" }
|
|
62742
62751
|
},
|
|
62743
62752
|
emits: ["create", "refresh"],
|
|
62744
62753
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -62763,7 +62772,7 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
62763
62772
|
"data-device": __props.device.id
|
|
62764
62773
|
}, [
|
|
62765
62774
|
createElementVNode("div", _hoisted_2$8, [
|
|
62766
|
-
_cache[
|
|
62775
|
+
_cache[5] || (_cache[5] = 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)),
|
|
62767
62776
|
createElementVNode("header", _hoisted_3$7, [
|
|
62768
62777
|
createElementVNode("button", {
|
|
62769
62778
|
type: "button",
|
|
@@ -62792,7 +62801,7 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
62792
62801
|
)),
|
|
62793
62802
|
__props.sessionCount > 0 ? (openBlock(), createElementBlock(
|
|
62794
62803
|
"span",
|
|
62795
|
-
_hoisted_4$
|
|
62804
|
+
_hoisted_4$7,
|
|
62796
62805
|
toDisplayString(__props.sessionCount > 99 ? "99+" : __props.sessionCount),
|
|
62797
62806
|
1
|
|
62798
62807
|
/* TEXT */
|
|
@@ -62802,7 +62811,7 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
62802
62811
|
createElementVNode(
|
|
62803
62812
|
"div",
|
|
62804
62813
|
_hoisted_6$6,
|
|
62805
|
-
toDisplayString(__props.agentName
|
|
62814
|
+
toDisplayString(__props.agentName),
|
|
62806
62815
|
1
|
|
62807
62816
|
/* TEXT */
|
|
62808
62817
|
),
|
|
@@ -62868,14 +62877,14 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
62868
62877
|
onClick: withModifiers(closeDrawer, ["self"])
|
|
62869
62878
|
}, [
|
|
62870
62879
|
createElementVNode("div", _hoisted_13$5, [
|
|
62871
|
-
createElementVNode("div",
|
|
62872
|
-
|
|
62880
|
+
createElementVNode("div", _hoisted_14$3, [
|
|
62881
|
+
createElementVNode(
|
|
62873
62882
|
"span",
|
|
62874
62883
|
null,
|
|
62875
|
-
|
|
62876
|
-
|
|
62877
|
-
/*
|
|
62878
|
-
)
|
|
62884
|
+
toDisplayString(__props.drawerTitle),
|
|
62885
|
+
1
|
|
62886
|
+
/* TEXT */
|
|
62887
|
+
),
|
|
62879
62888
|
createElementVNode("button", {
|
|
62880
62889
|
type: "button",
|
|
62881
62890
|
class: "yc-mobile-device__nav-btn",
|
|
@@ -62911,7 +62920,7 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
62911
62920
|
])
|
|
62912
62921
|
])) : createCommentVNode("v-if", true)
|
|
62913
62922
|
]),
|
|
62914
|
-
_cache[
|
|
62923
|
+
_cache[6] || (_cache[6] = createElementVNode(
|
|
62915
62924
|
"div",
|
|
62916
62925
|
{
|
|
62917
62926
|
class: "yc-mobile-device__home-bar",
|
|
@@ -62924,29 +62933,23 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
62924
62933
|
/* CACHED */
|
|
62925
62934
|
))
|
|
62926
62935
|
]),
|
|
62927
|
-
|
|
62928
|
-
|
|
62936
|
+
__props.device.badge || __props.caption ? (openBlock(), createElementBlock("div", _hoisted_15$2, [
|
|
62937
|
+
__props.device.badge ? (openBlock(), createElementBlock(
|
|
62929
62938
|
"span",
|
|
62930
|
-
|
|
62939
|
+
_hoisted_16$2,
|
|
62931
62940
|
toDisplayString(__props.device.badge),
|
|
62932
62941
|
1
|
|
62933
62942
|
/* TEXT */
|
|
62934
|
-
),
|
|
62935
|
-
|
|
62936
|
-
|
|
62937
|
-
null,
|
|
62938
|
-
"\xB7",
|
|
62939
|
-
-1
|
|
62940
|
-
/* CACHED */
|
|
62941
|
-
)),
|
|
62942
|
-
_cache[9] || (_cache[9] = createElementVNode(
|
|
62943
|
+
)) : createCommentVNode("v-if", true),
|
|
62944
|
+
__props.device.badge && __props.caption ? (openBlock(), createElementBlock("span", _hoisted_17$1, "\xB7")) : createCommentVNode("v-if", true),
|
|
62945
|
+
__props.caption ? (openBlock(), createElementBlock(
|
|
62943
62946
|
"span",
|
|
62944
|
-
|
|
62945
|
-
|
|
62946
|
-
|
|
62947
|
-
/*
|
|
62948
|
-
))
|
|
62949
|
-
])
|
|
62947
|
+
_hoisted_18$1,
|
|
62948
|
+
toDisplayString(__props.caption),
|
|
62949
|
+
1
|
|
62950
|
+
/* TEXT */
|
|
62951
|
+
)) : createCommentVNode("v-if", true)
|
|
62952
|
+
])) : createCommentVNode("v-if", true)
|
|
62950
62953
|
], 12, _hoisted_1$j);
|
|
62951
62954
|
};
|
|
62952
62955
|
}
|
|
@@ -62955,7 +62958,7 @@ var _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
62955
62958
|
const YC_MOBILE_DEVICE_PRESETS = [
|
|
62956
62959
|
{
|
|
62957
62960
|
id: "wecom",
|
|
62958
|
-
label: "\
|
|
62961
|
+
label: "\u7A84\u5C4F 375",
|
|
62959
62962
|
badge: "WeCom H5 \xB7 375\xD7760",
|
|
62960
62963
|
width: 375,
|
|
62961
62964
|
height: 760
|
|
@@ -63012,44 +63015,45 @@ const _hoisted_1$i = {
|
|
|
63012
63015
|
};
|
|
63013
63016
|
const _hoisted_2$7 = { class: "yc-chat-studio__topbar conversation-banner" };
|
|
63014
63017
|
const _hoisted_3$6 = { class: "yc-chat-studio__left" };
|
|
63015
|
-
const _hoisted_4$
|
|
63018
|
+
const _hoisted_4$6 = ["aria-label", "title"];
|
|
63016
63019
|
const _hoisted_5$5 = {
|
|
63017
63020
|
key: 1,
|
|
63018
63021
|
class: "yc-chat-studio__context",
|
|
63019
63022
|
"data-testid": "studio-context-bar"
|
|
63020
63023
|
};
|
|
63021
|
-
const _hoisted_6$5 = {
|
|
63022
|
-
|
|
63023
|
-
|
|
63024
|
-
|
|
63025
|
-
const
|
|
63024
|
+
const _hoisted_6$5 = {
|
|
63025
|
+
key: 2,
|
|
63026
|
+
class: "yc-chat-studio__status-group"
|
|
63027
|
+
};
|
|
63028
|
+
const _hoisted_7$5 = { class: "yc-chat-studio__right" };
|
|
63029
|
+
const _hoisted_8$4 = {
|
|
63026
63030
|
key: 0,
|
|
63027
63031
|
class: "yc-chat-studio__devices",
|
|
63028
63032
|
"aria-label": "\u79FB\u52A8\u7AEF\u673A\u578B\u9884\u8BBE"
|
|
63029
63033
|
};
|
|
63030
|
-
const
|
|
63031
|
-
const
|
|
63034
|
+
const _hoisted_9$4 = ["data-testid", "onClick"];
|
|
63035
|
+
const _hoisted_10$4 = {
|
|
63032
63036
|
class: "yc-chat-studio__segmented",
|
|
63033
63037
|
role: "tablist",
|
|
63034
63038
|
"aria-label": "\u7EC8\u7AEF\u9884\u89C8\u5207\u6362"
|
|
63035
63039
|
};
|
|
63036
|
-
const
|
|
63037
|
-
const
|
|
63038
|
-
const
|
|
63039
|
-
const
|
|
63040
|
+
const _hoisted_11$4 = ["aria-selected"];
|
|
63041
|
+
const _hoisted_12$4 = ["aria-selected"];
|
|
63042
|
+
const _hoisted_13$4 = ["disabled"];
|
|
63043
|
+
const _hoisted_14$2 = {
|
|
63040
63044
|
key: 1,
|
|
63041
63045
|
class: "yc-chat-studio__web-body chat-workspace"
|
|
63042
63046
|
};
|
|
63043
|
-
const
|
|
63044
|
-
const
|
|
63045
|
-
const
|
|
63046
|
-
const
|
|
63047
|
-
const
|
|
63047
|
+
const _hoisted_15$1 = { class: "yc-chat-studio__main conversation-panel" };
|
|
63048
|
+
const _hoisted_16$1 = { class: "yc-chat-studio__stream-inner" };
|
|
63049
|
+
const _hoisted_17 = { class: "yc-chat-studio__composer-dock" };
|
|
63050
|
+
const _hoisted_18 = { class: "yc-chat-studio__composer-inner" };
|
|
63051
|
+
const _hoisted_19 = {
|
|
63048
63052
|
key: 2,
|
|
63049
63053
|
class: "yc-chat-studio__mobile-stage",
|
|
63050
63054
|
"data-testid": "mobile-stage"
|
|
63051
63055
|
};
|
|
63052
|
-
const
|
|
63056
|
+
const _hoisted_20 = { class: "yc-chat-studio__mobile-canvas" };
|
|
63053
63057
|
var _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
63054
63058
|
...{
|
|
63055
63059
|
name: "YcChatStudio"
|
|
@@ -63060,12 +63064,12 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
63060
63064
|
deviceId: { default: "wecom" },
|
|
63061
63065
|
devices: { default: () => YC_MOBILE_DEVICE_PRESETS },
|
|
63062
63066
|
agentName: { default: "" },
|
|
63063
|
-
bannerSubtitle: { default: "\u4F7F\u7528\u5F53\u524D\u5E94\u7528\u4E0E Agent \u505A\u5B9E\u65F6\u9A8C\u8BC1" },
|
|
63064
63067
|
status: { default: "idle" },
|
|
63065
|
-
statusLabel: { default: "
|
|
63068
|
+
statusLabel: { default: "" },
|
|
63066
63069
|
connected: { type: Boolean, default: false },
|
|
63067
63070
|
refreshing: { type: Boolean, default: false },
|
|
63068
|
-
sessionCount: { default: 0 }
|
|
63071
|
+
sessionCount: { default: 0 },
|
|
63072
|
+
caption: { default: "" }
|
|
63069
63073
|
},
|
|
63070
63074
|
emits: ["update:viewport", "update:deviceId", "refresh", "create"],
|
|
63071
63075
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -63151,48 +63155,16 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
63151
63155
|
-1
|
|
63152
63156
|
/* CACHED */
|
|
63153
63157
|
)
|
|
63154
|
-
])], 8, _hoisted_4$
|
|
63158
|
+
])], 8, _hoisted_4$6)) : createCommentVNode("v-if", true),
|
|
63155
63159
|
_ctx.$slots.toolbar ? (openBlock(), createElementBlock("div", _hoisted_5$5, [
|
|
63156
63160
|
renderSlot(_ctx.$slots, "toolbar")
|
|
63157
63161
|
])) : createCommentVNode("v-if", true),
|
|
63158
|
-
|
|
63159
|
-
|
|
63160
|
-
|
|
63161
|
-
{
|
|
63162
|
-
class: normalizeClass(["yc-chat-studio__status-chip", `is-${__props.status}`])
|
|
63163
|
-
},
|
|
63164
|
-
[
|
|
63165
|
-
createElementVNode(
|
|
63166
|
-
"span",
|
|
63167
|
-
{
|
|
63168
|
-
class: normalizeClass(["status-dot", __props.status])
|
|
63169
|
-
},
|
|
63170
|
-
null,
|
|
63171
|
-
2
|
|
63172
|
-
/* CLASS */
|
|
63173
|
-
),
|
|
63174
|
-
createElementVNode(
|
|
63175
|
-
"span",
|
|
63176
|
-
_hoisted_7$5,
|
|
63177
|
-
toDisplayString(__props.statusLabel),
|
|
63178
|
-
1
|
|
63179
|
-
/* TEXT */
|
|
63180
|
-
)
|
|
63181
|
-
],
|
|
63182
|
-
2
|
|
63183
|
-
/* CLASS */
|
|
63184
|
-
),
|
|
63185
|
-
createElementVNode(
|
|
63186
|
-
"span",
|
|
63187
|
-
_hoisted_8$4,
|
|
63188
|
-
toDisplayString(__props.bannerSubtitle),
|
|
63189
|
-
1
|
|
63190
|
-
/* TEXT */
|
|
63191
|
-
)
|
|
63192
|
-
])
|
|
63162
|
+
_ctx.$slots.status ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
|
|
63163
|
+
renderSlot(_ctx.$slots, "status")
|
|
63164
|
+
])) : createCommentVNode("v-if", true)
|
|
63193
63165
|
]),
|
|
63194
|
-
createElementVNode("div",
|
|
63195
|
-
__props.viewport === "mobile" ? (openBlock(), createElementBlock("div",
|
|
63166
|
+
createElementVNode("div", _hoisted_7$5, [
|
|
63167
|
+
__props.viewport === "mobile" ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
|
|
63196
63168
|
(openBlock(true), createElementBlock(
|
|
63197
63169
|
Fragment,
|
|
63198
63170
|
null,
|
|
@@ -63203,13 +63175,13 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
63203
63175
|
class: normalizeClass(["yc-chat-studio__device-pill", { "is-active": preset.id === activeDevice.value.id }]),
|
|
63204
63176
|
"data-testid": `device-preset-${preset.id}`,
|
|
63205
63177
|
onClick: ($event) => selectDevice(preset.id)
|
|
63206
|
-
}, toDisplayString(preset.label), 11,
|
|
63178
|
+
}, toDisplayString(preset.label), 11, _hoisted_9$4);
|
|
63207
63179
|
}),
|
|
63208
63180
|
128
|
|
63209
63181
|
/* KEYED_FRAGMENT */
|
|
63210
63182
|
))
|
|
63211
63183
|
])) : createCommentVNode("v-if", true),
|
|
63212
|
-
createElementVNode("div",
|
|
63184
|
+
createElementVNode("div", _hoisted_10$4, [
|
|
63213
63185
|
createElementVNode("button", {
|
|
63214
63186
|
type: "button",
|
|
63215
63187
|
role: "tab",
|
|
@@ -63252,7 +63224,7 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
63252
63224
|
-1
|
|
63253
63225
|
/* CACHED */
|
|
63254
63226
|
)
|
|
63255
|
-
])], 10,
|
|
63227
|
+
])], 10, _hoisted_11$4),
|
|
63256
63228
|
createElementVNode("button", {
|
|
63257
63229
|
type: "button",
|
|
63258
63230
|
role: "tab",
|
|
@@ -63295,7 +63267,7 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
63295
63267
|
-1
|
|
63296
63268
|
/* CACHED */
|
|
63297
63269
|
)
|
|
63298
|
-
])], 10,
|
|
63270
|
+
])], 10, _hoisted_12$4)
|
|
63299
63271
|
]),
|
|
63300
63272
|
createElementVNode("button", {
|
|
63301
63273
|
type: "button",
|
|
@@ -63337,10 +63309,10 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
63337
63309
|
-1
|
|
63338
63310
|
/* CACHED */
|
|
63339
63311
|
))
|
|
63340
|
-
], 8,
|
|
63312
|
+
], 8, _hoisted_13$4)
|
|
63341
63313
|
])
|
|
63342
63314
|
]),
|
|
63343
|
-
__props.viewport === "web" ? (openBlock(), createElementBlock("div",
|
|
63315
|
+
__props.viewport === "web" ? (openBlock(), createElementBlock("div", _hoisted_14$2, [
|
|
63344
63316
|
createElementVNode(
|
|
63345
63317
|
"div",
|
|
63346
63318
|
{
|
|
@@ -63352,7 +63324,7 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
63352
63324
|
2
|
|
63353
63325
|
/* CLASS */
|
|
63354
63326
|
),
|
|
63355
|
-
createElementVNode("section",
|
|
63327
|
+
createElementVNode("section", _hoisted_15$1, [
|
|
63356
63328
|
createElementVNode(
|
|
63357
63329
|
"div",
|
|
63358
63330
|
{
|
|
@@ -63361,30 +63333,31 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
63361
63333
|
class: "yc-chat-studio__stream message-viewport"
|
|
63362
63334
|
},
|
|
63363
63335
|
[
|
|
63364
|
-
createElementVNode("div",
|
|
63336
|
+
createElementVNode("div", _hoisted_16$1, [
|
|
63365
63337
|
renderSlot(_ctx.$slots, "messages")
|
|
63366
63338
|
])
|
|
63367
63339
|
],
|
|
63368
63340
|
512
|
|
63369
63341
|
/* NEED_PATCH */
|
|
63370
63342
|
),
|
|
63371
|
-
createElementVNode("div",
|
|
63372
|
-
createElementVNode("div",
|
|
63343
|
+
createElementVNode("div", _hoisted_17, [
|
|
63344
|
+
createElementVNode("div", _hoisted_18, [
|
|
63373
63345
|
renderSlot(_ctx.$slots, "composer")
|
|
63374
63346
|
])
|
|
63375
63347
|
])
|
|
63376
63348
|
])
|
|
63377
|
-
])) : (openBlock(), createElementBlock("div",
|
|
63378
|
-
createElementVNode("div",
|
|
63349
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_19, [
|
|
63350
|
+
createElementVNode("div", _hoisted_20, [
|
|
63379
63351
|
createVNode(_sfc_main$j, {
|
|
63380
63352
|
ref_key: "mobileFrameRef",
|
|
63381
63353
|
ref: mobileFrameRef,
|
|
63382
63354
|
device: activeDevice.value,
|
|
63383
|
-
"agent-name": __props.agentName
|
|
63355
|
+
"agent-name": __props.agentName,
|
|
63384
63356
|
status: __props.status,
|
|
63385
63357
|
"status-label": __props.statusLabel,
|
|
63386
63358
|
connected: __props.connected,
|
|
63387
63359
|
"session-count": __props.sessionCount,
|
|
63360
|
+
caption: __props.caption,
|
|
63388
63361
|
onCreate: _cache[4] || (_cache[4] = ($event) => emit("create")),
|
|
63389
63362
|
onRefresh: _cache[5] || (_cache[5] = ($event) => emit("refresh"))
|
|
63390
63363
|
}, {
|
|
@@ -63411,7 +63384,7 @@ var _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
63411
63384
|
]),
|
|
63412
63385
|
_: 3
|
|
63413
63386
|
/* FORWARDED */
|
|
63414
|
-
}, 8, ["device", "agent-name", "status", "status-label", "connected", "session-count"])
|
|
63387
|
+
}, 8, ["device", "agent-name", "status", "status-label", "connected", "session-count", "caption"])
|
|
63415
63388
|
])
|
|
63416
63389
|
]))
|
|
63417
63390
|
],
|
|
@@ -64217,7 +64190,7 @@ const _hoisted_2$6 = {
|
|
|
64217
64190
|
class: "elx-files-card__preview-mask-error"
|
|
64218
64191
|
};
|
|
64219
64192
|
const _hoisted_3$5 = { class: "error-text" };
|
|
64220
|
-
const _hoisted_4$
|
|
64193
|
+
const _hoisted_4$5 = { class: "elx-files-card-content" };
|
|
64221
64194
|
const _hoisted_5$4 = {
|
|
64222
64195
|
key: 0,
|
|
64223
64196
|
class: "elx-files-card-name"
|
|
@@ -64425,7 +64398,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
64425
64398
|
], 34)) : createCommentVNode("", true)
|
|
64426
64399
|
], true) : createCommentVNode("", true),
|
|
64427
64400
|
(_ctx.$slots.content || props.name || unref(description)) && !(unref(isSquareVariant) && unref(isImageFile)) ? renderSlot(_ctx.$slots, "content", normalizeProps(mergeProps({ key: 2 }, { item: props })), () => [
|
|
64428
|
-
createElementVNode("div", _hoisted_4$
|
|
64401
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
64429
64402
|
props.name ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
|
|
64430
64403
|
renderSlot(_ctx.$slots, "name-prefix", normalizeProps(guardReactiveProps({
|
|
64431
64404
|
item: { ...props, prefix: unref(namePrefix), suffix: unref(nameSuffix) }
|
|
@@ -68018,29 +67991,34 @@ const _hoisted_1$6 = {
|
|
|
68018
67991
|
};
|
|
68019
67992
|
const _hoisted_2$5 = { class: "yc-chat-sidebar__header rail-header" };
|
|
68020
67993
|
const _hoisted_3$4 = ["disabled"];
|
|
68021
|
-
const _hoisted_4$
|
|
67994
|
+
const _hoisted_4$4 = {
|
|
68022
67995
|
key: 0,
|
|
68023
67996
|
class: "yc-chat-sidebar__search"
|
|
68024
67997
|
};
|
|
68025
|
-
const _hoisted_5$3 =
|
|
68026
|
-
const _hoisted_6$3 = {
|
|
67998
|
+
const _hoisted_5$3 = ["placeholder"];
|
|
67999
|
+
const _hoisted_6$3 = { class: "yc-chat-sidebar__body conversation-list" };
|
|
68000
|
+
const _hoisted_7$3 = {
|
|
68027
68001
|
key: 0,
|
|
68028
68002
|
class: "yc-chat-sidebar__empty empty-hint"
|
|
68029
68003
|
};
|
|
68030
|
-
const
|
|
68004
|
+
const _hoisted_8$3 = {
|
|
68031
68005
|
key: 1,
|
|
68032
68006
|
class: "yc-chat-sidebar__empty empty-hint"
|
|
68033
68007
|
};
|
|
68034
|
-
const
|
|
68008
|
+
const _hoisted_9$3 = {
|
|
68035
68009
|
key: 2,
|
|
68036
68010
|
class: "yc-chat-sidebar__empty empty-hint"
|
|
68037
68011
|
};
|
|
68038
|
-
const
|
|
68039
|
-
|
|
68040
|
-
|
|
68041
|
-
|
|
68042
|
-
const
|
|
68043
|
-
const
|
|
68012
|
+
const _hoisted_10$3 = {
|
|
68013
|
+
key: 3,
|
|
68014
|
+
class: "yc-chat-sidebar__empty empty-hint"
|
|
68015
|
+
};
|
|
68016
|
+
const _hoisted_11$3 = { class: "yc-chat-sidebar__item-main" };
|
|
68017
|
+
const _hoisted_12$3 = { class: "yc-chat-sidebar__item-title conversation-title" };
|
|
68018
|
+
const _hoisted_13$3 = { class: "yc-chat-sidebar__item-time conversation-time" };
|
|
68019
|
+
const _hoisted_14$1 = ["onClick"];
|
|
68020
|
+
const _hoisted_15 = { class: "yc-chat-sidebar__more" };
|
|
68021
|
+
const _hoisted_16 = ["disabled"];
|
|
68044
68022
|
var _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
68045
68023
|
...{
|
|
68046
68024
|
name: "YcChatSidebar"
|
|
@@ -68052,8 +68030,13 @@ var _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
68052
68030
|
connected: { type: Boolean, default: false },
|
|
68053
68031
|
loading: { type: Boolean, default: false },
|
|
68054
68032
|
hasMore: { type: Boolean, default: false },
|
|
68055
|
-
title: { default: "
|
|
68056
|
-
createText: { default: "\
|
|
68033
|
+
title: { default: "" },
|
|
68034
|
+
createText: { default: "\u65B0\u5BF9\u8BDD" },
|
|
68035
|
+
disconnectedText: { default: "" },
|
|
68036
|
+
emptyText: { default: "\u6682\u65E0\u4F1A\u8BDD" },
|
|
68037
|
+
noResultText: { default: "\u6CA1\u6709\u5339\u914D\u7ED3\u679C" },
|
|
68038
|
+
searchPlaceholder: { default: "\u641C\u7D22" },
|
|
68039
|
+
untitledText: { default: "\u65B0\u4F1A\u8BDD" }
|
|
68057
68040
|
},
|
|
68058
68041
|
emits: ["select", "create", "delete", "load-more"],
|
|
68059
68042
|
setup(__props, { emit: __emit }) {
|
|
@@ -68064,14 +68047,14 @@ var _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
68064
68047
|
const query = keyword.value.trim().toLowerCase();
|
|
68065
68048
|
if (!query) return props.sessions;
|
|
68066
68049
|
return props.sessions.filter(
|
|
68067
|
-
(item) => (item.title ||
|
|
68050
|
+
(item) => (item.title || props.untitledText).toLowerCase().includes(query)
|
|
68068
68051
|
);
|
|
68069
68052
|
});
|
|
68070
68053
|
const conversationItems = computed(
|
|
68071
68054
|
() => filteredSessions.value.map((item) => ({
|
|
68072
68055
|
id: item.id,
|
|
68073
68056
|
key: item.id,
|
|
68074
|
-
label: item.title ||
|
|
68057
|
+
label: item.title || props.untitledText,
|
|
68075
68058
|
group: groupChatSessionByDate(item.updatedAt),
|
|
68076
68059
|
disabled: item.disabled,
|
|
68077
68060
|
timeText: formatChatSessionTime(item.updatedAt)
|
|
@@ -68119,7 +68102,7 @@ var _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
68119
68102
|
/* TEXT */
|
|
68120
68103
|
)
|
|
68121
68104
|
], 8, _hoisted_3$4),
|
|
68122
|
-
__props.connected && __props.sessions.length > 3 ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
68105
|
+
__props.connected && __props.sessions.length > 3 ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
68123
68106
|
_cache[5] || (_cache[5] = createElementVNode(
|
|
68124
68107
|
"svg",
|
|
68125
68108
|
{
|
|
@@ -68145,25 +68128,43 @@ var _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
68145
68128
|
-1
|
|
68146
68129
|
/* CACHED */
|
|
68147
68130
|
)),
|
|
68148
|
-
withDirectives(createElementVNode(
|
|
68149
|
-
"
|
|
68150
|
-
|
|
68151
|
-
|
|
68152
|
-
|
|
68153
|
-
|
|
68154
|
-
class: "yc-chat-sidebar__search-input"
|
|
68155
|
-
},
|
|
68156
|
-
null,
|
|
68157
|
-
512
|
|
68158
|
-
/* NEED_PATCH */
|
|
68159
|
-
), [
|
|
68131
|
+
withDirectives(createElementVNode("input", {
|
|
68132
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => keyword.value = $event),
|
|
68133
|
+
type: "text",
|
|
68134
|
+
placeholder: __props.searchPlaceholder,
|
|
68135
|
+
class: "yc-chat-sidebar__search-input"
|
|
68136
|
+
}, null, 8, _hoisted_5$3), [
|
|
68160
68137
|
[vModelText, keyword.value]
|
|
68161
68138
|
])
|
|
68162
68139
|
])) : createCommentVNode("v-if", true)
|
|
68163
68140
|
]),
|
|
68164
|
-
createElementVNode("div",
|
|
68165
|
-
!__props.connected
|
|
68166
|
-
|
|
68141
|
+
createElementVNode("div", _hoisted_6$3, [
|
|
68142
|
+
!__props.connected && __props.disconnectedText ? (openBlock(), createElementBlock(
|
|
68143
|
+
"div",
|
|
68144
|
+
_hoisted_7$3,
|
|
68145
|
+
toDisplayString(__props.disconnectedText),
|
|
68146
|
+
1
|
|
68147
|
+
/* TEXT */
|
|
68148
|
+
)) : !__props.connected ? (openBlock(), createElementBlock(
|
|
68149
|
+
"div",
|
|
68150
|
+
_hoisted_8$3,
|
|
68151
|
+
toDisplayString(__props.emptyText),
|
|
68152
|
+
1
|
|
68153
|
+
/* TEXT */
|
|
68154
|
+
)) : !__props.sessions.length && !__props.loading ? (openBlock(), createElementBlock(
|
|
68155
|
+
"div",
|
|
68156
|
+
_hoisted_9$3,
|
|
68157
|
+
toDisplayString(__props.emptyText),
|
|
68158
|
+
1
|
|
68159
|
+
/* TEXT */
|
|
68160
|
+
)) : !conversationItems.value.length && keyword.value ? (openBlock(), createElementBlock(
|
|
68161
|
+
"div",
|
|
68162
|
+
_hoisted_10$3,
|
|
68163
|
+
toDisplayString(__props.noResultText),
|
|
68164
|
+
1
|
|
68165
|
+
/* TEXT */
|
|
68166
|
+
)) : (openBlock(), createBlock(unref(Conversations), {
|
|
68167
|
+
key: 4,
|
|
68167
68168
|
items: conversationItems.value,
|
|
68168
68169
|
active: __props.activeId,
|
|
68169
68170
|
"row-key": "id",
|
|
@@ -68180,17 +68181,17 @@ var _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
68180
68181
|
class: normalizeClass(["yc-chat-sidebar__item", { active: item.id === __props.activeId }])
|
|
68181
68182
|
},
|
|
68182
68183
|
[
|
|
68183
|
-
createElementVNode("div",
|
|
68184
|
+
createElementVNode("div", _hoisted_11$3, [
|
|
68184
68185
|
createElementVNode(
|
|
68185
68186
|
"div",
|
|
68186
|
-
|
|
68187
|
+
_hoisted_12$3,
|
|
68187
68188
|
toDisplayString(item.label),
|
|
68188
68189
|
1
|
|
68189
68190
|
/* TEXT */
|
|
68190
68191
|
),
|
|
68191
68192
|
createElementVNode(
|
|
68192
68193
|
"div",
|
|
68193
|
-
|
|
68194
|
+
_hoisted_13$3,
|
|
68194
68195
|
toDisplayString(item.timeText),
|
|
68195
68196
|
1
|
|
68196
68197
|
/* TEXT */
|
|
@@ -68227,7 +68228,7 @@ var _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
68227
68228
|
-1
|
|
68228
68229
|
/* CACHED */
|
|
68229
68230
|
)
|
|
68230
|
-
])], 8,
|
|
68231
|
+
])], 8, _hoisted_14$1)
|
|
68231
68232
|
])
|
|
68232
68233
|
],
|
|
68233
68234
|
2
|
|
@@ -68240,13 +68241,13 @@ var _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
68240
68241
|
__props.hasMore ? {
|
|
68241
68242
|
name: "load-more",
|
|
68242
68243
|
fn: withCtx(() => [
|
|
68243
|
-
createElementVNode("div",
|
|
68244
|
+
createElementVNode("div", _hoisted_15, [
|
|
68244
68245
|
createElementVNode("button", {
|
|
68245
68246
|
type: "button",
|
|
68246
68247
|
class: "yc-chat-sidebar__more-btn",
|
|
68247
68248
|
disabled: __props.loading,
|
|
68248
68249
|
onClick: _cache[3] || (_cache[3] = ($event) => emit("load-more"))
|
|
68249
|
-
}, toDisplayString(__props.loading ? "\u52A0\u8F7D\u4E2D\u2026" : "\u52A0\u8F7D\u66F4\u591A
|
|
68250
|
+
}, toDisplayString(__props.loading ? "\u52A0\u8F7D\u4E2D\u2026" : "\u52A0\u8F7D\u66F4\u591A"), 9, _hoisted_16)
|
|
68250
68251
|
])
|
|
68251
68252
|
]),
|
|
68252
68253
|
key: "0"
|
|
@@ -68261,6 +68262,10 @@ var _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
68261
68262
|
const _hoisted_1$5 = { class: "yc-chat-welcome__inner" };
|
|
68262
68263
|
const _hoisted_2$4 = { class: "yc-chat-welcome__hero" };
|
|
68263
68264
|
const _hoisted_3$3 = {
|
|
68265
|
+
key: 0,
|
|
68266
|
+
class: "yc-chat-welcome__glyph"
|
|
68267
|
+
};
|
|
68268
|
+
const _hoisted_4$3 = {
|
|
68264
68269
|
key: 0,
|
|
68265
68270
|
class: "yc-chat-welcome__prompts"
|
|
68266
68271
|
};
|
|
@@ -68274,10 +68279,11 @@ var _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
68274
68279
|
loading: { type: Boolean, default: false },
|
|
68275
68280
|
agentName: { default: "" },
|
|
68276
68281
|
title: { default: "" },
|
|
68277
|
-
description: { default: "
|
|
68278
|
-
disconnectedTitle: { default: "
|
|
68279
|
-
disconnectedDescription: { default: "
|
|
68282
|
+
description: { default: "" },
|
|
68283
|
+
disconnectedTitle: { default: "" },
|
|
68284
|
+
disconnectedDescription: { default: "" },
|
|
68280
68285
|
prompts: { default: () => [] },
|
|
68286
|
+
promptsTitle: { default: "" },
|
|
68281
68287
|
compact: { type: Boolean, default: false }
|
|
68282
68288
|
},
|
|
68283
68289
|
emits: ["prompt"],
|
|
@@ -68285,12 +68291,13 @@ var _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
68285
68291
|
const props = __props;
|
|
68286
68292
|
const emit = __emit;
|
|
68287
68293
|
const resolvedTitle = computed(() => {
|
|
68288
|
-
if (
|
|
68289
|
-
if (props.
|
|
68290
|
-
return props.
|
|
68294
|
+
if (props.loading) return "\u52A0\u8F7D\u4E2D\u2026";
|
|
68295
|
+
if (!props.connected) return props.disconnectedTitle || props.title;
|
|
68296
|
+
return props.title || props.agentName;
|
|
68291
68297
|
});
|
|
68292
68298
|
const resolvedDescription = computed(() => {
|
|
68293
|
-
if (
|
|
68299
|
+
if (props.loading) return "";
|
|
68300
|
+
if (!props.connected) return props.disconnectedDescription || props.description;
|
|
68294
68301
|
return props.description;
|
|
68295
68302
|
});
|
|
68296
68303
|
const promptItems = computed(
|
|
@@ -68317,46 +68324,22 @@ var _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
68317
68324
|
[
|
|
68318
68325
|
createElementVNode("div", _hoisted_1$5, [
|
|
68319
68326
|
createElementVNode("div", _hoisted_2$4, [
|
|
68320
|
-
|
|
68321
|
-
"
|
|
68322
|
-
|
|
68323
|
-
class: "yc-chat-welcome__glyph",
|
|
68324
|
-
"aria-hidden": "true"
|
|
68325
|
-
},
|
|
68326
|
-
[
|
|
68327
|
-
createElementVNode("svg", {
|
|
68328
|
-
viewBox: "0 0 24 24",
|
|
68329
|
-
fill: "none"
|
|
68330
|
-
}, [
|
|
68331
|
-
createElementVNode("path", {
|
|
68332
|
-
d: "M12 4L13.85 10.15L20 12L13.85 13.85L12 20L10.15 13.85L4 12L10.15 10.15L12 4Z",
|
|
68333
|
-
fill: "currentColor"
|
|
68334
|
-
}),
|
|
68335
|
-
createElementVNode("circle", {
|
|
68336
|
-
cx: "18.5",
|
|
68337
|
-
cy: "6",
|
|
68338
|
-
r: "1.5",
|
|
68339
|
-
fill: "currentColor",
|
|
68340
|
-
"fill-opacity": "0.55"
|
|
68341
|
-
})
|
|
68342
|
-
])
|
|
68343
|
-
],
|
|
68344
|
-
-1
|
|
68345
|
-
/* CACHED */
|
|
68346
|
-
)),
|
|
68327
|
+
_ctx.$slots.logo ? (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
68328
|
+
renderSlot(_ctx.$slots, "logo")
|
|
68329
|
+
])) : createCommentVNode("v-if", true),
|
|
68347
68330
|
createVNode(unref(Welcome), {
|
|
68348
68331
|
variant: "borderless",
|
|
68349
|
-
title:
|
|
68350
|
-
description:
|
|
68332
|
+
title: resolvedTitle.value,
|
|
68333
|
+
description: resolvedDescription.value
|
|
68351
68334
|
}, null, 8, ["title", "description"])
|
|
68352
68335
|
]),
|
|
68353
|
-
__props.connected && !__props.loading && promptItems.value.length > 0 ? (openBlock(), createElementBlock("div",
|
|
68336
|
+
__props.connected && !__props.loading && promptItems.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
|
|
68354
68337
|
createVNode(unref(Prompts), {
|
|
68355
|
-
title:
|
|
68338
|
+
title: __props.promptsTitle,
|
|
68356
68339
|
items: promptItems.value,
|
|
68357
68340
|
wrap: true,
|
|
68358
68341
|
onItemClick: handlePromptClick
|
|
68359
|
-
}, null, 8, ["items"])
|
|
68342
|
+
}, null, 8, ["title", "items"])
|
|
68360
68343
|
])) : createCommentVNode("v-if", true)
|
|
68361
68344
|
])
|
|
68362
68345
|
],
|
|
@@ -68413,6 +68396,7 @@ var _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
68413
68396
|
status: { default: "completed" },
|
|
68414
68397
|
metrics: { default: () => [] },
|
|
68415
68398
|
identifiers: { default: () => [] },
|
|
68399
|
+
identifiersTitle: { default: "ID" },
|
|
68416
68400
|
canCopyContent: { type: Boolean, default: true },
|
|
68417
68401
|
compact: { type: Boolean, default: false }
|
|
68418
68402
|
},
|
|
@@ -68490,7 +68474,7 @@ var _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
68490
68474
|
createElementVNode(
|
|
68491
68475
|
"summary",
|
|
68492
68476
|
_hoisted_7$2,
|
|
68493
|
-
|
|
68477
|
+
toDisplayString(__props.identifiersTitle) + " (" + toDisplayString(__props.identifiers.length) + ") ",
|
|
68494
68478
|
1
|
|
68495
68479
|
/* TEXT */
|
|
68496
68480
|
),
|
|
@@ -68581,7 +68565,7 @@ var _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
68581
68565
|
-1
|
|
68582
68566
|
/* CACHED */
|
|
68583
68567
|
)),
|
|
68584
|
-
!__props.compact ? (openBlock(), createElementBlock("span", _hoisted_13$2, "
|
|
68568
|
+
!__props.compact ? (openBlock(), createElementBlock("span", _hoisted_13$2, "ID")) : createCommentVNode("v-if", true)
|
|
68585
68569
|
], 8, _hoisted_12$2)
|
|
68586
68570
|
])
|
|
68587
68571
|
],
|
|
@@ -68885,7 +68869,7 @@ var _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
68885
68869
|
__name: "sender",
|
|
68886
68870
|
props: {
|
|
68887
68871
|
modelValue: { default: "" },
|
|
68888
|
-
placeholder: { default: "\
|
|
68872
|
+
placeholder: { default: "\u8F93\u5165\u6D88\u606F\u2026" },
|
|
68889
68873
|
disabled: { type: Boolean, default: false },
|
|
68890
68874
|
sending: { type: Boolean, default: false },
|
|
68891
68875
|
uploading: { type: Boolean, default: false },
|
|
@@ -68893,6 +68877,7 @@ var _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
68893
68877
|
thinking: { type: Boolean, default: false },
|
|
68894
68878
|
showThinking: { type: Boolean, default: true },
|
|
68895
68879
|
thinkingDisabled: { type: Boolean, default: false },
|
|
68880
|
+
thinkingLabel: { default: "\u601D\u8003" },
|
|
68896
68881
|
viewport: { default: "web" },
|
|
68897
68882
|
enterToSend: { type: Function, default: void 0 }
|
|
68898
68883
|
},
|
|
@@ -69015,8 +69000,8 @@ var _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
69015
69000
|
class: normalizeClass(["yc-chat-sender__chip", { "is-active": __props.thinking }]),
|
|
69016
69001
|
disabled: __props.disabled || __props.thinkingDisabled,
|
|
69017
69002
|
onClick: toggleThinking
|
|
69018
|
-
}, [
|
|
69019
|
-
createElementVNode(
|
|
69003
|
+
}, [
|
|
69004
|
+
_cache[6] || (_cache[6] = createElementVNode(
|
|
69020
69005
|
"svg",
|
|
69021
69006
|
{
|
|
69022
69007
|
viewBox: "0 0 16 16",
|
|
@@ -69033,15 +69018,15 @@ var _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
69033
69018
|
],
|
|
69034
69019
|
-1
|
|
69035
69020
|
/* CACHED */
|
|
69036
|
-
),
|
|
69021
|
+
)),
|
|
69037
69022
|
createElementVNode(
|
|
69038
69023
|
"span",
|
|
69039
69024
|
null,
|
|
69040
|
-
|
|
69041
|
-
|
|
69042
|
-
/*
|
|
69025
|
+
toDisplayString(__props.thinkingLabel),
|
|
69026
|
+
1
|
|
69027
|
+
/* TEXT */
|
|
69043
69028
|
)
|
|
69044
|
-
]
|
|
69029
|
+
], 10, _hoisted_3$1)
|
|
69045
69030
|
])) : createCommentVNode("v-if", true),
|
|
69046
69031
|
createElementVNode("div", _hoisted_4$1, [
|
|
69047
69032
|
createElementVNode("button", {
|
|
@@ -69196,8 +69181,8 @@ var _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
69196
69181
|
class: normalizeClass(["yc-chat-sender__chip", { "is-active": __props.thinking }]),
|
|
69197
69182
|
disabled: __props.disabled || __props.thinkingDisabled,
|
|
69198
69183
|
onClick: toggleThinking
|
|
69199
|
-
}, [
|
|
69200
|
-
createElementVNode(
|
|
69184
|
+
}, [
|
|
69185
|
+
_cache[11] || (_cache[11] = createElementVNode(
|
|
69201
69186
|
"svg",
|
|
69202
69187
|
{
|
|
69203
69188
|
viewBox: "0 0 16 16",
|
|
@@ -69214,15 +69199,15 @@ var _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
69214
69199
|
],
|
|
69215
69200
|
-1
|
|
69216
69201
|
/* CACHED */
|
|
69217
|
-
),
|
|
69202
|
+
)),
|
|
69218
69203
|
createElementVNode(
|
|
69219
69204
|
"span",
|
|
69220
69205
|
null,
|
|
69221
|
-
|
|
69222
|
-
|
|
69223
|
-
/*
|
|
69206
|
+
toDisplayString(__props.thinkingLabel),
|
|
69207
|
+
1
|
|
69208
|
+
/* TEXT */
|
|
69224
69209
|
)
|
|
69225
|
-
]
|
|
69210
|
+
], 10, _hoisted_12$1)) : createCommentVNode("v-if", true),
|
|
69226
69211
|
renderSlot(_ctx.$slots, "controls")
|
|
69227
69212
|
]),
|
|
69228
69213
|
createElementVNode("div", _hoisted_13$1, [
|
|
@@ -69621,7 +69606,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
69621
69606
|
}
|
|
69622
69607
|
});
|
|
69623
69608
|
|
|
69624
|
-
const version = "1.2.
|
|
69609
|
+
const version = "1.2.1";
|
|
69625
69610
|
|
|
69626
69611
|
const install = installer.install;
|
|
69627
69612
|
|