@pairdraw/vue 0.21.0 → 0.21.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/dist/canvas/surface/gl-surface.js +11 -1
- package/dist/canvas/surface/gl-surface.js.map +1 -1
- package/dist/controls/appearance/use.d.ts +1 -1
- package/dist/controls/position/use.d.ts +1 -1
- package/dist/editor/commands/shortcut.d.ts.map +1 -1
- package/dist/editor/commands/shortcut.js +9 -1
- package/dist/editor/commands/shortcut.js.map +1 -1
- package/dist/i18n/locales/de/code.json.js +2 -0
- package/dist/i18n/locales/es/code.json.js +2 -0
- package/dist/i18n/locales/fr/code.json.js +2 -0
- package/dist/i18n/locales/id/automation.json.js +7 -7
- package/dist/i18n/locales/id/code.json.js +3 -1
- package/dist/i18n/locales/id/editor.json.js +1 -1
- package/dist/i18n/locales/id/menu.json.js +1 -1
- package/dist/i18n/locales/id/panels.json.js +3 -3
- package/dist/i18n/locales/it/code.json.js +2 -0
- package/dist/i18n/locales/ja/code.json.js +2 -0
- package/dist/i18n/locales/pl/code.json.js +2 -0
- package/dist/i18n/locales/ru/code.json.js +2 -0
- package/dist/i18n/locales/zh-cn/code.json.js +2 -0
- package/dist/i18n/messages/code.d.ts +4 -0
- package/dist/i18n/messages/code.d.ts.map +1 -1
- package/dist/i18n/messages/code.js +3 -1
- package/dist/i18n/messages/code.js.map +1 -1
- package/dist/i18n/messages.d.ts +4 -0
- package/dist/i18n/useI18n.d.ts +16 -0
- package/dist/i18n/useI18n.d.ts.map +1 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts +1 -1
- package/package.json +4 -4
|
@@ -2,6 +2,15 @@ import { configurePresentation, supportsWideGamutPresentation } from "./color-sp
|
|
|
2
2
|
import { IS_BROWSER } from "@pairdraw/core/constants";
|
|
3
3
|
//#region src/canvas/surface/gl-surface.ts
|
|
4
4
|
const parkingHandles = /* @__PURE__ */ new WeakMap();
|
|
5
|
+
/**
|
|
6
|
+
* Applies a resource-cache limit to one canvas context and nothing when no limit is chosen. Reading
|
|
7
|
+
* first keeps it idempotent: a context that already holds the value is left as it is.
|
|
8
|
+
*/
|
|
9
|
+
function applyResourceCacheLimit(context, bytes) {
|
|
10
|
+
if (bytes === void 0) return;
|
|
11
|
+
if (context.getResourceCacheLimitBytes() === bytes) return;
|
|
12
|
+
context.setResourceCacheLimitBytes(bytes);
|
|
13
|
+
}
|
|
5
14
|
/** A 1×1 offscreen WebGL context that stays registered, so another context can become current. */
|
|
6
15
|
function parkingHandle(ck) {
|
|
7
16
|
const existing = parkingHandles.get(ck);
|
|
@@ -170,6 +179,7 @@ function makeGLSurface(ck, canvas, options, glContext, documentColorSpace) {
|
|
|
170
179
|
presentation: null
|
|
171
180
|
};
|
|
172
181
|
}
|
|
182
|
+
applyResourceCacheLimit(context, void 0);
|
|
173
183
|
return {
|
|
174
184
|
surface: ck.MakeOnScreenGLSurface(context, canvas.width, canvas.height, presentation === "display-p3" ? ck.ColorSpace.DISPLAY_P3 : ck.ColorSpace.SRGB),
|
|
175
185
|
glContext: context,
|
|
@@ -178,6 +188,6 @@ function makeGLSurface(ck, canvas, options, glContext, documentColorSpace) {
|
|
|
178
188
|
};
|
|
179
189
|
}
|
|
180
190
|
//#endregion
|
|
181
|
-
export { canvasPixelRatio, makeGLSurface, releaseWebGLContext, sizeCanvas };
|
|
191
|
+
export { applyResourceCacheLimit, canvasPixelRatio, makeGLSurface, releaseWebGLContext, sizeCanvas };
|
|
182
192
|
|
|
183
193
|
//# sourceMappingURL=gl-surface.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gl-surface.js","names":[],"sources":["../../../src/canvas/surface/gl-surface.ts"],"sourcesContent":["import type { CanvasKit, Surface } from 'canvaskit-wasm'\n\nimport type { Editor } from '@pairdraw/core'\nimport { IS_BROWSER } from '@pairdraw/core/constants'\nimport type { DocumentColorSpace } from '@pairdraw/scene-graph'\nimport type { Vector } from '@pairdraw/scene-graph/primitives'\n\nimport type { UseCanvasOptions } from '#vue/canvas/surface/types'\n\nimport {\n configurePresentation,\n supportsWideGamutPresentation,\n type PresentationColorSpace\n} from './color-space'\n\ntype GLContext = ReturnType<CanvasKit['MakeGrContext']>\ntype GLHandle = ReturnType<CanvasKit['GetWebGLContext']>\n\nexport type CanvasGLContext = GLContext\nexport type CanvasGLHandle = GLHandle\n\nconst parkingHandles = new WeakMap<CanvasKit, GLHandle>()\n\n/** A 1×1 offscreen WebGL context that stays registered, so another context can become current. */\nfunction parkingHandle(ck: CanvasKit): GLHandle | null {\n const existing = parkingHandles.get(ck)\n if (existing !== undefined) return existing\n if (typeof document === 'undefined') return null\n const canvas = document.createElement('canvas')\n canvas.width = 1\n canvas.height = 1\n const handle = ck.GetWebGLContext(canvas)\n if (!handle) return null\n parkingHandles.set(ck, handle)\n return handle\n}\n\n/** Makes the parking context current, so CanvasKit lets go of the one it held. */\nfunction park(ck: CanvasKit): void {\n const parking = parkingHandle(ck)\n if (!parking) return\n try {\n ck.MakeGrContext(parking)?.delete()\n } catch {\n // A browser drops a page's oldest WebGL contexts once it holds too many, as WebKit does after\n // a few tabs, and reports it only later; the parking context is the oldest, so it is the one\n // gone, and CanvasKit fails on it. A new parking context takes its place.\n ck.deleteContext(parking)\n parkingHandles.delete(ck)\n const replacement = parkingHandle(ck)\n if (replacement) ck.MakeGrContext(replacement)?.delete()\n }\n}\n\n/**\n * Unregisters a canvas's WebGL context from CanvasKit. `deleteContext` leaves CanvasKit holding\n * the last current context, which keeps the canvas, and every component its element reaches,\n * alive; when this context was current, a parking context takes its place.\n */\nexport function releaseWebGLContext(\n ck: CanvasKit,\n handle: GLHandle,\n canvas: HTMLCanvasElement | null\n): void {\n const context = canvas ? (canvas.getContext('webgl2') ?? canvas.getContext('webgl')) : null\n const wasCurrent = context !== null && Reflect.get(ck, 'ctx') === context\n ck.deleteContext(handle)\n if (wasCurrent) park(ck)\n}\n\n/** The device pixels a canvas draws per CSS pixel: the display's, at most `maxPixelRatio`. */\nexport function canvasPixelRatio(maxPixelRatio = Number.POSITIVE_INFINITY): number {\n return Math.min(IS_BROWSER ? window.devicePixelRatio || 1 : 1, maxPixelRatio)\n}\n\n/** A canvas's inline size and margins. */\ntype PinnedStyle = Pick<CSSStyleDeclaration, 'width' | 'height' | 'marginLeft' | 'marginTop'>\nconst PINNED_PROPERTIES = ['width', 'height', 'marginLeft', 'marginTop'] as const\n/** Per canvas: the inline style its owner set, and the style sizeCanvas last wrote over it. */\nconst pinnedStyles = new WeakMap<HTMLCanvasElement, { own: PinnedStyle; written: PinnedStyle }>()\n\nfunction inlineStyle(canvas: HTMLCanvasElement): PinnedStyle {\n const { width, height, marginLeft, marginTop } = canvas.style\n return { width, height, marginLeft, marginTop }\n}\n\n/**\n * Puts back the inline style the canvas's owner set, so the page's own sizing is measured. A\n * property that differs from what sizeCanvas last wrote was set by the owner since, and becomes\n * theirs; the others keep the owner's earlier value.\n */\nfunction restoreOwnStyle(canvas: HTMLCanvasElement): void {\n const current = inlineStyle(canvas)\n const pinned = pinnedStyles.get(canvas)\n const own = { ...current }\n if (pinned) {\n for (const property of PINNED_PROPERTIES) {\n if (current[property] === pinned.written[property]) own[property] = pinned.own[property]\n }\n }\n pinnedStyles.set(canvas, { own, written: current })\n Object.assign(canvas.style, own)\n}\n\n/** Records the style sizeCanvas wrote, so a later change by the owner can be told apart. */\nfunction rememberWrittenStyle(canvas: HTMLCanvasElement): void {\n const pinned = pinnedStyles.get(canvas)\n if (pinned) pinnedStyles.set(canvas, { own: pinned.own, written: inlineStyle(canvas) })\n}\n\n/**\n * Sizes the canvas bitmap to the content box the page's CSS gives it, pinned to whole CSS pixels\n * as Figma pins its canvas. A panel sized in percent leaves the box at a fraction of a pixel, and\n * the browser shows a canvas at whole pixels, so its bitmap was stretched by one device pixel\n * across the width, softening every line. The canvas moves under a pixel to the nearest whole\n * one through its margins; pointers map from its box, so they follow. Under a transform, where no\n * snap holds, the canvas takes its layout size rounded and stays where it is. A flex container\n * that centres the canvas moves it by half a margin change, so there the snap can stay a quarter\n * pixel off. Returns where the content box now starts on screen.\n */\nexport function sizeCanvas(\n canvas: HTMLCanvasElement,\n editor: Editor,\n onViewportResize?: (width: number, height: number) => void,\n maxPixelRatio = Number.POSITIVE_INFINITY\n): Vector {\n const dpr = canvasPixelRatio(maxPixelRatio)\n restoreOwnStyle(canvas)\n const box = canvas.getBoundingClientRect()\n const layout = getComputedStyle(canvas)\n const px = (value: string) => Number.parseFloat(value) || 0\n // Border and padding sit outside the bitmap, which fills the content box.\n const inset = {\n left: px(layout.borderLeftWidth) + px(layout.paddingLeft),\n right: px(layout.borderRightWidth) + px(layout.paddingRight),\n top: px(layout.borderTopWidth) + px(layout.paddingTop),\n bottom: px(layout.borderBottomWidth) + px(layout.paddingBottom)\n }\n const borderBox = layout.boxSizing === 'border-box'\n const outerWidth = (px(layout.width) || box.width) + (borderBox ? 0 : inset.left + inset.right)\n const outerHeight = (px(layout.height) || box.height) + (borderBox ? 0 : inset.top + inset.bottom)\n const transformed =\n Math.abs(outerWidth - box.width) > 0.01 || Math.abs(outerHeight - box.height) > 0.01\n const contentLeft = box.left + inset.left\n const contentTop = box.top + inset.top\n const left = transformed ? contentLeft : Math.round(contentLeft)\n const top = transformed ? contentTop : Math.round(contentTop)\n const width = Math.max(\n 1,\n transformed\n ? Math.round(outerWidth - inset.left - inset.right)\n : Math.round(box.right - inset.right) - left\n )\n const height = Math.max(\n 1,\n transformed\n ? Math.round(outerHeight - inset.top - inset.bottom)\n : Math.round(box.bottom - inset.bottom) - top\n )\n canvas.width = Math.round(width * dpr)\n canvas.height = Math.round(height * dpr)\n canvas.style.width = `${borderBox ? width + inset.left + inset.right : width}px`\n canvas.style.height = `${borderBox ? height + inset.top + inset.bottom : height}px`\n // The margins the page resolves, such as auto for a centred canvas, plus the snap. A translate\n // would leave the bitmap a fraction of a pixel off, which the browser smooths over.\n if (!transformed) {\n canvas.style.marginLeft = `${px(layout.marginLeft) + left - contentLeft}px`\n canvas.style.marginTop = `${px(layout.marginTop) + top - contentTop}px`\n }\n rememberWrittenStyle(canvas)\n if (onViewportResize) {\n onViewportResize(width, height)\n } else if ('setViewportSize' in editor && typeof editor.setViewportSize === 'function') {\n editor.setViewportSize(width, height)\n }\n return { x: left, y: top }\n}\n\nexport function makeGLSurface(\n ck: CanvasKit,\n canvas: HTMLCanvasElement,\n options: UseCanvasOptions | undefined,\n glContext: GLContext | null,\n documentColorSpace: DocumentColorSpace\n): {\n surface: Surface | null\n glContext: GLContext | null\n /**\n * The WebGL context this call registered with CanvasKit, which the caller must release with\n * `deleteContext`: CanvasKit's context table otherwise keeps the canvas, and everything its\n * element reaches, alive. Null when the existing context was reused.\n */\n glHandle: GLHandle | null\n presentation: PresentationColorSpace | null\n} {\n let context = glContext\n const glAttrs = options?.preserveDrawingBuffer ? { preserveDrawingBuffer: 1 } : undefined\n const handle = context ? null : ck.GetWebGLContext(canvas, glAttrs)\n if (!context && !handle) {\n return { surface: null, glContext: context, glHandle: null, presentation: null }\n }\n\n const buffer = canvas.getContext('webgl2') ?? canvas.getContext('webgl')\n const presentation = configurePresentation(buffer, {\n documentColorSpace,\n wideGamutDisplay: IS_BROWSER && supportsWideGamutPresentation(),\n width: canvas.width,\n height: canvas.height\n })\n if (!presentation) {\n if (handle) ck.deleteContext(handle)\n return { surface: null, glContext: context, glHandle: null, presentation: null }\n }\n if (!context && handle) context = ck.MakeGrContext(handle)\n if (!context) {\n if (handle) ck.deleteContext(handle)\n return { surface: null, glContext: context, glHandle: null, presentation: null }\n }\n\n return {\n surface: ck.MakeOnScreenGLSurface(\n context,\n canvas.width,\n canvas.height,\n presentation === 'display-p3' ? ck.ColorSpace.DISPLAY_P3 : ck.ColorSpace.SRGB\n ),\n glContext: context,\n glHandle: handle,\n presentation\n }\n}\n"],"mappings":";;;AAqBA,MAAM,iCAAiB,IAAI,QAA6B;;AAGxD,SAAS,cAAc,IAAgC;CACrD,MAAM,WAAW,eAAe,IAAI,EAAE;CACtC,IAAI,a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cAAc;CAAK;CAGjF,MAAM,SAAS,OAAO,WAAW,QAAQ,KAAK,OAAO,WAAW,OAAO;CACvE,MAAM,eAAe,sBAAsB,QAAQ;EACjD;EACA,kBAAkB,cAAc,8BAA8B;EAC9D,OAAO,OAAO;EACd,QAAQ,OAAO;CACjB,CAAC;CACD,IAAI,CAAC,cAAc;EACjB,IAAI,QAAQ,GAAG,cAAc,MAAM;EACnC,OAAO;GAAE,SAAS;GAAM,WAAW;GAAS,UAAU;GAAM,cAAc;EAAK;CACjF;CACA,IAAI,CAAC,WAAW,QAAQ,UAAU,GAAG,cAAc,MAAM;CACzD,IAAI,CAAC,SAAS;EACZ,IAAI,QAAQ,GAAG,cAAc,MAAM;EACnC,OAAO;GAAE,SAAS;GAAM,WAAW;GAAS,UAAU;GAAM,cAAc;EAAK;CACjF;CAEA,OAAO;EACL,SAAS,GAAG,sBACV,SACA,OAAO,OACP,OAAO,QACP,iBAAiB,eAAe,GAAG,WAAW,aAAa,GAAG,WAAW,IAC3E;EACA,WAAW;EACX,UAAU;EACV;CACF;AACF"}
|
|
1
|
+
{"version":3,"file":"gl-surface.js","names":[],"sources":["../../../src/canvas/surface/gl-surface.ts"],"sourcesContent":["import type { CanvasKit, Surface } from 'canvaskit-wasm'\n\nimport type { Editor } from '@pairdraw/core'\nimport { IS_BROWSER } from '@pairdraw/core/constants'\nimport type { DocumentColorSpace } from '@pairdraw/scene-graph'\nimport type { Vector } from '@pairdraw/scene-graph/primitives'\n\nimport type { UseCanvasOptions } from '#vue/canvas/surface/types'\n\nimport {\n configurePresentation,\n supportsWideGamutPresentation,\n type PresentationColorSpace\n} from './color-space'\n\ntype GLContext = ReturnType<CanvasKit['MakeGrContext']>\ntype GLHandle = ReturnType<CanvasKit['GetWebGLContext']>\n\nexport type CanvasGLContext = GLContext\nexport type CanvasGLHandle = GLHandle\n\nconst parkingHandles = new WeakMap<CanvasKit, GLHandle>()\n\n/**\n * Skia's GPU resource-cache limit per canvas context, in bytes. `undefined` keeps the context's own\n * default: the post-tag measurement (peak `[anon]` vs pan/zoom frame time, see\n * `spec-release-render-caches.md`) picks the number.\n */\nexport const RESOURCE_CACHE_LIMIT_BYTES: number | undefined = undefined\n\n/** The part of `GrDirectContext` the limit needs, so a fake context can stand in for a test. */\ntype ResourceCacheContext = {\n getResourceCacheLimitBytes(): number\n setResourceCacheLimitBytes(bytes: number): void\n}\n\n/**\n * Applies a resource-cache limit to one canvas context and nothing when no limit is chosen. Reading\n * first keeps it idempotent: a context that already holds the value is left as it is.\n */\nexport function applyResourceCacheLimit(\n context: ResourceCacheContext,\n bytes: number | undefined\n): void {\n if (bytes === undefined) return\n if (context.getResourceCacheLimitBytes() === bytes) return\n context.setResourceCacheLimitBytes(bytes)\n}\n\n/** A 1×1 offscreen WebGL context that stays registered, so another context can become current. */\nfunction parkingHandle(ck: CanvasKit): GLHandle | null {\n const existing = parkingHandles.get(ck)\n if (existing !== undefined) return existing\n if (typeof document === 'undefined') return null\n const canvas = document.createElement('canvas')\n canvas.width = 1\n canvas.height = 1\n const handle = ck.GetWebGLContext(canvas)\n if (!handle) return null\n parkingHandles.set(ck, handle)\n return handle\n}\n\n/** Makes the parking context current, so CanvasKit lets go of the one it held. */\nfunction park(ck: CanvasKit): void {\n const parking = parkingHandle(ck)\n if (!parking) return\n try {\n ck.MakeGrContext(parking)?.delete()\n } catch {\n // A browser drops a page's oldest WebGL contexts once it holds too many, as WebKit does after\n // a few tabs, and reports it only later; the parking context is the oldest, so it is the one\n // gone, and CanvasKit fails on it. A new parking context takes its place.\n ck.deleteContext(parking)\n parkingHandles.delete(ck)\n const replacement = parkingHandle(ck)\n if (replacement) ck.MakeGrContext(replacement)?.delete()\n }\n}\n\n/**\n * Unregisters a canvas's WebGL context from CanvasKit. `deleteContext` leaves CanvasKit holding\n * the last current context, which keeps the canvas, and every component its element reaches,\n * alive; when this context was current, a parking context takes its place.\n */\nexport function releaseWebGLContext(\n ck: CanvasKit,\n handle: GLHandle,\n canvas: HTMLCanvasElement | null\n): void {\n const context = canvas ? (canvas.getContext('webgl2') ?? canvas.getContext('webgl')) : null\n const wasCurrent = context !== null && Reflect.get(ck, 'ctx') === context\n ck.deleteContext(handle)\n if (wasCurrent) park(ck)\n}\n\n/** The device pixels a canvas draws per CSS pixel: the display's, at most `maxPixelRatio`. */\nexport function canvasPixelRatio(maxPixelRatio = Number.POSITIVE_INFINITY): number {\n return Math.min(IS_BROWSER ? window.devicePixelRatio || 1 : 1, maxPixelRatio)\n}\n\n/** A canvas's inline size and margins. */\ntype PinnedStyle = Pick<CSSStyleDeclaration, 'width' | 'height' | 'marginLeft' | 'marginTop'>\nconst PINNED_PROPERTIES = ['width', 'height', 'marginLeft', 'marginTop'] as const\n/** Per canvas: the inline style its owner set, and the style sizeCanvas last wrote over it. */\nconst pinnedStyles = new WeakMap<HTMLCanvasElement, { own: PinnedStyle; written: PinnedStyle }>()\n\nfunction inlineStyle(canvas: HTMLCanvasElement): PinnedStyle {\n const { width, height, marginLeft, marginTop } = canvas.style\n return { width, height, marginLeft, marginTop }\n}\n\n/**\n * Puts back the inline style the canvas's owner set, so the page's own sizing is measured. A\n * property that differs from what sizeCanvas last wrote was set by the owner since, and becomes\n * theirs; the others keep the owner's earlier value.\n */\nfunction restoreOwnStyle(canvas: HTMLCanvasElement): void {\n const current = inlineStyle(canvas)\n const pinned = pinnedStyles.get(canvas)\n const own = { ...current }\n if (pinned) {\n for (const property of PINNED_PROPERTIES) {\n if (current[property] === pinned.written[property]) own[property] = pinned.own[property]\n }\n }\n pinnedStyles.set(canvas, { own, written: current })\n Object.assign(canvas.style, own)\n}\n\n/** Records the style sizeCanvas wrote, so a later change by the owner can be told apart. */\nfunction rememberWrittenStyle(canvas: HTMLCanvasElement): void {\n const pinned = pinnedStyles.get(canvas)\n if (pinned) pinnedStyles.set(canvas, { own: pinned.own, written: inlineStyle(canvas) })\n}\n\n/**\n * Sizes the canvas bitmap to the content box the page's CSS gives it, pinned to whole CSS pixels\n * as Figma pins its canvas. A panel sized in percent leaves the box at a fraction of a pixel, and\n * the browser shows a canvas at whole pixels, so its bitmap was stretched by one device pixel\n * across the width, softening every line. The canvas moves under a pixel to the nearest whole\n * one through its margins; pointers map from its box, so they follow. Under a transform, where no\n * snap holds, the canvas takes its layout size rounded and stays where it is. A flex container\n * that centres the canvas moves it by half a margin change, so there the snap can stay a quarter\n * pixel off. Returns where the content box now starts on screen.\n */\nexport function sizeCanvas(\n canvas: HTMLCanvasElement,\n editor: Editor,\n onViewportResize?: (width: number, height: number) => void,\n maxPixelRatio = Number.POSITIVE_INFINITY\n): Vector {\n const dpr = canvasPixelRatio(maxPixelRatio)\n restoreOwnStyle(canvas)\n const box = canvas.getBoundingClientRect()\n const layout = getComputedStyle(canvas)\n const px = (value: string) => Number.parseFloat(value) || 0\n // Border and padding sit outside the bitmap, which fills the content box.\n const inset = {\n left: px(layout.borderLeftWidth) + px(layout.paddingLeft),\n right: px(layout.borderRightWidth) + px(layout.paddingRight),\n top: px(layout.borderTopWidth) + px(layout.paddingTop),\n bottom: px(layout.borderBottomWidth) + px(layout.paddingBottom)\n }\n const borderBox = layout.boxSizing === 'border-box'\n const outerWidth = (px(layout.width) || box.width) + (borderBox ? 0 : inset.left + inset.right)\n const outerHeight = (px(layout.height) || box.height) + (borderBox ? 0 : inset.top + inset.bottom)\n const transformed =\n Math.abs(outerWidth - box.width) > 0.01 || Math.abs(outerHeight - box.height) > 0.01\n const contentLeft = box.left + inset.left\n const contentTop = box.top + inset.top\n const left = transformed ? contentLeft : Math.round(contentLeft)\n const top = transformed ? contentTop : Math.round(contentTop)\n const width = Math.max(\n 1,\n transformed\n ? Math.round(outerWidth - inset.left - inset.right)\n : Math.round(box.right - inset.right) - left\n )\n const height = Math.max(\n 1,\n transformed\n ? Math.round(outerHeight - inset.top - inset.bottom)\n : Math.round(box.bottom - inset.bottom) - top\n )\n canvas.width = Math.round(width * dpr)\n canvas.height = Math.round(height * dpr)\n canvas.style.width = `${borderBox ? width + inset.left + inset.right : width}px`\n canvas.style.height = `${borderBox ? height + inset.top + inset.bottom : height}px`\n // The margins the page resolves, such as auto for a centred canvas, plus the snap. A translate\n // would leave the bitmap a fraction of a pixel off, which the browser smooths over.\n if (!transformed) {\n canvas.style.marginLeft = `${px(layout.marginLeft) + left - contentLeft}px`\n canvas.style.marginTop = `${px(layout.marginTop) + top - contentTop}px`\n }\n rememberWrittenStyle(canvas)\n if (onViewportResize) {\n onViewportResize(width, height)\n } else if ('setViewportSize' in editor && typeof editor.setViewportSize === 'function') {\n editor.setViewportSize(width, height)\n }\n return { x: left, y: top }\n}\n\nexport function makeGLSurface(\n ck: CanvasKit,\n canvas: HTMLCanvasElement,\n options: UseCanvasOptions | undefined,\n glContext: GLContext | null,\n documentColorSpace: DocumentColorSpace\n): {\n surface: Surface | null\n glContext: GLContext | null\n /**\n * The WebGL context this call registered with CanvasKit, which the caller must release with\n * `deleteContext`: CanvasKit's context table otherwise keeps the canvas, and everything its\n * element reaches, alive. Null when the existing context was reused.\n */\n glHandle: GLHandle | null\n presentation: PresentationColorSpace | null\n} {\n let context = glContext\n const glAttrs = options?.preserveDrawingBuffer ? { preserveDrawingBuffer: 1 } : undefined\n const handle = context ? null : ck.GetWebGLContext(canvas, glAttrs)\n if (!context && !handle) {\n return { surface: null, glContext: context, glHandle: null, presentation: null }\n }\n\n const buffer = canvas.getContext('webgl2') ?? canvas.getContext('webgl')\n const presentation = configurePresentation(buffer, {\n documentColorSpace,\n wideGamutDisplay: IS_BROWSER && supportsWideGamutPresentation(),\n width: canvas.width,\n height: canvas.height\n })\n if (!presentation) {\n if (handle) ck.deleteContext(handle)\n return { surface: null, glContext: context, glHandle: null, presentation: null }\n }\n if (!context && handle) context = ck.MakeGrContext(handle)\n if (!context) {\n if (handle) ck.deleteContext(handle)\n return { surface: null, glContext: context, glHandle: null, presentation: null }\n }\n // First creation, resize and the fallback recreation all pass through here; replaceSurface does\n // not make a context.\n applyResourceCacheLimit(context, RESOURCE_CACHE_LIMIT_BYTES)\n\n return {\n surface: ck.MakeOnScreenGLSurface(\n context,\n canvas.width,\n canvas.height,\n presentation === 'display-p3' ? ck.ColorSpace.DISPLAY_P3 : ck.ColorSpace.SRGB\n ),\n glContext: context,\n glHandle: handle,\n presentation\n }\n}\n"],"mappings":";;;AAqBA,MAAM,iCAAiB,IAAI,QAA6B;;;;;AAmBxD,SAAgB,wBACd,SACA,OACM;CACN,IAAI,UAAU,KAAA,GAAW;CACzB,IAAI,QAAQ,2BAA2B,MAAM,OAAO;CACpD,QAAQ,2BAA2B,KAAK;AAC1C;;AAGA,SAAS,cAAc,IAAgC;CACrD,MAAM,WAAW,eAAe,IAAI,EAAE;CACtC,IAAI,aAAa,KAAA,GAAW,OAAO;CACnC,IAAI,OAAO,aAAa,aAAa,OAAO;CAC5C,MAAM,SAAS,SAAS,cAAc,QAAQ;CAC9C,OAAO,QAAQ;CACf,OAAO,SAAS;CAChB,MAAM,SAAS,GAAG,gBAAgB,MAAM;CACxC,IAAI,CAAC,QAAQ,OAAO;CACpB,eAAe,IAAI,IAAI,MAAM;CAC7B,OAAO;AACT;;AAGA,SAAS,KAAK,IAAqB;CACjC,MAAM,UAAU,cAAc,EAAE;CAChC,IAAI,CAAC,SAAS;CACd,IAAI;EACF,GAAG,cAAc,OAAO,CAAC,EAAE,OAAO;CACpC,QAAQ;EAIN,GAAG,cAAc,OAAO;EACxB,eAAe,OAAO,EAAE;EACxB,MAAM,cAAc,cAAc,EAAE;EACpC,IAAI,aAAa,GAAG,cAAc,WAAW,CAAC,EAAE,OAAO;CACzD;AACF;;;;;;AAOA,SAAgB,oBACd,IACA,QACA,QACM;CACN,MAAM,UAAU,SAAU,OAAO,WAAW,QAAQ,KAAK,OAAO,WAAW,OAAO,IAAK;CACvF,MAAM,aAAa,YAAY,QAAQ,QAAQ,IAAI,IAAI,KAAK,MAAM;CAClE,GAAG,cAAc,MAAM;CACvB,IAAI,YAAY,KAAK,EAAE;AACzB;;AAGA,SAAgB,iBAAiB,gBAAgB,OAAO,m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iBAAiB,OAAO,MAAM;MACzB,IAAI,qBAAqB,UAAU,OAAO,OAAO,oBAAoB,YAC1E,OAAO,gBAAgB,OAAO,MAAM;CAEtC,OAAO;EAAE,GAAG;EAAM,GAAG;CAAI;AAC3B;AAEA,SAAgB,cACd,IACA,QACA,SACA,WACA,oBAWA;CACA,IAAI,UAAU;CACd,MAAM,UAAU,SAAS,wBAAwB,EAAE,uBAAuB,EAAE,IAAI,KAAA;CAChF,MAAM,SAAS,UAAU,OAAO,GAAG,gBAAgB,QAAQ,OAAO;CAClE,IAAI,CAAC,WAAW,CAAC,QACf,OAAO;EAAE,SAAS;EAAM,WAAW;EAAS,UAAU;EAAM,cAAc;CAAK;CAGjF,MAAM,SAAS,OAAO,WAAW,QAAQ,KAAK,OAAO,WAAW,OAAO;CACvE,MAAM,eAAe,sBAAsB,QAAQ;EACjD;EACA,kBAAkB,cAAc,8BAA8B;EAC9D,OAAO,OAAO;EACd,QAAQ,OAAO;CACjB,CAAC;CACD,IAAI,CAAC,cAAc;EACjB,IAAI,QAAQ,GAAG,cAAc,MAAM;EACnC,OAAO;GAAE,SAAS;GAAM,WAAW;GAAS,UAAU;GAAM,cAAc;EAAK;CACjF;CACA,IAAI,CAAC,WAAW,QAAQ,UAAU,GAAG,cAAc,MAAM;CACzD,IAAI,CAAC,SAAS;EACZ,IAAI,QAAQ,GAAG,cAAc,MAAM;EACnC,OAAO;GAAE,SAAS;GAAM,WAAW;GAAS,UAAU;GAAM,cAAc;EAAK;CACjF;CAGA,wBAAwB,SAAA,KAAA,CAAmC;CAE3D,OAAO;EACL,SAAS,GAAG,sBACV,SACA,OAAO,OACP,OAAO,QACP,iBAAiB,eAAe,GAAG,WAAW,aAAa,GAAG,WAAW,IAC3E;EACA,WAAW;EACX,UAAU;EACV;CACF;AACF"}
|
|
@@ -31,7 +31,7 @@ declare function useAppearance(): {
|
|
|
31
31
|
cornerSmoothingPercent: import("vue").ComputedRef<number | typeof MIXED>;
|
|
32
32
|
opacityPercent: import("vue").ComputedRef<number | typeof MIXED>;
|
|
33
33
|
blendModeValue: import("vue").ComputedRef<import("@pairdraw/scene-graph").BlendMode | typeof MIXED>;
|
|
34
|
-
visibilityState: import("vue").ComputedRef<"
|
|
34
|
+
visibilityState: import("vue").ComputedRef<"visible" | "mixed" | "hidden">;
|
|
35
35
|
editor: import("@pairdraw/core").Editor;
|
|
36
36
|
nodes: import("vue").ComputedRef<import("@pairdraw/scene-graph").SceneNode[]>;
|
|
37
37
|
node: import("vue").ComputedRef<import("@pairdraw/scene-graph").SceneNode | null>;
|
|
@@ -14,7 +14,7 @@ declare function usePosition(): {
|
|
|
14
14
|
active: import("vue").ComputedRef<boolean>;
|
|
15
15
|
isMulti: import("vue").ComputedRef<boolean>;
|
|
16
16
|
prop: <K extends keyof SceneNode>(key: K) => import("vue").ComputedRef<MixedValue<SceneNode[K]>>;
|
|
17
|
-
panelProp: (key: "x" | "y" | "
|
|
17
|
+
panelProp: (key: "x" | "y" | "rotation" | "width" | "height") => import("vue").ComputedRef<MixedValue<number>>;
|
|
18
18
|
ids: import("vue").ComputedRef<string[]>;
|
|
19
19
|
x: import("vue").ComputedRef<number>;
|
|
20
20
|
y: import("vue").ComputedRef<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shortcut.d.ts","names":[],"sources":["../../../src/editor/commands/shortcut.ts"],"mappings":";KACY;
|
|
1
|
+
{"version":3,"file":"shortcut.d.ts","names":[],"sources":["../../../src/editor/commands/shortcut.ts"],"mappings":";KACY;iBAmCI,iBAAiB,qBAAkC;iBAWnD,eACd,8BACA,WAAQ"}
|
|
@@ -20,6 +20,14 @@ const MODIFIER_DISPLAY = {
|
|
|
20
20
|
CTRL: "Ctrl"
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
|
+
/** The macOS glyphs the command metadata carries, named as the key prints elsewhere. */
|
|
24
|
+
const KEY_DISPLAY = {
|
|
25
|
+
"⌫": "Backspace",
|
|
26
|
+
"⇥": "Tab",
|
|
27
|
+
"↩": "Enter",
|
|
28
|
+
"⇞": "PageUp",
|
|
29
|
+
"⇟": "PageDown"
|
|
30
|
+
};
|
|
23
31
|
const MAC_MODIFIER_ORDER = [
|
|
24
32
|
"CTRL",
|
|
25
33
|
"ALT",
|
|
@@ -46,7 +54,7 @@ function formatShortcut(shortcut, platform = shortcutPlatform()) {
|
|
|
46
54
|
return shortcut.split(" ").map((combo) => {
|
|
47
55
|
const parts = compact(combo.split("+"));
|
|
48
56
|
const modifiers = parts.filter((part) => part in MODIFIER_DISPLAY[platform]);
|
|
49
|
-
const keys = parts.filter((part) => !(part in MODIFIER_DISPLAY[platform]));
|
|
57
|
+
const keys = parts.filter((part) => !(part in MODIFIER_DISPLAY[platform])).map((part) => platform === "mac" ? part : KEY_DISPLAY[part] ?? part);
|
|
50
58
|
const formattedModifiers = sortModifiers(modifiers, platform).map((part) => MODIFIER_DISPLAY[platform][part]);
|
|
51
59
|
const separator = platform === "mac" ? "" : "+";
|
|
52
60
|
return [...formattedModifiers, ...keys].join(separator);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shortcut.js","names":[],"sources":["../../../src/editor/commands/shortcut.ts"],"sourcesContent":["import { compact } from 'es-toolkit/array'\nexport type ShortcutPlatform = 'mac' | 'windows' | 'linux'\n\nconst MODIFIER_DISPLAY: Record<ShortcutPlatform, Record<string, string>> = {\n mac: {\n MOD: '⌘',\n SHIFT: '⇧',\n ALT: '⌥',\n CTRL: '⌃'\n },\n windows: {\n MOD: 'Ctrl',\n SHIFT: 'Shift',\n ALT: 'Alt',\n CTRL: 'Ctrl'\n },\n linux: {\n MOD: 'Ctrl',\n SHIFT: 'Shift',\n ALT: 'Alt',\n CTRL: 'Ctrl'\n }\n}\n\nconst MAC_MODIFIER_ORDER = ['CTRL', 'ALT', 'SHIFT', 'MOD']\nconst STANDARD_MODIFIER_ORDER = ['MOD', 'CTRL', 'ALT', 'SHIFT']\n\nexport function shortcutPlatform(userAgent = navigator.userAgent): ShortcutPlatform {\n if (/Mac|iPhone|iPad|iPod/u.test(userAgent)) return 'mac'\n if (/Win/u.test(userAgent)) return 'windows'\n return 'linux'\n}\n\nfunction sortModifiers(modifiers: string[], platform: ShortcutPlatform): string[] {\n const order = platform === 'mac' ? MAC_MODIFIER_ORDER : STANDARD_MODIFIER_ORDER\n return [...modifiers].sort((a, b) => order.indexOf(a) - order.indexOf(b))\n}\n\nexport function formatShortcut(\n shortcut: string | undefined,\n platform = shortcutPlatform()\n): string | undefined {\n if (!shortcut) return undefined\n\n return shortcut\n .split(' ')\n .map((combo) => {\n const parts = compact(combo.split('+'))\n const modifiers = parts.filter((part) => part in MODIFIER_DISPLAY[platform])\n const keys = parts.filter((part) => !(part in MODIFIER_DISPLAY[platform]))\n const formattedModifiers = sortModifiers(modifiers, platform).map(\n (part) => MODIFIER_DISPLAY[platform][part]\n )\n const separator = platform === 'mac' ? '' : '+'\n return [...formattedModifiers, ...keys].join(separator)\n })\n .join(' ')\n}\n"],"mappings":";;AAGA,MAAM,mBAAqE;CACzE,KAAK;EACH,KAAK;EACL,OAAO;EACP,KAAK;EACL,MAAM;CACR;CACA,SAAS;EACP,KAAK;EACL,OAAO;EACP,KAAK;EACL,MAAM;CACR;CACA,OAAO;EACL,KAAK;EACL,OAAO;EACP,KAAK;EACL,MAAM;CACR;AACF;AAEA,MAAM,qBAAqB;CAAC;CAAQ;CAAO;CAAS;AAAK;AACzD,MAAM,0BAA0B;CAAC;CAAO;CAAQ;CAAO;AAAO;AAE9D,SAAgB,iBAAiB,YAAY,UAAU,WAA6B;CAClF,IAAI,wBAAwB,KAAK,SAAS,GAAG,OAAO;CACpD,IAAI,OAAO,KAAK,SAAS,GAAG,OAAO;CACnC,OAAO;AACT;AAEA,SAAS,cAAc,WAAqB,UAAsC;CAChF,MAAM,QAAQ,aAAa,QAAQ,qBAAqB;CACxD,OAAO,CAAC,GAAG,SAAS,CAAC,CAAC,MAAM,GAAG,MAAM,MAAM,QAAQ,CAAC,IAAI,MAAM,QAAQ,CAAC,CAAC;AAC1E;AAEA,SAAgB,eACd,UACA,WAAW,iBAAiB,GACR;CACpB,IAAI,CAAC,UAAU,OAAO,KAAA;CAEtB,OAAO,SACJ,MAAM,GAAG,CAAC,CACV,KAAK,UAAU;EACd,MAAM,QAAQ,QAAQ,MAAM,MAAM,GAAG,CAAC;EACtC,MAAM,YAAY,MAAM,QAAQ,SAAS,QAAQ,iBAAiB,SAAS;EAC3E,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"shortcut.js","names":[],"sources":["../../../src/editor/commands/shortcut.ts"],"sourcesContent":["import { compact } from 'es-toolkit/array'\nexport type ShortcutPlatform = 'mac' | 'windows' | 'linux'\n\nconst MODIFIER_DISPLAY: Record<ShortcutPlatform, Record<string, string>> = {\n mac: {\n MOD: '⌘',\n SHIFT: '⇧',\n ALT: '⌥',\n CTRL: '⌃'\n },\n windows: {\n MOD: 'Ctrl',\n SHIFT: 'Shift',\n ALT: 'Alt',\n CTRL: 'Ctrl'\n },\n linux: {\n MOD: 'Ctrl',\n SHIFT: 'Shift',\n ALT: 'Alt',\n CTRL: 'Ctrl'\n }\n}\n\n/** The macOS glyphs the command metadata carries, named as the key prints elsewhere. */\nconst KEY_DISPLAY: Record<string, string> = {\n '⌫': 'Backspace',\n '⇥': 'Tab',\n '↩': 'Enter',\n '⇞': 'PageUp',\n '⇟': 'PageDown'\n}\n\nconst MAC_MODIFIER_ORDER = ['CTRL', 'ALT', 'SHIFT', 'MOD']\nconst STANDARD_MODIFIER_ORDER = ['MOD', 'CTRL', 'ALT', 'SHIFT']\n\nexport function shortcutPlatform(userAgent = navigator.userAgent): ShortcutPlatform {\n if (/Mac|iPhone|iPad|iPod/u.test(userAgent)) return 'mac'\n if (/Win/u.test(userAgent)) return 'windows'\n return 'linux'\n}\n\nfunction sortModifiers(modifiers: string[], platform: ShortcutPlatform): string[] {\n const order = platform === 'mac' ? MAC_MODIFIER_ORDER : STANDARD_MODIFIER_ORDER\n return [...modifiers].sort((a, b) => order.indexOf(a) - order.indexOf(b))\n}\n\nexport function formatShortcut(\n shortcut: string | undefined,\n platform = shortcutPlatform()\n): string | undefined {\n if (!shortcut) return undefined\n\n return shortcut\n .split(' ')\n .map((combo) => {\n const parts = compact(combo.split('+'))\n const modifiers = parts.filter((part) => part in MODIFIER_DISPLAY[platform])\n const keys = parts\n .filter((part) => !(part in MODIFIER_DISPLAY[platform]))\n .map((part) => (platform === 'mac' ? part : (KEY_DISPLAY[part] ?? part)))\n const formattedModifiers = sortModifiers(modifiers, platform).map(\n (part) => MODIFIER_DISPLAY[platform][part]\n )\n const separator = platform === 'mac' ? '' : '+'\n return [...formattedModifiers, ...keys].join(separator)\n })\n .join(' ')\n}\n"],"mappings":";;AAGA,MAAM,mBAAqE;CACzE,KAAK;EACH,KAAK;EACL,OAAO;EACP,KAAK;EACL,MAAM;CACR;CACA,SAAS;EACP,KAAK;EACL,OAAO;EACP,KAAK;EACL,MAAM;CACR;CACA,OAAO;EACL,KAAK;EACL,OAAO;EACP,KAAK;EACL,MAAM;CACR;AACF;;AAGA,MAAM,cAAsC;CAC1C,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;AACP;AAEA,MAAM,qBAAqB;CAAC;CAAQ;CAAO;CAAS;AAAK;AACzD,MAAM,0BAA0B;CAAC;CAAO;CAAQ;CAAO;AAAO;AAE9D,SAAgB,iBAAiB,YAAY,UAAU,WAA6B;CAClF,IAAI,wBAAwB,KAAK,SAAS,GAAG,OAAO;CACpD,IAAI,OAAO,KAAK,SAAS,GAAG,OAAO;CACnC,OAAO;AACT;AAEA,SAAS,cAAc,WAAqB,UAAsC;CAChF,MAAM,QAAQ,aAAa,QAAQ,qBAAqB;CACxD,OAAO,CAAC,GAAG,SAAS,CAAC,CAAC,MAAM,GAAG,MAAM,MAAM,QAAQ,CAAC,IAAI,MAAM,QAAQ,CAAC,CAAC;AAC1E;AAEA,SAAgB,eACd,UACA,WAAW,iBAAiB,GACR;CACpB,IAAI,CAAC,UAAU,OAAO,KAAA;CAEtB,OAAO,SACJ,MAAM,GAAG,CAAC,CACV,KAAK,UAAU;EACd,MAAM,QAAQ,QAAQ,MAAM,MAAM,GAAG,CAAC;EACtC,MAAM,YAAY,MAAM,QAAQ,SAAS,QAAQ,iBAAiB,SAAS;EAC3E,MAAM,OAAO,MACV,QAAQ,SAAS,EAAE,QAAQ,iBAAiB,UAAU,CAAC,CACvD,KAAK,SAAU,aAAa,QAAQ,OAAQ,YAAY,SAAS,IAAM;EAC1E,MAAM,qBAAqB,cAAc,WAAW,QAAQ,CAAC,CAAC,KAC3D,SAAS,iBAAiB,SAAS,CAAC,KACvC;EACA,MAAM,YAAY,aAAa,QAAQ,KAAK;EAC5C,OAAO,CAAC,GAAG,oBAAoB,GAAG,IAAI,CAAC,CAAC,KAAK,SAAS;CACxD,CAAC,CAAC,CACD,KAAK,GAAG;AACb"}
|
|
@@ -9,6 +9,8 @@ var code_default = {
|
|
|
9
9
|
exportHTML: "HTML exportieren",
|
|
10
10
|
exportNothing: "Nichts zu exportieren",
|
|
11
11
|
exportSinglePage: "Die Auswahl für den Export muss auf einer Seite liegen",
|
|
12
|
+
copyFailed: "Kopieren fehlgeschlagen: {error}",
|
|
13
|
+
copyNothing: "Nichts zu kopieren",
|
|
12
14
|
generatedReadOnly: "Generiert, schreibgeschützt",
|
|
13
15
|
iconPackage: "Symbole",
|
|
14
16
|
jsxUpToDate: "Aktuell",
|
|
@@ -9,6 +9,8 @@ var code_default = {
|
|
|
9
9
|
exportHTML: "Exportar HTML",
|
|
10
10
|
exportNothing: "No hay nada que exportar",
|
|
11
11
|
exportSinglePage: "La selección que se exporta debe estar en una sola página",
|
|
12
|
+
copyFailed: "No se pudo copiar: {error}",
|
|
13
|
+
copyNothing: "No hay nada que copiar",
|
|
12
14
|
generatedReadOnly: "Generado, solo lectura",
|
|
13
15
|
iconPackage: "Iconos",
|
|
14
16
|
jsxUpToDate: "Actualizado",
|
|
@@ -9,6 +9,8 @@ var code_default = {
|
|
|
9
9
|
exportHTML: "Exporter en HTML",
|
|
10
10
|
exportNothing: "Rien à exporter",
|
|
11
11
|
exportSinglePage: "La sélection à exporter doit se trouver sur une seule page",
|
|
12
|
+
copyFailed: "Copie impossible : {error}",
|
|
13
|
+
copyNothing: "Rien à copier",
|
|
12
14
|
generatedReadOnly: "Généré, lecture seule",
|
|
13
15
|
iconPackage: "Icônes",
|
|
14
16
|
jsxUpToDate: "À jour",
|
|
@@ -31,7 +31,7 @@ var automation_default = {
|
|
|
31
31
|
mcpFailureCopy: "Salin detail",
|
|
32
32
|
localServer: "Server lokal",
|
|
33
33
|
localServerDesktopOnly: "MCP server lokal berjalan bersama aplikasi desktop Pairdraw. Di browser, gunakan WebMCP di bawah.",
|
|
34
|
-
webmcpDescription: "
|
|
34
|
+
webmcpDescription: "Biarkan agent browser menggunakan dokumen ini langsung, tanpa MCP server lokal atau token Bearer. Pengaturan server lokal tidak berlaku di sini.",
|
|
35
35
|
browserAccess: "Akses agent browser",
|
|
36
36
|
accessOff: "Nonaktif",
|
|
37
37
|
accessInspect: "Inspeksi",
|
|
@@ -53,9 +53,9 @@ var automation_default = {
|
|
|
53
53
|
serverURLHint: "Server harus mendukung Streamable HTTP. Gunakan HTTPS. HTTP hanya diizinkan untuk localhost atau alamat loopback. Jangan sertakan kredensial di URL.",
|
|
54
54
|
serverURL: "URL MCP server",
|
|
55
55
|
enableConnection: "Aktifkan untuk AI chat dan agent",
|
|
56
|
-
bearerToken: "Bearer
|
|
57
|
-
bearerTokenPlaceholder: "Masukkan
|
|
58
|
-
bearerTokenRequired: "Masukkan
|
|
56
|
+
bearerToken: "Token Bearer",
|
|
57
|
+
bearerTokenPlaceholder: "Masukkan token Bearer",
|
|
58
|
+
bearerTokenRequired: "Masukkan token Bearer sebelum mengaktifkan koneksi ini.",
|
|
59
59
|
deleteConnection: "Hapus koneksi",
|
|
60
60
|
deleteConnectionDescription: "Hapus koneksi MCP ini beserta kredensial tersimpannya?",
|
|
61
61
|
noConnections: "Tidak ada koneksi MCP eksternal yang dikonfigurasi.",
|
|
@@ -74,7 +74,7 @@ var automation_default = {
|
|
|
74
74
|
environmentInvalid: "Gunakan baris NAME=value. Nama memakai huruf, angka, dan garis bawah; PATH dan variabel yang memuat kode tidak diizinkan.",
|
|
75
75
|
authenticationType: "Autentikasi",
|
|
76
76
|
authenticationNone: "Tidak ada",
|
|
77
|
-
authenticationBearer: "Bearer
|
|
77
|
+
authenticationBearer: "Token Bearer",
|
|
78
78
|
authenticationOAuth: "Masuk OAuth",
|
|
79
79
|
oauthHint: "Untuk server hosting yang meminta proses masuk, seperti Notion atau Linear.",
|
|
80
80
|
oauthSignIn: "Masuk",
|
|
@@ -92,7 +92,7 @@ var automation_default = {
|
|
|
92
92
|
connectionTestSaveFirst: "Simpan perubahan sebelum menguji.",
|
|
93
93
|
connectionTestSuccess: "Terhubung. Alat tersedia: {count}.",
|
|
94
94
|
connectionTestSignIn: "Server meminta proses masuk.",
|
|
95
|
-
connectionTestCredential: "Masukkan
|
|
95
|
+
connectionTestCredential: "Masukkan token Bearer, lalu simpan.",
|
|
96
96
|
connectionTestDeclined: "Menjalankan perintah tidak diizinkan.",
|
|
97
97
|
connectionTestFailed: "Tidak dapat terhubung. Periksa alamat atau perintah, lalu coba lagi.",
|
|
98
98
|
description: "Pantau dan jalankan ulang MCP server lokal yang dipakai agent dan otomasi.",
|
|
@@ -101,7 +101,7 @@ var automation_default = {
|
|
|
101
101
|
address: "Alamat",
|
|
102
102
|
version: "Versi",
|
|
103
103
|
authentication: "Wajibkan autentikasi",
|
|
104
|
-
authenticationDescription: "Lindungi endpoint localhost MCP dengan
|
|
104
|
+
authenticationDescription: "Lindungi endpoint localhost MCP dengan token Bearer. Nonaktifkan hanya pada mesin tepercaya. Jalankan ulang server untuk menerapkan perubahan.",
|
|
105
105
|
selectionScope: "Bagikan hanya seleksi",
|
|
106
106
|
selectionScopeDescription: "Biarkan klien MCP membaca hanya layer yang dipilih, dengan get_selection, get_node, get_page_tree, describe, dan export_image, tanpa alat lain. Jalankan ulang server untuk menerapkan perubahan.",
|
|
107
107
|
rootDirectory: "Direktori root MCP",
|
|
@@ -35,7 +35,9 @@ var code_default = {
|
|
|
35
35
|
exportHTML: "Ekspor HTML",
|
|
36
36
|
exportFailed: "Tidak dapat mengekspor: {error}",
|
|
37
37
|
exportNothing: "Tidak ada yang bisa diekspor",
|
|
38
|
-
exportSinglePage: "Seleksi yang diekspor harus berada di satu halaman"
|
|
38
|
+
exportSinglePage: "Seleksi yang diekspor harus berada di satu halaman",
|
|
39
|
+
copyFailed: "Tidak dapat menyalin: {error}",
|
|
40
|
+
copyNothing: "Tidak ada yang bisa disalin"
|
|
39
41
|
};
|
|
40
42
|
//#endregion
|
|
41
43
|
export { code_default as default };
|
|
@@ -16,7 +16,7 @@ var editor_default = {
|
|
|
16
16
|
startPreview: "Pratinjau ({shortcut})",
|
|
17
17
|
toggleAIChat: "Chat AI ({shortcut})",
|
|
18
18
|
toggleLayersPanel: "Panel layer",
|
|
19
|
-
goodies: "
|
|
19
|
+
goodies: "Ekstra",
|
|
20
20
|
goodiesDescription: "Gaya, design system, skrip, dan shader untuk memulai.",
|
|
21
21
|
goodiesFeatured: "Unggulan",
|
|
22
22
|
goodiesStyles: "Gaya",
|
|
@@ -75,7 +75,7 @@ var menu_default = {
|
|
|
75
75
|
pasteProperties: "Tempel properti",
|
|
76
76
|
renameSelection: "Ganti nama seleksi…",
|
|
77
77
|
findLayers: "Cari layer…",
|
|
78
|
-
goodies: "
|
|
78
|
+
goodies: "Ekstra…",
|
|
79
79
|
copyPasteAs: "Salin/Tempel sebagai",
|
|
80
80
|
copyAsText: "Salin sebagai teks",
|
|
81
81
|
copyAsSVG: "Salin sebagai SVG",
|
|
@@ -511,7 +511,7 @@ var panels_default = {
|
|
|
511
511
|
imageContrast: "Kontras",
|
|
512
512
|
imageSaturation: "Saturasi",
|
|
513
513
|
imageTemperature: "Temperatur",
|
|
514
|
-
imageTint: "
|
|
514
|
+
imageTint: "Pewarnaan",
|
|
515
515
|
imageHighlights: "Highlight",
|
|
516
516
|
imageShadows: "Bayangan",
|
|
517
517
|
mixedFillsHelp: "Klik + untuk mengganti fill campuran",
|
|
@@ -639,7 +639,7 @@ var panels_default = {
|
|
|
639
639
|
rulers: "Penggaris",
|
|
640
640
|
multiplayerCursors: "Kursor multiplayer",
|
|
641
641
|
direction: "Arah",
|
|
642
|
-
flow: "
|
|
642
|
+
flow: "Alur",
|
|
643
643
|
freeform: "Bebas",
|
|
644
644
|
dimensions: "Dimensi",
|
|
645
645
|
spacing: "Spasi",
|
|
@@ -648,7 +648,7 @@ var panels_default = {
|
|
|
648
648
|
layoutGrid: "Layout grid",
|
|
649
649
|
layoutWrap: "Layout wrap",
|
|
650
650
|
gapAuto: "Gap otomatis",
|
|
651
|
-
spaceAround: "
|
|
651
|
+
spaceAround: "Ruang sekeliling",
|
|
652
652
|
horizontalGap: "Gap horizontal",
|
|
653
653
|
verticalGap: "Gap vertikal",
|
|
654
654
|
auto: "Otomatis",
|
|
@@ -9,6 +9,8 @@ var code_default = {
|
|
|
9
9
|
exportHTML: "Esporta HTML",
|
|
10
10
|
exportNothing: "Niente da esportare",
|
|
11
11
|
exportSinglePage: "La selezione da esportare deve trovarsi in una sola pagina",
|
|
12
|
+
copyFailed: "Impossibile copiare: {error}",
|
|
13
|
+
copyNothing: "Niente da copiare",
|
|
12
14
|
generatedReadOnly: "Generato, in sola lettura",
|
|
13
15
|
iconPackage: "Icone",
|
|
14
16
|
jsxUpToDate: "Aggiornato",
|
|
@@ -9,6 +9,8 @@ var code_default = {
|
|
|
9
9
|
exportHTML: "HTML をエクスポート",
|
|
10
10
|
exportNothing: "エクスポートするものがありません",
|
|
11
11
|
exportSinglePage: "エクスポートする選択範囲は1つのページ内に収める必要があります",
|
|
12
|
+
copyFailed: "コピーできませんでした: {error}",
|
|
13
|
+
copyNothing: "コピーするものがありません",
|
|
12
14
|
generatedReadOnly: "生成済み、読み取り専用",
|
|
13
15
|
iconPackage: "アイコン",
|
|
14
16
|
jsxUpToDate: "最新です",
|
|
@@ -9,6 +9,8 @@ var code_default = {
|
|
|
9
9
|
exportHTML: "Eksportuj HTML",
|
|
10
10
|
exportNothing: "Nie ma nic do wyeksportowania",
|
|
11
11
|
exportSinglePage: "Eksportowane zaznaczenie musi znajdować się na jednej stronie",
|
|
12
|
+
copyFailed: "Nie udało się skopiować: {error}",
|
|
13
|
+
copyNothing: "Nie ma nic do skopiowania",
|
|
12
14
|
generatedReadOnly: "Wygenerowany, tylko do odczytu",
|
|
13
15
|
iconPackage: "Ikony",
|
|
14
16
|
jsxUpToDate: "Aktualne",
|
|
@@ -9,6 +9,8 @@ var code_default = {
|
|
|
9
9
|
exportHTML: "Экспортировать HTML",
|
|
10
10
|
exportNothing: "Нечего экспортировать",
|
|
11
11
|
exportSinglePage: "Экспортируемое выделение должно находиться на одной странице",
|
|
12
|
+
copyFailed: "Не удалось скопировать: {error}",
|
|
13
|
+
copyNothing: "Нечего копировать",
|
|
12
14
|
generatedReadOnly: "Сгенерировано, только чтение",
|
|
13
15
|
iconPackage: "Значки",
|
|
14
16
|
jsxUpToDate: "Актуально",
|
|
@@ -42,6 +42,10 @@ declare const codeMessages: import("@nanostores/i18n").Messages<{
|
|
|
42
42
|
} & object], string>;
|
|
43
43
|
readonly exportNothing: "Nothing to export";
|
|
44
44
|
readonly exportSinglePage: "Export selection must stay on a single page";
|
|
45
|
+
readonly copyFailed: import("@nanostores/i18n").TranslationFunction<[{
|
|
46
|
+
error: string | number;
|
|
47
|
+
} & object], string>;
|
|
48
|
+
readonly copyNothing: "Nothing to copy";
|
|
45
49
|
}>;
|
|
46
50
|
//#endregion
|
|
47
51
|
export { codeMessages };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code.d.ts","names":[],"sources":["../../../src/i18n/messages/code.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"code.d.ts","names":[],"sources":["../../../src/i18n/messages/code.ts"],"mappings":";cA6Ca,yCAAY"}
|
|
@@ -37,7 +37,9 @@ const codeMessageDefaults = {
|
|
|
37
37
|
exportHTML: "Export HTML",
|
|
38
38
|
exportFailed: params("Could not export: {error}"),
|
|
39
39
|
exportNothing: "Nothing to export",
|
|
40
|
-
exportSinglePage: "Export selection must stay on a single page"
|
|
40
|
+
exportSinglePage: "Export selection must stay on a single page",
|
|
41
|
+
copyFailed: params("Could not copy: {error}"),
|
|
42
|
+
copyNothing: "Nothing to copy"
|
|
41
43
|
};
|
|
42
44
|
const codeMessages = i18n("code", codeMessageDefaults);
|
|
43
45
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code.js","names":[],"sources":["../../../src/i18n/messages/code.ts"],"sourcesContent":["import { params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const codeMessageDefaults = {\n scriptLayer: 'Script layer',\n scriptRun: 'Run',\n scriptRunning: 'Running…',\n scriptCode: 'Script code',\n scriptInputs: 'Script inputs',\n scriptBindInput: 'Bind input to variable',\n scriptDetachInput: 'Detach variable',\n scriptConvertToLayers: 'Convert to layers',\n source: 'Code source',\n sourceDesignJSX: 'Design JSX',\n sourceHTML: 'HTML',\n sourceVue: 'Vue',\n sourceReact: 'React',\n styling: 'Styling',\n stylingCSS: 'CSS',\n stylingTailwind: 'Tailwind',\n editorDesignLabel: 'Design JSX',\n editorHTMLCSSLabel: 'HTML and CSS',\n updating: 'Updating…',\n updatedLive: 'Updated live',\n previewFailed: 'Preview failed',\n generatedReadOnly: 'Generated, read only',\n reset: 'Reset',\n copyJSXReference: 'Copy JSX prop reference to clipboard',\n jsxUpToDate: 'Up to date',\n canvasChangedExpression: params('The canvas now has {value}; the expression stays as written.'),\n canvasChangedOrder: 'The canvas now orders these layers differently; the code stays as written.',\n noSelection: 'Select a layer to see its code',\n noSelectionDesignJSX: 'Or write Design JSX to add new layers to the page.',\n noSelectionComponents: params('{framework} components are generated for the selected layers.'),\n writeJSX: 'Write JSX',\n iconPackage: 'Icons',\n exportHTML: 'Export HTML',\n exportFailed: params('Could not export: {error}'),\n exportNothing: 'Nothing to export',\n exportSinglePage: 'Export selection must stay on a single page'\n} as const\n\nexport const codeMessages = i18n('code', codeMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,sBAAsB;CACjC,aAAa;CACb,WAAW;CACX,eAAe;CACf,YAAY;CACZ,cAAc;CACd,iBAAiB;CACjB,mBAAmB;CACnB,uBAAuB;CACvB,QAAQ;CACR,iBAAiB;CACjB,YAAY;CACZ,WAAW;CACX,aAAa;CACb,SAAS;CACT,YAAY;CACZ,iBAAiB;CACjB,mBAAmB;CACnB,oBAAoB;CACpB,UAAU;CACV,aAAa;CACb,eAAe;CACf,mBAAmB;CACnB,OAAO;CACP,kBAAkB;CAClB,aAAa;CACb,yBAAyB,OAAO,8DAA8D;CAC9F,oBAAoB;CACpB,aAAa;CACb,sBAAsB;CACtB,uBAAuB,OAAO,+DAA+D;CAC7F,UAAU;CACV,aAAa;CACb,YAAY;CACZ,cAAc,OAAO,2BAA2B;CAChD,eAAe;CACf,kBAAkB;
|
|
1
|
+
{"version":3,"file":"code.js","names":[],"sources":["../../../src/i18n/messages/code.ts"],"sourcesContent":["import { params } from '@nanostores/i18n'\n\nimport { i18n } from '#vue/i18n/create'\n\nexport const codeMessageDefaults = {\n scriptLayer: 'Script layer',\n scriptRun: 'Run',\n scriptRunning: 'Running…',\n scriptCode: 'Script code',\n scriptInputs: 'Script inputs',\n scriptBindInput: 'Bind input to variable',\n scriptDetachInput: 'Detach variable',\n scriptConvertToLayers: 'Convert to layers',\n source: 'Code source',\n sourceDesignJSX: 'Design JSX',\n sourceHTML: 'HTML',\n sourceVue: 'Vue',\n sourceReact: 'React',\n styling: 'Styling',\n stylingCSS: 'CSS',\n stylingTailwind: 'Tailwind',\n editorDesignLabel: 'Design JSX',\n editorHTMLCSSLabel: 'HTML and CSS',\n updating: 'Updating…',\n updatedLive: 'Updated live',\n previewFailed: 'Preview failed',\n generatedReadOnly: 'Generated, read only',\n reset: 'Reset',\n copyJSXReference: 'Copy JSX prop reference to clipboard',\n jsxUpToDate: 'Up to date',\n canvasChangedExpression: params('The canvas now has {value}; the expression stays as written.'),\n canvasChangedOrder: 'The canvas now orders these layers differently; the code stays as written.',\n noSelection: 'Select a layer to see its code',\n noSelectionDesignJSX: 'Or write Design JSX to add new layers to the page.',\n noSelectionComponents: params('{framework} components are generated for the selected layers.'),\n writeJSX: 'Write JSX',\n iconPackage: 'Icons',\n exportHTML: 'Export HTML',\n exportFailed: params('Could not export: {error}'),\n exportNothing: 'Nothing to export',\n exportSinglePage: 'Export selection must stay on a single page',\n copyFailed: params('Could not copy: {error}'),\n copyNothing: 'Nothing to copy'\n} as const\n\nexport const codeMessages = i18n('code', codeMessageDefaults)\n"],"mappings":";;;AAIA,MAAa,sBAAsB;CACjC,aAAa;CACb,WAAW;CACX,eAAe;CACf,YAAY;CACZ,cAAc;CACd,iBAAiB;CACjB,mBAAmB;CACnB,uBAAuB;CACvB,QAAQ;CACR,iBAAiB;CACjB,YAAY;CACZ,WAAW;CACX,aAAa;CACb,SAAS;CACT,YAAY;CACZ,iBAAiB;CACjB,mBAAmB;CACnB,oBAAoB;CACpB,UAAU;CACV,aAAa;CACb,eAAe;CACf,mBAAmB;CACnB,OAAO;CACP,kBAAkB;CAClB,aAAa;CACb,yBAAyB,OAAO,8DAA8D;CAC9F,oBAAoB;CACpB,aAAa;CACb,sBAAsB;CACtB,uBAAuB,OAAO,+DAA+D;CAC7F,UAAU;CACV,aAAa;CACb,YAAY;CACZ,cAAc,OAAO,2BAA2B;CAChD,eAAe;CACf,kBAAkB;CAClB,YAAY,OAAO,yBAAyB;CAC5C,aAAa;AACf;AAEA,MAAa,eAAe,KAAK,QAAQ,mBAAmB"}
|
package/dist/i18n/messages.d.ts
CHANGED
|
@@ -1321,6 +1321,10 @@ declare const messageDefaults: {
|
|
|
1321
1321
|
} & object], string>;
|
|
1322
1322
|
readonly exportNothing: "Nothing to export";
|
|
1323
1323
|
readonly exportSinglePage: "Export selection must stay on a single page";
|
|
1324
|
+
readonly copyFailed: import("@nanostores/i18n").TranslationFunction<[{
|
|
1325
|
+
error: string | number;
|
|
1326
|
+
} & object], string>;
|
|
1327
|
+
readonly copyNothing: "Nothing to copy";
|
|
1324
1328
|
};
|
|
1325
1329
|
readonly collaboration: {
|
|
1326
1330
|
readonly inThisRoom: "In this room";
|
package/dist/i18n/useI18n.d.ts
CHANGED
|
@@ -2516,6 +2516,10 @@ declare const useCodeMessages: () => Ref<{
|
|
|
2516
2516
|
} & object], string>;
|
|
2517
2517
|
readonly exportNothing: "Nothing to export";
|
|
2518
2518
|
readonly exportSinglePage: "Export selection must stay on a single page";
|
|
2519
|
+
readonly copyFailed: import("@nanostores/i18n").TranslationFunction<[{
|
|
2520
|
+
error: string | number;
|
|
2521
|
+
} & object], string>;
|
|
2522
|
+
readonly copyNothing: "Nothing to copy";
|
|
2519
2523
|
}, {
|
|
2520
2524
|
readonly scriptLayer: "Script layer";
|
|
2521
2525
|
readonly scriptRun: "Run";
|
|
@@ -2559,6 +2563,10 @@ declare const useCodeMessages: () => Ref<{
|
|
|
2559
2563
|
} & object], string>;
|
|
2560
2564
|
readonly exportNothing: "Nothing to export";
|
|
2561
2565
|
readonly exportSinglePage: "Export selection must stay on a single page";
|
|
2566
|
+
readonly copyFailed: import("@nanostores/i18n").TranslationFunction<[{
|
|
2567
|
+
error: string | number;
|
|
2568
|
+
} & object], string>;
|
|
2569
|
+
readonly copyNothing: "Nothing to copy";
|
|
2562
2570
|
}>;
|
|
2563
2571
|
declare const useCollaborationMessages: () => Ref<{
|
|
2564
2572
|
readonly inThisRoom: "In this room";
|
|
@@ -12248,6 +12256,10 @@ declare function useI18n(): {
|
|
|
12248
12256
|
} & object], string>;
|
|
12249
12257
|
readonly exportNothing: "Nothing to export";
|
|
12250
12258
|
readonly exportSinglePage: "Export selection must stay on a single page";
|
|
12259
|
+
readonly copyFailed: import("@nanostores/i18n").TranslationFunction<[{
|
|
12260
|
+
error: string | number;
|
|
12261
|
+
} & object], string>;
|
|
12262
|
+
readonly copyNothing: "Nothing to copy";
|
|
12251
12263
|
}, {
|
|
12252
12264
|
readonly scriptLayer: "Script layer";
|
|
12253
12265
|
readonly scriptRun: "Run";
|
|
@@ -12291,6 +12303,10 @@ declare function useI18n(): {
|
|
|
12291
12303
|
} & object], string>;
|
|
12292
12304
|
readonly exportNothing: "Nothing to export";
|
|
12293
12305
|
readonly exportSinglePage: "Export selection must stay on a single page";
|
|
12306
|
+
readonly copyFailed: import("@nanostores/i18n").TranslationFunction<[{
|
|
12307
|
+
error: string | number;
|
|
12308
|
+
} & object], string>;
|
|
12309
|
+
readonly copyNothing: "Nothing to copy";
|
|
12294
12310
|
}>;
|
|
12295
12311
|
collaboration: Ref<{
|
|
12296
12312
|
readonly inThisRoom: "In this room";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.d.ts","names":[],"sources":["../../src/i18n/useI18n.ts"],"mappings":";;;;iBAiDgB,iBAAiB,sBAAsB,OAAO,UAAU,gBACzC,IAAI,WAAW;cAGjC,wBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAChB,qBAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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|
outline?: {
|
|
23
23
|
type: import("@pairdraw/scene-graph").NodeType;
|
|
24
|
+
rotation: number;
|
|
24
25
|
width: number;
|
|
25
26
|
height: number;
|
|
26
|
-
rotation: number;
|
|
27
27
|
cornerRadius: number;
|
|
28
28
|
topLeftRadius: number;
|
|
29
29
|
topRightRadius: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pairdraw/vue",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.2.0",
|
|
14
14
|
"@nanostores/i18n": "^1.3.3",
|
|
15
15
|
"@nanostores/vue": "^1.1.0",
|
|
16
|
-
"@pairdraw/dom-css": "^0.21.
|
|
17
|
-
"@pairdraw/scene-graph": "^0.21.
|
|
16
|
+
"@pairdraw/dom-css": "^0.21.1",
|
|
17
|
+
"@pairdraw/scene-graph": "^0.21.1",
|
|
18
18
|
"@vueuse/core": "^14.4.0",
|
|
19
19
|
"es-toolkit": "^1.52.0",
|
|
20
20
|
"fuse.js": "^7.5.0",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"valibot": "^1.5.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@pairdraw/core": "^0.21.
|
|
27
|
+
"@pairdraw/core": "^0.21.1",
|
|
28
28
|
"canvaskit-wasm": ">=0.41.1",
|
|
29
29
|
"vue": "^3.5.41"
|
|
30
30
|
},
|