@cratis/screenplay-language 4.180.1 → 4.181.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/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/ScreenplayParser.js +1 -1
- package/dist/bundles/compiler/Parsing/ScreenplayParser.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/completion-items.js +1 -1
- package/dist/bundles/completion-items.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/completion-items.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":"ScreenplayParser.js","names":["domainPattern","pattern","importPattern","stringBodyPattern","conceptPattern","enumValuePattern","personaPattern","personaPolicyPattern","tabIndentPattern","primitiveTypes","opaqueTopLevel","bodyKeywords","documentPlacement","context","lines","moduleBody","placement","ModuleBody","featureBody","FeatureBody","placedBody","identity","domain","imports","fileImports","concepts","types","systems","eventSources","modules","personas","policies","purposes","seeds","examples","declaredTriggers","exposures","instanceContributions","sawOtherConstruct","line","keyword","firstWord","misplacedReactionIdentity","isFileImport","parseFileImport","match","DiagnosticCodes","locationOf","origin","unescapeString","isBlankPublicEventOrigin","parseExample","parseEventSource","parseSystem","parseType","isDocumentPlacement","parseModule","parseSeed","parsePurpose","parseIdentity","parsePolicy","parseExposure","parseInstance","data","parseTriggerDeclaration","name","collectInputUses","root","recordAuthoredDocument","modulePattern","describePlacement","word","hint","expected","moduleBodyExpected","featureBodyExpected","feature","innermost","index","start","existing","inFence","startOf","type","attributeText","attributes","parseComplianceMarkers","values","members","EnumerationMembers","generation","declaredGeneration","description","validations","child","memberName","parseDescription","isFileDirective","parsed","parseValidate","parseGeneration","parseComplianceDirective","unescapeIdentifier","valueNumbers","policy"],"sources":["../../../../../../Compiler/Parsing/ScreenplayParser.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 { EnumerationMembers } from './EnumerationMembers';\nimport { GenerationSyntax } from '../Syntax/GenerationSyntax';\nimport { parseGeneration } from './GenerationParser';\nimport { IdentitySyntax } from '../Syntax/IdentitySyntax';\nimport { parseIdentity } from './IdentityParser';\nimport { misplacedReactionIdentity } from './ReactionIdentityParser';\nimport { DiagnosticCodes } from '../Diagnostics/DiagnosticCodes';\nimport { recordAuthoredDocument } from '../Syntax/SourceOptions';\nimport { SourceLocation } from '../Diagnostics/SourceLocation';\nimport { describePlacement, documentPlacement, isDocumentPlacement, PlayPlacement } from '../Files/PlayPlacement';\nimport { PersonaSyntax } from '../Syntax/Authorization';\nimport { ConceptSyntax, DomainSyntax, ImportSyntax, TypeSyntax } from '../Syntax/Declarations';\nimport { SpecificationExampleSyntax } from '../Syntax/Specifications';\nimport { ApplicationSyntax, FeatureSyntax, FileImportSyntax, ModuleSyntax } from '../Syntax/Structure';\nimport { parseTriggerDeclaration } from './TriggerDataParser';\nimport { pattern } from '../Text/patterns';\nimport { parseComplianceDirective, parseComplianceMarkers } from './ConceptComplianceParser';\nimport { parseType } from './DeclarationParsers';\nimport { ValidateSyntax } from '../Syntax/Commands';\nimport { parseValidate } from './CommandParser';\nimport { parseDescription } from './DescriptionParser';\nimport { FeatureBody, featureBodyExpected } from './FeatureBody';\nimport { isFileImport, parseFileImport } from './FileImportParser';\nimport { isFileDirective } from './FileReferences';\nimport { collectInputUses } from './InputUses';\nimport { firstWord, unescapeIdentifier } from './LineText';\nimport { ModuleBody, moduleBodyExpected, modulePattern, parseModule } from './ModuleBody';\nimport { ParserContext } from './ParserContext';\nimport { PolicySyntax } from '../Syntax/Policies';\nimport { parsePolicy } from './PolicyParser';\nimport { PurposeSyntax } from '../Syntax/Purposes';\nimport { parsePurpose } from './PurposeParser';\nimport { SeedSyntax } from '../Syntax/Seeds';\nimport { parseSeed } from './SeedParser';\nimport { parseSystem } from './OperationParser';\nimport { EventVisibility } from '../Syntax/EventVisibility';\nimport { isBlankPublicEventOrigin } from '../Syntax/PublicEventInvariants';\nimport { stringBodyPattern, unescapeString } from '../Text/StringLiteral';\nimport { SystemSyntax } from '../Syntax/Operations';\nimport { EventSourceSyntax } from '../Syntax/EventSources';\nimport { parseEventSource } from './EventSourceParser';\nimport { parseExposure, parseInstance } from './CompositionParser';\nimport { ExposureSyntax, InstanceContributionsSyntax } from '../Syntax/CompositionSyntax';\nimport { parseExample } from './SpecificationExampleParser';\nimport { locationOf, SourceLine, startOf } from './SourceLine';\n\nconst domainPattern = pattern('^domain\\\\s+([A-Za-z_]\\\\w*(?:\\\\.[A-Za-z_]\\\\w*)*)$');\nconst importPattern = pattern(`^import\\\\s+([\\\\w.]+)(?:\\\\s+from\\\\s+\"(?<origin>${stringBodyPattern})\")?$`);\nconst conceptPattern = pattern('^concept\\\\s+(\\\\w+)\\\\s*:\\\\s*(\\\\w+)((?:\\\\s+@?\\\\w+)*)$');\nconst enumValuePattern = pattern('^@?[a-z_]\\\\w*$');\nconst personaPattern = pattern('^persona\\\\s+([A-Za-z_]\\\\w*)$');\nconst personaPolicyPattern = pattern('^policy\\\\s+([A-Za-z_]\\\\w*)$');\nconst tabIndentPattern = /^[ ]*\\t/;\nconst primitiveTypes = ['Uuid', 'String', 'Int', 'Decimal', 'Bool', 'Date', 'DateTime'];\n\n// Top-level, module and feature constructs the C# compiler knows that this compiler does not model. They\n// are skipped whole, not reported.\nconst opaqueTopLevel = new Set(['policy', 'authentication', 'seed', 'ui', 'theme', 'trigger', 'layout', 'behavior', 'sample']);\n\n// What belongs in a module or feature body; at the top level of a whole document it gets a hint saying so.\nconst bodyKeywords = new Set(['slice', 'feature', 'description', 'documentation', 'authorize', 'screen', 'dialog', 'form', 'contribute', 'on', 'uses']);\n\n// Parses one document into its application syntax - the port of the C# ScreenplayParser. The placement says\n// where the document's top level belongs: the application, unless an import placed it in a module or feature.\nexport function parseApplication(context: ParserContext, lines: readonly SourceLine[], placement: PlayPlacement = documentPlacement): ApplicationSyntax {\n context.deferIdentityValidation = true;\n warnOnTabIndentation(context, lines);\n const moduleBody = placement.length === 1 ? new ModuleBody(placement[0]) : undefined;\n const featureBody = placement.length > 1 ? new FeatureBody(placement[placement.length - 1]) : undefined;\n const placedBody = moduleBody ?? featureBody;\n let identity: IdentitySyntax | null = null;\n let domain: DomainSyntax | null = null;\n const imports: ImportSyntax[] = [];\n const fileImports: FileImportSyntax[] = [];\n const concepts: ConceptSyntax[] = [];\n const types: TypeSyntax[] = [];\n const systems: SystemSyntax[] = [];\n const eventSources: EventSourceSyntax[] = [];\n const modules: ModuleSyntax[] = [];\n const personas: PersonaSyntax[] = [];\n const policies: PolicySyntax[] = [];\n const purposes: PurposeSyntax[] = [];\n const seeds: SeedSyntax[] = [];\n const examples: SpecificationExampleSyntax[] = [];\n const declaredTriggers: NonNullable<ApplicationSyntax['declaredTriggers']>[number][] = [];\n const exposures: ExposureSyntax[] = [];\n const instanceContributions: InstanceContributionsSyntax[] = [];\n let sawOtherConstruct = false;\n for (let line = context.reader.peekSignificant(); line !== undefined; line = context.reader.peekSignificant()) {\n context.reader.takeSignificant();\n const keyword = firstWord(line.content);\n if (keyword === 'runs') {\n misplacedReactionIdentity(context, line);\n continue;\n }\n if (keyword === 'domain') {\n context.authoredDeclarations = true;\n domain = parseDomain(context, line, domain, sawOtherConstruct);\n continue;\n }\n // The C# parser asks whether anything was declared before the domain, so an import it rejected,\n // a file import and an unknown construct do not count.\n sawOtherConstruct ||= declaresConstruct(keyword, line, placement);\n context.authoredDeclarations ||= keyword !== 'import' && declaresConstruct(keyword, line, placement);\n if (keyword === 'import' && isFileImport(line.content)) {\n // A top level import belongs to whatever the document's top level is - the application, or the\n // module or feature the document was itself imported into.\n if (placedBody !== undefined) {\n placedBody.tryParse(context, line);\n } else {\n parseFileImport(context, line, fileImports);\n }\n } else if (keyword === 'import') {\n const match = importPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidImportDeclaration, `Invalid import '${line.content}' - expected 'import <Qualified.Name> [from \"<origin>\"]'`, locationOf(line));\n } else {\n const origin = match.groups?.origin === undefined ? null : unescapeString(match.groups.origin);\n if (origin !== null && isBlankPublicEventOrigin(origin)) {\n context.error(DiagnosticCodes.InvalidImportDeclaration, 'An import origin must be a nonblank quoted string', locationOf(line));\n }\n imports.push({ kind: 'ImportSyntax', qualifiedName: match[1], origin, visibility: origin === null ? EventVisibility.Private : EventVisibility.Public, location: locationOf(line) });\n }\n } else if (keyword === 'example') {\n if (placedBody !== undefined) placedBody.tryParse(context, line);\n else examples.push(parseExample(context, line));\n } else if (keyword === 'eventsource') {\n eventSources.push(parseEventSource(context, line));\n } else if (keyword === 'system') {\n systems.push(parseSystem(context, line));\n } else if (keyword === 'concept') {\n concepts.push(parseConcept(context, line));\n } else if (keyword === 'type') {\n types.push(parseType(context, line));\n } else if (keyword === 'module' && !isDocumentPlacement(placement)) {\n parseModuleInPlacedFile(context, line, placement, moduleBody);\n } else if (keyword === 'module') {\n modules.push(parseModule(context, line));\n } else if (keyword === 'persona') {\n personas.push(parsePersona(context, line));\n } else if (keyword === 'seed') {\n seeds.push(parseSeed(context.valueContext, line));\n } else if (keyword === 'purpose' && placedBody !== undefined) {\n placedBody.tryParse(context, line);\n } else if (keyword === 'purpose') {\n purposes.push(parsePurpose(context, line));\n } else if (keyword === 'identity') {\n identity = parseIdentity(context, line, identity);\n } else if (keyword === 'policy') {\n // Legacy policies were opaque: enrich their structure without adding diagnostics.\n policies.push(parsePolicy(context, line));\n } else if (keyword === 'exposure') {\n exposures.push(parseExposure(context, line));\n } else if (keyword === 'instance') {\n instanceContributions.push(parseInstance(context, line));\n } else if (keyword === 'trigger') {\n const data = parseTriggerDeclaration(context, line);\n const name = /^trigger\\s+([A-Za-z_]\\w*)$/.exec(line.content)?.[1];\n if (name !== undefined) declaredTriggers.push({ name, data });\n } else if (opaqueTopLevel.has(keyword)) {\n if (keyword === 'behavior' || keyword === 'layout') collectInputUses(context, line);\n else context.skipOpaqueBlock(line.indent);\n } else if (placedBody?.tryParse(context, line) !== true) {\n reportUnexpectedTopLevel(context, line, placement);\n }\n }\n if (moduleBody !== undefined) {\n modules.unshift(moduleBody.build(context.start, true));\n } else if (featureBody !== undefined) {\n modules.unshift(place(placement, featureBody.build(context.start, true), context.start));\n }\n const root: ApplicationSyntax = { kind: 'ApplicationSyntax', ...(identity === null ? {} : { identity }), sourceOptions: context.sourceOptions, domain, imports, concepts, types, systems, eventSources, examples, modules, personas, policies, purposes, seeds, declaredTriggers, fileImports, ...(exposures.length > 0 ? { exposures } : {}), ...(instanceContributions.length > 0 ? { instanceContributions } : {}), location: context.start };\n if (context.authoredDeclarations) recordAuthoredDocument(root);\n return root;\n}\n\nfunction declaresConstruct(keyword: string, line: SourceLine, placement: PlayPlacement): boolean {\n if (keyword === 'import') {\n return importPattern.test(line.content);\n }\n if (keyword === 'module') {\n return isDocumentPlacement(placement);\n }\n if (keyword === 'identity') return line.content === 'identity';\n return keyword === 'purpose' || keyword === 'example' || keyword === 'exposure' || keyword === 'instance' || keyword === 'eventsource' || keyword === 'system' || keyword === 'concept' || keyword === 'type' || keyword === 'persona' || opaqueTopLevel.has(keyword);\n}\n\nfunction parseModuleInPlacedFile(context: ParserContext, line: SourceLine, placement: PlayPlacement, moduleBody: ModuleBody | undefined): void {\n const name = modulePattern.exec(line.content)?.[1] ?? '';\n\n // Restating the module a file is placed in says nothing new, so its body simply joins the placement.\n if (moduleBody !== undefined && name === placement[0]) {\n context.authoredDeclarations = true;\n moduleBody.parseChildren(context, line);\n return;\n }\n context.error(DiagnosticCodes.ModuleInPlacedFile,\n `This file is imported into ${describePlacement(placement)}, so it cannot declare module '${name}' - import it at the top level of a document instead`, locationOf(line));\n context.skipBlock(line.indent);\n}\n\nfunction reportUnexpectedTopLevel(context: ParserContext, line: SourceLine, placement: PlayPlacement): void {\n const word = firstWord(line.content);\n if (!isDocumentPlacement(placement)) {\n const expected = placement.length === 1 ? moduleBodyExpected : featureBodyExpected;\n context.error(DiagnosticCodes.UnexpectedInPlacedFile,\n `Unexpected '${word}' in a file imported into ${describePlacement(placement)} - expected an application declaration or ${expected}`, locationOf(line));\n } else {\n const hint = bodyKeywords.has(word)\n ? ` - '${word}' belongs in a module or feature; wrap it in one, or import this file from inside one`\n : ' - expected domain, import, concept, type, policy, persona, authentication, identity, module, seed, trigger, behavior, ui profile, theme, sample data or layout';\n context.error(DiagnosticCodes.UnknownTopLevelConstruct, `Unexpected '${word}' at the top level${hint}`, locationOf(line));\n }\n context.skipBlock(line.indent);\n}\n\n// Wraps the feature a file is placed in in the features and module around it, each marked as a placement.\nfunction place(placement: PlayPlacement, innermost: FeatureSyntax, start: SourceLocation): ModuleSyntax {\n let feature = innermost;\n for (let index = placement.length - 2; index >= 1; index--) {\n feature = {\n kind: 'FeatureSyntax', name: placement[index], description: null, authorize: null,\n features: [feature], slices: [], fileImports: [], isPlacement: true, location: start,\n };\n }\n return {\n kind: 'ModuleSyntax', name: placement[0], description: null, authorize: null,\n features: [feature], fileImports: [], isPlacement: true, location: start,\n };\n}\n\nfunction parseDomain(context: ParserContext, line: SourceLine, existing: DomainSyntax | null, sawOtherConstruct: boolean): DomainSyntax | null {\n const match = domainPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidDomainDeclaration, `Invalid domain declaration '${line.content}' - expected 'domain <Qualified.Name>'`, locationOf(line));\n return existing;\n }\n if (existing !== null) {\n context.error(DiagnosticCodes.DuplicateDomain, 'The document already declares a domain - a document can have at most one', locationOf(line));\n return existing;\n }\n if (sawOtherConstruct) {\n context.error(DiagnosticCodes.DomainNotFirst, '\\'domain\\' must be declared before any other construct', locationOf(line));\n }\n return { kind: 'DomainSyntax', name: match[1], location: locationOf(line) };\n}\n\nfunction warnOnTabIndentation(context: ParserContext, lines: readonly SourceLine[]): void {\n let inFence = false;\n for (const line of lines) {\n if (line.raw.trimStart().startsWith('```')) {\n inFence = !inFence;\n continue;\n }\n if (!inFence && tabIndentPattern.test(line.raw)) {\n context.warning(DiagnosticCodes.TabIndentation, 'Screenplay is indentation based - use spaces, not tabs', startOf(line));\n }\n }\n}\n\nfunction parseConcept(context: ParserContext, line: SourceLine): ConceptSyntax {\n const match = conceptPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidConceptDeclaration, `Invalid concept declaration '${line.content}' - expected 'concept <Name> : <Type>'`, locationOf(line));\n context.skipBlock(line.indent);\n return { kind: 'ConceptSyntax', name: firstWord(line.content), type: '', attributes: [], values: [], location: locationOf(line) };\n }\n const [, name, type, attributeText] = match;\n const attributes = parseComplianceMarkers(context, line, name, attributeText);\n if (type !== 'Enum' && !primitiveTypes.includes(type)) {\n context.error(DiagnosticCodes.UnknownPrimitiveType, `Unknown primitive type '${type}' - expected ${primitiveTypes.join(', ')} or Enum`, locationOf(line));\n }\n const values: string[] = [];\n const members = new EnumerationMembers();\n let generation: GenerationSyntax | null = null;\n let declaredGeneration = false;\n let description: string | null = null;\n const validations: ValidateSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const memberName = type === 'Enum' ? members.tryNumbered(context, child) : undefined;\n if (memberName !== undefined) {\n values.push(memberName);\n } else if (firstWord(child.content) === 'description' && (type !== 'Enum' || child.content !== 'description' || context.peekChild(child.indent)?.content.startsWith('```') === true)) {\n description = parseDescription(context, child, description, `Concept '${name}'`);\n } else if (isFileDirective(child)) {\n continue;\n } else if (firstWord(child.content) === 'validate') {\n if (type === 'Enum' && child.content === 'validate' && context.peekChild(child.indent) === undefined) {\n context.warning(DiagnosticCodes.ValidateReadAsEnumerationBlock,\n `'validate' in enumeration concept '${name}' declares an empty validate block, not a value named 'validate' - write '@validate' for the value`,\n locationOf(child));\n }\n const parsed = parseValidate(context, child, 'concept');\n if (parsed !== undefined) validations.push(parsed);\n } else if (firstWord(child.content) === 'generate' && !(type === 'Enum' && child.content === 'generate')) {\n if (declaredGeneration) context.error(DiagnosticCodes.DuplicateGeneration, `Concept '${name}' declares generation more than once.`, locationOf(child));\n const parsed = parseGeneration(context, child, type);\n if (!declaredGeneration) generation = parsed;\n declaredGeneration = true;\n } else if (parseComplianceDirective(context, child, name, attributes)) {\n // Compliance directives are modeled by their original concept marker.\n } else if (type === 'Enum' && enumValuePattern.test(child.content)) {\n values.push(unescapeIdentifier(child.content));\n } else if (type === 'Enum') {\n context.error(DiagnosticCodes.InvalidEnumerationValue, `Invalid enum value '${child.content}' - expected an identifier`, locationOf(child));\n } else {\n context.error(DiagnosticCodes.UnknownConceptDirective, `Unexpected '${child.content}' in concept body - expected validate, generate, 'file <path>' or '<attribute> reason \"<text>\"'`, locationOf(child));\n context.skipBlock(child.indent);\n }\n }\n const valueNumbers = members.finish(context, line, values.length);\n return { kind: 'ConceptSyntax', name, type, attributes, values, validations, description, ...(generation === null ? {} : { generation }), ...(valueNumbers === undefined ? {} : { valueNumbers }), location: locationOf(line) };\n}\n\n// 'persona <Name>' with an optional description and the policies it holds - the port of the C# ParsePersona.\nfunction parsePersona(context: ParserContext, line: SourceLine): PersonaSyntax {\n const name = personaPattern.exec(line.content)?.[1] ?? '';\n if (name === '') {\n context.error(DiagnosticCodes.InvalidPersonaDeclaration, `Invalid persona declaration '${line.content}' - expected 'persona <Name>'`, locationOf(line));\n }\n let description: string | null = null;\n const policies: string[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const keyword = firstWord(child.content);\n if (keyword === 'description') {\n description = parseDescription(context, child, description, `Persona '${name}'`);\n } else if (keyword === 'policy') {\n const policy = personaPolicyPattern.exec(child.content);\n if (policy === null) {\n context.error(DiagnosticCodes.InvalidPersonaPolicyReference, `Invalid policy reference '${child.content}' - expected 'policy <Name>'`, locationOf(child));\n } else {\n policies.push(policy[1]);\n }\n } else {\n context.error(DiagnosticCodes.UnknownPersonaDirective, `Unexpected '${keyword}' in persona body - expected description or policy`, locationOf(child));\n context.skipBlock(child.indent);\n }\n }\n return { kind: 'PersonaSyntax', name, description, policies, location: locationOf(line) };\n}\n"],"mappings":"k5DAiDA,MAAMA,EAAgBC,EAAQ,kDAAkD,EAC1EC,EAAgBD,EAAQ,iDAAiDE,EAAkB,MAAM,EACjGC,EAAiBH,EAAQ,qDAAqD,EAC9EI,EAAmBJ,EAAQ,gBAAgB,EAC3CK,EAAiBL,EAAQ,8BAA8B,EACvDM,EAAuBN,EAAQ,6BAA6B,EAC5DO,EAAmB,UACnBC,EAAiB,CAAC,OAAQ,SAAU,MAAO,UAAW,OAAQ,OAAQ,UAAU,EAIhFC,kBAAiB,IAAI,IAAI,CAAC,SAAU,iBAAkB,OAAQ,KAAM,QAAS,UAAW,SAAU,WAAY,QAAQ,CAAC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AEtC,CACA,MAAO,CAAE,KAAM,gBAAiB,OAAM,cAAa,WAAU,SAAU/C,EAAWR,CAAI,CAAE,CAC5F"}
|
|
1
|
+
{"version":3,"file":"ScreenplayParser.js","names":["domainPattern","pattern","importPattern","stringBodyPattern","conceptPattern","enumValuePattern","personaPattern","personaPolicyPattern","tabIndentPattern","primitiveTypes","opaqueTopLevel","bodyKeywords","documentPlacement","context","lines","moduleBody","placement","ModuleBody","featureBody","FeatureBody","placedBody","identity","reactionProductionMode","sawReactionBatches","domain","imports","fileImports","concepts","types","systems","eventSources","modules","personas","policies","purposes","seeds","examples","declaredTriggers","exposures","instanceContributions","sawOtherConstruct","line","keyword","firstWord","isDocumentPlacement","DiagnosticCodes","locationOf","misplacedReactionIdentity","isFileImport","parseFileImport","match","origin","unescapeString","isBlankPublicEventOrigin","parseExample","parseEventSource","parseSystem","parseType","parseModule","parseSeed","parsePurpose","parseIdentity","parsePolicy","parseExposure","parseInstance","data","parseTriggerDeclaration","name","collectInputUses","root","recordAuthoredDocument","modulePattern","describePlacement","word","hint","expected","moduleBodyExpected","featureBodyExpected","feature","innermost","index","start","existing","inFence","startOf","type","attributeText","attributes","parseComplianceMarkers","values","members","EnumerationMembers","generation","declaredGeneration","description","validations","child","memberName","parseDescription","isFileDirective","parsed","parseValidate","parseGeneration","parseComplianceDirective","unescapeIdentifier","valueNumbers","policy"],"sources":["../../../../../../Compiler/Parsing/ScreenplayParser.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 '../Syntax/ReactionProductionMode';\nimport { EnumerationMembers } from './EnumerationMembers';\nimport { GenerationSyntax } from '../Syntax/GenerationSyntax';\nimport { parseGeneration } from './GenerationParser';\nimport { IdentitySyntax } from '../Syntax/IdentitySyntax';\nimport { parseIdentity } from './IdentityParser';\nimport { misplacedReactionIdentity } from './ReactionIdentityParser';\nimport { DiagnosticCodes } from '../Diagnostics/DiagnosticCodes';\nimport { recordAuthoredDocument } from '../Syntax/SourceOptions';\nimport { SourceLocation } from '../Diagnostics/SourceLocation';\nimport { describePlacement, documentPlacement, isDocumentPlacement, PlayPlacement } from '../Files/PlayPlacement';\nimport { PersonaSyntax } from '../Syntax/Authorization';\nimport { ConceptSyntax, DomainSyntax, ImportSyntax, TypeSyntax } from '../Syntax/Declarations';\nimport { SpecificationExampleSyntax } from '../Syntax/Specifications';\nimport { ApplicationSyntax, FeatureSyntax, FileImportSyntax, ModuleSyntax } from '../Syntax/Structure';\nimport { parseTriggerDeclaration } from './TriggerDataParser';\nimport { pattern } from '../Text/patterns';\nimport { parseComplianceDirective, parseComplianceMarkers } from './ConceptComplianceParser';\nimport { parseType } from './DeclarationParsers';\nimport { ValidateSyntax } from '../Syntax/Commands';\nimport { parseValidate } from './CommandParser';\nimport { parseDescription } from './DescriptionParser';\nimport { FeatureBody, featureBodyExpected } from './FeatureBody';\nimport { isFileImport, parseFileImport } from './FileImportParser';\nimport { isFileDirective } from './FileReferences';\nimport { collectInputUses } from './InputUses';\nimport { firstWord, unescapeIdentifier } from './LineText';\nimport { ModuleBody, moduleBodyExpected, modulePattern, parseModule } from './ModuleBody';\nimport { ParserContext } from './ParserContext';\nimport { PolicySyntax } from '../Syntax/Policies';\nimport { parsePolicy } from './PolicyParser';\nimport { PurposeSyntax } from '../Syntax/Purposes';\nimport { parsePurpose } from './PurposeParser';\nimport { SeedSyntax } from '../Syntax/Seeds';\nimport { parseSeed } from './SeedParser';\nimport { parseSystem } from './OperationParser';\nimport { EventVisibility } from '../Syntax/EventVisibility';\nimport { isBlankPublicEventOrigin } from '../Syntax/PublicEventInvariants';\nimport { stringBodyPattern, unescapeString } from '../Text/StringLiteral';\nimport { SystemSyntax } from '../Syntax/Operations';\nimport { EventSourceSyntax } from '../Syntax/EventSources';\nimport { parseEventSource } from './EventSourceParser';\nimport { parseExposure, parseInstance } from './CompositionParser';\nimport { ExposureSyntax, InstanceContributionsSyntax } from '../Syntax/CompositionSyntax';\nimport { parseExample } from './SpecificationExampleParser';\nimport { locationOf, SourceLine, startOf } from './SourceLine';\n\nconst domainPattern = pattern('^domain\\\\s+([A-Za-z_]\\\\w*(?:\\\\.[A-Za-z_]\\\\w*)*)$');\nconst importPattern = pattern(`^import\\\\s+([\\\\w.]+)(?:\\\\s+from\\\\s+\"(?<origin>${stringBodyPattern})\")?$`);\nconst conceptPattern = pattern('^concept\\\\s+(\\\\w+)\\\\s*:\\\\s*(\\\\w+)((?:\\\\s+@?\\\\w+)*)$');\nconst enumValuePattern = pattern('^@?[a-z_]\\\\w*$');\nconst personaPattern = pattern('^persona\\\\s+([A-Za-z_]\\\\w*)$');\nconst personaPolicyPattern = pattern('^policy\\\\s+([A-Za-z_]\\\\w*)$');\nconst tabIndentPattern = /^[ ]*\\t/;\nconst primitiveTypes = ['Uuid', 'String', 'Int', 'Decimal', 'Bool', 'Date', 'DateTime'];\n\n// Top-level, module and feature constructs the C# compiler knows that this compiler does not model. They\n// are skipped whole, not reported.\nconst opaqueTopLevel = new Set(['policy', 'authentication', 'seed', 'ui', 'theme', 'trigger', 'layout', 'behavior', 'sample']);\n\n// What belongs in a module or feature body; at the top level of a whole document it gets a hint saying so.\nconst bodyKeywords = new Set(['slice', 'feature', 'description', 'documentation', 'authorize', 'screen', 'dialog', 'form', 'contribute', 'on', 'uses']);\n\n// Parses one document into its application syntax - the port of the C# ScreenplayParser. The placement says\n// where the document's top level belongs: the application, unless an import placed it in a module or feature.\nexport function parseApplication(context: ParserContext, lines: readonly SourceLine[], placement: PlayPlacement = documentPlacement): ApplicationSyntax {\n context.deferIdentityValidation = true;\n warnOnTabIndentation(context, lines);\n const moduleBody = placement.length === 1 ? new ModuleBody(placement[0]) : undefined;\n const featureBody = placement.length > 1 ? new FeatureBody(placement[placement.length - 1]) : undefined;\n const placedBody = moduleBody ?? featureBody;\n let identity: IdentitySyntax | null = null;\n let reactionProductionMode: ReactionProductionMode | null = null;\n let sawReactionBatches = false;\n let domain: DomainSyntax | null = null;\n const imports: ImportSyntax[] = [];\n const fileImports: FileImportSyntax[] = [];\n const concepts: ConceptSyntax[] = [];\n const types: TypeSyntax[] = [];\n const systems: SystemSyntax[] = [];\n const eventSources: EventSourceSyntax[] = [];\n const modules: ModuleSyntax[] = [];\n const personas: PersonaSyntax[] = [];\n const policies: PolicySyntax[] = [];\n const purposes: PurposeSyntax[] = [];\n const seeds: SeedSyntax[] = [];\n const examples: SpecificationExampleSyntax[] = [];\n const declaredTriggers: NonNullable<ApplicationSyntax['declaredTriggers']>[number][] = [];\n const exposures: ExposureSyntax[] = [];\n const instanceContributions: InstanceContributionsSyntax[] = [];\n let sawOtherConstruct = false;\n for (let line = context.reader.peekSignificant(); line !== undefined; line = context.reader.peekSignificant()) {\n context.reader.takeSignificant();\n const keyword = firstWord(line.content);\n if (keyword === 'reaction') {\n if (sawReactionBatches || !isDocumentPlacement(placement) || !/^reaction\\s+batches\\s+atomic$/.test(line.content)) {\n context.error(DiagnosticCodes.InvalidReactionBatchesDeclaration, \"Declare 'reaction batches atomic' once at the application root.\", locationOf(line));\n } else {\n reactionProductionMode = ReactionProductionMode.Atomic;\n }\n sawReactionBatches = true;\n continue;\n }\n if (keyword === 'runs') {\n misplacedReactionIdentity(context, line);\n continue;\n }\n if (keyword === 'domain') {\n context.authoredDeclarations = true;\n domain = parseDomain(context, line, domain, sawOtherConstruct);\n continue;\n }\n // The C# parser asks whether anything was declared before the domain, so an import it rejected,\n // a file import and an unknown construct do not count.\n sawOtherConstruct ||= declaresConstruct(keyword, line, placement);\n context.authoredDeclarations ||= keyword !== 'import' && declaresConstruct(keyword, line, placement);\n if (keyword === 'import' && isFileImport(line.content)) {\n // A top level import belongs to whatever the document's top level is - the application, or the\n // module or feature the document was itself imported into.\n if (placedBody !== undefined) {\n placedBody.tryParse(context, line);\n } else {\n parseFileImport(context, line, fileImports);\n }\n } else if (keyword === 'import') {\n const match = importPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidImportDeclaration, `Invalid import '${line.content}' - expected 'import <Qualified.Name> [from \"<origin>\"]'`, locationOf(line));\n } else {\n const origin = match.groups?.origin === undefined ? null : unescapeString(match.groups.origin);\n if (origin !== null && isBlankPublicEventOrigin(origin)) {\n context.error(DiagnosticCodes.InvalidImportDeclaration, 'An import origin must be a nonblank quoted string', locationOf(line));\n }\n imports.push({ kind: 'ImportSyntax', qualifiedName: match[1], origin, visibility: origin === null ? EventVisibility.Private : EventVisibility.Public, location: locationOf(line) });\n }\n } else if (keyword === 'example') {\n if (placedBody !== undefined) placedBody.tryParse(context, line);\n else examples.push(parseExample(context, line));\n } else if (keyword === 'eventsource') {\n eventSources.push(parseEventSource(context, line));\n } else if (keyword === 'system') {\n systems.push(parseSystem(context, line));\n } else if (keyword === 'concept') {\n concepts.push(parseConcept(context, line));\n } else if (keyword === 'type') {\n types.push(parseType(context, line));\n } else if (keyword === 'module' && !isDocumentPlacement(placement)) {\n parseModuleInPlacedFile(context, line, placement, moduleBody);\n } else if (keyword === 'module') {\n modules.push(parseModule(context, line));\n } else if (keyword === 'persona') {\n personas.push(parsePersona(context, line));\n } else if (keyword === 'seed') {\n seeds.push(parseSeed(context.valueContext, line));\n } else if (keyword === 'purpose' && placedBody !== undefined) {\n placedBody.tryParse(context, line);\n } else if (keyword === 'purpose') {\n purposes.push(parsePurpose(context, line));\n } else if (keyword === 'identity') {\n identity = parseIdentity(context, line, identity);\n } else if (keyword === 'policy') {\n // Legacy policies were opaque: enrich their structure without adding diagnostics.\n policies.push(parsePolicy(context, line));\n } else if (keyword === 'exposure') {\n exposures.push(parseExposure(context, line));\n } else if (keyword === 'instance') {\n instanceContributions.push(parseInstance(context, line));\n } else if (keyword === 'trigger') {\n const data = parseTriggerDeclaration(context, line);\n const name = /^trigger\\s+([A-Za-z_]\\w*)$/.exec(line.content)?.[1];\n if (name !== undefined) declaredTriggers.push({ name, data });\n } else if (opaqueTopLevel.has(keyword)) {\n if (keyword === 'behavior' || keyword === 'layout') collectInputUses(context, line);\n else context.skipOpaqueBlock(line.indent);\n } else if (placedBody?.tryParse(context, line) !== true) {\n reportUnexpectedTopLevel(context, line, placement);\n }\n }\n if (moduleBody !== undefined) {\n modules.unshift(moduleBody.build(context.start, true));\n } else if (featureBody !== undefined) {\n modules.unshift(place(placement, featureBody.build(context.start, true), context.start));\n }\n const root: ApplicationSyntax = { kind: 'ApplicationSyntax', ...(reactionProductionMode === null ? {} : { reactionProductionMode }), ...(identity === null ? {} : { identity }), sourceOptions: context.sourceOptions, domain, imports, concepts, types, systems, eventSources, examples, modules, personas, policies, purposes, seeds, declaredTriggers, fileImports, ...(exposures.length > 0 ? { exposures } : {}), ...(instanceContributions.length > 0 ? { instanceContributions } : {}), location: context.start };\n if (context.authoredDeclarations) recordAuthoredDocument(root);\n return root;\n}\n\nfunction declaresConstruct(keyword: string, line: SourceLine, placement: PlayPlacement): boolean {\n if (keyword === 'import') {\n return importPattern.test(line.content);\n }\n if (keyword === 'module') {\n return isDocumentPlacement(placement);\n }\n if (keyword === 'identity') return line.content === 'identity';\n return keyword === 'purpose' || keyword === 'example' || keyword === 'exposure' || keyword === 'instance' || keyword === 'eventsource' || keyword === 'system' || keyword === 'concept' || keyword === 'type' || keyword === 'persona' || opaqueTopLevel.has(keyword);\n}\n\nfunction parseModuleInPlacedFile(context: ParserContext, line: SourceLine, placement: PlayPlacement, moduleBody: ModuleBody | undefined): void {\n const name = modulePattern.exec(line.content)?.[1] ?? '';\n\n // Restating the module a file is placed in says nothing new, so its body simply joins the placement.\n if (moduleBody !== undefined && name === placement[0]) {\n context.authoredDeclarations = true;\n moduleBody.parseChildren(context, line);\n return;\n }\n context.error(DiagnosticCodes.ModuleInPlacedFile,\n `This file is imported into ${describePlacement(placement)}, so it cannot declare module '${name}' - import it at the top level of a document instead`, locationOf(line));\n context.skipBlock(line.indent);\n}\n\nfunction reportUnexpectedTopLevel(context: ParserContext, line: SourceLine, placement: PlayPlacement): void {\n const word = firstWord(line.content);\n if (!isDocumentPlacement(placement)) {\n const expected = placement.length === 1 ? moduleBodyExpected : featureBodyExpected;\n context.error(DiagnosticCodes.UnexpectedInPlacedFile,\n `Unexpected '${word}' in a file imported into ${describePlacement(placement)} - expected an application declaration or ${expected}`, locationOf(line));\n } else {\n const hint = bodyKeywords.has(word)\n ? ` - '${word}' belongs in a module or feature; wrap it in one, or import this file from inside one`\n : ' - expected domain, import, concept, type, policy, persona, authentication, identity, module, seed, trigger, behavior, ui profile, theme, sample data or layout';\n context.error(DiagnosticCodes.UnknownTopLevelConstruct, `Unexpected '${word}' at the top level${hint}`, locationOf(line));\n }\n context.skipBlock(line.indent);\n}\n\n// Wraps the feature a file is placed in in the features and module around it, each marked as a placement.\nfunction place(placement: PlayPlacement, innermost: FeatureSyntax, start: SourceLocation): ModuleSyntax {\n let feature = innermost;\n for (let index = placement.length - 2; index >= 1; index--) {\n feature = {\n kind: 'FeatureSyntax', name: placement[index], description: null, authorize: null,\n features: [feature], slices: [], fileImports: [], isPlacement: true, location: start,\n };\n }\n return {\n kind: 'ModuleSyntax', name: placement[0], description: null, authorize: null,\n features: [feature], fileImports: [], isPlacement: true, location: start,\n };\n}\n\nfunction parseDomain(context: ParserContext, line: SourceLine, existing: DomainSyntax | null, sawOtherConstruct: boolean): DomainSyntax | null {\n const match = domainPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidDomainDeclaration, `Invalid domain declaration '${line.content}' - expected 'domain <Qualified.Name>'`, locationOf(line));\n return existing;\n }\n if (existing !== null) {\n context.error(DiagnosticCodes.DuplicateDomain, 'The document already declares a domain - a document can have at most one', locationOf(line));\n return existing;\n }\n if (sawOtherConstruct) {\n context.error(DiagnosticCodes.DomainNotFirst, '\\'domain\\' must be declared before any other construct', locationOf(line));\n }\n return { kind: 'DomainSyntax', name: match[1], location: locationOf(line) };\n}\n\nfunction warnOnTabIndentation(context: ParserContext, lines: readonly SourceLine[]): void {\n let inFence = false;\n for (const line of lines) {\n if (line.raw.trimStart().startsWith('```')) {\n inFence = !inFence;\n continue;\n }\n if (!inFence && tabIndentPattern.test(line.raw)) {\n context.warning(DiagnosticCodes.TabIndentation, 'Screenplay is indentation based - use spaces, not tabs', startOf(line));\n }\n }\n}\n\nfunction parseConcept(context: ParserContext, line: SourceLine): ConceptSyntax {\n const match = conceptPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidConceptDeclaration, `Invalid concept declaration '${line.content}' - expected 'concept <Name> : <Type>'`, locationOf(line));\n context.skipBlock(line.indent);\n return { kind: 'ConceptSyntax', name: firstWord(line.content), type: '', attributes: [], values: [], location: locationOf(line) };\n }\n const [, name, type, attributeText] = match;\n const attributes = parseComplianceMarkers(context, line, name, attributeText);\n if (type !== 'Enum' && !primitiveTypes.includes(type)) {\n context.error(DiagnosticCodes.UnknownPrimitiveType, `Unknown primitive type '${type}' - expected ${primitiveTypes.join(', ')} or Enum`, locationOf(line));\n }\n const values: string[] = [];\n const members = new EnumerationMembers();\n let generation: GenerationSyntax | null = null;\n let declaredGeneration = false;\n let description: string | null = null;\n const validations: ValidateSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const memberName = type === 'Enum' ? members.tryNumbered(context, child) : undefined;\n if (memberName !== undefined) {\n values.push(memberName);\n } else if (firstWord(child.content) === 'description' && (type !== 'Enum' || child.content !== 'description' || context.peekChild(child.indent)?.content.startsWith('```') === true)) {\n description = parseDescription(context, child, description, `Concept '${name}'`);\n } else if (isFileDirective(child)) {\n continue;\n } else if (firstWord(child.content) === 'validate') {\n if (type === 'Enum' && child.content === 'validate' && context.peekChild(child.indent) === undefined) {\n context.warning(DiagnosticCodes.ValidateReadAsEnumerationBlock,\n `'validate' in enumeration concept '${name}' declares an empty validate block, not a value named 'validate' - write '@validate' for the value`,\n locationOf(child));\n }\n const parsed = parseValidate(context, child, 'concept');\n if (parsed !== undefined) validations.push(parsed);\n } else if (firstWord(child.content) === 'generate' && !(type === 'Enum' && child.content === 'generate')) {\n if (declaredGeneration) context.error(DiagnosticCodes.DuplicateGeneration, `Concept '${name}' declares generation more than once.`, locationOf(child));\n const parsed = parseGeneration(context, child, type);\n if (!declaredGeneration) generation = parsed;\n declaredGeneration = true;\n } else if (parseComplianceDirective(context, child, name, attributes)) {\n // Compliance directives are modeled by their original concept marker.\n } else if (type === 'Enum' && enumValuePattern.test(child.content)) {\n values.push(unescapeIdentifier(child.content));\n } else if (type === 'Enum') {\n context.error(DiagnosticCodes.InvalidEnumerationValue, `Invalid enum value '${child.content}' - expected an identifier`, locationOf(child));\n } else {\n context.error(DiagnosticCodes.UnknownConceptDirective, `Unexpected '${child.content}' in concept body - expected validate, generate, 'file <path>' or '<attribute> reason \"<text>\"'`, locationOf(child));\n context.skipBlock(child.indent);\n }\n }\n const valueNumbers = members.finish(context, line, values.length);\n return { kind: 'ConceptSyntax', name, type, attributes, values, validations, description, ...(generation === null ? {} : { generation }), ...(valueNumbers === undefined ? {} : { valueNumbers }), location: locationOf(line) };\n}\n\n// 'persona <Name>' with an optional description and the policies it holds - the port of the C# ParsePersona.\nfunction parsePersona(context: ParserContext, line: SourceLine): PersonaSyntax {\n const name = personaPattern.exec(line.content)?.[1] ?? '';\n if (name === '') {\n context.error(DiagnosticCodes.InvalidPersonaDeclaration, `Invalid persona declaration '${line.content}' - expected 'persona <Name>'`, locationOf(line));\n }\n let description: string | null = null;\n const policies: string[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const keyword = firstWord(child.content);\n if (keyword === 'description') {\n description = parseDescription(context, child, description, `Persona '${name}'`);\n } else if (keyword === 'policy') {\n const policy = personaPolicyPattern.exec(child.content);\n if (policy === null) {\n context.error(DiagnosticCodes.InvalidPersonaPolicyReference, `Invalid policy reference '${child.content}' - expected 'policy <Name>'`, locationOf(child));\n } else {\n policies.push(policy[1]);\n }\n } else {\n context.error(DiagnosticCodes.UnknownPersonaDirective, `Unexpected '${keyword}' in persona body - expected description or policy`, locationOf(child));\n context.skipBlock(child.indent);\n }\n }\n return { kind: 'PersonaSyntax', name, description, policies, location: locationOf(line) };\n}\n"],"mappings":"m5DAkDA,MAAMA,EAAgBC,EAAQ,kDAAkD,EAC1EC,EAAgBD,EAAQ,iDAAiDE,EAAkB,MAAM,EACjGC,EAAiBH,EAAQ,qDAAqD,EAC9EI,EAAmBJ,EAAQ,gBAAgB,EAC3CK,EAAiBL,EAAQ,8BAA8B,EACvDM,EAAuBN,EAAQ,6BAA6B,EAC5DO,EAAmB,UACnBC,EAAiB,CAAC,OAAQ,SAAU,MAAO,UAAW,OAAQ,OAAQ,UAAU,EAIhFC,kBAAiB,IAAI,IAAI,CAAC,SAAU,iBAAkB,OAAQ,KAAM,QAAS,UAAW,SAAU,WAAY,QAAQ,CAAC,EAGvHC,kBAAe,IAAI,IAAI,CAAC,QAAS,UAAW,cAAe,gBAAiB,YAAa,SAAU,SAAU,OAAQ,aAAc,KAAM,MAAM,CAAC,EAItJ,SAAgB,iBAAiB,EAAwB,EAA8B,EAA2BC,EAAsC,CACpJ,EAAQ,wBAA0B,GAClC,qBAAqBC,EAASC,CAAK,EACnC,IAAMC,EAAaC,EAAU,SAAW,EAAI,IAAIC,EAAWD,EAAU,EAAE,EAAI,IAAA,GACrEE,EAAcF,EAAU,OAAS,EAAI,IAAIG,EAAYH,EAAUA,EAAU,OAAS,EAAE,EAAI,IAAA,GACxFI,EAAaL,GAAcG,EAC7BG,EAAkC,KAClCC,EAAwD,KACxDC,EAAqB,GACrBC,EAA8B,KAC5BC,EAA0B,CAAC,EAC3BC,EAAkC,CAAC,EACnCC,EAA4B,CAAC,EAC7BC,EAAsB,CAAC,EACvBC,EAA0B,CAAC,EAC3BC,EAAoC,CAAC,EACrCC,EAA0B,CAAC,EAC3BC,EAA4B,CAAC,EAC7BC,EAA2B,CAAC,EAC5BC,EAA4B,CAAC,EAC7BC,EAAsB,CAAC,EACvBC,EAAyC,CAAC,EAC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IAAM,GACnD0B,IAAS,IACTtD,EAAQ,MAAMgC,EAAgB,0BAA2B,gCAAgCJ,EAAK,QAAQ,+BAAgCK,EAAWL,CAAI,CAAC,EAE1J,IAAIqD,EAA6B,KAC3B7D,EAAqB,CAAC,EAC5B,IAAK,IAAI+D,EAAQnF,EAAQ,UAAU4B,EAAK,MAAM,EAAGuD,IAAU,IAAA,GAAW,EAAQnF,EAAQ,UAAU4B,EAAK,MAAM,EAAG,CAC1G5B,EAAQ,OAAO,gBAAgB,EAC/B,IAAM6B,EAAUC,EAAUqD,EAAM,OAAO,EACvC,GAAItD,IAAY,cACZ,EAAcwD,EAAiBrF,EAASmF,EAAOF,EAAa,YAAY3B,EAAK,EAAE,OAC5E,GAAIzB,IAAY,SAAU,CAC7B,IAAMgE,EAASnG,EAAqB,KAAKyF,EAAM,OAAO,EAClDU,IAAW,KACX7F,EAAQ,MAAMgC,EAAgB,8BAA+B,6BAA6BmD,EAAM,QAAQ,8BAA+BlD,EAAWkD,CAAK,CAAC,EAExJ/D,EAAS,KAAKyE,EAAO,EAAE,CAE/B,MACI7F,EAAQ,MAAMgC,EAAgB,wBAAyB,eAAeH,EAAQ,oDAAqDI,EAAWkD,CAAK,CAAC,EACpJnF,EAAQ,UAAUmF,EAAM,MAAM,CAEtC,CACA,MAAO,CAAE,KAAM,gBAAiB,OAAM,cAAa,WAAU,SAAUlD,EAAWL,CAAI,CAAE,CAC5F"}
|
|
@@ -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 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 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 { 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":"AA4BA,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.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],[`ref`,229],[`array`,42],[`ref`,206],[`array`,44],[`union`,45,8],[`enum`,`legacy`,`exact`],[`object`,[[23,47,!0]]],[`ref`,104],[`array`,49],[`ref`,208],[`array`,51],[`ref`,251],[`array`,53],[`union`,54,8],[`ref`,253],[`array`,56],[`union`,57,8],[`ref`,255],[`array`,59],[`union`,60,8],[`ref`,257],[`array`,62],[`union`,63,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,46,!1],[22,48,!1],[24,50,!1],[25,52,!1],[26,55,!1],[27,58,!1],[28,61,!1],[29,64,!1]]],[`object`,[[30,0,!0]]],[`ref`,4,6],[`array`,67],[`integer`,-2147483648,2147483647],[`union`,69,8],[`number`],[`union`,71,8],[`enum`,`Flat`,`Row`,`Column`,`Grid`],[`object`,[[31,68,!1],[32,70,!1],[33,70,!1],[34,72,!1],[35,70,!1],[36,70,!1],[37,73,!0]]],[`union`,0,8],[`object`,[[38,75,!1],[39,67,!0],[40,75,!1]]],[`boolean`],[`object`,[[34,77,!1],[41,72,!1],[38,70,!1],[42,0,!0],[36,70,!1],[40,70,!1]]],[`enum`,`Flow`,`Freeform`],[`ref`,5],[`array`,80],[`union`,81,8],[`union`,67,8],[`ref`,263],[`array`,84],[`union`,85,8],[`object`,[[43,79,!0],[44,82,!1],[39,83,!1],[45,86,!1]]],[`object`,[]],[`object`,[[46,75,!1],[42,0,!0]]],[`ref`,9],[`array`,90],[`object`,[[47,91,!1]]],[`ref`,131,146],[`object`,[[48,93,!0]]],[`ref`,12],[`array`,95],[`ref`,15],[`union`,97,8],[`object`,[[31,96,!1],[49,75,!1],[50,0,!0],[51,75,!1],[52,98,!1],[53,0,!0]]],[`object`,[[54,0,!0],[53,0,!0]]],[`ref`,13],[`union`,101,8],[`enum`,`Unspecified`,`Inherit`,`Extend`,`Override`],[`enum`,`Topbar`,`Sidebar`],[`object`,[[55,96,!1],[56,102,!1],[43,103,!0],[57,104,!0]]],[`object`,[[58,75,!1],[59,0,!0]]],[`object`,[[42,0,!0],[1,0,!0]]],[`ref`,254],[`union`,108,8],[`object`,[[42,0,!0],[60,109,!1]]],[`ref`,118],[`array`,111],[`ref`,82],[`union`,113,8],[`ref`,17],[`array`,115],[`object`,[[61,112,!1],[62,75,!1],[63,114,!1],[42,75,!1],[64,70,!1],[65,116,!1]]],[`enum`,`Click`,`DoubleClick`,`Select`,`Submit`,`Change`,`Load`,`Unload`,`Enter`,`Leave`,`Unknown`],[`object`,[[37,118,!0]]],[`ref`,156],[`array`,120],[`ref`,245],[`array`,122],[`union`,123,8],[`ref`,29],[`union`,125,8],[`object`,[[66,0,!0],[3,121,!1],[67,124,!1],[68,126,!1]]],[`ref`,20],[`array`,128],[`ref`,22,26],[`array`,130],[`object`,[[69,129,!1],[70,0,!0],[71,131,!1],[0,0,!0]]],[`ref`,28],[`array`,133],[`object`,[[0,0,!0],[72,1,!0],[73,134,!1]]],[`object`,[[69,129,!1],[71,131,!1],[0,0,!0]]],[`ref`,24],[`array`,137],[`object`,[[74,138,!1],[37,0,!0]]],[`array`,0],[`object`,[[75,0,!0],[72,1,!0],[76,140,!1]]],[`ref`,21],[`array`,142],[`ref`,23],[`array`,144],[`ref`,25],[`union`,146,8],[`object`,[[69,129,!1],[31,143,!1],[77,75,!1],[71,131,!1],[42,0,!0],[78,145,!1],[72,147,!1],[22,48,!1]]],[`object`,[[79,0,!0],[80,0,!0]]],[`enum`,`PropertyChanged`,`Added`,`Removed`,`Changed`,`LogicalOr`,`LogicalAnd`,`ValueTransition`,`Expression`],[`object`,[[81,75,!1],[82,75,!1],[83,140,!1],[37,150,!0],[84,75,!1]]],[`object`,[[0,75,!1]]],[`object`,[[85,0,!0]]],[`ref`,1,32,41,76,100,124,136,154,177,178],[`array`,154],[`object`,[[2,3,!0],[86,155,!1],[70,1,!0],[0,0,!0]]],[`union`,1,8],[`object`,[[87,0,!0],[88,157,!1],[89,77,!0]]],[`object`,[[87,0,!0]]],[`ref`,43],[`object`,[[90,160,!0]]],[`object`,[[63,113,!0]]],[`ref`,38],[`array`,163],[`object`,[[62,75,!1],[91,164,!1]]],[`ref`,34,35,36,39],[`object`,[[42,0,!0],[72,166,!0],[60,108,!0]]],[`object`,[[92,1,!0],[93,0,!0]]],[`object`,[[0,0,!0]]],[`object`,[[66,0,!0]]],[`ref`,117],[`array`,171],[`ref`,42,57,77,134,135,138,139,166,176,211],[`array`,173],[`object`,[[94,172,!1],[95,174,!1],[96,174,!1],[97,174,!1]]],[`object`,[[90,0,!0],[98,0,!0]]],[`ref`,256],[`object`,[[99,177,!0],[42,0,!0]]],[`ref`,182,184,187,188,189,191,193,194,195,196,198,199,201,202,203],[`array`,179],[`object`,[[100,180,!1],[42,0,!0]]],[`union`,177,8],[`object`,[[99,182,!1],[0,0,!0],[1,157,!1]]],[`ref`,11],[`union`,184,8],[`ref`,56],[`union`,186,8],[`ref`,101],[`union`,188,8],[`ref`,151],[`array`,190],[`ref`,157],[`array`,192],[`ref`,173],[`array`,194],[`union`,195,8],[`ref`,160,161],[`union`,197,8],[`ref`,49],[`union`,199,8],[`array`,199],[`ref`,47,63],[`array`,202],[`object`,[[101,185,!1],[102,187,!1],[62,75,!1],[103,75,!1],[104,189,!1],[42,0,!0],[105,191,!1],[83,193,!1],[106,196,!1],[107,198,!1],[108,200,!1],[109,201,!1],[110,203,!1]]],[`union`,192,8],[`union`,120,8],[`object`,[[111,0,!0],[112,205,!1],[108,0,!0],[113,206,!1],[114,121,!1]]],[`object`,[[111,0,!0],[108,75,!1]]],[`enum`,`Equal`,`NotEqual`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Contains`,`StartsWith`],[`object`,[[115,0,!0],[116,209,!0],[117,1,!0]]],[`ref`,125],[`array`,211],[`object`,[[118,212,!1],[60,0,!0]]],[`object`,[[119,77,!1],[42,0,!0],[120,75,!1],[121,75,!1],[122,75,!1]]],[`ref`,53],[`array`,215],[`ref`,55],[`union`,217,8],[`union`,203,8],[`array`,69],[`union`,220,8],[`object`,[[123,216,!1],[62,75,!1],[63,114,!1],[124,218,!1],[42,0,!0],[60,0,!0],[110,219,!1],[125,221,!1],[126,140,!1]]],[`union`,160,8],[`object`,[[127,75,!1],[128,75,!1],[129,75,!1],[90,223,!1],[130,70,!1],[131,75,!1],[63,114,!1],[132,75,!1],[133,75,!1],[134,75,!1],[135,75,!1],[136,70,!1],[137,0,!0]]],[`object`,[[111,77,!0],[138,75,!1],[139,75,!1],[140,75,!1],[141,140,!1]]],[`object`,[[94,172,!1],[142,0,!0],[143,77,!0],[95,174,!1],[96,174,!1],[97,174,!1]]],[`object`,[[144,0,!0]]],[`ref`,61],[`union`,228,8],[`ref`,193],[`union`,230,8],[`object`,[[145,0,!0],[146,229,!1],[147,75,!1],[49,75,!1],[50,75,!1],[148,75,!1],[149,231,!1],[64,70,!1],[150,75,!1]]],[`enum`,`Outlet`,`Dialog`,`External`],[`object`,[[37,233,!0],[52,0,!0]]],[`ref`,179],[`array`,235],[`union`,236,8],[`ref`,262],[`array`,238],[`object`,[[151,237,!1],[152,239,!1]]],[`ref`,7],[`union`,241,8],[`ref`,91],[`array`,243],[`ref`,209],[`array`,245],[`ref`,210],[`array`,247],[`ref`,213],[`array`,249],[`ref`,261],[`array`,251],[`object`,[[153,242,!1],[5,11,!1],[154,75,!1],[155,244,!1],[62,75,!1],[156,75,!1],[157,246,!1],[42,0,!0],[158,248,!1],[159,77,!1],[160,140,!1],[161,140,!1],[162,250,!1],[163,75,!1],[164,252,!1]]],[`object`,[[42,0,!0]]],[`object`,[[165,0,!0]]],[`ref`,73],[`array`,256],[`object`,[[62,75,!1],[50,75,!1],[166,109,!1],[42,0,!0],[167,257,!1]]],[`object`,[[42,0,!0],[60,108,!0]]],[`ref`,72],[`array`,260],[`object`,[[62,75,!1],[50,75,!1],[42,0,!0],[113,109,!1],[114,261,!1]]],[`object`,[[66,0,!0],[77,157,!1]]],[`integer`,0,4294967295],[`enum`,`Private`,`Public`],[`object`,[[62,75,!1],[103,75,!1],[63,114,!1],[124,264,!1],[168,77,!1],[50,75,!1],[42,0,!0],[169,75,!1],[83,193,!1],[67,124,!1],[170,265,!1]]],[`object`,[[2,3,!0],[171,77,!0],[3,5,!1]]],[`object`,[[94,172,!1],[172,0,!0],[95,174,!1],[96,174,!1],[97,174,!1]]],[`object`,[[81,1,!0]]],[`ref`,60],[`array`,270],[`union`,271,8],[`ref`,260],[`array`,273],[`ref`,79],[`array`,275],[`ref`,149],[`array`,277],[`ref`,212],[`array`,279],[`object`,[[101,185,!1],[5,11,!1],[173,272,!1],[174,274,!1],[62,75,!1],[103,75,!1],[9,19,!1],[175,276,!1],[11,23,!1],[176,77,!0],[42,0,!0],[19,278,!1],[177,280,!1],[25,52,!1],[164,252,!1]]],[`ref`,80,258,259],[`array`,282],[`object`,[[178,283,!1],[62,75,!1],[63,113,!0],[179,77,!0],[142,75,!1],[42,0,!0],[180,140,!1]]],[`object`,[[132,0,!0]]],[`object`,[[148,75,!1],[0,0,!0]]],[`ref`,85],[`array`,287],[`object`,[[181,0,!0],[83,288,!1]]],[`object`,[[182,0,!0],[183,140,!1],[184,77,!0],[148,75,!1],[185,140,!1],[144,0,!0],[186,75,!1],[187,77,!0]]],[`ref`,87],[`array`,291],[`object`,[[173,292,!1],[188,0,!0]]],[`ref`,88],[`array`,294],[`object`,[[182,0,!0],[55,295,!1],[144,0,!0],[1,157,!1]]],[`ref`,89],[`array`,297],[`object`,[[50,0,!0],[126,298,!1]]],[`object`,[[189,0,!0],[1,1,!0]]],[`object`,[[145,0,!0],[100,180,!1],[64,70,!1]]],[`object`,[[100,180,!1],[51,0,!0]]],[`ref`,95],[`union`,303,8],[`ref`,93],[`array`,305],[`ref`,94],[`array`,307],[`object`,[[190,304,!1],[32,306,!1],[191,308,!1],[192,304,!1]]],[`object`,[[193,69,!0],[194,304,!1],[195,304,!1],[40,304,!1]]],[`object`,[[196,69,!0],[197,70,!1],[189,0,!0],[198,69,!0],[199,70,!1],[40,304,!1]]],[`enum`,`Fraction`,`Pixels`,`Percent`,`Auto`],[`object`,[[200,312,!0],[1,72,!1]]],[`object`,[[201,75,!1],[79,75,!1],[148,75,!1],[0,0,!0]]],[`object`,[[92,75,!1],[93,0,!0]]],[`enum`,`Unspecified`,`Auto`,`Manual`],[`ref`,83],[`array`,317],[`ref`,96],[`array`,319],[`ref`,92],[`union`,321,8],[`ref`,97,98],[`union`,323,8],[`object`,[[5,11,!1],[202,316,!0],[32,318,!1],[62,75,!1],[203,320,!1],[204,0,!0],[205,316,!0],[206,322,!1],[42,0,!0],[207,231,!1],[208,324,!1],[164,252,!1]]],[`ref`,74],[`array`,326],[`ref`,52,78],[`union`,328,8],[`object`,[[209,327,!1],[77,329,!1],[3,5,!1],[210,157,!1]]],[`ref`,102],[`union`,331,8],[`object`,[[90,223,!1],[63,114,!1],[211,332,!1]]],[`ref`,103],[`array`,334],[`object`,[[212,335,!1]]],[`object`,[[213,0,!0]]],[`object`,[[62,75,!1],[42,0,!0]]],[`ref`,106],[`union`,339,8],[`object`,[[214,340,!1],[62,75,!1],[215,340,!1],[216,193,!1],[42,0,!0],[217,0,!0]]],[`object`,[[90,223,!1],[62,75,!1],[63,114,!1],[211,332,!1]]],[`ref`,235],[`union`,343,8],[`ref`,234],[`union`,345,8],[`object`,[[62,75,!1],[204,157,!1],[218,121,!1],[42,0,!0],[219,344,!1],[108,346,!1],[60,0,!0],[126,121,!1]]],[`object`,[[42,0,!0],[126,121,!1]]],[`object`,[[220,0,!0]]],[`object`,[[220,0,!0],[126,121,!1]]],[`object`,[[169,75,!1],[221,0,!0],[170,265,!1]]],[`ref`,51,129],[`object`,[[222,174,!1],[223,352,!0]]],[`object`,[[222,174,!1]]],[`object`,[[99,0,!0],[42,0,!0]]],[`ref`,115],[`array`,356],[`ref`,116],[`union`,358,8],[`ref`,3,19,69,119],[`object`,[[222,174,!1],[224,357,!1],[223,75,!1],[225,359,!1],[226,360,!0]]],[`enum`,`Seconds`,`Minutes`,`Hours`,`Days`],[`object`,[[227,69,!0],[200,362,!0]]],[`ref`,122],[`array`,364],[`object`,[[172,0,!0],[3,121,!1],[228,365,!1]]],[`object`,[[229,77,!0],[230,75,!1],[105,191,!1],[231,0,!0]]],[`object`,[[2,3,!0],[66,0,!0],[3,5,!1]]],[`ref`,123],[`array`,369],[`object`,[[209,370,!1],[232,0,!0],[0,0,!0]]],[`object`,[[81,1,!0],[0,0,!0]]],[`ref`,14],[`array`,373],[`object`,[[153,242,!1],[5,11,!1],[154,75,!1],[157,246,!1],[42,0,!0],[233,374,!1],[158,248,!1],[159,77,!1],[160,140,!1],[161,140,!1],[162,250,!1],[163,75,!1],[164,252,!1]]],[`array`,1],[`object`,[[55,376,!1]]],[`union`,0,77,8],[`number`,-17976931348623157e292,17976931348623157e292],[`enum`,`Int32`,`Int64`,`Decimal`,`Single`],[`string`,`^-?[0-9]+(\\.[0-9]+)?([Ee][+-]?[0-9]+)?$`],[`object`,[[234,380,!0],[1,381,!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`,[[234,383,!0],[1,384,!0]]],[`union`,378,379,382,385],[`object`,[[1,386,!1]]],[`enum`,`And`,`Or`],[`object`,[[115,352,!0],[116,388,!0],[117,352,!0]]],[`ref`,8,33,130,137,180],[`object`,[[115,390,!0],[116,388,!0],[117,390,!0]]],[`object`,[[115,93,!0],[116,388,!0],[117,93,!0]]],[`ref`,65],[`array`,393],[`union`,394,8],[`ref`,99],[`array`,396],[`union`,397,8],[`ref`,200],[`array`,399],[`object`,[[101,185,!1],[5,11,!1],[173,272,!1],[174,274,!1],[62,75,!1],[235,395,!1],[103,75,!1],[9,19,!1],[175,276,!1],[11,23,!1],[236,398,!1],[176,77,!0],[42,0,!0],[233,374,!1],[19,278,!1],[237,400,!1],[25,52,!1],[164,252,!1]]],[`object`,[[94,172,!1],[95,174,!1],[96,174,!1],[97,174,!1],[238,0,!0]]],[`object`,[[2,3,!0],[86,155,!1],[0,0,!0]]],[`object`,[[239,390,!0]]],[`enum`,`Info`,`Warning`,`Error`,`Unknown`],[`object`,[[94,172,!1],[240,405,!0],[142,0,!0],[143,77,!0],[95,174,!1],[96,174,!1],[97,174,!1]]],[`object`,[[94,172,!1],[241,0,!0],[95,174,!1],[96,174,!1],[97,174,!1]]],[`ref`,141],[`array`,408],[`object`,[[242,409,!1]]],[`object`,[[42,0,!0],[1,1,!0]]],[`object`,[[90,223,!1],[63,114,!1]]],[`object`,[[62,75,!1],[42,0,!0],[18,140,!1]]],[`object`,[[243,77,!1],[244,75,!1],[245,75,!1],[246,0,!0],[247,70,!1],[248,70,!1]]],[`union`,390,8],[`object`,[[90,223,!1],[223,415,!1],[62,75,!1],[63,114,!1],[42,0,!0]]],[`ref`,150],[`array`,417],[`object`,[[249,75,!1],[250,75,!1],[251,75,!1],[223,75,!1],[252,75,!1],[62,75,!1],[253,75,!1],[254,75,!1],[42,0,!0],[255,140,!1],[256,75,!1],[257,140,!1],[258,418,!1]]],[`object`,[[146,0,!0],[259,0,!0]]],[`ref`,75],[`union`,421,8],[`ref`,105],[`union`,423,8],[`union`,352,8],[`object`,[[66,0,!0],[204,157,!1],[260,422,!1],[261,424,!1],[3,121,!1],[108,200,!1],[67,124,!1],[68,425,!1]]],[`object`,[[2,3,!0],[86,155,!1],[62,75,!1],[63,114,!1],[77,329,!1],[42,0,!0],[262,75,!1],[263,75,!1],[22,48,!1]]],[`ref`,152],[`array`,428],[`object`,[[86,155,!1],[264,429,!1],[42,0,!0]]],[`object`,[[0,0,!0],[72,1,!0]]],[`object`,[[265,77,!1],[266,77,!1],[267,77,!1],[268,77,!1],[42,0,!0],[60,108,!0]]],[`ref`,158],[`object`,[[42,0,!0],[72,433,!0],[60,109,!1]]],[`object`,[[72,433,!0]]],[`ref`,159],[`array`,436],[`object`,[[203,437,!1]]],[`object`,[[1,1,!0]]],[`object`,[[203,121,!1]]],[`object`,[[42,0,!0],[72,157,!1],[60,108,!0]]],[`ref`,164],[`union`,442,8],[`array`,442],[`ref`,143],[`union`,445,8],[`object`,[[101,185,!1],[92,443,!1],[269,444,!1],[62,75,!1],[270,444,!1],[271,77,!1],[42,0,!0],[272,446,!1],[273,108,!0],[121,75,!1]]],[`object`,[[94,172,!1],[95,174,!1],[96,174,!1],[97,174,!1],[226,0,!0]]],[`object`,[[274,140,!1],[37,0,!0]]],[`ref`,50],[`union`,450,8],[`ref`,168],[`union`,452,8],[`ref`,170],[`array`,454],[`object`,[[62,75,!1],[103,75,!1],[79,451,!1],[42,0,!0],[275,453,!1],[27,455,!1],[276,425,!1]]],[`ref`,252],[`array`,457],[`ref`,121],[`array`,459],[`union`,460,8],[`union`,191,8],[`ref`,120,133,181],[`object`,[[90,223,!1],[277,458,!1],[62,75,!1],[63,114,!1],[278,461,!1],[105,462,!1],[106,196,!1],[72,463,!0]]],[`object`,[[279,0,!0]]],[`object`,[[62,75,!1],[103,75,!1],[63,114,!1],[42,0,!0],[83,193,!1]]],[`object`,[[46,75,!1],[92,75,!1],[269,121,!1],[262,0,!0]]],[`object`,[[90,223,!1],[62,75,!1],[66,0,!0],[63,114,!1]]],[`ref`,174],[`array`,469],[`object`,[[62,75,!1],[79,451,!1],[42,0,!0],[262,0,!0],[152,470,!1]]],[`object`,[[94,172,!1],[95,174,!1],[96,174,!1],[97,174,!1],[93,0,!0]]],[`object`,[[66,0,!0],[77,157,!1],[210,157,!1]]],[`enum`,`Error`,`Information`,`Warning`],[`object`,[[223,352,!0],[142,75,!1],[280,474,!0]]],[`object`,[[281,0,!0]]],[`enum`,`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`union`,477,8],[`string`,`^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]{1,7})?$`],[`object`,[[282,70,!1],[283,478,!1],[284,479,!0]]],[`object`,[[172,0,!0],[148,75,!1],[149,231,!1]]],[`ref`,185],[`array`,482],[`ref`,186],[`union`,484,8],[`object`,[[224,483,!1],[148,0,!0],[149,231,!1],[225,485,!1]]],[`object`,[[94,172,!1],[172,0,!0],[223,352,!0]]],[`enum`,`Hidden`,`Execute`,`Unknown`],[`object`,[[94,172,!1],[172,75,!1],[285,488,!0]]],[`object`,[[286,10,!0]]],[`ref`,44],[`array`,491],[`ref`,45],[`array`,493],[`ref`,155],[`array`,495],[`ref`,46],[`array`,497],[`object`,[[5,11,!1],[182,0,!0],[287,182,!1],[157,492,!1],[49,75,!1],[42,0,!0],[158,494,!1],[150,496,!1],[83,498,!1],[288,75,!1],[164,252,!1]]],[`object`,[[92,75,!1],[93,0,!0],[60,108,!0]]],[`object`,[[148,0,!0],[0,0,!0]]],[`ref`,183],[`array`,502],[`object`,[[92,75,!1],[289,75,!1],[65,503,!1],[290,75,!1],[238,0,!0]]],[`ref`,192],[`array`,505],[`object`,[[203,506,!1],[52,0,!0]]],[`ref`,90],[`array`,508],[`object`,[[173,509,!1],[62,75,!1],[100,180,!1],[63,114,!1],[42,0,!0]]],[`ref`,190],[`array`,511],[`object`,[[5,11,!1],[32,512,!1],[291,231,!1],[52,0,!0],[164,252,!1]]],[`ref`,195],[`array`,514],[`object`,[[292,75,!1],[42,0,!0],[162,515,!1],[293,75,!1]]],[`object`,[[153,242,!1],[5,11,!1],[154,75,!1],[155,244,!1],[62,75,!1],[156,75,!1],[157,246,!1],[294,75,!1],[42,0,!0],[158,248,!1],[159,77,!1],[160,140,!1],[161,140,!1],[162,250,!1],[163,75,!1],[164,252,!1]]],[`ref`,246],[`array`,518],[`ref`,247],[`array`,520],[`object`,[[295,519,!1],[55,521,!1],[42,0,!0]]],[`object`,[[217,251,!0]]],[`object`,[[66,0,!0],[83,121,!1]]],[`ref`,204],[`array`,525],[`object`,[[296,0,!0],[209,526,!1]]],[`ref`,205],[`array`,528],[`object`,[[297,529,!1]]],[`object`,[[292,75,!1],[42,0,!0],[293,75,!1]]],[`object`,[[94,172,!1],[95,174,!1],[96,174,!1],[97,174,!1],[52,0,!0],[1,0,!0]]],[`ref`,27],[`array`,533],[`ref`,48],[`array`,535],[`enum`,`Inbound`,`Outbound`],[`union`,537,8],[`array`,421],[`array`,423],[`ref`,153],[`array`,541],[`ref`,165],[`array`,543],[`ref`,169],[`array`,545],[`ref`,172],[`array`,547],[`union`,548,8],[`ref`,175],[`array`,550],[`union`,551,8],[`ref`,197],[`array`,553],[`ref`,240],[`array`,555],[`enum`,`StateChange`,`StateView`,`Automation`,`Translate`],[`object`,[[298,534,!1],[299,536,!1],[300,283,!1],[62,75,!1],[301,538,!1],[103,75,!1],[209,539,!1],[9,19,!1],[63,114,!1],[42,0,!0],[185,540,!1],[302,542,!1],[19,278,!1],[303,544,!1],[304,546,!1],[305,549,!1],[306,552,!1],[307,554,!1],[308,556,!1],[25,52,!1],[60,557,!0]]],[`object`,[[309,75,!1],[42,0,!0]]],[`object`,[[77,1,!0],[42,0,!0]]],[`object`,[[60,0,!0],[1,0,!0]]],[`ref`,216],[`array`,562],[`object`,[[310,77,!0],[311,563,!1],[274,140,!1]]],[`object`,[[312,0,!0],[313,121,!1]]],[`object`,[[314,0,!0]]],[`object`,[[315,0,!0],[204,157,!1],[218,121,!1],[316,75,!1],[126,121,!1]]],[`ref`,31],[`union`,568,8],[`object`,[[317,569,!1],[42,75,!1]]],[`object`,[[318,0,!0],[204,157,!1],[316,75,!1],[219,344,!1],[108,346,!1],[126,121,!1]]],[`ref`,228],[`object`,[[319,572,!0],[262,0,!0]]],[`enum`,`Text`,`Number`,`Flag`,`Null`],[`object`,[[42,0,!0],[37,574,!0],[1,75,!1]]],[`object`,[[262,0,!0],[320,0,!0]]],[`object`,[[321,77,!0],[42,0,!0]]],[`ref`,232],[`array`,578],[`object`,[[322,75,!1],[42,0,!0],[323,579,!1],[53,75,!1]]],[`ref`,226],[`array`,581],[`object`,[[203,582,!1]]],[`union`,572,8],[`ref`,225],[`array`,585],[`ref`,227],[`array`,587],[`object`,[[324,584,!1],[61,586,!1],[3,588,!1]]],[`ref`,230],[`array`,590],[`object`,[[35,591,!1],[320,0,!0]]],[`object`,[[111,0,!0],[108,0,!0],[113,206,!1],[114,121,!1]]],[`object`,[[325,77,!0],[83,121,!1]]],[`ref`,236],[`array`,595],[`object`,[[94,121,!1],[325,77,!0],[93,0,!0],[326,596,!1]]],[`object`,[[325,77,!0],[316,75,!1],[42,0,!0],[83,121,!1]]],[`object`,[[318,0,!0],[204,157,!1],[219,344,!1],[327,0,!0],[108,346,!1],[126,121,!1]]],[`ref`,109],[`array`,600],[`ref`,224],[`array`,602],[`ref`,218],[`union`,604,8],[`ref`,217],[`union`,606,8],[`ref`,219],[`array`,608],[`ref`,220],[`union`,610,8],[`ref`,110],[`array`,612],[`ref`,238],[`array`,614],[`union`,615,8],[`ref`,108],[`array`,617],[`ref`,215],[`array`,619],[`ref`,112],[`array`,621],[`ref`,222],[`union`,623,8],[`ref`,223],[`array`,625],[`ref`,233],[`union`,627,8],[`ref`,111],[`array`,629],[`ref`,237],[`array`,631],[`ref`,162,163],[`union`,633,8],[`ref`,221],[`union`,635,8],[`union`,602,8],[`union`,608,8],[`ref`,242],[`union`,639,8],[`ref`,239],[`union`,641,8],[`ref`,241],[`union`,643,8],[`object`,[[328,601,!1],[62,75,!1],[9,19,!1],[63,114,!1],[329,603,!1],[330,605,!1],[331,607,!1],[332,609,!1],[333,611,!1],[334,613,!1],[335,616,!1],[42,0,!0],[65,618,!1],[22,48,!1],[336,620,!1],[337,622,!1],[338,624,!1],[339,626,!1],[340,603,!1],[341,77,!0],[342,77,!1],[343,628,!1],[344,630,!1],[345,632,!1],[346,616,!1],[347,596,!1],[348,634,!1],[68,636,!1],[349,637,!1],[350,638,!1],[351,611,!1],[352,640,!1],[353,642,!1],[354,644,!1]]],[`object`,[[226,0,!0],[126,121,!1]]],[`object`,[[94,121,!1],[93,0,!0]]],[`object`,[[77,0,!0]]],[`enum`,`Primary`,`Secondary`,`Quiet`],[`union`,649,8],[`object`,[[355,650,!1],[49,75,!1],[50,0,!0],[356,75,!1],[53,0,!0]]],[`enum`,`Unknown`,`Action`,`Navigate`,`Dialog`],[`object`,[[49,75,!1],[148,75,!1],[42,0,!0],[65,503,!1],[150,496,!1],[37,652,!0],[52,0,!0]]],[`ref`,249,250],[`array`,654],[`object`,[[118,655,!1]]],[`object`,[[357,140,!1],[42,0,!0]]],[`object`,[[277,458,!1],[62,75,!1],[63,114,!1],[42,0,!0]]],[`object`,[[184,77,!0],[358,77,!0],[42,0,!0]]],[`object`,[[62,75,!1],[63,114,!1],[42,0,!0],[83,193,!1]]],[`enum`,`Invalid`,`DataContext`,`QueryResult`,`ComponentProperty`,`Literal`],[`enum`,`OneWay`,`TwoWay`],[`union`,662,8],[`enum`,`Propagate`,`Clear`,`Preserve`],[`union`,664,8],[`object`,[[359,661,!0],[360,75,!1],[361,75,!1],[362,75,!1],[363,157,!1],[43,663,!1],[364,665,!1],[144,0,!0],[93,75,!1],[365,75,!1]]],[`ref`,231],[`union`,667,8],[`object`,[[366,75,!1],[367,140,!1],[206,75,!1],[42,0,!0],[368,140,!1],[369,140,!1],[370,668,!1],[371,75,!1]]],[`object`,[[178,283,!1],[62,75,!1],[66,0,!0],[179,77,!0],[142,75,!1],[42,0,!0],[180,140,!1]]],[`object`,[[372,140,!1],[178,283,!1],[62,75,!1],[66,0,!0],[179,77,!0],[142,75,!1],[42,0,!0],[0,0,!0],[180,140,!1]]],[`object`,[[52,0,!0]]],[`ref`,16],[`array`,673],[`object`,[[94,674,!1],[286,0,!0]]],[`enum`,`NotEmpty`,`Max`,`Min`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Equal`,`Length`,`Matches`,`AllGreaterThan`,`AllGreaterThanOrEqual`,`Rule`,`NotEqual`,`Checksum`],[`object`,[[90,223,!1],[63,114,!1],[211,332,!1],[142,75,!1],[0,0,!0],[135,676,!0],[280,474,!0],[1,157,!1]]],[`ref`,145],[`array`,678],[`object`,[[38,0,!0],[373,679,!1],[40,0,!0]]]],contracts:[2,6,65,66,74,76,78,87,88,89,92,94,99,100,105,106,107,110,117,119,127,132,135,136,107,139,141,148,149,151,152,153,156,158,159,161,162,165,167,168,169,170,175,176,178,181,183,161,204,207,208,210,213,214,222,224,225,226,227,227,232,234,169,240,169,253,254,254,227,255,88,258,259,262,263,266,267,268,269,281,284,285,227,286,289,290,293,296,299,300,301,302,309,310,311,313,314,88,315,325,330,333,336,337,338,341,342,347,259,348,349,350,349,351,169,353,354,355,361,363,363,366,367,368,371,372,375,377,387,389,391,392,401,254,402,175,403,404,406,407,410,411,227,412,413,414,254,416,419,254,420,426,263,427,430,107,431,432,169,434,435,438,439,440,441,447,448,337,449,456,464,465,466,467,468,471,472,263,473,475,476,480,481,178,486,487,489,490,161,499,286,500,501,504,181,181,507,510,513,516,517,337,522,523,524,527,530,431,531,110,254,532,558,559,227,560,561,254,564,565,566,567,88,570,571,573,575,576,577,580,583,589,592,88,593,88,594,597,598,599,645,646,647,648,2,439,651,653,656,269,337,657,110,658,659,660,666,669,670,671,672,675,677,680]};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.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`],[`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};
|
|
2
2
|
//# sourceMappingURL=SyntaxCollections.js.map
|