@cratis/event-models 0.363.4 → 0.364.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -64
- package/dist/Model/UserExperienceActor.d.ts +2 -3
- package/dist/Rows/UserExperience/UiCell.d.ts +3 -5
- package/dist/Rows/UserExperience/UiThumbnailProps.d.ts +1 -4
- package/dist/event-model-document.schema.json +3 -6
- package/dist/event-models.css +1 -1
- package/dist/index.js +1805 -1809
- package/dist/index.js.map +1 -1
- package/package.json +11 -161
- package/dist/screen-editor/BindingExpressionPropertyEditor-C01GX5mV.js +0 -471
- package/dist/screen-editor/BlueprintPreview/blueprintPreviewCatalog.d.ts +0 -62
- package/dist/screen-editor/BlueprintPreview/initialPackageSelection.d.ts +0 -18
- package/dist/screen-editor/BooleanEditor-eC1yCpz0.js +0 -17
- package/dist/screen-editor/CascadeMenu/CascadeEntry.d.ts +0 -44
- package/dist/screen-editor/CascadeMenu/CascadeEntryKind.d.ts +0 -15
- package/dist/screen-editor/CascadeMenu/CascadeFilter.d.ts +0 -9
- package/dist/screen-editor/CascadeMenu/CascadeMenu.d.ts +0 -25
- package/dist/screen-editor/CascadeMenu/CascadePanel.d.ts +0 -26
- package/dist/screen-editor/CascadeMenu/OpenSubmenu.d.ts +0 -8
- package/dist/screen-editor/CascadeMenu/cascadeNavigation.d.ts +0 -27
- package/dist/screen-editor/CascadeMenu/index.d.ts +0 -6
- package/dist/screen-editor/CascadeMenu/keepInputInMenu.d.ts +0 -18
- package/dist/screen-editor/CascadeMenu/placeCascadePanel.d.ts +0 -37
- package/dist/screen-editor/CollectionEditor-DxpJWgWa.js +0 -320
- package/dist/screen-editor/ColorEditor-Cc6Xq8pW.js +0 -49
- package/dist/screen-editor/ColumnListEditor-CmhQYS5b.js +0 -103
- package/dist/screen-editor/Crash/CrashBoundary.d.ts +0 -36
- package/dist/screen-editor/Crash/CrashPanel.d.ts +0 -26
- package/dist/screen-editor/Crash/CrashReporter.d.ts +0 -4
- package/dist/screen-editor/Crash/CrashStrings.d.ts +0 -34
- package/dist/screen-editor/Crash/crashReport.d.ts +0 -81
- package/dist/screen-editor/DataBindingSections-C5fdyulB.js +0 -1924
- package/dist/screen-editor/EnumEditor-DNnnf9i3.js +0 -26
- package/dist/screen-editor/FieldEditor-e6VpsD__.js +0 -66
- package/dist/screen-editor/FieldListEditor-65ZJZoLM.js +0 -56
- package/dist/screen-editor/FormDesigner/FieldMapping.d.ts +0 -9
- package/dist/screen-editor/FormDesigner/FieldMappingKind.d.ts +0 -15
- package/dist/screen-editor/FormDesigner/FormDesigner.d.ts +0 -16
- package/dist/screen-editor/FormDesigner/PopulateSourceKind.d.ts +0 -12
- package/dist/screen-editor/FormDesigner/PopulateSourceSummary.d.ts +0 -21
- package/dist/screen-editor/FormDesigner/classifyFormFields.d.ts +0 -13
- package/dist/screen-editor/HookEditors-vV4ycK6R.js +0 -37
- package/dist/screen-editor/HookOpensField-Ja5uMCr8.js +0 -231
- package/dist/screen-editor/IconEditor-qXyGbGEX.js +0 -22
- package/dist/screen-editor/IconLibraries/Lucide/index.d.ts +0 -4
- package/dist/screen-editor/IconLibraries/Lucide/lucideAdapter.d.ts +0 -2
- package/dist/screen-editor/IconLibraries/Lucide/lucideCatalog.d.ts +0 -2
- package/dist/screen-editor/IconLibraries/Lucide/lucideManifest.d.ts +0 -3
- package/dist/screen-editor/IconLibraries/Lucide/lucidePackage.d.ts +0 -2
- package/dist/screen-editor/Icons/IconPickerCatalogState.d.ts +0 -5
- package/dist/screen-editor/Icons/IconPropertyField.d.ts +0 -25
- package/dist/screen-editor/Icons/IconPropertyFieldStrings.d.ts +0 -8
- package/dist/screen-editor/Icons/IconValueProblem.d.ts +0 -7
- package/dist/screen-editor/Icons/UseIconPickerCatalogResult.d.ts +0 -7
- package/dist/screen-editor/Icons/describeIconValueProblem.d.ts +0 -3
- package/dist/screen-editor/Icons/diagnoseIconValue.d.ts +0 -5
- package/dist/screen-editor/Icons/effectiveIconCatalogOf.d.ts +0 -3
- package/dist/screen-editor/Icons/iconCatalogSourcesOf.d.ts +0 -3
- package/dist/screen-editor/Icons/toIconPickerCatalog.d.ts +0 -5
- package/dist/screen-editor/Icons/useIconPickerCatalog.d.ts +0 -4
- package/dist/screen-editor/InheritanceModeEditor-CtdsACnc.js +0 -65
- package/dist/screen-editor/ListEditor-CfFPVVJ4.js +0 -53
- package/dist/screen-editor/NavigationItemTargetEditor-pApohBNj.js +0 -78
- package/dist/screen-editor/NavigationTargetEditor-C53kuCBJ.js +0 -41
- package/dist/screen-editor/NumberEditor-Cyo9_23Z.js +0 -48
- package/dist/screen-editor/Preview/previewDataView.d.ts +0 -94
- package/dist/screen-editor/QueryBindingPropertyEditor-B_UWKYLt.js +0 -148
- package/dist/screen-editor/ReferenceEditor-CTguqJZC.js +0 -32
- package/dist/screen-editor/ReferenceTargetEditors-Bx6dhIxY.js +0 -18
- package/dist/screen-editor/RenderingSlotEditor-D0ppEIOx.js +0 -128
- package/dist/screen-editor/ScreenEditor/Actions/ActionModel.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Actions/StateChangeSlice.d.ts +0 -17
- package/dist/screen-editor/ScreenEditor/Actions/ToolbarButtonClickKind.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Actions/actionBehavior.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/Actions/bindingSourceMarkersFor.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Actions/commandInputSources.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Actions/diagnoseAction.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Actions/toolbarButtonClick.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Binding/availableSourcesFor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Binding/bindingExpressionModel.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Binding/bindingScopeTypes.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Binding/bindingSources.d.ts +0 -26
- package/dist/screen-editor/ScreenEditor/Binding/detailShows.d.ts +0 -18
- package/dist/screen-editor/ScreenEditor/Binding/parameterFeeds.d.ts +0 -22
- package/dist/screen-editor/ScreenEditor/Binding/previewState.d.ts +0 -17
- package/dist/screen-editor/ScreenEditor/Binding/queryBindingModel.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Binding/settleBinding.d.ts +0 -7
- package/dist/screen-editor/ScreenEditor/Binding/toSceneCandidates.d.ts +0 -22
- package/dist/screen-editor/ScreenEditor/Collections/orderedItemShape.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Collections/orderedItems.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Data/DataField.d.ts +0 -39
- package/dist/screen-editor/ScreenEditor/Data/insertDataField.d.ts +0 -29
- package/dist/screen-editor/ScreenEditor/Data/queryTables.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Defaults/defaultComponentIcons.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Defaults/defaultLayoutIcons.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Defaults/defaultLayoutLabels.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Defaults/defaultPackageIcons.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Defaults/defaultPaletteIcons.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Defaults/defaultPaletteSources.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Defaults/defaultScreenEditorStrings.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/DesignMode/DesignModeChrome.d.ts +0 -20
- package/dist/screen-editor/ScreenEditor/DesignMode/DesignModeFrames.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/DesignMode/DesignModePopover.d.ts +0 -19
- package/dist/screen-editor/ScreenEditor/DesignMode/DesignModeStrings.d.ts +0 -82
- package/dist/screen-editor/ScreenEditor/DesignMode/FloatingItemToolbar.d.ts +0 -19
- package/dist/screen-editor/ScreenEditor/DesignMode/Navigation/EditorLogoContext.d.ts +0 -7
- package/dist/screen-editor/ScreenEditor/DesignMode/Navigation/EditorNavigationScope.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/DesignMode/Navigation/navigationDocument.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/DesignMode/Navigation/navigationItemOps.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/DesignMode/Navigation/regionItemSource.d.ts +0 -25
- package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/OutletStrings.d.ts +0 -74
- package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/createOutletDesign.d.ts +0 -34
- package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/levelOutlets.d.ts +0 -13
- package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/outletBindings.d.ts +0 -23
- package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/outletDesignModes.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/outletItemOps.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/savedScreenDocument.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/DesignMode/Outlets/screenOutlets.d.ts +0 -44
- package/dist/screen-editor/ScreenEditor/DesignMode/cloneWithNewIds.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/DesignMode/collectionItemSource.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/DesignMode/designModeAnnouncements.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/DesignMode/designModeFeedback.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/DesignMode/designModeKeys.d.ts +0 -7
- package/dist/screen-editor/ScreenEditor/DesignMode/designModeRules.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/DesignMode/designModeSelection.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/DesignMode/designModeTypes.d.ts +0 -107
- package/dist/screen-editor/ScreenEditor/DesignMode/elementItemSource.d.ts +0 -22
- package/dist/screen-editor/ScreenEditor/DesignMode/keepWatching.d.ts +0 -16
- package/dist/screen-editor/ScreenEditor/DesignMode/outletItemSource.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/DesignMode/placeFloatingToolbar.d.ts +0 -18
- package/dist/screen-editor/ScreenEditor/DesignMode/resolveDesignMode.d.ts +0 -23
- package/dist/screen-editor/ScreenEditor/DesignMode/useDesignMode.d.ts +0 -34
- package/dist/screen-editor/ScreenEditor/DesignMode/useDesignModeMeasurement.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/DesignMode/whenTransitionsEnd.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Destinations/DestinationProblemKind.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/Destinations/destinationProblems.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Destinations/destinationTargetsOf.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Document/canvasMoveEdits.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Document/createExternalComponent.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Document/createPanel.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Document/frameworkElement.d.ts +0 -21
- package/dist/screen-editor/ScreenEditor/Document/placeOnCanvas.d.ts +0 -16
- package/dist/screen-editor/ScreenEditor/Document/readSceneDocument.d.ts +0 -15
- package/dist/screen-editor/ScreenEditor/Document/screenSelection.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Document/studioScreen.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Document/updateElementInDocument.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Document/upgradeStoredDocument.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Drafting/SceneScreenDraft.d.ts +0 -33
- package/dist/screen-editor/ScreenEditor/Drafting/SceneScreenDraftReview.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Drafting/SceneScreenDraftStrings.d.ts +0 -21
- package/dist/screen-editor/ScreenEditor/Drafting/SceneScreenDraftToolbar.d.ts +0 -16
- package/dist/screen-editor/ScreenEditor/Drafting/defaultSceneScreenDraftStrings.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Drafting/prepareSceneScreenDraft.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftElement.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftEnvelope.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftGenerationProblem.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftInsertion.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftProperty.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftRequest.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftReviewVisibility.d.ts +0 -1
- package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftSession.d.ts +0 -16
- package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftState.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Drafting/sceneScreenDraftValues.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Drafting/useSceneScreenDraft.d.ts +0 -21
- package/dist/screen-editor/ScreenEditor/DropRegions/DropRegion.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/DropRegions/DropRegionKind.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/DropRegions/InsertionAxis.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/DropRegions/computeDropRegions.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Exposure/exposureEdits.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Forms/FormFields.d.ts +0 -13
- package/dist/screen-editor/ScreenEditor/Forms/commandFormElements.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Forms/commandFormLayout.d.ts +0 -7
- package/dist/screen-editor/ScreenEditor/Forms/fieldChoices.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Forms/fieldMarkers.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Forms/formEditing.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Forms/formFieldGrid.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Forms/useDesignTimeCommands.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Host/DefaultPaletteHost.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Host/SaveRefusedNotice.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Host/ScreenEditorBoundary.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Host/ScreenEditorControlProviders.d.ts +0 -7
- package/dist/screen-editor/ScreenEditor/Host/ScreenEditorController.d.ts +0 -100
- package/dist/screen-editor/ScreenEditor/Host/ScreenEditorFileUpload.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Host/ScreenEditorHost.d.ts +0 -83
- package/dist/screen-editor/ScreenEditor/Host/ScreenEditorOverlay.d.ts +0 -33
- package/dist/screen-editor/ScreenEditor/Host/ScreenEditorOverlayFrame.d.ts +0 -24
- package/dist/screen-editor/ScreenEditor/Host/ScreenEditorPrimeReactProvider.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Host/ScreenEditorWindow.d.ts +0 -38
- package/dist/screen-editor/ScreenEditor/Host/ScreenEditorWorkspace.d.ts +0 -22
- package/dist/screen-editor/ScreenEditor/Host/UnreadableScreen.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Host/WindowTitleBar.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Host/createScreenEditorEnvironment.d.ts +0 -24
- package/dist/screen-editor/ScreenEditor/Host/fitOverlay.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Host/mergeComponentDefaults.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Host/nextElementId.d.ts +0 -1
- package/dist/screen-editor/ScreenEditor/Host/openSubject.d.ts +0 -20
- package/dist/screen-editor/ScreenEditor/Host/readOnlyController.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Host/screenEditorPrimeReactDefaults.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Host/useDocumentSetters.d.ts +0 -15
- package/dist/screen-editor/ScreenEditor/Host/useEditApplication.d.ts +0 -15
- package/dist/screen-editor/ScreenEditor/Host/useEditingScene.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Host/useNavigationEditing.d.ts +0 -17
- package/dist/screen-editor/ScreenEditor/Host/useScreenEditor.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Host/useStructureOperations.d.ts +0 -39
- package/dist/screen-editor/ScreenEditor/Inspector/ActionEditor.d.ts +0 -16
- package/dist/screen-editor/ScreenEditor/Inspector/ActionProperties.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Inspector/BindingExpressionEditor.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/Inspector/CommandFormEditor.d.ts +0 -16
- package/dist/screen-editor/ScreenEditor/Inspector/CommandFormProperties.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Inspector/ComponentProperties.d.ts +0 -17
- package/dist/screen-editor/ScreenEditor/Inspector/DataBindingSections.d.ts +0 -23
- package/dist/screen-editor/ScreenEditor/Inspector/DesignTimeActionsSection.d.ts +0 -13
- package/dist/screen-editor/ScreenEditor/Inspector/DesignTimeContextFactory.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Inspector/DesignTimeDesignersSection.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Inspector/DesignTimePropertyEditorsSection.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Inspector/DestinationReferenceFields.d.ts +0 -17
- package/dist/screen-editor/ScreenEditor/Inspector/DiagnosticList.d.ts +0 -17
- package/dist/screen-editor/ScreenEditor/Inspector/DialogTemplateAuthoringSection.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Inspector/DialogTemplateListEditor.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Inspector/ExposureSection.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/Inspector/ExternalComponentSections.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Inspector/FormAuthoringSection.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Inspector/FormEditor.d.ts +0 -13
- package/dist/screen-editor/ScreenEditor/Inspector/FormLayoutEditor.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Inspector/InspectorTab.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Inspector/LayoutTypeSection.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Inspector/LocationSection.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Inspector/NavigationSection.d.ts +0 -16
- package/dist/screen-editor/ScreenEditor/Inspector/OutletButtonSection.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Inspector/OutletListEditor.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/Inspector/OutletSection.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Inspector/OwnershipBadge.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Inspector/PropertiesPanel.d.ts +0 -17
- package/dist/screen-editor/ScreenEditor/Inspector/PropertyGroups.d.ts +0 -20
- package/dist/screen-editor/ScreenEditor/Inspector/QueryBindingEditor.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Inspector/ScreenEditorStrings.d.ts +0 -349
- package/dist/screen-editor/ScreenEditor/Inspector/ScreenInspector.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Inspector/ScreenOutletsSection.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Inspector/ScreenProperties.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Inspector/ShellNavigationSection.d.ts +0 -25
- package/dist/screen-editor/ScreenEditor/Inspector/SlotListEditor.d.ts +0 -13
- package/dist/screen-editor/ScreenEditor/Inspector/StructureTree.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Inspector/StructureTreeRow.d.ts +0 -21
- package/dist/screen-editor/ScreenEditor/Inspector/TemplateAuthoringSection.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/Inspector/TemplatePreviewPane.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/Inspector/ToolbarButtonClickEditor.d.ts +0 -15
- package/dist/screen-editor/ScreenEditor/Inspector/ToolbarButtonSection.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Inspector/UnapprovedPackageNotice.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Inspector/ViewportControls.d.ts +0 -18
- package/dist/screen-editor/ScreenEditor/Inspector/bindingExpressionEdits.d.ts +0 -26
- package/dist/screen-editor/ScreenEditor/Inspector/localizedDisplay.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Inspector/pointerDropZone.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Inspector/unapprovedPackageOf.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Integration/BindingSourceChoice.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Integration/BindingSourceChoiceInputs.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Integration/CommandFormColumn.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Integration/CommandFormConfiguration.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Integration/CommandFormInput.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Integration/CommandFormMode.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Integration/bindingSourceChoices.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Integration/index.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/Layouts/LayoutArrangement.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Layouts/LayoutCatalogEntry.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/Layouts/LayoutContainerDescriptor.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Layouts/LayoutItem.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Layouts/PanelConstruct.d.ts +0 -7
- package/dist/screen-editor/ScreenEditor/Layouts/layoutCatalog.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Layouts/layoutChange.d.ts +0 -13
- package/dist/screen-editor/ScreenEditor/Layouts/toLayoutContainerDescriptors.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Menu/MenuPopover.d.ts +0 -13
- package/dist/screen-editor/ScreenEditor/Menu/menuDrag.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Menu/menuPlacement.d.ts +0 -27
- package/dist/screen-editor/ScreenEditor/Outlets/outletDocument.d.ts +0 -15
- package/dist/screen-editor/ScreenEditor/Outlets/screenOutletChain.d.ts +0 -18
- package/dist/screen-editor/ScreenEditor/Palette/ComponentPicker.d.ts +0 -21
- package/dist/screen-editor/ScreenEditor/Palette/PaletteEntry.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Palette/PaletteFolders.d.ts +0 -18
- package/dist/screen-editor/ScreenEditor/Palette/buildPalette.d.ts +0 -16
- package/dist/screen-editor/ScreenEditor/Palette/componentPickerModel.d.ts +0 -54
- package/dist/screen-editor/ScreenEditor/Palette/componentPickerStorage.d.ts +0 -15
- package/dist/screen-editor/ScreenEditor/Palette/insertedComponentName.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Palette/useComponentPalette.d.ts +0 -21
- package/dist/screen-editor/ScreenEditor/Placement/HookEnabledField.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Placement/HookOpensField.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Placement/PlacementStrings.d.ts +0 -32
- package/dist/screen-editor/ScreenEditor/Placement/hookBinding.d.ts +0 -28
- package/dist/screen-editor/ScreenEditor/Placement/hookPlacement.d.ts +0 -27
- package/dist/screen-editor/ScreenEditor/Placement/opensOptions.d.ts +0 -16
- package/dist/screen-editor/ScreenEditor/Placement/placementEnvironment.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Play/PlayScreen.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Play/composePlayScreen.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Properties/allowedIconChoices.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Properties/choiceKeys.d.ts +0 -15
- package/dist/screen-editor/ScreenEditor/Properties/iconDiagnostics.d.ts +0 -7
- package/dist/screen-editor/ScreenEditor/Properties/propertyEdits.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Properties/toPropertyGroups.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Properties/visibleProperties.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/BooleanEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/ColorEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/EnumEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/IconEditor.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/ListEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/NumberEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/ReferenceEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/SelectEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/TextEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Generic/draftProblem.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/PropertyEditorHost.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/PropertyEditorProps.d.ts +0 -96
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/PropertyEditorRegistry.d.ts +0 -24
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/PropertyEditorStrings.d.ts +0 -87
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/SearchableSelect.d.ts +0 -29
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/createEditorContext.d.ts +0 -22
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/createPropertyEditorRegistry.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Registry/screenEditorPropertyEditors.d.ts +0 -1
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/BindingExpressionPropertyEditor.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/CollectionEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/ColumnListEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/FieldEditor.d.ts +0 -23
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/FieldListEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/HookEditors.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/InheritanceModeEditor.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/NavigationItemTargetEditor.d.ts +0 -17
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/NavigationTargetEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/OrderedItemsEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/QueryBindingPropertyEditor.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/ReferenceTargetEditors.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/RenderingSlotEditor.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/SliceEditor.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/StateChangeEditors.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/StructuredPropertyEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/SummaryEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/TemplatePropertyEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/UndescribedEditor.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Specific/fieldKind.d.ts +0 -1
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/PrimitiveListEditor.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/ScalarEditor.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/StringMapEditor.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/StringOrListEditor.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/StructuredEditorStrings.d.ts +0 -33
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/StructuredValueEditor.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/defaultStructuredEditorStrings.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/index.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/structuredProblem.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/structuredValue.d.ts +0 -20
- package/dist/screen-editor/ScreenEditor/PropertyEditors/Structured/withIconReferences.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/PrototypeProjection/LegacyExtras.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/PrototypeProjection/applyLegacyState.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/PrototypeProjection/layoutContainerItems.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/PrototypeProjection/legacyPlacement.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/PrototypeProjection/projectToLegacyElements.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/PrototypeProjection/sceneComponentName.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/PrototypeProjection/withoutNulls.d.ts +0 -1
- package/dist/screen-editor/ScreenEditor/Runtime/ScreenEditorAppearance.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Runtime/compositionProfile.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Runtime/createDesignTimeHost.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Runtime/describeSampleValue.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Runtime/profileColorScheme.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Runtime/profileTheme.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Runtime/screenEditorRuntime.d.ts +0 -22
- package/dist/screen-editor/ScreenEditor/Runtime/screenEditorRuntimeForProfile.d.ts +0 -7
- package/dist/screen-editor/ScreenEditor/Runtime/serverPrototypeTypes.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Runtime/storedComponentName.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Runtime/studioEditorKinds.d.ts +0 -1
- package/dist/screen-editor/ScreenEditor/Runtime/useLoadedIconCatalog.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Runtime/withOutletItemKind.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Runtime/withPlacementProperties.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Runtime/withSampleContentProperties.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Selection/panelLayoutItem.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Selection/sceneStructureAdapter.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Selection/sceneTree.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Selection/surfaceArrangementOfRoot.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Selection/surfaceLayoutOfRoot.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Selection/toSceneEdits.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Session/EditSession.d.ts +0 -26
- package/dist/screen-editor/ScreenEditor/Session/SessionCell.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/ShellFrame/decideShellPointer.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/ShellFrame/frameInShell.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/ShellFrame/peekOfDestination.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/ShellFrame/shellVisibility.d.ts +0 -25
- package/dist/screen-editor/ScreenEditor/ShellFrame/spliceContent.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/ShellFrame/useShellFrame.d.ts +0 -22
- package/dist/screen-editor/ScreenEditor/Structure/DropZone.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Structure/MoveIntent.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Structure/Ownership.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Structure/OwnershipResolver.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Structure/StructureEdit.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Structure/StructureEditRejection.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Structure/StructureLocation.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Structure/StructureOperation.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Structure/StructureRow.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Structure/StructureTreeAdapter.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Structure/findStructureNode.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Structure/flattenStructure.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Structure/isDeleteKey.d.ts +0 -15
- package/dist/screen-editor/ScreenEditor/Structure/isOperationPermitted.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Structure/removal.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Structure/resolveMoveIntentEdit.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Structure/resolveTreeDrop.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Structure/surfaceMoveEdit.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Structure/validateStructureEdit.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Surface/BindingSourceMarkers.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Surface/DesignTime/DesignTimeComponent.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Surface/DesignTime/DesignTimePlaceholder.d.ts +0 -7
- package/dist/screen-editor/ScreenEditor/Surface/DesignTime/DesignTimePlaceholderTone.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Surface/DesignTime/OverlayPreview.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Surface/DesignTime/SurfaceStrings.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Surface/DesignTime/designTimeDataComponents.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Surface/DesignTime/designTimeRegistry.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Surface/DesignTime/designTimeSamples.d.ts +0 -7
- package/dist/screen-editor/ScreenEditor/Surface/DesignTime/overlayKinds.d.ts +0 -8
- package/dist/screen-editor/ScreenEditor/Surface/DesignTime/sampleCellValue.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Surface/DesignTime/useRendersVisibleContent.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Surface/DropIndicator.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Surface/ScreenSurface.d.ts +0 -18
- package/dist/screen-editor/ScreenEditor/Surface/SelectionGrip.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/Surface/columnAt.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Surface/designTimePointer.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Surface/dialogFrameAttributes.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Surface/dragPayload.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Surface/dropRegionRects.d.ts +0 -13
- package/dist/screen-editor/ScreenEditor/Surface/elementRect.d.ts +0 -20
- package/dist/screen-editor/ScreenEditor/Surface/resolveDropTarget.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Surface/sameMeasurement.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Surface/surfaceText.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Surface/useDesignTimePointer.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Surface/useDrawnScreen.d.ts +0 -7
- package/dist/screen-editor/ScreenEditor/Surface/useSelectedBindingMarkers.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Surface/useSurfaceDrop.d.ts +0 -22
- package/dist/screen-editor/ScreenEditor/Surface/useSurfaceKeys.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Surface/useSurfaceMeasurement.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Surface/useSurfaceMeasurer.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Surface/useSurfaceViewportHeight.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Templates/TemplatePreviewSize.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Templates/chooseScreenTemplate.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Templates/composeEditorScreen.d.ts +0 -14
- package/dist/screen-editor/ScreenEditor/Templates/dialogActionsChrome.d.ts +0 -9
- package/dist/screen-editor/ScreenEditor/Templates/dialogPresentation.d.ts +0 -13
- package/dist/screen-editor/ScreenEditor/Templates/dialogTitle.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Templates/displayedFits.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Templates/nativeStandIns.d.ts +0 -31
- package/dist/screen-editor/ScreenEditor/Templates/ownContentOnly.d.ts +0 -13
- package/dist/screen-editor/ScreenEditor/Templates/screenTemplateTarget.d.ts +0 -21
- package/dist/screen-editor/ScreenEditor/Templates/slotSections.d.ts +0 -20
- package/dist/screen-editor/ScreenEditor/Templates/templatePreview.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Templates/templateProvenance.d.ts +0 -6
- package/dist/screen-editor/ScreenEditor/Thumbnail/ScreenThumbnail.d.ts +0 -16
- package/dist/screen-editor/ScreenEditor/Thumbnail/miniatureRegistry.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Thumbnail/readThumbnailDocument.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Thumbnail/thumbnailGeometry.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/Thumbnail/useIsNearViewport.d.ts +0 -2
- package/dist/screen-editor/ScreenEditor/Toolbar/slicesOfStructure.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Toolbar/toolbarDiagnostics.d.ts +0 -11
- package/dist/screen-editor/ScreenEditor/Toolbar/upgradeToolbarButton.d.ts +0 -5
- package/dist/screen-editor/ScreenEditor/Viewport/ViewportPreset.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Viewport/ViewportSize.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Viewport/detectViewportPreset.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Viewport/resolveViewportSizeClass.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Viewport/toWindowSize.d.ts +0 -3
- package/dist/screen-editor/ScreenEditor/Viewport/viewportPresets.d.ts +0 -4
- package/dist/screen-editor/ScreenEditor/Viewport/windowSizeMemory.d.ts +0 -12
- package/dist/screen-editor/ScreenEditor/Viewport/windowSizing.d.ts +0 -10
- package/dist/screen-editor/ScreenEditor/index.d.ts +0 -40
- package/dist/screen-editor/ScreenTemplates/ApplicationTemplate.d.ts +0 -25
- package/dist/screen-editor/ScreenTemplates/TemplateReference.d.ts +0 -8
- package/dist/screen-editor/ScreenTemplates/TemplateReferenceKind.d.ts +0 -7
- package/dist/screen-editor/ScreenTemplates/ownTemplateSource.d.ts +0 -34
- package/dist/screen-editor/ScreenTemplates/toTemplateSources.d.ts +0 -18
- package/dist/screen-editor/SearchableSelect-BGZmobXo.js +0 -115
- package/dist/screen-editor/SelectEditor-CY6dlYWi.js +0 -34
- package/dist/screen-editor/SliceEditor-BdiU5-Tg.js +0 -51
- package/dist/screen-editor/StateChangeEditors-DHzrwtMX.js +0 -15
- package/dist/screen-editor/StructuredPropertyEditor-CdG5bfkx.js +0 -13
- package/dist/screen-editor/StructuredValueEditor-DZbDHWDg.js +0 -349
- package/dist/screen-editor/SummaryEditor-C5wP1uIH.js +0 -23
- package/dist/screen-editor/TemplatePicker/TemplatePicker.d.ts +0 -28
- package/dist/screen-editor/TemplatePicker/TemplatePickerHandlers.d.ts +0 -16
- package/dist/screen-editor/TemplatePicker/TemplatePickerLabels.d.ts +0 -29
- package/dist/screen-editor/TemplatePicker/TemplatePickerMenu.d.ts +0 -26
- package/dist/screen-editor/TemplatePicker/describeTemplatePicker.d.ts +0 -26
- package/dist/screen-editor/TemplatePicker/index.d.ts +0 -6
- package/dist/screen-editor/TemplatePicker/templateMatchesFilter.d.ts +0 -11
- package/dist/screen-editor/TemplatePropertyEditor-CVjBwEur.js +0 -38
- package/dist/screen-editor/TextEditor-BEH-9K1S.js +0 -40
- package/dist/screen-editor/UiProfile/PackageInclusion.d.ts +0 -9
- package/dist/screen-editor/UiProfile/PersistedUiProfile.d.ts +0 -19
- package/dist/screen-editor/UiProfile/ProfileSizeClass.d.ts +0 -13
- package/dist/screen-editor/UiProfile/ResolvedPackageEntry.d.ts +0 -19
- package/dist/screen-editor/UiProfile/ResolvedUiProfile.d.ts +0 -20
- package/dist/screen-editor/UiProfile/SampleDataSelectionSettings.d.ts +0 -15
- package/dist/screen-editor/UiProfile/StoredUiProfileShape.d.ts +0 -53
- package/dist/screen-editor/UiProfile/UiProfileSettings.d.ts +0 -55
- package/dist/screen-editor/UiProfile/defaultUiProfileSettings.d.ts +0 -13
- package/dist/screen-editor/UiProfile/explicitPackageNames.d.ts +0 -10
- package/dist/screen-editor/UiProfile/formatMessage.d.ts +0 -11
- package/dist/screen-editor/UiProfile/packagesOrLegacyFallback.d.ts +0 -3
- package/dist/screen-editor/UiProfile/persistedFromSettings.d.ts +0 -12
- package/dist/screen-editor/UiProfile/profileStyle.d.ts +0 -19
- package/dist/screen-editor/UiProfile/resolveUiProfile.d.ts +0 -29
- package/dist/screen-editor/UiProfile/rootLayoutOf.d.ts +0 -10
- package/dist/screen-editor/UiProfile/sampleDataOf.d.ts +0 -27
- package/dist/screen-editor/UiProfile/settingsFromPersisted.d.ts +0 -17
- package/dist/screen-editor/UiProfile/shellLayoutOf.d.ts +0 -10
- package/dist/screen-editor/UiProfile/toSceneUiProfile.d.ts +0 -14
- package/dist/screen-editor/UiProfile/withStoredLook.d.ts +0 -25
- package/dist/screen-editor/UiProfile/withStoredRoot.d.ts +0 -11
- package/dist/screen-editor/UiProfileDesigner/filterCompatibleThemes.d.ts +0 -12
- package/dist/screen-editor/UiProfileDesigner/findComponentCollisions.d.ts +0 -15
- package/dist/screen-editor/UndescribedEditor-Cqs6bHhD.js +0 -10
- package/dist/screen-editor/allowedIconChoices-KSkQ6blx.js +0 -138
- package/dist/screen-editor/catalog-B7QBP7ZO.js +0 -4
- package/dist/screen-editor/choiceKeys-DQcUX97p.js +0 -17
- package/dist/screen-editor/defaultStructuredEditorStrings-Bwbw58wD.js +0 -116
- package/dist/screen-editor/draftProblem-BGC5Gfsv.js +0 -12
- package/dist/screen-editor/hookBinding-DOpu2dMp.js +0 -171
- package/dist/screen-editor/iconDiagnostics-BZq0t8-V.js +0 -50
- package/dist/screen-editor/index.js +0 -12216
- package/dist/screen-editor/sceneTree-CNx3I3MJ.js +0 -32
- package/dist/screen-editor/screen-editor.css +0 -2
- package/dist/screen-editor/structuredValue-vqCZttsk.js +0 -61
- package/dist/screen-editor/toTemplateSources-BhsOzMx1.js +0 -506
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { n as u, t as h } from "./choiceKeys-DQcUX97p.js";
|
|
2
|
-
import { jsx as c } from "react/jsx-runtime";
|
|
3
|
-
var b = ({ value: s, onChange: a, descriptor: i, disabled: d, id: t }) => {
|
|
4
|
-
const o = s ?? void 0, n = u(i.choices ?? [], o), l = i.constraints?.required === !0;
|
|
5
|
-
return /* @__PURE__ */ c("div", {
|
|
6
|
-
id: t,
|
|
7
|
-
role: "radiogroup",
|
|
8
|
-
"aria-labelledby": `${t}-label`,
|
|
9
|
-
className: "studio-editor-chips",
|
|
10
|
-
children: n.map((e) => {
|
|
11
|
-
const r = o !== void 0 && e.key === h(o);
|
|
12
|
-
return /* @__PURE__ */ c("button", {
|
|
13
|
-
type: "button",
|
|
14
|
-
role: "radio",
|
|
15
|
-
"aria-checked": r,
|
|
16
|
-
disabled: d,
|
|
17
|
-
className: `studio-editor-chip${r ? " studio-editor-chip--chosen" : ""}`,
|
|
18
|
-
onClick: () => a(r && !l ? void 0 : e.value),
|
|
19
|
-
children: e.label
|
|
20
|
-
}, e.key);
|
|
21
|
-
})
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
b as EnumEditor
|
|
26
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { t as y } from "./SearchableSelect-BGZmobXo.js";
|
|
2
|
-
import { Fragment as h, jsx as d, jsxs as v } from "react/jsx-runtime";
|
|
3
|
-
function g(n) {
|
|
4
|
-
const e = n.toLowerCase().replace(/[?[\]]/g, "");
|
|
5
|
-
return /^(u?int\d*|long|short|byte|float|double|decimal|number|single)$/.test(e) ? "number" : e === "bool" || e === "boolean" ? "boolean" : /^(date|time|datetime|datetimeoffset|dateonly|timeonly|timestamp)$/.test(e) ? "date" : e === "guid" || e === "uuid" ? "id" : "string";
|
|
6
|
-
}
|
|
7
|
-
function x(n, e) {
|
|
8
|
-
const r = n.editorKind === "bindingPath" ? Object.entries(e.availableSources).map(([t, s]) => ({
|
|
9
|
-
name: t,
|
|
10
|
-
type: s
|
|
11
|
-
})) : e.fields.map((t) => ({
|
|
12
|
-
name: t.name,
|
|
13
|
-
type: t.type
|
|
14
|
-
})), l = n.editorOptions?.fieldKinds;
|
|
15
|
-
return {
|
|
16
|
-
all: r,
|
|
17
|
-
offered: r.filter((t) => l === void 0 || l.includes(g(t.type)))
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
var K = ({ value: n, onChange: e, descriptor: r, context: l, disabled: t, problem: s, id: c }) => {
|
|
21
|
-
const o = l.strings.editors, f = r.editorOptions?.fieldKinds, { all: b, offered: m } = x(r, l.lookups), a = typeof n == "string" && n !== "" ? n : void 0, u = a === void 0 || m.some((i) => i.name === a);
|
|
22
|
-
return b.length === 0 ? /* @__PURE__ */ d("input", {
|
|
23
|
-
id: c,
|
|
24
|
-
type: "text",
|
|
25
|
-
className: "studio-editor-field__input",
|
|
26
|
-
disabled: t,
|
|
27
|
-
defaultValue: a ?? "",
|
|
28
|
-
"aria-invalid": s ? !0 : void 0,
|
|
29
|
-
onBlur: (i) => {
|
|
30
|
-
const p = i.target.value.trim();
|
|
31
|
-
p !== (a ?? "") && e(p === "" ? void 0 : p);
|
|
32
|
-
}
|
|
33
|
-
}, a ?? "") : /* @__PURE__ */ v(h, { children: [
|
|
34
|
-
/* @__PURE__ */ d(y, {
|
|
35
|
-
id: c,
|
|
36
|
-
options: (u ? m : [...m, {
|
|
37
|
-
name: a,
|
|
38
|
-
type: ""
|
|
39
|
-
}]).map((i) => ({
|
|
40
|
-
value: i.name,
|
|
41
|
-
label: i.type ? `${i.name} · ${i.type}` : i.name
|
|
42
|
-
})),
|
|
43
|
-
value: a,
|
|
44
|
-
disabled: t,
|
|
45
|
-
invalid: !u || s !== void 0,
|
|
46
|
-
placeholder: o.field.placeholder,
|
|
47
|
-
searchLabel: o.select.search,
|
|
48
|
-
emptyLabel: o.select.empty,
|
|
49
|
-
clearLabel: o.select.clear,
|
|
50
|
-
clearable: r.constraints?.required !== !0,
|
|
51
|
-
"aria-labelledby": `${c}-label`,
|
|
52
|
-
onChange: e
|
|
53
|
-
}),
|
|
54
|
-
f !== void 0 && /* @__PURE__ */ d("small", {
|
|
55
|
-
className: "studio-editor-properties__hint",
|
|
56
|
-
children: f.map(o.field.typed).join(", ")
|
|
57
|
-
}),
|
|
58
|
-
!u && /* @__PURE__ */ d("span", {
|
|
59
|
-
className: "studio-editor-chip studio-editor-chip--error",
|
|
60
|
-
children: o.unresolved
|
|
61
|
-
})
|
|
62
|
-
] });
|
|
63
|
-
};
|
|
64
|
-
export {
|
|
65
|
-
K as FieldEditor
|
|
66
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { l as c, t as g, v as w, y as m } from "./structuredValue-vqCZttsk.js";
|
|
2
|
-
import { FieldEditor as y } from "./FieldEditor-e6VpsD__.js";
|
|
3
|
-
import { jsx as r, jsxs as u } from "react/jsx-runtime";
|
|
4
|
-
var $ = ({ value: p, onChange: b, descriptor: h, context: l, disabled: a, problem: v, id: d }) => {
|
|
5
|
-
const s = l.strings.editors.list, o = g(p).filter((i) => typeof i == "string"), e = (i) => b(i.length === 0 ? void 0 : i), f = {
|
|
6
|
-
...h,
|
|
7
|
-
editorKind: "field"
|
|
8
|
-
};
|
|
9
|
-
return /* @__PURE__ */ u("fieldset", {
|
|
10
|
-
id: d,
|
|
11
|
-
className: "studio-editor-list",
|
|
12
|
-
disabled: a,
|
|
13
|
-
children: [o.map((i, t) => /* @__PURE__ */ u("div", {
|
|
14
|
-
className: "studio-editor-list__row",
|
|
15
|
-
children: [
|
|
16
|
-
/* @__PURE__ */ r(y, {
|
|
17
|
-
id: `${d}-${t}`,
|
|
18
|
-
value: i,
|
|
19
|
-
descriptor: f,
|
|
20
|
-
context: l,
|
|
21
|
-
disabled: a,
|
|
22
|
-
problem: v,
|
|
23
|
-
onChange: (n) => e(n === void 0 ? m(o, t) : w(o, t, n))
|
|
24
|
-
}),
|
|
25
|
-
/* @__PURE__ */ r("button", {
|
|
26
|
-
type: "button",
|
|
27
|
-
"aria-label": s.moveUp,
|
|
28
|
-
disabled: t === 0,
|
|
29
|
-
onClick: () => e(c(o, t, -1)),
|
|
30
|
-
children: "↑"
|
|
31
|
-
}),
|
|
32
|
-
/* @__PURE__ */ r("button", {
|
|
33
|
-
type: "button",
|
|
34
|
-
"aria-label": s.moveDown,
|
|
35
|
-
disabled: t === o.length - 1,
|
|
36
|
-
onClick: () => e(c(o, t, 1)),
|
|
37
|
-
children: "↓"
|
|
38
|
-
}),
|
|
39
|
-
/* @__PURE__ */ r("button", {
|
|
40
|
-
type: "button",
|
|
41
|
-
"aria-label": s.remove,
|
|
42
|
-
onClick: () => e(m(o, t)),
|
|
43
|
-
children: "×"
|
|
44
|
-
})
|
|
45
|
-
]
|
|
46
|
-
}, `${t}:${i}`)), /* @__PURE__ */ r("button", {
|
|
47
|
-
type: "button",
|
|
48
|
-
className: "studio-editor-list__add",
|
|
49
|
-
onClick: () => e([...o, ""]),
|
|
50
|
-
children: s.add
|
|
51
|
-
})]
|
|
52
|
-
});
|
|
53
|
-
};
|
|
54
|
-
export {
|
|
55
|
-
$ as FieldListEditor
|
|
56
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FormField } from '@cratis/scene.model';
|
|
2
|
-
import { FieldMappingKind } from './FieldMappingKind';
|
|
3
|
-
/**
|
|
4
|
-
* A {@link FormField} together with the {@link FieldMappingKind} it classifies as - see `classifyFormFields`.
|
|
5
|
-
*/
|
|
6
|
-
export interface FieldMapping {
|
|
7
|
-
field: FormField;
|
|
8
|
-
kind: FieldMappingKind;
|
|
9
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The three population tiers a {@link FormField} can be in, plus the designer-only `Broken` state for a
|
|
3
|
-
* field whose source property no longer exists on the command - part of StudioIssues#157, surfacing the
|
|
4
|
-
* compiler's rename-breaks-the-build guarantee visually instead of only failing at build time.
|
|
5
|
-
*/
|
|
6
|
-
export declare enum FieldMappingKind {
|
|
7
|
-
/** `sourceProperty` and `composeUsing` are both unset - the field maps to a command property of the same name. */
|
|
8
|
-
AutoMapped = "autoMapped",
|
|
9
|
-
/** `sourceProperty` is set - the field maps to a differently-named command property. */
|
|
10
|
-
Renamed = "renamed",
|
|
11
|
-
/** `composeUsing` is set - the field's value is computed by a callback. */
|
|
12
|
-
Composed = "composed",
|
|
13
|
-
/** The field's source property (its own name, or `sourceProperty` when renamed) does not exist on the command. */
|
|
14
|
-
Broken = "broken"
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Form } from '@cratis/scene.model';
|
|
2
|
-
export interface FormDesignerProps {
|
|
3
|
-
form: Form;
|
|
4
|
-
/** The property names declared on the form's `forCommand` - see `classifyFormFields`. */
|
|
5
|
-
commandProperties: readonly string[];
|
|
6
|
-
/** Called with a field's name when its row is activated - the compose-using/rename affordances hand off to the caller rather than editing inline (see StudioIssues#157's open question). */
|
|
7
|
-
onFieldSelected?: (fieldName: string) => void;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* The field mapping surface for a {@link Form} - StudioIssues#157. Shows the populate source and every
|
|
11
|
-
* field's mapping tier, with a `Broken` state for a field whose source property no longer exists on the
|
|
12
|
-
* command, surfacing the compiler's rename-breaks-the-build guarantee visually instead of only at build
|
|
13
|
-
* time. `Composed` fields hand off `onFieldSelected` to the caller rather than editing the callback
|
|
14
|
-
* inline - the callback is arbitrary C#, so this designer is not a code editor.
|
|
15
|
-
*/
|
|
16
|
-
export declare function FormDesigner({ form, commandProperties, onFieldSelected }: FormDesignerProps): import("react").JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Which kind of `PopulateSource` a {@link Form} declares, or that it declares none - part of
|
|
3
|
-
* StudioIssues#157's populate-source picker.
|
|
4
|
-
*/
|
|
5
|
-
export declare enum PopulateSourceKind {
|
|
6
|
-
/** The form has no `populateSource` - its fields start empty. */
|
|
7
|
-
None = "none",
|
|
8
|
-
/** `populate via query <Query> [by <param>]`. */
|
|
9
|
-
ViaQuery = "viaQuery",
|
|
10
|
-
/** `populate from item`. */
|
|
11
|
-
FromItem = "fromItem"
|
|
12
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PopulateSource } from '@cratis/scene.model';
|
|
2
|
-
import { PopulateSourceKind } from './PopulateSourceKind';
|
|
3
|
-
/**
|
|
4
|
-
* A display-ready summary of a {@link Form}'s `populateSource` - part of StudioIssues#157's
|
|
5
|
-
* populate-source picker.
|
|
6
|
-
*/
|
|
7
|
-
export interface PopulateSourceSummary {
|
|
8
|
-
kind: PopulateSourceKind;
|
|
9
|
-
queryName?: string;
|
|
10
|
-
parameterNames: string[];
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Summarizes a {@link Form}'s `populateSource` for display. `PopulateSource` is a marker interface with no
|
|
14
|
-
* discriminant, so this narrows structurally on the property each variant actually declares
|
|
15
|
-
* (`queryName` for {@link PopulateViaQuery}, `itemBinding` for `PopulateFromItem`) - the same
|
|
16
|
-
* duck-typing approach `extractNavigationItem` (Cratis/Scene#2) uses for `Contribution.content.properties`.
|
|
17
|
-
*
|
|
18
|
-
* @param populateSource The form's `populateSource`, or `undefined` when it declares none.
|
|
19
|
-
* @returns The {@link PopulateSourceSummary}.
|
|
20
|
-
*/
|
|
21
|
-
export declare function summarizePopulateSource(populateSource: PopulateSource | undefined): PopulateSourceSummary;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Form } from '@cratis/scene.model';
|
|
2
|
-
import { FieldMapping } from './FieldMapping';
|
|
3
|
-
/**
|
|
4
|
-
* Classifies every field of a {@link Form} into its {@link FieldMappingKind} - part of StudioIssues#157's
|
|
5
|
-
* field mapping UI. `commandProperties` is the set of property names the form's `forCommand` actually
|
|
6
|
-
* declares (from the generated command proxy or the compiled Screenplay AST); this function does not fetch
|
|
7
|
-
* it, so the designer stays free to source that list however it has it in scope.
|
|
8
|
-
*
|
|
9
|
-
* @param form The {@link Form} whose fields to classify.
|
|
10
|
-
* @param commandProperties The property names declared on the form's target command.
|
|
11
|
-
* @returns One {@link FieldMapping} per field, in the form's own field order.
|
|
12
|
-
*/
|
|
13
|
-
export declare function classifyFormFields(form: Form, commandProperties: readonly string[]): FieldMapping[];
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { n as p, t as k } from "./HookOpensField-Ja5uMCr8.js";
|
|
2
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
3
|
-
import { Opens as s } from "@cratis/scene.model";
|
|
4
|
-
var b = ({ value: o, onChange: t, context: e, disabled: n }) => /* @__PURE__ */ i(k, {
|
|
5
|
-
hook: {
|
|
6
|
-
...o?.hook,
|
|
7
|
-
...l(o?.value)
|
|
8
|
-
},
|
|
9
|
-
environment: e.lookups.placement,
|
|
10
|
-
strings: e.strings.editors.placement,
|
|
11
|
-
disabled: n,
|
|
12
|
-
onChange: (r) => t({
|
|
13
|
-
value: r,
|
|
14
|
-
hook: o?.hook ?? {}
|
|
15
|
-
})
|
|
16
|
-
}), l = (o) => o === void 0 || o === s.Automatic ? {} : o.startsWith(s.Slot) ? {
|
|
17
|
-
opens: s.Slot,
|
|
18
|
-
...o.length > 5 ? { opensIn: o.slice(5) } : {}
|
|
19
|
-
} : { opens: o }, h = ({ value: o, onChange: t, context: e, disabled: n }) => /* @__PURE__ */ i(p, {
|
|
20
|
-
hook: o?.hook ?? {},
|
|
21
|
-
environment: e.lookups.placement,
|
|
22
|
-
strings: e.strings.editors.placement,
|
|
23
|
-
disabled: n,
|
|
24
|
-
...o?.outletSubject ? { outletSubject: o.outletSubject } : {},
|
|
25
|
-
value: {
|
|
26
|
-
...o?.subject ? { subject: o.subject } : {},
|
|
27
|
-
...o?.enabledWhen ? { enabledWhen: o.enabledWhen } : {}
|
|
28
|
-
},
|
|
29
|
-
onChange: (r) => t({
|
|
30
|
-
...r,
|
|
31
|
-
hook: o?.hook ?? {}
|
|
32
|
-
})
|
|
33
|
-
});
|
|
34
|
-
export {
|
|
35
|
-
h as HookEnabledEditor,
|
|
36
|
-
b as HookOpensEditor
|
|
37
|
-
};
|
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
import { a as C, s as j } from "./hookBinding-DOpu2dMp.js";
|
|
2
|
-
import { useEffect as y, useState as F } from "react";
|
|
3
|
-
import { jsx as o, jsxs as p } from "react/jsx-runtime";
|
|
4
|
-
import { Opens as t, OutletSubject as S } from "@cratis/scene.model";
|
|
5
|
-
import { EnablementOutcome as O, parseGuardCondition as w } from "@cratis/scene.engine";
|
|
6
|
-
var P = ({ hook: i, environment: l, strings: a, disabled: c, outletSubject: r, value: d, onChange: u }) => {
|
|
7
|
-
const v = d.subject ?? "", h = d.enabledWhen ?? "", [s, _] = F(h), f = s.trim() === "" || w(s) !== void 0;
|
|
8
|
-
y(() => _(h), [h]);
|
|
9
|
-
const e = () => {
|
|
10
|
-
f && s.trim() !== h.trim() && u({
|
|
11
|
-
...d,
|
|
12
|
-
enabledWhen: s
|
|
13
|
-
});
|
|
14
|
-
}, m = {
|
|
15
|
-
...i,
|
|
16
|
-
subject: d.subject ?? r ?? S.Screen,
|
|
17
|
-
...f && s.trim() !== "" ? { enabledWhen: s } : {}
|
|
18
|
-
}, b = j(m, l ?? {
|
|
19
|
-
slices: [],
|
|
20
|
-
slots: [],
|
|
21
|
-
itemFields: /* @__PURE__ */ new Set(),
|
|
22
|
-
routeParameters: []
|
|
23
|
-
}).enablement.steps;
|
|
24
|
-
return /* @__PURE__ */ p("div", {
|
|
25
|
-
className: "studio-placement",
|
|
26
|
-
"data-field": "enabled",
|
|
27
|
-
children: [
|
|
28
|
-
/* @__PURE__ */ p("label", {
|
|
29
|
-
className: "studio-placement__field",
|
|
30
|
-
children: [/* @__PURE__ */ o("span", { children: a.actsOn }), /* @__PURE__ */ o("select", {
|
|
31
|
-
value: v,
|
|
32
|
-
disabled: c,
|
|
33
|
-
onChange: (n) => u({
|
|
34
|
-
...d,
|
|
35
|
-
...n.target.value === "" ? { subject: void 0 } : { subject: n.target.value }
|
|
36
|
-
}),
|
|
37
|
-
children: [
|
|
38
|
-
"",
|
|
39
|
-
S.Item,
|
|
40
|
-
S.Screen
|
|
41
|
-
].map((n) => /* @__PURE__ */ o("option", {
|
|
42
|
-
value: n,
|
|
43
|
-
children: a.actsOnChoices[n]
|
|
44
|
-
}, n))
|
|
45
|
-
})]
|
|
46
|
-
}),
|
|
47
|
-
/* @__PURE__ */ p("label", {
|
|
48
|
-
className: "studio-placement__field",
|
|
49
|
-
children: [/* @__PURE__ */ o("span", { children: a.condition }), /* @__PURE__ */ o("input", {
|
|
50
|
-
value: s,
|
|
51
|
-
disabled: c,
|
|
52
|
-
placeholder: a.conditionPlaceholder,
|
|
53
|
-
"aria-invalid": !f || void 0,
|
|
54
|
-
onChange: (n) => _(n.target.value),
|
|
55
|
-
onBlur: e,
|
|
56
|
-
onKeyDown: (n) => {
|
|
57
|
-
n.key === "Enter" && (n.preventDefault(), e());
|
|
58
|
-
}
|
|
59
|
-
})]
|
|
60
|
-
}),
|
|
61
|
-
/* @__PURE__ */ o("p", {
|
|
62
|
-
className: "studio-placement__note",
|
|
63
|
-
children: f ? a.conditionHint : a.conditionUnreadable
|
|
64
|
-
}),
|
|
65
|
-
/* @__PURE__ */ o("p", {
|
|
66
|
-
className: "studio-placement__heading",
|
|
67
|
-
children: a.derivedFrom
|
|
68
|
-
}),
|
|
69
|
-
/* @__PURE__ */ p("ul", {
|
|
70
|
-
className: "studio-placement__steps",
|
|
71
|
-
"aria-label": a.derivedFrom,
|
|
72
|
-
children: [b.length === 0 && /* @__PURE__ */ o("li", {
|
|
73
|
-
"data-outcome": "passed",
|
|
74
|
-
children: a.alwaysEnabled
|
|
75
|
-
}), b.map((n) => /* @__PURE__ */ p("li", {
|
|
76
|
-
"data-outcome": n.outcome,
|
|
77
|
-
"data-blocked": n.outcome === O.Blocked || void 0,
|
|
78
|
-
children: [
|
|
79
|
-
/* @__PURE__ */ o("strong", { children: a.steps[n.check] }),
|
|
80
|
-
" ",
|
|
81
|
-
n.reason
|
|
82
|
-
]
|
|
83
|
-
}, n.check))]
|
|
84
|
-
})
|
|
85
|
-
]
|
|
86
|
-
});
|
|
87
|
-
}, k = [
|
|
88
|
-
t.Automatic,
|
|
89
|
-
t.None,
|
|
90
|
-
t.Dialog,
|
|
91
|
-
t.Drawer,
|
|
92
|
-
t.Slot
|
|
93
|
-
], x = (i) => [
|
|
94
|
-
"…",
|
|
95
|
-
...i.parameters.map((l) => l.value ?? `:${l.name}`),
|
|
96
|
-
i.segment
|
|
97
|
-
].join("/"), A = (i) => {
|
|
98
|
-
const { opensIn: l, ...a } = i;
|
|
99
|
-
return a;
|
|
100
|
-
}, D = (i, l, a) => j({
|
|
101
|
-
...a === t.Slot ? i : A(i),
|
|
102
|
-
opens: a
|
|
103
|
-
}, l).placement;
|
|
104
|
-
function E(i, l) {
|
|
105
|
-
const a = j(i, l), c = a.placement;
|
|
106
|
-
return c ? {
|
|
107
|
-
inspection: a,
|
|
108
|
-
decision: c,
|
|
109
|
-
options: k.map((r) => {
|
|
110
|
-
if (r === t.Automatic) return {
|
|
111
|
-
value: r,
|
|
112
|
-
available: !0,
|
|
113
|
-
reason: D(i, l, t.Automatic).reason
|
|
114
|
-
};
|
|
115
|
-
if (r === t.None) return {
|
|
116
|
-
value: r,
|
|
117
|
-
available: c.runDirectly.available,
|
|
118
|
-
reason: c.runDirectly.reason
|
|
119
|
-
};
|
|
120
|
-
if (r === t.Slot) {
|
|
121
|
-
const u = c.slots.filter((v) => v.offered);
|
|
122
|
-
return {
|
|
123
|
-
value: r,
|
|
124
|
-
available: u.length > 0,
|
|
125
|
-
reason: u.length > 0 ? "" : c.slots[0]?.reason ?? ""
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
const d = D(i, l, r);
|
|
129
|
-
return {
|
|
130
|
-
value: r,
|
|
131
|
-
available: d.resolved !== void 0,
|
|
132
|
-
reason: d.reason
|
|
133
|
-
};
|
|
134
|
-
}),
|
|
135
|
-
slots: c.slots
|
|
136
|
-
} : {
|
|
137
|
-
inspection: a,
|
|
138
|
-
options: [],
|
|
139
|
-
slots: []
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
var H = [
|
|
143
|
-
t.Automatic,
|
|
144
|
-
t.None,
|
|
145
|
-
t.Dialog,
|
|
146
|
-
t.Drawer,
|
|
147
|
-
t.Slot
|
|
148
|
-
], G = ({ hook: i, environment: l, strings: a, disabled: c, onChange: r }) => {
|
|
149
|
-
if (!l) return null;
|
|
150
|
-
if (!i.slice) return /* @__PURE__ */ o("p", {
|
|
151
|
-
className: "studio-placement__note",
|
|
152
|
-
children: a.chooseSlice
|
|
153
|
-
});
|
|
154
|
-
const { inspection: d, decision: u, options: v, slots: h } = E(i, l);
|
|
155
|
-
if (!u) return /* @__PURE__ */ o("p", {
|
|
156
|
-
className: "studio-placement__note",
|
|
157
|
-
children: a.chooseSlice
|
|
158
|
-
});
|
|
159
|
-
const s = C(i.opens, i.opensIn), _ = (e) => e === t.Slot ? s.startsWith("slot") : s === e, f = (e, m) => {
|
|
160
|
-
!c && m && r(e);
|
|
161
|
-
};
|
|
162
|
-
return /* @__PURE__ */ p("div", {
|
|
163
|
-
className: "studio-placement",
|
|
164
|
-
"data-field": "opens",
|
|
165
|
-
children: [
|
|
166
|
-
d.screenless && /* @__PURE__ */ o("p", {
|
|
167
|
-
className: "studio-placement__note",
|
|
168
|
-
"data-screenless": "",
|
|
169
|
-
children: a.screenless
|
|
170
|
-
}),
|
|
171
|
-
/* @__PURE__ */ o("div", {
|
|
172
|
-
role: "radiogroup",
|
|
173
|
-
"aria-label": a.opens,
|
|
174
|
-
className: "studio-placement__choices",
|
|
175
|
-
children: H.map((e) => {
|
|
176
|
-
const m = v.find((N) => N.value === e);
|
|
177
|
-
if (!m) return null;
|
|
178
|
-
const b = a.choices[e], n = !m.available;
|
|
179
|
-
return /* @__PURE__ */ o("div", {
|
|
180
|
-
className: "studio-placement__choice",
|
|
181
|
-
"data-chosen": _(e) || void 0,
|
|
182
|
-
"data-unavailable": n || void 0,
|
|
183
|
-
children: /* @__PURE__ */ p("button", {
|
|
184
|
-
type: "button",
|
|
185
|
-
role: "radio",
|
|
186
|
-
"aria-checked": _(e),
|
|
187
|
-
"aria-disabled": n || c || void 0,
|
|
188
|
-
"data-opens": e,
|
|
189
|
-
title: n ? m.reason : b.hint,
|
|
190
|
-
onClick: () => f(e === t.Slot ? C(t.Slot, h.find((N) => N.offered)?.name) : e, m.available),
|
|
191
|
-
children: [/* @__PURE__ */ o("strong", { children: b.label }), /* @__PURE__ */ o("span", { children: e === t.Slot && !n ? b.hint : m.reason || b.hint })]
|
|
192
|
-
})
|
|
193
|
-
}, e);
|
|
194
|
-
})
|
|
195
|
-
}),
|
|
196
|
-
_(t.Automatic) && /* @__PURE__ */ o("p", {
|
|
197
|
-
className: "studio-placement__resolved",
|
|
198
|
-
"data-resolved": "",
|
|
199
|
-
children: u.reason
|
|
200
|
-
}),
|
|
201
|
-
!d.screenless && /* @__PURE__ */ p("ul", {
|
|
202
|
-
className: "studio-placement__slots",
|
|
203
|
-
"aria-label": a.slotsHeading,
|
|
204
|
-
children: [h.length === 0 && /* @__PURE__ */ o("li", {
|
|
205
|
-
className: "studio-placement__note",
|
|
206
|
-
children: a.noSlots
|
|
207
|
-
}), h.map((e) => /* @__PURE__ */ o("li", {
|
|
208
|
-
"data-unavailable": !e.offered || void 0,
|
|
209
|
-
"data-chosen": s === `slot:${e.name}` || void 0,
|
|
210
|
-
children: /* @__PURE__ */ p("button", {
|
|
211
|
-
type: "button",
|
|
212
|
-
"aria-pressed": s === `slot:${e.name}`,
|
|
213
|
-
"aria-disabled": !e.offered || c || void 0,
|
|
214
|
-
"data-slot": e.name,
|
|
215
|
-
title: e.reason,
|
|
216
|
-
onClick: () => f(`slot:${e.name}`, e.offered),
|
|
217
|
-
children: [
|
|
218
|
-
/* @__PURE__ */ o("strong", { children: e.name }),
|
|
219
|
-
/* @__PURE__ */ o("span", { children: a.slotKind(e.role, e.routed) }),
|
|
220
|
-
/* @__PURE__ */ o("em", { children: e.offered && e.route ? a.slotRoute(x(e.route)) : e.reason })
|
|
221
|
-
]
|
|
222
|
-
})
|
|
223
|
-
}, e.name))]
|
|
224
|
-
})
|
|
225
|
-
]
|
|
226
|
-
});
|
|
227
|
-
};
|
|
228
|
-
export {
|
|
229
|
-
P as n,
|
|
230
|
-
G as t
|
|
231
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { n as t, t as d } from "./allowedIconChoices-KSkQ6blx.js";
|
|
2
|
-
import { jsx as p } from "react/jsx-runtime";
|
|
3
|
-
import { isIconReference as g } from "@cratis/scene.model";
|
|
4
|
-
var I = ({ value: a, onChange: s, descriptor: i, context: o, disabled: l, problem: n, id: e }) => {
|
|
5
|
-
const { icons: r } = o.lookups;
|
|
6
|
-
return /* @__PURE__ */ p(t, {
|
|
7
|
-
id: e,
|
|
8
|
-
value: g(a) ? a : void 0,
|
|
9
|
-
onChange: (c) => s(c),
|
|
10
|
-
catalog: r.catalog,
|
|
11
|
-
adapters: r.adapters,
|
|
12
|
-
allowed: d(i.choices),
|
|
13
|
-
readOnly: l,
|
|
14
|
-
validationMessage: n?.message,
|
|
15
|
-
strings: o.strings.icon,
|
|
16
|
-
pickerLabels: o.strings.iconPicker,
|
|
17
|
-
"aria-labelledby": `${e}-label`
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
export {
|
|
21
|
-
I as IconEditor
|
|
22
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { IconPickerAllowed, IconPickerLabels, IconPickerPlacement } from '@cratis/components/IconPicker';
|
|
2
|
-
import { EffectiveIconCatalog } from '@cratis/scene.engine';
|
|
3
|
-
import { IconReference } from '@cratis/scene.model';
|
|
4
|
-
import { IconAdapterRegistry } from '@cratis/scene.react';
|
|
5
|
-
import { IconPropertyFieldStrings } from './IconPropertyFieldStrings';
|
|
6
|
-
export interface IconPropertyFieldProps {
|
|
7
|
-
value: IconReference | null | undefined;
|
|
8
|
-
onChange: (value: IconReference) => void;
|
|
9
|
-
catalog: EffectiveIconCatalog;
|
|
10
|
-
adapters?: IconAdapterRegistry;
|
|
11
|
-
allowed?: IconPickerAllowed;
|
|
12
|
-
readOnly?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
validationMessage?: string;
|
|
15
|
-
showMessage?: boolean;
|
|
16
|
-
invalid?: boolean;
|
|
17
|
-
strings: IconPropertyFieldStrings;
|
|
18
|
-
pickerLabels?: IconPickerLabels;
|
|
19
|
-
placement?: IconPickerPlacement;
|
|
20
|
-
id?: string;
|
|
21
|
-
'aria-label'?: string;
|
|
22
|
-
'aria-labelledby'?: string;
|
|
23
|
-
'aria-describedby'?: string;
|
|
24
|
-
}
|
|
25
|
-
export declare function IconPropertyField({ value, onChange, catalog, adapters, allowed, readOnly, disabled, validationMessage, showMessage, invalid, strings, pickerLabels, placement, id, ...aria }: IconPropertyFieldProps): import("react").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IconPickerLabels } from '@cratis/components/IconPicker';
|
|
2
|
-
import { IconDiagnosticKind } from '@cratis/scene.engine';
|
|
3
|
-
export interface IconPropertyFieldStrings {
|
|
4
|
-
ariaLabel: string;
|
|
5
|
-
picker: IconPickerLabels;
|
|
6
|
-
diagnostics: Record<IconDiagnosticKind, string>;
|
|
7
|
-
notAllowed: string;
|
|
8
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IconPickerAllowed, IconPickerCatalog } from '@cratis/components/IconPicker';
|
|
2
|
-
import { EffectiveIconCatalog } from '@cratis/scene.engine';
|
|
3
|
-
import { IconReference } from '@cratis/scene.model';
|
|
4
|
-
import { IconValueProblem } from './IconValueProblem';
|
|
5
|
-
export declare function diagnoseIconValue(catalog: EffectiveIconCatalog, offered: IconPickerCatalog, value: IconReference | null | undefined, allowed?: IconPickerAllowed): IconValueProblem | undefined;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IconPickerCatalog } from '@cratis/components/IconPicker';
|
|
2
|
-
import { EffectiveIconCatalog, EffectiveIconEntry } from '@cratis/scene.engine';
|
|
3
|
-
import { IconAdapterRegistry } from '@cratis/scene.react';
|
|
4
|
-
import { IconPickerCatalogState } from './IconPickerCatalogState';
|
|
5
|
-
export declare function toIconPickerCatalog(catalog: EffectiveIconCatalog, entries: EffectiveIconEntry[], adapters?: IconAdapterRegistry, state?: IconPickerCatalogState): IconPickerCatalog;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EffectiveIconCatalog } from '@cratis/scene.engine';
|
|
2
|
-
import { IconAdapterRegistry } from '@cratis/scene.react';
|
|
3
|
-
import { UseIconPickerCatalogResult } from './UseIconPickerCatalogResult';
|
|
4
|
-
export declare function useIconPickerCatalog(catalog: EffectiveIconCatalog, adapters?: IconAdapterRegistry): UseIconPickerCatalogResult;
|