plggmatic 0.2.1 → 0.3.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 +37 -0
- package/dist/Catalog/index.d.ts +17 -0
- package/dist/Catalog/index.d.ts.map +1 -0
- package/dist/Catalog/model/tool.d.ts +101 -0
- package/dist/Catalog/model/tool.d.ts.map +1 -0
- package/dist/Catalog/usecase/adapter.d.ts +81 -0
- package/dist/Catalog/usecase/adapter.d.ts.map +1 -0
- package/dist/Catalog/usecase/catalog.d.ts +43 -0
- package/dist/Catalog/usecase/catalog.d.ts.map +1 -0
- package/dist/Catalog/usecase/runFlow.d.ts +77 -0
- package/dist/Catalog/usecase/runFlow.d.ts.map +1 -0
- package/dist/Component/index.d.ts +30 -0
- package/dist/Component/index.d.ts.map +1 -0
- package/dist/Component/model/interaction.d.ts +41 -0
- package/dist/Component/model/interaction.d.ts.map +1 -0
- package/dist/Component/model/navItem.d.ts +16 -0
- package/dist/Component/model/navItem.d.ts.map +1 -0
- package/dist/Component/usecase/breadcrumb.d.ts +26 -0
- package/dist/Component/usecase/breadcrumb.d.ts.map +1 -0
- package/dist/Component/usecase/button.d.ts +27 -0
- package/dist/Component/usecase/button.d.ts.map +1 -0
- package/dist/Component/usecase/checkbox.d.ts +20 -0
- package/dist/Component/usecase/checkbox.d.ts.map +1 -0
- package/dist/Component/usecase/colHead.d.ts +28 -0
- package/dist/Component/usecase/colHead.d.ts.map +1 -0
- package/dist/Component/usecase/confirmDialog.d.ts +25 -0
- package/dist/Component/usecase/confirmDialog.d.ts.map +1 -0
- package/dist/Component/usecase/declaredForm.d.ts +89 -0
- package/dist/Component/usecase/declaredForm.d.ts.map +1 -0
- package/dist/Component/usecase/navTree.d.ts +21 -0
- package/dist/Component/usecase/navTree.d.ts.map +1 -0
- package/dist/Component/usecase/selectInput.d.ts +28 -0
- package/dist/Component/usecase/selectInput.d.ts.map +1 -0
- package/dist/Component/usecase/sidebarNav.d.ts +77 -0
- package/dist/Component/usecase/sidebarNav.d.ts.map +1 -0
- package/dist/Component/usecase/textArea.d.ts +22 -0
- package/dist/Component/usecase/textArea.d.ts.map +1 -0
- package/dist/Component/usecase/textInput.d.ts +23 -0
- package/dist/Component/usecase/textInput.d.ts.map +1 -0
- package/dist/Component/usecase/textLink.d.ts +26 -0
- package/dist/Component/usecase/textLink.d.ts.map +1 -0
- package/dist/Component/usecase/themeToggle.d.ts +75 -0
- package/dist/Component/usecase/themeToggle.d.ts.map +1 -0
- package/dist/Component/usecase/toast.d.ts +32 -0
- package/dist/Component/usecase/toast.d.ts.map +1 -0
- package/dist/Component/usecase/typography.d.ts +33 -0
- package/dist/Component/usecase/typography.d.ts.map +1 -0
- package/dist/Declare/model/Action.d.ts +91 -0
- package/dist/Declare/model/Action.d.ts.map +1 -0
- package/dist/Declare/model/Adapter.d.ts +107 -0
- package/dist/Declare/model/Adapter.d.ts.map +1 -0
- package/dist/Declare/model/Collection.d.ts +55 -0
- package/dist/Declare/model/Collection.d.ts.map +1 -0
- package/dist/Declare/model/Declaration.d.ts +27 -0
- package/dist/Declare/model/Declaration.d.ts.map +1 -0
- package/dist/Declare/model/Menu.d.ts +21 -0
- package/dist/Declare/model/Menu.d.ts.map +1 -0
- package/dist/Declare/model/Query.d.ts +56 -0
- package/dist/Declare/model/Query.d.ts.map +1 -0
- package/dist/Declare/model/Row.d.ts +129 -0
- package/dist/Declare/model/Row.d.ts.map +1 -0
- package/dist/Declare/model/Source.d.ts +83 -0
- package/dist/Declare/model/Source.d.ts.map +1 -0
- package/dist/Declare/usecase/apply.d.ts +23 -0
- package/dist/Declare/usecase/apply.d.ts.map +1 -0
- package/dist/Declare/usecase/project.d.ts +66 -0
- package/dist/Declare/usecase/project.d.ts.map +1 -0
- package/dist/Declare/usecase/reconcile.d.ts +63 -0
- package/dist/Declare/usecase/reconcile.d.ts.map +1 -0
- package/dist/Flow/model/forms.d.ts +45 -0
- package/dist/Flow/model/forms.d.ts.map +1 -0
- package/dist/Flow/model/run.d.ts +74 -0
- package/dist/Flow/model/run.d.ts.map +1 -0
- package/dist/Flow/model/script.d.ts +279 -0
- package/dist/Flow/model/script.d.ts.map +1 -0
- package/dist/Flow/usecase/interpret.d.ts +17 -0
- package/dist/Flow/usecase/interpret.d.ts.map +1 -0
- package/dist/Flow/usecase/read.d.ts +46 -0
- package/dist/Flow/usecase/read.d.ts.map +1 -0
- package/dist/Form/index.d.ts +14 -0
- package/dist/Form/index.d.ts.map +1 -0
- package/dist/Form/model/control.d.ts +9 -0
- package/dist/Form/model/control.d.ts.map +1 -0
- package/dist/Form/model/submission.d.ts +30 -0
- package/dist/Form/model/submission.d.ts.map +1 -0
- package/dist/Form/usecase/controlParts.d.ts +30 -0
- package/dist/Form/usecase/controlParts.d.ts.map +1 -0
- package/dist/Form/usecase/formView.d.ts +21 -0
- package/dist/Form/usecase/formView.d.ts.map +1 -0
- package/dist/Form/usecase/parseForm.d.ts +28 -0
- package/dist/Form/usecase/parseForm.d.ts.map +1 -0
- package/dist/Layout/index.d.ts +21 -0
- package/dist/Layout/index.d.ts.map +1 -0
- package/dist/Layout/model/geometry.d.ts +97 -0
- package/dist/Layout/model/geometry.d.ts.map +1 -0
- package/dist/Layout/model/pane.d.ts +15 -0
- package/dist/Layout/model/pane.d.ts.map +1 -0
- package/dist/Layout/model/reveal.d.ts +26 -0
- package/dist/Layout/model/reveal.d.ts.map +1 -0
- package/dist/Layout/usecase/combinators.d.ts +78 -0
- package/dist/Layout/usecase/combinators.d.ts.map +1 -0
- package/dist/Layout/usecase/preference.d.ts +27 -0
- package/dist/Layout/usecase/preference.d.ts.map +1 -0
- package/dist/Layout/usecase/revealColumn.d.ts +39 -0
- package/dist/Layout/usecase/revealColumn.d.ts.map +1 -0
- package/dist/Layout/usecase/workspace.d.ts +58 -0
- package/dist/Layout/usecase/workspace.d.ts.map +1 -0
- package/dist/Meta/model/classHooks.d.ts +141 -0
- package/dist/Meta/model/classHooks.d.ts.map +1 -0
- package/dist/Meta/model/identity.d.ts +16 -0
- package/dist/Meta/model/identity.d.ts.map +1 -0
- package/dist/Navigate/index.d.ts +19 -0
- package/dist/Navigate/index.d.ts.map +1 -0
- package/dist/Navigate/model/Composition.d.ts +50 -0
- package/dist/Navigate/model/Composition.d.ts.map +1 -0
- package/dist/Navigate/model/Trail.d.ts +84 -0
- package/dist/Navigate/model/Trail.d.ts.map +1 -0
- package/dist/Navigate/model/marker.d.ts +44 -0
- package/dist/Navigate/model/marker.d.ts.map +1 -0
- package/dist/Navigate/usecase/compositionUrl.d.ts +63 -0
- package/dist/Navigate/usecase/compositionUrl.d.ts.map +1 -0
- package/dist/Navigate/usecase/navigationScript.d.ts +16 -0
- package/dist/Navigate/usecase/navigationScript.d.ts.map +1 -0
- package/dist/Navigate/usecase/trailUrl.d.ts +61 -0
- package/dist/Navigate/usecase/trailUrl.d.ts.map +1 -0
- package/dist/Render/index.d.ts +18 -0
- package/dist/Render/index.d.ts.map +1 -0
- package/dist/Render/model/mode.d.ts +13 -0
- package/dist/Render/model/mode.d.ts.map +1 -0
- package/dist/Render/model/screen.d.ts +27 -0
- package/dist/Render/model/screen.d.ts.map +1 -0
- package/dist/Render/usecase/advanceColumns.d.ts +41 -0
- package/dist/Render/usecase/advanceColumns.d.ts.map +1 -0
- package/dist/Render/usecase/multiColumn.d.ts +52 -0
- package/dist/Render/usecase/multiColumn.d.ts.map +1 -0
- package/dist/Render/usecase/parts.d.ts +56 -0
- package/dist/Render/usecase/parts.d.ts.map +1 -0
- package/dist/Render/usecase/renderMode.d.ts +17 -0
- package/dist/Render/usecase/renderMode.d.ts.map +1 -0
- package/dist/Render/usecase/singleColumn.d.ts +20 -0
- package/dist/Render/usecase/singleColumn.d.ts.map +1 -0
- package/dist/Schedule/model/Model.d.ts +103 -0
- package/dist/Schedule/model/Model.d.ts.map +1 -0
- package/dist/Schedule/model/Msg.d.ts +131 -0
- package/dist/Schedule/model/Msg.d.ts.map +1 -0
- package/dist/Schedule/model/Scene.d.ts +190 -0
- package/dist/Schedule/model/Scene.d.ts.map +1 -0
- package/dist/Schedule/model/View.d.ts +54 -0
- package/dist/Schedule/model/View.d.ts.map +1 -0
- package/dist/Schedule/usecase/chain.d.ts +16 -0
- package/dist/Schedule/usecase/chain.d.ts.map +1 -0
- package/dist/Schedule/usecase/codec.d.ts +44 -0
- package/dist/Schedule/usecase/codec.d.ts.map +1 -0
- package/dist/Schedule/usecase/lower.d.ts +45 -0
- package/dist/Schedule/usecase/lower.d.ts.map +1 -0
- package/dist/Schedule/usecase/scene.d.ts +16 -0
- package/dist/Schedule/usecase/scene.d.ts.map +1 -0
- package/dist/Schedule/usecase/schedule.d.ts +72 -0
- package/dist/Schedule/usecase/schedule.d.ts.map +1 -0
- package/dist/Schedule/usecase/update.d.ts +39 -0
- package/dist/Schedule/usecase/update.d.ts.map +1 -0
- package/dist/Style/index.d.ts +34 -0
- package/dist/Style/index.d.ts.map +1 -0
- package/dist/Style/model/appearance.d.ts +23 -0
- package/dist/Style/model/appearance.d.ts.map +1 -0
- package/dist/Style/model/breakpoint.d.ts +43 -0
- package/dist/Style/model/breakpoint.d.ts.map +1 -0
- package/dist/Style/model/componentSlot.d.ts +35 -0
- package/dist/Style/model/componentSlot.d.ts.map +1 -0
- package/dist/Style/model/hexColor.d.ts +26 -0
- package/dist/Style/model/hexColor.d.ts.map +1 -0
- package/dist/Style/model/metric.d.ts +35 -0
- package/dist/Style/model/metric.d.ts.map +1 -0
- package/dist/Style/model/palette.d.ts +38 -0
- package/dist/Style/model/palette.d.ts.map +1 -0
- package/dist/Style/model/scheme.d.ts +26 -0
- package/dist/Style/model/scheme.d.ts.map +1 -0
- package/dist/Style/model/syntax.d.ts +54 -0
- package/dist/Style/model/syntax.d.ts.map +1 -0
- package/dist/Style/model/theme.d.ts +68 -0
- package/dist/Style/model/theme.d.ts.map +1 -0
- package/dist/Style/model/token.d.ts +142 -0
- package/dist/Style/model/token.d.ts.map +1 -0
- package/dist/Style/model/typography.d.ts +83 -0
- package/dist/Style/model/typography.d.ts.map +1 -0
- package/dist/Style/model/zIndex.d.ts +25 -0
- package/dist/Style/model/zIndex.d.ts.map +1 -0
- package/dist/Style/usecase/appearanceScript.d.ts +43 -0
- package/dist/Style/usecase/appearanceScript.d.ts.map +1 -0
- package/dist/Style/usecase/chromeCss.d.ts +41 -0
- package/dist/Style/usecase/chromeCss.d.ts.map +1 -0
- package/dist/Style/usecase/contrast.d.ts +3 -0
- package/dist/Style/usecase/contrast.d.ts.map +1 -0
- package/dist/Style/usecase/metricCss.d.ts +17 -0
- package/dist/Style/usecase/metricCss.d.ts.map +1 -0
- package/dist/Style/usecase/reducedMotion.d.ts +20 -0
- package/dist/Style/usecase/reducedMotion.d.ts.map +1 -0
- package/dist/Style/usecase/runwayCss.d.ts +50 -0
- package/dist/Style/usecase/runwayCss.d.ts.map +1 -0
- package/dist/Style/usecase/schemeCss.d.ts +25 -0
- package/dist/Style/usecase/schemeCss.d.ts.map +1 -0
- package/dist/Style/usecase/slotCss.d.ts +73 -0
- package/dist/Style/usecase/slotCss.d.ts.map +1 -0
- package/dist/Style/usecase/syntaxCss.d.ts +14 -0
- package/dist/Style/usecase/syntaxCss.d.ts.map +1 -0
- package/dist/Style/usecase/utilities.d.ts +98 -0
- package/dist/Style/usecase/utilities.d.ts.map +1 -0
- package/dist/Style/usecase/workspaceCss.d.ts +48 -0
- package/dist/Style/usecase/workspaceCss.d.ts.map +1 -0
- package/dist/brand.d.ts +29 -0
- package/dist/brand.d.ts.map +1 -0
- package/dist/columnsEntry.d.ts +27 -0
- package/dist/columnsEntry.d.ts.map +1 -0
- package/dist/columnsEntry.es.js +452 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.js +6022 -0
- package/dist/styleEntry.d.ts +34 -0
- package/dist/styleEntry.d.ts.map +1 -0
- package/dist/styleEntry.es.js +1615 -0
- package/package.json +15 -8
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type Option } from "plgg";
|
|
2
|
+
import { type Actor } from "../../Declare/model/Adapter";
|
|
3
|
+
import { type Declaration } from "../../Declare/model/Declaration";
|
|
4
|
+
import { type Model } from "../model/Model";
|
|
5
|
+
import { type Scene } from "../model/Scene";
|
|
6
|
+
/**
|
|
7
|
+
* Derives the {@link Scene} — the typed, mode-agnostic
|
|
8
|
+
* renderer seam — from a model. The `MenuLevel`, then a
|
|
9
|
+
* `ListLevel` per revealed flow depth (root list plus
|
|
10
|
+
* every drilled-into child list), then a `DetailLevel`
|
|
11
|
+
* when the deepest childless selection shows an item, and
|
|
12
|
+
* any pending confirmation. Renderers 10/11 draw this
|
|
13
|
+
* without re-deriving from the model or the declaration.
|
|
14
|
+
*/
|
|
15
|
+
export declare const makeScene: (declaration: Declaration, actor: Option<Actor>) => (model: Model) => Scene;
|
|
16
|
+
//# sourceMappingURL=scene.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scene.d.ts","sourceRoot":"","sources":["../../../src/Schedule/usecase/scene.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,MAAM,EAOZ,MAAM,MAAM,CAAC;AAYd,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAQ7D,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EACL,KAAK,KAAK,EASX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,KAAK,KAAK,EAWX,MAAM,gCAAgC,CAAC;AAgbxC;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,gBAEL,WAAW,SACjB,MAAM,CAAC,KAAK,CAAC,aAEd,KAAK,KAAG,KA8Ff,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { type SoftStr } from "plgg";
|
|
2
|
+
import { type Cmd, type Url } from "plgg-view/client";
|
|
3
|
+
import { type Row } from "../../Declare/model/Row";
|
|
4
|
+
import { type Declaration } from "../../Declare/model/Declaration";
|
|
5
|
+
import { type Registry, type Actor } from "../../Declare/model/Adapter";
|
|
6
|
+
import { type Diagnostic } from "../../Declare/usecase/reconcile";
|
|
7
|
+
import { type Model } from "../model/Model";
|
|
8
|
+
import { type SchedulerMsg } from "../model/Msg";
|
|
9
|
+
import { type Scene } from "../model/Scene";
|
|
10
|
+
/**
|
|
11
|
+
* The derived TEA program of a declaration — everything
|
|
12
|
+
* plgg-view's `Application<Model, SchedulerMsg>` needs
|
|
13
|
+
* except `view`, plus a typed `scene` projector renderers
|
|
14
|
+
* consume. Complete a runnable program by supplying a
|
|
15
|
+
* renderer `r: (Scene) => Html<SchedulerMsg>`:
|
|
16
|
+
* `{ ...scheduled, view: (m) => r(scheduled.scene(m)) }`.
|
|
17
|
+
*/
|
|
18
|
+
export type Scheduled = Readonly<{
|
|
19
|
+
init: (url: Url) => readonly [Model, Cmd<SchedulerMsg>];
|
|
20
|
+
update: (msg: SchedulerMsg, model: Model) => readonly [Model, Cmd<SchedulerMsg>];
|
|
21
|
+
onUrlChange: (url: Url) => SchedulerMsg;
|
|
22
|
+
toUrl: (model: Model) => Url;
|
|
23
|
+
historyMode: (prev: Model, next: Model) => "push" | "replace" | "none";
|
|
24
|
+
scene: (model: Model) => Scene;
|
|
25
|
+
/**
|
|
26
|
+
* Refresh a `Dynamic` collection's slot from rows the
|
|
27
|
+
* CONSUMER's Model owns — pure `(model, id, rows) →
|
|
28
|
+
* model`. A consumer holds its records in its own Model
|
|
29
|
+
* and calls this (at init, and after a create/update/
|
|
30
|
+
* delete) to project them into the scheduler slot; the
|
|
31
|
+
* `Dynamic` source then PRESERVES that slot across
|
|
32
|
+
* navigation. This is the seam that lets a consumer's
|
|
33
|
+
* `update` stay pure instead of a module-global store
|
|
34
|
+
* (ticket 20260708192518).
|
|
35
|
+
*/
|
|
36
|
+
withRows: (model: Model, collectionId: SoftStr, rows: ReadonlyArray<Row>) => Model;
|
|
37
|
+
/**
|
|
38
|
+
* The startup reconciliation findings for this program's
|
|
39
|
+
* adapter bindings against the supplied registry (point
|
|
40
|
+
* 7): unknown/absent-default adapter ERRORS and unused
|
|
41
|
+
* registration WARNINGS. Empty for a self-contained
|
|
42
|
+
* declaration. The host inspects these before the first
|
|
43
|
+
* render — the binding check the naming decision requires.
|
|
44
|
+
*/
|
|
45
|
+
diagnostics: ReadonlyArray<Diagnostic>;
|
|
46
|
+
}>;
|
|
47
|
+
/**
|
|
48
|
+
* The host bindings a program is derived against (point 7),
|
|
49
|
+
* all optional: the adapter registry `Adapter` sources read
|
|
50
|
+
* through, and the actor the authorize gate evaluates.
|
|
51
|
+
* Omitting them yields the legacy self-contained program.
|
|
52
|
+
*/
|
|
53
|
+
export type Host = Readonly<{
|
|
54
|
+
adapters?: Registry;
|
|
55
|
+
actor?: Actor;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Derives the scheduled program from a declaration
|
|
59
|
+
* (design ticket 09). Pure and mode-agnostic: `update`
|
|
60
|
+
* executes nothing (async reads and action verbs are
|
|
61
|
+
* returned as `Cmd` data), the URL codec is total both
|
|
62
|
+
* ways, and `scene` is the only renderer seam — no
|
|
63
|
+
* declaration type or derived value names a column, pane,
|
|
64
|
+
* drawer, or screen (D10).
|
|
65
|
+
*
|
|
66
|
+
* `historyMode` marks a real navigation (`root`/`path`
|
|
67
|
+
* change) as `push` so back/forward traverses it, and a
|
|
68
|
+
* query-only change as `replace` (typing does not spam
|
|
69
|
+
* history) — the nuqs discipline the oracle used.
|
|
70
|
+
*/
|
|
71
|
+
export declare const schedule: (declaration: Declaration, host?: Host) => Scheduled;
|
|
72
|
+
//# sourceMappingURL=schedule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedule.d.ts","sourceRoot":"","sources":["../../../src/Schedule/usecase/schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EAIb,MAAM,MAAM,CAAC;AACd,OAAO,EACL,KAAK,GAAG,EACR,KAAK,GAAG,EACT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,KAAK,EACX,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,KAAK,UAAU,EAEhB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,KAAK,KAAK,EAGX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,KAAK,YAAY,EAElB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAY5D;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC;IAC/B,IAAI,EAAE,CACJ,GAAG,EAAE,GAAG,KACL,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;IACzC,MAAM,EAAE,CACN,GAAG,EAAE,YAAY,EACjB,KAAK,EAAE,KAAK,KACT,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;IACzC,WAAW,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,YAAY,CAAC;IACxC,KAAK,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,GAAG,CAAC;IAC7B,WAAW,EAAE,CACX,IAAI,EAAE,KAAK,EACX,IAAI,EAAE,KAAK,KACR,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;IACjC,KAAK,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,KAAK,CAAC;IAC/B;;;;;;;;;;OAUG;IACH,QAAQ,EAAE,CACR,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,OAAO,EACrB,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,KACrB,KAAK,CAAC;IACX;;;;;;;OAOG;IACH,WAAW,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;CACxC,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,MAAM,IAAI,GAAG,QAAQ,CAAC;IAC1B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC,CAAC;AAMH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ,gBACN,WAAW,SAClB,IAAI,KACT,SA2CF,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type SoftStr, type Option } from "plgg";
|
|
2
|
+
import { type Cmd } from "plgg-view/client";
|
|
3
|
+
import { type Actor, type Registry } from "../../Declare/model/Adapter";
|
|
4
|
+
import { type Declaration } from "../../Declare/model/Declaration";
|
|
5
|
+
import { type Model } from "../model/Model";
|
|
6
|
+
import { type SchedulerMsg } from "../model/Msg";
|
|
7
|
+
import { type UrlSlice } from "./codec";
|
|
8
|
+
type Step = readonly [Model, Cmd<SchedulerMsg>];
|
|
9
|
+
/**
|
|
10
|
+
* The host-bound engine context threaded through a derived
|
|
11
|
+
* program: the adapter {@link Registry} an `Adapter` source
|
|
12
|
+
* reads through, and the host-supplied {@link Actor} (if
|
|
13
|
+
* any) the authorize gate evaluates. Empty/`None` for a
|
|
14
|
+
* self-contained declaration (every legacy program), so the
|
|
15
|
+
* option is additive.
|
|
16
|
+
*/
|
|
17
|
+
export type EngineOptions = Readonly<{
|
|
18
|
+
registry: Registry;
|
|
19
|
+
actor: Option<Actor>;
|
|
20
|
+
}>;
|
|
21
|
+
/** The no-host engine context (legacy default). */
|
|
22
|
+
export declare const noEngine: EngineOptions;
|
|
23
|
+
/**
|
|
24
|
+
* Derives the pure, pair-shaped `update` from a
|
|
25
|
+
* declaration. Exhaustive `match` over every `Msg`;
|
|
26
|
+
* touches no `window`/`document` and executes no effect —
|
|
27
|
+
* async reads and action verbs are RETURNED as `Cmd`
|
|
28
|
+
* data. Navigation messages set the `root`/`path`/`query`
|
|
29
|
+
* slice then re-read the revealed chain.
|
|
30
|
+
*/
|
|
31
|
+
export declare const makeUpdate: (declaration: Declaration, options: EngineOptions) => (msg: SchedulerMsg, model: Model) => Step;
|
|
32
|
+
/**
|
|
33
|
+
* The initial `[Model, Cmd]` for an entry URL — the empty
|
|
34
|
+
* model seeded from the URL's slice, then the revealed
|
|
35
|
+
* chain read. `init` for the derived program.
|
|
36
|
+
*/
|
|
37
|
+
export declare const makeInit: (declaration: Declaration, options: EngineOptions) => (base: SoftStr) => (slice: UrlSlice) => Step;
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/Schedule/usecase/update.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,MAAM,EASZ,MAAM,MAAM,CAAC;AACd,OAAO,EACL,KAAK,GAAG,EAIT,MAAM,kBAAkB,CAAC;AAa1B,OAAO,EACL,KAAK,KAAK,EAEV,KAAK,QAAQ,EAGd,MAAM,iCAAiC,CAAC;AAWzC,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EACL,KAAK,KAAK,EAOX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,KAAK,YAAY,EAclB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,QAAQ,EAEd,MAAM,kCAAkC,CAAC;AAO1C,KAAK,IAAI,GAAG,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC;AAEhD;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;IACnC,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;CACtB,CAAC,CAAC;AAEH,mDAAmD;AACnD,eAAO,MAAM,QAAQ,EAAE,aAGtB,CAAC;AA2SF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,gBAEN,WAAW,WACf,aAAa,WAElB,YAAY,SAAS,KAAK,KAAG,IA2IhC,CAAC;AAEN;;;;GAIG;AACH,eAAO,MAAM,QAAQ,gBAEJ,WAAW,WACf,aAAa,YAEjB,OAAO,aACN,QAAQ,KAAG,IAIhB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The plggmatic Style module: the framework's typed
|
|
3
|
+
* color-scheme seed. An explicit named barrel (house
|
|
4
|
+
* style) — it grows one recorded token/utility at a time
|
|
5
|
+
* as components demand them, never as a pre-built
|
|
6
|
+
* catalog. Surfaced to consumers through the
|
|
7
|
+
* `plggmatic/style` subpath (see `src/styleEntry.ts`),
|
|
8
|
+
* where these color atoms shadow plgg-view's literal-hex
|
|
9
|
+
* ones.
|
|
10
|
+
*/
|
|
11
|
+
export { type Color, type SemanticRole, type Neutral, colors, neutrals, semanticRoles, variants, colorVar, } from "./model/token";
|
|
12
|
+
export { type Theme, defaultTheme, } from "./model/theme";
|
|
13
|
+
export { type Scheme, schemes, } from "./model/scheme";
|
|
14
|
+
export { type TypeRole, type FontWeight, type TypeScale, type CompactType, typeRoles, fontWeights, regular, medium, semibold, typeScale, sansFontStack, } from "./model/typography";
|
|
15
|
+
export { type Breakpoint, breakpoints, breakpointPx, minWidth, maxWidth, } from "./model/breakpoint";
|
|
16
|
+
export { type Metric, metrics, metricValue, metricVar, } from "./model/metric";
|
|
17
|
+
export { type ZBand, zBands, zValue, } from "./model/zIndex";
|
|
18
|
+
export { type HexColor, asHexColor, } from "./model/hexColor";
|
|
19
|
+
export { type Palette, defaultPalette, asPalette, paletteHex, colorHex, hex, } from "./model/palette";
|
|
20
|
+
export { appearanceStorageKey, decideScheme, } from "./model/appearance";
|
|
21
|
+
export { type SchemeRoot, type SchemeStorage, appearanceInitScript, injectAppearanceScript, applyScheme, } from "./usecase/appearanceScript";
|
|
22
|
+
export { contrastRatio } from "./usecase/contrast";
|
|
23
|
+
export { bg, color, textColor, border, borderColor, outline, basis, fluid, lineHeight, weight, zIndex, typeStyle, measure, } from "./usecase/utilities";
|
|
24
|
+
export { schemeCss, schemeCssOf, } from "./usecase/schemeCss";
|
|
25
|
+
export { chromeCss } from "./usecase/chromeCss";
|
|
26
|
+
export { type RunwayOptions, runwayCss, } from "./usecase/runwayCss";
|
|
27
|
+
export { type ComponentSlot, componentSlots, slotSelector, } from "./model/componentSlot";
|
|
28
|
+
export { type SlotStyle, slotStyle, asSlotStyle, slotStyleCss, slotCss, } from "./usecase/slotCss";
|
|
29
|
+
export { metricCss } from "./usecase/metricCss";
|
|
30
|
+
export { reducedMotionCss } from "./usecase/reducedMotion";
|
|
31
|
+
export { type SyntaxKind, syntaxKinds, syntaxPalette, syntaxHex, syntaxVar, } from "./model/syntax";
|
|
32
|
+
export { syntaxCss } from "./usecase/syntaxCss";
|
|
33
|
+
export { type WorkspaceOptions, workspaceOptions, workspaceCss, } from "./usecase/workspaceCss";
|
|
34
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Style/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EACL,KAAK,KAAK,EAOV,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,MAAM,EAIN,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,QAAQ,GACT,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EACL,KAAK,KAAK,EACV,YAAY,GACb,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,MAAM,EACX,OAAO,GACR,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,SAAS,EACT,WAAW,EACX,OAAO,EACP,MAAM,EACN,QAAQ,EACR,SAAS,EACT,aAAa,GACd,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,UAAU,EACf,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,QAAQ,GACT,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,MAAM,EACX,OAAO,EACP,WAAW,EACX,SAAS,GACV,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,KAAK,EACV,MAAM,EACN,MAAM,GACP,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,QAAQ,EACb,UAAU,GACX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,KAAK,OAAO,EACZ,cAAc,EACd,SAAS,EACT,UAAU,EACV,QAAQ,EACR,GAAG,GACJ,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,oBAAoB,EACpB,YAAY,GACb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,WAAW,GACZ,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EACL,EAAE,EACF,KAAK,EACL,SAAS,EACT,MAAM,EACN,WAAW,EACX,OAAO,EACP,KAAK,EACL,KAAK,EACL,UAAU,EACV,MAAM,EACN,MAAM,EACN,SAAS,EACT,OAAO,GACR,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,SAAS,EACT,WAAW,GACZ,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EACL,KAAK,aAAa,EAClB,SAAS,GACV,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,KAAK,aAAa,EAClB,cAAc,EACd,YAAY,GACb,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,KAAK,SAAS,EACd,SAAS,EACT,WAAW,EACX,YAAY,EACZ,OAAO,GACR,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EACL,KAAK,UAAU,EACf,WAAW,EACX,aAAa,EACb,SAAS,EACT,SAAS,GACV,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EACL,KAAK,gBAAgB,EACrB,gBAAgB,EAChB,YAAY,GACb,MAAM,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type Option, type SoftStr } from "plgg";
|
|
2
|
+
import { type Scheme } from "./scheme";
|
|
3
|
+
/**
|
|
4
|
+
* The localStorage key the visitor's scheme choice is
|
|
5
|
+
* persisted under. Preserved verbatim per **D16**: the key
|
|
6
|
+
* predates plggmatic (born in plggpress's theme,
|
|
7
|
+
* `20260630`), so keeping it means existing visitors keep
|
|
8
|
+
* their saved choice across the plggpress→plggmatic theme
|
|
9
|
+
* cutover. It deliberately does NOT follow the `--pm-*`
|
|
10
|
+
* rename — only the CSS variables were renamed, not the
|
|
11
|
+
* storage contract.
|
|
12
|
+
*/
|
|
13
|
+
export declare const appearanceStorageKey = "vp-appearance";
|
|
14
|
+
/**
|
|
15
|
+
* The pure scheme decision, kept DOM-free so the whole
|
|
16
|
+
* table is spec-coverable without a browser: a stored
|
|
17
|
+
* `"dark"`/`"light"` wins; anything else (absent, or an
|
|
18
|
+
* unrecognized value) falls back to the OS
|
|
19
|
+
* `prefers-color-scheme`. This is exactly plggpress's
|
|
20
|
+
* `HEAD_SCRIPT` decision order.
|
|
21
|
+
*/
|
|
22
|
+
export declare const decideScheme: (stored: Option<SoftStr>, prefersDark: boolean) => Scheme;
|
|
23
|
+
//# sourceMappingURL=appearance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appearance.d.ts","sourceRoot":"","sources":["../../../src/Style/model/appearance.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,OAAO,EAEb,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAE3D;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,kBAChB,CAAC;AAElB;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,WACf,MAAM,CAAC,OAAO,CAAC,eACV,OAAO,KACnB,MAWQ,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type SoftStr } from "plgg";
|
|
2
|
+
/**
|
|
3
|
+
* The responsive breakpoints plggmatic names. A closed
|
|
4
|
+
* union: `sm` (the phone column — the oracle's
|
|
5
|
+
* `max-width:639px` heading block), `snap` (the
|
|
6
|
+
* multi-column example's horizontal-snap boundary,
|
|
7
|
+
* `min-width:900px`), and `lg` (the docs app-shell
|
|
8
|
+
* boundary, `min-width:1024px`).
|
|
9
|
+
*
|
|
10
|
+
* **Two shells, two boundaries — do NOT unify.** `lg`
|
|
11
|
+
* gates the docs sidebar shell; `snap` gates the
|
|
12
|
+
* example's column strip. They are different layouts with
|
|
13
|
+
* different collapse physics; a merge only becomes
|
|
14
|
+
* correct if the D10 scheduler makes one derivable from
|
|
15
|
+
* the other.
|
|
16
|
+
*/
|
|
17
|
+
export type Breakpoint = "sm" | "snap" | "lg";
|
|
18
|
+
export declare const breakpoints: ReadonlyArray<Breakpoint>;
|
|
19
|
+
/** A breakpoint's boundary width in CSS pixels. */
|
|
20
|
+
export declare const breakpointPx: (b: Breakpoint) => number;
|
|
21
|
+
/**
|
|
22
|
+
* A `min-width` media condition AT the breakpoint, e.g.
|
|
23
|
+
* `(min-width:1024px)`. Consumed as
|
|
24
|
+
* `@media ${minWidth("lg")}{…}`.
|
|
25
|
+
*
|
|
26
|
+
* **Breakpoints are TS constants, never `--pm-*` custom
|
|
27
|
+
* properties.** A `@media` query cannot resolve `var()`,
|
|
28
|
+
* so these boundaries are build-time values baked into
|
|
29
|
+
* the CSS-emitting code — a future contributor "cleaning
|
|
30
|
+
* up" breakpoints into custom properties would silently
|
|
31
|
+
* break every media query. This is a hard constraint, not
|
|
32
|
+
* a style choice.
|
|
33
|
+
*/
|
|
34
|
+
export declare const minWidth: (b: Breakpoint) => SoftStr;
|
|
35
|
+
/**
|
|
36
|
+
* A `max-width` media condition one pixel BELOW the
|
|
37
|
+
* breakpoint (`sm` → `(max-width:639px)`) — the exact
|
|
38
|
+
* complement of {@link minWidth}, so the pair never
|
|
39
|
+
* overlaps on the boundary pixel. Matches the oracle and
|
|
40
|
+
* the example verbatim (`639`/`899`/`1023`).
|
|
41
|
+
*/
|
|
42
|
+
export declare const maxWidth: (b: Breakpoint) => SoftStr;
|
|
43
|
+
//# sourceMappingURL=breakpoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoint.d.ts","sourceRoot":"","sources":["../../../src/Style/model/breakpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAEpC;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;AAE9C,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,UAAU,CAC5B,CAAC;AASvB,mDAAmD;AACnD,eAAO,MAAM,YAAY,MACpB,UAAU,KACZ,MAAkB,CAAC;AAEtB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ,MAChB,UAAU,KACZ,OAAsC,CAAC;AAE1C;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,MAChB,UAAU,KACZ,OAA0C,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type SoftStr } from "plgg";
|
|
2
|
+
import { type Theme } from "./theme";
|
|
3
|
+
/**
|
|
4
|
+
* The framework's THEMEABLE COMPONENT SURFACE: the closed
|
|
5
|
+
* set of chrome pieces a consumer may restyle, named by
|
|
6
|
+
* ROLE rather than by the internal `pm-*` class string.
|
|
7
|
+
*
|
|
8
|
+
* This is the answer to the framework-vs-example smell
|
|
9
|
+
* (`demo1/styles.ts` header): the reference used to restyle
|
|
10
|
+
* plggmatic by writing the framework's own class names
|
|
11
|
+
* (`.pm-list`, `.pm-colhead …`) verbatim — a by-name
|
|
12
|
+
* coupling that breaks the moment the framework renames a
|
|
13
|
+
* class. A consumer now targets a declared SLOT
|
|
14
|
+
* ({@link ComponentSlot}); the framework owns the mapping
|
|
15
|
+
* from slot to selector ({@link slotSelector}), so the
|
|
16
|
+
* `pm-*` strings live in ONE place and a rename is a single
|
|
17
|
+
* framework edit, invisible to consumers.
|
|
18
|
+
*
|
|
19
|
+
* Each slot is a full framework selector (compound ones —
|
|
20
|
+
* `colHeadTitle` = the title WITHIN a colhead — included as
|
|
21
|
+
* named members), built from the supplied {@link Theme}'s
|
|
22
|
+
* `prefix` so an overridden namespace stays consistent.
|
|
23
|
+
*/
|
|
24
|
+
export type ComponentSlot = "scheduler" | "col" | "rowCol" | "rowColHasMenu" | "rowColHasForm" | "colHasQuery" | "colHasFields" | "colHead" | "colHeadTitle" | "colHeadTitleBare" | "colHeadTitleLink" | "pane" | "paneLink" | "menuBody" | "menuList" | "menuLink" | "query" | "list" | "listItem" | "listItemAdjacent" | "rowLink" | "listActions" | "listAction" | "form" | "formFirstChild" | "field" | "fieldAdjacent" | "fieldLabel" | "input" | "btnPrimary" | "formBtnPrimary";
|
|
25
|
+
/** Every {@link ComponentSlot}, for exhaustive iteration. */
|
|
26
|
+
export declare const componentSlots: ReadonlyArray<ComponentSlot>;
|
|
27
|
+
/**
|
|
28
|
+
* The framework CSS selector a {@link ComponentSlot} maps
|
|
29
|
+
* to, in the supplied theme's namespace. Curried
|
|
30
|
+
* `slotSelector(theme)(slot)` so a theme-bound emitter
|
|
31
|
+
* fixes the prefix once — the same shape as
|
|
32
|
+
* {@link colorVar}/{@link metricVar}.
|
|
33
|
+
*/
|
|
34
|
+
export declare const slotSelector: (theme: Theme) => (slot: ComponentSlot) => SoftStr;
|
|
35
|
+
//# sourceMappingURL=componentSlot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentSlot.d.ts","sourceRoot":"","sources":["../../../src/Style/model/componentSlot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAEzD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,MAAM,aAAa,GACrB,WAAW,GACX,KAAK,GACL,QAAQ,GACR,eAAe,GACf,eAAe,GACf,aAAa,GACb,cAAc,GACd,SAAS,GACT,cAAc,GACd,kBAAkB,GAClB,kBAAkB,GAClB,MAAM,GACN,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,OAAO,GACP,MAAM,GACN,UAAU,GACV,kBAAkB,GAClB,SAAS,GACT,aAAa,GACb,YAAY,GACZ,MAAM,GACN,gBAAgB,GAChB,OAAO,GACP,eAAe,GACf,YAAY,GACZ,OAAO,GACP,YAAY,GACZ,gBAAgB,CAAC;AAErB,6DAA6D;AAC7D,eAAO,MAAM,cAAc,EAAE,aAAa,CAAC,aAAa,CAiCrD,CAAC;AA0CJ;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,UACf,KAAK,YACN,aAAa,KAAG,OACY,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type Result, type InvalidError, type Box } from "plgg";
|
|
2
|
+
/**
|
|
3
|
+
* A validated `#rrggbb` color literal — the only value the
|
|
4
|
+
* scheme emitter accepts, so a palette can never carry a
|
|
5
|
+
* malformed hex. Minted ONLY through {@link asHexColor}
|
|
6
|
+
* (the `Box` brand keeps the constructor private), so an
|
|
7
|
+
* arbitrary string cannot masquerade as a color. Follows
|
|
8
|
+
* the `plgg/Basics/Str` brand+caster pattern.
|
|
9
|
+
*/
|
|
10
|
+
export type HexColor = Box<"HexColor", string>;
|
|
11
|
+
declare const is: (value: unknown) => value is HexColor;
|
|
12
|
+
export declare const isHexColor: typeof is;
|
|
13
|
+
/**
|
|
14
|
+
* Cast an unknown value to a {@link HexColor}. Accepts a
|
|
15
|
+
* case-insensitive `#rrggbb` string (normalized to
|
|
16
|
+
* lowercase); anything else is an `Err` naming the
|
|
17
|
+
* offending value.
|
|
18
|
+
*/
|
|
19
|
+
export declare const asHexColor: (value: unknown) => Result<HexColor, InvalidError>;
|
|
20
|
+
/**
|
|
21
|
+
* The raw `#rrggbb` string of a {@link HexColor}, for the
|
|
22
|
+
* emitter and the contrast math.
|
|
23
|
+
*/
|
|
24
|
+
export declare const hex: (c: HexColor) => string;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=hexColor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hexColor.d.ts","sourceRoot":"","sources":["../../../src/Style/model/hexColor.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,GAAG,EAOT,MAAM,MAAM,CAAC;AAEd;;;;;;;GAOG;AACH,MAAM,MAAM,QAAQ,GAAG,GAAG,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;AAY/C,QAAA,MAAM,EAAE,UAAW,OAAO,KAAG,KAAK,IAAI,QAGb,CAAC;AAE1B,eAAO,MAAM,UAAU,WAAK,CAAC;AAE7B;;;;;GAKG;AACH,eAAO,MAAM,UAAU,UACd,OAAO,KACb,MAAM,CAAC,QAAQ,EAAE,YAAY,CAY/B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,GAAG,MAAO,QAAQ,KAAG,MACvB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type SoftStr } from "plgg";
|
|
2
|
+
import { type Theme } from "./theme";
|
|
3
|
+
/**
|
|
4
|
+
* The shell-geometry metrics — the fixed dimensions of
|
|
5
|
+
* the app shell, lifted value-for-value from the qmu
|
|
6
|
+
* oracle (`--vp-shell-max` / `--vp-sidebar-w` /
|
|
7
|
+
* `--vp-rail-w` and the `.vp-doc` prose measure). A
|
|
8
|
+
* closed union so a missing dimension is a `tsc` error.
|
|
9
|
+
*
|
|
10
|
+
* Unlike {@link Breakpoint}s these ARE emitted as `--pm-*`
|
|
11
|
+
* custom properties: they are `var()`-consumable (used in
|
|
12
|
+
* ordinary declarations, never inside `@media`), so the
|
|
13
|
+
* shell CSS and the `prose` measure reference them through
|
|
14
|
+
* {@link metricVar} and one edit retunes the geometry
|
|
15
|
+
* everywhere. Scheme-independent — geometry does not
|
|
16
|
+
* change by light/dark, so there is no `html.dark`
|
|
17
|
+
* override (see the metric CSS emitter).
|
|
18
|
+
*/
|
|
19
|
+
export type Metric = "shell-max" | "sidebar" | "measure" | "rail";
|
|
20
|
+
export declare const metrics: ReadonlyArray<Metric>;
|
|
21
|
+
export declare const metricTable: Record<Metric, SoftStr>;
|
|
22
|
+
/** A metric's concrete length (build-time value). */
|
|
23
|
+
export declare const metricValue: (m: Metric) => SoftStr;
|
|
24
|
+
/**
|
|
25
|
+
* The `var(--<prefix>-<metric>)` reference for a metric —
|
|
26
|
+
* the runtime handle the shell CSS and the `measure` atom
|
|
27
|
+
* emit, mirroring `colorVar`. Resolved by the metrics
|
|
28
|
+
* `:root` block (see the metric CSS emitter). The prefix
|
|
29
|
+
* comes from the supplied {@link Theme} (`pm` by default),
|
|
30
|
+
* so a consumer that renames its custom-property namespace
|
|
31
|
+
* flows through here. Curried `metricVar(theme)(m)` so a
|
|
32
|
+
* theme-bound emitter fixes the namespace once.
|
|
33
|
+
*/
|
|
34
|
+
export declare const metricVar: (theme: Theme) => (m: Metric) => SoftStr;
|
|
35
|
+
//# sourceMappingURL=metric.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metric.d.ts","sourceRoot":"","sources":["../../../src/Style/model/metric.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAIpC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAEzD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,MAAM,GAChB,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,aAAa,CAAC,MAAM,CAKzC,CAAC;AASF,eAAO,MAAM,WAAW,EAAE,MAAM,CAC9B,MAAM,EACN,OAAO,CAMR,CAAC;AAEF,qDAAqD;AACrD,eAAO,MAAM,WAAW,MAAO,MAAM,KAAG,OACxB,CAAC;AAEjB;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,UACZ,KAAK,SACT,MAAM,KAAG,OACkB,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type Result, type InvalidError } from "plgg";
|
|
2
|
+
import { type Color } from "./token";
|
|
3
|
+
import { type Scheme } from "./scheme";
|
|
4
|
+
import { type HexColor, hex } from "./hexColor";
|
|
5
|
+
/**
|
|
6
|
+
* A full palette: every {@link Color} token, in every
|
|
7
|
+
* {@link Scheme}, as a validated {@link HexColor}. The
|
|
8
|
+
* `Record` shape makes it exhaustive twice over — a missing
|
|
9
|
+
* scheme or token is a `tsc` error — so an override can
|
|
10
|
+
* never ship a hole. Palette *data*, split from the token
|
|
11
|
+
* *vocabulary* (`token.ts`) so an app can supply its own
|
|
12
|
+
* brand colors without forking the framework.
|
|
13
|
+
*/
|
|
14
|
+
export type Palette = Record<Scheme, Record<Color, HexColor>>;
|
|
15
|
+
export declare const defaultPalette: Palette;
|
|
16
|
+
/**
|
|
17
|
+
* A token's {@link HexColor} in a palette / scheme.
|
|
18
|
+
*/
|
|
19
|
+
export declare const paletteHex: (palette: Palette, scheme: Scheme, c: Color) => HexColor;
|
|
20
|
+
/**
|
|
21
|
+
* A token's {@link HexColor} in the DEFAULT palette — the
|
|
22
|
+
* zero-config path the emitter and the contrast gate use.
|
|
23
|
+
* (Was `token.ts`'s `colorHex`; now returns the branded
|
|
24
|
+
* color — `hex()` unwraps the raw string.)
|
|
25
|
+
*/
|
|
26
|
+
export declare const colorHex: (scheme: Scheme, c: Color) => HexColor;
|
|
27
|
+
/**
|
|
28
|
+
* Validate an unknown value (config-borne) as a full
|
|
29
|
+
* {@link Palette}. Iterates `schemes` × the token vocabulary
|
|
30
|
+
* exhaustively — a missing scheme, a missing token, or a
|
|
31
|
+
* bad hex is an `Err` naming the failing path (e.g.
|
|
32
|
+
* `dark.danger-border`). Validates SHAPE, not taste: a
|
|
33
|
+
* low-contrast override is the app's deliberate choice
|
|
34
|
+
* (use `contrastRatio` to audit).
|
|
35
|
+
*/
|
|
36
|
+
export declare const asPalette: (value: unknown) => Result<Palette, InvalidError>;
|
|
37
|
+
export { hex };
|
|
38
|
+
//# sourceMappingURL=palette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../src/Style/model/palette.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,YAAY,EAOlB,MAAM,MAAM,CAAC;AACd,OAAO,EACL,KAAK,KAAK,EAEX,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,MAAM,EAEZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,QAAQ,EAEb,GAAG,EACJ,MAAM,gCAAgC,CAAC;AAExC;;;;;;;;GAQG;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,CAC1B,MAAM,EACN,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,CACxB,CAAC;AAqHF,eAAO,MAAM,cAAc,EAAE,OAE5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,YACZ,OAAO,UACR,MAAM,KACX,KAAK,KACP,QAA8B,CAAC;AAElC;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,WACX,MAAM,KACX,KAAK,KACP,QAAqC,CAAC;AAYzC;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,UACb,OAAO,KACb,MAAM,CAAC,OAAO,EAAE,YAAY,CAwC9B,CAAC;AAEF,OAAO,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The two color schemes plggmatic ships. A closed union
|
|
3
|
+
* (not a free string) so the scheme emitter and any
|
|
4
|
+
* future scheme-aware code are exhaustive: adding a
|
|
5
|
+
* third scheme is a compile error everywhere it must be
|
|
6
|
+
* handled, never a silent gap.
|
|
7
|
+
*
|
|
8
|
+
* Light is the default; dark is opted into by a single
|
|
9
|
+
* `dark` class on `<html>` (`html.dark`) — the SINGLE
|
|
10
|
+
* published scheme mechanism (no attribute variants),
|
|
11
|
+
* which reswitches every `--pm-*` custom property (see the
|
|
12
|
+
* scheme CSS emitter). The class is set/persisted through
|
|
13
|
+
* the appearance contract (`Style/usecase/appearanceScript`,
|
|
14
|
+
* `applyScheme` + the `vp-appearance` key). The scheme is
|
|
15
|
+
* chosen by one class, not threaded through the component
|
|
16
|
+
* tree — colors stay data.
|
|
17
|
+
*/
|
|
18
|
+
export type Scheme = "light" | "dark";
|
|
19
|
+
/**
|
|
20
|
+
* Every {@link Scheme}, in emit order (light first, then
|
|
21
|
+
* the `html.dark` override). Iterated by the scheme CSS
|
|
22
|
+
* emitter and by the contrast spec so both cover the
|
|
23
|
+
* whole union without hard-coding the members twice.
|
|
24
|
+
*/
|
|
25
|
+
export declare const schemes: ReadonlyArray<Scheme>;
|
|
26
|
+
//# sourceMappingURL=scheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheme.d.ts","sourceRoot":"","sources":["../../../src/Style/model/scheme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAEtC;;;;;GAKG;AACH,eAAO,MAAM,OAAO,EAAE,aAAa,CAAC,MAAM,CAGzC,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { type SoftStr } from "plgg";
|
|
2
|
+
import { type Scheme } from "./scheme";
|
|
3
|
+
import { type HexColor } from "./hexColor";
|
|
4
|
+
import { type Theme } from "./theme";
|
|
5
|
+
/**
|
|
6
|
+
* The closed syntax-highlight vocabulary — a SIBLING of the
|
|
7
|
+
* {@link Color} token matrix (`Style/model/token.ts`), NOT
|
|
8
|
+
* new members of it: `bg("code-keyword")` stays a compile
|
|
9
|
+
* error, because syntax hues paint plgg-highlight's
|
|
10
|
+
* `tok-<kind>` spans through their own `--pm-code-*`
|
|
11
|
+
* properties, never the color atoms. A closed union so an
|
|
12
|
+
* unknown kind is a `tsc` error and the palette / emitter
|
|
13
|
+
* stay exhaustive.
|
|
14
|
+
*
|
|
15
|
+
* Seven of plgg-highlight's nine `TokenKind`s are colored;
|
|
16
|
+
* **`identifier` and `plain` are deliberately absent** — they
|
|
17
|
+
* inherit the code block's default ink (the pre-existing
|
|
18
|
+
* behavior, kept on purpose), so plggmatic emits neither a
|
|
19
|
+
* `--pm-code-*` property nor a `.tok-*` rule for them.
|
|
20
|
+
*
|
|
21
|
+
* **Pinned contract with plgg-highlight.** These kind names
|
|
22
|
+
* MUST equal plgg-highlight's `tok-<kind>` class stems
|
|
23
|
+
* (`Render/usecase/highlight.ts` `tokenClass`). plggmatic
|
|
24
|
+
* does NOT import plgg-highlight to learn them (its deps
|
|
25
|
+
* stay `plgg` + `plgg-view`); the name agreement is pinned
|
|
26
|
+
* by a cross-package spec in plggpress — the one package
|
|
27
|
+
* that depends on both sides of the seam.
|
|
28
|
+
*/
|
|
29
|
+
export type SyntaxKind = "keyword" | "string" | "number" | "comment" | "regex" | "template" | "punctuation";
|
|
30
|
+
export declare const syntaxKinds: ReadonlyArray<SyntaxKind>;
|
|
31
|
+
/**
|
|
32
|
+
* The default syntax palette: every {@link SyntaxKind} in
|
|
33
|
+
* every {@link Scheme} as a validated {@link HexColor}. The
|
|
34
|
+
* `Record<Scheme, Record<SyntaxKind, HexColor>>` shape is
|
|
35
|
+
* exhaustive twice over — a missing scheme or kind is a
|
|
36
|
+
* `tsc` error. Shaped as a Record so ticket 04's
|
|
37
|
+
* palette-override API can reach syntax the same way it
|
|
38
|
+
* reaches the color matrix (a consumer overriding `primary`
|
|
39
|
+
* can override `keyword`); the config→override wiring rides
|
|
40
|
+
* the schemeCss precedent and is added by the consumer
|
|
41
|
+
* tickets.
|
|
42
|
+
*/
|
|
43
|
+
export declare const syntaxPalette: Record<Scheme, Record<SyntaxKind, HexColor>>;
|
|
44
|
+
/** A syntax kind's {@link HexColor} in a scheme. */
|
|
45
|
+
export declare const syntaxHex: (scheme: Scheme, k: SyntaxKind) => HexColor;
|
|
46
|
+
/**
|
|
47
|
+
* The `var(--pm-code-<kind>)` reference for a kind — what
|
|
48
|
+
* the `.tok-<kind>` rule emits, resolved per scheme by the
|
|
49
|
+
* `--pm-code-*` properties. The `pm` namespace comes from
|
|
50
|
+
* {@link cssPrefix}; the `code-` segment separates syntax
|
|
51
|
+
* hues from the `--pm-<color>` token namespace.
|
|
52
|
+
*/
|
|
53
|
+
export declare const syntaxVar: (theme: Theme) => (k: SyntaxKind) => SoftStr;
|
|
54
|
+
//# sourceMappingURL=syntax.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"syntax.d.ts","sourceRoot":"","sources":["../../../src/Style/model/syntax.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAO,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAEzD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,OAAO,GACP,UAAU,GACV,aAAa,CAAC;AAElB,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,UAAU,CAS/C,CAAC;AA2DJ;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa,EAAE,MAAM,CAChC,MAAM,EACN,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,CAI7B,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,SAAS,WACZ,MAAM,KACX,UAAU,KACZ,QAAoC,CAAC;AAExC;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,UACZ,KAAK,SACT,UAAU,KAAG,OACmB,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type SoftStr } from "plgg";
|
|
2
|
+
import { type Palette } from "./palette";
|
|
3
|
+
import { type Metric } from "./metric";
|
|
4
|
+
import { type TypeRole, type TypeScale } from "./typography";
|
|
5
|
+
import { type Scheme } from "./scheme";
|
|
6
|
+
import { type SyntaxKind } from "./syntax";
|
|
7
|
+
import { type HexColor } from "./hexColor";
|
|
8
|
+
import { type ZBand } from "./zIndex";
|
|
9
|
+
import { type SlotStyle } from "../usecase/slotCss";
|
|
10
|
+
/**
|
|
11
|
+
* The design language as a single closed record — the
|
|
12
|
+
* empty-shell answer of the `plggmatic-extraction-cut`
|
|
13
|
+
* trip (ticket A3). Every value the CSS emitters and color
|
|
14
|
+
* atoms used to close over as a module constant is now a
|
|
15
|
+
* field here, so a consumer supplies its inputs explicitly
|
|
16
|
+
* instead of the engine baking one brand in:
|
|
17
|
+
*
|
|
18
|
+
* - `prefix` — the custom-property namespace
|
|
19
|
+
* (`--<prefix>-*`); `pm` by default. `colorVar`/
|
|
20
|
+
* `metricVar`/the emitters read it, so the emitted block
|
|
21
|
+
* and the atoms that reference it agree by construction.
|
|
22
|
+
* - `palette` — every color token's hex, per scheme
|
|
23
|
+
* (the `schemeCss` source; the override API's target).
|
|
24
|
+
* - `metrics` — the shell-geometry lengths (`metricCss`).
|
|
25
|
+
* - `typeScale` — the prose type roles.
|
|
26
|
+
* - `syntax` — the code-token palette (`syntaxCss`).
|
|
27
|
+
* - `zBands` — the stacking-band integers.
|
|
28
|
+
* - `storageKey` — the appearance persistence key
|
|
29
|
+
* (`vp-appearance` by default — a visitor's saved scheme
|
|
30
|
+
* must survive the extraction, D16).
|
|
31
|
+
*
|
|
32
|
+
* A widened or missing field is a `tsc` error — no `as`,
|
|
33
|
+
* no `any`. The engine ships {@link defaultTheme} (values
|
|
34
|
+
* = today's monochrome `--pm-*` design language) as its
|
|
35
|
+
* brand-neutral default; `plggmatic/brand` owns the
|
|
36
|
+
* BRANDED instance and the palette-override API layered
|
|
37
|
+
* over this contract.
|
|
38
|
+
*/
|
|
39
|
+
export type Theme = Readonly<{
|
|
40
|
+
prefix: SoftStr;
|
|
41
|
+
palette: Palette;
|
|
42
|
+
metrics: Record<Metric, SoftStr>;
|
|
43
|
+
typeScale: Record<TypeRole, TypeScale>;
|
|
44
|
+
syntax: Record<Scheme, Record<SyntaxKind, HexColor>>;
|
|
45
|
+
zBands: Record<ZBand, number>;
|
|
46
|
+
storageKey: SoftStr;
|
|
47
|
+
/**
|
|
48
|
+
* Per-component theming slots: a consumer's restyle of
|
|
49
|
+
* the framework chrome, as validated {@link SlotStyle}
|
|
50
|
+
* data resolved by {@link slotCss} into `pm-*` rules the
|
|
51
|
+
* FRAMEWORK owns — never by the consumer naming a `pm-*`
|
|
52
|
+
* class. Empty by default (the zero-config chrome is the
|
|
53
|
+
* `chromeCss` defaults alone).
|
|
54
|
+
*/
|
|
55
|
+
slots: ReadonlyArray<SlotStyle>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* The neutral default `Theme`: the monochrome `--pm-*`
|
|
59
|
+
* design language the engine shipped before
|
|
60
|
+
* parameterization (prefix `pm`, the oracle palette,
|
|
61
|
+
* `vp-appearance`), so passing `defaultTheme` to the
|
|
62
|
+
* emitters reproduces the old output byte-for-byte
|
|
63
|
+
* (D3/D16). `plggmatic/brand` re-brands this as
|
|
64
|
+
* Pragmatic's; `plggpress` passes it at its composition
|
|
65
|
+
* root and may diverge later.
|
|
66
|
+
*/
|
|
67
|
+
export declare const defaultTheme: Theme;
|
|
68
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/Style/model/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EACL,KAAK,OAAO,EAEb,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,KAAK,MAAM,EAEZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,SAAS,EAEf,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EACL,KAAK,UAAU,EAEhB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EACL,KAAK,KAAK,EAEX,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAEjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,MAAM,KAAK,GAAG,QAAQ,CAAC;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;IACvC,MAAM,EAAE,MAAM,CACZ,MAAM,EACN,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,CAC7B,CAAC;IACF,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;IACpB;;;;;;;OAOG;IACH,KAAK,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;CACjC,CAAC,CAAC;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,EAAE,KAS1B,CAAC"}
|