@oh-just-another/templates 0.57.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/CHANGELOG.md +15 -0
- package/LICENSE +21 -0
- package/README.md +73 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/built-in.d.ts +16 -0
- package/dist/built-in.d.ts.map +1 -0
- package/dist/built-in.js +204 -0
- package/dist/built-in.js.map +1 -0
- package/dist/constants.d.ts +11 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +11 -0
- package/dist/constants.js.map +1 -0
- package/dist/icons.d.ts +21 -0
- package/dist/icons.d.ts.map +1 -0
- package/dist/icons.js +24 -0
- package/dist/icons.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/library.d.ts +29 -0
- package/dist/library.d.ts.map +1 -0
- package/dist/library.js +60 -0
- package/dist/library.js.map +1 -0
- package/dist/registry.d.ts +27 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +48 -0
- package/dist/registry.js.map +1 -0
- package/dist/rich/binding.d.ts +10 -0
- package/dist/rich/binding.d.ts.map +1 -0
- package/dist/rich/binding.js +42 -0
- package/dist/rich/binding.js.map +1 -0
- package/dist/rich/bounds.d.ts +16 -0
- package/dist/rich/bounds.d.ts.map +1 -0
- package/dist/rich/bounds.js +13 -0
- package/dist/rich/bounds.js.map +1 -0
- package/dist/rich/define.d.ts +44 -0
- package/dist/rich/define.d.ts.map +1 -0
- package/dist/rich/define.js +3 -0
- package/dist/rich/define.js.map +1 -0
- package/dist/rich/drop-zones.d.ts +25 -0
- package/dist/rich/drop-zones.d.ts.map +1 -0
- package/dist/rich/drop-zones.js +63 -0
- package/dist/rich/drop-zones.js.map +1 -0
- package/dist/rich/extends.d.ts +35 -0
- package/dist/rich/extends.d.ts.map +1 -0
- package/dist/rich/extends.js +46 -0
- package/dist/rich/extends.js.map +1 -0
- package/dist/rich/hit-test.d.ts +14 -0
- package/dist/rich/hit-test.d.ts.map +1 -0
- package/dist/rich/hit-test.js +53 -0
- package/dist/rich/hit-test.js.map +1 -0
- package/dist/rich/index.d.ts +22 -0
- package/dist/rich/index.d.ts.map +1 -0
- package/dist/rich/index.js +15 -0
- package/dist/rich/index.js.map +1 -0
- package/dist/rich/interactive.d.ts +44 -0
- package/dist/rich/interactive.d.ts.map +1 -0
- package/dist/rich/interactive.js +80 -0
- package/dist/rich/interactive.js.map +1 -0
- package/dist/rich/layout.d.ts +44 -0
- package/dist/rich/layout.d.ts.map +1 -0
- package/dist/rich/layout.js +418 -0
- package/dist/rich/layout.js.map +1 -0
- package/dist/rich/node.d.ts +96 -0
- package/dist/rich/node.d.ts.map +1 -0
- package/dist/rich/node.js +7 -0
- package/dist/rich/node.js.map +1 -0
- package/dist/rich/ports.d.ts +19 -0
- package/dist/rich/ports.d.ts.map +1 -0
- package/dist/rich/ports.js +52 -0
- package/dist/rich/ports.js.map +1 -0
- package/dist/rich/registry.d.ts +19 -0
- package/dist/rich/registry.d.ts.map +1 -0
- package/dist/rich/registry.js +35 -0
- package/dist/rich/registry.js.map +1 -0
- package/dist/rich/render.d.ts +19 -0
- package/dist/rich/render.d.ts.map +1 -0
- package/dist/rich/render.js +306 -0
- package/dist/rich/render.js.map +1 -0
- package/dist/rich/style.d.ts +126 -0
- package/dist/rich/style.d.ts.map +1 -0
- package/dist/rich/style.js +35 -0
- package/dist/rich/style.js.map +1 -0
- package/dist/rich/svg.d.ts +90 -0
- package/dist/rich/svg.d.ts.map +1 -0
- package/dist/rich/svg.js +415 -0
- package/dist/rich/svg.js.map +1 -0
- package/dist/spec.d.ts +2789 -0
- package/dist/spec.d.ts.map +1 -0
- package/dist/spec.js +239 -0
- package/dist/spec.js.map +1 -0
- package/dist/types.d.ts +57 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +57 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# @oh-just-another/templates
|
|
2
|
+
|
|
3
|
+
## 0.57.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Version bump just for publishing.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @oh-just-another/renderer-core@0.57.0
|
|
13
|
+
- @oh-just-another/scene@0.57.0
|
|
14
|
+
- @oh-just-another/tokens@0.57.0
|
|
15
|
+
- @oh-just-another/types@0.57.0
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Rustam Garifulin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# @oh-just-another/templates
|
|
2
|
+
|
|
3
|
+
L2 palette presets for `@oh-just-another/scene`. A `Template` is a factory for an element — given a runtime context (id / layer / position / order) it returns a typed `Element`. Templates have an SVG icon for the palette and live in a registry that the host UI iterates.
|
|
4
|
+
|
|
5
|
+
**Phase 6a** covers simple presets (one element per template). **Phase 6b** adds rich templates — nested node-trees with flex layout, data binding, and interactive sub-elements (buttons, drop-zones). Both reuse the same `loadTemplateLibrary` JSON entry point.
|
|
6
|
+
|
|
7
|
+
The rich-template surface is exported under `rich.*` (`import { rich } from "@oh-just-another/templates"`) and includes `TemplateNode` types, `layoutTree`, `defineRichTemplate`, `defaultRichRegistry`, `installTemplateShapeRenderer`, `templateInteractiveHitTester` and the hit-test helpers.
|
|
8
|
+
|
|
9
|
+
## Quick start
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
import { installBuiltinRenderers } from "@oh-just-another/renderer-canvas";
|
|
13
|
+
import {
|
|
14
|
+
defaultRegistry,
|
|
15
|
+
installBuiltinTemplates,
|
|
16
|
+
loadTemplateLibrary,
|
|
17
|
+
} from "@oh-just-another/templates";
|
|
18
|
+
|
|
19
|
+
installBuiltinRenderers();
|
|
20
|
+
installBuiltinTemplates(); // 12 built-ins under basic + flowchart
|
|
21
|
+
loadTemplateLibrary(myLibraryJson); // programmatic .json import
|
|
22
|
+
|
|
23
|
+
const template = defaultRegistry.get("flowchart.process")!;
|
|
24
|
+
const element = template.factory({
|
|
25
|
+
id: elementId("my-id"),
|
|
26
|
+
layerId: DEFAULT_LAYER_ID,
|
|
27
|
+
position: { x: 100, y: 100 },
|
|
28
|
+
order: orderForTop([]),
|
|
29
|
+
});
|
|
30
|
+
editor.addElement(element);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## JSON library format
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"format": "oh-just-another/template-library",
|
|
38
|
+
"version": 1,
|
|
39
|
+
"templates": [
|
|
40
|
+
{
|
|
41
|
+
"id": "mylib.cloud",
|
|
42
|
+
"name": "Cloud",
|
|
43
|
+
"category": "custom",
|
|
44
|
+
"icon": "<svg>...</svg>",
|
|
45
|
+
"blueprint": { "type": "polygon", "style": {...}, "points": [...] }
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
- `blueprint` is everything about the element **except** identity fields (id, layerId, position, rotation, scale, order) — those come from the runtime `TemplateContext`.
|
|
52
|
+
- All six built-in element types are supported in `blueprint` (rectangle / ellipse / polygon / path / text / image).
|
|
53
|
+
|
|
54
|
+
## API
|
|
55
|
+
|
|
56
|
+
| Name | Purpose |
|
|
57
|
+
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|
|
58
|
+
| `Template`, `TemplateContext`, `Category`, `StandardCategory` | Core types. |
|
|
59
|
+
| `TemplateRegistry`, `defaultRegistry` | In-process registry. `register` / `replace` / `get` / `has` / `list` / `byCategory` / `categories` / `clear`. |
|
|
60
|
+
| `BUILTIN_TEMPLATES`, `installBuiltinTemplates(registry?)` | Built-in basic + flowchart presets. |
|
|
61
|
+
| `TemplateSpec`, `TemplateLibrarySpec`, `ShapeBlueprint` | JSON spec types. |
|
|
62
|
+
| `templateFromSpec(spec)` | Reconstruct a callable `Template` from a spec. |
|
|
63
|
+
| `parseTemplateLibrary(input)` / `templatesFromLibrary(lib)` / `loadTemplateLibrary(input, registry?, { replace? })` | Programmatic library import. `loadTemplateLibrary` validates + materialises + registers in one call. |
|
|
64
|
+
| `TemplateLibraryError` | Thrown on invalid input. `reason` carries the underlying `ZodError`. |
|
|
65
|
+
| `icons.*` | Inline SVG icons used by the built-ins; re-exportable for custom palettes. |
|
|
66
|
+
|
|
67
|
+
## Design notes
|
|
68
|
+
|
|
69
|
+
- **Templates own factories, not element data.** A factory closes over a static blueprint plus a tiny runtime context. JSON specs serialise the blueprint; the runtime factory is reconstructed on import via `templateFromSpec`.
|
|
70
|
+
- **One registry per app.** The `defaultRegistry` singleton is enough for almost every host; advanced cases (multi-tenant editors, plugin sandboxes) build their own `TemplateRegistry`.
|
|
71
|
+
- **Built-in icons are inline SVG.** No external image deps; trivially replaceable via `registry.replace({ ...template, icon })`.
|
|
72
|
+
- **`category` is `string`.** `"basic"` and `"flowchart"` are conventions surfaced as `StandardCategory`; plugins are free to introduce their own category name.
|
|
73
|
+
- **`installBuiltinTemplates()` is explicit.** Same trade-off as `installBuiltinRenderers()` — keeps `sideEffects: false` and gives the host control over what's available.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../types/dist/vec2.d.ts","../../types/dist/bounds.d.ts","../../types/dist/transform.d.ts","../../types/dist/color.d.ts","../../types/dist/ids.d.ts","../../types/dist/events.d.ts","../../types/dist/index.d.ts","../../scene/dist/style.d.ts","../../scene/dist/constants.d.ts","../../../node_modules/.pnpm/fractional-keys@0.1.1/node_modules/fractional-keys/dist/types.d.ts","../../../node_modules/.pnpm/fractional-keys@0.1.1/node_modules/fractional-keys/dist/generate.d.ts","../../../node_modules/.pnpm/fractional-keys@0.1.1/node_modules/fractional-keys/dist/jitter.d.ts","../../../node_modules/.pnpm/fractional-keys@0.1.1/node_modules/fractional-keys/dist/digits.d.ts","../../../node_modules/.pnpm/fractional-keys@0.1.1/node_modules/fractional-keys/dist/errors.d.ts","../../../node_modules/.pnpm/fractional-keys@0.1.1/node_modules/fractional-keys/dist/index.d.ts","../../scene/dist/edge.d.ts","../../scene/dist/shape.d.ts","../../scene/dist/edge-curve.d.ts","../../scene/dist/annotation.d.ts","../../scene/dist/file.d.ts","../../scene/dist/layer.d.ts","../../scene/dist/viewport.d.ts","../../scene/dist/patch.d.ts","../../scene/dist/scene.d.ts","../../scene/dist/edge-geometry.d.ts","../../scene/dist/operations.d.ts","../../scene/dist/render-bounds.d.ts","../../scene/dist/text-measure.d.ts","../../scene/dist/anchors.d.ts","../../scene/dist/snap.d.ts","../../scene/dist/outline.d.ts","../../scene/dist/annotation-geometry.d.ts","../../scene/dist/spatial.d.ts","../../scene/dist/queries.d.ts","../../scene/dist/a11y.d.ts","../../scene/dist/layout.d.ts","../../scene/dist/layout-registry.d.ts","../../scene/dist/elbow-router.d.ts","../../scene/dist/elbow-link.d.ts","../../scene/dist/heading.d.ts","../../scene/dist/diff.d.ts","../../scene/dist/three-way-merge.d.ts","../../scene/dist/container.d.ts","../../scene/dist/index.d.ts","../../tokens/dist/colors.d.ts","../../tokens/dist/index.d.ts","../src/constants.ts","../src/icons.ts","../src/types.ts","../src/registry.ts","../src/built-in.ts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/typealiases.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/index.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/zoderror.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/enumutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/partialutil.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/standard-schema.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.d.cts","../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/index.d.cts","../src/rich/style.ts","../src/rich/node.ts","../src/rich/layout.ts","../src/rich/ports.ts","../src/rich/drop-zones.ts","../src/rich/define.ts","../src/rich/registry.ts","../src/spec.ts","../src/library.ts","../src/rich/binding.ts","../src/rich/bounds.ts","../src/rich/extends.ts","../../renderer-core/dist/render-target.d.ts","../../renderer-core/dist/shape-renderer.d.ts","../../renderer-core/dist/layers.d.ts","../../renderer-core/dist/shape-cache.d.ts","../../renderer-core/dist/layer-cache-composite.d.ts","../../renderer-core/dist/scene-renderer.d.ts","../../renderer-core/dist/edge-cache.d.ts","../../renderer-core/dist/edge-cache-bitmap.d.ts","../../renderer-core/dist/edge-renderer.d.ts","../../renderer-core/dist/grid-renderer.d.ts","../../renderer-core/dist/built-in-renderers.d.ts","../../renderer-core/dist/text-shaper.d.ts","../../renderer-core/dist/text-layout.d.ts","../../renderer-core/dist/text-editing.d.ts","../../renderer-core/dist/shape-cache-bitmap.d.ts","../../renderer-core/dist/animation-adapter.d.ts","../../renderer-core/dist/rasterizer.d.ts","../../renderer-core/dist/js-rasterizer.d.ts","../../renderer-core/dist/worker-render.d.ts","../../renderer-core/dist/tile-renderer.d.ts","../../renderer-core/dist/constants.d.ts","../../renderer-core/dist/index.d.ts","../src/rich/svg.ts","../src/rich/render.ts","../src/rich/hit-test.ts","../src/rich/interactive.ts","../src/rich/index.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.19.19/node_modules/@types/node/index.d.ts"],"fileIdsList":[[168,214,215,217,234,235],[168,216,217,234,235],[217,234,235],[168,217,222,234,235,252],[168,217,218,223,228,234,235,237,249,260],[168,217,218,219,228,234,235,237],[168,217,234,235],[163,164,165,168,217,234,235],[168,217,220,234,235,261],[168,217,221,222,229,234,235,238],[168,217,222,234,235,249,257],[168,217,223,225,228,234,235,237],[168,216,217,224,234,235],[168,217,225,226,234,235],[168,217,227,228,234,235],[168,216,217,228,234,235],[168,217,228,229,230,234,235,249,260],[168,217,228,229,230,234,235,244,249,252],[168,210,217,225,228,231,234,235,237,249,260],[168,217,228,229,231,232,234,235,237,249,257,260],[168,217,231,233,234,235,249,257,260],[166,167,168,169,170,171,172,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266],[168,217,228,234,235],[168,217,234,235,236,260],[168,217,225,228,234,235,237,249],[168,217,234,235,238],[168,217,234,235,239],[168,216,217,234,235,240],[168,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266],[168,217,234,235,242],[168,217,234,235,243],[168,217,228,234,235,244,245],[168,217,234,235,244,246,261,263],[168,217,229,234,235],[168,217,228,234,235,249,250,252],[168,217,234,235,251,252],[168,217,234,235,249,250],[168,217,234,235,252],[168,217,234,235,253],[168,214,217,234,235,249,254,260],[168,217,228,234,235,255,256],[168,217,234,235,255,256],[168,217,222,234,235,237,249,257],[168,217,234,235,258],[168,217,234,235,237,259],[168,217,231,234,235,243,260],[168,217,222,234,235,261],[168,217,234,235,249,262],[168,217,234,235,236,263],[168,217,234,235,264],[168,210,217,234,235],[168,210,217,228,230,234,235,240,249,252,260,262,263,265],[168,217,234,235,249,266],[67,168,217,234,235],[67,68,69,70,71,168,217,234,235],[168,182,186,217,234,235,260],[168,182,217,234,235,249,260],[168,177,217,234,235],[168,179,182,217,234,235,257,260],[168,217,234,235,237,257],[168,217,234,235,267],[168,177,217,234,235,267],[168,179,182,217,234,235,237,260],[168,174,175,178,181,217,228,234,235,249,260],[168,182,189,217,234,235],[168,174,180,217,234,235],[168,182,203,204,217,234,235],[168,178,182,217,234,235,252,260,267],[168,203,217,234,235,267],[168,176,177,217,234,235,267],[168,182,217,234,235],[168,176,177,178,179,180,181,182,183,184,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,204,205,206,207,208,209,217,234,235],[168,182,197,217,234,235],[168,182,189,190,217,234,235],[168,180,182,190,191,217,234,235],[168,181,217,234,235],[168,174,177,182,217,234,235],[168,182,186,190,191,217,234,235],[168,186,217,234,235],[168,180,182,185,217,234,235,260],[168,174,179,182,189,217,234,235],[168,217,234,235,249],[168,177,182,203,217,234,235,265,267],[121,168,217,234,235],[112,113,168,217,234,235],[109,110,112,114,115,120,168,217,234,235],[110,112,168,217,234,235],[120,168,217,234,235],[112,168,217,234,235],[109,110,112,115,116,117,118,119,168,217,234,235],[109,110,111,168,217,234,235],[140,168,217,234,235],[101,168,217,234,235],[64,101,168,217,234,235],[64,101,135,141,142,168,217,234,235],[101,135,168,217,234,235],[135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,168,217,234,235],[151,168,217,234,235],[64,168,217,234,235],[64,101,135,138,139,168,217,234,235],[135,168,217,234,235],[135,146,168,217,234,235],[74,168,217,234,235],[64,73,74,168,217,234,235],[64,76,81,168,217,234,235],[64,74,81,168,217,234,235],[64,81,168,217,234,235],[64,73,75,81,168,217,234,235],[64,65,72,168,217,234,235],[64,73,81,168,217,234,235],[64,74,168,217,234,235],[65,66,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,168,217,234,235],[64,72,168,217,234,235],[64,80,81,168,217,234,235],[64,74,80,81,168,217,234,235],[64,73,74,76,78,79,80,81,168,217,234,235],[64,73,74,76,77,78,79,168,217,234,235],[64,73,74,78,81,90,168,217,234,235],[64,72,73,74,76,77,78,79,80,168,217,234,235],[64,65,72,73,168,217,234,235],[64,101,103,105,106,107,168,217,234,235],[104,168,217,234,235],[104,105,106,107,108,130,131,161,168,217,234,235],[106,107,122,130,168,217,234,235],[106,168,217,234,235],[124,168,217,234,235],[64,124,125,132,168,217,234,235],[64,125,168,217,234,235],[128,168,217,234,235],[64,124,125,168,217,234,235],[123,124,125,126,127,128,129,132,133,134,157,158,159,160,168,217,234,235],[64,101,125,129,132,159,168,217,234,235],[64,123,124,168,217,234,235],[123,168,217,234,235],[101,125,168,217,234,235],[64,101,123,124,125,127,129,132,156,157,168,217,234,235],[156,168,217,234,235],[101,106,122,123,124,125,126,127,129,168,217,234,235],[64,72,101,168,217,234,235],[102,168,217,234,235],[58,168,217,234,235],[58,59,60,61,62,63,168,217,234,235]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},"a9dc2e59fb40b94411bd995a0013c15385b99599a18b7141cf3eafd80c7f0f96","4015dc819b09b93f989d4df8f1f0f36cb99cb2aad8102ab8b4b27fb6020beb5f","ed06a7b359e2125c375f6bada6631fd038473dd624309b8a43a824693a6f6c89","46fa0b276ad58dc963c574f72bb9456b881f3d61bc0fe6827c24f3f02baa6038","1f0260dbafda11af88b11f1b6d662ee45517d44c8cc9a7248bd61d2d8ab1f880","502657b9a54e290098ba4f955efa476b91648b24d5310b8c6e7aa0d4cf8945ae","90755de39a18e2894ad3cced6cdf4cb670e09868b01a6f6465af558d865bf848","b8e3c1f3a85e05bcbc56fa28558cffc68ac40e4158afdc2d702ea825ce21d14d","c196961c4aa13e3bf28a7e56ac7fa0b0cbfc668eca4496292d629dd18f43296b",{"version":"bce89d3ef847715b91ffd525a157c779be8fafebe823671815f7ce96f27afcda","impliedFormat":99},{"version":"c67f9d85070618f586d632cf184b986eb604f426b90aa68ecdad1ac68ca3151c","impliedFormat":99},{"version":"c656cc6ded557aff87a6c823142852e3548c6a14f84bb48ee35c3e57b6ebc03b","impliedFormat":99},{"version":"0e34130243c29d8d826f868c4e00ff586b349627cb241b3d89f0459a6cdeff4d","impliedFormat":99},{"version":"d555c6cb465cc5cf8127adbbc496720d5200c9dfafa777bbf9dfdea74ebfe3a3","impliedFormat":99},{"version":"27a6936a863edf777150af3ebc65939fa34f51d68385f8a7f198d8ea53685a4d","impliedFormat":99},"17ee722c53770caad5479081a3db9f0df8135a8f061ea9ce57a507ca0c424cce","78bde316dcb094df77d06b893e0b965d318ac5708d09e7cf6206931263be32e6","d081374b0bf74e2748138e8b0a56458e12e2ee7bd07fb239b92c97a33bba8d70","b85f83aa4b7fb1abc375a73cb706295a146b9f22cf9fa5ec89105fcff6ea1495","fd0cd0a179e95f7d4d5f7370209f6b413006242a045137d33ca230ae015ba760","fa716666e5bedc99e38d37def5182924b9dd9e6298c2751f8cebe0fc631ef697","48280d2635c39dd226b7e5bb71d0519f355b60d4d92e9f6b5b4a427aa28412f8","8bdcd8a58fead736e81808193884907482c8d354f13a0516e9b236a07622c727","8ebfa15cb2e79b885a21ae5f92507b5b9dd9b01041143554903c163f86611849","4233c4d8ac9cb79b3b71e4923eb486f08f5f2c6508fc177192081a402bee38b3","dfa88df7638cc24634255691d0a3fb72a4910b73211da89fab8f2362730cb3b2","75ea946ee4d31489f494b0def56b2db669c3aac052713387d6edc51dc2ca86db","26ce9aa6f798212e39770c45142239f3a54fa63697ba90bae90c6d7ac7da825a","eceda86937454d399a4e4cd4a3e25835a4ac80ab930f399b20f53d8f1c772457","8b12bcaa49f76ee1ce7f77943a297078dba53abedd344da6d370012eab482c07","ebfed381c5296dbb1ebae8265ca08dbce33929fa829f6ac11f2f591beb1f4485","ae557ba7a3d28e8909ac395365eb5f8ff63bc28eb2eaace61650ed51f1bc1808","95784f449b26dbdf4aadd2f99a5c2f6c419d80f993ececa6c0c3e0159b452aa5","89c0f7c64772fcb38eda1e15b26da3e53e4101c968a0eeb14954f154aee4dac1","6e7e44d7615d2899c2dd6be4e15bbb2cd0b7f4afec2379c08db14b9eac5c9b43","a1f5b4a129cd4b8f013533f200baf74615d690c41f1ef2147bd40ef6110c4a1b","d1b901b618ec72bff0fcb657edf03d83e2bcbb2687a9cddadea48a24ab23faf2","9a02cb3cccc3eeb3fea9327c47dbda2076e21f3da7b2eb659871dc91b8572f42","1778dfd35a7d5885896c436792662c8d602ea8cf03aeed97b0381b6e82c4e980","f730ff4577c8d45cb4a587d078ee5b692613c3de57f26a27a4be74c183adc226","60bd456f1b63861f880c386ddf1b3916098bbafbf4b5a46a5e5ebc4fcb9434c4","f2c0b5b634eed4010d9396710281a7fdc7019fe47507e8bcb706a58af985548a","baeb8f9be968778478ffa26099ec4211dd28c6dea1633fd8fd1560c34fdd0269","5df76ca2d799039334a825b621129061b89022808e0943397e045bc6feec894c","e4d2b2c520be2f19c8d77c613a2d0ecffb8524de9cca62d05a6622c7411c862f","88c64647ff7195c3bb01b2bcd932e5f181302a42068d991067f6ea15c802aa5d",{"version":"ee57c698d45625b6e08b6ce40eeaa9664c873f247fcb206667c73660cc93a9c0","signature":"df626c36c764166f2d731bd70aaeb609b89e09ff781f8d2cb6fc48b681a939cd"},{"version":"80f94c5f071c5ec15b6d115f11c388d732a3bc9dd8ddc5a42b3ea5fe86e6392c","signature":"03cd7b7cca818d3264cfe4c9eee5812bc93ec394067bacd7b0cb4cdad7efe56f"},{"version":"9a564dbeb0ee07370e3c6523780e39e68cba2ac2578f27b00f9b2c48dd8c3730","signature":"0723ace488a5dae9d487ae7d478054feb9fee7db71a18c5adfc9567fd79e4bf2"},{"version":"eb1b06a09f9de06f657ddef01b6da9e9d8c2ba8e0a3b7904296b5bb4d5c22f41","signature":"3c2375b88bd9b64a1986d3b2db67c7410c48f4b7a06893ec6f8ef3dc818f1cff"},{"version":"e91767b4e725ea61fefd798ce6e634167cd0ba9927dbe86e3d7703bb77a1faea","signature":"053bd052eae835d01106a27f5197288b5c8f58a49139d5ddde07801912b4030b"},{"version":"d3cfde44f8089768ebb08098c96d01ca260b88bccf238d55eee93f1c620ff5a5","impliedFormat":1},{"version":"293eadad9dead44c6fd1db6de552663c33f215c55a1bfa2802a1bceed88ff0ec","impliedFormat":1},{"version":"833e92c058d033cde3f29a6c7603f517001d1ddd8020bc94d2067a3bc69b2a8e","impliedFormat":1},{"version":"08b2fae7b0f553ad9f79faec864b179fc58bc172e295a70943e8585dd85f600c","impliedFormat":1},{"version":"f12edf1672a94c578eca32216839604f1e1c16b40a1896198deabf99c882b340","impliedFormat":1},{"version":"e3498cf5e428e6c6b9e97bd88736f26d6cf147dedbfa5a8ad3ed8e05e059af8a","impliedFormat":1},{"version":"dba3f34531fd9b1b6e072928b6f885aa4d28dd6789cbd0e93563d43f4b62da53","impliedFormat":1},{"version":"f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","impliedFormat":1},{"version":"e4b03ddcf8563b1c0aee782a185286ed85a255ce8a30df8453aade2188bbc904","impliedFormat":1},{"version":"2329d90062487e1eaca87b5e06abcbbeeecf80a82f65f949fd332cfcf824b87b","impliedFormat":1},{"version":"25b3f581e12ede11e5739f57a86e8668fbc0124f6649506def306cad2c59d262","impliedFormat":1},{"version":"4fdb529707247a1a917a4626bfb6a293d52cd8ee57ccf03830ec91d39d606d6d","impliedFormat":1},{"version":"a9ebb67d6bbead6044b43714b50dcb77b8f7541ffe803046fdec1714c1eba206","impliedFormat":1},{"version":"5780b706cece027f0d4444fbb4e1af62dc51e19da7c3d3719f67b22b033859b9","impliedFormat":1},{"version":"5bab9247a953690a3469d3449cf9bed46479402e520c249bb5b65215fe818e35","signature":"fd8ba2561480f8c670646d171604b38f08d516092b7f9e2597c65cce388fc36c"},{"version":"8e9c4af8a51f5380e59ea103be6efa60d4840667ec29f8bff66ebdfb744e9224","signature":"2b33fd8dfc01c0c728b7f30a0b0ca5657283f4315fe5cc9eac88c81f541e7830"},{"version":"d31a1df55a274fbc5f0e9a5cb9430710d132ea63426d74b8765f3d0c48b9cef1","signature":"fff50cd1abe86e5650ba524b62f750c78b6daf1d8cc27238e4280a4b4bd028e8"},{"version":"8b93df16d190cc61be8f75f6089313937a0a9dbc57e9ab068d982eeba7c4ff10","signature":"80660639d258acf4ce04daeb80992edbc05466cfa4a625d1b2233993145c1a5e"},{"version":"242a6e61dc94768f40abe739c2bd6ecbf92f13091f0f8f589bccaf3e05c7c3d2","signature":"40bf0fafb7b363a9a80525991514d95f8cdff49a29b4874063fe437c0be848dd"},{"version":"5b1dd7e8b8cc21fe4c7f6ff0248dc3cd2c44f16fe8df432c5976f21dfe20be7f","signature":"ec1db94e1b014d4c870e12837ee505d7027b0db843fcf1ff1861127329503821"},{"version":"6d04902f87611f060b4191fd08a69ed87a577f33bb6d9aa29b62c678bfa20b35","signature":"e8fc37829be130a401b4f2b0bc1e49bdf89d87ba0bac1a72eac6cd356ebfc9ee"},{"version":"c4b332ed9b54a16a352389620a604c0c09e1f0936de88417c811de91f981c303","signature":"225e6ee687c579ed11daa700853d48c872dccda70d5c12da3457034e30380d85"},{"version":"c7a66768d7598475192810cb75a30b7cdf07ab0c4f403dcc497f77b4d5263f06","signature":"bef831b88a4de0fd676947db349a36dcbfdd35ec5bd175a1d5b58cad317eb8d1"},{"version":"aba805d5f8279d25df416d198d55f679dd96315dd67718becedf2f6bbd36d773","signature":"cd604abf7b151adfd52d98aa58aee5590ceaf0d04e99de1a18acf94b9d1033e0"},{"version":"8864346b5cc2a5d56303958f243358fde92710d1f599d6f6c37efbe0fb39fdf1","signature":"84e1a6b0a798710f3beb1bc2efc6f226f67c466abec2c0f5c7dc85f7d91fb3c0"},{"version":"83975e3f99f56b032cf47c3a91953df7ecd5aaee2c6f1b38c860563a9c9f9112","signature":"42b66aed28e4ece27e101153abaf1dc5a7b41ec29a26b1cf89bdce73a19f9e1a"},"799b9bc7d88f13ae6e51415c1e663e685fcbe77164eb2be78b08893d9b299bf0","9b6e1a724771bd1fb7ea1a2551ed5b13b92d87aeaba331d520716e725d7b63a5","66c6888608b17316a09ede6335f5568748a24af4090990c9cf8050ac8b318c34","e89c865ca4785f4a56fbfe95b04df807ebf6d320b174b484f3a08d54321447a7","403e6bc805dc2cdcbb3f6bb38cf78bd70d4202ebe405178fd8dc917bf84dd124","fcf3b586398c415038922a229576ddc3c9ac81f17113f4564f860b90222fc463","e6a79d0cfe8e75f37a20cb36e05795fa8116c4510a4b3cfc3fa89a427f356b3c","6aee942b8a0c7c10cd2315315b0b88b85daf969ed761cda7d1c045badba8b058","2a113e6e70cb236e8f367e088f0470fe9155b04ea16ce315606095ea7f9a06c1","b505287deeb59270e8d172f30f625adf6e8394c16e68f1caeff1d933fb6a239a","f9bdf17d1b11f604f4c3db96f3ab31d1a5d0e81f95765ba3eaf60069b6892f49","d84043e3d658e5b2fd1351c18cefeeed153fa37c5828c234c2c343e89511ce34","8bfb061a2c3561bd22bdf252a4a32e504cd1cf1af601e377d51fc006104e927d","28bc1aaad7be71d47e0e278e97f43ab7b736e4f042a3c086a239543e7d0f9b24","71441b9d36fd4591e4606665559a533274dc04ebabfa841a45362ef273f2e8ce","2b7e1ab6757e4fed93a787ff649719bc13aaf8607e12c0b3c8c3e8c190d65680","6257c11ddda8274e26d5e46fb41272edddd4a8d6a9686ddd79c86b0f5484ba8f","5f442f7b5b287323065b77d9e991937bc10f974bfd65a0f36d2ccc10bb490a6c","e2467441777ecea9f274b465d652ac217fb76872b2403a2fd049929a57a9e15d","54f06de0591cca133a51d2004cb4d3f6370315e1e1dd6618280524fe91f8a01c","9dae069538bed39f3ffbe84975f1deac55843f229314982ee15a4b8ed4d9a98d","d9579c3abb9e4ed7d64b4619f2732191a1917989e63120156adcbfaff100b001",{"version":"76bd25c932ed976df94e1c3b0ea1be087fc888929175cab7674569ab073ac225","signature":"869003e50f9a2450eb0b1f38f6ae495175a06e8cb814684e1d2ab69a97311c75"},{"version":"963d1cbb8019f3ced1bdf9927790d48b8f68d05efc31ef56e63dd310eb9be031","signature":"947c6e752f748c66b77d331ad305e0c2a46e1281c63d2dd18fb949aa36485c0b"},{"version":"0653a4c1f7a3638afd55a224cf24d5d48d0fbb9fa7a6c0f7b553068f6be2f0b3","signature":"8abb79fb0ab09d65bfc825d383727bf67809f179aa37c0d90feea2ea437e3040"},{"version":"40defa6c09f47c5f34ed6f81f08c85e648e4b8f7ee8b4d0a293465ded64ada18","signature":"f9e88e4305c9cff4624bb664aa41a4038ff01675e4b7589804820c90ead9eaf5"},{"version":"ed8db4e60fc9cdbdef8082d6cb47d99c2f97124be18da1c5ccb229c7a9bb2cba","signature":"532a7896a90821848a68a8fc8466f1867e599c953feda4dc4bfb44b53ea831ee"},{"version":"a791acb88ebbc7c9aba7ed9de65dc68346b3410c38ed46fda1dc5291316c3eca","signature":"91bdbaaa9b39785c5c4e384db056f5f2ec3423ed7890d3d14ef617c98af4a790"},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"808069bba06b6768b62fd22429b53362e7af342da4a236ed2d2e1c89fcca3b4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f5c844119c43e51ce777c509267f14d6aaf31eafb2c2b002ca35584cd13b29","impliedFormat":1},{"version":"e60477649d6ad21542bd2dc7e3d9ff6853d0797ba9f689ba2f6653818999c264","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4c829ab315f57c5442c6667b53769975acbf92003a66aef19bce151987675bd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"b2ade7657e2db96d18315694789eff2ddd3d8aea7215b181f8a0b303277cc579","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c906fb15bd2aabc9ed1e3f44eb6a8661199d6c320b3aa196b826121552cb3695","impliedFormat":1},{"version":"22295e8103f1d6d8ea4b5d6211e43421fe4564e34d0dd8e09e520e452d89e659","impliedFormat":1},{"version":"58647d85d0f722a1ce9de50955df60a7489f0593bf1a7015521efe901c06d770","impliedFormat":1},{"version":"73b5fa37db36eeac90c4d752e39586f1b57187400c4f5280fd05f16437287a45","impliedFormat":1},{"version":"a10f0e1854f3316d7ee437b79649e5a6ae3ae14ffe6322b02d4987071a95362e","impliedFormat":1},{"version":"e208f73ef6a980104304b0d2ca5f6bf1b85de6009d2c7e404028b875020fa8f2","impliedFormat":1},{"version":"d163b6bc2372b4f07260747cbc6c0a6405ab3fbcea3852305e98ac43ca59f5bc","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6f137d651076822d4fe884287e68fd61785a0d3d1fdb250a5059b691fa897db","impliedFormat":1},{"version":"24826ed94a78d5c64bd857570fdbd96229ad41b5cb654c08d75a9845e3ab7dde","impliedFormat":1},{"version":"8b479a130ccb62e98f11f136d3ac80f2984fdc07616516d29881f3061f2dd472","impliedFormat":1},{"version":"928af3d90454bf656a52a48679f199f64c1435247d6189d1caf4c68f2eaf921f","affectsGlobalScope":true,"impliedFormat":1},{"version":"bceb58df66ab8fb00170df20cd813978c5ab84be1d285710c4eb005d8e9d8efb","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"a3fc63c0d7b031693f665f5494412ba4b551fe644ededccc0ab5922401079c95","impliedFormat":1},{"version":"80523c00b8544a2000ae0143e4a90a00b47f99823eb7926c1e03c494216fc363","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"746911b62b329587939560deb5c036aca48aece03147b021fa680223255d5183","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"c8d3e5a18ba35629954e48c4cc8f11dc88224650067a172685c736b27a34a4dc","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"2b55d426ff2b9087485e52ac4bc7cfafe1dc420fc76dad926cd46526567c501a","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"5987a903da92c7462e0b35704ce7da94d7fdc4b89a984871c0e2b87a8aae9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"47613031a5a31510831304405af561b0ffaedb734437c595256bb61a90f9311b","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"8a1a0d0a4a06a8d278947fcb66bf684f117bf147f89b06e50662d79a53be3e9f","affectsGlobalScope":true,"impliedFormat":1},{"version":"358765d5ea8afd285d4fd1532e78b88273f18cb3f87403a9b16fef61ac9fdcfe","impliedFormat":1},{"version":"9f55299850d4f0921e79b6bf344b47c420ce0f507b9dcf593e532b09ea7eeea1","impliedFormat":1}],"root":[[104,108],[123,134],[157,162]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":false,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[214,1],[215,1],[216,2],[168,3],[217,4],[218,5],[219,6],[163,7],[166,8],[164,7],[165,7],[220,9],[221,10],[222,11],[223,12],[224,13],[225,14],[226,14],[227,15],[228,16],[229,17],[230,18],[169,7],[167,7],[231,19],[232,20],[233,21],[267,22],[234,23],[235,7],[236,24],[237,25],[238,26],[239,27],[240,28],[241,29],[242,30],[243,31],[244,32],[245,32],[246,33],[247,7],[248,34],[249,35],[251,36],[250,37],[252,38],[253,39],[254,40],[255,41],[256,42],[257,43],[258,44],[259,45],[260,46],[261,47],[262,48],[263,49],[264,50],[170,7],[171,7],[172,7],[211,51],[212,7],[213,7],[265,52],[266,53],[173,7],[70,7],[71,7],[68,54],[72,55],[69,54],[67,7],[56,7],[57,7],[11,7],[10,7],[2,7],[12,7],[13,7],[14,7],[15,7],[16,7],[17,7],[18,7],[19,7],[3,7],[20,7],[21,7],[4,7],[22,7],[26,7],[23,7],[24,7],[25,7],[27,7],[28,7],[29,7],[5,7],[30,7],[31,7],[32,7],[33,7],[6,7],[37,7],[34,7],[35,7],[36,7],[38,7],[7,7],[39,7],[44,7],[45,7],[40,7],[41,7],[42,7],[43,7],[8,7],[49,7],[46,7],[47,7],[48,7],[50,7],[9,7],[51,7],[52,7],[53,7],[55,7],[54,7],[1,7],[189,56],[199,57],[188,56],[209,58],[180,59],[179,60],[208,61],[202,62],[207,63],[182,64],[196,65],[181,66],[205,67],[177,68],[176,61],[206,69],[178,70],[183,71],[184,7],[187,71],[174,7],[210,72],[200,73],[191,74],[192,75],[194,76],[190,77],[193,78],[203,61],[185,79],[186,80],[195,81],[175,82],[198,73],[197,71],[201,7],[204,83],[122,84],[114,85],[121,86],[116,7],[117,7],[115,87],[118,88],[109,7],[110,7],[111,84],[113,89],[119,7],[120,90],[112,91],[150,7],[145,7],[155,92],[142,93],[141,94],[143,95],[144,96],[156,97],[152,98],[139,99],[137,7],[151,94],[135,99],[140,100],[149,93],[138,94],[136,96],[148,101],[147,102],[146,101],[154,99],[153,94],[92,103],[86,104],[89,105],[76,99],[66,7],[100,106],[98,107],[75,99],[82,108],[73,109],[96,110],[95,99],[77,99],[97,111],[101,112],[78,113],[94,114],[93,115],[83,116],[88,111],[80,117],[91,118],[84,111],[81,119],[74,120],[87,107],[90,99],[65,99],[85,7],[99,106],[79,99],[108,121],[104,7],[105,122],[162,123],[131,124],[107,125],[132,126],[133,127],[128,126],[127,128],[134,129],[159,130],[161,131],[160,132],[125,133],[124,134],[126,135],[129,129],[158,136],[123,99],[157,137],[130,138],[106,139],[102,7],[103,140],[59,7],[61,7],[63,141],[62,7],[64,142],[60,7],[58,7]],"latestChangedDtsFile":"./spec.d.ts","version":"5.9.3"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type TemplateRegistry } from "./registry.js";
|
|
2
|
+
import type { Template } from "./types.js";
|
|
3
|
+
export declare const BUILTIN_TEMPLATES: readonly Template[];
|
|
4
|
+
/**
|
|
5
|
+
* Match a template against a search query: case-insensitive substring
|
|
6
|
+
* over `name`, `category`, and `tags`. Returns `true` when the query
|
|
7
|
+
* is empty (no filter) or any matchable field contains it.
|
|
8
|
+
*/
|
|
9
|
+
export declare const matchesTemplateSearch: (template: Template, query: string) => boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Register the full built-in set into a registry (defaults to the singleton).
|
|
12
|
+
* Idempotent only across distinct registries — registering the same set twice
|
|
13
|
+
* on one registry triggers a duplicate-id error by design.
|
|
14
|
+
*/
|
|
15
|
+
export declare const installBuiltinTemplates: (registry?: TemplateRegistry) => void;
|
|
16
|
+
//# sourceMappingURL=built-in.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"built-in.d.ts","sourceRoot":"","sources":["../src/built-in.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAmB,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAmB,MAAM,YAAY,CAAC;AA6C5D,eAAO,MAAM,iBAAiB,EAAE,SAAS,QAAQ,EAoKhD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,UAAU,QAAQ,EAAE,OAAO,MAAM,KAAG,OAYzE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,GAAI,WAAU,gBAAkC,KAAG,IAItF,CAAC"}
|
package/dist/built-in.js
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import { DEFAULT_ELEMENT_STYLES } from "@oh-just-another/tokens";
|
|
2
|
+
import { DATA_ICON, DECISION_ICON, DIAMOND_ICON, DOCUMENT_ICON, ELLIPSE_ICON, HEXAGON_ICON, PROCESS_ICON, RECT_ICON, STICKY_ICON, TERMINATOR_ICON, TRIANGLE_ICON, } from "./icons.js";
|
|
3
|
+
import { defaultRegistry } from "./registry.js";
|
|
4
|
+
// --- Local helpers ---
|
|
5
|
+
const baseElement = (ctx) => ({
|
|
6
|
+
id: ctx.id,
|
|
7
|
+
layerId: ctx.layerId,
|
|
8
|
+
position: ctx.position,
|
|
9
|
+
rotation: 0,
|
|
10
|
+
scale: { x: 1, y: 1 },
|
|
11
|
+
order: ctx.order,
|
|
12
|
+
});
|
|
13
|
+
const filledRect = (ctx, width, height, style) => ({
|
|
14
|
+
...baseElement(ctx),
|
|
15
|
+
type: "rectangle",
|
|
16
|
+
style,
|
|
17
|
+
width,
|
|
18
|
+
height,
|
|
19
|
+
});
|
|
20
|
+
const filledEllipse = (ctx, width, height, style) => ({ ...baseElement(ctx), type: "ellipse", style, width, height });
|
|
21
|
+
const polygonFromPoints = (ctx, points, style) => ({
|
|
22
|
+
...baseElement(ctx),
|
|
23
|
+
type: "polygon",
|
|
24
|
+
style,
|
|
25
|
+
points,
|
|
26
|
+
});
|
|
27
|
+
// --- Default styles ---
|
|
28
|
+
// Sourced from `@oh-just-another/tokens` so palette changes propagate
|
|
29
|
+
// across every built-in template in one place.
|
|
30
|
+
const BASIC_STYLE = { ...DEFAULT_ELEMENT_STYLES.rectangle };
|
|
31
|
+
const STICKY_STYLE = { ...DEFAULT_ELEMENT_STYLES.sticky };
|
|
32
|
+
const FLOW_STYLE = { ...DEFAULT_ELEMENT_STYLES.flowchart };
|
|
33
|
+
// --- Built-in templates ---
|
|
34
|
+
export const BUILTIN_TEMPLATES = [
|
|
35
|
+
// --- basic ---
|
|
36
|
+
{
|
|
37
|
+
id: "basic.rectangle",
|
|
38
|
+
name: "Rectangle",
|
|
39
|
+
category: "basic",
|
|
40
|
+
icon: RECT_ICON,
|
|
41
|
+
tags: ["rectangle", "rect", "square", "box", "block"],
|
|
42
|
+
factory: (c) => filledRect(c, 140, 80, BASIC_STYLE),
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: "basic.ellipse",
|
|
46
|
+
name: "Ellipse",
|
|
47
|
+
category: "basic",
|
|
48
|
+
icon: ELLIPSE_ICON,
|
|
49
|
+
tags: ["ellipse", "circle", "oval", "round", "disc"],
|
|
50
|
+
factory: (c) => filledEllipse(c, 140, 80, BASIC_STYLE),
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
id: "basic.triangle",
|
|
54
|
+
name: "Triangle",
|
|
55
|
+
category: "basic",
|
|
56
|
+
icon: TRIANGLE_ICON,
|
|
57
|
+
tags: ["triangle", "play", "arrow"],
|
|
58
|
+
factory: (c) => polygonFromPoints(c, [
|
|
59
|
+
{ x: 70, y: 0 },
|
|
60
|
+
{ x: 140, y: 120 },
|
|
61
|
+
{ x: 0, y: 120 },
|
|
62
|
+
], BASIC_STYLE),
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: "basic.diamond",
|
|
66
|
+
name: "Diamond",
|
|
67
|
+
category: "basic",
|
|
68
|
+
icon: DIAMOND_ICON,
|
|
69
|
+
tags: ["diamond", "rhombus", "kite"],
|
|
70
|
+
factory: (c) => polygonFromPoints(c, [
|
|
71
|
+
{ x: 70, y: 0 },
|
|
72
|
+
{ x: 140, y: 50 },
|
|
73
|
+
{ x: 70, y: 100 },
|
|
74
|
+
{ x: 0, y: 50 },
|
|
75
|
+
], BASIC_STYLE),
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
id: "basic.hexagon",
|
|
79
|
+
name: "Hexagon",
|
|
80
|
+
category: "basic",
|
|
81
|
+
icon: HEXAGON_ICON,
|
|
82
|
+
tags: ["hexagon", "hex", "polygon", "honeycomb"],
|
|
83
|
+
factory: (c) => polygonFromPoints(c, [
|
|
84
|
+
{ x: 35, y: 0 },
|
|
85
|
+
{ x: 105, y: 0 },
|
|
86
|
+
{ x: 140, y: 50 },
|
|
87
|
+
{ x: 105, y: 100 },
|
|
88
|
+
{ x: 35, y: 100 },
|
|
89
|
+
{ x: 0, y: 50 },
|
|
90
|
+
], BASIC_STYLE),
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
id: "basic.sticky-note",
|
|
94
|
+
name: "Sticky note",
|
|
95
|
+
category: "basic",
|
|
96
|
+
icon: STICKY_ICON,
|
|
97
|
+
tags: ["sticky", "note", "postit", "post-it", "memo", "card"],
|
|
98
|
+
factory: (c) => filledRect(c, 120, 100, STICKY_STYLE),
|
|
99
|
+
},
|
|
100
|
+
// --- flowchart ---
|
|
101
|
+
{
|
|
102
|
+
id: "flowchart.process",
|
|
103
|
+
name: "Process",
|
|
104
|
+
category: "flowchart",
|
|
105
|
+
icon: PROCESS_ICON,
|
|
106
|
+
tags: ["process", "action", "step", "task", "rectangle"],
|
|
107
|
+
factory: (c) => filledRect(c, 160, 70, FLOW_STYLE),
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
id: "flowchart.decision",
|
|
111
|
+
name: "Decision",
|
|
112
|
+
category: "flowchart",
|
|
113
|
+
icon: DECISION_ICON,
|
|
114
|
+
tags: ["decision", "branch", "if", "condition", "diamond", "choice"],
|
|
115
|
+
factory: (c) => polygonFromPoints(c, [
|
|
116
|
+
{ x: 70, y: 0 },
|
|
117
|
+
{ x: 140, y: 50 },
|
|
118
|
+
{ x: 70, y: 100 },
|
|
119
|
+
{ x: 0, y: 50 },
|
|
120
|
+
], FLOW_STYLE),
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
id: "flowchart.terminator",
|
|
124
|
+
name: "Terminator",
|
|
125
|
+
category: "flowchart",
|
|
126
|
+
icon: TERMINATOR_ICON,
|
|
127
|
+
tags: ["terminator", "start", "end", "stop", "begin", "finish", "pill"],
|
|
128
|
+
factory: (c) => filledEllipse(c, 140, 60, FLOW_STYLE),
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
id: "flowchart.document",
|
|
132
|
+
name: "Document",
|
|
133
|
+
category: "flowchart",
|
|
134
|
+
icon: DOCUMENT_ICON,
|
|
135
|
+
tags: ["document", "file", "report", "paper", "doc"],
|
|
136
|
+
factory: (c) => {
|
|
137
|
+
const w = 160;
|
|
138
|
+
const h = 90;
|
|
139
|
+
const wave = 18;
|
|
140
|
+
return {
|
|
141
|
+
...baseElement(c),
|
|
142
|
+
type: "path",
|
|
143
|
+
style: FLOW_STYLE,
|
|
144
|
+
commands: [
|
|
145
|
+
{ kind: "M", to: { x: 0, y: 0 } },
|
|
146
|
+
{ kind: "L", to: { x: w, y: 0 } },
|
|
147
|
+
{ kind: "L", to: { x: w, y: h - wave } },
|
|
148
|
+
{
|
|
149
|
+
kind: "Q",
|
|
150
|
+
control: { x: (w * 3) / 4, y: h - wave * 2 },
|
|
151
|
+
to: { x: w / 2, y: h - wave },
|
|
152
|
+
},
|
|
153
|
+
{ kind: "Q", control: { x: w / 4, y: h }, to: { x: 0, y: h - wave } },
|
|
154
|
+
{ kind: "Z" },
|
|
155
|
+
],
|
|
156
|
+
};
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
id: "flowchart.data",
|
|
161
|
+
name: "Data",
|
|
162
|
+
category: "flowchart",
|
|
163
|
+
icon: DATA_ICON,
|
|
164
|
+
tags: ["data", "input", "output", "io", "parallelogram"],
|
|
165
|
+
factory: (c) => polygonFromPoints(c, [
|
|
166
|
+
{ x: 30, y: 0 },
|
|
167
|
+
{ x: 160, y: 0 },
|
|
168
|
+
{ x: 130, y: 80 },
|
|
169
|
+
{ x: 0, y: 80 },
|
|
170
|
+
], FLOW_STYLE),
|
|
171
|
+
},
|
|
172
|
+
];
|
|
173
|
+
/**
|
|
174
|
+
* Match a template against a search query: case-insensitive substring
|
|
175
|
+
* over `name`, `category`, and `tags`. Returns `true` when the query
|
|
176
|
+
* is empty (no filter) or any matchable field contains it.
|
|
177
|
+
*/
|
|
178
|
+
export const matchesTemplateSearch = (template, query) => {
|
|
179
|
+
const q = query.trim().toLowerCase();
|
|
180
|
+
if (!q)
|
|
181
|
+
return true;
|
|
182
|
+
if (template.name.toLowerCase().includes(q))
|
|
183
|
+
return true;
|
|
184
|
+
if (typeof template.category === "string" && template.category.toLowerCase().includes(q))
|
|
185
|
+
return true;
|
|
186
|
+
if (template.tags) {
|
|
187
|
+
for (const tag of template.tags) {
|
|
188
|
+
if (tag.toLowerCase().includes(q))
|
|
189
|
+
return true;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return false;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* Register the full built-in set into a registry (defaults to the singleton).
|
|
196
|
+
* Idempotent only across distinct registries — registering the same set twice
|
|
197
|
+
* on one registry triggers a duplicate-id error by design.
|
|
198
|
+
*/
|
|
199
|
+
export const installBuiltinTemplates = (registry = defaultRegistry) => {
|
|
200
|
+
for (const t of BUILTIN_TEMPLATES) {
|
|
201
|
+
registry.register(t);
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
//# sourceMappingURL=built-in.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"built-in.js","sourceRoot":"","sources":["../src/built-in.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,OAAO,EACL,SAAS,EACT,aAAa,EACb,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,WAAW,EACX,eAAe,EACf,aAAa,GACd,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,eAAe,EAAyB,MAAM,eAAe,CAAC;AAGvE,wBAAwB;AAExB,MAAM,WAAW,GAAG,CAAC,GAAoB,EAAE,EAAE,CAAC,CAAC;IAC7C,EAAE,EAAE,GAAG,CAAC,EAAE;IACV,OAAO,EAAE,GAAG,CAAC,OAAO;IACpB,QAAQ,EAAE,GAAG,CAAC,QAAQ;IACtB,QAAQ,EAAE,CAAC;IACX,KAAK,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;IACrB,KAAK,EAAE,GAAG,C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,CAAC,CAAC,CAAC,CAAC;IACvB,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tunable constants for built-in templates and icon rendering. Hosts that
|
|
3
|
+
* want larger / smaller palette icons can override `ICON_VIEWBOX_SIZE`
|
|
4
|
+
* (the SVG viewBox edge, square) before constructing custom icons; the
|
|
5
|
+
* built-in icon set still bakes the 24-unit viewBox via `wrap()`.
|
|
6
|
+
*/
|
|
7
|
+
/** Edge length, in SVG user units, of the palette-icon viewBox. */
|
|
8
|
+
export declare const ICON_VIEWBOX_SIZE = 24;
|
|
9
|
+
/** Default stroke width applied to palette icons. */
|
|
10
|
+
export declare const ICON_STROKE_WIDTH = 2;
|
|
11
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,mEAAmE;AACnE,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,qDAAqD;AACrD,eAAO,MAAM,iBAAiB,IAAI,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tunable constants for built-in templates and icon rendering. Hosts that
|
|
3
|
+
* want larger / smaller palette icons can override `ICON_VIEWBOX_SIZE`
|
|
4
|
+
* (the SVG viewBox edge, square) before constructing custom icons; the
|
|
5
|
+
* built-in icon set still bakes the 24-unit viewBox via `wrap()`.
|
|
6
|
+
*/
|
|
7
|
+
/** Edge length, in SVG user units, of the palette-icon viewBox. */
|
|
8
|
+
export const ICON_VIEWBOX_SIZE = 24;
|
|
9
|
+
/** Default stroke width applied to palette icons. */
|
|
10
|
+
export const ICON_STROKE_WIDTH = 2;
|
|
11
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,mEAAmE;AACnE,MAAM,CAAC,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAEpC,qDAAqD;AACrD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC"}
|
package/dist/icons.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tiny set of inline SVG icons used by the built-in palette. Each icon is a
|
|
3
|
+
* 24×24 black stroke on transparent — the palette renders them on its own
|
|
4
|
+
* background colour.
|
|
5
|
+
*
|
|
6
|
+
* Hosts can replace any icon by re-registering the template via
|
|
7
|
+
* `registry.replace({ ...template, icon: newSvg })`.
|
|
8
|
+
*/
|
|
9
|
+
export declare const RECT_ICON: string;
|
|
10
|
+
export declare const ELLIPSE_ICON: string;
|
|
11
|
+
export declare const TRIANGLE_ICON: string;
|
|
12
|
+
export declare const DIAMOND_ICON: string;
|
|
13
|
+
export declare const HEXAGON_ICON: string;
|
|
14
|
+
export declare const ARROW_ICON: string;
|
|
15
|
+
export declare const STICKY_ICON: string;
|
|
16
|
+
export declare const PROCESS_ICON: string;
|
|
17
|
+
export declare const DECISION_ICON: string;
|
|
18
|
+
export declare const TERMINATOR_ICON: string;
|
|
19
|
+
export declare const DOCUMENT_ICON: string;
|
|
20
|
+
export declare const DATA_ICON: string;
|
|
21
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH,eAAO,MAAM,SAAS,QAA6D,CAAC;AACpF,eAAO,MAAM,YAAY,QAAoD,CAAC;AAC9E,eAAO,MAAM,aAAa,QAA4C,CAAC;AACvE,eAAO,MAAM,YAAY,QAAmD,CAAC;AAC7E,eAAO,MAAM,YAAY,QAA8D,CAAC;AACxF,eAAO,MAAM,UAAU,QAAiE,CAAC;AACzF,eAAO,MAAM,WAAW,QAAwE,CAAC;AAGjG,eAAO,MAAM,YAAY,QAA6D,CAAC;AACvF,eAAO,MAAM,aAAa,QAAmD,CAAC;AAC9E,eAAO,MAAM,eAAe,QAA6D,CAAC;AAC1F,eAAO,MAAM,aAAa,QAA8D,CAAC;AACzF,eAAO,MAAM,SAAS,QAAuE,CAAC"}
|
package/dist/icons.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tiny set of inline SVG icons used by the built-in palette. Each icon is a
|
|
3
|
+
* 24×24 black stroke on transparent — the palette renders them on its own
|
|
4
|
+
* background colour.
|
|
5
|
+
*
|
|
6
|
+
* Hosts can replace any icon by re-registering the template via
|
|
7
|
+
* `registry.replace({ ...template, icon: newSvg })`.
|
|
8
|
+
*/
|
|
9
|
+
import { ICON_STROKE_WIDTH, ICON_VIEWBOX_SIZE } from "./constants.js";
|
|
10
|
+
const wrap = (body) => `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${ICON_VIEWBOX_SIZE} ${ICON_VIEWBOX_SIZE}" fill="none" stroke="currentColor" stroke-width="${ICON_STROKE_WIDTH}" stroke-linecap="round" stroke-linejoin="round">${body}</svg>`;
|
|
11
|
+
export const RECT_ICON = wrap('<rect x="4" y="6" width="16" height="12" rx="1" />');
|
|
12
|
+
export const ELLIPSE_ICON = wrap('<ellipse cx="12" cy="12" rx="8" ry="6" />');
|
|
13
|
+
export const TRIANGLE_ICON = wrap('<path d="M12 4 L20 20 L4 20 Z" />');
|
|
14
|
+
export const DIAMOND_ICON = wrap('<path d="M12 3 L21 12 L12 21 L3 12 Z" />');
|
|
15
|
+
export const HEXAGON_ICON = wrap('<path d="M7 4 L17 4 L21 12 L17 20 L7 20 L3 12 Z" />');
|
|
16
|
+
export const ARROW_ICON = wrap('<path d="M4 12 H18" /><path d="M14 7 L19 12 L14 17" />');
|
|
17
|
+
export const STICKY_ICON = wrap('<path d="M5 4 H17 L19 6 V20 H5 Z" /><path d="M17 4 V6 H19" />');
|
|
18
|
+
// Flowchart symbols
|
|
19
|
+
export const PROCESS_ICON = wrap('<rect x="3" y="7" width="18" height="10" rx="1" />');
|
|
20
|
+
export const DECISION_ICON = wrap('<path d="M12 3 L21 12 L12 21 L3 12 Z" />');
|
|
21
|
+
export const TERMINATOR_ICON = wrap('<rect x="3" y="7" width="18" height="10" rx="5" />');
|
|
22
|
+
export const DOCUMENT_ICON = wrap('<path d="M3 5 H21 V17 Q15 13 12 17 Q9 21 3 17 Z" />');
|
|
23
|
+
export const DATA_ICON = wrap('<path d="M7 5 H23 L17 19 H1 Z" transform="translate(-1 0)"/>');
|
|
24
|
+
//# sourceMappingURL=icons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../src/icons.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEtE,MAAM,IAAI,GAAG,CAAC,IAAY,EAAU,EAAE,CACpC,wDAAwD,iBAAiB,IAAI,iBAAiB,qDAAqD,iBAAiB,oDAAoD,IAAI,QAAQ,CAAC;AAEvO,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,CAAC,oDAAoD,CAAC,CAAC;AACpF,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,2CAA2C,CAAC,CAAC;AAC9E,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC,mCAAmC,CAAC,CAAC;AACvE,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,0CAA0C,CAAC,CAAC;AAC7E,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,qDAAqD,CAAC,CAAC;AACxF,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,CAAC,wDAAwD,CAAC,CAAC;AACzF,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,CAAC,+DAA+D,CAAC,CAAC;AAEjG,oBAAoB;AACpB,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,oDAAoD,CAAC,CAAC;AACvF,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC,0CAA0C,CAAC,CAAC;AAC9E,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC,oDAAoD,CAAC,CAAC;AAC1F,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC,qDAAqD,CAAC,CAAC;AACzF,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,CAAC,8DAA8D,CAAC,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type { Template, TemplateContext, Category, StandardCategory } from "./types.js";
|
|
2
|
+
export { TemplateRegistry, defaultRegistry } from "./registry.js";
|
|
3
|
+
export { BUILTIN_TEMPLATES, installBuiltinTemplates, matchesTemplateSearch, } from "./built-in.js";
|
|
4
|
+
export * as icons from "./icons.js";
|
|
5
|
+
export type { TemplateSpec, TemplateLibrarySpec, ShapeBlueprint } from "./spec.js";
|
|
6
|
+
export { TemplateSpecZ, TemplateLibrarySpecZ, ShapeBlueprintZ, templateFromSpec } from "./spec.js";
|
|
7
|
+
export { parseTemplateLibrary, templatesFromLibrary, loadTemplateLibrary, TemplateLibraryError, } from "./library.js";
|
|
8
|
+
export * as rich from "./rich/index.js";
|
|
9
|
+
export { ICON_VIEWBOX_SIZE, ICON_STROKE_WIDTH } from "./constants.js";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|