@flyingrobots/bijou 7.0.0 → 7.2.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/README.md +2 -0
- package/dist/adapters/test/assertions.d.ts.map +1 -1
- package/dist/adapters/test/assertions.js +3 -2
- package/dist/adapters/test/assertions.js.map +1 -1
- package/dist/adapters/test/audit-style.d.ts.map +1 -1
- package/dist/adapters/test/audit-style.js +7 -4
- package/dist/adapters/test/audit-style.js.map +1 -1
- package/dist/adapters/test/clock.d.ts +2 -35
- package/dist/adapters/test/clock.d.ts.map +1 -1
- package/dist/adapters/test/clock.js +1 -131
- package/dist/adapters/test/clock.js.map +1 -1
- package/dist/adapters/test/clock.part01.d.ts +29 -0
- package/dist/adapters/test/clock.part01.d.ts.map +1 -0
- package/dist/adapters/test/clock.part01.js +6 -0
- package/dist/adapters/test/clock.part01.js.map +1 -0
- package/dist/adapters/test/clock.part02.d.ts +3 -0
- package/dist/adapters/test/clock.part02.d.ts.map +1 -0
- package/dist/adapters/test/clock.part02.js +123 -0
- package/dist/adapters/test/clock.part02.js.map +1 -0
- package/dist/adapters/test/fixtures.d.ts +3 -3
- package/dist/adapters/test/fixtures.d.ts.map +1 -1
- package/dist/adapters/test/fixtures.js +7 -4
- package/dist/adapters/test/fixtures.js.map +1 -1
- package/dist/adapters/test/index.d.ts +3 -0
- package/dist/adapters/test/index.d.ts.map +1 -1
- package/dist/adapters/test/index.js +5 -0
- package/dist/adapters/test/index.js.map +1 -1
- package/dist/adapters/test/io.d.ts +2 -48
- package/dist/adapters/test/io.d.ts.map +1 -1
- package/dist/adapters/test/io.js +1 -146
- package/dist/adapters/test/io.js.map +1 -1
- package/dist/adapters/test/io.part01.d.ts +29 -0
- package/dist/adapters/test/io.part01.d.ts.map +1 -0
- package/dist/adapters/test/io.part01.js +2 -0
- package/dist/adapters/test/io.part01.js.map +1 -0
- package/dist/adapters/test/io.part02.d.ts +3 -0
- package/dist/adapters/test/io.part02.d.ts.map +1 -0
- package/dist/adapters/test/io.part02.js +136 -0
- package/dist/adapters/test/io.part02.js.map +1 -0
- package/dist/core/active-binding-collection.d.ts.map +1 -1
- package/dist/core/active-binding-collection.js +61 -45
- package/dist/core/active-binding-collection.js.map +1 -1
- package/dist/core/ansi.d.ts +4 -0
- package/dist/core/ansi.d.ts.map +1 -1
- package/dist/core/ansi.js +7 -0
- package/dist/core/ansi.js.map +1 -1
- package/dist/core/app-shell-composition.js +7 -5
- package/dist/core/app-shell-composition.js.map +1 -1
- package/dist/core/bg-fill.d.ts.map +1 -1
- package/dist/core/bg-fill.js +5 -4
- package/dist/core/bg-fill.js.map +1 -1
- package/dist/core/binding-frame-update.js +8 -10
- package/dist/core/binding-frame-update.js.map +1 -1
- package/dist/core/binding-lifecycle.d.ts +3 -64
- package/dist/core/binding-lifecycle.d.ts.map +1 -1
- package/dist/core/binding-lifecycle.js +2 -356
- package/dist/core/binding-lifecycle.js.map +1 -1
- package/dist/core/binding-lifecycle.part01.d.ts +63 -0
- package/dist/core/binding-lifecycle.part01.d.ts.map +1 -0
- package/dist/core/binding-lifecycle.part01.js +30 -0
- package/dist/core/binding-lifecycle.part01.js.map +1 -0
- package/dist/core/binding-lifecycle.part02.d.ts +6 -0
- package/dist/core/binding-lifecycle.part02.d.ts.map +1 -0
- package/dist/core/binding-lifecycle.part02.js +77 -0
- package/dist/core/binding-lifecycle.part02.js.map +1 -0
- package/dist/core/binding-lifecycle.part03.d.ts +6 -0
- package/dist/core/binding-lifecycle.part03.d.ts.map +1 -0
- package/dist/core/binding-lifecycle.part03.js +67 -0
- package/dist/core/binding-lifecycle.part03.js.map +1 -0
- package/dist/core/binding-lifecycle.part04.d.ts +8 -0
- package/dist/core/binding-lifecycle.part04.d.ts.map +1 -0
- package/dist/core/binding-lifecycle.part04.js +71 -0
- package/dist/core/binding-lifecycle.part04.js.map +1 -0
- package/dist/core/binding-lifecycle.part05.d.ts +6 -0
- package/dist/core/binding-lifecycle.part05.d.ts.map +1 -0
- package/dist/core/binding-lifecycle.part05.js +73 -0
- package/dist/core/binding-lifecycle.part05.js.map +1 -0
- package/dist/core/binding-lifecycle.part06.d.ts +20 -0
- package/dist/core/binding-lifecycle.part06.d.ts.map +1 -0
- package/dist/core/binding-lifecycle.part06.js +64 -0
- package/dist/core/binding-lifecycle.part06.js.map +1 -0
- package/dist/core/binding.d.ts +9 -191
- package/dist/core/binding.d.ts.map +1 -1
- package/dist/core/binding.js +7 -586
- package/dist/core/binding.js.map +1 -1
- package/dist/core/binding.part01.d.ts +92 -0
- package/dist/core/binding.part01.d.ts.map +1 -0
- package/dist/core/binding.part01.js +10 -0
- package/dist/core/binding.part01.js.map +1 -0
- package/dist/core/binding.part02.d.ts +50 -0
- package/dist/core/binding.part02.d.ts.map +1 -0
- package/dist/core/binding.part02.js +17 -0
- package/dist/core/binding.part02.js.map +1 -0
- package/dist/core/binding.part03.d.ts +18 -0
- package/dist/core/binding.part03.d.ts.map +1 -0
- package/dist/core/binding.part03.js +70 -0
- package/dist/core/binding.part03.js.map +1 -0
- package/dist/core/binding.part04.d.ts +17 -0
- package/dist/core/binding.part04.d.ts.map +1 -0
- package/dist/core/binding.part04.js +57 -0
- package/dist/core/binding.part04.js.map +1 -0
- package/dist/core/binding.part05.d.ts +15 -0
- package/dist/core/binding.part05.d.ts.map +1 -0
- package/dist/core/binding.part05.js +78 -0
- package/dist/core/binding.part05.js.map +1 -0
- package/dist/core/binding.part06.d.ts +10 -0
- package/dist/core/binding.part06.d.ts.map +1 -0
- package/dist/core/binding.part06.js +48 -0
- package/dist/core/binding.part06.js.map +1 -0
- package/dist/core/binding.part07.d.ts +9 -0
- package/dist/core/binding.part07.d.ts.map +1 -0
- package/dist/core/binding.part07.js +83 -0
- package/dist/core/binding.part07.js.map +1 -0
- package/dist/core/binding.part08.d.ts +4 -0
- package/dist/core/binding.part08.d.ts.map +1 -0
- package/dist/core/binding.part08.js +81 -0
- package/dist/core/binding.part08.js.map +1 -0
- package/dist/core/binding.part09.d.ts +23 -0
- package/dist/core/binding.part09.d.ts.map +1 -0
- package/dist/core/binding.part09.js +76 -0
- package/dist/core/binding.part09.js.map +1 -0
- package/dist/core/binding.part10.d.ts +8 -0
- package/dist/core/binding.part10.d.ts.map +1 -0
- package/dist/core/binding.part10.js +84 -0
- package/dist/core/binding.part10.js.map +1 -0
- package/dist/core/binding.part11.d.ts +6 -0
- package/dist/core/binding.part11.d.ts.map +1 -0
- package/dist/core/binding.part11.js +27 -0
- package/dist/core/binding.part11.js.map +1 -0
- package/dist/core/block-metadata.d.ts +5 -112
- package/dist/core/block-metadata.d.ts.map +1 -1
- package/dist/core/block-metadata.js +3 -375
- package/dist/core/block-metadata.js.map +1 -1
- package/dist/core/block-metadata.part01.d.ts +76 -0
- package/dist/core/block-metadata.part01.d.ts.map +1 -0
- package/dist/core/block-metadata.part01.js +2 -0
- package/dist/core/block-metadata.part01.js.map +1 -0
- package/dist/core/block-metadata.part02.d.ts +37 -0
- package/dist/core/block-metadata.part02.d.ts.map +1 -0
- package/dist/core/block-metadata.part02.js +59 -0
- package/dist/core/block-metadata.part02.js.map +1 -0
- package/dist/core/block-metadata.part03.d.ts +11 -0
- package/dist/core/block-metadata.part03.d.ts.map +1 -0
- package/dist/core/block-metadata.part03.js +81 -0
- package/dist/core/block-metadata.part03.js.map +1 -0
- package/dist/core/block-metadata.part04.d.ts +8 -0
- package/dist/core/block-metadata.part04.d.ts.map +1 -0
- package/dist/core/block-metadata.part04.js +73 -0
- package/dist/core/block-metadata.part04.js.map +1 -0
- package/dist/core/block-metadata.part05.d.ts +7 -0
- package/dist/core/block-metadata.part05.d.ts.map +1 -0
- package/dist/core/block-metadata.part05.js +64 -0
- package/dist/core/block-metadata.part05.js.map +1 -0
- package/dist/core/block-metadata.part06.d.ts +11 -0
- package/dist/core/block-metadata.part06.d.ts.map +1 -0
- package/dist/core/block-metadata.part06.js +72 -0
- package/dist/core/block-metadata.part06.js.map +1 -0
- package/dist/core/block-metadata.part07.d.ts +9 -0
- package/dist/core/block-metadata.part07.d.ts.map +1 -0
- package/dist/core/block-metadata.part07.js +49 -0
- package/dist/core/block-metadata.part07.js.map +1 -0
- package/dist/core/block-tree-render.js +7 -8
- package/dist/core/block-tree-render.js.map +1 -1
- package/dist/core/clock.d.ts.map +1 -1
- package/dist/core/clock.js +8 -1
- package/dist/core/clock.js.map +1 -1
- package/dist/core/component-metadata.d.ts +3 -62
- package/dist/core/component-metadata.d.ts.map +1 -1
- package/dist/core/component-metadata.js +2 -157
- package/dist/core/component-metadata.js.map +1 -1
- package/dist/core/component-metadata.part01.d.ts +63 -0
- package/dist/core/component-metadata.part01.d.ts.map +1 -0
- package/dist/core/component-metadata.part01.js +31 -0
- package/dist/core/component-metadata.part01.js.map +1 -0
- package/dist/core/component-metadata.part02.d.ts +9 -0
- package/dist/core/component-metadata.part02.d.ts.map +1 -0
- package/dist/core/component-metadata.part02.js +77 -0
- package/dist/core/component-metadata.part02.js.map +1 -0
- package/dist/core/component-metadata.part03.d.ts +12 -0
- package/dist/core/component-metadata.part03.d.ts.map +1 -0
- package/dist/core/component-metadata.part03.js +55 -0
- package/dist/core/component-metadata.part03.js.map +1 -0
- package/dist/core/components/alert.d.ts +1 -1
- package/dist/core/components/alert.d.ts.map +1 -1
- package/dist/core/components/alert.js.map +1 -1
- package/dist/core/components/badge.d.ts.map +1 -1
- package/dist/core/components/badge.js +9 -7
- package/dist/core/components/badge.js.map +1 -1
- package/dist/core/components/box-v3.d.ts.map +1 -1
- package/dist/core/components/box-v3.js +10 -10
- package/dist/core/components/box-v3.js.map +1 -1
- package/dist/core/components/box.d.ts +2 -2
- package/dist/core/components/box.d.ts.map +1 -1
- package/dist/core/components/box.js.map +1 -1
- package/dist/core/components/braille-chart.d.ts.map +1 -1
- package/dist/core/components/braille-chart.js +9 -2
- package/dist/core/components/braille-chart.js.map +1 -1
- package/dist/core/components/constrain.d.ts +1 -1
- package/dist/core/components/constrain.d.ts.map +1 -1
- package/dist/core/components/constrain.js.map +1 -1
- package/dist/core/components/cursor-guard.d.ts +1 -0
- package/dist/core/components/cursor-guard.d.ts.map +1 -1
- package/dist/core/components/cursor-guard.js +2 -18
- package/dist/core/components/cursor-guard.js.map +1 -1
- package/dist/core/components/dag-edges.d.ts.map +1 -1
- package/dist/core/components/dag-edges.js +5 -3
- package/dist/core/components/dag-edges.js.map +1 -1
- package/dist/core/components/dag-layout.d.ts.map +1 -1
- package/dist/core/components/dag-layout.js +19 -19
- package/dist/core/components/dag-layout.js.map +1 -1
- package/dist/core/components/dag-render.d.ts.map +1 -1
- package/dist/core/components/dag-render.js +23 -27
- package/dist/core/components/dag-render.js.map +1 -1
- package/dist/core/components/dag-source.d.ts.map +1 -1
- package/dist/core/components/dag-source.js +23 -29
- package/dist/core/components/dag-source.js.map +1 -1
- package/dist/core/components/dag-stats-types.d.ts +16 -0
- package/dist/core/components/dag-stats-types.d.ts.map +1 -0
- package/dist/core/components/dag-stats-types.js +2 -0
- package/dist/core/components/dag-stats-types.js.map +1 -0
- package/dist/core/components/dag-stats.d.ts +3 -17
- package/dist/core/components/dag-stats.d.ts.map +1 -1
- package/dist/core/components/dag-stats.js +25 -2
- package/dist/core/components/dag-stats.js.map +1 -1
- package/dist/core/components/dag.d.ts +2 -148
- package/dist/core/components/dag.d.ts.map +1 -1
- package/dist/core/components/dag.js +1 -40
- package/dist/core/components/dag.js.map +1 -1
- package/dist/core/components/dag.part01.d.ts +78 -0
- package/dist/core/components/dag.part01.d.ts.map +1 -0
- package/dist/core/components/dag.part01.js +2 -0
- package/dist/core/components/dag.part01.js.map +1 -0
- package/dist/core/components/dag.part02.d.ts +7 -0
- package/dist/core/components/dag.part02.d.ts.map +1 -0
- package/dist/core/components/dag.part02.js +41 -0
- package/dist/core/components/dag.part02.js.map +1 -0
- package/dist/core/components/data-viz-utils.d.ts.map +1 -1
- package/dist/core/components/data-viz-utils.js +17 -16
- package/dist/core/components/data-viz-utils.js.map +1 -1
- package/dist/core/components/enumerated-list.d.ts.map +1 -1
- package/dist/core/components/enumerated-list.js +15 -19
- package/dist/core/components/enumerated-list.js.map +1 -1
- package/dist/core/components/explainability.js +1 -1
- package/dist/core/components/explainability.js.map +1 -1
- package/dist/core/components/hyperlink.js +2 -2
- package/dist/core/components/hyperlink.js.map +1 -1
- package/dist/core/components/index.d.ts.map +1 -1
- package/dist/core/components/index.js.map +1 -1
- package/dist/core/components/inspector-types.d.ts +40 -0
- package/dist/core/components/inspector-types.d.ts.map +1 -0
- package/dist/core/components/inspector-types.js +2 -0
- package/dist/core/components/inspector-types.js.map +1 -0
- package/dist/core/components/inspector.d.ts +2 -39
- package/dist/core/components/inspector.d.ts.map +1 -1
- package/dist/core/components/inspector.js.map +1 -1
- package/dist/core/components/inspector.test-style.d.ts +3 -0
- package/dist/core/components/inspector.test-style.d.ts.map +1 -0
- package/dist/core/components/inspector.test-style.js +52 -0
- package/dist/core/components/inspector.test-style.js.map +1 -0
- package/dist/core/components/log.d.ts.map +1 -1
- package/dist/core/components/log.js.map +1 -1
- package/dist/core/components/logo.d.ts +2 -0
- package/dist/core/components/logo.d.ts.map +1 -1
- package/dist/core/components/logo.js +2 -1
- package/dist/core/components/logo.js.map +1 -1
- package/dist/core/components/markdown-parse.d.ts.map +1 -1
- package/dist/core/components/markdown-parse.js +26 -33
- package/dist/core/components/markdown-parse.js.map +1 -1
- package/dist/core/components/markdown-render.d.ts +0 -16
- package/dist/core/components/markdown-render.d.ts.map +1 -1
- package/dist/core/components/markdown-render.js +24 -37
- package/dist/core/components/markdown-render.js.map +1 -1
- package/dist/core/components/markdown.d.ts +1 -1
- package/dist/core/components/markdown.d.ts.map +1 -1
- package/dist/core/components/markdown.js.map +1 -1
- package/dist/core/components/paginator.d.ts.map +1 -1
- package/dist/core/components/paginator.js +5 -3
- package/dist/core/components/paginator.js.map +1 -1
- package/dist/core/components/perf-overlay.js +1 -1
- package/dist/core/components/perf-overlay.js.map +1 -1
- package/dist/core/components/preference-list.d.ts.map +1 -1
- package/dist/core/components/preference-list.js +26 -25
- package/dist/core/components/preference-list.js.map +1 -1
- package/dist/core/components/progress.d.ts +1 -2
- package/dist/core/components/progress.d.ts.map +1 -1
- package/dist/core/components/progress.js +4 -3
- package/dist/core/components/progress.js.map +1 -1
- package/dist/core/components/separator-v3.d.ts.map +1 -1
- package/dist/core/components/separator-v3.js +8 -6
- package/dist/core/components/separator-v3.js.map +1 -1
- package/dist/core/components/sparkline.d.ts.map +1 -1
- package/dist/core/components/sparkline.js +5 -6
- package/dist/core/components/sparkline.js.map +1 -1
- package/dist/core/components/stats-panel.js +2 -2
- package/dist/core/components/stats-panel.js.map +1 -1
- package/dist/core/components/stepper.js +1 -1
- package/dist/core/components/stepper.js.map +1 -1
- package/dist/core/components/surface-text.d.ts.map +1 -1
- package/dist/core/components/surface-text.js +9 -11
- package/dist/core/components/surface-text.js.map +1 -1
- package/dist/core/components/table-v3.js +20 -23
- package/dist/core/components/table-v3.js.map +1 -1
- package/dist/core/components/table.d.ts +2 -2
- package/dist/core/components/table.d.ts.map +1 -1
- package/dist/core/components/table.js +35 -38
- package/dist/core/components/table.js.map +1 -1
- package/dist/core/components/tabs.js +1 -1
- package/dist/core/components/tabs.js.map +1 -1
- package/dist/core/components/timeline.js.map +1 -1
- package/dist/core/components/timer.js +3 -3
- package/dist/core/components/timer.js.map +1 -1
- package/dist/core/components/tree.js +1 -1
- package/dist/core/components/tree.js.map +1 -1
- package/dist/core/detect/tty.js +3 -2
- package/dist/core/detect/tty.js.map +1 -1
- package/dist/core/forms/filter-interactive.d.ts.map +1 -1
- package/dist/core/forms/filter-interactive.js +8 -8
- package/dist/core/forms/filter-interactive.js.map +1 -1
- package/dist/core/forms/filter.js +7 -2
- package/dist/core/forms/filter.js.map +1 -1
- package/dist/core/forms/form-utils.d.ts +3 -155
- package/dist/core/forms/form-utils.d.ts.map +1 -1
- package/dist/core/forms/form-utils.js +2 -231
- package/dist/core/forms/form-utils.js.map +1 -1
- package/dist/core/forms/form-utils.part01.d.ts +30 -0
- package/dist/core/forms/form-utils.part01.d.ts.map +1 -0
- package/dist/core/forms/form-utils.part01.js +86 -0
- package/dist/core/forms/form-utils.part01.js.map +1 -0
- package/dist/core/forms/form-utils.part02.d.ts +6 -0
- package/dist/core/forms/form-utils.part02.d.ts.map +1 -0
- package/dist/core/forms/form-utils.part02.js +27 -0
- package/dist/core/forms/form-utils.part02.js.map +1 -0
- package/dist/core/forms/group.d.ts.map +1 -1
- package/dist/core/forms/group.js +5 -0
- package/dist/core/forms/group.js.map +1 -1
- package/dist/core/forms/input.js +1 -1
- package/dist/core/forms/input.js.map +1 -1
- package/dist/core/forms/multiselect.js +11 -23
- package/dist/core/forms/multiselect.js.map +1 -1
- package/dist/core/forms/note.d.ts.map +1 -1
- package/dist/core/forms/note.js +2 -1
- package/dist/core/forms/note.js.map +1 -1
- package/dist/core/forms/select-types.d.ts +12 -0
- package/dist/core/forms/select-types.d.ts.map +1 -0
- package/dist/core/forms/select-types.js +2 -0
- package/dist/core/forms/select-types.js.map +1 -0
- package/dist/core/forms/select.d.ts +2 -11
- package/dist/core/forms/select.d.ts.map +1 -1
- package/dist/core/forms/select.js +12 -33
- package/dist/core/forms/select.js.map +1 -1
- package/dist/core/forms/textarea-editor.d.ts +0 -21
- package/dist/core/forms/textarea-editor.d.ts.map +1 -1
- package/dist/core/forms/textarea-editor.js +17 -37
- package/dist/core/forms/textarea-editor.js.map +1 -1
- package/dist/core/forms/textarea.js +1 -1
- package/dist/core/forms/textarea.js.map +1 -1
- package/dist/core/forms/wizard.d.ts +8 -3
- package/dist/core/forms/wizard.d.ts.map +1 -1
- package/dist/core/forms/wizard.js +11 -1
- package/dist/core/forms/wizard.js.map +1 -1
- package/dist/core/graphql-bijou-block.d.ts +6 -0
- package/dist/core/graphql-bijou-block.d.ts.map +1 -0
- package/dist/core/graphql-bijou-block.js +5 -0
- package/dist/core/graphql-bijou-block.js.map +1 -0
- package/dist/core/graphql-bijou-block.part01.d.ts +97 -0
- package/dist/core/graphql-bijou-block.part01.d.ts.map +1 -0
- package/dist/core/graphql-bijou-block.part01.js +3 -0
- package/dist/core/graphql-bijou-block.part01.js.map +1 -0
- package/dist/core/graphql-bijou-block.part02.d.ts +26 -0
- package/dist/core/graphql-bijou-block.part02.d.ts.map +1 -0
- package/dist/core/graphql-bijou-block.part02.js +45 -0
- package/dist/core/graphql-bijou-block.part02.js.map +1 -0
- package/dist/core/graphql-bijou-block.part03.d.ts +4 -0
- package/dist/core/graphql-bijou-block.part03.d.ts.map +1 -0
- package/dist/core/graphql-bijou-block.part03.js +69 -0
- package/dist/core/graphql-bijou-block.part03.js.map +1 -0
- package/dist/core/graphql-bijou-block.part04.d.ts +4 -0
- package/dist/core/graphql-bijou-block.part04.d.ts.map +1 -0
- package/dist/core/graphql-bijou-block.part04.js +39 -0
- package/dist/core/graphql-bijou-block.part04.js.map +1 -0
- package/dist/core/graphql-bijou-block.part05.d.ts +6 -0
- package/dist/core/graphql-bijou-block.part05.d.ts.map +1 -0
- package/dist/core/graphql-bijou-block.part05.js +84 -0
- package/dist/core/graphql-bijou-block.part05.js.map +1 -0
- package/dist/core/graphql-bijou-block.part06.d.ts +10 -0
- package/dist/core/graphql-bijou-block.part06.d.ts.map +1 -0
- package/dist/core/graphql-bijou-block.part06.js +85 -0
- package/dist/core/graphql-bijou-block.part06.js.map +1 -0
- package/dist/core/graphql-bijou-block.part07.d.ts +10 -0
- package/dist/core/graphql-bijou-block.part07.d.ts.map +1 -0
- package/dist/core/graphql-bijou-block.part07.js +80 -0
- package/dist/core/graphql-bijou-block.part07.js.map +1 -0
- package/dist/core/graphql-bijou-block.part08.d.ts +23 -0
- package/dist/core/graphql-bijou-block.part08.d.ts.map +1 -0
- package/dist/core/graphql-bijou-block.part08.js +79 -0
- package/dist/core/graphql-bijou-block.part08.js.map +1 -0
- package/dist/core/graphql-bijou-block.part09.d.ts +11 -0
- package/dist/core/graphql-bijou-block.part09.d.ts.map +1 -0
- package/dist/core/graphql-bijou-block.part09.js +72 -0
- package/dist/core/graphql-bijou-block.part09.js.map +1 -0
- package/dist/core/graphql-bijou-block.part10.d.ts +3 -0
- package/dist/core/graphql-bijou-block.part10.d.ts.map +1 -0
- package/dist/core/graphql-bijou-block.part10.js +38 -0
- package/dist/core/graphql-bijou-block.part10.js.map +1 -0
- package/dist/core/graphql-bijou-block.test-support.d.ts +18 -0
- package/dist/core/graphql-bijou-block.test-support.d.ts.map +1 -0
- package/dist/core/graphql-bijou-block.test-support.js +80 -0
- package/dist/core/graphql-bijou-block.test-support.js.map +1 -0
- package/dist/core/graphql-parser-utils.d.ts +3 -0
- package/dist/core/graphql-parser-utils.d.ts.map +1 -0
- package/dist/core/graphql-parser-utils.js +18 -0
- package/dist/core/graphql-parser-utils.js.map +1 -0
- package/dist/core/key-input.d.ts.map +1 -1
- package/dist/core/key-input.js +2 -0
- package/dist/core/key-input.js.map +1 -1
- package/dist/core/layout/envelope.d.ts +6 -173
- package/dist/core/layout/envelope.d.ts.map +1 -1
- package/dist/core/layout/envelope.js +4 -335
- package/dist/core/layout/envelope.js.map +1 -1
- package/dist/core/layout/envelope.part01.d.ts +88 -0
- package/dist/core/layout/envelope.part01.d.ts.map +1 -0
- package/dist/core/layout/envelope.part01.js +2 -0
- package/dist/core/layout/envelope.part01.js.map +1 -0
- package/dist/core/layout/envelope.part02.d.ts +72 -0
- package/dist/core/layout/envelope.part02.d.ts.map +1 -0
- package/dist/core/layout/envelope.part02.js +33 -0
- package/dist/core/layout/envelope.part02.js.map +1 -0
- package/dist/core/layout/envelope.part03.d.ts +14 -0
- package/dist/core/layout/envelope.part03.d.ts.map +1 -0
- package/dist/core/layout/envelope.part03.js +81 -0
- package/dist/core/layout/envelope.part03.js.map +1 -0
- package/dist/core/layout/envelope.part04.d.ts +6 -0
- package/dist/core/layout/envelope.part04.d.ts.map +1 -0
- package/dist/core/layout/envelope.part04.js +79 -0
- package/dist/core/layout/envelope.part04.js.map +1 -0
- package/dist/core/layout/envelope.part05.d.ts +5 -0
- package/dist/core/layout/envelope.part05.d.ts.map +1 -0
- package/dist/core/layout/envelope.part05.js +40 -0
- package/dist/core/layout/envelope.part05.js.map +1 -0
- package/dist/core/layout/envelope.part06.d.ts +10 -0
- package/dist/core/layout/envelope.part06.d.ts.map +1 -0
- package/dist/core/layout/envelope.part06.js +94 -0
- package/dist/core/layout/envelope.part06.js.map +1 -0
- package/dist/core/layout/envelope.part07.d.ts +8 -0
- package/dist/core/layout/envelope.part07.d.ts.map +1 -0
- package/dist/core/layout/envelope.part07.js +26 -0
- package/dist/core/layout/envelope.part07.js.map +1 -0
- package/dist/core/layout/flex-types.d.ts +18 -0
- package/dist/core/layout/flex-types.d.ts.map +1 -0
- package/dist/core/layout/flex-types.js +2 -0
- package/dist/core/layout/flex-types.js.map +1 -0
- package/dist/core/layout/flex.d.ts +2 -17
- package/dist/core/layout/flex.d.ts.map +1 -1
- package/dist/core/layout/flex.js +15 -17
- package/dist/core/layout/flex.js.map +1 -1
- package/dist/core/layout/geometry.d.ts.map +1 -1
- package/dist/core/layout/geometry.js +13 -15
- package/dist/core/layout/geometry.js.map +1 -1
- package/dist/core/mode-render.d.ts +1 -3
- package/dist/core/mode-render.d.ts.map +1 -1
- package/dist/core/mode-render.js +1 -1
- package/dist/core/mode-render.js.map +1 -1
- package/dist/core/render/differ.d.ts.map +1 -1
- package/dist/core/render/differ.js +56 -53
- package/dist/core/render/differ.js.map +1 -1
- package/dist/core/render/packed-cell.d.ts +3 -109
- package/dist/core/render/packed-cell.d.ts.map +1 -1
- package/dist/core/render/packed-cell.js +3 -300
- package/dist/core/render/packed-cell.js.map +1 -1
- package/dist/core/render/packed-cell.part01.d.ts +34 -0
- package/dist/core/render/packed-cell.part01.d.ts.map +1 -0
- package/dist/core/render/packed-cell.part01.js +98 -0
- package/dist/core/render/packed-cell.part01.js.map +1 -0
- package/dist/core/render/packed-cell.part02.d.ts +11 -0
- package/dist/core/render/packed-cell.part02.d.ts.map +1 -0
- package/dist/core/render/packed-cell.part02.js +93 -0
- package/dist/core/render/packed-cell.part02.js.map +1 -0
- package/dist/core/render/packed-cell.part03.d.ts +4 -0
- package/dist/core/render/packed-cell.part03.d.ts.map +1 -0
- package/dist/core/render/packed-cell.part03.js +31 -0
- package/dist/core/render/packed-cell.part03.js.map +1 -0
- package/dist/core/render/safe-read.d.ts +12 -0
- package/dist/core/render/safe-read.d.ts.map +1 -0
- package/dist/core/render/safe-read.js +37 -0
- package/dist/core/render/safe-read.js.map +1 -0
- package/dist/core/runtime-viewport.d.ts +2 -2
- package/dist/core/runtime-viewport.d.ts.map +1 -1
- package/dist/core/runtime-viewport.js.map +1 -1
- package/dist/core/schema-block.d.ts +3 -62
- package/dist/core/schema-block.d.ts.map +1 -1
- package/dist/core/schema-block.js +2 -360
- package/dist/core/schema-block.js.map +1 -1
- package/dist/core/schema-block.part01.d.ts +59 -0
- package/dist/core/schema-block.part01.d.ts.map +1 -0
- package/dist/core/schema-block.part01.js +10 -0
- package/dist/core/schema-block.part01.js.map +1 -0
- package/dist/core/schema-block.part02.d.ts +7 -0
- package/dist/core/schema-block.part02.d.ts.map +1 -0
- package/dist/core/schema-block.part02.js +63 -0
- package/dist/core/schema-block.part02.js.map +1 -0
- package/dist/core/schema-block.part03.d.ts +22 -0
- package/dist/core/schema-block.part03.d.ts.map +1 -0
- package/dist/core/schema-block.part03.js +70 -0
- package/dist/core/schema-block.part03.js.map +1 -0
- package/dist/core/schema-block.part04.d.ts +12 -0
- package/dist/core/schema-block.part04.d.ts.map +1 -0
- package/dist/core/schema-block.part04.js +70 -0
- package/dist/core/schema-block.part04.js.map +1 -0
- package/dist/core/schema-block.part05.d.ts +10 -0
- package/dist/core/schema-block.part05.d.ts.map +1 -0
- package/dist/core/schema-block.part05.js +74 -0
- package/dist/core/schema-block.part05.js.map +1 -0
- package/dist/core/schema-block.part06.d.ts +16 -0
- package/dist/core/schema-block.part06.d.ts.map +1 -0
- package/dist/core/schema-block.part06.js +59 -0
- package/dist/core/schema-block.part06.js.map +1 -0
- package/dist/core/schema-block.test-support.d.ts +9 -0
- package/dist/core/schema-block.test-support.d.ts.map +1 -0
- package/dist/core/schema-block.test-support.js +60 -0
- package/dist/core/schema-block.test-support.js.map +1 -0
- package/dist/core/schema-inert-data.d.ts +4 -0
- package/dist/core/schema-inert-data.d.ts.map +1 -0
- package/dist/core/schema-inert-data.js +85 -0
- package/dist/core/schema-inert-data.js.map +1 -0
- package/dist/core/selection.d.ts +4 -126
- package/dist/core/selection.d.ts.map +1 -1
- package/dist/core/selection.js +2 -349
- package/dist/core/selection.js.map +1 -1
- package/dist/core/selection.part01.d.ts +87 -0
- package/dist/core/selection.part01.d.ts.map +1 -0
- package/dist/core/selection.part01.js +2 -0
- package/dist/core/selection.part01.js.map +1 -0
- package/dist/core/selection.part02.d.ts +37 -0
- package/dist/core/selection.part02.d.ts.map +1 -0
- package/dist/core/selection.part02.js +60 -0
- package/dist/core/selection.part02.js.map +1 -0
- package/dist/core/selection.part03.d.ts +7 -0
- package/dist/core/selection.part03.d.ts.map +1 -0
- package/dist/core/selection.part03.js +77 -0
- package/dist/core/selection.part03.js.map +1 -0
- package/dist/core/selection.part04.d.ts +5 -0
- package/dist/core/selection.part04.d.ts.map +1 -0
- package/dist/core/selection.part04.js +65 -0
- package/dist/core/selection.part04.js.map +1 -0
- package/dist/core/selection.part05.d.ts +5 -0
- package/dist/core/selection.part05.d.ts.map +1 -0
- package/dist/core/selection.part05.js +61 -0
- package/dist/core/selection.part05.js.map +1 -0
- package/dist/core/selection.part06.d.ts +14 -0
- package/dist/core/selection.part06.d.ts.map +1 -0
- package/dist/core/selection.part06.js +80 -0
- package/dist/core/selection.part06.js.map +1 -0
- package/dist/core/selection.part07.d.ts +6 -0
- package/dist/core/selection.part07.d.ts.map +1 -0
- package/dist/core/selection.part07.js +27 -0
- package/dist/core/selection.part07.js.map +1 -0
- package/dist/core/standard-blocks/block-definitions.d.ts +4 -0
- package/dist/core/standard-blocks/block-definitions.d.ts.map +1 -0
- package/dist/core/standard-blocks/block-definitions.js +4 -0
- package/dist/core/standard-blocks/block-definitions.js.map +1 -0
- package/dist/core/standard-blocks/block-definitions.part01.d.ts +11 -0
- package/dist/core/standard-blocks/block-definitions.part01.d.ts.map +1 -0
- package/dist/core/standard-blocks/block-definitions.part01.js +69 -0
- package/dist/core/standard-blocks/block-definitions.part01.js.map +1 -0
- package/dist/core/standard-blocks/block-definitions.part02.d.ts +11 -0
- package/dist/core/standard-blocks/block-definitions.part02.d.ts.map +1 -0
- package/dist/core/standard-blocks/block-definitions.part02.js +59 -0
- package/dist/core/standard-blocks/block-definitions.part02.js.map +1 -0
- package/dist/core/standard-blocks/block-definitions.part03.d.ts +11 -0
- package/dist/core/standard-blocks/block-definitions.part03.d.ts.map +1 -0
- package/dist/core/standard-blocks/block-definitions.part03.js +59 -0
- package/dist/core/standard-blocks/block-definitions.part03.js.map +1 -0
- package/dist/core/standard-blocks/catalog.d.ts +6 -0
- package/dist/core/standard-blocks/catalog.d.ts.map +1 -0
- package/dist/core/standard-blocks/catalog.js +87 -0
- package/dist/core/standard-blocks/catalog.js.map +1 -0
- package/dist/core/standard-blocks/metadata-custom.d.ts +5 -0
- package/dist/core/standard-blocks/metadata-custom.d.ts.map +1 -0
- package/dist/core/standard-blocks/metadata-custom.js +136 -0
- package/dist/core/standard-blocks/metadata-custom.js.map +1 -0
- package/dist/core/standard-blocks/metadata-standard.d.ts +28 -0
- package/dist/core/standard-blocks/metadata-standard.d.ts.map +1 -0
- package/dist/core/standard-blocks/metadata-standard.js +422 -0
- package/dist/core/standard-blocks/metadata-standard.js.map +1 -0
- package/dist/core/standard-blocks/render.d.ts +16 -0
- package/dist/core/standard-blocks/render.d.ts.map +1 -0
- package/dist/core/standard-blocks/render.js +341 -0
- package/dist/core/standard-blocks/render.js.map +1 -0
- package/dist/core/standard-blocks/schema-adapters.d.ts +4 -0
- package/dist/core/standard-blocks/schema-adapters.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-adapters.js +4 -0
- package/dist/core/standard-blocks/schema-adapters.js.map +1 -0
- package/dist/core/standard-blocks/schema-adapters.part01.d.ts +11 -0
- package/dist/core/standard-blocks/schema-adapters.part01.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-adapters.part01.js +85 -0
- package/dist/core/standard-blocks/schema-adapters.part01.js.map +1 -0
- package/dist/core/standard-blocks/schema-adapters.part02.d.ts +16 -0
- package/dist/core/standard-blocks/schema-adapters.part02.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-adapters.part02.js +83 -0
- package/dist/core/standard-blocks/schema-adapters.part02.js.map +1 -0
- package/dist/core/standard-blocks/schema-adapters.part03.d.ts +8 -0
- package/dist/core/standard-blocks/schema-adapters.part03.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-adapters.part03.js +34 -0
- package/dist/core/standard-blocks/schema-adapters.part03.js.map +1 -0
- package/dist/core/standard-blocks/schema-blocks.d.ts +5 -0
- package/dist/core/standard-blocks/schema-blocks.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-blocks.js +5 -0
- package/dist/core/standard-blocks/schema-blocks.js.map +1 -0
- package/dist/core/standard-blocks/schema-blocks.part01.d.ts +10 -0
- package/dist/core/standard-blocks/schema-blocks.part01.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-blocks.part01.js +65 -0
- package/dist/core/standard-blocks/schema-blocks.part01.js.map +1 -0
- package/dist/core/standard-blocks/schema-blocks.part02.d.ts +12 -0
- package/dist/core/standard-blocks/schema-blocks.part02.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-blocks.part02.js +51 -0
- package/dist/core/standard-blocks/schema-blocks.part02.js.map +1 -0
- package/dist/core/standard-blocks/schema-blocks.part03.d.ts +12 -0
- package/dist/core/standard-blocks/schema-blocks.part03.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-blocks.part03.js +51 -0
- package/dist/core/standard-blocks/schema-blocks.part03.js.map +1 -0
- package/dist/core/standard-blocks/schema-blocks.part04.d.ts +4 -0
- package/dist/core/standard-blocks/schema-blocks.part04.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-blocks.part04.js +11 -0
- package/dist/core/standard-blocks/schema-blocks.part04.js.map +1 -0
- package/dist/core/standard-blocks/schema-helpers.d.ts +18 -0
- package/dist/core/standard-blocks/schema-helpers.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-helpers.js +50 -0
- package/dist/core/standard-blocks/schema-helpers.js.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.d.ts +4 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.js +4 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.js.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.part01.d.ts +6 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.part01.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.part01.js +82 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.part01.js.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.part02.d.ts +5 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.part02.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.part02.js +72 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.part02.js.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.part03.d.ts +4 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.part03.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.part03.js +42 -0
- package/dist/core/standard-blocks/schema-parsers-advanced.part03.js.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-core.d.ts +5 -0
- package/dist/core/standard-blocks/schema-parsers-core.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-core.js +5 -0
- package/dist/core/standard-blocks/schema-parsers-core.js.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-core.part01.d.ts +7 -0
- package/dist/core/standard-blocks/schema-parsers-core.part01.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-core.part01.js +80 -0
- package/dist/core/standard-blocks/schema-parsers-core.part01.js.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-core.part02.d.ts +6 -0
- package/dist/core/standard-blocks/schema-parsers-core.part02.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-core.part02.js +76 -0
- package/dist/core/standard-blocks/schema-parsers-core.part02.js.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-core.part03.d.ts +6 -0
- package/dist/core/standard-blocks/schema-parsers-core.part03.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-core.part03.js +76 -0
- package/dist/core/standard-blocks/schema-parsers-core.part03.js.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-core.part04.d.ts +4 -0
- package/dist/core/standard-blocks/schema-parsers-core.part04.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-parsers-core.part04.js +42 -0
- package/dist/core/standard-blocks/schema-parsers-core.part04.js.map +1 -0
- package/dist/core/standard-blocks/schema-utils.d.ts +12 -0
- package/dist/core/standard-blocks/schema-utils.d.ts.map +1 -0
- package/dist/core/standard-blocks/schema-utils.js +66 -0
- package/dist/core/standard-blocks/schema-utils.js.map +1 -0
- package/dist/core/standard-blocks/sections.d.ts +7 -0
- package/dist/core/standard-blocks/sections.d.ts.map +1 -0
- package/dist/core/standard-blocks/sections.js +7 -0
- package/dist/core/standard-blocks/sections.js.map +1 -0
- package/dist/core/standard-blocks/sections.part01.d.ts +21 -0
- package/dist/core/standard-blocks/sections.part01.d.ts.map +1 -0
- package/dist/core/standard-blocks/sections.part01.js +79 -0
- package/dist/core/standard-blocks/sections.part01.js.map +1 -0
- package/dist/core/standard-blocks/sections.part02.d.ts +25 -0
- package/dist/core/standard-blocks/sections.part02.d.ts.map +1 -0
- package/dist/core/standard-blocks/sections.part02.js +92 -0
- package/dist/core/standard-blocks/sections.part02.js.map +1 -0
- package/dist/core/standard-blocks/sections.part03.d.ts +15 -0
- package/dist/core/standard-blocks/sections.part03.d.ts.map +1 -0
- package/dist/core/standard-blocks/sections.part03.js +89 -0
- package/dist/core/standard-blocks/sections.part03.js.map +1 -0
- package/dist/core/standard-blocks/sections.part04.d.ts +14 -0
- package/dist/core/standard-blocks/sections.part04.d.ts.map +1 -0
- package/dist/core/standard-blocks/sections.part04.js +88 -0
- package/dist/core/standard-blocks/sections.part04.js.map +1 -0
- package/dist/core/standard-blocks/sections.part05.d.ts +14 -0
- package/dist/core/standard-blocks/sections.part05.d.ts.map +1 -0
- package/dist/core/standard-blocks/sections.part05.js +93 -0
- package/dist/core/standard-blocks/sections.part05.js.map +1 -0
- package/dist/core/standard-blocks/sections.part06.d.ts +4 -0
- package/dist/core/standard-blocks/sections.part06.d.ts.map +1 -0
- package/dist/core/standard-blocks/sections.part06.js +23 -0
- package/dist/core/standard-blocks/sections.part06.js.map +1 -0
- package/dist/core/standard-blocks/types.d.ts +5 -0
- package/dist/core/standard-blocks/types.d.ts.map +1 -0
- package/dist/core/standard-blocks/types.js +2 -0
- package/dist/core/standard-blocks/types.js.map +1 -0
- package/dist/core/standard-blocks/types.part01.d.ts +58 -0
- package/dist/core/standard-blocks/types.part01.d.ts.map +1 -0
- package/dist/core/standard-blocks/types.part01.js +8 -0
- package/dist/core/standard-blocks/types.part01.js.map +1 -0
- package/dist/core/standard-blocks/types.part02.d.ts +95 -0
- package/dist/core/standard-blocks/types.part02.d.ts.map +1 -0
- package/dist/core/standard-blocks/types.part02.js +2 -0
- package/dist/core/standard-blocks/types.part02.js.map +1 -0
- package/dist/core/standard-blocks/types.part03.d.ts +37 -0
- package/dist/core/standard-blocks/types.part03.d.ts.map +1 -0
- package/dist/core/standard-blocks/types.part03.js +2 -0
- package/dist/core/standard-blocks/types.part03.js.map +1 -0
- package/dist/core/standard-blocks.d.ts +5 -263
- package/dist/core/standard-blocks.d.ts.map +1 -1
- package/dist/core/standard-blocks.js +4 -2517
- package/dist/core/standard-blocks.js.map +1 -1
- package/dist/core/standard-blocks.test-support.d.ts +12 -0
- package/dist/core/standard-blocks.test-support.d.ts.map +1 -0
- package/dist/core/standard-blocks.test-support.js +11 -0
- package/dist/core/standard-blocks.test-support.js.map +1 -0
- package/dist/core/standard-blocks.test-support.part01.d.ts +30 -0
- package/dist/core/standard-blocks.test-support.part01.d.ts.map +1 -0
- package/dist/core/standard-blocks.test-support.part01.js +42 -0
- package/dist/core/standard-blocks.test-support.part01.js.map +1 -0
- package/dist/core/story-capture.js +1 -1
- package/dist/core/story-capture.js.map +1 -1
- package/dist/core/text/clip.d.ts.map +1 -1
- package/dist/core/text/clip.js +4 -0
- package/dist/core/text/clip.js.map +1 -1
- package/dist/core/text/grapheme.d.ts.map +1 -1
- package/dist/core/text/grapheme.js +17 -7
- package/dist/core/text/grapheme.js.map +1 -1
- package/dist/core/text/wrap.d.ts +1 -1
- package/dist/core/text/wrap.d.ts.map +1 -1
- package/dist/core/text/wrap.js +1 -1
- package/dist/core/text/wrap.js.map +1 -1
- package/dist/core/theme/bijou-dark-preset.d.ts +10 -0
- package/dist/core/theme/bijou-dark-preset.d.ts.map +1 -0
- package/dist/core/theme/bijou-dark-preset.js +81 -0
- package/dist/core/theme/bijou-dark-preset.js.map +1 -0
- package/dist/core/theme/bijou-light-preset.d.ts +10 -0
- package/dist/core/theme/bijou-light-preset.d.ts.map +1 -0
- package/dist/core/theme/bijou-light-preset.js +84 -0
- package/dist/core/theme/bijou-light-preset.js.map +1 -0
- package/dist/core/theme/builder.d.ts +91 -0
- package/dist/core/theme/builder.d.ts.map +1 -0
- package/dist/core/theme/builder.js +236 -0
- package/dist/core/theme/builder.js.map +1 -0
- package/dist/core/theme/color.d.ts +3 -95
- package/dist/core/theme/color.d.ts.map +1 -1
- package/dist/core/theme/color.js +2 -279
- package/dist/core/theme/color.js.map +1 -1
- package/dist/core/theme/color.part01.d.ts +18 -0
- package/dist/core/theme/color.part01.d.ts.map +1 -0
- package/dist/core/theme/color.part01.js +93 -0
- package/dist/core/theme/color.part01.js.map +1 -0
- package/dist/core/theme/color.part02.d.ts +12 -0
- package/dist/core/theme/color.part02.d.ts.map +1 -0
- package/dist/core/theme/color.part02.js +85 -0
- package/dist/core/theme/color.part02.js.map +1 -0
- package/dist/core/theme/doctor.d.ts +15 -0
- package/dist/core/theme/doctor.d.ts.map +1 -1
- package/dist/core/theme/doctor.js +57 -8
- package/dist/core/theme/doctor.js.map +1 -1
- package/dist/core/theme/downsample.d.ts +3 -52
- package/dist/core/theme/downsample.d.ts.map +1 -1
- package/dist/core/theme/downsample.js +2 -171
- package/dist/core/theme/downsample.js.map +1 -1
- package/dist/core/theme/downsample.part01.d.ts +7 -0
- package/dist/core/theme/downsample.part01.d.ts.map +1 -0
- package/dist/core/theme/downsample.part01.js +77 -0
- package/dist/core/theme/downsample.part01.js.map +1 -0
- package/dist/core/theme/downsample.part02.d.ts +3 -0
- package/dist/core/theme/downsample.part02.d.ts.map +1 -0
- package/dist/core/theme/downsample.part02.js +26 -0
- package/dist/core/theme/downsample.part02.js.map +1 -0
- package/dist/core/theme/dtcg.d.ts +3 -6
- package/dist/core/theme/dtcg.d.ts.map +1 -1
- package/dist/core/theme/dtcg.js +86 -118
- package/dist/core/theme/dtcg.js.map +1 -1
- package/dist/core/theme/extend.js +14 -3
- package/dist/core/theme/extend.js.map +1 -1
- package/dist/core/theme/gradient.d.ts.map +1 -1
- package/dist/core/theme/gradient.js +11 -7
- package/dist/core/theme/gradient.js.map +1 -1
- package/dist/core/theme/graph-dependencies.d.ts +3 -0
- package/dist/core/theme/graph-dependencies.d.ts.map +1 -0
- package/dist/core/theme/graph-dependencies.js +29 -0
- package/dist/core/theme/graph-dependencies.js.map +1 -0
- package/dist/core/theme/graph-guards.d.ts +8 -0
- package/dist/core/theme/graph-guards.d.ts.map +1 -0
- package/dist/core/theme/graph-guards.js +19 -0
- package/dist/core/theme/graph-guards.js.map +1 -0
- package/dist/core/theme/graph-import.d.ts +5 -0
- package/dist/core/theme/graph-import.d.ts.map +1 -0
- package/dist/core/theme/graph-import.js +30 -0
- package/dist/core/theme/graph-import.js.map +1 -0
- package/dist/core/theme/graph-resolve.d.ts +12 -0
- package/dist/core/theme/graph-resolve.d.ts.map +1 -0
- package/dist/core/theme/graph-resolve.js +71 -0
- package/dist/core/theme/graph-resolve.js.map +1 -0
- package/dist/core/theme/graph-transform.d.ts +4 -0
- package/dist/core/theme/graph-transform.d.ts.map +1 -0
- package/dist/core/theme/graph-transform.js +41 -0
- package/dist/core/theme/graph-transform.js.map +1 -0
- package/dist/core/theme/graph-types.d.ts +69 -1
- package/dist/core/theme/graph-types.d.ts.map +1 -1
- package/dist/core/theme/graph.d.ts +2 -13
- package/dist/core/theme/graph.d.ts.map +1 -1
- package/dist/core/theme/graph.js +53 -158
- package/dist/core/theme/graph.js.map +1 -1
- package/dist/core/theme/index.d.ts +9 -12
- package/dist/core/theme/index.d.ts.map +1 -1
- package/dist/core/theme/index.js +5 -21
- package/dist/core/theme/index.js.map +1 -1
- package/dist/core/theme/preset-authoring.d.ts +16 -0
- package/dist/core/theme/preset-authoring.d.ts.map +1 -0
- package/dist/core/theme/preset-authoring.js +87 -0
- package/dist/core/theme/preset-authoring.js.map +1 -0
- package/dist/core/theme/presets.d.ts +7 -4
- package/dist/core/theme/presets.d.ts.map +1 -1
- package/dist/core/theme/presets.js +6 -1
- package/dist/core/theme/presets.js.map +1 -1
- package/dist/core/theme/resolve.d.ts +2 -13
- package/dist/core/theme/resolve.d.ts.map +1 -1
- package/dist/core/theme/resolve.js +16 -16
- package/dist/core/theme/resolve.js.map +1 -1
- package/dist/core/theme/styled.d.ts.map +1 -1
- package/dist/core/theme/styled.js +3 -2
- package/dist/core/theme/styled.js.map +1 -1
- package/dist/core/theme/theme-rule-candidates.d.ts +19 -0
- package/dist/core/theme/theme-rule-candidates.d.ts.map +1 -0
- package/dist/core/theme/theme-rule-candidates.js +101 -0
- package/dist/core/theme/theme-rule-candidates.js.map +1 -0
- package/dist/core/theme/theme-rule-color-validation.d.ts +5 -0
- package/dist/core/theme/theme-rule-color-validation.d.ts.map +1 -0
- package/dist/core/theme/theme-rule-color-validation.js +9 -0
- package/dist/core/theme/theme-rule-color-validation.js.map +1 -0
- package/dist/core/theme/theme-rule-evaluate.d.ts +13 -0
- package/dist/core/theme/theme-rule-evaluate.d.ts.map +1 -0
- package/dist/core/theme/theme-rule-evaluate.js +113 -0
- package/dist/core/theme/theme-rule-evaluate.js.map +1 -0
- package/dist/core/theme/theme-rule-metrics.d.ts +4 -0
- package/dist/core/theme/theme-rule-metrics.d.ts.map +1 -0
- package/dist/core/theme/theme-rule-metrics.js +34 -0
- package/dist/core/theme/theme-rule-metrics.js.map +1 -0
- package/dist/core/theme/theme-rule-paths.d.ts +3 -0
- package/dist/core/theme/theme-rule-paths.d.ts.map +1 -0
- package/dist/core/theme/theme-rule-paths.js +10 -0
- package/dist/core/theme/theme-rule-paths.js.map +1 -0
- package/dist/core/theme/theme-rules.d.ts +22 -0
- package/dist/core/theme/theme-rules.d.ts.map +1 -0
- package/dist/core/theme/theme-rules.js +84 -0
- package/dist/core/theme/theme-rules.js.map +1 -0
- package/dist/core/ui-scene-ir.d.ts +195 -0
- package/dist/core/ui-scene-ir.d.ts.map +1 -0
- package/dist/core/ui-scene-ir.js +570 -0
- package/dist/core/ui-scene-ir.js.map +1 -0
- package/dist/factory.js +3 -3
- package/dist/factory.js.map +1 -1
- package/dist/index.d.ts +10 -41
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -71
- package/dist/index.js.map +1 -1
- package/dist/index.part01.d.ts +18 -0
- package/dist/index.part01.d.ts.map +1 -0
- package/dist/index.part01.js +19 -0
- package/dist/index.part01.js.map +1 -0
- package/dist/index.part02.d.ts +5 -0
- package/dist/index.part02.d.ts.map +1 -0
- package/dist/index.part02.js +6 -0
- package/dist/index.part02.js.map +1 -0
- package/dist/index.part03.d.ts +6 -0
- package/dist/index.part03.d.ts.map +1 -0
- package/dist/index.part03.js +6 -0
- package/dist/index.part03.js.map +1 -0
- package/dist/index.part04.d.ts +5 -0
- package/dist/index.part04.d.ts.map +1 -0
- package/dist/index.part04.js +5 -0
- package/dist/index.part04.js.map +1 -0
- package/dist/index.part05.d.ts +2 -0
- package/dist/index.part05.d.ts.map +1 -0
- package/dist/index.part05.js +2 -0
- package/dist/index.part05.js.map +1 -0
- package/dist/index.part06.d.ts +7 -0
- package/dist/index.part06.d.ts.map +1 -0
- package/dist/index.part06.js +9 -0
- package/dist/index.part06.js.map +1 -0
- package/dist/index.part07.d.ts +4 -0
- package/dist/index.part07.d.ts.map +1 -0
- package/dist/index.part07.js +5 -0
- package/dist/index.part07.js.map +1 -0
- package/dist/index.part08.d.ts +3 -0
- package/dist/index.part08.d.ts.map +1 -0
- package/dist/index.part08.js +3 -0
- package/dist/index.part08.js.map +1 -0
- package/dist/index.part09.d.ts +2 -0
- package/dist/index.part09.d.ts.map +1 -0
- package/dist/index.part09.js +3 -0
- package/dist/index.part09.js.map +1 -0
- package/dist/index.part10.d.ts +8 -0
- package/dist/index.part10.d.ts.map +1 -0
- package/dist/index.part10.js +9 -0
- package/dist/index.part10.js.map +1 -0
- package/dist/ports/io-handles.d.ts +11 -0
- package/dist/ports/io-handles.d.ts.map +1 -0
- package/dist/ports/io-handles.js +2 -0
- package/dist/ports/io-handles.js.map +1 -0
- package/dist/ports/io.d.ts +2 -10
- package/dist/ports/io.d.ts.map +1 -1
- package/dist/ports/surface.d.ts +1 -1
- package/dist/ports/surface.d.ts.map +1 -1
- package/dist/ports/surface.js +41 -46
- package/dist/ports/surface.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { UiNode } from './ui-scene-ir.js';
|
|
2
|
+
import type { BijouBlockArtifact, BijouBlockField, BijouBlockGroup } from './graphql-bijou-block.part01.js';
|
|
3
|
+
import type { DirectiveArgValue, ParsedDirective, ParsedField } from './graphql-bijou-block.part02.js';
|
|
4
|
+
export declare function parseDirectiveArgs(source: string): Readonly<Record<string, DirectiveArgValue>>;
|
|
5
|
+
export declare function bijouBlockFieldFor(field: ParsedField, typeName: string, sourceName: string): BijouBlockField;
|
|
6
|
+
export declare function groupsFor(directives: readonly ParsedDirective[], typeName: string, sourceName: string): readonly BijouBlockGroup[];
|
|
7
|
+
export declare function rootChildNodeIds(groups: readonly BijouBlockGroup[], fields: readonly BijouBlockField[]): readonly string[];
|
|
8
|
+
export declare function nodeForGroup(artifact: BijouBlockArtifact, group: BijouBlockGroup): UiNode;
|
|
9
|
+
export declare function metadataForGroup(group: BijouBlockGroup): Record<string, unknown>;
|
|
10
|
+
//# sourceMappingURL=graphql-bijou-block.part06.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql-bijou-block.part06.d.ts","sourceRoot":"","sources":["../../src/core/graphql-bijou-block.part06.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAI/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAI5G,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAKvG,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAQ9F;AACD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,eAAe,CAuB5G;AACD,wBAAgB,SAAS,CACvB,UAAU,EAAE,SAAS,eAAe,EAAE,EACtC,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GACjB,SAAS,eAAe,EAAE,CAmB5B;AACD,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,SAAS,eAAe,EAAE,EAClC,MAAM,EAAE,SAAS,eAAe,EAAE,GACjC,SAAS,MAAM,EAAE,CAQnB;AACD,wBAAgB,YAAY,CAAC,QAAQ,EAAE,kBAAkB,EAAE,KAAK,EAAE,eAAe,GAAG,MAAM,CAazF;AACD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAQhF"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { capture, parseGraphqlStringArg } from './graphql-parser-utils.js';
|
|
2
|
+
import { ARG_PATTERN } from './graphql-bijou-block.part02.js';
|
|
3
|
+
import { actionFor, bindingFor, layoutFor, styleFor } from './graphql-bijou-block.part07.js';
|
|
4
|
+
import { directiveByName, directivesByName, optionalStringArg, requireDirective, requiredStringArg } from './graphql-bijou-block.part08.js';
|
|
5
|
+
export function parseDirectiveArgs(source) {
|
|
6
|
+
const args = {};
|
|
7
|
+
for (const match of source.matchAll(ARG_PATTERN)) {
|
|
8
|
+
const key = capture(match, 1, 'argument name');
|
|
9
|
+
const rawValue = capture(match, 2, 'argument value');
|
|
10
|
+
args[key] = rawValue.startsWith('"') ? parseGraphqlStringArg(rawValue) : Number(rawValue);
|
|
11
|
+
}
|
|
12
|
+
return args;
|
|
13
|
+
}
|
|
14
|
+
export function bijouBlockFieldFor(field, typeName, sourceName) {
|
|
15
|
+
const textDirective = requireDirective(field, 'bijouText');
|
|
16
|
+
const i18nDirective = requireDirective(field, 'bijouI18n');
|
|
17
|
+
const tokenDirective = directiveByName(field.directives, 'bijouToken');
|
|
18
|
+
const actionDirective = directiveByName(field.directives, 'bijouAction');
|
|
19
|
+
const bindingDirective = directiveByName(field.directives, 'bijouBind');
|
|
20
|
+
const nodeId = requiredStringArg(textDirective, 'id', `@bijouText on ${field.fieldName} must include id:.`);
|
|
21
|
+
return {
|
|
22
|
+
fieldName: field.fieldName,
|
|
23
|
+
nodeId,
|
|
24
|
+
groupId: optionalStringArg(textDirective, 'group'),
|
|
25
|
+
graphqlType: field.graphqlType,
|
|
26
|
+
source: `${sourceName}#type.${typeName}.field.${field.fieldName}`,
|
|
27
|
+
layout: layoutFor(textDirective),
|
|
28
|
+
text: {
|
|
29
|
+
kind: 'i18n',
|
|
30
|
+
key: requiredStringArg(i18nDirective, 'key', `@bijouI18n on ${field.fieldName} must include key:.`),
|
|
31
|
+
fallback: requiredStringArg(i18nDirective, 'fallback', `@bijouI18n on ${field.fieldName} must include fallback:.`),
|
|
32
|
+
},
|
|
33
|
+
style: tokenDirective == null ? undefined : styleFor(tokenDirective),
|
|
34
|
+
action: actionDirective == null ? undefined : actionFor(actionDirective),
|
|
35
|
+
binding: bindingDirective == null ? undefined : bindingFor(bindingDirective),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function groupsFor(directives, typeName, sourceName) {
|
|
39
|
+
return directivesByName(directives, 'bijouGroup').map((directive) => {
|
|
40
|
+
const id = requiredStringArg(directive, 'id', '@bijouGroup must include id:.');
|
|
41
|
+
const label = optionalStringArg(directive, 'label');
|
|
42
|
+
const group = {
|
|
43
|
+
id,
|
|
44
|
+
source: `${sourceName}#type.${typeName}.group.${id}`,
|
|
45
|
+
layout: layoutFor(directive),
|
|
46
|
+
};
|
|
47
|
+
if (label != null) {
|
|
48
|
+
group.label = label;
|
|
49
|
+
}
|
|
50
|
+
return group;
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
export function rootChildNodeIds(groups, fields) {
|
|
54
|
+
if (groups.length === 0) {
|
|
55
|
+
return fields.map((field) => field.nodeId);
|
|
56
|
+
}
|
|
57
|
+
return [
|
|
58
|
+
...groups.map((group) => group.id),
|
|
59
|
+
...fields.flatMap((field) => field.groupId == null ? [field.nodeId] : []),
|
|
60
|
+
];
|
|
61
|
+
}
|
|
62
|
+
export function nodeForGroup(artifact, group) {
|
|
63
|
+
const node = {
|
|
64
|
+
id: group.id,
|
|
65
|
+
kind: 'group',
|
|
66
|
+
component: artifact.component,
|
|
67
|
+
parentId: artifact.rootNodeId,
|
|
68
|
+
children: artifact.fields
|
|
69
|
+
.filter((field) => field.groupId === group.id)
|
|
70
|
+
.map((field) => field.nodeId),
|
|
71
|
+
layout: group.layout,
|
|
72
|
+
metadata: metadataForGroup(group),
|
|
73
|
+
};
|
|
74
|
+
return node;
|
|
75
|
+
}
|
|
76
|
+
export function metadataForGroup(group) {
|
|
77
|
+
const metadata = {
|
|
78
|
+
graphqlGroup: group.id,
|
|
79
|
+
};
|
|
80
|
+
if (group.label != null) {
|
|
81
|
+
metadata['label'] = group.label;
|
|
82
|
+
}
|
|
83
|
+
return metadata;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=graphql-bijou-block.part06.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql-bijou-block.part06.js","sourceRoot":"","sources":["../../src/core/graphql-bijou-block.part06.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAI3E,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAI9D,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAE7F,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAC5I,MAAM,UAAU,kBAAkB,CAAC,MAAc;IAC/C,MAAM,IAAI,GAAsC,EAAE,CAAC;IACnD,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC;QACjD,MAAM,GAAG,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE,eAAe,CAAC,CAAC;QAC/C,MAAM,QAAQ,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE,gBAAgB,CAAC,CAAC;QACrD,IAAI,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,qBAAqB,CAAC,Q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O,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;KAC1E,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,YAAY,CAAC,QAA4B,EAAE,KAAsB;IAC/E,MAAM,IAAI,GAAW;QACnB,EAAE,EAAE,KAAK,CAAC,EAAE;QACZ,IAAI,EAAE,OAAO;QACb,SAAS,EAAE,QAAQ,CAAC,SAAS;QAC7B,QAAQ,EAAE,QAAQ,CAAC,UAAU;QAC7B,QAAQ,EAAE,QAAQ,CAAC,MAAM;aACtB,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,KAAK,KAAK,CAAC,EAAE,CAAC;aAC7C,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC;QAC/B,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,QAAQ,EAAE,gBAAgB,CAAC,KAAK,CAAC;KAClC,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC;AACD,MAAM,UAAU,gBAAgB,CAAC,KAAsB;IACrD,MAAM,QAAQ,GAA4B;QACxC,YAAY,EAAE,KAAK,CAAC,EAAE;KACvB,CAAC;IACF,IAAI,KAAK,CAAC,KAAK,IAAI,IAAI,EAAE,CAAC;QACxB,QAAQ,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC;IAClC,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { UiLayoutIntent, UiNode, UiStyleRef, UiTargetProfile } from './ui-scene-ir.js';
|
|
2
|
+
import type { BijouBlockArtifact, BijouBlockField, BijouBlockFieldAction, BijouBlockFieldBinding } from './graphql-bijou-block.part01.js';
|
|
3
|
+
import type { ParsedDirective } from './graphql-bijou-block.part02.js';
|
|
4
|
+
export declare function nodeForField(artifact: BijouBlockArtifact, field: BijouBlockField): UiNode;
|
|
5
|
+
export declare function targetProfilesFor(directives: readonly ParsedDirective[]): readonly UiTargetProfile[];
|
|
6
|
+
export declare function layoutFor(directive: ParsedDirective): UiLayoutIntent;
|
|
7
|
+
export declare function styleFor(directive: ParsedDirective): UiStyleRef;
|
|
8
|
+
export declare function actionFor(directive: ParsedDirective): BijouBlockFieldAction;
|
|
9
|
+
export declare function bindingFor(directive: ParsedDirective): BijouBlockFieldBinding;
|
|
10
|
+
//# sourceMappingURL=graphql-bijou-block.part07.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql-bijou-block.part07.d.ts","sourceRoot":"","sources":["../../src/core/graphql-bijou-block.part07.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAE5F,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAE1I,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAGvE,wBAAgB,YAAY,CAAC,QAAQ,EAAE,kBAAkB,EAAE,KAAK,EAAE,eAAe,GAAG,MAAM,CAgBzF;AACD,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,SAAS,eAAe,EAAE,GAAG,SAAS,eAAe,EAAE,CAepG;AACD,wBAAgB,SAAS,CAAC,SAAS,EAAE,eAAe,GAAG,cAAc,CAYpE;AACD,wBAAgB,QAAQ,CAAC,SAAS,EAAE,eAAe,GAAG,UAAU,CAmB/D;AACD,wBAAgB,SAAS,CAAC,SAAS,EAAE,eAAe,GAAG,qBAAqB,CAS3E;AACD,wBAAgB,UAAU,CAAC,SAAS,EAAE,eAAe,GAAG,sBAAsB,CAc7E"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { copyOptionalIntegerArg, optionalStringArg, requireDirective, requiredPositiveIntegerArg, requiredStringArg } from './graphql-bijou-block.part08.js';
|
|
2
|
+
export function nodeForField(artifact, field) {
|
|
3
|
+
const node = {
|
|
4
|
+
id: field.nodeId,
|
|
5
|
+
kind: 'text',
|
|
6
|
+
component: artifact.component,
|
|
7
|
+
parentId: field.groupId ?? artifact.rootNodeId,
|
|
8
|
+
layout: field.layout,
|
|
9
|
+
text: field.text,
|
|
10
|
+
style: field.style,
|
|
11
|
+
actions: field.action == null ? undefined : [field.action.id],
|
|
12
|
+
metadata: {
|
|
13
|
+
graphqlField: field.fieldName,
|
|
14
|
+
graphqlType: field.graphqlType,
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
return node;
|
|
18
|
+
}
|
|
19
|
+
export function targetProfilesFor(directives) {
|
|
20
|
+
const targetDirective = requireDirective({ fieldName: 'type', directives }, 'bijouTarget', 'GraphQL Bijou block source must include @bijouTarget(kind:, cols:, rows:).');
|
|
21
|
+
const kind = requiredStringArg(targetDirective, 'kind', '@bijouTarget must include kind:.');
|
|
22
|
+
if (kind !== 'bijou-terminal') {
|
|
23
|
+
throw new Error(`Unsupported GraphQL Bijou block target kind: ${kind}`);
|
|
24
|
+
}
|
|
25
|
+
return [{
|
|
26
|
+
kind,
|
|
27
|
+
cols: requiredPositiveIntegerArg(targetDirective, 'cols', '@bijouTarget bijou-terminal must include positive cols:.'),
|
|
28
|
+
rows: requiredPositiveIntegerArg(targetDirective, 'rows', '@bijouTarget bijou-terminal must include positive rows:.'),
|
|
29
|
+
}];
|
|
30
|
+
}
|
|
31
|
+
export function layoutFor(directive) {
|
|
32
|
+
const layout = {};
|
|
33
|
+
copyOptionalIntegerArg(directive, layout, 'x');
|
|
34
|
+
copyOptionalIntegerArg(directive, layout, 'y');
|
|
35
|
+
copyOptionalIntegerArg(directive, layout, 'width');
|
|
36
|
+
copyOptionalIntegerArg(directive, layout, 'height');
|
|
37
|
+
return layout;
|
|
38
|
+
}
|
|
39
|
+
export function styleFor(directive) {
|
|
40
|
+
const style = {};
|
|
41
|
+
const fg = optionalStringArg(directive, 'fg');
|
|
42
|
+
const bg = optionalStringArg(directive, 'bg');
|
|
43
|
+
const border = optionalStringArg(directive, 'border');
|
|
44
|
+
if (fg != null) {
|
|
45
|
+
style.fg = { token: fg };
|
|
46
|
+
}
|
|
47
|
+
if (bg != null) {
|
|
48
|
+
style.bg = { token: bg };
|
|
49
|
+
}
|
|
50
|
+
if (border != null) {
|
|
51
|
+
style.border = { token: border };
|
|
52
|
+
}
|
|
53
|
+
return style;
|
|
54
|
+
}
|
|
55
|
+
export function actionFor(directive) {
|
|
56
|
+
const id = requiredStringArg(directive, 'id', '@bijouAction must include id:.');
|
|
57
|
+
const command = requiredStringArg(directive, 'command', '@bijouAction must include command:.');
|
|
58
|
+
const key = optionalStringArg(directive, 'key');
|
|
59
|
+
return {
|
|
60
|
+
id,
|
|
61
|
+
command,
|
|
62
|
+
keybindings: key == null ? [] : [key],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export function bindingFor(directive) {
|
|
66
|
+
const kind = requiredStringArg(directive, 'kind', '@bijouBind must include kind:.');
|
|
67
|
+
if (kind !== 'state' && kind !== 'query' && kind !== 'computed') {
|
|
68
|
+
throw new Error(`Unsupported @bijouBind kind: ${kind}`);
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
id: requiredStringArg(directive, 'id', '@bijouBind must include id:.'),
|
|
72
|
+
targetProperty: optionalStringArg(directive, 'targetProperty') ?? 'text',
|
|
73
|
+
source: {
|
|
74
|
+
kind,
|
|
75
|
+
path: requiredStringArg(directive, 'path', '@bijouBind must include path:.'),
|
|
76
|
+
},
|
|
77
|
+
when: optionalStringArg(directive, 'when'),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=graphql-bijou-block.part07.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql-bijou-block.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AC,SAAS,EAAE,IAAI,EAAE,gCAAgC,CAAC,CAAC;IAChF,MAAM,OAAO,GAAG,iBAAiB,CAAC,SAAS,EAAE,SAAS,EAAE,qCAAqC,CAAC,CAAC;IAC/F,MAAM,GAAG,GAAG,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IAChD,OAAO;QACL,EAAE;QACF,OAAO;QACP,WAAW,EAAE,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;KACtC,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,UAAU,CAAC,SAA0B;IACnD,MAAM,IAAI,GAAG,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,gCAAgC,CAAC,CAAC;IACpF,IAAI,IAAI,KAAK,OAAO,IAAI,IAAI,KAAK,OAAO,IAAI,IAAI,KAAK,UAAU,EAAE,CAAC;QAChE,MAAM,IAAI,KAAK,CAAC,gCAAgC,IAAI,EAAE,CAAC,CAAC;IAC1D,CAAC;IACD,OAAO;QACL,EAAE,EAAE,iBAAiB,CAAC,SAAS,EAAE,IAAI,EAAE,8BAA8B,CAAC;QACtE,cAAc,EAAE,iBAAiB,CAAC,SAAS,EAAE,gBAAgB,CAAC,IAAI,MAAM;QACxE,MAAM,EAAE;YACN,IAAI;YACJ,IAAI,EAAE,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,gCAAgC,CAAC;SAC7E;QACD,IAAI,EAAE,iBAAiB,CAAC,SAAS,EAAE,MAAM,CAAC;KAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { UiI18nUse, UiTextRef, UiTokenUse } from './ui-scene-ir.js';
|
|
2
|
+
import type { BijouBlockField, BijouBlockGroup } from './graphql-bijou-block.part01.js';
|
|
3
|
+
import type { ParsedDirective } from './graphql-bijou-block.part02.js';
|
|
4
|
+
export declare function requireDirective(owner: {
|
|
5
|
+
readonly fieldName: string;
|
|
6
|
+
readonly directives: readonly ParsedDirective[];
|
|
7
|
+
}, name: string, message?: string): ParsedDirective;
|
|
8
|
+
export declare function directiveByName(directives: readonly ParsedDirective[], name: string): ParsedDirective | undefined;
|
|
9
|
+
export declare function directivesByName(directives: readonly ParsedDirective[], name: string): readonly ParsedDirective[];
|
|
10
|
+
export declare function requiredStringArg(directive: ParsedDirective, name: string, message: string): string;
|
|
11
|
+
export declare function optionalStringArg(directive: ParsedDirective, name: string): string | undefined;
|
|
12
|
+
export declare function requiredPositiveIntegerArg(directive: ParsedDirective, name: string, message: string): number;
|
|
13
|
+
export declare function optionalIntegerArg(directive: ParsedDirective, name: string): number | undefined;
|
|
14
|
+
export declare function copyOptionalIntegerArg(directive: ParsedDirective, layout: {
|
|
15
|
+
x?: number;
|
|
16
|
+
y?: number;
|
|
17
|
+
width?: number;
|
|
18
|
+
height?: number;
|
|
19
|
+
}, name: 'x' | 'y' | 'width' | 'height'): void;
|
|
20
|
+
export declare function appendTokenUses(tokenUses: UiTokenUse[], field: BijouBlockField): void;
|
|
21
|
+
export declare function appendI18nUse(i18nUses: UiI18nUse[], id: string, text: UiTextRef, kind?: 'node' | 'action'): void;
|
|
22
|
+
export declare function assertUniqueBlockIdentities(groups: readonly BijouBlockGroup[], fields: readonly BijouBlockField[], rootNodeId: string): void;
|
|
23
|
+
//# sourceMappingURL=graphql-bijou-block.part08.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql-bijou-block.part08.d.ts","sourceRoot":"","sources":["../../src/core/graphql-bijou-block.part08.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEzE,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAExF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAGvE,wBAAgB,gBAAgB,CAC9B,KAA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AAgB,aAAa,CAAC,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,GAAE,MAAM,GAAG,QAAiB,GAAG,IAAI,CAOxH;AACD,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,SAAS,eAAe,EAAE,EAClC,MAAM,EAAE,SAAS,eAAe,EAAE,EAClC,UAAU,EAAE,MAAM,GACjB,IAAI,CAkBN"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { assertUniqueValues } from './graphql-bijou-block.part09.js';
|
|
2
|
+
export function requireDirective(owner, name, message) {
|
|
3
|
+
const directive = directiveByName(owner.directives, name);
|
|
4
|
+
if (directive == null) {
|
|
5
|
+
throw new Error(message ?? `GraphQL Bijou block field ${owner.fieldName} must include @${name}(...).`);
|
|
6
|
+
}
|
|
7
|
+
return directive;
|
|
8
|
+
}
|
|
9
|
+
export function directiveByName(directives, name) {
|
|
10
|
+
const matches = directives.filter((directive) => directive.name === name);
|
|
11
|
+
if (matches.length > 1) {
|
|
12
|
+
throw new Error(`GraphQL Bijou block source has duplicate @${name} directives.`);
|
|
13
|
+
}
|
|
14
|
+
return matches[0];
|
|
15
|
+
}
|
|
16
|
+
export function directivesByName(directives, name) {
|
|
17
|
+
return directives.filter((directive) => directive.name === name);
|
|
18
|
+
}
|
|
19
|
+
export function requiredStringArg(directive, name, message) {
|
|
20
|
+
const value = optionalStringArg(directive, name);
|
|
21
|
+
if (value == null) {
|
|
22
|
+
throw new Error(message);
|
|
23
|
+
}
|
|
24
|
+
return value;
|
|
25
|
+
}
|
|
26
|
+
export function optionalStringArg(directive, name) {
|
|
27
|
+
const value = directive.args[name];
|
|
28
|
+
return typeof value === 'string' ? value : undefined;
|
|
29
|
+
}
|
|
30
|
+
export function requiredPositiveIntegerArg(directive, name, message) {
|
|
31
|
+
const value = optionalIntegerArg(directive, name);
|
|
32
|
+
if (value == null || value <= 0) {
|
|
33
|
+
throw new Error(message);
|
|
34
|
+
}
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
export function optionalIntegerArg(directive, name) {
|
|
38
|
+
const value = directive.args[name];
|
|
39
|
+
return typeof value === 'number' && Number.isInteger(value) ? value : undefined;
|
|
40
|
+
}
|
|
41
|
+
export function copyOptionalIntegerArg(directive, layout, name) {
|
|
42
|
+
const value = optionalIntegerArg(directive, name);
|
|
43
|
+
if (value != null) {
|
|
44
|
+
layout[name] = value;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
export function appendTokenUses(tokenUses, field) {
|
|
48
|
+
if (field.style?.fg?.token != null) {
|
|
49
|
+
tokenUses.push({ nodeId: field.nodeId, slot: 'fg', token: field.style.fg.token });
|
|
50
|
+
}
|
|
51
|
+
if (field.style?.bg?.token != null) {
|
|
52
|
+
tokenUses.push({ nodeId: field.nodeId, slot: 'bg', token: field.style.bg.token });
|
|
53
|
+
}
|
|
54
|
+
if (field.style?.border?.token != null) {
|
|
55
|
+
tokenUses.push({ nodeId: field.nodeId, slot: 'border', token: field.style.border.token });
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export function appendI18nUse(i18nUses, id, text, kind = 'node') {
|
|
59
|
+
if (text.kind !== 'i18n') {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
i18nUses.push(kind === 'node'
|
|
63
|
+
? { nodeId: id, key: text.key }
|
|
64
|
+
: { actionId: id, key: text.key });
|
|
65
|
+
}
|
|
66
|
+
export function assertUniqueBlockIdentities(groups, fields, rootNodeId) {
|
|
67
|
+
assertUniqueValues(fields.map((field) => field.fieldName), 'field name');
|
|
68
|
+
assertUniqueValues(groups.map((group) => group.id), 'group id');
|
|
69
|
+
assertUniqueValues([rootNodeId, ...groups.map((group) => group.id), ...fields.map((field) => field.nodeId)], 'node id');
|
|
70
|
+
const groupIds = new Set(groups.map((group) => group.id));
|
|
71
|
+
for (const field of fields) {
|
|
72
|
+
if (field.groupId != null && !groupIds.has(field.groupId)) {
|
|
73
|
+
throw new Error(`GraphQL Bijou block field ${field.fieldName} references missing group: ${field.groupId}`);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
assertUniqueValues(fields.flatMap((field) => field.action == null ? [] : [field.action.id]), 'action id');
|
|
77
|
+
assertUniqueValues(fields.flatMap((field) => field.binding == null ? [] : [field.binding.id]), 'binding id');
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=graphql-bijou-block.part08.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql-bijou-block.part08.js","sourceRoot":"","sources":["../../src/core/graphql-bijou-block.part08.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,MAAM,UAAU,gBAAgB,CAC9B,KAAsF,EACtF,IAAY,EACZ,OAAgB;IAEhB,MAAM,SAAS,GAAG,eAAe,CAAC,KAAK,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;IAC1D,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CAAC,OAAO,IAAI,6BAA6B,KAAK,CAAC,SAAS,kBAAkB,IAAI,QAAQ,CAAC,CAAC;IACzG,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AACD,MAAM,UAAU,eAAe,CAAC,UAAsC,EAAE,IAAY;IAClF,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;IAC1E,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvB,MAAM,IAAI,KAAK,CAAC,6CAA6C,IAAI,cAAc,CAAC,CAAC;IACnF,CAAC;IACD,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AACD,MAAM,UAAU,gBAAgB,CAAC,UAAsC,EAAE,IAAY;IACnF,OAAO,UAAU,CAAC,MAAM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I,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EACxE,WAAW,CACZ,CAAC;IACF,kBAAkB,CAChB,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,EAC1E,YAAY,CACb,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { UiStyleRef } from './ui-scene-ir.js';
|
|
2
|
+
import type { Surface } from '../ports/surface.js';
|
|
3
|
+
import type { BijouBlockArtifact, BijouBlockField, GraphqlBijouBlockDebugFieldFact, GraphqlBijouBlockDebugGroupFact } from './graphql-bijou-block.part01.js';
|
|
4
|
+
export declare function debugGroupFacts(artifact: BijouBlockArtifact): readonly GraphqlBijouBlockDebugGroupFact[];
|
|
5
|
+
export declare function debugFieldFact(field: BijouBlockField): GraphqlBijouBlockDebugFieldFact;
|
|
6
|
+
export declare function styleTokenRefs(style: UiStyleRef | undefined): readonly string[];
|
|
7
|
+
export declare function surfaceRows(surface: Surface): readonly string[];
|
|
8
|
+
export declare function sortedUniqueStrings(values: readonly string[]): readonly string[];
|
|
9
|
+
export declare function compareCodeUnits(a: string, b: string): number;
|
|
10
|
+
export declare function assertUniqueValues(values: readonly string[], label: string): void;
|
|
11
|
+
//# sourceMappingURL=graphql-bijou-block.part09.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql-bijou-block.part09.d.ts","sourceRoot":"","sources":["../../src/core/graphql-bijou-block.part09.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAEnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,+BAA+B,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAC7J,wBAAgB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,GAAG,SAAS,+BAA+B,EAAE,CAoBxG;AACD,wBAAgB,cAAc,CAAC,KAAK,EAAE,eAAe,GAAG,+BAA+B,CA6BtF;AACD,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS,GAAG,SAAS,MAAM,EAAE,CAM/E;AACD,wBAAgB,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,SAAS,MAAM,EAAE,CAW/D;AACD,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,CAEhF;AACD,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAE7D;AACD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAQjF"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export function debugGroupFacts(artifact) {
|
|
2
|
+
const groups = artifact.groups;
|
|
3
|
+
return groups.map((group) => {
|
|
4
|
+
const fact = {
|
|
5
|
+
id: group.id,
|
|
6
|
+
source: group.source,
|
|
7
|
+
childNodeIds: artifact.fields
|
|
8
|
+
.filter((field) => field.groupId === group.id)
|
|
9
|
+
.map((field) => field.nodeId),
|
|
10
|
+
};
|
|
11
|
+
if (group.label != null) {
|
|
12
|
+
fact.label = group.label;
|
|
13
|
+
}
|
|
14
|
+
return fact;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
export function debugFieldFact(field) {
|
|
18
|
+
const fact = {
|
|
19
|
+
fieldName: field.fieldName,
|
|
20
|
+
nodeId: field.nodeId,
|
|
21
|
+
source: field.source,
|
|
22
|
+
tokenRefs: styleTokenRefs(field.style),
|
|
23
|
+
};
|
|
24
|
+
if (field.groupId != null) {
|
|
25
|
+
fact.groupId = field.groupId;
|
|
26
|
+
}
|
|
27
|
+
if (field.text.kind === 'i18n') {
|
|
28
|
+
fact.i18nKey = field.text.key;
|
|
29
|
+
}
|
|
30
|
+
if (field.action != null) {
|
|
31
|
+
fact.actionId = field.action.id;
|
|
32
|
+
}
|
|
33
|
+
if (field.binding != null) {
|
|
34
|
+
fact.bindingId = field.binding.id;
|
|
35
|
+
}
|
|
36
|
+
return fact;
|
|
37
|
+
}
|
|
38
|
+
export function styleTokenRefs(style) {
|
|
39
|
+
return sortedUniqueStrings([
|
|
40
|
+
style?.fg?.token,
|
|
41
|
+
style?.bg?.token,
|
|
42
|
+
style?.border?.token,
|
|
43
|
+
].filter((token) => token != null));
|
|
44
|
+
}
|
|
45
|
+
export function surfaceRows(surface) {
|
|
46
|
+
const rows = [];
|
|
47
|
+
for (let y = 0; y < surface.height; y++) {
|
|
48
|
+
let row = '';
|
|
49
|
+
for (let x = 0; x < surface.width; x++) {
|
|
50
|
+
const cell = surface.get(x, y);
|
|
51
|
+
row += cell.empty ? ' ' : cell.char;
|
|
52
|
+
}
|
|
53
|
+
rows.push(row.trimEnd());
|
|
54
|
+
}
|
|
55
|
+
return rows;
|
|
56
|
+
}
|
|
57
|
+
export function sortedUniqueStrings(values) {
|
|
58
|
+
return [...new Set(values)].sort(compareCodeUnits);
|
|
59
|
+
}
|
|
60
|
+
export function compareCodeUnits(a, b) {
|
|
61
|
+
return a < b ? -1 : a > b ? 1 : 0;
|
|
62
|
+
}
|
|
63
|
+
export function assertUniqueValues(values, label) {
|
|
64
|
+
const seen = new Set();
|
|
65
|
+
for (const value of values) {
|
|
66
|
+
if (seen.has(value)) {
|
|
67
|
+
throw new Error(`Duplicate GraphQL Bijou block ${label}: ${value}`);
|
|
68
|
+
}
|
|
69
|
+
seen.add(value);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=graphql-bijou-block.part09.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql-bijou-block.part09.js","sourceRoot":"","sources":["../../src/core/graphql-bijou-block.part09.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,eAAe,CAAC,QAA4B;IAC1D,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC;IAC/B,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QAC1B,MAAM,IAAI,GAKN;YACF,EAAE,EAAE,KAAK,CAAC,EAAE;YACZ,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,YAAY,EAAE,QAAQ,CAAC,MAAM;iBAC1B,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,KAAK,KAAK,CAAC,EAAE,CAAC;iBAC7C,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC;SAChC,CAAC;QACF,IAAI,KAAK,CAAC,KAAK,IAAI,IAAI,EAAE,CAAC;YACxB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;QAC3B,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;AACL,CAAC;AACD,MAAM,UAAU,cAAc,CAAC,KAAsB;IACnD,MAAM,IAAI,GASN;QACF,SAAS,EAAE,KAAK,CAAC,SAAS;QAC1B,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,KAAK,CAAC;KACvC,CAAC;IACF,IAAI,KAAK,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;QAC1B,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;IAC/B,CAAC;IACD,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;QAC/B,IAAI,CAAC,OAAO,GAAG,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ACd,CAAC;AACD,MAAM,UAAU,mBAAmB,CAAC,MAAyB;IAC3D,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;AACrD,CAAC;AACD,MAAM,UAAU,gBAAgB,CAAC,CAAS,EAAE,CAAS;IACnD,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACpC,CAAC;AACD,MAAM,UAAU,kBAAkB,CAAC,MAAyB,EAAE,KAAa;IACzE,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YACpB,MAAM,IAAI,KAAK,CAAC,iCAAiC,KAAK,KAAK,KAAK,EAAE,CAAC,CAAC;QACtE,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql-bijou-block.part10.d.ts","sourceRoot":"","sources":["../../src/core/graphql-bijou-block.part10.ts"],"names":[],"mappings":"AAAA,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAe9D;AACD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAsB5D"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export function normalizeSourceName(sourceName) {
|
|
2
|
+
const trimmed = sourceName.trim();
|
|
3
|
+
if (trimmed.length === 0) {
|
|
4
|
+
throw new Error('GraphQL Bijou block sourceName cannot be empty.');
|
|
5
|
+
}
|
|
6
|
+
if (trimmed.startsWith('/')
|
|
7
|
+
|| trimmed.startsWith('\\\\')
|
|
8
|
+
|| trimmed.startsWith('//')
|
|
9
|
+
|| /^[A-Za-z]:[\\/]/.test(trimmed)
|
|
10
|
+
|| trimmed.includes('\0')) {
|
|
11
|
+
throw new Error('GraphQL Bijou block sourceName must be a relative or logical name.');
|
|
12
|
+
}
|
|
13
|
+
return trimmed;
|
|
14
|
+
}
|
|
15
|
+
export function stripGraphqlLineComment(line) {
|
|
16
|
+
let quoted = false;
|
|
17
|
+
let escaped = false;
|
|
18
|
+
for (let index = 0; index < line.length; index++) {
|
|
19
|
+
const char = line.charAt(index);
|
|
20
|
+
if (escaped) {
|
|
21
|
+
escaped = false;
|
|
22
|
+
continue;
|
|
23
|
+
}
|
|
24
|
+
if (char === '\\') {
|
|
25
|
+
escaped = true;
|
|
26
|
+
continue;
|
|
27
|
+
}
|
|
28
|
+
if (char === '"') {
|
|
29
|
+
quoted = !quoted;
|
|
30
|
+
continue;
|
|
31
|
+
}
|
|
32
|
+
if (!quoted && char === '#') {
|
|
33
|
+
return line.slice(0, index);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return line;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=graphql-bijou-block.part10.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql-bijou-block.part10.js","sourceRoot":"","sources":["../../src/core/graphql-bijou-block.part10.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,mBAAmB,CAAC,UAAkB;IACpD,MAAM,OAAO,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC;IAClC,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;IACrE,CAAC;IACD,IACE,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC;WACpB,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC;WAC1B,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC;WACxB,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC;WAC/B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EACzB,CAAC;QACD,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;IACxF,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AACD,MAAM,UAAU,uBAAuB,CAAC,IAAY;IAClD,IAAI,MAAM,GAAG,KAAK,CAAC;IACnB,IAAI,OAAO,GAAG,KAAK,CAAC;IACpB,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QACjD,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAChC,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,GAAG,KAAK,CAAC;YAChB,SAAS;QACX,CAAC;QACD,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAClB,OAAO,GAAG,IAAI,CAAC;YACf,SAAS;QACX,CAAC;QACD,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC;YACjB,MAAM,GAAG,CAAC,MAAM,CAAC;YACjB,SAAS;QACX,CAAC;QACD,IAAI,CAAC,MAAM,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC;YAC5B,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
import { compileGraphqlBijouBlock, createGraphqlBijouBlockDebugSummary, lowerBijouBlockToUiScene } from './graphql-bijou-block.js';
|
|
3
|
+
import { hashUiSceneValue, lowerUiSceneToTerminalProof, validateUiSceneIr, type UiSceneIr } from './ui-scene-ir.js';
|
|
4
|
+
import { must } from '../adapters/test/index.js';
|
|
5
|
+
declare const releaseTitleSdl = "\ntype ReleaseTitle\n @bijouBlock(id: \"release.title\", component: \"ReleaseTitleBlock\")\n @bijouTarget(kind: \"bijou-terminal\", cols: 40, rows: 5) {\n heading: String!\n @bijouText(id: \"heading\", x: 2, y: 1)\n @bijouI18n(key: \"release.title.heading\", fallback: \"Bijou\")\n @bijouToken(fg: \"semantic.title.fg\")\n openNotes: String\n @bijouAction(id: \"release.openNotes\", command: \"release.openNotes\", key: \"Enter\")\n @bijouText(id: \"open-notes\", x: 2, y: 3)\n @bijouI18n(key: \"release.title.openNotes\", fallback: \"Open release notes\")\n @bijouToken(fg: \"semantic.action.fg\", bg: \"semantic.action.bg\")\n}\n";
|
|
6
|
+
declare const releaseTitleSdlWithDifferentWhitespace = "\ntype ReleaseTitle\n @bijouBlock( id: \"release.title\", component: \"ReleaseTitleBlock\" )\n @bijouTarget( kind: \"bijou-terminal\", cols: 40, rows: 5 ) {\n heading: String!\n @bijouText( id: \"heading\", x: 2, y: 1 )\n @bijouI18n( key: \"release.title.heading\", fallback: \"Bijou\" )\n @bijouToken( fg: \"semantic.title.fg\" )\n openNotes: String\n @bijouAction( id: \"release.openNotes\", command: \"release.openNotes\", key: \"Enter\" )\n @bijouText( id: \"open-notes\", x: 2, y: 3 )\n @bijouI18n( key: \"release.title.openNotes\", fallback: \"Open release notes\" )\n @bijouToken( fg: \"semantic.action.fg\", bg: \"semantic.action.bg\" )\n}\n";
|
|
7
|
+
declare const releaseCardSdl = "\ntype ReleaseCard\n @bijouBlock(id: \"release.card\", component: \"ReleaseCardBlock\")\n @bijouTarget(kind: \"bijou-terminal\", cols: 48, rows: 8)\n @bijouGroup(id: \"release.card.header\", label: \"Header\", x: 1, y: 1, width: 46, height: 3)\n @bijouGroup(id: \"release.card.footer\", label: \"Footer\", x: 1, y: 5, width: 46, height: 2) {\n heading: String!\n @bijouText(id: \"heading\", group: \"release.card.header\", x: 2, y: 1)\n @bijouI18n(key: \"release.card.heading\", fallback: \"Bijou\")\n @bijouToken(fg: \"semantic.title.fg\")\n openNotes: String\n @bijouText(id: \"open-notes\", group: \"release.card.footer\", x: 2, y: 5)\n @bijouAction(id: \"release.openNotes\", command: \"release.openNotes\", key: \"Enter\")\n @bijouBind(id: \"release.openNotes.label\", kind: \"state\", path: \"release.openNotesLabel\")\n @bijouI18n(key: \"release.card.openNotes\", fallback: \"Open release notes\")\n @bijouToken(fg: \"semantic.action.fg\", bg: \"semantic.action.bg\")\n}\n";
|
|
8
|
+
declare const releaseCardSdlWithDifferentWhitespace = "\ntype ReleaseCard\n @bijouBlock( id: \"release.card\", component: \"ReleaseCardBlock\" )\n @bijouTarget( kind: \"bijou-terminal\", cols: 48, rows: 8 )\n @bijouGroup( id: \"release.card.header\", label: \"Header\", x: 1, y: 1, width: 46, height: 3 )\n @bijouGroup( id: \"release.card.footer\", label: \"Footer\", x: 1, y: 5, width: 46, height: 2 ) {\n heading: String!\n @bijouText( id: \"heading\", group: \"release.card.header\", x: 2, y: 1 )\n @bijouI18n( key: \"release.card.heading\", fallback: \"Bijou\" )\n @bijouToken( fg: \"semantic.title.fg\" )\n openNotes: String\n @bijouText( id: \"open-notes\", group: \"release.card.footer\", x: 2, y: 5 )\n @bijouAction( id: \"release.openNotes\", command: \"release.openNotes\", key: \"Enter\" )\n @bijouBind( id: \"release.openNotes.label\", kind: \"state\", path: \"release.openNotesLabel\" )\n @bijouI18n( key: \"release.card.openNotes\", fallback: \"Open release notes\" )\n @bijouToken( fg: \"semantic.action.fg\", bg: \"semantic.action.bg\" )\n}\n";
|
|
9
|
+
declare function rowText(surface: {
|
|
10
|
+
get(x: number, y: number): {
|
|
11
|
+
char: string;
|
|
12
|
+
empty?: boolean;
|
|
13
|
+
};
|
|
14
|
+
width: number;
|
|
15
|
+
}, y: number): string;
|
|
16
|
+
export { compileGraphqlBijouBlock, createGraphqlBijouBlockDebugSummary, describe, expect, hashUiSceneValue, it, lowerBijouBlockToUiScene, lowerUiSceneToTerminalProof, must, releaseCardSdl, releaseCardSdlWithDifferentWhitespace, releaseTitleSdl, releaseTitleSdlWithDifferentWhitespace, rowText, validateUiSceneIr, };
|
|
17
|
+
export type { UiSceneIr };
|
|
18
|
+
//# sourceMappingURL=graphql-bijou-block.test-support.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql-bijou-block.test-support.d.ts","sourceRoot":"","sources":["../../src/core/graphql-bijou-block.test-support.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,mCAAmC,EACnC,wBAAwB,EACzB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,gBAAgB,EAChB,2BAA2B,EAC3B,iBAAiB,EACjB,KAAK,SAAS,EACf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACjD,QAAA,MAAM,eAAe,qpBAcpB,CAAC;AACF,QAAA,MAAM,sCAAsC,4qBAc3C,CAAC;AACF,QAAA,MAAM,cAAc,s/BAiBnB,CAAC;AACF,QAAA,MAAM,qCAAqC,mhCAiB1C,CAAC;AACF,iBAAS,OAAO,CAAC,OAAO,EAAE;IAAE,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAO5H;AACD,OAAO,EACL,wBAAwB,EACxB,mCAAmC,EACnC,QAAQ,EACR,MAAM,EACN,gBAAgB,EAChB,EAAE,EACF,wBAAwB,EACxB,2BAA2B,EAC3B,IAAI,EACJ,cAAc,EACd,qCAAqC,EACrC,eAAe,EACf,sCAAsC,EACtC,OAAO,EACP,iBAAiB,GAClB,CAAC;AACF,YAAY,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
import { compileGraphqlBijouBlock, createGraphqlBijouBlockDebugSummary, lowerBijouBlockToUiScene, } from './graphql-bijou-block.js';
|
|
3
|
+
import { hashUiSceneValue, lowerUiSceneToTerminalProof, validateUiSceneIr, } from './ui-scene-ir.js';
|
|
4
|
+
import { must } from '../adapters/test/index.js';
|
|
5
|
+
const releaseTitleSdl = `
|
|
6
|
+
type ReleaseTitle
|
|
7
|
+
@bijouBlock(id: "release.title", component: "ReleaseTitleBlock")
|
|
8
|
+
@bijouTarget(kind: "bijou-terminal", cols: 40, rows: 5) {
|
|
9
|
+
heading: String!
|
|
10
|
+
@bijouText(id: "heading", x: 2, y: 1)
|
|
11
|
+
@bijouI18n(key: "release.title.heading", fallback: "Bijou")
|
|
12
|
+
@bijouToken(fg: "semantic.title.fg")
|
|
13
|
+
openNotes: String
|
|
14
|
+
@bijouAction(id: "release.openNotes", command: "release.openNotes", key: "Enter")
|
|
15
|
+
@bijouText(id: "open-notes", x: 2, y: 3)
|
|
16
|
+
@bijouI18n(key: "release.title.openNotes", fallback: "Open release notes")
|
|
17
|
+
@bijouToken(fg: "semantic.action.fg", bg: "semantic.action.bg")
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
20
|
+
const releaseTitleSdlWithDifferentWhitespace = `
|
|
21
|
+
type ReleaseTitle
|
|
22
|
+
@bijouBlock( id: "release.title", component: "ReleaseTitleBlock" )
|
|
23
|
+
@bijouTarget( kind: "bijou-terminal", cols: 40, rows: 5 ) {
|
|
24
|
+
heading: String!
|
|
25
|
+
@bijouText( id: "heading", x: 2, y: 1 )
|
|
26
|
+
@bijouI18n( key: "release.title.heading", fallback: "Bijou" )
|
|
27
|
+
@bijouToken( fg: "semantic.title.fg" )
|
|
28
|
+
openNotes: String
|
|
29
|
+
@bijouAction( id: "release.openNotes", command: "release.openNotes", key: "Enter" )
|
|
30
|
+
@bijouText( id: "open-notes", x: 2, y: 3 )
|
|
31
|
+
@bijouI18n( key: "release.title.openNotes", fallback: "Open release notes" )
|
|
32
|
+
@bijouToken( fg: "semantic.action.fg", bg: "semantic.action.bg" )
|
|
33
|
+
}
|
|
34
|
+
`;
|
|
35
|
+
const releaseCardSdl = `
|
|
36
|
+
type ReleaseCard
|
|
37
|
+
@bijouBlock(id: "release.card", component: "ReleaseCardBlock")
|
|
38
|
+
@bijouTarget(kind: "bijou-terminal", cols: 48, rows: 8)
|
|
39
|
+
@bijouGroup(id: "release.card.header", label: "Header", x: 1, y: 1, width: 46, height: 3)
|
|
40
|
+
@bijouGroup(id: "release.card.footer", label: "Footer", x: 1, y: 5, width: 46, height: 2) {
|
|
41
|
+
heading: String!
|
|
42
|
+
@bijouText(id: "heading", group: "release.card.header", x: 2, y: 1)
|
|
43
|
+
@bijouI18n(key: "release.card.heading", fallback: "Bijou")
|
|
44
|
+
@bijouToken(fg: "semantic.title.fg")
|
|
45
|
+
openNotes: String
|
|
46
|
+
@bijouText(id: "open-notes", group: "release.card.footer", x: 2, y: 5)
|
|
47
|
+
@bijouAction(id: "release.openNotes", command: "release.openNotes", key: "Enter")
|
|
48
|
+
@bijouBind(id: "release.openNotes.label", kind: "state", path: "release.openNotesLabel")
|
|
49
|
+
@bijouI18n(key: "release.card.openNotes", fallback: "Open release notes")
|
|
50
|
+
@bijouToken(fg: "semantic.action.fg", bg: "semantic.action.bg")
|
|
51
|
+
}
|
|
52
|
+
`;
|
|
53
|
+
const releaseCardSdlWithDifferentWhitespace = `
|
|
54
|
+
type ReleaseCard
|
|
55
|
+
@bijouBlock( id: "release.card", component: "ReleaseCardBlock" )
|
|
56
|
+
@bijouTarget( kind: "bijou-terminal", cols: 48, rows: 8 )
|
|
57
|
+
@bijouGroup( id: "release.card.header", label: "Header", x: 1, y: 1, width: 46, height: 3 )
|
|
58
|
+
@bijouGroup( id: "release.card.footer", label: "Footer", x: 1, y: 5, width: 46, height: 2 ) {
|
|
59
|
+
heading: String!
|
|
60
|
+
@bijouText( id: "heading", group: "release.card.header", x: 2, y: 1 )
|
|
61
|
+
@bijouI18n( key: "release.card.heading", fallback: "Bijou" )
|
|
62
|
+
@bijouToken( fg: "semantic.title.fg" )
|
|
63
|
+
openNotes: String
|
|
64
|
+
@bijouText( id: "open-notes", group: "release.card.footer", x: 2, y: 5 )
|
|
65
|
+
@bijouAction( id: "release.openNotes", command: "release.openNotes", key: "Enter" )
|
|
66
|
+
@bijouBind( id: "release.openNotes.label", kind: "state", path: "release.openNotesLabel" )
|
|
67
|
+
@bijouI18n( key: "release.card.openNotes", fallback: "Open release notes" )
|
|
68
|
+
@bijouToken( fg: "semantic.action.fg", bg: "semantic.action.bg" )
|
|
69
|
+
}
|
|
70
|
+
`;
|
|
71
|
+
function rowText(surface, y) {
|
|
72
|
+
let text = '';
|
|
73
|
+
for (let x = 0; x < surface.width; x++) {
|
|
74
|
+
const cell = surface.get(x, y);
|
|
75
|
+
text += cell.empty ? ' ' : cell.char;
|
|
76
|
+
}
|
|
77
|
+
return text.trimEnd();
|
|
78
|
+
}
|
|
79
|
+
export { compileGraphqlBijouBlock, createGraphqlBijouBlockDebugSummary, describe, expect, hashUiSceneValue, it, lowerBijouBlockToUiScene, lowerUiSceneToTerminalProof, must, releaseCardSdl, releaseCardSdlWithDifferentWhitespace, releaseTitleSdl, releaseTitleSdlWithDifferentWhitespace, rowText, validateUiSceneIr, };
|
|
80
|
+
//# sourceMappingURL=graphql-bijou-block.test-support.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql-bijou-block.test-support.js","sourceRoot":"","sources":["../../src/core/graphql-bijou-block.test-support.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,mCAAmC,EACnC,wBAAwB,GACzB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,gBAAgB,EAChB,2BAA2B,EA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