@almadar/core 11.3.0 → 11.5.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.
Files changed (91) hide show
  1. package/dist/behavior-package.js +1 -3
  2. package/dist/{builders-DXPLnmJy.d.ts → builders-JiXD6W1T.d.ts} +2266 -98
  3. package/dist/builders.d.ts +5 -5
  4. package/dist/builders.js +8 -10
  5. package/dist/{bus-CRxTnebm.d.ts → bus-__zVNcsp.d.ts} +133 -438
  6. package/dist/{chunk-DNS4GKQV.js → chunk-27Y5AXHB.js} +71 -45
  7. package/dist/chunk-2WLRKYD5.js +3823 -0
  8. package/dist/{chunk-B4MNHGBP.js → chunk-5IRZ6ROW.js} +0 -2
  9. package/dist/{chunk-7NDAXM2Z.js → chunk-6XYHVJ4J.js} +1 -3
  10. package/dist/{chunk-RGACZEYC.js → chunk-DDBAQMWA.js} +0 -2
  11. package/dist/{chunk-7GHJU5WI.js → chunk-GNLND5O2.js} +0 -2
  12. package/dist/{chunk-M4S2B5VJ.js → chunk-IU3WGC6Q.js} +0 -2
  13. package/dist/{chunk-LPJ7GKRM.js → chunk-J64IR3DR.js} +17 -9
  14. package/dist/{chunk-PYYHDYTD.js → chunk-J64YVVB4.js} +1 -3
  15. package/dist/{chunk-7B4JRMRL.js → chunk-JN3MMQTB.js} +15 -7
  16. package/dist/{chunk-VIHQKKTZ.js → chunk-LQZXCL47.js} +66 -32
  17. package/dist/{chunk-6H3UIZR2.js → chunk-OQ3Y5SL3.js} +4 -6
  18. package/dist/{chunk-3DZOFI53.js → chunk-Q4OJQNYY.js} +5 -4
  19. package/dist/{chunk-347APWFM.js → chunk-R3Y7ABF4.js} +2 -4
  20. package/dist/{chunk-N3CK4AYW.js → chunk-VC3HXUWQ.js} +7929 -404
  21. package/dist/{chunk-2NKK2X53.js → chunk-VQWE3FCB.js} +1 -3
  22. package/dist/{chunk-VG7BRFUD.js → chunk-W3UJRSYC.js} +0 -2
  23. package/dist/{chunk-XBWV3DXX.js → chunk-XYHBAUWE.js} +242 -10
  24. package/dist/{effect-C2VKm6kk.d.ts → effect-gddySYLX.d.ts} +215 -18
  25. package/dist/{effect-result-BFNANDJ-.d.ts → effect-result-BvBwmspK.d.ts} +131 -43
  26. package/dist/{expression-DirYKz-f.d.ts → expression-DxY6ct3t.d.ts} +1 -1
  27. package/dist/factory/index.d.ts +3 -3
  28. package/dist/factory/index.js +8 -10
  29. package/dist/factory-runtime/index.d.ts +3 -3
  30. package/dist/factory-runtime/index.js +15 -17
  31. package/dist/fixtures.d.ts +8 -7
  32. package/dist/fixtures.js +6 -8
  33. package/dist/i18n/index.js +2 -4
  34. package/dist/{index-DuHpwitt.d.ts → index-h6KrpmjR.d.ts} +23 -10
  35. package/dist/index.d.ts +15 -17
  36. package/dist/index.js +23 -25
  37. package/dist/kernel-wire.d.ts +3 -3
  38. package/dist/kernel-wire.js +3 -5
  39. package/dist/language/constructs.json +18 -3
  40. package/dist/language/program-types.json +28 -1
  41. package/dist/language/validation-codes.json +231 -1
  42. package/dist/language/vocabulary.json +63 -1
  43. package/dist/language-data.js +3 -5
  44. package/dist/lolo-document/index.js +0 -2
  45. package/dist/patterns/component-mapping.json +11 -1
  46. package/dist/patterns/definitions.d.ts +2 -2
  47. package/dist/patterns/definitions.js +1 -3
  48. package/dist/patterns/event-contracts.json +1 -1
  49. package/dist/patterns/index.d.ts +47 -3
  50. package/dist/patterns/index.js +3 -5
  51. package/dist/patterns/patterns-registry.json +7929 -402
  52. package/dist/patterns/registry.json +7929 -402
  53. package/dist/themes/index.js +2 -4
  54. package/dist/{trait-Cv3HTGFL.d.ts → trait-Oun4JgeZ.d.ts} +52 -22
  55. package/dist/types/index.d.ts +8 -8
  56. package/dist/types/index.js +12 -14
  57. package/dist/{types-wWEqi7vj.d.ts → types-B-r7Z7Lf.d.ts} +3 -3
  58. package/package.json +6 -6
  59. package/dist/behavior-package.js.map +0 -1
  60. package/dist/builders.js.map +0 -1
  61. package/dist/chunk-2NKK2X53.js.map +0 -1
  62. package/dist/chunk-347APWFM.js.map +0 -1
  63. package/dist/chunk-3DZOFI53.js.map +0 -1
  64. package/dist/chunk-6H3UIZR2.js.map +0 -1
  65. package/dist/chunk-7B4JRMRL.js.map +0 -1
  66. package/dist/chunk-7GHJU5WI.js.map +0 -1
  67. package/dist/chunk-7NDAXM2Z.js.map +0 -1
  68. package/dist/chunk-B4MNHGBP.js.map +0 -1
  69. package/dist/chunk-DNS4GKQV.js.map +0 -1
  70. package/dist/chunk-LPJ7GKRM.js.map +0 -1
  71. package/dist/chunk-M4S2B5VJ.js.map +0 -1
  72. package/dist/chunk-N3CK4AYW.js.map +0 -1
  73. package/dist/chunk-PYYHDYTD.js.map +0 -1
  74. package/dist/chunk-RGACZEYC.js.map +0 -1
  75. package/dist/chunk-VG7BRFUD.js.map +0 -1
  76. package/dist/chunk-VIHQKKTZ.js.map +0 -1
  77. package/dist/chunk-XBWV3DXX.js.map +0 -1
  78. package/dist/chunk-ZDIHVDTW.js +0 -3810
  79. package/dist/chunk-ZDIHVDTW.js.map +0 -1
  80. package/dist/factory/index.js.map +0 -1
  81. package/dist/factory-runtime/index.js.map +0 -1
  82. package/dist/fixtures.js.map +0 -1
  83. package/dist/i18n/index.js.map +0 -1
  84. package/dist/index.js.map +0 -1
  85. package/dist/kernel-wire.js.map +0 -1
  86. package/dist/language-data.js.map +0 -1
  87. package/dist/lolo-document/index.js.map +0 -1
  88. package/dist/patterns/definitions.js.map +0 -1
  89. package/dist/patterns/index.js.map +0 -1
  90. package/dist/themes/index.js.map +0 -1
  91. package/dist/types/index.js.map +0 -1
@@ -1,6 +1,6 @@
1
- import { A as AnyPatternConfig, o as PatternType } from '../effect-C2VKm6kk.js';
1
+ import { A as AnyPatternConfig, n as PatternType } from '../effect-gddySYLX.js';
2
2
  import { RenderBinding, FieldValue, Effect } from '../index.js';
3
- export { p as PATTERN_TYPES, q as PatternConfig, r as PatternProps, s as PatternPropsMap, t as isValidPatternType } from '../effect-C2VKm6kk.js';
3
+ export { o as PATTERN_TYPES, p as PatternConfig, q as PatternProps, r as PatternPropsMap, s as isValidPatternType } from '../effect-gddySYLX.js';
4
4
  import { JsonValue } from '../factory/index.js';
5
5
  import { EventPayloadValue, EventPayload, SExprObject, SExpr } from '../index.js';
6
6
  import 'zod';
@@ -2154,6 +2154,16 @@ declare let mappings: {
2154
2154
  importPath: string;
2155
2155
  category: string;
2156
2156
  };
2157
+ "annotated-media": {
2158
+ component: string;
2159
+ importPath: string;
2160
+ category: string;
2161
+ };
2162
+ "draw-emitter": {
2163
+ component: string;
2164
+ importPath: string;
2165
+ category: string;
2166
+ };
2157
2167
  };
2158
2168
 
2159
2169
 
@@ -2882,10 +2892,15 @@ declare const SELF_OVERLAY_PATTERN_TYPES: ReadonlySet<string>;
2882
2892
  * declares none: feeds the awaiting-skeleton prediction,
2883
2893
  * never passed on (a declaring component carries no kind).
2884
2894
  *
2895
+ * - `"class-string"` — the prop value is a CSS class string (or an `if` form
2896
+ * of class strings) the renderer applies to an element.
2897
+ * `orb tailwind-content` reads every prop carrying it, so
2898
+ * its tokens reach the prebuilt client's Tailwind list.
2899
+ *
2885
2900
  * Reserved for future use: `"config-binding"`. Add here rather than
2886
2901
  * inventing per-consumer markers.
2887
2902
  */
2888
- declare const PROP_KINDS: readonly ["event", "event-ref", "event-listen", "event-list", "event-map", "callback", "entity", "entry", "skeleton"];
2903
+ declare const PROP_KINDS: readonly ["event", "event-ref", "event-listen", "event-list", "event-map", "callback", "entity", "entry", "skeleton", "class-string", "field-ref", "text"];
2889
2904
  type PropKind = (typeof PROP_KINDS)[number];
2890
2905
  /**
2891
2906
  * Recursive structural schema for array elements / nested objects, mirrored
@@ -2895,6 +2910,10 @@ type PropKind = (typeof PROP_KINDS)[number];
2895
2910
  */
2896
2911
  interface PatternPropTypeSchema {
2897
2912
  types: string[];
2913
+ /** Semantic kind of this nested member (e.g. `field-ref` for an entity field name). */
2914
+ kind?: PropKind;
2915
+ /** For `kind: "field-ref"`: the sibling prop whose rows own the field (`RowFieldName<P>`); absent means the bound entity. */
2916
+ of?: string;
2898
2917
  enumValues?: string[];
2899
2918
  items?: PatternPropTypeSchema;
2900
2919
  /** For a dynamic-key typed map (`Record<string, V>` with a CONCRETE value
@@ -2920,6 +2939,8 @@ interface PatternPropTypeSchema {
2920
2939
  /** Self-referential tree-node child — the shape is captured at the parent
2921
2940
  * level, so recursing here would not terminate. */
2922
2941
  cyclic?: boolean;
2942
+ /** Source type was `EventPayload`: bus data, never a render tree. */
2943
+ eventPayloadBrand?: boolean;
2923
2944
  /** Set when the value's source type is core `ScenePos` — the type-identity
2924
2945
  * signal that grounds a pattern's `drawable` capability. */
2925
2946
  scenePos?: boolean;
@@ -2993,6 +3014,15 @@ interface PatternPropDef {
2993
3014
  * the prop has no additional semantic meaning beyond its JSON shape.
2994
3015
  */
2995
3016
  kind?: PropKind;
3017
+ /** For `kind: "field-ref"`: the sibling prop whose rows own the field (`RowFieldName<P>`); absent means the bound entity. */
3018
+ of?: string;
3019
+ /** For an array prop: the semantic kind of each element (e.g. `field-ref` for a list of field names). */
3020
+ itemKind?: PropKind;
3021
+ /**
3022
+ * The names of the SIBLING event props through which the component reports a
3023
+ * new value for this prop. Set from `@changedBy <prop>` JSDoc tags.
3024
+ */
3025
+ changedBy?: string[];
2996
3026
  /**
2997
3027
  * For `kind: "event-list"`: the name of the field inside each array
2998
3028
  * item that holds the event key. Defaults to `"event"` when
@@ -5474,6 +5504,16 @@ declare const COMPONENT_MAPPING: {
5474
5504
  importPath: string;
5475
5505
  category: string;
5476
5506
  };
5507
+ "annotated-media": {
5508
+ component: string;
5509
+ importPath: string;
5510
+ category: string;
5511
+ };
5512
+ "draw-emitter": {
5513
+ component: string;
5514
+ importPath: string;
5515
+ category: string;
5516
+ };
5477
5517
  };
5478
5518
  };
5479
5519
  declare const EVENT_CONTRACTS: {
@@ -6123,10 +6163,14 @@ type PatternEntry = {
6123
6163
  /** Narrowest rendered width (px) the component stays usable at, from its
6124
6164
  * `@minWidth` JSDoc tag. The layout check reports narrower instances. */
6125
6165
  minUsableWidth?: number;
6166
+ /** True when the pattern paints nothing of its own and only arranges its
6167
+ * children, from its `@layoutOnly` JSDoc tag. Absent otherwise. */
6168
+ layoutOnly?: boolean;
6126
6169
  };
6127
6170
  type PatternsRegistry = {
6128
6171
  version?: string;
6129
6172
  exportedAt?: string;
6173
+ maintenance?: string;
6130
6174
  patterns: Record<string, PatternEntry>;
6131
6175
  categories?: string[];
6132
6176
  };
@@ -1,5 +1,3 @@
1
- export { COMPONENT_MAPPING, EVENT_CONTRACTS, PATTERN_TYPES, PROP_KINDS, SELF_OVERLAY_PATTERN_TYPES, SERVICES_REGISTRY, collectRenderUiPatternTypes, component_mapping_default as componentMapping, event_contracts_default as eventContracts, eventKeyPropsOf, eventListPropsOf, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternFieldsContract, getPatternMetadata, getPatternMinUsableWidths, getPatternPropsCompact, getPatternRuntimeDefinition, getPatternsGroupedByCategory, isBrowserOnlyService, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, isValidPatternType, isValueInputPattern, renderUiEntriesOf, renderUiPatternTypesOf, services_registry_default as servicesRegistry } from '../chunk-ZDIHVDTW.js';
2
- import '../chunk-7GHJU5WI.js';
3
- export { PATTERN_REGISTRY, getPatternDefinition, patternsRegistry, registry } from '../chunk-N3CK4AYW.js';
4
- //# sourceMappingURL=index.js.map
5
- //# sourceMappingURL=index.js.map
1
+ export { COMPONENT_MAPPING, EVENT_CONTRACTS, PATTERN_TYPES, PROP_KINDS, SELF_OVERLAY_PATTERN_TYPES, SERVICES_REGISTRY, collectRenderUiPatternTypes, component_mapping_default as componentMapping, event_contracts_default as eventContracts, eventKeyPropsOf, eventListPropsOf, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternFieldsContract, getPatternMetadata, getPatternMinUsableWidths, getPatternPropsCompact, getPatternRuntimeDefinition, getPatternsGroupedByCategory, isBrowserOnlyService, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, isValidPatternType, isValueInputPattern, renderUiEntriesOf, renderUiPatternTypesOf, services_registry_default as servicesRegistry } from '../chunk-2WLRKYD5.js';
2
+ import '../chunk-GNLND5O2.js';
3
+ export { PATTERN_REGISTRY, getPatternDefinition, patternsRegistry, registry } from '../chunk-VC3HXUWQ.js';