@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,115 +0,0 @@
|
|
|
1
|
-
import { Fragment as R, useId as T, useMemo as U, useRef as V, useState as g } from "react";
|
|
2
|
-
import { jsx as l, jsxs as i } from "react/jsx-runtime";
|
|
3
|
-
function $(u, a) {
|
|
4
|
-
const r = a.trim().toLowerCase();
|
|
5
|
-
return u.filter((c) => r === "" || c.label.toLowerCase().includes(r) || (c.group ?? "").toLowerCase().includes(r));
|
|
6
|
-
}
|
|
7
|
-
var H = ({ id: u, options: a, value: r, onChange: c, disabled: b, invalid: j, placeholder: O, searchLabel: v, emptyLabel: E, clearLabel: F, clearable: I, renderClosed: y, inline: o, ...w }) => {
|
|
8
|
-
const [K, N] = g(!1), d = o === !0 || K, [h, k] = g(""), [x, m] = g(0), D = T(), C = V(null), _ = a.find((e) => e.value === r), n = U(() => $(a, h), [a, h]), s = n.filter((e) => e.disabled !== !0), f = () => {
|
|
9
|
-
o !== !0 && N(!1), k("");
|
|
10
|
-
}, M = (e) => {
|
|
11
|
-
e.disabled || (c(e.value), f());
|
|
12
|
-
}, L = (e) => {
|
|
13
|
-
if (e.key === "Escape") {
|
|
14
|
-
if (o === !0) return;
|
|
15
|
-
e.stopPropagation(), f();
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
if (e.key === "ArrowDown" || e.key === "ArrowUp") {
|
|
19
|
-
if (e.preventDefault(), s.length === 0) return;
|
|
20
|
-
m((t) => (t + (e.key === "ArrowDown" ? 1 : -1) + s.length) % s.length);
|
|
21
|
-
} else if (e.key === "Enter") {
|
|
22
|
-
e.preventDefault();
|
|
23
|
-
const t = s[Math.min(x, s.length - 1)];
|
|
24
|
-
t && M(t);
|
|
25
|
-
}
|
|
26
|
-
}, p = n.some((e) => e.section !== void 0), S = (e) => p ? e.section ?? "" : e.group ?? "", q = [...new Set(n.map(S))].sort((e, t) => p ? 0 : e === "" ? -1 : t === "" ? 1 : 0), B = s[Math.min(x, Math.max(s.length - 1, 0))]?.value;
|
|
27
|
-
return /* @__PURE__ */ i("div", {
|
|
28
|
-
ref: C,
|
|
29
|
-
className: "studio-editor-select",
|
|
30
|
-
onKeyDown: d ? L : void 0,
|
|
31
|
-
onBlur: (e) => {
|
|
32
|
-
C.current?.contains(e.relatedTarget) || f();
|
|
33
|
-
},
|
|
34
|
-
children: [
|
|
35
|
-
o !== !0 && /* @__PURE__ */ l("button", {
|
|
36
|
-
type: "button",
|
|
37
|
-
id: u,
|
|
38
|
-
role: "combobox",
|
|
39
|
-
"aria-haspopup": "listbox",
|
|
40
|
-
"aria-expanded": d,
|
|
41
|
-
"aria-controls": d ? D : void 0,
|
|
42
|
-
"aria-invalid": j || void 0,
|
|
43
|
-
className: "studio-editor-select__trigger",
|
|
44
|
-
disabled: b,
|
|
45
|
-
...w,
|
|
46
|
-
onClick: () => {
|
|
47
|
-
N(!d), m(0);
|
|
48
|
-
},
|
|
49
|
-
children: y ? y(_) : /* @__PURE__ */ l("span", {
|
|
50
|
-
className: _ ? void 0 : "studio-editor-select__placeholder",
|
|
51
|
-
children: _?.label ?? O
|
|
52
|
-
})
|
|
53
|
-
}),
|
|
54
|
-
I === !0 && r !== void 0 && !b && /* @__PURE__ */ l("button", {
|
|
55
|
-
type: "button",
|
|
56
|
-
className: "studio-editor-select__clear",
|
|
57
|
-
"aria-label": F,
|
|
58
|
-
onClick: () => c(void 0),
|
|
59
|
-
children: "×"
|
|
60
|
-
}),
|
|
61
|
-
d && /* @__PURE__ */ i("div", {
|
|
62
|
-
className: `studio-editor-select__panel${o === !0 ? " studio-editor-select__panel--inline" : ""}`,
|
|
63
|
-
children: [(o !== !0 || a.length > 10) && /* @__PURE__ */ l("input", {
|
|
64
|
-
type: "search",
|
|
65
|
-
autoFocus: !0,
|
|
66
|
-
className: "studio-editor-select__search",
|
|
67
|
-
"aria-label": v,
|
|
68
|
-
placeholder: v,
|
|
69
|
-
value: h,
|
|
70
|
-
onChange: (e) => {
|
|
71
|
-
k(e.target.value), m(0);
|
|
72
|
-
}
|
|
73
|
-
}), /* @__PURE__ */ i("ul", {
|
|
74
|
-
id: D,
|
|
75
|
-
role: "listbox",
|
|
76
|
-
"aria-labelledby": w["aria-labelledby"],
|
|
77
|
-
className: "studio-editor-select__options",
|
|
78
|
-
children: [n.length === 0 && /* @__PURE__ */ l("li", {
|
|
79
|
-
className: "studio-editor-select__empty",
|
|
80
|
-
children: E
|
|
81
|
-
}), q.map((e) => /* @__PURE__ */ i("li", {
|
|
82
|
-
role: "presentation",
|
|
83
|
-
children: [e !== "" && /* @__PURE__ */ l("div", {
|
|
84
|
-
className: "studio-editor-select__group",
|
|
85
|
-
children: e
|
|
86
|
-
}), /* @__PURE__ */ l("ul", {
|
|
87
|
-
role: "presentation",
|
|
88
|
-
children: n.filter((t) => S(t) === e).map((t, A, P) => /* @__PURE__ */ i(R, { children: [p && t.group && (A === 0 || P[A - 1].group !== t.group) && /* @__PURE__ */ l("li", {
|
|
89
|
-
role: "presentation",
|
|
90
|
-
className: "studio-editor-select__subgroup",
|
|
91
|
-
children: t.group
|
|
92
|
-
}), /* @__PURE__ */ i("li", {
|
|
93
|
-
role: "option",
|
|
94
|
-
"aria-selected": t.value === r,
|
|
95
|
-
"aria-disabled": t.disabled || void 0,
|
|
96
|
-
className: [
|
|
97
|
-
"studio-editor-select__option",
|
|
98
|
-
t.value === B ? "studio-editor-select__option--active" : "",
|
|
99
|
-
t.value === r ? "studio-editor-select__option--chosen" : ""
|
|
100
|
-
].join(" ").trim(),
|
|
101
|
-
title: t.reason ?? (t.group ? t.group : void 0),
|
|
102
|
-
onMouseDown: (Q) => Q.preventDefault(),
|
|
103
|
-
onClick: () => M(t),
|
|
104
|
-
children: [/* @__PURE__ */ l("span", { children: t.label }), t.trailing !== void 0 ? /* @__PURE__ */ l("small", { children: t.trailing }) : t.disabled && t.reason && /* @__PURE__ */ l("small", { children: t.reason })]
|
|
105
|
-
})] }, t.value))
|
|
106
|
-
})]
|
|
107
|
-
}, e))]
|
|
108
|
-
})]
|
|
109
|
-
})
|
|
110
|
-
]
|
|
111
|
-
});
|
|
112
|
-
};
|
|
113
|
-
export {
|
|
114
|
-
H as t
|
|
115
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { n as h, t as n } from "./choiceKeys-DQcUX97p.js";
|
|
2
|
-
import { t as u } from "./SearchableSelect-BGZmobXo.js";
|
|
3
|
-
import { jsx as m } from "react/jsx-runtime";
|
|
4
|
-
var L = ({ value: o, onChange: i, descriptor: e, context: r, disabled: d, problem: b, id: s }) => {
|
|
5
|
-
const l = r.strings.editors.select, t = o ?? void 0, c = h(e.choices ?? [], t);
|
|
6
|
-
return /* @__PURE__ */ m(u, {
|
|
7
|
-
id: s,
|
|
8
|
-
options: c.map((a) => ({
|
|
9
|
-
value: a.key,
|
|
10
|
-
label: a.label,
|
|
11
|
-
...p(e.choices, a.key)
|
|
12
|
-
})),
|
|
13
|
-
value: t === void 0 ? void 0 : n(t),
|
|
14
|
-
disabled: d,
|
|
15
|
-
invalid: b !== void 0,
|
|
16
|
-
placeholder: l.placeholder,
|
|
17
|
-
searchLabel: l.search,
|
|
18
|
-
emptyLabel: l.empty,
|
|
19
|
-
clearLabel: l.clear,
|
|
20
|
-
clearable: e.constraints?.required !== !0,
|
|
21
|
-
"aria-labelledby": `${s}-label`,
|
|
22
|
-
onChange: (a) => i(a === void 0 ? void 0 : c.find((v) => v.key === a)?.value)
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
|
-
function p(o, i) {
|
|
26
|
-
const e = o?.find((r) => n(r.value) === i);
|
|
27
|
-
return e?.disabledReason === void 0 ? {} : {
|
|
28
|
-
disabled: !0,
|
|
29
|
-
reason: e.disabledReason
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
export {
|
|
33
|
-
L as SelectEditor
|
|
34
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { t as m } from "./SearchableSelect-BGZmobXo.js";
|
|
2
|
-
import { jsx as b } from "react/jsx-runtime";
|
|
3
|
-
function h(a, i, t) {
|
|
4
|
-
const l = a.slices.length > 0 ? a.slices : a.stateChangeSlices.map((e) => ({
|
|
5
|
-
id: e.id,
|
|
6
|
-
name: e.name,
|
|
7
|
-
kind: "StateChange",
|
|
8
|
-
path: e.origin
|
|
9
|
-
})), c = i !== void 0, r = l.map((e) => {
|
|
10
|
-
const o = i === void 0 || i.includes(e.kind);
|
|
11
|
-
return {
|
|
12
|
-
value: e.id,
|
|
13
|
-
label: e.name,
|
|
14
|
-
group: e.path.join(" › "),
|
|
15
|
-
...c ? {
|
|
16
|
-
section: o ? t.slice.sections.accepted : t.slice.sections.refused,
|
|
17
|
-
trailing: o ? e.path[0] ?? "" : t.slice.kindName(e.kind)
|
|
18
|
-
} : {},
|
|
19
|
-
...o ? {} : {
|
|
20
|
-
disabled: !0,
|
|
21
|
-
reason: t.slice.notKind(t.slice.kindName(i?.[0] ?? e.kind))
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
});
|
|
25
|
-
return c ? [...r.filter((e) => e.disabled !== !0), ...r.filter((e) => e.disabled === !0)] : r;
|
|
26
|
-
}
|
|
27
|
-
var f = ({ value: a, onChange: i, descriptor: t, context: l, disabled: c, problem: r, inline: e, id: o }) => {
|
|
28
|
-
const s = l.strings.editors, d = h(l.lookups, t.editorOptions?.kinds, s), n = typeof a == "string" && a !== "" ? a : void 0, p = n !== void 0 && !d.some((u) => u.value === n);
|
|
29
|
-
return /* @__PURE__ */ b(m, {
|
|
30
|
-
id: o,
|
|
31
|
-
...e ? { inline: e } : {},
|
|
32
|
-
options: p ? [...d, {
|
|
33
|
-
value: n,
|
|
34
|
-
label: n,
|
|
35
|
-
group: ""
|
|
36
|
-
}] : d,
|
|
37
|
-
value: n,
|
|
38
|
-
disabled: c,
|
|
39
|
-
invalid: p || r !== void 0,
|
|
40
|
-
placeholder: s.slice.placeholder,
|
|
41
|
-
searchLabel: s.select.search,
|
|
42
|
-
emptyLabel: s.select.empty,
|
|
43
|
-
clearLabel: s.select.clear,
|
|
44
|
-
clearable: t.constraints?.required !== !0,
|
|
45
|
-
"aria-labelledby": `${o}-label`,
|
|
46
|
-
onChange: i
|
|
47
|
-
});
|
|
48
|
-
};
|
|
49
|
-
export {
|
|
50
|
-
f as SliceEditor
|
|
51
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SliceEditor as r } from "./SliceEditor-BdiU5-Tg.js";
|
|
2
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
3
|
-
var d = (t) => /* @__PURE__ */ i(r, {
|
|
4
|
-
...t,
|
|
5
|
-
descriptor: {
|
|
6
|
-
...t.descriptor,
|
|
7
|
-
editorOptions: {
|
|
8
|
-
kinds: ["StateChange"],
|
|
9
|
-
...t.descriptor.editorOptions
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
export {
|
|
14
|
-
d as StateChangeEditor
|
|
15
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { t as s } from "./StructuredValueEditor-DZbDHWDg.js";
|
|
2
|
-
import { jsx as u } from "react/jsx-runtime";
|
|
3
|
-
var p = ({ value: r, onChange: t, descriptor: e, context: i, disabled: d, id: o }) => /* @__PURE__ */ u(s, {
|
|
4
|
-
descriptor: e,
|
|
5
|
-
value: r,
|
|
6
|
-
idPrefix: o,
|
|
7
|
-
strings: i.strings.structured,
|
|
8
|
-
disabled: d === !0,
|
|
9
|
-
onChange: t
|
|
10
|
-
});
|
|
11
|
-
export {
|
|
12
|
-
p as StructuredPropertyEditor
|
|
13
|
-
};
|
|
@@ -1,349 +0,0 @@
|
|
|
1
|
-
import { a as E, d as O, f as j, g as $, h as K, i as F, l as N, n as P, o as _, r as V, s as D, t as g, u as M, v as T, y as w } from "./structuredValue-vqCZttsk.js";
|
|
2
|
-
import { jsx as t, jsxs as m } from "react/jsx-runtime";
|
|
3
|
-
import { PropertyValueType as y } from "@cratis/scene.model";
|
|
4
|
-
var I = ({ descriptor: e, value: l, id: b, strings: a, disabled: n, onChange: o }) => {
|
|
5
|
-
const c = e.editorKind === O, r = g(l), u = (s) => o(s.length === 0 ? void 0 : s);
|
|
6
|
-
return /* @__PURE__ */ m("fieldset", {
|
|
7
|
-
className: "studio-editor-structured__list",
|
|
8
|
-
disabled: n,
|
|
9
|
-
children: [
|
|
10
|
-
/* @__PURE__ */ t("legend", { children: e.label }),
|
|
11
|
-
r.map((s, d) => /* @__PURE__ */ m("div", {
|
|
12
|
-
className: "studio-editor-structured__entry",
|
|
13
|
-
children: [
|
|
14
|
-
/* @__PURE__ */ t("input", {
|
|
15
|
-
id: `${b}-${d}`,
|
|
16
|
-
"aria-label": a.entry(d + 1),
|
|
17
|
-
type: c ? "number" : "text",
|
|
18
|
-
value: c ? typeof s == "number" ? String(s) : "" : typeof s == "string" ? s : "",
|
|
19
|
-
onChange: (i) => o(T(r, d, c ? i.target.value === "" ? 0 : Number(i.target.value) : i.target.value))
|
|
20
|
-
}),
|
|
21
|
-
/* @__PURE__ */ t("button", {
|
|
22
|
-
type: "button",
|
|
23
|
-
"aria-label": a.moveEntryUp(d + 1),
|
|
24
|
-
disabled: d === 0,
|
|
25
|
-
onClick: () => o(N(r, d, -1)),
|
|
26
|
-
children: a.moveUpText
|
|
27
|
-
}),
|
|
28
|
-
/* @__PURE__ */ t("button", {
|
|
29
|
-
type: "button",
|
|
30
|
-
"aria-label": a.moveEntryDown(d + 1),
|
|
31
|
-
disabled: d === r.length - 1,
|
|
32
|
-
onClick: () => o(N(r, d, 1)),
|
|
33
|
-
children: a.moveDownText
|
|
34
|
-
}),
|
|
35
|
-
/* @__PURE__ */ t("button", {
|
|
36
|
-
type: "button",
|
|
37
|
-
"aria-label": a.removeEntry(d + 1),
|
|
38
|
-
onClick: () => u(w(r, d)),
|
|
39
|
-
children: a.removeText
|
|
40
|
-
})
|
|
41
|
-
]
|
|
42
|
-
}, d)),
|
|
43
|
-
/* @__PURE__ */ t("button", {
|
|
44
|
-
type: "button",
|
|
45
|
-
onClick: () => o([...r, c ? 0 : ""]),
|
|
46
|
-
children: a.addEntry
|
|
47
|
-
})
|
|
48
|
-
]
|
|
49
|
-
});
|
|
50
|
-
}, U = (e) => typeof e == "number" ? "number" : typeof e == "boolean" ? "flag" : "text", L = ({ label: e, value: l, id: b, strings: a, disabled: n, onChange: o }) => {
|
|
51
|
-
const c = U(l), r = (u) => {
|
|
52
|
-
u !== c && o(u === "number" ? typeof l == "string" && l.trim() !== "" && Number.isFinite(Number(l)) ? Number(l) : 0 : u === "flag" ? l === !0 || l === "true" : l === void 0 ? void 0 : String(l));
|
|
53
|
-
};
|
|
54
|
-
return /* @__PURE__ */ m("div", {
|
|
55
|
-
className: "studio-editor-structured__scalar",
|
|
56
|
-
children: [/* @__PURE__ */ m("select", {
|
|
57
|
-
"aria-label": `${e} ${a.scalarType}`,
|
|
58
|
-
disabled: n,
|
|
59
|
-
value: c,
|
|
60
|
-
onChange: (u) => r(u.target.value),
|
|
61
|
-
children: [
|
|
62
|
-
/* @__PURE__ */ t("option", {
|
|
63
|
-
value: "text",
|
|
64
|
-
children: a.scalarText
|
|
65
|
-
}),
|
|
66
|
-
/* @__PURE__ */ t("option", {
|
|
67
|
-
value: "number",
|
|
68
|
-
children: a.scalarNumber
|
|
69
|
-
}),
|
|
70
|
-
/* @__PURE__ */ t("option", {
|
|
71
|
-
value: "flag",
|
|
72
|
-
children: a.scalarFlag
|
|
73
|
-
})
|
|
74
|
-
]
|
|
75
|
-
}), c === "flag" ? /* @__PURE__ */ m("label", { children: [/* @__PURE__ */ t("input", {
|
|
76
|
-
id: b,
|
|
77
|
-
type: "checkbox",
|
|
78
|
-
disabled: n,
|
|
79
|
-
checked: l === !0,
|
|
80
|
-
onChange: (u) => o(u.target.checked)
|
|
81
|
-
}), /* @__PURE__ */ t("span", { children: a.scalarFlagOn })] }) : /* @__PURE__ */ t("input", {
|
|
82
|
-
id: b,
|
|
83
|
-
"aria-label": e,
|
|
84
|
-
type: c === "number" ? "number" : "text",
|
|
85
|
-
disabled: n,
|
|
86
|
-
value: l === void 0 ? "" : String(l),
|
|
87
|
-
onChange: (u) => o(u.target.value === "" ? void 0 : c === "number" ? Number(u.target.value) : u.target.value)
|
|
88
|
-
})]
|
|
89
|
-
});
|
|
90
|
-
}, A = (e) => [
|
|
91
|
-
"string",
|
|
92
|
-
"number",
|
|
93
|
-
"boolean"
|
|
94
|
-
].includes(typeof e), B = ({ descriptor: e, value: l, id: b, strings: a, disabled: n, onChange: o }) => {
|
|
95
|
-
const c = _(l) ? l : {}, r = Object.entries(c), u = (i) => o(i.length === 0 ? void 0 : Object.fromEntries(i)), s = (i, f) => {
|
|
96
|
-
const p = f.trim();
|
|
97
|
-
p === "" || p === r[i][0] || r.some(([h], v) => v !== i && h === p) || u(r.map(([h, v], k) => k === i ? [p, v] : [h, v]));
|
|
98
|
-
}, d = () => {
|
|
99
|
-
let i = r.length + 1;
|
|
100
|
-
for (; `value${i}` in c; ) i++;
|
|
101
|
-
u([...r, [`value${i}`, ""]]);
|
|
102
|
-
};
|
|
103
|
-
return /* @__PURE__ */ m("fieldset", {
|
|
104
|
-
className: "studio-editor-structured__list",
|
|
105
|
-
disabled: n,
|
|
106
|
-
children: [
|
|
107
|
-
/* @__PURE__ */ t("legend", { children: e.label }),
|
|
108
|
-
r.map(([i, f], p) => /* @__PURE__ */ m("div", {
|
|
109
|
-
className: "studio-editor-structured__entry",
|
|
110
|
-
children: [
|
|
111
|
-
/* @__PURE__ */ t("input", {
|
|
112
|
-
"aria-label": a.mapName(p + 1),
|
|
113
|
-
defaultValue: i,
|
|
114
|
-
onBlur: (h) => {
|
|
115
|
-
s(p, h.target.value), h.target.value = i;
|
|
116
|
-
}
|
|
117
|
-
}),
|
|
118
|
-
A(f) ? /* @__PURE__ */ t(L, {
|
|
119
|
-
label: a.mapValue(i),
|
|
120
|
-
value: f,
|
|
121
|
-
id: `${b}-${p}`,
|
|
122
|
-
strings: a,
|
|
123
|
-
disabled: n,
|
|
124
|
-
onChange: (h) => u(r.map(([v, k]) => v === i ? [v, h === void 0 ? "" : h] : [v, k]))
|
|
125
|
-
}) : /* @__PURE__ */ t("span", { children: a.keptValue }),
|
|
126
|
-
/* @__PURE__ */ t("button", {
|
|
127
|
-
type: "button",
|
|
128
|
-
"aria-label": a.removeMapEntry(i),
|
|
129
|
-
onClick: () => u(r.filter(([h]) => h !== i)),
|
|
130
|
-
children: a.removeText
|
|
131
|
-
})
|
|
132
|
-
]
|
|
133
|
-
}, i)),
|
|
134
|
-
/* @__PURE__ */ t("button", {
|
|
135
|
-
type: "button",
|
|
136
|
-
onClick: d,
|
|
137
|
-
children: a.addMapEntry
|
|
138
|
-
})
|
|
139
|
-
]
|
|
140
|
-
});
|
|
141
|
-
}, C = ({ descriptor: e, value: l, id: b, strings: a, disabled: n, onChange: o }) => Array.isArray(l) ? /* @__PURE__ */ m("div", {
|
|
142
|
-
className: "studio-editor-structured__either",
|
|
143
|
-
children: [/* @__PURE__ */ t(I, {
|
|
144
|
-
descriptor: e,
|
|
145
|
-
value: l,
|
|
146
|
-
id: b,
|
|
147
|
-
strings: a,
|
|
148
|
-
disabled: n,
|
|
149
|
-
onChange: o
|
|
150
|
-
}), /* @__PURE__ */ t("button", {
|
|
151
|
-
type: "button",
|
|
152
|
-
disabled: n,
|
|
153
|
-
onClick: () => o(typeof l[0] == "string" && l[0] !== "" ? l[0] : void 0),
|
|
154
|
-
children: `${e.label}: ${a.useSingle}`
|
|
155
|
-
})]
|
|
156
|
-
}) : /* @__PURE__ */ m("div", {
|
|
157
|
-
className: "studio-editor-structured__either",
|
|
158
|
-
children: [/* @__PURE__ */ m("label", {
|
|
159
|
-
className: "studio-editor-structured__field",
|
|
160
|
-
children: [/* @__PURE__ */ t("span", { children: e.label }), /* @__PURE__ */ t("input", {
|
|
161
|
-
id: b,
|
|
162
|
-
disabled: n,
|
|
163
|
-
value: typeof l == "string" ? l : "",
|
|
164
|
-
onChange: (c) => o(c.target.value === "" ? void 0 : c.target.value)
|
|
165
|
-
})]
|
|
166
|
-
}), /* @__PURE__ */ t("button", {
|
|
167
|
-
type: "button",
|
|
168
|
-
disabled: n,
|
|
169
|
-
onClick: () => o(typeof l == "string" && l !== "" ? [l] : [""]),
|
|
170
|
-
children: `${e.label}: ${a.useList}`
|
|
171
|
-
})]
|
|
172
|
-
}), S = ({ descriptor: e, value: l, idPrefix: b, strings: a, disabled: n, onChange: o }) => {
|
|
173
|
-
const c = `${b}-${e.path}`;
|
|
174
|
-
switch (e.valueType) {
|
|
175
|
-
case y.String:
|
|
176
|
-
return /* @__PURE__ */ m("label", {
|
|
177
|
-
className: "studio-editor-structured__field",
|
|
178
|
-
children: [/* @__PURE__ */ t("span", { children: e.label }), /* @__PURE__ */ t("input", {
|
|
179
|
-
id: c,
|
|
180
|
-
disabled: n,
|
|
181
|
-
value: typeof l == "string" ? l : "",
|
|
182
|
-
onChange: (r) => o(r.target.value === "" ? void 0 : r.target.value)
|
|
183
|
-
})]
|
|
184
|
-
});
|
|
185
|
-
case y.Icon:
|
|
186
|
-
if (l === void 0 || typeof l == "string") return /* @__PURE__ */ m("label", {
|
|
187
|
-
className: "studio-editor-structured__field",
|
|
188
|
-
children: [/* @__PURE__ */ t("span", { children: e.label }), /* @__PURE__ */ t("input", {
|
|
189
|
-
id: c,
|
|
190
|
-
disabled: n,
|
|
191
|
-
placeholder: "Cratis.Icons.Lucide#plus",
|
|
192
|
-
value: l ?? "",
|
|
193
|
-
onChange: (r) => o(r.target.value === "" ? void 0 : r.target.value)
|
|
194
|
-
})]
|
|
195
|
-
});
|
|
196
|
-
break;
|
|
197
|
-
case y.Number:
|
|
198
|
-
return /* @__PURE__ */ m("label", {
|
|
199
|
-
className: "studio-editor-structured__field",
|
|
200
|
-
children: [/* @__PURE__ */ t("span", { children: e.label }), /* @__PURE__ */ t("input", {
|
|
201
|
-
id: c,
|
|
202
|
-
type: "number",
|
|
203
|
-
disabled: n,
|
|
204
|
-
value: typeof l == "number" ? String(l) : "",
|
|
205
|
-
onChange: (r) => o(r.target.value === "" ? void 0 : Number(r.target.value))
|
|
206
|
-
})]
|
|
207
|
-
});
|
|
208
|
-
case y.Boolean:
|
|
209
|
-
return /* @__PURE__ */ m("label", {
|
|
210
|
-
className: "studio-editor-structured__field studio-editor-structured__field--flag",
|
|
211
|
-
children: [/* @__PURE__ */ t("input", {
|
|
212
|
-
id: c,
|
|
213
|
-
type: "checkbox",
|
|
214
|
-
disabled: n,
|
|
215
|
-
checked: l === !0,
|
|
216
|
-
onChange: (r) => o(r.target.checked)
|
|
217
|
-
}), /* @__PURE__ */ t("span", { children: e.label })]
|
|
218
|
-
});
|
|
219
|
-
case y.Enum: {
|
|
220
|
-
const r = e.choices ?? [], u = r.findIndex((s) => s.value === l);
|
|
221
|
-
return /* @__PURE__ */ m("label", {
|
|
222
|
-
className: "studio-editor-structured__field",
|
|
223
|
-
children: [/* @__PURE__ */ t("span", { children: e.label }), /* @__PURE__ */ m("select", {
|
|
224
|
-
id: c,
|
|
225
|
-
disabled: n,
|
|
226
|
-
value: u < 0 ? "" : String(u),
|
|
227
|
-
onChange: (s) => o(s.target.value === "" ? void 0 : r[Number(s.target.value)]?.value),
|
|
228
|
-
children: [/* @__PURE__ */ t("option", {
|
|
229
|
-
value: "",
|
|
230
|
-
children: a.unset
|
|
231
|
-
}), r.map((s, d) => /* @__PURE__ */ t("option", {
|
|
232
|
-
value: String(d),
|
|
233
|
-
children: s.label
|
|
234
|
-
}, d))]
|
|
235
|
-
})]
|
|
236
|
-
});
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
if (E(e) && e.editorKind === j) return /* @__PURE__ */ m("label", {
|
|
240
|
-
className: "studio-editor-structured__field",
|
|
241
|
-
children: [/* @__PURE__ */ t("span", { children: e.label }), /* @__PURE__ */ t(L, {
|
|
242
|
-
label: e.label,
|
|
243
|
-
value: l,
|
|
244
|
-
id: c,
|
|
245
|
-
strings: a,
|
|
246
|
-
disabled: n,
|
|
247
|
-
onChange: o
|
|
248
|
-
})]
|
|
249
|
-
});
|
|
250
|
-
if (E(e) && e.editorKind === K) return /* @__PURE__ */ t(C, {
|
|
251
|
-
descriptor: e,
|
|
252
|
-
value: l,
|
|
253
|
-
id: c,
|
|
254
|
-
strings: a,
|
|
255
|
-
disabled: n,
|
|
256
|
-
onChange: o
|
|
257
|
-
});
|
|
258
|
-
if (D(e)) return /* @__PURE__ */ t(B, {
|
|
259
|
-
descriptor: e,
|
|
260
|
-
value: l,
|
|
261
|
-
id: c,
|
|
262
|
-
strings: a,
|
|
263
|
-
disabled: n,
|
|
264
|
-
onChange: o
|
|
265
|
-
});
|
|
266
|
-
if (E(e)) return /* @__PURE__ */ t(I, {
|
|
267
|
-
descriptor: e,
|
|
268
|
-
value: l,
|
|
269
|
-
id: c,
|
|
270
|
-
strings: a,
|
|
271
|
-
disabled: n,
|
|
272
|
-
onChange: o
|
|
273
|
-
});
|
|
274
|
-
if (F(e)) return /* @__PURE__ */ m("fieldset", {
|
|
275
|
-
className: "studio-editor-structured__object",
|
|
276
|
-
disabled: n,
|
|
277
|
-
children: [/* @__PURE__ */ t("legend", { children: e.label }), e.properties.map((r) => /* @__PURE__ */ t(S, {
|
|
278
|
-
descriptor: r,
|
|
279
|
-
value: _(l) ? l[r.path] : void 0,
|
|
280
|
-
idPrefix: c,
|
|
281
|
-
strings: a,
|
|
282
|
-
disabled: n,
|
|
283
|
-
onChange: (u) => o($(l, r.path, u))
|
|
284
|
-
}, r.path))]
|
|
285
|
-
});
|
|
286
|
-
if (V(e)) {
|
|
287
|
-
const r = g(l), u = e.item.label ?? a.item, s = e.item.positional === !0;
|
|
288
|
-
return /* @__PURE__ */ m("fieldset", {
|
|
289
|
-
className: "studio-editor-structured__collection",
|
|
290
|
-
disabled: n,
|
|
291
|
-
children: [
|
|
292
|
-
/* @__PURE__ */ t("legend", { children: e.label }),
|
|
293
|
-
r.map((d, i) => /* @__PURE__ */ m("fieldset", {
|
|
294
|
-
className: "studio-editor-structured__item",
|
|
295
|
-
children: [
|
|
296
|
-
/* @__PURE__ */ t("legend", { children: a.itemTitle(u, i + 1) }),
|
|
297
|
-
e.item.properties.map((f) => /* @__PURE__ */ t(S, {
|
|
298
|
-
descriptor: f,
|
|
299
|
-
value: _(d) ? d[f.path] : void 0,
|
|
300
|
-
idPrefix: `${c}-${i}`,
|
|
301
|
-
strings: a,
|
|
302
|
-
disabled: n,
|
|
303
|
-
onChange: (p) => o(T(r, i, $(P(d, s), f.path, p) ?? {}))
|
|
304
|
-
}, f.path)),
|
|
305
|
-
/* @__PURE__ */ m("div", {
|
|
306
|
-
className: "studio-editor-structured__actions",
|
|
307
|
-
children: [
|
|
308
|
-
/* @__PURE__ */ t("button", {
|
|
309
|
-
type: "button",
|
|
310
|
-
"aria-label": a.moveUp(u, i + 1),
|
|
311
|
-
disabled: i === 0,
|
|
312
|
-
onClick: () => o(N(r, i, -1)),
|
|
313
|
-
children: a.moveUpText
|
|
314
|
-
}),
|
|
315
|
-
/* @__PURE__ */ t("button", {
|
|
316
|
-
type: "button",
|
|
317
|
-
"aria-label": a.moveDown(u, i + 1),
|
|
318
|
-
disabled: i === r.length - 1,
|
|
319
|
-
onClick: () => o(N(r, i, 1)),
|
|
320
|
-
children: a.moveDownText
|
|
321
|
-
}),
|
|
322
|
-
/* @__PURE__ */ t("button", {
|
|
323
|
-
type: "button",
|
|
324
|
-
"aria-label": a.remove(u, i + 1),
|
|
325
|
-
onClick: () => o(w(r, i)),
|
|
326
|
-
children: a.removeText
|
|
327
|
-
})
|
|
328
|
-
]
|
|
329
|
-
})
|
|
330
|
-
]
|
|
331
|
-
}, !s && _(d) && typeof d.id == "string" ? d.id : i)),
|
|
332
|
-
/* @__PURE__ */ t("button", {
|
|
333
|
-
type: "button",
|
|
334
|
-
disabled: e.constraints?.maximumItems !== void 0 && r.length >= e.constraints.maximumItems,
|
|
335
|
-
onClick: () => o([...r, M(s)]),
|
|
336
|
-
children: a.add(u)
|
|
337
|
-
})
|
|
338
|
-
]
|
|
339
|
-
});
|
|
340
|
-
}
|
|
341
|
-
return /* @__PURE__ */ t("p", {
|
|
342
|
-
className: "studio-editor-structured__undescribed",
|
|
343
|
-
role: "alert",
|
|
344
|
-
children: a.noEditor(e.label)
|
|
345
|
-
});
|
|
346
|
-
};
|
|
347
|
-
export {
|
|
348
|
-
S as t
|
|
349
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { o as n } from "./structuredValue-vqCZttsk.js";
|
|
2
|
-
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
3
|
-
var a = (r) => r == null ? "" : Array.isArray(r) ? `${r.length}` : n(r) ? Object.keys(r).length === 0 ? "" : Object.keys(r).join(", ") : String(r), u = ({ value: r, descriptor: i, context: m, id: s }) => {
|
|
4
|
-
const t = m.strings.editors.summary, o = a(r);
|
|
5
|
-
return /* @__PURE__ */ d("p", {
|
|
6
|
-
id: s,
|
|
7
|
-
className: "studio-editor-summary",
|
|
8
|
-
children: [/* @__PURE__ */ e("span", { children: o === "" ? t.empty : o }), /* @__PURE__ */ e("small", {
|
|
9
|
-
className: "studio-editor-properties__hint",
|
|
10
|
-
children: t.editedBy(y(i.editorKind))
|
|
11
|
-
})]
|
|
12
|
-
});
|
|
13
|
-
}, c = {
|
|
14
|
-
commandFormLayout: "the Command form section",
|
|
15
|
-
fieldWidths: "the Command form section",
|
|
16
|
-
commandFields: "the Command form section",
|
|
17
|
-
commandFormFieldPlacement: "the Command form section",
|
|
18
|
-
size: "the Layout section",
|
|
19
|
-
gridDefinitions: "the Layout section"
|
|
20
|
-
}, y = (r) => (r !== void 0 ? c[r] : void 0) ?? "its own editor";
|
|
21
|
-
export {
|
|
22
|
-
u as SummaryEditor
|
|
23
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { ApplicableTemplateSet } from '@cratis/scene.engine';
|
|
2
|
-
import { TemplateReference } from '../ScreenTemplates/TemplateReference';
|
|
3
|
-
import { TemplatePickerHandlers } from './TemplatePickerHandlers';
|
|
4
|
-
import { TemplatePickerLabels } from './TemplatePickerLabels';
|
|
5
|
-
export interface TemplatePickerProps {
|
|
6
|
-
/** What applies at the target - Scene's `applicableTemplates`. */
|
|
7
|
-
applicable: ApplicableTemplateSet;
|
|
8
|
-
/** The template in effect, which gets the check. */
|
|
9
|
-
current?: TemplateReference;
|
|
10
|
-
/** What to show for it in the closed control. */
|
|
11
|
-
currentLabel?: string;
|
|
12
|
-
/** A line under the control, for example where an inherited template was chosen. */
|
|
13
|
-
status?: string;
|
|
14
|
-
/** The labels to use. */
|
|
15
|
-
labels: TemplatePickerLabels;
|
|
16
|
-
/** What choosing does. */
|
|
17
|
-
handlers: TemplatePickerHandlers;
|
|
18
|
-
/** The accessible name of the control. */
|
|
19
|
-
ariaLabel: string;
|
|
20
|
-
/** Whether the control can be used. */
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* The control that chooses a template: a select-shaped button showing what is in effect, which opens the one
|
|
25
|
-
* {@link TemplatePickerMenu}. It is parameterised by the target alone - what applies comes from Scene - so every
|
|
26
|
-
* place that applies a template uses this and none draws a menu of its own (spec TPL4).
|
|
27
|
-
*/
|
|
28
|
-
export declare const TemplatePicker: ({ applicable, current, currentLabel, status, labels, handlers, ariaLabel, disabled }: TemplatePickerProps) => import("react").JSX.Element;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ApplicableTemplate } from '@cratis/scene.engine';
|
|
2
|
-
/** What choosing in the template picker does. */
|
|
3
|
-
export interface TemplatePickerHandlers {
|
|
4
|
-
/** A template was chosen: the reference to store. */
|
|
5
|
-
onChoose: (template: ApplicableTemplate) => void;
|
|
6
|
-
/** The user asked to copy a blueprint template into their own (spec TPL3). Absent when copying is not offered. */
|
|
7
|
-
onCopyToMine?: (template: ApplicableTemplate) => void;
|
|
8
|
-
/** The user asked to look at a template before choosing it. Absent when the host cannot show one. */
|
|
9
|
-
onPreview?: (template: ApplicableTemplate) => void;
|
|
10
|
-
/** The user asked to browse every template in the template browser, where a blueprint can also be added to the UI profile. Absent when the host has no browser. */
|
|
11
|
-
onBrowseAll?: () => void;
|
|
12
|
-
/** The user asked for a new template made from what is there now. Absent when that is not offered. */
|
|
13
|
-
onNewFromCurrent?: () => void;
|
|
14
|
-
/** The user gave up the choice, so the level inherits again (or has no template). Absent when there is nothing to give up. */
|
|
15
|
-
onClear?: () => void;
|
|
16
|
-
}
|