@pairdraw/vue 0.19.2 → 0.21.0
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/CanvasRoot.vue.js +5 -0
- package/dist/canvas/CanvasRoot.vue.js.map +1 -1
- package/dist/canvas/auto-layout/value-edit.js +1 -1
- package/dist/canvas/auto-layout/value-edit.js.map +1 -1
- package/dist/canvas/eyedropper/index.d.ts +26 -0
- package/dist/canvas/eyedropper/index.d.ts.map +1 -0
- package/dist/canvas/eyedropper/index.js +62 -0
- package/dist/canvas/eyedropper/index.js.map +1 -0
- package/dist/canvas/eyedropper/sample.js +13 -0
- package/dist/canvas/eyedropper/sample.js.map +1 -0
- package/dist/canvas/eyedropper/use.d.ts +33 -0
- package/dist/canvas/eyedropper/use.d.ts.map +1 -0
- package/dist/canvas/eyedropper/use.js +52 -0
- package/dist/canvas/eyedropper/use.js.map +1 -0
- package/dist/canvas/pointer/drag-move.js +4 -0
- package/dist/canvas/pointer/drag-move.js.map +1 -1
- package/dist/canvas/surface/color-space.d.ts +1 -0
- package/dist/canvas/surface/color-space.d.ts.map +1 -1
- package/dist/canvas/surface/gl-surface.js +5 -1
- package/dist/canvas/surface/gl-surface.js.map +1 -1
- package/dist/canvas/surface/kit-loader.js +2 -3
- package/dist/canvas/surface/kit-loader.js.map +1 -1
- package/dist/canvas/surface/lifecycle.js +34 -3
- package/dist/canvas/surface/lifecycle.js.map +1 -1
- package/dist/canvas/surface/origin.js +14 -0
- package/dist/canvas/surface/origin.js.map +1 -0
- package/dist/canvas/surface/shader/plan.js +40 -0
- package/dist/canvas/surface/shader/plan.js.map +1 -0
- package/dist/canvas/surface/shader/playback.js +132 -36
- package/dist/canvas/surface/shader/playback.js.map +1 -1
- package/dist/canvas/surface/shader/stage.d.ts.map +1 -1
- package/dist/canvas/surface/shader/stage.js +42 -5
- package/dist/canvas/surface/shader/stage.js.map +1 -1
- package/dist/canvas/surface/types.d.ts +25 -0
- package/dist/canvas/surface/types.d.ts.map +1 -1
- package/dist/canvas/surface/use.js +3 -1
- package/dist/canvas/surface/use.js.map +1 -1
- package/dist/canvas/text-edit/textarea.d.ts +1 -0
- package/dist/canvas/text-edit/textarea.d.ts.map +1 -1
- package/dist/canvas/tools/registry.js +5 -1
- package/dist/canvas/tools/registry.js.map +1 -1
- package/dist/canvas/useCanvasInput.d.ts +144 -2
- package/dist/canvas/useCanvasInput.d.ts.map +1 -1
- package/dist/canvas/useCanvasInput.js +3 -2
- package/dist/canvas/useCanvasInput.js.map +1 -1
- package/dist/controls/appearance/use.d.ts +1 -1
- package/dist/controls/binding-provider/pairdraw.js +1 -1
- package/dist/controls/binding-provider/pairdraw.js.map +1 -1
- package/dist/controls/color-model/types.d.ts +6 -0
- package/dist/controls/color-model/types.d.ts.map +1 -1
- package/dist/controls/color-model/use.d.ts.map +1 -1
- package/dist/controls/color-model/use.js +5 -3
- package/dist/controls/color-model/use.js.map +1 -1
- package/dist/controls/document-colors/index.d.ts +2 -0
- package/dist/controls/document-colors/index.js +2 -0
- package/dist/controls/document-colors/use.d.ts +20 -0
- package/dist/controls/document-colors/use.d.ts.map +1 -0
- package/dist/controls/document-colors/use.js +35 -0
- package/dist/controls/document-colors/use.js.map +1 -0
- package/dist/controls/effects/helpers.d.ts +13 -2
- package/dist/controls/effects/helpers.d.ts.map +1 -1
- package/dist/controls/effects/helpers.js +89 -34
- package/dist/controls/effects/helpers.js.map +1 -1
- package/dist/controls/effects/index.d.ts +2 -1
- package/dist/controls/effects/index.js +2 -1
- package/dist/controls/effects/use.d.ts +9 -7
- package/dist/controls/effects/use.d.ts.map +1 -1
- package/dist/controls/effects/use.js +6 -3
- package/dist/controls/effects/use.js.map +1 -1
- package/dist/controls/okhcl/use.d.ts +2 -2
- package/dist/controls/shader/catalog.d.ts +11 -0
- package/dist/controls/shader/catalog.d.ts.map +1 -1
- package/dist/controls/shader/catalog.js +35 -6
- package/dist/controls/shader/catalog.js.map +1 -1
- package/dist/controls/shader/gallery.d.ts +1 -1
- package/dist/controls/shader/gallery.d.ts.map +1 -1
- package/dist/controls/shader/gallery.js +292 -0
- package/dist/controls/shader/gallery.js.map +1 -1
- package/dist/controls/shader/index.d.ts +3 -1
- package/dist/controls/shader/index.js +3 -1
- package/dist/controls/shader/shapes.d.ts +18 -0
- package/dist/controls/shader/shapes.d.ts.map +1 -0
- package/dist/controls/shader/shapes.js +227 -0
- package/dist/controls/shader/shapes.js.map +1 -0
- package/dist/controls/shader/stops.d.ts +22 -0
- package/dist/controls/shader/stops.d.ts.map +1 -0
- package/dist/controls/shader/stops.js +73 -0
- package/dist/controls/shader/stops.js.map +1 -0
- package/dist/controls/typography/features.d.ts +24 -0
- package/dist/controls/typography/features.d.ts.map +1 -0
- package/dist/controls/typography/features.js +130 -0
- package/dist/controls/typography/features.js.map +1 -0
- package/dist/controls/typography/index.d.ts +2 -1
- package/dist/controls/typography/index.js +2 -1
- package/dist/controls/typography/use.d.ts +6 -0
- package/dist/controls/typography/use.d.ts.map +1 -1
- package/dist/controls/typography/use.js +4 -1
- package/dist/controls/typography/use.js.map +1 -1
- package/dist/controls/variable-modes/helpers.d.ts.map +1 -1
- package/dist/controls/variable-modes/helpers.js +4 -2
- package/dist/controls/variable-modes/helpers.js.map +1 -1
- package/dist/editor/commands/registry.d.ts +4 -0
- package/dist/editor/commands/registry.d.ts.map +1 -1
- package/dist/editor/commands/registry.js +2 -0
- package/dist/editor/commands/registry.js.map +1 -1
- package/dist/editor/commands/selection.js +22 -0
- package/dist/editor/commands/selection.js.map +1 -1
- package/dist/editor/commands/types.d.ts +1 -1
- package/dist/editor/commands/types.d.ts.map +1 -1
- package/dist/editor/menu-model/canvas.d.ts.map +1 -1
- package/dist/editor/menu-model/canvas.js +7 -1
- package/dist/editor/menu-model/canvas.js.map +1 -1
- package/dist/editor/selection-capabilities/use.d.ts +2 -0
- package/dist/editor/selection-capabilities/use.js +5 -0
- package/dist/editor/selection-capabilities/use.js.map +1 -1
- package/dist/editor/selection-state/use.d.ts +1 -0
- package/dist/editor/selection-state/use.js +5 -0
- package/dist/editor/selection-state/use.js.map +1 -1
- package/dist/editor/tool-cursor/index.d.ts.map +1 -1
- package/dist/editor/tool-cursor/index.js +5 -1
- package/dist/editor/tool-cursor/index.js.map +1 -1
- package/dist/i18n/create.d.ts +1 -1
- package/dist/i18n/create.d.ts.map +1 -1
- package/dist/i18n/create.js +1 -0
- package/dist/i18n/create.js.map +1 -1
- package/dist/i18n/index.d.ts +5 -2
- package/dist/i18n/index.js +5 -2
- package/dist/i18n/locale.d.ts +5 -4
- package/dist/i18n/locale.d.ts.map +1 -1
- package/dist/i18n/locale.js +4 -0
- package/dist/i18n/locale.js.map +1 -1
- package/dist/i18n/locales/de/ai.json.js +68 -2
- package/dist/i18n/locales/de/commands.json.js +2 -0
- package/dist/i18n/locales/de/comments.json.js +1 -1
- package/dist/i18n/locales/de/design-check.json.js +13 -1
- package/dist/i18n/locales/de/design-memory.json.js +82 -0
- package/dist/i18n/locales/de/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/de/fonts.json.js +10 -0
- package/dist/i18n/locales/de/index.js +5 -1
- package/dist/i18n/locales/de/index.js.map +1 -1
- package/dist/i18n/locales/de/menu.json.js +2 -0
- package/dist/i18n/locales/de/panels.json.js +109 -1
- package/dist/i18n/locales/de/settings.json.js +1 -0
- package/dist/i18n/locales/de/tools.json.js +3 -1
- package/dist/i18n/locales/de/variables/panel.json.js +20 -0
- package/dist/i18n/locales/de/variations.json.js +23 -0
- package/dist/i18n/locales/de/variations.json.js.map +1 -0
- package/dist/i18n/locales/es/ai.json.js +67 -1
- package/dist/i18n/locales/es/commands.json.js +2 -0
- package/dist/i18n/locales/es/comments.json.js +1 -1
- package/dist/i18n/locales/es/design-check.json.js +13 -1
- package/dist/i18n/locales/es/design-memory.json.js +82 -0
- package/dist/i18n/locales/es/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/es/fonts.json.js +10 -0
- package/dist/i18n/locales/es/index.js +5 -1
- package/dist/i18n/locales/es/index.js.map +1 -1
- package/dist/i18n/locales/es/menu.json.js +2 -0
- package/dist/i18n/locales/es/panels.json.js +109 -1
- package/dist/i18n/locales/es/settings.json.js +1 -0
- package/dist/i18n/locales/es/tools.json.js +3 -1
- package/dist/i18n/locales/es/variables/panel.json.js +20 -0
- package/dist/i18n/locales/es/variations.json.js +23 -0
- package/dist/i18n/locales/es/variations.json.js.map +1 -0
- package/dist/i18n/locales/fr/ai.json.js +68 -2
- package/dist/i18n/locales/fr/commands.json.js +2 -0
- package/dist/i18n/locales/fr/comments.json.js +1 -1
- package/dist/i18n/locales/fr/design-check.json.js +13 -1
- package/dist/i18n/locales/fr/design-memory.json.js +82 -0
- package/dist/i18n/locales/fr/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/fr/fonts.json.js +10 -0
- package/dist/i18n/locales/fr/index.js +5 -1
- package/dist/i18n/locales/fr/index.js.map +1 -1
- package/dist/i18n/locales/fr/menu.json.js +2 -0
- package/dist/i18n/locales/fr/panels.json.js +109 -1
- package/dist/i18n/locales/fr/settings.json.js +1 -0
- package/dist/i18n/locales/fr/tools.json.js +3 -1
- package/dist/i18n/locales/fr/variables/panel.json.js +20 -0
- package/dist/i18n/locales/fr/variations.json.js +23 -0
- package/dist/i18n/locales/fr/variations.json.js.map +1 -0
- package/dist/i18n/locales/id/agents.json.js +31 -0
- package/dist/i18n/locales/id/agents.json.js.map +1 -0
- package/dist/i18n/locales/id/ai.json.js +608 -0
- package/dist/i18n/locales/id/ai.json.js.map +1 -0
- package/dist/i18n/locales/id/automation.json.js +150 -0
- package/dist/i18n/locales/id/automation.json.js.map +1 -0
- package/dist/i18n/locales/id/browser.json.js +50 -0
- package/dist/i18n/locales/id/browser.json.js.map +1 -0
- package/dist/i18n/locales/id/chat-context.json.js +62 -0
- package/dist/i18n/locales/id/chat-context.json.js.map +1 -0
- package/dist/i18n/locales/id/cloud/editor.json.js +337 -0
- package/dist/i18n/locales/id/cloud/editor.json.js.map +1 -0
- package/dist/i18n/locales/id/cloud/portal.json.js +435 -0
- package/dist/i18n/locales/id/cloud/portal.json.js.map +1 -0
- package/dist/i18n/locales/id/code.json.js +43 -0
- package/dist/i18n/locales/id/code.json.js.map +1 -0
- package/dist/i18n/locales/id/collaboration.json.js +84 -0
- package/dist/i18n/locales/id/collaboration.json.js.map +1 -0
- package/dist/i18n/locales/id/commands.json.js +111 -0
- package/dist/i18n/locales/id/commands.json.js.map +1 -0
- package/dist/i18n/locales/id/comments.json.js +37 -0
- package/dist/i18n/locales/id/comments.json.js.map +1 -0
- package/dist/i18n/locales/id/common.json.js +51 -0
- package/dist/i18n/locales/id/common.json.js.map +1 -0
- package/dist/i18n/locales/id/credentials.json.js +21 -0
- package/dist/i18n/locales/id/credentials.json.js.map +1 -0
- package/dist/i18n/locales/id/design-check.json.js +101 -0
- package/dist/i18n/locales/id/design-check.json.js.map +1 -0
- package/dist/i18n/locales/id/design-memory.json.js +61 -0
- package/dist/i18n/locales/id/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/id/diagnostics.json.js +78 -0
- package/dist/i18n/locales/id/diagnostics.json.js.map +1 -0
- package/dist/i18n/locales/id/editor.json.js +62 -0
- package/dist/i18n/locales/id/editor.json.js.map +1 -0
- package/dist/i18n/locales/id/explore.json.js +30 -0
- package/dist/i18n/locales/id/explore.json.js.map +1 -0
- package/dist/i18n/locales/id/figjam.json.js +39 -0
- package/dist/i18n/locales/id/figjam.json.js.map +1 -0
- package/dist/i18n/locales/id/files.json.js +86 -0
- package/dist/i18n/locales/id/files.json.js.map +1 -0
- package/dist/i18n/locales/id/fonts.json.js +54 -0
- package/dist/i18n/locales/id/fonts.json.js.map +1 -0
- package/dist/i18n/locales/id/index.js +85 -0
- package/dist/i18n/locales/id/index.js.map +1 -0
- package/dist/i18n/locales/id/media.json.js +52 -0
- package/dist/i18n/locales/id/media.json.js.map +1 -0
- package/dist/i18n/locales/id/menu.json.js +118 -0
- package/dist/i18n/locales/id/menu.json.js.map +1 -0
- package/dist/i18n/locales/id/pages.json.js +16 -0
- package/dist/i18n/locales/id/pages.json.js.map +1 -0
- package/dist/i18n/locales/id/panels.json.js +838 -0
- package/dist/i18n/locales/id/panels.json.js.map +1 -0
- package/dist/i18n/locales/id/recovery.json.js +36 -0
- package/dist/i18n/locales/id/recovery.json.js.map +1 -0
- package/dist/i18n/locales/id/rename.json.js +19 -0
- package/dist/i18n/locales/id/rename.json.js.map +1 -0
- package/dist/i18n/locales/id/rendering.json.js +18 -0
- package/dist/i18n/locales/id/rendering.json.js.map +1 -0
- package/dist/i18n/locales/id/settings.json.js +169 -0
- package/dist/i18n/locales/id/settings.json.js.map +1 -0
- package/dist/i18n/locales/id/shaders.json.js +24 -0
- package/dist/i18n/locales/id/shaders.json.js.map +1 -0
- package/dist/i18n/locales/id/shapes.json.js +48 -0
- package/dist/i18n/locales/id/shapes.json.js.map +1 -0
- package/dist/i18n/locales/id/slides.json.js +27 -0
- package/dist/i18n/locales/id/slides.json.js.map +1 -0
- package/dist/i18n/locales/id/statuses.json.js +38 -0
- package/dist/i18n/locales/id/statuses.json.js.map +1 -0
- package/dist/i18n/locales/id/storage.json.js +21 -0
- package/dist/i18n/locales/id/storage.json.js.map +1 -0
- package/dist/i18n/locales/id/tools.json.js +27 -0
- package/dist/i18n/locales/id/tools.json.js.map +1 -0
- package/dist/i18n/locales/id/updates.json.js +31 -0
- package/dist/i18n/locales/id/updates.json.js.map +1 -0
- package/dist/i18n/locales/id/variables/panel.json.js +175 -0
- package/dist/i18n/locales/id/variables/panel.json.js.map +1 -0
- package/dist/i18n/locales/id/variables/types.json.js +15 -0
- package/dist/i18n/locales/id/variables/types.json.js.map +1 -0
- package/dist/i18n/locales/id/variations.json.js +23 -0
- package/dist/i18n/locales/id/variations.json.js.map +1 -0
- package/dist/i18n/locales/it/ai.json.js +68 -2
- package/dist/i18n/locales/it/commands.json.js +2 -0
- package/dist/i18n/locales/it/comments.json.js +1 -1
- package/dist/i18n/locales/it/design-check.json.js +13 -1
- package/dist/i18n/locales/it/design-memory.json.js +82 -0
- package/dist/i18n/locales/it/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/it/fonts.json.js +10 -0
- package/dist/i18n/locales/it/index.js +5 -1
- package/dist/i18n/locales/it/index.js.map +1 -1
- package/dist/i18n/locales/it/menu.json.js +2 -0
- package/dist/i18n/locales/it/panels.json.js +109 -1
- package/dist/i18n/locales/it/settings.json.js +1 -0
- package/dist/i18n/locales/it/tools.json.js +3 -1
- package/dist/i18n/locales/it/variables/panel.json.js +20 -0
- package/dist/i18n/locales/it/variations.json.js +23 -0
- package/dist/i18n/locales/it/variations.json.js.map +1 -0
- package/dist/i18n/locales/ja/ai.json.js +68 -2
- package/dist/i18n/locales/ja/commands.json.js +2 -0
- package/dist/i18n/locales/ja/comments.json.js +1 -1
- package/dist/i18n/locales/ja/design-check.json.js +13 -1
- package/dist/i18n/locales/ja/design-memory.json.js +61 -0
- package/dist/i18n/locales/ja/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/ja/fonts.json.js +10 -0
- package/dist/i18n/locales/ja/index.js +5 -1
- package/dist/i18n/locales/ja/index.js.map +1 -1
- package/dist/i18n/locales/ja/menu.json.js +2 -0
- package/dist/i18n/locales/ja/panels.json.js +106 -1
- package/dist/i18n/locales/ja/settings.json.js +1 -0
- package/dist/i18n/locales/ja/tools.json.js +3 -1
- package/dist/i18n/locales/ja/variables/panel.json.js +20 -0
- package/dist/i18n/locales/ja/variations.json.js +23 -0
- package/dist/i18n/locales/ja/variations.json.js.map +1 -0
- package/dist/i18n/locales/pl/ai.json.js +68 -2
- package/dist/i18n/locales/pl/commands.json.js +2 -0
- package/dist/i18n/locales/pl/comments.json.js +1 -1
- package/dist/i18n/locales/pl/design-check.json.js +13 -1
- package/dist/i18n/locales/pl/design-memory.json.js +89 -0
- package/dist/i18n/locales/pl/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/pl/fonts.json.js +10 -0
- package/dist/i18n/locales/pl/index.js +5 -1
- package/dist/i18n/locales/pl/index.js.map +1 -1
- package/dist/i18n/locales/pl/menu.json.js +2 -0
- package/dist/i18n/locales/pl/panels.json.js +110 -1
- package/dist/i18n/locales/pl/settings.json.js +1 -0
- package/dist/i18n/locales/pl/tools.json.js +3 -1
- package/dist/i18n/locales/pl/variables/panel.json.js +20 -0
- package/dist/i18n/locales/pl/variations.json.js +23 -0
- package/dist/i18n/locales/pl/variations.json.js.map +1 -0
- package/dist/i18n/locales/ru/ai.json.js +68 -2
- package/dist/i18n/locales/ru/commands.json.js +3 -1
- package/dist/i18n/locales/ru/comments.json.js +1 -1
- package/dist/i18n/locales/ru/design-check.json.js +13 -1
- package/dist/i18n/locales/ru/design-memory.json.js +89 -0
- package/dist/i18n/locales/ru/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/ru/fonts.json.js +10 -0
- package/dist/i18n/locales/ru/index.js +5 -1
- package/dist/i18n/locales/ru/index.js.map +1 -1
- package/dist/i18n/locales/ru/menu.json.js +2 -0
- package/dist/i18n/locales/ru/panels.json.js +110 -1
- package/dist/i18n/locales/ru/settings.json.js +1 -0
- package/dist/i18n/locales/ru/tools.json.js +3 -1
- package/dist/i18n/locales/ru/variables/panel.json.js +20 -0
- package/dist/i18n/locales/ru/variations.json.js +23 -0
- package/dist/i18n/locales/ru/variations.json.js.map +1 -0
- package/dist/i18n/locales/zh-cn/ai.json.js +68 -2
- package/dist/i18n/locales/zh-cn/commands.json.js +2 -0
- package/dist/i18n/locales/zh-cn/comments.json.js +1 -1
- package/dist/i18n/locales/zh-cn/design-check.json.js +13 -1
- package/dist/i18n/locales/zh-cn/design-memory.json.js +61 -0
- package/dist/i18n/locales/zh-cn/design-memory.json.js.map +1 -0
- package/dist/i18n/locales/zh-cn/fonts.json.js +10 -0
- package/dist/i18n/locales/zh-cn/index.js +5 -1
- package/dist/i18n/locales/zh-cn/index.js.map +1 -1
- package/dist/i18n/locales/zh-cn/menu.json.js +2 -0
- package/dist/i18n/locales/zh-cn/panels.json.js +106 -1
- package/dist/i18n/locales/zh-cn/settings.json.js +1 -0
- package/dist/i18n/locales/zh-cn/tools.json.js +3 -1
- package/dist/i18n/locales/zh-cn/variables/panel.json.js +20 -0
- package/dist/i18n/locales/zh-cn/variations.json.js +23 -0
- package/dist/i18n/locales/zh-cn/variations.json.js.map +1 -0
- package/dist/i18n/messages/ai.d.ts +98 -2
- package/dist/i18n/messages/ai.d.ts.map +1 -1
- package/dist/i18n/messages/ai.js +70 -2
- package/dist/i18n/messages/ai.js.map +1 -1
- package/dist/i18n/messages/chat-usage.d.ts +34 -0
- package/dist/i18n/messages/chat-usage.d.ts.map +1 -0
- package/dist/i18n/messages/chat-usage.js +25 -0
- package/dist/i18n/messages/chat-usage.js.map +1 -0
- package/dist/i18n/messages/commands.d.ts +2 -0
- package/dist/i18n/messages/commands.d.ts.map +1 -1
- package/dist/i18n/messages/commands.js +2 -0
- package/dist/i18n/messages/commands.js.map +1 -1
- package/dist/i18n/messages/comments.d.ts +2 -2
- package/dist/i18n/messages/comments.js +2 -2
- package/dist/i18n/messages/comments.js.map +1 -1
- package/dist/i18n/messages/design-check.d.ts +12 -0
- package/dist/i18n/messages/design-check.d.ts.map +1 -1
- package/dist/i18n/messages/design-check.js +13 -1
- package/dist/i18n/messages/design-check.js.map +1 -1
- package/dist/i18n/messages/design-memory.d.ts +68 -0
- package/dist/i18n/messages/design-memory.d.ts.map +1 -0
- package/dist/i18n/messages/design-memory.js +85 -0
- package/dist/i18n/messages/design-memory.js.map +1 -0
- package/dist/i18n/messages/fonts.d.ts +12 -0
- package/dist/i18n/messages/fonts.d.ts.map +1 -1
- package/dist/i18n/messages/fonts.js +10 -0
- package/dist/i18n/messages/fonts.js.map +1 -1
- package/dist/i18n/messages/menu.d.ts +2 -0
- package/dist/i18n/messages/menu.d.ts.map +1 -1
- package/dist/i18n/messages/menu.js +2 -0
- package/dist/i18n/messages/menu.js.map +1 -1
- package/dist/i18n/messages/panels.d.ts +131 -0
- package/dist/i18n/messages/panels.d.ts.map +1 -1
- package/dist/i18n/messages/panels.js +109 -1
- package/dist/i18n/messages/panels.js.map +1 -1
- package/dist/i18n/messages/settings.d.ts +1 -0
- package/dist/i18n/messages/settings.d.ts.map +1 -1
- package/dist/i18n/messages/settings.js +1 -0
- package/dist/i18n/messages/settings.js.map +1 -1
- package/dist/i18n/messages/tools.d.ts +2 -0
- package/dist/i18n/messages/tools.d.ts.map +1 -1
- package/dist/i18n/messages/tools.js +3 -1
- package/dist/i18n/messages/tools.js.map +1 -1
- package/dist/i18n/messages/variables/panel.d.ts +24 -0
- package/dist/i18n/messages/variables/panel.d.ts.map +1 -1
- package/dist/i18n/messages/variables/panel.js +20 -0
- package/dist/i18n/messages/variables/panel.js.map +1 -1
- package/dist/i18n/messages/variations.d.ts +28 -0
- package/dist/i18n/messages/variations.d.ts.map +1 -0
- package/dist/i18n/messages/variations.js +26 -0
- package/dist/i18n/messages/variations.js.map +1 -0
- package/dist/i18n/messages.d.ts +405 -4
- package/dist/i18n/messages.d.ts.map +1 -1
- package/dist/i18n/messages.js +8 -2
- package/dist/i18n/messages.js.map +1 -1
- package/dist/i18n/useI18n.d.ts +1389 -13
- package/dist/i18n/useI18n.d.ts.map +1 -1
- package/dist/i18n/useI18n.js +8 -1
- package/dist/i18n/useI18n.js.map +1 -1
- package/dist/primitives/ColorPicker/ColorInputRoot.vue.d.ts +6 -0
- package/dist/primitives/ColorPicker/ColorInputRoot.vue.d.ts.map +1 -1
- package/dist/primitives/ColorPicker/ColorInputRoot.vue.js +3 -1
- package/dist/primitives/ColorPicker/ColorInputRoot.vue.js.map +1 -1
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.d.ts +11 -2
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.d.ts.map +1 -1
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.js +15 -5
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.js.map +1 -1
- package/dist/primitives/ColorPicker/index.d.ts +2 -1
- package/dist/primitives/ColorPicker/index.js +2 -1
- package/dist/primitives/ColorPicker/outside.d.ts +16 -0
- package/dist/primitives/ColorPicker/outside.d.ts.map +1 -0
- package/dist/primitives/ColorPicker/outside.js +20 -0
- package/dist/primitives/ColorPicker/outside.js.map +1 -0
- package/dist/primitives/Fill/FillRoot.vue.d.ts +2 -1
- package/dist/primitives/Fill/FillRoot.vue.d.ts.map +1 -1
- package/dist/primitives/Fill/FillRoot.vue.js +5 -2
- package/dist/primitives/Fill/FillRoot.vue.js.map +1 -1
- package/dist/primitives/Fill/FillSwatch.vue.d.ts.map +1 -1
- package/dist/primitives/Fill/FillSwatch.vue.js +2 -1
- package/dist/primitives/Fill/FillSwatch.vue.js.map +1 -1
- package/dist/primitives/Fill/types.d.ts +6 -1
- package/dist/primitives/Fill/types.d.ts.map +1 -1
- package/dist/primitives/Fill/useFill.d.ts +10 -4
- package/dist/primitives/Fill/useFill.d.ts.map +1 -1
- package/dist/primitives/Fill/useFill.js +14 -10
- package/dist/primitives/Fill/useFill.js.map +1 -1
- package/dist/primitives/FontPicker/FontPickerRoot.vue.d.ts +5 -0
- package/dist/primitives/FontPicker/FontPickerRoot.vue.d.ts.map +1 -1
- package/dist/primitives/FontPicker/FontPickerRoot.vue.js +63 -56
- package/dist/primitives/FontPicker/FontPickerRoot.vue.js.map +1 -1
- package/dist/primitives/GradientEditor/GradientEditorRoot.vue.d.ts +2 -1
- package/dist/primitives/GradientEditor/GradientEditorRoot.vue.d.ts.map +1 -1
- package/dist/primitives/GradientEditor/GradientEditorRoot.vue.js +5 -2
- package/dist/primitives/GradientEditor/GradientEditorRoot.vue.js.map +1 -1
- package/dist/primitives/GradientEditor/GradientEditorStop.vue.d.ts.map +1 -1
- package/dist/primitives/GradientEditor/GradientEditorStop.vue.js +4 -3
- package/dist/primitives/GradientEditor/GradientEditorStop.vue.js.map +1 -1
- package/dist/primitives/GradientEditor/types.d.ts +3 -1
- package/dist/primitives/GradientEditor/types.d.ts.map +1 -1
- package/dist/primitives/GradientEditor/useGradientStops.d.ts +5 -3
- package/dist/primitives/GradientEditor/useGradientStops.d.ts.map +1 -1
- package/dist/primitives/GradientEditor/useGradientStops.js +9 -4
- package/dist/primitives/GradientEditor/useGradientStops.js.map +1 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts +6 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.d.ts.map +1 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.js +16 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.js.map +1 -1
- package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.d.ts +3 -0
- package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.d.ts.map +1 -1
- package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.js +3 -1
- package/dist/primitives/TypographyControls/TypographyControlsRoot.vue.js.map +1 -1
- package/dist/shared/assets/cursors/eyedropper.svg.js +6 -0
- package/dist/shared/assets/cursors/eyedropper.svg.js.map +1 -0
- package/dist/shared/frame.d.ts +28 -0
- package/dist/shared/frame.d.ts.map +1 -0
- package/dist/shared/frame.js +92 -0
- package/dist/shared/frame.js.map +1 -0
- package/dist/shared/input/auto-layout/drag.js +71 -0
- package/dist/shared/input/auto-layout/drag.js.map +1 -0
- package/dist/shared/input/{auto-layout-hover.d.ts → auto-layout/hover.d.ts} +3 -3
- package/dist/shared/input/auto-layout/hover.d.ts.map +1 -0
- package/dist/shared/input/{auto-layout-hover.js → auto-layout/hover.js} +42 -86
- package/dist/shared/input/auto-layout/hover.js.map +1 -0
- package/dist/shared/input/{auto-layout.js → auto-layout/index.js} +2 -2
- package/dist/shared/input/auto-layout/index.js.map +1 -0
- package/dist/shared/input/index.d.ts +1 -1
- package/dist/shared/input/index.js +1 -1
- package/dist/shared/input/move/drag.js +1 -1
- package/dist/shared/input/resize.js +1 -1
- package/dist/shared/input/select.js +5 -3
- package/dist/shared/input/select.js.map +1 -1
- package/dist/shared/input/types.d.ts +10 -2
- package/dist/shared/input/types.d.ts.map +1 -1
- package/dist/shared/input/types.js.map +1 -1
- package/package.json +19 -4
- package/dist/shared/input/auto-layout-hover.d.ts.map +0 -1
- package/dist/shared/input/auto-layout-hover.js.map +0 -1
- package/dist/shared/input/auto-layout.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.d.ts","names":[],"sources":["../../src/i18n/useI18n.ts"],"mappings":";;;;iBA8CgB,iBAAiB,sBAAsB,OAAO,UAAU,gBACzC,IAAI,WAAW;cAGjC,wBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAChB,qBAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BgB,QAAA,IAAI"}
|
package/dist/i18n/useI18n.js
CHANGED
|
@@ -5,6 +5,7 @@ import { aiMessages } from "./messages/ai.js";
|
|
|
5
5
|
import { automationMessages } from "./messages/automation.js";
|
|
6
6
|
import { browserMessages } from "./messages/browser.js";
|
|
7
7
|
import { chatContextMessages } from "./messages/chat-context.js";
|
|
8
|
+
import { chatUsageMessages } from "./messages/chat-usage.js";
|
|
8
9
|
import { cloudMessages } from "./messages/cloud/editor.js";
|
|
9
10
|
import { cloudPortalMessages } from "./messages/cloud/portal.js";
|
|
10
11
|
import { codeMessages } from "./messages/code.js";
|
|
@@ -14,6 +15,7 @@ import { commentMessages } from "./messages/comments.js";
|
|
|
14
15
|
import { commonMessages } from "./messages/common.js";
|
|
15
16
|
import { credentialsMessages } from "./messages/credentials.js";
|
|
16
17
|
import { designCheckMessages } from "./messages/design-check.js";
|
|
18
|
+
import { designMemoryMessages } from "./messages/design-memory.js";
|
|
17
19
|
import { diagnosticsMessages } from "./messages/diagnostics.js";
|
|
18
20
|
import { exploreMessages } from "./messages/explore.js";
|
|
19
21
|
import { figJamMessages } from "./messages/figjam.js";
|
|
@@ -36,6 +38,7 @@ import { toolMessages } from "./messages/tools.js";
|
|
|
36
38
|
import { updatesMessages } from "./messages/updates.js";
|
|
37
39
|
import { variablesMessages } from "./messages/variables/panel.js";
|
|
38
40
|
import { variableTypeMessages } from "./messages/variables/types.js";
|
|
41
|
+
import { variationMessages } from "./messages/variations.js";
|
|
39
42
|
import { useStore } from "@nanostores/vue";
|
|
40
43
|
//#region src/i18n/useI18n.ts
|
|
41
44
|
function useI18nNamespace(messages) {
|
|
@@ -46,6 +49,7 @@ const useAIMessages = () => useI18nNamespace(aiMessages);
|
|
|
46
49
|
const useAutomationMessages = () => useI18nNamespace(automationMessages);
|
|
47
50
|
const useBrowserMessages = () => useI18nNamespace(browserMessages);
|
|
48
51
|
const useChatContextMessages = () => useI18nNamespace(chatContextMessages);
|
|
52
|
+
const useChatUsageMessages = () => useI18nNamespace(chatUsageMessages);
|
|
49
53
|
const useCodeMessages = () => useI18nNamespace(codeMessages);
|
|
50
54
|
const useCollaborationMessages = () => useI18nNamespace(collaborationMessages);
|
|
51
55
|
const useCommandMessages = () => useI18nNamespace(commandMessages);
|
|
@@ -53,6 +57,7 @@ const useCommentMessages = () => useI18nNamespace(commentMessages);
|
|
|
53
57
|
const useCommonMessages = () => useI18nNamespace(commonMessages);
|
|
54
58
|
const useCredentialMessages = () => useI18nNamespace(credentialsMessages);
|
|
55
59
|
const useDesignCheckMessages = () => useI18nNamespace(designCheckMessages);
|
|
60
|
+
const useDesignMemoryMessages = () => useI18nNamespace(designMemoryMessages);
|
|
56
61
|
const useDiagnosticsMessages = () => useI18nNamespace(diagnosticsMessages);
|
|
57
62
|
const useEditorMessages = () => useI18nNamespace(editorMessages);
|
|
58
63
|
const useExploreMessages = () => useI18nNamespace(exploreMessages);
|
|
@@ -78,6 +83,7 @@ const useCloudMessages = () => useI18nNamespace(cloudMessages);
|
|
|
78
83
|
const useCloudPortalMessages = () => useI18nNamespace(cloudPortalMessages);
|
|
79
84
|
const useVariableMessages = () => useI18nNamespace(variablesMessages);
|
|
80
85
|
const useVariableTypeMessages = () => useI18nNamespace(variableTypeMessages);
|
|
86
|
+
const useVariationMessages = () => useI18nNamespace(variationMessages);
|
|
81
87
|
/** Compatibility aggregate. New code should import the narrow domain composable. */
|
|
82
88
|
function useI18n() {
|
|
83
89
|
return {
|
|
@@ -105,6 +111,7 @@ function useI18n() {
|
|
|
105
111
|
updates: useUpdateMessages(),
|
|
106
112
|
variables: useVariableMessages(),
|
|
107
113
|
variableTypes: useVariableTypeMessages(),
|
|
114
|
+
variations: useVariationMessages(),
|
|
108
115
|
locale: useStore(locale),
|
|
109
116
|
availableLocales: AVAILABLE_LOCALES,
|
|
110
117
|
localeLabels: LOCALE_LABELS,
|
|
@@ -112,6 +119,6 @@ function useI18n() {
|
|
|
112
119
|
};
|
|
113
120
|
}
|
|
114
121
|
//#endregion
|
|
115
|
-
export { useAIMessages, useAgentMessages, useAutomationMessages, useBrowserMessages, useChatContextMessages, useCloudMessages, useCloudPortalMessages, useCodeMessages, useCollaborationMessages, useCommandMessages, useCommentMessages, useCommonMessages, useCredentialMessages, useDesignCheckMessages, useDiagnosticsMessages, useEditorMessages, useExploreMessages, useFigJamMessages, useFileMessages, useFontMessages, useI18n, useI18nNamespace, useMediaMessages, useMenuMessages, usePageMessages, usePanelMessages, useRecoveryMessages, useRenameMessages, useRenderingMessages, useSettingsMessages, useShaderMessages, useShapeMessages, useSlidesMessages, useStatusMessages, useStorageMessages, useToolMessages, useUpdateMessages, useVariableMessages, useVariableTypeMessages };
|
|
122
|
+
export { useAIMessages, useAgentMessages, useAutomationMessages, useBrowserMessages, useChatContextMessages, useChatUsageMessages, useCloudMessages, useCloudPortalMessages, useCodeMessages, useCollaborationMessages, useCommandMessages, useCommentMessages, useCommonMessages, useCredentialMessages, useDesignCheckMessages, useDesignMemoryMessages, useDiagnosticsMessages, useEditorMessages, useExploreMessages, useFigJamMessages, useFileMessages, useFontMessages, useI18n, useI18nNamespace, useMediaMessages, useMenuMessages, usePageMessages, usePanelMessages, useRecoveryMessages, useRenameMessages, useRenderingMessages, useSettingsMessages, useShaderMessages, useShapeMessages, useSlidesMessages, useStatusMessages, useStorageMessages, useToolMessages, useUpdateMessages, useVariableMessages, useVariableTypeMessages, useVariationMessages };
|
|
116
123
|
|
|
117
124
|
//# sourceMappingURL=useI18n.js.map
|
package/dist/i18n/useI18n.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.js","names":[],"sources":["../../src/i18n/useI18n.ts"],"sourcesContent":["import { useStore } from '@nanostores/vue'\nimport type { Store, StoreValue } from 'nanostores'\nimport type { Ref } from 'vue'\n\nimport { locale, setLocale, AVAILABLE_LOCALES, LOCALE_LABELS } from '#vue/i18n/locale'\nimport type { Locale } from '#vue/i18n/locale'\nimport {\n agentMessages,\n aiMessages,\n automationMessages,\n browserMessages,\n chatContextMessages,\n codeMessages,\n collaborationMessages,\n commandMessages,\n commentMessages,\n commonMessages,\n credentialsMessages,\n designCheckMessages,\n diagnosticsMessages,\n editorMessages,\n exploreMessages,\n figJamMessages,\n filesMessages,\n fontsMessages,\n mediaMessages,\n menuMessages,\n pageMessages,\n panelMessages,\n recoveryMessages,\n renderingMessages,\n renameMessages,\n settingsMessages,\n shaderMessages,\n shapeMessages,\n slidesMessages,\n statusMessages,\n storageMessages,\n toolMessages,\n updatesMessages,\n cloudMessages,\n cloudPortalMessages,\n variablesMessages,\n variableTypeMessages\n} from '#vue/i18n/messages'\n\nexport function useI18nNamespace<MessagesStore extends Store>(messages: MessagesStore) {\n return useStore(messages) as Ref<StoreValue<MessagesStore>>\n}\n\nexport const useAgentMessages = () => useI18nNamespace(agentMessages)\nexport const useAIMessages = () => useI18nNamespace(aiMessages)\nexport const useAutomationMessages = () => useI18nNamespace(automationMessages)\nexport const useBrowserMessages = () => useI18nNamespace(browserMessages)\nexport const useChatContextMessages = () => useI18nNamespace(chatContextMessages)\nexport const useCodeMessages = () => useI18nNamespace(codeMessages)\nexport const useCollaborationMessages = () => useI18nNamespace(collaborationMessages)\nexport const useCommandMessages = () => useI18nNamespace(commandMessages)\nexport const useCommentMessages = () => useI18nNamespace(commentMessages)\nexport const useCommonMessages = () => useI18nNamespace(commonMessages)\nexport const useCredentialMessages = () => useI18nNamespace(credentialsMessages)\nexport const useDesignCheckMessages = () => useI18nNamespace(designCheckMessages)\nexport const useDiagnosticsMessages = () => useI18nNamespace(diagnosticsMessages)\nexport const useEditorMessages = () => useI18nNamespace(editorMessages)\nexport const useExploreMessages = () => useI18nNamespace(exploreMessages)\nexport const useFigJamMessages = () => useI18nNamespace(figJamMessages)\nexport const useFileMessages = () => useI18nNamespace(filesMessages)\nexport const useFontMessages = () => useI18nNamespace(fontsMessages)\nexport const useMediaMessages = () => useI18nNamespace(mediaMessages)\nexport const useMenuMessages = () => useI18nNamespace(menuMessages)\nexport const usePageMessages = () => useI18nNamespace(pageMessages)\nexport const usePanelMessages = () => useI18nNamespace(panelMessages)\nexport const useRecoveryMessages = () => useI18nNamespace(recoveryMessages)\nexport const useRenderingMessages = () => useI18nNamespace(renderingMessages)\nexport const useRenameMessages = () => useI18nNamespace(renameMessages)\nexport const useSettingsMessages = () => useI18nNamespace(settingsMessages)\nexport const useShaderMessages = () => useI18nNamespace(shaderMessages)\nexport const useShapeMessages = () => useI18nNamespace(shapeMessages)\nexport const useSlidesMessages = () => useI18nNamespace(slidesMessages)\nexport const useStatusMessages = () => useI18nNamespace(statusMessages)\nexport const useStorageMessages = () => useI18nNamespace(storageMessages)\nexport const useToolMessages = () => useI18nNamespace(toolMessages)\nexport const useUpdateMessages = () => useI18nNamespace(updatesMessages)\nexport const useCloudMessages = () => useI18nNamespace(cloudMessages)\nexport const useCloudPortalMessages = () => useI18nNamespace(cloudPortalMessages)\nexport const useVariableMessages = () => useI18nNamespace(variablesMessages)\nexport const useVariableTypeMessages = () => useI18nNamespace(variableTypeMessages)\n\n/** Compatibility aggregate. New code should import the narrow domain composable. */\nexport function useI18n() {\n return {\n ai: useAIMessages(),\n automation: useAutomationMessages(),\n code: useCodeMessages(),\n collaboration: useCollaborationMessages(),\n commands: useCommandMessages(),\n common: useCommonMessages(),\n credentials: useCredentialMessages(),\n diagnostics: useDiagnosticsMessages(),\n editor: useEditorMessages(),\n files: useFileMessages(),\n fonts: useFontMessages(),\n media: useMediaMessages(),\n menu: useMenuMessages(),\n pages: usePageMessages(),\n panels: usePanelMessages(),\n recovery: useRecoveryMessages(),\n rendering: useRenderingMessages(),\n rename: useRenameMessages(),\n settings: useSettingsMessages(),\n storage: useStorageMessages(),\n tools: useToolMessages(),\n updates: useUpdateMessages(),\n variables: useVariableMessages(),\n variableTypes: useVariableTypeMessages(),\n locale: useStore(locale) as Ref<Locale>,\n availableLocales: AVAILABLE_LOCALES,\n localeLabels: LOCALE_LABELS,\n setLocale\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useI18n.js","names":[],"sources":["../../src/i18n/useI18n.ts"],"sourcesContent":["import { useStore } from '@nanostores/vue'\nimport type { Store, StoreValue } from 'nanostores'\nimport type { Ref } from 'vue'\n\nimport { locale, setLocale, AVAILABLE_LOCALES, LOCALE_LABELS } from '#vue/i18n/locale'\nimport type { Locale } from '#vue/i18n/locale'\nimport {\n agentMessages,\n aiMessages,\n automationMessages,\n browserMessages,\n chatContextMessages,\n chatUsageMessages,\n codeMessages,\n collaborationMessages,\n commandMessages,\n commentMessages,\n commonMessages,\n credentialsMessages,\n designCheckMessages,\n designMemoryMessages,\n diagnosticsMessages,\n editorMessages,\n exploreMessages,\n figJamMessages,\n filesMessages,\n fontsMessages,\n mediaMessages,\n menuMessages,\n pageMessages,\n panelMessages,\n recoveryMessages,\n renderingMessages,\n renameMessages,\n settingsMessages,\n shaderMessages,\n shapeMessages,\n slidesMessages,\n statusMessages,\n storageMessages,\n toolMessages,\n updatesMessages,\n cloudMessages,\n cloudPortalMessages,\n variablesMessages,\n variableTypeMessages,\n variationMessages\n} from '#vue/i18n/messages'\n\nexport function useI18nNamespace<MessagesStore extends Store>(messages: MessagesStore) {\n return useStore(messages) as Ref<StoreValue<MessagesStore>>\n}\n\nexport const useAgentMessages = () => useI18nNamespace(agentMessages)\nexport const useAIMessages = () => useI18nNamespace(aiMessages)\nexport const useAutomationMessages = () => useI18nNamespace(automationMessages)\nexport const useBrowserMessages = () => useI18nNamespace(browserMessages)\nexport const useChatContextMessages = () => useI18nNamespace(chatContextMessages)\nexport const useChatUsageMessages = () => useI18nNamespace(chatUsageMessages)\nexport const useCodeMessages = () => useI18nNamespace(codeMessages)\nexport const useCollaborationMessages = () => useI18nNamespace(collaborationMessages)\nexport const useCommandMessages = () => useI18nNamespace(commandMessages)\nexport const useCommentMessages = () => useI18nNamespace(commentMessages)\nexport const useCommonMessages = () => useI18nNamespace(commonMessages)\nexport const useCredentialMessages = () => useI18nNamespace(credentialsMessages)\nexport const useDesignCheckMessages = () => useI18nNamespace(designCheckMessages)\nexport const useDesignMemoryMessages = () => useI18nNamespace(designMemoryMessages)\nexport const useDiagnosticsMessages = () => useI18nNamespace(diagnosticsMessages)\nexport const useEditorMessages = () => useI18nNamespace(editorMessages)\nexport const useExploreMessages = () => useI18nNamespace(exploreMessages)\nexport const useFigJamMessages = () => useI18nNamespace(figJamMessages)\nexport const useFileMessages = () => useI18nNamespace(filesMessages)\nexport const useFontMessages = () => useI18nNamespace(fontsMessages)\nexport const useMediaMessages = () => useI18nNamespace(mediaMessages)\nexport const useMenuMessages = () => useI18nNamespace(menuMessages)\nexport const usePageMessages = () => useI18nNamespace(pageMessages)\nexport const usePanelMessages = () => useI18nNamespace(panelMessages)\nexport const useRecoveryMessages = () => useI18nNamespace(recoveryMessages)\nexport const useRenderingMessages = () => useI18nNamespace(renderingMessages)\nexport const useRenameMessages = () => useI18nNamespace(renameMessages)\nexport const useSettingsMessages = () => useI18nNamespace(settingsMessages)\nexport const useShaderMessages = () => useI18nNamespace(shaderMessages)\nexport const useShapeMessages = () => useI18nNamespace(shapeMessages)\nexport const useSlidesMessages = () => useI18nNamespace(slidesMessages)\nexport const useStatusMessages = () => useI18nNamespace(statusMessages)\nexport const useStorageMessages = () => useI18nNamespace(storageMessages)\nexport const useToolMessages = () => useI18nNamespace(toolMessages)\nexport const useUpdateMessages = () => useI18nNamespace(updatesMessages)\nexport const useCloudMessages = () => useI18nNamespace(cloudMessages)\nexport const useCloudPortalMessages = () => useI18nNamespace(cloudPortalMessages)\nexport const useVariableMessages = () => useI18nNamespace(variablesMessages)\nexport const useVariableTypeMessages = () => useI18nNamespace(variableTypeMessages)\nexport const useVariationMessages = () => useI18nNamespace(variationMessages)\n\n/** Compatibility aggregate. New code should import the narrow domain composable. */\nexport function useI18n() {\n return {\n ai: useAIMessages(),\n automation: useAutomationMessages(),\n code: useCodeMessages(),\n collaboration: useCollaborationMessages(),\n commands: useCommandMessages(),\n common: useCommonMessages(),\n credentials: useCredentialMessages(),\n diagnostics: useDiagnosticsMessages(),\n editor: useEditorMessages(),\n files: useFileMessages(),\n fonts: useFontMessages(),\n media: useMediaMessages(),\n menu: useMenuMessages(),\n pages: usePageMessages(),\n panels: usePanelMessages(),\n recovery: useRecoveryMessages(),\n rendering: useRenderingMessages(),\n rename: useRenameMessages(),\n settings: useSettingsMessages(),\n storage: useStorageMessages(),\n tools: useToolMessages(),\n updates: useUpdateMessages(),\n variables: useVariableMessages(),\n variableTypes: useVariableTypeMessages(),\n variations: useVariationMessages(),\n locale: useStore(locale) as Ref<Locale>,\n availableLocales: AVAILABLE_LOCALES,\n localeLabels: LOCALE_LABELS,\n setLocale\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDA,SAAgB,iBAA8C,UAAyB;CACrF,OAAO,SAAS,QAAQ;AAC1B;AAEA,MAAa,yBAAyB,iBAAiB,aAAa;AACpE,MAAa,sBAAsB,iBAAiB,UAAU;AAC9D,MAAa,8BAA8B,iBAAiB,kBAAkB;AAC9E,MAAa,2BAA2B,iBAAiB,eAAe;AACxE,MAAa,+BAA+B,iBAAiB,mBAAmB;AAChF,MAAa,6BAA6B,iBAAiB,iBAAiB;AAC5E,MAAa,wBAAwB,iBAAiB,YAAY;AAClE,MAAa,iCAAiC,iBAAiB,qBAAqB;AACpF,MAAa,2BAA2B,iBAAiB,eAAe;AACxE,MAAa,2BAA2B,iBAAiB,eAAe;AACxE,MAAa,0BAA0B,iBAAiB,cAAc;AACtE,MAAa,8BAA8B,iBAAiB,mBAAmB;AAC/E,MAAa,+BAA+B,iBAAiB,mBAAmB;AAChF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AAO,iBAAiB;EACxB,MAAM,gBAAgB;EACtB,OAAO,gBAAgB;EACvB,QAAQ,iBAAiB;EACzB,UAAU,oBAAoB;EAC9B,WAAW,qBAAqB;EAChC,QAAQ,kBAAkB;EAC1B,UAAU,oBAAoB;EAC9B,SAAS,mBAAmB;EAC5B,OAAO,gBAAgB;EACvB,SAAS,kBAAkB;EAC3B,WAAW,oBAAoB;EAC/B,eAAe,wBAAwB;EACvC,YAAY,qBAAqB;EACjC,QAAQ,SAAS,MAAM;EACvB,kBAAkB;EAClB,cAAc;EACd;CACF;AACF"}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { OkHCLControls } from "../../controls/color-model/types.js";
|
|
2
|
+
import { ColorProfile } from "@pairdraw/scene-graph";
|
|
2
3
|
import { Color } from "@pairdraw/scene-graph/primitives";
|
|
3
4
|
//#region src/primitives/ColorPicker/ColorInputRoot.vue.d.ts
|
|
4
5
|
type __VLS_Props = {
|
|
5
6
|
color: Color;
|
|
6
7
|
editable?: boolean;
|
|
7
8
|
okhcl?: OkHCLControls | null;
|
|
9
|
+
/**
|
|
10
|
+
* The profile the color is stored in; the hex text converts it into sRGB, so it reads the
|
|
11
|
+
* color the canvas draws.
|
|
12
|
+
*/
|
|
13
|
+
colorProfile?: ColorProfile;
|
|
8
14
|
};
|
|
9
15
|
declare var __VLS_1: {
|
|
10
16
|
color: Color;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorInputRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/ColorPicker/ColorInputRoot.vue"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ColorInputRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/ColorPicker/ColorInputRoot.vue"],"mappings":";;;;KAsDK;EACH,OAAO;EACP;EACA,QAAQ;;;;;EAKR,eAAe;;YAmDb;;;;;;;;;;KACC;EACD,WAAW,cAAc;;cAGvB,0BAAU,gBAAA,2CAAA,qCAAA;;;;0CAGd;cACI,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -9,13 +9,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
9
9
|
type: Boolean,
|
|
10
10
|
default: false
|
|
11
11
|
},
|
|
12
|
-
okhcl: { default: null }
|
|
12
|
+
okhcl: { default: null },
|
|
13
|
+
colorProfile: { default: "srgb" }
|
|
13
14
|
},
|
|
14
15
|
emits: ["update"],
|
|
15
16
|
setup(__props, { emit: __emit }) {
|
|
16
17
|
const emit = __emit;
|
|
17
18
|
const model = useColorModel({
|
|
18
19
|
color: () => __props.color,
|
|
20
|
+
colorProfile: () => __props.colorProfile,
|
|
19
21
|
onUpdate: (nextColor) => emit("update", nextColor)
|
|
20
22
|
});
|
|
21
23
|
const actions = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorInputRoot.vue.js","names":[],"sources":["../../../src/primitives/ColorPicker/ColorInputRoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { Color } from '@pairdraw/scene-graph/primitives'\n\nimport type { OkHCLControls } from '#vue/controls/color-model/types'\nimport { useColorModel } from '#vue/controls/color-model/use'\n\nconst {\n color,\n editable = false,\n okhcl = null\n} = defineProps<{\n color: Color\n editable?: boolean\n okhcl?: OkHCLControls | null\n}>()\n\nconst emit = defineEmits<{ update: [color: Color] }>()\nconst model = useColorModel({\n color: () => color,\n onUpdate: (nextColor) => emit('update', nextColor)\n})\n\nconst actions = {\n updateFromHex: model.updateHex,\n updateColor: model.updateColor\n}\n</script>\n\n<template>\n <slot\n :color=\"color\"\n :editable=\"editable\"\n :hex=\"model.hex.value\"\n :actions=\"actions\"\n :okhcl=\"okhcl\"\n />\n</template>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ColorInputRoot.vue.js","names":[],"sources":["../../../src/primitives/ColorPicker/ColorInputRoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { ColorProfile } from '@pairdraw/scene-graph'\nimport type { Color } from '@pairdraw/scene-graph/primitives'\n\nimport type { OkHCLControls } from '#vue/controls/color-model/types'\nimport { useColorModel } from '#vue/controls/color-model/use'\n\nconst {\n color,\n editable = false,\n okhcl = null,\n colorProfile = 'srgb'\n} = defineProps<{\n color: Color\n editable?: boolean\n okhcl?: OkHCLControls | null\n /**\n * The profile the color is stored in; the hex text converts it into sRGB, so it reads the\n * color the canvas draws.\n */\n colorProfile?: ColorProfile\n}>()\n\nconst emit = defineEmits<{ update: [color: Color] }>()\nconst model = useColorModel({\n color: () => color,\n colorProfile: () => colorProfile,\n onUpdate: (nextColor) => emit('update', nextColor)\n})\n\nconst actions = {\n updateFromHex: model.updateHex,\n updateColor: model.updateColor\n}\n</script>\n\n<template>\n <slot\n :color=\"color\"\n :editable=\"editable\"\n :hex=\"model.hex.value\"\n :actions=\"actions\"\n :okhcl=\"okhcl\"\n />\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;EAuBA,MAAM,OAAO;EACb,MAAM,QAAQ,cAAc;GAC1B,aAAa,QAAA;GACb,oBAAoB,QAAA;GACpB,WAAW,cAAc,KAAK,UAAU,SAAS;EACnD,CAAC;EAED,MAAM,UAAU;GACd,eAAe,MAAM;GACrB,aAAa,MAAM;EACrB;;GAIE,OAAA,WAME,KAAA,QAAA,WAAA;IALC,OAAO,QAAA;IACP,UAAU,QAAA;IACV,KAAK,MAAA,KAAA,CAAK,CAAC,IAAI;IACN;IACT,OAAO,QAAA"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { PickerCancelCause } from "./gesture.js";
|
|
2
|
+
import { PickerKeepOpen } from "./outside.js";
|
|
3
|
+
import { DocumentColorSpace } from "@pairdraw/scene-graph";
|
|
2
4
|
import { Color } from "@pairdraw/scene-graph/primitives";
|
|
3
5
|
//#region src/primitives/ColorPicker/ColorPickerRoot.vue.d.ts
|
|
4
6
|
interface ColorPickerUI {
|
|
@@ -9,25 +11,32 @@ type __VLS_Props = {
|
|
|
9
11
|
color: Color;
|
|
10
12
|
label?: string;
|
|
11
13
|
ui?: ColorPickerUI;
|
|
14
|
+
/**
|
|
15
|
+
* The profile the color is stored in; the trigger's swatch then draws the color the canvas draws.
|
|
16
|
+
* Defaults to sRGB.
|
|
17
|
+
*/
|
|
18
|
+
colorProfile?: DocumentColorSpace;
|
|
12
19
|
/**
|
|
13
20
|
* For a colour with no undo history, such as a preference: Escape closing the picker puts back
|
|
14
21
|
* the colour it opened with. Otherwise Escape keeps the edit, as Figma's picker does.
|
|
15
22
|
*/
|
|
16
23
|
escapeReverts?: boolean;
|
|
24
|
+
/** Whether a press outside the picker should leave it open, such as one that samples the canvas. */
|
|
25
|
+
keepOpen?: PickerKeepOpen;
|
|
17
26
|
};
|
|
18
27
|
declare function update(next: Color): void;
|
|
19
28
|
declare var __VLS_16: {
|
|
20
29
|
style: {
|
|
21
30
|
background: string;
|
|
22
31
|
};
|
|
23
|
-
},
|
|
32
|
+
}, __VLS_34: {
|
|
24
33
|
color: Color;
|
|
25
34
|
update: typeof update;
|
|
26
35
|
};
|
|
27
36
|
type __VLS_Slots = {} & {
|
|
28
37
|
trigger?: (props: typeof __VLS_16) => any;
|
|
29
38
|
} & {
|
|
30
|
-
default?: (props: typeof
|
|
39
|
+
default?: (props: typeof __VLS_34) => any;
|
|
31
40
|
};
|
|
32
41
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
42
|
cancel: (cause: PickerCancelCause) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorPickerRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/ColorPicker/ColorPickerRoot.vue"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ColorPickerRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/ColorPicker/ColorPickerRoot.vue"],"mappings":";;;;;UA0IiB;EACf;EACA;;KAGG;EACH,OAAO;EACP;EACA,KAAK;;;;;EAKL,eAAe;;;;;EAKf;;EAEA,WAAW;;iBAsDJ,OAAO,MAAM;YAgJlB;;;;GAAqB;SAAA;iBAAA;;KACpB;EACD,WAAW,cAAc;;EACzB,WAAW,cAAc;;cAKvB,0BAAU,gBAAA,2CAAA,qCAAA;;;;;;;;;;0CAGd;cACI,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { useRetainedPopup } from "../../lifecycle/retention/popup.js";
|
|
2
2
|
import { usePickerGesture } from "./gesture.js";
|
|
3
|
+
import { pickerOutsideHandlers } from "./outside.js";
|
|
3
4
|
import { computed, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, isRef, normalizeClass, normalizeStyle, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
4
5
|
import { PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger } from "reka-ui";
|
|
5
|
-
import {
|
|
6
|
+
import { colorToPreviewCSS } from "@pairdraw/scene-graph/color";
|
|
6
7
|
//#region src/primitives/ColorPicker/ColorPickerRoot.vue
|
|
7
8
|
const _hoisted_1 = ["aria-label"];
|
|
8
9
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
@@ -11,10 +12,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
11
12
|
color: {},
|
|
12
13
|
label: { default: "Edit color" },
|
|
13
14
|
ui: {},
|
|
15
|
+
colorProfile: { default: "srgb" },
|
|
14
16
|
escapeReverts: {
|
|
15
17
|
type: Boolean,
|
|
16
18
|
default: false
|
|
17
|
-
}
|
|
19
|
+
},
|
|
20
|
+
keepOpen: { type: Function }
|
|
18
21
|
},
|
|
19
22
|
emits: [
|
|
20
23
|
"update",
|
|
@@ -24,7 +27,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
24
27
|
],
|
|
25
28
|
setup(__props, { emit: __emit }) {
|
|
26
29
|
const emit = __emit;
|
|
27
|
-
const swatchBg = computed(() =>
|
|
30
|
+
const swatchBg = computed(() => colorToPreviewCSS(__props.color, __props.colorProfile));
|
|
28
31
|
let pressColor = { ...__props.color };
|
|
29
32
|
const gesture = usePickerGesture({
|
|
30
33
|
open: () => popupOpen.value,
|
|
@@ -38,6 +41,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
38
41
|
}
|
|
39
42
|
});
|
|
40
43
|
const { open: popupOpen, portalActive } = useRetainedPopup(void 0, () => onOpenChange(false));
|
|
44
|
+
const outside = pickerOutsideHandlers(() => __props.keepOpen);
|
|
41
45
|
let openColor = { ...__props.color };
|
|
42
46
|
/** A press still held when the picker closes is put back, whichever way it closes. */
|
|
43
47
|
function onOpenChange(open) {
|
|
@@ -72,14 +76,20 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
72
76
|
"side-offset": 4,
|
|
73
77
|
side: "left",
|
|
74
78
|
"data-picker-content": "",
|
|
75
|
-
onEscapeKeyDown
|
|
79
|
+
onEscapeKeyDown,
|
|
80
|
+
onPointerDownOutside: unref(outside).onPointerDownOutside,
|
|
81
|
+
onFocusOutside: unref(outside).onFocusOutside
|
|
76
82
|
}, {
|
|
77
83
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {
|
|
78
84
|
color: __props.color,
|
|
79
85
|
update
|
|
80
86
|
})]),
|
|
81
87
|
_: 3
|
|
82
|
-
}, 8, [
|
|
88
|
+
}, 8, [
|
|
89
|
+
"class",
|
|
90
|
+
"onPointerDownOutside",
|
|
91
|
+
"onFocusOutside"
|
|
92
|
+
])]),
|
|
83
93
|
_: 3
|
|
84
94
|
})) : createCommentVNode("v-if", true)]),
|
|
85
95
|
_: 3
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorPickerRoot.vue.js","names":[],"sources":["../../../src/primitives/ColorPicker/ColorPickerRoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger } from 'reka-ui'\nimport { computed } from 'vue'\n\nimport {
|
|
1
|
+
{"version":3,"file":"ColorPickerRoot.vue.js","names":[],"sources":["../../../src/primitives/ColorPicker/ColorPickerRoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger } from 'reka-ui'\nimport { computed } from 'vue'\n\nimport type { DocumentColorSpace } from '@pairdraw/scene-graph'\nimport { colorToPreviewCSS } from '@pairdraw/scene-graph/color'\nimport type { Color } from '@pairdraw/scene-graph/primitives'\n\nimport { useRetainedPopup } from '#vue/lifecycle/retention/popup'\n\nimport { usePickerGesture, type PickerCancelCause } from './gesture'\nimport { pickerOutsideHandlers, type PickerKeepOpen } from './outside'\n\nexport interface ColorPickerUI {\n content?: string\n swatch?: string\n}\n\nconst {\n color,\n label = 'Edit color',\n ui,\n escapeReverts = false,\n keepOpen,\n colorProfile = 'srgb'\n} = defineProps<{\n color: Color\n label?: string\n ui?: ColorPickerUI\n /**\n * The profile the color is stored in; the trigger's swatch then draws the color the canvas draws.\n * Defaults to sRGB.\n */\n colorProfile?: DocumentColorSpace\n /**\n * For a colour with no undo history, such as a preference: Escape closing the picker puts back\n * the colour it opened with. Otherwise Escape keeps the edit, as Figma's picker does.\n */\n escapeReverts?: boolean\n /** Whether a press outside the picker should leave it open, such as one that samples the canvas. */\n keepOpen?: PickerKeepOpen\n}>()\n\nconst emit = defineEmits<{\n update: [color: Color]\n openChange: [open: boolean]\n /** Ends the edit made so far as one undo step: a press's release, or a change with none held. */\n commit: []\n /**\n * `press`: Escape during a press that changed the colour, or the picker closing during one; the\n * colour from before the press has just come back through `update`. `escape`: with\n * `escapeReverts`, Escape closed the picker after the colour it opened with came back.\n */\n cancel: [cause: PickerCancelCause]\n}>()\n\nconst swatchBg = computed(() => colorToPreviewCSS(color, colorProfile))\nlet pressColor: Color = { ...color }\nconst gesture = usePickerGesture({\n open: () => popupOpen.value,\n // The colour the press found when it first changed it, so a change from elsewhere since the\n // press began is not put back.\n beforeChange: () => {\n pressColor = { ...color }\n },\n commit: () => emit('commit'),\n cancel: () => {\n emit('update', pressColor)\n emit('cancel', 'press')\n }\n})\nconst { open: popupOpen, portalActive } = useRetainedPopup(undefined, () => onOpenChange(false))\n\nconst outside = pickerOutsideHandlers(() => keepOpen)\n\nlet openColor: Color = { ...color }\n\n/** A press still held when the picker closes is put back, whichever way it closes. */\nfunction onOpenChange(open: boolean) {\n if (open) openColor = { ...color }\n if (!open) gesture.abort()\n emit('openChange', open)\n}\n\nfunction update(next: Color) {\n gesture.change(() => emit('update', next))\n}\n\nfunction onEscapeKeyDown() {\n if (!escapeReverts) return\n emit('update', openColor)\n emit('cancel', 'escape')\n}\n</script>\n\n<template>\n <PopoverRoot v-model:open=\"popupOpen\" @update:open=\"onOpenChange\">\n <PopoverTrigger as-child>\n <slot name=\"trigger\" :style=\"{ background: swatchBg }\">\n <button\n type=\"button\"\n :aria-label=\"label\"\n :class=\"ui?.swatch\"\n :style=\"{ background: swatchBg }\"\n />\n </slot>\n </PopoverTrigger>\n\n <PopoverPortal v-if=\"portalActive\">\n <PopoverContent\n :class=\"ui?.content\"\n :side-offset=\"4\"\n side=\"left\"\n data-picker-content\n @escape-key-down=\"onEscapeKeyDown\"\n @pointer-down-outside=\"outside.onPointerDownOutside\"\n @focus-outside=\"outside.onFocusOutside\"\n >\n <slot :color=\"color\" :update=\"update\" />\n </PopoverContent>\n </PopoverPortal>\n </PopoverRoot>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2CA,MAAM,OAAO;EAab,MAAM,WAAW,eAAe,kBAAkB,QAAA,OAAO,QAAA,YAAY,CAAC;EACtE,IAAI,aAAoB,EAAE,GAAG,QAAA,MAAM;EACnC,MAAM,UAAU,iBAAiB;GAC/B,YAAY,UAAU;GAGtB,oBAAoB;IAClB,aAAa,EAAE,GAAG,QAAA,MAAM;GAC1B;GACA,cAAc,K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eAAE,QAAA,IAAI,OAAO;MAClB,eAAa;MACd,MAAK;MACL,uBAAA;MACkB;MACjB,sBAAsB,MAAA,OAAA,CAAO,CAAC;MAC9B,gBAAe,MAAA,OAAA,CAAO,CAAC;;MAEgB,SAAA,cAAA,CAAxC,WAAwC,KAAA,QAAA,WAAA;OAAjC,OAAO,QAAA;OAAgB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _default from "./ColorInputRoot.vue.js";
|
|
2
2
|
import { PickerCancelCause, usePickerGesture } from "./gesture.js";
|
|
3
|
+
import { PickerKeepOpen, pickerOutsideHandlers } from "./outside.js";
|
|
3
4
|
import _default$1 from "./ColorPickerRoot.vue.js";
|
|
4
|
-
export { _default as ColorInputRoot, _default$1 as ColorPickerRoot, type PickerCancelCause, usePickerGesture };
|
|
5
|
+
export { _default as ColorInputRoot, _default$1 as ColorPickerRoot, type PickerCancelCause, type PickerKeepOpen, pickerOutsideHandlers, usePickerGesture };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./ColorInputRoot.vue.js";
|
|
2
2
|
import { usePickerGesture } from "./gesture.js";
|
|
3
|
+
import { pickerOutsideHandlers } from "./outside.js";
|
|
3
4
|
import _sfc_main$1 from "./ColorPickerRoot.vue.js";
|
|
4
|
-
export { _sfc_main as ColorInputRoot, _sfc_main$1 as ColorPickerRoot, usePickerGesture };
|
|
5
|
+
export { _sfc_main as ColorInputRoot, _sfc_main$1 as ColorPickerRoot, pickerOutsideHandlers, usePickerGesture };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FocusOutsideEvent, PointerDownOutsideEvent } from "reka-ui";
|
|
2
|
+
//#region src/primitives/ColorPicker/outside.d.ts
|
|
3
|
+
/** Whether a press outside a picker leaves it open, such as one on a gradient handle. */
|
|
4
|
+
type PickerKeepOpen = (event: PointerEvent) => boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Outside-dismissal handlers for a picker's `PopoverContent`: the press decides through
|
|
7
|
+
* `keepOpen`. Reka reports the canvas taking focus a couple of ticks after that press, so a focus
|
|
8
|
+
* move to the canvas never dismisses on its own.
|
|
9
|
+
*/
|
|
10
|
+
declare function pickerOutsideHandlers(keepOpen: () => PickerKeepOpen | undefined): {
|
|
11
|
+
onPointerDownOutside(event: PointerDownOutsideEvent): void;
|
|
12
|
+
onFocusOutside(event: FocusOutsideEvent): void;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { PickerKeepOpen, pickerOutsideHandlers };
|
|
16
|
+
//# sourceMappingURL=outside.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"outside.d.ts","names":[],"sources":["../../../src/primitives/ColorPicker/outside.ts"],"mappings":";;;KAGY,kBAAkB,OAAO;;;;;;iBAOrB,sBAAsB,gBAAgB;EAEtB,qBAAA,OAAA;EAGN,eAAA,OAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region src/primitives/ColorPicker/outside.ts
|
|
2
|
+
/**
|
|
3
|
+
* Outside-dismissal handlers for a picker's `PopoverContent`: the press decides through
|
|
4
|
+
* `keepOpen`. Reka reports the canvas taking focus a couple of ticks after that press, so a focus
|
|
5
|
+
* move to the canvas never dismisses on its own.
|
|
6
|
+
*/
|
|
7
|
+
function pickerOutsideHandlers(keepOpen) {
|
|
8
|
+
return {
|
|
9
|
+
onPointerDownOutside(event) {
|
|
10
|
+
if (keepOpen()?.(event.detail.originalEvent)) event.preventDefault();
|
|
11
|
+
},
|
|
12
|
+
onFocusOutside(event) {
|
|
13
|
+
if (keepOpen() && event.detail.originalEvent.target instanceof HTMLCanvasElement) event.preventDefault();
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { pickerOutsideHandlers };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=outside.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"outside.js","names":[],"sources":["../../../src/primitives/ColorPicker/outside.ts"],"sourcesContent":["import type { FocusOutsideEvent, PointerDownOutsideEvent } from 'reka-ui'\n\n/** Whether a press outside a picker leaves it open, such as one on a gradient handle. */\nexport type PickerKeepOpen = (event: PointerEvent) => boolean\n\n/**\n * Outside-dismissal handlers for a picker's `PopoverContent`: the press decides through\n * `keepOpen`. Reka reports the canvas taking focus a couple of ticks after that press, so a focus\n * move to the canvas never dismisses on its own.\n */\nexport function pickerOutsideHandlers(keepOpen: () => PickerKeepOpen | undefined) {\n return {\n onPointerDownOutside(event: PointerDownOutsideEvent) {\n if (keepOpen()?.(event.detail.originalEvent)) event.preventDefault()\n },\n onFocusOutside(event: FocusOutsideEvent) {\n if (keepOpen() && event.detail.originalEvent.target instanceof HTMLCanvasElement)\n event.preventDefault()\n }\n }\n}\n"],"mappings":";;;;;;AAUA,SAAgB,sBAAsB,UAA4C;CAChF,OAAO;EACL,qBAAqB,OAAgC;GACnD,IAAI,SAAS,CAAC,GAAG,MAAM,OAAO,aAAa,GAAG,MAAM,eAAe;EACrE;EACA,eAAe,OAA0B;GACvC,IAAI,SAAS,KAAK,MAAM,OAAO,cAAc,kBAAkB,mBAC7D,MAAM,eAAe;EACzB;CACF;AACF"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { FillRootSlots } from "./types.js";
|
|
2
|
-
import { Fill } from "@pairdraw/scene-graph";
|
|
2
|
+
import { DocumentColorSpace, Fill } from "@pairdraw/scene-graph";
|
|
3
3
|
//#region src/primitives/Fill/FillRoot.vue.d.ts
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
fill: Fill;
|
|
6
|
+
colorProfile?: DocumentColorSpace;
|
|
6
7
|
};
|
|
7
8
|
type __VLS_Slots = FillRootSlots;
|
|
8
9
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FillRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/Fill/FillRoot.vue"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"FillRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/Fill/FillRoot.vue"],"mappings":";;;KAsCK;EAAgB,MAAM;EAAM,eAAe;;KAK3C,cAAc;cAqCb,0BAAU,gBAAA,2CAAA,qCAAA;;;;0CAGd;cACI,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -3,11 +3,14 @@ import { computed, defineComponent, renderSlot, unref } from "vue";
|
|
|
3
3
|
//#region src/primitives/Fill/FillRoot.vue
|
|
4
4
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: "FillRoot",
|
|
6
|
-
props: {
|
|
6
|
+
props: {
|
|
7
|
+
fill: {},
|
|
8
|
+
colorProfile: {}
|
|
9
|
+
},
|
|
7
10
|
emits: ["update"],
|
|
8
11
|
setup(__props, { emit: __emit }) {
|
|
9
12
|
const emit = __emit;
|
|
10
|
-
const model = useFill(computed(() => __props.fill), (updated) => emit("update", updated));
|
|
13
|
+
const model = useFill(computed(() => __props.fill), (updated) => emit("update", updated), { colorProfile: () => __props.colorProfile });
|
|
11
14
|
return (_ctx, _cache) => {
|
|
12
15
|
return renderSlot(_ctx.$slots, "default", {
|
|
13
16
|
fill: __props.fill,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FillRoot.vue.js","names":[],"sources":["../../../src/primitives/Fill/FillRoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed } from 'vue'\n\nimport type { Fill } from '@pairdraw/scene-graph'\n\nimport type { FillRootSlots } from './types'\nimport { useFill } from './useFill'\n\nconst { fill } = defineProps<{ fill: Fill }>()\nconst emit = defineEmits<{ update: [fill: Fill] }>()\ndefineSlots<FillRootSlots>()\n\nconst model = useFill(\n computed(() => fill),\n (updated) => emit('update', updated)\n)\n</script>\n\n<template>\n <slot\n :fill=\"fill\"\n :category=\"model.category.value\"\n :swatch-background=\"model.swatchBackground.value\"\n :transparent=\"model.transparent.value\"\n :actions=\"model.actions\"\n />\n</template>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"FillRoot.vue.js","names":[],"sources":["../../../src/primitives/Fill/FillRoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed } from 'vue'\n\nimport type { DocumentColorSpace, Fill } from '@pairdraw/scene-graph'\n\nimport type { FillRootSlots } from './types'\nimport { useFill } from './useFill'\n\nconst { fill, colorProfile } = defineProps<{ fill: Fill; colorProfile?: DocumentColorSpace }>()\nconst emit = defineEmits<{ update: [fill: Fill] }>()\ndefineSlots<FillRootSlots>()\n\nconst model = useFill(\n computed(() => fill),\n (updated) => emit('update', updated),\n { colorProfile: () => colorProfile }\n)\n</script>\n\n<template>\n <slot\n :fill=\"fill\"\n :category=\"model.category.value\"\n :swatch-background=\"model.swatchBackground.value\"\n :transparent=\"model.transparent.value\"\n :actions=\"model.actions\"\n />\n</template>\n"],"mappings":";;;;;;;;;;;EASA,MAAM,OAAO;EAGb,MAAM,QAAQ,QACZ,eAAe,QAAA,IAAI,IAClB,YAAY,KAAK,UAAU,OAAO,GACnC,EAAE,oBAAoB,QAAA,aAAa,CACrC;;GAIE,OAAA,WAME,KAAA,QAAA,WAAA;IALC,MAAM,QAAA;IACN,UAAU,MAAA,KAAA,CAAK,CAAC,SAAS;IACzB,kBAAmB,MAAA,KAAA,CAAK,CAAC,iBAAiB;IAC1C,aAAa,MAAA,KAAA,CAAK,CAAC,YAAY;IAC/B,SAAS,MAAA,KAAA,CAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FillSwatch.vue.d.ts","names":[],"sources":["../../../src/primitives/Fill/FillSwatch.vue"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"FillSwatch.vue.d.ts","names":[],"sources":["../../../src/primitives/Fill/FillSwatch.vue"],"mappings":";;KAqFK,cAAc;cA4Fb,0BAAU,gBAAA,+CAAA,qCAAA,iDAAA,aAAA,SAAA,mBAAA,oDAAA;cAGV,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -13,6 +13,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
13
13
|
type: Boolean,
|
|
14
14
|
default: false
|
|
15
15
|
},
|
|
16
|
+
colorProfile: { default: "srgb" },
|
|
16
17
|
asChild: {
|
|
17
18
|
type: Boolean,
|
|
18
19
|
default: false
|
|
@@ -29,7 +30,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
29
30
|
color: boundColor.value
|
|
30
31
|
} : __props.fill);
|
|
31
32
|
const category = computed(() => fillCategory(effectiveFill.value));
|
|
32
|
-
const background = computed(() => fillSwatchBackground(effectiveFill.value));
|
|
33
|
+
const background = computed(() => fillSwatchBackground(effectiveFill.value, __props.colorProfile));
|
|
33
34
|
const transparent = computed(() => fillIsTransparent(effectiveFill.value));
|
|
34
35
|
const accessibleLabel = computed(() => __props.label ?? `${category.value.toLowerCase()} fill`);
|
|
35
36
|
const stateAttrs = computed(() => binding?.stateAttrs.value);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FillSwatch.vue.js","names":["$attrs"],"sources":["../../../src/primitives/Fill/FillSwatch.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { Primitive } from 'reka-ui'\nimport { computed } from 'vue'\n\nimport type { Color } from '@pairdraw/scene-graph/primitives'\n\nimport { useOptionalBindableValue } from '#vue/primitives/BindableValue/context'\n\nimport type { FillSwatchProps, FillSwatchSlots } from './types'\nimport { fillCategory, fillIsTransparent, fillSwatchBackground } from './useFill'\n\nconst {\n fill,\n label,\n as = 'span',\n asChild = false,\n ignoreBinding = false\n} = defineProps<FillSwatchProps>()\ndefineSlots<FillSwatchSlots>()\ndefineOptions({ inheritAttrs: false })\n\nconst binding = useOptionalBindableValue<Color>()\nconst followsBinding = computed(() => !ignoreBinding && bindingState.value === 'bound')\nconst bindingState = computed(() => binding?.state.value)\nconst boundColor = computed(() => (followsBinding.value ? binding?.resolvedValue.value : undefined))\nconst effectiveFill = computed(() =>\n fill.type === 'SOLID' && boundColor.value ? { ...fill, color: boundColor.value } : fill\n)\nconst category = computed(() => fillCategory(effectiveFill.value))\nconst background = computed(() => fillSwatchBackground(effectiveFill.value))\nconst transparent = computed(() => fillIsTransparent(effectiveFill.value))\nconst accessibleLabel = computed(() => label ?? `${category.value.toLowerCase()} fill`)\nconst stateAttrs = computed(() => binding?.stateAttrs.value)\nconst slotProps = computed(() => ({\n fill: effectiveFill.value,\n color: effectiveFill.value.color,\n category: category.value,\n background: background.value,\n transparent: transparent.value,\n bindingState: bindingState.value,\n stateAttrs: stateAttrs.value\n}))\n</script>\n\n<template>\n <Primitive\n v-bind=\"{ ...$attrs, ...stateAttrs }\"\n :as=\"as\"\n :as-child=\"asChild\"\n :aria-label=\"accessibleLabel\"\n :data-fill-type=\"effectiveFill.type\"\n :data-fill-category=\"category\"\n :data-transparent=\"transparent ? '' : undefined\"\n :style=\"{ '--pairdraw-fill-swatch-background': background }\"\n role=\"img\"\n aria-roledescription=\"fill swatch\"\n data-slot=\"swatch\"\n >\n <slot v-bind=\"slotProps\" />\n </Primitive>\n</template>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"FillSwatch.vue.js","names":["$attrs"],"sources":["../../../src/primitives/Fill/FillSwatch.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { Primitive } from 'reka-ui'\nimport { computed } from 'vue'\n\nimport type { Color } from '@pairdraw/scene-graph/primitives'\n\nimport { useOptionalBindableValue } from '#vue/primitives/BindableValue/context'\n\nimport type { FillSwatchProps, FillSwatchSlots } from './types'\nimport { fillCategory, fillIsTransparent, fillSwatchBackground } from './useFill'\n\nconst {\n fill,\n label,\n as = 'span',\n asChild = false,\n ignoreBinding = false,\n colorProfile = 'srgb'\n} = defineProps<FillSwatchProps>()\ndefineSlots<FillSwatchSlots>()\ndefineOptions({ inheritAttrs: false })\n\nconst binding = useOptionalBindableValue<Color>()\nconst followsBinding = computed(() => !ignoreBinding && bindingState.value === 'bound')\nconst bindingState = computed(() => binding?.state.value)\nconst boundColor = computed(() => (followsBinding.value ? binding?.resolvedValue.value : undefined))\nconst effectiveFill = computed(() =>\n fill.type === 'SOLID' && boundColor.value ? { ...fill, color: boundColor.value } : fill\n)\nconst category = computed(() => fillCategory(effectiveFill.value))\nconst background = computed(() => fillSwatchBackground(effectiveFill.value, colorProfile))\nconst transparent = computed(() => fillIsTransparent(effectiveFill.value))\nconst accessibleLabel = computed(() => label ?? `${category.value.toLowerCase()} fill`)\nconst stateAttrs = computed(() => binding?.stateAttrs.value)\nconst slotProps = computed(() => ({\n fill: effectiveFill.value,\n color: effectiveFill.value.color,\n category: category.value,\n background: background.value,\n transparent: transparent.value,\n bindingState: bindingState.value,\n stateAttrs: stateAttrs.value\n}))\n</script>\n\n<template>\n <Primitive\n v-bind=\"{ ...$attrs, ...stateAttrs }\"\n :as=\"as\"\n :as-child=\"asChild\"\n :aria-label=\"accessibleLabel\"\n :data-fill-type=\"effectiveFill.type\"\n :data-fill-category=\"category\"\n :data-transparent=\"transparent ? '' : undefined\"\n :style=\"{ '--pairdraw-fill-swatch-background': background }\"\n role=\"img\"\n aria-roledescription=\"fill swatch\"\n data-slot=\"swatch\"\n >\n <slot v-bind=\"slotProps\" />\n </Primitive>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;EAsBA,MAAM,UAAU,yBAAgC;EAChD,MAAM,iBAAiB,eAAe,CAAC,QAAA,iBAAiB,aAAa,UAAU,OAAO;EACtF,MAAM,eAAe,eAAe,SAAS,MAAM,KAAK;EACxD,MAAM,aAAa,eAAgB,eAAe,QAAQ,SAAS,cAAc,QAAQ,KAAA,CAAU;EACnG,MAAM,gBAAgB,eACpB,QAAA,KAAK,SAAS,WAAW,WAAW,QAAQ;GAAE,GAAG,QAAA;GAAM,OAAO,WAAW;EAAM,IAAI,QAAA,IACrF;EACA,MAAM,WAAW,eAAe,aAAa,cAAc,KAAK,CAAC;EACjE,MAAM,aAAa,eAAe,qBAAqB,cAAc,OAAO,QAAA,YAAY,CAAC;EACzF,MAAM,cAAc,eAAe,kBAAkB,cAAc,KAAK,CAAC;EACzE,MAAM,kBAAkB,eAAe,QAAA,SAAS,GAAG,SAAS,MAAM,YAAY,EAAE,MAAM;EACtF,MAAM,aAAa,eAAe,SAAS,WAAW,KAAK;EAC3D,MAAM,YAAY,gBAAgB;GAChC,MAAM,cAAc;GACpB,OAAO,cAAc,MAAM;GAC3B,UAAU,SAAS;GACnB,YAAY,WAAW;GACvB,aAAa,YAAY;GACzB,cAAc,aAAa;GAC3B,YAAY,WAAW;EACzB,EAAE;;GAIA,OAAA,UAAA,GAAA,YAcY,MAAA,SAAA,GAdZ,WAcY;IAAA,GAbGA,KAAAA;IAAM,GAAK,WAAA;GAAU,GAAA;IACjC,IAAI,QAAA;IACJ,YAAU,QAAA;IACV,cAAY,gBAAA;IACZ,kBAAgB,cAAA,MAAc;IAC9B,sBAAoB,SAAA;IACpB,oBAAkB,YAAA,QAAW,KAAQ,KAAA;IACrC,OAAK,EAAA,qCAAyC,WAAA,MAAU;IACzD,MAAK;IACL,wBAAqB;IACrB,aAAU;;IAEiB,SAAA,cAAA,CAA3B,WAA2B,KAAA,QAAA,WAAA,eAAA,mBAAb,UAAA,KAAS,CAAA,CAAA,CAAA,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BindingState } from "../../controls/binding-provider/types.js";
|
|
2
2
|
import { BindableValueStateAttrs } from "../BindableValue/types.js";
|
|
3
3
|
import { PrimitiveProps } from "reka-ui";
|
|
4
|
-
import { Fill } from "@pairdraw/scene-graph";
|
|
4
|
+
import { DocumentColorSpace, Fill } from "@pairdraw/scene-graph";
|
|
5
5
|
import { Color as Color$1 } from "@pairdraw/scene-graph/primitives";
|
|
6
6
|
//#region src/primitives/Fill/types.d.ts
|
|
7
7
|
type FillCategory = 'SOLID' | 'GRADIENT' | 'MESH' | 'IMAGE';
|
|
@@ -31,6 +31,11 @@ interface FillSwatchProps extends PrimitiveProps {
|
|
|
31
31
|
* own variable rather than the one the field is bound to.
|
|
32
32
|
*/
|
|
33
33
|
ignoreBinding?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* The profile the fill's color is stored in; a Display P3 document's swatch then draws the color
|
|
36
|
+
* in its own profile, the one the canvas draws. Defaults to sRGB.
|
|
37
|
+
*/
|
|
38
|
+
colorProfile?: DocumentColorSpace;
|
|
34
39
|
}
|
|
35
40
|
interface FillSwatchSlotProps {
|
|
36
41
|
fill: Fill;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/primitives/Fill/types.ts"],"mappings":";;;;;;KAQY;UAEK;EACf;EACA;EACA;EACA;;UAGe;EACf,MAAM;EACN,UAAU;EACV;EACA;EACA,SAAS;;UAGM;EACf,WAAW,OAAO;;UAGH,wBAAwB;;EAEvC,MAAM;;EAEN;;;;;EAKA;;
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/primitives/Fill/types.ts"],"mappings":";;;;;;KAQY;UAEK;EACf;EACA;EACA;EACA;;UAGe;EACf,MAAM;EACN,UAAU;EACV;EACA;EACA,SAAS;;UAGM;EACf,WAAW,OAAO;;UAGH,wBAAwB;;EAEvC,MAAM;;EAEN;;;;;EAKA;;;;;EAKA,eAAe;;UAGA;EACf,MAAM;EACN,OAAO;EACP,UAAU;EACV;EACA;EACA,cAAc;EACd,YAAY;;UAGG;EACf,WAAW,OAAO"}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { FillCategory } from "./types.js";
|
|
2
|
-
import { Ref } from "vue";
|
|
3
|
-
import { Fill } from "@pairdraw/scene-graph";
|
|
2
|
+
import { MaybeRefOrGetter, Ref } from "vue";
|
|
3
|
+
import { DocumentColorSpace, Fill } from "@pairdraw/scene-graph";
|
|
4
4
|
//#region src/primitives/Fill/useFill.d.ts
|
|
5
5
|
declare function fillCategory(fill: Fill): FillCategory;
|
|
6
6
|
declare function fillIsTransparent(fill: Fill): boolean;
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* A fill's swatch as CSS in `profile`: a Display P3 document's stored components are written in
|
|
9
|
+
* its own profile, so the swatch shows the color the canvas draws.
|
|
10
|
+
*/
|
|
11
|
+
declare function fillSwatchBackground(fill: Fill, profile?: DocumentColorSpace): string;
|
|
8
12
|
/** Fill category state and immutable conversion actions without picker or popover behavior. */
|
|
9
|
-
declare function useFill(fill: Ref<Fill>, onUpdate: (fill: Fill) => void
|
|
13
|
+
declare function useFill(fill: Ref<Fill>, onUpdate: (fill: Fill) => void, options?: {
|
|
14
|
+
colorProfile?: MaybeRefOrGetter<DocumentColorSpace | undefined>;
|
|
15
|
+
}): {
|
|
10
16
|
category: import("vue").ComputedRef<FillCategory>;
|
|
11
17
|
swatchBackground: import("vue").ComputedRef<string>;
|
|
12
18
|
transparent: import("vue").ComputedRef<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFill.d.ts","names":[],"sources":["../../../src/primitives/Fill/useFill.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"useFill.d.ts","names":[],"sources":["../../../src/primitives/Fill/useFill.ts"],"mappings":";;;;iBA8CgB,aAAa,MAAM,OAAO;iBAI1B,kBAAkB,MAAM;;;;;iBAexB,qBAAqB,MAAM,MAAM,UAAS;;iBAiB1C,QACd,MAAM,IAAI,OACV,WAAW,MAAM,eACjB;EAAW,eAAe,iBAAiB"}
|