|
|
|
@ -137,8 +137,8 @@ var ChatbotSDK = (function () { |
|
|
|
categoryId: raw.categoryId, |
|
|
|
showCategorySwitch: (_a = raw.showCategorySwitch) !== null && _a !== void 0 ? _a : false, |
|
|
|
title: raw.title || 'AI 智能助手', |
|
|
|
width: (_b = raw.width) !== null && _b !== void 0 ? _b : 380, |
|
|
|
height: Math.max(300, (_c = raw.height) !== null && _c !== void 0 ? _c : 520), |
|
|
|
width: (_b = raw.width) !== null && _b !== void 0 ? _b : 500, |
|
|
|
height: Math.max(400, (_c = raw.height) !== null && _c !== void 0 ? _c : 520), |
|
|
|
position: raw.position === 'left-bottom' ? 'left-bottom' : 'right-bottom', |
|
|
|
primaryColor: resolvedPrimaryColor, |
|
|
|
launcherIcon: resolvedLauncherIcon, |
|
|
|
|