@cratis/scene.model 3.2.0 → 3.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.
Files changed (128) hide show
  1. package/dist/cjs/common/BindingExpression.js.map +1 -1
  2. package/dist/cjs/common/Color.js.map +1 -1
  3. package/dist/cjs/common/Dock.js.map +1 -1
  4. package/dist/cjs/common/GridLength.js.map +1 -1
  5. package/dist/cjs/common/GridUnitType.js.map +1 -1
  6. package/dist/cjs/common/HorizontalAlignment.js.map +1 -1
  7. package/dist/cjs/common/Orientation.js.map +1 -1
  8. package/dist/cjs/common/Size.js.map +1 -1
  9. package/dist/cjs/common/Thickness.js.map +1 -1
  10. package/dist/cjs/common/VerticalAlignment.js.map +1 -1
  11. package/dist/cjs/common/Visibility.js.map +1 -1
  12. package/dist/cjs/contributionPoints/Contribution.js.map +1 -1
  13. package/dist/cjs/contributionPoints/ContributionPoint.js.map +1 -1
  14. package/dist/cjs/contributionPoints/NavigationItem.js.map +1 -1
  15. package/dist/cjs/elements/ContentControl.js.map +1 -1
  16. package/dist/cjs/elements/Control.js.map +1 -1
  17. package/dist/cjs/elements/ExternalComponent.js.map +1 -1
  18. package/dist/cjs/elements/FrameworkElement.js.map +1 -1
  19. package/dist/cjs/elements/ItemsControl.js.map +1 -1
  20. package/dist/cjs/elements/Panel.js.map +1 -1
  21. package/dist/cjs/elements/SceneElement.js.map +1 -1
  22. package/dist/cjs/elements/VisualElement.js.map +1 -1
  23. package/dist/cjs/elements/panels/Canvas.js.map +1 -1
  24. package/dist/cjs/elements/panels/ColumnDefinition.js.map +1 -1
  25. package/dist/cjs/elements/panels/DockPanel.js.map +1 -1
  26. package/dist/cjs/elements/panels/Grid.js.map +1 -1
  27. package/dist/cjs/elements/panels/RowDefinition.js.map +1 -1
  28. package/dist/cjs/elements/panels/StackPanel.js.map +1 -1
  29. package/dist/cjs/elements/panels/WrapPanel.js.map +1 -1
  30. package/dist/cjs/forms/Form.js.map +1 -1
  31. package/dist/cjs/forms/FormField.js.map +1 -1
  32. package/dist/cjs/forms/PopulateFromItem.js.map +1 -1
  33. package/dist/cjs/forms/PopulateViaQuery.js.map +1 -1
  34. package/dist/cjs/layouts/ElementPlacement.js.map +1 -1
  35. package/dist/cjs/layouts/FlowArrangement.js.map +1 -1
  36. package/dist/cjs/layouts/FlowColumn.js.map +1 -1
  37. package/dist/cjs/layouts/FlowContainer.js.map +1 -1
  38. package/dist/cjs/layouts/FlowContainerKind.js.map +1 -1
  39. package/dist/cjs/layouts/FlowGrid.js.map +1 -1
  40. package/dist/cjs/layouts/FlowLeaf.js.map +1 -1
  41. package/dist/cjs/layouts/FlowNode.js.map +1 -1
  42. package/dist/cjs/layouts/FlowOverride.js.map +1 -1
  43. package/dist/cjs/layouts/FlowRow.js.map +1 -1
  44. package/dist/cjs/layouts/FlowSlotLeaf.js.map +1 -1
  45. package/dist/cjs/layouts/FreeformArrangement.js.map +1 -1
  46. package/dist/cjs/layouts/FreeformSlotArrangement.js.map +1 -1
  47. package/dist/cjs/layouts/FreeformSlotVariant.js.map +1 -1
  48. package/dist/cjs/layouts/FreeformVariant.js.map +1 -1
  49. package/dist/cjs/layouts/Layout.js.map +1 -1
  50. package/dist/cjs/layouts/Slot.js.map +1 -1
  51. package/dist/cjs/layouts/SlotPlacement.js.map +1 -1
  52. package/dist/cjs/packages/PackageDependency.js.map +1 -1
  53. package/dist/cjs/packages/PackageKind.js.map +1 -1
  54. package/dist/cjs/packages/ScenePackage.js.map +1 -1
  55. package/dist/cjs/profiles/Theme.js.map +1 -1
  56. package/dist/cjs/profiles/UiProfile.js.map +1 -1
  57. package/dist/cjs/screens/DialogTemplate.js.map +1 -1
  58. package/dist/cjs/screens/Screen.js.map +1 -1
  59. package/dist/cjs/screens/ScreenTemplate.js.map +1 -1
  60. package/dist/cjs/sizeClasses/HeightSizeClass.js.map +1 -1
  61. package/dist/cjs/sizeClasses/SizeClass.js.map +1 -1
  62. package/dist/cjs/sizeClasses/WidthSizeClass.js.map +1 -1
  63. package/dist/cjs/starters/UiStarter.js.map +1 -1
  64. package/dist/esm/common/BindingExpression.js.map +1 -1
  65. package/dist/esm/common/Color.js.map +1 -1
  66. package/dist/esm/common/Dock.js.map +1 -1
  67. package/dist/esm/common/GridLength.js.map +1 -1
  68. package/dist/esm/common/GridUnitType.js.map +1 -1
  69. package/dist/esm/common/HorizontalAlignment.js.map +1 -1
  70. package/dist/esm/common/Orientation.js.map +1 -1
  71. package/dist/esm/common/Size.js.map +1 -1
  72. package/dist/esm/common/Thickness.js.map +1 -1
  73. package/dist/esm/common/VerticalAlignment.js.map +1 -1
  74. package/dist/esm/common/Visibility.js.map +1 -1
  75. package/dist/esm/contributionPoints/Contribution.js.map +1 -1
  76. package/dist/esm/contributionPoints/ContributionPoint.js.map +1 -1
  77. package/dist/esm/contributionPoints/NavigationItem.js.map +1 -1
  78. package/dist/esm/elements/ContentControl.js.map +1 -1
  79. package/dist/esm/elements/Control.js.map +1 -1
  80. package/dist/esm/elements/ExternalComponent.js.map +1 -1
  81. package/dist/esm/elements/FrameworkElement.js.map +1 -1
  82. package/dist/esm/elements/ItemsControl.js.map +1 -1
  83. package/dist/esm/elements/Panel.js.map +1 -1
  84. package/dist/esm/elements/SceneElement.js.map +1 -1
  85. package/dist/esm/elements/VisualElement.js.map +1 -1
  86. package/dist/esm/elements/panels/Canvas.js.map +1 -1
  87. package/dist/esm/elements/panels/ColumnDefinition.js.map +1 -1
  88. package/dist/esm/elements/panels/DockPanel.js.map +1 -1
  89. package/dist/esm/elements/panels/Grid.js.map +1 -1
  90. package/dist/esm/elements/panels/RowDefinition.js.map +1 -1
  91. package/dist/esm/elements/panels/StackPanel.js.map +1 -1
  92. package/dist/esm/elements/panels/WrapPanel.js.map +1 -1
  93. package/dist/esm/forms/Form.js.map +1 -1
  94. package/dist/esm/forms/FormField.js.map +1 -1
  95. package/dist/esm/forms/PopulateFromItem.js.map +1 -1
  96. package/dist/esm/forms/PopulateViaQuery.js.map +1 -1
  97. package/dist/esm/layouts/ElementPlacement.js.map +1 -1
  98. package/dist/esm/layouts/FlowArrangement.js.map +1 -1
  99. package/dist/esm/layouts/FlowColumn.js.map +1 -1
  100. package/dist/esm/layouts/FlowContainer.js.map +1 -1
  101. package/dist/esm/layouts/FlowContainerKind.js.map +1 -1
  102. package/dist/esm/layouts/FlowGrid.js.map +1 -1
  103. package/dist/esm/layouts/FlowLeaf.js.map +1 -1
  104. package/dist/esm/layouts/FlowNode.js.map +1 -1
  105. package/dist/esm/layouts/FlowOverride.js.map +1 -1
  106. package/dist/esm/layouts/FlowRow.js.map +1 -1
  107. package/dist/esm/layouts/FlowSlotLeaf.js.map +1 -1
  108. package/dist/esm/layouts/FreeformArrangement.js.map +1 -1
  109. package/dist/esm/layouts/FreeformSlotArrangement.js.map +1 -1
  110. package/dist/esm/layouts/FreeformSlotVariant.js.map +1 -1
  111. package/dist/esm/layouts/FreeformVariant.js.map +1 -1
  112. package/dist/esm/layouts/Layout.js.map +1 -1
  113. package/dist/esm/layouts/Slot.js.map +1 -1
  114. package/dist/esm/layouts/SlotPlacement.js.map +1 -1
  115. package/dist/esm/packages/PackageDependency.js.map +1 -1
  116. package/dist/esm/packages/PackageKind.js.map +1 -1
  117. package/dist/esm/packages/ScenePackage.js.map +1 -1
  118. package/dist/esm/profiles/Theme.js.map +1 -1
  119. package/dist/esm/profiles/UiProfile.js.map +1 -1
  120. package/dist/esm/screens/DialogTemplate.js.map +1 -1
  121. package/dist/esm/screens/Screen.js.map +1 -1
  122. package/dist/esm/screens/ScreenTemplate.js.map +1 -1
  123. package/dist/esm/sizeClasses/HeightSizeClass.js.map +1 -1
  124. package/dist/esm/sizeClasses/SizeClass.js.map +1 -1
  125. package/dist/esm/sizeClasses/WidthSizeClass.js.map +1 -1
  126. package/dist/esm/starters/UiStarter.js.map +1 -1
  127. package/dist/esm/tsconfig.tsbuildinfo +1 -1
  128. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"BindingExpression.js","sources":["../../../common/BindingExpression.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * A reference to a value already resolved by whatever produced this model (Stage translating Screenplay,\n * or Studio's editor) — Scene never re-runs name resolution, it only carries the resolved path forward.\n */\nexport interface BindingExpression {\n path: string;\n}\n\nexport const BindingExpressionPropertyNames: (keyof BindingExpression)[] = ['path'];\n"],"names":["BindingExpressionPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;UAQaA,8BAAAA,GAA8D;AAAC,IAAA;;;;;"}
1
+ {"version":3,"file":"BindingExpression.js","sources":["../../../common/BindingExpression.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * A reference to a value already resolved by whatever produced this model (Stage translating Screenplay,\n * or Studio's editor) — Scene never re-runs name resolution, it only carries the resolved path forward.\n */\nexport interface BindingExpression {\n path: string;\n}\n\nexport const BindingExpressionPropertyNames: (keyof BindingExpression)[] = ['path'];\n"],"names":["BindingExpressionPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;UAQaA,8BAAAA,GAA8D;AAAC,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Color.js","sources":["../../../common/Color.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Represents a color as four channels, independent of any specific rendering platform's color type.\n */\nexport interface Color {\n red: number;\n green: number;\n blue: number;\n alpha: number;\n}\n\nexport const ColorPropertyNames: (keyof Color)[] = ['red', 'green', 'blue', 'alpha'];\n"],"names":["ColorPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;UAUaA,kBAAAA,GAAsC;AAAC,IAAA,KAAA;AAAO,IAAA,OAAA;AAAS,IAAA,MAAA;AAAQ,IAAA;;;;;"}
1
+ {"version":3,"file":"Color.js","sources":["../../../common/Color.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Represents a color as four channels, independent of any specific rendering platform's color type.\n */\nexport interface Color {\n red: number;\n green: number;\n blue: number;\n alpha: number;\n}\n\nexport const ColorPropertyNames: (keyof Color)[] = ['red', 'green', 'blue', 'alpha'];\n"],"names":["ColorPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;UAUaA,kBAAAA,GAAsC;AAAC,IAAA,KAAA;AAAO,IAAA,OAAA;AAAS,IAAA,MAAA;AAAQ,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Dock.js","sources":["../../../common/Dock.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The edge of a dock panel a child is docked against.\n */\nexport enum Dock {\n Left = 'Left',\n Top = 'Top',\n Right = 'Right',\n Bottom = 'Bottom',\n}\n"],"names":["Dock"],"mappings":";;AAAA;AACA;AAEA;;IAGO,IAAKA,IAAAA,iBAAAA,SAAAA,IAAAA,EAAAA;;;;;AAAAA,IAAAA,OAAAA,IAAAA;AAKX,CAAA,CAAA,EAAA;;;;"}
1
+ {"version":3,"file":"Dock.js","sources":["../../../common/Dock.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The edge of a dock panel a child is docked against.\n */\nexport enum Dock {\n Left = 'Left',\n Top = 'Top',\n Right = 'Right',\n Bottom = 'Bottom',\n}\n"],"names":["Dock"],"mappings":";;AAAA;AACA;AAEA;;IAGO,IAAKA,IAAAA,iBAAAA,SAAAA,IAAAA,EAAAA;;;;;AAAAA,IAAAA,OAAAA,IAAAA;AAKX,CAAA,CAAA,EAAA;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"GridLength.js","sources":["../../../common/GridLength.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { GridUnitType } from './GridUnitType';\n\n/**\n * The length of a grid row or column, which can be absolute, sized to its content, or a weighted\n * share of the space the absolute and content-sized tracks leave behind.\n */\nexport interface GridLength {\n value: number;\n unitType: GridUnitType;\n}\n\nexport const GridLengthPropertyNames: (keyof GridLength)[] = ['value', 'unitType'];\n"],"names":["GridLengthPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,uBAAAA,GAAgD;AAAC,IAAA,OAAA;AAAS,IAAA;;;;;"}
1
+ {"version":3,"file":"GridLength.js","sources":["../../../common/GridLength.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { GridUnitType } from './GridUnitType';\n\n/**\n * The length of a grid row or column, which can be absolute, sized to its content, or a weighted\n * share of the space the absolute and content-sized tracks leave behind.\n */\nexport interface GridLength {\n value: number;\n unitType: GridUnitType;\n}\n\nexport const GridLengthPropertyNames: (keyof GridLength)[] = ['value', 'unitType'];\n"],"names":["GridLengthPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,uBAAAA,GAAgD;AAAC,IAAA,OAAA;AAAS,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"GridUnitType.js","sources":["../../../common/GridUnitType.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * How a {@link GridLength}'s value is interpreted.\n */\nexport enum GridUnitType {\n Auto = 'Auto',\n Absolute = 'Absolute',\n Star = 'Star',\n}\n"],"names":["GridUnitType"],"mappings":";;AAAA;AACA;AAEA;;IAGO,IAAKA,YAAAA,iBAAAA,SAAAA,YAAAA,EAAAA;;;;AAAAA,IAAAA,OAAAA,YAAAA;AAIX,CAAA,CAAA,EAAA;;;;"}
1
+ {"version":3,"file":"GridUnitType.js","sources":["../../../common/GridUnitType.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * How a {@link GridLength}'s value is interpreted.\n */\nexport enum GridUnitType {\n Auto = 'Auto',\n Absolute = 'Absolute',\n Star = 'Star',\n}\n"],"names":["GridUnitType"],"mappings":";;AAAA;AACA;AAEA;;IAGO,IAAKA,YAAAA,iBAAAA,SAAAA,YAAAA,EAAAA;;;;AAAAA,IAAAA,OAAAA,YAAAA;AAIX,CAAA,CAAA,EAAA;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalAlignment.js","sources":["../../../common/HorizontalAlignment.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * How an element aligns horizontally within the space allotted to it.\n */\nexport enum HorizontalAlignment {\n Stretch = 'Stretch',\n Left = 'Left',\n Center = 'Center',\n Right = 'Right',\n}\n"],"names":["HorizontalAlignment"],"mappings":";;AAAA;AACA;AAEA;;IAGO,IAAKA,mBAAAA,iBAAAA,SAAAA,mBAAAA,EAAAA;;;;;AAAAA,IAAAA,OAAAA,mBAAAA;AAKX,CAAA,CAAA,EAAA;;;;"}
1
+ {"version":3,"file":"HorizontalAlignment.js","sources":["../../../common/HorizontalAlignment.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * How an element aligns horizontally within the space allotted to it.\n */\nexport enum HorizontalAlignment {\n Stretch = 'Stretch',\n Left = 'Left',\n Center = 'Center',\n Right = 'Right',\n}\n"],"names":["HorizontalAlignment"],"mappings":";;AAAA;AACA;AAEA;;IAGO,IAAKA,mBAAAA,iBAAAA,SAAAA,mBAAAA,EAAAA;;;;;AAAAA,IAAAA,OAAAA,mBAAAA;AAKX,CAAA,CAAA,EAAA;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Orientation.js","sources":["../../../common/Orientation.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The direction an element lays its children out in.\n */\nexport enum Orientation {\n Horizontal = 'Horizontal',\n Vertical = 'Vertical',\n}\n"],"names":["Orientation"],"mappings":";;AAAA;AACA;AAEA;;IAGO,IAAKA,WAAAA,iBAAAA,SAAAA,WAAAA,EAAAA;;;AAAAA,IAAAA,OAAAA,WAAAA;AAGX,CAAA,CAAA,EAAA;;;;"}
1
+ {"version":3,"file":"Orientation.js","sources":["../../../common/Orientation.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The direction an element lays its children out in.\n */\nexport enum Orientation {\n Horizontal = 'Horizontal',\n Vertical = 'Vertical',\n}\n"],"names":["Orientation"],"mappings":";;AAAA;AACA;AAEA;;IAGO,IAAKA,WAAAA,iBAAAA,SAAAA,WAAAA,EAAAA;;;AAAAA,IAAAA,OAAAA,WAAAA;AAGX,CAAA,CAAA,EAAA;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Size.js","sources":["../../../common/Size.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Represents a width and height. Either dimension left unspecified means the renderer decides.\n */\nexport interface Size {\n width?: number;\n height?: number;\n}\n\nexport const SizePropertyNames: (keyof Size)[] = ['width', 'height'];\n"],"names":["SizePropertyNames"],"mappings":";;AAAA;AACA;AAEA;;UAQaA,iBAAAA,GAAoC;AAAC,IAAA,OAAA;AAAS,IAAA;;;;;"}
1
+ {"version":3,"file":"Size.js","sources":["../../../common/Size.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Represents a width and height. Either dimension left unspecified means the renderer decides.\n */\nexport interface Size {\n width?: number;\n height?: number;\n}\n\nexport const SizePropertyNames: (keyof Size)[] = ['width', 'height'];\n"],"names":["SizePropertyNames"],"mappings":";;AAAA;AACA;AAEA;;UAQaA,iBAAAA,GAAoC;AAAC,IAAA,OAAA;AAAS,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Thickness.js","sources":["../../../common/Thickness.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Represents a uniform or per-edge thickness, used for margins and padding.\n */\nexport interface Thickness {\n left: number;\n top: number;\n right: number;\n bottom: number;\n}\n\nexport const ThicknessPropertyNames: (keyof Thickness)[] = ['left', 'top', 'right', 'bottom'];\n"],"names":["ThicknessPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;UAUaA,sBAAAA,GAA8C;AAAC,IAAA,MAAA;AAAQ,IAAA,KAAA;AAAO,IAAA,OAAA;AAAS,IAAA;;;;;"}
1
+ {"version":3,"file":"Thickness.js","sources":["../../../common/Thickness.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Represents a uniform or per-edge thickness, used for margins and padding.\n */\nexport interface Thickness {\n left: number;\n top: number;\n right: number;\n bottom: number;\n}\n\nexport const ThicknessPropertyNames: (keyof Thickness)[] = ['left', 'top', 'right', 'bottom'];\n"],"names":["ThicknessPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;UAUaA,sBAAAA,GAA8C;AAAC,IAAA,MAAA;AAAQ,IAAA,KAAA;AAAO,IAAA,OAAA;AAAS,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"VerticalAlignment.js","sources":["../../../common/VerticalAlignment.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * How an element aligns vertically within the space allotted to it.\n */\nexport enum VerticalAlignment {\n Stretch = 'Stretch',\n Top = 'Top',\n Center = 'Center',\n Bottom = 'Bottom',\n}\n"],"names":["VerticalAlignment"],"mappings":";;AAAA;AACA;AAEA;;IAGO,IAAKA,iBAAAA,iBAAAA,SAAAA,iBAAAA,EAAAA;;;;;AAAAA,IAAAA,OAAAA,iBAAAA;AAKX,CAAA,CAAA,EAAA;;;;"}
1
+ {"version":3,"file":"VerticalAlignment.js","sources":["../../../common/VerticalAlignment.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * How an element aligns vertically within the space allotted to it.\n */\nexport enum VerticalAlignment {\n Stretch = 'Stretch',\n Top = 'Top',\n Center = 'Center',\n Bottom = 'Bottom',\n}\n"],"names":["VerticalAlignment"],"mappings":";;AAAA;AACA;AAEA;;IAGO,IAAKA,iBAAAA,iBAAAA,SAAAA,iBAAAA,EAAAA;;;;;AAAAA,IAAAA,OAAAA,iBAAAA;AAKX,CAAA,CAAA,EAAA;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Visibility.js","sources":["../../../common/Visibility.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The visibility of an element.\n */\nexport enum Visibility {\n Visible = 'Visible',\n Hidden = 'Hidden',\n Collapsed = 'Collapsed',\n}\n"],"names":["Visibility"],"mappings":";;AAAA;AACA;AAEA;;IAGO,IAAKA,UAAAA,iBAAAA,SAAAA,UAAAA,EAAAA;;;;AAAAA,IAAAA,OAAAA,UAAAA;AAIX,CAAA,CAAA,EAAA;;;;"}
1
+ {"version":3,"file":"Visibility.js","sources":["../../../common/Visibility.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The visibility of an element.\n */\nexport enum Visibility {\n Visible = 'Visible',\n Hidden = 'Hidden',\n Collapsed = 'Collapsed',\n}\n"],"names":["Visibility"],"mappings":";;AAAA;AACA;AAEA;;IAGO,IAAKA,UAAAA,iBAAAA,SAAAA,UAAAA,EAAAA;;;;AAAAA,IAAAA,OAAAA,UAAAA;AAIX,CAAA,CAAA,EAAA;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Contribution.js","sources":["../../../contributionPoints/Contribution.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from '../elements';\n\n/**\n * One piece of content contributed to a {@link ContributionPoint}. Resolution to a specific\n * contribution point (nearest enclosing, or an explicit `... in <ContributionPoint>` override) happens\n * before this model is built — this record already carries the resolved target.\n */\nexport interface Contribution {\n contributionPointName: string;\n content: SceneElement;\n order?: number;\n}\n\nexport const ContributionPropertyNames: (keyof Contribution)[] = ['contributionPointName', 'content', 'order'];\n"],"names":["ContributionPropertyNames"],"mappings":";;AAAA;AACA;MAeaA,yBAAAA,GAAoD;AAAC,IAAA,uBAAA;AAAyB,IAAA,SAAA;AAAW,IAAA;;;;;"}
1
+ {"version":3,"file":"Contribution.js","sources":["../../../contributionPoints/Contribution.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from '../elements';\n\n/**\n * One piece of content contributed to a {@link ContributionPoint}. Resolution to a specific\n * contribution point (nearest enclosing, or an explicit `... in <ContributionPoint>` override) happens\n * before this model is built — this record already carries the resolved target.\n */\nexport interface Contribution {\n contributionPointName: string;\n content: SceneElement;\n order?: number;\n}\n\nexport const ContributionPropertyNames: (keyof Contribution)[] = ['contributionPointName', 'content', 'order'];\n"],"names":["ContributionPropertyNames"],"mappings":";;AAAA;AACA;MAeaA,yBAAAA,GAAoD;AAAC,IAAA,uBAAA;AAAyB,IAAA,SAAA;AAAW,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContributionPoint.js","sources":["../../../contributionPoints/ContributionPoint.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * A named point in the element tree that a widget declares (`contributes <Name>`) and that other\n * templates contribute content to (`contribute to <Name>`). Aggregation is a computed view over\n * whatever is currently contributed from the tree beneath it — a widget bound to a contribution point\n * is never wired to a fixed source.\n */\nexport interface ContributionPoint {\n name: string;\n}\n\nexport const ContributionPointPropertyNames: (keyof ContributionPoint)[] = ['name'];\n"],"names":["ContributionPointPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;;;UAUaA,8BAAAA,GAA8D;AAAC,IAAA;;;;;"}
1
+ {"version":3,"file":"ContributionPoint.js","sources":["../../../contributionPoints/ContributionPoint.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * A named point in the element tree that a widget declares (`contributes <Name>`) and that other\n * templates contribute content to (`contribute to <Name>`). Aggregation is a computed view over\n * whatever is currently contributed from the tree beneath it — a widget bound to a contribution point\n * is never wired to a fixed source.\n */\nexport interface ContributionPoint {\n name: string;\n}\n\nexport const ContributionPointPropertyNames: (keyof ContributionPoint)[] = ['name'];\n"],"names":["ContributionPointPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;;;UAUaA,8BAAAA,GAA8D;AAAC,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationItem.js","sources":["../../../contributionPoints/NavigationItem.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { BindingExpression } from '../common';\n\n/**\n * A contribution to the built-in `Navigation` contribution point. How `navigate to <Screen>` becomes a\n * concrete route (URL path, query string, or native deep link) is owned by the renderer's NavBar widget,\n * not this record — this only carries the declared shape.\n */\nexport interface NavigationItem {\n label: string;\n targetScreen: string;\n routeParameterBindings: Record<string, BindingExpression>;\n order?: number;\n group?: string;\n}\n\nexport const NavigationItemPropertyNames: (keyof NavigationItem)[] = [\n 'label', 'targetScreen', 'routeParameterBindings', 'order', 'group',\n];\n"],"names":["NavigationItemPropertyNames"],"mappings":";;AAAA;AACA;MAiBaA,2BAAAA,GAAwD;AACjE,IAAA,OAAA;AAAS,IAAA,cAAA;AAAgB,IAAA,wBAAA;AAA0B,IAAA,OAAA;AAAS,IAAA;;;;;"}
1
+ {"version":3,"file":"NavigationItem.js","sources":["../../../contributionPoints/NavigationItem.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { BindingExpression } from '../common';\n\n/**\n * A contribution to the built-in `Navigation` contribution point. How `navigate to <Screen>` becomes a\n * concrete route (URL path, query string, or native deep link) is owned by the renderer's NavBar widget,\n * not this record — this only carries the declared shape.\n */\nexport interface NavigationItem {\n label: string;\n targetScreen: string;\n routeParameterBindings: Record<string, BindingExpression>;\n order?: number;\n group?: string;\n}\n\nexport const NavigationItemPropertyNames: (keyof NavigationItem)[] = [\n 'label', 'targetScreen', 'routeParameterBindings', 'order', 'group',\n];\n"],"names":["NavigationItemPropertyNames"],"mappings":";;AAAA;AACA;MAiBaA,2BAAAA,GAAwD;AACjE,IAAA,OAAA;AAAS,IAAA,cAAA;AAAgB,IAAA,wBAAA;AAA0B,IAAA,OAAA;AAAS,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContentControl.js","sources":["../../../elements/ContentControl.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Control } from './Control';\nimport { SceneElement } from './SceneElement';\n\n/**\n * A {@link Control} that hosts a single piece of content.\n */\nexport interface ContentControl extends Control {\n content: SceneElement;\n}\n\nexport const ContentControlPropertyNames: (keyof ContentControl)[] = ['content'];\n"],"names":["ContentControlPropertyNames"],"mappings":";;AAAA;AACA;MAYaA,2BAAAA,GAAwD;AAAC,IAAA;;;;;"}
1
+ {"version":3,"file":"ContentControl.js","sources":["../../../elements/ContentControl.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Control } from './Control';\nimport { SceneElement } from './SceneElement';\n\n/**\n * A {@link Control} that hosts a single piece of content.\n */\nexport interface ContentControl extends Control {\n content: SceneElement;\n}\n\nexport const ContentControlPropertyNames: (keyof ContentControl)[] = ['content'];\n"],"names":["ContentControlPropertyNames"],"mappings":";;AAAA;AACA;MAYaA,2BAAAA,GAAwD;AAAC,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Control.js","sources":["../../../elements/Control.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FrameworkElement } from './FrameworkElement';\nimport { Color, Thickness } from '../common';\n\n/**\n * A {@link FrameworkElement} that can be styled with colors, spacing and typography, and that\n * participates in tab order.\n */\nexport interface Control extends FrameworkElement {\n background?: Color;\n foreground?: Color;\n borderColor?: Color;\n borderThickness: Thickness;\n padding: Thickness;\n fontFamily?: string;\n fontSize?: number;\n tabIndex: number;\n}\n\nexport const ControlPropertyNames: (keyof Control)[] = [\n 'background', 'foreground', 'borderColor', 'borderThickness', 'padding', 'fontFamily', 'fontSize', 'tabIndex',\n];\n"],"names":["ControlPropertyNames"],"mappings":";;AAAA;AACA;MAoBaA,oBAAAA,GAA0C;AACnD,IAAA,YAAA;AAAc,IAAA,YAAA;AAAc,IAAA,aAAA;AAAe,IAAA,iBAAA;AAAmB,IAAA,SAAA;AAAW,IAAA,YAAA;AAAc,IAAA,UAAA;AAAY,IAAA;;;;;"}
1
+ {"version":3,"file":"Control.js","sources":["../../../elements/Control.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FrameworkElement } from './FrameworkElement';\nimport { Color, Thickness } from '../common';\n\n/**\n * A {@link FrameworkElement} that can be styled with colors, spacing and typography, and that\n * participates in tab order.\n */\nexport interface Control extends FrameworkElement {\n background?: Color;\n foreground?: Color;\n borderColor?: Color;\n borderThickness: Thickness;\n padding: Thickness;\n fontFamily?: string;\n fontSize?: number;\n tabIndex: number;\n}\n\nexport const ControlPropertyNames: (keyof Control)[] = [\n 'background', 'foreground', 'borderColor', 'borderThickness', 'padding', 'fontFamily', 'fontSize', 'tabIndex',\n];\n"],"names":["ControlPropertyNames"],"mappings":";;AAAA;AACA;MAoBaA,oBAAAA,GAA0C;AACnD,IAAA,YAAA;AAAc,IAAA,YAAA;AAAc,IAAA,aAAA;AAAe,IAAA,iBAAA;AAAmB,IAAA,SAAA;AAAW,IAAA,YAAA;AAAc,IAAA,UAAA;AAAY,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ExternalComponent.js","sources":["../../../elements/ExternalComponent.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FrameworkElement } from './FrameworkElement';\nimport { SceneElement } from './SceneElement';\n\n/**\n * A {@link FrameworkElement} resolved to a named component from a ui profile's package list rather\n * than a type modeled natively here. Vendor and internal widget libraries (PrimeReact, internal widgets)\n * plug into a renderer through this element — they are adapters, not part of the core vocabulary.\n */\nexport interface ExternalComponent extends FrameworkElement {\n componentName: string;\n slots: Record<string, SceneElement[]>;\n}\n\nexport const ExternalComponentPropertyNames: (keyof ExternalComponent)[] = ['componentName', 'slots'];\n"],"names":["ExternalComponentPropertyNames"],"mappings":";;AAAA;AACA;MAeaA,8BAAAA,GAA8D;AAAC,IAAA,eAAA;AAAiB,IAAA;;;;;"}
1
+ {"version":3,"file":"ExternalComponent.js","sources":["../../../elements/ExternalComponent.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FrameworkElement } from './FrameworkElement';\nimport { SceneElement } from './SceneElement';\n\n/**\n * A {@link FrameworkElement} resolved to a named component from a ui profile's package list rather\n * than a type modeled natively here. Vendor and internal widget libraries (PrimeReact, internal widgets)\n * plug into a renderer through this element — they are adapters, not part of the core vocabulary.\n */\nexport interface ExternalComponent extends FrameworkElement {\n componentName: string;\n slots: Record<string, SceneElement[]>;\n}\n\nexport const ExternalComponentPropertyNames: (keyof ExternalComponent)[] = ['componentName', 'slots'];\n"],"names":["ExternalComponentPropertyNames"],"mappings":";;AAAA;AACA;MAeaA,8BAAAA,GAA8D;AAAC,IAAA,eAAA;AAAiB,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FrameworkElement.js","sources":["../../../elements/FrameworkElement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { VisualElement } from './VisualElement';\nimport { Size, Thickness, HorizontalAlignment, VerticalAlignment } from '../common';\n\n/**\n * A {@link VisualElement} that participates in layout: it has a name, size constraints,\n * margin and alignment within the space allotted to it by its parent.\n */\nexport interface FrameworkElement extends VisualElement {\n name: string;\n minimumSize: Size;\n maximumSize: Size;\n margin: Thickness;\n horizontalAlignment: HorizontalAlignment;\n verticalAlignment: VerticalAlignment;\n}\n\nexport const FrameworkElementPropertyNames: (keyof FrameworkElement)[] = [\n 'name', 'minimumSize', 'maximumSize', 'margin', 'horizontalAlignment', 'verticalAlignment',\n];\n"],"names":["FrameworkElementPropertyNames"],"mappings":";;AAAA;AACA;MAkBaA,6BAAAA,GAA4D;AACrE,IAAA,MAAA;AAAQ,IAAA,aAAA;AAAe,IAAA,aAAA;AAAe,IAAA,QAAA;AAAU,IAAA,qBAAA;AAAuB,IAAA;;;;;"}
1
+ {"version":3,"file":"FrameworkElement.js","sources":["../../../elements/FrameworkElement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { VisualElement } from './VisualElement';\nimport { Size, Thickness, HorizontalAlignment, VerticalAlignment } from '../common';\n\n/**\n * A {@link VisualElement} that participates in layout: it has a name, size constraints,\n * margin and alignment within the space allotted to it by its parent.\n */\nexport interface FrameworkElement extends VisualElement {\n name: string;\n minimumSize: Size;\n maximumSize: Size;\n margin: Thickness;\n horizontalAlignment: HorizontalAlignment;\n verticalAlignment: VerticalAlignment;\n}\n\nexport const FrameworkElementPropertyNames: (keyof FrameworkElement)[] = [\n 'name', 'minimumSize', 'maximumSize', 'margin', 'horizontalAlignment', 'verticalAlignment',\n];\n"],"names":["FrameworkElementPropertyNames"],"mappings":";;AAAA;AACA;MAkBaA,6BAAAA,GAA4D;AACrE,IAAA,MAAA;AAAQ,IAAA,aAAA;AAAe,IAAA,aAAA;AAAe,IAAA,QAAA;AAAU,IAAA,qBAAA;AAAuB,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ItemsControl.js","sources":["../../../elements/ItemsControl.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Control } from './Control';\nimport { SceneElement } from './SceneElement';\nimport { BindingExpression } from '../common';\n\n/**\n * A {@link Control} that renders one instance of an item template per item in a bound collection.\n */\nexport interface ItemsControl extends Control {\n itemsSource: BindingExpression;\n itemTemplate: SceneElement;\n}\n\nexport const ItemsControlPropertyNames: (keyof ItemsControl)[] = ['itemsSource', 'itemTemplate'];\n"],"names":["ItemsControlPropertyNames"],"mappings":";;AAAA;AACA;MAcaA,yBAAAA,GAAoD;AAAC,IAAA,aAAA;AAAe,IAAA;;;;;"}
1
+ {"version":3,"file":"ItemsControl.js","sources":["../../../elements/ItemsControl.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Control } from './Control';\nimport { SceneElement } from './SceneElement';\nimport { BindingExpression } from '../common';\n\n/**\n * A {@link Control} that renders one instance of an item template per item in a bound collection.\n */\nexport interface ItemsControl extends Control {\n itemsSource: BindingExpression;\n itemTemplate: SceneElement;\n}\n\nexport const ItemsControlPropertyNames: (keyof ItemsControl)[] = ['itemsSource', 'itemTemplate'];\n"],"names":["ItemsControlPropertyNames"],"mappings":";;AAAA;AACA;MAcaA,yBAAAA,GAAoD;AAAC,IAAA,aAAA;AAAe,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Panel.js","sources":["../../../elements/Panel.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FrameworkElement } from './FrameworkElement';\nimport { SceneElement } from './SceneElement';\n\n/**\n * A {@link FrameworkElement} that lays out an arbitrary number of children.\n */\nexport interface Panel extends FrameworkElement {\n children: SceneElement[];\n}\n\nexport const PanelPropertyNames: (keyof Panel)[] = ['children'];\n"],"names":["PanelPropertyNames"],"mappings":";;AAAA;AACA;MAYaA,kBAAAA,GAAsC;AAAC,IAAA;;;;;"}
1
+ {"version":3,"file":"Panel.js","sources":["../../../elements/Panel.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FrameworkElement } from './FrameworkElement';\nimport { SceneElement } from './SceneElement';\n\n/**\n * A {@link FrameworkElement} that lays out an arbitrary number of children.\n */\nexport interface Panel extends FrameworkElement {\n children: SceneElement[];\n}\n\nexport const PanelPropertyNames: (keyof Panel)[] = ['children'];\n"],"names":["PanelPropertyNames"],"mappings":";;AAAA;AACA;MAYaA,kBAAAA,GAAsC;AAAC,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SceneElement.js","sources":["../../../elements/SceneElement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The root of every node in a Scene element tree. Named `SceneElement` rather than `Element` to avoid\n * colliding with the DOM's own global `Element` type, which every consumer of this package also has in scope.\n */\nexport interface SceneElement {\n id: string;\n properties: Record<string, unknown>;\n}\n\nexport const SceneElementPropertyNames: (keyof SceneElement)[] = ['id', 'properties'];\n"],"names":["SceneElementPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;UASaA,yBAAAA,GAAoD;AAAC,IAAA,IAAA;AAAM,IAAA;;;;;"}
1
+ {"version":3,"file":"SceneElement.js","sources":["../../../elements/SceneElement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The root of every node in a Scene element tree. Named `SceneElement` rather than `Element` to avoid\n * colliding with the DOM's own global `Element` type, which every consumer of this package also has in scope.\n */\nexport interface SceneElement {\n id: string;\n properties: Record<string, unknown>;\n}\n\nexport const SceneElementPropertyNames: (keyof SceneElement)[] = ['id', 'properties'];\n"],"names":["SceneElementPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;UASaA,yBAAAA,GAAoD;AAAC,IAAA,IAAA;AAAM,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"VisualElement.js","sources":["../../../elements/VisualElement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from './SceneElement';\nimport { Visibility, Size } from '../common';\n\n/**\n * A {@link SceneElement} that occupies space and can be shown or hidden.\n */\nexport interface VisualElement extends SceneElement {\n visibility: Visibility;\n isEnabled: boolean;\n opacity: number;\n size: Size;\n zIndex: number;\n}\n\nexport const VisualElementPropertyNames: (keyof VisualElement)[] = ['visibility', 'isEnabled', 'opacity', 'size', 'zIndex'];\n"],"names":["VisualElementPropertyNames"],"mappings":";;AAAA;AACA;MAgBaA,0BAAAA,GAAsD;AAAC,IAAA,YAAA;AAAc,IAAA,WAAA;AAAa,IAAA,SAAA;AAAW,IAAA,MAAA;AAAQ,IAAA;;;;;"}
1
+ {"version":3,"file":"VisualElement.js","sources":["../../../elements/VisualElement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from './SceneElement';\nimport { Visibility, Size } from '../common';\n\n/**\n * A {@link SceneElement} that occupies space and can be shown or hidden.\n */\nexport interface VisualElement extends SceneElement {\n visibility: Visibility;\n isEnabled: boolean;\n opacity: number;\n size: Size;\n zIndex: number;\n}\n\nexport const VisualElementPropertyNames: (keyof VisualElement)[] = ['visibility', 'isEnabled', 'opacity', 'size', 'zIndex'];\n"],"names":["VisualElementPropertyNames"],"mappings":";;AAAA;AACA;MAgBaA,0BAAAA,GAAsD;AAAC,IAAA,YAAA;AAAc,IAAA,WAAA;AAAa,IAAA,SAAA;AAAW,IAAA,MAAA;AAAQ,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Canvas.js","sources":["../../../../elements/panels/Canvas.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Panel } from '../Panel';\nimport { Size } from '../../common';\n\n/**\n * Places its children at absolute coordinates within a coordinate space of its own. A child states where\n * it sits through the `Canvas.Left`, `Canvas.Top`, `Canvas.Right` and `Canvas.Bottom` keys of its\n * `properties`, which is how an attached property is carried in a model that has no attached properties\n * of its own.\n *\n * Named for `@cratis/components`' `Canvas`, which is the surface a Cratis application actually draws one\n * on. This is a panel in the element tree, and is not the same concept as a `FreeformArrangement` - that\n * arranges a *layout slot's* content with one placement variant per size class.\n */\nexport interface Canvas extends Panel {\n extent: Size;\n}\n\nexport const CanvasPropertyNames: (keyof Canvas)[] = ['extent'];\n"],"names":["CanvasPropertyNames"],"mappings":";;AAAA;AACA;MAmBaA,mBAAAA,GAAwC;AAAC,IAAA;;;;;"}
1
+ {"version":3,"file":"Canvas.js","sources":["../../../../elements/panels/Canvas.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Panel } from '../Panel';\nimport { Size } from '../../common';\n\n/**\n * Places its children at absolute coordinates within a coordinate space of its own. A child states where\n * it sits through the `Canvas.Left`, `Canvas.Top`, `Canvas.Right` and `Canvas.Bottom` keys of its\n * `properties`, which is how an attached property is carried in a model that has no attached properties\n * of its own.\n *\n * Named for `@cratis/components`' `Canvas`, which is the surface a Cratis application actually draws one\n * on. This is a panel in the element tree, and is not the same concept as a `FreeformArrangement` - that\n * arranges a *layout slot's* content with one placement variant per size class.\n */\nexport interface Canvas extends Panel {\n extent: Size;\n}\n\nexport const CanvasPropertyNames: (keyof Canvas)[] = ['extent'];\n"],"names":["CanvasPropertyNames"],"mappings":";;AAAA;AACA;MAmBaA,mBAAAA,GAAwC;AAAC,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ColumnDefinition.js","sources":["../../../../elements/panels/ColumnDefinition.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { GridLength } from '../../common';\n\n/**\n * One column of a {@link Grid}.\n */\nexport interface ColumnDefinition {\n width: GridLength;\n minimumWidth: number;\n maximumWidth: number;\n}\n\nexport const ColumnDefinitionPropertyNames: (keyof ColumnDefinition)[] = ['width', 'minimumWidth', 'maximumWidth'];\n"],"names":["ColumnDefinitionPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,6BAAAA,GAA4D;AAAC,IAAA,OAAA;AAAS,IAAA,cAAA;AAAgB,IAAA;;;;;"}
1
+ {"version":3,"file":"ColumnDefinition.js","sources":["../../../../elements/panels/ColumnDefinition.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { GridLength } from '../../common';\n\n/**\n * One column of a {@link Grid}.\n */\nexport interface ColumnDefinition {\n width: GridLength;\n minimumWidth: number;\n maximumWidth: number;\n}\n\nexport const ColumnDefinitionPropertyNames: (keyof ColumnDefinition)[] = ['width', 'minimumWidth', 'maximumWidth'];\n"],"names":["ColumnDefinitionPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,6BAAAA,GAA4D;AAAC,IAAA,OAAA;AAAS,IAAA,cAAA;AAAgB,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"DockPanel.js","sources":["../../../../elements/panels/DockPanel.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Panel } from '../Panel';\n\n/**\n * Lays its children out against its edges, each child stating which edge through the `Dock` key\n * of its `properties`.\n */\nexport interface DockPanel extends Panel {\n lastChildFill: boolean;\n}\n\nexport const DockPanelPropertyNames: (keyof DockPanel)[] = ['lastChildFill'];\n"],"names":["DockPanelPropertyNames"],"mappings":";;AAAA;AACA;MAYaA,sBAAAA,GAA8C;AAAC,IAAA;;;;;"}
1
+ {"version":3,"file":"DockPanel.js","sources":["../../../../elements/panels/DockPanel.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Panel } from '../Panel';\n\n/**\n * Lays its children out against its edges, each child stating which edge through the `Dock` key\n * of its `properties`.\n */\nexport interface DockPanel extends Panel {\n lastChildFill: boolean;\n}\n\nexport const DockPanelPropertyNames: (keyof DockPanel)[] = ['lastChildFill'];\n"],"names":["DockPanelPropertyNames"],"mappings":";;AAAA;AACA;MAYaA,sBAAAA,GAA8C;AAAC,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.js","sources":["../../../../elements/panels/Grid.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Panel } from '../Panel';\nimport { RowDefinition } from './RowDefinition';\nimport { ColumnDefinition } from './ColumnDefinition';\n\n/**\n * Lays its children out in rows and columns. A child states which cell it occupies through the\n * `Grid.Row`, `Grid.Column`, `Grid.RowSpan` and `Grid.ColumnSpan` keys of its `properties`.\n */\nexport interface Grid extends Panel {\n rows: RowDefinition[];\n columns: ColumnDefinition[];\n}\n\nexport const GridPropertyNames: (keyof Grid)[] = ['rows', 'columns'];\n"],"names":["GridPropertyNames"],"mappings":";;AAAA;AACA;MAeaA,iBAAAA,GAAoC;AAAC,IAAA,MAAA;AAAQ,IAAA;;;;;"}
1
+ {"version":3,"file":"Grid.js","sources":["../../../../elements/panels/Grid.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Panel } from '../Panel';\nimport { RowDefinition } from './RowDefinition';\nimport { ColumnDefinition } from './ColumnDefinition';\n\n/**\n * Lays its children out in rows and columns. A child states which cell it occupies through the\n * `Grid.Row`, `Grid.Column`, `Grid.RowSpan` and `Grid.ColumnSpan` keys of its `properties`.\n */\nexport interface Grid extends Panel {\n rows: RowDefinition[];\n columns: ColumnDefinition[];\n}\n\nexport const GridPropertyNames: (keyof Grid)[] = ['rows', 'columns'];\n"],"names":["GridPropertyNames"],"mappings":";;AAAA;AACA;MAeaA,iBAAAA,GAAoC;AAAC,IAAA,MAAA;AAAQ,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"RowDefinition.js","sources":["../../../../elements/panels/RowDefinition.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { GridLength } from '../../common';\n\n/**\n * One row of a {@link Grid}.\n */\nexport interface RowDefinition {\n height: GridLength;\n minimumHeight: number;\n maximumHeight: number;\n}\n\nexport const RowDefinitionPropertyNames: (keyof RowDefinition)[] = ['height', 'minimumHeight', 'maximumHeight'];\n"],"names":["RowDefinitionPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,0BAAAA,GAAsD;AAAC,IAAA,QAAA;AAAU,IAAA,eAAA;AAAiB,IAAA;;;;;"}
1
+ {"version":3,"file":"RowDefinition.js","sources":["../../../../elements/panels/RowDefinition.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { GridLength } from '../../common';\n\n/**\n * One row of a {@link Grid}.\n */\nexport interface RowDefinition {\n height: GridLength;\n minimumHeight: number;\n maximumHeight: number;\n}\n\nexport const RowDefinitionPropertyNames: (keyof RowDefinition)[] = ['height', 'minimumHeight', 'maximumHeight'];\n"],"names":["RowDefinitionPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,0BAAAA,GAAsD;AAAC,IAAA,QAAA;AAAU,IAAA,eAAA;AAAiB,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"StackPanel.js","sources":["../../../../elements/panels/StackPanel.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Panel } from '../Panel';\nimport { Orientation } from '../../common';\n\n/**\n * Lays its children out in a single line.\n */\nexport interface StackPanel extends Panel {\n orientation: Orientation;\n spacing: number;\n}\n\nexport const StackPanelPropertyNames: (keyof StackPanel)[] = ['orientation', 'spacing'];\n"],"names":["StackPanelPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,uBAAAA,GAAgD;AAAC,IAAA,aAAA;AAAe,IAAA;;;;;"}
1
+ {"version":3,"file":"StackPanel.js","sources":["../../../../elements/panels/StackPanel.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Panel } from '../Panel';\nimport { Orientation } from '../../common';\n\n/**\n * Lays its children out in a single line.\n */\nexport interface StackPanel extends Panel {\n orientation: Orientation;\n spacing: number;\n}\n\nexport const StackPanelPropertyNames: (keyof StackPanel)[] = ['orientation', 'spacing'];\n"],"names":["StackPanelPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,uBAAAA,GAAgD;AAAC,IAAA,aAAA;AAAe,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"WrapPanel.js","sources":["../../../../elements/panels/WrapPanel.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Panel } from '../Panel';\nimport { Orientation } from '../../common';\n\n/**\n * Lays its children out in a line and starts a new one whenever the current line runs out of room.\n */\nexport interface WrapPanel extends Panel {\n orientation: Orientation;\n itemWidth?: number;\n itemHeight?: number;\n}\n\nexport const WrapPanelPropertyNames: (keyof WrapPanel)[] = ['orientation', 'itemWidth', 'itemHeight'];\n"],"names":["WrapPanelPropertyNames"],"mappings":";;AAAA;AACA;MAcaA,sBAAAA,GAA8C;AAAC,IAAA,aAAA;AAAe,IAAA,WAAA;AAAa,IAAA;;;;;"}
1
+ {"version":3,"file":"WrapPanel.js","sources":["../../../../elements/panels/WrapPanel.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Panel } from '../Panel';\nimport { Orientation } from '../../common';\n\n/**\n * Lays its children out in a line and starts a new one whenever the current line runs out of room.\n */\nexport interface WrapPanel extends Panel {\n orientation: Orientation;\n itemWidth?: number;\n itemHeight?: number;\n}\n\nexport const WrapPanelPropertyNames: (keyof WrapPanel)[] = ['orientation', 'itemWidth', 'itemHeight'];\n"],"names":["WrapPanelPropertyNames"],"mappings":";;AAAA;AACA;MAcaA,sBAAAA,GAA8C;AAAC,IAAA,aAAA;AAAe,IAAA,WAAA;AAAa,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Form.js","sources":["../../../forms/Form.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PopulateSource } from './PopulateSource';\nimport { FormField } from './FormField';\n\n/**\n * The command-side counterpart to a table or summary: a named, typed form for one command.\n */\nexport interface Form {\n name: string;\n forCommand: string;\n populateSource?: PopulateSource;\n fields: FormField[];\n}\n\nexport const FormPropertyNames: (keyof Form)[] = ['name', 'forCommand', 'populateSource', 'fields'];\n"],"names":["FormPropertyNames"],"mappings":";;AAAA;AACA;MAeaA,iBAAAA,GAAoC;AAAC,IAAA,MAAA;AAAQ,IAAA,YAAA;AAAc,IAAA,gBAAA;AAAkB,IAAA;;;;;"}
1
+ {"version":3,"file":"Form.js","sources":["../../../forms/Form.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PopulateSource } from './PopulateSource';\nimport { FormField } from './FormField';\n\n/**\n * The command-side counterpart to a table or summary: a named, typed form for one command.\n */\nexport interface Form {\n name: string;\n forCommand: string;\n populateSource?: PopulateSource;\n fields: FormField[];\n}\n\nexport const FormPropertyNames: (keyof Form)[] = ['name', 'forCommand', 'populateSource', 'fields'];\n"],"names":["FormPropertyNames"],"mappings":";;AAAA;AACA;MAeaA,iBAAAA,GAAoC;AAAC,IAAA,MAAA;AAAQ,IAAA,YAAA;AAAc,IAAA,gBAAA;AAAkB,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormField.js","sources":["../../../forms/FormField.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * One field of a {@link Form}. Mirrors the three population tiers Screenplay's `form` construct\n * establishes: auto-mapped by name (`sourceProperty` and `composeUsing` both undefined), explicitly\n * renamed (`sourceProperty` set), or computed by a callback (`composeUsing` set).\n */\nexport interface FormField {\n name: string;\n sourceProperty?: string;\n composeUsing?: string;\n label?: string;\n}\n\nexport const FormFieldPropertyNames: (keyof FormField)[] = ['name', 'sourceProperty', 'composeUsing', 'label'];\n"],"names":["FormFieldPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;;UAYaA,sBAAAA,GAA8C;AAAC,IAAA,MAAA;AAAQ,IAAA,gBAAA;AAAkB,IAAA,cAAA;AAAgB,IAAA;;;;;"}
1
+ {"version":3,"file":"FormField.js","sources":["../../../forms/FormField.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * One field of a {@link Form}. Mirrors the three population tiers Screenplay's `form` construct\n * establishes: auto-mapped by name (`sourceProperty` and `composeUsing` both undefined), explicitly\n * renamed (`sourceProperty` set), or computed by a callback (`composeUsing` set).\n */\nexport interface FormField {\n name: string;\n sourceProperty?: string;\n composeUsing?: string;\n label?: string;\n}\n\nexport const FormFieldPropertyNames: (keyof FormField)[] = ['name', 'sourceProperty', 'composeUsing', 'label'];\n"],"names":["FormFieldPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;;UAYaA,sBAAAA,GAA8C;AAAC,IAAA,MAAA;AAAQ,IAAA,gBAAA;AAAkB,IAAA,cAAA;AAAgB,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"PopulateFromItem.js","sources":["../../../forms/PopulateFromItem.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PopulateSource } from './PopulateSource';\nimport { BindingExpression } from '../common';\n\n/**\n * Populates a {@link Form}'s initial values from an item already in scope (e.g. a row selected in a\n * table on the same screen), rather than a fresh query.\n */\nexport interface PopulateFromItem extends PopulateSource {\n itemBinding: BindingExpression;\n}\n\nexport const PopulateFromItemPropertyNames: (keyof PopulateFromItem)[] = ['itemBinding'];\n"],"names":["PopulateFromItemPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,6BAAAA,GAA4D;AAAC,IAAA;;;;;"}
1
+ {"version":3,"file":"PopulateFromItem.js","sources":["../../../forms/PopulateFromItem.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PopulateSource } from './PopulateSource';\nimport { BindingExpression } from '../common';\n\n/**\n * Populates a {@link Form}'s initial values from an item already in scope (e.g. a row selected in a\n * table on the same screen), rather than a fresh query.\n */\nexport interface PopulateFromItem extends PopulateSource {\n itemBinding: BindingExpression;\n}\n\nexport const PopulateFromItemPropertyNames: (keyof PopulateFromItem)[] = ['itemBinding'];\n"],"names":["PopulateFromItemPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,6BAAAA,GAA4D;AAAC,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"PopulateViaQuery.js","sources":["../../../forms/PopulateViaQuery.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PopulateSource } from './PopulateSource';\nimport { BindingExpression } from '../common';\n\n/**\n * Populates a {@link Form}'s initial values from a single typed query, resolved by name.\n */\nexport interface PopulateViaQuery extends PopulateSource {\n queryName: string;\n parameterBindings: Record<string, BindingExpression>;\n}\n\nexport const PopulateViaQueryPropertyNames: (keyof PopulateViaQuery)[] = ['queryName', 'parameterBindings'];\n"],"names":["PopulateViaQueryPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,6BAAAA,GAA4D;AAAC,IAAA,WAAA;AAAa,IAAA;;;;;"}
1
+ {"version":3,"file":"PopulateViaQuery.js","sources":["../../../forms/PopulateViaQuery.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PopulateSource } from './PopulateSource';\nimport { BindingExpression } from '../common';\n\n/**\n * Populates a {@link Form}'s initial values from a single typed query, resolved by name.\n */\nexport interface PopulateViaQuery extends PopulateSource {\n queryName: string;\n parameterBindings: Record<string, BindingExpression>;\n}\n\nexport const PopulateViaQueryPropertyNames: (keyof PopulateViaQuery)[] = ['queryName', 'parameterBindings'];\n"],"names":["PopulateViaQueryPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,6BAAAA,GAA4D;AAAC,IAAA,WAAA;AAAa,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ElementPlacement.js","sources":["../../../layouts/ElementPlacement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from '../elements';\n\n/**\n * The absolute position and size of one element within a {@link FreeformVariant}.\n */\nexport interface ElementPlacement {\n element: SceneElement;\n x: number;\n y: number;\n width: number;\n height: number;\n}\n\nexport const ElementPlacementPropertyNames: (keyof ElementPlacement)[] = ['element', 'x', 'y', 'width', 'height'];\n"],"names":["ElementPlacementPropertyNames"],"mappings":";;AAAA;AACA;MAeaA,6BAAAA,GAA4D;AAAC,IAAA,SAAA;AAAW,IAAA,GAAA;AAAK,IAAA,GAAA;AAAK,IAAA,OAAA;AAAS,IAAA;;;;;"}
1
+ {"version":3,"file":"ElementPlacement.js","sources":["../../../layouts/ElementPlacement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from '../elements';\n\n/**\n * The absolute position and size of one element within a {@link FreeformVariant}.\n */\nexport interface ElementPlacement {\n element: SceneElement;\n x: number;\n y: number;\n width: number;\n height: number;\n}\n\nexport const ElementPlacementPropertyNames: (keyof ElementPlacement)[] = ['element', 'x', 'y', 'width', 'height'];\n"],"names":["ElementPlacementPropertyNames"],"mappings":";;AAAA;AACA;MAeaA,6BAAAA,GAA4D;AAAC,IAAA,SAAA;AAAW,IAAA,GAAA;AAAK,IAAA,GAAA;AAAK,IAAA,OAAA;AAAS,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FlowArrangement.js","sources":["../../../layouts/FlowArrangement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Arrangement } from './Arrangement';\nimport { FlowNode } from './FlowNode';\nimport { FlowOverride } from './FlowOverride';\n\n/**\n * Arranges a slot's content by reflowing it with the neutral `flow` primitives ({@link FlowRow},\n * {@link FlowColumn}, {@link FlowGrid}, {@link FlowLeaf}), recomputed against the current size class\n * rather than fixed per breakpoint. Deliberately not CSS-flavored — a renderer maps these primitives to\n * whatever native layout mechanism it has (flexbox/grid in `Scene.React`, something else in a future\n * native renderer).\n */\nexport interface FlowArrangement extends Arrangement {\n root: FlowNode;\n\n /**\n * Replacements for `root` targeting specific width/height size classes - the most specific match\n * wins (both dimensions targeted beats one), and the last declared wins among equally specific\n * matches. `undefined` or empty when the tree never varies by size class.\n */\n overrides?: FlowOverride[];\n}\n\nexport const FlowArrangementPropertyNames: (keyof FlowArrangement)[] = ['root', 'overrides'];\n"],"names":["FlowArrangementPropertyNames"],"mappings":";;AAAA;AACA;MAwBaA,4BAAAA,GAA0D;AAAC,IAAA,MAAA;AAAQ,IAAA;;;;;"}
1
+ {"version":3,"file":"FlowArrangement.js","sources":["../../../layouts/FlowArrangement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Arrangement } from './Arrangement';\nimport { FlowNode } from './FlowNode';\nimport { FlowOverride } from './FlowOverride';\n\n/**\n * Arranges a slot's content by reflowing it with the neutral `flow` primitives ({@link FlowRow},\n * {@link FlowColumn}, {@link FlowGrid}, {@link FlowLeaf}), recomputed against the current size class\n * rather than fixed per breakpoint. Deliberately not CSS-flavored — a renderer maps these primitives to\n * whatever native layout mechanism it has (flexbox/grid in `Scene.React`, something else in a future\n * native renderer).\n */\nexport interface FlowArrangement extends Arrangement {\n root: FlowNode;\n\n /**\n * Replacements for `root` targeting specific width/height size classes - the most specific match\n * wins (both dimensions targeted beats one), and the last declared wins among equally specific\n * matches. `undefined` or empty when the tree never varies by size class.\n */\n overrides?: FlowOverride[];\n}\n\nexport const FlowArrangementPropertyNames: (keyof FlowArrangement)[] = ['root', 'overrides'];\n"],"names":["FlowArrangementPropertyNames"],"mappings":";;AAAA;AACA;MAwBaA,4BAAAA,GAA0D;AAAC,IAAA,MAAA;AAAQ,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FlowColumn.js","sources":["../../../layouts/FlowColumn.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowContainer } from './FlowContainer';\nimport { FlowContainerKind } from './FlowContainerKind';\n\n/**\n * A {@link FlowContainer} that arranges its children vertically.\n */\nexport interface FlowColumn extends FlowContainer {\n kind: FlowContainerKind.Column;\n}\n\nexport const FlowColumnPropertyNames: (keyof FlowColumn)[] = ['kind'];\n"],"names":["FlowColumnPropertyNames"],"mappings":";;AAAA;AACA;MAYaA,uBAAAA,GAAgD;AAAC,IAAA;;;;;"}
1
+ {"version":3,"file":"FlowColumn.js","sources":["../../../layouts/FlowColumn.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowContainer } from './FlowContainer';\nimport { FlowContainerKind } from './FlowContainerKind';\n\n/**\n * A {@link FlowContainer} that arranges its children vertically.\n */\nexport interface FlowColumn extends FlowContainer {\n kind: FlowContainerKind.Column;\n}\n\nexport const FlowColumnPropertyNames: (keyof FlowColumn)[] = ['kind'];\n"],"names":["FlowColumnPropertyNames"],"mappings":";;AAAA;AACA;MAYaA,uBAAAA,GAAgD;AAAC,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FlowContainer.js","sources":["../../../layouts/FlowContainer.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowContainerKind } from './FlowContainerKind';\nimport { FlowNode } from './FlowNode';\n\n/**\n * A {@link FlowNode} that arranges child nodes ({@link FlowRow}, {@link FlowColumn} or {@link FlowGrid}).\n */\nexport interface FlowContainer extends FlowNode {\n gap: number;\n children: FlowNode[];\n\n /**\n * Which way this container arranges its children. Narrowed to a single member by each concrete\n * container, which is what makes them a discriminated union rather than three identical shapes.\n */\n kind: FlowContainerKind;\n}\n\nexport const FlowContainerPropertyNames: (keyof FlowContainer)[] = ['gap', 'children', 'kind'];\n"],"names":["FlowContainerPropertyNames"],"mappings":";;AAAA;AACA;MAmBaA,0BAAAA,GAAsD;AAAC,IAAA,KAAA;AAAO,IAAA,UAAA;AAAY,IAAA;;;;;"}
1
+ {"version":3,"file":"FlowContainer.js","sources":["../../../layouts/FlowContainer.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowContainerKind } from './FlowContainerKind';\nimport { FlowNode } from './FlowNode';\n\n/**\n * A {@link FlowNode} that arranges child nodes ({@link FlowRow}, {@link FlowColumn} or {@link FlowGrid}).\n */\nexport interface FlowContainer extends FlowNode {\n gap: number;\n children: FlowNode[];\n\n /**\n * Which way this container arranges its children. Narrowed to a single member by each concrete\n * container, which is what makes them a discriminated union rather than three identical shapes.\n */\n kind: FlowContainerKind;\n}\n\nexport const FlowContainerPropertyNames: (keyof FlowContainer)[] = ['gap', 'children', 'kind'];\n"],"names":["FlowContainerPropertyNames"],"mappings":";;AAAA;AACA;MAmBaA,0BAAAA,GAAsD;AAAC,IAAA,KAAA;AAAO,IAAA,UAAA;AAAY,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FlowContainerKind.js","sources":["../../../layouts/FlowContainerKind.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Which way a {@link FlowContainer} arranges its children.\n *\n * C# distinguishes `FlowRow` from `FlowColumn` by type, but this mirror cannot: interfaces with identical\n * members are the same type, and there are no runtime types to test. A renderer walking an arrangement\n * tree would have no way to tell a row from a column — which is the one thing it most needs to know. This\n * carries that decision as data, so both stacks read it the same way.\n */\nexport enum FlowContainerKind {\n Row = 'Row',\n Column = 'Column',\n Grid = 'Grid',\n}\n"],"names":["FlowContainerKind"],"mappings":";;AAAA;AACA;AAEA;;;;;;;IAQO,IAAKA,iBAAAA,iBAAAA,SAAAA,iBAAAA,EAAAA;;;;AAAAA,IAAAA,OAAAA,iBAAAA;AAIX,CAAA,CAAA,EAAA;;;;"}
1
+ {"version":3,"file":"FlowContainerKind.js","sources":["../../../layouts/FlowContainerKind.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Which way a {@link FlowContainer} arranges its children.\n *\n * C# distinguishes `FlowRow` from `FlowColumn` by type, but this mirror cannot: interfaces with identical\n * members are the same type, and there are no runtime types to test. A renderer walking an arrangement\n * tree would have no way to tell a row from a column — which is the one thing it most needs to know. This\n * carries that decision as data, so both stacks read it the same way.\n */\nexport enum FlowContainerKind {\n Row = 'Row',\n Column = 'Column',\n Grid = 'Grid',\n}\n"],"names":["FlowContainerKind"],"mappings":";;AAAA;AACA;AAEA;;;;;;;IAQO,IAAKA,iBAAAA,iBAAAA,SAAAA,iBAAAA,EAAAA;;;;AAAAA,IAAAA,OAAAA,iBAAAA;AAIX,CAAA,CAAA,EAAA;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FlowGrid.js","sources":["../../../layouts/FlowGrid.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowContainer } from './FlowContainer';\nimport { FlowContainerKind } from './FlowContainerKind';\n\n/**\n * A {@link FlowContainer} that arranges its children in a grid.\n */\nexport interface FlowGrid extends FlowContainer {\n kind: FlowContainerKind.Grid;\n columns?: number;\n rows?: number;\n}\n\nexport const FlowGridPropertyNames: (keyof FlowGrid)[] = ['kind', 'columns', 'rows'];\n"],"names":["FlowGridPropertyNames"],"mappings":";;AAAA;AACA;MAcaA,qBAAAA,GAA4C;AAAC,IAAA,MAAA;AAAQ,IAAA,SAAA;AAAW,IAAA;;;;;"}
1
+ {"version":3,"file":"FlowGrid.js","sources":["../../../layouts/FlowGrid.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowContainer } from './FlowContainer';\nimport { FlowContainerKind } from './FlowContainerKind';\n\n/**\n * A {@link FlowContainer} that arranges its children in a grid.\n */\nexport interface FlowGrid extends FlowContainer {\n kind: FlowContainerKind.Grid;\n columns?: number;\n rows?: number;\n}\n\nexport const FlowGridPropertyNames: (keyof FlowGrid)[] = ['kind', 'columns', 'rows'];\n"],"names":["FlowGridPropertyNames"],"mappings":";;AAAA;AACA;MAcaA,qBAAAA,GAA4C;AAAC,IAAA,MAAA;AAAQ,IAAA,SAAA;AAAW,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FlowLeaf.js","sources":["../../../layouts/FlowLeaf.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowNode } from './FlowNode';\nimport { SceneElement } from '../elements';\n\n/**\n * A {@link FlowNode} leaf that positions one of the slot's own content elements within the flow tree.\n */\nexport interface FlowLeaf extends FlowNode {\n content: SceneElement;\n}\n\nexport const FlowLeafPropertyNames: (keyof FlowLeaf)[] = ['content'];\n"],"names":["FlowLeafPropertyNames"],"mappings":";;AAAA;AACA;MAYaA,qBAAAA,GAA4C;AAAC,IAAA;;;;;"}
1
+ {"version":3,"file":"FlowLeaf.js","sources":["../../../layouts/FlowLeaf.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowNode } from './FlowNode';\nimport { SceneElement } from '../elements';\n\n/**\n * A {@link FlowNode} leaf that positions one of the slot's own content elements within the flow tree.\n */\nexport interface FlowLeaf extends FlowNode {\n content: SceneElement;\n}\n\nexport const FlowLeafPropertyNames: (keyof FlowLeaf)[] = ['content'];\n"],"names":["FlowLeafPropertyNames"],"mappings":";;AAAA;AACA;MAYaA,qBAAAA,GAA4C;AAAC,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FlowNode.js","sources":["../../../layouts/FlowNode.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * A node in a {@link FlowArrangement}'s tree: a container ({@link FlowRow}, {@link FlowColumn},\n * {@link FlowGrid}) or a leaf positioning one of the slot's own content elements ({@link FlowLeaf}).\n */\nexport interface FlowNode {\n grow?: number;\n span?: number;\n}\n\nexport const FlowNodePropertyNames: (keyof FlowNode)[] = ['grow', 'span'];\n"],"names":["FlowNodePropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;UASaA,qBAAAA,GAA4C;AAAC,IAAA,MAAA;AAAQ,IAAA;;;;;"}
1
+ {"version":3,"file":"FlowNode.js","sources":["../../../layouts/FlowNode.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * A node in a {@link FlowArrangement}'s tree: a container ({@link FlowRow}, {@link FlowColumn},\n * {@link FlowGrid}) or a leaf positioning one of the slot's own content elements ({@link FlowLeaf}).\n */\nexport interface FlowNode {\n grow?: number;\n span?: number;\n}\n\nexport const FlowNodePropertyNames: (keyof FlowNode)[] = ['grow', 'span'];\n"],"names":["FlowNodePropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;UASaA,qBAAAA,GAA4C;AAAC,IAAA,MAAA;AAAQ,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FlowOverride.js","sources":["../../../layouts/FlowOverride.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { WidthSizeClass, HeightSizeClass } from '../sizeClasses';\nimport { FlowNode } from './FlowNode';\n\n/**\n * Replaces a {@link FlowArrangement}'s root tree for a targeted width and/or height size class.\n */\nexport interface FlowOverride {\n /** The width size class this override targets, or `undefined` to target any width. */\n width?: WidthSizeClass;\n\n /** The height size class this override targets, or `undefined` to target any height. */\n height?: HeightSizeClass;\n\n /** The replacement tree. */\n root: FlowNode;\n}\n\nexport const FlowOverridePropertyNames: (keyof FlowOverride)[] = ['width', 'height', 'root'];\n"],"names":["FlowOverridePropertyNames"],"mappings":";;AAAA;AACA;MAmBaA,yBAAAA,GAAoD;AAAC,IAAA,OAAA;AAAS,IAAA,QAAA;AAAU,IAAA;;;;;"}
1
+ {"version":3,"file":"FlowOverride.js","sources":["../../../layouts/FlowOverride.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { WidthSizeClass, HeightSizeClass } from '../sizeClasses';\nimport { FlowNode } from './FlowNode';\n\n/**\n * Replaces a {@link FlowArrangement}'s root tree for a targeted width and/or height size class.\n */\nexport interface FlowOverride {\n /** The width size class this override targets, or `undefined` to target any width. */\n width?: WidthSizeClass;\n\n /** The height size class this override targets, or `undefined` to target any height. */\n height?: HeightSizeClass;\n\n /** The replacement tree. */\n root: FlowNode;\n}\n\nexport const FlowOverridePropertyNames: (keyof FlowOverride)[] = ['width', 'height', 'root'];\n"],"names":["FlowOverridePropertyNames"],"mappings":";;AAAA;AACA;MAmBaA,yBAAAA,GAAoD;AAAC,IAAA,OAAA;AAAS,IAAA,QAAA;AAAU,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FlowRow.js","sources":["../../../layouts/FlowRow.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowContainer } from './FlowContainer';\nimport { FlowContainerKind } from './FlowContainerKind';\n\n/**\n * A {@link FlowContainer} that arranges its children horizontally.\n */\nexport interface FlowRow extends FlowContainer {\n kind: FlowContainerKind.Row;\n}\n\nexport const FlowRowPropertyNames: (keyof FlowRow)[] = ['kind'];\n"],"names":["FlowRowPropertyNames"],"mappings":";;AAAA;AACA;MAYaA,oBAAAA,GAA0C;AAAC,IAAA;;;;;"}
1
+ {"version":3,"file":"FlowRow.js","sources":["../../../layouts/FlowRow.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowContainer } from './FlowContainer';\nimport { FlowContainerKind } from './FlowContainerKind';\n\n/**\n * A {@link FlowContainer} that arranges its children horizontally.\n */\nexport interface FlowRow extends FlowContainer {\n kind: FlowContainerKind.Row;\n}\n\nexport const FlowRowPropertyNames: (keyof FlowRow)[] = ['kind'];\n"],"names":["FlowRowPropertyNames"],"mappings":";;AAAA;AACA;MAYaA,oBAAAA,GAA0C;AAAC,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FlowSlotLeaf.js","sources":["../../../layouts/FlowSlotLeaf.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowNode } from './FlowNode';\n\n/**\n * A {@link FlowNode} leaf that positions one of a {@link Layout}'s own named {@link Slot}s within its\n * macro `arrangement` tree - the counterpart to {@link FlowLeaf}, which positions an element within a\n * single slot's own content instead of positioning a slot within the layout.\n */\nexport interface FlowSlotLeaf extends FlowNode {\n slotName: string;\n}\n\nexport const FlowSlotLeafPropertyNames: (keyof FlowSlotLeaf)[] = ['slotName'];\n"],"names":["FlowSlotLeafPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,yBAAAA,GAAoD;AAAC,IAAA;;;;;"}
1
+ {"version":3,"file":"FlowSlotLeaf.js","sources":["../../../layouts/FlowSlotLeaf.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowNode } from './FlowNode';\n\n/**\n * A {@link FlowNode} leaf that positions one of a {@link Layout}'s own named {@link Slot}s within its\n * macro `arrangement` tree - the counterpart to {@link FlowLeaf}, which positions an element within a\n * single slot's own content instead of positioning a slot within the layout.\n */\nexport interface FlowSlotLeaf extends FlowNode {\n slotName: string;\n}\n\nexport const FlowSlotLeafPropertyNames: (keyof FlowSlotLeaf)[] = ['slotName'];\n"],"names":["FlowSlotLeafPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,yBAAAA,GAAoD;AAAC,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FreeformArrangement.js","sources":["../../../layouts/FreeformArrangement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Arrangement } from './Arrangement';\nimport { FreeformVariant } from './FreeformVariant';\n\n/**\n * Arranges a slot's content with one placement variant per size class — the Xcode-storyboard model.\n * The same data/action/form contract is shared across every variant; only placement differs.\n */\nexport interface FreeformArrangement extends Arrangement {\n variants: FreeformVariant[];\n}\n\nexport const FreeformArrangementPropertyNames: (keyof FreeformArrangement)[] = ['variants'];\n"],"names":["FreeformArrangementPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,gCAAAA,GAAkE;AAAC,IAAA;;;;;"}
1
+ {"version":3,"file":"FreeformArrangement.js","sources":["../../../layouts/FreeformArrangement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Arrangement } from './Arrangement';\nimport { FreeformVariant } from './FreeformVariant';\n\n/**\n * Arranges a slot's content with one placement variant per size class — the Xcode-storyboard model.\n * The same data/action/form contract is shared across every variant; only placement differs.\n */\nexport interface FreeformArrangement extends Arrangement {\n variants: FreeformVariant[];\n}\n\nexport const FreeformArrangementPropertyNames: (keyof FreeformArrangement)[] = ['variants'];\n"],"names":["FreeformArrangementPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,gCAAAA,GAAkE;AAAC,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FreeformSlotArrangement.js","sources":["../../../layouts/FreeformSlotArrangement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Arrangement } from './Arrangement';\nimport { FreeformSlotVariant } from './FreeformSlotVariant';\n\n/**\n * Arranges a {@link Layout}'s own named {@link Slot}s with one placement variant per size class - the\n * Xcode-storyboard model applied to the layout's slots themselves, rather than to the content of one slot\n * (see {@link FreeformArrangement}). The same slot set is shared across every variant; only placement\n * differs.\n */\nexport interface FreeformSlotArrangement extends Arrangement {\n variants: FreeformSlotVariant[];\n}\n\nexport const FreeformSlotArrangementPropertyNames: (keyof FreeformSlotArrangement)[] = ['variants'];\n"],"names":["FreeformSlotArrangementPropertyNames"],"mappings":";;AAAA;AACA;MAeaA,oCAAAA,GAA0E;AAAC,IAAA;;;;;"}
1
+ {"version":3,"file":"FreeformSlotArrangement.js","sources":["../../../layouts/FreeformSlotArrangement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Arrangement } from './Arrangement';\nimport { FreeformSlotVariant } from './FreeformSlotVariant';\n\n/**\n * Arranges a {@link Layout}'s own named {@link Slot}s with one placement variant per size class - the\n * Xcode-storyboard model applied to the layout's slots themselves, rather than to the content of one slot\n * (see {@link FreeformArrangement}). The same slot set is shared across every variant; only placement\n * differs.\n */\nexport interface FreeformSlotArrangement extends Arrangement {\n variants: FreeformSlotVariant[];\n}\n\nexport const FreeformSlotArrangementPropertyNames: (keyof FreeformSlotArrangement)[] = ['variants'];\n"],"names":["FreeformSlotArrangementPropertyNames"],"mappings":";;AAAA;AACA;MAeaA,oCAAAA,GAA0E;AAAC,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FreeformSlotVariant.js","sources":["../../../layouts/FreeformSlotVariant.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SizeClass } from '../sizeClasses';\nimport { SlotPlacement } from './SlotPlacement';\n\n/**\n * One placement variant of a {@link FreeformSlotArrangement}, targeting a specific size class - the\n * counterpart to {@link FreeformVariant}, which places elements within a single slot instead of placing a\n * layout's own slots. A size class with no matching variant is a compiler/engine warning, never a silent\n * fallback, matching {@link FreeformVariant}.\n */\nexport interface FreeformSlotVariant {\n sizeClass: SizeClass;\n placements: SlotPlacement[];\n}\n\nexport const FreeformSlotVariantPropertyNames: (keyof FreeformSlotVariant)[] = ['sizeClass', 'placements'];\n"],"names":["FreeformSlotVariantPropertyNames"],"mappings":";;AAAA;AACA;MAgBaA,gCAAAA,GAAkE;AAAC,IAAA,WAAA;AAAa,IAAA;;;;;"}
1
+ {"version":3,"file":"FreeformSlotVariant.js","sources":["../../../layouts/FreeformSlotVariant.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SizeClass } from '../sizeClasses';\nimport { SlotPlacement } from './SlotPlacement';\n\n/**\n * One placement variant of a {@link FreeformSlotArrangement}, targeting a specific size class - the\n * counterpart to {@link FreeformVariant}, which places elements within a single slot instead of placing a\n * layout's own slots. A size class with no matching variant is a compiler/engine warning, never a silent\n * fallback, matching {@link FreeformVariant}.\n */\nexport interface FreeformSlotVariant {\n sizeClass: SizeClass;\n placements: SlotPlacement[];\n}\n\nexport const FreeformSlotVariantPropertyNames: (keyof FreeformSlotVariant)[] = ['sizeClass', 'placements'];\n"],"names":["FreeformSlotVariantPropertyNames"],"mappings":";;AAAA;AACA;MAgBaA,gCAAAA,GAAkE;AAAC,IAAA,WAAA;AAAa,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FreeformVariant.js","sources":["../../../layouts/FreeformVariant.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SizeClass } from '../sizeClasses';\nimport { ElementPlacement } from './ElementPlacement';\n\n/**\n * One placement variant of a {@link FreeformArrangement}, targeting a specific size class. A size class\n * with no matching variant is a compiler/engine warning, never a silent fallback.\n */\nexport interface FreeformVariant {\n sizeClass: SizeClass;\n placements: ElementPlacement[];\n}\n\nexport const FreeformVariantPropertyNames: (keyof FreeformVariant)[] = ['sizeClass', 'placements'];\n"],"names":["FreeformVariantPropertyNames"],"mappings":";;AAAA;AACA;MAcaA,4BAAAA,GAA0D;AAAC,IAAA,WAAA;AAAa,IAAA;;;;;"}
1
+ {"version":3,"file":"FreeformVariant.js","sources":["../../../layouts/FreeformVariant.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SizeClass } from '../sizeClasses';\nimport { ElementPlacement } from './ElementPlacement';\n\n/**\n * One placement variant of a {@link FreeformArrangement}, targeting a specific size class. A size class\n * with no matching variant is a compiler/engine warning, never a silent fallback.\n */\nexport interface FreeformVariant {\n sizeClass: SizeClass;\n placements: ElementPlacement[];\n}\n\nexport const FreeformVariantPropertyNames: (keyof FreeformVariant)[] = ['sizeClass', 'placements'];\n"],"names":["FreeformVariantPropertyNames"],"mappings":";;AAAA;AACA;MAcaA,4BAAAA,GAA0D;AAAC,IAAA,WAAA;AAAa,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Layout.js","sources":["../../../layouts/Layout.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Arrangement } from './Arrangement';\nimport { Slot } from './Slot';\n\n/**\n * A named template of slots that a {@link Screen} fills with content. Mirrors Screenplay's `layout`\n * construct: a bare layout with plain slots is a special case of a layout whose slots all use the\n * default arrangement.\n */\nexport interface Layout {\n name: string;\n slots: Slot[];\n\n /**\n * How the layout's own `slots` position relative to each other - a {@link FlowArrangement} (leaves\n * are {@link FlowSlotLeaf}) or {@link FreeformSlotArrangement}, or `undefined` for the slots'\n * declaration order with no further positioning information. Distinct from each {@link Slot}'s own\n * `arrangement`, which positions that one slot's filled content instead of positioning the slots\n * themselves.\n */\n arrangement?: Arrangement;\n}\n\nexport const LayoutPropertyNames: (keyof Layout)[] = ['name', 'slots', 'arrangement'];\n"],"names":["LayoutPropertyNames"],"mappings":";;AAAA;AACA;MAwBaA,mBAAAA,GAAwC;AAAC,IAAA,MAAA;AAAQ,IAAA,OAAA;AAAS,IAAA;;;;;"}
1
+ {"version":3,"file":"Layout.js","sources":["../../../layouts/Layout.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Arrangement } from './Arrangement';\nimport { Slot } from './Slot';\n\n/**\n * A named template of slots that a {@link Screen} fills with content. Mirrors Screenplay's `layout`\n * construct: a bare layout with plain slots is a special case of a layout whose slots all use the\n * default arrangement.\n */\nexport interface Layout {\n name: string;\n slots: Slot[];\n\n /**\n * How the layout's own `slots` position relative to each other - a {@link FlowArrangement} (leaves\n * are {@link FlowSlotLeaf}) or {@link FreeformSlotArrangement}, or `undefined` for the slots'\n * declaration order with no further positioning information. Distinct from each {@link Slot}'s own\n * `arrangement`, which positions that one slot's filled content instead of positioning the slots\n * themselves.\n */\n arrangement?: Arrangement;\n}\n\nexport const LayoutPropertyNames: (keyof Layout)[] = ['name', 'slots', 'arrangement'];\n"],"names":["LayoutPropertyNames"],"mappings":";;AAAA;AACA;MAwBaA,mBAAAA,GAAwC;AAAC,IAAA,MAAA;AAAQ,IAAA,OAAA;AAAS,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Slot.js","sources":["../../../layouts/Slot.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Arrangement } from './Arrangement';\n\n/**\n * A named placeholder within a {@link Layout}, filled with content by a screen and positioned by its\n * {@link Arrangement}. A layout is not uniformly one arrangement mode — `flow` for most slots and\n * `freeform` for one is a valid combination.\n */\nexport interface Slot {\n name: string;\n arrangement?: Arrangement;\n}\n\nexport const SlotPropertyNames: (keyof Slot)[] = ['name', 'arrangement'];\n"],"names":["SlotPropertyNames"],"mappings":";;AAAA;AACA;MAcaA,iBAAAA,GAAoC;AAAC,IAAA,MAAA;AAAQ,IAAA;;;;;"}
1
+ {"version":3,"file":"Slot.js","sources":["../../../layouts/Slot.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Arrangement } from './Arrangement';\n\n/**\n * A named placeholder within a {@link Layout}, filled with content by a screen and positioned by its\n * {@link Arrangement}. A layout is not uniformly one arrangement mode — `flow` for most slots and\n * `freeform` for one is a valid combination.\n */\nexport interface Slot {\n name: string;\n arrangement?: Arrangement;\n}\n\nexport const SlotPropertyNames: (keyof Slot)[] = ['name', 'arrangement'];\n"],"names":["SlotPropertyNames"],"mappings":";;AAAA;AACA;MAcaA,iBAAAA,GAAoC;AAAC,IAAA,MAAA;AAAQ,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SlotPlacement.js","sources":["../../../layouts/SlotPlacement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The absolute position and size of one of a {@link Layout}'s own named {@link Slot}s within a\n * {@link FreeformSlotVariant} - the counterpart to {@link ElementPlacement}, which places an element\n * within a single slot's own content instead of placing a slot within the layout.\n */\nexport interface SlotPlacement {\n slotName: string;\n x: number;\n y: number;\n width: number;\n height: number;\n}\n\nexport const SlotPlacementPropertyNames: (keyof SlotPlacement)[] = ['slotName', 'x', 'y', 'width', 'height'];\n"],"names":["SlotPlacementPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;;UAaaA,0BAAAA,GAAsD;AAAC,IAAA,UAAA;AAAY,IAAA,GAAA;AAAK,IAAA,GAAA;AAAK,IAAA,OAAA;AAAS,IAAA;;;;;"}
1
+ {"version":3,"file":"SlotPlacement.js","sources":["../../../layouts/SlotPlacement.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The absolute position and size of one of a {@link Layout}'s own named {@link Slot}s within a\n * {@link FreeformSlotVariant} - the counterpart to {@link ElementPlacement}, which places an element\n * within a single slot's own content instead of placing a slot within the layout.\n */\nexport interface SlotPlacement {\n slotName: string;\n x: number;\n y: number;\n width: number;\n height: number;\n}\n\nexport const SlotPlacementPropertyNames: (keyof SlotPlacement)[] = ['slotName', 'x', 'y', 'width', 'height'];\n"],"names":["SlotPlacementPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;;UAaaA,0BAAAA,GAAsD;AAAC,IAAA,UAAA;AAAY,IAAA,GAAA;AAAK,IAAA,GAAA;AAAK,IAAA,OAAA;AAAS,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"PackageDependency.js","sources":["../../../packages/PackageDependency.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * One package a {@link ScenePackage} needs present in the same {@link UiProfile} to work.\n * `@cratis/components` is written against PrimeReact and Tailwind, so it declares both - a profile\n * listing it without them is stating something that cannot render, and that has to be visible rather\n * than discovered at runtime.\n */\nexport interface PackageDependency {\n /**\n * The name of the package depended on, matching that package's `name`.\n */\n name: string;\n\n /**\n * An optional semver range the dependency must satisfy. Left undefined when any version will do -\n * which is the common case, since a profile only ever activates one version of a package.\n */\n versionRange?: string;\n}\n\nexport const PackageDependencyPropertyNames: (keyof PackageDependency)[] = ['name', 'versionRange'];\n"],"names":["PackageDependencyPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;;;UAmBaA,8BAAAA,GAA8D;AAAC,IAAA,MAAA;AAAQ,IAAA;;;;;"}
1
+ {"version":3,"file":"PackageDependency.js","sources":["../../../packages/PackageDependency.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * One package a {@link ScenePackage} needs present in the same {@link UiProfile} to work.\n * `@cratis/components` is written against PrimeReact and Tailwind, so it declares both - a profile\n * listing it without them is stating something that cannot render, and that has to be visible rather\n * than discovered at runtime.\n */\nexport interface PackageDependency {\n /**\n * The name of the package depended on, matching that package's `name`.\n */\n name: string;\n\n /**\n * An optional semver range the dependency must satisfy. Left undefined when any version will do -\n * which is the common case, since a profile only ever activates one version of a package.\n */\n versionRange?: string;\n}\n\nexport const PackageDependencyPropertyNames: (keyof PackageDependency)[] = ['name', 'versionRange'];\n"],"names":["PackageDependencyPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;;;UAmBaA,8BAAAA,GAA8D;AAAC,IAAA,MAAA;AAAQ,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"PackageKind.js","sources":["../../../packages/PackageKind.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * What a {@link ScenePackage} contributes to a {@link UiProfile}. A profile's package list mixes all\n * three kinds freely - the kind says what a package is for, never where it sits in the override-priority\n * order.\n */\nexport enum PackageKind {\n /**\n * Declares component names a screen can resolve against. A package with no dependency on another\n * `ComponentLibrary` is a base library (PrimeReact, `core`); one that depends on another layers on\n * top of it.\n */\n ComponentLibrary = 'ComponentLibrary',\n\n /**\n * Contributes styling rather than components - a utility CSS system such as Tailwind. A styling\n * package usually declares no components at all; component libraries depend on it to say \"my\n * components are written against this styling system\".\n */\n Styling = 'Styling',\n\n /**\n * Provides the shape of an application: its {@link Layout}s, the {@link ScreenTemplate}s and\n * {@link DialogTemplate}s built on them, and the components that fill their slots. An application\n * selects one blueprint, and gets a coherent set rather than assembling layouts and templates from\n * unrelated sources.\n *\n * A blueprint depends on the component libraries it is built from — the default blueprint is written\n * against PrimeReact and Cratis Components, and says so. That is what makes \"which blueprints can I\n * use\" answerable from the packages a profile already has.\n */\n Blueprint = 'Blueprint',\n}\n"],"names":["PackageKind"],"mappings":";;AAAA;AACA;AAEA;;;;IAKO,IAAKA,WAAAA,iBAAAA,SAAAA,WAAAA,EAAAA;AACR;;;;AAIC,QAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,kBAAA;AAGD;;;;AAIC,QAAA,WAAA,CAAA,SAAA,CAAA,GAAA,SAAA;AAGD;;;;;;;;;AASC,QAAA,WAAA,CAAA,WAAA,CAAA,GAAA,WAAA;AAxBOA,IAAAA,OAAAA,WAAAA;AA0BX,CAAA,CAAA,EAAA;;;;"}
1
+ {"version":3,"file":"PackageKind.js","sources":["../../../packages/PackageKind.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * What a {@link ScenePackage} contributes to a {@link UiProfile}. A profile's package list mixes all\n * three kinds freely - the kind says what a package is for, never where it sits in the override-priority\n * order.\n */\nexport enum PackageKind {\n /**\n * Declares component names a screen can resolve against. A package with no dependency on another\n * `ComponentLibrary` is a base library (PrimeReact, `core`); one that depends on another layers on\n * top of it.\n */\n ComponentLibrary = 'ComponentLibrary',\n\n /**\n * Contributes styling rather than components - a utility CSS system such as Tailwind. A styling\n * package usually declares no components at all; component libraries depend on it to say \"my\n * components are written against this styling system\".\n */\n Styling = 'Styling',\n\n /**\n * Provides the shape of an application: its {@link Layout}s, the {@link ScreenTemplate}s and\n * {@link DialogTemplate}s built on them, and the components that fill their slots. An application\n * selects one blueprint, and gets a coherent set rather than assembling layouts and templates from\n * unrelated sources.\n *\n * A blueprint depends on the component libraries it is built from — the default blueprint is written\n * against PrimeReact and Cratis Components, and says so. That is what makes \"which blueprints can I\n * use\" answerable from the packages a profile already has.\n */\n Blueprint = 'Blueprint',\n}\n"],"names":["PackageKind"],"mappings":";;AAAA;AACA;AAEA;;;;IAKO,IAAKA,WAAAA,iBAAAA,SAAAA,WAAAA,EAAAA;AACR;;;;AAIC,QAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,kBAAA;AAGD;;;;AAIC,QAAA,WAAA,CAAA,SAAA,CAAA,GAAA,SAAA;AAGD;;;;;;;;;AASC,QAAA,WAAA,CAAA,WAAA,CAAA,GAAA,WAAA;AAxBOA,IAAAA,OAAAA,WAAAA;AA0BX,CAAA,CAAA,EAAA;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScenePackage.js","sources":["../../../packages/ScenePackage.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PackageDependency } from './PackageDependency';\nimport { PackageKind } from './PackageKind';\n\n/**\n * What a {@link UiProfile}'s `packages` entry actually names. A profile lists packages by name only;\n * this is the declaration behind the name - what it contributes, and what else has to be active for it\n * to work.\n */\nexport interface ScenePackage {\n /**\n * The name a {@link UiProfile} lists, and the name a {@link PackageDependency} refers to.\n */\n name: string;\n\n /**\n * The package's own version, so a {@link PackageDependency.versionRange} has something to check against.\n */\n version: string;\n\n /**\n * What the package contributes.\n */\n kind: PackageKind;\n\n /**\n * Other packages that must be active in the same profile for this one to work.\n */\n dependencies: PackageDependency[];\n\n /**\n * The component names this package declares - the catalog entry {@link UiProfile} resolution walks.\n */\n components: string[];\n\n /**\n * The names of the {@link Layout}s this package provides — an application's base navigational shells.\n * Empty for anything that is not a {@link PackageKind.Blueprint}.\n */\n layouts: string[];\n\n /**\n * The names of the {@link ScreenTemplate}s this package provides — the shapes that go inside a layout,\n * at module, feature and slice level.\n */\n screenTemplates: string[];\n\n /**\n * The names of the {@link DialogTemplate}s this package provides.\n */\n dialogTemplates: string[];\n\n /**\n * The names of the {@link Theme}s this package ships, empty for a package that ships none.\n */\n themes: string[];\n\n /**\n * A human-readable name for a package picker, falling back to `name` when absent.\n */\n displayName?: string;\n\n /**\n * A one-line description for a package picker.\n */\n description?: string;\n\n /**\n * The module that implements the package - an npm package name for a web renderer. Design-time\n * tooling needs it to know what to import; the model itself never loads anything.\n */\n module?: string;\n\n /**\n * The license the package is available under, as a short human-readable name (`MIT`,\n * `PrimeUI Community`). A package picker shows it, because \"what am I taking on by selecting this\"\n * is a question an author needs answered before they select it, not after.\n */\n license?: string;\n\n /**\n * Where the license terms actually live, so a reader can go and check rather than take `license` on\n * trust. Required in practice for anything that is not a permissive standard license — a name alone\n * tells an author nothing about eligibility or obligations.\n */\n licenseUrl?: string;\n}\n\nexport const ScenePackagePropertyNames: (keyof ScenePackage)[] = [\n 'name',\n 'version',\n 'kind',\n 'dependencies',\n 'components',\n 'layouts',\n 'screenTemplates',\n 'dialogTemplates',\n 'themes',\n 'displayName',\n 'description',\n 'module',\n 'license',\n 'licenseUrl',\n];\n"],"names":["ScenePackagePropertyNames"],"mappings":";;AAAA;AACA;MAyFaA,yBAAAA,GAAoD;AAC7D,IAAA,MAAA;AACA,IAAA,SAAA;AACA,IAAA,MAAA;AACA,IAAA,cAAA;AACA,IAAA,YAAA;AACA,IAAA,SAAA;AACA,IAAA,iBAAA;AACA,IAAA,iBAAA;AACA,IAAA,QAAA;AACA,IAAA,aAAA;AACA,IAAA,aAAA;AACA,IAAA,QAAA;AACA,IAAA,SAAA;AACA,IAAA;;;;;"}
1
+ {"version":3,"file":"ScenePackage.js","sources":["../../../packages/ScenePackage.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { PackageDependency } from './PackageDependency';\nimport { PackageKind } from './PackageKind';\n\n/**\n * What a {@link UiProfile}'s `packages` entry actually names. A profile lists packages by name only;\n * this is the declaration behind the name - what it contributes, and what else has to be active for it\n * to work.\n */\nexport interface ScenePackage {\n /**\n * The name a {@link UiProfile} lists, and the name a {@link PackageDependency} refers to.\n */\n name: string;\n\n /**\n * The package's own version, so a {@link PackageDependency.versionRange} has something to check against.\n */\n version: string;\n\n /**\n * What the package contributes.\n */\n kind: PackageKind;\n\n /**\n * Other packages that must be active in the same profile for this one to work.\n */\n dependencies: PackageDependency[];\n\n /**\n * The component names this package declares - the catalog entry {@link UiProfile} resolution walks.\n */\n components: string[];\n\n /**\n * The names of the {@link Layout}s this package provides — an application's base navigational shells.\n * Empty for anything that is not a {@link PackageKind.Blueprint}.\n */\n layouts: string[];\n\n /**\n * The names of the {@link ScreenTemplate}s this package provides — the shapes that go inside a layout,\n * at module, feature and slice level.\n */\n screenTemplates: string[];\n\n /**\n * The names of the {@link DialogTemplate}s this package provides.\n */\n dialogTemplates: string[];\n\n /**\n * The names of the {@link Theme}s this package ships, empty for a package that ships none.\n */\n themes: string[];\n\n /**\n * A human-readable name for a package picker, falling back to `name` when absent.\n */\n displayName?: string;\n\n /**\n * A one-line description for a package picker.\n */\n description?: string;\n\n /**\n * The module that implements the package - an npm package name for a web renderer. Design-time\n * tooling needs it to know what to import; the model itself never loads anything.\n */\n module?: string;\n\n /**\n * The license the package is available under, as a short human-readable name (`MIT`,\n * `PrimeUI Community`). A package picker shows it, because \"what am I taking on by selecting this\"\n * is a question an author needs answered before they select it, not after.\n */\n license?: string;\n\n /**\n * Where the license terms actually live, so a reader can go and check rather than take `license` on\n * trust. Required in practice for anything that is not a permissive standard license — a name alone\n * tells an author nothing about eligibility or obligations.\n */\n licenseUrl?: string;\n}\n\nexport const ScenePackagePropertyNames: (keyof ScenePackage)[] = [\n 'name',\n 'version',\n 'kind',\n 'dependencies',\n 'components',\n 'layouts',\n 'screenTemplates',\n 'dialogTemplates',\n 'themes',\n 'displayName',\n 'description',\n 'module',\n 'license',\n 'licenseUrl',\n];\n"],"names":["ScenePackagePropertyNames"],"mappings":";;AAAA;AACA;MAyFaA,yBAAAA,GAAoD;AAC7D,IAAA,MAAA;AACA,IAAA,SAAA;AACA,IAAA,MAAA;AACA,IAAA,cAAA;AACA,IAAA,YAAA;AACA,IAAA,SAAA;AACA,IAAA,iBAAA;AACA,IAAA,iBAAA;AACA,IAAA,QAAA;AACA,IAAA,aAAA;AACA,IAAA,aAAA;AACA,IAAA,QAAA;AACA,IAAA,SAAA;AACA,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Theme.js","sources":["../../../profiles/Theme.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * A named token/styling layer, declaring which component packages it is known to work with. An\n * incompatible theme/package pairing is a warning, not an error — the theme might still work by\n * coincidence, but the gap must be visible.\n */\nexport interface Theme {\n /**\n * The theme's name.\n */\n name: string;\n\n /**\n * The component packages this theme is declared compatible with.\n */\n compatibleWith: string[];\n\n /**\n * The theme's design tokens, keyed by semantic name (`primary.color`, `surface.background`,\n * `content.borderColor`, ...). Deliberately semantic rather than CSS: a renderer decides how a token\n * becomes a custom property, a native style, or anything else. Absent for a theme a package applies\n * by its own means rather than through tokens.\n */\n tokens?: Record<string, string>;\n\n /**\n * Whether the theme is a dark scheme, so a picker can group and preview it correctly.\n */\n isDark?: boolean;\n\n /**\n * Who created the theme. A theme adopted from somewhere else — PrimeTek's free presets, a community\n * theme — must credit its original creator here rather than appear to be ours.\n */\n author?: string;\n\n /**\n * A link to the original creator or the theme's home, shown alongside `author`.\n */\n authorUrl?: string;\n\n /**\n * The license the theme is used under, so redistributing it stays honest.\n */\n license?: string;\n\n /**\n * A one-line description for a theme picker.\n */\n description?: string;\n\n /**\n * Where those license terms live, so a reader can check them rather than take `license` on trust.\n */\n licenseUrl?: string;\n}\n\nexport const ThemePropertyNames: (keyof Theme)[] = [\n 'name',\n 'compatibleWith',\n 'tokens',\n 'isDark',\n 'author',\n 'authorUrl',\n 'license',\n 'description',\n 'licenseUrl',\n];\n"],"names":["ThemePropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;;UAwDaA,kBAAAA,GAAsC;AAC/C,IAAA,MAAA;AACA,IAAA,gBAAA;AACA,IAAA,QAAA;AACA,IAAA,QAAA;AACA,IAAA,QAAA;AACA,IAAA,WAAA;AACA,IAAA,SAAA;AACA,IAAA,aAAA;AACA,IAAA;;;;;"}
1
+ {"version":3,"file":"Theme.js","sources":["../../../profiles/Theme.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * A named token/styling layer, declaring which component packages it is known to work with. An\n * incompatible theme/package pairing is a warning, not an error — the theme might still work by\n * coincidence, but the gap must be visible.\n */\nexport interface Theme {\n /**\n * The theme's name.\n */\n name: string;\n\n /**\n * The component packages this theme is declared compatible with.\n */\n compatibleWith: string[];\n\n /**\n * The theme's design tokens, keyed by semantic name (`primary.color`, `surface.background`,\n * `content.borderColor`, ...). Deliberately semantic rather than CSS: a renderer decides how a token\n * becomes a custom property, a native style, or anything else. Absent for a theme a package applies\n * by its own means rather than through tokens.\n */\n tokens?: Record<string, string>;\n\n /**\n * Whether the theme is a dark scheme, so a picker can group and preview it correctly.\n */\n isDark?: boolean;\n\n /**\n * Who created the theme. A theme adopted from somewhere else — PrimeTek's free presets, a community\n * theme — must credit its original creator here rather than appear to be ours.\n */\n author?: string;\n\n /**\n * A link to the original creator or the theme's home, shown alongside `author`.\n */\n authorUrl?: string;\n\n /**\n * The license the theme is used under, so redistributing it stays honest.\n */\n license?: string;\n\n /**\n * A one-line description for a theme picker.\n */\n description?: string;\n\n /**\n * Where those license terms live, so a reader can check them rather than take `license` on trust.\n */\n licenseUrl?: string;\n}\n\nexport const ThemePropertyNames: (keyof Theme)[] = [\n 'name',\n 'compatibleWith',\n 'tokens',\n 'isDark',\n 'author',\n 'authorUrl',\n 'license',\n 'description',\n 'licenseUrl',\n];\n"],"names":["ThemePropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;;UAwDaA,kBAAAA,GAAsC;AAC/C,IAAA,MAAA;AACA,IAAA,gBAAA;AACA,IAAA,QAAA;AACA,IAAA,QAAA;AACA,IAAA,QAAA;AACA,IAAA,WAAA;AACA,IAAA,SAAA;AACA,IAAA,aAAA;AACA,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"UiProfile.js","sources":["../../../profiles/UiProfile.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SizeClass } from '../sizeClasses';\n\n/**\n * A named target: a platform, a default size class, an ordered list of component packages, and the\n * application shell and visual theme it selects. Declaration order in `packages` is override priority — a\n * later package shadows an earlier one when both resolve the same bare component name. `core` is always\n * the final fallback, so a minimum vocabulary resolves regardless of which packages a profile lists.\n *\n * A profile is where the choices that make a description concrete are made: which component vocabulary,\n * which shell, which theme. Deliberately none of them are stated by a {@link Screen} — that is what keeps\n * a screen portable across targets, and what lets one application ship a different shell to the web than\n * to a phone.\n */\nexport interface UiProfile {\n /**\n * The profile's name.\n */\n name: string;\n\n /**\n * The platform this profile targets (e.g. `web`, `ios`, `android`, `desktop`).\n */\n targetPlatform: string;\n\n /**\n * The component packages this profile draws from, in override-priority order.\n */\n packages: string[];\n\n /**\n * The size class assumed when the renderer cannot otherwise determine one.\n */\n defaultSizeClass?: SizeClass;\n\n /**\n * The name of the {@link Layout} this profile renders inside — the application's base navigational\n * shell, normally provided by a blueprint in `packages`. Absent when the profile does not select one.\n */\n layout?: string;\n\n /**\n * The name of the {@link Theme} this profile applies, or absent when it selects none. A theme is only\n * meaningful relative to a set of packages, which is why it is chosen here rather than by a screen.\n */\n theme?: string;\n}\n\nexport const UiProfilePropertyNames: (keyof UiProfile)[] = [\n 'name',\n 'targetPlatform',\n 'packages',\n 'defaultSizeClass',\n 'layout',\n 'theme',\n];\n"],"names":["UiProfilePropertyNames"],"mappings":";;AAAA;AACA;MAiDaA,sBAAAA,GAA8C;AACvD,IAAA,MAAA;AACA,IAAA,gBAAA;AACA,IAAA,UAAA;AACA,IAAA,kBAAA;AACA,IAAA,QAAA;AACA,IAAA;;;;;"}
1
+ {"version":3,"file":"UiProfile.js","sources":["../../../profiles/UiProfile.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SizeClass } from '../sizeClasses';\n\n/**\n * A named target: a platform, a default size class, an ordered list of component packages, and the\n * application shell and visual theme it selects. Declaration order in `packages` is override priority — a\n * later package shadows an earlier one when both resolve the same bare component name. `core` is always\n * the final fallback, so a minimum vocabulary resolves regardless of which packages a profile lists.\n *\n * A profile is where the choices that make a description concrete are made: which component vocabulary,\n * which shell, which theme. Deliberately none of them are stated by a {@link Screen} — that is what keeps\n * a screen portable across targets, and what lets one application ship a different shell to the web than\n * to a phone.\n */\nexport interface UiProfile {\n /**\n * The profile's name.\n */\n name: string;\n\n /**\n * The platform this profile targets (e.g. `web`, `ios`, `android`, `desktop`).\n */\n targetPlatform: string;\n\n /**\n * The component packages this profile draws from, in override-priority order.\n */\n packages: string[];\n\n /**\n * The size class assumed when the renderer cannot otherwise determine one.\n */\n defaultSizeClass?: SizeClass;\n\n /**\n * The name of the {@link Layout} this profile renders inside — the application's base navigational\n * shell, normally provided by a blueprint in `packages`. Absent when the profile does not select one.\n */\n layout?: string;\n\n /**\n * The name of the {@link Theme} this profile applies, or absent when it selects none. A theme is only\n * meaningful relative to a set of packages, which is why it is chosen here rather than by a screen.\n */\n theme?: string;\n}\n\nexport const UiProfilePropertyNames: (keyof UiProfile)[] = [\n 'name',\n 'targetPlatform',\n 'packages',\n 'defaultSizeClass',\n 'layout',\n 'theme',\n];\n"],"names":["UiProfilePropertyNames"],"mappings":";;AAAA;AACA;MAiDaA,sBAAAA,GAA8C;AACvD,IAAA,MAAA;AACA,IAAA,gBAAA;AACA,IAAA,UAAA;AACA,IAAA,kBAAA;AACA,IAAA,QAAA;AACA,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"DialogTemplate.js","sources":["../../../screens/DialogTemplate.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from '../elements';\nimport { Arrangement, Slot } from '../layouts';\n\n/**\n * A reusable dialog structure — the same idea as a {@link ScreenTemplate}, for content that opens over an\n * application rather than sitting inside it.\n *\n * A dialog has no `fitsSlot` because it occupies no slot: it is an overlay, summoned by something rather\n * than placed by a containing layout. Everything else is the same, which is deliberate — a confirmation\n * dialog and a detail screen are both \"slots with an arrangement, filled with content\", and there is no\n * reason for an author to learn that twice.\n */\nexport interface DialogTemplate {\n /**\n * The template's name.\n */\n name: string;\n\n /**\n * The slots this template offers to whatever it contains, in declaration order.\n */\n slots: Slot[];\n\n /**\n * How this template's own `slots` position relative to each other. Absent for declaration order with\n * no further positioning.\n */\n arrangement?: Arrangement;\n\n /**\n * Content the template itself provides, keyed by slot name — a dialog's own chrome, such as its header\n * and button bar.\n */\n content?: Record<string, SceneElement[]>;\n\n /**\n * A human-readable name for a template picker, falling back to `name`.\n */\n displayName?: string;\n\n /**\n * A one-line description for a template picker.\n */\n description?: string;\n}\n\nexport const DialogTemplatePropertyNames: (keyof DialogTemplate)[] = [\n 'name',\n 'slots',\n 'arrangement',\n 'content',\n 'displayName',\n 'description',\n];\n"],"names":["DialogTemplatePropertyNames"],"mappings":";;AAAA;AACA;MAgDaA,2BAAAA,GAAwD;AACjE,IAAA,MAAA;AACA,IAAA,OAAA;AACA,IAAA,aAAA;AACA,IAAA,SAAA;AACA,IAAA,aAAA;AACA,IAAA;;;;;"}
1
+ {"version":3,"file":"DialogTemplate.js","sources":["../../../screens/DialogTemplate.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from '../elements';\nimport { Arrangement, Slot } from '../layouts';\n\n/**\n * A reusable dialog structure — the same idea as a {@link ScreenTemplate}, for content that opens over an\n * application rather than sitting inside it.\n *\n * A dialog has no `fitsSlot` because it occupies no slot: it is an overlay, summoned by something rather\n * than placed by a containing layout. Everything else is the same, which is deliberate — a confirmation\n * dialog and a detail screen are both \"slots with an arrangement, filled with content\", and there is no\n * reason for an author to learn that twice.\n */\nexport interface DialogTemplate {\n /**\n * The template's name.\n */\n name: string;\n\n /**\n * The slots this template offers to whatever it contains, in declaration order.\n */\n slots: Slot[];\n\n /**\n * How this template's own `slots` position relative to each other. Absent for declaration order with\n * no further positioning.\n */\n arrangement?: Arrangement;\n\n /**\n * Content the template itself provides, keyed by slot name — a dialog's own chrome, such as its header\n * and button bar.\n */\n content?: Record<string, SceneElement[]>;\n\n /**\n * A human-readable name for a template picker, falling back to `name`.\n */\n displayName?: string;\n\n /**\n * A one-line description for a template picker.\n */\n description?: string;\n}\n\nexport const DialogTemplatePropertyNames: (keyof DialogTemplate)[] = [\n 'name',\n 'slots',\n 'arrangement',\n 'content',\n 'displayName',\n 'description',\n];\n"],"names":["DialogTemplatePropertyNames"],"mappings":";;AAAA;AACA;MAgDaA,2BAAAA,GAAwD;AACjE,IAAA,MAAA;AACA,IAAA,OAAA;AACA,IAAA,aAAA;AACA,IAAA,SAAA;AACA,IAAA,aAAA;AACA,IAAA;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Screen.js","sources":["../../../screens/Screen.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from '../elements';\nimport { Form } from '../forms';\nimport { Contribution } from '../contributionPoints';\n\n/**\n * A named screen: the structure it fills, the content that fills it, the forms it hosts, and whatever it\n * contributes to contribution points elsewhere in the tree.\n *\n * A screen is an instance, not a shape. The shape comes from either the application's {@link Layout} — for\n * a screen that sits directly in the application shell — or a {@link ScreenTemplate}, for one nested\n * inside a module, feature or slice. Both declare slots; a screen only ever fills them.\n */\nexport interface Screen {\n /**\n * The screen's name.\n */\n name: string;\n\n /**\n * The resolved name of the application {@link Layout} this screen ultimately renders inside.\n */\n layout: string;\n\n /**\n * The content filling each slot, keyed by slot name.\n */\n slotContent: Record<string, SceneElement[]>;\n\n /**\n * The forms this screen hosts.\n */\n forms: Form[];\n\n /**\n * What this screen contributes to contribution points elsewhere in the tree.\n */\n contributions: Contribution[];\n\n /**\n * The resolved name of the {@link ScreenTemplate} this screen fills, or undefined when it fills the\n * `layout`'s own slots directly. The template's `fitsSlot` is what decides where it lands, so a screen\n * never has to state its own position.\n */\n screenTemplate?: string;\n}\n\nexport const ScreenPropertyNames: (keyof Screen)[] = ['name', 'layout', 'slotContent', 'forms', 'contributions', 'screenTemplate'];\n"],"names":["ScreenPropertyNames"],"mappings":";;AAAA;AACA;MAgDaA,mBAAAA,GAAwC;AAAC,IAAA,MAAA;AAAQ,IAAA,QAAA;AAAU,IAAA,aAAA;AAAe,IAAA,OAAA;AAAS,IAAA,eAAA;AAAiB,IAAA;;;;;"}
1
+ {"version":3,"file":"Screen.js","sources":["../../../screens/Screen.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from '../elements';\nimport { Form } from '../forms';\nimport { Contribution } from '../contributionPoints';\n\n/**\n * A named screen: the structure it fills, the content that fills it, the forms it hosts, and whatever it\n * contributes to contribution points elsewhere in the tree.\n *\n * A screen is an instance, not a shape. The shape comes from either the application's {@link Layout} — for\n * a screen that sits directly in the application shell — or a {@link ScreenTemplate}, for one nested\n * inside a module, feature or slice. Both declare slots; a screen only ever fills them.\n */\nexport interface Screen {\n /**\n * The screen's name.\n */\n name: string;\n\n /**\n * The resolved name of the application {@link Layout} this screen ultimately renders inside.\n */\n layout: string;\n\n /**\n * The content filling each slot, keyed by slot name.\n */\n slotContent: Record<string, SceneElement[]>;\n\n /**\n * The forms this screen hosts.\n */\n forms: Form[];\n\n /**\n * What this screen contributes to contribution points elsewhere in the tree.\n */\n contributions: Contribution[];\n\n /**\n * The resolved name of the {@link ScreenTemplate} this screen fills, or undefined when it fills the\n * `layout`'s own slots directly. The template's `fitsSlot` is what decides where it lands, so a screen\n * never has to state its own position.\n */\n screenTemplate?: string;\n}\n\nexport const ScreenPropertyNames: (keyof Screen)[] = ['name', 'layout', 'slotContent', 'forms', 'contributions', 'screenTemplate'];\n"],"names":["ScreenPropertyNames"],"mappings":";;AAAA;AACA;MAgDaA,mBAAAA,GAAwC;AAAC,IAAA,MAAA;AAAQ,IAAA,QAAA;AAAU,IAAA,aAAA;AAAe,IAAA,OAAA;AAAS,IAAA,eAAA;AAAiB,IAAA;;;"}