@cratis/scene.model 4.2.1 → 4.4.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/common/DestinationReference.ts +18 -0
- package/common/index.ts +1 -0
- package/descriptors/CollectionItemDescriptor.ts +20 -0
- package/descriptors/CollectionOperation.ts +20 -0
- package/descriptors/ComponentDescriptor.ts +33 -0
- package/descriptors/LayoutCapabilities.ts +32 -0
- package/descriptors/LayoutChildPlacement.ts +16 -0
- package/descriptors/LayoutType.ts +28 -0
- package/descriptors/LayoutTypeDescriptor.ts +25 -0
- package/descriptors/PropertyChoice.ts +13 -0
- package/descriptors/PropertyConstraints.ts +41 -0
- package/descriptors/PropertyDescriptor.ts +55 -0
- package/descriptors/PropertyValueType.ts +30 -0
- package/descriptors/index.ts +14 -0
- package/dist/cjs/common/DestinationReference.js +11 -0
- package/dist/cjs/common/DestinationReference.js.map +1 -0
- package/dist/cjs/descriptors/CollectionItemDescriptor.js +11 -0
- package/dist/cjs/descriptors/CollectionItemDescriptor.js.map +1 -0
- package/dist/cjs/descriptors/CollectionOperation.js +17 -0
- package/dist/cjs/descriptors/CollectionOperation.js.map +1 -0
- package/dist/cjs/descriptors/ComponentDescriptor.js +14 -0
- package/dist/cjs/descriptors/ComponentDescriptor.js.map +1 -0
- package/dist/cjs/descriptors/LayoutCapabilities.js +15 -0
- package/dist/cjs/descriptors/LayoutCapabilities.js.map +1 -0
- package/dist/cjs/descriptors/LayoutChildPlacement.js +15 -0
- package/dist/cjs/descriptors/LayoutChildPlacement.js.map +1 -0
- package/dist/cjs/descriptors/LayoutType.js +25 -0
- package/dist/cjs/descriptors/LayoutType.js.map +1 -0
- package/dist/cjs/descriptors/LayoutTypeDescriptor.js +14 -0
- package/dist/cjs/descriptors/LayoutTypeDescriptor.js.map +1 -0
- package/dist/cjs/descriptors/PropertyChoice.js +14 -0
- package/dist/cjs/descriptors/PropertyChoice.js.map +1 -0
- package/dist/cjs/descriptors/PropertyConstraints.js +19 -0
- package/dist/cjs/descriptors/PropertyConstraints.js.map +1 -0
- package/dist/cjs/descriptors/PropertyDescriptor.js +20 -0
- package/dist/cjs/descriptors/PropertyDescriptor.js.map +1 -0
- package/dist/cjs/descriptors/PropertyValueType.js +22 -0
- package/dist/cjs/descriptors/PropertyValueType.js.map +1 -0
- package/dist/cjs/editing/AddCollectionItemEdit.js +15 -0
- package/dist/cjs/editing/AddCollectionItemEdit.js.map +1 -0
- package/dist/cjs/editing/ChangeLayoutTypeEdit.js +13 -0
- package/dist/cjs/editing/ChangeLayoutTypeEdit.js.map +1 -0
- package/dist/cjs/editing/DiagnosticCode.js +64 -0
- package/dist/cjs/editing/DiagnosticCode.js.map +1 -0
- package/dist/cjs/editing/DiagnosticSeverity.js +15 -0
- package/dist/cjs/editing/DiagnosticSeverity.js.map +1 -0
- package/dist/cjs/editing/EditCollectionItemEdit.js +16 -0
- package/dist/cjs/editing/EditCollectionItemEdit.js.map +1 -0
- package/dist/cjs/editing/EditTarget.js +14 -0
- package/dist/cjs/editing/EditTarget.js.map +1 -0
- package/dist/cjs/editing/EditingScope.js +12 -0
- package/dist/cjs/editing/EditingScope.js.map +1 -0
- package/dist/cjs/editing/EditingScopeKind.js +16 -0
- package/dist/cjs/editing/EditingScopeKind.js.map +1 -0
- package/dist/cjs/editing/EffectiveCollectionItem.js +15 -0
- package/dist/cjs/editing/EffectiveCollectionItem.js.map +1 -0
- package/dist/cjs/editing/EffectiveComponentConfiguration.js +13 -0
- package/dist/cjs/editing/EffectiveComponentConfiguration.js.map +1 -0
- package/dist/cjs/editing/EffectiveConfiguration.js +11 -0
- package/dist/cjs/editing/EffectiveConfiguration.js.map +1 -0
- package/dist/cjs/editing/EffectivePropertyValue.js +15 -0
- package/dist/cjs/editing/EffectivePropertyValue.js.map +1 -0
- package/dist/cjs/editing/ExposePropertyEdit.js +12 -0
- package/dist/cjs/editing/ExposePropertyEdit.js.map +1 -0
- package/dist/cjs/editing/InsertNodeEdit.js +15 -0
- package/dist/cjs/editing/InsertNodeEdit.js.map +1 -0
- package/dist/cjs/editing/InspectedCollectionItem.js +15 -0
- package/dist/cjs/editing/InspectedCollectionItem.js.map +1 -0
- package/dist/cjs/editing/InspectedProperty.js +18 -0
- package/dist/cjs/editing/InspectedProperty.js.map +1 -0
- package/dist/cjs/editing/MoveNodeEdit.js +14 -0
- package/dist/cjs/editing/MoveNodeEdit.js.map +1 -0
- package/dist/cjs/editing/NodeInspection.js +19 -0
- package/dist/cjs/editing/NodeInspection.js.map +1 -0
- package/dist/cjs/editing/NodeProvenance.js +11 -0
- package/dist/cjs/editing/NodeProvenance.js.map +1 -0
- package/dist/cjs/editing/ProvenanceKind.js +15 -0
- package/dist/cjs/editing/ProvenanceKind.js.map +1 -0
- package/dist/cjs/editing/RemoveCollectionItemEdit.js +14 -0
- package/dist/cjs/editing/RemoveCollectionItemEdit.js.map +1 -0
- package/dist/cjs/editing/RemoveNodeEdit.js +11 -0
- package/dist/cjs/editing/RemoveNodeEdit.js.map +1 -0
- package/dist/cjs/editing/ReorderCollectionItemEdit.js +15 -0
- package/dist/cjs/editing/ReorderCollectionItemEdit.js.map +1 -0
- package/dist/cjs/editing/ResetInstanceValueEdit.js +13 -0
- package/dist/cjs/editing/ResetInstanceValueEdit.js.map +1 -0
- package/dist/cjs/editing/ResetPropertyEdit.js +12 -0
- package/dist/cjs/editing/ResetPropertyEdit.js.map +1 -0
- package/dist/cjs/editing/SceneDiagnostic.js +17 -0
- package/dist/cjs/editing/SceneDiagnostic.js.map +1 -0
- package/dist/cjs/editing/SceneDocument.js +15 -0
- package/dist/cjs/editing/SceneDocument.js.map +1 -0
- package/dist/cjs/editing/SceneEditKind.js +27 -0
- package/dist/cjs/editing/SceneEditKind.js.map +1 -0
- package/dist/cjs/editing/SceneNodeKind.js +21 -0
- package/dist/cjs/editing/SceneNodeKind.js.map +1 -0
- package/dist/cjs/editing/SetInstanceValueEdit.js +14 -0
- package/dist/cjs/editing/SetInstanceValueEdit.js.map +1 -0
- package/dist/cjs/editing/SetPropertyEdit.js +13 -0
- package/dist/cjs/editing/SetPropertyEdit.js.map +1 -0
- package/dist/cjs/editing/UnexposePropertyEdit.js +13 -0
- package/dist/cjs/editing/UnexposePropertyEdit.js.map +1 -0
- package/dist/cjs/editing/ValueSource.js +15 -0
- package/dist/cjs/editing/ValueSource.js.map +1 -0
- package/dist/cjs/exposure/ContributedItem.js +14 -0
- package/dist/cjs/exposure/ContributedItem.js.map +1 -0
- package/dist/cjs/exposure/ExposedProperty.js +15 -0
- package/dist/cjs/exposure/ExposedProperty.js.map +1 -0
- package/dist/cjs/exposure/ExposureDeclaration.js +11 -0
- package/dist/cjs/exposure/ExposureDeclaration.js.map +1 -0
- package/dist/cjs/exposure/InstanceContribution.js +14 -0
- package/dist/cjs/exposure/InstanceContribution.js.map +1 -0
- package/dist/cjs/icons/IconEntry.js +22 -0
- package/dist/cjs/icons/IconEntry.js.map +1 -0
- package/dist/cjs/icons/IconLibrary.js +22 -0
- package/dist/cjs/icons/IconLibrary.js.map +1 -0
- package/dist/cjs/icons/IconReference.js +23 -0
- package/dist/cjs/icons/IconReference.js.map +1 -0
- package/dist/cjs/icons/iconReferences.js +61 -0
- package/dist/cjs/icons/iconReferences.js.map +1 -0
- package/dist/cjs/index.js +127 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/packages/PackageKind.js +12 -1
- package/dist/cjs/packages/PackageKind.js.map +1 -1
- package/dist/cjs/packages/ScenePackage.js +2 -1
- package/dist/cjs/packages/ScenePackage.js.map +1 -1
- package/dist/cjs/queries/QueryArgumentBinding.js +11 -0
- package/dist/cjs/queries/QueryArgumentBinding.js.map +1 -0
- package/dist/cjs/queries/QueryBinding.js +13 -0
- package/dist/cjs/queries/QueryBinding.js.map +1 -0
- package/dist/cjs/queries/QueryCandidate.js +15 -0
- package/dist/cjs/queries/QueryCandidate.js.map +1 -0
- package/dist/cjs/queries/QueryOrigin.js +12 -0
- package/dist/cjs/queries/QueryOrigin.js.map +1 -0
- package/dist/cjs/queries/QueryOriginKind.js +14 -0
- package/dist/cjs/queries/QueryOriginKind.js.map +1 -0
- package/dist/cjs/queries/QueryParameter.js +14 -0
- package/dist/cjs/queries/QueryParameter.js.map +1 -0
- package/dist/cjs/queries/QueryResultBinding.js +13 -0
- package/dist/cjs/queries/QueryResultBinding.js.map +1 -0
- package/dist/cjs/queries/QueryResultField.js +14 -0
- package/dist/cjs/queries/QueryResultField.js.map +1 -0
- package/dist/cjs/queries/QueryResultShape.js +16 -0
- package/dist/cjs/queries/QueryResultShape.js.map +1 -0
- package/dist/esm/common/DestinationReference.d.ts +7 -0
- package/dist/esm/common/DestinationReference.d.ts.map +1 -0
- package/dist/esm/common/DestinationReference.js +9 -0
- package/dist/esm/common/DestinationReference.js.map +1 -0
- package/dist/esm/common/index.d.ts +1 -0
- package/dist/esm/common/index.d.ts.map +1 -1
- package/dist/esm/common/index.js +1 -0
- package/dist/esm/common/index.js.map +1 -1
- package/dist/esm/descriptors/CollectionItemDescriptor.d.ts +7 -0
- package/dist/esm/descriptors/CollectionItemDescriptor.d.ts.map +1 -0
- package/dist/esm/descriptors/CollectionItemDescriptor.js +9 -0
- package/dist/esm/descriptors/CollectionItemDescriptor.js.map +1 -0
- package/dist/esm/descriptors/CollectionOperation.d.ts +7 -0
- package/dist/esm/descriptors/CollectionOperation.d.ts.map +1 -0
- package/dist/esm/descriptors/CollectionOperation.js +15 -0
- package/dist/esm/descriptors/CollectionOperation.js.map +1 -0
- package/dist/esm/descriptors/ComponentDescriptor.d.ts +10 -0
- package/dist/esm/descriptors/ComponentDescriptor.d.ts.map +1 -0
- package/dist/esm/descriptors/ComponentDescriptor.js +12 -0
- package/dist/esm/descriptors/ComponentDescriptor.js.map +1 -0
- package/dist/esm/descriptors/LayoutCapabilities.d.ts +12 -0
- package/dist/esm/descriptors/LayoutCapabilities.d.ts.map +1 -0
- package/dist/esm/descriptors/LayoutCapabilities.js +13 -0
- package/dist/esm/descriptors/LayoutCapabilities.js.map +1 -0
- package/dist/esm/descriptors/LayoutChildPlacement.d.ts +6 -0
- package/dist/esm/descriptors/LayoutChildPlacement.d.ts.map +1 -0
- package/dist/esm/descriptors/LayoutChildPlacement.js +13 -0
- package/dist/esm/descriptors/LayoutChildPlacement.js.map +1 -0
- package/dist/esm/descriptors/LayoutType.d.ts +14 -0
- package/dist/esm/descriptors/LayoutType.d.ts.map +1 -0
- package/dist/esm/descriptors/LayoutType.js +23 -0
- package/dist/esm/descriptors/LayoutType.js.map +1 -0
- package/dist/esm/descriptors/LayoutTypeDescriptor.d.ts +12 -0
- package/dist/esm/descriptors/LayoutTypeDescriptor.d.ts.map +1 -0
- package/dist/esm/descriptors/LayoutTypeDescriptor.js +12 -0
- package/dist/esm/descriptors/LayoutTypeDescriptor.js.map +1 -0
- package/dist/esm/descriptors/PropertyChoice.d.ts +7 -0
- package/dist/esm/descriptors/PropertyChoice.d.ts.map +1 -0
- package/dist/esm/descriptors/PropertyChoice.js +12 -0
- package/dist/esm/descriptors/PropertyChoice.js.map +1 -0
- package/dist/esm/descriptors/PropertyConstraints.d.ts +15 -0
- package/dist/esm/descriptors/PropertyConstraints.d.ts.map +1 -0
- package/dist/esm/descriptors/PropertyConstraints.js +17 -0
- package/dist/esm/descriptors/PropertyConstraints.js.map +1 -0
- package/dist/esm/descriptors/PropertyDescriptor.d.ts +19 -0
- package/dist/esm/descriptors/PropertyDescriptor.d.ts.map +1 -0
- package/dist/esm/descriptors/PropertyDescriptor.js +18 -0
- package/dist/esm/descriptors/PropertyDescriptor.js.map +1 -0
- package/dist/esm/descriptors/PropertyValueType.d.ts +12 -0
- package/dist/esm/descriptors/PropertyValueType.d.ts.map +1 -0
- package/dist/esm/descriptors/PropertyValueType.js +20 -0
- package/dist/esm/descriptors/PropertyValueType.js.map +1 -0
- package/dist/esm/descriptors/index.d.ts +12 -0
- package/dist/esm/descriptors/index.d.ts.map +1 -0
- package/dist/esm/descriptors/index.js +12 -0
- package/dist/esm/descriptors/index.js.map +1 -0
- package/dist/esm/editing/AddCollectionItemEdit.d.ts +12 -0
- package/dist/esm/editing/AddCollectionItemEdit.d.ts.map +1 -0
- package/dist/esm/editing/AddCollectionItemEdit.js +13 -0
- package/dist/esm/editing/AddCollectionItemEdit.js.map +1 -0
- package/dist/esm/editing/ChangeLayoutTypeEdit.d.ts +10 -0
- package/dist/esm/editing/ChangeLayoutTypeEdit.d.ts.map +1 -0
- package/dist/esm/editing/ChangeLayoutTypeEdit.js +11 -0
- package/dist/esm/editing/ChangeLayoutTypeEdit.js.map +1 -0
- package/dist/esm/editing/DiagnosticCode.d.ts +47 -0
- package/dist/esm/editing/DiagnosticCode.d.ts.map +1 -0
- package/dist/esm/editing/DiagnosticCode.js +62 -0
- package/dist/esm/editing/DiagnosticCode.js.map +1 -0
- package/dist/esm/editing/DiagnosticSeverity.d.ts +5 -0
- package/dist/esm/editing/DiagnosticSeverity.d.ts.map +1 -0
- package/dist/esm/editing/DiagnosticSeverity.js +13 -0
- package/dist/esm/editing/DiagnosticSeverity.js.map +1 -0
- package/dist/esm/editing/EditCollectionItemEdit.d.ts +12 -0
- package/dist/esm/editing/EditCollectionItemEdit.d.ts.map +1 -0
- package/dist/esm/editing/EditCollectionItemEdit.js +14 -0
- package/dist/esm/editing/EditCollectionItemEdit.js.map +1 -0
- package/dist/esm/editing/EditTarget.d.ts +5 -0
- package/dist/esm/editing/EditTarget.d.ts.map +1 -0
- package/dist/esm/editing/EditTarget.js +12 -0
- package/dist/esm/editing/EditTarget.js.map +1 -0
- package/dist/esm/editing/EditingScope.d.ts +8 -0
- package/dist/esm/editing/EditingScope.d.ts.map +1 -0
- package/dist/esm/editing/EditingScope.js +10 -0
- package/dist/esm/editing/EditingScope.js.map +1 -0
- package/dist/esm/editing/EditingScopeKind.d.ts +7 -0
- package/dist/esm/editing/EditingScopeKind.d.ts.map +1 -0
- package/dist/esm/editing/EditingScopeKind.js +14 -0
- package/dist/esm/editing/EditingScopeKind.js.map +1 -0
- package/dist/esm/editing/EffectiveCollectionItem.d.ts +8 -0
- package/dist/esm/editing/EffectiveCollectionItem.d.ts.map +1 -0
- package/dist/esm/editing/EffectiveCollectionItem.js +13 -0
- package/dist/esm/editing/EffectiveCollectionItem.js.map +1 -0
- package/dist/esm/editing/EffectiveComponentConfiguration.d.ts +9 -0
- package/dist/esm/editing/EffectiveComponentConfiguration.d.ts.map +1 -0
- package/dist/esm/editing/EffectiveComponentConfiguration.js +11 -0
- package/dist/esm/editing/EffectiveComponentConfiguration.js.map +1 -0
- package/dist/esm/editing/EffectiveConfiguration.d.ts +8 -0
- package/dist/esm/editing/EffectiveConfiguration.d.ts.map +1 -0
- package/dist/esm/editing/EffectiveConfiguration.js +9 -0
- package/dist/esm/editing/EffectiveConfiguration.js.map +1 -0
- package/dist/esm/editing/EffectivePropertyValue.d.ts +12 -0
- package/dist/esm/editing/EffectivePropertyValue.d.ts.map +1 -0
- package/dist/esm/editing/EffectivePropertyValue.js +13 -0
- package/dist/esm/editing/EffectivePropertyValue.js.map +1 -0
- package/dist/esm/editing/ExposePropertyEdit.d.ts +9 -0
- package/dist/esm/editing/ExposePropertyEdit.d.ts.map +1 -0
- package/dist/esm/editing/ExposePropertyEdit.js +10 -0
- package/dist/esm/editing/ExposePropertyEdit.js.map +1 -0
- package/dist/esm/editing/InsertNodeEdit.d.ts +13 -0
- package/dist/esm/editing/InsertNodeEdit.d.ts.map +1 -0
- package/dist/esm/editing/InsertNodeEdit.js +13 -0
- package/dist/esm/editing/InsertNodeEdit.js.map +1 -0
- package/dist/esm/editing/InspectedCollectionItem.d.ts +8 -0
- package/dist/esm/editing/InspectedCollectionItem.d.ts.map +1 -0
- package/dist/esm/editing/InspectedCollectionItem.js +13 -0
- package/dist/esm/editing/InspectedCollectionItem.js.map +1 -0
- package/dist/esm/editing/InspectedProperty.d.ts +17 -0
- package/dist/esm/editing/InspectedProperty.d.ts.map +1 -0
- package/dist/esm/editing/InspectedProperty.js +16 -0
- package/dist/esm/editing/InspectedProperty.js.map +1 -0
- package/dist/esm/editing/MoveNodeEdit.d.ts +10 -0
- package/dist/esm/editing/MoveNodeEdit.d.ts.map +1 -0
- package/dist/esm/editing/MoveNodeEdit.js +12 -0
- package/dist/esm/editing/MoveNodeEdit.js.map +1 -0
- package/dist/esm/editing/NodeInspection.d.ts +19 -0
- package/dist/esm/editing/NodeInspection.d.ts.map +1 -0
- package/dist/esm/editing/NodeInspection.js +17 -0
- package/dist/esm/editing/NodeInspection.js.map +1 -0
- package/dist/esm/editing/NodeProvenance.d.ts +7 -0
- package/dist/esm/editing/NodeProvenance.d.ts.map +1 -0
- package/dist/esm/editing/NodeProvenance.js +9 -0
- package/dist/esm/editing/NodeProvenance.js.map +1 -0
- package/dist/esm/editing/ProvenanceKind.d.ts +6 -0
- package/dist/esm/editing/ProvenanceKind.d.ts.map +1 -0
- package/dist/esm/editing/ProvenanceKind.js +13 -0
- package/dist/esm/editing/ProvenanceKind.js.map +1 -0
- package/dist/esm/editing/RemoveCollectionItemEdit.d.ts +10 -0
- package/dist/esm/editing/RemoveCollectionItemEdit.d.ts.map +1 -0
- package/dist/esm/editing/RemoveCollectionItemEdit.js +12 -0
- package/dist/esm/editing/RemoveCollectionItemEdit.js.map +1 -0
- package/dist/esm/editing/RemoveNodeEdit.d.ts +7 -0
- package/dist/esm/editing/RemoveNodeEdit.d.ts.map +1 -0
- package/dist/esm/editing/RemoveNodeEdit.js +9 -0
- package/dist/esm/editing/RemoveNodeEdit.js.map +1 -0
- package/dist/esm/editing/ReorderCollectionItemEdit.d.ts +11 -0
- package/dist/esm/editing/ReorderCollectionItemEdit.d.ts.map +1 -0
- package/dist/esm/editing/ReorderCollectionItemEdit.js +13 -0
- package/dist/esm/editing/ReorderCollectionItemEdit.js.map +1 -0
- package/dist/esm/editing/ResetInstanceValueEdit.d.ts +9 -0
- package/dist/esm/editing/ResetInstanceValueEdit.d.ts.map +1 -0
- package/dist/esm/editing/ResetInstanceValueEdit.js +11 -0
- package/dist/esm/editing/ResetInstanceValueEdit.js.map +1 -0
- package/dist/esm/editing/ResetPropertyEdit.d.ts +8 -0
- package/dist/esm/editing/ResetPropertyEdit.d.ts.map +1 -0
- package/dist/esm/editing/ResetPropertyEdit.js +10 -0
- package/dist/esm/editing/ResetPropertyEdit.js.map +1 -0
- package/dist/esm/editing/SceneDiagnostic.d.ts +14 -0
- package/dist/esm/editing/SceneDiagnostic.d.ts.map +1 -0
- package/dist/esm/editing/SceneDiagnostic.js +15 -0
- package/dist/esm/editing/SceneDiagnostic.js.map +1 -0
- package/dist/esm/editing/SceneDocument.d.ts +13 -0
- package/dist/esm/editing/SceneDocument.d.ts.map +1 -0
- package/dist/esm/editing/SceneDocument.js +13 -0
- package/dist/esm/editing/SceneDocument.js.map +1 -0
- package/dist/esm/editing/SceneEdit.d.ts +16 -0
- package/dist/esm/editing/SceneEdit.d.ts.map +1 -0
- package/dist/esm/editing/SceneEdit.js +2 -0
- package/dist/esm/editing/SceneEdit.js.map +1 -0
- package/dist/esm/editing/SceneEditKind.d.ts +17 -0
- package/dist/esm/editing/SceneEditKind.d.ts.map +1 -0
- package/dist/esm/editing/SceneEditKind.js +25 -0
- package/dist/esm/editing/SceneEditKind.js.map +1 -0
- package/dist/esm/editing/SceneNodeKind.d.ts +12 -0
- package/dist/esm/editing/SceneNodeKind.d.ts.map +1 -0
- package/dist/esm/editing/SceneNodeKind.js +19 -0
- package/dist/esm/editing/SceneNodeKind.js.map +1 -0
- package/dist/esm/editing/SetInstanceValueEdit.d.ts +10 -0
- package/dist/esm/editing/SetInstanceValueEdit.d.ts.map +1 -0
- package/dist/esm/editing/SetInstanceValueEdit.js +12 -0
- package/dist/esm/editing/SetInstanceValueEdit.js.map +1 -0
- package/dist/esm/editing/SetPropertyEdit.d.ts +9 -0
- package/dist/esm/editing/SetPropertyEdit.d.ts.map +1 -0
- package/dist/esm/editing/SetPropertyEdit.js +11 -0
- package/dist/esm/editing/SetPropertyEdit.js.map +1 -0
- package/dist/esm/editing/UnexposePropertyEdit.d.ts +9 -0
- package/dist/esm/editing/UnexposePropertyEdit.d.ts.map +1 -0
- package/dist/esm/editing/UnexposePropertyEdit.js +11 -0
- package/dist/esm/editing/UnexposePropertyEdit.js.map +1 -0
- package/dist/esm/editing/ValueSource.d.ts +6 -0
- package/dist/esm/editing/ValueSource.d.ts.map +1 -0
- package/dist/esm/editing/ValueSource.js +13 -0
- package/dist/esm/editing/ValueSource.js.map +1 -0
- package/dist/esm/editing/index.d.ts +35 -0
- package/dist/esm/editing/index.d.ts.map +1 -0
- package/dist/esm/editing/index.js +35 -0
- package/dist/esm/editing/index.js.map +1 -0
- package/dist/esm/exposure/ContributedItem.d.ts +6 -0
- package/dist/esm/exposure/ContributedItem.d.ts.map +1 -0
- package/dist/esm/exposure/ContributedItem.js +12 -0
- package/dist/esm/exposure/ContributedItem.js.map +1 -0
- package/dist/esm/exposure/ExposedProperty.d.ts +11 -0
- package/dist/esm/exposure/ExposedProperty.d.ts.map +1 -0
- package/dist/esm/exposure/ExposedProperty.js +13 -0
- package/dist/esm/exposure/ExposedProperty.js.map +1 -0
- package/dist/esm/exposure/ExposureDeclaration.d.ts +7 -0
- package/dist/esm/exposure/ExposureDeclaration.d.ts.map +1 -0
- package/dist/esm/exposure/ExposureDeclaration.js +9 -0
- package/dist/esm/exposure/ExposureDeclaration.js.map +1 -0
- package/dist/esm/exposure/InstanceContribution.d.ts +10 -0
- package/dist/esm/exposure/InstanceContribution.d.ts.map +1 -0
- package/dist/esm/exposure/InstanceContribution.js +12 -0
- package/dist/esm/exposure/InstanceContribution.js.map +1 -0
- package/dist/esm/exposure/index.d.ts +5 -0
- package/dist/esm/exposure/index.d.ts.map +1 -0
- package/dist/esm/exposure/index.js +5 -0
- package/dist/esm/exposure/index.js.map +1 -0
- package/dist/esm/icons/IconEntry.d.ts +10 -0
- package/dist/esm/icons/IconEntry.d.ts.map +1 -0
- package/dist/esm/icons/IconEntry.js +20 -0
- package/dist/esm/icons/IconEntry.js.map +1 -0
- package/dist/esm/icons/IconLibrary.d.ts +9 -0
- package/dist/esm/icons/IconLibrary.d.ts.map +1 -0
- package/dist/esm/icons/IconLibrary.js +20 -0
- package/dist/esm/icons/IconLibrary.js.map +1 -0
- package/dist/esm/icons/IconReference.d.ts +7 -0
- package/dist/esm/icons/IconReference.d.ts.map +1 -0
- package/dist/esm/icons/IconReference.js +21 -0
- package/dist/esm/icons/IconReference.js.map +1 -0
- package/dist/esm/icons/iconReferences.d.ts +6 -0
- package/dist/esm/icons/iconReferences.d.ts.map +1 -0
- package/dist/esm/icons/iconReferences.js +56 -0
- package/dist/esm/icons/iconReferences.js.map +1 -0
- package/dist/esm/icons/index.d.ts +5 -0
- package/dist/esm/icons/index.d.ts.map +1 -0
- package/dist/esm/icons/index.js +5 -0
- package/dist/esm/icons/index.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +62 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/packages/PackageKind.d.ts +2 -1
- package/dist/esm/packages/PackageKind.d.ts.map +1 -1
- package/dist/esm/packages/PackageKind.js +12 -1
- package/dist/esm/packages/PackageKind.js.map +1 -1
- package/dist/esm/packages/ScenePackage.d.ts +2 -0
- package/dist/esm/packages/ScenePackage.d.ts.map +1 -1
- package/dist/esm/packages/ScenePackage.js +2 -1
- package/dist/esm/packages/ScenePackage.js.map +1 -1
- package/dist/esm/queries/QueryArgumentBinding.d.ts +7 -0
- package/dist/esm/queries/QueryArgumentBinding.d.ts.map +1 -0
- package/dist/esm/queries/QueryArgumentBinding.js +9 -0
- package/dist/esm/queries/QueryArgumentBinding.js.map +1 -0
- package/dist/esm/queries/QueryBinding.d.ts +10 -0
- package/dist/esm/queries/QueryBinding.d.ts.map +1 -0
- package/dist/esm/queries/QueryBinding.js +11 -0
- package/dist/esm/queries/QueryBinding.js.map +1 -0
- package/dist/esm/queries/QueryCandidate.d.ts +14 -0
- package/dist/esm/queries/QueryCandidate.d.ts.map +1 -0
- package/dist/esm/queries/QueryCandidate.js +13 -0
- package/dist/esm/queries/QueryCandidate.js.map +1 -0
- package/dist/esm/queries/QueryOrigin.d.ts +8 -0
- package/dist/esm/queries/QueryOrigin.d.ts.map +1 -0
- package/dist/esm/queries/QueryOrigin.js +10 -0
- package/dist/esm/queries/QueryOrigin.js.map +1 -0
- package/dist/esm/queries/QueryOriginKind.d.ts +5 -0
- package/dist/esm/queries/QueryOriginKind.d.ts.map +1 -0
- package/dist/esm/queries/QueryOriginKind.js +12 -0
- package/dist/esm/queries/QueryOriginKind.js.map +1 -0
- package/dist/esm/queries/QueryParameter.d.ts +7 -0
- package/dist/esm/queries/QueryParameter.d.ts.map +1 -0
- package/dist/esm/queries/QueryParameter.js +12 -0
- package/dist/esm/queries/QueryParameter.js.map +1 -0
- package/dist/esm/queries/QueryResultBinding.d.ts +6 -0
- package/dist/esm/queries/QueryResultBinding.d.ts.map +1 -0
- package/dist/esm/queries/QueryResultBinding.js +11 -0
- package/dist/esm/queries/QueryResultBinding.js.map +1 -0
- package/dist/esm/queries/QueryResultField.d.ts +7 -0
- package/dist/esm/queries/QueryResultField.d.ts.map +1 -0
- package/dist/esm/queries/QueryResultField.js +12 -0
- package/dist/esm/queries/QueryResultField.js.map +1 -0
- package/dist/esm/queries/QueryResultShape.d.ts +6 -0
- package/dist/esm/queries/QueryResultShape.d.ts.map +1 -0
- package/dist/esm/queries/QueryResultShape.js +14 -0
- package/dist/esm/queries/QueryResultShape.js.map +1 -0
- package/dist/esm/queries/index.d.ts +10 -0
- package/dist/esm/queries/index.d.ts.map +1 -0
- package/dist/esm/queries/index.js +10 -0
- package/dist/esm/queries/index.js.map +1 -0
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/editing/AddCollectionItemEdit.ts +21 -0
- package/editing/ChangeLayoutTypeEdit.ts +22 -0
- package/editing/DiagnosticCode.ts +66 -0
- package/editing/DiagnosticSeverity.ts +11 -0
- package/editing/EditCollectionItemEdit.ts +23 -0
- package/editing/EditTarget.ts +13 -0
- package/editing/EditingScope.ts +24 -0
- package/editing/EditingScopeKind.ts +12 -0
- package/editing/EffectiveCollectionItem.ts +18 -0
- package/editing/EffectiveComponentConfiguration.ts +26 -0
- package/editing/EffectiveConfiguration.ts +23 -0
- package/editing/EffectivePropertyValue.ts +31 -0
- package/editing/ExposePropertyEdit.ts +18 -0
- package/editing/InsertNodeEdit.ts +30 -0
- package/editing/InspectedCollectionItem.ts +18 -0
- package/editing/InspectedProperty.ts +43 -0
- package/editing/MoveNodeEdit.ts +19 -0
- package/editing/NodeInspection.ts +46 -0
- package/editing/NodeProvenance.ts +16 -0
- package/editing/ProvenanceKind.ts +16 -0
- package/editing/RemoveCollectionItemEdit.ts +17 -0
- package/editing/RemoveNodeEdit.ts +14 -0
- package/editing/ReorderCollectionItemEdit.ts +20 -0
- package/editing/ResetInstanceValueEdit.ts +17 -0
- package/editing/ResetPropertyEdit.ts +15 -0
- package/editing/SceneDiagnostic.ts +34 -0
- package/editing/SceneDocument.ts +32 -0
- package/editing/SceneEdit.ts +36 -0
- package/editing/SceneEditKind.ts +23 -0
- package/editing/SceneNodeKind.ts +27 -0
- package/editing/SetInstanceValueEdit.ts +19 -0
- package/editing/SetPropertyEdit.ts +18 -0
- package/editing/UnexposePropertyEdit.ts +16 -0
- package/editing/ValueSource.ts +16 -0
- package/editing/index.ts +37 -0
- package/exposure/ContributedItem.ts +15 -0
- package/exposure/ExposedProperty.ts +46 -0
- package/exposure/ExposureDeclaration.ts +16 -0
- package/exposure/InstanceContribution.ts +36 -0
- package/exposure/index.ts +7 -0
- package/icons/IconEntry.ts +45 -0
- package/icons/IconLibrary.ts +42 -0
- package/icons/IconReference.ts +35 -0
- package/icons/iconReferences.ts +62 -0
- package/icons/index.ts +7 -0
- package/index.ts +5 -0
- package/package.json +1 -1
- package/packages/PackageKind.ts +14 -1
- package/packages/ScenePackage.ts +7 -0
- package/queries/QueryArgumentBinding.ts +17 -0
- package/queries/QueryBinding.ts +22 -0
- package/queries/QueryCandidate.ts +37 -0
- package/queries/QueryOrigin.ts +18 -0
- package/queries/QueryOriginKind.ts +13 -0
- package/queries/QueryParameter.ts +16 -0
- package/queries/QueryResultBinding.ts +15 -0
- package/queries/QueryResultField.ts +17 -0
- package/queries/QueryResultShape.ts +17 -0
- package/queries/index.ts +12 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ExposureDeclaration, InstanceContribution } from '../exposure';
|
|
2
|
+
import { Layout } from '../layouts';
|
|
3
|
+
import { DialogTemplate, Screen, ScreenTemplate } from '../screens';
|
|
4
|
+
export interface SceneDocument {
|
|
5
|
+
layouts: Layout[];
|
|
6
|
+
screenTemplates: ScreenTemplate[];
|
|
7
|
+
dialogTemplates: DialogTemplate[];
|
|
8
|
+
screens: Screen[];
|
|
9
|
+
exposures: ExposureDeclaration[];
|
|
10
|
+
instanceContributions: InstanceContribution[];
|
|
11
|
+
}
|
|
12
|
+
export declare const SceneDocumentPropertyNames: (keyof SceneDocument)[];
|
|
13
|
+
//# sourceMappingURL=SceneDocument.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneDocument.d.ts","sourceRoot":"","sources":["../../../editing/SceneDocument.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAWpE,MAAM,WAAW,aAAa;IAC1B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,OAAO,EAAE,MAAM,EAAE,CAAC;IAGlB,SAAS,EAAE,mBAAmB,EAAE,CAAC;IAGjC,qBAAqB,EAAE,oBAAoB,EAAE,CAAC;CACjD;AAED,eAAO,MAAM,0BAA0B,EAAE,CAAC,MAAM,aAAa,CAAC,EAE7D,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const SceneDocumentPropertyNames = [
|
|
4
|
+
'layouts',
|
|
5
|
+
'screenTemplates',
|
|
6
|
+
'dialogTemplates',
|
|
7
|
+
'screens',
|
|
8
|
+
'exposures',
|
|
9
|
+
'instanceContributions'
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
export { SceneDocumentPropertyNames };
|
|
13
|
+
//# sourceMappingURL=SceneDocument.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneDocument.js","sources":["../../../editing/SceneDocument.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { ExposureDeclaration, InstanceContribution } from '../exposure';\nimport { Layout } from '../layouts';\nimport { DialogTemplate, Screen, ScreenTemplate } from '../screens';\n\n/**\n * Everything an editor works on: the application's layouts, the templates built on them, the screens filling\n * those, and the two things that make a template configurable - what each layout or template exposes, and what\n * each instance contributes.\n *\n * The engine's inspection and editing operations take a document and return a new one; they never change the\n * one they were given. Names are the identity of layouts and templates, and element ids must be unique across the\n * whole document.\n */\nexport interface SceneDocument {\n layouts: Layout[];\n screenTemplates: ScreenTemplate[];\n dialogTemplates: DialogTemplate[];\n screens: Screen[];\n\n /** What each layout or template lets its consumers configure. */\n exposures: ExposureDeclaration[];\n\n /** The values each template instance sets on what was exposed to it. */\n instanceContributions: InstanceContribution[];\n}\n\nexport const SceneDocumentPropertyNames: (keyof SceneDocument)[] = [\n 'layouts', 'screenTemplates', 'dialogTemplates', 'screens', 'exposures', 'instanceContributions',\n];\n"],"names":["SceneDocumentPropertyNames"],"mappings":"AAAA;AACA;MA4BaA,0BAAAA,GAAsD;AAC/D,IAAA,SAAA;AAAW,IAAA,iBAAA;AAAmB,IAAA,iBAAA;AAAmB,IAAA,SAAA;AAAW,IAAA,WAAA;AAAa,IAAA;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AddCollectionItemEdit } from './AddCollectionItemEdit';
|
|
2
|
+
import { ChangeLayoutTypeEdit } from './ChangeLayoutTypeEdit';
|
|
3
|
+
import { EditCollectionItemEdit } from './EditCollectionItemEdit';
|
|
4
|
+
import { ExposePropertyEdit } from './ExposePropertyEdit';
|
|
5
|
+
import { InsertNodeEdit } from './InsertNodeEdit';
|
|
6
|
+
import { MoveNodeEdit } from './MoveNodeEdit';
|
|
7
|
+
import { RemoveCollectionItemEdit } from './RemoveCollectionItemEdit';
|
|
8
|
+
import { RemoveNodeEdit } from './RemoveNodeEdit';
|
|
9
|
+
import { ReorderCollectionItemEdit } from './ReorderCollectionItemEdit';
|
|
10
|
+
import { ResetInstanceValueEdit } from './ResetInstanceValueEdit';
|
|
11
|
+
import { ResetPropertyEdit } from './ResetPropertyEdit';
|
|
12
|
+
import { SetInstanceValueEdit } from './SetInstanceValueEdit';
|
|
13
|
+
import { SetPropertyEdit } from './SetPropertyEdit';
|
|
14
|
+
import { UnexposePropertyEdit } from './UnexposePropertyEdit';
|
|
15
|
+
export type SceneEdit = SetPropertyEdit | ResetPropertyEdit | ChangeLayoutTypeEdit | InsertNodeEdit | MoveNodeEdit | RemoveNodeEdit | SetInstanceValueEdit | ResetInstanceValueEdit | AddCollectionItemEdit | RemoveCollectionItemEdit | ReorderCollectionItemEdit | EditCollectionItemEdit | ExposePropertyEdit | UnexposePropertyEdit;
|
|
16
|
+
//# sourceMappingURL=SceneEdit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneEdit.d.ts","sourceRoot":"","sources":["../../../editing/SceneEdit.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAK9D,MAAM,MAAM,SAAS,GACf,eAAe,GACf,iBAAiB,GACjB,oBAAoB,GACpB,cAAc,GACd,YAAY,GACZ,cAAc,GACd,oBAAoB,GACpB,sBAAsB,GACtB,qBAAqB,GACrB,wBAAwB,GACxB,yBAAyB,GACzB,sBAAsB,GACtB,kBAAkB,GAClB,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneEdit.js","sourceRoot":"","sources":["../../../editing/SceneEdit.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare enum SceneEditKind {
|
|
2
|
+
SetProperty = "setProperty",
|
|
3
|
+
ResetProperty = "resetProperty",
|
|
4
|
+
ChangeLayoutType = "changeLayoutType",
|
|
5
|
+
InsertNode = "insertNode",
|
|
6
|
+
MoveNode = "moveNode",
|
|
7
|
+
RemoveNode = "removeNode",
|
|
8
|
+
SetInstanceValue = "setInstanceValue",
|
|
9
|
+
ResetInstanceValue = "resetInstanceValue",
|
|
10
|
+
AddCollectionItem = "addCollectionItem",
|
|
11
|
+
RemoveCollectionItem = "removeCollectionItem",
|
|
12
|
+
ReorderCollectionItem = "reorderCollectionItem",
|
|
13
|
+
EditCollectionItem = "editCollectionItem",
|
|
14
|
+
ExposeProperty = "exposeProperty",
|
|
15
|
+
UnexposeProperty = "unexposeProperty"
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=SceneEditKind.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneEditKind.d.ts","sourceRoot":"","sources":["../../../editing/SceneEditKind.ts"],"names":[],"mappings":"AAOA,oBAAY,aAAa;IACrB,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,iBAAiB,sBAAsB;IACvC,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAC/C,kBAAkB,uBAAuB;IACzC,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;CACxC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
/**
|
|
4
|
+
* Every edit the engine applies. Each is a plain, serialisable record, so a host can persist it, replay it and
|
|
5
|
+
* build undo and redo on top.
|
|
6
|
+
*/ var SceneEditKind = /*#__PURE__*/ function(SceneEditKind) {
|
|
7
|
+
SceneEditKind["SetProperty"] = "setProperty";
|
|
8
|
+
SceneEditKind["ResetProperty"] = "resetProperty";
|
|
9
|
+
SceneEditKind["ChangeLayoutType"] = "changeLayoutType";
|
|
10
|
+
SceneEditKind["InsertNode"] = "insertNode";
|
|
11
|
+
SceneEditKind["MoveNode"] = "moveNode";
|
|
12
|
+
SceneEditKind["RemoveNode"] = "removeNode";
|
|
13
|
+
SceneEditKind["SetInstanceValue"] = "setInstanceValue";
|
|
14
|
+
SceneEditKind["ResetInstanceValue"] = "resetInstanceValue";
|
|
15
|
+
SceneEditKind["AddCollectionItem"] = "addCollectionItem";
|
|
16
|
+
SceneEditKind["RemoveCollectionItem"] = "removeCollectionItem";
|
|
17
|
+
SceneEditKind["ReorderCollectionItem"] = "reorderCollectionItem";
|
|
18
|
+
SceneEditKind["EditCollectionItem"] = "editCollectionItem";
|
|
19
|
+
SceneEditKind["ExposeProperty"] = "exposeProperty";
|
|
20
|
+
SceneEditKind["UnexposeProperty"] = "unexposeProperty";
|
|
21
|
+
return SceneEditKind;
|
|
22
|
+
}({});
|
|
23
|
+
|
|
24
|
+
export { SceneEditKind };
|
|
25
|
+
//# sourceMappingURL=SceneEditKind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneEditKind.js","sources":["../../../editing/SceneEditKind.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Every edit the engine applies. Each is a plain, serialisable record, so a host can persist it, replay it and\n * build undo and redo on top.\n */\nexport enum SceneEditKind {\n SetProperty = 'setProperty',\n ResetProperty = 'resetProperty',\n ChangeLayoutType = 'changeLayoutType',\n InsertNode = 'insertNode',\n MoveNode = 'moveNode',\n RemoveNode = 'removeNode',\n SetInstanceValue = 'setInstanceValue',\n ResetInstanceValue = 'resetInstanceValue',\n AddCollectionItem = 'addCollectionItem',\n RemoveCollectionItem = 'removeCollectionItem',\n ReorderCollectionItem = 'reorderCollectionItem',\n EditCollectionItem = 'editCollectionItem',\n ExposeProperty = 'exposeProperty',\n UnexposeProperty = 'unexposeProperty',\n}\n"],"names":["SceneEditKind"],"mappings":"AAAA;AACA;AAEA;;;IAIO,IAAKA,aAAAA,iBAAAA,SAAAA,aAAAA,EAAAA;;;;;;;;;;;;;;;AAAAA,IAAAA,OAAAA,aAAAA;AAeX,CAAA,CAAA,EAAA;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum SceneNodeKind {
|
|
2
|
+
Layout = "layout",
|
|
3
|
+
ScreenTemplate = "screenTemplate",
|
|
4
|
+
DialogTemplate = "dialogTemplate",
|
|
5
|
+
Screen = "screen",
|
|
6
|
+
Slot = "slot",
|
|
7
|
+
Element = "element",
|
|
8
|
+
FlowNode = "flowNode",
|
|
9
|
+
Freeform = "freeform",
|
|
10
|
+
Placement = "placement"
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=SceneNodeKind.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneNodeKind.d.ts","sourceRoot":"","sources":["../../../editing/SceneNodeKind.ts"],"names":[],"mappings":"AAMA,oBAAY,aAAa;IACrB,MAAM,WAAW;IACjB,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,MAAM,WAAW;IAGjB,IAAI,SAAS;IAGb,OAAO,YAAY;IAGnB,QAAQ,aAAa;IAGrB,QAAQ,aAAa;IAGrB,SAAS,cAAc;CAC1B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
/**
|
|
4
|
+
* What kind of node an id addresses.
|
|
5
|
+
*/ var SceneNodeKind = /*#__PURE__*/ function(SceneNodeKind) {
|
|
6
|
+
SceneNodeKind["Layout"] = "layout";
|
|
7
|
+
SceneNodeKind["ScreenTemplate"] = "screenTemplate";
|
|
8
|
+
SceneNodeKind["DialogTemplate"] = "dialogTemplate";
|
|
9
|
+
SceneNodeKind["Screen"] = "screen";
|
|
10
|
+
/** A named slot of a layout or template, or the content a screen puts in one. */ SceneNodeKind["Slot"] = "slot";
|
|
11
|
+
/** A scene element: a component, a panel, a control. */ SceneNodeKind["Element"] = "element";
|
|
12
|
+
/** A node of a flow arrangement: a row, a column, a grid or a leaf. */ SceneNodeKind["FlowNode"] = "flowNode";
|
|
13
|
+
/** A freeform arrangement. */ SceneNodeKind["Freeform"] = "freeform";
|
|
14
|
+
/** One element's (or slot's) placement within a freeform variant. */ SceneNodeKind["Placement"] = "placement";
|
|
15
|
+
return SceneNodeKind;
|
|
16
|
+
}({});
|
|
17
|
+
|
|
18
|
+
export { SceneNodeKind };
|
|
19
|
+
//# sourceMappingURL=SceneNodeKind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneNodeKind.js","sources":["../../../editing/SceneNodeKind.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * What kind of node an id addresses.\n */\nexport enum SceneNodeKind {\n Layout = 'layout',\n ScreenTemplate = 'screenTemplate',\n DialogTemplate = 'dialogTemplate',\n Screen = 'screen',\n\n /** A named slot of a layout or template, or the content a screen puts in one. */\n Slot = 'slot',\n\n /** A scene element: a component, a panel, a control. */\n Element = 'element',\n\n /** A node of a flow arrangement: a row, a column, a grid or a leaf. */\n FlowNode = 'flowNode',\n\n /** A freeform arrangement. */\n Freeform = 'freeform',\n\n /** One element's (or slot's) placement within a freeform variant. */\n Placement = 'placement',\n}\n"],"names":["SceneNodeKind"],"mappings":"AAAA;AACA;AAEA;;IAGO,IAAKA,aAAAA,iBAAAA,SAAAA,aAAAA,EAAAA;;;;;sFAMuE,aAAA,CAAA,MAAA,CAAA,GAAA,MAAA;6DAGzB,aAAA,CAAA,SAAA,CAAA,GAAA,SAAA;4EAGe,aAAA,CAAA,UAAA,CAAA,GAAA,UAAA;mCAGzC,aAAA,CAAA,UAAA,CAAA,GAAA,UAAA;0EAGuC,aAAA,CAAA,WAAA,CAAA,GAAA,WAAA;AAlB3DA,IAAAA,OAAAA,aAAAA;AAoBX,CAAA,CAAA,EAAA;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SceneEditKind } from './SceneEditKind';
|
|
2
|
+
export interface SetInstanceValueEdit {
|
|
3
|
+
kind: SceneEditKind.SetInstanceValue;
|
|
4
|
+
instance?: string;
|
|
5
|
+
component: string;
|
|
6
|
+
path: string;
|
|
7
|
+
value: unknown;
|
|
8
|
+
}
|
|
9
|
+
export declare const SetInstanceValueEditPropertyNames: (keyof SetInstanceValueEdit)[];
|
|
10
|
+
//# sourceMappingURL=SetInstanceValueEdit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetInstanceValueEdit.d.ts","sourceRoot":"","sources":["../../../editing/SetInstanceValueEdit.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,aAAa,CAAC,gBAAgB,CAAC;IAGrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,iCAAiC,EAAE,CAAC,MAAM,oBAAoB,CAAC,EAAuD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const SetInstanceValueEditPropertyNames = [
|
|
4
|
+
'kind',
|
|
5
|
+
'instance',
|
|
6
|
+
'component',
|
|
7
|
+
'path',
|
|
8
|
+
'value'
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
export { SetInstanceValueEditPropertyNames };
|
|
12
|
+
//# sourceMappingURL=SetInstanceValueEdit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetInstanceValueEdit.js","sources":["../../../editing/SetInstanceValueEdit.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneEditKind } from './SceneEditKind';\n\n/**\n * Sets an exposed scalar property from a template instance.\n */\nexport interface SetInstanceValueEdit {\n kind: SceneEditKind.SetInstanceValue;\n\n /** The instance contributing; defaults to the editing scope's own instance. */\n instance?: string;\n component: string;\n path: string;\n value: unknown;\n}\n\nexport const SetInstanceValueEditPropertyNames: (keyof SetInstanceValueEdit)[] = ['kind', 'instance', 'component', 'path', 'value'];\n"],"names":["SetInstanceValueEditPropertyNames"],"mappings":"AAAA;AACA;MAiBaA,iCAAAA,GAAoE;AAAC,IAAA,MAAA;AAAQ,IAAA,UAAA;AAAY,IAAA,WAAA;AAAa,IAAA,MAAA;AAAQ,IAAA;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SceneEditKind } from './SceneEditKind';
|
|
2
|
+
export interface SetPropertyEdit {
|
|
3
|
+
kind: SceneEditKind.SetProperty;
|
|
4
|
+
nodeId: string;
|
|
5
|
+
path: string;
|
|
6
|
+
value: unknown;
|
|
7
|
+
}
|
|
8
|
+
export declare const SetPropertyEditPropertyNames: (keyof SetPropertyEdit)[];
|
|
9
|
+
//# sourceMappingURL=SetPropertyEdit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetPropertyEdit.d.ts","sourceRoot":"","sources":["../../../editing/SetPropertyEdit.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,MAAM,WAAW,eAAe;IAC5B,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,4BAA4B,EAAE,CAAC,MAAM,eAAe,CAAC,EAAwC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const SetPropertyEditPropertyNames = [
|
|
4
|
+
'kind',
|
|
5
|
+
'nodeId',
|
|
6
|
+
'path',
|
|
7
|
+
'value'
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
export { SetPropertyEditPropertyNames };
|
|
11
|
+
//# sourceMappingURL=SetPropertyEdit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetPropertyEdit.js","sources":["../../../editing/SetPropertyEdit.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneEditKind } from './SceneEditKind';\n\n/**\n * Sets a property on a node the editing scope owns.\n */\nexport interface SetPropertyEdit {\n kind: SceneEditKind.SetProperty;\n nodeId: string;\n\n /** The property path, as its descriptor states it. */\n path: string;\n value: unknown;\n}\n\nexport const SetPropertyEditPropertyNames: (keyof SetPropertyEdit)[] = ['kind', 'nodeId', 'path', 'value'];\n"],"names":["SetPropertyEditPropertyNames"],"mappings":"AAAA;AACA;MAgBaA,4BAAAA,GAA0D;AAAC,IAAA,MAAA;AAAQ,IAAA,QAAA;AAAU,IAAA,MAAA;AAAQ,IAAA;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SceneEditKind } from './SceneEditKind';
|
|
2
|
+
export interface UnexposePropertyEdit {
|
|
3
|
+
kind: SceneEditKind.UnexposeProperty;
|
|
4
|
+
owner: string;
|
|
5
|
+
component: string;
|
|
6
|
+
path: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const UnexposePropertyEditPropertyNames: (keyof UnexposePropertyEdit)[];
|
|
9
|
+
//# sourceMappingURL=UnexposePropertyEdit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnexposePropertyEdit.d.ts","sourceRoot":"","sources":["../../../editing/UnexposePropertyEdit.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,aAAa,CAAC,gBAAgB,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,iCAAiC,EAAE,CAAC,MAAM,oBAAoB,CAAC,EAA2C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const UnexposePropertyEditPropertyNames = [
|
|
4
|
+
'kind',
|
|
5
|
+
'owner',
|
|
6
|
+
'component',
|
|
7
|
+
'path'
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
export { UnexposePropertyEditPropertyNames };
|
|
11
|
+
//# sourceMappingURL=UnexposePropertyEdit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnexposePropertyEdit.js","sources":["../../../editing/UnexposePropertyEdit.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneEditKind } from './SceneEditKind';\n\n/**\n * Withdraws an exposure. Values instances already saved against it are kept, and come back if it is exposed again.\n */\nexport interface UnexposePropertyEdit {\n kind: SceneEditKind.UnexposeProperty;\n owner: string;\n component: string;\n path: string;\n}\n\nexport const UnexposePropertyEditPropertyNames: (keyof UnexposePropertyEdit)[] = ['kind', 'owner', 'component', 'path'];\n"],"names":["UnexposePropertyEditPropertyNames"],"mappings":"AAAA;AACA;MAcaA,iCAAAA,GAAoE;AAAC,IAAA,MAAA;AAAQ,IAAA,OAAA;AAAS,IAAA,WAAA;AAAa,IAAA;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValueSource.d.ts","sourceRoot":"","sources":["../../../editing/ValueSource.ts"],"names":[],"mappings":"AAMA,oBAAY,WAAW;IAEnB,OAAO,YAAY;IAGnB,KAAK,UAAU;IAGf,QAAQ,aAAa;CACxB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
/**
|
|
4
|
+
* Where a property's effective value came from.
|
|
5
|
+
*/ var ValueSource = /*#__PURE__*/ function(ValueSource) {
|
|
6
|
+
/** The descriptor's default - nothing sets it. */ ValueSource["Default"] = "default";
|
|
7
|
+
/** Set on the node itself (or by the owning template's author). */ ValueSource["Local"] = "local";
|
|
8
|
+
/** Set by a template instance through an exposed property. */ ValueSource["Instance"] = "instance";
|
|
9
|
+
return ValueSource;
|
|
10
|
+
}({});
|
|
11
|
+
|
|
12
|
+
export { ValueSource };
|
|
13
|
+
//# sourceMappingURL=ValueSource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValueSource.js","sources":["../../../editing/ValueSource.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Where a property's effective value came from.\n */\nexport enum ValueSource {\n /** The descriptor's default - nothing sets it. */\n Default = 'default',\n\n /** Set on the node itself (or by the owning template's author). */\n Local = 'local',\n\n /** Set by a template instance through an exposed property. */\n Instance = 'instance',\n}\n"],"names":["ValueSource"],"mappings":"AAAA;AACA;AAEA;;IAGO,IAAKA,WAAAA,iBAAAA,SAAAA,WAAAA,EAAAA;uDACwC,WAAA,CAAA,SAAA,CAAA,GAAA,SAAA;wEAGiB,WAAA,CAAA,OAAA,CAAA,GAAA,OAAA;mEAGL,WAAA,CAAA,UAAA,CAAA,GAAA,UAAA;AAPpDA,IAAAA,OAAAA,WAAAA;AASX,CAAA,CAAA,EAAA;;"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export * from './SceneDocument';
|
|
2
|
+
export * from './SceneNodeKind';
|
|
3
|
+
export * from './EditingScopeKind';
|
|
4
|
+
export * from './EditingScope';
|
|
5
|
+
export * from './ProvenanceKind';
|
|
6
|
+
export * from './NodeProvenance';
|
|
7
|
+
export * from './ValueSource';
|
|
8
|
+
export * from './DiagnosticSeverity';
|
|
9
|
+
export * from './DiagnosticCode';
|
|
10
|
+
export * from './SceneDiagnostic';
|
|
11
|
+
export * from './EffectiveCollectionItem';
|
|
12
|
+
export * from './EffectivePropertyValue';
|
|
13
|
+
export * from './EffectiveComponentConfiguration';
|
|
14
|
+
export * from './EffectiveConfiguration';
|
|
15
|
+
export * from './EditTarget';
|
|
16
|
+
export * from './InspectedCollectionItem';
|
|
17
|
+
export * from './InspectedProperty';
|
|
18
|
+
export * from './NodeInspection';
|
|
19
|
+
export * from './SceneEditKind';
|
|
20
|
+
export * from './SetPropertyEdit';
|
|
21
|
+
export * from './ResetPropertyEdit';
|
|
22
|
+
export * from './ChangeLayoutTypeEdit';
|
|
23
|
+
export * from './InsertNodeEdit';
|
|
24
|
+
export * from './MoveNodeEdit';
|
|
25
|
+
export * from './RemoveNodeEdit';
|
|
26
|
+
export * from './SetInstanceValueEdit';
|
|
27
|
+
export * from './ResetInstanceValueEdit';
|
|
28
|
+
export * from './AddCollectionItemEdit';
|
|
29
|
+
export * from './RemoveCollectionItemEdit';
|
|
30
|
+
export * from './ReorderCollectionItemEdit';
|
|
31
|
+
export * from './EditCollectionItemEdit';
|
|
32
|
+
export * from './ExposePropertyEdit';
|
|
33
|
+
export * from './UnexposePropertyEdit';
|
|
34
|
+
export * from './SceneEdit';
|
|
35
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../editing/index.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export * from './SceneDocument';
|
|
2
|
+
export * from './SceneNodeKind';
|
|
3
|
+
export * from './EditingScopeKind';
|
|
4
|
+
export * from './EditingScope';
|
|
5
|
+
export * from './ProvenanceKind';
|
|
6
|
+
export * from './NodeProvenance';
|
|
7
|
+
export * from './ValueSource';
|
|
8
|
+
export * from './DiagnosticSeverity';
|
|
9
|
+
export * from './DiagnosticCode';
|
|
10
|
+
export * from './SceneDiagnostic';
|
|
11
|
+
export * from './EffectiveCollectionItem';
|
|
12
|
+
export * from './EffectivePropertyValue';
|
|
13
|
+
export * from './EffectiveComponentConfiguration';
|
|
14
|
+
export * from './EffectiveConfiguration';
|
|
15
|
+
export * from './EditTarget';
|
|
16
|
+
export * from './InspectedCollectionItem';
|
|
17
|
+
export * from './InspectedProperty';
|
|
18
|
+
export * from './NodeInspection';
|
|
19
|
+
export * from './SceneEditKind';
|
|
20
|
+
export * from './SetPropertyEdit';
|
|
21
|
+
export * from './ResetPropertyEdit';
|
|
22
|
+
export * from './ChangeLayoutTypeEdit';
|
|
23
|
+
export * from './InsertNodeEdit';
|
|
24
|
+
export * from './MoveNodeEdit';
|
|
25
|
+
export * from './RemoveNodeEdit';
|
|
26
|
+
export * from './SetInstanceValueEdit';
|
|
27
|
+
export * from './ResetInstanceValueEdit';
|
|
28
|
+
export * from './AddCollectionItemEdit';
|
|
29
|
+
export * from './RemoveCollectionItemEdit';
|
|
30
|
+
export * from './ReorderCollectionItemEdit';
|
|
31
|
+
export * from './EditCollectionItemEdit';
|
|
32
|
+
export * from './ExposePropertyEdit';
|
|
33
|
+
export * from './UnexposePropertyEdit';
|
|
34
|
+
export * from './SceneEdit';
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../editing/index.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContributedItem.d.ts","sourceRoot":"","sources":["../../../exposure/ContributedItem.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IAGX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,4BAA4B,EAAE,CAAC,MAAM,eAAe,CAAC,EAAqB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
/**
|
|
4
|
+
* One collection item a template instance contributes. It is identified by `id`, never by its position, so
|
|
5
|
+
* reordering, removing and editing it stay correct as the collection changes around it.
|
|
6
|
+
*/ const ContributedItemPropertyNames = [
|
|
7
|
+
'id',
|
|
8
|
+
'values'
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
export { ContributedItemPropertyNames };
|
|
12
|
+
//# sourceMappingURL=ContributedItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContributedItem.js","sources":["../../../exposure/ContributedItem.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * One collection item a template instance contributes. It is identified by `id`, never by its position, so\n * reordering, removing and editing it stay correct as the collection changes around it.\n */\nexport interface ContributedItem {\n id: string;\n\n /** The item's field values, keyed by field path. */\n values: Record<string, unknown>;\n}\n\nexport const ContributedItemPropertyNames: (keyof ContributedItem)[] = ['id', 'values'];\n"],"names":["ContributedItemPropertyNames"],"mappings":"AAAA;AACA;AAEA;;;UAWaA,4BAAAA,GAA0D;AAAC,IAAA,IAAA;AAAM,IAAA;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CollectionOperation } from '../descriptors';
|
|
2
|
+
export interface ExposedProperty {
|
|
3
|
+
component: string;
|
|
4
|
+
path: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
operations?: CollectionOperation[];
|
|
7
|
+
editableFields?: string[];
|
|
8
|
+
reExposes?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const ExposedPropertyPropertyNames: (keyof ExposedProperty)[];
|
|
11
|
+
//# sourceMappingURL=ExposedProperty.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExposedProperty.d.ts","sourceRoot":"","sources":["../../../exposure/ExposedProperty.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAUrD,MAAM,WAAW,eAAe;IAE5B,SAAS,EAAE,MAAM,CAAC;IAGlB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,MAAM,CAAC;IAMf,UAAU,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAMnC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAO1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,4BAA4B,EAAE,CAAC,MAAM,eAAe,CAAC,EAEjE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const ExposedPropertyPropertyNames = [
|
|
4
|
+
'component',
|
|
5
|
+
'path',
|
|
6
|
+
'label',
|
|
7
|
+
'operations',
|
|
8
|
+
'editableFields',
|
|
9
|
+
'reExposes'
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
export { ExposedPropertyPropertyNames };
|
|
13
|
+
//# sourceMappingURL=ExposedProperty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExposedProperty.js","sources":["../../../exposure/ExposedProperty.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { CollectionOperation } from '../descriptors';\n\n/**\n * One property a template author lets consumers configure.\n *\n * Exposure only ever narrows. A component supports a set of properties (its descriptor); a template author\n * exposes some of them; a consumer sets values for what was exposed. A consumer never reaches anything the\n * author did not expose, and a template nested inside another reaches an outer template's property only when it\n * re-exposes it explicitly.\n */\nexport interface ExposedProperty {\n /** The id of the element that owns the property. */\n component: string;\n\n /** The property's path, as its descriptor states it. */\n path: string;\n\n /** A label for consumers, replacing the descriptor's own. */\n label?: string;\n\n /**\n * For a collection: what consumers may do with it. Absent means none, so exposing a collection without\n * naming operations exposes nothing a consumer can change.\n */\n operations?: CollectionOperation[];\n\n /**\n * For a collection with the `EditFields` operation: the item fields a consumer may change. Absent means\n * every field of the item descriptor.\n */\n editableFields?: string[];\n\n /**\n * Set when this entry passes on a property an outer owner exposed: the name of the layout or template that\n * owns the element. The entry then never widens what the owner exposed - its operations and fields are\n * checked against the owner's.\n */\n reExposes?: string;\n}\n\nexport const ExposedPropertyPropertyNames: (keyof ExposedProperty)[] = [\n 'component', 'path', 'label', 'operations', 'editableFields', 'reExposes',\n];\n"],"names":["ExposedPropertyPropertyNames"],"mappings":"AAAA;AACA;MA0CaA,4BAAAA,GAA0D;AACnE,IAAA,WAAA;AAAa,IAAA,MAAA;AAAQ,IAAA,OAAA;AAAS,IAAA,YAAA;AAAc,IAAA,gBAAA;AAAkB,IAAA;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ExposedProperty } from './ExposedProperty';
|
|
2
|
+
export interface ExposureDeclaration {
|
|
3
|
+
owner: string;
|
|
4
|
+
properties: ExposedProperty[];
|
|
5
|
+
}
|
|
6
|
+
export declare const ExposureDeclarationPropertyNames: (keyof ExposureDeclaration)[];
|
|
7
|
+
//# sourceMappingURL=ExposureDeclaration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExposureDeclaration.d.ts","sourceRoot":"","sources":["../../../exposure/ExposureDeclaration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAKpD,MAAM,WAAW,mBAAmB;IAEhC,KAAK,EAAE,MAAM,CAAC;IAEd,UAAU,EAAE,eAAe,EAAE,CAAC;CACjC;AAED,eAAO,MAAM,gCAAgC,EAAE,CAAC,MAAM,mBAAmB,CAAC,EAA4B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const ExposureDeclarationPropertyNames = [
|
|
4
|
+
'owner',
|
|
5
|
+
'properties'
|
|
6
|
+
];
|
|
7
|
+
|
|
8
|
+
export { ExposureDeclarationPropertyNames };
|
|
9
|
+
//# sourceMappingURL=ExposureDeclaration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExposureDeclaration.js","sources":["../../../exposure/ExposureDeclaration.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { ExposedProperty } from './ExposedProperty';\n\n/**\n * Everything one layout or template exposes to whatever sits inside it.\n */\nexport interface ExposureDeclaration {\n /** The name of the layout, screen template or dialog template making the declaration. */\n owner: string;\n\n properties: ExposedProperty[];\n}\n\nexport const ExposureDeclarationPropertyNames: (keyof ExposureDeclaration)[] = ['owner', 'properties'];\n"],"names":["ExposureDeclarationPropertyNames"],"mappings":"AAAA;AACA;MAcaA,gCAAAA,GAAkE;AAAC,IAAA,OAAA;AAAS,IAAA;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ContributedItem } from './ContributedItem';
|
|
2
|
+
export interface InstanceContribution {
|
|
3
|
+
instance: string;
|
|
4
|
+
component: string;
|
|
5
|
+
path: string;
|
|
6
|
+
value?: unknown;
|
|
7
|
+
items?: ContributedItem[];
|
|
8
|
+
}
|
|
9
|
+
export declare const InstanceContributionPropertyNames: (keyof InstanceContribution)[];
|
|
10
|
+
//# sourceMappingURL=InstanceContribution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstanceContribution.d.ts","sourceRoot":"","sources":["../../../exposure/InstanceContribution.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAYpD,MAAM,WAAW,oBAAoB;IAKjC,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,CAAC;IAGlB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,OAAO,CAAC;IAGhB,KAAK,CAAC,EAAE,eAAe,EAAE,CAAC;CAC7B;AAED,eAAO,MAAM,iCAAiC,EAAE,CAAC,MAAM,oBAAoB,CAAC,EAAwD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const InstanceContributionPropertyNames = [
|
|
4
|
+
'instance',
|
|
5
|
+
'component',
|
|
6
|
+
'path',
|
|
7
|
+
'value',
|
|
8
|
+
'items'
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
export { InstanceContributionPropertyNames };
|
|
12
|
+
//# sourceMappingURL=InstanceContribution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstanceContribution.js","sources":["../../../exposure/InstanceContribution.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { ContributedItem } from './ContributedItem';\n\n/**\n * What one template instance sets on one exposed property.\n *\n * Contributions are kept apart from the template they configure - a screen filling a template stores its own\n * values here and never a copy of the template tree, so changing the template reaches every instance. They are\n * keyed by instance, component and property path; collection items by their own id.\n *\n * A scalar property carries `value`; a collection carries `items`, which are appended after the owner's own items\n * in the order given.\n */\nexport interface InstanceContribution {\n /**\n * The instance contributing: `screen:<name>` for a screen filling a template, `template:<name>` for a\n * template sitting inside another template's slot, `dialog:<name>` for a dialog.\n */\n instance: string;\n\n /** The id of the element the property belongs to. */\n component: string;\n\n /** The property's path. */\n path: string;\n\n /** The value of a scalar property. */\n value?: unknown;\n\n /** The items a collection property gets from this instance, in order. */\n items?: ContributedItem[];\n}\n\nexport const InstanceContributionPropertyNames: (keyof InstanceContribution)[] = ['instance', 'component', 'path', 'value', 'items'];\n"],"names":["InstanceContributionPropertyNames"],"mappings":"AAAA;AACA;MAkCaA,iCAAAA,GAAoE;AAAC,IAAA,UAAA;AAAY,IAAA,WAAA;AAAa,IAAA,MAAA;AAAQ,IAAA,OAAA;AAAS,IAAA;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../exposure/index.ts"],"names":[],"mappings":"AAGA,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../exposure/index.ts"],"names":[],"mappings":"AAGA,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface IconEntry {
|
|
2
|
+
key: string;
|
|
3
|
+
name: string;
|
|
4
|
+
categories: string[];
|
|
5
|
+
aliases?: string[];
|
|
6
|
+
tags?: string[];
|
|
7
|
+
variants?: string[];
|
|
8
|
+
}
|
|
9
|
+
export declare const IconEntryPropertyNames: (keyof IconEntry)[];
|
|
10
|
+
//# sourceMappingURL=IconEntry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconEntry.d.ts","sourceRoot":"","sources":["../../../icons/IconEntry.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,SAAS;IAItB,GAAG,EAAE,MAAM,CAAC;IAKZ,IAAI,EAAE,MAAM,CAAC;IAKb,UAAU,EAAE,MAAM,EAAE,CAAC;IAKrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAKnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAMhB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,eAAO,MAAM,sBAAsB,EAAE,CAAC,MAAM,SAAS,CAAC,EAAiE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
/**
|
|
4
|
+
* One icon in an icon library's catalog: what a picker needs to find it and a reference needs to name it.
|
|
5
|
+
*
|
|
6
|
+
* An entry is metadata only. It holds no SVG, class name or component - that is the renderer's concern,
|
|
7
|
+
* resolved lazily per icon by the adapter - so a catalog is cheap to load and identical for every
|
|
8
|
+
* renderer. The {@link IconReference} that names the icon is the entry's `key` (and one of its
|
|
9
|
+
* `variants`) together with the library the catalog belongs to.
|
|
10
|
+
*/ const IconEntryPropertyNames = [
|
|
11
|
+
'key',
|
|
12
|
+
'name',
|
|
13
|
+
'categories',
|
|
14
|
+
'aliases',
|
|
15
|
+
'tags',
|
|
16
|
+
'variants'
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
export { IconEntryPropertyNames };
|
|
20
|
+
//# sourceMappingURL=IconEntry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconEntry.js","sources":["../../../icons/IconEntry.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * One icon in an icon library's catalog: what a picker needs to find it and a reference needs to name it.\n *\n * An entry is metadata only. It holds no SVG, class name or component - that is the renderer's concern,\n * resolved lazily per icon by the adapter - so a catalog is cheap to load and identical for every\n * renderer. The {@link IconReference} that names the icon is the entry's `key` (and one of its\n * `variants`) together with the library the catalog belongs to.\n */\nexport interface IconEntry {\n /**\n * The stable key within the library; what an {@link IconReference} persists.\n */\n key: string;\n\n /**\n * The display name a picker shows. Never identity - two libraries may share a name.\n */\n name: string;\n\n /**\n * The categories the icon is filed under, for browsing.\n */\n categories: string[];\n\n /**\n * Alternative names to find the icon by (`bin` for `trash`).\n */\n aliases?: string[];\n\n /**\n * Free-form search terms.\n */\n tags?: string[];\n\n /**\n * The variants this icon exists in. Absent or empty when the icon has no variants, in which case\n * references to it carry none.\n */\n variants?: string[];\n}\n\nexport const IconEntryPropertyNames: (keyof IconEntry)[] = ['key', 'name', 'categories', 'aliases', 'tags', 'variants'];\n"],"names":["IconEntryPropertyNames"],"mappings":"AAAA;AACA;AAEA;;;;;;;UAyCaA,sBAAAA,GAA8C;AAAC,IAAA,KAAA;AAAO,IAAA,MAAA;AAAQ,IAAA,YAAA;AAAc,IAAA,SAAA;AAAW,IAAA,MAAA;AAAQ,IAAA;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface IconLibrary {
|
|
2
|
+
variants: string[];
|
|
3
|
+
renderers: string[];
|
|
4
|
+
attribution?: string;
|
|
5
|
+
attributionUrl?: string;
|
|
6
|
+
iconCount?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const IconLibraryPropertyNames: (keyof IconLibrary)[];
|
|
9
|
+
//# sourceMappingURL=IconLibrary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconLibrary.d.ts","sourceRoot":"","sources":["../../../icons/IconLibrary.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,WAAW;IAKxB,QAAQ,EAAE,MAAM,EAAE,CAAC;IAMnB,SAAS,EAAE,MAAM,EAAE,CAAC;IAKpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,wBAAwB,EAAE,CAAC,MAAM,WAAW,CAAC,EAA4E,CAAC"}
|