@kurot/ui-document 0.1.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 (107) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +152 -0
  3. package/dist/index.d.ts +8 -0
  4. package/dist/index.d.ts.map +1 -0
  5. package/dist/index.js +8 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/kurot/catalog/index.d.ts +2 -0
  8. package/dist/kurot/catalog/index.d.ts.map +1 -0
  9. package/dist/kurot/catalog/index.js +2 -0
  10. package/dist/kurot/catalog/index.js.map +1 -0
  11. package/dist/kurot/catalog/kurot-ui-foundation.d.ts +10 -0
  12. package/dist/kurot/catalog/kurot-ui-foundation.d.ts.map +1 -0
  13. package/dist/kurot/catalog/kurot-ui-foundation.js +91 -0
  14. package/dist/kurot/catalog/kurot-ui-foundation.js.map +1 -0
  15. package/dist/kurot/catalog/properties/basic-component-properties.d.ts +22 -0
  16. package/dist/kurot/catalog/properties/basic-component-properties.d.ts.map +1 -0
  17. package/dist/kurot/catalog/properties/basic-component-properties.js +171 -0
  18. package/dist/kurot/catalog/properties/basic-component-properties.js.map +1 -0
  19. package/dist/kurot/catalog/properties/foundation-properties.d.ts +14 -0
  20. package/dist/kurot/catalog/properties/foundation-properties.d.ts.map +1 -0
  21. package/dist/kurot/catalog/properties/foundation-properties.js +215 -0
  22. package/dist/kurot/catalog/properties/foundation-properties.js.map +1 -0
  23. package/dist/kurot/document/create.d.ts +46 -0
  24. package/dist/kurot/document/create.d.ts.map +1 -0
  25. package/dist/kurot/document/create.js +33 -0
  26. package/dist/kurot/document/create.js.map +1 -0
  27. package/dist/kurot/document/index.d.ts +4 -0
  28. package/dist/kurot/document/index.d.ts.map +1 -0
  29. package/dist/kurot/document/index.js +3 -0
  30. package/dist/kurot/document/index.js.map +1 -0
  31. package/dist/kurot/document/query.d.ts +10 -0
  32. package/dist/kurot/document/query.d.ts.map +1 -0
  33. package/dist/kurot/document/query.js +23 -0
  34. package/dist/kurot/document/query.js.map +1 -0
  35. package/dist/kurot/model/UIDocument.d.ts +27 -0
  36. package/dist/kurot/model/UIDocument.d.ts.map +1 -0
  37. package/dist/kurot/model/UIDocument.js +5 -0
  38. package/dist/kurot/model/UIDocument.js.map +1 -0
  39. package/dist/kurot/model/UINode.d.ts +23 -0
  40. package/dist/kurot/model/UINode.d.ts.map +1 -0
  41. package/dist/kurot/model/UINode.js +2 -0
  42. package/dist/kurot/model/UINode.js.map +1 -0
  43. package/dist/kurot/model/UIPropertyValue.d.ts +16 -0
  44. package/dist/kurot/model/UIPropertyValue.d.ts.map +1 -0
  45. package/dist/kurot/model/UIPropertyValue.js +2 -0
  46. package/dist/kurot/model/UIPropertyValue.js.map +1 -0
  47. package/dist/kurot/model/index.d.ts +5 -0
  48. package/dist/kurot/model/index.d.ts.map +1 -0
  49. package/dist/kurot/model/index.js +2 -0
  50. package/dist/kurot/model/index.js.map +1 -0
  51. package/dist/kurot/schema/UIComponentDefinition.d.ts +130 -0
  52. package/dist/kurot/schema/UIComponentDefinition.d.ts.map +1 -0
  53. package/dist/kurot/schema/UIComponentDefinition.js +2 -0
  54. package/dist/kurot/schema/UIComponentDefinition.js.map +1 -0
  55. package/dist/kurot/schema/UIComponentRegistry.d.ts +33 -0
  56. package/dist/kurot/schema/UIComponentRegistry.d.ts.map +1 -0
  57. package/dist/kurot/schema/UIComponentRegistry.js +127 -0
  58. package/dist/kurot/schema/UIComponentRegistry.js.map +1 -0
  59. package/dist/kurot/schema/UIComponentResolutionError.d.ts +19 -0
  60. package/dist/kurot/schema/UIComponentResolutionError.d.ts.map +1 -0
  61. package/dist/kurot/schema/UIComponentResolutionError.js +20 -0
  62. package/dist/kurot/schema/UIComponentResolutionError.js.map +1 -0
  63. package/dist/kurot/schema/index.d.ts +6 -0
  64. package/dist/kurot/schema/index.d.ts.map +1 -0
  65. package/dist/kurot/schema/index.js +4 -0
  66. package/dist/kurot/schema/index.js.map +1 -0
  67. package/dist/kurot/schema/validateComponentDefinition.d.ts +6 -0
  68. package/dist/kurot/schema/validateComponentDefinition.d.ts.map +1 -0
  69. package/dist/kurot/schema/validateComponentDefinition.js +145 -0
  70. package/dist/kurot/schema/validateComponentDefinition.js.map +1 -0
  71. package/dist/kurot/schema/validateUIDocumentComponents.d.ts +9 -0
  72. package/dist/kurot/schema/validateUIDocumentComponents.d.ts.map +1 -0
  73. package/dist/kurot/schema/validateUIDocumentComponents.js +135 -0
  74. package/dist/kurot/schema/validateUIDocumentComponents.js.map +1 -0
  75. package/dist/kurot/serialization/UIDocumentParseError.d.ts +12 -0
  76. package/dist/kurot/serialization/UIDocumentParseError.d.ts.map +1 -0
  77. package/dist/kurot/serialization/UIDocumentParseError.js +16 -0
  78. package/dist/kurot/serialization/UIDocumentParseError.js.map +1 -0
  79. package/dist/kurot/serialization/UIDocumentValidationError.d.ts +12 -0
  80. package/dist/kurot/serialization/UIDocumentValidationError.d.ts.map +1 -0
  81. package/dist/kurot/serialization/UIDocumentValidationError.js +16 -0
  82. package/dist/kurot/serialization/UIDocumentValidationError.js.map +1 -0
  83. package/dist/kurot/serialization/index.d.ts +4 -0
  84. package/dist/kurot/serialization/index.d.ts.map +1 -0
  85. package/dist/kurot/serialization/index.js +4 -0
  86. package/dist/kurot/serialization/index.js.map +1 -0
  87. package/dist/kurot/serialization/json.d.ts +10 -0
  88. package/dist/kurot/serialization/json.d.ts.map +1 -0
  89. package/dist/kurot/serialization/json.js +78 -0
  90. package/dist/kurot/serialization/json.js.map +1 -0
  91. package/dist/kurot/validation/UIDiagnostic.d.ts +30 -0
  92. package/dist/kurot/validation/UIDiagnostic.d.ts.map +1 -0
  93. package/dist/kurot/validation/UIDiagnostic.js +2 -0
  94. package/dist/kurot/validation/UIDiagnostic.js.map +1 -0
  95. package/dist/kurot/validation/index.d.ts +3 -0
  96. package/dist/kurot/validation/index.d.ts.map +1 -0
  97. package/dist/kurot/validation/index.js +2 -0
  98. package/dist/kurot/validation/index.js.map +1 -0
  99. package/dist/kurot/validation/validateUIDocument.d.ts +11 -0
  100. package/dist/kurot/validation/validateUIDocument.d.ts.map +1 -0
  101. package/dist/kurot/validation/validateUIDocument.js +143 -0
  102. package/dist/kurot/validation/validateUIDocument.js.map +1 -0
  103. package/dist/kurot/version.d.ts +5 -0
  104. package/dist/kurot/version.d.ts.map +1 -0
  105. package/dist/kurot/version.js +5 -0
  106. package/dist/kurot/version.js.map +1 -0
  107. package/package.json +50 -0
@@ -0,0 +1,215 @@
1
+ /**
2
+ * Serializable authoring properties inherited by every Kurot display node.
3
+ */
4
+ export const DISPLAY_OBJECT_PROPERTIES = {
5
+ alpha: {
6
+ valueType: 'number',
7
+ minimum: 0,
8
+ maximum: 1,
9
+ defaultValue: 1,
10
+ description: 'Opacity applied to this node and its descendants.',
11
+ },
12
+ anchorOffsetX: {
13
+ valueType: 'number',
14
+ defaultValue: 0,
15
+ description: 'Horizontal transform origin offset in local pixels.',
16
+ },
17
+ anchorOffsetY: {
18
+ valueType: 'number',
19
+ defaultValue: 0,
20
+ description: 'Vertical transform origin offset in local pixels.',
21
+ },
22
+ blendMode: {
23
+ valueType: 'string',
24
+ enumValues: [
25
+ 'source-over',
26
+ 'lighter',
27
+ 'destination-out',
28
+ 'multiply',
29
+ 'screen',
30
+ 'lighten',
31
+ 'darken',
32
+ 'difference',
33
+ 'overlay',
34
+ 'hard-light',
35
+ 'soft-light',
36
+ 'color-dodge',
37
+ 'color-burn',
38
+ 'exclusion',
39
+ 'hue',
40
+ 'saturation',
41
+ 'color',
42
+ 'luminosity',
43
+ ],
44
+ defaultValue: 'source-over',
45
+ description: 'Compositing mode used when rendering this node.',
46
+ },
47
+ cacheAsBitmap: {
48
+ valueType: 'boolean',
49
+ defaultValue: false,
50
+ description: 'Whether to cache this display subtree as a reusable texture.',
51
+ },
52
+ height: {
53
+ valueType: 'number',
54
+ minimum: 0,
55
+ description: 'Explicit height in pixels; omit it to use measured height.',
56
+ },
57
+ name: {
58
+ valueType: 'string',
59
+ defaultValue: '',
60
+ description: 'Optional runtime name used for display-tree lookup and diagnostics.',
61
+ },
62
+ rotation: {
63
+ valueType: 'number',
64
+ defaultValue: 0,
65
+ description: 'Clockwise rotation in degrees.',
66
+ },
67
+ scaleX: {
68
+ valueType: 'number',
69
+ defaultValue: 1,
70
+ description: 'Horizontal scale relative to the local transform origin.',
71
+ },
72
+ scaleY: {
73
+ valueType: 'number',
74
+ defaultValue: 1,
75
+ description: 'Vertical scale relative to the local transform origin.',
76
+ },
77
+ skewX: {
78
+ valueType: 'number',
79
+ defaultValue: 0,
80
+ description: 'Horizontal skew in degrees.',
81
+ },
82
+ skewY: {
83
+ valueType: 'number',
84
+ defaultValue: 0,
85
+ description: 'Vertical skew in degrees.',
86
+ },
87
+ sortableChildren: {
88
+ valueType: 'boolean',
89
+ defaultValue: false,
90
+ description: 'Whether descendants are ordered by zIndex before rendering.',
91
+ },
92
+ tint: {
93
+ valueType: 'number',
94
+ format: 'color',
95
+ minimum: 0,
96
+ maximum: 0xffffff,
97
+ integer: true,
98
+ defaultValue: 0xffffff,
99
+ description: 'Multiplicative RGB tint encoded as a 24-bit integer.',
100
+ },
101
+ touchEnabled: {
102
+ valueType: 'boolean',
103
+ defaultValue: false,
104
+ description: 'Whether this node can be the target of pointer events.',
105
+ },
106
+ visible: {
107
+ valueType: 'boolean',
108
+ defaultValue: true,
109
+ description: 'Whether this node participates in rendering and hit testing.',
110
+ },
111
+ width: {
112
+ valueType: 'number',
113
+ minimum: 0,
114
+ description: 'Explicit width in pixels; omit it to use measured width.',
115
+ },
116
+ x: {
117
+ valueType: 'number',
118
+ defaultValue: 0,
119
+ description: 'Horizontal position in the parent coordinate space.',
120
+ },
121
+ y: {
122
+ valueType: 'number',
123
+ defaultValue: 0,
124
+ description: 'Vertical position in the parent coordinate space.',
125
+ },
126
+ zIndex: {
127
+ valueType: 'number',
128
+ defaultValue: 0,
129
+ description: 'Relative render order when the parent enables sortable children.',
130
+ },
131
+ };
132
+ /**
133
+ * Layout and container properties inherited by every Kurot UI component.
134
+ */
135
+ export const UI_COMPONENT_PROPERTIES = {
136
+ bottom: anchorConstraint('Distance from the parent bottom edge.'),
137
+ horizontalCenter: anchorConstraint('Offset from the parent horizontal center.'),
138
+ includeInLayout: {
139
+ valueType: 'boolean',
140
+ defaultValue: true,
141
+ description: 'Whether the parent layout measures and positions this node.',
142
+ },
143
+ isRenderGroup: {
144
+ valueType: 'boolean',
145
+ defaultValue: false,
146
+ description: 'Whether this container owns an independent render instruction set.',
147
+ },
148
+ left: anchorConstraint('Distance from the parent left edge.'),
149
+ maxHeight: sizeConstraint('Maximum layout height.', 100000),
150
+ maxWidth: sizeConstraint('Maximum layout width.', 100000),
151
+ minHeight: sizeConstraint('Minimum layout height.', 0),
152
+ minWidth: sizeConstraint('Minimum layout width.', 0),
153
+ percentHeight: percentageConstraint('Height as a percentage of the parent height.'),
154
+ percentWidth: percentageConstraint('Width as a percentage of the parent width.'),
155
+ right: anchorConstraint('Distance from the parent right edge.'),
156
+ top: anchorConstraint('Distance from the parent top edge.'),
157
+ touchChildren: {
158
+ valueType: 'boolean',
159
+ defaultValue: true,
160
+ description: 'Whether descendants can be pointer-event targets.',
161
+ },
162
+ touchEnabled: {
163
+ valueType: 'boolean',
164
+ defaultValue: true,
165
+ description: 'Whether this UI component can be a pointer-event target.',
166
+ },
167
+ verticalCenter: anchorConstraint('Offset from the parent vertical center.'),
168
+ };
169
+ /**
170
+ * Authoring properties inherited by skinnable Kurot controls.
171
+ */
172
+ export const COMPONENT_PROPERTIES = {
173
+ currentState: {
174
+ valueType: 'string',
175
+ defaultValue: '',
176
+ description: 'Explicit skin view state; an empty string uses the computed state.',
177
+ },
178
+ enabled: {
179
+ valueType: 'boolean',
180
+ defaultValue: true,
181
+ description: 'Whether the control accepts interaction and uses enabled states.',
182
+ },
183
+ hostComponentKey: {
184
+ valueType: 'string',
185
+ description: 'Theme lookup key; omit it to use the runtime class name.',
186
+ },
187
+ skinName: {
188
+ valueType: 'string',
189
+ format: 'skin',
190
+ description: 'Serializable skin identifier resolved by the runtime or adapter.',
191
+ },
192
+ };
193
+ function anchorConstraint(description) {
194
+ return {
195
+ valueType: ['number', 'string'],
196
+ description: `${description} Strings may use percentage syntax such as "50%".`,
197
+ };
198
+ }
199
+ function percentageConstraint(description) {
200
+ return {
201
+ valueType: 'number',
202
+ minimum: 0,
203
+ maximum: 100,
204
+ description,
205
+ };
206
+ }
207
+ function sizeConstraint(description, defaultValue) {
208
+ return {
209
+ valueType: 'number',
210
+ minimum: 0,
211
+ defaultValue,
212
+ description,
213
+ };
214
+ }
215
+ //# sourceMappingURL=foundation-properties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"foundation-properties.js","sourceRoot":"","sources":["../../../../src/kurot/catalog/properties/foundation-properties.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAmD;IACxF,KAAK,EAAE;QACN,SAAS,EAAE,QAAQ;QACnB,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,CAAC;QACV,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,mDAAmD;KAChE;IACD,aAAa,EAAE;QACd,SAAS,EAAE,QAAQ;QACnB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,qDAAqD;KAClE;IACD,aAAa,EAAE;QACd,SAAS,EAAE,QAAQ;QACnB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,mDAAmD;KAChE;IACD,SAAS,EAAE;QACV,SAAS,EAAE,QAAQ;QACnB,UAAU,EAAE;YACX,aAAa;YACb,SAAS;YACT,iBAAiB;YACjB,UAAU;YACV,QAAQ;YACR,SAAS;YACT,QAAQ;YACR,YAAY;YACZ,SAAS;YACT,YAAY;YACZ,YAAY;YACZ,aAAa;YACb,YAAY;YACZ,WAAW;YACX,KAAK;YACL,YAAY;YACZ,OAAO;YACP,YAAY;SACZ;QACD,YAAY,EAAE,aAAa;QAC3B,WAAW,EAAE,iDAAiD;KAC9D;IACD,aAAa,EAA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aAAa,EAAE;QACd,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,IAAI;QAClB,WAAW,EAAE,mDAAmD;KAChE;IACD,YAAY,EAAE;QACb,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,IAAI;QAClB,WAAW,EAAE,0DAA0D;KACvE;IACD,cAAc,EAAE,gBAAgB,CAAC,yCAAyC,CAAC;CAC3E,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAmD;IACnF,YAAY,EAAE;QACb,SAAS,EAAE,QAAQ;QACnB,YAAY,EAAE,EAAE;QAChB,WAAW,EAAE,oEAAoE;KACjF;IACD,OAAO,EAAE;QACR,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,IAAI;QAClB,WAAW,EAAE,kEAAkE;KAC/E;IACD,gBAAgB,EAAE;QACjB,SAAS,EAAE,QAAQ;QACnB,WAAW,EAAE,0DAA0D;KACvE;IACD,QAAQ,EAAE;QACT,SAAS,EAAE,QAAQ;QACnB,MAAM,EAAE,MAAM;QACd,WAAW,EAAE,kEAAkE;KAC/E;CACD,CAAC;AAEF,SAAS,gBAAgB,CAAC,WAAmB;IAC5C,OAAO;QACN,SAAS,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;QAC/B,WAAW,EAAE,GAAG,WAAW,mDAAmD;KAC9E,CAAC;AACH,CAAC;AAED,SAAS,oBAAoB,CAAC,WAAmB;IAChD,OAAO;QACN,SAAS,EAAE,QAAQ;QACnB,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,GAAG;QACZ,WAAW;KACX,CAAC;AACH,CAAC;AAED,SAAS,cAAc,CAAC,WAAmB,EAAE,YAAoB;IAChE,OAAO;QACN,SAAS,EAAE,QAAQ;QACnB,OAAO,EAAE,CAAC;QACV,YAAY;QACZ,WAAW;KACX,CAAC;AACH,CAAC"}
@@ -0,0 +1,46 @@
1
+ import type { UIDocument } from '../model/UIDocument.js';
2
+ import type { UINode } from '../model/UINode.js';
3
+ import type { UIPropertyValue } from '../model/UIPropertyValue.js';
4
+ /**
5
+ * Input accepted by createUINode.
6
+ */
7
+ export interface CreateUINodeOptions {
8
+ /**
9
+ * Stable identifier, unique within the eventual document.
10
+ */
11
+ readonly id: string;
12
+ /**
13
+ * Component type key resolved outside this package.
14
+ */
15
+ readonly type: string;
16
+ /**
17
+ * Initial explicit properties. The top-level record is copied.
18
+ */
19
+ readonly properties?: Readonly<Record<string, UIPropertyValue>>;
20
+ /**
21
+ * Initial ordered children. The array is copied.
22
+ */
23
+ readonly children?: readonly UINode[];
24
+ }
25
+ /**
26
+ * Input accepted by createUIDocument.
27
+ */
28
+ export interface CreateUIDocumentOptions {
29
+ /**
30
+ * Stable document identifier assigned by the owning project.
31
+ */
32
+ readonly id: string;
33
+ /**
34
+ * Root component instance.
35
+ */
36
+ readonly root: UINode;
37
+ }
38
+ /**
39
+ * Creates a node with explicit empty property and child collections.
40
+ */
41
+ export declare function createUINode(options: CreateUINodeOptions): UINode;
42
+ /**
43
+ * Creates a document using the latest semantic format version.
44
+ */
45
+ export declare function createUIDocument(options: CreateUIDocumentOptions): UIDocument;
46
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/kurot/document/create.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,mBAAmB;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC;IAEhE;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACvC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAUjE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,uBAAuB,GAAG,UAAU,CAS7E"}
@@ -0,0 +1,33 @@
1
+ import { UI_DOCUMENT_FORMAT_VERSION } from '../version.js';
2
+ import { UI_DOCUMENT_KIND } from '../model/UIDocument.js';
3
+ /**
4
+ * Creates a node with explicit empty property and child collections.
5
+ */
6
+ export function createUINode(options) {
7
+ assertNonEmpty(options.id, 'Node id');
8
+ assertNonEmpty(options.type, 'Node type');
9
+ return {
10
+ id: options.id,
11
+ type: options.type,
12
+ properties: { ...options.properties },
13
+ children: [...(options.children ?? [])],
14
+ };
15
+ }
16
+ /**
17
+ * Creates a document using the latest semantic format version.
18
+ */
19
+ export function createUIDocument(options) {
20
+ assertNonEmpty(options.id, 'Document id');
21
+ return {
22
+ kind: UI_DOCUMENT_KIND,
23
+ formatVersion: UI_DOCUMENT_FORMAT_VERSION,
24
+ id: options.id,
25
+ root: options.root,
26
+ };
27
+ }
28
+ function assertNonEmpty(value, label) {
29
+ if (value.trim().length === 0) {
30
+ throw new Error(`${label} must not be empty.`);
31
+ }
32
+ }
33
+ //# sourceMappingURL=create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/kurot/document/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AA6C1D;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,OAA4B;IACxD,cAAc,CAAC,OAAO,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;IACtC,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;IAE1C,OAAO;QACN,EAAE,EAAE,OAAO,CAAC,EAAE;QACd,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,UAAU,EAAE,EAAE,GAAG,OAAO,CAAC,UAAU,EAAE;QACrC,QAAQ,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;KACvC,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,OAAgC;IAChE,cAAc,CAAC,OAAO,CAAC,EAAE,EAAE,aAAa,CAAC,CAAC;IAE1C,OAAO;QACN,IAAI,EAAE,gBAAgB;QACtB,aAAa,EAAE,0BAA0B;QACzC,EAAE,EAAE,OAAO,CAAC,EAAE;QACd,IAAI,EAAE,OAAO,CAAC,IAAI;KAClB,CAAC;AACH,CAAC;AAED,SAAS,cAAc,CAAC,KAAa,EAAE,KAAa;IACnD,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC/B,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,qBAAqB,CAAC,CAAC;IAChD,CAAC;AACF,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { createUIDocument, createUINode } from './create.js';
2
+ export type { CreateUIDocumentOptions, CreateUINodeOptions } from './create.js';
3
+ export { findUINode, visitUINodes } from './query.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/kurot/document/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC7D,YAAY,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { createUIDocument, createUINode } from './create.js';
2
+ export { findUINode, visitUINodes } from './query.js';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/kurot/document/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE7D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { UINode } from '../model/UINode.js';
2
+ /**
3
+ * Visits a node tree in deterministic parent-before-children order.
4
+ */
5
+ export declare function visitUINodes(root: UINode, visitor: (node: UINode) => void): void;
6
+ /**
7
+ * Finds the first node with the requested identifier in pre-order.
8
+ */
9
+ export declare function findUINode(root: UINode, id: string): UINode | undefined;
10
+ //# sourceMappingURL=query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../src/kurot/document/query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAAG,IAAI,CAKhF;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAQvE"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Visits a node tree in deterministic parent-before-children order.
3
+ */
4
+ export function visitUINodes(root, visitor) {
5
+ visitor(root);
6
+ for (const child of root.children) {
7
+ visitUINodes(child, visitor);
8
+ }
9
+ }
10
+ /**
11
+ * Finds the first node with the requested identifier in pre-order.
12
+ */
13
+ export function findUINode(root, id) {
14
+ if (root.id === id)
15
+ return root;
16
+ for (const child of root.children) {
17
+ const match = findUINode(child, id);
18
+ if (match)
19
+ return match;
20
+ }
21
+ return undefined;
22
+ }
23
+ //# sourceMappingURL=query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../src/kurot/document/query.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,IAAY,EAAE,OAA+B;IACzE,OAAO,CAAC,IAAI,CAAC,CAAC;IACd,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;QACnC,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9B,CAAC;AACF,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,UAAU,CAAC,IAAY,EAAE,EAAU;IAClD,IAAI,IAAI,CAAC,EAAE,KAAK,EAAE;QAAE,OAAO,IAAI,CAAC;IAEhC,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;QACnC,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACpC,IAAI,KAAK;YAAE,OAAO,KAAK,CAAC;IACzB,CAAC;IACD,OAAO,SAAS,CAAC;AAClB,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { UINode } from './UINode.js';
2
+ /**
3
+ * Discriminator written into every Kurot UI document.
4
+ */
5
+ export declare const UI_DOCUMENT_KIND = "kurot-ui-document";
6
+ /**
7
+ * Root serializable unit consumed by UI editing tools and adapters.
8
+ */
9
+ export interface UIDocument {
10
+ /**
11
+ * Stable discriminator used to reject unrelated JSON documents.
12
+ */
13
+ readonly kind: typeof UI_DOCUMENT_KIND;
14
+ /**
15
+ * Semantic format version, independent of the npm package version.
16
+ */
17
+ readonly formatVersion: number;
18
+ /**
19
+ * Stable document identifier assigned by the owning project.
20
+ */
21
+ readonly id: string;
22
+ /**
23
+ * Root component instance of the document.
24
+ */
25
+ readonly root: UINode;
26
+ }
27
+ //# sourceMappingURL=UIDocument.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UIDocument.d.ts","sourceRoot":"","sources":["../../../src/kurot/model/UIDocument.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C;;GAEG;AACH,eAAO,MAAM,gBAAgB,sBAAsB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,UAAU;IAC1B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,OAAO,gBAAgB,CAAC;IAEvC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Discriminator written into every Kurot UI document.
3
+ */
4
+ export const UI_DOCUMENT_KIND = 'kurot-ui-document';
5
+ //# sourceMappingURL=UIDocument.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UIDocument.js","sourceRoot":"","sources":["../../../src/kurot/model/UIDocument.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import type { UIPropertyValue } from './UIPropertyValue.js';
2
+ /**
3
+ * A component instance in a semantic UI document.
4
+ */
5
+ export interface UINode {
6
+ /**
7
+ * Stable identifier, unique within the containing document.
8
+ */
9
+ readonly id: string;
10
+ /**
11
+ * Component type key resolved by a renderer or format adapter.
12
+ */
13
+ readonly type: string;
14
+ /**
15
+ * Explicit component properties keyed by public property name.
16
+ */
17
+ readonly properties: Readonly<Record<string, UIPropertyValue>>;
18
+ /**
19
+ * Ordered visual children of this component instance.
20
+ */
21
+ readonly children: readonly UINode[];
22
+ }
23
+ //# sourceMappingURL=UINode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UINode.d.ts","sourceRoot":"","sources":["../../../src/kurot/model/UINode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,MAAM;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC;IAE/D;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=UINode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UINode.js","sourceRoot":"","sources":["../../../src/kurot/model/UINode.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Scalar value accepted by a UI property.
3
+ */
4
+ export type UIPropertyPrimitive = boolean | number | string;
5
+ /**
6
+ * String-keyed structured value accepted by a UI property.
7
+ */
8
+ export interface UIPropertyObject {
9
+ readonly [key: string]: UIPropertyValue;
10
+ }
11
+ /**
12
+ * Serializable value stored in a node property.
13
+ * Undefined, null, functions, and non-finite numbers are not valid values.
14
+ */
15
+ export type UIPropertyValue = UIPropertyPrimitive | readonly UIPropertyValue[] | UIPropertyObject;
16
+ //# sourceMappingURL=UIPropertyValue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UIPropertyValue.d.ts","sourceRoot":"","sources":["../../../src/kurot/model/UIPropertyValue.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,eAAe,CAAC;CACxC;AAED;;;GAGG;AACH,MAAM,MAAM,eAAe,GACxB,mBAAmB,GACnB,SAAS,eAAe,EAAE,GAC1B,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=UIPropertyValue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UIPropertyValue.js","sourceRoot":"","sources":["../../../src/kurot/model/UIPropertyValue.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export { UI_DOCUMENT_KIND } from './UIDocument.js';
2
+ export type { UIDocument } from './UIDocument.js';
3
+ export type { UINode } from './UINode.js';
4
+ export type { UIPropertyObject, UIPropertyPrimitive, UIPropertyValue, } from './UIPropertyValue.js';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/kurot/model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,YAAY,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,YAAY,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,YAAY,EACX,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,GACf,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { UI_DOCUMENT_KIND } from './UIDocument.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/kurot/model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,130 @@
1
+ /**
2
+ * Broad serializable value category accepted by a component property.
3
+ */
4
+ export type UIPropertyValueType = 'array' | 'boolean' | 'number' | 'object' | 'string' | 'value';
5
+ /**
6
+ * Semantic presentation used by editors for otherwise generic values.
7
+ */
8
+ export type UIPropertyFormat = 'color' | 'layout' | 'rectangle' | 'resource' | 'skin';
9
+ /**
10
+ * Structural child policy for a component type.
11
+ */
12
+ export type UIChildrenPolicy = 'multiple' | 'none' | 'single';
13
+ /**
14
+ * Semantic description of one public component property.
15
+ */
16
+ export interface UIPropertyDefinition {
17
+ /**
18
+ * Accepted value category, or categories for a union-valued property.
19
+ */
20
+ readonly valueType: UIPropertyValueType | readonly UIPropertyValueType[];
21
+ /**
22
+ * Optional semantic presentation used by editors and Agent tools.
23
+ */
24
+ readonly format?: UIPropertyFormat;
25
+ /**
26
+ * Exact primitive values accepted by this property.
27
+ */
28
+ readonly enumValues?: readonly UIPropertyPrimitive[];
29
+ /**
30
+ * Inclusive lower bound for numeric values.
31
+ */
32
+ readonly minimum?: number;
33
+ /**
34
+ * Inclusive upper bound for numeric values.
35
+ */
36
+ readonly maximum?: number;
37
+ /**
38
+ * Whether numeric values must be integers.
39
+ */
40
+ readonly integer?: boolean;
41
+ /**
42
+ * Runtime value used when the property is omitted, when it is serializable.
43
+ */
44
+ readonly defaultValue?: UIPropertyPrimitive;
45
+ /**
46
+ * Whether every node of this component type must provide the property.
47
+ */
48
+ readonly required?: boolean;
49
+ /**
50
+ * Human-readable semantic guidance not expressible by the value category.
51
+ */
52
+ readonly description?: string;
53
+ }
54
+ /**
55
+ * Runtime-independent description of a component type available to documents.
56
+ */
57
+ export interface UIComponentDefinition {
58
+ /**
59
+ * Exact key stored in UINode.type, such as kui.Label.
60
+ */
61
+ readonly type: string;
62
+ /**
63
+ * Base component type whose semantic properties and policies are inherited.
64
+ */
65
+ readonly extends?: string;
66
+ /**
67
+ * Whether the definition is reusable metadata rather than an instantiable node type.
68
+ */
69
+ readonly abstract?: boolean;
70
+ /**
71
+ * Human-readable name shown by editors and Agent tools.
72
+ */
73
+ readonly displayName?: string;
74
+ /**
75
+ * Semantic purpose and usage guidance for the component.
76
+ */
77
+ readonly description?: string;
78
+ /**
79
+ * Child constraint. Omit while the component's child behavior is unspecified.
80
+ */
81
+ readonly children?: UIChildrenPolicy;
82
+ /**
83
+ * Known public properties keyed by their exact document names.
84
+ */
85
+ readonly properties?: Readonly<Record<string, UIPropertyDefinition>>;
86
+ /**
87
+ * Whether properties missing from this incomplete definition remain valid.
88
+ * Defaults to false so completed definitions reject misspellings.
89
+ */
90
+ readonly allowUnknownProperties?: boolean;
91
+ }
92
+ /**
93
+ * Fully inherited component definition returned by registry resolution.
94
+ */
95
+ export interface UIResolvedComponentDefinition {
96
+ /**
97
+ * Exact component type requested from the registry.
98
+ */
99
+ readonly type: string;
100
+ /**
101
+ * Ancestor types ordered from the root base to the direct base.
102
+ */
103
+ readonly baseTypes: readonly string[];
104
+ /**
105
+ * Whether this exact type is metadata-only and cannot appear in a document.
106
+ */
107
+ readonly abstract: boolean;
108
+ /**
109
+ * Human-readable name declared directly by this type.
110
+ */
111
+ readonly displayName?: string;
112
+ /**
113
+ * Semantic guidance declared directly by this type.
114
+ */
115
+ readonly description?: string;
116
+ /**
117
+ * Effective child policy inherited from the nearest defining ancestor.
118
+ */
119
+ readonly children?: UIChildrenPolicy;
120
+ /**
121
+ * Effective properties after applying base-to-derived overrides.
122
+ */
123
+ readonly properties: Readonly<Record<string, UIPropertyDefinition>>;
124
+ /**
125
+ * Effective unknown-property policy inherited from the nearest explicit value.
126
+ */
127
+ readonly allowUnknownProperties: boolean;
128
+ }
129
+ import type { UIPropertyPrimitive } from '../model/UIPropertyValue.js';
130
+ //# sourceMappingURL=UIComponentDefinition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UIComponentDefinition.d.ts","sourceRoot":"","sources":["../../../src/kurot/schema/UIComponentDefinition.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAC5B,OAAO,GACP,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,OAAO,CAAC;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AAgB,CAAC;IAErC;;OAEG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC;IAErE;;;OAGG;IACH,QAAQ,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC7C;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAErC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC;IAEpE;;OAEG;IACH,QAAQ,CAAC,sBAAsB,EAAE,OAAO,CAAC;CACzC;AACD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=UIComponentDefinition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UIComponentDefinition.js","sourceRoot":"","sources":["../../../src/kurot/schema/UIComponentDefinition.ts"],"names":[],"mappings":""}