@cratis/screenplay-language 4.192.0 → 4.194.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/dist/bundles/command-read-completions.js +5 -0
- package/dist/bundles/command-read-completions.js.map +1 -0
- package/dist/bundles/compiler/Diagnostics/DiagnosticArgument.js +2 -0
- package/dist/bundles/compiler/Diagnostics/DiagnosticArgument.js.map +1 -0
- package/dist/bundles/compiler/Diagnostics/DiagnosticCodes.js +1 -1
- package/dist/bundles/compiler/Diagnostics/DiagnosticCodes.js.map +1 -1
- package/dist/bundles/compiler/Files/PlayFolderMerge.js +1 -1
- package/dist/bundles/compiler/Files/PlayFolderMerge.js.map +1 -1
- package/dist/bundles/compiler/Parsing/CaptureParser.js +1 -1
- package/dist/bundles/compiler/Parsing/CaptureParser.js.map +1 -1
- package/dist/bundles/compiler/Parsing/ParserContext.js +1 -1
- package/dist/bundles/compiler/Parsing/ParserContext.js.map +1 -1
- package/dist/bundles/compiler/Parsing/ProducesParser.js +1 -1
- package/dist/bundles/compiler/Parsing/ProducesParser.js.map +1 -1
- package/dist/bundles/compiler/Parsing/ProjectionParser.js +1 -1
- package/dist/bundles/compiler/Parsing/ProjectionParser.js.map +1 -1
- package/dist/bundles/compiler/Parsing/ProjectionTargetValidator.js +1 -1
- package/dist/bundles/compiler/Parsing/ProjectionTargetValidator.js.map +1 -1
- package/dist/bundles/compiler/Parsing/ReactionParser.js +1 -1
- package/dist/bundles/compiler/Parsing/ReactionParser.js.map +1 -1
- package/dist/bundles/compiler/Parsing/ScreenplayParser.js +1 -1
- package/dist/bundles/compiler/Parsing/ScreenplayParser.js.map +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationCaseParser.js +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationCaseParser.js.map +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationCaseValidator.js +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationCaseValidator.js.map +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationCommandExamples.js +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationCommandExamples.js.map +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationExampleParser.js +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationExampleParser.js.map +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationParser.js +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationParser.js.map +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationResponseParser.js +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationResponseParser.js.map +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationStreamValidator.js +1 -1
- package/dist/bundles/compiler/Parsing/SpecificationStreamValidator.js.map +1 -1
- package/dist/bundles/compiler/Syntax/Structure.js.map +1 -1
- package/dist/bundles/compiler/Syntax/SyntaxCollections.js +1 -1
- package/dist/bundles/compiler/Syntax/SyntaxCollections.js.map +1 -1
- package/dist/bundles/compiler/Syntax/SyntaxJson.js +1 -1
- package/dist/bundles/compiler/Syntax/SyntaxJson.js.map +1 -1
- package/dist/bundles/compiler/index.js +1 -1
- package/dist/bundles/completion-items.js +1 -1
- package/dist/bundles/completion-items.js.map +1 -1
- package/dist/bundles/completion-planner.js +2 -2
- package/dist/bundles/completion-planner.js.map +1 -1
- package/dist/bundles/diagnostic-codes.js +1 -1
- package/dist/bundles/diagnostic-codes.js.map +1 -1
- package/dist/bundles/keyword-docs.js +1 -1
- package/dist/bundles/keyword-docs.js.map +1 -1
- package/dist/bundles/language.js +1 -1
- package/dist/bundles/language.js.map +1 -1
- package/dist/bundles/response-analysis.js +2 -2
- package/dist/bundles/response-analysis.js.map +1 -1
- package/dist/bundles/tokens.js +1 -1
- package/dist/bundles/tokens.js.map +1 -1
- package/dist/bundles/validation.js +1 -1
- package/dist/bundles/validation.js.map +1 -1
- package/dist/command-read-completions.d.ts +4 -0
- package/dist/command-read-completions.d.ts.map +1 -0
- package/dist/completion-items.d.ts.map +1 -1
- package/dist/completion-planner.d.ts.map +1 -1
- package/dist/diagnostic-codes.d.ts +1 -0
- package/dist/diagnostic-codes.d.ts.map +1 -1
- package/dist/keyword-docs.d.ts.map +1 -1
- package/dist/language.d.ts.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpecificationStreamValidator.js","names":["rows","AuthoringProductionResolver","application","slice","specification","context","sink","ParserContext","LineReader","reported","distinct","diagnostic","key","row","DiagnosticCodes","value","examples","specificationExamples","expansion","expandEffectiveSpecificationExamples","resolver","declarationSteps","exampleSpecifications","entry","node","catalog","EventSourceCatalog","concepts","uniqueByName","composites","properties","name","type","compatibleValue","known","source","target","formatSpecificationStreamId","expression","declared","reference","producers","command","produced","event","commandDestinationType","reaction","trigger","capture","appended","child","nested","validationSpecifications","owner","commands","parts","qualifiers","candidates","index","segment","depth","scope","visible","occurrences","step","pair","validateRoute","validateFor","code","message","location","required","identifier","eventProducers","producer","route","resolution","state","stream","mapping","formatted","formatStreamIdLiteral","streamIdFailureMessage","validateStreamIdParts","types","inheritedIdentityIsInvalid","prior","priorIdentifier","expected","contradicts","commandRoute","differs","part","actual","actualId","expectedId"],"sources":["../../../../../../Compiler/Parsing/SpecificationStreamValidator.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 { DiagnosticCodes } from '../Diagnostics/DiagnosticCodes';\nimport { AuthoringProductionResolver } from '../Syntax/AuthoringProductionResolver';\nimport { CommandSyntax } from '../Syntax/Commands';\nimport { EventSyntax, TypeRefSyntax } from '../Syntax/Declarations';\nimport { EventSourceCatalog } from '../Syntax/EventSourceCatalog';\nimport { CommandStreamSyntax, EventSourceResolutionKind } from '../Syntax/EventSources';\nimport { formatSpecificationStreamId } from './SpecificationRouteComparison';\nimport { streamIdFailureMessage } from '../Syntax/StreamIdFormatter';\nimport { ExpressionSyntax } from '../Syntax/Expressions';\nimport { commandDestinationType } from './CommandDestinationTypes';\nimport { formatStreamIdLiteral } from './EventSourceValidator';\nimport { ApplicationSyntax } from '../Syntax/Structure';\nimport { PropertyMappingSyntax } from '../Syntax/Expressions';\nimport { validateStreamIdParts } from './CompositeStreamIdValidator';\nimport { ParserContext } from './ParserContext';\nimport { LineReader } from './LineReader';\nimport { compatibleValue, uniqueByName } from './ResponseValidator';\nimport { expandEffectiveSpecificationExamples, specificationExamples } from './SpecificationCommandExamples';\nimport { SpecificationEventSyntax } from '../Syntax/Specifications';\n\ninterface Producer { event: EventSyntax; command: CommandSyntax | null; type: TypeRefSyntax | null; route?: CommandStreamSyntax | null }\n\nexport function validateSpecificationStreams(application: ApplicationSyntax, context: ParserContext): void {\n const rows = new AuthoringProductionResolver(application).slices.flatMap(({ slice }) => slice.specifications.flatMap(specification => specification.cases ?? []));\n if (rows.length === 0) return validateRoutes(application, context);\n const sink = new ParserContext(new LineReader([]));\n validateRoutes(application, sink);\n const reported = new Set<string>();\n const distinct = new Set<string>();\n for (const diagnostic of sink.diagnostics) {\n const key = JSON.stringify([diagnostic.code, diagnostic.location.path, diagnostic.location.line, diagnostic.location.column, diagnostic.message]);\n if (distinct.has(key)) continue;\n distinct.add(key);\n const row = diagnostic.code === DiagnosticCodes.InvalidSpecificationStreamRoute ? rows.find(row => row.values.some(value => value.source.location.line === diagnostic.location.line && value.source.location.column === diagnostic.location.column && value.source.location.path === diagnostic.location.path)) : undefined;\n if (row === undefined) context.error(diagnostic.code, diagnostic.message, diagnostic.location);\n else {\n const key = JSON.stringify(diagnostic.location);\n if (!reported.has(key)) context.error(diagnostic.code, `Case '${row.name}': ${diagnostic.message}`, diagnostic.location);\n reported.add(key);\n }\n }\n}\n\nfunction validateRoutes(application: ApplicationSyntax, context: ParserContext): void {\n const examples = specificationExamples(application).resolvedExamples;\n const expansion = expandEffectiveSpecificationExamples(application);\n application = expansion.application;\n const resolver = new AuthoringProductionResolver(application);\n const declarationSteps = new Set<SpecificationEventSyntax>();\n const exampleSpecifications = examples.flatMap(entry => {\n if (entry.kind !== 'event') {\n if ((entry.kind === 'command' || entry.kind === 'readmodel') && (entry.example.stream != null || entry.example.noStream != null))\n context.error(DiagnosticCodes.InvalidSpecificationExampleBody, \"only event examples carry routes; a command's route comes from its declaration, and read models have none\", (entry.example.stream ?? entry.example.noStream)!.location);\n return [];\n }\n const node: SpecificationEventSyntax = { kind: 'SpecificationEventSyntax', eventType: entry.name, values: entry.example.values, for: entry.example.for, stream: entry.example.stream, noStream: entry.example.noStream, location: entry.example.location };\n declarationSteps.add(node);\n return [{ scope: entry.scope, specification: { when: null, given: [], whenAppended: null, thenEvents: [node], whenRedelivered: null } }];\n });\n const catalog = new EventSourceCatalog(application);\n const concepts = uniqueByName(application.concepts);\n const composites = uniqueByName(application.types);\n const properties = new Map([...composites].map(([name, type]) => [name, uniqueByName(type.properties)]));\n const compatible = (value: Parameters<typeof compatibleValue>[0], type: TypeRefSyntax): boolean => compatibleValue(value, type, concepts, properties);\n const known = new Set(['String', 'Uuid', 'Int', 'Decimal', 'Bool', 'Date', 'DateTime', ...concepts.keys(), ...composites.keys()]);\n const nominallyCompatible = (source: TypeRefSyntax, target: TypeRefSyntax): boolean | null => known.has(source.name) && known.has(target.name)\n ? source.name === target.name && source.isCollection === target.isCollection && (!source.isOptional || target.isOptional) : null;\n const formatStreamId = (expression: ExpressionSyntax | null | undefined, type: TypeRefSyntax): string | null => formatSpecificationStreamId(expression, type, application);\n const eventOf = (reference: string, slice: typeof resolver.slices[number]['slice']): EventSyntax | null => {\n const declared = resolver.resolve(reference, slice).declaration;\n return declared?.node.kind === 'EventSyntax' ? declared.node : null;\n };\n const producers: Producer[] = [];\n for (const { slice } of resolver.slices) {\n for (const command of slice.commands) for (const produced of command.produces) {\n if (!resolver.isEventProduction(produced, slice)) continue;\n const event = eventOf(produced.event, slice);\n if (event === null) continue;\n const type = commandDestinationType(command, produced, application, { resolver, slice });\n producers.push({ event, command, type, route: produced.stream ?? command.stream });\n }\n for (const produced of slice.reactions.flatMap(reaction => reaction.triggers).flatMap(trigger => trigger.produces)) {\n const event = eventOf(produced.event, slice);\n if (event !== null) producers.push({ event, command: null, type: null });\n }\n for (const capture of slice.captures) for (const appended of [...capture.appends, ...capture.children.flatMap(child => child.appends), ...capture.nested.flatMap(nested => nested.appends)]) {\n const event = eventOf(appended.event, slice);\n if (event !== null) producers.push({ event, command: null, type: null });\n }\n }\n const validationSpecifications = [\n ...exampleSpecifications.flatMap(entry => resolver.slices.filter(owner => owner.scope.join('.') === entry.scope.join('.')).map(({ slice, scope }) => ({ slice, scope, specification: entry.specification }))),\n ...resolver.slices.flatMap(({ slice, scope }) => slice.specifications.map(specification => ({ slice, scope, specification })))\n ];\n for (const { slice, scope, specification } of validationSpecifications) {\n const commands = resolver.slices.flatMap(entry => entry.slice.commands.map(command => ({ command, scope: entry.scope })));\n const parts = specification.when?.commandType.split('.') ?? [];\n const qualifiers = parts.slice(0, -1);\n const candidates = commands.filter(entry => entry.command.name === parts.at(-1) && qualifiers.every((segment, index) => entry.scope[entry.scope.length - qualifiers.length + index] === segment));\n let command: CommandSyntax | null = qualifiers.length > 0 && candidates.length === 1 ? candidates[0].command : null;\n for (let depth = scope.length; qualifiers.length === 0 && depth >= 0 && command === null; depth--) {\n const visible = candidates.filter(entry => scope.slice(0, depth).every((segment, index) => entry.scope[index] === segment));\n if (visible.length > 0) { command = visible.length === 1 ? visible[0].command : null; break; }\n }\n const occurrences = [...specification.given.map(node => ({ node, required: true, expected: false })),\n ...(specification.whenAppended === null ? [] : [{ node: specification.whenAppended, required: true, expected: false }]),\n ...specification.thenEvents.map(node => ({ node, required: false, expected: !declarationSteps.has(node) })),\n ...(specification.whenRedelivered == null ? [] : [{ node: { ...specification.whenRedelivered, kind: 'SpecificationEventSyntax' as const }, required: false, expected: false }])];\n for (const { node, required, expected } of occurrences) {\n const step = expansion.specifications.flatMap(pair => pair.steps).find(step => step.effective === node);\n const validateRoute = step?.route?.origin !== 'example';\n const validateFor = validateRoute || node.for !== step?.example?.for;\n const contextualError = (code: string, message: string, location: typeof node.location): void => {\n context.error(code, step?.example == null ? message : `${message} Example '${step.example.name}' is used here.`, step?.example == null ? location : step.authored.location);\n };\n if (node.stream == null && node.noStream == null) continue;\n if (required && node.noStream != null)\n contextualError(DiagnosticCodes.InvalidSpecificationStream, \"Expected 'stream Source.Stream', or 'no stream' on a then event.\", node.noStream.location);\n let identifier: TypeRefSyntax | null = null;\n const event = eventOf(node.eventType, slice);\n const eventProducers = producers.filter(producer => producer.event === event);\n if (node.stream != null) {\n const route = node.stream;\n const resolution = catalog.resolve(route.eventSource, route.stream);\n if (resolution.kind !== EventSourceResolutionKind.Unique) {\n const state = { ambiguous: 'Ambiguous', notFound: 'NotFound', wrongKind: 'WrongKind' }[resolution.kind];\n if (validateRoute) context.error(DiagnosticCodes.InvalidSpecificationStreamRoute, `Stream '${route.eventSource}.${route.stream}' is ${state}; routing requires one physical source and stream.`, route.location);\n continue;\n }\n const source = resolution.sources[0];\n const stream = resolution.streams[0];\n const validateLiteral = (mapping: PropertyMappingSyntax, target: TypeRefSyntax | null): void => {\n const value = mapping.source;\n const formatted = formatStreamIdLiteral(value, target, application);\n if (formatted?.failure != null) context.error(DiagnosticCodes.InvalidSpecificationStreamRoute, streamIdFailureMessage(formatted.failure), value.location);\n else if (value.kind !== 'LiteralExpressionSyntax' || value.value === null || target !== null && !compatible(value, target))\n context.error(DiagnosticCodes.InvalidSpecificationStreamRoute, \"A specification stream id needs a nonempty concrete scalar literal compatible with the stream's declared type.\", value.location);\n };\n if (!validateRoute) { /* The authored example's route is checked once at its declaration. */ }\n else if (stream.streamIdParts.length > 0)\n validateStreamIdParts(stream, route.streamIdParts, route.streamId !== null, route.location, DiagnosticCodes.InvalidSpecificationStreamRoute, context, validateLiteral);\n else if (route.streamIdParts.length > 0)\n context.error(DiagnosticCodes.InvalidSpecificationStreamRoute, 'A streamId part block requires a composite stream.', route.location);\n else {\n if ((stream.streamId === null) !== (route.streamId === null))\n context.error(DiagnosticCodes.InvalidSpecificationStreamRoute, stream.streamId === null ? 'An unkeyed stream cannot take a streamId mapping.' : 'This keyed stream requires a streamId mapping.', route.location);\n if (route.streamId !== null) validateLiteral(route.streamId, stream.streamId);\n }\n identifier = source.identifier;\n if (identifier === null) {\n const types = eventProducers.map(producer => producer.type);\n const distinct = new Set(types.filter(type => type !== null).map(type => `${type.name}:${type.isOptional}:${type.isCollection}`));\n if (types.length === 0 || types.some(type => type === null) || distinct.size !== 1) {\n if (validateRoute) context.error(DiagnosticCodes.InvalidSpecificationStreamEventSource, `Declare an identifier on source '${source.name}'; the event's producers do not supply one unambiguous destination type.`, route.location);\n } else identifier = types[0];\n }\n let inheritedIdentityIsInvalid = false;\n if (step?.example?.stream != null && node.for !== null && node.for === step.example.for) {\n const prior = catalog.resolve(step.example.stream.eventSource, step.example.stream.stream);\n if (prior.kind === EventSourceResolutionKind.Unique) {\n const types = eventProducers.map(producer => producer.type);\n const distinct = new Set(types.filter(type => type !== null).map(type => `${type.name}:${type.isOptional}:${type.isCollection}`));\n const priorIdentifier = prior.sources[0].identifier ?? (types.length > 0 && !types.some(type => type === null) && distinct.size === 1 ? types[0] : null);\n if (priorIdentifier !== null)\n inheritedIdentityIsInvalid = node.for.kind !== 'LiteralExpressionSyntax' || node.for.value === null || priorIdentifier.isCollection || priorIdentifier.isOptional || !compatible(node.for, priorIdentifier);\n }\n }\n if (required && node.for === null)\n contextualError(DiagnosticCodes.InvalidSpecificationStreamEventSource, \"A routed given or when append event requires 'for <literal>'.\", route.location);\n else if (validateFor && !inheritedIdentityIsInvalid && node.for !== null && (node.for.kind !== 'LiteralExpressionSyntax' || node.for.value === null || identifier !== null && (identifier.isCollection || identifier.isOptional || !compatible(node.for, identifier))))\n contextualError(DiagnosticCodes.InvalidSpecificationStreamEventSource, \"A routed event's for value must be a concrete literal compatible with the source's identifier type.\", node.for.location);\n }\n if (!expected || command === null || eventProducers.length === 0 || eventProducers.some(producer => producer.command !== command)) continue;\n let contradicts = eventProducers.every(producer => {\n const commandRoute = producer.route?.propertyCandidate === null ? producer.route : null;\n let differs = node.noStream != null ? commandRoute != null : commandRoute == null || commandRoute.eventSource !== node.stream!.eventSource || commandRoute.stream !== node.stream!.stream;\n if (!differs && node.stream != null && commandRoute != null) {\n const resolution = catalog.resolve(node.stream.eventSource, node.stream.stream);\n const stream = resolution.kind === EventSourceResolutionKind.Unique ? resolution.streams[0] : null;\n if (stream !== null && stream.streamIdParts.length > 0) {\n if (commandRoute.streamId === null && node.stream.streamId === null && commandRoute.streamIdParts.length > 0 && node.stream.streamIdParts.length > 0) {\n for (const part of stream.streamIdParts) {\n const actual = commandRoute.streamIdParts.filter(mapping => mapping.property === part.name);\n const expected = node.stream.streamIdParts.filter(mapping => mapping.property === part.name);\n if (actual.length !== 1 || expected.length !== 1) continue;\n const actualId = formatStreamId(actual[0].source, part.type);\n const expectedId = formatStreamId(expected[0].source, part.type);\n if (actualId !== null && expectedId !== null && actualId !== expectedId) differs = true;\n }\n }\n } else if (stream?.streamId != null && commandRoute.streamIdParts.length === 0 && node.stream.streamIdParts.length === 0) {\n const actualId = formatStreamId(commandRoute.streamId?.source, stream.streamId);\n const expectedId = formatStreamId(node.stream.streamId?.source, stream.streamId);\n if (actualId !== null && expectedId !== null && actualId !== expectedId) differs = true;\n }\n }\n return differs;\n });\n if (node.for?.kind === 'LiteralExpressionSyntax' && eventProducers.every(producer => producer.type !== null &&\n (identifier !== null ? nominallyCompatible(producer.type, identifier) === false : !compatible(node.for!, producer.type)))) contradicts = true;\n if (contradicts) contextualError(DiagnosticCodes.SpecificationStreamContradictsCommand, 'The expected event route contradicts its only producer, the command under test.', (node.stream ?? node.noStream)!.location);\n }\n }\n}\n"],"mappings":"45BAyBA,SAAgB,6BAA6B,EAAgC,EAA8B,CACvG,IAAMA,EAAO,IAAIC,EAA4BC,CAAW,CAAC,CAAC,OAAO,SAAS,CAAE,WAAYC,EAAM,eAAe,QAAQ,GAAiBC,EAAc,OAAS,CAAC,C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EAC3DE,IAAa,MAAQC,IAAe,MAAQD,IAAaC,IAAY,EAAU,GACvF,OAED,GAAIjB,GAAQ,UAAY,MAAQY,EAAa,cAAc,SAAW,GAAKlE,EAAK,OAAO,cAAc,SAAW,EAAG,CACtH,IAAMsE,EAAW,eAAeJ,EAAa,UAAU,OAAQZ,EAAO,QAAQ,EACxEiB,EAAa,eAAevE,EAAK,OAAO,UAAU,OAAQsD,EAAO,QAAQ,EAC3EgB,IAAa,MAAQC,IAAe,MAAQD,IAAaC,IAAY,EAAU,GACvF,CACJ,CACA,OAAOJ,CACX,CAAC,EACGnE,EAAK,KAAK,OAAS,2BAA6BiD,EAAe,MAAM,GAAYC,EAAS,OAAS,OAClGF,IAAe,KAAkE,CAAC,WAAWhD,EAAK,IAAMkD,EAAS,IAAI,EAA/F,oBAAoBA,EAAS,KAAMF,CAAU,IAAM,GAA8C,IAAG,EAAc,IACzIiB,GAAa,gBAAgB3E,EAAgB,sCAAuC,mFAAoFU,EAAK,QAAUA,EAAK,SAAA,CAAW,QAAQ,CACvN,CACJ,CACJ"}
|
|
1
|
+
{"version":3,"file":"SpecificationStreamValidator.js","names":["rows","AuthoringProductionResolver","application","slice","specification","context","sink","ParserContext","LineReader","reported","distinct","diagnostic","key","row","DiagnosticCodes","value","examples","specificationExamples","expansion","expandEffectiveSpecificationExamples","resolver","declarationSteps","exampleSpecifications","entry","diagnosticText","node","catalog","EventSourceCatalog","concepts","uniqueByName","composites","properties","name","type","compatibleValue","known","source","target","formatSpecificationStreamId","expression","declared","reference","producers","command","produced","event","commandDestinationType","reaction","trigger","capture","appended","child","nested","validationSpecifications","owner","commands","parts","qualifiers","candidates","index","segment","depth","scope","visible","occurrences","step","pair","validateRoute","validateFor","code","message","location","required","identifier","eventProducers","producer","route","resolution","state","stream","mapping","formatted","formatStreamIdLiteral","streamIdFailureMessage","validateStreamIdParts","types","inheritedIdentityIsInvalid","prior","priorIdentifier","expected","contradicts","commandRoute","differs","part","actual","actualId","expectedId"],"sources":["../../../../../../Compiler/Parsing/SpecificationStreamValidator.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 { diagnosticText } from '../Diagnostics/DiagnosticArgument';\nimport { DiagnosticCodes } from '../Diagnostics/DiagnosticCodes';\nimport { AuthoringProductionResolver } from '../Syntax/AuthoringProductionResolver';\nimport { CommandSyntax } from '../Syntax/Commands';\nimport { EventSyntax, TypeRefSyntax } from '../Syntax/Declarations';\nimport { EventSourceCatalog } from '../Syntax/EventSourceCatalog';\nimport { CommandStreamSyntax, EventSourceResolutionKind } from '../Syntax/EventSources';\nimport { formatSpecificationStreamId } from './SpecificationRouteComparison';\nimport { streamIdFailureMessage } from '../Syntax/StreamIdFormatter';\nimport { ExpressionSyntax } from '../Syntax/Expressions';\nimport { commandDestinationType } from './CommandDestinationTypes';\nimport { formatStreamIdLiteral } from './EventSourceValidator';\nimport { ApplicationSyntax } from '../Syntax/Structure';\nimport { PropertyMappingSyntax } from '../Syntax/Expressions';\nimport { validateStreamIdParts } from './CompositeStreamIdValidator';\nimport { ParserContext } from './ParserContext';\nimport { LineReader } from './LineReader';\nimport { compatibleValue, uniqueByName } from './ResponseValidator';\nimport { expandEffectiveSpecificationExamples, specificationExamples } from './SpecificationCommandExamples';\nimport { SpecificationEventSyntax } from '../Syntax/Specifications';\n\ninterface Producer { event: EventSyntax; command: CommandSyntax | null; type: TypeRefSyntax | null; route?: CommandStreamSyntax | null }\n\nexport function validateSpecificationStreams(application: ApplicationSyntax, context: ParserContext): void {\n const rows = new AuthoringProductionResolver(application).slices.flatMap(({ slice }) => slice.specifications.flatMap(specification => specification.cases ?? []));\n if (rows.length === 0) return validateRoutes(application, context);\n const sink = new ParserContext(new LineReader([]));\n validateRoutes(application, sink);\n const reported = new Set<string>();\n const distinct = new Set<string>();\n for (const diagnostic of sink.diagnostics) {\n const key = JSON.stringify([diagnostic.code, diagnostic.location.path, diagnostic.location.line, diagnostic.location.column, diagnostic.message]);\n if (distinct.has(key)) continue;\n distinct.add(key);\n const row = diagnostic.code === DiagnosticCodes.InvalidSpecificationStreamRoute ? rows.find(row => row.values.some(value => value.source.location.line === diagnostic.location.line && value.source.location.column === diagnostic.location.column && value.source.location.path === diagnostic.location.path)) : undefined;\n if (row === undefined) context.error(diagnostic.code, diagnostic.message, diagnostic.location, diagnostic.arguments);\n else {\n const key = JSON.stringify(diagnostic.location);\n if (!reported.has(key)) context.error(diagnostic.code, `Case '${row.name}': ${diagnostic.message}`, diagnostic.location, diagnostic.arguments);\n reported.add(key);\n }\n }\n}\n\nfunction validateRoutes(application: ApplicationSyntax, context: ParserContext): void {\n const examples = specificationExamples(application).resolvedExamples;\n const expansion = expandEffectiveSpecificationExamples(application);\n application = expansion.application;\n const resolver = new AuthoringProductionResolver(application);\n const declarationSteps = new Set<SpecificationEventSyntax>();\n const exampleSpecifications = examples.flatMap(entry => {\n if (entry.kind !== 'event') {\n if ((entry.kind === 'command' || entry.kind === 'readmodel') && (entry.example.stream != null || entry.example.noStream != null))\n context.error(DiagnosticCodes.InvalidSpecificationExampleBody, \"only event examples carry routes; a command's route comes from its declaration, and read models have none\", (entry.example.stream ?? entry.example.noStream)!.location, diagnosticText('example', entry.example.name));\n return [];\n }\n const node: SpecificationEventSyntax = { kind: 'SpecificationEventSyntax', eventType: entry.name, values: entry.example.values, for: entry.example.for, stream: entry.example.stream, noStream: entry.example.noStream, location: entry.example.location };\n declarationSteps.add(node);\n return [{ scope: entry.scope, specification: { when: null, given: [], whenAppended: null, thenEvents: [node], whenRedelivered: null } }];\n });\n const catalog = new EventSourceCatalog(application);\n const concepts = uniqueByName(application.concepts);\n const composites = uniqueByName(application.types);\n const properties = new Map([...composites].map(([name, type]) => [name, uniqueByName(type.properties)]));\n const compatible = (value: Parameters<typeof compatibleValue>[0], type: TypeRefSyntax): boolean => compatibleValue(value, type, concepts, properties);\n const known = new Set(['String', 'Uuid', 'Int', 'Decimal', 'Bool', 'Date', 'DateTime', ...concepts.keys(), ...composites.keys()]);\n const nominallyCompatible = (source: TypeRefSyntax, target: TypeRefSyntax): boolean | null => known.has(source.name) && known.has(target.name)\n ? source.name === target.name && source.isCollection === target.isCollection && (!source.isOptional || target.isOptional) : null;\n const formatStreamId = (expression: ExpressionSyntax | null | undefined, type: TypeRefSyntax): string | null => formatSpecificationStreamId(expression, type, application);\n const eventOf = (reference: string, slice: typeof resolver.slices[number]['slice']): EventSyntax | null => {\n const declared = resolver.resolve(reference, slice).declaration;\n return declared?.node.kind === 'EventSyntax' ? declared.node : null;\n };\n const producers: Producer[] = [];\n for (const { slice } of resolver.slices) {\n for (const command of slice.commands) for (const produced of command.produces) {\n if (!resolver.isEventProduction(produced, slice)) continue;\n const event = eventOf(produced.event, slice);\n if (event === null) continue;\n const type = commandDestinationType(command, produced, application, { resolver, slice });\n producers.push({ event, command, type, route: produced.stream ?? command.stream });\n }\n for (const produced of slice.reactions.flatMap(reaction => reaction.triggers).flatMap(trigger => trigger.produces)) {\n const event = eventOf(produced.event, slice);\n if (event !== null) producers.push({ event, command: null, type: null });\n }\n for (const capture of slice.captures) for (const appended of [...capture.appends, ...capture.children.flatMap(child => child.appends), ...capture.nested.flatMap(nested => nested.appends)]) {\n const event = eventOf(appended.event, slice);\n if (event !== null) producers.push({ event, command: null, type: null });\n }\n }\n const validationSpecifications = [\n ...exampleSpecifications.flatMap(entry => resolver.slices.filter(owner => owner.scope.join('.') === entry.scope.join('.')).map(({ slice, scope }) => ({ slice, scope, specification: entry.specification }))),\n ...resolver.slices.flatMap(({ slice, scope }) => slice.specifications.map(specification => ({ slice, scope, specification })))\n ];\n for (const { slice, scope, specification } of validationSpecifications) {\n const commands = resolver.slices.flatMap(entry => entry.slice.commands.map(command => ({ command, scope: entry.scope })));\n const parts = specification.when?.commandType.split('.') ?? [];\n const qualifiers = parts.slice(0, -1);\n const candidates = commands.filter(entry => entry.command.name === parts.at(-1) && qualifiers.every((segment, index) => entry.scope[entry.scope.length - qualifiers.length + index] === segment));\n let command: CommandSyntax | null = qualifiers.length > 0 && candidates.length === 1 ? candidates[0].command : null;\n for (let depth = scope.length; qualifiers.length === 0 && depth >= 0 && command === null; depth--) {\n const visible = candidates.filter(entry => scope.slice(0, depth).every((segment, index) => entry.scope[index] === segment));\n if (visible.length > 0) { command = visible.length === 1 ? visible[0].command : null; break; }\n }\n const occurrences = [...specification.given.map(node => ({ node, required: true, expected: false })),\n ...(specification.whenAppended === null ? [] : [{ node: specification.whenAppended, required: true, expected: false }]),\n ...specification.thenEvents.map(node => ({ node, required: false, expected: !declarationSteps.has(node) })),\n ...(specification.whenRedelivered == null ? [] : [{ node: { ...specification.whenRedelivered, kind: 'SpecificationEventSyntax' as const }, required: false, expected: false }])];\n for (const { node, required, expected } of occurrences) {\n const step = expansion.specifications.flatMap(pair => pair.steps).find(step => step.effective === node);\n const validateRoute = step?.route?.origin !== 'example';\n const validateFor = validateRoute || node.for !== step?.example?.for;\n const contextualError = (code: string, message: string, location: typeof node.location): void => {\n context.error(code, step?.example == null ? message : `${message} Example '${step.example.name}' is used here.`, step?.example == null ? location : step.authored.location);\n };\n if (node.stream == null && node.noStream == null) continue;\n if (required && node.noStream != null)\n contextualError(DiagnosticCodes.InvalidSpecificationStream, \"Expected 'stream Source.Stream', or 'no stream' on a then event.\", node.noStream.location);\n let identifier: TypeRefSyntax | null = null;\n const event = eventOf(node.eventType, slice);\n const eventProducers = producers.filter(producer => producer.event === event);\n if (node.stream != null) {\n const route = node.stream;\n const resolution = catalog.resolve(route.eventSource, route.stream);\n if (resolution.kind !== EventSourceResolutionKind.Unique) {\n const state = { ambiguous: 'Ambiguous', notFound: 'NotFound', wrongKind: 'WrongKind' }[resolution.kind];\n if (validateRoute) context.error(DiagnosticCodes.InvalidSpecificationStreamRoute, `Stream '${route.eventSource}.${route.stream}' is ${state}; routing requires one physical source and stream.`, route.location);\n continue;\n }\n const source = resolution.sources[0];\n const stream = resolution.streams[0];\n const validateLiteral = (mapping: PropertyMappingSyntax, target: TypeRefSyntax | null): void => {\n const value = mapping.source;\n const formatted = formatStreamIdLiteral(value, target, application);\n if (formatted?.failure != null) context.error(DiagnosticCodes.InvalidSpecificationStreamRoute, streamIdFailureMessage(formatted.failure), value.location);\n else if (value.kind !== 'LiteralExpressionSyntax' || value.value === null || target !== null && !compatible(value, target))\n context.error(DiagnosticCodes.InvalidSpecificationStreamRoute, \"A specification stream id needs a nonempty concrete scalar literal compatible with the stream's declared type.\", value.location);\n };\n if (!validateRoute) { /* The authored example's route is checked once at its declaration. */ }\n else if (stream.streamIdParts.length > 0)\n validateStreamIdParts(stream, route.streamIdParts, route.streamId !== null, route.location, DiagnosticCodes.InvalidSpecificationStreamRoute, context, validateLiteral);\n else if (route.streamIdParts.length > 0)\n context.error(DiagnosticCodes.InvalidSpecificationStreamRoute, 'A streamId part block requires a composite stream.', route.location);\n else {\n if ((stream.streamId === null) !== (route.streamId === null))\n context.error(DiagnosticCodes.InvalidSpecificationStreamRoute, stream.streamId === null ? 'An unkeyed stream cannot take a streamId mapping.' : 'This keyed stream requires a streamId mapping.', route.location);\n if (route.streamId !== null) validateLiteral(route.streamId, stream.streamId);\n }\n identifier = source.identifier;\n if (identifier === null) {\n const types = eventProducers.map(producer => producer.type);\n const distinct = new Set(types.filter(type => type !== null).map(type => `${type.name}:${type.isOptional}:${type.isCollection}`));\n if (types.length === 0 || types.some(type => type === null) || distinct.size !== 1) {\n if (validateRoute) context.error(DiagnosticCodes.InvalidSpecificationStreamEventSource, `Declare an identifier on source '${source.name}'; the event's producers do not supply one unambiguous destination type.`, route.location);\n } else identifier = types[0];\n }\n let inheritedIdentityIsInvalid = false;\n if (step?.example?.stream != null && node.for !== null && node.for === step.example.for) {\n const prior = catalog.resolve(step.example.stream.eventSource, step.example.stream.stream);\n if (prior.kind === EventSourceResolutionKind.Unique) {\n const types = eventProducers.map(producer => producer.type);\n const distinct = new Set(types.filter(type => type !== null).map(type => `${type.name}:${type.isOptional}:${type.isCollection}`));\n const priorIdentifier = prior.sources[0].identifier ?? (types.length > 0 && !types.some(type => type === null) && distinct.size === 1 ? types[0] : null);\n if (priorIdentifier !== null)\n inheritedIdentityIsInvalid = node.for.kind !== 'LiteralExpressionSyntax' || node.for.value === null || priorIdentifier.isCollection || priorIdentifier.isOptional || !compatible(node.for, priorIdentifier);\n }\n }\n if (required && node.for === null)\n contextualError(DiagnosticCodes.InvalidSpecificationStreamEventSource, \"A routed given or when append event requires 'for <literal>'.\", route.location);\n else if (validateFor && !inheritedIdentityIsInvalid && node.for !== null && (node.for.kind !== 'LiteralExpressionSyntax' || node.for.value === null || identifier !== null && (identifier.isCollection || identifier.isOptional || !compatible(node.for, identifier))))\n contextualError(DiagnosticCodes.InvalidSpecificationStreamEventSource, \"A routed event's for value must be a concrete literal compatible with the source's identifier type.\", node.for.location);\n }\n if (!expected || command === null || eventProducers.length === 0 || eventProducers.some(producer => producer.command !== command)) continue;\n let contradicts = eventProducers.every(producer => {\n const commandRoute = producer.route?.propertyCandidate === null ? producer.route : null;\n let differs = node.noStream != null ? commandRoute != null : commandRoute == null || commandRoute.eventSource !== node.stream!.eventSource || commandRoute.stream !== node.stream!.stream;\n if (!differs && node.stream != null && commandRoute != null) {\n const resolution = catalog.resolve(node.stream.eventSource, node.stream.stream);\n const stream = resolution.kind === EventSourceResolutionKind.Unique ? resolution.streams[0] : null;\n if (stream !== null && stream.streamIdParts.length > 0) {\n if (commandRoute.streamId === null && node.stream.streamId === null && commandRoute.streamIdParts.length > 0 && node.stream.streamIdParts.length > 0) {\n for (const part of stream.streamIdParts) {\n const actual = commandRoute.streamIdParts.filter(mapping => mapping.property === part.name);\n const expected = node.stream.streamIdParts.filter(mapping => mapping.property === part.name);\n if (actual.length !== 1 || expected.length !== 1) continue;\n const actualId = formatStreamId(actual[0].source, part.type);\n const expectedId = formatStreamId(expected[0].source, part.type);\n if (actualId !== null && expectedId !== null && actualId !== expectedId) differs = true;\n }\n }\n } else if (stream?.streamId != null && commandRoute.streamIdParts.length === 0 && node.stream.streamIdParts.length === 0) {\n const actualId = formatStreamId(commandRoute.streamId?.source, stream.streamId);\n const expectedId = formatStreamId(node.stream.streamId?.source, stream.streamId);\n if (actualId !== null && expectedId !== null && actualId !== expectedId) differs = true;\n }\n }\n return differs;\n });\n if (node.for?.kind === 'LiteralExpressionSyntax' && eventProducers.every(producer => producer.type !== null &&\n (identifier !== null ? nominallyCompatible(producer.type, identifier) === false : !compatible(node.for!, producer.type)))) contradicts = true;\n if (contradicts) contextualError(DiagnosticCodes.SpecificationStreamContradictsCommand, 'The expected event route contradicts its only producer, the command under test.', (node.stream ?? node.noStream)!.location);\n }\n }\n}\n"],"mappings":"k+BA0BA,SAAgB,6BAA6B,EAAgC,EAA8B,CACvG,IAAMA,EAAO,IAAIC,EAA4BC,CAAW,CAAC,CAAC,OAAO,SAAS,CAAE,WAAYC,EAAM,eAAe,QAAQ,GAAiBC,EAAc,OAAS,CAAC,CAAC,CAAC,EAChK,GAAIJ,EAAK,SAAW,EAAG,OAAO,eAAeE,EAAaG,CAAO,EACjE,IAAMC,EAAO,IAAIC,EAAc,IAAIC,EAAW,CAAC,CAAC,CAAC,EACjD,eAAeN,EAAaI,CAAI,EAChC,IAAMG,kBAAW,IAAI,IACfC,kBAAW,IAAI,IACrB,IAAK,IAAMC,KAAcL,EAAK,YAAa,CACvC,IAAMM,EAAM,KAAK,UAAU,CAACD,EAAW,KAAMA,EAAW,SAAS,KAAMA,EAAW,SAAS,KAAMA,EAAW,SAAS,OAAQA,EAAW,OAAO,CAAC,EAChJ,GAAID,EAAS,IAAIE,CAAG,EAAG,SACvBF,EAAS,IAAIE,CAAG,EAChB,IAAMC,EAAMF,EAAW,OAASG,EAAgB,gCAAkCd,EAAK,KAAK,GAAOa,EAAI,OAAO,KAAK,GAASE,EAAM,OAAO,SAAS,OAASJ,EAAW,SAAS,MAAQI,EAAM,OAAO,SAAS,SAAWJ,EAAW,SAAS,QAAUI,EAAM,OAAO,SAAS,OAASJ,EAAW,SAAS,IAAI,C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W,EAAK,QAAUA,EAAK,SAAA,CAAW,QAAQ,CACvN,CACJ,CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Structure.js","names":["sliceTypes"],"sources":["../../../../../../Compiler/Syntax/Structure.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 { ReactionProductionMode } from './ReactionProductionMode';\nimport type { IdentitySyntax } from './IdentitySyntax';\nimport type { ExposureSyntax, InstanceContributionsSyntax } from './CompositionSyntax';\nimport { AuthorizeSyntax, PersonaSyntax } from './Authorization';\nimport { CaptureSyntax } from './Captures';\nimport { CommandSyntax } from './Commands';\nimport { ConstraintSyntax } from './Constraints';\nimport { ConceptSyntax, DomainSyntax, EventSyntax, ImportSyntax, PropertySyntax, ReadModelSyntax, TypeSyntax } from './Declarations';\nimport { ProjectionSyntax } from './Projections';\nimport { PolicySyntax } from './Policies';\nimport { SeedSyntax } from './Seeds';\nimport { EventSourceSyntax } from './EventSources';\nimport { OperationSyntax, SystemSyntax } from './Operations';\nimport { QuerySyntax } from './Queries';\nimport { ReactionSyntax } from './Reactions';\nimport { ScreenSyntax } from './Screens';\nimport { SpecificationExampleSyntax, SpecificationSyntax } from './Specifications';\nimport { SyntaxNode } from './SyntaxNode';\nimport { SourceOptions } from './SourceOptions';\nimport { TranslationDirection } from './TranslationDirection';\nimport { PurposeReferenceSyntax, PurposeSyntax } from './Purposes';\n\n// The four kinds of slice. The names are the C# SliceType members, which is also how SyntaxJson writes them.\nexport type SliceType = 'StateChange' | 'StateView' | 'Automation' | 'Translate';\n\nexport const sliceTypes: readonly SliceType[] = ['StateChange', 'StateView', 'Automation', 'Translate'];\n\nexport interface SliceSyntax extends SyntaxNode {\n readonly purposes?: readonly PurposeReferenceSyntax[];\n readonly kind: 'SliceSyntax';\n readonly direction?: TranslationDirection | null;\n readonly documentation?: string | null;\n readonly examples?: readonly SpecificationExampleSyntax[];\n readonly type: SliceType;\n readonly name: string;\n readonly description: string | null;\n readonly events: readonly EventSyntax[];\n readonly operations?: readonly OperationSyntax[];\n readonly commands: readonly CommandSyntax[];\n readonly queries: readonly QuerySyntax[];\n readonly projections: readonly ProjectionSyntax[];\n readonly captures: readonly CaptureSyntax[];\n readonly reactions: readonly ReactionSyntax[];\n readonly constraints: readonly ConstraintSyntax[];\n readonly specifications: readonly SpecificationSyntax[];\n readonly readModels: readonly ReadModelSyntax[];\n readonly screens: readonly ScreenSyntax[];\n}\n\n// An 'import \"<pattern>\"' of other .play files. Where it is written decides where what it imports belongs:\n// at the top level of a document it brings in whole documents; inside a module or feature it places each\n// imported file there, so the file's top level is that module's or feature's body.\nexport interface FileImportSyntax extends SyntaxNode {\n readonly kind: 'FileImportSyntax';\n readonly pattern: string;\n}\n\nexport interface DependsOnSyntax extends SyntaxNode {\n readonly kind: 'DependsOnSyntax';\n readonly target: string;\n}\n\nexport interface FeatureSyntax extends SyntaxNode {\n readonly purposes?: readonly PurposeReferenceSyntax[];\n readonly dependsOn?: readonly DependsOnSyntax[];\n readonly kind: 'FeatureSyntax';\n readonly documentation?: string | null;\n readonly examples?: readonly SpecificationExampleSyntax[];\n readonly name: string;\n readonly description: string | null;\n readonly authorize: AuthorizeSyntax | null;\n readonly features: readonly FeatureSyntax[];\n readonly slices: readonly SliceSyntax[];\n readonly fileImports: readonly FileImportSyntax[];\n\n // Whether the feature is not written in the document but places it - the document was imported into\n // the feature, so its top level is the feature's body.\n readonly isPlacement: boolean;\n}\n\nexport interface ModuleSyntax extends SyntaxNode {\n readonly purposes?: readonly PurposeReferenceSyntax[];\n readonly dependsOn?: readonly DependsOnSyntax[];\n readonly kind: 'ModuleSyntax';\n readonly documentation?: string | null;\n readonly examples?: readonly SpecificationExampleSyntax[];\n readonly name: string;\n readonly description: string | null;\n readonly authorize: AuthorizeSyntax | null;\n readonly features: readonly FeatureSyntax[];\n readonly fileImports: readonly FileImportSyntax[];\n\n // Whether the module is not written in the document but places it - the document was imported into\n // the module, so its top level is the module's body.\n readonly isPlacement: boolean;\n}\n\nexport interface ApplicationSyntax extends SyntaxNode {\n readonly reactionProductionMode?: ReactionProductionMode | null;\n readonly identity?: IdentitySyntax | null;\n readonly purposes?: readonly PurposeSyntax[];\n readonly kind: 'ApplicationSyntax';\n readonly examples?: readonly SpecificationExampleSyntax[];\n readonly sourceOptions?: SourceOptions;\n readonly domain: DomainSyntax | null;\n readonly policies?: readonly PolicySyntax[];\n readonly seeds?: readonly SeedSyntax[];\n readonly systems?: readonly SystemSyntax[];\n readonly eventSources?: readonly EventSourceSyntax[];\n readonly imports: readonly ImportSyntax[];\n readonly concepts: readonly ConceptSyntax[];\n readonly types: readonly TypeSyntax[];\n readonly modules: readonly ModuleSyntax[];\n readonly personas: readonly PersonaSyntax[];\n\n // Parser-owned typed trigger shapes for consistency checks, not part of the syntax wire projection.\n readonly declaredTriggers?: readonly { readonly name: string; readonly data: readonly PropertySyntax[] }[];\n\n // The files the document imports at its top level - whole documents, merged into the application.\n readonly fileImports: readonly FileImportSyntax[];\n\n // What layouts and templates expose, and what instances store for it - written only when present.\n readonly exposures?: readonly ExposureSyntax[];\n readonly instanceContributions?: readonly InstanceContributionsSyntax[];\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Structure.js","names":["sliceTypes"],"sources":["../../../../../../Compiler/Syntax/Structure.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 { CommandReadMode } from './CommandReadMode';\nimport { ReactionProductionMode } from './ReactionProductionMode';\nimport type { IdentitySyntax } from './IdentitySyntax';\nimport type { ExposureSyntax, InstanceContributionsSyntax } from './CompositionSyntax';\nimport { AuthorizeSyntax, PersonaSyntax } from './Authorization';\nimport { CaptureSyntax } from './Captures';\nimport { CommandSyntax } from './Commands';\nimport { ConstraintSyntax } from './Constraints';\nimport { ConceptSyntax, DomainSyntax, EventSyntax, ImportSyntax, PropertySyntax, ReadModelSyntax, TypeSyntax } from './Declarations';\nimport { ProjectionSyntax } from './Projections';\nimport { PolicySyntax } from './Policies';\nimport { SeedSyntax } from './Seeds';\nimport { EventSourceSyntax } from './EventSources';\nimport { OperationSyntax, SystemSyntax } from './Operations';\nimport { QuerySyntax } from './Queries';\nimport { ReactionSyntax } from './Reactions';\nimport { ScreenSyntax } from './Screens';\nimport { SpecificationExampleSyntax, SpecificationSyntax } from './Specifications';\nimport { SyntaxNode } from './SyntaxNode';\nimport { SourceOptions } from './SourceOptions';\nimport { TranslationDirection } from './TranslationDirection';\nimport { PurposeReferenceSyntax, PurposeSyntax } from './Purposes';\n\n// The four kinds of slice. The names are the C# SliceType members, which is also how SyntaxJson writes them.\nexport type SliceType = 'StateChange' | 'StateView' | 'Automation' | 'Translate';\n\nexport const sliceTypes: readonly SliceType[] = ['StateChange', 'StateView', 'Automation', 'Translate'];\n\nexport interface SliceSyntax extends SyntaxNode {\n readonly purposes?: readonly PurposeReferenceSyntax[];\n readonly kind: 'SliceSyntax';\n readonly direction?: TranslationDirection | null;\n readonly documentation?: string | null;\n readonly examples?: readonly SpecificationExampleSyntax[];\n readonly type: SliceType;\n readonly name: string;\n readonly description: string | null;\n readonly events: readonly EventSyntax[];\n readonly operations?: readonly OperationSyntax[];\n readonly commands: readonly CommandSyntax[];\n readonly queries: readonly QuerySyntax[];\n readonly projections: readonly ProjectionSyntax[];\n readonly captures: readonly CaptureSyntax[];\n readonly reactions: readonly ReactionSyntax[];\n readonly constraints: readonly ConstraintSyntax[];\n readonly specifications: readonly SpecificationSyntax[];\n readonly readModels: readonly ReadModelSyntax[];\n readonly screens: readonly ScreenSyntax[];\n}\n\n// An 'import \"<pattern>\"' of other .play files. Where it is written decides where what it imports belongs:\n// at the top level of a document it brings in whole documents; inside a module or feature it places each\n// imported file there, so the file's top level is that module's or feature's body.\nexport interface FileImportSyntax extends SyntaxNode {\n readonly kind: 'FileImportSyntax';\n readonly pattern: string;\n}\n\nexport interface DependsOnSyntax extends SyntaxNode {\n readonly kind: 'DependsOnSyntax';\n readonly target: string;\n}\n\nexport interface FeatureSyntax extends SyntaxNode {\n readonly purposes?: readonly PurposeReferenceSyntax[];\n readonly dependsOn?: readonly DependsOnSyntax[];\n readonly kind: 'FeatureSyntax';\n readonly documentation?: string | null;\n readonly examples?: readonly SpecificationExampleSyntax[];\n readonly name: string;\n readonly description: string | null;\n readonly authorize: AuthorizeSyntax | null;\n readonly features: readonly FeatureSyntax[];\n readonly slices: readonly SliceSyntax[];\n readonly fileImports: readonly FileImportSyntax[];\n\n // Whether the feature is not written in the document but places it - the document was imported into\n // the feature, so its top level is the feature's body.\n readonly isPlacement: boolean;\n}\n\nexport interface ModuleSyntax extends SyntaxNode {\n readonly purposes?: readonly PurposeReferenceSyntax[];\n readonly dependsOn?: readonly DependsOnSyntax[];\n readonly kind: 'ModuleSyntax';\n readonly documentation?: string | null;\n readonly examples?: readonly SpecificationExampleSyntax[];\n readonly name: string;\n readonly description: string | null;\n readonly authorize: AuthorizeSyntax | null;\n readonly features: readonly FeatureSyntax[];\n readonly fileImports: readonly FileImportSyntax[];\n\n // Whether the module is not written in the document but places it - the document was imported into\n // the module, so its top level is the module's body.\n readonly isPlacement: boolean;\n}\n\nexport interface ApplicationSyntax extends SyntaxNode {\n readonly reactionProductionMode?: ReactionProductionMode | null;\n readonly commandReadMode?: CommandReadMode | null;\n readonly identity?: IdentitySyntax | null;\n readonly purposes?: readonly PurposeSyntax[];\n readonly kind: 'ApplicationSyntax';\n readonly examples?: readonly SpecificationExampleSyntax[];\n readonly sourceOptions?: SourceOptions;\n readonly domain: DomainSyntax | null;\n readonly policies?: readonly PolicySyntax[];\n readonly seeds?: readonly SeedSyntax[];\n readonly systems?: readonly SystemSyntax[];\n readonly eventSources?: readonly EventSourceSyntax[];\n readonly imports: readonly ImportSyntax[];\n readonly concepts: readonly ConceptSyntax[];\n readonly types: readonly TypeSyntax[];\n readonly modules: readonly ModuleSyntax[];\n readonly personas: readonly PersonaSyntax[];\n\n // Parser-owned typed trigger shapes for consistency checks, not part of the syntax wire projection.\n readonly declaredTriggers?: readonly { readonly name: string; readonly data: readonly PropertySyntax[] }[];\n\n // The files the document imports at its top level - whole documents, merged into the application.\n readonly fileImports: readonly FileImportSyntax[];\n\n // What layouts and templates expose, and what instances store for it - written only when present.\n readonly exposures?: readonly ExposureSyntax[];\n readonly instanceContributions?: readonly InstanceContributionsSyntax[];\n}\n"],"mappings":"AA6BA,MAAaA,EAAmC,CAAC,cAAe,YAAa,aAAc,WAAW"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e={kinds:/* @__PURE__ */ `AddMappingSyntax.AllSyntax.ApplicationSyntax.ApplicationTriggerInteractionTriggerSyntax.ArrangementContainerSyntax.ArrangementOverrideSyntax.ArrangementSlotSyntax.ArrangementSyntax.AuthenticatedConditionSyntax.AuthenticationProviderSyntax.AuthenticationSyntax.AuthorizeSyntax.NavigationItemSyntax.NavigationLogoSyntax.NavigationRegionSyntax.NavigationTargetSyntax.BehaviorArgumentSyntax.BehaviorParameterSyntax.BehaviorSyntax.BuiltInInteractionTriggerSyntax.CaptureAppendSyntax.CaptureChildrenSyntax.CaptureMapEntrySyntax.CaptureNestedSyntax.CaptureSourceSettingSyntax.CaptureSourceSyntax.CaptureSplitSyntax.CaptureSyntax.CaptureTranslationSyntax.CaptureWhenSyntax.CausedByExpressionSyntax.CaseValueExpressionSyntax.ChildrenSyntax.ClaimConditionSyntax.ClaimIdentitySourceSyntax.CodeIdentitySourceSyntax.FileIdentitySourceSyntax.IdentitySyntax.IdentityDetailSyntax.QueryIdentitySourceSyntax.ClearMappingSyntax.ClearWithSyntax.CloseDialogActionSyntax.CodeBlockSyntax.ComponentExposedValueSyntax.ComponentOutletSyntax.ComponentPropertySyntax.CodeValidateSyntax.CommandSyntax.CommandStreamSyntax.ObserverFilterSyntax.ComparisonConditionSyntax.CompositeKeySyntax.ConceptAttributeSyntax.ConceptSyntax.GenerationSyntax.ConcurrencySyntax.ConfirmActionSyntax.ContextExpressionSyntax.IdentityExpressionSyntax.ContributionSyntax.ContributionDestinationSyntax.CountMappingSyntax.DeclarativeValidateSyntax.DecrementMappingSyntax.DialogTemplateSyntax.DomainSyntax.EnvironmentExpressionSyntax.EventContextExpressionSyntax.EventInteractionTriggerSyntax.EventSourceIdExpressionSyntax.EventSourceSyntax.EventStreamIdPartSyntax.EventStreamSyntax.EventSpecSyntax.EventSyntax.EverySyntax.ExecuteCommandActionSyntax.ExpressionKeySyntax.FeatureSyntax.FileConstraintSyntax.FileImportSyntax.FileReferenceSyntax.FormColumnSyntax.ExposureSyntax.ExposedPropertySyntax.InstanceContributionsSyntax.InstanceContributionSyntax.ContributedItemSyntax.ContributedItemValueSyntax.ScreenContributionSyntax.TemplateSlotContentSyntax.CommandFormLayoutSyntax.FormLayoutColumnSyntax.FormFieldPlacementSyntax.FormWidthSyntax.FormFieldSyntax.FormPopulateFromItemSyntax.FormPopulateViaQuerySyntax.FormSyntax.FromSyntax.HandlerSyntax.ImplementationSyntax.ImplementationHintSyntax.SystemSyntax.OperationSyntax.OperationPhaseSyntax.SpecificationExampleSyntax.SpecificationParameterSyntax.SpecificationCaseSyntax.SpecificationOperationFailureSyntax.SpecificationOperationSyntax.SpecificationCompensatedSyntax.ImportSyntax.IncrementMappingSyntax.InteractionAlternativeSyntax.InteractionOtherwiseSyntax.InteractionArgumentSyntax.InteractionBindingSyntax.IntervalInteractionTriggerSyntax.IntervalTriggerSourceSyntax.InvokesSyntax.InvocationRefusalSyntax.JoinEventSyntax.JoinSyntax.KeyPartSyntax.LayoutSyntax.ListExpressionSyntax.LiteralExpressionSyntax.LogicalConditionSyntax.LogicalPolicyConditionSyntax.LogicalPolicyRequirementSyntax.ModuleSyntax.NamedTriggerSourceSyntax.NavigateActionSyntax.NavigateBackActionSyntax.NestedSyntax.NotPolicyConditionSyntax.NotifyActionSyntax.OpenDialogActionSyntax.ObjectExpressionSyntax.ObjectMemberSyntax.PathExpressionSyntax.PerformerSyntax.PersonaSyntax.PlaceSyntax.PolicyReferenceSyntax.PolicySyntax.PurposeSyntax.PurposeReferenceSyntax.PurposeTransferSyntax.ProducesSyntax.ProjectionEntersOnSyntax.ProjectionSyntax.ProjectionVariantSyntax.PresentationValueSyntax.PropertyMappingSyntax.PropertySyntax.PropertyResponseSourceSyntax.ResponseFieldSyntax.ScalarCommandResponseSyntax.RecordCommandResponseSyntax.ScalarSpecificationReturnSyntax.RecordSpecificationReturnSyntax.QueryParameterSyntax.QuerySyntax.RaiseTriggerActionSyntax.RawExpressionSyntax.ReactionIdentitySyntax.ReactionSyntax.ReactionTriggerSyntax.RefusalExpressionSyntax.ReadModelSyntax.ReadsSyntax.ReducerRuleSyntax.ReducerSyntax.RefreshQueryActionSyntax.RemoveViaJoinSyntax.RemoveWithSyntax.RequirementSyntax.RoleConditionSyntax.ScheduleTriggerSourceSyntax.ScreenActionSyntax.ScreenNavigationParameterSyntax.ScreenGuardedActionSyntax.ScreenActionAlternativeSyntax.ScreenActionOtherwiseSyntax.ScreenBehaviorSyntax.ScreenCodeSyntax.ScreenComponentSyntax.ScreenColumnSyntax.ScreenDataSyntax.ScreenFieldSyntax.ScreenNavigateSyntax.ScreenSectionSyntax.ScreenSlotSyntax.ScreenSummarySyntax.ScreenSyntax.ScreenTableSyntax.ScreenTemplateReferenceSyntax.ScreenTemplateSyntax.ScreenTitleSyntax.ScreenToolbarSyntax.ScreenUsesBehaviorSyntax.SeedEventSyntax.SeedGroupSyntax.SeedSyntax.SetMappingSyntax.TemplateAssignmentSyntax.TemplateExposedValueSyntax.TemplateOutletSyntax.SetStateActionSyntax.SliceSyntax.SlotSyntax.SourceItemExpressionSyntax.SpecificationAbsentReadModelSyntax.SpecificationCallerClaimSyntax.SpecificationCallerPersonaSyntax.SpecificationCallerSyntax.SpecificationCaptureSyntax.SpecificationClockSyntax.SpecificationCommandSyntax.SpecificationDeniedSyntax.SpecificationErrorSyntax.SpecificationEventSyntax.SampleDataBindingSyntax.SampleDataFieldSyntax.SampleDataMappingSyntax.SampleDataPackReferenceSyntax.SampleDataPackSyntax.SampleDataRowSyntax.SampleDataSelectionSyntax.SampleDataSetSyntax.SpecificationNoResultSyntax.SpecificationStreamSyntax.SpecificationNoStreamSyntax.SpecificationQueryResultSyntax.SpecificationQuerySyntax.SpecificationReadModelSyntax.SpecificationRedeliverySyntax.SpecificationSyntax.SpecificationTriggerSyntax.SpecificationWhenQuerySyntax.StringsExpressionSyntax.SubtractMappingSyntax.TagSyntax.ToolbarButtonSyntax.ToolbarItemSyntax.TemplateExpressionSyntax.TemplateInterpolationSyntax.TemplateTextSyntax.ThemeSyntax.TriggerDataSyntax.TriggerSyntax.TypeRefSyntax.TypeSyntax.UiBindingSyntax.UiProfileSyntax.UniqueEventConstraintSyntax.UniquePropertyConstraintSyntax.DependsOnSyntax.UsesBehaviorSyntax.ValidationRuleSyntax.VariantSyntax`.split(`.`),names:/* @__PURE__ */ `property.value.autoMap.mappings.authentication.behaviors.concepts.domain.eventSources.examples.exposures.fileImports.identity.imports.instanceContributions.layouts.modules.personas.policies.purposes.reactionProductionMode.sampleDataPacks.seeds.sourceOptions.numericMode.systems.templates.themes.triggers.types.uiProfiles.triggerName.children.columns.gap.grow.rows.span.syntaxKind.height.root.width.growFactor.name.mode.overrides.variants.alias.providers.requirement.icon.id.slot.target.title.image.items.logo.region.feature.module.type.bindings.description.file.order.parameters.event.tags.when.appends.identifiedBy.map.source.translations.settings.separator.targets.key.nested.from.to.expression.fromValue.properties.toValue.parameter.blocks.claim.matches.matchesSubject.code.details.by.query.arguments.onFailure.onResult.onSuccess.language.binding.directives.authorize.concurrency.documentation.handler.produces.reads.response.stream.streamCandidates.validations.eventSource.propertyCandidate.streamId.streamIdParts.left.operator.right.parts.criminal.reason.scope.specialCategory.attributes.generation.valueNumbers.values.alphabet.case.checksum.count.encoding.pattern.prefix.range.rule.size.strategy.eventSourceType.eventStreamId.eventStreamType.eventTypes.message.messageIsLiteral.path.contributionPoint.destination.group.label.navigate.presentation.requirements.rules.arrangement.category.content.displayName.exposes.outlets.restrictsScopes.scopes.sliceKinds.slots.templateType.usedBehaviors.eventName.identifier.streams.hasGenerationMarker.origin.visibility.includeChildren.command.contributions.dependsOn.features.isPlacement.slices.additionalRules.ignoreCasing.releasedBy.owner.component.editableFields.isCollection.operations.reExposes.restrictsFields.instance.field.columnGap.placements.rowGap.index.maxWidth.minWidth.column.columnSpan.row.rowSpan.unit.composeUsing.columnMode.fields.for.generationMode.layout.onSubmit.populate.events.parentKey.implementation.hints.text.compensate.execute.inputs.uses.generatedValues.noStream.operation.qualifiedName.actions.condition.alternatives.otherwise.trigger.amount.onRefused.acknowledge.constraint.selector.on.navigation.literalType.dialogTemplates.forms.screenTemplates.screen.operand.level.dialogTemplate.members.hidden.sizeHeight.sizeWidth.slotName.x.y.authorization.basis.basisReference.conditionReference.erasureException.interest.recipients.retention.subjects.transfers.safeguard.inlineEvent.inlineOperation.readModel.sequence.entersOn.isGenerated.isIdentifier.isKey.isSubject.byParts.filters.isObservable.performer.returnType.roles.runsAs.where.data.invokes.member.severity.role.dayOfMonth.dayOfWeek.time.outcome.behavior.context.stableId.outlet.route.rowClick.blueprint.version.fitsSlot.buttons.eventSourceId.groups.captures.commands.constraints.direction.projections.queries.reactions.readModels.reducers.screens.specifications.contributes.authenticated.claims.capture.record.instant.commandType.inlineProperty.caseValue.eventType.pack.shape.isBlueprint.locale.sets.active.exactly.results.reaction.cases.given.givenCaller.givenCallerPersona.givenCaptures.givenClock.givenOperationFailures.givenReadModels.thenAbsentReadModels.thenCompensated.thenDenied.thenErrors.thenEvents.thenEventsInAnyOrder.thenNoEvents.thenNoResult.thenOperations.thenQueries.thenReadModels.thenResults.thenReturns.whenAppended.whenCapture.whenClock.whenQuery.whenRedelivered.whenTrigger.emphasis.slice.compatibleWith.isOptional.bindingKind.componentId.componentPropertyPath.expectedValueType.literal.nullBehavior.rawText.defaultSizeClass.icons.packages.platforms.sampleData.theme.additionalProperties.places`.split(`.`),rules:[[`string`],[`ref`,30,31,58,59,67,68,70,127,128,140,142,167,171,214,243,248],[`object`,[[0,0,!0],[1,1,!0]]],[`enum`,`Inherit`,`Disabled`,`Enabled`],[`ref`,0,40,62,64,114,207,244],[`array`,4],[`object`,[[2,3,!0],[3,5,!1]]],[`ref`,10],[`null`],[`union`,7,8],[`ref`,18],[`array`,10],[`ref`,54],[`array`,12],[`ref`,66],[`union`,14,8],[`ref`,71],[`array`,16],[`ref`,107],[`array`,18],[`ref`,84],[`array`,20],[`ref`,81],[`array`,22],[`ref`,37],[`union`,24,8],[`ref`,113],[`array`,26],[`ref`,86],[`array`,28],[`ref`,126],[`array`,30],[`union`,31,8],[`ref`,132],[`array`,33],[`ref`,144],[`array`,35],[`union`,36,8],[`ref`,147],[`array`,38],[`ref`,148],[`array`,40],[`enum`,`Atomic`],[`union`,42,8],[`ref`,229],[`array`,44],[`ref`,206],[`array`,46],[`union`,47,8],[`enum`,`legacy`,`exact`],[`object`,[[24,49,!0]]],[`ref`,104],[`array`,51],[`ref`,208],[`array`,53],[`ref`,251],[`array`,55],[`union`,56,8],[`ref`,253],[`array`,58],[`union`,59,8],[`ref`,255],[`array`,61],[`union`,62,8],[`ref`,257],[`array`,64],[`union`,65,8],[`object`,[[4,9,!1],[5,11,!1],[6,13,!1],[7,15,!1],[8,17,!1],[9,19,!1],[10,21,!1],[11,23,!1],[12,25,!1],[13,27,!1],[14,29,!1],[15,32,!1],[16,34,!1],[17,37,!1],[18,39,!1],[19,41,!1],[20,43,!1],[21,45,!1],[22,48,!1],[23,50,!1],[25,52,!1],[26,54,!1],[27,57,!1],[28,60,!1],[29,63,!1],[30,66,!1]]],[`object`,[[31,0,!0]]],[`ref`,4,6],[`array`,69],[`integer`,-2147483648,2147483647],[`union`,71,8],[`number`],[`union`,73,8],[`enum`,`Flat`,`Row`,`Column`,`Grid`],[`object`,[[32,70,!1],[33,72,!1],[34,72,!1],[35,74,!1],[36,72,!1],[37,72,!1],[38,75,!0]]],[`union`,0,8],[`object`,[[39,77,!1],[40,69,!0],[41,77,!1]]],[`boolean`],[`object`,[[35,79,!1],[42,74,!1],[39,72,!1],[43,0,!0],[37,72,!1],[41,72,!1]]],[`enum`,`Flow`,`Freeform`],[`ref`,5],[`array`,82],[`union`,83,8],[`union`,69,8],[`ref`,263],[`array`,86],[`union`,87,8],[`object`,[[44,81,!0],[45,84,!1],[40,85,!1],[46,88,!1]]],[`object`,[]],[`object`,[[47,77,!1],[43,0,!0]]],[`ref`,9],[`array`,92],[`object`,[[48,93,!1]]],[`ref`,131,146],[`object`,[[49,95,!0]]],[`ref`,12],[`array`,97],[`ref`,15],[`union`,99,8],[`object`,[[32,98,!1],[50,77,!1],[51,0,!0],[52,77,!1],[53,100,!1],[54,0,!0]]],[`object`,[[55,0,!0],[54,0,!0]]],[`ref`,13],[`union`,103,8],[`enum`,`Unspecified`,`Inherit`,`Extend`,`Override`],[`enum`,`Topbar`,`Sidebar`],[`object`,[[56,98,!1],[57,104,!1],[44,105,!0],[58,106,!0]]],[`object`,[[59,77,!1],[60,0,!0]]],[`object`,[[43,0,!0],[1,0,!0]]],[`ref`,254],[`union`,110,8],[`object`,[[43,0,!0],[61,111,!1]]],[`ref`,118],[`array`,113],[`ref`,82],[`union`,115,8],[`ref`,17],[`array`,117],[`object`,[[62,114,!1],[63,77,!1],[64,116,!1],[43,77,!1],[65,72,!1],[66,118,!1]]],[`enum`,`Click`,`DoubleClick`,`Select`,`Submit`,`Change`,`Load`,`Unload`,`Enter`,`Leave`,`Unknown`],[`object`,[[38,120,!0]]],[`ref`,156],[`array`,122],[`ref`,245],[`array`,124],[`union`,125,8],[`ref`,29],[`union`,127,8],[`object`,[[67,0,!0],[3,123,!1],[68,126,!1],[69,128,!1]]],[`ref`,20],[`array`,130],[`ref`,22,26],[`array`,132],[`object`,[[70,131,!1],[71,0,!0],[72,133,!1],[0,0,!0]]],[`ref`,28],[`array`,135],[`object`,[[0,0,!0],[73,1,!0],[74,136,!1]]],[`object`,[[70,131,!1],[72,133,!1],[0,0,!0]]],[`ref`,24],[`array`,139],[`object`,[[75,140,!1],[38,0,!0]]],[`array`,0],[`object`,[[76,0,!0],[73,1,!0],[77,142,!1]]],[`ref`,21],[`array`,144],[`ref`,23],[`array`,146],[`ref`,25],[`union`,148,8],[`object`,[[70,131,!1],[32,145,!1],[78,77,!1],[72,133,!1],[43,0,!0],[79,147,!1],[73,149,!1],[23,50,!1]]],[`object`,[[80,0,!0],[81,0,!0]]],[`enum`,`PropertyChanged`,`Added`,`Removed`,`Changed`,`LogicalOr`,`LogicalAnd`,`ValueTransition`,`Expression`],[`object`,[[82,77,!1],[83,77,!1],[84,142,!1],[38,152,!0],[85,77,!1]]],[`object`,[[0,77,!1]]],[`object`,[[86,0,!0]]],[`ref`,1,32,41,76,100,124,136,154,177,178],[`array`,156],[`object`,[[2,3,!0],[87,157,!1],[71,1,!0],[0,0,!0]]],[`union`,1,8],[`object`,[[88,0,!0],[89,159,!1],[90,79,!0]]],[`object`,[[88,0,!0]]],[`ref`,43],[`object`,[[91,162,!0]]],[`object`,[[64,115,!0]]],[`ref`,38],[`array`,165],[`object`,[[63,77,!1],[92,166,!1]]],[`ref`,34,35,36,39],[`object`,[[43,0,!0],[73,168,!0],[61,110,!0]]],[`object`,[[93,1,!0],[94,0,!0]]],[`object`,[[0,0,!0]]],[`object`,[[67,0,!0]]],[`ref`,117],[`array`,173],[`ref`,42,57,77,134,135,138,139,166,176,211],[`array`,175],[`object`,[[95,174,!1],[96,176,!1],[97,176,!1],[98,176,!1]]],[`object`,[[91,0,!0],[99,0,!0]]],[`ref`,256],[`object`,[[100,179,!0],[43,0,!0]]],[`ref`,182,184,187,188,189,191,193,194,195,196,198,199,201,202,203],[`array`,181],[`object`,[[101,182,!1],[43,0,!0]]],[`union`,179,8],[`object`,[[100,184,!1],[0,0,!0],[1,159,!1]]],[`ref`,11],[`union`,186,8],[`ref`,56],[`union`,188,8],[`ref`,101],[`union`,190,8],[`ref`,151],[`array`,192],[`ref`,157],[`array`,194],[`ref`,173],[`array`,196],[`union`,197,8],[`ref`,160,161],[`union`,199,8],[`ref`,49],[`union`,201,8],[`array`,201],[`ref`,47,63],[`array`,204],[`object`,[[102,187,!1],[103,189,!1],[63,77,!1],[104,77,!1],[105,191,!1],[43,0,!0],[106,193,!1],[84,195,!1],[107,198,!1],[108,200,!1],[109,202,!1],[110,203,!1],[111,205,!1]]],[`union`,194,8],[`union`,122,8],[`object`,[[112,0,!0],[113,207,!1],[109,0,!0],[114,208,!1],[115,123,!1]]],[`object`,[[112,0,!0],[109,77,!1]]],[`enum`,`Equal`,`NotEqual`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Contains`,`StartsWith`],[`object`,[[116,0,!0],[117,211,!0],[118,1,!0]]],[`ref`,125],[`array`,213],[`object`,[[119,214,!1],[61,0,!0]]],[`object`,[[120,79,!1],[43,0,!0],[121,77,!1],[122,77,!1],[123,77,!1]]],[`ref`,53],[`array`,217],[`ref`,55],[`union`,219,8],[`union`,205,8],[`array`,71],[`union`,222,8],[`object`,[[124,218,!1],[63,77,!1],[64,116,!1],[125,220,!1],[43,0,!0],[61,0,!0],[111,221,!1],[126,223,!1],[127,142,!1]]],[`union`,162,8],[`object`,[[128,77,!1],[129,77,!1],[130,77,!1],[91,225,!1],[131,72,!1],[132,77,!1],[64,116,!1],[133,77,!1],[134,77,!1],[135,77,!1],[136,77,!1],[137,72,!1],[138,0,!0]]],[`object`,[[112,79,!0],[139,77,!1],[140,77,!1],[141,77,!1],[142,142,!1]]],[`object`,[[95,174,!1],[143,0,!0],[144,79,!0],[96,176,!1],[97,176,!1],[98,176,!1]]],[`object`,[[145,0,!0]]],[`ref`,61],[`union`,230,8],[`ref`,193],[`union`,232,8],[`object`,[[146,0,!0],[147,231,!1],[148,77,!1],[50,77,!1],[51,77,!1],[149,77,!1],[150,233,!1],[65,72,!1],[151,77,!1]]],[`enum`,`Outlet`,`Dialog`,`External`],[`object`,[[38,235,!0],[53,0,!0]]],[`ref`,179],[`array`,237],[`union`,238,8],[`ref`,262],[`array`,240],[`object`,[[152,239,!1],[153,241,!1]]],[`ref`,7],[`union`,243,8],[`ref`,91],[`array`,245],[`ref`,209],[`array`,247],[`ref`,210],[`array`,249],[`ref`,213],[`array`,251],[`ref`,261],[`array`,253],[`object`,[[154,244,!1],[5,11,!1],[155,77,!1],[156,246,!1],[63,77,!1],[157,77,!1],[158,248,!1],[43,0,!0],[159,250,!1],[160,79,!1],[161,142,!1],[162,142,!1],[163,252,!1],[164,77,!1],[165,254,!1]]],[`object`,[[43,0,!0]]],[`object`,[[166,0,!0]]],[`ref`,73],[`array`,258],[`object`,[[63,77,!1],[51,77,!1],[167,111,!1],[43,0,!0],[168,259,!1]]],[`object`,[[43,0,!0],[61,110,!0]]],[`ref`,72],[`array`,262],[`object`,[[63,77,!1],[51,77,!1],[43,0,!0],[114,111,!1],[115,263,!1]]],[`object`,[[67,0,!0],[78,159,!1]]],[`integer`,0,4294967295],[`enum`,`Private`,`Public`],[`object`,[[63,77,!1],[104,77,!1],[64,116,!1],[125,266,!1],[169,79,!1],[51,77,!1],[43,0,!0],[170,77,!1],[84,195,!1],[68,126,!1],[171,267,!1]]],[`object`,[[2,3,!0],[172,79,!0],[3,5,!1]]],[`object`,[[95,174,!1],[173,0,!0],[96,176,!1],[97,176,!1],[98,176,!1]]],[`object`,[[82,1,!0]]],[`ref`,60],[`array`,272],[`union`,273,8],[`ref`,260],[`array`,275],[`ref`,79],[`array`,277],[`ref`,149],[`array`,279],[`ref`,212],[`array`,281],[`object`,[[102,187,!1],[5,11,!1],[174,274,!1],[175,276,!1],[63,77,!1],[104,77,!1],[9,19,!1],[176,278,!1],[11,23,!1],[177,79,!0],[43,0,!0],[19,280,!1],[178,282,!1],[26,54,!1],[165,254,!1]]],[`ref`,80,258,259],[`array`,284],[`object`,[[179,285,!1],[63,77,!1],[64,115,!0],[180,79,!0],[143,77,!1],[43,0,!0],[181,142,!1]]],[`object`,[[133,0,!0]]],[`object`,[[149,77,!1],[0,0,!0]]],[`ref`,85],[`array`,289],[`object`,[[182,0,!0],[84,290,!1]]],[`object`,[[183,0,!0],[184,142,!1],[185,79,!0],[149,77,!1],[186,142,!1],[145,0,!0],[187,77,!1],[188,79,!0]]],[`ref`,87],[`array`,293],[`object`,[[174,294,!1],[189,0,!0]]],[`ref`,88],[`array`,296],[`object`,[[183,0,!0],[56,297,!1],[145,0,!0],[1,159,!1]]],[`ref`,89],[`array`,299],[`object`,[[51,0,!0],[127,300,!1]]],[`object`,[[190,0,!0],[1,1,!0]]],[`object`,[[146,0,!0],[101,182,!1],[65,72,!1]]],[`object`,[[101,182,!1],[52,0,!0]]],[`ref`,95],[`union`,305,8],[`ref`,93],[`array`,307],[`ref`,94],[`array`,309],[`object`,[[191,306,!1],[33,308,!1],[192,310,!1],[193,306,!1]]],[`object`,[[194,71,!0],[195,306,!1],[196,306,!1],[41,306,!1]]],[`object`,[[197,71,!0],[198,72,!1],[190,0,!0],[199,71,!0],[200,72,!1],[41,306,!1]]],[`enum`,`Fraction`,`Pixels`,`Percent`,`Auto`],[`object`,[[201,314,!0],[1,74,!1]]],[`object`,[[202,77,!1],[80,77,!1],[149,77,!1],[0,0,!0]]],[`object`,[[93,77,!1],[94,0,!0]]],[`enum`,`Unspecified`,`Auto`,`Manual`],[`ref`,83],[`array`,319],[`ref`,96],[`array`,321],[`ref`,92],[`union`,323,8],[`ref`,97,98],[`union`,325,8],[`object`,[[5,11,!1],[203,318,!0],[33,320,!1],[63,77,!1],[204,322,!1],[205,0,!0],[206,318,!0],[207,324,!1],[43,0,!0],[208,233,!1],[209,326,!1],[165,254,!1]]],[`ref`,74],[`array`,328],[`ref`,52,78],[`union`,330,8],[`object`,[[210,329,!1],[78,331,!1],[3,5,!1],[211,159,!1]]],[`ref`,102],[`union`,333,8],[`object`,[[91,225,!1],[64,116,!1],[212,334,!1]]],[`ref`,103],[`array`,336],[`object`,[[213,337,!1]]],[`object`,[[214,0,!0]]],[`object`,[[63,77,!1],[43,0,!0]]],[`ref`,106],[`union`,341,8],[`object`,[[215,342,!1],[63,77,!1],[216,342,!1],[217,195,!1],[43,0,!0],[218,0,!0]]],[`object`,[[91,225,!1],[63,77,!1],[64,116,!1],[212,334,!1]]],[`ref`,235],[`union`,345,8],[`ref`,234],[`union`,347,8],[`object`,[[63,77,!1],[205,159,!1],[219,123,!1],[43,0,!0],[220,346,!1],[109,348,!1],[61,0,!0],[127,123,!1]]],[`object`,[[43,0,!0],[127,123,!1]]],[`object`,[[221,0,!0]]],[`object`,[[221,0,!0],[127,123,!1]]],[`object`,[[170,77,!1],[222,0,!0],[171,267,!1]]],[`ref`,51,129],[`object`,[[223,176,!1],[224,354,!0]]],[`object`,[[223,176,!1]]],[`object`,[[100,0,!0],[43,0,!0]]],[`ref`,115],[`array`,358],[`ref`,116],[`union`,360,8],[`ref`,3,19,69,119],[`object`,[[223,176,!1],[225,359,!1],[224,77,!1],[226,361,!1],[227,362,!0]]],[`enum`,`Seconds`,`Minutes`,`Hours`,`Days`],[`object`,[[228,71,!0],[201,364,!0]]],[`ref`,122],[`array`,366],[`object`,[[173,0,!0],[3,123,!1],[229,367,!1]]],[`object`,[[230,79,!0],[231,77,!1],[106,193,!1],[232,0,!0]]],[`object`,[[2,3,!0],[67,0,!0],[3,5,!1]]],[`ref`,123],[`array`,371],[`object`,[[210,372,!1],[233,0,!0],[0,0,!0]]],[`object`,[[82,1,!0],[0,0,!0]]],[`ref`,14],[`array`,375],[`object`,[[154,244,!1],[5,11,!1],[155,77,!1],[158,248,!1],[43,0,!0],[234,376,!1],[159,250,!1],[160,79,!1],[161,142,!1],[162,142,!1],[163,252,!1],[164,77,!1],[165,254,!1]]],[`array`,1],[`object`,[[56,378,!1]]],[`union`,0,79,8],[`number`,-17976931348623157e292,17976931348623157e292],[`enum`,`Int32`,`Int64`,`Decimal`,`Single`],[`string`,`^-?[0-9]+(\\.[0-9]+)?([Ee][+-]?[0-9]+)?$`],[`object`,[[235,382,!0],[1,383,!0]]],[`const`,`ExactNumber`],[`string`,`^(?:0|-?(?:[1-9][0-9]{0,28}|(?:0|[1-9][0-9]{0,28})\\.[0-9]{0,27}[1-9]))$`],[`object`,[[235,385,!0],[1,386,!0]]],[`union`,380,381,384,387],[`object`,[[1,388,!1]]],[`enum`,`And`,`Or`],[`object`,[[116,354,!0],[117,390,!0],[118,354,!0]]],[`ref`,8,33,130,137,180],[`object`,[[116,392,!0],[117,390,!0],[118,392,!0]]],[`object`,[[116,95,!0],[117,390,!0],[118,95,!0]]],[`ref`,65],[`array`,395],[`union`,396,8],[`ref`,99],[`array`,398],[`union`,399,8],[`ref`,200],[`array`,401],[`object`,[[102,187,!1],[5,11,!1],[174,274,!1],[175,276,!1],[63,77,!1],[236,397,!1],[104,77,!1],[9,19,!1],[176,278,!1],[11,23,!1],[237,400,!1],[177,79,!0],[43,0,!0],[234,376,!1],[19,280,!1],[238,402,!1],[26,54,!1],[165,254,!1]]],[`object`,[[95,174,!1],[96,176,!1],[97,176,!1],[98,176,!1],[239,0,!0]]],[`object`,[[2,3,!0],[87,157,!1],[0,0,!0]]],[`object`,[[240,392,!0]]],[`enum`,`Info`,`Warning`,`Error`,`Unknown`],[`object`,[[95,174,!1],[241,407,!0],[143,0,!0],[144,79,!0],[96,176,!1],[97,176,!1],[98,176,!1]]],[`object`,[[95,174,!1],[242,0,!0],[96,176,!1],[97,176,!1],[98,176,!1]]],[`ref`,141],[`array`,410],[`object`,[[243,411,!1]]],[`object`,[[43,0,!0],[1,1,!0]]],[`object`,[[91,225,!1],[64,116,!1]]],[`object`,[[63,77,!1],[43,0,!0],[18,142,!1]]],[`object`,[[244,79,!1],[245,77,!1],[246,77,!1],[247,0,!0],[248,72,!1],[249,72,!1]]],[`union`,392,8],[`object`,[[91,225,!1],[224,417,!1],[63,77,!1],[64,116,!1],[43,0,!0]]],[`ref`,150],[`array`,419],[`object`,[[250,77,!1],[251,77,!1],[252,77,!1],[224,77,!1],[253,77,!1],[63,77,!1],[254,77,!1],[255,77,!1],[43,0,!0],[256,142,!1],[257,77,!1],[258,142,!1],[259,420,!1]]],[`object`,[[147,0,!0],[260,0,!0]]],[`ref`,75],[`union`,423,8],[`ref`,105],[`union`,425,8],[`union`,354,8],[`object`,[[67,0,!0],[205,159,!1],[261,424,!1],[262,426,!1],[3,123,!1],[109,202,!1],[68,126,!1],[69,427,!1]]],[`object`,[[2,3,!0],[87,157,!1],[63,77,!1],[64,116,!1],[78,331,!1],[43,0,!0],[263,77,!1],[264,77,!1],[23,50,!1]]],[`ref`,152],[`array`,430],[`object`,[[87,157,!1],[265,431,!1],[43,0,!0]]],[`object`,[[0,0,!0],[73,1,!0]]],[`object`,[[266,79,!1],[267,79,!1],[268,79,!1],[269,79,!1],[43,0,!0],[61,110,!0]]],[`ref`,158],[`object`,[[43,0,!0],[73,435,!0],[61,111,!1]]],[`object`,[[73,435,!0]]],[`ref`,159],[`array`,438],[`object`,[[204,439,!1]]],[`object`,[[1,1,!0]]],[`object`,[[204,123,!1]]],[`object`,[[43,0,!0],[73,159,!1],[61,110,!0]]],[`ref`,164],[`union`,444,8],[`array`,444],[`ref`,143],[`union`,447,8],[`object`,[[102,187,!1],[93,445,!1],[270,446,!1],[63,77,!1],[271,446,!1],[272,79,!1],[43,0,!0],[273,448,!1],[274,110,!0],[122,77,!1]]],[`object`,[[95,174,!1],[96,176,!1],[97,176,!1],[98,176,!1],[227,0,!0]]],[`object`,[[275,142,!1],[38,0,!0]]],[`ref`,50],[`union`,452,8],[`ref`,168],[`union`,454,8],[`ref`,170],[`array`,456],[`object`,[[63,77,!1],[104,77,!1],[80,453,!1],[43,0,!0],[276,455,!1],[28,457,!1],[277,427,!1]]],[`ref`,252],[`array`,459],[`ref`,121],[`array`,461],[`union`,462,8],[`union`,193,8],[`ref`,120,133,181],[`object`,[[91,225,!1],[278,460,!1],[63,77,!1],[64,116,!1],[279,463,!1],[106,464,!1],[107,198,!1],[73,465,!0]]],[`object`,[[280,0,!0]]],[`object`,[[63,77,!1],[104,77,!1],[64,116,!1],[43,0,!0],[84,195,!1]]],[`object`,[[47,77,!1],[93,77,!1],[270,123,!1],[263,0,!0]]],[`object`,[[91,225,!1],[63,77,!1],[67,0,!0],[64,116,!1]]],[`ref`,174],[`array`,471],[`object`,[[63,77,!1],[80,453,!1],[43,0,!0],[263,0,!0],[153,472,!1]]],[`object`,[[95,174,!1],[96,176,!1],[97,176,!1],[98,176,!1],[94,0,!0]]],[`object`,[[67,0,!0],[78,159,!1],[211,159,!1]]],[`enum`,`Error`,`Information`,`Warning`],[`object`,[[224,354,!0],[143,77,!1],[281,476,!0]]],[`object`,[[282,0,!0]]],[`enum`,`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`union`,479,8],[`string`,`^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]{1,7})?$`],[`object`,[[283,72,!1],[284,480,!1],[285,481,!0]]],[`object`,[[173,0,!0],[149,77,!1],[150,233,!1]]],[`ref`,185],[`array`,484],[`ref`,186],[`union`,486,8],[`object`,[[225,485,!1],[149,0,!0],[150,233,!1],[226,487,!1]]],[`object`,[[95,174,!1],[173,0,!0],[224,354,!0]]],[`enum`,`Hidden`,`Execute`,`Unknown`],[`object`,[[95,174,!1],[173,77,!1],[286,490,!0]]],[`object`,[[287,10,!0]]],[`ref`,44],[`array`,493],[`ref`,45],[`array`,495],[`ref`,155],[`array`,497],[`ref`,46],[`array`,499],[`object`,[[5,11,!1],[183,0,!0],[288,184,!1],[158,494,!1],[50,77,!1],[43,0,!0],[159,496,!1],[151,498,!1],[84,500,!1],[289,77,!1],[165,254,!1]]],[`object`,[[93,77,!1],[94,0,!0],[61,110,!0]]],[`object`,[[149,0,!0],[0,0,!0]]],[`ref`,183],[`array`,504],[`object`,[[93,77,!1],[290,77,!1],[66,505,!1],[291,77,!1],[239,0,!0]]],[`ref`,192],[`array`,507],[`object`,[[204,508,!1],[53,0,!0]]],[`ref`,90],[`array`,510],[`object`,[[174,511,!1],[63,77,!1],[101,182,!1],[64,116,!1],[43,0,!0]]],[`ref`,190],[`array`,513],[`object`,[[5,11,!1],[33,514,!1],[292,233,!1],[53,0,!0],[165,254,!1]]],[`ref`,195],[`array`,516],[`object`,[[293,77,!1],[43,0,!0],[163,517,!1],[294,77,!1]]],[`object`,[[154,244,!1],[5,11,!1],[155,77,!1],[156,246,!1],[63,77,!1],[157,77,!1],[158,248,!1],[295,77,!1],[43,0,!0],[159,250,!1],[160,79,!1],[161,142,!1],[162,142,!1],[163,252,!1],[164,77,!1],[165,254,!1]]],[`ref`,246],[`array`,520],[`ref`,247],[`array`,522],[`object`,[[296,521,!1],[56,523,!1],[43,0,!0]]],[`object`,[[218,253,!0]]],[`object`,[[67,0,!0],[84,123,!1]]],[`ref`,204],[`array`,527],[`object`,[[297,0,!0],[210,528,!1]]],[`ref`,205],[`array`,530],[`object`,[[298,531,!1]]],[`object`,[[293,77,!1],[43,0,!0],[294,77,!1]]],[`object`,[[95,174,!1],[96,176,!1],[97,176,!1],[98,176,!1],[53,0,!0],[1,0,!0]]],[`ref`,27],[`array`,535],[`ref`,48],[`array`,537],[`enum`,`Inbound`,`Outbound`],[`union`,539,8],[`array`,423],[`array`,425],[`ref`,153],[`array`,543],[`ref`,165],[`array`,545],[`ref`,169],[`array`,547],[`ref`,172],[`array`,549],[`union`,550,8],[`ref`,175],[`array`,552],[`union`,553,8],[`ref`,197],[`array`,555],[`ref`,240],[`array`,557],[`enum`,`StateChange`,`StateView`,`Automation`,`Translate`],[`object`,[[299,536,!1],[300,538,!1],[301,285,!1],[63,77,!1],[302,540,!1],[104,77,!1],[210,541,!1],[9,19,!1],[64,116,!1],[43,0,!0],[186,542,!1],[303,544,!1],[19,280,!1],[304,546,!1],[305,548,!1],[306,551,!1],[307,554,!1],[308,556,!1],[309,558,!1],[26,54,!1],[61,559,!0]]],[`object`,[[310,77,!1],[43,0,!0]]],[`object`,[[78,1,!0],[43,0,!0]]],[`object`,[[61,0,!0],[1,0,!0]]],[`ref`,216],[`array`,564],[`object`,[[311,79,!0],[312,565,!1],[275,142,!1]]],[`object`,[[313,0,!0],[314,123,!1]]],[`object`,[[315,0,!0]]],[`object`,[[316,0,!0],[205,159,!1],[219,123,!1],[317,77,!1],[127,123,!1]]],[`ref`,31],[`union`,570,8],[`object`,[[318,571,!1],[43,77,!1]]],[`object`,[[319,0,!0],[205,159,!1],[317,77,!1],[220,346,!1],[109,348,!1],[127,123,!1]]],[`ref`,228],[`object`,[[320,574,!0],[263,0,!0]]],[`enum`,`Text`,`Number`,`Flag`,`Null`],[`object`,[[43,0,!0],[38,576,!0],[1,77,!1]]],[`object`,[[263,0,!0],[321,0,!0]]],[`object`,[[322,79,!0],[43,0,!0]]],[`ref`,232],[`array`,580],[`object`,[[323,77,!1],[43,0,!0],[324,581,!1],[54,77,!1]]],[`ref`,226],[`array`,583],[`object`,[[204,584,!1]]],[`union`,574,8],[`ref`,225],[`array`,587],[`ref`,227],[`array`,589],[`object`,[[325,586,!1],[62,588,!1],[3,590,!1]]],[`ref`,230],[`array`,592],[`object`,[[36,593,!1],[321,0,!0]]],[`object`,[[112,0,!0],[109,0,!0],[114,208,!1],[115,123,!1]]],[`object`,[[326,79,!0],[84,123,!1]]],[`ref`,236],[`array`,597],[`object`,[[95,123,!1],[326,79,!0],[94,0,!0],[327,598,!1]]],[`object`,[[326,79,!0],[317,77,!1],[43,0,!0],[84,123,!1]]],[`object`,[[319,0,!0],[205,159,!1],[220,346,!1],[328,0,!0],[109,348,!1],[127,123,!1]]],[`ref`,109],[`array`,602],[`ref`,224],[`array`,604],[`ref`,218],[`union`,606,8],[`ref`,217],[`union`,608,8],[`ref`,219],[`array`,610],[`ref`,220],[`union`,612,8],[`ref`,110],[`array`,614],[`ref`,238],[`array`,616],[`union`,617,8],[`ref`,108],[`array`,619],[`ref`,215],[`array`,621],[`ref`,112],[`array`,623],[`ref`,222],[`union`,625,8],[`ref`,223],[`array`,627],[`ref`,233],[`union`,629,8],[`ref`,111],[`array`,631],[`ref`,237],[`array`,633],[`ref`,162,163],[`union`,635,8],[`ref`,221],[`union`,637,8],[`union`,604,8],[`union`,610,8],[`ref`,242],[`union`,641,8],[`ref`,239],[`union`,643,8],[`ref`,241],[`union`,645,8],[`object`,[[329,603,!1],[63,77,!1],[9,19,!1],[64,116,!1],[330,605,!1],[331,607,!1],[332,609,!1],[333,611,!1],[334,613,!1],[335,615,!1],[336,618,!1],[43,0,!0],[66,620,!1],[23,50,!1],[337,622,!1],[338,624,!1],[339,626,!1],[340,628,!1],[341,605,!1],[342,79,!0],[343,79,!1],[344,630,!1],[345,632,!1],[346,634,!1],[347,618,!1],[348,598,!1],[349,636,!1],[69,638,!1],[350,639,!1],[351,640,!1],[352,613,!1],[353,642,!1],[354,644,!1],[355,646,!1]]],[`object`,[[227,0,!0],[127,123,!1]]],[`object`,[[95,123,!1],[94,0,!0]]],[`object`,[[78,0,!0]]],[`enum`,`Primary`,`Secondary`,`Quiet`],[`union`,651,8],[`object`,[[356,652,!1],[50,77,!1],[51,0,!0],[357,77,!1],[54,0,!0]]],[`enum`,`Unknown`,`Action`,`Navigate`,`Dialog`],[`object`,[[50,77,!1],[149,77,!1],[43,0,!0],[66,505,!1],[151,498,!1],[38,654,!0],[53,0,!0]]],[`ref`,249,250],[`array`,656],[`object`,[[119,657,!1]]],[`object`,[[358,142,!1],[43,0,!0]]],[`object`,[[278,460,!1],[63,77,!1],[64,116,!1],[43,0,!0]]],[`object`,[[185,79,!0],[359,79,!0],[43,0,!0]]],[`object`,[[63,77,!1],[64,116,!1],[43,0,!0],[84,195,!1]]],[`enum`,`Invalid`,`DataContext`,`QueryResult`,`ComponentProperty`,`Literal`],[`enum`,`OneWay`,`TwoWay`],[`union`,664,8],[`enum`,`Propagate`,`Clear`,`Preserve`],[`union`,666,8],[`object`,[[360,663,!0],[361,77,!1],[362,77,!1],[363,77,!1],[364,159,!1],[44,665,!1],[365,667,!1],[145,0,!0],[94,77,!1],[366,77,!1]]],[`ref`,231],[`union`,669,8],[`object`,[[367,77,!1],[368,142,!1],[207,77,!1],[43,0,!0],[369,142,!1],[370,142,!1],[371,670,!1],[372,77,!1]]],[`object`,[[179,285,!1],[63,77,!1],[67,0,!0],[180,79,!0],[143,77,!1],[43,0,!0],[181,142,!1]]],[`object`,[[373,142,!1],[179,285,!1],[63,77,!1],[67,0,!0],[180,79,!0],[143,77,!1],[43,0,!0],[0,0,!0],[181,142,!1]]],[`object`,[[53,0,!0]]],[`ref`,16],[`array`,675],[`object`,[[95,676,!1],[287,0,!0]]],[`enum`,`NotEmpty`,`Max`,`Min`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Equal`,`Length`,`Matches`,`AllGreaterThan`,`AllGreaterThanOrEqual`,`Rule`,`NotEqual`,`Checksum`,`Contains`,`NotContains`,`StartsWith`,`EndsWith`],[`object`,[[91,225,!1],[64,116,!1],[212,334,!1],[143,77,!1],[0,0,!0],[136,678,!0],[281,476,!0],[1,159,!1]]],[`ref`,145],[`array`,680],[`object`,[[39,0,!0],[374,681,!1],[41,0,!0]]]],contracts:[2,6,67,68,76,78,80,89,90,91,94,96,101,102,107,108,109,112,119,121,129,134,137,138,109,141,143,150,151,153,154,155,158,160,161,163,164,167,169,170,171,172,177,178,180,183,185,163,206,209,210,212,215,216,224,226,227,228,229,229,234,236,171,242,171,255,256,256,229,257,90,260,261,264,265,268,269,270,271,283,286,287,229,288,291,292,295,298,301,302,303,304,311,312,313,315,316,90,317,327,332,335,338,339,340,343,344,349,261,350,351,352,351,353,171,355,356,357,363,365,365,368,369,370,373,374,377,379,389,391,393,394,403,256,404,177,405,406,408,409,412,413,229,414,415,416,256,418,421,256,422,428,265,429,432,109,433,434,171,436,437,440,441,442,443,449,450,339,451,458,466,467,468,469,470,473,474,265,475,477,478,482,483,180,488,489,491,492,163,501,288,502,503,506,183,183,509,512,515,518,519,339,524,525,526,529,532,433,533,112,256,534,560,561,229,562,563,256,566,567,568,569,90,572,573,575,577,578,579,582,585,591,594,90,595,90,596,599,600,601,647,648,649,650,2,441,653,655,658,271,339,659,112,660,661,662,668,671,672,673,674,677,679,682]};export{e as syntaxCollections};
|
|
1
|
+
const e={kinds:/* @__PURE__ */ `AddMappingSyntax.AllSyntax.ApplicationSyntax.ApplicationTriggerInteractionTriggerSyntax.ArrangementContainerSyntax.ArrangementOverrideSyntax.ArrangementSlotSyntax.ArrangementSyntax.AuthenticatedConditionSyntax.AuthenticationProviderSyntax.AuthenticationSyntax.AuthorizeSyntax.NavigationItemSyntax.NavigationLogoSyntax.NavigationRegionSyntax.NavigationTargetSyntax.BehaviorArgumentSyntax.BehaviorParameterSyntax.BehaviorSyntax.BuiltInInteractionTriggerSyntax.CaptureAppendSyntax.CaptureChildrenSyntax.CaptureMapEntrySyntax.CaptureNestedSyntax.CaptureSourceSettingSyntax.CaptureSourceSyntax.CaptureSplitSyntax.CaptureSyntax.CaptureTranslationSyntax.CaptureWhenSyntax.CausedByExpressionSyntax.CaseValueExpressionSyntax.ChildrenSyntax.ClaimConditionSyntax.ClaimIdentitySourceSyntax.CodeIdentitySourceSyntax.FileIdentitySourceSyntax.IdentitySyntax.IdentityDetailSyntax.QueryIdentitySourceSyntax.ClearMappingSyntax.ClearWithSyntax.CloseDialogActionSyntax.CodeBlockSyntax.ComponentExposedValueSyntax.ComponentOutletSyntax.ComponentPropertySyntax.CodeValidateSyntax.CommandSyntax.CommandStreamSyntax.ObserverFilterSyntax.ComparisonConditionSyntax.CompositeKeySyntax.ConceptAttributeSyntax.ConceptSyntax.GenerationSyntax.ConcurrencySyntax.ConfirmActionSyntax.ContextExpressionSyntax.IdentityExpressionSyntax.ContributionSyntax.ContributionDestinationSyntax.CountMappingSyntax.DeclarativeValidateSyntax.DecrementMappingSyntax.DialogTemplateSyntax.DomainSyntax.EnvironmentExpressionSyntax.EventContextExpressionSyntax.EventInteractionTriggerSyntax.EventSourceIdExpressionSyntax.EventSourceSyntax.EventStreamIdPartSyntax.EventStreamSyntax.EventSpecSyntax.EventSyntax.EverySyntax.ExecuteCommandActionSyntax.ExpressionKeySyntax.FeatureSyntax.FileConstraintSyntax.FileImportSyntax.FileReferenceSyntax.FormColumnSyntax.ExposureSyntax.ExposedPropertySyntax.InstanceContributionsSyntax.InstanceContributionSyntax.ContributedItemSyntax.ContributedItemValueSyntax.ScreenContributionSyntax.TemplateSlotContentSyntax.CommandFormLayoutSyntax.FormLayoutColumnSyntax.FormFieldPlacementSyntax.FormWidthSyntax.FormFieldSyntax.FormPopulateFromItemSyntax.FormPopulateViaQuerySyntax.FormSyntax.FromSyntax.HandlerSyntax.ImplementationSyntax.ImplementationHintSyntax.SystemSyntax.OperationSyntax.OperationPhaseSyntax.SpecificationExampleSyntax.SpecificationParameterSyntax.SpecificationCaseSyntax.SpecificationOperationFailureSyntax.SpecificationOperationSyntax.SpecificationCompensatedSyntax.ImportSyntax.IncrementMappingSyntax.InteractionAlternativeSyntax.InteractionOtherwiseSyntax.InteractionArgumentSyntax.InteractionBindingSyntax.IntervalInteractionTriggerSyntax.IntervalTriggerSourceSyntax.InvokesSyntax.InvocationRefusalSyntax.JoinEventSyntax.JoinSyntax.KeyPartSyntax.LayoutSyntax.ListExpressionSyntax.LiteralExpressionSyntax.LogicalConditionSyntax.LogicalPolicyConditionSyntax.LogicalPolicyRequirementSyntax.ModuleSyntax.NamedTriggerSourceSyntax.NavigateActionSyntax.NavigateBackActionSyntax.NestedSyntax.NotPolicyConditionSyntax.NotifyActionSyntax.OpenDialogActionSyntax.ObjectExpressionSyntax.ObjectMemberSyntax.PathExpressionSyntax.PerformerSyntax.PersonaSyntax.PlaceSyntax.PolicyReferenceSyntax.PolicySyntax.PurposeSyntax.PurposeReferenceSyntax.PurposeTransferSyntax.ProducesSyntax.ProjectionEntersOnSyntax.ProjectionSyntax.ProjectionVariantSyntax.PresentationValueSyntax.PropertyMappingSyntax.PropertySyntax.PropertyResponseSourceSyntax.ResponseFieldSyntax.ScalarCommandResponseSyntax.RecordCommandResponseSyntax.ScalarSpecificationReturnSyntax.RecordSpecificationReturnSyntax.QueryParameterSyntax.QuerySyntax.RaiseTriggerActionSyntax.RawExpressionSyntax.ReactionIdentitySyntax.ReactionSyntax.ReactionTriggerSyntax.RefusalExpressionSyntax.ReadModelSyntax.ReadsSyntax.ReducerRuleSyntax.ReducerSyntax.RefreshQueryActionSyntax.RemoveViaJoinSyntax.RemoveWithSyntax.RequirementSyntax.RoleConditionSyntax.ScheduleTriggerSourceSyntax.ScreenActionSyntax.ScreenNavigationParameterSyntax.ScreenGuardedActionSyntax.ScreenActionAlternativeSyntax.ScreenActionOtherwiseSyntax.ScreenBehaviorSyntax.ScreenCodeSyntax.ScreenComponentSyntax.ScreenColumnSyntax.ScreenDataSyntax.ScreenFieldSyntax.ScreenNavigateSyntax.ScreenSectionSyntax.ScreenSlotSyntax.ScreenSummarySyntax.ScreenSyntax.ScreenTableSyntax.ScreenTemplateReferenceSyntax.ScreenTemplateSyntax.ScreenTitleSyntax.ScreenToolbarSyntax.ScreenUsesBehaviorSyntax.SeedEventSyntax.SeedGroupSyntax.SeedSyntax.SetMappingSyntax.TemplateAssignmentSyntax.TemplateExposedValueSyntax.TemplateOutletSyntax.SetStateActionSyntax.SliceSyntax.SlotSyntax.SourceItemExpressionSyntax.SpecificationAbsentReadModelSyntax.SpecificationCallerClaimSyntax.SpecificationCallerPersonaSyntax.SpecificationCallerSyntax.SpecificationCaptureSyntax.SpecificationClockSyntax.SpecificationCommandSyntax.SpecificationDeniedSyntax.SpecificationErrorSyntax.SpecificationEventSyntax.SampleDataBindingSyntax.SampleDataFieldSyntax.SampleDataMappingSyntax.SampleDataPackReferenceSyntax.SampleDataPackSyntax.SampleDataRowSyntax.SampleDataSelectionSyntax.SampleDataSetSyntax.SpecificationNoResultSyntax.SpecificationStreamSyntax.SpecificationNoStreamSyntax.SpecificationQueryResultSyntax.SpecificationQuerySyntax.SpecificationReadModelSyntax.SpecificationRedeliverySyntax.SpecificationSyntax.SpecificationTriggerSyntax.SpecificationWhenQuerySyntax.StringsExpressionSyntax.SubtractMappingSyntax.TagSyntax.ToolbarButtonSyntax.ToolbarItemSyntax.TemplateExpressionSyntax.TemplateInterpolationSyntax.TemplateTextSyntax.ThemeSyntax.TriggerDataSyntax.TriggerSyntax.TypeRefSyntax.TypeSyntax.UiBindingSyntax.UiProfileSyntax.UniqueEventConstraintSyntax.UniquePropertyConstraintSyntax.DependsOnSyntax.UsesBehaviorSyntax.ValidationRuleSyntax.VariantSyntax`.split(`.`),names:/* @__PURE__ */ `property.value.autoMap.mappings.authentication.behaviors.commandReadMode.concepts.domain.eventSources.examples.exposures.fileImports.identity.imports.instanceContributions.layouts.modules.personas.policies.purposes.reactionProductionMode.sampleDataPacks.seeds.sourceOptions.numericMode.systems.templates.themes.triggers.types.uiProfiles.triggerName.children.columns.gap.grow.rows.span.syntaxKind.height.root.width.growFactor.name.mode.overrides.variants.alias.providers.requirement.icon.id.slot.target.title.image.items.logo.region.feature.module.type.bindings.description.file.order.parameters.event.tags.when.appends.identifiedBy.map.source.translations.settings.separator.targets.key.nested.from.to.expression.fromValue.properties.toValue.parameter.blocks.claim.matches.matchesSubject.code.details.by.query.arguments.onFailure.onResult.onSuccess.language.binding.directives.authorize.concurrency.documentation.handler.produces.reads.response.stream.streamCandidates.validations.eventSource.propertyCandidate.streamId.streamIdParts.left.operator.right.parts.criminal.reason.scope.specialCategory.attributes.generation.valueNumbers.values.alphabet.case.checksum.count.encoding.pattern.prefix.range.rule.size.strategy.eventSourceType.eventStreamId.eventStreamType.eventTypes.message.messageIsLiteral.path.contributionPoint.destination.group.label.navigate.presentation.requirements.rules.arrangement.category.content.displayName.exposes.outlets.restrictsScopes.scopes.sliceKinds.slots.templateType.usedBehaviors.eventName.identifier.streams.hasGenerationMarker.origin.visibility.includeChildren.command.contributions.dependsOn.features.isPlacement.slices.additionalRules.ignoreCasing.releasedBy.owner.component.editableFields.isCollection.operations.reExposes.restrictsFields.instance.field.columnGap.placements.rowGap.index.maxWidth.minWidth.column.columnSpan.row.rowSpan.unit.composeUsing.columnMode.fields.for.generationMode.layout.onSubmit.populate.events.parentKey.implementation.hints.text.compensate.execute.inputs.uses.generatedValues.noStream.operation.qualifiedName.actions.condition.alternatives.otherwise.trigger.amount.onRefused.acknowledge.constraint.selector.on.navigation.literalType.dialogTemplates.forms.screenTemplates.screen.operand.level.dialogTemplate.members.hidden.sizeHeight.sizeWidth.slotName.x.y.authorization.basis.basisReference.conditionReference.erasureException.interest.recipients.retention.subjects.transfers.safeguard.inlineEvent.inlineOperation.readModel.sequence.entersOn.isGenerated.isIdentifier.isKey.isSubject.byParts.filters.isObservable.performer.returnType.roles.runsAs.where.data.invokes.member.severity.role.dayOfMonth.dayOfWeek.time.outcome.behavior.context.stableId.outlet.route.rowClick.blueprint.version.fitsSlot.buttons.eventSourceId.groups.captures.commands.constraints.direction.projections.queries.reactions.readModels.reducers.screens.specifications.contributes.authenticated.claims.capture.record.instant.commandType.inlineProperty.caseValue.eventType.pack.shape.isBlueprint.locale.sets.active.exactly.results.reaction.cases.given.givenCaller.givenCallerPersona.givenCaptures.givenClock.givenOperationFailures.givenReadModels.thenAbsentReadModels.thenCompensated.thenDenied.thenErrors.thenEvents.thenEventsInAnyOrder.thenNoEvents.thenNoResult.thenOperations.thenQueries.thenReadModels.thenResults.thenReturns.whenAppended.whenCapture.whenClock.whenQuery.whenRedelivered.whenTrigger.emphasis.slice.compatibleWith.isOptional.bindingKind.componentId.componentPropertyPath.expectedValueType.literal.nullBehavior.rawText.defaultSizeClass.icons.packages.platforms.sampleData.theme.additionalProperties.places`.split(`.`),rules:[[`string`],[`ref`,30,31,58,59,67,68,70,127,128,140,142,167,171,214,243,248],[`object`,[[0,0,!0],[1,1,!0]]],[`enum`,`Inherit`,`Disabled`,`Enabled`],[`ref`,0,40,62,64,114,207,244],[`array`,4],[`object`,[[2,3,!0],[3,5,!1]]],[`ref`,10],[`null`],[`union`,7,8],[`ref`,18],[`array`,10],[`enum`,`Protected`],[`union`,12,8],[`ref`,54],[`array`,14],[`ref`,66],[`union`,16,8],[`ref`,71],[`array`,18],[`ref`,107],[`array`,20],[`ref`,84],[`array`,22],[`ref`,81],[`array`,24],[`ref`,37],[`union`,26,8],[`ref`,113],[`array`,28],[`ref`,86],[`array`,30],[`ref`,126],[`array`,32],[`union`,33,8],[`ref`,132],[`array`,35],[`ref`,144],[`array`,37],[`union`,38,8],[`ref`,147],[`array`,40],[`ref`,148],[`array`,42],[`enum`,`Atomic`],[`union`,44,8],[`ref`,229],[`array`,46],[`ref`,206],[`array`,48],[`union`,49,8],[`enum`,`legacy`,`exact`],[`object`,[[25,51,!0]]],[`ref`,104],[`array`,53],[`ref`,208],[`array`,55],[`ref`,251],[`array`,57],[`union`,58,8],[`ref`,253],[`array`,60],[`union`,61,8],[`ref`,255],[`array`,63],[`union`,64,8],[`ref`,257],[`array`,66],[`union`,67,8],[`object`,[[4,9,!1],[5,11,!1],[6,13,!1],[7,15,!1],[8,17,!1],[9,19,!1],[10,21,!1],[11,23,!1],[12,25,!1],[13,27,!1],[14,29,!1],[15,31,!1],[16,34,!1],[17,36,!1],[18,39,!1],[19,41,!1],[20,43,!1],[21,45,!1],[22,47,!1],[23,50,!1],[24,52,!1],[26,54,!1],[27,56,!1],[28,59,!1],[29,62,!1],[30,65,!1],[31,68,!1]]],[`object`,[[32,0,!0]]],[`ref`,4,6],[`array`,71],[`integer`,-2147483648,2147483647],[`union`,73,8],[`number`],[`union`,75,8],[`enum`,`Flat`,`Row`,`Column`,`Grid`],[`object`,[[33,72,!1],[34,74,!1],[35,74,!1],[36,76,!1],[37,74,!1],[38,74,!1],[39,77,!0]]],[`union`,0,8],[`object`,[[40,79,!1],[41,71,!0],[42,79,!1]]],[`boolean`],[`object`,[[36,81,!1],[43,76,!1],[40,74,!1],[44,0,!0],[38,74,!1],[42,74,!1]]],[`enum`,`Flow`,`Freeform`],[`ref`,5],[`array`,84],[`union`,85,8],[`union`,71,8],[`ref`,263],[`array`,88],[`union`,89,8],[`object`,[[45,83,!0],[46,86,!1],[41,87,!1],[47,90,!1]]],[`object`,[]],[`object`,[[48,79,!1],[44,0,!0]]],[`ref`,9],[`array`,94],[`object`,[[49,95,!1]]],[`ref`,131,146],[`object`,[[50,97,!0]]],[`ref`,12],[`array`,99],[`ref`,15],[`union`,101,8],[`object`,[[33,100,!1],[51,79,!1],[52,0,!0],[53,79,!1],[54,102,!1],[55,0,!0]]],[`object`,[[56,0,!0],[55,0,!0]]],[`ref`,13],[`union`,105,8],[`enum`,`Unspecified`,`Inherit`,`Extend`,`Override`],[`enum`,`Topbar`,`Sidebar`],[`object`,[[57,100,!1],[58,106,!1],[45,107,!0],[59,108,!0]]],[`object`,[[60,79,!1],[61,0,!0]]],[`object`,[[44,0,!0],[1,0,!0]]],[`ref`,254],[`union`,112,8],[`object`,[[44,0,!0],[62,113,!1]]],[`ref`,118],[`array`,115],[`ref`,82],[`union`,117,8],[`ref`,17],[`array`,119],[`object`,[[63,116,!1],[64,79,!1],[65,118,!1],[44,79,!1],[66,74,!1],[67,120,!1]]],[`enum`,`Click`,`DoubleClick`,`Select`,`Submit`,`Change`,`Load`,`Unload`,`Enter`,`Leave`,`Unknown`],[`object`,[[39,122,!0]]],[`ref`,156],[`array`,124],[`ref`,245],[`array`,126],[`union`,127,8],[`ref`,29],[`union`,129,8],[`object`,[[68,0,!0],[3,125,!1],[69,128,!1],[70,130,!1]]],[`ref`,20],[`array`,132],[`ref`,22,26],[`array`,134],[`object`,[[71,133,!1],[72,0,!0],[73,135,!1],[0,0,!0]]],[`ref`,28],[`array`,137],[`object`,[[0,0,!0],[74,1,!0],[75,138,!1]]],[`object`,[[71,133,!1],[73,135,!1],[0,0,!0]]],[`ref`,24],[`array`,141],[`object`,[[76,142,!1],[39,0,!0]]],[`array`,0],[`object`,[[77,0,!0],[74,1,!0],[78,144,!1]]],[`ref`,21],[`array`,146],[`ref`,23],[`array`,148],[`ref`,25],[`union`,150,8],[`object`,[[71,133,!1],[33,147,!1],[79,79,!1],[73,135,!1],[44,0,!0],[80,149,!1],[74,151,!1],[24,52,!1]]],[`object`,[[81,0,!0],[82,0,!0]]],[`enum`,`PropertyChanged`,`Added`,`Removed`,`Changed`,`LogicalOr`,`LogicalAnd`,`ValueTransition`,`Expression`],[`object`,[[83,79,!1],[84,79,!1],[85,144,!1],[39,154,!0],[86,79,!1]]],[`object`,[[0,79,!1]]],[`object`,[[87,0,!0]]],[`ref`,1,32,41,76,100,124,136,154,177,178],[`array`,158],[`object`,[[2,3,!0],[88,159,!1],[72,1,!0],[0,0,!0]]],[`union`,1,8],[`object`,[[89,0,!0],[90,161,!1],[91,81,!0]]],[`object`,[[89,0,!0]]],[`ref`,43],[`object`,[[92,164,!0]]],[`object`,[[65,117,!0]]],[`ref`,38],[`array`,167],[`object`,[[64,79,!1],[93,168,!1]]],[`ref`,34,35,36,39],[`object`,[[44,0,!0],[74,170,!0],[62,112,!0]]],[`object`,[[94,1,!0],[95,0,!0]]],[`object`,[[0,0,!0]]],[`object`,[[68,0,!0]]],[`ref`,117],[`array`,175],[`ref`,42,57,77,134,135,138,139,166,176,211],[`array`,177],[`object`,[[96,176,!1],[97,178,!1],[98,178,!1],[99,178,!1]]],[`object`,[[92,0,!0],[100,0,!0]]],[`ref`,256],[`object`,[[101,181,!0],[44,0,!0]]],[`ref`,182,184,187,188,189,191,193,194,195,196,198,199,201,202,203],[`array`,183],[`object`,[[102,184,!1],[44,0,!0]]],[`union`,181,8],[`object`,[[101,186,!1],[0,0,!0],[1,161,!1]]],[`ref`,11],[`union`,188,8],[`ref`,56],[`union`,190,8],[`ref`,101],[`union`,192,8],[`ref`,151],[`array`,194],[`ref`,157],[`array`,196],[`ref`,173],[`array`,198],[`union`,199,8],[`ref`,160,161],[`union`,201,8],[`ref`,49],[`union`,203,8],[`array`,203],[`ref`,47,63],[`array`,206],[`object`,[[103,189,!1],[104,191,!1],[64,79,!1],[105,79,!1],[106,193,!1],[44,0,!0],[107,195,!1],[85,197,!1],[108,200,!1],[109,202,!1],[110,204,!1],[111,205,!1],[112,207,!1]]],[`union`,196,8],[`union`,124,8],[`object`,[[113,0,!0],[114,209,!1],[110,0,!0],[115,210,!1],[116,125,!1]]],[`object`,[[113,0,!0],[110,79,!1]]],[`enum`,`Equal`,`NotEqual`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Contains`,`StartsWith`],[`object`,[[117,0,!0],[118,213,!0],[119,1,!0]]],[`ref`,125],[`array`,215],[`object`,[[120,216,!1],[62,0,!0]]],[`object`,[[121,81,!1],[44,0,!0],[122,79,!1],[123,79,!1],[124,79,!1]]],[`ref`,53],[`array`,219],[`ref`,55],[`union`,221,8],[`union`,207,8],[`array`,73],[`union`,224,8],[`object`,[[125,220,!1],[64,79,!1],[65,118,!1],[126,222,!1],[44,0,!0],[62,0,!0],[112,223,!1],[127,225,!1],[128,144,!1]]],[`union`,164,8],[`object`,[[129,79,!1],[130,79,!1],[131,79,!1],[92,227,!1],[132,74,!1],[133,79,!1],[65,118,!1],[134,79,!1],[135,79,!1],[136,79,!1],[137,79,!1],[138,74,!1],[139,0,!0]]],[`object`,[[113,81,!0],[140,79,!1],[141,79,!1],[142,79,!1],[143,144,!1]]],[`object`,[[96,176,!1],[144,0,!0],[145,81,!0],[97,178,!1],[98,178,!1],[99,178,!1]]],[`object`,[[146,0,!0]]],[`ref`,61],[`union`,232,8],[`ref`,193],[`union`,234,8],[`object`,[[147,0,!0],[148,233,!1],[149,79,!1],[51,79,!1],[52,79,!1],[150,79,!1],[151,235,!1],[66,74,!1],[152,79,!1]]],[`enum`,`Outlet`,`Dialog`,`External`],[`object`,[[39,237,!0],[54,0,!0]]],[`ref`,179],[`array`,239],[`union`,240,8],[`ref`,262],[`array`,242],[`object`,[[153,241,!1],[154,243,!1]]],[`ref`,7],[`union`,245,8],[`ref`,91],[`array`,247],[`ref`,209],[`array`,249],[`ref`,210],[`array`,251],[`ref`,213],[`array`,253],[`ref`,261],[`array`,255],[`object`,[[155,246,!1],[5,11,!1],[156,79,!1],[157,248,!1],[64,79,!1],[158,79,!1],[159,250,!1],[44,0,!0],[160,252,!1],[161,81,!1],[162,144,!1],[163,144,!1],[164,254,!1],[165,79,!1],[166,256,!1]]],[`object`,[[44,0,!0]]],[`object`,[[167,0,!0]]],[`ref`,73],[`array`,260],[`object`,[[64,79,!1],[52,79,!1],[168,113,!1],[44,0,!0],[169,261,!1]]],[`object`,[[44,0,!0],[62,112,!0]]],[`ref`,72],[`array`,264],[`object`,[[64,79,!1],[52,79,!1],[44,0,!0],[115,113,!1],[116,265,!1]]],[`object`,[[68,0,!0],[79,161,!1]]],[`integer`,0,4294967295],[`enum`,`Private`,`Public`],[`object`,[[64,79,!1],[105,79,!1],[65,118,!1],[126,268,!1],[170,81,!1],[52,79,!1],[44,0,!0],[171,79,!1],[85,197,!1],[69,128,!1],[172,269,!1]]],[`object`,[[2,3,!0],[173,81,!0],[3,5,!1]]],[`object`,[[96,176,!1],[174,0,!0],[97,178,!1],[98,178,!1],[99,178,!1]]],[`object`,[[83,1,!0]]],[`ref`,60],[`array`,274],[`union`,275,8],[`ref`,260],[`array`,277],[`ref`,79],[`array`,279],[`ref`,149],[`array`,281],[`ref`,212],[`array`,283],[`object`,[[103,189,!1],[5,11,!1],[175,276,!1],[176,278,!1],[64,79,!1],[105,79,!1],[10,21,!1],[177,280,!1],[12,25,!1],[178,81,!0],[44,0,!0],[20,282,!1],[179,284,!1],[27,56,!1],[166,256,!1]]],[`ref`,80,258,259],[`array`,286],[`object`,[[180,287,!1],[64,79,!1],[65,117,!0],[181,81,!0],[144,79,!1],[44,0,!0],[182,144,!1]]],[`object`,[[134,0,!0]]],[`object`,[[150,79,!1],[0,0,!0]]],[`ref`,85],[`array`,291],[`object`,[[183,0,!0],[85,292,!1]]],[`object`,[[184,0,!0],[185,144,!1],[186,81,!0],[150,79,!1],[187,144,!1],[146,0,!0],[188,79,!1],[189,81,!0]]],[`ref`,87],[`array`,295],[`object`,[[175,296,!1],[190,0,!0]]],[`ref`,88],[`array`,298],[`object`,[[184,0,!0],[57,299,!1],[146,0,!0],[1,161,!1]]],[`ref`,89],[`array`,301],[`object`,[[52,0,!0],[128,302,!1]]],[`object`,[[191,0,!0],[1,1,!0]]],[`object`,[[147,0,!0],[102,184,!1],[66,74,!1]]],[`object`,[[102,184,!1],[53,0,!0]]],[`ref`,95],[`union`,307,8],[`ref`,93],[`array`,309],[`ref`,94],[`array`,311],[`object`,[[192,308,!1],[34,310,!1],[193,312,!1],[194,308,!1]]],[`object`,[[195,73,!0],[196,308,!1],[197,308,!1],[42,308,!1]]],[`object`,[[198,73,!0],[199,74,!1],[191,0,!0],[200,73,!0],[201,74,!1],[42,308,!1]]],[`enum`,`Fraction`,`Pixels`,`Percent`,`Auto`],[`object`,[[202,316,!0],[1,76,!1]]],[`object`,[[203,79,!1],[81,79,!1],[150,79,!1],[0,0,!0]]],[`object`,[[94,79,!1],[95,0,!0]]],[`enum`,`Unspecified`,`Auto`,`Manual`],[`ref`,83],[`array`,321],[`ref`,96],[`array`,323],[`ref`,92],[`union`,325,8],[`ref`,97,98],[`union`,327,8],[`object`,[[5,11,!1],[204,320,!0],[34,322,!1],[64,79,!1],[205,324,!1],[206,0,!0],[207,320,!0],[208,326,!1],[44,0,!0],[209,235,!1],[210,328,!1],[166,256,!1]]],[`ref`,74],[`array`,330],[`ref`,52,78],[`union`,332,8],[`object`,[[211,331,!1],[79,333,!1],[3,5,!1],[212,161,!1]]],[`ref`,102],[`union`,335,8],[`object`,[[92,227,!1],[65,118,!1],[213,336,!1]]],[`ref`,103],[`array`,338],[`object`,[[214,339,!1]]],[`object`,[[215,0,!0]]],[`object`,[[64,79,!1],[44,0,!0]]],[`ref`,106],[`union`,343,8],[`object`,[[216,344,!1],[64,79,!1],[217,344,!1],[218,197,!1],[44,0,!0],[219,0,!0]]],[`object`,[[92,227,!1],[64,79,!1],[65,118,!1],[213,336,!1]]],[`ref`,235],[`union`,347,8],[`ref`,234],[`union`,349,8],[`object`,[[64,79,!1],[206,161,!1],[220,125,!1],[44,0,!0],[221,348,!1],[110,350,!1],[62,0,!0],[128,125,!1]]],[`object`,[[44,0,!0],[128,125,!1]]],[`object`,[[222,0,!0]]],[`object`,[[222,0,!0],[128,125,!1]]],[`object`,[[171,79,!1],[223,0,!0],[172,269,!1]]],[`ref`,51,129],[`object`,[[224,178,!1],[225,356,!0]]],[`object`,[[224,178,!1]]],[`object`,[[101,0,!0],[44,0,!0]]],[`ref`,115],[`array`,360],[`ref`,116],[`union`,362,8],[`ref`,3,19,69,119],[`object`,[[224,178,!1],[226,361,!1],[225,79,!1],[227,363,!1],[228,364,!0]]],[`enum`,`Seconds`,`Minutes`,`Hours`,`Days`],[`object`,[[229,73,!0],[202,366,!0]]],[`ref`,122],[`array`,368],[`object`,[[174,0,!0],[3,125,!1],[230,369,!1]]],[`object`,[[231,81,!0],[232,79,!1],[107,195,!1],[233,0,!0]]],[`object`,[[2,3,!0],[68,0,!0],[3,5,!1]]],[`ref`,123],[`array`,373],[`object`,[[211,374,!1],[234,0,!0],[0,0,!0]]],[`object`,[[83,1,!0],[0,0,!0]]],[`ref`,14],[`array`,377],[`object`,[[155,246,!1],[5,11,!1],[156,79,!1],[159,250,!1],[44,0,!0],[235,378,!1],[160,252,!1],[161,81,!1],[162,144,!1],[163,144,!1],[164,254,!1],[165,79,!1],[166,256,!1]]],[`array`,1],[`object`,[[57,380,!1]]],[`union`,0,81,8],[`number`,-17976931348623157e292,17976931348623157e292],[`enum`,`Int32`,`Int64`,`Decimal`,`Single`],[`string`,`^-?[0-9]+(\\.[0-9]+)?([Ee][+-]?[0-9]+)?$`],[`object`,[[236,384,!0],[1,385,!0]]],[`const`,`ExactNumber`],[`string`,`^(?:0|-?(?:[1-9][0-9]{0,28}|(?:0|[1-9][0-9]{0,28})\\.[0-9]{0,27}[1-9]))$`],[`object`,[[236,387,!0],[1,388,!0]]],[`union`,382,383,386,389],[`object`,[[1,390,!1]]],[`enum`,`And`,`Or`],[`object`,[[117,356,!0],[118,392,!0],[119,356,!0]]],[`ref`,8,33,130,137,180],[`object`,[[117,394,!0],[118,392,!0],[119,394,!0]]],[`object`,[[117,97,!0],[118,392,!0],[119,97,!0]]],[`ref`,65],[`array`,397],[`union`,398,8],[`ref`,99],[`array`,400],[`union`,401,8],[`ref`,200],[`array`,403],[`object`,[[103,189,!1],[5,11,!1],[175,276,!1],[176,278,!1],[64,79,!1],[237,399,!1],[105,79,!1],[10,21,!1],[177,280,!1],[12,25,!1],[238,402,!1],[178,81,!0],[44,0,!0],[235,378,!1],[20,282,!1],[239,404,!1],[27,56,!1],[166,256,!1]]],[`object`,[[96,176,!1],[97,178,!1],[98,178,!1],[99,178,!1],[240,0,!0]]],[`object`,[[2,3,!0],[88,159,!1],[0,0,!0]]],[`object`,[[241,394,!0]]],[`enum`,`Info`,`Warning`,`Error`,`Unknown`],[`object`,[[96,176,!1],[242,409,!0],[144,0,!0],[145,81,!0],[97,178,!1],[98,178,!1],[99,178,!1]]],[`object`,[[96,176,!1],[243,0,!0],[97,178,!1],[98,178,!1],[99,178,!1]]],[`ref`,141],[`array`,412],[`object`,[[244,413,!1]]],[`object`,[[44,0,!0],[1,1,!0]]],[`object`,[[92,227,!1],[65,118,!1]]],[`object`,[[64,79,!1],[44,0,!0],[19,144,!1]]],[`object`,[[245,81,!1],[246,79,!1],[247,79,!1],[248,0,!0],[249,74,!1],[250,74,!1]]],[`union`,394,8],[`object`,[[92,227,!1],[225,419,!1],[64,79,!1],[65,118,!1],[44,0,!0]]],[`ref`,150],[`array`,421],[`object`,[[251,79,!1],[252,79,!1],[253,79,!1],[225,79,!1],[254,79,!1],[64,79,!1],[255,79,!1],[256,79,!1],[44,0,!0],[257,144,!1],[258,79,!1],[259,144,!1],[260,422,!1]]],[`object`,[[148,0,!0],[261,0,!0]]],[`ref`,75],[`union`,425,8],[`ref`,105],[`union`,427,8],[`union`,356,8],[`object`,[[68,0,!0],[206,161,!1],[262,426,!1],[263,428,!1],[3,125,!1],[110,204,!1],[69,128,!1],[70,429,!1]]],[`object`,[[2,3,!0],[88,159,!1],[64,79,!1],[65,118,!1],[79,333,!1],[44,0,!0],[264,79,!1],[265,79,!1],[24,52,!1]]],[`ref`,152],[`array`,432],[`object`,[[88,159,!1],[266,433,!1],[44,0,!0]]],[`object`,[[0,0,!0],[74,1,!0]]],[`object`,[[267,81,!1],[268,81,!1],[269,81,!1],[270,81,!1],[44,0,!0],[62,112,!0]]],[`ref`,158],[`object`,[[44,0,!0],[74,437,!0],[62,113,!1]]],[`object`,[[74,437,!0]]],[`ref`,159],[`array`,440],[`object`,[[205,441,!1]]],[`object`,[[1,1,!0]]],[`object`,[[205,125,!1]]],[`object`,[[44,0,!0],[74,161,!1],[62,112,!0]]],[`ref`,164],[`union`,446,8],[`array`,446],[`ref`,143],[`union`,449,8],[`object`,[[103,189,!1],[94,447,!1],[271,448,!1],[64,79,!1],[272,448,!1],[273,81,!1],[44,0,!0],[274,450,!1],[275,112,!0],[123,79,!1]]],[`object`,[[96,176,!1],[97,178,!1],[98,178,!1],[99,178,!1],[228,0,!0]]],[`object`,[[276,144,!1],[39,0,!0]]],[`ref`,50],[`union`,454,8],[`ref`,168],[`union`,456,8],[`ref`,170],[`array`,458],[`object`,[[64,79,!1],[105,79,!1],[81,455,!1],[44,0,!0],[277,457,!1],[29,459,!1],[278,429,!1]]],[`ref`,252],[`array`,461],[`ref`,121],[`array`,463],[`union`,464,8],[`union`,195,8],[`ref`,120,133,181],[`object`,[[92,227,!1],[279,462,!1],[64,79,!1],[65,118,!1],[280,465,!1],[107,466,!1],[108,200,!1],[74,467,!0]]],[`object`,[[281,0,!0]]],[`object`,[[64,79,!1],[105,79,!1],[65,118,!1],[44,0,!0],[85,197,!1]]],[`object`,[[48,79,!1],[94,79,!1],[271,125,!1],[264,0,!0]]],[`object`,[[92,227,!1],[64,79,!1],[68,0,!0],[65,118,!1]]],[`ref`,174],[`array`,473],[`object`,[[64,79,!1],[81,455,!1],[44,0,!0],[264,0,!0],[154,474,!1]]],[`object`,[[96,176,!1],[97,178,!1],[98,178,!1],[99,178,!1],[95,0,!0]]],[`object`,[[68,0,!0],[79,161,!1],[212,161,!1]]],[`enum`,`Error`,`Information`,`Warning`],[`object`,[[225,356,!0],[144,79,!1],[282,478,!0]]],[`object`,[[283,0,!0]]],[`enum`,`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`union`,481,8],[`string`,`^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]{1,7})?$`],[`object`,[[284,74,!1],[285,482,!1],[286,483,!0]]],[`object`,[[174,0,!0],[150,79,!1],[151,235,!1]]],[`ref`,185],[`array`,486],[`ref`,186],[`union`,488,8],[`object`,[[226,487,!1],[150,0,!0],[151,235,!1],[227,489,!1]]],[`object`,[[96,176,!1],[174,0,!0],[225,356,!0]]],[`enum`,`Hidden`,`Execute`,`Unknown`],[`object`,[[96,176,!1],[174,79,!1],[287,492,!0]]],[`object`,[[288,10,!0]]],[`ref`,44],[`array`,495],[`ref`,45],[`array`,497],[`ref`,155],[`array`,499],[`ref`,46],[`array`,501],[`object`,[[5,11,!1],[184,0,!0],[289,186,!1],[159,496,!1],[51,79,!1],[44,0,!0],[160,498,!1],[152,500,!1],[85,502,!1],[290,79,!1],[166,256,!1]]],[`object`,[[94,79,!1],[95,0,!0],[62,112,!0]]],[`object`,[[150,0,!0],[0,0,!0]]],[`ref`,183],[`array`,506],[`object`,[[94,79,!1],[291,79,!1],[67,507,!1],[292,79,!1],[240,0,!0]]],[`ref`,192],[`array`,509],[`object`,[[205,510,!1],[54,0,!0]]],[`ref`,90],[`array`,512],[`object`,[[175,513,!1],[64,79,!1],[102,184,!1],[65,118,!1],[44,0,!0]]],[`ref`,190],[`array`,515],[`object`,[[5,11,!1],[34,516,!1],[293,235,!1],[54,0,!0],[166,256,!1]]],[`ref`,195],[`array`,518],[`object`,[[294,79,!1],[44,0,!0],[164,519,!1],[295,79,!1]]],[`object`,[[155,246,!1],[5,11,!1],[156,79,!1],[157,248,!1],[64,79,!1],[158,79,!1],[159,250,!1],[296,79,!1],[44,0,!0],[160,252,!1],[161,81,!1],[162,144,!1],[163,144,!1],[164,254,!1],[165,79,!1],[166,256,!1]]],[`ref`,246],[`array`,522],[`ref`,247],[`array`,524],[`object`,[[297,523,!1],[57,525,!1],[44,0,!0]]],[`object`,[[219,255,!0]]],[`object`,[[68,0,!0],[85,125,!1]]],[`ref`,204],[`array`,529],[`object`,[[298,0,!0],[211,530,!1]]],[`ref`,205],[`array`,532],[`object`,[[299,533,!1]]],[`object`,[[294,79,!1],[44,0,!0],[295,79,!1]]],[`object`,[[96,176,!1],[97,178,!1],[98,178,!1],[99,178,!1],[54,0,!0],[1,0,!0]]],[`ref`,27],[`array`,537],[`ref`,48],[`array`,539],[`enum`,`Inbound`,`Outbound`],[`union`,541,8],[`array`,425],[`array`,427],[`ref`,153],[`array`,545],[`ref`,165],[`array`,547],[`ref`,169],[`array`,549],[`ref`,172],[`array`,551],[`union`,552,8],[`ref`,175],[`array`,554],[`union`,555,8],[`ref`,197],[`array`,557],[`ref`,240],[`array`,559],[`enum`,`StateChange`,`StateView`,`Automation`,`Translate`],[`object`,[[300,538,!1],[301,540,!1],[302,287,!1],[64,79,!1],[303,542,!1],[105,79,!1],[211,543,!1],[10,21,!1],[65,118,!1],[44,0,!0],[187,544,!1],[304,546,!1],[20,282,!1],[305,548,!1],[306,550,!1],[307,553,!1],[308,556,!1],[309,558,!1],[310,560,!1],[27,56,!1],[62,561,!0]]],[`object`,[[311,79,!1],[44,0,!0]]],[`object`,[[79,1,!0],[44,0,!0]]],[`object`,[[62,0,!0],[1,0,!0]]],[`ref`,216],[`array`,566],[`object`,[[312,81,!0],[313,567,!1],[276,144,!1]]],[`object`,[[314,0,!0],[315,125,!1]]],[`object`,[[316,0,!0]]],[`object`,[[317,0,!0],[206,161,!1],[220,125,!1],[318,79,!1],[128,125,!1]]],[`ref`,31],[`union`,572,8],[`object`,[[319,573,!1],[44,79,!1]]],[`object`,[[320,0,!0],[206,161,!1],[318,79,!1],[221,348,!1],[110,350,!1],[128,125,!1]]],[`ref`,228],[`object`,[[321,576,!0],[264,0,!0]]],[`enum`,`Text`,`Number`,`Flag`,`Null`],[`object`,[[44,0,!0],[39,578,!0],[1,79,!1]]],[`object`,[[264,0,!0],[322,0,!0]]],[`object`,[[323,81,!0],[44,0,!0]]],[`ref`,232],[`array`,582],[`object`,[[324,79,!1],[44,0,!0],[325,583,!1],[55,79,!1]]],[`ref`,226],[`array`,585],[`object`,[[205,586,!1]]],[`union`,576,8],[`ref`,225],[`array`,589],[`ref`,227],[`array`,591],[`object`,[[326,588,!1],[63,590,!1],[3,592,!1]]],[`ref`,230],[`array`,594],[`object`,[[37,595,!1],[322,0,!0]]],[`object`,[[113,0,!0],[110,0,!0],[115,210,!1],[116,125,!1]]],[`object`,[[327,81,!0],[85,125,!1]]],[`ref`,236],[`array`,599],[`object`,[[96,125,!1],[327,81,!0],[95,0,!0],[328,600,!1]]],[`object`,[[327,81,!0],[318,79,!1],[44,0,!0],[85,125,!1]]],[`object`,[[320,0,!0],[206,161,!1],[221,348,!1],[329,0,!0],[110,350,!1],[128,125,!1]]],[`ref`,109],[`array`,604],[`ref`,224],[`array`,606],[`ref`,218],[`union`,608,8],[`ref`,217],[`union`,610,8],[`ref`,219],[`array`,612],[`ref`,220],[`union`,614,8],[`ref`,110],[`array`,616],[`ref`,238],[`array`,618],[`union`,619,8],[`ref`,108],[`array`,621],[`ref`,215],[`array`,623],[`ref`,112],[`array`,625],[`ref`,222],[`union`,627,8],[`ref`,223],[`array`,629],[`ref`,233],[`union`,631,8],[`ref`,111],[`array`,633],[`ref`,237],[`array`,635],[`ref`,162,163],[`union`,637,8],[`ref`,221],[`union`,639,8],[`union`,606,8],[`union`,612,8],[`ref`,242],[`union`,643,8],[`ref`,239],[`union`,645,8],[`ref`,241],[`union`,647,8],[`object`,[[330,605,!1],[64,79,!1],[10,21,!1],[65,118,!1],[331,607,!1],[332,609,!1],[333,611,!1],[334,613,!1],[335,615,!1],[336,617,!1],[337,620,!1],[44,0,!0],[67,622,!1],[24,52,!1],[338,624,!1],[339,626,!1],[340,628,!1],[341,630,!1],[342,607,!1],[343,81,!0],[344,81,!1],[345,632,!1],[346,634,!1],[347,636,!1],[348,620,!1],[349,600,!1],[350,638,!1],[70,640,!1],[351,641,!1],[352,642,!1],[353,615,!1],[354,644,!1],[355,646,!1],[356,648,!1]]],[`object`,[[228,0,!0],[128,125,!1]]],[`object`,[[96,125,!1],[95,0,!0]]],[`object`,[[79,0,!0]]],[`enum`,`Primary`,`Secondary`,`Quiet`],[`union`,653,8],[`object`,[[357,654,!1],[51,79,!1],[52,0,!0],[358,79,!1],[55,0,!0]]],[`enum`,`Unknown`,`Action`,`Navigate`,`Dialog`],[`object`,[[51,79,!1],[150,79,!1],[44,0,!0],[67,507,!1],[152,500,!1],[39,656,!0],[54,0,!0]]],[`ref`,249,250],[`array`,658],[`object`,[[120,659,!1]]],[`object`,[[359,144,!1],[44,0,!0]]],[`object`,[[279,462,!1],[64,79,!1],[65,118,!1],[44,0,!0]]],[`object`,[[186,81,!0],[360,81,!0],[44,0,!0]]],[`object`,[[64,79,!1],[65,118,!1],[44,0,!0],[85,197,!1]]],[`enum`,`Invalid`,`DataContext`,`QueryResult`,`ComponentProperty`,`Literal`],[`enum`,`OneWay`,`TwoWay`],[`union`,666,8],[`enum`,`Propagate`,`Clear`,`Preserve`],[`union`,668,8],[`object`,[[361,665,!0],[362,79,!1],[363,79,!1],[364,79,!1],[365,161,!1],[45,667,!1],[366,669,!1],[146,0,!0],[95,79,!1],[367,79,!1]]],[`ref`,231],[`union`,671,8],[`object`,[[368,79,!1],[369,144,!1],[208,79,!1],[44,0,!0],[370,144,!1],[371,144,!1],[372,672,!1],[373,79,!1]]],[`object`,[[180,287,!1],[64,79,!1],[68,0,!0],[181,81,!0],[144,79,!1],[44,0,!0],[182,144,!1]]],[`object`,[[374,144,!1],[180,287,!1],[64,79,!1],[68,0,!0],[181,81,!0],[144,79,!1],[44,0,!0],[0,0,!0],[182,144,!1]]],[`object`,[[54,0,!0]]],[`ref`,16],[`array`,677],[`object`,[[96,678,!1],[288,0,!0]]],[`enum`,`NotEmpty`,`Max`,`Min`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Equal`,`Length`,`Matches`,`AllGreaterThan`,`AllGreaterThanOrEqual`,`Rule`,`NotEqual`,`Checksum`,`Contains`,`NotContains`,`StartsWith`,`EndsWith`],[`object`,[[92,227,!1],[65,118,!1],[213,336,!1],[144,79,!1],[0,0,!0],[137,680,!0],[282,478,!0],[1,161,!1]]],[`ref`,145],[`array`,682],[`object`,[[40,0,!0],[375,683,!1],[42,0,!0]]]],contracts:[2,6,69,70,78,80,82,91,92,93,96,98,103,104,109,110,111,114,121,123,131,136,139,140,111,143,145,152,153,155,156,157,160,162,163,165,166,169,171,172,173,174,179,180,182,185,187,165,208,211,212,214,217,218,226,228,229,230,231,231,236,238,173,244,173,257,258,258,231,259,92,262,263,266,267,270,271,272,273,285,288,289,231,290,293,294,297,300,303,304,305,306,313,314,315,317,318,92,319,329,334,337,340,341,342,345,346,351,263,352,353,354,353,355,173,357,358,359,365,367,367,370,371,372,375,376,379,381,391,393,395,396,405,258,406,179,407,408,410,411,414,415,231,416,417,418,258,420,423,258,424,430,267,431,434,111,435,436,173,438,439,442,443,444,445,451,452,341,453,460,468,469,470,471,472,475,476,267,477,479,480,484,485,182,490,491,493,494,165,503,290,504,505,508,185,185,511,514,517,520,521,341,526,527,528,531,534,435,535,114,258,536,562,563,231,564,565,258,568,569,570,571,92,574,575,577,579,580,581,584,587,593,596,92,597,92,598,601,602,603,649,650,651,652,2,443,655,657,660,273,341,661,114,662,663,664,670,673,674,675,676,679,681,684]};export{e as syntaxCollections};
|
|
2
2
|
//# sourceMappingURL=SyntaxCollections.js.map
|