@pairdraw/vue 0.19.1 → 0.20.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 +2 -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/islands/state.js +5 -0
- package/dist/canvas/islands/state.js.map +1 -1
- package/dist/canvas/pointer/drag-move.js +4 -0
- package/dist/canvas/pointer/drag-move.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 +30 -1
- package/dist/canvas/surface/lifecycle.js.map +1 -1
- package/dist/canvas/surface/types.d.ts +9 -0
- package/dist/canvas/surface/types.d.ts.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 +146 -4
- 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/document-colors/index.d.ts +2 -0
- package/dist/controls/document-colors/index.js +2 -0
- package/dist/controls/document-colors/use.d.ts +14 -0
- package/dist/controls/document-colors/use.d.ts.map +1 -0
- package/dist/controls/document-colors/use.js +27 -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/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/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/index.d.ts +5 -2
- package/dist/i18n/index.js +5 -2
- package/dist/i18n/locales/de/ai.json.js +55 -3
- package/dist/i18n/locales/de/commands.json.js +2 -0
- package/dist/i18n/locales/de/credentials.json.js +2 -0
- 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 +95 -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 +54 -2
- package/dist/i18n/locales/es/commands.json.js +2 -0
- package/dist/i18n/locales/es/credentials.json.js +2 -0
- 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 +95 -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 +55 -3
- package/dist/i18n/locales/fr/commands.json.js +2 -0
- package/dist/i18n/locales/fr/credentials.json.js +2 -0
- 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 +95 -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/it/ai.json.js +55 -3
- package/dist/i18n/locales/it/commands.json.js +2 -0
- package/dist/i18n/locales/it/credentials.json.js +2 -0
- 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 +95 -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 +55 -3
- package/dist/i18n/locales/ja/commands.json.js +2 -0
- package/dist/i18n/locales/ja/credentials.json.js +2 -0
- 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 +92 -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 +55 -3
- package/dist/i18n/locales/pl/commands.json.js +2 -0
- package/dist/i18n/locales/pl/credentials.json.js +2 -0
- 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 +96 -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 +55 -3
- package/dist/i18n/locales/ru/commands.json.js +3 -1
- package/dist/i18n/locales/ru/credentials.json.js +2 -0
- 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 +96 -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 +55 -3
- package/dist/i18n/locales/zh-cn/commands.json.js +2 -0
- package/dist/i18n/locales/zh-cn/credentials.json.js +2 -0
- 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 +92 -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 +69 -3
- package/dist/i18n/messages/ai.d.ts.map +1 -1
- package/dist/i18n/messages/ai.js +55 -3
- 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/credentials.d.ts +2 -0
- package/dist/i18n/messages/credentials.d.ts.map +1 -1
- package/dist/i18n/messages/credentials.js +2 -0
- package/dist/i18n/messages/credentials.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 +120 -0
- package/dist/i18n/messages/panels.d.ts.map +1 -1
- package/dist/i18n/messages/panels.js +96 -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 +367 -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 +1237 -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/ColorPickerRoot.vue.d.ts +5 -2
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.d.ts.map +1 -1
- package/dist/primitives/ColorPicker/ColorPickerRoot.vue.js +12 -3
- 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/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/LayerTree/LayerTreeRoot.vue.d.ts.map +1 -1
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.js +6 -11
- package/dist/primitives/LayerTree/LayerTreeRoot.vue.js.map +1 -1
- package/dist/primitives/NumberField/NumberFieldRoot.vue.d.ts +2 -2
- 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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AAiB,mBAAmB;AAChF,MAAa,4BAA4B,iBAAiB,iBAAiB;AAC3E,MAAa,gCAAgC,iBAAiB,oBAAoB;AAClF,MAAa,6BAA6B,iBAAiB,iBAAiB;;AAG5E,SAAgB,UAAU;CACxB,OAAO;EACL,IAAI,cAAc;EAClB,YAAY,sBAAsB;EAClC,MAAM,gBAAgB;EACtB,eAAe,yBAAyB;EACxC,UAAU,mBAAmB;EAC7B,QAAQ,kBAAkB;EAC1B,aAAa,sBAAsB;EACnC,aAAa,uBAAuB;EACpC,QAAQ,kBAAkB;EAC1B,OAAO,gBAAgB;EACvB,OAAO,gBAAgB;EACvB,OAAO,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,4 +1,5 @@
|
|
|
1
1
|
import { PickerCancelCause } from "./gesture.js";
|
|
2
|
+
import { PickerKeepOpen } from "./outside.js";
|
|
2
3
|
import { Color } from "@pairdraw/scene-graph/primitives";
|
|
3
4
|
//#region src/primitives/ColorPicker/ColorPickerRoot.vue.d.ts
|
|
4
5
|
interface ColorPickerUI {
|
|
@@ -14,20 +15,22 @@ type __VLS_Props = {
|
|
|
14
15
|
* the colour it opened with. Otherwise Escape keeps the edit, as Figma's picker does.
|
|
15
16
|
*/
|
|
16
17
|
escapeReverts?: boolean;
|
|
18
|
+
/** Whether a press outside the picker should leave it open, such as one that samples the canvas. */
|
|
19
|
+
keepOpen?: PickerKeepOpen;
|
|
17
20
|
};
|
|
18
21
|
declare function update(next: Color): void;
|
|
19
22
|
declare var __VLS_16: {
|
|
20
23
|
style: {
|
|
21
24
|
background: string;
|
|
22
25
|
};
|
|
23
|
-
},
|
|
26
|
+
}, __VLS_34: {
|
|
24
27
|
color: Color;
|
|
25
28
|
update: typeof update;
|
|
26
29
|
};
|
|
27
30
|
type __VLS_Slots = {} & {
|
|
28
31
|
trigger?: (props: typeof __VLS_16) => any;
|
|
29
32
|
} & {
|
|
30
|
-
default?: (props: typeof
|
|
33
|
+
default?: (props: typeof __VLS_34) => any;
|
|
31
34
|
};
|
|
32
35
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
36
|
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":";;;;UAkIiB;EACf;EACA;;KAGG;EACH,OAAO;EACP;EACA,KAAK;;;;;EAKL;;EAEA,WAAW;;iBAqDJ,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,5 +1,6 @@
|
|
|
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
6
|
import { colorToCSS } from "@pairdraw/scene-graph/color";
|
|
@@ -14,7 +15,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
14
15
|
escapeReverts: {
|
|
15
16
|
type: Boolean,
|
|
16
17
|
default: false
|
|
17
|
-
}
|
|
18
|
+
},
|
|
19
|
+
keepOpen: { type: Function }
|
|
18
20
|
},
|
|
19
21
|
emits: [
|
|
20
22
|
"update",
|
|
@@ -38,6 +40,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
38
40
|
}
|
|
39
41
|
});
|
|
40
42
|
const { open: popupOpen, portalActive } = useRetainedPopup(void 0, () => onOpenChange(false));
|
|
43
|
+
const outside = pickerOutsideHandlers(() => __props.keepOpen);
|
|
41
44
|
let openColor = { ...__props.color };
|
|
42
45
|
/** A press still held when the picker closes is put back, whichever way it closes. */
|
|
43
46
|
function onOpenChange(open) {
|
|
@@ -72,14 +75,20 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
72
75
|
"side-offset": 4,
|
|
73
76
|
side: "left",
|
|
74
77
|
"data-picker-content": "",
|
|
75
|
-
onEscapeKeyDown
|
|
78
|
+
onEscapeKeyDown,
|
|
79
|
+
onPointerDownOutside: unref(outside).onPointerDownOutside,
|
|
80
|
+
onFocusOutside: unref(outside).onFocusOutside
|
|
76
81
|
}, {
|
|
77
82
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {
|
|
78
83
|
color: __props.color,
|
|
79
84
|
update
|
|
80
85
|
})]),
|
|
81
86
|
_: 3
|
|
82
|
-
}, 8, [
|
|
87
|
+
}, 8, [
|
|
88
|
+
"class",
|
|
89
|
+
"onPointerDownOutside",
|
|
90
|
+
"onFocusOutside"
|
|
91
|
+
])]),
|
|
83
92
|
_: 3
|
|
84
93
|
})) : createCommentVNode("v-if", true)]),
|
|
85
94
|
_: 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 { colorToCSS } 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'\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} = defineProps<{\n color: Color\n label?: string\n ui?: ColorPickerUI\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}>()\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(() => colorToCSS(color))\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\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 >\n <slot :color=\"color\" :update=\"update\" />\n </PopoverContent>\n </PopoverPortal>\n </PopoverRoot>\n</template>\n"],"mappings":"
|
|
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 { colorToCSS } 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} = defineProps<{\n color: Color\n label?: string\n ui?: ColorPickerUI\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(() => colorToCSS(color))\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 <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A,YAAgB,SAAA,MAAQ,CAAA,EAAA,SAO5C,CANL,mBAKE,UAAA;MAJA,MAAK;MACJ,cAAY,QAAA;MACZ,OAAK,eAAE,QAAA,IAAI,MAAM;MACjB,OAAK,eAAA,EAAA,YAAgB,SAAA,MAAQ,CAAA;;;IAKf,CAAA,GAAA,MAAA,YAAA,KAAA,UAAA,GAArB,YAYgB,MAAA,aAAA,GAAA,EAAA,KAAA,EAAA,GAAA;KADG,SAAA,cAAA,CAVjB,YAUiB,MAAA,cAAA,GAAA;MATd,OAAK,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"}
|
|
@@ -11,6 +11,7 @@ type __VLS_Props = {
|
|
|
11
11
|
emptyFontsText?: string;
|
|
12
12
|
emptyFontsHint?: string;
|
|
13
13
|
};
|
|
14
|
+
declare function closeMenu(): void;
|
|
14
15
|
type __VLS_ModelProps = {
|
|
15
16
|
modelValue: string;
|
|
16
17
|
};
|
|
@@ -26,6 +27,8 @@ declare var __VLS_23: {
|
|
|
26
27
|
selected: boolean;
|
|
27
28
|
}, __VLS_75: {
|
|
28
29
|
selected: boolean;
|
|
30
|
+
}, __VLS_77: {
|
|
31
|
+
close: typeof closeMenu;
|
|
29
32
|
};
|
|
30
33
|
type __VLS_Slots = {} & {
|
|
31
34
|
trigger?: (props: typeof __VLS_23) => any;
|
|
@@ -35,6 +38,8 @@ type __VLS_Slots = {} & {
|
|
|
35
38
|
item?: (props: typeof __VLS_67) => any;
|
|
36
39
|
} & {
|
|
37
40
|
indicator?: (props: typeof __VLS_75) => any;
|
|
41
|
+
} & {
|
|
42
|
+
footer?: (props: typeof __VLS_77) => any;
|
|
38
43
|
};
|
|
39
44
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
45
|
select: (family: string) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FontPickerRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/FontPicker/FontPickerRoot.vue"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"FontPickerRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/FontPicker/FontPickerRoot.vue"],"mappings":";;;;KA4NK;EACH,oBAAoB,mBAAmB;EACvC,kBAAkB;EAClB,KAAK;EACL;EACA;EACA;EACA;;iBAoCO;KA2BJ;EACL;;KAMK,oBAAoB,cAAc;YAiUhB;;;GAA0C;;GAAqB;;;;GAAqB;;GAAqB;gBAAA;;KAC3H;EACD,WAAW,cAAc;;EACzB,UAAU,cAAc;;EACxB,QAAQ,cAAc;;EACtB,aAAa,cAAc;;EAC3B,UAAU,cAAc;;cAQtB,0BAAU,gBAAA,iDAAA,qCAAA;;;;;;0CAGd;cACI,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -49,6 +49,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
49
49
|
});
|
|
50
50
|
const { portalActive } = useRetainedPopup(open);
|
|
51
51
|
const root = useTemplateRef("root");
|
|
52
|
+
function closeMenu() {
|
|
53
|
+
open.value = false;
|
|
54
|
+
}
|
|
52
55
|
watch(() => open.value && !loading.value && filtered.value.length > 0, async (ready) => {
|
|
53
56
|
if (!ready || searchTerm.value) return;
|
|
54
57
|
await nextTick();
|
|
@@ -97,65 +100,69 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
97
100
|
ref: contentRef,
|
|
98
101
|
onVnodeMounted: focusSearchInput
|
|
99
102
|
}, {
|
|
100
|
-
default: withCtx(() => [
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
value: option.family,
|
|
122
|
-
class: normalizeClass(__props.ui?.item),
|
|
123
|
-
style: normalizeStyle({ fontFamily: `'${option.family}', sans-serif` })
|
|
103
|
+
default: withCtx(() => [
|
|
104
|
+
renderSlot(_ctx.$slots, "search", { searchTerm: unref(searchTerm) }, () => [createVNode(unref(ComboboxInput), {
|
|
105
|
+
modelValue: unref(searchTerm),
|
|
106
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(searchTerm) ? searchTerm.value = $event : null),
|
|
107
|
+
"display-value": () => "",
|
|
108
|
+
class: normalizeClass(__props.ui?.search),
|
|
109
|
+
placeholder: __props.searchPlaceholder,
|
|
110
|
+
autocomplete: "off",
|
|
111
|
+
autocorrect: "off",
|
|
112
|
+
autocapitalize: "off",
|
|
113
|
+
spellcheck: "false"
|
|
114
|
+
}, null, 8, [
|
|
115
|
+
"modelValue",
|
|
116
|
+
"class",
|
|
117
|
+
"placeholder"
|
|
118
|
+
])]),
|
|
119
|
+
createVNode(unref(ComboboxViewport), { class: normalizeClass(__props.ui?.viewport ?? "max-h-72 overflow-y-auto") }, {
|
|
120
|
+
default: withCtx(() => [createVNode(unref(ComboboxVirtualizer), {
|
|
121
|
+
options: unref(filtered),
|
|
122
|
+
"text-content": (option) => option.family,
|
|
123
|
+
"estimate-size": 36
|
|
124
124
|
}, {
|
|
125
|
-
default: withCtx(() => [
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
},
|
|
130
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "
|
|
125
|
+
default: withCtx(({ option }) => [createVNode(unref(ComboboxItem), {
|
|
126
|
+
value: option.family,
|
|
127
|
+
class: normalizeClass(__props.ui?.item),
|
|
128
|
+
style: normalizeStyle({ fontFamily: `'${option.family}', sans-serif` })
|
|
129
|
+
}, {
|
|
130
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "item", {
|
|
131
|
+
family: option.family,
|
|
132
|
+
source: option.source,
|
|
133
|
+
selected: option.family === modelValue.value
|
|
134
|
+
}, () => [createVNode(unref(ComboboxItemIndicator), null, {
|
|
135
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "indicator", { selected: option.family === modelValue.value })]),
|
|
136
|
+
_: 2
|
|
137
|
+
}, 1024), createElementVNode("span", _hoisted_2, toDisplayString(option.family), 1)])]),
|
|
131
138
|
_: 2
|
|
132
|
-
},
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
])
|
|
139
|
+
}, 1032, [
|
|
140
|
+
"value",
|
|
141
|
+
"class",
|
|
142
|
+
"style"
|
|
143
|
+
])]),
|
|
144
|
+
_: 3
|
|
145
|
+
}, 8, ["options", "text-content"]), unref(filtered).length === 0 && unref(searchTerm) ? (openBlock(), createElementBlock("div", {
|
|
146
|
+
key: 0,
|
|
147
|
+
class: normalizeClass(__props.ui?.empty)
|
|
148
|
+
}, toDisplayString(__props.emptySearchText ?? "No fonts found"), 3)) : unref(filtered).length === 0 ? (openBlock(), createElementBlock("div", {
|
|
149
|
+
key: 1,
|
|
150
|
+
class: normalizeClass(__props.ui?.empty)
|
|
151
|
+
}, [createElementVNode("div", null, [
|
|
152
|
+
unref(accessState) === "prompt" ? (openBlock(), createElementBlock("p", _hoisted_3, " Allow local font access to browse installed fonts. ")) : unref(accessState) === "denied" ? (openBlock(), createElementBlock("p", _hoisted_4, " Local font access is blocked for this site. ")) : unref(accessState) === "unsupported" ? (openBlock(), createElementBlock("p", _hoisted_5, " Local fonts are not available in this browser. ")) : (openBlock(), createElementBlock("p", _hoisted_6, toDisplayString(__props.emptyFontsText ?? "No local fonts available."), 1)),
|
|
153
|
+
__props.emptyFontsHint ? (openBlock(), createElementBlock("p", _hoisted_7, toDisplayString(__props.emptyFontsHint), 1)) : createCommentVNode("v-if", true),
|
|
154
|
+
unref(accessState) === "prompt" ? (openBlock(), createElementBlock("button", {
|
|
155
|
+
key: 5,
|
|
156
|
+
type: "button",
|
|
157
|
+
class: normalizeClass(__props.ui?.emptyAction),
|
|
158
|
+
disabled: unref(loading),
|
|
159
|
+
onClick: _cache[1] || (_cache[1] = (...args) => unref(requestAccess) && unref(requestAccess)(...args))
|
|
160
|
+
}, toDisplayString(unref(loading) ? "Loading…" : "Allow local fonts"), 11, _hoisted_8)) : createCommentVNode("v-if", true)
|
|
161
|
+
])], 2)) : createCommentVNode("v-if", true)]),
|
|
139
162
|
_: 3
|
|
140
|
-
}, 8, ["
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}, toDisplayString(__props.emptySearchText ?? "No fonts found"), 3)) : unref(filtered).length === 0 ? (openBlock(), createElementBlock("div", {
|
|
144
|
-
key: 1,
|
|
145
|
-
class: normalizeClass(__props.ui?.empty)
|
|
146
|
-
}, [createElementVNode("div", null, [
|
|
147
|
-
unref(accessState) === "prompt" ? (openBlock(), createElementBlock("p", _hoisted_3, " Allow local font access to browse installed fonts. ")) : unref(accessState) === "denied" ? (openBlock(), createElementBlock("p", _hoisted_4, " Local font access is blocked for this site. ")) : unref(accessState) === "unsupported" ? (openBlock(), createElementBlock("p", _hoisted_5, " Local fonts are not available in this browser. ")) : (openBlock(), createElementBlock("p", _hoisted_6, toDisplayString(__props.emptyFontsText ?? "No local fonts available."), 1)),
|
|
148
|
-
__props.emptyFontsHint ? (openBlock(), createElementBlock("p", _hoisted_7, toDisplayString(__props.emptyFontsHint), 1)) : createCommentVNode("v-if", true),
|
|
149
|
-
unref(accessState) === "prompt" ? (openBlock(), createElementBlock("button", {
|
|
150
|
-
key: 5,
|
|
151
|
-
type: "button",
|
|
152
|
-
class: normalizeClass(__props.ui?.emptyAction),
|
|
153
|
-
disabled: unref(loading),
|
|
154
|
-
onClick: _cache[1] || (_cache[1] = (...args) => unref(requestAccess) && unref(requestAccess)(...args))
|
|
155
|
-
}, toDisplayString(unref(loading) ? "Loading…" : "Allow local fonts"), 11, _hoisted_8)) : createCommentVNode("v-if", true)
|
|
156
|
-
])], 2)) : createCommentVNode("v-if", true)]),
|
|
157
|
-
_: 3
|
|
158
|
-
}, 8, ["class"])]),
|
|
163
|
+
}, 8, ["class"]),
|
|
164
|
+
renderSlot(_ctx.$slots, "footer", { close: closeMenu })
|
|
165
|
+
]),
|
|
159
166
|
_: 3
|
|
160
167
|
}, 8, ["class"])]),
|
|
161
168
|
_: 3
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FontPickerRoot.vue.js","names":[],"sources":["../../../src/primitives/FontPicker/FontPickerRoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { templateRef, unrefElement } from '@vueuse/core'\nimport {\n ComboboxAnchor,\n ComboboxContent,\n ComboboxInput,\n ComboboxItem,\n ComboboxItemIndicator,\n ComboboxPortal,\n ComboboxRoot,\n ComboboxTrigger,\n ComboboxVirtualizer,\n ComboboxViewport,\n type AcceptableValue\n} from 'reka-ui'\nimport { nextTick, useTemplateRef, watch } from 'vue'\n\nimport type { FontFamilyOption } from '@pairdraw/core/text'\n\nimport { useRetainedPopup } from '#vue/lifecycle/retention/popup'\nimport type { FontPickerUI } from '#vue/primitives/FontPicker/types'\nimport { useFontPicker, type FontAccessController } from '#vue/primitives/FontPicker/useFontPicker'\n\nconst {\n listFamilies,\n localFontAccess,\n ui,\n searchPlaceholder = 'Search fonts…',\n emptySearchText,\n emptyFontsText,\n emptyFontsHint\n} = defineProps<{\n listFamilies: () => Promise<string[] | FontFamilyOption[]>\n localFontAccess?: FontAccessController\n ui?: FontPickerUI\n searchPlaceholder?: string\n emptySearchText?: string\n emptyFontsText?: string\n emptyFontsHint?: string\n}>()\n\nconst modelValue = defineModel<string>({ required: true })\nconst emit = defineEmits<{ select: [family: string] }>()\n\nconst contentRef = templateRef<HTMLElement>('contentRef')\n\nfunction focusSearchInput() {\n nextTick(() => {\n const content = unrefElement(contentRef)\n if (!(content instanceof HTMLElement)) return\n content.querySelector<HTMLInputElement>('input')?.focus()\n })\n}\n\nconst { searchTerm, open, filtered, loading, accessState, requestAccess, select } = useFontPicker({\n modelValue,\n listFamilies,\n localFontAccess,\n onSelect: (family) => emit('select', family)\n})\nconst { portalActive } = useRetainedPopup(open)\nconst root = useTemplateRef<{ highlightItem: (value: AcceptableValue) => void }>('root')\n\n// The families arrive after the list opens, too late for Reka's own scroll to the chosen font.\nwatch(\n () => open.value && !loading.value && filtered.value.length > 0,\n async (ready) => {\n if (!ready || searchTerm.value) return\n await nextTick()\n root.value?.highlightItem(modelValue.value)\n }\n)\n\n/**\n * The list holds font options and the value is a family name; Reka compares them to find the\n * chosen font, so opening scrolls to it.\n */\nfunction sameFamily(left: unknown, right: unknown): boolean {\n return familyOf(left) === familyOf(right)\n}\n\nfunction familyOf(value: unknown): unknown {\n return typeof value === 'object' && value !== null && 'family' in value ? value.family : value\n}\n</script>\n\n<template>\n <ComboboxRoot\n ref=\"root\"\n v-model:open=\"open\"\n :model-value=\"modelValue\"\n :ignore-filter=\"true\"\n :by=\"sameFamily\"\n @update:model-value=\"\n (v: AcceptableValue) => {\n if (typeof v === 'string') select(v)\n }\n \"\n >\n <ComboboxAnchor as-child>\n <ComboboxTrigger as-child>\n <slot name=\"trigger\" :value=\"modelValue\" :open=\"open\">\n <button :class=\"ui?.trigger\">\n <span class=\"truncate\">{{ modelValue }}</span>\n </button>\n </slot>\n </ComboboxTrigger>\n </ComboboxAnchor>\n\n <ComboboxPortal v-if=\"portalActive\">\n <ComboboxContent\n :side-offset=\"2\"\n align=\"start\"\n position=\"popper\"\n :class=\"ui?.content\"\n @open-auto-focus.prevent\n ref=\"contentRef\"\n @vue:mounted=\"focusSearchInput\"\n >\n <slot name=\"search\" :search-term=\"searchTerm\">\n <ComboboxInput\n v-model=\"searchTerm\"\n :display-value=\"() => ''\"\n :class=\"ui?.search\"\n :placeholder=\"searchPlaceholder\"\n autocomplete=\"off\"\n autocorrect=\"off\"\n autocapitalize=\"off\"\n spellcheck=\"false\"\n />\n </slot>\n\n <ComboboxViewport :class=\"ui?.viewport ?? 'max-h-72 overflow-y-auto'\">\n <ComboboxVirtualizer\n v-slot=\"{ option }\"\n :options=\"filtered\"\n :text-content=\"(option: FontFamilyOption) => option.family\"\n :estimate-size=\"36\"\n >\n <ComboboxItem\n :value=\"option.family\"\n :class=\"ui?.item\"\n :style=\"{ fontFamily: `'${option.family}', sans-serif` }\"\n >\n <slot\n name=\"item\"\n :family=\"option.family\"\n :source=\"option.source\"\n :selected=\"option.family === modelValue\"\n >\n <ComboboxItemIndicator>\n <slot name=\"indicator\" :selected=\"option.family === modelValue\" />\n </ComboboxItemIndicator>\n <span class=\"truncate\">{{ option.family }}</span>\n </slot>\n </ComboboxItem>\n </ComboboxVirtualizer>\n\n <div v-if=\"filtered.length === 0 && searchTerm\" :class=\"ui?.empty\">\n {{ emptySearchText ?? 'No fonts found' }}\n </div>\n <div v-else-if=\"filtered.length === 0\" :class=\"ui?.empty\">\n <div>\n <p v-if=\"accessState === 'prompt'\">\n Allow local font access to browse installed fonts.\n </p>\n <p v-else-if=\"accessState === 'denied'\">\n Local font access is blocked for this site.\n </p>\n <p v-else-if=\"accessState === 'unsupported'\">\n Local fonts are not available in this browser.\n </p>\n <p v-else>{{ emptyFontsText ?? 'No local fonts available.' }}</p>\n <p v-if=\"emptyFontsHint\" class=\"mt-1\">{{ emptyFontsHint }}</p>\n <button\n v-if=\"accessState === 'prompt'\"\n type=\"button\"\n :class=\"ui?.emptyAction\"\n :disabled=\"loading\"\n @click=\"requestAccess\"\n >\n {{ loading ? 'Loading…' : 'Allow local fonts' }}\n </button>\n </div>\n </div>\n </ComboboxViewport>\n </ComboboxContent>\n </ComboboxPortal>\n </ComboboxRoot>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCA,MAAM,aAAa,SAAmB,SAAA,YAAmB;EACzD,MAAM,OAAO;EAEb,MAAM,aAAa,YAAyB,YAAY;EAExD,SAAS,mBAAmB;GAC1B,eAAe;IACb,MAAM,UAAU,aAAa,UAAU;IACvC,IAAI,EAAE,mBAAmB,cAAc;IACvC,QAAQ,cAAgC,OAAO,CAAC,EAAE,MAAM;GAC1D,CAAC;EACH;EAEA,MAAM,EAAE,YAAY,MAAM,UAAU,SAAS,aAAa,eAAe,WAAW,cAAc;GAChG;GACA,cAAW,QAAA;GACX,iBAAc,QAAA;GACd,WAAW,WAAW,KAAK,UAAU,MAAM;EAC7C,CAAC;EACD,MAAM,EAAE,iBAAiB,iBAAiB,IAAI;EAC9C,MAAM,OAAO,eAAoE,MAAM;EAGvF,YACQ,KAAK,SAAS,CAAC,QAAQ,SAAS,SAAS,MAAM,SAAS,GAC9D,OAAO,UAAU;GACf,IAAI,CAAC,SAAS,WAAW,OAAO;GAChC,MAAM,SAAS;GACf,KAAK,OAAO,cAAc,WAAW,KAAK;EAC5C,C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AAA,MAAA,QAAA,CAAQ,CAAC,WAAM,KAAU,MAAA,UAAA,KAAA,UAAA,GAApC,mBAEM,OAAA;;QAF2C,OAAK,eAAE,QAAA,IAAI,KAAK;OAC5D,GAAA,gBAAA,QAAA,mBAAe,gBAAA,GAAA,CAAA,KAEJ,MAAA,QAAA,CAAQ,CAAC,WAAM,KAAA,UAAA,GAA/B,mBAuBM,OAAA;;QAvBkC,OAAK,eAAE,QAAA,IAAI,KAAK;OACtD,GAAA,CAAA,mBAqBM,OAAA,MAAA;QApBK,MAAA,WAAA,MAAW,YAAA,UAAA,GAApB,mBAEI,KAAA,YAF+B,sDAEnC,KACc,MAAA,WAAA,MAAW,YAAA,UAAA,GAAzB,mBAEI,KAAA,YAFoC,+CAExC,KACc,MAAA,WAAA,MAAW,iBAAA,UAAA,GAAzB,mBAEI,KAAA,YAFyC,kDAE7C,MAAA,UAAA,GACA,mBAAiE,KAAA,YAAA,gBAApD,QAAA,kBAAc,2BAAA,GAAA,CAAA;QAClB,QAAA,kBAAA,UAAA,GAAT,mBAA8D,KAA9D,YAA8D,gBAArB,QAAA,cAAc,GAAA,CAAA,KAAA,mBAAA,QAAA,IAAA;QAE/C,MAAA,WAAA,MAAW,YAAA,UAAA,GADnB,mBAQS,UAAA;;SANP,MAAK;SACJ,OAAK,eAAE,QAAA,IAAI,WAAW;SACtB,UAAU,MAAA,OAAA;SACV,SAAK,OAAA,OAAA,OAAA,MAAA,GAAA,SAAE,MAAA,aAAA,KAAA,MAAA,aAAA,CAAA,CAAA,GAAA,IAAA;QAEL,GAAA,gBAAA,MAAA,OAAA,IAAO,aAAA,mBAAA,GAAA,IAAA,UAAA,KAAA,mBAAA,QAAA,IAAA"}
|
|
1
|
+
{"version":3,"file":"FontPickerRoot.vue.js","names":[],"sources":["../../../src/primitives/FontPicker/FontPickerRoot.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { templateRef, unrefElement } from '@vueuse/core'\nimport {\n ComboboxAnchor,\n ComboboxContent,\n ComboboxInput,\n ComboboxItem,\n ComboboxItemIndicator,\n ComboboxPortal,\n ComboboxRoot,\n ComboboxTrigger,\n ComboboxVirtualizer,\n ComboboxViewport,\n type AcceptableValue\n} from 'reka-ui'\nimport { nextTick, useTemplateRef, watch } from 'vue'\n\nimport type { FontFamilyOption } from '@pairdraw/core/text'\n\nimport { useRetainedPopup } from '#vue/lifecycle/retention/popup'\nimport type { FontPickerUI } from '#vue/primitives/FontPicker/types'\nimport { useFontPicker, type FontAccessController } from '#vue/primitives/FontPicker/useFontPicker'\n\nconst {\n listFamilies,\n localFontAccess,\n ui,\n searchPlaceholder = 'Search fonts…',\n emptySearchText,\n emptyFontsText,\n emptyFontsHint\n} = defineProps<{\n listFamilies: () => Promise<string[] | FontFamilyOption[]>\n localFontAccess?: FontAccessController\n ui?: FontPickerUI\n searchPlaceholder?: string\n emptySearchText?: string\n emptyFontsText?: string\n emptyFontsHint?: string\n}>()\n\nconst modelValue = defineModel<string>({ required: true })\nconst emit = defineEmits<{ select: [family: string] }>()\n\nconst contentRef = templateRef<HTMLElement>('contentRef')\n\nfunction focusSearchInput() {\n nextTick(() => {\n const content = unrefElement(contentRef)\n if (!(content instanceof HTMLElement)) return\n content.querySelector<HTMLInputElement>('input')?.focus()\n })\n}\n\nconst { searchTerm, open, filtered, loading, accessState, requestAccess, select } = useFontPicker({\n modelValue,\n listFamilies,\n localFontAccess,\n onSelect: (family) => emit('select', family)\n})\nconst { portalActive } = useRetainedPopup(open)\nconst root = useTemplateRef<{ highlightItem: (value: AcceptableValue) => void }>('root')\n\nfunction closeMenu(): void {\n open.value = false\n}\n\n// The families arrive after the list opens, too late for Reka's own scroll to the chosen font.\nwatch(\n () => open.value && !loading.value && filtered.value.length > 0,\n async (ready) => {\n if (!ready || searchTerm.value) return\n await nextTick()\n root.value?.highlightItem(modelValue.value)\n }\n)\n\n/**\n * The list holds font options and the value is a family name; Reka compares them to find the\n * chosen font, so opening scrolls to it.\n */\nfunction sameFamily(left: unknown, right: unknown): boolean {\n return familyOf(left) === familyOf(right)\n}\n\nfunction familyOf(value: unknown): unknown {\n return typeof value === 'object' && value !== null && 'family' in value ? value.family : value\n}\n</script>\n\n<template>\n <ComboboxRoot\n ref=\"root\"\n v-model:open=\"open\"\n :model-value=\"modelValue\"\n :ignore-filter=\"true\"\n :by=\"sameFamily\"\n @update:model-value=\"\n (v: AcceptableValue) => {\n if (typeof v === 'string') select(v)\n }\n \"\n >\n <ComboboxAnchor as-child>\n <ComboboxTrigger as-child>\n <slot name=\"trigger\" :value=\"modelValue\" :open=\"open\">\n <button :class=\"ui?.trigger\">\n <span class=\"truncate\">{{ modelValue }}</span>\n </button>\n </slot>\n </ComboboxTrigger>\n </ComboboxAnchor>\n\n <ComboboxPortal v-if=\"portalActive\">\n <ComboboxContent\n :side-offset=\"2\"\n align=\"start\"\n position=\"popper\"\n :class=\"ui?.content\"\n @open-auto-focus.prevent\n ref=\"contentRef\"\n @vue:mounted=\"focusSearchInput\"\n >\n <slot name=\"search\" :search-term=\"searchTerm\">\n <ComboboxInput\n v-model=\"searchTerm\"\n :display-value=\"() => ''\"\n :class=\"ui?.search\"\n :placeholder=\"searchPlaceholder\"\n autocomplete=\"off\"\n autocorrect=\"off\"\n autocapitalize=\"off\"\n spellcheck=\"false\"\n />\n </slot>\n\n <ComboboxViewport :class=\"ui?.viewport ?? 'max-h-72 overflow-y-auto'\">\n <ComboboxVirtualizer\n v-slot=\"{ option }\"\n :options=\"filtered\"\n :text-content=\"(option: FontFamilyOption) => option.family\"\n :estimate-size=\"36\"\n >\n <ComboboxItem\n :value=\"option.family\"\n :class=\"ui?.item\"\n :style=\"{ fontFamily: `'${option.family}', sans-serif` }\"\n >\n <slot\n name=\"item\"\n :family=\"option.family\"\n :source=\"option.source\"\n :selected=\"option.family === modelValue\"\n >\n <ComboboxItemIndicator>\n <slot name=\"indicator\" :selected=\"option.family === modelValue\" />\n </ComboboxItemIndicator>\n <span class=\"truncate\">{{ option.family }}</span>\n </slot>\n </ComboboxItem>\n </ComboboxVirtualizer>\n\n <div v-if=\"filtered.length === 0 && searchTerm\" :class=\"ui?.empty\">\n {{ emptySearchText ?? 'No fonts found' }}\n </div>\n <div v-else-if=\"filtered.length === 0\" :class=\"ui?.empty\">\n <div>\n <p v-if=\"accessState === 'prompt'\">\n Allow local font access to browse installed fonts.\n </p>\n <p v-else-if=\"accessState === 'denied'\">\n Local font access is blocked for this site.\n </p>\n <p v-else-if=\"accessState === 'unsupported'\">\n Local fonts are not available in this browser.\n </p>\n <p v-else>{{ emptyFontsText ?? 'No local fonts available.' }}</p>\n <p v-if=\"emptyFontsHint\" class=\"mt-1\">{{ emptyFontsHint }}</p>\n <button\n v-if=\"accessState === 'prompt'\"\n type=\"button\"\n :class=\"ui?.emptyAction\"\n :disabled=\"loading\"\n @click=\"requestAccess\"\n >\n {{ loading ? 'Loading…' : 'Allow local fonts' }}\n </button>\n </div>\n </div>\n </ComboboxViewport>\n <slot name=\"footer\" :close=\"closeMenu\" />\n </ComboboxContent>\n </ComboboxPortal>\n </ComboboxRoot>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCA,MAAM,aAAa,SAAmB,SAAA,YAAmB;EACzD,MAAM,OAAO;EAEb,MAAM,aAAa,YAAyB,YAAY;EAExD,SAAS,mBAAmB;GAC1B,eAAe;IACb,MAAM,UAAU,aAAa,UAAU;IACvC,IAAI,EAAE,mBAAmB,cAAc;IACvC,QAAQ,cAAgC,OAAO,CAAC,EAAE,MAAM;GAC1D,CAAC;EACH;EAEA,MAAM,EAAE,YAAY,MAAM,UAAU,SAAS,aAAa,eAAe,WAAW,cAAc;GAChG;GACA,cAAW,QAAA;GACX,iBAAc,QAAA;GACd,WAAW,WAAW,KAAK,UAAU,MAAM;EAC7C,CAAC;EACD,MAAM,EAAE,iBAAiB,iBAAiB,IAAI;EAC9C,MAAM,OAAO,eAAoE,MAAM;EAEvF,SAAS,YAAkB;GACzB,KAAK,QAAQ;EACf;EAG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UAAA,EAApB,OAAO,UAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerTreeRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/LayerTree/LayerTreeRoot.vue"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"LayerTreeRoot.vue.d.ts","names":[],"sources":["../../../src/primitives/LayerTree/LayerTreeRoot.vue"],"mappings":";;KAwTK;EACH;;EAEA;;iBA4JO,OAAO,YAAY,qBAAqB;iBAyBxC,aAAa;iBAeb,eAAe,MAAM;YA8H1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAvHkB,aAAA;;;;KAwHjB;EACD,WAAW,cAAc;;cAKvB,0BAAU,gBAAA,2CAAA,qCAAA;;;;;;;;;;;;0CAGd;cACI,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|