@@ -5115,23 +5115,26 @@ return function render(_ctx, _cache) {
51155115 ]),
51165116 _createElementVNode("div", { class: "docs-toolbar-grid" }, [
51175117 _createElementVNode("div", { class: "docs-toolbar-card" }, [
5118- _createElementVNode("label", {
5119- class: "form-label",
5120- for: "docs-install-package-manager"
5121- }, _toDisplayString(_ctx.t('common.packageManager')), 1 /* TEXT */),
5122- _withDirectives(_createElementVNode("select", {
5123- id: "docs-install-package-manager",
5124- class: "form-input",
5125- "onUpdate:modelValue": $event => ((_ctx.installPackageManager) = $event)
5126- }, [
5127- _createElementVNode("option", { value: "npm" }, "npm"),
5128- _createElementVNode("option", { value: "pnpm" }, "pnpm"),
5129- _createElementVNode("option", { value: "bun" }, "bun")
5130- ], 8 /* PROPS */, ["onUpdate:modelValue"]), [
5131- [_vModelSelect, _ctx.installPackageManager]
5118+ _createElementVNode("label", { class: "form-label" }, _toDisplayString(_ctx.t('common.packageManager')), 1 /* TEXT */),
5119+ _createElementVNode("div", { class: "install-action-tabs" }, [
5120+ _createElementVNode("button", {
5121+ type: "button",
5122+ class: _normalizeClass(["btn-mini", { active: _ctx.installPackageManager === 'npm' }]),
5123+ onClick: $event => (_ctx.installPackageManager = 'npm')
5124+ }, "npm", 10 /* CLASS, PROPS */, ["onClick"]),
5125+ _createElementVNode("button", {
5126+ type: "button",
5127+ class: _normalizeClass(["btn-mini", { active: _ctx.installPackageManager === 'pnpm' }]),
5128+ onClick: $event => (_ctx.installPackageManager = 'pnpm')
5129+ }, "pnpm", 10 /* CLASS, PROPS */, ["onClick"]),
5130+ _createElementVNode("button", {
5131+ type: "button",
5132+ class: _normalizeClass(["btn-mini", { active: _ctx.installPackageManager === 'bun' }]),
5133+ onClick: $event => (_ctx.installPackageManager = 'bun')
5134+ }, "bun", 10 /* CLASS, PROPS */, ["onClick"])
51325135 ])
51335136 ]),
5134- _createElementVNode("div", { class: "docs-toolbar-card docs-toolbar-card-wide " }, [
5137+ _createElementVNode("div", { class: "docs-toolbar-card" }, [
51355138 _createElementVNode("label", { class: "form-label" }, _toDisplayString(_ctx.t('common.mirror')), 1 /* TEXT */),
51365139 _createElementVNode("div", { class: "install-action-tabs" }, [
51375140 _createElementVNode("button", {
@@ -5172,7 +5175,7 @@ return function render(_ctx, _cache) {
51725175 }, _toDisplayString(_ctx.t('docs.registryHintCustom')), 1 /* TEXT */))
51735176 : _createCommentVNode("v-if", true)
51745177 ]),
5175- _createElementVNode("div", { class: "docs-toolbar-card docs-toolbar-card-wide " }, [
5178+ _createElementVNode("div", { class: "docs-toolbar-card" }, [
51765179 _createElementVNode("label", { class: "form-label" }, _toDisplayString(_ctx.t('common.action')), 1 /* TEXT */),
51775180 _createElementVNode("div", { class: "install-action-tabs" }, [
51785181 _createElementVNode("button", {
@@ -5192,20 +5195,6 @@ return function render(_ctx, _cache) {
51925195 }, _toDisplayString(_ctx.t('common.uninstall')), 11 /* TEXT, CLASS, PROPS */, ["onClick"])
51935196 ])
51945197 ])
5195- ]),
5196- _createElementVNode("div", { class: "docs-summary-strip" }, [
5197- _createElementVNode("div", { class: "docs-summary-item" }, [
5198- _createElementVNode("span", { class: "docs-summary-label" }, _toDisplayString(_ctx.t('common.targets')), 1 /* TEXT */),
5199- _createElementVNode("strong", { class: "docs-summary-value" }, _toDisplayString(_ctx.installTargetCards.length), 1 /* TEXT */)
5200- ]),
5201- _createElementVNode("div", { class: "docs-summary-item" }, [
5202- _createElementVNode("span", { class: "docs-summary-label" }, _toDisplayString(_ctx.t('common.currentPm')), 1 /* TEXT */),
5203- _createElementVNode("strong", { class: "docs-summary-value" }, _toDisplayString(String(_ctx.installPackageManager || 'npm').toUpperCase()), 1 /* TEXT */)
5204- ]),
5205- _createElementVNode("div", { class: "docs-summary-item docs-summary-item-wide" }, [
5206- _createElementVNode("span", { class: "docs-summary-label" }, _toDisplayString(_ctx.t('common.registry')), 1 /* TEXT */),
5207- _createElementVNode("strong", { class: "docs-summary-value" }, _toDisplayString(_ctx.installRegistryPreview || 'npmmirror'), 1 /* TEXT */)
5208- ])
52095198 ])
52105199 ]),
52115200 _createElementVNode("div", { class: "selector-section" }, [
0 commit comments