@codexhost/cli-darwin-x64 0.25.1 → 0.26.0-rc.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/README.md +1 -1
- package/app/codexhost-distribution.json +1 -1
- package/app/console-server.mjs +174 -18
- package/app/console-web.js +543 -230
- package/app/desktop-controller.mjs +154 -5
- package/app/host-runtime.mjs +1064 -645
- package/app/plugins/antigravity/plugin.mjs +202 -19
- package/app/plugins/claude-code/plugin.mjs +195 -10
- package/app/plugins/codebuddy/plugin.mjs +154 -5
- package/app/plugins/codex-usage/plugin.mjs +154 -5
- package/app/plugins/copilot/plugin.mjs +154 -5
- package/app/plugins/cursor-cli/plugin.mjs +154 -5
- package/app/plugins/deepseek-harness/plugin.mjs +182 -36
- package/app/plugins/devin/plugin.mjs +154 -5
- package/app/plugins/grok/plugin.mjs +154 -5
- package/app/plugins/hermes/plugin.mjs +198 -20
- package/app/plugins/kimi-code/plugin.mjs +154 -5
- package/app/plugins/kiro-cli/plugin.mjs +154 -5
- package/app/plugins/omp/plugin.mjs +154 -5
- package/app/plugins/opencode/plugin.mjs +155 -9
- package/app/plugins/pi/plugin.mjs +296 -33
- package/app/plugins/qoder/plugin.mjs +154 -5
- package/app/plugins/qoder-cn/plugin.mjs +154 -5
- package/app/plugins/qwen-code/plugin.mjs +154 -5
- package/app/plugins/workbuddy/plugin.mjs +154 -5
- package/app/plugins/zcode/plugin.mjs +154 -5
- package/app/renderer-extension.js +1132 -330
- package/app/web/assets/{index-DUOvhHbV.js → index-Bl_9AU27.js} +70 -70
- package/app/web/assets/{index-CTCFIQbU.css → index-arwoPpaG.css} +1 -1
- package/app/web/codexhost-settings.js +230 -140
- package/app/web/index.html +2 -2
- package/app/web/plugins/deepseek-ai__dsh-api-remotes/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-api-session-controller/client.js +8 -10
- package/app/web/plugins/deepseek-ai__dsh-client-ui-brand-official/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-chat/client.js +13 -13
- package/app/web/plugins/deepseek-ai__dsh-client-ui-codexhost/client.js +73 -73
- package/app/web/plugins/deepseek-ai__dsh-client-ui-conversation/client.js +75 -75
- package/app/web/plugins/deepseek-ai__dsh-client-ui-input-trigger/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-layout/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-theme/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-tool/client.js +18 -18
- package/app/web/plugins/deepseek-ai__dsh-client-ui-workspace/client.js +11 -11
- package/app/web-modules/server.mjs +14416 -13144
- package/bin/codexhost +0 -0
- package/libexec/CodexHost.app/Contents/Info.plist +2 -2
- package/libexec/CodexHost.app/Contents/MacOS/CodexHost +0 -0
- package/libexec/codexhost-shim +0 -0
- package/libexec/codexhost-updater +0 -0
- package/package.json +1 -1
package/app/console-web.js
CHANGED
|
@@ -15991,7 +15991,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15991
15991
|
assignments: external_exports.record(external_exports.string(), external_exports.string()),
|
|
15992
15992
|
projectless: external_exports.array(external_exports.string()),
|
|
15993
15993
|
/** Canonical external pin membership; pins/list provides the native merged order. */
|
|
15994
|
-
pinned: external_exports.array(external_exports.string())
|
|
15994
|
+
pinned: external_exports.array(external_exports.string()),
|
|
15995
|
+
/** Projects Desktop placed in each custom section, keyed by the official section ID, in
|
|
15996
|
+
* Desktop's section order. Omitted when no section holds a project. */
|
|
15997
|
+
sectionProjects: external_exports.record(external_exports.string(), external_exports.array(external_exports.string())).optional()
|
|
15995
15998
|
});
|
|
15996
15999
|
var record2 = external_exports.record(external_exports.string(), external_exports.unknown());
|
|
15997
16000
|
var clientChannelCursorSchema = external_exports.object({
|
|
@@ -16184,7 +16187,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16184
16187
|
var threadCatalogReadParamsSchema = external_exports.object({
|
|
16185
16188
|
includeArchived: external_exports.boolean().optional(),
|
|
16186
16189
|
/** Absent means first page; null means this branch is exhausted. Native cursors only. */
|
|
16187
|
-
officialCursor: external_exports.object({ live: external_exports.string().nullable(), archived: external_exports.string().nullable().optional() }).strict().optional()
|
|
16190
|
+
officialCursor: external_exports.object({ live: external_exports.string().nullable(), archived: external_exports.string().nullable().optional() }).strict().optional(),
|
|
16191
|
+
/**
|
|
16192
|
+
* Keep reading native pages until one holds a Thread in `cwd` but outside every
|
|
16193
|
+
* `excludeCwds` folder, the branch ends, or a page bound is reached. Every row read is
|
|
16194
|
+
* returned, so the native cursors stay contiguous.
|
|
16195
|
+
*/
|
|
16196
|
+
scope: external_exports.object({
|
|
16197
|
+
cwd: external_exports.string().min(1).max(4096),
|
|
16198
|
+
excludeCwds: external_exports.array(external_exports.string().min(1).max(4096)).max(1024)
|
|
16199
|
+
}).strict().optional()
|
|
16188
16200
|
}).strict();
|
|
16189
16201
|
var threadCatalogReadResultSchema = external_exports.object({
|
|
16190
16202
|
threads: external_exports.array(jsonObjectSchema),
|
|
@@ -16480,7 +16492,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16480
16492
|
timeoutMinutes: external_exports.number().int().min(IDLE_RELEASE_TIMEOUT_MINUTES_MIN).max(IDLE_RELEASE_TIMEOUT_MINUTES_MAX)
|
|
16481
16493
|
});
|
|
16482
16494
|
var DEFAULT_IDLE_RELEASE_SETTINGS = Object.freeze({
|
|
16483
|
-
enabled:
|
|
16495
|
+
enabled: true,
|
|
16484
16496
|
timeoutMinutes: 10
|
|
16485
16497
|
});
|
|
16486
16498
|
|
|
@@ -17267,7 +17279,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17267
17279
|
var UPDATE_ERROR_MAX_LENGTH = 500;
|
|
17268
17280
|
var UPDATE_SEMVER_PATTERN = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?$/u;
|
|
17269
17281
|
var updateSemanticVersionSchema = external_exports.string().regex(UPDATE_SEMVER_PATTERN);
|
|
17270
|
-
var updateInstallationSchema = external_exports.enum([
|
|
17282
|
+
var updateInstallationSchema = external_exports.enum([
|
|
17283
|
+
"npm",
|
|
17284
|
+
"windows-installer",
|
|
17285
|
+
"macos-dmg",
|
|
17286
|
+
"linux-archive"
|
|
17287
|
+
]);
|
|
17271
17288
|
var updatePhaseSchema = external_exports.enum([
|
|
17272
17289
|
"prepared",
|
|
17273
17290
|
"downloading",
|
|
@@ -17401,7 +17418,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17401
17418
|
var REMOTE_CONTROLLER_REQUEST_MAX_BYTES = 16 * 1024;
|
|
17402
17419
|
var REMOTE_IDENTITY_MAX_LENGTH = 1024;
|
|
17403
17420
|
var identity = external_exports.string().min(1).max(REMOTE_IDENTITY_MAX_LENGTH);
|
|
17404
|
-
var target = {
|
|
17421
|
+
var target = {
|
|
17422
|
+
hostId: identity.regex(/^(?:remote-(?:ssh(?:-|:)|control:)|remote-peer:[a-zA-Z0-9_-]{1,64}$)/u)
|
|
17423
|
+
};
|
|
17405
17424
|
var thread = { ...target, threadId: identity };
|
|
17406
17425
|
var text = external_exports.string().min(1).max(8e3);
|
|
17407
17426
|
var input = { text, requestId: identity };
|
|
@@ -17621,6 +17640,136 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17621
17640
|
var webUiExtensionEnabledSchema = external_exports.object({ id: webUiExtensionIdSchema, enabled: external_exports.boolean() }).strict();
|
|
17622
17641
|
var webUiExtensionRemoveSchema = external_exports.object({ id: webUiExtensionIdSchema }).strict();
|
|
17623
17642
|
|
|
17643
|
+
// ../shared-contracts/dist/remote-peers.js
|
|
17644
|
+
var REMOTE_PEER_ID_PATTERN = /^[a-zA-Z0-9_-]{1,64}$/u;
|
|
17645
|
+
var remotePeerIdSchema = external_exports.string().regex(REMOTE_PEER_ID_PATTERN);
|
|
17646
|
+
var remotePeerHostIdSchema = external_exports.string().regex(/^remote-peer:[a-zA-Z0-9_-]{1,64}$/u);
|
|
17647
|
+
var remotePeerTransportKindSchema = external_exports.enum(["relay", "tailscale", "lan", "custom"]);
|
|
17648
|
+
var remotePeerStateSchema = external_exports.enum([
|
|
17649
|
+
"connected",
|
|
17650
|
+
"connecting",
|
|
17651
|
+
"auth-error",
|
|
17652
|
+
"offline",
|
|
17653
|
+
"disabled"
|
|
17654
|
+
]);
|
|
17655
|
+
var remotePeerSummarySchema = external_exports.object({
|
|
17656
|
+
peerId: remotePeerIdSchema,
|
|
17657
|
+
hostId: remotePeerHostIdSchema,
|
|
17658
|
+
name: external_exports.string().min(1).max(120),
|
|
17659
|
+
origin: external_exports.string().min(1).max(2048),
|
|
17660
|
+
transportKind: remotePeerTransportKindSchema,
|
|
17661
|
+
encrypted: external_exports.boolean(),
|
|
17662
|
+
enabled: external_exports.boolean(),
|
|
17663
|
+
state: remotePeerStateSchema,
|
|
17664
|
+
latencyMs: external_exports.number().int().nonnegative().optional(),
|
|
17665
|
+
version: external_exports.string().max(128).optional(),
|
|
17666
|
+
platform: external_exports.string().max(64).optional(),
|
|
17667
|
+
hostname: external_exports.string().max(255).optional(),
|
|
17668
|
+
homeDir: external_exports.string().max(4096).optional(),
|
|
17669
|
+
lastError: external_exports.string().max(1e3).optional(),
|
|
17670
|
+
projectCount: external_exports.number().int().nonnegative(),
|
|
17671
|
+
createdAt: external_exports.string(),
|
|
17672
|
+
updatedAt: external_exports.string()
|
|
17673
|
+
});
|
|
17674
|
+
var remotePeerListResultSchema = external_exports.object({
|
|
17675
|
+
peers: external_exports.array(remotePeerSummarySchema)
|
|
17676
|
+
});
|
|
17677
|
+
var remotePeerAddParamsSchema = external_exports.object({
|
|
17678
|
+
connectionUrl: external_exports.string().min(1).max(4096).optional(),
|
|
17679
|
+
origin: external_exports.string().min(1).max(2048).optional(),
|
|
17680
|
+
token: external_exports.string().min(1).max(2048).optional(),
|
|
17681
|
+
name: external_exports.string().trim().min(1).max(120).optional()
|
|
17682
|
+
}).refine((input2) => Boolean(input2.connectionUrl) || Boolean(input2.origin) && Boolean(input2.token), "Provide either connectionUrl or both origin and token");
|
|
17683
|
+
var remotePeerUpdateParamsSchema = external_exports.object({
|
|
17684
|
+
peerId: remotePeerIdSchema,
|
|
17685
|
+
name: external_exports.string().trim().min(1).max(120).optional(),
|
|
17686
|
+
connectionUrl: external_exports.string().min(1).max(4096).optional(),
|
|
17687
|
+
origin: external_exports.string().min(1).max(2048).optional(),
|
|
17688
|
+
token: external_exports.string().min(1).max(2048).optional(),
|
|
17689
|
+
enabled: external_exports.boolean().optional()
|
|
17690
|
+
});
|
|
17691
|
+
var remotePeerIdParamsSchema = external_exports.object({
|
|
17692
|
+
peerId: remotePeerIdSchema
|
|
17693
|
+
});
|
|
17694
|
+
var remotePeerRemoveResultSchema = external_exports.object({
|
|
17695
|
+
removed: external_exports.boolean()
|
|
17696
|
+
});
|
|
17697
|
+
var remotePeerTestParamsSchema = external_exports.object({
|
|
17698
|
+
peerId: remotePeerIdSchema.optional(),
|
|
17699
|
+
connectionUrl: external_exports.string().min(1).max(4096).optional(),
|
|
17700
|
+
origin: external_exports.string().min(1).max(2048).optional(),
|
|
17701
|
+
token: external_exports.string().min(1).max(2048).optional()
|
|
17702
|
+
}).refine((input2) => Boolean(input2.peerId) || Boolean(input2.connectionUrl) || Boolean(input2.origin) && Boolean(input2.token), "Provide peerId, connectionUrl, or both origin and token");
|
|
17703
|
+
var remotePeerTestResultSchema = external_exports.object({
|
|
17704
|
+
ok: external_exports.boolean(),
|
|
17705
|
+
latencyMs: external_exports.number().int().nonnegative().optional(),
|
|
17706
|
+
origin: external_exports.string().max(2048).optional(),
|
|
17707
|
+
transportKind: remotePeerTransportKindSchema.optional(),
|
|
17708
|
+
encrypted: external_exports.boolean().optional(),
|
|
17709
|
+
version: external_exports.string().max(128).optional(),
|
|
17710
|
+
platform: external_exports.string().max(64).optional(),
|
|
17711
|
+
hostname: external_exports.string().max(255).optional(),
|
|
17712
|
+
homeDir: external_exports.string().max(4096).optional(),
|
|
17713
|
+
projectCount: external_exports.number().int().nonnegative().optional(),
|
|
17714
|
+
error: external_exports.string().max(1e3).optional()
|
|
17715
|
+
});
|
|
17716
|
+
var remotePeerManifestProjectSchema = external_exports.object({
|
|
17717
|
+
id: external_exports.string().min(1).max(1024),
|
|
17718
|
+
name: external_exports.string().min(1).max(512),
|
|
17719
|
+
path: external_exports.string().min(1).max(8192),
|
|
17720
|
+
threadIds: external_exports.array(external_exports.string().min(1).max(1024))
|
|
17721
|
+
});
|
|
17722
|
+
var remotePeerManifestSchema = external_exports.object({
|
|
17723
|
+
version: external_exports.string().max(128),
|
|
17724
|
+
platform: external_exports.string().max(64),
|
|
17725
|
+
hostname: external_exports.string().max(255),
|
|
17726
|
+
homeDir: external_exports.string().max(4096).optional(),
|
|
17727
|
+
epoch: external_exports.string().min(1).max(256),
|
|
17728
|
+
projects: external_exports.array(remotePeerManifestProjectSchema)
|
|
17729
|
+
});
|
|
17730
|
+
var remotePeerDirectoryEntrySchema = external_exports.object({
|
|
17731
|
+
name: external_exports.string().min(1).max(512),
|
|
17732
|
+
path: external_exports.string().min(1).max(8192),
|
|
17733
|
+
kind: external_exports.literal("directory")
|
|
17734
|
+
});
|
|
17735
|
+
var remotePeerListDirsParamsSchema = external_exports.object({
|
|
17736
|
+
peerId: remotePeerIdSchema,
|
|
17737
|
+
path: external_exports.string().min(1).max(8192).optional()
|
|
17738
|
+
});
|
|
17739
|
+
var remotePeerListDirsResultSchema = external_exports.object({
|
|
17740
|
+
path: external_exports.string().min(1).max(8192),
|
|
17741
|
+
parentPath: external_exports.string().min(1).max(8192).nullable(),
|
|
17742
|
+
homeDir: external_exports.string().min(1).max(8192).optional(),
|
|
17743
|
+
entries: external_exports.array(remotePeerDirectoryEntrySchema)
|
|
17744
|
+
});
|
|
17745
|
+
var remotePeerCreateDirParamsSchema = external_exports.object({
|
|
17746
|
+
peerId: remotePeerIdSchema,
|
|
17747
|
+
parentPath: external_exports.string().min(1).max(8192),
|
|
17748
|
+
name: external_exports.string().min(1).max(255).refine((value) => value.trim().length > 0, "Directory name cannot be blank")
|
|
17749
|
+
});
|
|
17750
|
+
var remotePeerCreateDirResultSchema = external_exports.object({
|
|
17751
|
+
path: external_exports.string().min(1).max(8192),
|
|
17752
|
+
name: external_exports.string().min(1).max(255)
|
|
17753
|
+
});
|
|
17754
|
+
var remotePeerCreateWorkspaceParamsSchema = external_exports.object({
|
|
17755
|
+
peerId: remotePeerIdSchema,
|
|
17756
|
+
path: external_exports.string().min(1).max(8192),
|
|
17757
|
+
title: external_exports.string().trim().min(1).max(255).optional()
|
|
17758
|
+
});
|
|
17759
|
+
var remotePeerRenameWorkspaceParamsSchema = external_exports.object({
|
|
17760
|
+
peerId: remotePeerIdSchema,
|
|
17761
|
+
workspaceId: external_exports.string().min(1).max(1024),
|
|
17762
|
+
title: external_exports.string().trim().min(1).max(255)
|
|
17763
|
+
});
|
|
17764
|
+
var remotePeerDeleteWorkspaceParamsSchema = external_exports.object({
|
|
17765
|
+
peerId: remotePeerIdSchema,
|
|
17766
|
+
workspaceId: external_exports.string().min(1).max(1024)
|
|
17767
|
+
});
|
|
17768
|
+
var remotePeerWorkspaceMutationResultSchema = external_exports.object({
|
|
17769
|
+
workspaceId: external_exports.string().min(1).max(1024).optional(),
|
|
17770
|
+
manifest: remotePeerManifestSchema
|
|
17771
|
+
});
|
|
17772
|
+
|
|
17624
17773
|
// ../shared-contracts/dist/index.js
|
|
17625
17774
|
var workspaceContractVersionSchema = external_exports.literal(WORKSPACE_CONTRACT_VERSION);
|
|
17626
17775
|
|
|
@@ -21353,12 +21502,39 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21353
21502
|
function isRecord(value) {
|
|
21354
21503
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
21355
21504
|
}
|
|
21356
|
-
|
|
21505
|
+
function usesIndependentNativeInference(value, modelProvider) {
|
|
21506
|
+
const config2 = isRecord(value) ? value.config : null;
|
|
21507
|
+
if (!isRecord(config2)) return false;
|
|
21508
|
+
const providerId = modelProvider ?? config2.model_provider;
|
|
21509
|
+
if (typeof providerId !== "string") return false;
|
|
21510
|
+
if (["openai", "cc-switch-official", "codexhost"].includes(providerId)) return false;
|
|
21511
|
+
const providers = config2.model_providers;
|
|
21512
|
+
const provider = isRecord(providers) ? providers[providerId] : null;
|
|
21513
|
+
if (!isRecord(provider) || typeof provider.base_url !== "string") return false;
|
|
21514
|
+
if (!URL.canParse(provider.base_url)) return false;
|
|
21515
|
+
const endpoint = new URL(provider.base_url);
|
|
21516
|
+
if (!["http:", "https:"].includes(endpoint.protocol)) return false;
|
|
21517
|
+
const hostname3 = endpoint.hostname.replace(/\.$/u, "");
|
|
21518
|
+
if (["openai.com", "chatgpt.com"].some(
|
|
21519
|
+
(domain2) => hostname3 === domain2 || hostname3.endsWith(`.${domain2}`)
|
|
21520
|
+
)) {
|
|
21521
|
+
return false;
|
|
21522
|
+
}
|
|
21523
|
+
return provider.requires_openai_auth === false || typeof provider.experimental_bearer_token === "string" && provider.experimental_bearer_token.trim().length > 0 || typeof provider.env_key === "string" && provider.env_key.trim().length > 0;
|
|
21524
|
+
}
|
|
21525
|
+
async function readNativeCodexThread(sendRequest, threadId) {
|
|
21357
21526
|
const native = await sendRequest("thread/read", { threadId, includeTurns: false });
|
|
21358
21527
|
const thread2 = isRecord(native) ? native.thread : null;
|
|
21359
21528
|
if (!isRecord(thread2) || thread2.id !== threadId || typeof thread2.modelProvider !== "string" || !thread2.modelProvider || thread2.modelProvider === "codexhost" || typeof thread2.cliVersion !== "string" || !thread2.cliVersion || thread2.cliVersion === "codexhost") {
|
|
21360
21529
|
throw new Error("Native Thread response cannot establish Codex ownership");
|
|
21361
21530
|
}
|
|
21531
|
+
return {
|
|
21532
|
+
modelProvider: thread2.modelProvider,
|
|
21533
|
+
cwd: typeof thread2.cwd === "string" && thread2.cwd.trim().length > 0 ? thread2.cwd : null
|
|
21534
|
+
};
|
|
21535
|
+
}
|
|
21536
|
+
async function verifyNativeCodexThread(sendRequest, threadId) {
|
|
21537
|
+
await readNativeCodexThread(sendRequest, threadId);
|
|
21362
21538
|
}
|
|
21363
21539
|
|
|
21364
21540
|
// src/renderer-session-import-client.ts
|
|
@@ -21558,6 +21734,31 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21558
21734
|
return harnessConfigurationStateSchema.parse(result);
|
|
21559
21735
|
};
|
|
21560
21736
|
return Object.freeze({
|
|
21737
|
+
async usesIndependentNativeInference(input2) {
|
|
21738
|
+
if (!input2) return false;
|
|
21739
|
+
if ("threadId" in input2) {
|
|
21740
|
+
const thread2 = await readNativeCodexThread(
|
|
21741
|
+
manager.sendRequest,
|
|
21742
|
+
threadInspectionParamsSchema.parse(input2).threadId
|
|
21743
|
+
);
|
|
21744
|
+
if (!thread2.cwd) return false;
|
|
21745
|
+
return usesIndependentNativeInference(
|
|
21746
|
+
await manager.sendRequest("config/read", {
|
|
21747
|
+
includeLayers: false,
|
|
21748
|
+
cwd: thread2.cwd
|
|
21749
|
+
}),
|
|
21750
|
+
thread2.modelProvider
|
|
21751
|
+
);
|
|
21752
|
+
}
|
|
21753
|
+
const cwd = typeof input2.cwd === "string" && input2.cwd.trim().length > 0 ? input2.cwd : null;
|
|
21754
|
+
if (!cwd) return false;
|
|
21755
|
+
return usesIndependentNativeInference(
|
|
21756
|
+
await manager.sendRequest("config/read", {
|
|
21757
|
+
includeLayers: false,
|
|
21758
|
+
cwd
|
|
21759
|
+
})
|
|
21760
|
+
);
|
|
21761
|
+
},
|
|
21561
21762
|
async getHarnessPreferences(scope = "external") {
|
|
21562
21763
|
return harnessPreferenceSnapshotSchema.parse(
|
|
21563
21764
|
await manager.sendRequest(
|
|
@@ -24675,7 +24876,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
24675
24876
|
screenshotPreviewLabel: "\u9884\u89C8\u7B2C {index} \u5F20\u622A\u56FE\uFF08\u5171 {total} \u5F20\uFF09",
|
|
24676
24877
|
previousScreenshot: "\u4E0A\u4E00\u5F20\u622A\u56FE",
|
|
24677
24878
|
nextScreenshot: "\u4E0B\u4E00\u5F20\u622A\u56FE",
|
|
24678
|
-
closePreview: "\
|
|
24879
|
+
closePreview: "\u5173\u95ED\u9884\u89C8",
|
|
24679
24880
|
openExtensionSettings: "\u6253\u5F00\u8BBE\u7F6E",
|
|
24680
24881
|
extensionSettingsTitle: "\u63D2\u4EF6\u8BBE\u7F6E",
|
|
24681
24882
|
extensionSettingsDisabledHint: "\u7981\u7528\u65F6\u4E5F\u53EF\u7F16\u8F91",
|
|
@@ -25030,6 +25231,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
25030
25231
|
updateInstallationNpm: "npm",
|
|
25031
25232
|
updateInstallationWindowsInstaller: "Windows installer",
|
|
25032
25233
|
updateInstallationMacOsDmg: "macOS DMG",
|
|
25234
|
+
updateInstallationLinuxArchive: "Linux archive (.tar.gz)",
|
|
25033
25235
|
updateInstallationUnknown: "Unknown",
|
|
25034
25236
|
updateLatestVersion: "Latest version",
|
|
25035
25237
|
updateUpToDate: "You are up to date.",
|
|
@@ -25332,6 +25534,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
25332
25534
|
updateInstallationNpm: "npm",
|
|
25333
25535
|
updateInstallationWindowsInstaller: "Windows \u5B89\u88C5\u7A0B\u5E8F",
|
|
25334
25536
|
updateInstallationMacOsDmg: "macOS DMG",
|
|
25537
|
+
updateInstallationLinuxArchive: "Linux \u538B\u7F29\u5305\uFF08.tar.gz\uFF09",
|
|
25335
25538
|
updateInstallationUnknown: "\u672A\u77E5",
|
|
25336
25539
|
updateLatestVersion: "\u6700\u65B0\u7248\u672C",
|
|
25337
25540
|
updateUpToDate: "\u5F53\u524D\u5DF2\u662F\u6700\u65B0\u7248\u672C\u3002",
|
|
@@ -33571,6 +33774,9 @@ ${error51.stderrTail}`] : []
|
|
|
33571
33774
|
const roundedM = Math.round(normalized / 1e6 * 10) / 10;
|
|
33572
33775
|
return `${Number.isInteger(roundedM) ? roundedM.toFixed(0) : roundedM.toFixed(1)}m`;
|
|
33573
33776
|
}
|
|
33777
|
+
function formatPositiveExtensionCount(count3) {
|
|
33778
|
+
return isValidExtensionCount(count3) && count3 > 0 ? formatExtensionCount(count3) : null;
|
|
33779
|
+
}
|
|
33574
33780
|
function arrayBufferToBase64(buffer) {
|
|
33575
33781
|
const bytes = new Uint8Array(buffer);
|
|
33576
33782
|
const chunkSize = 32768;
|
|
@@ -33824,8 +34030,6 @@ ${error51.stderrTail}`] : []
|
|
|
33824
34030
|
iconUrl,
|
|
33825
34031
|
author,
|
|
33826
34032
|
version: version2,
|
|
33827
|
-
repository,
|
|
33828
|
-
stars,
|
|
33829
34033
|
downloads,
|
|
33830
34034
|
trustTier,
|
|
33831
34035
|
statusState,
|
|
@@ -33939,21 +34143,25 @@ ${error51.stderrTail}`] : []
|
|
|
33939
34143
|
card.append(body);
|
|
33940
34144
|
}
|
|
33941
34145
|
if (update) {
|
|
34146
|
+
card.dataset.updateAvailable = "true";
|
|
33942
34147
|
const row = createEl(document2, "div", "settings-extensions-card__update");
|
|
33943
34148
|
row.dataset.updateAvailable = "true";
|
|
33944
34149
|
update.action.addEventListener("click", stopTrigger);
|
|
33945
34150
|
update.action.addEventListener("keydown", stopTrigger);
|
|
33946
|
-
|
|
34151
|
+
const label = createEl(
|
|
34152
|
+
document2,
|
|
34153
|
+
"span",
|
|
34154
|
+
"settings-extensions-card__update-label",
|
|
34155
|
+
update.label
|
|
34156
|
+
);
|
|
34157
|
+
row.append(label, update.action);
|
|
33947
34158
|
card.append(row);
|
|
33948
34159
|
}
|
|
33949
34160
|
const authorVersion = formatAuthorVersion(author, version2);
|
|
33950
|
-
const
|
|
33951
|
-
const formattedStars = isValidExtensionCount(stars) ? formatExtensionCount(stars) : null;
|
|
33952
|
-
const formattedDownloads = isValidExtensionCount(downloads) ? formatExtensionCount(downloads) : null;
|
|
34161
|
+
const formattedDownloads = formatPositiveExtensionCount(downloads);
|
|
33953
34162
|
const categoryLabels = (categories ?? []).slice(0, MAX_CARD_CATEGORIES).map((category) => contentCopy.categories[category] ?? category);
|
|
33954
34163
|
const categoriesText = categoryLabels.join(" \xB7 ");
|
|
33955
|
-
|
|
33956
|
-
if (authorVersion || repositoryHref || formattedStars || formattedDownloads || categoriesText) {
|
|
34164
|
+
if (authorVersion || formattedDownloads || categoriesText) {
|
|
33957
34165
|
const metaRow = createEl(document2, "div", "settings-extensions-card__meta");
|
|
33958
34166
|
const metaLeft = createEl(document2, "div", "settings-extensions-card__meta-left");
|
|
33959
34167
|
if (authorVersion) {
|
|
@@ -33966,35 +34174,6 @@ ${error51.stderrTail}`] : []
|
|
|
33966
34174
|
authorVersionWrap.title = authorVersion;
|
|
33967
34175
|
metaLeft.append(authorVersionWrap);
|
|
33968
34176
|
}
|
|
33969
|
-
if (repositoryHref) {
|
|
33970
|
-
const starLink = createEl(
|
|
33971
|
-
document2,
|
|
33972
|
-
"a",
|
|
33973
|
-
"settings-extensions-card__star settings-extensions-card__star--link"
|
|
33974
|
-
);
|
|
33975
|
-
starLink.href = repositoryHref;
|
|
33976
|
-
starLink.target = "_blank";
|
|
33977
|
-
starLink.rel = "noopener noreferrer";
|
|
33978
|
-
starLink.dataset.action = "open-repository";
|
|
33979
|
-
const label = formattedStars ? `${copy.githubRepository} \xB7 ${formattedStars}` : copy.githubRepository;
|
|
33980
|
-
starLink.title = label;
|
|
33981
|
-
starLink.setAttribute("aria-label", label);
|
|
33982
|
-
starLink.append(createRendererSettingsIcon("star", 11));
|
|
33983
|
-
if (formattedStars) {
|
|
33984
|
-
starLink.append(createEl(document2, "span", "", formattedStars));
|
|
33985
|
-
}
|
|
33986
|
-
starLink.addEventListener("click", stopTrigger);
|
|
33987
|
-
starLink.addEventListener("keydown", stopTrigger);
|
|
33988
|
-
starControl = starLink;
|
|
33989
|
-
metaLeft.append(starLink);
|
|
33990
|
-
} else if (formattedStars) {
|
|
33991
|
-
const starBadge = createEl(document2, "span", "settings-extensions-card__star");
|
|
33992
|
-
starBadge.append(
|
|
33993
|
-
createRendererSettingsIcon("star", 11),
|
|
33994
|
-
createEl(document2, "span", "", formattedStars)
|
|
33995
|
-
);
|
|
33996
|
-
metaLeft.append(starBadge);
|
|
33997
|
-
}
|
|
33998
34177
|
if (formattedDownloads) {
|
|
33999
34178
|
const downloadsBadge = createEl(document2, "span", "settings-extensions-card__downloads");
|
|
34000
34179
|
downloadsBadge.dataset.metric = "downloads";
|
|
@@ -34022,12 +34201,10 @@ ${error51.stderrTail}`] : []
|
|
|
34022
34201
|
}
|
|
34023
34202
|
card.addEventListener("click", (event) => {
|
|
34024
34203
|
if (isWithinElement(event.target, actionWrap)) return;
|
|
34025
|
-
if (starControl && isWithinElement(event.target, starControl)) return;
|
|
34026
34204
|
onOpenDetails();
|
|
34027
34205
|
});
|
|
34028
34206
|
card.addEventListener("keydown", (event) => {
|
|
34029
34207
|
if (isWithinElement(event.target, actionWrap)) return;
|
|
34030
|
-
if (starControl && isWithinElement(event.target, starControl)) return;
|
|
34031
34208
|
if (event.key === "Enter" || event.key === " ") {
|
|
34032
34209
|
event.preventDefault();
|
|
34033
34210
|
onOpenDetails();
|
|
@@ -34546,20 +34723,17 @@ ${error51.stderrTail}`] : []
|
|
|
34546
34723
|
let settingsSection = null;
|
|
34547
34724
|
let descriptionSection = null;
|
|
34548
34725
|
let screenshotsSection = null;
|
|
34549
|
-
let previewStage = null;
|
|
34550
|
-
let previewImage = null;
|
|
34551
|
-
let previewCounter = null;
|
|
34552
|
-
let previewPrevButton = null;
|
|
34553
|
-
let previewNextButton = null;
|
|
34554
34726
|
let galleryGrid = null;
|
|
34727
|
+
let lightboxDialog = null;
|
|
34728
|
+
let lightboxImage = null;
|
|
34729
|
+
let lightboxCounter = null;
|
|
34730
|
+
let lightboxPrevButton = null;
|
|
34731
|
+
let lightboxNextButton = null;
|
|
34732
|
+
let lightboxReturnFocus = null;
|
|
34555
34733
|
let currentScreenshots = [];
|
|
34556
34734
|
let currentDisplayName = "";
|
|
34557
|
-
const
|
|
34558
|
-
if (!
|
|
34559
|
-
const total = currentScreenshots.length;
|
|
34560
|
-
if (activeScreenshotIndex !== null && (activeScreenshotIndex < 0 || activeScreenshotIndex >= total)) {
|
|
34561
|
-
activeScreenshotIndex = null;
|
|
34562
|
-
}
|
|
34735
|
+
const syncThumbPressed = () => {
|
|
34736
|
+
if (!galleryGrid) return;
|
|
34563
34737
|
const thumbButtons = galleryGrid.children;
|
|
34564
34738
|
for (let i = 0; i < thumbButtons.length; i += 1) {
|
|
34565
34739
|
const button2 = thumbButtons[i];
|
|
@@ -34567,28 +34741,138 @@ ${error51.stderrTail}`] : []
|
|
|
34567
34741
|
button2.setAttribute("aria-pressed", String(activeScreenshotIndex === i));
|
|
34568
34742
|
}
|
|
34569
34743
|
}
|
|
34570
|
-
|
|
34571
|
-
|
|
34572
|
-
|
|
34573
|
-
|
|
34744
|
+
};
|
|
34745
|
+
const cleanupLightbox = () => {
|
|
34746
|
+
const previous = lightboxDialog;
|
|
34747
|
+
const restore = lightboxReturnFocus;
|
|
34748
|
+
lightboxDialog = null;
|
|
34749
|
+
lightboxImage = null;
|
|
34750
|
+
lightboxCounter = null;
|
|
34751
|
+
lightboxPrevButton = null;
|
|
34752
|
+
lightboxNextButton = null;
|
|
34753
|
+
lightboxReturnFocus = null;
|
|
34754
|
+
activeScreenshotIndex = null;
|
|
34755
|
+
previous?.remove();
|
|
34756
|
+
syncThumbPressed();
|
|
34757
|
+
if (restore && restore.isConnected && typeof restore.focus === "function") {
|
|
34758
|
+
restore.focus();
|
|
34759
|
+
}
|
|
34760
|
+
};
|
|
34761
|
+
const closeLightbox = () => {
|
|
34762
|
+
if (!lightboxDialog) {
|
|
34763
|
+
activeScreenshotIndex = null;
|
|
34764
|
+
syncThumbPressed();
|
|
34765
|
+
return;
|
|
34766
|
+
}
|
|
34767
|
+
if (lightboxDialog.open) {
|
|
34768
|
+
lightboxDialog.close();
|
|
34769
|
+
} else {
|
|
34770
|
+
cleanupLightbox();
|
|
34771
|
+
}
|
|
34772
|
+
};
|
|
34773
|
+
const syncLightbox = () => {
|
|
34774
|
+
const total = currentScreenshots.length;
|
|
34775
|
+
if (activeScreenshotIndex === null || total === 0 || activeScreenshotIndex < 0 || activeScreenshotIndex >= total) {
|
|
34776
|
+
closeLightbox();
|
|
34574
34777
|
return;
|
|
34575
34778
|
}
|
|
34576
34779
|
const activeUrl = currentScreenshots[activeScreenshotIndex];
|
|
34577
34780
|
if (!activeUrl) {
|
|
34578
|
-
|
|
34579
|
-
previewImage.src = "";
|
|
34580
|
-
previewImage.alt = "";
|
|
34781
|
+
closeLightbox();
|
|
34581
34782
|
return;
|
|
34582
34783
|
}
|
|
34583
|
-
|
|
34584
|
-
|
|
34585
|
-
|
|
34586
|
-
|
|
34587
|
-
|
|
34588
|
-
|
|
34589
|
-
|
|
34590
|
-
|
|
34591
|
-
|
|
34784
|
+
if (!lightboxDialog) {
|
|
34785
|
+
const modal = createEl(document2, "dialog", "settings-extensions-lightbox");
|
|
34786
|
+
modal.setAttribute("aria-label", copy.screenshotsTitle);
|
|
34787
|
+
modal.tabIndex = -1;
|
|
34788
|
+
lightboxImage = createEl(document2, "img", "settings-extensions-lightbox__img");
|
|
34789
|
+
const closeBtn = createEl(
|
|
34790
|
+
document2,
|
|
34791
|
+
"button",
|
|
34792
|
+
"settings-extensions-lightbox__btn settings-extensions-lightbox__close"
|
|
34793
|
+
);
|
|
34794
|
+
closeBtn.type = "button";
|
|
34795
|
+
closeBtn.title = copy.closePreview;
|
|
34796
|
+
closeBtn.setAttribute("aria-label", copy.closePreview);
|
|
34797
|
+
closeBtn.append(createRendererSettingsIcon("close", 16));
|
|
34798
|
+
closeBtn.addEventListener("click", () => modal.close());
|
|
34799
|
+
lightboxPrevButton = createEl(
|
|
34800
|
+
document2,
|
|
34801
|
+
"button",
|
|
34802
|
+
"settings-extensions-lightbox__btn settings-extensions-lightbox__nav settings-extensions-lightbox__nav--prev"
|
|
34803
|
+
);
|
|
34804
|
+
lightboxPrevButton.type = "button";
|
|
34805
|
+
lightboxPrevButton.title = copy.previousScreenshot;
|
|
34806
|
+
lightboxPrevButton.setAttribute("aria-label", copy.previousScreenshot);
|
|
34807
|
+
lightboxPrevButton.append(createRendererSettingsIcon("chevron-left", 18));
|
|
34808
|
+
lightboxPrevButton.addEventListener("click", () => {
|
|
34809
|
+
if (activeScreenshotIndex === null || currentScreenshots.length <= 1) return;
|
|
34810
|
+
activeScreenshotIndex = (activeScreenshotIndex - 1 + currentScreenshots.length) % currentScreenshots.length;
|
|
34811
|
+
syncLightbox();
|
|
34812
|
+
});
|
|
34813
|
+
lightboxNextButton = createEl(
|
|
34814
|
+
document2,
|
|
34815
|
+
"button",
|
|
34816
|
+
"settings-extensions-lightbox__btn settings-extensions-lightbox__nav settings-extensions-lightbox__nav--next"
|
|
34817
|
+
);
|
|
34818
|
+
lightboxNextButton.type = "button";
|
|
34819
|
+
lightboxNextButton.title = copy.nextScreenshot;
|
|
34820
|
+
lightboxNextButton.setAttribute("aria-label", copy.nextScreenshot);
|
|
34821
|
+
lightboxNextButton.append(createRendererSettingsIcon("chevron-right", 18));
|
|
34822
|
+
lightboxNextButton.addEventListener("click", () => {
|
|
34823
|
+
if (activeScreenshotIndex === null || currentScreenshots.length <= 1) return;
|
|
34824
|
+
activeScreenshotIndex = (activeScreenshotIndex + 1) % currentScreenshots.length;
|
|
34825
|
+
syncLightbox();
|
|
34826
|
+
});
|
|
34827
|
+
lightboxCounter = createEl(document2, "span", "settings-extensions-lightbox__count");
|
|
34828
|
+
modal.append(
|
|
34829
|
+
lightboxImage,
|
|
34830
|
+
closeBtn,
|
|
34831
|
+
lightboxPrevButton,
|
|
34832
|
+
lightboxNextButton,
|
|
34833
|
+
lightboxCounter
|
|
34834
|
+
);
|
|
34835
|
+
modal.addEventListener("click", (event) => {
|
|
34836
|
+
if (event.target === modal) modal.close();
|
|
34837
|
+
});
|
|
34838
|
+
modal.addEventListener("keydown", (event) => {
|
|
34839
|
+
if (event.key === "Escape") {
|
|
34840
|
+
event.preventDefault();
|
|
34841
|
+
event.stopPropagation?.();
|
|
34842
|
+
modal.close();
|
|
34843
|
+
} else if (event.key === "ArrowLeft" && currentScreenshots.length > 1) {
|
|
34844
|
+
event.preventDefault();
|
|
34845
|
+
event.stopPropagation?.();
|
|
34846
|
+
activeScreenshotIndex = ((activeScreenshotIndex ?? 0) - 1 + currentScreenshots.length) % currentScreenshots.length;
|
|
34847
|
+
syncLightbox();
|
|
34848
|
+
} else if (event.key === "ArrowRight" && currentScreenshots.length > 1) {
|
|
34849
|
+
event.preventDefault();
|
|
34850
|
+
event.stopPropagation?.();
|
|
34851
|
+
activeScreenshotIndex = ((activeScreenshotIndex ?? 0) + 1) % currentScreenshots.length;
|
|
34852
|
+
syncLightbox();
|
|
34853
|
+
}
|
|
34854
|
+
});
|
|
34855
|
+
modal.addEventListener("close", cleanupLightbox);
|
|
34856
|
+
lightboxDialog = modal;
|
|
34857
|
+
host.append(modal);
|
|
34858
|
+
modal.showModal();
|
|
34859
|
+
modal.focus();
|
|
34860
|
+
}
|
|
34861
|
+
if (lightboxImage) {
|
|
34862
|
+
lightboxImage.src = activeUrl;
|
|
34863
|
+
lightboxImage.alt = formatMessage(copy.screenshotAlt, {
|
|
34864
|
+
name: currentDisplayName,
|
|
34865
|
+
index: String(activeScreenshotIndex + 1)
|
|
34866
|
+
});
|
|
34867
|
+
}
|
|
34868
|
+
const multi = total > 1;
|
|
34869
|
+
if (lightboxPrevButton) lightboxPrevButton.hidden = !multi;
|
|
34870
|
+
if (lightboxNextButton) lightboxNextButton.hidden = !multi;
|
|
34871
|
+
if (lightboxCounter) {
|
|
34872
|
+
lightboxCounter.hidden = !multi;
|
|
34873
|
+
lightboxCounter.textContent = multi ? `${activeScreenshotIndex + 1} / ${total}` : "";
|
|
34874
|
+
}
|
|
34875
|
+
syncThumbPressed();
|
|
34592
34876
|
};
|
|
34593
34877
|
const renderScreenshots = (extensionId, installed, catalogEntry, displayName) => {
|
|
34594
34878
|
if (!screenshotsSection || !galleryGrid) return;
|
|
@@ -34597,21 +34881,20 @@ ${error51.stderrTail}`] : []
|
|
|
34597
34881
|
currentDisplayName = displayName;
|
|
34598
34882
|
if (urls.length === 0) {
|
|
34599
34883
|
renderedScreenshotsKey = "";
|
|
34600
|
-
activeScreenshotIndex = null;
|
|
34601
34884
|
screenshotsSection.hidden = true;
|
|
34602
34885
|
galleryGrid.replaceChildren();
|
|
34603
|
-
|
|
34886
|
+
closeLightbox();
|
|
34604
34887
|
return;
|
|
34605
34888
|
}
|
|
34606
34889
|
screenshotsSection.hidden = false;
|
|
34607
34890
|
const signature = `${extensionId}\0${urls.join("\0")}`;
|
|
34608
34891
|
if (signature === renderedScreenshotsKey) {
|
|
34609
|
-
|
|
34892
|
+
if (activeScreenshotIndex !== null) syncLightbox();
|
|
34610
34893
|
return;
|
|
34611
34894
|
}
|
|
34612
34895
|
renderedScreenshotsKey = signature;
|
|
34613
34896
|
if (activeScreenshotIndex !== null && activeScreenshotIndex >= urls.length) {
|
|
34614
|
-
|
|
34897
|
+
closeLightbox();
|
|
34615
34898
|
}
|
|
34616
34899
|
const thumbs = [];
|
|
34617
34900
|
for (let i = 0; i < urls.length; i += 1) {
|
|
@@ -34637,13 +34920,14 @@ ${error51.stderrTail}`] : []
|
|
|
34637
34920
|
image.loading = "lazy";
|
|
34638
34921
|
thumbButton.append(image);
|
|
34639
34922
|
thumbButton.addEventListener("click", () => {
|
|
34640
|
-
|
|
34641
|
-
|
|
34923
|
+
lightboxReturnFocus = thumbButton;
|
|
34924
|
+
activeScreenshotIndex = i;
|
|
34925
|
+
syncLightbox();
|
|
34642
34926
|
});
|
|
34643
34927
|
thumbs.push(thumbButton);
|
|
34644
34928
|
}
|
|
34645
34929
|
galleryGrid.replaceChildren(...thumbs);
|
|
34646
|
-
|
|
34930
|
+
if (activeScreenshotIndex !== null) syncLightbox();
|
|
34647
34931
|
};
|
|
34648
34932
|
const renderInlineSettings = (installed, contentLocale) => {
|
|
34649
34933
|
if (!settingsSection) return;
|
|
@@ -35256,8 +35540,8 @@ ${error51.stderrTail}`] : []
|
|
|
35256
35540
|
const repositoryHref = parseSafeRepositoryUrl(
|
|
35257
35541
|
(installed?.state === "valid" ? installed.manifest.repository : void 0) ?? catalogEntry?.repository
|
|
35258
35542
|
);
|
|
35259
|
-
const formattedStars =
|
|
35260
|
-
const formattedDownloads =
|
|
35543
|
+
const formattedStars = formatPositiveExtensionCount(catalogEntry?.stars);
|
|
35544
|
+
const formattedDownloads = formatPositiveExtensionCount(catalogEntry?.downloads);
|
|
35261
35545
|
if (repositoryHref) {
|
|
35262
35546
|
const repoLink = createEl(document2, "a", "settings-extensions-detail-modal__repo");
|
|
35263
35547
|
repoLink.href = repositoryHref;
|
|
@@ -35343,6 +35627,7 @@ ${error51.stderrTail}`] : []
|
|
|
35343
35627
|
};
|
|
35344
35628
|
const cleanup = () => {
|
|
35345
35629
|
signal.removeEventListener("abort", cleanup);
|
|
35630
|
+
closeLightbox();
|
|
35346
35631
|
settingsLoadToken += 1;
|
|
35347
35632
|
const previous = dialog;
|
|
35348
35633
|
dialog = null;
|
|
@@ -35370,11 +35655,6 @@ ${error51.stderrTail}`] : []
|
|
|
35370
35655
|
settingsSection = null;
|
|
35371
35656
|
descriptionSection = null;
|
|
35372
35657
|
screenshotsSection = null;
|
|
35373
|
-
previewStage = null;
|
|
35374
|
-
previewImage = null;
|
|
35375
|
-
previewCounter = null;
|
|
35376
|
-
previewPrevButton = null;
|
|
35377
|
-
previewNextButton = null;
|
|
35378
35658
|
galleryGrid = null;
|
|
35379
35659
|
previous?.remove();
|
|
35380
35660
|
onClose?.();
|
|
@@ -35456,60 +35736,8 @@ ${error51.stderrTail}`] : []
|
|
|
35456
35736
|
"settings-extensions-detail-modal__section-title",
|
|
35457
35737
|
copy.screenshotsTitle
|
|
35458
35738
|
);
|
|
35459
|
-
previewStage = createEl(document2, "div", "settings-extensions-detail-modal__preview");
|
|
35460
|
-
previewStage.hidden = true;
|
|
35461
|
-
previewImage = createEl(document2, "img", "settings-extensions-detail-modal__preview-img");
|
|
35462
|
-
const previewBar = createEl(document2, "div", "settings-extensions-detail-modal__preview-bar");
|
|
35463
|
-
previewCounter = createEl(document2, "span", "settings-extensions-detail-modal__preview-count");
|
|
35464
|
-
const previewControls = createEl(
|
|
35465
|
-
document2,
|
|
35466
|
-
"div",
|
|
35467
|
-
"settings-extensions-detail-modal__preview-controls"
|
|
35468
|
-
);
|
|
35469
|
-
previewPrevButton = createEl(
|
|
35470
|
-
document2,
|
|
35471
|
-
"button",
|
|
35472
|
-
"settings-icon-button settings-extensions-detail-modal__preview-nav"
|
|
35473
|
-
);
|
|
35474
|
-
previewPrevButton.type = "button";
|
|
35475
|
-
previewPrevButton.title = copy.previousScreenshot;
|
|
35476
|
-
previewPrevButton.setAttribute("aria-label", copy.previousScreenshot);
|
|
35477
|
-
previewPrevButton.append(createRendererSettingsIcon("chevron-left", 14));
|
|
35478
|
-
previewPrevButton.addEventListener("click", () => {
|
|
35479
|
-
if (activeScreenshotIndex === null || currentScreenshots.length <= 1) return;
|
|
35480
|
-
activeScreenshotIndex = (activeScreenshotIndex - 1 + currentScreenshots.length) % currentScreenshots.length;
|
|
35481
|
-
syncPreviewStage();
|
|
35482
|
-
});
|
|
35483
|
-
previewNextButton = createEl(
|
|
35484
|
-
document2,
|
|
35485
|
-
"button",
|
|
35486
|
-
"settings-icon-button settings-extensions-detail-modal__preview-nav"
|
|
35487
|
-
);
|
|
35488
|
-
previewNextButton.type = "button";
|
|
35489
|
-
previewNextButton.title = copy.nextScreenshot;
|
|
35490
|
-
previewNextButton.setAttribute("aria-label", copy.nextScreenshot);
|
|
35491
|
-
previewNextButton.append(createRendererSettingsIcon("chevron-right", 14));
|
|
35492
|
-
previewNextButton.addEventListener("click", () => {
|
|
35493
|
-
if (activeScreenshotIndex === null || currentScreenshots.length <= 1) return;
|
|
35494
|
-
activeScreenshotIndex = (activeScreenshotIndex + 1) % currentScreenshots.length;
|
|
35495
|
-
syncPreviewStage();
|
|
35496
|
-
});
|
|
35497
|
-
const closePreviewButton = createEl(
|
|
35498
|
-
document2,
|
|
35499
|
-
"button",
|
|
35500
|
-
"settings-extensions-detail-modal__preview-close",
|
|
35501
|
-
copy.closePreview
|
|
35502
|
-
);
|
|
35503
|
-
closePreviewButton.type = "button";
|
|
35504
|
-
closePreviewButton.addEventListener("click", () => {
|
|
35505
|
-
activeScreenshotIndex = null;
|
|
35506
|
-
syncPreviewStage();
|
|
35507
|
-
});
|
|
35508
|
-
previewControls.append(previewPrevButton, previewNextButton, closePreviewButton);
|
|
35509
|
-
previewBar.append(previewCounter, previewControls);
|
|
35510
|
-
previewStage.append(previewImage, previewBar);
|
|
35511
35739
|
galleryGrid = createEl(document2, "div", "settings-extensions-detail-modal__gallery");
|
|
35512
|
-
screenshotsSection.append(screenshotsHeading,
|
|
35740
|
+
screenshotsSection.append(screenshotsHeading, galleryGrid);
|
|
35513
35741
|
modalBody.append(
|
|
35514
35742
|
feedbackBar,
|
|
35515
35743
|
attentionBar,
|
|
@@ -35527,8 +35755,7 @@ ${error51.stderrTail}`] : []
|
|
|
35527
35755
|
event.preventDefault();
|
|
35528
35756
|
event.stopPropagation?.();
|
|
35529
35757
|
if (activeScreenshotIndex !== null) {
|
|
35530
|
-
|
|
35531
|
-
syncPreviewStage();
|
|
35758
|
+
closeLightbox();
|
|
35532
35759
|
return;
|
|
35533
35760
|
}
|
|
35534
35761
|
modal.close();
|
|
@@ -35536,8 +35763,7 @@ ${error51.stderrTail}`] : []
|
|
|
35536
35763
|
modal.addEventListener("cancel", (event) => {
|
|
35537
35764
|
if (activeScreenshotIndex !== null) {
|
|
35538
35765
|
event.preventDefault();
|
|
35539
|
-
|
|
35540
|
-
syncPreviewStage();
|
|
35766
|
+
closeLightbox();
|
|
35541
35767
|
}
|
|
35542
35768
|
});
|
|
35543
35769
|
modal.addEventListener("close", cleanup);
|
|
@@ -35562,7 +35788,7 @@ ${error51.stderrTail}`] : []
|
|
|
35562
35788
|
const { installed, catalogEntry } = resolveEntries(extensionId, state);
|
|
35563
35789
|
if (!installed && !catalogEntry) return;
|
|
35564
35790
|
if (openExtensionId !== extensionId) {
|
|
35565
|
-
|
|
35791
|
+
closeLightbox();
|
|
35566
35792
|
renderedIconKey = "";
|
|
35567
35793
|
renderedScreenshotsKey = "";
|
|
35568
35794
|
renderedDetailsKey = "";
|
|
@@ -36143,8 +36369,6 @@ ${error51.stderrTail}`] : []
|
|
|
36143
36369
|
iconUrl: entry.icon,
|
|
36144
36370
|
author: entry.author,
|
|
36145
36371
|
version: entry.version,
|
|
36146
|
-
repository: entry.repository,
|
|
36147
|
-
stars: entry.stars,
|
|
36148
36372
|
downloads: entry.downloads,
|
|
36149
36373
|
trustTier: entry.trustTier,
|
|
36150
36374
|
description: catalogDescription(entry, contentLocale),
|
|
@@ -36825,7 +37049,7 @@ ${error51.stderrTail}`] : []
|
|
|
36825
37049
|
const button2 = createEl(
|
|
36826
37050
|
document2,
|
|
36827
37051
|
"button",
|
|
36828
|
-
"settings-command-button settings-
|
|
37052
|
+
"settings-command-button settings-extensions-card__button settings-extensions-card__update-button",
|
|
36829
37053
|
updating ? copy.updating : copy.update
|
|
36830
37054
|
);
|
|
36831
37055
|
button2.type = "button";
|
|
@@ -36853,8 +37077,6 @@ ${error51.stderrTail}`] : []
|
|
|
36853
37077
|
iconUrl: resolveInstalledExtensionIconUrl(item, catalogEntry),
|
|
36854
37078
|
author: (item.state === "valid" ? item.manifest.author : void 0) ?? catalogEntry?.author,
|
|
36855
37079
|
version: item.state === "valid" ? item.manifest.version : void 0,
|
|
36856
|
-
repository: (item.state === "valid" ? item.manifest.repository : void 0) ?? catalogEntry?.repository,
|
|
36857
|
-
stars: catalogEntry?.stars,
|
|
36858
37080
|
downloads: catalogEntry?.downloads,
|
|
36859
37081
|
trustTier: catalogEntry?.trustTier,
|
|
36860
37082
|
statusState,
|
|
@@ -41209,6 +41431,7 @@ ${error51.stderrTail}`] : []
|
|
|
41209
41431
|
return messages.updateInstallationWindowsInstaller;
|
|
41210
41432
|
}
|
|
41211
41433
|
if (installation === "macos-dmg") return messages.updateInstallationMacOsDmg;
|
|
41434
|
+
if (installation === "linux-archive") return messages.updateInstallationLinuxArchive;
|
|
41212
41435
|
return messages.updateInstallationUnknown;
|
|
41213
41436
|
}
|
|
41214
41437
|
function isPendingStatus(status) {
|
|
@@ -45233,7 +45456,6 @@ ${error51.stderrTail}`] : []
|
|
|
45233
45456
|
white-space: nowrap;
|
|
45234
45457
|
}
|
|
45235
45458
|
|
|
45236
|
-
.settings-extensions-card__star,
|
|
45237
45459
|
.settings-extensions-card__downloads {
|
|
45238
45460
|
display: inline-flex;
|
|
45239
45461
|
align-items: center;
|
|
@@ -45248,19 +45470,13 @@ ${error51.stderrTail}`] : []
|
|
|
45248
45470
|
transition: color 140ms ease;
|
|
45249
45471
|
}
|
|
45250
45472
|
|
|
45251
|
-
.settings-extensions-
|
|
45252
|
-
|
|
45253
|
-
padding: 0 2px;
|
|
45254
|
-
cursor: pointer;
|
|
45473
|
+
.settings-extensions-card[data-update-available="true"] {
|
|
45474
|
+
border-color: color-mix(in srgb, var(--settings-focus) 34%, var(--settings-border));
|
|
45255
45475
|
}
|
|
45256
45476
|
|
|
45257
|
-
.settings-extensions-
|
|
45258
|
-
color: var(--settings-
|
|
45259
|
-
|
|
45260
|
-
|
|
45261
|
-
.settings-extensions-card__star--link:focus-visible {
|
|
45262
|
-
outline: 2px solid var(--settings-focus);
|
|
45263
|
-
outline-offset: 2px;
|
|
45477
|
+
.settings-extensions-card[data-update-available="true"]:hover {
|
|
45478
|
+
border-color: color-mix(in srgb, var(--settings-focus) 54%, var(--settings-border));
|
|
45479
|
+
box-shadow: 0 4px 14px color-mix(in srgb, var(--settings-focus) 12%, transparent);
|
|
45264
45480
|
}
|
|
45265
45481
|
|
|
45266
45482
|
.settings-extensions-card__update {
|
|
@@ -45268,7 +45484,12 @@ ${error51.stderrTail}`] : []
|
|
|
45268
45484
|
flex-wrap: wrap;
|
|
45269
45485
|
align-items: center;
|
|
45270
45486
|
justify-content: space-between;
|
|
45271
|
-
gap:
|
|
45487
|
+
gap: 6px 10px;
|
|
45488
|
+
margin-top: 2px;
|
|
45489
|
+
padding: 6px 8px 6px 10px;
|
|
45490
|
+
border: 1px solid color-mix(in srgb, var(--settings-focus) 24%, transparent);
|
|
45491
|
+
border-radius: 9px;
|
|
45492
|
+
background: color-mix(in srgb, var(--settings-focus) 9%, transparent);
|
|
45272
45493
|
color: var(--settings-focus);
|
|
45273
45494
|
font-size: 12px;
|
|
45274
45495
|
font-weight: 600;
|
|
@@ -45276,6 +45497,29 @@ ${error51.stderrTail}`] : []
|
|
|
45276
45497
|
overflow-wrap: anywhere;
|
|
45277
45498
|
}
|
|
45278
45499
|
|
|
45500
|
+
.settings-extensions-card__update-label {
|
|
45501
|
+
display: inline-flex;
|
|
45502
|
+
align-items: center;
|
|
45503
|
+
gap: 7px;
|
|
45504
|
+
font-variant-numeric: tabular-nums;
|
|
45505
|
+
}
|
|
45506
|
+
|
|
45507
|
+
.settings-extensions-card__update-label::before {
|
|
45508
|
+
content: "";
|
|
45509
|
+
flex: none;
|
|
45510
|
+
width: 6px;
|
|
45511
|
+
height: 6px;
|
|
45512
|
+
border-radius: 50%;
|
|
45513
|
+
background: var(--settings-focus);
|
|
45514
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--settings-focus) 20%, transparent);
|
|
45515
|
+
}
|
|
45516
|
+
|
|
45517
|
+
.settings-extensions-card__update .settings-extensions-card__update-button {
|
|
45518
|
+
min-height: 26px;
|
|
45519
|
+
padding: 3px 11px;
|
|
45520
|
+
font-weight: 600;
|
|
45521
|
+
}
|
|
45522
|
+
|
|
45279
45523
|
.settings-extensions-card__categories-text {
|
|
45280
45524
|
flex: 0 1 auto;
|
|
45281
45525
|
max-width: 52%;
|
|
@@ -46023,8 +46267,8 @@ dialog.settings-account-dialog.settings-extensions-create-dialog::backdrop {
|
|
|
46023
46267
|
.settings-extensions-detail-modal__alert[hidden],
|
|
46024
46268
|
.settings-extensions-detail-modal__description[hidden],
|
|
46025
46269
|
.settings-extensions-detail-modal__screenshots[hidden],
|
|
46026
|
-
.settings-extensions-
|
|
46027
|
-
.settings-extensions-
|
|
46270
|
+
.settings-extensions-lightbox__nav[hidden],
|
|
46271
|
+
.settings-extensions-lightbox__count[hidden] {
|
|
46028
46272
|
display: none;
|
|
46029
46273
|
}
|
|
46030
46274
|
|
|
@@ -46190,68 +46434,9 @@ dialog.settings-account-dialog.settings-extensions-create-dialog::backdrop {
|
|
|
46190
46434
|
line-height: 16px;
|
|
46191
46435
|
}
|
|
46192
46436
|
|
|
46193
|
-
.settings-extensions-detail-modal__preview {
|
|
46194
|
-
display: grid;
|
|
46195
|
-
gap: 8px;
|
|
46196
|
-
padding: 10px;
|
|
46197
|
-
background: var(--settings-inset);
|
|
46198
|
-
border: 1px solid var(--settings-border);
|
|
46199
|
-
border-radius: 10px;
|
|
46200
|
-
}
|
|
46201
|
-
|
|
46202
|
-
.settings-extensions-detail-modal__preview-img {
|
|
46203
|
-
display: block;
|
|
46204
|
-
width: 100%;
|
|
46205
|
-
max-height: 340px;
|
|
46206
|
-
object-fit: contain;
|
|
46207
|
-
background: var(--settings-surface);
|
|
46208
|
-
border-radius: 7px;
|
|
46209
|
-
}
|
|
46210
|
-
|
|
46211
|
-
.settings-extensions-detail-modal__preview-bar {
|
|
46212
|
-
display: flex;
|
|
46213
|
-
align-items: center;
|
|
46214
|
-
justify-content: space-between;
|
|
46215
|
-
gap: 8px;
|
|
46216
|
-
}
|
|
46217
|
-
|
|
46218
|
-
.settings-extensions-detail-modal__preview-count {
|
|
46219
|
-
color: var(--settings-subtle);
|
|
46220
|
-
font-size: 11.5px;
|
|
46221
|
-
font-variant-numeric: tabular-nums;
|
|
46222
|
-
}
|
|
46223
|
-
|
|
46224
|
-
.settings-extensions-detail-modal__preview-controls {
|
|
46225
|
-
display: flex;
|
|
46226
|
-
align-items: center;
|
|
46227
|
-
gap: 4px;
|
|
46228
|
-
}
|
|
46229
|
-
|
|
46230
|
-
.settings-extensions-detail-modal__preview-close {
|
|
46231
|
-
height: 24px;
|
|
46232
|
-
padding: 0 8px;
|
|
46233
|
-
color: var(--settings-muted);
|
|
46234
|
-
font: inherit;
|
|
46235
|
-
font-size: 11.5px;
|
|
46236
|
-
background: var(--settings-panel);
|
|
46237
|
-
border: 1px solid var(--settings-border);
|
|
46238
|
-
border-radius: 6px;
|
|
46239
|
-
cursor: pointer;
|
|
46240
|
-
}
|
|
46241
|
-
|
|
46242
|
-
.settings-extensions-detail-modal__preview-close:hover {
|
|
46243
|
-
color: var(--settings-text);
|
|
46244
|
-
background: var(--settings-hover);
|
|
46245
|
-
}
|
|
46246
|
-
|
|
46247
|
-
.settings-extensions-detail-modal__preview-close:focus-visible {
|
|
46248
|
-
outline: 2px solid var(--settings-focus);
|
|
46249
|
-
outline-offset: 1px;
|
|
46250
|
-
}
|
|
46251
|
-
|
|
46252
46437
|
.settings-extensions-detail-modal__gallery {
|
|
46253
46438
|
display: grid;
|
|
46254
|
-
grid-template-columns: repeat(auto-fill, minmax(
|
|
46439
|
+
grid-template-columns: repeat(auto-fill, minmax(144px, 1fr));
|
|
46255
46440
|
gap: 8px;
|
|
46256
46441
|
}
|
|
46257
46442
|
|
|
@@ -46263,15 +46448,16 @@ dialog.settings-account-dialog.settings-extensions-create-dialog::backdrop {
|
|
|
46263
46448
|
background: var(--settings-inset);
|
|
46264
46449
|
border: 1.5px solid var(--settings-border);
|
|
46265
46450
|
border-radius: 8px;
|
|
46266
|
-
cursor:
|
|
46451
|
+
cursor: zoom-in;
|
|
46267
46452
|
transition:
|
|
46268
|
-
border-color
|
|
46269
|
-
transform
|
|
46270
|
-
box-shadow
|
|
46453
|
+
border-color 140ms ease,
|
|
46454
|
+
transform 140ms ease,
|
|
46455
|
+
box-shadow 140ms ease;
|
|
46271
46456
|
}
|
|
46272
46457
|
|
|
46273
46458
|
.settings-extensions-detail-modal__thumb:hover {
|
|
46274
46459
|
border-color: var(--settings-focus);
|
|
46460
|
+
box-shadow: 0 4px 12px light-dark(rgb(15 23 42 / 10%), rgb(0 0 0 / 32%));
|
|
46275
46461
|
}
|
|
46276
46462
|
|
|
46277
46463
|
.settings-extensions-detail-modal__thumb[aria-pressed="true"] {
|
|
@@ -46291,6 +46477,131 @@ dialog.settings-account-dialog.settings-extensions-create-dialog::backdrop {
|
|
|
46291
46477
|
object-fit: cover;
|
|
46292
46478
|
}
|
|
46293
46479
|
|
|
46480
|
+
dialog.settings-extensions-lightbox {
|
|
46481
|
+
position: fixed;
|
|
46482
|
+
inset: 0;
|
|
46483
|
+
width: 100vw;
|
|
46484
|
+
height: 100vh;
|
|
46485
|
+
max-width: none;
|
|
46486
|
+
max-height: none;
|
|
46487
|
+
margin: 0;
|
|
46488
|
+
padding: 28px 72px 68px;
|
|
46489
|
+
box-sizing: border-box;
|
|
46490
|
+
overflow: hidden;
|
|
46491
|
+
background: transparent;
|
|
46492
|
+
border: 0;
|
|
46493
|
+
}
|
|
46494
|
+
|
|
46495
|
+
dialog.settings-extensions-lightbox[open] {
|
|
46496
|
+
display: grid;
|
|
46497
|
+
place-items: center;
|
|
46498
|
+
}
|
|
46499
|
+
|
|
46500
|
+
dialog.settings-extensions-lightbox:focus {
|
|
46501
|
+
outline: none;
|
|
46502
|
+
}
|
|
46503
|
+
|
|
46504
|
+
dialog.settings-extensions-lightbox::backdrop {
|
|
46505
|
+
background: rgb(10 13 20 / 78%);
|
|
46506
|
+
-webkit-backdrop-filter: blur(12px) saturate(130%);
|
|
46507
|
+
backdrop-filter: blur(12px) saturate(130%);
|
|
46508
|
+
animation: settings-extensions-backdrop-in 160ms ease-out;
|
|
46509
|
+
}
|
|
46510
|
+
|
|
46511
|
+
.settings-extensions-lightbox__img {
|
|
46512
|
+
display: block;
|
|
46513
|
+
max-width: min(calc(100vw - 144px), 1560px);
|
|
46514
|
+
max-height: calc(100vh - 96px);
|
|
46515
|
+
object-fit: contain;
|
|
46516
|
+
background: rgb(18 22 30 / 60%);
|
|
46517
|
+
border: 1px solid rgb(255 255 255 / 14%);
|
|
46518
|
+
border-radius: 12px;
|
|
46519
|
+
box-shadow: 0 24px 64px rgb(0 0 0 / 48%);
|
|
46520
|
+
animation: settings-extensions-dialog-in 180ms cubic-bezier(0.22, 1, 0.36, 1);
|
|
46521
|
+
}
|
|
46522
|
+
|
|
46523
|
+
.settings-extensions-lightbox__btn {
|
|
46524
|
+
position: fixed;
|
|
46525
|
+
display: inline-flex;
|
|
46526
|
+
align-items: center;
|
|
46527
|
+
justify-content: center;
|
|
46528
|
+
padding: 0;
|
|
46529
|
+
color: rgb(255 255 255 / 92%);
|
|
46530
|
+
background: rgb(24 28 36 / 74%);
|
|
46531
|
+
border: 1px solid rgb(255 255 255 / 16%);
|
|
46532
|
+
border-radius: 999px;
|
|
46533
|
+
-webkit-backdrop-filter: blur(16px) saturate(150%);
|
|
46534
|
+
backdrop-filter: blur(16px) saturate(150%);
|
|
46535
|
+
box-shadow: 0 8px 24px rgb(0 0 0 / 32%);
|
|
46536
|
+
cursor: pointer;
|
|
46537
|
+
transition:
|
|
46538
|
+
background-color 140ms ease,
|
|
46539
|
+
border-color 140ms ease,
|
|
46540
|
+
transform 100ms ease;
|
|
46541
|
+
}
|
|
46542
|
+
|
|
46543
|
+
.settings-extensions-lightbox__btn:hover {
|
|
46544
|
+
color: #fff;
|
|
46545
|
+
background: rgb(42 48 60 / 88%);
|
|
46546
|
+
border-color: rgb(255 255 255 / 28%);
|
|
46547
|
+
}
|
|
46548
|
+
|
|
46549
|
+
.settings-extensions-lightbox__btn:focus-visible {
|
|
46550
|
+
outline: 2px solid #fff;
|
|
46551
|
+
outline-offset: 2px;
|
|
46552
|
+
}
|
|
46553
|
+
|
|
46554
|
+
.settings-extensions-lightbox__close {
|
|
46555
|
+
top: 18px;
|
|
46556
|
+
right: 18px;
|
|
46557
|
+
width: 36px;
|
|
46558
|
+
height: 36px;
|
|
46559
|
+
}
|
|
46560
|
+
|
|
46561
|
+
.settings-extensions-lightbox__nav {
|
|
46562
|
+
top: 50%;
|
|
46563
|
+
width: 38px;
|
|
46564
|
+
height: 38px;
|
|
46565
|
+
transform: translateY(-50%);
|
|
46566
|
+
}
|
|
46567
|
+
|
|
46568
|
+
.settings-extensions-lightbox__nav--prev {
|
|
46569
|
+
left: 18px;
|
|
46570
|
+
}
|
|
46571
|
+
|
|
46572
|
+
.settings-extensions-lightbox__nav--next {
|
|
46573
|
+
right: 18px;
|
|
46574
|
+
}
|
|
46575
|
+
|
|
46576
|
+
.settings-extensions-lightbox__count {
|
|
46577
|
+
position: fixed;
|
|
46578
|
+
bottom: 18px;
|
|
46579
|
+
left: 50%;
|
|
46580
|
+
padding: 5px 12px;
|
|
46581
|
+
color: rgb(255 255 255 / 90%);
|
|
46582
|
+
font-size: 12px;
|
|
46583
|
+
font-weight: 500;
|
|
46584
|
+
line-height: 16px;
|
|
46585
|
+
font-variant-numeric: tabular-nums;
|
|
46586
|
+
background: rgb(24 28 36 / 74%);
|
|
46587
|
+
border: 1px solid rgb(255 255 255 / 16%);
|
|
46588
|
+
border-radius: 999px;
|
|
46589
|
+
-webkit-backdrop-filter: blur(16px) saturate(150%);
|
|
46590
|
+
backdrop-filter: blur(16px) saturate(150%);
|
|
46591
|
+
transform: translateX(-50%);
|
|
46592
|
+
}
|
|
46593
|
+
|
|
46594
|
+
@media (max-width: 640px) {
|
|
46595
|
+
dialog.settings-extensions-lightbox {
|
|
46596
|
+
padding: 56px 14px 64px;
|
|
46597
|
+
}
|
|
46598
|
+
|
|
46599
|
+
.settings-extensions-lightbox__img {
|
|
46600
|
+
max-width: calc(100vw - 28px);
|
|
46601
|
+
max-height: calc(100vh - 120px);
|
|
46602
|
+
}
|
|
46603
|
+
}
|
|
46604
|
+
|
|
46294
46605
|
.settings-extensions .settings-command-button--danger {
|
|
46295
46606
|
flex: none;
|
|
46296
46607
|
color: var(--settings-danger);
|
|
@@ -46775,7 +47086,9 @@ dialog.settings-account-dialog.settings-extensions-create-dialog::backdrop {
|
|
|
46775
47086
|
dialog.settings-account-dialog.settings-extensions-create-dialog[open],
|
|
46776
47087
|
dialog.settings-account-dialog.settings-extensions-detail-dialog::backdrop,
|
|
46777
47088
|
dialog.settings-account-dialog.settings-extensions-import-dialog::backdrop,
|
|
46778
|
-
dialog.settings-account-dialog.settings-extensions-create-dialog::backdrop
|
|
47089
|
+
dialog.settings-account-dialog.settings-extensions-create-dialog::backdrop,
|
|
47090
|
+
dialog.settings-extensions-lightbox::backdrop,
|
|
47091
|
+
.settings-extensions-lightbox__img {
|
|
46779
47092
|
animation: none;
|
|
46780
47093
|
}
|
|
46781
47094
|
}
|