@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 @@
|
|
|
1
|
+
{"version":3,"file":"ResetPropertyEdit.js","sources":["../../../editing/ResetPropertyEdit.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 * Removes a property's stored value, so the descriptor's default applies again.\n */\nexport interface ResetPropertyEdit {\n kind: SceneEditKind.ResetProperty;\n nodeId: string;\n path: string;\n}\n\nexport const ResetPropertyEditPropertyNames: (keyof ResetPropertyEdit)[] = ['kind', 'nodeId', 'path'];\n"],"names":["ResetPropertyEditPropertyNames"],"mappings":";;AAAA;AACA;MAaaA,8BAAAA,GAA8D;AAAC,IAAA,MAAA;AAAQ,IAAA,QAAA;AAAU,IAAA;;;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
const SceneDiagnosticPropertyNames = [
|
|
6
|
+
'code',
|
|
7
|
+
'severity',
|
|
8
|
+
'message',
|
|
9
|
+
'nodeId',
|
|
10
|
+
'instance',
|
|
11
|
+
'component',
|
|
12
|
+
'path',
|
|
13
|
+
'itemId'
|
|
14
|
+
];
|
|
15
|
+
|
|
16
|
+
exports.SceneDiagnosticPropertyNames = SceneDiagnosticPropertyNames;
|
|
17
|
+
//# sourceMappingURL=SceneDiagnostic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SceneDiagnostic.js","sources":["../../../editing/SceneDiagnostic.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 { DiagnosticCode } from './DiagnosticCode';\nimport { DiagnosticSeverity } from './DiagnosticSeverity';\n\n/**\n * One finding from inspecting, editing, validating or resolving. Plain data, so a host can show it, persist it or\n * ship it to another process.\n */\nexport interface SceneDiagnostic {\n code: `${DiagnosticCode}`;\n severity: `${DiagnosticSeverity}`;\n message: string;\n\n /** The node the finding is about, when there is one. */\n nodeId?: string;\n\n /** The instance the finding is about. */\n instance?: string;\n\n /** The id of the component the finding is about. */\n component?: string;\n\n /** The property path the finding is about. */\n path?: string;\n\n /** The collection item the finding is about. */\n itemId?: string;\n}\n\nexport const SceneDiagnosticPropertyNames: (keyof SceneDiagnostic)[] = [\n 'code', 'severity', 'message', 'nodeId', 'instance', 'component', 'path', 'itemId',\n];\n"],"names":["SceneDiagnosticPropertyNames"],"mappings":";;AAAA;AACA;MA8BaA,4BAAAA,GAA0D;AACnE,IAAA,MAAA;AAAQ,IAAA,UAAA;AAAY,IAAA,SAAA;AAAW,IAAA,QAAA;AAAU,IAAA,UAAA;AAAY,IAAA,WAAA;AAAa,IAAA,MAAA;AAAQ,IAAA;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
const SceneDocumentPropertyNames = [
|
|
6
|
+
'layouts',
|
|
7
|
+
'screenTemplates',
|
|
8
|
+
'dialogTemplates',
|
|
9
|
+
'screens',
|
|
10
|
+
'exposures',
|
|
11
|
+
'instanceContributions'
|
|
12
|
+
];
|
|
13
|
+
|
|
14
|
+
exports.SceneDocumentPropertyNames = SceneDocumentPropertyNames;
|
|
15
|
+
//# 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,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
/**
|
|
6
|
+
* Every edit the engine applies. Each is a plain, serialisable record, so a host can persist it, replay it and
|
|
7
|
+
* build undo and redo on top.
|
|
8
|
+
*/ var SceneEditKind = /*#__PURE__*/ function(SceneEditKind) {
|
|
9
|
+
SceneEditKind["SetProperty"] = "setProperty";
|
|
10
|
+
SceneEditKind["ResetProperty"] = "resetProperty";
|
|
11
|
+
SceneEditKind["ChangeLayoutType"] = "changeLayoutType";
|
|
12
|
+
SceneEditKind["InsertNode"] = "insertNode";
|
|
13
|
+
SceneEditKind["MoveNode"] = "moveNode";
|
|
14
|
+
SceneEditKind["RemoveNode"] = "removeNode";
|
|
15
|
+
SceneEditKind["SetInstanceValue"] = "setInstanceValue";
|
|
16
|
+
SceneEditKind["ResetInstanceValue"] = "resetInstanceValue";
|
|
17
|
+
SceneEditKind["AddCollectionItem"] = "addCollectionItem";
|
|
18
|
+
SceneEditKind["RemoveCollectionItem"] = "removeCollectionItem";
|
|
19
|
+
SceneEditKind["ReorderCollectionItem"] = "reorderCollectionItem";
|
|
20
|
+
SceneEditKind["EditCollectionItem"] = "editCollectionItem";
|
|
21
|
+
SceneEditKind["ExposeProperty"] = "exposeProperty";
|
|
22
|
+
SceneEditKind["UnexposeProperty"] = "unexposeProperty";
|
|
23
|
+
return SceneEditKind;
|
|
24
|
+
}({});
|
|
25
|
+
|
|
26
|
+
exports.SceneEditKind = SceneEditKind;
|
|
27
|
+
//# 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,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
/**
|
|
6
|
+
* What kind of node an id addresses.
|
|
7
|
+
*/ var SceneNodeKind = /*#__PURE__*/ function(SceneNodeKind) {
|
|
8
|
+
SceneNodeKind["Layout"] = "layout";
|
|
9
|
+
SceneNodeKind["ScreenTemplate"] = "screenTemplate";
|
|
10
|
+
SceneNodeKind["DialogTemplate"] = "dialogTemplate";
|
|
11
|
+
SceneNodeKind["Screen"] = "screen";
|
|
12
|
+
/** A named slot of a layout or template, or the content a screen puts in one. */ SceneNodeKind["Slot"] = "slot";
|
|
13
|
+
/** A scene element: a component, a panel, a control. */ SceneNodeKind["Element"] = "element";
|
|
14
|
+
/** A node of a flow arrangement: a row, a column, a grid or a leaf. */ SceneNodeKind["FlowNode"] = "flowNode";
|
|
15
|
+
/** A freeform arrangement. */ SceneNodeKind["Freeform"] = "freeform";
|
|
16
|
+
/** One element's (or slot's) placement within a freeform variant. */ SceneNodeKind["Placement"] = "placement";
|
|
17
|
+
return SceneNodeKind;
|
|
18
|
+
}({});
|
|
19
|
+
|
|
20
|
+
exports.SceneNodeKind = SceneNodeKind;
|
|
21
|
+
//# 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,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
const SetInstanceValueEditPropertyNames = [
|
|
6
|
+
'kind',
|
|
7
|
+
'instance',
|
|
8
|
+
'component',
|
|
9
|
+
'path',
|
|
10
|
+
'value'
|
|
11
|
+
];
|
|
12
|
+
|
|
13
|
+
exports.SetInstanceValueEditPropertyNames = SetInstanceValueEditPropertyNames;
|
|
14
|
+
//# 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,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
const SetPropertyEditPropertyNames = [
|
|
6
|
+
'kind',
|
|
7
|
+
'nodeId',
|
|
8
|
+
'path',
|
|
9
|
+
'value'
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
exports.SetPropertyEditPropertyNames = SetPropertyEditPropertyNames;
|
|
13
|
+
//# 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,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
const UnexposePropertyEditPropertyNames = [
|
|
6
|
+
'kind',
|
|
7
|
+
'owner',
|
|
8
|
+
'component',
|
|
9
|
+
'path'
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
exports.UnexposePropertyEditPropertyNames = UnexposePropertyEditPropertyNames;
|
|
13
|
+
//# 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,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
/**
|
|
6
|
+
* Where a property's effective value came from.
|
|
7
|
+
*/ var ValueSource = /*#__PURE__*/ function(ValueSource) {
|
|
8
|
+
/** The descriptor's default - nothing sets it. */ ValueSource["Default"] = "default";
|
|
9
|
+
/** Set on the node itself (or by the owning template's author). */ ValueSource["Local"] = "local";
|
|
10
|
+
/** Set by a template instance through an exposed property. */ ValueSource["Instance"] = "instance";
|
|
11
|
+
return ValueSource;
|
|
12
|
+
}({});
|
|
13
|
+
|
|
14
|
+
exports.ValueSource = ValueSource;
|
|
15
|
+
//# 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,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
/**
|
|
6
|
+
* One collection item a template instance contributes. It is identified by `id`, never by its position, so
|
|
7
|
+
* reordering, removing and editing it stay correct as the collection changes around it.
|
|
8
|
+
*/ const ContributedItemPropertyNames = [
|
|
9
|
+
'id',
|
|
10
|
+
'values'
|
|
11
|
+
];
|
|
12
|
+
|
|
13
|
+
exports.ContributedItemPropertyNames = ContributedItemPropertyNames;
|
|
14
|
+
//# 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,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
const ExposedPropertyPropertyNames = [
|
|
6
|
+
'component',
|
|
7
|
+
'path',
|
|
8
|
+
'label',
|
|
9
|
+
'operations',
|
|
10
|
+
'editableFields',
|
|
11
|
+
'reExposes'
|
|
12
|
+
];
|
|
13
|
+
|
|
14
|
+
exports.ExposedPropertyPropertyNames = ExposedPropertyPropertyNames;
|
|
15
|
+
//# 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,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
const ExposureDeclarationPropertyNames = [
|
|
6
|
+
'owner',
|
|
7
|
+
'properties'
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
exports.ExposureDeclarationPropertyNames = ExposureDeclarationPropertyNames;
|
|
11
|
+
//# 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,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
const InstanceContributionPropertyNames = [
|
|
6
|
+
'instance',
|
|
7
|
+
'component',
|
|
8
|
+
'path',
|
|
9
|
+
'value',
|
|
10
|
+
'items'
|
|
11
|
+
];
|
|
12
|
+
|
|
13
|
+
exports.InstanceContributionPropertyNames = InstanceContributionPropertyNames;
|
|
14
|
+
//# 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,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
/**
|
|
6
|
+
* One icon in an icon library's catalog: what a picker needs to find it and a reference needs to name it.
|
|
7
|
+
*
|
|
8
|
+
* An entry is metadata only. It holds no SVG, class name or component - that is the renderer's concern,
|
|
9
|
+
* resolved lazily per icon by the adapter - so a catalog is cheap to load and identical for every
|
|
10
|
+
* renderer. The {@link IconReference} that names the icon is the entry's `key` (and one of its
|
|
11
|
+
* `variants`) together with the library the catalog belongs to.
|
|
12
|
+
*/ const IconEntryPropertyNames = [
|
|
13
|
+
'key',
|
|
14
|
+
'name',
|
|
15
|
+
'categories',
|
|
16
|
+
'aliases',
|
|
17
|
+
'tags',
|
|
18
|
+
'variants'
|
|
19
|
+
];
|
|
20
|
+
|
|
21
|
+
exports.IconEntryPropertyNames = IconEntryPropertyNames;
|
|
22
|
+
//# 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,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
/**
|
|
6
|
+
* What a {@link ScenePackage} of kind {@link PackageKind.IconLibrary} declares about its icons, beyond
|
|
7
|
+
* what every package declares (name, version, license, dependencies, module).
|
|
8
|
+
*
|
|
9
|
+
* It is deliberately small. The icons themselves are not listed here: a library can ship thousands, and a
|
|
10
|
+
* profile resolution that read every key of every library would defeat the point of resolving without
|
|
11
|
+
* loading anything. The icon *catalog* - an {@link IconEntry} per icon - is loaded on demand from the
|
|
12
|
+
* library's module, and each icon's artwork is loaded per icon by the renderer's adapter.
|
|
13
|
+
*/ const IconLibraryPropertyNames = [
|
|
14
|
+
'variants',
|
|
15
|
+
'renderers',
|
|
16
|
+
'attribution',
|
|
17
|
+
'attributionUrl',
|
|
18
|
+
'iconCount'
|
|
19
|
+
];
|
|
20
|
+
|
|
21
|
+
exports.IconLibraryPropertyNames = IconLibraryPropertyNames;
|
|
22
|
+
//# sourceMappingURL=IconLibrary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconLibrary.js","sources":["../../../icons/IconLibrary.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 a {@link ScenePackage} of kind {@link PackageKind.IconLibrary} declares about its icons, beyond\n * what every package declares (name, version, license, dependencies, module).\n *\n * It is deliberately small. The icons themselves are not listed here: a library can ship thousands, and a\n * profile resolution that read every key of every library would defeat the point of resolving without\n * loading anything. The icon *catalog* - an {@link IconEntry} per icon - is loaded on demand from the\n * library's module, and each icon's artwork is loaded per icon by the renderer's adapter.\n */\nexport interface IconLibrary {\n /**\n * The style variants the library offers (`outline`, `solid` ...), empty when it has a single style.\n * Declared here so a picker can offer variant filters before it has loaded the catalog.\n */\n variants: string[];\n\n /**\n * The renderers the library ships an adapter for (`react` ...), so tooling can say whether the\n * library can render for the target a profile selects without loading it.\n */\n renderers: string[];\n\n /**\n * The credit line the library's license asks to be shown, for example \"Icons by Lucide contributors\".\n */\n attribution?: string;\n\n /**\n * Where the attribution points - the library's home or license page.\n */\n attributionUrl?: string;\n\n /**\n * How many icons the catalog holds, for a picker's \"1,500 icons\" before the catalog is loaded.\n */\n iconCount?: number;\n}\n\nexport const IconLibraryPropertyNames: (keyof IconLibrary)[] = ['variants', 'renderers', 'attribution', 'attributionUrl', 'iconCount'];\n"],"names":["IconLibraryPropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;;;;;;UAsCaA,wBAAAA,GAAkD;AAAC,IAAA,UAAA;AAAY,IAAA,WAAA;AAAa,IAAA,aAAA;AAAe,IAAA,gBAAA;AAAkB,IAAA;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
/**
|
|
6
|
+
* The persisted, renderer-neutral identity of one icon: which icon library it comes from, which icon
|
|
7
|
+
* inside that library, and optionally which style variant of it.
|
|
8
|
+
*
|
|
9
|
+
* This is the only form in which a screen, template, blueprint or profile refers to an icon. It carries
|
|
10
|
+
* no CSS class, no SVG and no component - those belong to a renderer's adapter for the library - so the
|
|
11
|
+
* same reference renders on the web, on a phone, or anywhere else a library has an adapter.
|
|
12
|
+
*
|
|
13
|
+
* Identity is all three fields. A display name, a catalog position or a CSS class is never identity:
|
|
14
|
+
* two libraries can each ship an icon called `home`, and `{ library: 'a', key: 'home' }` and
|
|
15
|
+
* `{ library: 'b', key: 'home' }` are different icons that are never silently swapped for one another.
|
|
16
|
+
*/ const IconReferencePropertyNames = [
|
|
17
|
+
'library',
|
|
18
|
+
'key',
|
|
19
|
+
'variant'
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
exports.IconReferencePropertyNames = IconReferencePropertyNames;
|
|
23
|
+
//# sourceMappingURL=IconReference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconReference.js","sources":["../../../icons/IconReference.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 * The persisted, renderer-neutral identity of one icon: which icon library it comes from, which icon\n * inside that library, and optionally which style variant of it.\n *\n * This is the only form in which a screen, template, blueprint or profile refers to an icon. It carries\n * no CSS class, no SVG and no component - those belong to a renderer's adapter for the library - so the\n * same reference renders on the web, on a phone, or anywhere else a library has an adapter.\n *\n * Identity is all three fields. A display name, a catalog position or a CSS class is never identity:\n * two libraries can each ship an icon called `home`, and `{ library: 'a', key: 'home' }` and\n * `{ library: 'b', key: 'home' }` are different icons that are never silently swapped for one another.\n */\nexport interface IconReference {\n /**\n * The identity of the icon library - the `name` of the {@link ScenePackage} of kind\n * {@link PackageKind.IconLibrary} that provides the icon.\n */\n library: string;\n\n /**\n * The stable key of the icon inside its library. Stable means a library keeps the key across\n * versions for as long as it ships the icon; it is not the icon's display name.\n */\n key: string;\n\n /**\n * The style variant (`outline`, `solid`, `filled` ...), or absent for a library or icon that has none.\n */\n variant?: string;\n}\n\nexport const IconReferencePropertyNames: (keyof IconReference)[] = ['library', 'key', 'variant'];\n"],"names":["IconReferencePropertyNames"],"mappings":";;AAAA;AACA;AAEA;;;;;;;;;;;UA+BaA,0BAAAA,GAAsD;AAAC,IAAA,SAAA;AAAW,IAAA,KAAA;AAAO,IAAA;;;"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
/**
|
|
6
|
+
* The character that separates the parts of an icon reference's text form. A reference's parts therefore
|
|
7
|
+
* cannot contain it - an npm package name, an icon key and a variant name never do.
|
|
8
|
+
*/ const separator = '#';
|
|
9
|
+
function isPart(value) {
|
|
10
|
+
return typeof value === 'string' && value.length > 0 && !value.includes(separator);
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Whether a value is a well-formed {@link IconReference}: a library and a key that are non-empty, an
|
|
14
|
+
* optional non-empty variant, none of them containing the text-form separator. Extra properties are
|
|
15
|
+
* tolerated, because a reference read from a persisted document may carry editor-added metadata.
|
|
16
|
+
*/ function isIconReference(value) {
|
|
17
|
+
if (typeof value !== 'object' || value === null) return false;
|
|
18
|
+
const candidate = value;
|
|
19
|
+
return isPart(candidate.library) && isPart(candidate.key) && (candidate.variant === undefined || isPart(candidate.variant));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Whether two references name the same icon. Equality is all three fields - library, key and variant -
|
|
23
|
+
* and nothing else; an absent variant equals only another absent variant.
|
|
24
|
+
*/ function iconReferencesEqual(left, right) {
|
|
25
|
+
return left.library === right.library && left.key === right.key && (left.variant ?? undefined) === (right.variant ?? undefined);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The canonical single-string form of a reference, for keys, logs and diagnostics:
|
|
29
|
+
* `library#key`, or `library#key#variant`. Two references are equal exactly when their text forms are equal.
|
|
30
|
+
* It is a convenience for people and tools, not the persisted shape - persist the {@link IconReference}.
|
|
31
|
+
*
|
|
32
|
+
* @throws Error when a part is empty or contains `#`.
|
|
33
|
+
*/ function formatIconReference(reference) {
|
|
34
|
+
if (!isIconReference(reference)) {
|
|
35
|
+
throw new Error(`'${JSON.stringify(reference)}' is not a valid icon reference: library and key are required, and no part may be empty or contain '${separator}'`);
|
|
36
|
+
}
|
|
37
|
+
return reference.variant === undefined ? `${reference.library}${separator}${reference.key}` : `${reference.library}${separator}${reference.key}${separator}${reference.variant}`;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Reads the text form produced by {@link formatIconReference}. Returns `undefined` for anything that is
|
|
41
|
+
* not one - including a bare legacy icon name such as `pi pi-home`, which has no library and so cannot be
|
|
42
|
+
* made into a reference without choosing one.
|
|
43
|
+
*/ function parseIconReference(text) {
|
|
44
|
+
const parts = text.split(separator);
|
|
45
|
+
if (parts.length < 2 || parts.length > 3 || !parts.every(isPart)) return undefined;
|
|
46
|
+
const [library, key, variant] = parts;
|
|
47
|
+
return variant === undefined ? {
|
|
48
|
+
library,
|
|
49
|
+
key
|
|
50
|
+
} : {
|
|
51
|
+
library,
|
|
52
|
+
key,
|
|
53
|
+
variant
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
exports.formatIconReference = formatIconReference;
|
|
58
|
+
exports.iconReferencesEqual = iconReferencesEqual;
|
|
59
|
+
exports.isIconReference = isIconReference;
|
|
60
|
+
exports.parseIconReference = parseIconReference;
|
|
61
|
+
//# sourceMappingURL=iconReferences.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconReferences.js","sources":["../../../icons/iconReferences.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 { IconReference } from './IconReference';\n\n/**\n * The character that separates the parts of an icon reference's text form. A reference's parts therefore\n * cannot contain it - an npm package name, an icon key and a variant name never do.\n */\nconst separator = '#';\n\nfunction isPart(value: unknown): value is string {\n return typeof value === 'string' && value.length > 0 && !value.includes(separator);\n}\n\n/**\n * Whether a value is a well-formed {@link IconReference}: a library and a key that are non-empty, an\n * optional non-empty variant, none of them containing the text-form separator. Extra properties are\n * tolerated, because a reference read from a persisted document may carry editor-added metadata.\n */\nexport function isIconReference(value: unknown): value is IconReference {\n if (typeof value !== 'object' || value === null) return false;\n const candidate = value as Record<string, unknown>;\n return isPart(candidate.library) && isPart(candidate.key) && (candidate.variant === undefined || isPart(candidate.variant));\n}\n\n/**\n * Whether two references name the same icon. Equality is all three fields - library, key and variant -\n * and nothing else; an absent variant equals only another absent variant.\n */\nexport function iconReferencesEqual(left: IconReference, right: IconReference): boolean {\n return left.library === right.library && left.key === right.key && (left.variant ?? undefined) === (right.variant ?? undefined);\n}\n\n/**\n * The canonical single-string form of a reference, for keys, logs and diagnostics:\n * `library#key`, or `library#key#variant`. Two references are equal exactly when their text forms are equal.\n * It is a convenience for people and tools, not the persisted shape - persist the {@link IconReference}.\n *\n * @throws Error when a part is empty or contains `#`.\n */\nexport function formatIconReference(reference: IconReference): string {\n if (!isIconReference(reference)) {\n throw new Error(`'${JSON.stringify(reference)}' is not a valid icon reference: library and key are required, and no part may be empty or contain '${separator}'`);\n }\n\n return reference.variant === undefined\n ? `${reference.library}${separator}${reference.key}`\n : `${reference.library}${separator}${reference.key}${separator}${reference.variant}`;\n}\n\n/**\n * Reads the text form produced by {@link formatIconReference}. Returns `undefined` for anything that is\n * not one - including a bare legacy icon name such as `pi pi-home`, which has no library and so cannot be\n * made into a reference without choosing one.\n */\nexport function parseIconReference(text: string): IconReference | undefined {\n const parts = text.split(separator);\n if (parts.length < 2 || parts.length > 3 || !parts.every(isPart)) return undefined;\n const [library, key, variant] = parts;\n return variant === undefined ? { library, key } : { library, key, variant };\n}\n"],"names":["separator","isPart","value","length","includes","isIconReference","candidate","library","key","variant","undefined","iconReferencesEqual","left","right","formatIconReference","reference","Error","JSON","stringify","parseIconReference","text","parts","split","every"],"mappings":";;AAAA;AACA;AAIA;;;AAGC,IACD,MAAMA,SAAAA,GAAY,GAAA;AAElB,SAASC,OAAOC,KAAc,EAAA;IAC1B,OAAO,OAAOA,KAAAA,KAAU,QAAA,IAAYA,KAAAA,CAAMC,MAAM,GAAG,CAAA,IAAK,CAACD,KAAAA,CAAME,QAAQ,CAACJ,SAAAA,CAAAA;AAC5E;AAEA;;;;IAKO,SAASK,eAAAA,CAAgBH,KAAc,EAAA;AAC1C,IAAA,IAAI,OAAOA,KAAAA,KAAU,QAAA,IAAYA,KAAAA,KAAU,MAAM,OAAO,KAAA;AACxD,IAAA,MAAMI,SAAAA,GAAYJ,KAAAA;AAClB,IAAA,OAAOD,OAAOK,SAAAA,CAAUC,OAAO,CAAA,IAAKN,MAAAA,CAAOK,UAAUE,GAAG,CAAA,KAAMF,SAAAA,CAAUG,OAAO,KAAKC,SAAAA,IAAaT,MAAAA,CAAOK,SAAAA,CAAUG,OAAO,CAAA,CAAA;AAC7H;AAEA;;;AAGC,IACM,SAASE,mBAAAA,CAAoBC,IAAmB,EAAEC,KAAoB,EAAA;IACzE,OAAOD,IAAAA,CAAKL,OAAO,KAAKM,KAAAA,CAAMN,OAAO,IAAIK,IAAAA,CAAKJ,GAAG,KAAKK,KAAAA,CAAML,GAAG,IAAI,CAACI,IAAAA,CAAKH,OAAO,IAAIC,SAAQ,OAAQG,KAAAA,CAAMJ,OAAO,IAAIC,SAAQ,CAAA;AACjI;AAEA;;;;;;IAOO,SAASI,mBAAAA,CAAoBC,SAAwB,EAAA;IACxD,IAAI,CAACV,gBAAgBU,SAAAA,CAAAA,EAAY;AAC7B,QAAA,MAAM,IAAIC,KAAAA,CAAM,CAAC,CAAC,EAAEC,IAAAA,CAAKC,SAAS,CAACH,SAAAA,CAAAA,CAAW,oGAAoG,EAAEf,SAAAA,CAAU,CAAC,CAAC,CAAA;AACpK,IAAA;IAEA,OAAOe,SAAAA,CAAUN,OAAO,KAAKC,SAAAA,GACvB,CAAA,EAAGK,UAAUR,OAAO,CAAA,EAAGP,SAAAA,CAAAA,EAAYe,SAAAA,CAAUP,GAAG,CAAA,CAAE,GAClD,CAAA,EAAGO,SAAAA,CAAUR,OAAO,CAAA,EAAGP,SAAAA,CAAAA,EAAYe,SAAAA,CAAUP,GAAG,CAAA,EAAGR,SAAAA,CAAAA,EAAYe,SAAAA,CAAUN,OAAO,CAAA,CAAE;AAC5F;AAEA;;;;IAKO,SAASU,kBAAAA,CAAmBC,IAAY,EAAA;IAC3C,MAAMC,KAAAA,GAAQD,IAAAA,CAAKE,KAAK,CAACtB,SAAAA,CAAAA;AACzB,IAAA,IAAIqB,KAAAA,CAAMlB,MAAM,GAAG,CAAA,IAAKkB,KAAAA,CAAMlB,MAAM,GAAG,CAAA,IAAK,CAACkB,KAAAA,CAAME,KAAK,CAACtB,SAAS,OAAOS,SAAAA;AACzE,IAAA,MAAM,CAACH,OAAAA,EAASC,GAAAA,EAAKC,OAAAA,CAAQ,GAAGY,KAAAA;AAChC,IAAA,OAAOZ,YAAYC,SAAAA,GAAY;AAAEH,QAAAA,OAAAA;AAASC,QAAAA;KAAI,GAAI;AAAED,QAAAA,OAAAA;AAASC,QAAAA,GAAAA;AAAKC,QAAAA;AAAQ,KAAA;AAC9E;;;;;"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -11,6 +11,7 @@ var Orientation = require('./common/Orientation.js');
|
|
|
11
11
|
var Dock = require('./common/Dock.js');
|
|
12
12
|
var GridUnitType = require('./common/GridUnitType.js');
|
|
13
13
|
var GridLength = require('./common/GridLength.js');
|
|
14
|
+
var DestinationReference = require('./common/DestinationReference.js');
|
|
14
15
|
var WidthSizeClass = require('./sizeClasses/WidthSizeClass.js');
|
|
15
16
|
var HeightSizeClass = require('./sizeClasses/HeightSizeClass.js');
|
|
16
17
|
var SizeClass = require('./sizeClasses/SizeClass.js');
|
|
@@ -57,6 +58,10 @@ var Contribution = require('./contributionPoints/Contribution.js');
|
|
|
57
58
|
var NavigationItem = require('./contributionPoints/NavigationItem.js');
|
|
58
59
|
var UiProfile = require('./profiles/UiProfile.js');
|
|
59
60
|
var Theme = require('./profiles/Theme.js');
|
|
61
|
+
var IconReference = require('./icons/IconReference.js');
|
|
62
|
+
var iconReferences = require('./icons/iconReferences.js');
|
|
63
|
+
var IconLibrary = require('./icons/IconLibrary.js');
|
|
64
|
+
var IconEntry = require('./icons/IconEntry.js');
|
|
60
65
|
var PackageKind = require('./packages/PackageKind.js');
|
|
61
66
|
var PackageDependency = require('./packages/PackageDependency.js');
|
|
62
67
|
var ScenePackage = require('./packages/ScenePackage.js');
|
|
@@ -86,6 +91,63 @@ var Screen = require('./screens/Screen.js');
|
|
|
86
91
|
var ScreenTemplate = require('./screens/ScreenTemplate.js');
|
|
87
92
|
var DialogTemplate = require('./screens/DialogTemplate.js');
|
|
88
93
|
var UiStarter = require('./starters/UiStarter.js');
|
|
94
|
+
var QueryResultShape = require('./queries/QueryResultShape.js');
|
|
95
|
+
var QueryOriginKind = require('./queries/QueryOriginKind.js');
|
|
96
|
+
var QueryOrigin = require('./queries/QueryOrigin.js');
|
|
97
|
+
var QueryParameter = require('./queries/QueryParameter.js');
|
|
98
|
+
var QueryResultField = require('./queries/QueryResultField.js');
|
|
99
|
+
var QueryCandidate = require('./queries/QueryCandidate.js');
|
|
100
|
+
var QueryArgumentBinding = require('./queries/QueryArgumentBinding.js');
|
|
101
|
+
var QueryResultBinding = require('./queries/QueryResultBinding.js');
|
|
102
|
+
var QueryBinding = require('./queries/QueryBinding.js');
|
|
103
|
+
var PropertyValueType = require('./descriptors/PropertyValueType.js');
|
|
104
|
+
var PropertyChoice = require('./descriptors/PropertyChoice.js');
|
|
105
|
+
var PropertyConstraints = require('./descriptors/PropertyConstraints.js');
|
|
106
|
+
var CollectionItemDescriptor = require('./descriptors/CollectionItemDescriptor.js');
|
|
107
|
+
var PropertyDescriptor = require('./descriptors/PropertyDescriptor.js');
|
|
108
|
+
var ComponentDescriptor = require('./descriptors/ComponentDescriptor.js');
|
|
109
|
+
var CollectionOperation = require('./descriptors/CollectionOperation.js');
|
|
110
|
+
var LayoutType = require('./descriptors/LayoutType.js');
|
|
111
|
+
var LayoutChildPlacement = require('./descriptors/LayoutChildPlacement.js');
|
|
112
|
+
var LayoutCapabilities = require('./descriptors/LayoutCapabilities.js');
|
|
113
|
+
var LayoutTypeDescriptor = require('./descriptors/LayoutTypeDescriptor.js');
|
|
114
|
+
var ExposedProperty = require('./exposure/ExposedProperty.js');
|
|
115
|
+
var ExposureDeclaration = require('./exposure/ExposureDeclaration.js');
|
|
116
|
+
var ContributedItem = require('./exposure/ContributedItem.js');
|
|
117
|
+
var InstanceContribution = require('./exposure/InstanceContribution.js');
|
|
118
|
+
var SceneDocument = require('./editing/SceneDocument.js');
|
|
119
|
+
var SceneNodeKind = require('./editing/SceneNodeKind.js');
|
|
120
|
+
var EditingScopeKind = require('./editing/EditingScopeKind.js');
|
|
121
|
+
var EditingScope = require('./editing/EditingScope.js');
|
|
122
|
+
var ProvenanceKind = require('./editing/ProvenanceKind.js');
|
|
123
|
+
var NodeProvenance = require('./editing/NodeProvenance.js');
|
|
124
|
+
var ValueSource = require('./editing/ValueSource.js');
|
|
125
|
+
var DiagnosticSeverity = require('./editing/DiagnosticSeverity.js');
|
|
126
|
+
var DiagnosticCode = require('./editing/DiagnosticCode.js');
|
|
127
|
+
var SceneDiagnostic = require('./editing/SceneDiagnostic.js');
|
|
128
|
+
var EffectiveCollectionItem = require('./editing/EffectiveCollectionItem.js');
|
|
129
|
+
var EffectivePropertyValue = require('./editing/EffectivePropertyValue.js');
|
|
130
|
+
var EffectiveComponentConfiguration = require('./editing/EffectiveComponentConfiguration.js');
|
|
131
|
+
var EffectiveConfiguration = require('./editing/EffectiveConfiguration.js');
|
|
132
|
+
var EditTarget = require('./editing/EditTarget.js');
|
|
133
|
+
var InspectedCollectionItem = require('./editing/InspectedCollectionItem.js');
|
|
134
|
+
var InspectedProperty = require('./editing/InspectedProperty.js');
|
|
135
|
+
var NodeInspection = require('./editing/NodeInspection.js');
|
|
136
|
+
var SceneEditKind = require('./editing/SceneEditKind.js');
|
|
137
|
+
var SetPropertyEdit = require('./editing/SetPropertyEdit.js');
|
|
138
|
+
var ResetPropertyEdit = require('./editing/ResetPropertyEdit.js');
|
|
139
|
+
var ChangeLayoutTypeEdit = require('./editing/ChangeLayoutTypeEdit.js');
|
|
140
|
+
var InsertNodeEdit = require('./editing/InsertNodeEdit.js');
|
|
141
|
+
var MoveNodeEdit = require('./editing/MoveNodeEdit.js');
|
|
142
|
+
var RemoveNodeEdit = require('./editing/RemoveNodeEdit.js');
|
|
143
|
+
var SetInstanceValueEdit = require('./editing/SetInstanceValueEdit.js');
|
|
144
|
+
var ResetInstanceValueEdit = require('./editing/ResetInstanceValueEdit.js');
|
|
145
|
+
var AddCollectionItemEdit = require('./editing/AddCollectionItemEdit.js');
|
|
146
|
+
var RemoveCollectionItemEdit = require('./editing/RemoveCollectionItemEdit.js');
|
|
147
|
+
var ReorderCollectionItemEdit = require('./editing/ReorderCollectionItemEdit.js');
|
|
148
|
+
var EditCollectionItemEdit = require('./editing/EditCollectionItemEdit.js');
|
|
149
|
+
var ExposePropertyEdit = require('./editing/ExposePropertyEdit.js');
|
|
150
|
+
var UnexposePropertyEdit = require('./editing/UnexposePropertyEdit.js');
|
|
89
151
|
|
|
90
152
|
|
|
91
153
|
|
|
@@ -100,6 +162,7 @@ exports.Orientation = Orientation.Orientation;
|
|
|
100
162
|
exports.Dock = Dock.Dock;
|
|
101
163
|
exports.GridUnitType = GridUnitType.GridUnitType;
|
|
102
164
|
exports.GridLengthPropertyNames = GridLength.GridLengthPropertyNames;
|
|
165
|
+
exports.DestinationReferencePropertyNames = DestinationReference.DestinationReferencePropertyNames;
|
|
103
166
|
exports.WidthSizeClass = WidthSizeClass.WidthSizeClass;
|
|
104
167
|
exports.HeightSizeClass = HeightSizeClass.HeightSizeClass;
|
|
105
168
|
exports.SizeClassPropertyNames = SizeClass.SizeClassPropertyNames;
|
|
@@ -146,6 +209,13 @@ exports.ContributionPropertyNames = Contribution.ContributionPropertyNames;
|
|
|
146
209
|
exports.NavigationItemPropertyNames = NavigationItem.NavigationItemPropertyNames;
|
|
147
210
|
exports.UiProfilePropertyNames = UiProfile.UiProfilePropertyNames;
|
|
148
211
|
exports.ThemePropertyNames = Theme.ThemePropertyNames;
|
|
212
|
+
exports.IconReferencePropertyNames = IconReference.IconReferencePropertyNames;
|
|
213
|
+
exports.formatIconReference = iconReferences.formatIconReference;
|
|
214
|
+
exports.iconReferencesEqual = iconReferences.iconReferencesEqual;
|
|
215
|
+
exports.isIconReference = iconReferences.isIconReference;
|
|
216
|
+
exports.parseIconReference = iconReferences.parseIconReference;
|
|
217
|
+
exports.IconLibraryPropertyNames = IconLibrary.IconLibraryPropertyNames;
|
|
218
|
+
exports.IconEntryPropertyNames = IconEntry.IconEntryPropertyNames;
|
|
149
219
|
exports.PackageKind = PackageKind.PackageKind;
|
|
150
220
|
exports.PackageDependencyPropertyNames = PackageDependency.PackageDependencyPropertyNames;
|
|
151
221
|
exports.ScenePackagePropertyNames = ScenePackage.ScenePackagePropertyNames;
|
|
@@ -175,4 +245,61 @@ exports.ScreenPropertyNames = Screen.ScreenPropertyNames;
|
|
|
175
245
|
exports.ScreenTemplatePropertyNames = ScreenTemplate.ScreenTemplatePropertyNames;
|
|
176
246
|
exports.DialogTemplatePropertyNames = DialogTemplate.DialogTemplatePropertyNames;
|
|
177
247
|
exports.UiStarterPropertyNames = UiStarter.UiStarterPropertyNames;
|
|
248
|
+
exports.QueryResultShape = QueryResultShape.QueryResultShape;
|
|
249
|
+
exports.QueryOriginKind = QueryOriginKind.QueryOriginKind;
|
|
250
|
+
exports.QueryOriginPropertyNames = QueryOrigin.QueryOriginPropertyNames;
|
|
251
|
+
exports.QueryParameterPropertyNames = QueryParameter.QueryParameterPropertyNames;
|
|
252
|
+
exports.QueryResultFieldPropertyNames = QueryResultField.QueryResultFieldPropertyNames;
|
|
253
|
+
exports.QueryCandidatePropertyNames = QueryCandidate.QueryCandidatePropertyNames;
|
|
254
|
+
exports.QueryArgumentBindingPropertyNames = QueryArgumentBinding.QueryArgumentBindingPropertyNames;
|
|
255
|
+
exports.QueryResultBindingPropertyNames = QueryResultBinding.QueryResultBindingPropertyNames;
|
|
256
|
+
exports.QueryBindingPropertyNames = QueryBinding.QueryBindingPropertyNames;
|
|
257
|
+
exports.PropertyValueType = PropertyValueType.PropertyValueType;
|
|
258
|
+
exports.PropertyChoicePropertyNames = PropertyChoice.PropertyChoicePropertyNames;
|
|
259
|
+
exports.PropertyConstraintsPropertyNames = PropertyConstraints.PropertyConstraintsPropertyNames;
|
|
260
|
+
exports.CollectionItemDescriptorPropertyNames = CollectionItemDescriptor.CollectionItemDescriptorPropertyNames;
|
|
261
|
+
exports.PropertyDescriptorPropertyNames = PropertyDescriptor.PropertyDescriptorPropertyNames;
|
|
262
|
+
exports.ComponentDescriptorPropertyNames = ComponentDescriptor.ComponentDescriptorPropertyNames;
|
|
263
|
+
exports.CollectionOperation = CollectionOperation.CollectionOperation;
|
|
264
|
+
exports.LayoutType = LayoutType.LayoutType;
|
|
265
|
+
exports.LayoutChildPlacement = LayoutChildPlacement.LayoutChildPlacement;
|
|
266
|
+
exports.LayoutCapabilitiesPropertyNames = LayoutCapabilities.LayoutCapabilitiesPropertyNames;
|
|
267
|
+
exports.LayoutTypeDescriptorPropertyNames = LayoutTypeDescriptor.LayoutTypeDescriptorPropertyNames;
|
|
268
|
+
exports.ExposedPropertyPropertyNames = ExposedProperty.ExposedPropertyPropertyNames;
|
|
269
|
+
exports.ExposureDeclarationPropertyNames = ExposureDeclaration.ExposureDeclarationPropertyNames;
|
|
270
|
+
exports.ContributedItemPropertyNames = ContributedItem.ContributedItemPropertyNames;
|
|
271
|
+
exports.InstanceContributionPropertyNames = InstanceContribution.InstanceContributionPropertyNames;
|
|
272
|
+
exports.SceneDocumentPropertyNames = SceneDocument.SceneDocumentPropertyNames;
|
|
273
|
+
exports.SceneNodeKind = SceneNodeKind.SceneNodeKind;
|
|
274
|
+
exports.EditingScopeKind = EditingScopeKind.EditingScopeKind;
|
|
275
|
+
exports.EditingScopePropertyNames = EditingScope.EditingScopePropertyNames;
|
|
276
|
+
exports.ProvenanceKind = ProvenanceKind.ProvenanceKind;
|
|
277
|
+
exports.NodeProvenancePropertyNames = NodeProvenance.NodeProvenancePropertyNames;
|
|
278
|
+
exports.ValueSource = ValueSource.ValueSource;
|
|
279
|
+
exports.DiagnosticSeverity = DiagnosticSeverity.DiagnosticSeverity;
|
|
280
|
+
exports.DiagnosticCode = DiagnosticCode.DiagnosticCode;
|
|
281
|
+
exports.SceneDiagnosticPropertyNames = SceneDiagnostic.SceneDiagnosticPropertyNames;
|
|
282
|
+
exports.EffectiveCollectionItemPropertyNames = EffectiveCollectionItem.EffectiveCollectionItemPropertyNames;
|
|
283
|
+
exports.EffectivePropertyValuePropertyNames = EffectivePropertyValue.EffectivePropertyValuePropertyNames;
|
|
284
|
+
exports.EffectiveComponentConfigurationPropertyNames = EffectiveComponentConfiguration.EffectiveComponentConfigurationPropertyNames;
|
|
285
|
+
exports.EffectiveConfigurationPropertyNames = EffectiveConfiguration.EffectiveConfigurationPropertyNames;
|
|
286
|
+
exports.EditTarget = EditTarget.EditTarget;
|
|
287
|
+
exports.InspectedCollectionItemPropertyNames = InspectedCollectionItem.InspectedCollectionItemPropertyNames;
|
|
288
|
+
exports.InspectedPropertyPropertyNames = InspectedProperty.InspectedPropertyPropertyNames;
|
|
289
|
+
exports.NodeInspectionPropertyNames = NodeInspection.NodeInspectionPropertyNames;
|
|
290
|
+
exports.SceneEditKind = SceneEditKind.SceneEditKind;
|
|
291
|
+
exports.SetPropertyEditPropertyNames = SetPropertyEdit.SetPropertyEditPropertyNames;
|
|
292
|
+
exports.ResetPropertyEditPropertyNames = ResetPropertyEdit.ResetPropertyEditPropertyNames;
|
|
293
|
+
exports.ChangeLayoutTypeEditPropertyNames = ChangeLayoutTypeEdit.ChangeLayoutTypeEditPropertyNames;
|
|
294
|
+
exports.InsertNodeEditPropertyNames = InsertNodeEdit.InsertNodeEditPropertyNames;
|
|
295
|
+
exports.MoveNodeEditPropertyNames = MoveNodeEdit.MoveNodeEditPropertyNames;
|
|
296
|
+
exports.RemoveNodeEditPropertyNames = RemoveNodeEdit.RemoveNodeEditPropertyNames;
|
|
297
|
+
exports.SetInstanceValueEditPropertyNames = SetInstanceValueEdit.SetInstanceValueEditPropertyNames;
|
|
298
|
+
exports.ResetInstanceValueEditPropertyNames = ResetInstanceValueEdit.ResetInstanceValueEditPropertyNames;
|
|
299
|
+
exports.AddCollectionItemEditPropertyNames = AddCollectionItemEdit.AddCollectionItemEditPropertyNames;
|
|
300
|
+
exports.RemoveCollectionItemEditPropertyNames = RemoveCollectionItemEdit.RemoveCollectionItemEditPropertyNames;
|
|
301
|
+
exports.ReorderCollectionItemEditPropertyNames = ReorderCollectionItemEdit.ReorderCollectionItemEditPropertyNames;
|
|
302
|
+
exports.EditCollectionItemEditPropertyNames = EditCollectionItemEdit.EditCollectionItemEditPropertyNames;
|
|
303
|
+
exports.ExposePropertyEditPropertyNames = ExposePropertyEdit.ExposePropertyEditPropertyNames;
|
|
304
|
+
exports.UnexposePropertyEditPropertyNames = UnexposePropertyEdit.UnexposePropertyEditPropertyNames;
|
|
178
305
|
//# sourceMappingURL=index.js.map
|