@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,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
|
+
* What a {@link ScenePackage} of kind {@link PackageKind.IconLibrary} declares about its icons, beyond
|
|
5
|
+
* what every package declares (name, version, license, dependencies, module).
|
|
6
|
+
*
|
|
7
|
+
* It is deliberately small. The icons themselves are not listed here: a library can ship thousands, and a
|
|
8
|
+
* profile resolution that read every key of every library would defeat the point of resolving without
|
|
9
|
+
* loading anything. The icon *catalog* - an {@link IconEntry} per icon - is loaded on demand from the
|
|
10
|
+
* library's module, and each icon's artwork is loaded per icon by the renderer's adapter.
|
|
11
|
+
*/ const IconLibraryPropertyNames = [
|
|
12
|
+
'variants',
|
|
13
|
+
'renderers',
|
|
14
|
+
'attribution',
|
|
15
|
+
'attributionUrl',
|
|
16
|
+
'iconCount'
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
export { IconLibraryPropertyNames };
|
|
20
|
+
//# 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 @@
|
|
|
1
|
+
{"version":3,"file":"IconReference.d.ts","sourceRoot":"","sources":["../../../icons/IconReference.ts"],"names":[],"mappings":"AAeA,MAAM,WAAW,aAAa;IAK1B,OAAO,EAAE,MAAM,CAAC;IAMhB,GAAG,EAAE,MAAM,CAAC;IAKZ,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,0BAA0B,EAAE,CAAC,MAAM,aAAa,CAAC,EAAkC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
* The persisted, renderer-neutral identity of one icon: which icon library it comes from, which icon
|
|
5
|
+
* inside that library, and optionally which style variant of it.
|
|
6
|
+
*
|
|
7
|
+
* This is the only form in which a screen, template, blueprint or profile refers to an icon. It carries
|
|
8
|
+
* no CSS class, no SVG and no component - those belong to a renderer's adapter for the library - so the
|
|
9
|
+
* same reference renders on the web, on a phone, or anywhere else a library has an adapter.
|
|
10
|
+
*
|
|
11
|
+
* Identity is all three fields. A display name, a catalog position or a CSS class is never identity:
|
|
12
|
+
* two libraries can each ship an icon called `home`, and `{ library: 'a', key: 'home' }` and
|
|
13
|
+
* `{ library: 'b', key: 'home' }` are different icons that are never silently swapped for one another.
|
|
14
|
+
*/ const IconReferencePropertyNames = [
|
|
15
|
+
'library',
|
|
16
|
+
'key',
|
|
17
|
+
'variant'
|
|
18
|
+
];
|
|
19
|
+
|
|
20
|
+
export { IconReferencePropertyNames };
|
|
21
|
+
//# 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,6 @@
|
|
|
1
|
+
import { IconReference } from './IconReference';
|
|
2
|
+
export declare function isIconReference(value: unknown): value is IconReference;
|
|
3
|
+
export declare function iconReferencesEqual(left: IconReference, right: IconReference): boolean;
|
|
4
|
+
export declare function formatIconReference(reference: IconReference): string;
|
|
5
|
+
export declare function parseIconReference(text: string): IconReference | undefined;
|
|
6
|
+
//# sourceMappingURL=iconReferences.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconReferences.d.ts","sourceRoot":"","sources":["../../../icons/iconReferences.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAiBhD,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,aAAa,CAItE;AAMD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,GAAG,OAAO,CAEtF;AASD,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,aAAa,GAAG,MAAM,CAQpE;AAOD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAK1E"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
* The character that separates the parts of an icon reference's text form. A reference's parts therefore
|
|
5
|
+
* cannot contain it - an npm package name, an icon key and a variant name never do.
|
|
6
|
+
*/ const separator = '#';
|
|
7
|
+
function isPart(value) {
|
|
8
|
+
return typeof value === 'string' && value.length > 0 && !value.includes(separator);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Whether a value is a well-formed {@link IconReference}: a library and a key that are non-empty, an
|
|
12
|
+
* optional non-empty variant, none of them containing the text-form separator. Extra properties are
|
|
13
|
+
* tolerated, because a reference read from a persisted document may carry editor-added metadata.
|
|
14
|
+
*/ function isIconReference(value) {
|
|
15
|
+
if (typeof value !== 'object' || value === null) return false;
|
|
16
|
+
const candidate = value;
|
|
17
|
+
return isPart(candidate.library) && isPart(candidate.key) && (candidate.variant === undefined || isPart(candidate.variant));
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Whether two references name the same icon. Equality is all three fields - library, key and variant -
|
|
21
|
+
* and nothing else; an absent variant equals only another absent variant.
|
|
22
|
+
*/ function iconReferencesEqual(left, right) {
|
|
23
|
+
return left.library === right.library && left.key === right.key && (left.variant ?? undefined) === (right.variant ?? undefined);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The canonical single-string form of a reference, for keys, logs and diagnostics:
|
|
27
|
+
* `library#key`, or `library#key#variant`. Two references are equal exactly when their text forms are equal.
|
|
28
|
+
* It is a convenience for people and tools, not the persisted shape - persist the {@link IconReference}.
|
|
29
|
+
*
|
|
30
|
+
* @throws Error when a part is empty or contains `#`.
|
|
31
|
+
*/ function formatIconReference(reference) {
|
|
32
|
+
if (!isIconReference(reference)) {
|
|
33
|
+
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}'`);
|
|
34
|
+
}
|
|
35
|
+
return reference.variant === undefined ? `${reference.library}${separator}${reference.key}` : `${reference.library}${separator}${reference.key}${separator}${reference.variant}`;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Reads the text form produced by {@link formatIconReference}. Returns `undefined` for anything that is
|
|
39
|
+
* not one - including a bare legacy icon name such as `pi pi-home`, which has no library and so cannot be
|
|
40
|
+
* made into a reference without choosing one.
|
|
41
|
+
*/ function parseIconReference(text) {
|
|
42
|
+
const parts = text.split(separator);
|
|
43
|
+
if (parts.length < 2 || parts.length > 3 || !parts.every(isPart)) return undefined;
|
|
44
|
+
const [library, key, variant] = parts;
|
|
45
|
+
return variant === undefined ? {
|
|
46
|
+
library,
|
|
47
|
+
key
|
|
48
|
+
} : {
|
|
49
|
+
library,
|
|
50
|
+
key,
|
|
51
|
+
variant
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { formatIconReference, iconReferencesEqual, isIconReference, parseIconReference };
|
|
56
|
+
//# 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;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../icons/index.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../icons/index.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -5,8 +5,13 @@ export * from './layouts';
|
|
|
5
5
|
export * from './forms';
|
|
6
6
|
export * from './contributionPoints';
|
|
7
7
|
export * from './profiles';
|
|
8
|
+
export * from './icons';
|
|
8
9
|
export * from './packages';
|
|
9
10
|
export * from './interactions';
|
|
10
11
|
export * from './screens';
|
|
11
12
|
export * from './starters';
|
|
13
|
+
export * from './queries';
|
|
14
|
+
export * from './descriptors';
|
|
15
|
+
export * from './exposure';
|
|
16
|
+
export * from './editing';
|
|
12
17
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAGA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAGA,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -9,6 +9,7 @@ export { Orientation } from './common/Orientation.js';
|
|
|
9
9
|
export { Dock } from './common/Dock.js';
|
|
10
10
|
export { GridUnitType } from './common/GridUnitType.js';
|
|
11
11
|
export { GridLengthPropertyNames } from './common/GridLength.js';
|
|
12
|
+
export { DestinationReferencePropertyNames } from './common/DestinationReference.js';
|
|
12
13
|
export { WidthSizeClass } from './sizeClasses/WidthSizeClass.js';
|
|
13
14
|
export { HeightSizeClass } from './sizeClasses/HeightSizeClass.js';
|
|
14
15
|
export { SizeClassPropertyNames } from './sizeClasses/SizeClass.js';
|
|
@@ -55,6 +56,10 @@ export { ContributionPropertyNames } from './contributionPoints/Contribution.js'
|
|
|
55
56
|
export { NavigationItemPropertyNames } from './contributionPoints/NavigationItem.js';
|
|
56
57
|
export { UiProfilePropertyNames } from './profiles/UiProfile.js';
|
|
57
58
|
export { ThemePropertyNames } from './profiles/Theme.js';
|
|
59
|
+
export { IconReferencePropertyNames } from './icons/IconReference.js';
|
|
60
|
+
export { formatIconReference, iconReferencesEqual, isIconReference, parseIconReference } from './icons/iconReferences.js';
|
|
61
|
+
export { IconLibraryPropertyNames } from './icons/IconLibrary.js';
|
|
62
|
+
export { IconEntryPropertyNames } from './icons/IconEntry.js';
|
|
58
63
|
export { PackageKind } from './packages/PackageKind.js';
|
|
59
64
|
export { PackageDependencyPropertyNames } from './packages/PackageDependency.js';
|
|
60
65
|
export { ScenePackagePropertyNames } from './packages/ScenePackage.js';
|
|
@@ -84,4 +89,61 @@ export { ScreenPropertyNames } from './screens/Screen.js';
|
|
|
84
89
|
export { ScreenTemplatePropertyNames } from './screens/ScreenTemplate.js';
|
|
85
90
|
export { DialogTemplatePropertyNames } from './screens/DialogTemplate.js';
|
|
86
91
|
export { UiStarterPropertyNames } from './starters/UiStarter.js';
|
|
92
|
+
export { QueryResultShape } from './queries/QueryResultShape.js';
|
|
93
|
+
export { QueryOriginKind } from './queries/QueryOriginKind.js';
|
|
94
|
+
export { QueryOriginPropertyNames } from './queries/QueryOrigin.js';
|
|
95
|
+
export { QueryParameterPropertyNames } from './queries/QueryParameter.js';
|
|
96
|
+
export { QueryResultFieldPropertyNames } from './queries/QueryResultField.js';
|
|
97
|
+
export { QueryCandidatePropertyNames } from './queries/QueryCandidate.js';
|
|
98
|
+
export { QueryArgumentBindingPropertyNames } from './queries/QueryArgumentBinding.js';
|
|
99
|
+
export { QueryResultBindingPropertyNames } from './queries/QueryResultBinding.js';
|
|
100
|
+
export { QueryBindingPropertyNames } from './queries/QueryBinding.js';
|
|
101
|
+
export { PropertyValueType } from './descriptors/PropertyValueType.js';
|
|
102
|
+
export { PropertyChoicePropertyNames } from './descriptors/PropertyChoice.js';
|
|
103
|
+
export { PropertyConstraintsPropertyNames } from './descriptors/PropertyConstraints.js';
|
|
104
|
+
export { CollectionItemDescriptorPropertyNames } from './descriptors/CollectionItemDescriptor.js';
|
|
105
|
+
export { PropertyDescriptorPropertyNames } from './descriptors/PropertyDescriptor.js';
|
|
106
|
+
export { ComponentDescriptorPropertyNames } from './descriptors/ComponentDescriptor.js';
|
|
107
|
+
export { CollectionOperation } from './descriptors/CollectionOperation.js';
|
|
108
|
+
export { LayoutType } from './descriptors/LayoutType.js';
|
|
109
|
+
export { LayoutChildPlacement } from './descriptors/LayoutChildPlacement.js';
|
|
110
|
+
export { LayoutCapabilitiesPropertyNames } from './descriptors/LayoutCapabilities.js';
|
|
111
|
+
export { LayoutTypeDescriptorPropertyNames } from './descriptors/LayoutTypeDescriptor.js';
|
|
112
|
+
export { ExposedPropertyPropertyNames } from './exposure/ExposedProperty.js';
|
|
113
|
+
export { ExposureDeclarationPropertyNames } from './exposure/ExposureDeclaration.js';
|
|
114
|
+
export { ContributedItemPropertyNames } from './exposure/ContributedItem.js';
|
|
115
|
+
export { InstanceContributionPropertyNames } from './exposure/InstanceContribution.js';
|
|
116
|
+
export { SceneDocumentPropertyNames } from './editing/SceneDocument.js';
|
|
117
|
+
export { SceneNodeKind } from './editing/SceneNodeKind.js';
|
|
118
|
+
export { EditingScopeKind } from './editing/EditingScopeKind.js';
|
|
119
|
+
export { EditingScopePropertyNames } from './editing/EditingScope.js';
|
|
120
|
+
export { ProvenanceKind } from './editing/ProvenanceKind.js';
|
|
121
|
+
export { NodeProvenancePropertyNames } from './editing/NodeProvenance.js';
|
|
122
|
+
export { ValueSource } from './editing/ValueSource.js';
|
|
123
|
+
export { DiagnosticSeverity } from './editing/DiagnosticSeverity.js';
|
|
124
|
+
export { DiagnosticCode } from './editing/DiagnosticCode.js';
|
|
125
|
+
export { SceneDiagnosticPropertyNames } from './editing/SceneDiagnostic.js';
|
|
126
|
+
export { EffectiveCollectionItemPropertyNames } from './editing/EffectiveCollectionItem.js';
|
|
127
|
+
export { EffectivePropertyValuePropertyNames } from './editing/EffectivePropertyValue.js';
|
|
128
|
+
export { EffectiveComponentConfigurationPropertyNames } from './editing/EffectiveComponentConfiguration.js';
|
|
129
|
+
export { EffectiveConfigurationPropertyNames } from './editing/EffectiveConfiguration.js';
|
|
130
|
+
export { EditTarget } from './editing/EditTarget.js';
|
|
131
|
+
export { InspectedCollectionItemPropertyNames } from './editing/InspectedCollectionItem.js';
|
|
132
|
+
export { InspectedPropertyPropertyNames } from './editing/InspectedProperty.js';
|
|
133
|
+
export { NodeInspectionPropertyNames } from './editing/NodeInspection.js';
|
|
134
|
+
export { SceneEditKind } from './editing/SceneEditKind.js';
|
|
135
|
+
export { SetPropertyEditPropertyNames } from './editing/SetPropertyEdit.js';
|
|
136
|
+
export { ResetPropertyEditPropertyNames } from './editing/ResetPropertyEdit.js';
|
|
137
|
+
export { ChangeLayoutTypeEditPropertyNames } from './editing/ChangeLayoutTypeEdit.js';
|
|
138
|
+
export { InsertNodeEditPropertyNames } from './editing/InsertNodeEdit.js';
|
|
139
|
+
export { MoveNodeEditPropertyNames } from './editing/MoveNodeEdit.js';
|
|
140
|
+
export { RemoveNodeEditPropertyNames } from './editing/RemoveNodeEdit.js';
|
|
141
|
+
export { SetInstanceValueEditPropertyNames } from './editing/SetInstanceValueEdit.js';
|
|
142
|
+
export { ResetInstanceValueEditPropertyNames } from './editing/ResetInstanceValueEdit.js';
|
|
143
|
+
export { AddCollectionItemEditPropertyNames } from './editing/AddCollectionItemEdit.js';
|
|
144
|
+
export { RemoveCollectionItemEditPropertyNames } from './editing/RemoveCollectionItemEdit.js';
|
|
145
|
+
export { ReorderCollectionItemEditPropertyNames } from './editing/ReorderCollectionItemEdit.js';
|
|
146
|
+
export { EditCollectionItemEditPropertyNames } from './editing/EditCollectionItemEdit.js';
|
|
147
|
+
export { ExposePropertyEditPropertyNames } from './editing/ExposePropertyEdit.js';
|
|
148
|
+
export { UnexposePropertyEditPropertyNames } from './editing/UnexposePropertyEdit.js';
|
|
87
149
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackageKind.d.ts","sourceRoot":"","sources":["../../../packages/PackageKind.ts"],"names":[],"mappings":"AAQA,oBAAY,WAAW;IAMnB,gBAAgB,qBAAqB;IAOrC,OAAO,YAAY;IAYnB,SAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"PackageKind.d.ts","sourceRoot":"","sources":["../../../packages/PackageKind.ts"],"names":[],"mappings":"AAQA,oBAAY,WAAW;IAMnB,gBAAgB,qBAAqB;IAOrC,OAAO,YAAY;IAYnB,SAAS,cAAc;IAavB,WAAW,gBAAgB;CAC9B"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
3
|
/**
|
|
4
4
|
* What a {@link ScenePackage} contributes to a {@link UiProfile}. A profile's package list mixes all
|
|
5
|
-
*
|
|
5
|
+
* four kinds freely - the kind says what a package is for, never where it sits in the override-priority
|
|
6
6
|
* order.
|
|
7
7
|
*/ var PackageKind = /*#__PURE__*/ function(PackageKind) {
|
|
8
8
|
/**
|
|
@@ -25,6 +25,17 @@
|
|
|
25
25
|
* against PrimeReact and Cratis Components, and says so. That is what makes "which blueprints can I
|
|
26
26
|
* use" answerable from the packages a profile already has.
|
|
27
27
|
*/ PackageKind["Blueprint"] = "Blueprint";
|
|
28
|
+
/**
|
|
29
|
+
* Provides icons - a named, versioned library of them, such as Lucide or PrimeIcons - that screens,
|
|
30
|
+
* templates and blueprints refer to by {@link IconReference} rather than by CSS class or markup.
|
|
31
|
+
* A library declares its variants, renderer adapters and attribution through
|
|
32
|
+
* {@link ScenePackage.iconLibrary}; its icon catalog is loaded on demand, never listed in the package.
|
|
33
|
+
*
|
|
34
|
+
* It is a package kind rather than a contribution on another kind because everything an author asks
|
|
35
|
+
* of a library - select it in a profile, see its license and version, have it pulled in by the
|
|
36
|
+
* components that need it - is already what a package is. Several libraries coexist in one profile,
|
|
37
|
+
* and the library is part of every icon's identity, so same-named icons never shadow one another.
|
|
38
|
+
*/ PackageKind["IconLibrary"] = "IconLibrary";
|
|
28
39
|
return PackageKind;
|
|
29
40
|
}({});
|
|
30
41
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackageKind.js","sources":["../../../packages/PackageKind.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} contributes to a {@link UiProfile}. A profile's package list mixes all\n *
|
|
1
|
+
{"version":3,"file":"PackageKind.js","sources":["../../../packages/PackageKind.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} contributes to a {@link UiProfile}. A profile's package list mixes all\n * four kinds freely - the kind says what a package is for, never where it sits in the override-priority\n * order.\n */\nexport enum PackageKind {\n /**\n * Declares component names a screen can resolve against. A package with no dependency on another\n * `ComponentLibrary` is a base library (PrimeReact, `core`); one that depends on another layers on\n * top of it.\n */\n ComponentLibrary = 'ComponentLibrary',\n\n /**\n * Contributes styling rather than components - a utility CSS system such as Tailwind. A styling\n * package usually declares no components at all; component libraries depend on it to say \"my\n * components are written against this styling system\".\n */\n Styling = 'Styling',\n\n /**\n * Provides the shape of an application: its {@link Layout}s, the {@link ScreenTemplate}s and\n * {@link DialogTemplate}s built on them, and the components that fill their slots. An application\n * selects one blueprint, and gets a coherent set rather than assembling layouts and templates from\n * unrelated sources.\n *\n * A blueprint depends on the component libraries it is built from — the default blueprint is written\n * against PrimeReact and Cratis Components, and says so. That is what makes \"which blueprints can I\n * use\" answerable from the packages a profile already has.\n */\n Blueprint = 'Blueprint',\n\n /**\n * Provides icons - a named, versioned library of them, such as Lucide or PrimeIcons - that screens,\n * templates and blueprints refer to by {@link IconReference} rather than by CSS class or markup.\n * A library declares its variants, renderer adapters and attribution through\n * {@link ScenePackage.iconLibrary}; its icon catalog is loaded on demand, never listed in the package.\n *\n * It is a package kind rather than a contribution on another kind because everything an author asks\n * of a library - select it in a profile, see its license and version, have it pulled in by the\n * components that need it - is already what a package is. Several libraries coexist in one profile,\n * and the library is part of every icon's identity, so same-named icons never shadow one another.\n */\n IconLibrary = 'IconLibrary',\n}\n"],"names":["PackageKind"],"mappings":"AAAA;AACA;AAEA;;;;IAKO,IAAKA,WAAAA,iBAAAA,SAAAA,WAAAA,EAAAA;AACR;;;;AAIC,QAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,kBAAA;AAGD;;;;AAIC,QAAA,WAAA,CAAA,SAAA,CAAA,GAAA,SAAA;AAGD;;;;;;;;;AASC,QAAA,WAAA,CAAA,WAAA,CAAA,GAAA,WAAA;AAGD;;;;;;;;;;AAUC,QAAA,WAAA,CAAA,aAAA,CAAA,GAAA,aAAA;AArCOA,IAAAA,OAAAA,WAAAA;AAuCX,CAAA,CAAA,EAAA;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IconLibrary } from '../icons';
|
|
1
2
|
import { PackageDependency } from './PackageDependency';
|
|
2
3
|
import { PackageKind } from './PackageKind';
|
|
3
4
|
export interface ScenePackage {
|
|
@@ -15,6 +16,7 @@ export interface ScenePackage {
|
|
|
15
16
|
module?: string;
|
|
16
17
|
license?: string;
|
|
17
18
|
licenseUrl?: string;
|
|
19
|
+
iconLibrary?: IconLibrary;
|
|
18
20
|
}
|
|
19
21
|
export declare const ScenePackagePropertyNames: (keyof ScenePackage)[];
|
|
20
22
|
//# sourceMappingURL=ScenePackage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScenePackage.d.ts","sourceRoot":"","sources":["../../../packages/ScenePackage.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,WAAW,YAAY;IAIzB,IAAI,EAAE,MAAM,CAAC;IAKb,OAAO,EAAE,MAAM,CAAC;IAKhB,IAAI,EAAE,WAAW,CAAC;IAKlB,YAAY,EAAE,iBAAiB,EAAE,CAAC;IAKlC,UAAU,EAAE,MAAM,EAAE,CAAC;IAMrB,OAAO,EAAE,MAAM,EAAE,CAAC;IAMlB,eAAe,EAAE,MAAM,EAAE,CAAC;IAK1B,eAAe,EAAE,MAAM,EAAE,CAAC;IAK1B,MAAM,EAAE,MAAM,EAAE,CAAC;IAKjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAOhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAOjB,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ScenePackage.d.ts","sourceRoot":"","sources":["../../../packages/ScenePackage.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,WAAW,YAAY;IAIzB,IAAI,EAAE,MAAM,CAAC;IAKb,OAAO,EAAE,MAAM,CAAC;IAKhB,IAAI,EAAE,WAAW,CAAC;IAKlB,YAAY,EAAE,iBAAiB,EAAE,CAAC;IAKlC,UAAU,EAAE,MAAM,EAAE,CAAC;IAMrB,OAAO,EAAE,MAAM,EAAE,CAAC;IAMlB,eAAe,EAAE,MAAM,EAAE,CAAC;IAK1B,eAAe,EAAE,MAAM,EAAE,CAAC;IAK1B,MAAM,EAAE,MAAM,EAAE,CAAC;IAKjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAOhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAOjB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC7B;AAED,eAAO,MAAM,yBAAyB,EAAE,CAAC,MAAM,YAAY,CAAC,EAgB3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScenePackage.js","sources":["../../../packages/ScenePackage.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 { PackageDependency } from './PackageDependency';\nimport { PackageKind } from './PackageKind';\n\n/**\n * What a {@link UiProfile}'s `packages` entry actually names. A profile lists packages by name only;\n * this is the declaration behind the name - what it contributes, and what else has to be active for it\n * to work.\n */\nexport interface ScenePackage {\n /**\n * The name a {@link UiProfile} lists, and the name a {@link PackageDependency} refers to.\n */\n name: string;\n\n /**\n * The package's own version, so a {@link PackageDependency.versionRange} has something to check against.\n */\n version: string;\n\n /**\n * What the package contributes.\n */\n kind: PackageKind;\n\n /**\n * Other packages that must be active in the same profile for this one to work.\n */\n dependencies: PackageDependency[];\n\n /**\n * The component names this package declares - the catalog entry {@link UiProfile} resolution walks.\n */\n components: string[];\n\n /**\n * The names of the {@link Layout}s this package provides — an application's base navigational shells.\n * Empty for anything that is not a {@link PackageKind.Blueprint}.\n */\n layouts: string[];\n\n /**\n * The names of the {@link ScreenTemplate}s this package provides — the shapes that go inside a layout,\n * at module, feature and slice level.\n */\n screenTemplates: string[];\n\n /**\n * The names of the {@link DialogTemplate}s this package provides.\n */\n dialogTemplates: string[];\n\n /**\n * The names of the {@link Theme}s this package ships, empty for a package that ships none.\n */\n themes: string[];\n\n /**\n * A human-readable name for a package picker, falling back to `name` when absent.\n */\n displayName?: string;\n\n /**\n * A one-line description for a package picker.\n */\n description?: string;\n\n /**\n * The module that implements the package - an npm package name for a web renderer. Design-time\n * tooling needs it to know what to import; the model itself never loads anything.\n */\n module?: string;\n\n /**\n * The license the package is available under, as a short human-readable name (`MIT`,\n * `PrimeUI Community`). A package picker shows it, because \"what am I taking on by selecting this\"\n * is a question an author needs answered before they select it, not after.\n */\n license?: string;\n\n /**\n * Where the license terms actually live, so a reader can go and check rather than take `license` on\n * trust. Required in practice for anything that is not a permissive standard license — a name alone\n * tells an author nothing about eligibility or obligations.\n */\n licenseUrl?: string;\n}\n\nexport const ScenePackagePropertyNames: (keyof ScenePackage)[] = [\n 'name',\n 'version',\n 'kind',\n 'dependencies',\n 'components',\n 'layouts',\n 'screenTemplates',\n 'dialogTemplates',\n 'themes',\n 'displayName',\n 'description',\n 'module',\n 'license',\n 'licenseUrl',\n];\n"],"names":["ScenePackagePropertyNames"],"mappings":"AAAA;AACA;
|
|
1
|
+
{"version":3,"file":"ScenePackage.js","sources":["../../../packages/ScenePackage.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 { IconLibrary } from '../icons';\nimport { PackageDependency } from './PackageDependency';\nimport { PackageKind } from './PackageKind';\n\n/**\n * What a {@link UiProfile}'s `packages` entry actually names. A profile lists packages by name only;\n * this is the declaration behind the name - what it contributes, and what else has to be active for it\n * to work.\n */\nexport interface ScenePackage {\n /**\n * The name a {@link UiProfile} lists, and the name a {@link PackageDependency} refers to.\n */\n name: string;\n\n /**\n * The package's own version, so a {@link PackageDependency.versionRange} has something to check against.\n */\n version: string;\n\n /**\n * What the package contributes.\n */\n kind: PackageKind;\n\n /**\n * Other packages that must be active in the same profile for this one to work.\n */\n dependencies: PackageDependency[];\n\n /**\n * The component names this package declares - the catalog entry {@link UiProfile} resolution walks.\n */\n components: string[];\n\n /**\n * The names of the {@link Layout}s this package provides — an application's base navigational shells.\n * Empty for anything that is not a {@link PackageKind.Blueprint}.\n */\n layouts: string[];\n\n /**\n * The names of the {@link ScreenTemplate}s this package provides — the shapes that go inside a layout,\n * at module, feature and slice level.\n */\n screenTemplates: string[];\n\n /**\n * The names of the {@link DialogTemplate}s this package provides.\n */\n dialogTemplates: string[];\n\n /**\n * The names of the {@link Theme}s this package ships, empty for a package that ships none.\n */\n themes: string[];\n\n /**\n * A human-readable name for a package picker, falling back to `name` when absent.\n */\n displayName?: string;\n\n /**\n * A one-line description for a package picker.\n */\n description?: string;\n\n /**\n * The module that implements the package - an npm package name for a web renderer. Design-time\n * tooling needs it to know what to import; the model itself never loads anything.\n */\n module?: string;\n\n /**\n * The license the package is available under, as a short human-readable name (`MIT`,\n * `PrimeUI Community`). A package picker shows it, because \"what am I taking on by selecting this\"\n * is a question an author needs answered before they select it, not after.\n */\n license?: string;\n\n /**\n * Where the license terms actually live, so a reader can go and check rather than take `license` on\n * trust. Required in practice for anything that is not a permissive standard license — a name alone\n * tells an author nothing about eligibility or obligations.\n */\n licenseUrl?: string;\n\n /**\n * What the package declares about its icons. Present exactly for a {@link PackageKind.IconLibrary}.\n */\n iconLibrary?: IconLibrary;\n}\n\nexport const ScenePackagePropertyNames: (keyof ScenePackage)[] = [\n 'name',\n 'version',\n 'kind',\n 'dependencies',\n 'components',\n 'layouts',\n 'screenTemplates',\n 'dialogTemplates',\n 'themes',\n 'displayName',\n 'description',\n 'module',\n 'license',\n 'licenseUrl',\n 'iconLibrary',\n];\n"],"names":["ScenePackagePropertyNames"],"mappings":"AAAA;AACA;MA+FaA,yBAAAA,GAAoD;AAC7D,IAAA,MAAA;AACA,IAAA,SAAA;AACA,IAAA,MAAA;AACA,IAAA,cAAA;AACA,IAAA,YAAA;AACA,IAAA,SAAA;AACA,IAAA,iBAAA;AACA,IAAA,iBAAA;AACA,IAAA,QAAA;AACA,IAAA,aAAA;AACA,IAAA,aAAA;AACA,IAAA,QAAA;AACA,IAAA,SAAA;AACA,IAAA,YAAA;AACA,IAAA;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BindingExpression } from '../common';
|
|
2
|
+
export interface QueryArgumentBinding {
|
|
3
|
+
parameter: string;
|
|
4
|
+
source: BindingExpression;
|
|
5
|
+
}
|
|
6
|
+
export declare const QueryArgumentBindingPropertyNames: (keyof QueryArgumentBinding)[];
|
|
7
|
+
//# sourceMappingURL=QueryArgumentBinding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryArgumentBinding.d.ts","sourceRoot":"","sources":["../../../queries/QueryArgumentBinding.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAK9C,MAAM,WAAW,oBAAoB;IAEjC,SAAS,EAAE,MAAM,CAAC;IAGlB,MAAM,EAAE,iBAAiB,CAAC;CAC7B;AAED,eAAO,MAAM,iCAAiC,EAAE,CAAC,MAAM,oBAAoB,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 QueryArgumentBindingPropertyNames = [
|
|
4
|
+
'parameter',
|
|
5
|
+
'source'
|
|
6
|
+
];
|
|
7
|
+
|
|
8
|
+
export { QueryArgumentBindingPropertyNames };
|
|
9
|
+
//# sourceMappingURL=QueryArgumentBinding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryArgumentBinding.js","sources":["../../../queries/QueryArgumentBinding.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 { BindingExpression } from '../common';\n\n/**\n * Supplies one query parameter from a value already available where the query is used.\n */\nexport interface QueryArgumentBinding {\n /** The query parameter being supplied. */\n parameter: string;\n\n /** Where the value comes from. */\n source: BindingExpression;\n}\n\nexport const QueryArgumentBindingPropertyNames: (keyof QueryArgumentBinding)[] = ['parameter', 'source'];\n"],"names":["QueryArgumentBindingPropertyNames"],"mappings":"AAAA;AACA;MAeaA,iCAAAA,GAAoE;AAAC,IAAA,WAAA;AAAa,IAAA;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { QueryArgumentBinding } from './QueryArgumentBinding';
|
|
2
|
+
import { QueryResultBinding } from './QueryResultBinding';
|
|
3
|
+
export interface QueryBinding {
|
|
4
|
+
queryId: string;
|
|
5
|
+
query: string;
|
|
6
|
+
arguments: QueryArgumentBinding[];
|
|
7
|
+
results: QueryResultBinding[];
|
|
8
|
+
}
|
|
9
|
+
export declare const QueryBindingPropertyNames: (keyof QueryBinding)[];
|
|
10
|
+
//# sourceMappingURL=QueryBinding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryBinding.d.ts","sourceRoot":"","sources":["../../../queries/QueryBinding.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAM1D,MAAM,WAAW,YAAY;IAEzB,OAAO,EAAE,MAAM,CAAC;IAGhB,KAAK,EAAE,MAAM,CAAC;IAEd,SAAS,EAAE,oBAAoB,EAAE,CAAC;IAClC,OAAO,EAAE,kBAAkB,EAAE,CAAC;CACjC;AAED,eAAO,MAAM,yBAAyB,EAAE,CAAC,MAAM,YAAY,CAAC,EAAiD,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 QueryBindingPropertyNames = [
|
|
4
|
+
'queryId',
|
|
5
|
+
'query',
|
|
6
|
+
'arguments',
|
|
7
|
+
'results'
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
export { QueryBindingPropertyNames };
|
|
11
|
+
//# sourceMappingURL=QueryBinding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryBinding.js","sources":["../../../queries/QueryBinding.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 { QueryArgumentBinding } from './QueryArgumentBinding';\nimport { QueryResultBinding } from './QueryResultBinding';\n\n/**\n * The value of a `QueryReference` property: which query, what feeds each of its parameters, and which result\n * fields feed what. Every connection is stated explicitly - nothing is matched by name or position.\n */\nexport interface QueryBinding {\n /** The stable identity of the bound {@link QueryCandidate}. */\n queryId: string;\n\n /** The query name the binding registry resolves at runtime - a snapshot of the candidate's name when bound. */\n query: string;\n\n arguments: QueryArgumentBinding[];\n results: QueryResultBinding[];\n}\n\nexport const QueryBindingPropertyNames: (keyof QueryBinding)[] = ['queryId', 'query', 'arguments', 'results'];\n"],"names":["QueryBindingPropertyNames"],"mappings":"AAAA;AACA;MAoBaA,yBAAAA,GAAoD;AAAC,IAAA,SAAA;AAAW,IAAA,OAAA;AAAS,IAAA,WAAA;AAAa,IAAA;;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { QueryOrigin } from './QueryOrigin';
|
|
2
|
+
import { QueryParameter } from './QueryParameter';
|
|
3
|
+
import { QueryResultField } from './QueryResultField';
|
|
4
|
+
import { QueryResultShape } from './QueryResultShape';
|
|
5
|
+
export interface QueryCandidate {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
origin: QueryOrigin[];
|
|
9
|
+
parameters: QueryParameter[];
|
|
10
|
+
resultShape: `${QueryResultShape}`;
|
|
11
|
+
resultFields: QueryResultField[];
|
|
12
|
+
}
|
|
13
|
+
export declare const QueryCandidatePropertyNames: (keyof QueryCandidate)[];
|
|
14
|
+
//# sourceMappingURL=QueryCandidate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryCandidate.d.ts","sourceRoot":"","sources":["../../../queries/QueryCandidate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAStD,MAAM,WAAW,cAAc;IAE3B,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,WAAW,EAAE,CAAC;IAEtB,UAAU,EAAE,cAAc,EAAE,CAAC;IAG7B,WAAW,EAAE,GAAG,gBAAgB,EAAE,CAAC;IAGnC,YAAY,EAAE,gBAAgB,EAAE,CAAC;CACpC;AAED,eAAO,MAAM,2BAA2B,EAAE,CAAC,MAAM,cAAc,CAAC,EAE/D,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 QueryCandidatePropertyNames = [
|
|
4
|
+
'id',
|
|
5
|
+
'name',
|
|
6
|
+
'origin',
|
|
7
|
+
'parameters',
|
|
8
|
+
'resultShape',
|
|
9
|
+
'resultFields'
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
export { QueryCandidatePropertyNames };
|
|
13
|
+
//# sourceMappingURL=QueryCandidate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryCandidate.js","sources":["../../../queries/QueryCandidate.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 { QueryOrigin } from './QueryOrigin';\nimport { QueryParameter } from './QueryParameter';\nimport { QueryResultField } from './QueryResultField';\nimport { QueryResultShape } from './QueryResultShape';\n\n/**\n * A query a property may be bound to, as supplied by the host.\n *\n * Scene never discovers queries itself - it has no idea what the application's backend offers. The host (Studio)\n * works out which queries are in scope for the thing being edited and hands them in, in this shape, which is\n * what keeps discovery out of the model and binding validation inside it.\n */\nexport interface QueryCandidate {\n /** The query's stable identity, which survives a rename. Bindings refer to it. */\n id: string;\n\n /** The query's display name - the name the binding registry resolves at runtime. */\n name: string;\n\n /** The path from the editing scope down to the query's owner, outermost first. */\n origin: QueryOrigin[];\n\n parameters: QueryParameter[];\n\n /** How many results the query produces. Accepts the {@link QueryResultShape} members or their string values. */\n resultShape: `${QueryResultShape}`;\n\n /** The fields of one result item. */\n resultFields: QueryResultField[];\n}\n\nexport const QueryCandidatePropertyNames: (keyof QueryCandidate)[] = [\n 'id', 'name', 'origin', 'parameters', 'resultShape', 'resultFields',\n];\n"],"names":["QueryCandidatePropertyNames"],"mappings":"AAAA;AACA;MAiCaA,2BAAAA,GAAwD;AACjE,IAAA,IAAA;AAAM,IAAA,MAAA;AAAQ,IAAA,QAAA;AAAU,IAAA,YAAA;AAAc,IAAA,aAAA;AAAe,IAAA;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryOrigin.d.ts","sourceRoot":"","sources":["../../../queries/QueryOrigin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQpD,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,GAAG,eAAe,EAAE,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,wBAAwB,EAAE,CAAC,MAAM,WAAW,CAAC,EAA2B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 QueryOriginPropertyNames = [
|
|
4
|
+
'kind',
|
|
5
|
+
'id',
|
|
6
|
+
'name'
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
export { QueryOriginPropertyNames };
|
|
10
|
+
//# sourceMappingURL=QueryOrigin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryOrigin.js","sources":["../../../queries/QueryOrigin.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 { QueryOriginKind } from './QueryOriginKind';\n\n/**\n * One step on the path from the editing scope down to the owner of a query.\n *\n * `kind` accepts both the {@link QueryOriginKind} members and their plain string values (`'feature'`,\n * `'slice'`), so a host that builds candidates from JSON does not have to import the enum.\n */\nexport interface QueryOrigin {\n kind: `${QueryOriginKind}`;\n id: string;\n name: string;\n}\n\nexport const QueryOriginPropertyNames: (keyof QueryOrigin)[] = ['kind', 'id', 'name'];\n"],"names":["QueryOriginPropertyNames"],"mappings":"AAAA;AACA;MAgBaA,wBAAAA,GAAkD;AAAC,IAAA,MAAA;AAAQ,IAAA,IAAA;AAAM,IAAA;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryOriginKind.d.ts","sourceRoot":"","sources":["../../../queries/QueryOriginKind.ts"],"names":[],"mappings":"AAMA,oBAAY,eAAe;IAEvB,OAAO,YAAY;IAGnB,KAAK,UAAU;CAClB"}
|
|
@@ -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
|
+
* What kind of model element owns a query.
|
|
5
|
+
*/ var QueryOriginKind = /*#__PURE__*/ function(QueryOriginKind) {
|
|
6
|
+
/** A feature of the application model. */ QueryOriginKind["Feature"] = "feature";
|
|
7
|
+
/** A slice within a feature. */ QueryOriginKind["Slice"] = "slice";
|
|
8
|
+
return QueryOriginKind;
|
|
9
|
+
}({});
|
|
10
|
+
|
|
11
|
+
export { QueryOriginKind };
|
|
12
|
+
//# sourceMappingURL=QueryOriginKind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryOriginKind.js","sources":["../../../queries/QueryOriginKind.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 model element owns a query.\n */\nexport enum QueryOriginKind {\n /** A feature of the application model. */\n Feature = 'feature',\n\n /** A slice within a feature. */\n Slice = 'slice',\n}\n"],"names":["QueryOriginKind"],"mappings":"AAAA;AACA;AAEA;;IAGO,IAAKA,eAAAA,iBAAAA,SAAAA,eAAAA,EAAAA;+CACgC,eAAA,CAAA,SAAA,CAAA,GAAA,SAAA;qCAGV,eAAA,CAAA,OAAA,CAAA,GAAA,OAAA;AAJtBA,IAAAA,OAAAA,eAAAA;AAMX,CAAA,CAAA,EAAA;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryParameter.d.ts","sourceRoot":"","sources":["../../../queries/QueryParameter.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,2BAA2B,EAAE,CAAC,MAAM,cAAc,CAAC,EAAiC,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 parameter a query takes.
|
|
5
|
+
*/ const QueryParameterPropertyNames = [
|
|
6
|
+
'name',
|
|
7
|
+
'type',
|
|
8
|
+
'required'
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
export { QueryParameterPropertyNames };
|
|
12
|
+
//# sourceMappingURL=QueryParameter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryParameter.js","sources":["../../../queries/QueryParameter.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 parameter a query takes.\n */\nexport interface QueryParameter {\n name: string;\n\n /** The parameter's type name, compared with the type of whatever is bound to it. */\n type: string;\n\n required: boolean;\n}\n\nexport const QueryParameterPropertyNames: (keyof QueryParameter)[] = ['name', 'type', 'required'];\n"],"names":["QueryParameterPropertyNames"],"mappings":"AAAA;AACA;AAEA;;UAYaA,2BAAAA,GAAwD;AAAC,IAAA,MAAA;AAAQ,IAAA,MAAA;AAAQ,IAAA;;;"}
|