Files
tk-mini-program/unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/mulitple-select-panel/index.js
pengxiaolong c006a8e63d 消息
2025-05-13 19:39:53 +08:00

56 lines
2.3 KiB
JavaScript

"use strict";
const common_vendor = require("../../../../common/vendor.js");
require("../../../adapter-vue.js");
const common_assets = require("../../../../common/assets.js");
const TUIKit_utils_env = require("../../../utils/env.js");
if (!Math) {
Icon();
}
const Icon = () => "../../common/Icon.js";
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "index",
emits: ["oneByOneForwardMessage", "mergeForwardMessage", "toggleMultipleSelectMode"],
setup(__props, { emit: __emit }) {
const emits = __emit;
const iconSize = common_vendor.ref(TUIKit_utils_env.isMobile ? "25px" : "30px");
function oneByOneForwardMessage() {
emits("oneByOneForwardMessage");
}
function mergeForwardMessage() {
emits("mergeForwardMessage");
}
function cancelMultipleSelect() {
emits("toggleMultipleSelectMode");
}
return (_ctx, _cache) => {
return {
a: common_vendor.p({
file: common_vendor.unref(common_assets.ForwardEachIcon),
size: common_vendor.unref(iconSize)
}),
b: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("TUIChat.逐条转发")),
c: common_vendor.unref(TUIKit_utils_env.isMobile) ? 1 : "",
d: common_vendor.o$1(oneByOneForwardMessage),
e: common_vendor.p({
file: common_vendor.unref(common_assets.ForwardMergeIcon),
size: common_vendor.unref(iconSize)
}),
f: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("TUIChat.合并转发")),
g: common_vendor.unref(TUIKit_utils_env.isMobile) ? 1 : "",
h: common_vendor.o$1(mergeForwardMessage),
i: common_vendor.p({
file: common_vendor.unref(common_assets.AddIcon),
size: common_vendor.unref(iconSize)
}),
j: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("TUIChat.取消")),
k: common_vendor.unref(TUIKit_utils_env.isMobile) ? 1 : "",
l: common_vendor.o$1(cancelMultipleSelect),
m: common_vendor.unref(TUIKit_utils_env.isMobile) ? 1 : ""
};
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-65102b30"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/mulitple-select-panel/index.js.map