cnhis-design-vue 3.3.2-beta.1 → 3.3.2-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/base-search/src/index.vue2.js +6 -6
- package/es/components/big-table/src/BigTable.vue2.js +21 -21
- package/es/components/big-table/src/components/NoData.vue2.js +4 -4
- package/es/components/big-table/src/components/edit-form/edit-date.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-input.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-select.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-time.js +4 -4
- package/es/components/big-table/src/components/input-button.vue2.js +2 -2
- package/es/components/big-table/src/hooks/useNestTable.js +4 -4
- package/es/components/big-table/src/hooks/useTableParse.js +3 -3
- package/es/components/body-select/src/index.vue2.js +4 -4
- package/es/components/button-print/src/ButtonPrint.vue2.js +7 -7
- package/es/components/button-print/src/components/EditFormat.vue2.js +4 -4
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +17 -17
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +34 -34
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +11 -11
- package/es/components/button-print/src/components/Preview.vue2.js +2 -2
- package/es/components/button-print/src/utils/dialog.js +6 -6
- package/es/components/button-print/src/utils/print.js +21 -21
- package/es/components/callback/src/components/render/popupMaps.d.ts +1 -1
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -2
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -4
- package/es/components/card-reader-sdk-cn/src/henan/index.js +5 -5
- package/es/components/classification/src/components/search-filter/index.vue2.js +6 -6
- package/es/components/classification/src/components/set-classification/index.vue2.js +5 -5
- package/es/components/classification/src/components/table-modal/index.vue2.js +45 -45
- package/es/components/classification/src/index.vue2.js +42 -42
- package/es/components/default-page/src/constants/index.js +19 -19
- package/es/components/default-page/src/index.vue2.js +2 -2
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +10 -10
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +4 -4
- package/es/components/expand-field/src/components/PersonModal.vue2.js +6 -6
- package/es/components/expand-field/src/components/form.vue2.js +87 -87
- package/es/components/expand-field/src/index.vue2.js +16 -16
- package/es/components/expand-field/src/utils/constant.js +12 -12
- package/es/components/fabric-chart/src/components/PopupMenu.js +4 -4
- package/es/components/fabric-chart/src/constants/index.js +10 -10
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -3
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -5
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +6 -6
- package/es/components/fabric-chart/src/hooks/useCommon.js +4 -4
- package/es/components/field-editor/index.d.ts +1 -1
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -1
- package/es/components/field-editor/src/fields.js +30 -30
- package/es/components/field-set/src/FieldColor.vue2.js +15 -15
- package/es/components/field-set/src/FieldFilter.vue2.js +8 -8
- package/es/components/field-set/src/FieldSet.vue2.js +37 -37
- package/es/components/field-set/src/Index.vue2.js +6 -6
- package/es/components/field-set/src/TableStyle.vue2.js +9 -9
- package/es/components/field-set/src/components/condition.vue2.js +8 -8
- package/es/components/field-set/src/components/edit-dialog.vue2.js +23 -23
- package/es/components/field-set/src/components/edit-filter.vue2.js +4 -4
- package/es/components/field-set/src/components/table-row.vue2.js +25 -25
- package/es/components/field-set/src/constants/filter.js +42 -42
- package/es/components/field-set/src/constants/index.js +64 -64
- package/es/components/form-config/index.d.ts +9 -9
- package/es/components/form-config/src/FormConfig.vue.d.ts +9 -9
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -4
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +26 -26
- package/es/components/form-config/src/constants/index.js +11 -11
- package/es/components/form-config/src/hooks/useLocale.js +31 -31
- package/es/components/form-render/index.d.ts +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/input.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +2 -2
- package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -2
- package/es/components/form-render/src/components/renderer/switch.js +4 -4
- package/es/components/form-render/src/components/renderer/textarea.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
- package/es/components/form-render/src/types/index.d.ts +2 -2
- package/es/components/form-render/src/utils/schema.js +4 -4
- package/es/components/iho-chat/src/Index.vue2.js +2 -2
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +16 -16
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +24 -24
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +18 -18
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +25 -25
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -7
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -4
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +12 -12
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +9 -9
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +2 -2
- package/es/components/iho-chat/src/components/SiderList.vue2.js +12 -12
- package/es/components/iho-chat/src/components/Video.vue2.js +5 -5
- package/es/components/iho-chat/src/hooks/useVideo.js +2 -2
- package/es/components/iho-chat/src/utils/index.js +14 -14
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -2
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +11 -11
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +4 -4
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +13 -13
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +9 -9
- package/es/components/info-header/index.d.ts +7 -7
- package/es/components/info-header/src/InfoHeader.vue.d.ts +7 -7
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2 -2
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +21 -21
- package/es/components/keyboard/src/Keyboard.vue2.js +7 -7
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +6 -6
- package/es/components/map/src/Map.vue2.js +2 -2
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +4 -4
- package/es/components/quick-search/src/index.vue2.js +21 -21
- package/es/components/recommend-search/src/components/BaseSearch.js +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +3 -3
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +5 -5
- package/es/components/scale-view/src/components/NoData.vue2.js +4 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-input.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-map.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-select.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-sign.js +7 -7
- package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -5
- package/es/components/scale-view/src/hooks/scaleview-init.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-init.js +2 -2
- package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -4
- package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -9
- package/es/components/search-cascader/src/SearchCascader.vue2.js +2 -2
- package/es/components/select-label/src/LabelFormContent.vue2.js +7 -7
- package/es/components/select-label/src/SelectLabel.vue2.js +13 -13
- package/es/components/select-label/src/components/label-classify.vue2.js +5 -5
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +3 -3
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +6 -6
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +3 -3
- package/es/components/select-person/src/SelectPerson.vue2.js +16 -16
- package/es/components/select-person/src/SelectPersonType.vue2.js +13 -13
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -2
- package/es/components/select-person/src/index.vue2.js +3 -3
- package/es/components/shortcut-setter/index.d.ts +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
- package/es/components/slider-tree/src/index.vue2.js +3 -3
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +23 -25
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +19 -19
- package/es/components/table-export-field/src/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -5
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -34
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +19 -19
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -6
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -5
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +17 -17
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +5 -5
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +4 -4
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +2 -2
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -207
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -3
- package/es/components/table-filter/src/tool/baseOptions.js +19 -19
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +8 -8
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +4 -4
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
@@ -11,7 +11,7 @@ import { union, unionBy, remove, intersection, last, isArray, uniqBy, cloneDeep,
|
|
11
11
|
import 'trtc-sdk-v5';
|
12
12
|
import { useSearchUserList } from '../hooks/useSearchUserList.js';
|
13
13
|
|
14
|
-
var _a, _b;
|
14
|
+
var _a, _b, _c, _d, _e, _f;
|
15
15
|
const _hoisted_1 = {
|
16
16
|
class: "iho-chat-dialog__content iho-chat-add-wrapper"
|
17
17
|
};
|
@@ -19,7 +19,7 @@ const _hoisted_2 = {
|
|
19
19
|
key: 0,
|
20
20
|
class: "input-box"
|
21
21
|
};
|
22
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.34")) || "\u7FA4\u540D\u79F0\uFF1A", -1);
|
22
|
+
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.34")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.34")) || "\u7FA4\u540D\u79F0\uFF1A", -1);
|
23
23
|
const _hoisted_4 = {
|
24
24
|
class: "transfer-box"
|
25
25
|
};
|
@@ -90,7 +90,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
90
90
|
props: {
|
91
91
|
title: {
|
92
92
|
type: String,
|
93
|
-
default: ((
|
93
|
+
default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.42")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.42")) || "\u6DFB\u52A0\u65B0\u6210\u5458"
|
94
94
|
},
|
95
95
|
mode: {
|
96
96
|
type: String,
|
@@ -211,8 +211,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
211
211
|
});
|
212
212
|
const checkedSourceIds = computed({
|
213
213
|
get() {
|
214
|
-
var _a2, _b2,
|
215
|
-
return (
|
214
|
+
var _a2, _b2, _c2;
|
215
|
+
return (_c2 = (_b2 = (_a2 = userList.value) == null ? void 0 : _a2.filter((user) => {
|
216
216
|
var _a3;
|
217
217
|
if (user.type == 1 && ((_a3 = user.children) == null ? void 0 : _a3.length)) {
|
218
218
|
const ids = getAllUser(user.children || []).map((user2) => user2.id).filter((id) => !getDisabled(id));
|
@@ -220,7 +220,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
220
220
|
} else {
|
221
221
|
return checkedIds.value.includes(user.id);
|
222
222
|
}
|
223
|
-
})) == null ? void 0 : _b2.map((user) => user.id)) != null ?
|
223
|
+
})) == null ? void 0 : _b2.map((user) => user.id)) != null ? _c2 : [];
|
224
224
|
},
|
225
225
|
set(value) {
|
226
226
|
userList.value.forEach((user) => {
|
@@ -468,7 +468,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
468
468
|
checkedOptions.value = isArray(props.defaultValue) && props.defaultValue.length ? cloneDeep(props.defaultValue) : [];
|
469
469
|
});
|
470
470
|
return (_ctx, _cache) => {
|
471
|
-
var _a2, _b2;
|
471
|
+
var _a2, _b2, _c2, _d2, _e2, _f2;
|
472
472
|
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(NModal), {
|
473
473
|
preset: "dialog",
|
474
474
|
title: __props.title,
|
@@ -478,8 +478,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
478
478
|
class: "iho-chat-dialog",
|
479
479
|
show: showModal.value,
|
480
480
|
"onUpdate:show": _cache[5] || (_cache[5] = ($event) => showModal.value = $event),
|
481
|
-
"negative-text": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88",
|
482
|
-
"positive-text": ((
|
481
|
+
"negative-text": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.28")) || "\u53D6\u6D88",
|
482
|
+
"positive-text": ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.27")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.27")) || "\u786E\u5B9A",
|
483
483
|
"display-directive": "show",
|
484
484
|
"positive-button-props": {
|
485
485
|
disabled: unref(btnDisabled)
|
@@ -487,17 +487,17 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
487
487
|
onPositiveClick: handlePositiveClick
|
488
488
|
}, {
|
489
489
|
default: withCtx(() => {
|
490
|
-
var _a3, _b3,
|
490
|
+
var _a3, _b3, _c3, _d3, _e3, _f3, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w;
|
491
491
|
return [createElementVNode("div", _hoisted_1, [__props.mode === "create" ? (openBlock(), createElementBlock("div", _hoisted_2, [_hoisted_3, createVNode(unref(NInput), {
|
492
492
|
clearable: "",
|
493
|
-
placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.35")) || "\u53D6\u4E2A\u7FA4\u540D\u79F0\u65B9\u4FBF\u540E\u7EED\u641C\u7D22",
|
493
|
+
placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.35")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.35")) || "\u53D6\u4E2A\u7FA4\u540D\u79F0\u65B9\u4FBF\u540E\u7EED\u641C\u7D22",
|
494
494
|
value: groupName.value,
|
495
495
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => groupName.value = $event),
|
496
496
|
valueModifiers: {
|
497
497
|
trim: true
|
498
498
|
}
|
499
499
|
}, null, 8, ["value"])])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [createVNode(unref(NInput), {
|
500
|
-
placeholder: ((
|
500
|
+
placeholder: ((_d3 = window.getLanguageByCode) == null ? void 0 : _d3.call(window, "10010.1.36")) || ((_f3 = (_e3 = window.top) == null ? void 0 : _e3.getLanguageByCode) == null ? void 0 : _f3.call(_e3, "10010.1.36")) || "\u641C\u7D22",
|
501
501
|
clearable: "",
|
502
502
|
value: keyword.value,
|
503
503
|
"onUpdate:value": [_cache[1] || (_cache[1] = ($event) => keyword.value = $event), handleSearchInput],
|
@@ -543,7 +543,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
543
543
|
component: unref(ChevronBackOutline)
|
544
544
|
}, null, 8, ["component"])]),
|
545
545
|
_: 1
|
546
|
-
}), createElementVNode("h4", null, toDisplayString((
|
546
|
+
}), createElementVNode("h4", null, toDisplayString((_g = unref(last)(currentTab.value)) == null ? void 0 : _g.label), 1)])) : createCommentVNode("v-if", true), currentTab.value.length > 0 && ((_h = unref(last)(currentTab.value)) == null ? void 0 : _h.key) === "org" && breadcrumbList.value.length > 0 ? (openBlock(), createBlock(unref(NBreadcrumb), {
|
547
547
|
key: 2,
|
548
548
|
ref_key: "breadcrumbRef",
|
549
549
|
ref: breadcrumbRef,
|
@@ -562,7 +562,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
562
562
|
}, 512)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_10, [unref(userList).length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
563
563
|
key: 0
|
564
564
|
}, [withDirectives(createVNode(unref(NCheckbox), {
|
565
|
-
label: ((
|
565
|
+
label: ((_i = window.getLanguageByCode) == null ? void 0 : _i.call(window, "10010.1.37")) || ((_k = (_j = window.top) == null ? void 0 : _j.getLanguageByCode) == null ? void 0 : _k.call(_j, "10010.1.37")) || "\u5168\u9009",
|
566
566
|
checked: unref(allChecked),
|
567
567
|
"onUpdate:checked": _cache[2] || (_cache[2] = ($event) => isRef(allChecked) ? allChecked.value = $event : null)
|
568
568
|
}, null, 8, ["checked"]), [[vShow, unref(showAllCheckbox)]]), unref(currentTabKey) === "org" && currentTab.value.length === 1 ? (openBlock(), createElementBlock("div", _hoisted_11, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(userList), (option) => {
|
@@ -623,7 +623,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
623
623
|
}, 1032, ["value", "disabled", "onClick"]);
|
624
624
|
}), 128))]),
|
625
625
|
_: 1
|
626
|
-
}, 8, ["value"]))], 64)) : (openBlock(), createElementBlock("div", _hoisted_15, ((
|
626
|
+
}, 8, ["value"]))], 64)) : (openBlock(), createElementBlock("div", _hoisted_15, ((_l = window.getLanguageByCode) == null ? void 0 : _l.call(window, "10010.1.38")) || ((_n = (_m = window.top) == null ? void 0 : _m.getLanguageByCode) == null ? void 0 : _n.call(_m, "10010.1.38")) || "\u627E\u4E0D\u5230\u76F8\u5173\u7ED3\u679C"))])]), createElementVNode("div", _hoisted_16, [createElementVNode("span", null, (((_o = window.getLanguageByCode) == null ? void 0 : _o.call(window, "10010.1.39")) || ((_q = (_p = window.top) == null ? void 0 : _p.getLanguageByCode) == null ? void 0 : _q.call(_p, "10010.1.39")) || "\u5DF2\u9009\u62E9") + toDisplayString(unref(checkedIds).length) + (((_r = window.getLanguageByCode) == null ? void 0 : _r.call(window, "10010.1.40")) || ((_t = (_s = window.top) == null ? void 0 : _s.getLanguageByCode) == null ? void 0 : _t.call(_s, "10010.1.40")) || "\u4EBA"), 1), createElementVNode("div", _hoisted_17, [(openBlock(true), createElementBlock(Fragment, null, renderList(checkedOptions.value, (option) => {
|
627
627
|
return openBlock(), createBlock(unref(NTag), {
|
628
628
|
key: option.id,
|
629
629
|
bordered: false,
|
@@ -645,7 +645,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
645
645
|
value: remark.value,
|
646
646
|
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => remark.value = $event),
|
647
647
|
type: "textarea",
|
648
|
-
placeholder: ((
|
648
|
+
placeholder: ((_u = window.getLanguageByCode) == null ? void 0 : _u.call(window, "10010.1.41")) || ((_w = (_v = window.top) == null ? void 0 : _v.getLanguageByCode) == null ? void 0 : _w.call(_v, "10010.1.41")) || "\u7559\u8A00",
|
649
649
|
autosize: {
|
650
650
|
minRows: 2,
|
651
651
|
maxRows: 2
|
@@ -122,13 +122,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
122
122
|
function formatImageList(data) {
|
123
123
|
const result = {};
|
124
124
|
data.forEach((item) => {
|
125
|
-
var _a, _b;
|
125
|
+
var _a, _b, _c, _d, _e, _f;
|
126
126
|
const date = new Date(item.sendTime);
|
127
127
|
let label = format(date, "yyyy\u5E74MM\u6708");
|
128
128
|
if (isSameWeek(date, new Date())) {
|
129
|
-
label = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.47")) || "\u672C\u5468";
|
129
|
+
label = ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.47")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.47")) || "\u672C\u5468";
|
130
130
|
} else if (isSameMonth(date, new Date())) {
|
131
|
-
label = ((
|
131
|
+
label = ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.404")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.404")) || "\u672C\u6708";
|
132
132
|
}
|
133
133
|
if (!result[label]) {
|
134
134
|
result[label] = [];
|
@@ -150,8 +150,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
150
150
|
handleSearch();
|
151
151
|
}
|
152
152
|
const title = computed(() => {
|
153
|
-
var _a, _b;
|
154
|
-
return props.type === "image" ? ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.49")) || "\u804A\u5929\u56FE\u7247" : ((
|
153
|
+
var _a, _b, _c, _d, _e, _f;
|
154
|
+
return props.type === "image" ? ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.49")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.49")) || "\u804A\u5929\u56FE\u7247" : ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.50")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.50")) || "\u804A\u5929\u6587\u4EF6";
|
155
155
|
});
|
156
156
|
watch(() => props.visible, (value) => {
|
157
157
|
if (!value) {
|
@@ -170,7 +170,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
170
170
|
class: "iho-chat-dialog"
|
171
171
|
}, {
|
172
172
|
default: withCtx(() => {
|
173
|
-
var _a;
|
173
|
+
var _a, _b, _c;
|
174
174
|
return [withDirectives(createElementVNode("div", {
|
175
175
|
class: "iho-chat-dialog__content iho-chat-image-wrapper",
|
176
176
|
ref_key: "imageRef",
|
@@ -197,7 +197,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
197
197
|
style: normalizeStyle(unref(cssVars))
|
198
198
|
}, [createVNode(unref(NInput), {
|
199
199
|
clearable: "",
|
200
|
-
placeholder: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.43")) || "\u641C\u7D22\u6587\u4EF6",
|
200
|
+
placeholder: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.43")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.43")) || "\u641C\u7D22\u6587\u4EF6",
|
201
201
|
value: keyword.value,
|
202
202
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => keyword.value = $event),
|
203
203
|
valueModifiers: {
|
@@ -214,12 +214,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
214
214
|
ref_key: "fileRef",
|
215
215
|
ref: fileRef
|
216
216
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(fileList.value, (item, i) => {
|
217
|
-
var _a2;
|
217
|
+
var _a2, _b2, _c2;
|
218
218
|
return openBlock(), createElementBlock("div", {
|
219
219
|
class: "file-item",
|
220
220
|
key: i
|
221
221
|
}, [createElementVNode("span", _hoisted_3, toDisplayString(unref(getFileType)(item.content.msg)), 1), createElementVNode("div", _hoisted_4, [createElementVNode("span", _hoisted_5, toDisplayString(unref(getFileDetails)(item.content.msg, "fileName")), 1), createElementVNode("span", _hoisted_6, toDisplayString(unref(getDetail)(item, true)), 1)]), createElementVNode("div", _hoisted_7, [createVNode(ChatAdd, {
|
222
|
-
title: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F",
|
222
|
+
title: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.44")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F",
|
223
223
|
mode: "relay",
|
224
224
|
onComfirm: (params) => unref(relayMessage)({
|
225
225
|
contents: [item.content],
|
@@ -235,8 +235,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
235
235
|
component: unref(OpenOutline)
|
236
236
|
}, null, 8, ["component"])]),
|
237
237
|
default: withCtx(() => {
|
238
|
-
var _a3;
|
239
|
-
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.45")) || "\u8F6C\u53D1")];
|
238
|
+
var _a3, _b3, _c3;
|
239
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.45")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.45")) || "\u8F6C\u53D1")];
|
240
240
|
}),
|
241
241
|
_: 1
|
242
242
|
})]),
|
@@ -250,8 +250,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
250
250
|
onClick: () => unref(downloadFile)(item.content.fileUr, item.content.msg)
|
251
251
|
}, null, 8, ["component", "onClick"])]),
|
252
252
|
default: withCtx(() => {
|
253
|
-
var _a3;
|
254
|
-
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.102")) || "\u4E0B\u8F7D")];
|
253
|
+
var _a3, _b3, _c3;
|
254
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.102")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.102")) || "\u4E0B\u8F7D")];
|
255
255
|
}),
|
256
256
|
_: 2
|
257
257
|
}, 1024)])]);
|
@@ -14,7 +14,7 @@ import { CloseOutline, CloseCircleOutline, CallOutline, VideocamOutline } from '
|
|
14
14
|
import { uuidGenerator } from '../../../../shared/utils/index.js';
|
15
15
|
import { useStorage } from '@vueuse/core';
|
16
16
|
|
17
|
-
var _a, _b;
|
17
|
+
var _a, _b, _c, _d, _e, _f;
|
18
18
|
const _hoisted_1 = {
|
19
19
|
key: 0,
|
20
20
|
class: "multi-select-box"
|
@@ -47,7 +47,7 @@ const _hoisted_11 = {
|
|
47
47
|
const _hoisted_12 = /* @__PURE__ */ createElementVNode("i", {
|
48
48
|
class: "chat--iconfont chat--icon-face"
|
49
49
|
}, null, -1);
|
50
|
-
const _hoisted_13 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.51")) || "\u6700\u8FD1\u4F7F\u7528", -1);
|
50
|
+
const _hoisted_13 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.51")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.51")) || "\u6700\u8FD1\u4F7F\u7528", -1);
|
51
51
|
const _hoisted_14 = {
|
52
52
|
class: "list-box",
|
53
53
|
style: {
|
@@ -55,7 +55,7 @@ const _hoisted_14 = {
|
|
55
55
|
}
|
56
56
|
};
|
57
57
|
const _hoisted_15 = ["src"];
|
58
|
-
const _hoisted_16 = /* @__PURE__ */ createElementVNode("span", null, ((
|
58
|
+
const _hoisted_16 = /* @__PURE__ */ createElementVNode("span", null, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.52")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.52")) || "\u9ED8\u8BA4\u8868\u60C5", -1);
|
59
59
|
const _hoisted_17 = {
|
60
60
|
class: "list-box"
|
61
61
|
};
|
@@ -324,14 +324,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
324
324
|
}
|
325
325
|
});
|
326
326
|
return (_ctx, _cache) => {
|
327
|
-
var _a2, _b2;
|
327
|
+
var _a2, _b2, _c2, _d2, _e2, _f2;
|
328
328
|
return withDirectives((openBlock(), createElementBlock("section", {
|
329
329
|
class: "chat-footer",
|
330
330
|
style: normalizeStyle({
|
331
331
|
cursor: unref(state).id ? "default" : "not-allowed"
|
332
332
|
})
|
333
333
|
}, [unref(state).isForward ? (openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createVNode(ChatAdd, {
|
334
|
-
title: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F",
|
334
|
+
title: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.44")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F",
|
335
335
|
mode: "relay",
|
336
336
|
onComfirm: _cache[0] || (_cache[0] = (params) => handleRelay(params))
|
337
337
|
}, {
|
@@ -346,7 +346,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
346
346
|
}, 8, ["disabled"])]),
|
347
347
|
_: 1
|
348
348
|
}), _hoisted_4]), createElementVNode("div", _hoisted_5, [createVNode(ChatAdd, {
|
349
|
-
title: ((
|
349
|
+
title: ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.44")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F",
|
350
350
|
mode: "relay",
|
351
351
|
onComfirm: _cache[1] || (_cache[1] = (params) => handleRelay(params, "\u5408\u5E76\u8F6C\u53D1"))
|
352
352
|
}, {
|
@@ -439,8 +439,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
439
439
|
_: 1
|
440
440
|
}, 8, ["show"])]),
|
441
441
|
default: withCtx(() => {
|
442
|
-
var _a3;
|
443
|
-
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.53")) || "\u8868\u60C5")];
|
442
|
+
var _a3, _b3, _c3;
|
443
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.53")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.53")) || "\u8868\u60C5")];
|
444
444
|
}),
|
445
445
|
_: 1
|
446
446
|
}), createVNode(unref(NTooltip), {
|
@@ -458,8 +458,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
458
458
|
_: 1
|
459
459
|
})]),
|
460
460
|
default: withCtx(() => {
|
461
|
-
var _a3;
|
462
|
-
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.54")) || "\u70B9\u8D5E")];
|
461
|
+
var _a3, _b3, _c3;
|
462
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.54")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.54")) || "\u70B9\u8D5E")];
|
463
463
|
}),
|
464
464
|
_: 1
|
465
465
|
}), createVNode(unref(NUpload), {
|
@@ -485,8 +485,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
485
485
|
_: 2
|
486
486
|
}, 1032, ["onClick"])]),
|
487
487
|
default: withCtx(() => {
|
488
|
-
var _a3;
|
489
|
-
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.55")) || "\u4E0A\u4F20\u56FE\u7247")];
|
488
|
+
var _a3, _b3, _c3;
|
489
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.55")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.55")) || "\u4E0A\u4F20\u56FE\u7247")];
|
490
490
|
}),
|
491
491
|
_: 2
|
492
492
|
}, 1024)]),
|
@@ -516,8 +516,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
516
516
|
_: 2
|
517
517
|
}, 1032, ["onClick"])]),
|
518
518
|
default: withCtx(() => {
|
519
|
-
var _a3;
|
520
|
-
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.56")) || "\u4E0A\u4F20\u6587\u4EF6")];
|
519
|
+
var _a3, _b3, _c3;
|
520
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.56")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.56")) || "\u4E0A\u4F20\u6587\u4EF6")];
|
521
521
|
}),
|
522
522
|
_: 2
|
523
523
|
}, 1024)]),
|
@@ -545,8 +545,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
545
545
|
_: 1
|
546
546
|
})]),
|
547
547
|
default: withCtx(() => {
|
548
|
-
var _a3;
|
549
|
-
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.57")) || "\u8BED\u97F3\u901A\u8BDD")];
|
548
|
+
var _a3, _b3, _c3;
|
549
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.57")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.57")) || "\u8BED\u97F3\u901A\u8BDD")];
|
550
550
|
}),
|
551
551
|
_: 1
|
552
552
|
})]),
|
@@ -568,8 +568,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
568
568
|
_: 1
|
569
569
|
})]),
|
570
570
|
default: withCtx(() => {
|
571
|
-
var _a3;
|
572
|
-
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.58")) || "\u89C6\u9891\u4F1A\u8BAE")];
|
571
|
+
var _a3, _b3, _c3;
|
572
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.58")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.58")) || "\u89C6\u9891\u4F1A\u8BAE")];
|
573
573
|
}),
|
574
574
|
_: 1
|
575
575
|
})]),
|
@@ -591,8 +591,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
591
591
|
_: 1
|
592
592
|
})]),
|
593
593
|
default: withCtx(() => {
|
594
|
-
var _a3;
|
595
|
-
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.57")) || "\u8BED\u97F3\u901A\u8BDD")];
|
594
|
+
var _a3, _b3, _c3;
|
595
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.57")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.57")) || "\u8BED\u97F3\u901A\u8BDD")];
|
596
596
|
}),
|
597
597
|
_: 1
|
598
598
|
}), createVNode(unref(NTooltip), {
|
@@ -610,8 +610,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
610
610
|
_: 1
|
611
611
|
})]),
|
612
612
|
default: withCtx(() => {
|
613
|
-
var _a3;
|
614
|
-
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.59")) || "\u89C6\u9891\u901A\u8BDD")];
|
613
|
+
var _a3, _b3, _c3;
|
614
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.59")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.59")) || "\u89C6\u9891\u901A\u8BDD")];
|
615
615
|
}),
|
616
616
|
_: 1
|
617
617
|
})], 64))], 64)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "footer")]), withDirectives(createElementVNode("div", {
|
@@ -628,8 +628,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
628
628
|
onClick: handleMsgSend
|
629
629
|
}, {
|
630
630
|
default: withCtx(() => {
|
631
|
-
var _a3;
|
632
|
-
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.60")) || "\u53D1\u9001")];
|
631
|
+
var _a3, _b3, _c3;
|
632
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.60")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.60")) || "\u53D1\u9001")];
|
633
633
|
}),
|
634
634
|
_: 1
|
635
635
|
}, 8, ["disabled"])])], 64))], 4)), [[vShow, unref(state).id]]);
|
@@ -111,8 +111,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
111
111
|
_: 1
|
112
112
|
})]),
|
113
113
|
default: withCtx(() => {
|
114
|
-
var _a;
|
115
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.62")) || "\u56FE\u7247")];
|
114
|
+
var _a, _b, _c;
|
115
|
+
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.62")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.62")) || "\u56FE\u7247")];
|
116
116
|
}),
|
117
117
|
_: 1
|
118
118
|
}), createVNode(unref(NTooltip), {
|
@@ -128,8 +128,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
128
128
|
_: 1
|
129
129
|
})]),
|
130
130
|
default: withCtx(() => {
|
131
|
-
var _a;
|
132
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.63")) || "\u6587\u4EF6")];
|
131
|
+
var _a, _b, _c;
|
132
|
+
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.63")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.63")) || "\u6587\u4EF6")];
|
133
133
|
}),
|
134
134
|
_: 1
|
135
135
|
}), createVNode(ChatAdd, normalizeProps(guardReactiveProps(unref(chatAddProps))), {
|
@@ -148,8 +148,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
148
148
|
_: 1
|
149
149
|
})]),
|
150
150
|
default: withCtx(() => {
|
151
|
-
var _a;
|
152
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.64")) || "\u6DFB\u52A0\u6210\u5458")];
|
151
|
+
var _a, _b, _c;
|
152
|
+
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.64")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.64")) || "\u6DFB\u52A0\u6210\u5458")];
|
153
153
|
}),
|
154
154
|
_: 1
|
155
155
|
})]),
|
@@ -167,8 +167,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
167
167
|
_: 1
|
168
168
|
})]),
|
169
169
|
default: withCtx(() => {
|
170
|
-
var _a;
|
171
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.65")) || "\u804A\u5929\u8BB0\u5F55")];
|
170
|
+
var _a, _b, _c;
|
171
|
+
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.65")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.65")) || "\u804A\u5929\u8BB0\u5F55")];
|
172
172
|
}),
|
173
173
|
_: 1
|
174
174
|
}), createVNode(unref(NTooltip), {
|
@@ -184,8 +184,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
184
184
|
_: 1
|
185
185
|
})]),
|
186
186
|
default: withCtx(() => {
|
187
|
-
var _a;
|
188
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.66")) || "\u804A\u5929\u8BBE\u7F6E")];
|
187
|
+
var _a, _b, _c;
|
188
|
+
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.66")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.66")) || "\u804A\u5929\u8BBE\u7F6E")];
|
189
189
|
}),
|
190
190
|
_: 1
|
191
191
|
}), unref(isGroupChat) && unref(isGroupLeader) ? (openBlock(), createBlock(unref(NPopconfirm), {
|
@@ -133,8 +133,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
133
133
|
"onClick": () => src && downloadFile(src, "img")
|
134
134
|
}, null),
|
135
135
|
default: () => {
|
136
|
-
var _a2;
|
137
|
-
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.102")) || "\u4E0B\u8F7D";
|
136
|
+
var _a2, _b2, _c;
|
137
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.102")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.102")) || "\u4E0B\u8F7D";
|
138
138
|
}
|
139
139
|
}), nodes.close];
|
140
140
|
}
|
@@ -361,7 +361,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
361
361
|
immediate: true
|
362
362
|
});
|
363
363
|
return (_ctx, _cache) => {
|
364
|
-
var _a;
|
364
|
+
var _a, _b, _c;
|
365
365
|
return openBlock(), createElementBlock("div", {
|
366
366
|
class: normalizeClass(["chat-main", {
|
367
367
|
"home-bg": !unref(state).id,
|
@@ -375,7 +375,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
375
375
|
"render-toolbar": renderToolbar
|
376
376
|
}, {
|
377
377
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(state).msgList, (item, index) => {
|
378
|
-
var _a2,
|
378
|
+
var _a2, _b2, _c2, _d, _e, _f, _g;
|
379
379
|
return openBlock(), createElementBlock(Fragment, {
|
380
380
|
key: item.id
|
381
381
|
}, [showMessage(item) ? (openBlock(), createElementBlock("div", {
|
@@ -388,7 +388,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
388
388
|
}, [showTemplateMsg(item, "system") ? (openBlock(), createBlock(MessageTemplate, {
|
389
389
|
key: 0,
|
390
390
|
data: item
|
391
|
-
}, null, 8, ["data"])) : createCommentVNode("v-if", true), item.status === "WITHDRAWN" ? (openBlock(), createElementBlock("p", _hoisted_2, [createElementVNode("span", null, toDisplayString(item.sender == unref(state).userInfo.id ? ((
|
391
|
+
}, null, 8, ["data"])) : createCommentVNode("v-if", true), item.status === "WITHDRAWN" ? (openBlock(), createElementBlock("p", _hoisted_2, [createElementVNode("span", null, toDisplayString(item.sender == unref(state).userInfo.id ? ((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.67")) || ((_d = (_c2 = window.top) == null ? void 0 : _c2.getLanguageByCode) == null ? void 0 : _d.call(_c2, "10010.1.67")) || "\u4F60" : item.senderName) + (((_e = window.getLanguageByCode) == null ? void 0 : _e.call(window, "10010.1.68")) || ((_g = (_f = window.top) == null ? void 0 : _f.getLanguageByCode) == null ? void 0 : _g.call(_f, "10010.1.68")) || "\u64A4\u56DE\u4E86\u4E00\u6761\u6D88\u606F"), 1), showReEdit(item) ? (openBlock(), createBlock(unref(NButton), {
|
392
392
|
key: 0,
|
393
393
|
size: "tiny",
|
394
394
|
style: {
|
@@ -399,8 +399,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
399
399
|
onClick: () => reEdit(item)
|
400
400
|
}, {
|
401
401
|
default: withCtx(() => {
|
402
|
-
var _a3;
|
403
|
-
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.69")) || "\u91CD\u65B0\u7F16\u8F91")];
|
402
|
+
var _a3, _b3, _c3;
|
403
|
+
return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.69")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.69")) || "\u91CD\u65B0\u7F16\u8F91")];
|
404
404
|
}),
|
405
405
|
_: 2
|
406
406
|
}, 1032, ["onClick"])) : createCommentVNode("v-if", true)])) : (openBlock(), createBlock(MessageEvent, {
|
@@ -601,19 +601,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
601
601
|
id: menuMsgId.value,
|
602
602
|
onSelect: handleSelect
|
603
603
|
}, null, 8, ["show", "position", "id"]), createVNode(ChatAdd, {
|
604
|
-
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F",
|
604
|
+
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.44")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.44")) || "\u8F6C\u53D1\u6D88\u606F",
|
605
605
|
mode: "relay",
|
606
606
|
onComfirm: handleRelay
|
607
607
|
}, {
|
608
608
|
trigger: withCtx(() => {
|
609
|
-
var _a2;
|
609
|
+
var _a2, _b2, _c2;
|
610
610
|
return [createElementVNode("span", {
|
611
611
|
style: {
|
612
612
|
"display": "none"
|
613
613
|
},
|
614
614
|
ref_key: "relayTriggerRef",
|
615
615
|
ref: relayTriggerRef
|
616
|
-
}, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.45")) || "\u8F6C\u53D1", 512)];
|
616
|
+
}, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.45")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.45")) || "\u8F6C\u53D1", 512)];
|
617
617
|
}),
|
618
618
|
_: 1
|
619
619
|
}), menuMsgId.value ? (openBlock(), createBlock(SelectLabel, {
|
@@ -20,13 +20,13 @@ import { useScrollLoading } from '../../../../shared/hooks/useScrollLoading.js';
|
|
20
20
|
import { emojis } from '../utils/emoji.js';
|
21
21
|
import MessageEvent from './MessageEvent.vue.js';
|
22
22
|
|
23
|
-
var _a, _b;
|
23
|
+
var _a, _b, _c, _d, _e, _f;
|
24
24
|
const _hoisted_1 = {
|
25
25
|
class: "iho-chat-dialog__header"
|
26
26
|
};
|
27
27
|
const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", {
|
28
28
|
class: "left"
|
29
|
-
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.65")) || "\u804A\u5929\u8BB0\u5F55", -1);
|
29
|
+
}, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.65")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.65")) || "\u804A\u5929\u8BB0\u5F55", -1);
|
30
30
|
const _hoisted_3 = {
|
31
31
|
class: "center"
|
32
32
|
};
|
@@ -90,7 +90,7 @@ const _hoisted_24 = {
|
|
90
90
|
};
|
91
91
|
const _hoisted_25 = /* @__PURE__ */ createElementVNode("span", {
|
92
92
|
class: "filter-title"
|
93
|
-
}, ((
|
93
|
+
}, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.72")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.72")) || "\u6DFB\u52A0\u7B5B\u9009\u6761\u4EF6", -1);
|
94
94
|
const _hoisted_26 = {
|
95
95
|
class: "filter-item"
|
96
96
|
};
|
@@ -179,11 +179,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
179
179
|
}
|
180
180
|
pageInfo.lastSendTime = (_a2 = last(_recordList)) == null ? void 0 : _a2.sendTime;
|
181
181
|
_recordList.forEach((item) => {
|
182
|
-
var _a3, _b2,
|
182
|
+
var _a3, _b2, _c2;
|
183
183
|
let content = "";
|
184
184
|
switch (item.content.chatMessageType) {
|
185
185
|
case MESSAGE_TYPE.TEMPLATE:
|
186
|
-
content = (
|
186
|
+
content = (_c2 = (_b2 = (_a3 = item.content) == null ? void 0 : _a3.messageTemplate) == null ? void 0 : _b2.setting) == null ? void 0 : _c2.title;
|
187
187
|
break;
|
188
188
|
default:
|
189
189
|
content = transformMessage(item.content);
|
@@ -246,8 +246,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
246
246
|
"onClose": () => handleCloseTag("member")
|
247
247
|
}, {
|
248
248
|
default: () => {
|
249
|
-
var _a2, _b2;
|
250
|
-
return [createTextVNode("\u6210\u5458:"), " ", memberList.value.length > 1 ? memberList.value.length + (((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.40")) || "\u4EBA") : (
|
249
|
+
var _a2, _b2, _c2, _d2;
|
250
|
+
return [createTextVNode("\u6210\u5458:"), " ", memberList.value.length > 1 ? memberList.value.length + (((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.40")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.40")) || "\u4EBA") : (_d2 = state.currentGroupUser.find((item) => item.id === memberList.value[0])) == null ? void 0 : _d2.name];
|
251
251
|
}
|
252
252
|
}) : null;
|
253
253
|
const startTimeRender = startTime.value ? createVNode(NTag, {
|
@@ -315,9 +315,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
315
315
|
style: normalizeStyle(unref(cssVars))
|
316
316
|
}, [createVNode(unref(NInputGroup), null, {
|
317
317
|
default: withCtx(() => {
|
318
|
-
var _a2;
|
318
|
+
var _a2, _b2, _c2;
|
319
319
|
return [(openBlock(), createBlock(resolveDynamicComponent(() => getPrefixCondition()))), createVNode(unref(NInput), {
|
320
|
-
placeholder: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.36")) || "\u641C\u7D22",
|
320
|
+
placeholder: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.36")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.36")) || "\u641C\u7D22",
|
321
321
|
value: keyword.value,
|
322
322
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => keyword.value = $event),
|
323
323
|
valueModifiers: {
|
@@ -386,7 +386,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
386
386
|
"show-arrow": false
|
387
387
|
}, {
|
388
388
|
trigger: withCtx(() => {
|
389
|
-
var _a2;
|
389
|
+
var _a2, _b2, _c2;
|
390
390
|
return [createElementVNode("div", _hoisted_31, [_hoisted_32, withDirectives(createVNode(unref(NTag), {
|
391
391
|
bordered: false,
|
392
392
|
color: tagColor,
|
@@ -395,7 +395,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
395
395
|
}, {
|
396
396
|
default: withCtx(() => [createTextVNode(toDisplayString(startTime.value), 1)]),
|
397
397
|
_: 1
|
398
|
-
}, 512), [[vShow, startTime.value]]), withDirectives(createElementVNode("span", _hoisted_33, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.76")) || "\u70B9\u51FB\u9009\u62E9", 512), [[vShow, !startTime.value]])])];
|
398
|
+
}, 512), [[vShow, startTime.value]]), withDirectives(createElementVNode("span", _hoisted_33, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.76")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.76")) || "\u70B9\u51FB\u9009\u62E9", 512), [[vShow, !startTime.value]])])];
|
399
399
|
}),
|
400
400
|
default: withCtx(() => [createVNode(unref(DatePicker), {
|
401
401
|
"formatted-value": startTime.value,
|
@@ -411,7 +411,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
411
411
|
"show-arrow": false
|
412
412
|
}, {
|
413
413
|
trigger: withCtx(() => {
|
414
|
-
var _a2;
|
414
|
+
var _a2, _b2, _c2;
|
415
415
|
return [createElementVNode("div", _hoisted_34, [_hoisted_35, withDirectives(createVNode(unref(NTag), {
|
416
416
|
bordered: false,
|
417
417
|
color: tagColor,
|
@@ -420,7 +420,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
420
420
|
}, {
|
421
421
|
default: withCtx(() => [createTextVNode(toDisplayString(endTime.value), 1)]),
|
422
422
|
_: 1
|
423
|
-
}, 512), [[vShow, endTime.value]]), withDirectives(createElementVNode("span", _hoisted_36, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.76")) || "\u70B9\u51FB\u9009\u62E9", 512), [[vShow, !endTime.value]])])];
|
423
|
+
}, 512), [[vShow, endTime.value]]), withDirectives(createElementVNode("span", _hoisted_36, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.76")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.76")) || "\u70B9\u51FB\u9009\u62E9", 512), [[vShow, !endTime.value]])])];
|
424
424
|
}),
|
425
425
|
default: withCtx(() => [createVNode(unref(DatePicker), {
|
426
426
|
"formatted-value": endTime.value,
|