@cratis/event-models 0.363.3 → 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,65 +0,0 @@
|
|
|
1
|
-
import { useState as b } from "react";
|
|
2
|
-
import { jsx as r, jsxs as l } from "react/jsx-runtime";
|
|
3
|
-
var u = [
|
|
4
|
-
"inherit",
|
|
5
|
-
"extend",
|
|
6
|
-
"override"
|
|
7
|
-
], g = ({ value: i, onChange: n, context: d, disabled: p, id: c }) => {
|
|
8
|
-
const t = d.strings.editors.inheritanceMode, o = i !== void 0 && u.includes(i) ? i : "inherit", [h, s] = b(!1), m = (e) => {
|
|
9
|
-
if (e !== o) {
|
|
10
|
-
if (o === "inherit" && e === "override") {
|
|
11
|
-
s(!0);
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
s(!1), n(e);
|
|
15
|
-
}
|
|
16
|
-
}, a = (e) => {
|
|
17
|
-
s(!1), n("override"), d.session?.copyInheritedItems?.(e);
|
|
18
|
-
};
|
|
19
|
-
return /* @__PURE__ */ l("div", {
|
|
20
|
-
id: c,
|
|
21
|
-
className: "studio-editor-mode",
|
|
22
|
-
children: [
|
|
23
|
-
/* @__PURE__ */ r("div", {
|
|
24
|
-
className: "studio-editor-segments",
|
|
25
|
-
role: "radiogroup",
|
|
26
|
-
"aria-labelledby": `${c}-label`,
|
|
27
|
-
children: u.map((e) => /* @__PURE__ */ r("button", {
|
|
28
|
-
type: "button",
|
|
29
|
-
role: "radio",
|
|
30
|
-
"aria-checked": e === o,
|
|
31
|
-
disabled: p,
|
|
32
|
-
className: `studio-editor-segment${e === o ? " studio-editor-segment--chosen" : ""}`,
|
|
33
|
-
onClick: () => m(e),
|
|
34
|
-
children: t.modes[e].label
|
|
35
|
-
}, e))
|
|
36
|
-
}),
|
|
37
|
-
/* @__PURE__ */ r("p", {
|
|
38
|
-
className: "studio-editor-properties__hint",
|
|
39
|
-
children: t.modes[o].effect
|
|
40
|
-
}),
|
|
41
|
-
h && /* @__PURE__ */ l("div", {
|
|
42
|
-
className: "studio-editor-mode__prompt",
|
|
43
|
-
role: "alertdialog",
|
|
44
|
-
"aria-label": t.copyPrompt,
|
|
45
|
-
children: [
|
|
46
|
-
/* @__PURE__ */ r("span", { children: t.copyPrompt }),
|
|
47
|
-
/* @__PURE__ */ r("button", {
|
|
48
|
-
type: "button",
|
|
49
|
-
autoFocus: !0,
|
|
50
|
-
onClick: () => a(!0),
|
|
51
|
-
children: t.copyYes
|
|
52
|
-
}),
|
|
53
|
-
/* @__PURE__ */ r("button", {
|
|
54
|
-
type: "button",
|
|
55
|
-
onClick: () => a(!1),
|
|
56
|
-
children: t.copyNo
|
|
57
|
-
})
|
|
58
|
-
]
|
|
59
|
-
})
|
|
60
|
-
]
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
export {
|
|
64
|
-
g as InheritanceModeEditor
|
|
65
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { l as d, t as g, v as N, y as _ } from "./structuredValue-vqCZttsk.js";
|
|
2
|
-
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
3
|
-
var k = ({ value: m, onChange: b, descriptor: n, context: h, disabled: p, id: v }) => {
|
|
4
|
-
const l = h.strings.editors.list, a = n.editorKind === "numberList", e = g(m), i = (o) => b(o.length === 0 ? void 0 : o);
|
|
5
|
-
return /* @__PURE__ */ c("fieldset", {
|
|
6
|
-
id: v,
|
|
7
|
-
className: "studio-editor-list",
|
|
8
|
-
disabled: p,
|
|
9
|
-
children: [e.map((o, t) => /* @__PURE__ */ c("div", {
|
|
10
|
-
className: "studio-editor-list__row",
|
|
11
|
-
children: [
|
|
12
|
-
/* @__PURE__ */ s("input", {
|
|
13
|
-
className: "studio-editor-field__input",
|
|
14
|
-
type: a ? "number" : "text",
|
|
15
|
-
"aria-label": `${n.label} ${t + 1}`,
|
|
16
|
-
defaultValue: String(o ?? ""),
|
|
17
|
-
onBlur: (f) => {
|
|
18
|
-
const u = f.target.value, r = a ? Number(u) : u;
|
|
19
|
-
r !== o && (!a || Number.isFinite(r)) && i(N(e, t, r));
|
|
20
|
-
}
|
|
21
|
-
}),
|
|
22
|
-
/* @__PURE__ */ s("button", {
|
|
23
|
-
type: "button",
|
|
24
|
-
"aria-label": l.moveUp,
|
|
25
|
-
disabled: t === 0,
|
|
26
|
-
onClick: () => i(d(e, t, -1)),
|
|
27
|
-
children: "↑"
|
|
28
|
-
}),
|
|
29
|
-
/* @__PURE__ */ s("button", {
|
|
30
|
-
type: "button",
|
|
31
|
-
"aria-label": l.moveDown,
|
|
32
|
-
disabled: t === e.length - 1,
|
|
33
|
-
onClick: () => i(d(e, t, 1)),
|
|
34
|
-
children: "↓"
|
|
35
|
-
}),
|
|
36
|
-
/* @__PURE__ */ s("button", {
|
|
37
|
-
type: "button",
|
|
38
|
-
"aria-label": l.remove,
|
|
39
|
-
onClick: () => i(_(e, t)),
|
|
40
|
-
children: "×"
|
|
41
|
-
})
|
|
42
|
-
]
|
|
43
|
-
}, t)), /* @__PURE__ */ s("button", {
|
|
44
|
-
type: "button",
|
|
45
|
-
className: "studio-editor-list__add",
|
|
46
|
-
onClick: () => i([...e, a ? 0 : ""]),
|
|
47
|
-
children: l.add
|
|
48
|
-
})]
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
|
-
export {
|
|
52
|
-
k as ListEditor
|
|
53
|
-
};
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { o as h } from "./structuredValue-vqCZttsk.js";
|
|
2
|
-
import { jsx as n, jsxs as p } from "react/jsx-runtime";
|
|
3
|
-
var b = (t) => h(t) && typeof t.module == "string" && t.module !== "" ? {
|
|
4
|
-
module: t.module,
|
|
5
|
-
...typeof t.feature == "string" && t.feature !== "" ? { feature: t.feature } : {}
|
|
6
|
-
} : void 0, u = (t, o) => t?.module === o?.module && (t?.feature ?? "") === (o?.feature ?? "");
|
|
7
|
-
function f(t, o, s, d) {
|
|
8
|
-
return o.flatMap((i) => {
|
|
9
|
-
const r = s ? `${s}.${i.id}` : i.id;
|
|
10
|
-
return [{
|
|
11
|
-
key: `${t}.${r}`,
|
|
12
|
-
label: i.name,
|
|
13
|
-
depth: d,
|
|
14
|
-
target: {
|
|
15
|
-
module: t,
|
|
16
|
-
feature: r
|
|
17
|
-
},
|
|
18
|
-
module: !1,
|
|
19
|
-
owner: t
|
|
20
|
-
}, ...f(t, i.features, r, d + 1)];
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
var k = (t) => t.modules.flatMap((o) => [{
|
|
24
|
-
key: o.id,
|
|
25
|
-
label: o.name,
|
|
26
|
-
depth: 0,
|
|
27
|
-
target: { module: o.id },
|
|
28
|
-
module: !0,
|
|
29
|
-
owner: o.id
|
|
30
|
-
}, ...f(o.id, o.features, "", 1)]), _ = ({ value: t, onChange: o, context: s, disabled: d, id: i }) => {
|
|
31
|
-
const r = s.strings.editors.navigationItemTarget, g = s.lookups.structure ?? { modules: [] }, c = k(g), a = b(t), m = s.lookups.navigationModule, l = (e) => m !== void 0 && e.owner !== m, v = a !== void 0 && !c.some((e) => u(e.target, a));
|
|
32
|
-
return /* @__PURE__ */ p("div", {
|
|
33
|
-
id: i,
|
|
34
|
-
className: "studio-editor-target",
|
|
35
|
-
role: "listbox",
|
|
36
|
-
"aria-labelledby": `${i}-label`,
|
|
37
|
-
"aria-disabled": d,
|
|
38
|
-
children: [
|
|
39
|
-
/* @__PURE__ */ n("button", {
|
|
40
|
-
type: "button",
|
|
41
|
-
role: "option",
|
|
42
|
-
"aria-selected": a === void 0,
|
|
43
|
-
disabled: d,
|
|
44
|
-
className: "studio-editor-target__row",
|
|
45
|
-
"data-chosen": a === void 0 || void 0,
|
|
46
|
-
onClick: () => o(void 0),
|
|
47
|
-
children: r.notLinked
|
|
48
|
-
}),
|
|
49
|
-
c.map((e) => /* @__PURE__ */ p("button", {
|
|
50
|
-
type: "button",
|
|
51
|
-
role: "option",
|
|
52
|
-
"aria-selected": u(e.target, a),
|
|
53
|
-
"aria-disabled": l(e) || void 0,
|
|
54
|
-
disabled: d,
|
|
55
|
-
"data-module": e.module || void 0,
|
|
56
|
-
"data-chosen": u(e.target, a) || void 0,
|
|
57
|
-
className: "studio-editor-target__row",
|
|
58
|
-
title: l(e) ? r.outOfScope : void 0,
|
|
59
|
-
style: { paddingInlineStart: `${12 + e.depth * 16}px` },
|
|
60
|
-
onClick: () => {
|
|
61
|
-
l(e) || o(e.target);
|
|
62
|
-
},
|
|
63
|
-
children: [/* @__PURE__ */ n("span", { children: e.label }), e.module && /* @__PURE__ */ n("span", {
|
|
64
|
-
className: "studio-editor-target__kind",
|
|
65
|
-
children: r.module
|
|
66
|
-
})]
|
|
67
|
-
}, e.key)),
|
|
68
|
-
v && /* @__PURE__ */ n("span", {
|
|
69
|
-
className: "studio-editor-chip studio-editor-chip--error",
|
|
70
|
-
role: "alert",
|
|
71
|
-
children: r.unresolved([a.module, a.feature].filter(Boolean).join(" › "))
|
|
72
|
-
})
|
|
73
|
-
]
|
|
74
|
-
});
|
|
75
|
-
};
|
|
76
|
-
export {
|
|
77
|
-
_ as NavigationItemTargetEditor
|
|
78
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { o as g } from "./structuredValue-vqCZttsk.js";
|
|
2
|
-
import { t as v } from "./SearchableSelect-BGZmobXo.js";
|
|
3
|
-
import { Fragment as f, jsx as l, jsxs as y } from "react/jsx-runtime";
|
|
4
|
-
var T = (o) => typeof o == "string" && o !== "" ? o : g(o) && typeof o.screen == "string" && o.screen !== "" ? o.screen : void 0, C = ({ value: o, onChange: b, descriptor: t, context: n, disabled: h, id: c }) => {
|
|
5
|
-
const r = n.strings.editors, d = n.lookups.destinations, s = T(o), a = d.find((e) => e.id === s), i = s !== void 0 && a === void 0, m = t.valueType === "destination", p = d.map((e) => ({
|
|
6
|
-
value: e.id,
|
|
7
|
-
label: e.label,
|
|
8
|
-
...e.group ? { group: e.group } : {}
|
|
9
|
-
})), u = (e) => [...e.group ? e.group.split(/\s*[>›/]\s*/) : [], e.label].join(" › ");
|
|
10
|
-
return /* @__PURE__ */ y(f, { children: [/* @__PURE__ */ l(v, {
|
|
11
|
-
id: c,
|
|
12
|
-
options: i ? [...p, {
|
|
13
|
-
value: s,
|
|
14
|
-
label: s
|
|
15
|
-
}] : p,
|
|
16
|
-
value: s,
|
|
17
|
-
disabled: h,
|
|
18
|
-
invalid: i,
|
|
19
|
-
placeholder: r.navigationTarget.placeholder,
|
|
20
|
-
searchLabel: r.select.search,
|
|
21
|
-
emptyLabel: r.select.empty,
|
|
22
|
-
clearLabel: r.select.clear,
|
|
23
|
-
clearable: t.constraints?.required !== !0,
|
|
24
|
-
"aria-labelledby": `${c}-label`,
|
|
25
|
-
renderClosed: (e) => /* @__PURE__ */ l("span", {
|
|
26
|
-
className: e ? void 0 : "studio-editor-select__placeholder",
|
|
27
|
-
children: a ? u(a) : e?.label ?? r.navigationTarget.placeholder
|
|
28
|
-
}),
|
|
29
|
-
onChange: (e) => b(e === void 0 ? void 0 : m ? {
|
|
30
|
-
...g(o) ? o : {},
|
|
31
|
-
screen: e
|
|
32
|
-
} : e)
|
|
33
|
-
}), i && /* @__PURE__ */ l("span", {
|
|
34
|
-
className: "studio-editor-chip studio-editor-chip--error",
|
|
35
|
-
role: "alert",
|
|
36
|
-
children: r.navigationTarget.unresolved(s)
|
|
37
|
-
})] });
|
|
38
|
-
};
|
|
39
|
-
export {
|
|
40
|
-
C as NavigationTargetEditor
|
|
41
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { t as h } from "./draftProblem-BGC5Gfsv.js";
|
|
2
|
-
import { useEffect as j, useState as b } from "react";
|
|
3
|
-
import { jsx as y, jsxs as k } from "react/jsx-runtime";
|
|
4
|
-
var S = ({ value: s, onChange: a, descriptor: e, context: N, disabled: g, problem: x, id: d }) => {
|
|
5
|
-
const t = typeof s == "number" ? String(s) : "", [o, r] = b(t), [E, n] = b();
|
|
6
|
-
j(() => {
|
|
7
|
-
r(t), n(void 0);
|
|
8
|
-
}, [t]);
|
|
9
|
-
const { minimum: m, maximum: u, integer: _ } = e.constraints ?? {}, c = e.editorOptions?.step ?? (_ ? 1 : void 0), l = e.editorOptions?.unit, f = E ?? x, p = () => {
|
|
10
|
-
if (o === t) return;
|
|
11
|
-
if (o.trim() === "") {
|
|
12
|
-
n(void 0), a(void 0);
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
const i = Number(o), v = Number.isFinite(i) ? h(e, i) : {
|
|
16
|
-
code: "invalidValue",
|
|
17
|
-
message: N.strings.editors.number.invalid
|
|
18
|
-
};
|
|
19
|
-
n(v), v || a(i);
|
|
20
|
-
};
|
|
21
|
-
return /* @__PURE__ */ k("span", {
|
|
22
|
-
className: "studio-editor-number",
|
|
23
|
-
children: [/* @__PURE__ */ y("input", {
|
|
24
|
-
id: d,
|
|
25
|
-
type: "number",
|
|
26
|
-
inputMode: "decimal",
|
|
27
|
-
className: "studio-editor-field__input",
|
|
28
|
-
value: o,
|
|
29
|
-
disabled: g,
|
|
30
|
-
...m !== void 0 ? { min: m } : {},
|
|
31
|
-
...u !== void 0 ? { max: u } : {},
|
|
32
|
-
...c !== void 0 ? { step: c } : {},
|
|
33
|
-
"aria-invalid": f ? !0 : void 0,
|
|
34
|
-
"aria-describedby": f ? `${d}-problem` : void 0,
|
|
35
|
-
onChange: (i) => r(i.target.value),
|
|
36
|
-
onBlur: p,
|
|
37
|
-
onKeyDown: (i) => {
|
|
38
|
-
i.key === "Enter" && p(), i.key === "Escape" && (r(t), n(void 0));
|
|
39
|
-
}
|
|
40
|
-
}), l && /* @__PURE__ */ y("span", {
|
|
41
|
-
className: "studio-editor-number__unit",
|
|
42
|
-
children: l
|
|
43
|
-
})]
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
|
-
export {
|
|
47
|
-
S as NumberEditor
|
|
48
|
-
};
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/** A data element of a screen: the query it reads, the read model it yields and whether that is a collection. */
|
|
2
|
-
export interface PreviewDataSource {
|
|
3
|
-
readonly query: string;
|
|
4
|
-
readonly typeName: string;
|
|
5
|
-
readonly isCollection: boolean;
|
|
6
|
-
}
|
|
7
|
-
/** A column or a field of a table or a summary: the property it shows and the label it carries. */
|
|
8
|
-
export interface PreviewDataField {
|
|
9
|
-
readonly property: string;
|
|
10
|
-
readonly label: string;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Every data element of the screens: the pairs of a query and the read model it yields that the tables and summaries of the preview read their rows by.
|
|
14
|
-
*
|
|
15
|
-
* @param content Anything that holds screens.
|
|
16
|
-
* @returns The data sources, in the order they are met.
|
|
17
|
-
*/
|
|
18
|
-
export declare function previewDataSourcesOf(content: unknown): PreviewDataSource[];
|
|
19
|
-
/**
|
|
20
|
-
* The query a table or a summary of a read model reads its rows from: the one whose data element yields the same read model, a collection for a table and a
|
|
21
|
-
* single record for a summary, and the other kind when the screen has only that one.
|
|
22
|
-
*
|
|
23
|
-
* @param sources The data sources of the screens.
|
|
24
|
-
* @param typeName The read model the table or summary shows.
|
|
25
|
-
* @param wantsCollection Whether it is a table, which shows many rows.
|
|
26
|
-
* @returns The name of the query, or `undefined` when no data element yields that read model.
|
|
27
|
-
*/
|
|
28
|
-
export declare function queryOfTypeName(sources: readonly PreviewDataSource[], typeName: string, wantsCollection: boolean): string | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* The rows a query's sample data answers, each a plain record.
|
|
31
|
-
*
|
|
32
|
-
* @param result What the render scope holds for the query.
|
|
33
|
-
* @returns The rows; none when the query has no sample data.
|
|
34
|
-
*/
|
|
35
|
-
export declare function rowsOfQueryResult(result: unknown): Record<string, unknown>[];
|
|
36
|
-
/**
|
|
37
|
-
* How a value reads in a cell: the text itself, a number as it is, a flag as yes or no, and what is nested as its JSON.
|
|
38
|
-
*
|
|
39
|
-
* @param value The value of the property in a row.
|
|
40
|
-
* @returns The text to show.
|
|
41
|
-
*/
|
|
42
|
-
export declare function cellText(value: unknown): string;
|
|
43
|
-
/**
|
|
44
|
-
* The columns or fields an element carries in one of its slots, in the order they are written.
|
|
45
|
-
*
|
|
46
|
-
* @param element The table or the summary.
|
|
47
|
-
* @param slot The slot that holds them: `columns` or `fields`.
|
|
48
|
-
* @returns The properties and their labels; a label that was not written is the property.
|
|
49
|
-
*/
|
|
50
|
-
export declare function previewFieldsOf(element: {
|
|
51
|
-
slots?: Record<string, readonly unknown[]>;
|
|
52
|
-
}, slot: string): PreviewDataField[];
|
|
53
|
-
/** A binding to a value: a path read from the row of a table (`item.orderId`), or from anywhere else the host can resolve. */
|
|
54
|
-
export interface PreviewBinding {
|
|
55
|
-
readonly path?: string;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* How the bindings of an interaction on a row resolve: `item.<field>` is the field of that row - `with orderId from item.orderId` hands the order the person
|
|
59
|
-
* double clicked to the screen it opens - and everything else resolves as it does outside the row.
|
|
60
|
-
*
|
|
61
|
-
* @param row The row.
|
|
62
|
-
* @param outer How a binding resolves outside the row.
|
|
63
|
-
* @returns The resolver for the row.
|
|
64
|
-
*/
|
|
65
|
-
export declare function resolveInRow<TBinding extends PreviewBinding>(row: Record<string, unknown>, outer: (binding: TBinding) => unknown): (binding: TBinding) => unknown;
|
|
66
|
-
/** What the preview does for the actions a row can start: it goes to the screen, and does nothing else - there is no backend behind a preview. */
|
|
67
|
-
export interface PreviewNavigator {
|
|
68
|
-
navigate(destination: {
|
|
69
|
-
screen: string;
|
|
70
|
-
}): unknown;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* The seam the interactions of a table row run through in the preview. Navigating is the one effect a preview has; a command, a dialog and the rest
|
|
74
|
-
* answer as if nothing happened, because nothing is sent from a preview.
|
|
75
|
-
*
|
|
76
|
-
* @param navigator Where the preview goes when a row says to open a screen, or `undefined` outside a preview.
|
|
77
|
-
* @returns The dispatcher.
|
|
78
|
-
*/
|
|
79
|
-
export declare function previewRowDispatcher(navigator: PreviewNavigator | undefined): {
|
|
80
|
-
executeCommand: () => Promise<{
|
|
81
|
-
isSuccess: boolean;
|
|
82
|
-
}>;
|
|
83
|
-
navigate: (screen: string) => void;
|
|
84
|
-
navigateBack: () => void;
|
|
85
|
-
openDialog: () => Promise<{
|
|
86
|
-
isConfirmed: boolean;
|
|
87
|
-
}>;
|
|
88
|
-
closeDialog: () => void;
|
|
89
|
-
refreshQuery: () => Promise<void>;
|
|
90
|
-
setState: () => void;
|
|
91
|
-
notify: () => void;
|
|
92
|
-
confirm: () => Promise<boolean>;
|
|
93
|
-
raise: () => Promise<void>;
|
|
94
|
-
};
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { B as N, V as E, c as B, d as F, f as I, h as L, l as j, m as M, t as k, u as Q } from "./DataBindingSections-C5fdyulB.js";
|
|
2
|
-
import { useState as R } from "react";
|
|
3
|
-
import { Fragment as S, jsx as o, jsxs as d } from "react/jsx-runtime";
|
|
4
|
-
import { validateBinding as V } from "@cratis/scene.engine";
|
|
5
|
-
var c = /* @__PURE__ */ (function(r) {
|
|
6
|
-
return r.NoQuery = "noQuery", r.MissingQuery = "missingQuery", r.Loading = "loading", r.Empty = "empty", r.Error = "error", r.Ready = "ready", r;
|
|
7
|
-
})({});
|
|
8
|
-
function D({ binding: r, candidate: i, isLoading: u, error: l, rowCount: s }) {
|
|
9
|
-
return r ? i ? l != null ? c.Error : u ? c.Loading : s === 0 ? c.Empty : c.Ready : c.MissingQuery : c.NoQuery;
|
|
10
|
-
}
|
|
11
|
-
function b(r, i, u, l) {
|
|
12
|
-
const s = V(r, i, u, l);
|
|
13
|
-
return {
|
|
14
|
-
diagnostics: s,
|
|
15
|
-
isStorable: s.every((m) => m.severity !== "error")
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
var O = (r) => r.origin.map((i) => i.name).join(" / "), T = ({ property: r, candidates: i, scope: u, strings: l, disabled: s, onChange: m }) => {
|
|
19
|
-
const t = l.properties.query, [g, y] = R(), h = Q(r.effectiveValue) ? r.effectiveValue : void 0, n = g ?? h, p = n ? i.find((e) => e.id === n.queryId) : void 0, _ = n ? b(r.descriptor, p, n, u).diagnostics : [], v = (e) => {
|
|
20
|
-
if (!e) {
|
|
21
|
-
y(void 0), m(void 0);
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
const a = b(r.descriptor, i.find((f) => f.id === e.queryId), e, u);
|
|
25
|
-
y(a.isStorable ? void 0 : e), a.isStorable && m(e);
|
|
26
|
-
}, q = D({
|
|
27
|
-
binding: n,
|
|
28
|
-
candidate: p,
|
|
29
|
-
isLoading: !1
|
|
30
|
-
}), C = Object.keys(u.types);
|
|
31
|
-
return /* @__PURE__ */ d("fieldset", {
|
|
32
|
-
className: "studio-editor-query",
|
|
33
|
-
disabled: s,
|
|
34
|
-
children: [
|
|
35
|
-
/* @__PURE__ */ o("legend", { children: r.descriptor.label }),
|
|
36
|
-
/* @__PURE__ */ d("label", { children: [/* @__PURE__ */ o("span", { children: t.label }), /* @__PURE__ */ d("select", {
|
|
37
|
-
value: n?.queryId ?? "",
|
|
38
|
-
onChange: (e) => {
|
|
39
|
-
const a = i.find((f) => f.id === e.target.value);
|
|
40
|
-
v(a ? B(a) : void 0);
|
|
41
|
-
},
|
|
42
|
-
children: [
|
|
43
|
-
/* @__PURE__ */ o("option", {
|
|
44
|
-
value: "",
|
|
45
|
-
children: t.none
|
|
46
|
-
}),
|
|
47
|
-
n && !p && /* @__PURE__ */ o("option", {
|
|
48
|
-
value: n.queryId,
|
|
49
|
-
children: n.query
|
|
50
|
-
}),
|
|
51
|
-
i.map((e) => /* @__PURE__ */ d("option", {
|
|
52
|
-
value: e.id,
|
|
53
|
-
children: [
|
|
54
|
-
e.name,
|
|
55
|
-
" - ",
|
|
56
|
-
O(e)
|
|
57
|
-
]
|
|
58
|
-
}, e.id))
|
|
59
|
-
]
|
|
60
|
-
})] }),
|
|
61
|
-
n && !p && /* @__PURE__ */ o("p", {
|
|
62
|
-
className: "studio-editor-query__missing",
|
|
63
|
-
role: "alert",
|
|
64
|
-
children: t.missing
|
|
65
|
-
}),
|
|
66
|
-
n && p && /* @__PURE__ */ d(S, { children: [p.parameters.length > 0 && /* @__PURE__ */ d("div", {
|
|
67
|
-
className: "studio-editor-query__group",
|
|
68
|
-
children: [/* @__PURE__ */ o("strong", { children: t.parameters }), p.parameters.map((e) => /* @__PURE__ */ d("label", { children: [/* @__PURE__ */ d("span", { children: [t.sourceFor(e.name), e.required ? " *" : ""] }), /* @__PURE__ */ d("select", {
|
|
69
|
-
value: M(n, e),
|
|
70
|
-
onChange: (a) => v(I(n, e.name, a.target.value)),
|
|
71
|
-
children: [/* @__PURE__ */ o("option", {
|
|
72
|
-
value: "",
|
|
73
|
-
children: t.noSource
|
|
74
|
-
}), C.map((a) => /* @__PURE__ */ o("option", {
|
|
75
|
-
value: a,
|
|
76
|
-
children: a
|
|
77
|
-
}, a))]
|
|
78
|
-
})] }, e.name))]
|
|
79
|
-
}), /* @__PURE__ */ d("div", {
|
|
80
|
-
className: "studio-editor-query__group",
|
|
81
|
-
children: [/* @__PURE__ */ o("strong", { children: t.columns }), p.resultFields.map((e) => /* @__PURE__ */ d("label", {
|
|
82
|
-
className: "studio-editor-query__column",
|
|
83
|
-
children: [/* @__PURE__ */ o("input", {
|
|
84
|
-
type: "checkbox",
|
|
85
|
-
checked: j(n, e),
|
|
86
|
-
onChange: (a) => v(a.target.checked ? F(n, e.name) : L(n, e.name))
|
|
87
|
-
}), /* @__PURE__ */ o("span", { children: t.showColumn(e.name) })]
|
|
88
|
-
}, e.name))]
|
|
89
|
-
})] }),
|
|
90
|
-
/* @__PURE__ */ o("p", {
|
|
91
|
-
className: "studio-editor-query__preview",
|
|
92
|
-
role: "status",
|
|
93
|
-
"data-state": q,
|
|
94
|
-
children: $(q, t.preview)
|
|
95
|
-
}),
|
|
96
|
-
/* @__PURE__ */ o(N, {
|
|
97
|
-
diagnostics: _,
|
|
98
|
-
label: l.properties.diagnostics
|
|
99
|
-
})
|
|
100
|
-
]
|
|
101
|
-
});
|
|
102
|
-
};
|
|
103
|
-
function $(r, i) {
|
|
104
|
-
switch (r) {
|
|
105
|
-
case c.NoQuery:
|
|
106
|
-
return i.noQuery;
|
|
107
|
-
case c.MissingQuery:
|
|
108
|
-
return i.missingQuery;
|
|
109
|
-
case c.Loading:
|
|
110
|
-
return i.loading;
|
|
111
|
-
case c.Empty:
|
|
112
|
-
return i.empty;
|
|
113
|
-
case c.Error:
|
|
114
|
-
return i.error;
|
|
115
|
-
case c.Ready:
|
|
116
|
-
return i.ready;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
var J = ({ value: r, onChange: i, context: u, disabled: l }) => {
|
|
120
|
-
const { session: s } = u;
|
|
121
|
-
if (!s) return null;
|
|
122
|
-
const m = Q(r) ? r : void 0, t = m ? u.lookups.queryCandidates.find((g) => g.id === m.queryId) : void 0;
|
|
123
|
-
return /* @__PURE__ */ d(S, { children: [/* @__PURE__ */ o(T, {
|
|
124
|
-
property: s.property,
|
|
125
|
-
candidates: u.lookups.queryCandidates,
|
|
126
|
-
scope: s.bindingScope,
|
|
127
|
-
strings: s.screenStrings,
|
|
128
|
-
disabled: l === !0,
|
|
129
|
-
onChange: i
|
|
130
|
-
}), m && t && /* @__PURE__ */ o(k, {
|
|
131
|
-
controller: s.controller,
|
|
132
|
-
environment: s.environment,
|
|
133
|
-
strings: s.screenStrings,
|
|
134
|
-
binding: m,
|
|
135
|
-
candidate: t,
|
|
136
|
-
disabled: l === !0,
|
|
137
|
-
onChange: (g, y, h) => {
|
|
138
|
-
const n = h === "" ? s.bindingScope : E({
|
|
139
|
-
...s.bindingScope.types,
|
|
140
|
-
[h]: y.type
|
|
141
|
-
});
|
|
142
|
-
b(s.property.descriptor, t, g, n).isStorable && i(g);
|
|
143
|
-
}
|
|
144
|
-
})] });
|
|
145
|
-
};
|
|
146
|
-
export {
|
|
147
|
-
J as QueryBindingPropertyEditor
|
|
148
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { t as h } from "./SearchableSelect-BGZmobXo.js";
|
|
2
|
-
import { Fragment as v, jsx as p, jsxs as g } from "react/jsx-runtime";
|
|
3
|
-
var L = ({ value: s, onChange: d, descriptor: i, context: l, disabled: u, problem: b, id: n }) => {
|
|
4
|
-
const o = l.strings.editors.select, c = i.editorOptions?.reference, m = c ? l.lookups.references(c.target) : [], r = typeof s == "string" && s !== "" ? s : void 0, t = m.map((e) => ({
|
|
5
|
-
value: e.id,
|
|
6
|
-
label: e.label,
|
|
7
|
-
...e.group ? { group: e.group } : {}
|
|
8
|
-
})), a = r !== void 0 && !t.some((e) => e.value === r);
|
|
9
|
-
return /* @__PURE__ */ g(v, { children: [/* @__PURE__ */ p(h, {
|
|
10
|
-
id: n,
|
|
11
|
-
options: a ? [...t, {
|
|
12
|
-
value: r,
|
|
13
|
-
label: r
|
|
14
|
-
}] : t,
|
|
15
|
-
value: r,
|
|
16
|
-
disabled: u,
|
|
17
|
-
invalid: a || b !== void 0,
|
|
18
|
-
placeholder: o.placeholder,
|
|
19
|
-
searchLabel: o.search,
|
|
20
|
-
emptyLabel: o.empty,
|
|
21
|
-
clearLabel: o.clear,
|
|
22
|
-
clearable: i.constraints?.required !== !0,
|
|
23
|
-
"aria-labelledby": `${n}-label`,
|
|
24
|
-
onChange: d
|
|
25
|
-
}), a && /* @__PURE__ */ p("span", {
|
|
26
|
-
className: "studio-editor-chip studio-editor-chip--error",
|
|
27
|
-
children: l.strings.editors.unresolved
|
|
28
|
-
})] });
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
L as ReferenceEditor
|
|
32
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReferenceEditor as t } from "./ReferenceEditor-CTguqJZC.js";
|
|
2
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
-
var i = (e) => (r) => /* @__PURE__ */ o(t, {
|
|
4
|
-
...r,
|
|
5
|
-
descriptor: {
|
|
6
|
-
...r.descriptor,
|
|
7
|
-
editorOptions: {
|
|
8
|
-
...r.descriptor.editorOptions,
|
|
9
|
-
reference: {
|
|
10
|
-
target: e,
|
|
11
|
-
...r.descriptor.editorOptions?.reference
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}), c = i("sampleData");
|
|
16
|
-
export {
|
|
17
|
-
c as SampleDataEditor
|
|
18
|
-
};
|