@cratis/event-models 0.363.4 → 0.364.1

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 (521) hide show
  1. package/README.md +6 -64
  2. package/dist/Model/UserExperienceActor.d.ts +2 -3
  3. package/dist/Rows/UserExperience/UiCell.d.ts +3 -5
  4. package/dist/Rows/UserExperience/UiThumbnailProps.d.ts +1 -4
  5. package/dist/event-model-document.schema.json +3 -6
  6. package/dist/event-models.css +1 -1
  7. package/dist/index.js +1805 -1809
  8. package/dist/index.js.map +1 -1
  9. package/package.json +11 -161
  10. package/dist/screen-editor/BindingExpressionPropertyEditor-C01GX5mV.js +0 -471
  11. package/dist/screen-editor/BlueprintPreview/blueprintPreviewCatalog.d.ts +0 -62
  12. package/dist/screen-editor/BlueprintPreview/initialPackageSelection.d.ts +0 -18
  13. package/dist/screen-editor/BooleanEditor-eC1yCpz0.js +0 -17
  14. package/dist/screen-editor/CascadeMenu/CascadeEntry.d.ts +0 -44
  15. package/dist/screen-editor/CascadeMenu/CascadeEntryKind.d.ts +0 -15
  16. package/dist/screen-editor/CascadeMenu/CascadeFilter.d.ts +0 -9
  17. package/dist/screen-editor/CascadeMenu/CascadeMenu.d.ts +0 -25
  18. package/dist/screen-editor/CascadeMenu/CascadePanel.d.ts +0 -26
  19. package/dist/screen-editor/CascadeMenu/OpenSubmenu.d.ts +0 -8
  20. package/dist/screen-editor/CascadeMenu/cascadeNavigation.d.ts +0 -27
  21. package/dist/screen-editor/CascadeMenu/index.d.ts +0 -6
  22. package/dist/screen-editor/CascadeMenu/keepInputInMenu.d.ts +0 -18
  23. package/dist/screen-editor/CascadeMenu/placeCascadePanel.d.ts +0 -37
  24. package/dist/screen-editor/CollectionEditor-DxpJWgWa.js +0 -320
  25. package/dist/screen-editor/ColorEditor-Cc6Xq8pW.js +0 -49
  26. package/dist/screen-editor/ColumnListEditor-CmhQYS5b.js +0 -103
  27. package/dist/screen-editor/Crash/CrashBoundary.d.ts +0 -36
  28. package/dist/screen-editor/Crash/CrashPanel.d.ts +0 -26
  29. package/dist/screen-editor/Crash/CrashReporter.d.ts +0 -4
  30. package/dist/screen-editor/Crash/CrashStrings.d.ts +0 -34
  31. package/dist/screen-editor/Crash/crashReport.d.ts +0 -81
  32. package/dist/screen-editor/DataBindingSections-C5fdyulB.js +0 -1924
  33. package/dist/screen-editor/EnumEditor-DNnnf9i3.js +0 -26
  34. package/dist/screen-editor/FieldEditor-e6VpsD__.js +0 -66
  35. package/dist/screen-editor/FieldListEditor-65ZJZoLM.js +0 -56
  36. package/dist/screen-editor/FormDesigner/FieldMapping.d.ts +0 -9
  37. package/dist/screen-editor/FormDesigner/FieldMappingKind.d.ts +0 -15
  38. package/dist/screen-editor/FormDesigner/FormDesigner.d.ts +0 -16
  39. package/dist/screen-editor/FormDesigner/PopulateSourceKind.d.ts +0 -12
  40. package/dist/screen-editor/FormDesigner/PopulateSourceSummary.d.ts +0 -21
  41. package/dist/screen-editor/FormDesigner/classifyFormFields.d.ts +0 -13
  42. package/dist/screen-editor/HookEditors-vV4ycK6R.js +0 -37
  43. package/dist/screen-editor/HookOpensField-Ja5uMCr8.js +0 -231
  44. package/dist/screen-editor/IconEditor-qXyGbGEX.js +0 -22
  45. package/dist/screen-editor/IconLibraries/Lucide/index.d.ts +0 -4
  46. package/dist/screen-editor/IconLibraries/Lucide/lucideAdapter.d.ts +0 -2
  47. package/dist/screen-editor/IconLibraries/Lucide/lucideCatalog.d.ts +0 -2
  48. package/dist/screen-editor/IconLibraries/Lucide/lucideManifest.d.ts +0 -3
  49. package/dist/screen-editor/IconLibraries/Lucide/lucidePackage.d.ts +0 -2
  50. package/dist/screen-editor/Icons/IconPickerCatalogState.d.ts +0 -5
  51. package/dist/screen-editor/Icons/IconPropertyField.d.ts +0 -25
  52. package/dist/screen-editor/Icons/IconPropertyFieldStrings.d.ts +0 -8
  53. package/dist/screen-editor/Icons/IconValueProblem.d.ts +0 -7
  54. package/dist/screen-editor/Icons/UseIconPickerCatalogResult.d.ts +0 -7
  55. package/dist/screen-editor/Icons/describeIconValueProblem.d.ts +0 -3
  56. package/dist/screen-editor/Icons/diagnoseIconValue.d.ts +0 -5
  57. package/dist/screen-editor/Icons/effectiveIconCatalogOf.d.ts +0 -3
  58. package/dist/screen-editor/Icons/iconCatalogSourcesOf.d.ts +0 -3
  59. package/dist/screen-editor/Icons/toIconPickerCatalog.d.ts +0 -5
  60. package/dist/screen-editor/Icons/useIconPickerCatalog.d.ts +0 -4
  61. package/dist/screen-editor/InheritanceModeEditor-CtdsACnc.js +0 -65
  62. package/dist/screen-editor/ListEditor-CfFPVVJ4.js +0 -53
  63. package/dist/screen-editor/NavigationItemTargetEditor-pApohBNj.js +0 -78
  64. package/dist/screen-editor/NavigationTargetEditor-C53kuCBJ.js +0 -41
  65. package/dist/screen-editor/NumberEditor-Cyo9_23Z.js +0 -48
  66. package/dist/screen-editor/Preview/previewDataView.d.ts +0 -94
  67. package/dist/screen-editor/QueryBindingPropertyEditor-B_UWKYLt.js +0 -148
  68. package/dist/screen-editor/ReferenceEditor-CTguqJZC.js +0 -32
  69. package/dist/screen-editor/ReferenceTargetEditors-Bx6dhIxY.js +0 -18
  70. package/dist/screen-editor/RenderingSlotEditor-D0ppEIOx.js +0 -128
  71. package/dist/screen-editor/ScreenEditor/Actions/ActionModel.d.ts +0 -10
  72. package/dist/screen-editor/ScreenEditor/Actions/StateChangeSlice.d.ts +0 -17
  73. package/dist/screen-editor/ScreenEditor/Actions/ToolbarButtonClickKind.d.ts +0 -6
  74. package/dist/screen-editor/ScreenEditor/Actions/actionBehavior.d.ts +0 -11
  75. package/dist/screen-editor/ScreenEditor/Actions/bindingSourceMarkersFor.d.ts +0 -4
  76. package/dist/screen-editor/ScreenEditor/Actions/commandInputSources.d.ts +0 -9
  77. package/dist/screen-editor/ScreenEditor/Actions/diagnoseAction.d.ts +0 -14
  78. package/dist/screen-editor/ScreenEditor/Actions/toolbarButtonClick.d.ts +0 -9
  79. package/dist/screen-editor/ScreenEditor/Binding/availableSourcesFor.d.ts +0 -2
  80. package/dist/screen-editor/ScreenEditor/Binding/bindingExpressionModel.d.ts +0 -9
  81. package/dist/screen-editor/ScreenEditor/Binding/bindingScopeTypes.d.ts +0 -2
  82. package/dist/screen-editor/ScreenEditor/Binding/bindingSources.d.ts +0 -26
  83. package/dist/screen-editor/ScreenEditor/Binding/detailShows.d.ts +0 -18
  84. package/dist/screen-editor/ScreenEditor/Binding/parameterFeeds.d.ts +0 -22
  85. package/dist/screen-editor/ScreenEditor/Binding/previewState.d.ts +0 -17
  86. package/dist/screen-editor/ScreenEditor/Binding/queryBindingModel.d.ts +0 -9
  87. package/dist/screen-editor/ScreenEditor/Binding/settleBinding.d.ts +0 -7
  88. package/dist/screen-editor/ScreenEditor/Binding/toSceneCandidates.d.ts +0 -22
  89. package/dist/screen-editor/ScreenEditor/Collections/orderedItemShape.d.ts +0 -2
  90. package/dist/screen-editor/ScreenEditor/Collections/orderedItems.d.ts +0 -12
  91. package/dist/screen-editor/ScreenEditor/Data/DataField.d.ts +0 -39
  92. package/dist/screen-editor/ScreenEditor/Data/insertDataField.d.ts +0 -29
  93. package/dist/screen-editor/ScreenEditor/Data/queryTables.d.ts +0 -10
  94. package/dist/screen-editor/ScreenEditor/Defaults/defaultComponentIcons.d.ts +0 -3
  95. package/dist/screen-editor/ScreenEditor/Defaults/defaultLayoutIcons.d.ts +0 -2
  96. package/dist/screen-editor/ScreenEditor/Defaults/defaultLayoutLabels.d.ts +0 -2
  97. package/dist/screen-editor/ScreenEditor/Defaults/defaultPackageIcons.d.ts +0 -6
  98. package/dist/screen-editor/ScreenEditor/Defaults/defaultPaletteIcons.d.ts +0 -2
  99. package/dist/screen-editor/ScreenEditor/Defaults/defaultPaletteSources.d.ts +0 -2
  100. package/dist/screen-editor/ScreenEditor/Defaults/defaultScreenEditorStrings.d.ts +0 -2
  101. package/dist/screen-editor/ScreenEditor/DesignMode/DesignModeChrome.d.ts +0 -20
  102. package/dist/screen-editor/ScreenEditor/DesignMode/DesignModeFrames.d.ts +0 -11
  103. package/dist/screen-editor/ScreenEditor/DesignMode/DesignModePopover.d.ts +0 -19
  104. package/dist/screen-editor/ScreenEditor/DesignMode/DesignModeStrings.d.ts +0 -82
  105. package/dist/screen-editor/ScreenEditor/DesignMode/FloatingItemToolbar.d.ts +0 -19
  106. package/dist/screen-editor/ScreenEditor/DesignMode/Navigation/EditorLogoContext.d.ts +0 -7
  107. package/dist/screen-editor/ScreenEditor/DesignMode/Navigation/EditorNavigationScope.d.ts +0 -12
  108. package/dist/screen-editor/ScreenEditor/DesignMode/Navigation/navigationDocument.d.ts +0 -8
  109. package/dist/screen-editor/ScreenEditor/DesignMode/Navigation/navigationItemOps.d.ts +0 -11
  110. package/dist/screen-editor/ScreenEditor/DesignMode/Navigation/regionItemSource.d.ts +0 -25
  111. package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/OutletStrings.d.ts +0 -74
  112. package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/createOutletDesign.d.ts +0 -34
  113. package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/levelOutlets.d.ts +0 -13
  114. package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/outletBindings.d.ts +0 -23
  115. package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/outletDesignModes.d.ts +0 -6
  116. package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/outletItemOps.d.ts +0 -11
  117. package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/savedScreenDocument.d.ts +0 -6
  118. package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/screenOutlets.d.ts +0 -44
  119. package/dist/screen-editor/ScreenEditor/DesignMode/cloneWithNewIds.d.ts +0 -2
  120. package/dist/screen-editor/ScreenEditor/DesignMode/collectionItemSource.d.ts +0 -10
  121. package/dist/screen-editor/ScreenEditor/DesignMode/designModeAnnouncements.d.ts +0 -9
  122. package/dist/screen-editor/ScreenEditor/DesignMode/designModeFeedback.d.ts +0 -10
  123. package/dist/screen-editor/ScreenEditor/DesignMode/designModeKeys.d.ts +0 -7
  124. package/dist/screen-editor/ScreenEditor/DesignMode/designModeRules.d.ts +0 -9
  125. package/dist/screen-editor/ScreenEditor/DesignMode/designModeSelection.d.ts +0 -9
  126. package/dist/screen-editor/ScreenEditor/DesignMode/designModeTypes.d.ts +0 -107
  127. package/dist/screen-editor/ScreenEditor/DesignMode/elementItemSource.d.ts +0 -22
  128. package/dist/screen-editor/ScreenEditor/DesignMode/keepWatching.d.ts +0 -16
  129. package/dist/screen-editor/ScreenEditor/DesignMode/outletItemSource.d.ts +0 -10
  130. package/dist/screen-editor/ScreenEditor/DesignMode/placeFloatingToolbar.d.ts +0 -18
  131. package/dist/screen-editor/ScreenEditor/DesignMode/resolveDesignMode.d.ts +0 -23
  132. package/dist/screen-editor/ScreenEditor/DesignMode/useDesignMode.d.ts +0 -34
  133. package/dist/screen-editor/ScreenEditor/DesignMode/useDesignModeMeasurement.d.ts +0 -11
  134. package/dist/screen-editor/ScreenEditor/DesignMode/whenTransitionsEnd.d.ts +0 -12
  135. package/dist/screen-editor/ScreenEditor/Destinations/DestinationProblemKind.d.ts +0 -11
  136. package/dist/screen-editor/ScreenEditor/Destinations/destinationProblems.d.ts +0 -10
  137. package/dist/screen-editor/ScreenEditor/Destinations/destinationTargetsOf.d.ts +0 -5
  138. package/dist/screen-editor/ScreenEditor/Document/canvasMoveEdits.d.ts +0 -9
  139. package/dist/screen-editor/ScreenEditor/Document/createExternalComponent.d.ts +0 -2
  140. package/dist/screen-editor/ScreenEditor/Document/createPanel.d.ts +0 -6
  141. package/dist/screen-editor/ScreenEditor/Document/frameworkElement.d.ts +0 -21
  142. package/dist/screen-editor/ScreenEditor/Document/placeOnCanvas.d.ts +0 -16
  143. package/dist/screen-editor/ScreenEditor/Document/readSceneDocument.d.ts +0 -15
  144. package/dist/screen-editor/ScreenEditor/Document/screenSelection.d.ts +0 -3
  145. package/dist/screen-editor/ScreenEditor/Document/studioScreen.d.ts +0 -10
  146. package/dist/screen-editor/ScreenEditor/Document/updateElementInDocument.d.ts +0 -2
  147. package/dist/screen-editor/ScreenEditor/Document/upgradeStoredDocument.d.ts +0 -2
  148. package/dist/screen-editor/ScreenEditor/Drafting/SceneScreenDraft.d.ts +0 -33
  149. package/dist/screen-editor/ScreenEditor/Drafting/SceneScreenDraftReview.d.ts +0 -14
  150. package/dist/screen-editor/ScreenEditor/Drafting/SceneScreenDraftStrings.d.ts +0 -21
  151. package/dist/screen-editor/ScreenEditor/Drafting/SceneScreenDraftToolbar.d.ts +0 -16
  152. package/dist/screen-editor/ScreenEditor/Drafting/defaultSceneScreenDraftStrings.d.ts +0 -2
  153. package/dist/screen-editor/ScreenEditor/Drafting/prepareSceneScreenDraft.d.ts +0 -10
  154. package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftElement.d.ts +0 -3
  155. package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftEnvelope.d.ts +0 -5
  156. package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftGenerationProblem.d.ts +0 -2
  157. package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftInsertion.d.ts +0 -4
  158. package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftProperty.d.ts +0 -4
  159. package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftRequest.d.ts +0 -6
  160. package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftReviewVisibility.d.ts +0 -1
  161. package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftSession.d.ts +0 -16
  162. package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftState.d.ts +0 -6
  163. package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftValues.d.ts +0 -5
  164. package/dist/screen-editor/ScreenEditor/Drafting/useSceneScreenDraft.d.ts +0 -21
  165. package/dist/screen-editor/ScreenEditor/DropRegions/DropRegion.d.ts +0 -12
  166. package/dist/screen-editor/ScreenEditor/DropRegions/DropRegionKind.d.ts +0 -4
  167. package/dist/screen-editor/ScreenEditor/DropRegions/InsertionAxis.d.ts +0 -5
  168. package/dist/screen-editor/ScreenEditor/DropRegions/computeDropRegions.d.ts +0 -6
  169. package/dist/screen-editor/ScreenEditor/Exposure/exposureEdits.d.ts +0 -10
  170. package/dist/screen-editor/ScreenEditor/Forms/FormFields.d.ts +0 -13
  171. package/dist/screen-editor/ScreenEditor/Forms/commandFormElements.d.ts +0 -12
  172. package/dist/screen-editor/ScreenEditor/Forms/commandFormLayout.d.ts +0 -7
  173. package/dist/screen-editor/ScreenEditor/Forms/fieldChoices.d.ts +0 -14
  174. package/dist/screen-editor/ScreenEditor/Forms/fieldMarkers.d.ts +0 -8
  175. package/dist/screen-editor/ScreenEditor/Forms/formEditing.d.ts +0 -8
  176. package/dist/screen-editor/ScreenEditor/Forms/formFieldGrid.d.ts +0 -10
  177. package/dist/screen-editor/ScreenEditor/Forms/useDesignTimeCommands.d.ts +0 -3
  178. package/dist/screen-editor/ScreenEditor/Host/DefaultPaletteHost.d.ts +0 -6
  179. package/dist/screen-editor/ScreenEditor/Host/SaveRefusedNotice.d.ts +0 -8
  180. package/dist/screen-editor/ScreenEditor/Host/ScreenEditorBoundary.d.ts +0 -10
  181. package/dist/screen-editor/ScreenEditor/Host/ScreenEditorControlProviders.d.ts +0 -7
  182. package/dist/screen-editor/ScreenEditor/Host/ScreenEditorController.d.ts +0 -100
  183. package/dist/screen-editor/ScreenEditor/Host/ScreenEditorFileUpload.d.ts +0 -5
  184. package/dist/screen-editor/ScreenEditor/Host/ScreenEditorHost.d.ts +0 -83
  185. package/dist/screen-editor/ScreenEditor/Host/ScreenEditorOverlay.d.ts +0 -33
  186. package/dist/screen-editor/ScreenEditor/Host/ScreenEditorOverlayFrame.d.ts +0 -24
  187. package/dist/screen-editor/ScreenEditor/Host/ScreenEditorPrimeReactProvider.d.ts +0 -3
  188. package/dist/screen-editor/ScreenEditor/Host/ScreenEditorWindow.d.ts +0 -38
  189. package/dist/screen-editor/ScreenEditor/Host/ScreenEditorWorkspace.d.ts +0 -22
  190. package/dist/screen-editor/ScreenEditor/Host/UnreadableScreen.d.ts +0 -8
  191. package/dist/screen-editor/ScreenEditor/Host/WindowTitleBar.d.ts +0 -6
  192. package/dist/screen-editor/ScreenEditor/Host/createScreenEditorEnvironment.d.ts +0 -24
  193. package/dist/screen-editor/ScreenEditor/Host/fitOverlay.d.ts +0 -14
  194. package/dist/screen-editor/ScreenEditor/Host/mergeComponentDefaults.d.ts +0 -3
  195. package/dist/screen-editor/ScreenEditor/Host/nextElementId.d.ts +0 -1
  196. package/dist/screen-editor/ScreenEditor/Host/openSubject.d.ts +0 -20
  197. package/dist/screen-editor/ScreenEditor/Host/readOnlyController.d.ts +0 -2
  198. package/dist/screen-editor/ScreenEditor/Host/screenEditorPrimeReactDefaults.d.ts +0 -2
  199. package/dist/screen-editor/ScreenEditor/Host/useDocumentSetters.d.ts +0 -15
  200. package/dist/screen-editor/ScreenEditor/Host/useEditApplication.d.ts +0 -15
  201. package/dist/screen-editor/ScreenEditor/Host/useEditingScene.d.ts +0 -12
  202. package/dist/screen-editor/ScreenEditor/Host/useNavigationEditing.d.ts +0 -17
  203. package/dist/screen-editor/ScreenEditor/Host/useScreenEditor.d.ts +0 -10
  204. package/dist/screen-editor/ScreenEditor/Host/useStructureOperations.d.ts +0 -39
  205. package/dist/screen-editor/ScreenEditor/Inspector/ActionEditor.d.ts +0 -16
  206. package/dist/screen-editor/ScreenEditor/Inspector/ActionProperties.d.ts +0 -14
  207. package/dist/screen-editor/ScreenEditor/Inspector/BindingExpressionEditor.d.ts +0 -11
  208. package/dist/screen-editor/ScreenEditor/Inspector/CommandFormEditor.d.ts +0 -16
  209. package/dist/screen-editor/ScreenEditor/Inspector/CommandFormProperties.d.ts +0 -12
  210. package/dist/screen-editor/ScreenEditor/Inspector/ComponentProperties.d.ts +0 -17
  211. package/dist/screen-editor/ScreenEditor/Inspector/DataBindingSections.d.ts +0 -23
  212. package/dist/screen-editor/ScreenEditor/Inspector/DesignTimeActionsSection.d.ts +0 -13
  213. package/dist/screen-editor/ScreenEditor/Inspector/DesignTimeContextFactory.d.ts +0 -5
  214. package/dist/screen-editor/ScreenEditor/Inspector/DesignTimeDesignersSection.d.ts +0 -12
  215. package/dist/screen-editor/ScreenEditor/Inspector/DesignTimePropertyEditorsSection.d.ts +0 -14
  216. package/dist/screen-editor/ScreenEditor/Inspector/DestinationReferenceFields.d.ts +0 -17
  217. package/dist/screen-editor/ScreenEditor/Inspector/DiagnosticList.d.ts +0 -17
  218. package/dist/screen-editor/ScreenEditor/Inspector/DialogTemplateAuthoringSection.d.ts +0 -8
  219. package/dist/screen-editor/ScreenEditor/Inspector/DialogTemplateListEditor.d.ts +0 -10
  220. package/dist/screen-editor/ScreenEditor/Inspector/ExposureSection.d.ts +0 -11
  221. package/dist/screen-editor/ScreenEditor/Inspector/ExternalComponentSections.d.ts +0 -14
  222. package/dist/screen-editor/ScreenEditor/Inspector/FormAuthoringSection.d.ts +0 -10
  223. package/dist/screen-editor/ScreenEditor/Inspector/FormEditor.d.ts +0 -13
  224. package/dist/screen-editor/ScreenEditor/Inspector/FormLayoutEditor.d.ts +0 -8
  225. package/dist/screen-editor/ScreenEditor/Inspector/InspectorTab.d.ts +0 -4
  226. package/dist/screen-editor/ScreenEditor/Inspector/LayoutTypeSection.d.ts +0 -10
  227. package/dist/screen-editor/ScreenEditor/Inspector/LocationSection.d.ts +0 -8
  228. package/dist/screen-editor/ScreenEditor/Inspector/NavigationSection.d.ts +0 -16
  229. package/dist/screen-editor/ScreenEditor/Inspector/OutletButtonSection.d.ts +0 -14
  230. package/dist/screen-editor/ScreenEditor/Inspector/OutletListEditor.d.ts +0 -11
  231. package/dist/screen-editor/ScreenEditor/Inspector/OutletSection.d.ts +0 -12
  232. package/dist/screen-editor/ScreenEditor/Inspector/OwnershipBadge.d.ts +0 -6
  233. package/dist/screen-editor/ScreenEditor/Inspector/PropertiesPanel.d.ts +0 -17
  234. package/dist/screen-editor/ScreenEditor/Inspector/PropertyGroups.d.ts +0 -20
  235. package/dist/screen-editor/ScreenEditor/Inspector/QueryBindingEditor.d.ts +0 -12
  236. package/dist/screen-editor/ScreenEditor/Inspector/ScreenEditorStrings.d.ts +0 -349
  237. package/dist/screen-editor/ScreenEditor/Inspector/ScreenInspector.d.ts +0 -14
  238. package/dist/screen-editor/ScreenEditor/Inspector/ScreenOutletsSection.d.ts +0 -9
  239. package/dist/screen-editor/ScreenEditor/Inspector/ScreenProperties.d.ts +0 -12
  240. package/dist/screen-editor/ScreenEditor/Inspector/ShellNavigationSection.d.ts +0 -25
  241. package/dist/screen-editor/ScreenEditor/Inspector/SlotListEditor.d.ts +0 -13
  242. package/dist/screen-editor/ScreenEditor/Inspector/StructureTree.d.ts +0 -14
  243. package/dist/screen-editor/ScreenEditor/Inspector/StructureTreeRow.d.ts +0 -21
  244. package/dist/screen-editor/ScreenEditor/Inspector/TemplateAuthoringSection.d.ts +0 -11
  245. package/dist/screen-editor/ScreenEditor/Inspector/TemplatePreviewPane.d.ts +0 -11
  246. package/dist/screen-editor/ScreenEditor/Inspector/ToolbarButtonClickEditor.d.ts +0 -15
  247. package/dist/screen-editor/ScreenEditor/Inspector/ToolbarButtonSection.d.ts +0 -9
  248. package/dist/screen-editor/ScreenEditor/Inspector/UnapprovedPackageNotice.d.ts +0 -12
  249. package/dist/screen-editor/ScreenEditor/Inspector/ViewportControls.d.ts +0 -18
  250. package/dist/screen-editor/ScreenEditor/Inspector/bindingExpressionEdits.d.ts +0 -26
  251. package/dist/screen-editor/ScreenEditor/Inspector/localizedDisplay.d.ts +0 -3
  252. package/dist/screen-editor/ScreenEditor/Inspector/pointerDropZone.d.ts +0 -2
  253. package/dist/screen-editor/ScreenEditor/Inspector/unapprovedPackageOf.d.ts +0 -3
  254. package/dist/screen-editor/ScreenEditor/Integration/BindingSourceChoice.d.ts +0 -6
  255. package/dist/screen-editor/ScreenEditor/Integration/BindingSourceChoiceInputs.d.ts +0 -4
  256. package/dist/screen-editor/ScreenEditor/Integration/CommandFormColumn.d.ts +0 -5
  257. package/dist/screen-editor/ScreenEditor/Integration/CommandFormConfiguration.d.ts +0 -9
  258. package/dist/screen-editor/ScreenEditor/Integration/CommandFormInput.d.ts +0 -9
  259. package/dist/screen-editor/ScreenEditor/Integration/CommandFormMode.d.ts +0 -4
  260. package/dist/screen-editor/ScreenEditor/Integration/bindingSourceChoices.d.ts +0 -3
  261. package/dist/screen-editor/ScreenEditor/Integration/index.d.ts +0 -11
  262. package/dist/screen-editor/ScreenEditor/Layouts/LayoutArrangement.d.ts +0 -8
  263. package/dist/screen-editor/ScreenEditor/Layouts/LayoutCatalogEntry.d.ts +0 -11
  264. package/dist/screen-editor/ScreenEditor/Layouts/LayoutContainerDescriptor.d.ts +0 -10
  265. package/dist/screen-editor/ScreenEditor/Layouts/LayoutItem.d.ts +0 -8
  266. package/dist/screen-editor/ScreenEditor/Layouts/PanelConstruct.d.ts +0 -7
  267. package/dist/screen-editor/ScreenEditor/Layouts/layoutCatalog.d.ts +0 -2
  268. package/dist/screen-editor/ScreenEditor/Layouts/layoutChange.d.ts +0 -13
  269. package/dist/screen-editor/ScreenEditor/Layouts/toLayoutContainerDescriptors.d.ts +0 -9
  270. package/dist/screen-editor/ScreenEditor/Menu/MenuPopover.d.ts +0 -13
  271. package/dist/screen-editor/ScreenEditor/Menu/menuDrag.d.ts +0 -2
  272. package/dist/screen-editor/ScreenEditor/Menu/menuPlacement.d.ts +0 -27
  273. package/dist/screen-editor/ScreenEditor/Outlets/outletDocument.d.ts +0 -15
  274. package/dist/screen-editor/ScreenEditor/Outlets/screenOutletChain.d.ts +0 -18
  275. package/dist/screen-editor/ScreenEditor/Palette/ComponentPicker.d.ts +0 -21
  276. package/dist/screen-editor/ScreenEditor/Palette/PaletteEntry.d.ts +0 -14
  277. package/dist/screen-editor/ScreenEditor/Palette/PaletteFolders.d.ts +0 -18
  278. package/dist/screen-editor/ScreenEditor/Palette/buildPalette.d.ts +0 -16
  279. package/dist/screen-editor/ScreenEditor/Palette/componentPickerModel.d.ts +0 -54
  280. package/dist/screen-editor/ScreenEditor/Palette/componentPickerStorage.d.ts +0 -15
  281. package/dist/screen-editor/ScreenEditor/Palette/insertedComponentName.d.ts +0 -2
  282. package/dist/screen-editor/ScreenEditor/Palette/useComponentPalette.d.ts +0 -21
  283. package/dist/screen-editor/ScreenEditor/Placement/HookEnabledField.d.ts +0 -14
  284. package/dist/screen-editor/ScreenEditor/Placement/HookOpensField.d.ts +0 -10
  285. package/dist/screen-editor/ScreenEditor/Placement/PlacementStrings.d.ts +0 -32
  286. package/dist/screen-editor/ScreenEditor/Placement/hookBinding.d.ts +0 -28
  287. package/dist/screen-editor/ScreenEditor/Placement/hookPlacement.d.ts +0 -27
  288. package/dist/screen-editor/ScreenEditor/Placement/opensOptions.d.ts +0 -16
  289. package/dist/screen-editor/ScreenEditor/Placement/placementEnvironment.d.ts +0 -12
  290. package/dist/screen-editor/ScreenEditor/Play/PlayScreen.d.ts +0 -12
  291. package/dist/screen-editor/ScreenEditor/Play/composePlayScreen.d.ts +0 -10
  292. package/dist/screen-editor/ScreenEditor/Properties/allowedIconChoices.d.ts +0 -3
  293. package/dist/screen-editor/ScreenEditor/Properties/choiceKeys.d.ts +0 -15
  294. package/dist/screen-editor/ScreenEditor/Properties/iconDiagnostics.d.ts +0 -7
  295. package/dist/screen-editor/ScreenEditor/Properties/propertyEdits.d.ts +0 -3
  296. package/dist/screen-editor/ScreenEditor/Properties/toPropertyGroups.d.ts +0 -8
  297. package/dist/screen-editor/ScreenEditor/Properties/visibleProperties.d.ts +0 -2
  298. package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/BooleanEditor.d.ts +0 -2
  299. package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/ColorEditor.d.ts +0 -2
  300. package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/EnumEditor.d.ts +0 -2
  301. package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/IconEditor.d.ts +0 -3
  302. package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/ListEditor.d.ts +0 -2
  303. package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/NumberEditor.d.ts +0 -2
  304. package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/ReferenceEditor.d.ts +0 -2
  305. package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/SelectEditor.d.ts +0 -2
  306. package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/TextEditor.d.ts +0 -2
  307. package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/draftProblem.d.ts +0 -3
  308. package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/PropertyEditorHost.d.ts +0 -14
  309. package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/PropertyEditorProps.d.ts +0 -96
  310. package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/PropertyEditorRegistry.d.ts +0 -24
  311. package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/PropertyEditorStrings.d.ts +0 -87
  312. package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/SearchableSelect.d.ts +0 -29
  313. package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/createEditorContext.d.ts +0 -22
  314. package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/createPropertyEditorRegistry.d.ts +0 -2
  315. package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/screenEditorPropertyEditors.d.ts +0 -1
  316. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/BindingExpressionPropertyEditor.d.ts +0 -3
  317. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/CollectionEditor.d.ts +0 -2
  318. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/ColumnListEditor.d.ts +0 -2
  319. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/FieldEditor.d.ts +0 -23
  320. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/FieldListEditor.d.ts +0 -2
  321. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/HookEditors.d.ts +0 -4
  322. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/InheritanceModeEditor.d.ts +0 -4
  323. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/NavigationItemTargetEditor.d.ts +0 -17
  324. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/NavigationTargetEditor.d.ts +0 -2
  325. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/OrderedItemsEditor.d.ts +0 -2
  326. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/QueryBindingPropertyEditor.d.ts +0 -3
  327. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/ReferenceTargetEditors.d.ts +0 -2
  328. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/RenderingSlotEditor.d.ts +0 -8
  329. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/SliceEditor.d.ts +0 -5
  330. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/StateChangeEditors.d.ts +0 -2
  331. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/StructuredPropertyEditor.d.ts +0 -2
  332. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/SummaryEditor.d.ts +0 -2
  333. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/TemplatePropertyEditor.d.ts +0 -2
  334. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/UndescribedEditor.d.ts +0 -2
  335. package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/fieldKind.d.ts +0 -1
  336. package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/PrimitiveListEditor.d.ts +0 -11
  337. package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/ScalarEditor.d.ts +0 -10
  338. package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/StringMapEditor.d.ts +0 -11
  339. package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/StringOrListEditor.d.ts +0 -11
  340. package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/StructuredEditorStrings.d.ts +0 -33
  341. package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/StructuredValueEditor.d.ts +0 -11
  342. package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/defaultStructuredEditorStrings.d.ts +0 -2
  343. package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/index.d.ts +0 -5
  344. package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/structuredProblem.d.ts +0 -2
  345. package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/structuredValue.d.ts +0 -20
  346. package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/withIconReferences.d.ts +0 -2
  347. package/dist/screen-editor/ScreenEditor/PrototypeProjection/LegacyExtras.d.ts +0 -11
  348. package/dist/screen-editor/ScreenEditor/PrototypeProjection/applyLegacyState.d.ts +0 -3
  349. package/dist/screen-editor/ScreenEditor/PrototypeProjection/layoutContainerItems.d.ts +0 -4
  350. package/dist/screen-editor/ScreenEditor/PrototypeProjection/legacyPlacement.d.ts +0 -5
  351. package/dist/screen-editor/ScreenEditor/PrototypeProjection/projectToLegacyElements.d.ts +0 -3
  352. package/dist/screen-editor/ScreenEditor/PrototypeProjection/sceneComponentName.d.ts +0 -3
  353. package/dist/screen-editor/ScreenEditor/PrototypeProjection/withoutNulls.d.ts +0 -1
  354. package/dist/screen-editor/ScreenEditor/Runtime/ScreenEditorAppearance.d.ts +0 -4
  355. package/dist/screen-editor/ScreenEditor/Runtime/compositionProfile.d.ts +0 -2
  356. package/dist/screen-editor/ScreenEditor/Runtime/createDesignTimeHost.d.ts +0 -3
  357. package/dist/screen-editor/ScreenEditor/Runtime/describeSampleValue.d.ts +0 -4
  358. package/dist/screen-editor/ScreenEditor/Runtime/profileColorScheme.d.ts +0 -2
  359. package/dist/screen-editor/ScreenEditor/Runtime/profileTheme.d.ts +0 -3
  360. package/dist/screen-editor/ScreenEditor/Runtime/screenEditorRuntime.d.ts +0 -22
  361. package/dist/screen-editor/ScreenEditor/Runtime/screenEditorRuntimeForProfile.d.ts +0 -7
  362. package/dist/screen-editor/ScreenEditor/Runtime/serverPrototypeTypes.d.ts +0 -3
  363. package/dist/screen-editor/ScreenEditor/Runtime/storedComponentName.d.ts +0 -12
  364. package/dist/screen-editor/ScreenEditor/Runtime/studioEditorKinds.d.ts +0 -1
  365. package/dist/screen-editor/ScreenEditor/Runtime/useLoadedIconCatalog.d.ts +0 -2
  366. package/dist/screen-editor/ScreenEditor/Runtime/withOutletItemKind.d.ts +0 -2
  367. package/dist/screen-editor/ScreenEditor/Runtime/withPlacementProperties.d.ts +0 -3
  368. package/dist/screen-editor/ScreenEditor/Runtime/withSampleContentProperties.d.ts +0 -3
  369. package/dist/screen-editor/ScreenEditor/Selection/panelLayoutItem.d.ts +0 -3
  370. package/dist/screen-editor/ScreenEditor/Selection/sceneStructureAdapter.d.ts +0 -4
  371. package/dist/screen-editor/ScreenEditor/Selection/sceneTree.d.ts +0 -6
  372. package/dist/screen-editor/ScreenEditor/Selection/surfaceArrangementOfRoot.d.ts +0 -3
  373. package/dist/screen-editor/ScreenEditor/Selection/surfaceLayoutOfRoot.d.ts +0 -3
  374. package/dist/screen-editor/ScreenEditor/Selection/toSceneEdits.d.ts +0 -5
  375. package/dist/screen-editor/ScreenEditor/Session/EditSession.d.ts +0 -26
  376. package/dist/screen-editor/ScreenEditor/Session/SessionCell.d.ts +0 -8
  377. package/dist/screen-editor/ScreenEditor/ShellFrame/decideShellPointer.d.ts +0 -8
  378. package/dist/screen-editor/ScreenEditor/ShellFrame/frameInShell.d.ts +0 -11
  379. package/dist/screen-editor/ScreenEditor/ShellFrame/peekOfDestination.d.ts +0 -4
  380. package/dist/screen-editor/ScreenEditor/ShellFrame/shellVisibility.d.ts +0 -25
  381. package/dist/screen-editor/ScreenEditor/ShellFrame/spliceContent.d.ts +0 -2
  382. package/dist/screen-editor/ScreenEditor/ShellFrame/useShellFrame.d.ts +0 -22
  383. package/dist/screen-editor/ScreenEditor/Structure/DropZone.d.ts +0 -5
  384. package/dist/screen-editor/ScreenEditor/Structure/MoveIntent.d.ts +0 -6
  385. package/dist/screen-editor/ScreenEditor/Structure/Ownership.d.ts +0 -5
  386. package/dist/screen-editor/ScreenEditor/Structure/OwnershipResolver.d.ts +0 -2
  387. package/dist/screen-editor/ScreenEditor/Structure/StructureEdit.d.ts +0 -5
  388. package/dist/screen-editor/ScreenEditor/Structure/StructureEditRejection.d.ts +0 -9
  389. package/dist/screen-editor/ScreenEditor/Structure/StructureLocation.d.ts +0 -6
  390. package/dist/screen-editor/ScreenEditor/Structure/StructureOperation.d.ts +0 -9
  391. package/dist/screen-editor/ScreenEditor/Structure/StructureRow.d.ts +0 -8
  392. package/dist/screen-editor/ScreenEditor/Structure/StructureTreeAdapter.d.ts +0 -14
  393. package/dist/screen-editor/ScreenEditor/Structure/findStructureNode.d.ts +0 -4
  394. package/dist/screen-editor/ScreenEditor/Structure/flattenStructure.d.ts +0 -3
  395. package/dist/screen-editor/ScreenEditor/Structure/isDeleteKey.d.ts +0 -15
  396. package/dist/screen-editor/ScreenEditor/Structure/isOperationPermitted.d.ts +0 -3
  397. package/dist/screen-editor/ScreenEditor/Structure/removal.d.ts +0 -3
  398. package/dist/screen-editor/ScreenEditor/Structure/resolveMoveIntentEdit.d.ts +0 -4
  399. package/dist/screen-editor/ScreenEditor/Structure/resolveTreeDrop.d.ts +0 -4
  400. package/dist/screen-editor/ScreenEditor/Structure/surfaceMoveEdit.d.ts +0 -3
  401. package/dist/screen-editor/ScreenEditor/Structure/validateStructureEdit.d.ts +0 -4
  402. package/dist/screen-editor/ScreenEditor/Surface/BindingSourceMarkers.d.ts +0 -10
  403. package/dist/screen-editor/ScreenEditor/Surface/DesignTime/DesignTimeComponent.d.ts +0 -4
  404. package/dist/screen-editor/ScreenEditor/Surface/DesignTime/DesignTimePlaceholder.d.ts +0 -7
  405. package/dist/screen-editor/ScreenEditor/Surface/DesignTime/DesignTimePlaceholderTone.d.ts +0 -5
  406. package/dist/screen-editor/ScreenEditor/Surface/DesignTime/OverlayPreview.d.ts +0 -12
  407. package/dist/screen-editor/ScreenEditor/Surface/DesignTime/SurfaceStrings.d.ts +0 -12
  408. package/dist/screen-editor/ScreenEditor/Surface/DesignTime/designTimeDataComponents.d.ts +0 -8
  409. package/dist/screen-editor/ScreenEditor/Surface/DesignTime/designTimeRegistry.d.ts +0 -3
  410. package/dist/screen-editor/ScreenEditor/Surface/DesignTime/designTimeSamples.d.ts +0 -7
  411. package/dist/screen-editor/ScreenEditor/Surface/DesignTime/overlayKinds.d.ts +0 -8
  412. package/dist/screen-editor/ScreenEditor/Surface/DesignTime/sampleCellValue.d.ts +0 -9
  413. package/dist/screen-editor/ScreenEditor/Surface/DesignTime/useRendersVisibleContent.d.ts +0 -3
  414. package/dist/screen-editor/ScreenEditor/Surface/DropIndicator.d.ts +0 -6
  415. package/dist/screen-editor/ScreenEditor/Surface/ScreenSurface.d.ts +0 -18
  416. package/dist/screen-editor/ScreenEditor/Surface/SelectionGrip.d.ts +0 -10
  417. package/dist/screen-editor/ScreenEditor/Surface/columnAt.d.ts +0 -6
  418. package/dist/screen-editor/ScreenEditor/Surface/designTimePointer.d.ts +0 -14
  419. package/dist/screen-editor/ScreenEditor/Surface/dialogFrameAttributes.d.ts +0 -6
  420. package/dist/screen-editor/ScreenEditor/Surface/dragPayload.d.ts +0 -12
  421. package/dist/screen-editor/ScreenEditor/Surface/dropRegionRects.d.ts +0 -13
  422. package/dist/screen-editor/ScreenEditor/Surface/elementRect.d.ts +0 -20
  423. package/dist/screen-editor/ScreenEditor/Surface/resolveDropTarget.d.ts +0 -6
  424. package/dist/screen-editor/ScreenEditor/Surface/sameMeasurement.d.ts +0 -5
  425. package/dist/screen-editor/ScreenEditor/Surface/surfaceText.d.ts +0 -4
  426. package/dist/screen-editor/ScreenEditor/Surface/useDesignTimePointer.d.ts +0 -2
  427. package/dist/screen-editor/ScreenEditor/Surface/useDrawnScreen.d.ts +0 -7
  428. package/dist/screen-editor/ScreenEditor/Surface/useSelectedBindingMarkers.d.ts +0 -4
  429. package/dist/screen-editor/ScreenEditor/Surface/useSurfaceDrop.d.ts +0 -22
  430. package/dist/screen-editor/ScreenEditor/Surface/useSurfaceKeys.d.ts +0 -5
  431. package/dist/screen-editor/ScreenEditor/Surface/useSurfaceMeasurement.d.ts +0 -9
  432. package/dist/screen-editor/ScreenEditor/Surface/useSurfaceMeasurer.d.ts +0 -3
  433. package/dist/screen-editor/ScreenEditor/Surface/useSurfaceViewportHeight.d.ts +0 -2
  434. package/dist/screen-editor/ScreenEditor/Templates/TemplatePreviewSize.d.ts +0 -5
  435. package/dist/screen-editor/ScreenEditor/Templates/chooseScreenTemplate.d.ts +0 -2
  436. package/dist/screen-editor/ScreenEditor/Templates/composeEditorScreen.d.ts +0 -14
  437. package/dist/screen-editor/ScreenEditor/Templates/dialogActionsChrome.d.ts +0 -9
  438. package/dist/screen-editor/ScreenEditor/Templates/dialogPresentation.d.ts +0 -13
  439. package/dist/screen-editor/ScreenEditor/Templates/dialogTitle.d.ts +0 -2
  440. package/dist/screen-editor/ScreenEditor/Templates/displayedFits.d.ts +0 -6
  441. package/dist/screen-editor/ScreenEditor/Templates/nativeStandIns.d.ts +0 -31
  442. package/dist/screen-editor/ScreenEditor/Templates/ownContentOnly.d.ts +0 -13
  443. package/dist/screen-editor/ScreenEditor/Templates/screenTemplateTarget.d.ts +0 -21
  444. package/dist/screen-editor/ScreenEditor/Templates/slotSections.d.ts +0 -20
  445. package/dist/screen-editor/ScreenEditor/Templates/templatePreview.d.ts +0 -6
  446. package/dist/screen-editor/ScreenEditor/Templates/templateProvenance.d.ts +0 -6
  447. package/dist/screen-editor/ScreenEditor/Thumbnail/ScreenThumbnail.d.ts +0 -16
  448. package/dist/screen-editor/ScreenEditor/Thumbnail/miniatureRegistry.d.ts +0 -3
  449. package/dist/screen-editor/ScreenEditor/Thumbnail/readThumbnailDocument.d.ts +0 -2
  450. package/dist/screen-editor/ScreenEditor/Thumbnail/thumbnailGeometry.d.ts +0 -11
  451. package/dist/screen-editor/ScreenEditor/Thumbnail/useIsNearViewport.d.ts +0 -2
  452. package/dist/screen-editor/ScreenEditor/Toolbar/slicesOfStructure.d.ts +0 -3
  453. package/dist/screen-editor/ScreenEditor/Toolbar/toolbarDiagnostics.d.ts +0 -11
  454. package/dist/screen-editor/ScreenEditor/Toolbar/upgradeToolbarButton.d.ts +0 -5
  455. package/dist/screen-editor/ScreenEditor/Viewport/ViewportPreset.d.ts +0 -4
  456. package/dist/screen-editor/ScreenEditor/Viewport/ViewportSize.d.ts +0 -4
  457. package/dist/screen-editor/ScreenEditor/Viewport/detectViewportPreset.d.ts +0 -3
  458. package/dist/screen-editor/ScreenEditor/Viewport/resolveViewportSizeClass.d.ts +0 -3
  459. package/dist/screen-editor/ScreenEditor/Viewport/toWindowSize.d.ts +0 -3
  460. package/dist/screen-editor/ScreenEditor/Viewport/viewportPresets.d.ts +0 -4
  461. package/dist/screen-editor/ScreenEditor/Viewport/windowSizeMemory.d.ts +0 -12
  462. package/dist/screen-editor/ScreenEditor/Viewport/windowSizing.d.ts +0 -10
  463. package/dist/screen-editor/ScreenEditor/index.d.ts +0 -40
  464. package/dist/screen-editor/ScreenTemplates/ApplicationTemplate.d.ts +0 -25
  465. package/dist/screen-editor/ScreenTemplates/TemplateReference.d.ts +0 -8
  466. package/dist/screen-editor/ScreenTemplates/TemplateReferenceKind.d.ts +0 -7
  467. package/dist/screen-editor/ScreenTemplates/ownTemplateSource.d.ts +0 -34
  468. package/dist/screen-editor/ScreenTemplates/toTemplateSources.d.ts +0 -18
  469. package/dist/screen-editor/SearchableSelect-BGZmobXo.js +0 -115
  470. package/dist/screen-editor/SelectEditor-CY6dlYWi.js +0 -34
  471. package/dist/screen-editor/SliceEditor-BdiU5-Tg.js +0 -51
  472. package/dist/screen-editor/StateChangeEditors-DHzrwtMX.js +0 -15
  473. package/dist/screen-editor/StructuredPropertyEditor-CdG5bfkx.js +0 -13
  474. package/dist/screen-editor/StructuredValueEditor-DZbDHWDg.js +0 -349
  475. package/dist/screen-editor/SummaryEditor-C5wP1uIH.js +0 -23
  476. package/dist/screen-editor/TemplatePicker/TemplatePicker.d.ts +0 -28
  477. package/dist/screen-editor/TemplatePicker/TemplatePickerHandlers.d.ts +0 -16
  478. package/dist/screen-editor/TemplatePicker/TemplatePickerLabels.d.ts +0 -29
  479. package/dist/screen-editor/TemplatePicker/TemplatePickerMenu.d.ts +0 -26
  480. package/dist/screen-editor/TemplatePicker/describeTemplatePicker.d.ts +0 -26
  481. package/dist/screen-editor/TemplatePicker/index.d.ts +0 -6
  482. package/dist/screen-editor/TemplatePicker/templateMatchesFilter.d.ts +0 -11
  483. package/dist/screen-editor/TemplatePropertyEditor-CVjBwEur.js +0 -38
  484. package/dist/screen-editor/TextEditor-BEH-9K1S.js +0 -40
  485. package/dist/screen-editor/UiProfile/PackageInclusion.d.ts +0 -9
  486. package/dist/screen-editor/UiProfile/PersistedUiProfile.d.ts +0 -19
  487. package/dist/screen-editor/UiProfile/ProfileSizeClass.d.ts +0 -13
  488. package/dist/screen-editor/UiProfile/ResolvedPackageEntry.d.ts +0 -19
  489. package/dist/screen-editor/UiProfile/ResolvedUiProfile.d.ts +0 -20
  490. package/dist/screen-editor/UiProfile/SampleDataSelectionSettings.d.ts +0 -15
  491. package/dist/screen-editor/UiProfile/StoredUiProfileShape.d.ts +0 -53
  492. package/dist/screen-editor/UiProfile/UiProfileSettings.d.ts +0 -55
  493. package/dist/screen-editor/UiProfile/defaultUiProfileSettings.d.ts +0 -13
  494. package/dist/screen-editor/UiProfile/explicitPackageNames.d.ts +0 -10
  495. package/dist/screen-editor/UiProfile/formatMessage.d.ts +0 -11
  496. package/dist/screen-editor/UiProfile/packagesOrLegacyFallback.d.ts +0 -3
  497. package/dist/screen-editor/UiProfile/persistedFromSettings.d.ts +0 -12
  498. package/dist/screen-editor/UiProfile/profileStyle.d.ts +0 -19
  499. package/dist/screen-editor/UiProfile/resolveUiProfile.d.ts +0 -29
  500. package/dist/screen-editor/UiProfile/rootLayoutOf.d.ts +0 -10
  501. package/dist/screen-editor/UiProfile/sampleDataOf.d.ts +0 -27
  502. package/dist/screen-editor/UiProfile/settingsFromPersisted.d.ts +0 -17
  503. package/dist/screen-editor/UiProfile/shellLayoutOf.d.ts +0 -10
  504. package/dist/screen-editor/UiProfile/toSceneUiProfile.d.ts +0 -14
  505. package/dist/screen-editor/UiProfile/withStoredLook.d.ts +0 -25
  506. package/dist/screen-editor/UiProfile/withStoredRoot.d.ts +0 -11
  507. package/dist/screen-editor/UiProfileDesigner/filterCompatibleThemes.d.ts +0 -12
  508. package/dist/screen-editor/UiProfileDesigner/findComponentCollisions.d.ts +0 -15
  509. package/dist/screen-editor/UndescribedEditor-Cqs6bHhD.js +0 -10
  510. package/dist/screen-editor/allowedIconChoices-KSkQ6blx.js +0 -138
  511. package/dist/screen-editor/catalog-B7QBP7ZO.js +0 -4
  512. package/dist/screen-editor/choiceKeys-DQcUX97p.js +0 -17
  513. package/dist/screen-editor/defaultStructuredEditorStrings-Bwbw58wD.js +0 -116
  514. package/dist/screen-editor/draftProblem-BGC5Gfsv.js +0 -12
  515. package/dist/screen-editor/hookBinding-DOpu2dMp.js +0 -171
  516. package/dist/screen-editor/iconDiagnostics-BZq0t8-V.js +0 -50
  517. package/dist/screen-editor/index.js +0 -12216
  518. package/dist/screen-editor/sceneTree-CNx3I3MJ.js +0 -32
  519. package/dist/screen-editor/screen-editor.css +0 -2
  520. package/dist/screen-editor/structuredValue-vqCZttsk.js +0 -61
  521. package/dist/screen-editor/toTemplateSources-BhsOzMx1.js +0 -506
@@ -1,62 +0,0 @@
1
- import { ScenePackage, Theme } from '@cratis/scene.model';
2
- import { PackageCatalog } from '@cratis/scene.engine';
3
- import { ComponentRegistry, ScenePackageBundle } from '@cratis/scene.react';
4
- /**
5
- * The domain blueprints Studio ships: ready-made applications (screens, templates, sample data) that a UI profile can add for their templates.
6
- * They are listed by the blueprint gallery (StudioIssues#667), which reads the same manifests - there is no second list of what exists.
7
- */
8
- export declare const domainBlueprints: ScenePackageBundle[];
9
- /**
10
- * Every Scene package bundle Studio has loaded.
11
- *
12
- * This is the one thing Studio has that the blueprint package's own gallery preview does not: all four
13
- * dependency bundles (and the Lucide icon library) are real npm dependencies here, so a screen naming `dataTable` or `tag` resolves to
14
- * a component that actually exists. The blueprint deliberately takes no bundler dependency on PrimeReact
15
- * or Cratis Components - a blueprint declares its dependencies in its manifest, not in its import graph -
16
- * which is why its own preview falls back to a profile that ranks `core` first and accepts placeholders
17
- * for everything else. Studio does not need that fallback and must not copy it.
18
- *
19
- * There is no backend slice behind this page, no read model and nothing persisted: the catalog is exactly
20
- * what the running bundle has imported, read at module load.
21
- */
22
- export declare const blueprintPreviewBundles: ScenePackageBundle[];
23
- /**
24
- * The package catalog, taken from each bundle's own manifest.
25
- *
26
- * Read from the manifests rather than written out, because a hand-copied component list is a second
27
- * source of truth that drifts the first time a package gains a component - and the only symptom is a
28
- * dashed red placeholder in the middle of an otherwise fine screen.
29
- */
30
- export declare const blueprintPreviewCatalog: ScenePackage[];
31
- /**
32
- * The merged component registry every preview renders against.
33
- *
34
- * Registry keys carry their package name, so merging cannot collide and merge order does not matter -
35
- * which package wins a *bare* name is decided later, by `resolveComponentName` walking the profile's
36
- * priority order.
37
- */
38
- export declare const blueprintPreviewRegistry: ComponentRegistry;
39
- /**
40
- * The component-name catalog `resolveComponentName` resolves against, keyed by package name.
41
- */
42
- export declare const blueprintPreviewComponentCatalog: PackageCatalog;
43
- /**
44
- * Every theme any loaded package ships - the blueprint's two and PrimeReact's free PrimeTek presets.
45
- *
46
- * Deliberately unfiltered: `filterCompatibleThemes` is what narrows this to the themes a given profile
47
- * can actually pick, and a picker fed a pre-narrowed list has nothing to narrow.
48
- */
49
- export declare const blueprintPreviewThemes: Theme[];
50
- /**
51
- * The blueprints available to preview.
52
- *
53
- * Two, and the second is the interesting one: `Cratis.Blueprint.Components` declares no layouts of its own
54
- * and depends on `Cratis.Blueprint.Default` for the application shell, so selecting it pulls the default
55
- * blueprint in behind it. That is a blueprint layered on a blueprint, and the dependency resolver treats
56
- * it like any other - which is the whole point of the packages being declared rather than assumed.
57
- */
58
- export declare const previewableBlueprints: ScenePackageBundle[];
59
- /**
60
- * The blueprint previewed when the page opens.
61
- */
62
- export declare const previewedBlueprint: ScenePackageBundle;
@@ -1,18 +0,0 @@
1
- import { ScenePackage } from '@cratis/scene.model';
2
- /**
3
- * The selection the picker opens on: every base component library, every styling package, and the first
4
- * blueprint.
5
- *
6
- * It stops there rather than pre-picking the closure. The libraries that *layer* on a base - the ones the
7
- * blueprint declares a dependency on - are left to `resolvePackageDependencies` to add, so the page opens
8
- * already showing what dependency resolution did on the user's behalf. A picker that started from the
9
- * complete, already-closed selection would never demonstrate that, which is half of what this page exists
10
- * for.
11
- *
12
- * The bases and the styling packages *are* pre-picked, because every later stage is gated on them: leaving
13
- * them out would open the page with the interesting stage closed and nothing to click in it.
14
- *
15
- * @param catalog Every known package.
16
- * @returns The package names to start from.
17
- */
18
- export declare function initialPackageSelection(catalog: ScenePackage[]): string[];
@@ -1,17 +0,0 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- var a = ({ value: o, onChange: i, descriptor: r, disabled: s, id: c }) => {
3
- const t = typeof o == "boolean" ? o : r.default === !0;
4
- return /* @__PURE__ */ e("button", {
5
- type: "button",
6
- id: c,
7
- role: "switch",
8
- "aria-checked": t,
9
- disabled: s,
10
- className: `studio-editor-switch${t ? " studio-editor-switch--on" : ""}`,
11
- onClick: () => i(!t),
12
- children: /* @__PURE__ */ e("span", { className: "studio-editor-switch__thumb" })
13
- });
14
- };
15
- export {
16
- a as BooleanEditor
17
- };
@@ -1,44 +0,0 @@
1
- import { CascadeEntryKind } from './CascadeEntryKind';
2
- /** A further action on a row, offered beside it - for example copying a blueprint template into the user's own. */
3
- export interface CascadeSecondaryAction {
4
- /** What the action is called. */
5
- label: string;
6
- /** Called when the action is chosen. The menu stays open unless `closes` is set. */
7
- onActivate: () => void;
8
- /** Whether the menu closes after the action. */
9
- closes?: boolean;
10
- }
11
- /** A heading, subheading, separator or note: a row with a label and nothing to choose. */
12
- export interface CascadeStaticEntry {
13
- kind: CascadeEntryKind.Heading | CascadeEntryKind.Subheading | CascadeEntryKind.Separator | CascadeEntryKind.Note;
14
- id: string;
15
- label: string;
16
- }
17
- /** A row that does something when chosen. */
18
- export interface CascadeItemEntry {
19
- kind: CascadeEntryKind.Item;
20
- id: string;
21
- label: string;
22
- /** Text aligned to the right of the row, such as a locale. */
23
- trailing?: string;
24
- /** A line under the label. */
25
- description?: string;
26
- /** Whether this is the current choice: it shows a check and the highlighted row. */
27
- checked?: boolean;
28
- /** Why the row cannot be chosen, when it cannot. */
29
- disabledReason?: string;
30
- /** Further actions offered beside the row, in order. */
31
- actions?: CascadeSecondaryAction[];
32
- /** Called when the row is chosen. The menu closes afterwards. */
33
- onActivate: () => void;
34
- }
35
- /** A row that opens a further panel. */
36
- export interface CascadeSubmenuEntry {
37
- kind: CascadeEntryKind.Submenu;
38
- id: string;
39
- label: string;
40
- /** The rows of the panel it opens. */
41
- entries: CascadeEntry[];
42
- }
43
- /** One row of a cascading menu. */
44
- export type CascadeEntry = CascadeStaticEntry | CascadeItemEntry | CascadeSubmenuEntry;
@@ -1,15 +0,0 @@
1
- /** What a row of a cascading menu is. */
2
- export declare enum CascadeEntryKind {
3
- /** A small-caps heading over the rows below it. */
4
- Heading = "heading",
5
- /** A sentence-case heading nested under a heading, such as a category. */
6
- Subheading = "subheading",
7
- /** A row that does something when chosen. */
8
- Item = "item",
9
- /** A row that opens a further panel beside the menu. */
10
- Submenu = "submenu",
11
- /** A thin rule between groups. */
12
- Separator = "separator",
13
- /** A line of explanation that cannot be chosen. */
14
- Note = "note"
15
- }
@@ -1,9 +0,0 @@
1
- /** The filter field at the top of a cascading menu. */
2
- export interface CascadeFilter {
3
- /** What has been typed. */
4
- value: string;
5
- /** The field's placeholder, which is also its accessible name. */
6
- placeholder: string;
7
- /** Called as the text changes. */
8
- onChange: (value: string) => void;
9
- }
@@ -1,25 +0,0 @@
1
- import { CascadeEntry } from './CascadeEntry';
2
- import { CascadeFilter } from './CascadeFilter';
3
- export interface CascadeMenuProps {
4
- /** Where the menu opens: the control that was pressed. */
5
- anchor: DOMRect;
6
- /** The control that opened the menu. Pressing it again is its own to handle, so it does not count as clicking elsewhere. */
7
- trigger?: HTMLElement | null;
8
- /** The rows of the first panel. */
9
- entries: CascadeEntry[];
10
- /** The accessible name of the menu. */
11
- label: string;
12
- /** The filter field at the top of the first panel, when there is one. */
13
- filter?: CascadeFilter;
14
- /** Called when the menu should go away: a row was chosen, the user pressed elsewhere or pressed Escape. */
15
- onClose: () => void;
16
- }
17
- /**
18
- * A cascading menu: a first panel whose rows may open further panels beside it, the way a desktop menu does.
19
- *
20
- * It is the one menu Studio draws for choosing among own things and blueprint things - templates and sample data -
21
- * so the structure (own first, blueprints one level deeper) and the keyboard behaviour exist once. It is drawn on the
22
- * page, not inside the region it belongs to, so nothing clips it; arrow keys move through rows, the right arrow opens a
23
- * submenu and the left arrow or Escape closes it, Tab stays inside the menu, and focus returns to what opened it.
24
- */
25
- export declare const CascadeMenu: ({ anchor, trigger, entries, label, filter, onClose }: CascadeMenuProps) => import("react").ReactPortal;
@@ -1,26 +0,0 @@
1
- import { CascadeEntry } from './CascadeEntry';
2
- import { CascadeFilter } from './CascadeFilter';
3
- import { OpenSubmenu } from './OpenSubmenu';
4
- import { type PanelRect } from './placeCascadePanel';
5
- export interface CascadePanelProps {
6
- /** The rows of the panel. */
7
- entries: CascadeEntry[];
8
- /** How deep the panel is: 0 for the first. */
9
- depth: number;
10
- /** Where the panel opens: the control that opened the menu for the first panel, the opening row for the rest. */
11
- anchor: PanelRect;
12
- /** The submenus open at this moment, outermost first. */
13
- openPath: OpenSubmenu[];
14
- /** The accessible name of the panel. */
15
- label: string;
16
- /** The filter field, on the first panel only. */
17
- filter?: CascadeFilter;
18
- /** Opens a submenu from a row. */
19
- onOpen: (depth: number, submenu: OpenSubmenu) => void;
20
- /** Closes every submenu from `depth` inward. */
21
- onCollapse: (depth: number) => void;
22
- /** Called when something was chosen. */
23
- onChosen: () => void;
24
- }
25
- /** One panel of a cascading menu: headings, rows, and the rows that open the next panel. */
26
- export declare const CascadePanel: ({ entries, depth, anchor, openPath, label, filter, onOpen, onCollapse, onChosen }: CascadePanelProps) => import("react").JSX.Element;
@@ -1,8 +0,0 @@
1
- import type { PanelRect } from './placeCascadePanel';
2
- /** A submenu that is open, and the row it opened from. */
3
- export interface OpenSubmenu {
4
- /** The identifier of the row that opened it. */
5
- id: string;
6
- /** Where that row is, which the panel is placed beside. */
7
- rect: PanelRect;
8
- }
@@ -1,27 +0,0 @@
1
- /** The key a cascading menu reacts to, as a direction through its rows or across its panels. */
2
- export declare enum CascadeStep {
3
- Previous = "previous",
4
- Next = "next",
5
- First = "first",
6
- Last = "last",
7
- Into = "into",
8
- Out = "out"
9
- }
10
- /**
11
- * What a key press means to a cascading menu, or `undefined` when the menu leaves it alone.
12
- *
13
- * @param key The pressed key.
14
- * @param isTextField Whether focus is in a text field, which keeps the arrow keys that move its caret.
15
- * @returns The step.
16
- */
17
- export declare function stepForKey(key: string, isTextField: boolean): CascadeStep | undefined;
18
- /**
19
- * Where focus lands after a step through a panel's rows. Moving past either end wraps round, so a keyboard user can
20
- * never be left on a row with nowhere to go.
21
- *
22
- * @param step The step through the rows - `Previous`, `Next`, `First` or `Last`.
23
- * @param current The row that has focus, or -1 when none does.
24
- * @param count How many rows can take focus.
25
- * @returns The index to focus, or -1 when there are no rows.
26
- */
27
- export declare function focusTarget(step: CascadeStep, current: number, count: number): number;
@@ -1,6 +0,0 @@
1
- export * from './CascadeEntryKind';
2
- export * from './CascadeEntry';
3
- export * from './CascadeFilter';
4
- export * from './CascadeMenu';
5
- export * from './cascadeNavigation';
6
- export * from './placeCascadePanel';
@@ -1,18 +0,0 @@
1
- import type { SyntheticEvent } from 'react';
2
- declare const keepInput: (event: SyntheticEvent) => void;
3
- /** Every way a user reaches into a menu. Spread it on the menu's outermost element, inside the portal. */
4
- export declare const menuInputBoundary: {
5
- readonly onPointerDown: typeof keepInput;
6
- readonly onPointerUp: typeof keepInput;
7
- readonly onMouseDown: typeof keepInput;
8
- readonly onMouseUp: typeof keepInput;
9
- readonly onClick: typeof keepInput;
10
- readonly onDoubleClick: typeof keepInput;
11
- readonly onContextMenu: typeof keepInput;
12
- readonly onWheel: typeof keepInput;
13
- readonly onKeyUp: typeof keepInput;
14
- readonly onDragStart: typeof keepInput;
15
- };
16
- /** Ends React's bubbling of a key press, for the one handler that needs to see it first. */
17
- export declare const keepKeyInMenu: typeof keepInput;
18
- export {};
@@ -1,37 +0,0 @@
1
- /** A rectangle in viewport coordinates. */
2
- export interface PanelRect {
3
- top: number;
4
- left: number;
5
- width: number;
6
- height: number;
7
- }
8
- /** The size of the viewport. */
9
- export interface PanelBounds {
10
- width: number;
11
- height: number;
12
- }
13
- /** Where a panel is fixed, in viewport coordinates. */
14
- export interface PanelPosition {
15
- top: number;
16
- left: number;
17
- }
18
- /**
19
- * Places the first panel of a menu under (or, with no room, over) the control that opened it, aligned to its left
20
- * edge, and keeps it inside the viewport.
21
- *
22
- * @param anchor The control's rectangle.
23
- * @param size The panel's size once laid out.
24
- * @param bounds The viewport.
25
- * @returns The position.
26
- */
27
- export declare function placePanelBelow(anchor: PanelRect, size: Pick<PanelRect, 'width' | 'height'>, bounds: PanelBounds): PanelPosition;
28
- /**
29
- * Places a submenu panel beside the row that opened it: to the right when there is room, otherwise to the left, with
30
- * its top level with the row and pulled up when it would run off the bottom.
31
- *
32
- * @param row The row's rectangle.
33
- * @param size The panel's size once laid out.
34
- * @param bounds The viewport.
35
- * @returns The position.
36
- */
37
- export declare function placePanelBeside(row: PanelRect, size: Pick<PanelRect, 'width' | 'height'>, bounds: PanelBounds): PanelPosition;
@@ -1,320 +0,0 @@
1
- import { n as T, t as A } from "./allowedIconChoices-KSkQ6blx.js";
2
- import { a as u, i as D, r as P, t as $ } from "./iconDiagnostics-BZq0t8-V.js";
3
- import { StructuredPropertyEditor as U } from "./StructuredPropertyEditor-CdG5bfkx.js";
4
- import { jsx as n, jsxs as c } from "react/jsx-runtime";
5
- import { CollectionOperation as C, DestinationKind as v, PropertyValueType as L, SceneEditKind as S } from "@cratis/scene.model";
6
- import { OrderedItemEditor as F } from "@cratis/components/ConfigurationEditor";
7
- var K = /* @__PURE__ */ new Set([
8
- "label",
9
- "icon",
10
- "destination"
11
- ]), j = (e) => e.valueType === L.Collection && e.item !== void 0 && e.item.properties.every((t) => K.has(t.path)), N = (e) => typeof e == "string" ? e : "";
12
- function V(e) {
13
- const t = (e.items ?? []).map((i) => ({
14
- id: i.id,
15
- label: N(i.values.label),
16
- ...i.values.icon ? { icon: i.values.icon } : {},
17
- ...Z(i.values.destination) ? {
18
- destinationReference: i.values.destination,
19
- destination: i.values.destination.screen
20
- } : {},
21
- values: i.values,
22
- editable: i.editable
23
- }));
24
- return {
25
- fixed: t.filter((i) => !i.editable),
26
- items: t.filter((i) => i.editable)
27
- };
28
- }
29
- function W(e) {
30
- const t = new Set(e.operations ?? []), i = t.has(C.EditFields), r = e.descriptor.constraints?.maximumItems;
31
- return {
32
- add: t.has(C.Add),
33
- remove: t.has(C.Remove),
34
- reorder: t.has(C.Reorder),
35
- fields: {
36
- label: i ? "editable" : "readonly",
37
- icon: i ? "editable" : "readonly",
38
- destination: i ? "editable" : "readonly"
39
- },
40
- ...r !== void 0 ? { maxItems: r } : {},
41
- ...e.reason ? { reasons: {
42
- add: e.reason,
43
- remove: e.reason,
44
- reorder: e.reason
45
- } } : {}
46
- };
47
- }
48
- function _(e, t, i) {
49
- const r = {
50
- component: e,
51
- path: t.descriptor.path
52
- };
53
- switch (i.kind) {
54
- case "add":
55
- return [{
56
- kind: S.AddCollectionItem,
57
- ...r,
58
- item: {
59
- id: i.item.id,
60
- values: M(i.item)
61
- },
62
- index: i.index
63
- }];
64
- case "remove":
65
- return [{
66
- kind: S.RemoveCollectionItem,
67
- ...r,
68
- itemId: i.item.id
69
- }];
70
- case "move":
71
- return [{
72
- kind: S.ReorderCollectionItem,
73
- ...r,
74
- itemId: i.item.id,
75
- index: i.toIndex
76
- }];
77
- case "update":
78
- return [{
79
- kind: S.EditCollectionItem,
80
- ...r,
81
- itemId: i.item.id,
82
- field: i.field,
83
- value: z(i.item, i.field)
84
- }];
85
- }
86
- }
87
- var z = (e, t) => t === "destination" ? x(e) : e[t], M = (e) => ({
88
- ...e.values,
89
- label: e.label,
90
- ...e.icon ? { icon: e.icon } : {},
91
- ...x(e) ? { destination: x(e) } : {}
92
- });
93
- function x(e) {
94
- if (!(!e.destination && !e.destinationReference))
95
- return {
96
- ...e.destinationReference ?? {},
97
- ...e.destination ? { screen: e.destination } : {}
98
- };
99
- }
100
- function Z(e) {
101
- return !e || typeof e != "object" || Array.isArray(e) ? !1 : [
102
- "screen",
103
- "module",
104
- "feature",
105
- "slice",
106
- "outlet",
107
- "route",
108
- "kind",
109
- "dialog",
110
- "routeParameterBindings"
111
- ].some((t) => t in e);
112
- }
113
- var q = /^:[A-Za-z_][A-Za-z0-9_]*$/;
114
- function B(e, t) {
115
- if (!e) return [];
116
- const i = [];
117
- return !e.screen && !e.route && !e.dialog && !e.slice && i.push(u.NoTarget), e.screen && !t.screens.includes(e.screen) && i.push(u.UnknownScreen), e.route !== void 0 && !G(e.route, e.kind) && i.push(u.InvalidRoute), e.slot && !t.slots.includes(e.slot) && i.push(u.UnknownSlot), e.dialog && !t.dialogTemplates.includes(e.dialog) && i.push(u.UnknownDialog), e.slice && !t.slices.includes(e.slice) && i.push(u.UnknownSlice), e.kind === v.Slot && !e.slot && i.push(u.SlotKindWithoutSlot), e.kind === v.Dialog && !e.dialog && i.push(u.DialogKindWithoutDialog), e.kind === v.External && !e.route && i.push(u.ExternalKindWithoutRoute), i;
118
- }
119
- function G(e, t) {
120
- if (t === v.External) return H(e);
121
- if (!e.startsWith("/") || /\s/.test(e) || e.includes("//")) return !1;
122
- const i = e.split("/").filter((r) => r.startsWith(":"));
123
- return i.every((r) => q.test(r)) ? new Set(i).size === i.length : !1;
124
- }
125
- function H(e) {
126
- try {
127
- const t = new URL(e);
128
- return t.protocol === "https:" || t.protocol === "http:";
129
- } catch {
130
- return !1;
131
- }
132
- }
133
- var J = ({ id: e, label: t, value: i, destinations: r, slots: s, dialogTemplates: p, problems: m = [], disabled: I, strings: a, onChange: b }) => {
134
- const d = i ?? {}, h = (o) => b(Y({
135
- ...d,
136
- ...o
137
- })), y = () => b(void 0), g = `${e}-slots`, k = `${e}-dialogs`;
138
- return /* @__PURE__ */ c("fieldset", {
139
- className: "studio-editor-destination",
140
- disabled: I,
141
- children: [
142
- /* @__PURE__ */ n("legend", { children: t || a.label }),
143
- /* @__PURE__ */ c("label", { children: [/* @__PURE__ */ n("span", { children: a.screen }), /* @__PURE__ */ c("select", {
144
- value: d.screen ?? "",
145
- onChange: (o) => h({ screen: o.target.value || void 0 }),
146
- children: [
147
- /* @__PURE__ */ n("option", {
148
- value: "",
149
- children: a.noScreen
150
- }),
151
- X(d.screen, r) && /* @__PURE__ */ n("option", {
152
- value: d.screen,
153
- children: a.missingScreen(d.screen)
154
- }),
155
- r.map((o) => /* @__PURE__ */ n("option", {
156
- value: o.id,
157
- children: Q(o)
158
- }, o.id))
159
- ]
160
- })] }),
161
- /* @__PURE__ */ c("label", { children: [/* @__PURE__ */ n("span", { children: a.route }), /* @__PURE__ */ n("input", {
162
- value: d.route ?? "",
163
- placeholder: a.routePlaceholder,
164
- onChange: (o) => h({ route: o.target.value || void 0 })
165
- })] }),
166
- /* @__PURE__ */ c("label", { children: [/* @__PURE__ */ n("span", { children: a.kind }), /* @__PURE__ */ c("select", {
167
- value: d.kind ?? "",
168
- onChange: (o) => h({ kind: o.target.value || void 0 }),
169
- children: [
170
- /* @__PURE__ */ n("option", {
171
- value: "",
172
- children: a.kinds.default
173
- }),
174
- /* @__PURE__ */ n("option", {
175
- value: v.Slot,
176
- children: a.kinds.slot
177
- }),
178
- /* @__PURE__ */ n("option", {
179
- value: v.Dialog,
180
- children: a.kinds.dialog
181
- }),
182
- /* @__PURE__ */ n("option", {
183
- value: v.External,
184
- children: a.kinds.external
185
- })
186
- ]
187
- })] }),
188
- /* @__PURE__ */ c("label", { children: [
189
- /* @__PURE__ */ n("span", { children: a.slot }),
190
- /* @__PURE__ */ n("input", {
191
- list: g,
192
- value: d.slot ?? "",
193
- onChange: (o) => h({ slot: o.target.value || void 0 })
194
- }),
195
- /* @__PURE__ */ n("datalist", {
196
- id: g,
197
- children: s.map((o) => /* @__PURE__ */ n("option", { value: o }, o))
198
- })
199
- ] }),
200
- /* @__PURE__ */ c("label", { children: [
201
- /* @__PURE__ */ n("span", { children: a.dialog }),
202
- /* @__PURE__ */ n("input", {
203
- list: k,
204
- value: d.dialog ?? "",
205
- onChange: (o) => h({ dialog: o.target.value || void 0 })
206
- }),
207
- /* @__PURE__ */ n("datalist", {
208
- id: k,
209
- children: p.map((o) => /* @__PURE__ */ n("option", { value: o }, o))
210
- })
211
- ] }),
212
- /* @__PURE__ */ n("button", {
213
- type: "button",
214
- onClick: y,
215
- children: a.clear
216
- }),
217
- m.length > 0 && /* @__PURE__ */ n("ul", {
218
- className: "studio-editor-diagnostics",
219
- role: "alert",
220
- "aria-label": t || a.label,
221
- children: m.map((o) => /* @__PURE__ */ n("li", {
222
- "data-severity": "error",
223
- children: a.problems[o]
224
- }, o))
225
- })
226
- ]
227
- });
228
- };
229
- function Q(e) {
230
- return e.group ? `${e.group} / ${e.label}` : e.label;
231
- }
232
- function X(e, t) {
233
- return !!e && !t.some((i) => i.id === e);
234
- }
235
- function Y(e) {
236
- const t = {
237
- ...e,
238
- ...e.screen ? { screen: e.screen } : {},
239
- ...e.route ? { route: e.route } : {},
240
- ...e.slot ? { slot: e.slot } : {},
241
- ...e.dialog ? { dialog: e.dialog } : {}
242
- };
243
- for (const i of [
244
- "screen",
245
- "route",
246
- "slot",
247
- "dialog",
248
- "kind"
249
- ]) t[i] || delete t[i];
250
- return Object.keys(t).length > 0 ? t : void 0;
251
- }
252
- var ee = ({ context: e }) => {
253
- const { session: t } = e;
254
- if (!t) return null;
255
- const { controller: i, environment: r, property: s, screenStrings: p } = t, m = e.selection?.id ?? "", I = r.destinations, a = e.lookups.icons, { items: b, fixed: d } = V(s), h = $(a.diagnostics, s.descriptor.path), y = W(s), g = y.fields.destination !== "readonly" || s.editable, k = [...d, ...b].filter((l) => l.destination !== void 0 || l.destinationReference !== void 0 || g), o = P(r, i.document), R = ie(o, s), O = (l, f) => {
256
- i.setCollectionItemDestination(m, s.descriptor.path, l.id, f, p.properties.destination.label);
257
- };
258
- return /* @__PURE__ */ c("section", {
259
- className: "studio-editor-properties__collection",
260
- children: [/* @__PURE__ */ n(F, {
261
- items: b,
262
- fixedItems: d,
263
- capabilities: y,
264
- destinations: I,
265
- validation: h,
266
- renderIconField: (l) => /* @__PURE__ */ n(T, {
267
- value: l.value,
268
- onChange: l.onChange,
269
- allowed: A(s.descriptor.item?.properties.find((f) => f.path === "icon")?.choices),
270
- catalog: a.catalog,
271
- adapters: a.adapters,
272
- readOnly: l.readOnly,
273
- showMessage: !1,
274
- invalid: l.invalid,
275
- strings: p.properties.icon,
276
- pickerLabels: p.properties.iconPickerLabels,
277
- "aria-label": l["aria-label"],
278
- "aria-describedby": l["aria-describedby"]
279
- }),
280
- "aria-label": s.descriptor.label,
281
- createItem: () => ({
282
- id: globalThis.crypto.randomUUID(),
283
- label: "",
284
- values: {}
285
- }),
286
- onChange: (l) => i.applyAll(_(m, s, l), p.properties.itemsLabel)
287
- }), k.length > 0 && /* @__PURE__ */ c("div", {
288
- className: "studio-editor-destinations",
289
- children: [/* @__PURE__ */ n("strong", { children: p.properties.destination.label }), k.map((l) => /* @__PURE__ */ n(J, {
290
- id: `${m}-${s.descriptor.path}-${l.id}`,
291
- label: l.label,
292
- value: l.destinationReference,
293
- destinations: I,
294
- slots: R.slots,
295
- dialogTemplates: R.dialogTemplates,
296
- problems: B(l.destinationReference, o),
297
- disabled: !g || d.some((f) => f.id === l.id),
298
- strings: p.properties.destination,
299
- onChange: (f) => O(l, f)
300
- }, l.id))]
301
- })]
302
- });
303
- };
304
- function ie(e, t) {
305
- const i = (t.items ?? []).map((s) => E(s.values.destination) ? s.values.destination.slot : void 0).filter(w), r = (t.items ?? []).map((s) => E(s.values.destination) ? s.values.destination.dialog : void 0).filter(w);
306
- return {
307
- slots: D([...e.slots, ...i]),
308
- dialogTemplates: D([...e.dialogTemplates, ...r])
309
- };
310
- }
311
- function w(e) {
312
- return typeof e == "string";
313
- }
314
- function E(e) {
315
- return !!e && typeof e == "object" && !Array.isArray(e);
316
- }
317
- var se = (e) => j(e.descriptor) && e.context.session ? /* @__PURE__ */ n(ee, { ...e }) : /* @__PURE__ */ n(U, { ...e });
318
- export {
319
- se as CollectionEditor
320
- };