@cratis/screenplay-language 4.223.0 → 4.225.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.
@@ -1 +1 @@
1
- {"version":3,"file":"ScreenParser.js","names":["operand","stringBodyPattern","header","pattern","data","action","label","guardedAction","navigate","route","outletPattern","contributionPattern","parameter","component","stableId","componentPropertyBinding","componentPropertyLiteral","exposes","presentation","toolbarItem","toolbarButton","toolbarButtonPart","toolbarSlicePath","slot","title","column","rowClick","field","match","quotedGroup","unescapeString","firstWord","line","context","DiagnosticCodes","locationOf","directives","contributions","description","child","parsed","parseDescription","isFileDirective","directive","parent","collectInputUses","parseTypeRef","guarded","parseGuardedAction","text","target","labelMatch","parameters","routeValue","outletValue","parameterMatch","parseFromClause","routeMatch","outletMatch","name","blueprint","version","startsBlueprintReference","reference","parseBlueprintReference","isValidTemplateVersionRange","slots","columns","click","columnMatch","clickMatch","labelled","fields","dataContext","componentStableId","icon","properties","exposedValues","presentationValues","outlets","bound","literal","parseMappingSource","values","items","buttons","button","item","toolbarButtonExpected","head","id","rest","buttonTitle","slice","emphasis","valid","position","part","key","quoted","localized","value","itemLabel","syntaxKind","language","code","parseFencedText"],"sources":["../../../../../../Compiler/Parsing/ScreenParser.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { DiagnosticCodes } from '../Diagnostics/DiagnosticCodes';\nimport {\n ComponentExposedValueSyntax, ComponentOutletSyntax, ComponentPropertySyntax, PresentationValueSyntax,\n ScreenActionSyntax, ScreenGuardedActionSyntax, ScreenCodeSyntax, ScreenColumnSyntax, ScreenComponentSyntax, ScreenDataSyntax, ScreenDirectiveSyntax, ScreenFieldSyntax,\n ScreenNavigateSyntax, ScreenNavigationParameterSyntax, ScreenSectionSyntax, ScreenSlotSyntax, ScreenSummarySyntax, ScreenSyntax, ScreenTableSyntax,\n ScreenTemplateReferenceSyntax, ScreenTitleSyntax, ScreenToolbarSyntax, ToolbarButtonSyntax, ToolbarEmphasis, ToolbarItemKind, ToolbarItemSyntax,\n} from '../Syntax/Screens';\nimport { stringBodyPattern, unescapeString } from '../Text/StringLiteral';\nimport { pattern } from '../Text/patterns';\nimport { parseFencedText } from './CodeBlockParser';\nimport { parseMappingSource } from './ExpressionParser';\nimport { parseDescription } from './DescriptionParser';\nimport { isFileDirective } from './FileReferences';\nimport { parseGuardedAction } from './GuardedActionParser';\nimport { collectInputUses } from './InputUses';\nimport { firstWord } from './LineText';\nimport { ParserContext } from './ParserContext';\nimport { isValidTemplateVersionRange, parseBlueprintReference, startsBlueprintReference } from './TemplateReferenceText';\nimport { parseTypeRef } from './PropertyLineParser';\nimport { parseFromClause } from './UiBindingParser';\nimport { ScreenContributionSyntax } from '../Syntax/CompositionSyntax';\nimport { locationOf, SourceLine } from './SourceLine';\n\n// Parses 'screen' declarations the way the C# ScreenParser does - intent level directives, the template\n// whose slots they fill, and inline code. Interaction bodies remain opaque in the AST, but 'on' alternatives\n// are checked for structure, condition operands and shadowing; 'uses' attachments are recognized.\n\nconst operand = `(?:\"(${stringBodyPattern})\"|(\\\\$strings\\\\.\\\\w+(?:\\\\.\\\\w+)*))`;\nconst header = pattern('^screen\\\\s+([A-Za-z_]\\\\w*)$');\nconst data = pattern('^data\\\\s+([\\\\w.]+(?:\\\\[\\\\])?)\\\\s+via\\\\s+query\\\\s+(\\\\w+(?:\\\\.\\\\w+)*)(?:\\\\s+by\\\\s+(\\\\w+))?$');\nconst action = pattern('^action\\\\s+([A-Za-z_]\\\\w*(?:\\\\.\\\\w+)*)$');\nconst label = pattern(`^label\\\\s+${operand}$`);\nconst guardedAction = pattern(`^action\\\\s+${operand}$`);\nconst navigate = pattern('^navigate\\\\s+to\\\\s+(\\\\w+(?:\\\\.\\\\w+)*)(?:\\\\s+by\\\\s+(\\\\w+))?$');\nconst route = pattern(`^route\\\\s+${operand}$`);\nconst outletPattern = pattern('^outlet\\\\s+([A-Za-z_]\\\\w*)$');\nconst contributionPattern = pattern('^contribute\\\\s+to\\\\s+([A-Za-z_]\\\\w*)(?:\\\\s+order\\\\s+(-?\\\\d+))?$');\nconst parameter = pattern('^parameter\\\\s+([A-Za-z_]\\\\w*)\\\\s+from\\\\s+(.+)$');\nconst component = pattern('^component\\\\s+([A-Za-z_]\\\\w*(?:\\\\.[A-Za-z_]\\\\w*)*)\\\\s+([A-Za-z_]\\\\w*)$');\nconst stableId = pattern(`^id\\\\s+(?:\"(${stringBodyPattern})\"|(\\\\S+))$`);\nconst componentPropertyBinding = pattern('^property\\\\s+([\\\\w.]+)\\\\s+from\\\\s+(.+)$');\nconst componentPropertyLiteral = pattern('^property\\\\s+([\\\\w.]+)\\\\s*=\\\\s+(.+)$');\nconst exposes = pattern('^exposes\\\\s+([A-Za-z_]\\\\w*)\\\\s+from\\\\s+(.+)$');\nconst presentation = pattern(`^presentation\\\\s+([A-Za-z_]\\\\w*)\\\\s+${operand}$`);\nconst toolbarItem = pattern('^item\\\\s+([A-Za-z_]\\\\w*)\\\\s+(action|navigate|dialog)(?:\\\\s+to)?\\\\s+([A-Za-z_]\\\\w*(?:\\\\.\\\\w+)*)$');\nconst toolbarButton = pattern(`^button\\\\s+(?:\"(${stringBodyPattern})\"|([A-Za-z_][\\\\w-]*))(?:\\\\s+(.*))?$`);\nconst toolbarButtonPart = new RegExp(pattern(`\\\\s*(title|slice|emphasis|icon)\\\\s+(?:\"(${stringBodyPattern})\"|(\\\\$strings\\\\.\\\\w+(?:\\\\.\\\\w+)*)|([A-Za-z_][\\\\w.-]*))(?=\\\\s|$)`).source, 'uy');\nconst toolbarSlicePath = pattern('^[A-Za-z_]\\\\w*(?:\\\\.[A-Za-z_]\\\\w*)*$');\nconst slot = pattern('^[a-z_]\\\\w*$');\nconst title = pattern(`^title\\\\s+${operand}$`);\nconst column = pattern(`^column\\\\s+([\\\\w.]+)(?:\\\\s+label\\\\s+${operand})?$`);\nconst rowClick = pattern('^on\\\\s+row-click\\\\s+(navigate\\\\s+to\\\\s+.+)$');\nconst field = pattern(`^field\\\\s+([\\\\w.]+)\\\\s+label\\\\s+${operand}$`);\n\nconst operandText = (match: RegExpExecArray, quotedGroup: number): string =>\n match[quotedGroup] !== undefined ? unescapeString(match[quotedGroup]) : match[quotedGroup + 1];\n\nconst isInteraction = (line: SourceLine): boolean => ['on', 'uses'].includes(firstWord(line.content));\n\nconst isCodeLine = (context: ParserContext, line: SourceLine): boolean => line.content.startsWith('```') || context.languages.has(line.content);\n\nexport function parseScreen(context: ParserContext, line: SourceLine): ScreenSyntax {\n const match = header.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidScreenDeclaration, `Invalid screen declaration '${line.content}' - expected 'screen <Name>'`, locationOf(line));\n }\n const directives: ScreenDirectiveSyntax[] = [];\n const contributions: ScreenContributionSyntax[] = [];\n let description: string | null = null;\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n if (firstWord(child.content) === 'contribute') {\n const parsed = parseScreenContribution(context, child);\n if (parsed !== undefined) contributions.push(parsed);\n } else if (firstWord(child.content) === 'description') {\n description = parseDescription(context, child, description, `Screen '${match?.[1] ?? ''}'`);\n } else if (!isFileDirective(child)) {\n pushDirective(context, child, directives);\n }\n }\n return { kind: 'ScreenSyntax', name: match?.[1] ?? '', directives, description, ...(contributions.length > 0 ? { contributions } : {}), location: locationOf(line) };\n}\n\nfunction parseScreenContribution(context: ParserContext, line: SourceLine): ScreenContributionSyntax | undefined {\n const match = contributionPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid screen contribution '${line.content}' - expected 'contribute to <Point> [order <n>]'`, locationOf(line));\n context.skipBlock(line.indent);\n return undefined;\n }\n return { kind: 'ScreenContributionSyntax', contributionPoint: match[1], order: match[2] === undefined ? null : Number(match[2]), directives: parseDirectives(context, line), location: locationOf(line) };\n}\n\nfunction pushDirective(context: ParserContext, line: SourceLine, directives: ScreenDirectiveSyntax[]): void {\n const directive = parseDirective(context, line);\n if (directive !== undefined) {\n directives.push(directive);\n }\n}\n\nfunction parseDirectives(context: ParserContext, parent: SourceLine): ScreenDirectiveSyntax[] {\n const directives: ScreenDirectiveSyntax[] = [];\n for (let child = context.peekChild(parent.indent); child !== undefined; child = context.peekChild(parent.indent)) {\n context.reader.takeSignificant();\n pushDirective(context, child, directives);\n }\n return directives;\n}\n\nfunction parseDirective(context: ParserContext, line: SourceLine): ScreenDirectiveSyntax | undefined {\n switch (firstWord(line.content)) {\n case 'data':\n return parseData(context, line);\n case 'action':\n return parseAction(context, line);\n case 'template':\n return parseTemplateReference(context, line);\n case 'section':\n return parseSection(context, line);\n case 'title':\n return parseTitle(context, line);\n case 'table':\n return parseTable(context, line);\n case 'summary':\n return parseSummary(context, line);\n case 'component':\n return parseComponent(context, line);\n case 'toolbar':\n return parseToolbar(context, line);\n case 'navigate':\n return parseNavigate(context, line.content, line);\n case 'on':\n collectInputUses(context, line);\n return { kind: 'ScreenBehaviorSyntax', location: locationOf(line) };\n case 'uses':\n collectInputUses(context, line);\n return { kind: 'ScreenUsesBehaviorSyntax', location: locationOf(line) };\n default:\n if (isCodeLine(context, line)) {\n return parseCode(context, line);\n }\n context.error(DiagnosticCodes.UnknownScreenDirective, `Unexpected '${line.content}' in screen body`, locationOf(line));\n context.skipBlock(line.indent);\n return undefined;\n }\n}\n\nfunction parseData(context: ParserContext, line: SourceLine): ScreenDataSyntax | undefined {\n const match = data.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidDataDirective, `Invalid data directive '${line.content}' - expected 'data <ReadModel> via query <Query> [by <param>]'`, locationOf(line));\n return undefined;\n }\n return { kind: 'ScreenDataSyntax', type: parseTypeRef(match[1], locationOf(line)), query: match[2], by: match[3] ?? null, location: locationOf(line) };\n}\n\nfunction parseAction(context: ParserContext, line: SourceLine): ScreenActionSyntax | ScreenGuardedActionSyntax | undefined {\n const guarded = guardedAction.exec(line.content);\n if (guarded !== null) return parseGuardedAction(context, line, operandText(guarded, 1), parseNavigate);\n const match = action.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidActionDirective, `Invalid action directive '${line.content}' - expected 'action <Command>'`, locationOf(line));\n context.skipBlock(line.indent);\n return undefined;\n }\n let text: string | null = null;\n let target: ScreenNavigateSyntax | null = null;\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const labelMatch = label.exec(child.content);\n if (labelMatch !== null) {\n text = operandText(labelMatch, 1);\n } else if (firstWord(child.content) === 'navigate') {\n target = parseNavigate(context, child.content, child) ?? null;\n } else {\n context.error(DiagnosticCodes.UnknownActionDirective, `Unexpected '${child.content}' in action - expected 'label \"...\"' or 'navigate to ...'`, locationOf(child));\n }\n }\n return { kind: 'ScreenActionSyntax', command: match[1], label: text, navigate: target, location: locationOf(line) };\n}\n\nfunction parseNavigate(context: ParserContext, text: string, line: SourceLine): ScreenNavigateSyntax | undefined {\n const match = navigate.exec(text);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidNavigation, `Invalid navigation '${text}' - expected 'navigate to <Screen> [by <param>]'`, locationOf(line));\n return undefined;\n }\n const parameters: ScreenNavigationParameterSyntax[] = [];\n let routeValue: string | null = null;\n let outletValue: string | null = null;\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const parameterMatch = parameter.exec(child.content);\n if (parameterMatch !== null) {\n parameters.push({ kind: 'ScreenNavigationParameterSyntax', name: parameterMatch[1], binding: parseFromClause(context, parameterMatch[2], locationOf(child)), location: locationOf(child) });\n continue;\n }\n const routeMatch = route.exec(child.content);\n if (routeMatch !== null) {\n routeValue = operandText(routeMatch, 1);\n continue;\n }\n const outletMatch = outletPattern.exec(child.content);\n if (outletMatch !== null) {\n outletValue = outletMatch[1];\n continue;\n }\n context.error(DiagnosticCodes.InvalidNavigation, `Unexpected '${child.content}' in navigation - expected 'route \"...\"', 'outlet <name>' or 'parameter <name> from <binding>'`, locationOf(child));\n }\n return { kind: 'ScreenNavigateSyntax', screen: match[1], by: match[2] ?? null, route: routeValue, ...(outletValue === null ? {} : { outlet: outletValue }), parameters, location: locationOf(line) };\n}\n\nfunction parseTemplateReference(context: ParserContext, line: SourceLine): ScreenTemplateReferenceSyntax {\n let name = line.content.substring('template'.length).trim();\n let blueprint: string | null = null;\n let version: string | null = null;\n if (startsBlueprintReference(name)) {\n const reference = parseBlueprintReference(name);\n if (reference === undefined) {\n context.error(DiagnosticCodes.UnknownLayoutDirective, `Invalid template reference '${line.content}' - expected 'template <Name>' or 'template blueprint <Blueprint> <Name> [version \"<range>\"]'`, locationOf(line));\n } else {\n ({ blueprint, name, version } = reference);\n if (version !== null && !isValidTemplateVersionRange(version)) {\n context.error(DiagnosticCodes.InvalidTemplateVersionRange, `The template version range '${version}' is not one Scene understands - use '*', an exact version or a ^, ~, >=, >, <= or < range such as \"^1.2\"`, locationOf(line));\n }\n }\n }\n const slots: ScreenSlotSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n if (!slot.test(child.content)) {\n context.error(DiagnosticCodes.InvalidScreenLayoutSlot, `Expected a slot name in template '${name}', got '${child.content}'`, locationOf(child));\n context.skipBlock(child.indent);\n continue;\n }\n slots.push({ kind: 'ScreenSlotSyntax', name: child.content, directives: parseDirectives(context, child), location: locationOf(child) });\n }\n return { kind: 'ScreenTemplateReferenceSyntax', name, slots, ...(blueprint === null ? {} : { blueprint }), ...(version === null ? {} : { version }), location: locationOf(line) };\n}\n\nfunction parseSection(context: ParserContext, line: SourceLine): ScreenSectionSyntax {\n const name = line.content.substring('section'.length).trim();\n return { kind: 'ScreenSectionSyntax', name, directives: parseDirectives(context, line), location: locationOf(line) };\n}\n\nfunction parseTitle(context: ParserContext, line: SourceLine): ScreenTitleSyntax {\n const match = title.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidTitleDirective, `Invalid title directive '${line.content}' - expected 'title \"...\"'`, locationOf(line));\n return { kind: 'ScreenTitleSyntax', text: '', location: locationOf(line) };\n }\n return { kind: 'ScreenTitleSyntax', text: operandText(match, 1), location: locationOf(line) };\n}\n\nfunction parseTable(context: ParserContext, line: SourceLine): ScreenTableSyntax {\n const target = line.content.substring('table'.length).trim();\n const columns: ScreenColumnSyntax[] = [];\n let click: ScreenNavigateSyntax | null = null;\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const columnMatch = column.exec(child.content);\n const clickMatch = rowClick.exec(child.content);\n if (columnMatch !== null) {\n const labelled = columnMatch[2] !== undefined || columnMatch[3] !== undefined;\n columns.push({ kind: 'ScreenColumnSyntax', property: columnMatch[1], label: labelled ? operandText(columnMatch, 2) : null, location: locationOf(child) });\n } else if (clickMatch !== null) {\n click = parseNavigate(context, clickMatch[1], child) ?? null;\n } else if (firstWord(child.content) === 'on') {\n collectInputUses(context, child);\n } else if (isInteraction(child)) {\n collectInputUses(context, child);\n } else {\n context.error(DiagnosticCodes.UnknownTableDirective, `Unexpected '${child.content}' in table - expected 'column ...', 'on row-click navigate to ...', 'on <trigger>' or 'uses <Behavior>'`, locationOf(child));\n }\n }\n return { kind: 'ScreenTableSyntax', target, columns, rowClick: click, location: locationOf(line) };\n}\n\nfunction parseSummary(context: ParserContext, line: SourceLine): ScreenSummarySyntax {\n const target = line.content.substring('summary'.length).trim();\n const fields: ScreenFieldSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const match = field.exec(child.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownSummaryDirective, `Unexpected '${child.content}' in summary - expected 'field <property> label \"...\"'`, locationOf(child));\n continue;\n }\n fields.push({ kind: 'ScreenFieldSyntax', property: match[1], label: operandText(match, 2), location: locationOf(child) });\n }\n return { kind: 'ScreenSummarySyntax', target, fields, location: locationOf(line) };\n}\n\n\nfunction parseComponent(context: ParserContext, line: SourceLine): ScreenComponentSyntax | undefined {\n const match = component.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid component directive '${line.content}' - expected 'component <Package.Component> <name>'`, locationOf(line));\n context.skipBlock(line.indent);\n return undefined;\n }\n\n let dataContext = null;\n let componentStableId = null;\n let icon = null;\n const properties: ComponentPropertySyntax[] = [];\n const exposedValues: ComponentExposedValueSyntax[] = [];\n const presentationValues: PresentationValueSyntax[] = [];\n const outlets: ComponentOutletSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n switch (firstWord(child.content)) {\n case 'context':\n dataContext = parseUiContext(context, child);\n break;\n case 'id':\n componentStableId = parseStableId(context, child);\n break;\n case 'property':\n parseComponentProperty(context, child, properties);\n break;\n case 'icon':\n icon = child.content.substring('icon'.length).trim();\n break;\n case 'presentation':\n parsePresentationValue(context, child, presentationValues);\n break;\n case 'exposes':\n parseExposedValue(context, child, exposedValues);\n break;\n case 'outlet':\n outlets.push({ kind: 'ComponentOutletSyntax', name: child.content.substring('outlet'.length).trim(), directives: parseDirectives(context, child), location: locationOf(child) });\n break;\n case 'on':\n collectInputUses(context, child);\n break;\n case 'uses':\n collectInputUses(context, child);\n break;\n default:\n context.error(DiagnosticCodes.UnknownScreenDirective, `Unexpected '${child.content}' in component - expected context, id, property, icon, presentation, exposes, outlet, on or uses`, locationOf(child));\n context.skipBlock(child.indent);\n break;\n }\n }\n\n return { kind: 'ScreenComponentSyntax', component: match[1], name: match[2], stableId: componentStableId, context: dataContext, properties, exposes: exposedValues, presentation: presentationValues, icon, outlets, location: locationOf(line) };\n}\n\nfunction parseUiContext(context: ParserContext, line: SourceLine) {\n return parseUiBindingValue(context, line.content.substring('context'.length).trim(), line);\n}\n\nfunction parseComponentProperty(context: ParserContext, line: SourceLine, properties: ComponentPropertySyntax[]): void {\n const bound = componentPropertyBinding.exec(line.content);\n if (bound !== null) {\n properties.push({ kind: 'ComponentPropertySyntax', property: bound[1], binding: parseFromClause(context, bound[2], locationOf(line)), value: null, location: locationOf(line) });\n return;\n }\n const literal = componentPropertyLiteral.exec(line.content);\n if (literal !== null) {\n properties.push({ kind: 'ComponentPropertySyntax', property: literal[1], binding: null, value: parseMappingSource(literal[2], locationOf(line), context), location: locationOf(line) });\n return;\n }\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid component property '${line.content}' - expected 'property <path> from <binding>' or 'property <path> = <literal|object|array|null>'`, locationOf(line));\n}\n\nfunction parseStableId(context: ParserContext, line: SourceLine): string | null {\n const match = stableId.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid component id '${line.content}' - expected 'id \"stable-id\"'`, locationOf(line));\n return null;\n }\n return operandText(match, 1);\n}\n\nfunction parseExposedValue(context: ParserContext, line: SourceLine, values: ComponentExposedValueSyntax[]): void {\n const match = exposes.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid exposed value '${line.content}' - expected 'exposes <name> from <binding>'`, locationOf(line));\n return;\n }\n values.push({ kind: 'ComponentExposedValueSyntax', name: match[1], binding: parseFromClause(context, match[2], locationOf(line)), location: locationOf(line) });\n}\n\nfunction parsePresentationValue(context: ParserContext, line: SourceLine, values: PresentationValueSyntax[]): void {\n const match = presentation.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid presentation value '${line.content}' - expected 'presentation <key> \"value\"'`, locationOf(line));\n return;\n }\n values.push({ kind: 'PresentationValueSyntax', name: match[1], value: operandText(match, 2), location: locationOf(line) });\n}\n\nfunction parseToolbar(context: ParserContext, line: SourceLine): ScreenToolbarSyntax {\n const name = line.content.substring('toolbar'.length).trim();\n const items: ToolbarItemSyntax[] = [];\n const buttons: ToolbarButtonSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n if (firstWord(child.content) === 'button') {\n const button = parseToolbarButton(context, child);\n if (button !== undefined) buttons.push(button);\n continue;\n }\n const item = parseToolbarItem(context, child);\n if (item !== undefined) items.push(item);\n }\n return { kind: 'ScreenToolbarSyntax', name, items, ...(buttons.length > 0 ? { buttons } : {}), location: locationOf(line) };\n}\n\nconst toolbarButtonExpected = 'button <id> title \"<text>\" [slice <Module>.<Feature>.<Slice>] [emphasis primary|secondary|quiet] [icon <name>]';\n\n// A button is one line; the C# compiler checks what it names (PLAY0761-PLAY0765), this one reads its grammar.\nfunction parseToolbarButton(context: ParserContext, line: SourceLine): ToolbarButtonSyntax | undefined {\n const head = toolbarButton.exec(line.content);\n if (head === null) {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Invalid toolbar button '${line.content}' - expected ${toolbarButtonExpected}`, locationOf(line));\n context.skipBlock(line.indent);\n return undefined;\n }\n const id = head[1] !== undefined ? unescapeString(head[1]) : head[2];\n const rest = head[3] ?? '';\n let buttonTitle: string | undefined;\n let slice: string | undefined;\n let icon: string | undefined;\n let emphasis: ToolbarEmphasis | undefined;\n let valid = true;\n let position = 0;\n while (position < rest.length) {\n toolbarButtonPart.lastIndex = position;\n const part = toolbarButtonPart.exec(rest);\n if (part === null) {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Invalid toolbar button '${line.content}' - unexpected '${rest.substring(position).trim()}'; expected ${toolbarButtonExpected}`, locationOf(line));\n valid = false;\n break;\n }\n position = part.index + part[0].length;\n const key = part[1];\n const quoted = part[2] !== undefined;\n const localized = part[3] !== undefined;\n const value = quoted ? unescapeString(part[2]) : localized ? part[3] : part[4];\n const repeated = key === 'title' ? buttonTitle !== undefined : key === 'slice' ? slice !== undefined : key === 'icon' ? icon !== undefined : emphasis !== undefined;\n if (repeated) {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Toolbar button '${id}' states '${key}' more than once`, locationOf(line));\n continue;\n }\n if (key === 'title') {\n if (quoted || localized) buttonTitle = value;\n else {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Invalid title '${value}' on toolbar button '${id}' - expected a quoted string or a $strings.<key> token`, locationOf(line));\n valid = false;\n }\n } else if (key === 'slice') {\n if (!quoted && !localized && toolbarSlicePath.test(value)) slice = value;\n else {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Invalid slice '${value}' on toolbar button '${id}' - expected <Module>.<Feature>.<Slice>`, locationOf(line));\n valid = false;\n }\n } else if (key === 'emphasis') {\n if (!quoted && !localized && ['primary', 'secondary', 'quiet'].includes(value)) emphasis = value === 'primary' ? 'Primary' : value === 'secondary' ? 'Secondary' : 'Quiet';\n else {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Invalid emphasis '${value}' on toolbar button '${id}' - expected primary, secondary or quiet`, locationOf(line));\n valid = false;\n }\n } else {\n icon = value;\n }\n }\n if (buttonTitle === undefined && valid) {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Toolbar button '${id}' has no title - expected 'button ${id} title \"<text>\"'`, locationOf(line));\n }\n if (context.peekChild(line.indent) !== undefined) {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Unexpected block under toolbar button '${id}' - a button is one line`, locationOf(line));\n context.skipBlock(line.indent);\n }\n return {\n kind: 'ToolbarButtonSyntax', id, title: buttonTitle ?? '',\n ...(slice !== undefined ? { slice } : {}), ...(emphasis !== undefined ? { emphasis } : {}), ...(icon !== undefined ? { icon } : {}),\n location: locationOf(line),\n };\n}\n\nfunction parseToolbarItem(context: ParserContext, line: SourceLine): ToolbarItemSyntax | undefined {\n const match = toolbarItem.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid toolbar item '${line.content}' - expected 'item <name> action <Command>', 'item <name> navigate to <Screen>', 'item <name> dialog <DialogTemplate>' or 'button <id> title \"<text>\" slice <Slice>'`, locationOf(line));\n context.skipBlock(line.indent);\n return undefined;\n }\n let itemLabel = null;\n let icon = null;\n const parameters: ScreenNavigationParameterSyntax[] = [];\n const presentationValues: PresentationValueSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const labelMatch = label.exec(child.content);\n if (labelMatch !== null) {\n itemLabel = operandText(labelMatch, 1);\n continue;\n }\n const parameterMatch = parameter.exec(child.content);\n if (parameterMatch !== null) {\n parameters.push({ kind: 'ScreenNavigationParameterSyntax', name: parameterMatch[1], binding: parseFromClause(context, parameterMatch[2], locationOf(child)), location: locationOf(child) });\n continue;\n }\n if (firstWord(child.content) === 'icon') {\n icon = child.content.substring('icon'.length).trim();\n continue;\n }\n parsePresentationValue(context, child, presentationValues);\n }\n const syntaxKind: ToolbarItemKind = match[2] === 'navigate' ? 'Navigate' : match[2] === 'dialog' ? 'Dialog' : 'Action';\n return { kind: 'ToolbarItemSyntax', name: match[1], syntaxKind, target: match[3], label: itemLabel, icon, parameters, presentation: presentationValues, location: locationOf(line) };\n}\n\nfunction parseUiBindingValue(context: ParserContext, text: string, line: SourceLine) {\n return parseFromClause(context, text, locationOf(line));\n}\n\nfunction parseCode(context: ParserContext, line: SourceLine): ScreenCodeSyntax | undefined {\n const language = line.content.startsWith('```') ? line.content.substring(3) : line.content;\n if (!context.languages.has(language)) {\n context.error(DiagnosticCodes.ExpectedCodeFence, `Expected a registered language on the opening fence, not '${line.content}'`, locationOf(line));\n return undefined;\n }\n if (!line.content.startsWith('```')) {\n context.warning(DiagnosticCodes.LegacyInlineCodeFence, `'${language}' on its own line is deprecated - use '\\`\\`\\`${language}' instead`, locationOf(line));\n }\n const code = parseFencedText(context, language, line);\n return code === null ? undefined : {\n kind: 'ScreenCodeSyntax',\n code: { kind: 'CodeBlockSyntax', language, code, location: locationOf(line) },\n location: locationOf(line),\n };\n}\n"],"mappings":"m5BA8BA,MAAMA,EAAU,QAAQC,EAAkB,qCACpCC,EAASC,EAAQ,6BAA6B,EAC9CC,EAAOD,EAAQ,2FAA2F,EAC1GE,EAASF,EAAQ,yCAAyC,EAC1DG,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E,EAAS,+CAA+CA,EAAS,WAAYrE,EAAWH,CAAI,CAAC,EAE5J,IAAMyE,EAAOC,EAAgBzE,EAASuE,EAAUxE,CAAI,EACpD,OAAOyE,IAAS,KAAO,IAAA,GAAY,CAC/B,KAAM,mBACN,KAAM,CAAE,KAAM,kBAAmB,WAAU,OAAM,SAAUtE,EAAWH,CAAI,CAAE,EAC5E,SAAUG,EAAWH,CAAI,CAC7B,CACJ"}
1
+ {"version":3,"file":"ScreenParser.js","names":["operand","stringBodyPattern","header","pattern","data","action","label","guardedAction","navigate","route","outletPattern","contributionPattern","parameter","component","stableId","componentPropertyBinding","componentPropertyLiteral","exposes","presentation","toolbarItem","toolbarButton","toolbarButtonPart","toolbarSlicePath","slot","title","column","rowClick","field","match","quotedGroup","unescapeString","firstWord","line","context","DiagnosticCodes","locationOf","directives","contributions","description","child","parsed","parseDescription","isFileDirective","directive","parent","collectInputUses","parseTypeRef","guarded","parseGuardedAction","text","target","labelMatch","parameters","routeValue","outletValue","parameterMatch","parseFromClause","routeMatch","outletMatch","name","blueprint","version","startsBlueprintReference","reference","parseBlueprintReference","isValidTemplateVersionRange","slots","columns","click","columnMatch","clickMatch","labelled","fields","dataContext","componentStableId","icon","properties","exposedValues","presentationValues","outlets","bound","literal","parseMappingSource","values","items","buttons","button","item","toolbarButtonExpected","head","id","rest","buttonTitle","slice","emphasis","valid","position","part","key","quoted","localized","value","authorize","parseAuthorize","itemLabel","syntaxKind","language","code","parseFencedText"],"sources":["../../../../../../Compiler/Parsing/ScreenParser.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { DiagnosticCodes } from '../Diagnostics/DiagnosticCodes';\nimport {\n ComponentExposedValueSyntax, ComponentOutletSyntax, ComponentPropertySyntax, PresentationValueSyntax,\n ScreenActionSyntax, ScreenGuardedActionSyntax, ScreenCodeSyntax, ScreenColumnSyntax, ScreenComponentSyntax, ScreenDataSyntax, ScreenDirectiveSyntax, ScreenFieldSyntax,\n ScreenNavigateSyntax, ScreenNavigationParameterSyntax, ScreenSectionSyntax, ScreenSlotSyntax, ScreenSummarySyntax, ScreenSyntax, ScreenTableSyntax,\n ScreenTemplateReferenceSyntax, ScreenTitleSyntax, ScreenToolbarSyntax, ToolbarButtonSyntax, ToolbarEmphasis, ToolbarItemKind, ToolbarItemSyntax,\n} from '../Syntax/Screens';\nimport { AuthorizeSyntax } from '../Syntax/Authorization';\nimport { stringBodyPattern, unescapeString } from '../Text/StringLiteral';\nimport { pattern } from '../Text/patterns';\nimport { parseAuthorize } from './AuthorizeParser';\nimport { parseFencedText } from './CodeBlockParser';\nimport { parseMappingSource } from './ExpressionParser';\nimport { parseDescription } from './DescriptionParser';\nimport { isFileDirective } from './FileReferences';\nimport { parseGuardedAction } from './GuardedActionParser';\nimport { collectInputUses } from './InputUses';\nimport { firstWord } from './LineText';\nimport { ParserContext } from './ParserContext';\nimport { isValidTemplateVersionRange, parseBlueprintReference, startsBlueprintReference } from './TemplateReferenceText';\nimport { parseTypeRef } from './PropertyLineParser';\nimport { parseFromClause } from './UiBindingParser';\nimport { ScreenContributionSyntax } from '../Syntax/CompositionSyntax';\nimport { locationOf, SourceLine } from './SourceLine';\n\n// Parses 'screen' declarations the way the C# ScreenParser does - intent level directives, the template\n// whose slots they fill, and inline code. Interaction bodies remain opaque in the AST, but 'on' alternatives\n// are checked for structure, condition operands and shadowing; 'uses' attachments are recognized.\n\nconst operand = `(?:\"(${stringBodyPattern})\"|(\\\\$strings\\\\.\\\\w+(?:\\\\.\\\\w+)*))`;\nconst header = pattern('^screen\\\\s+([A-Za-z_]\\\\w*)$');\nconst data = pattern('^data\\\\s+([\\\\w.]+(?:\\\\[\\\\])?)\\\\s+via\\\\s+query\\\\s+(\\\\w+(?:\\\\.\\\\w+)*)(?:\\\\s+by\\\\s+(\\\\w+))?$');\nconst action = pattern('^action\\\\s+([A-Za-z_]\\\\w*(?:\\\\.\\\\w+)*)$');\nconst label = pattern(`^label\\\\s+${operand}$`);\nconst guardedAction = pattern(`^action\\\\s+${operand}$`);\nconst navigate = pattern('^navigate\\\\s+to\\\\s+(\\\\w+(?:\\\\.\\\\w+)*)(?:\\\\s+by\\\\s+(\\\\w+))?$');\nconst route = pattern(`^route\\\\s+${operand}$`);\nconst outletPattern = pattern('^outlet\\\\s+([A-Za-z_]\\\\w*)$');\nconst contributionPattern = pattern('^contribute\\\\s+to\\\\s+([A-Za-z_]\\\\w*)(?:\\\\s+order\\\\s+(-?\\\\d+))?$');\nconst parameter = pattern('^parameter\\\\s+([A-Za-z_]\\\\w*)\\\\s+from\\\\s+(.+)$');\nconst component = pattern('^component\\\\s+([A-Za-z_]\\\\w*(?:\\\\.[A-Za-z_]\\\\w*)*)\\\\s+([A-Za-z_]\\\\w*)$');\nconst stableId = pattern(`^id\\\\s+(?:\"(${stringBodyPattern})\"|(\\\\S+))$`);\nconst componentPropertyBinding = pattern('^property\\\\s+([\\\\w.]+)\\\\s+from\\\\s+(.+)$');\nconst componentPropertyLiteral = pattern('^property\\\\s+([\\\\w.]+)\\\\s*=\\\\s+(.+)$');\nconst exposes = pattern('^exposes\\\\s+([A-Za-z_]\\\\w*)\\\\s+from\\\\s+(.+)$');\nconst presentation = pattern(`^presentation\\\\s+([A-Za-z_]\\\\w*)\\\\s+${operand}$`);\nconst toolbarItem = pattern('^item\\\\s+([A-Za-z_]\\\\w*)\\\\s+(action|navigate|dialog)(?:\\\\s+to)?\\\\s+([A-Za-z_]\\\\w*(?:\\\\.\\\\w+)*)$');\nconst toolbarButton = pattern(`^button\\\\s+(?:\"(${stringBodyPattern})\"|([A-Za-z_][\\\\w-]*))(?:\\\\s+(.*))?$`);\nconst toolbarButtonPart = new RegExp(pattern(`\\\\s*(title|slice|emphasis|icon)\\\\s+(?:\"(${stringBodyPattern})\"|(\\\\$strings\\\\.\\\\w+(?:\\\\.\\\\w+)*)|([A-Za-z_][\\\\w.-]*))(?=\\\\s|$)`).source, 'uy');\nconst toolbarSlicePath = pattern('^[A-Za-z_]\\\\w*(?:\\\\.[A-Za-z_]\\\\w*)*$');\nconst slot = pattern('^[a-z_]\\\\w*$');\nconst title = pattern(`^title\\\\s+${operand}$`);\nconst column = pattern(`^column\\\\s+([\\\\w.]+)(?:\\\\s+label\\\\s+${operand})?$`);\nconst rowClick = pattern('^on\\\\s+row-click\\\\s+(navigate\\\\s+to\\\\s+.+)$');\nconst field = pattern(`^field\\\\s+([\\\\w.]+)\\\\s+label\\\\s+${operand}$`);\n\nconst operandText = (match: RegExpExecArray, quotedGroup: number): string =>\n match[quotedGroup] !== undefined ? unescapeString(match[quotedGroup]) : match[quotedGroup + 1];\n\nconst isInteraction = (line: SourceLine): boolean => ['on', 'uses'].includes(firstWord(line.content));\n\nconst isCodeLine = (context: ParserContext, line: SourceLine): boolean => line.content.startsWith('```') || context.languages.has(line.content);\n\nexport function parseScreen(context: ParserContext, line: SourceLine): ScreenSyntax {\n const match = header.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidScreenDeclaration, `Invalid screen declaration '${line.content}' - expected 'screen <Name>'`, locationOf(line));\n }\n const directives: ScreenDirectiveSyntax[] = [];\n const contributions: ScreenContributionSyntax[] = [];\n let description: string | null = null;\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n if (firstWord(child.content) === 'contribute') {\n const parsed = parseScreenContribution(context, child);\n if (parsed !== undefined) contributions.push(parsed);\n } else if (firstWord(child.content) === 'description') {\n description = parseDescription(context, child, description, `Screen '${match?.[1] ?? ''}'`);\n } else if (!isFileDirective(child)) {\n pushDirective(context, child, directives);\n }\n }\n return { kind: 'ScreenSyntax', name: match?.[1] ?? '', directives, description, ...(contributions.length > 0 ? { contributions } : {}), location: locationOf(line) };\n}\n\nfunction parseScreenContribution(context: ParserContext, line: SourceLine): ScreenContributionSyntax | undefined {\n const match = contributionPattern.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid screen contribution '${line.content}' - expected 'contribute to <Point> [order <n>]'`, locationOf(line));\n context.skipBlock(line.indent);\n return undefined;\n }\n return { kind: 'ScreenContributionSyntax', contributionPoint: match[1], order: match[2] === undefined ? null : Number(match[2]), directives: parseDirectives(context, line), location: locationOf(line) };\n}\n\nfunction pushDirective(context: ParserContext, line: SourceLine, directives: ScreenDirectiveSyntax[]): void {\n const directive = parseDirective(context, line);\n if (directive !== undefined) {\n directives.push(directive);\n }\n}\n\nfunction parseDirectives(context: ParserContext, parent: SourceLine): ScreenDirectiveSyntax[] {\n const directives: ScreenDirectiveSyntax[] = [];\n for (let child = context.peekChild(parent.indent); child !== undefined; child = context.peekChild(parent.indent)) {\n context.reader.takeSignificant();\n pushDirective(context, child, directives);\n }\n return directives;\n}\n\nfunction parseDirective(context: ParserContext, line: SourceLine): ScreenDirectiveSyntax | undefined {\n switch (firstWord(line.content)) {\n case 'data':\n return parseData(context, line);\n case 'action':\n return parseAction(context, line);\n case 'template':\n return parseTemplateReference(context, line);\n case 'section':\n return parseSection(context, line);\n case 'title':\n return parseTitle(context, line);\n case 'table':\n return parseTable(context, line);\n case 'summary':\n return parseSummary(context, line);\n case 'component':\n return parseComponent(context, line);\n case 'toolbar':\n return parseToolbar(context, line);\n case 'navigate':\n return parseNavigate(context, line.content, line);\n case 'on':\n collectInputUses(context, line);\n return { kind: 'ScreenBehaviorSyntax', location: locationOf(line) };\n case 'uses':\n collectInputUses(context, line);\n return { kind: 'ScreenUsesBehaviorSyntax', location: locationOf(line) };\n default:\n if (isCodeLine(context, line)) {\n return parseCode(context, line);\n }\n context.error(DiagnosticCodes.UnknownScreenDirective, `Unexpected '${line.content}' in screen body`, locationOf(line));\n context.skipBlock(line.indent);\n return undefined;\n }\n}\n\nfunction parseData(context: ParserContext, line: SourceLine): ScreenDataSyntax | undefined {\n const match = data.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidDataDirective, `Invalid data directive '${line.content}' - expected 'data <ReadModel> via query <Query> [by <param>]'`, locationOf(line));\n return undefined;\n }\n return { kind: 'ScreenDataSyntax', type: parseTypeRef(match[1], locationOf(line)), query: match[2], by: match[3] ?? null, location: locationOf(line) };\n}\n\nfunction parseAction(context: ParserContext, line: SourceLine): ScreenActionSyntax | ScreenGuardedActionSyntax | undefined {\n const guarded = guardedAction.exec(line.content);\n if (guarded !== null) return parseGuardedAction(context, line, operandText(guarded, 1), parseNavigate);\n const match = action.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidActionDirective, `Invalid action directive '${line.content}' - expected 'action <Command>'`, locationOf(line));\n context.skipBlock(line.indent);\n return undefined;\n }\n let text: string | null = null;\n let target: ScreenNavigateSyntax | null = null;\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const labelMatch = label.exec(child.content);\n if (labelMatch !== null) {\n text = operandText(labelMatch, 1);\n } else if (firstWord(child.content) === 'navigate') {\n target = parseNavigate(context, child.content, child) ?? null;\n } else {\n context.error(DiagnosticCodes.UnknownActionDirective, `Unexpected '${child.content}' in action - expected 'label \"...\"' or 'navigate to ...'`, locationOf(child));\n }\n }\n return { kind: 'ScreenActionSyntax', command: match[1], label: text, navigate: target, location: locationOf(line) };\n}\n\nfunction parseNavigate(context: ParserContext, text: string, line: SourceLine): ScreenNavigateSyntax | undefined {\n const match = navigate.exec(text);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidNavigation, `Invalid navigation '${text}' - expected 'navigate to <Screen> [by <param>]'`, locationOf(line));\n return undefined;\n }\n const parameters: ScreenNavigationParameterSyntax[] = [];\n let routeValue: string | null = null;\n let outletValue: string | null = null;\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const parameterMatch = parameter.exec(child.content);\n if (parameterMatch !== null) {\n parameters.push({ kind: 'ScreenNavigationParameterSyntax', name: parameterMatch[1], binding: parseFromClause(context, parameterMatch[2], locationOf(child)), location: locationOf(child) });\n continue;\n }\n const routeMatch = route.exec(child.content);\n if (routeMatch !== null) {\n routeValue = operandText(routeMatch, 1);\n continue;\n }\n const outletMatch = outletPattern.exec(child.content);\n if (outletMatch !== null) {\n outletValue = outletMatch[1];\n continue;\n }\n context.error(DiagnosticCodes.InvalidNavigation, `Unexpected '${child.content}' in navigation - expected 'route \"...\"', 'outlet <name>' or 'parameter <name> from <binding>'`, locationOf(child));\n }\n return { kind: 'ScreenNavigateSyntax', screen: match[1], by: match[2] ?? null, route: routeValue, ...(outletValue === null ? {} : { outlet: outletValue }), parameters, location: locationOf(line) };\n}\n\nfunction parseTemplateReference(context: ParserContext, line: SourceLine): ScreenTemplateReferenceSyntax {\n let name = line.content.substring('template'.length).trim();\n let blueprint: string | null = null;\n let version: string | null = null;\n if (startsBlueprintReference(name)) {\n const reference = parseBlueprintReference(name);\n if (reference === undefined) {\n context.error(DiagnosticCodes.UnknownLayoutDirective, `Invalid template reference '${line.content}' - expected 'template <Name>' or 'template blueprint <Blueprint> <Name> [version \"<range>\"]'`, locationOf(line));\n } else {\n ({ blueprint, name, version } = reference);\n if (version !== null && !isValidTemplateVersionRange(version)) {\n context.error(DiagnosticCodes.InvalidTemplateVersionRange, `The template version range '${version}' is not one Scene understands - use '*', an exact version or a ^, ~, >=, >, <= or < range such as \"^1.2\"`, locationOf(line));\n }\n }\n }\n const slots: ScreenSlotSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n if (!slot.test(child.content)) {\n context.error(DiagnosticCodes.InvalidScreenLayoutSlot, `Expected a slot name in template '${name}', got '${child.content}'`, locationOf(child));\n context.skipBlock(child.indent);\n continue;\n }\n slots.push({ kind: 'ScreenSlotSyntax', name: child.content, directives: parseDirectives(context, child), location: locationOf(child) });\n }\n return { kind: 'ScreenTemplateReferenceSyntax', name, slots, ...(blueprint === null ? {} : { blueprint }), ...(version === null ? {} : { version }), location: locationOf(line) };\n}\n\nfunction parseSection(context: ParserContext, line: SourceLine): ScreenSectionSyntax {\n const name = line.content.substring('section'.length).trim();\n return { kind: 'ScreenSectionSyntax', name, directives: parseDirectives(context, line), location: locationOf(line) };\n}\n\nfunction parseTitle(context: ParserContext, line: SourceLine): ScreenTitleSyntax {\n const match = title.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.InvalidTitleDirective, `Invalid title directive '${line.content}' - expected 'title \"...\"'`, locationOf(line));\n return { kind: 'ScreenTitleSyntax', text: '', location: locationOf(line) };\n }\n return { kind: 'ScreenTitleSyntax', text: operandText(match, 1), location: locationOf(line) };\n}\n\nfunction parseTable(context: ParserContext, line: SourceLine): ScreenTableSyntax {\n const target = line.content.substring('table'.length).trim();\n const columns: ScreenColumnSyntax[] = [];\n let click: ScreenNavigateSyntax | null = null;\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const columnMatch = column.exec(child.content);\n const clickMatch = rowClick.exec(child.content);\n if (columnMatch !== null) {\n const labelled = columnMatch[2] !== undefined || columnMatch[3] !== undefined;\n columns.push({ kind: 'ScreenColumnSyntax', property: columnMatch[1], label: labelled ? operandText(columnMatch, 2) : null, location: locationOf(child) });\n } else if (clickMatch !== null) {\n click = parseNavigate(context, clickMatch[1], child) ?? null;\n } else if (firstWord(child.content) === 'on') {\n collectInputUses(context, child);\n } else if (isInteraction(child)) {\n collectInputUses(context, child);\n } else {\n context.error(DiagnosticCodes.UnknownTableDirective, `Unexpected '${child.content}' in table - expected 'column ...', 'on row-click navigate to ...', 'on <trigger>' or 'uses <Behavior>'`, locationOf(child));\n }\n }\n return { kind: 'ScreenTableSyntax', target, columns, rowClick: click, location: locationOf(line) };\n}\n\nfunction parseSummary(context: ParserContext, line: SourceLine): ScreenSummarySyntax {\n const target = line.content.substring('summary'.length).trim();\n const fields: ScreenFieldSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const match = field.exec(child.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownSummaryDirective, `Unexpected '${child.content}' in summary - expected 'field <property> label \"...\"'`, locationOf(child));\n continue;\n }\n fields.push({ kind: 'ScreenFieldSyntax', property: match[1], label: operandText(match, 2), location: locationOf(child) });\n }\n return { kind: 'ScreenSummarySyntax', target, fields, location: locationOf(line) };\n}\n\n\nfunction parseComponent(context: ParserContext, line: SourceLine): ScreenComponentSyntax | undefined {\n const match = component.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid component directive '${line.content}' - expected 'component <Package.Component> <name>'`, locationOf(line));\n context.skipBlock(line.indent);\n return undefined;\n }\n\n let dataContext = null;\n let componentStableId = null;\n let icon = null;\n const properties: ComponentPropertySyntax[] = [];\n const exposedValues: ComponentExposedValueSyntax[] = [];\n const presentationValues: PresentationValueSyntax[] = [];\n const outlets: ComponentOutletSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n switch (firstWord(child.content)) {\n case 'context':\n dataContext = parseUiContext(context, child);\n break;\n case 'id':\n componentStableId = parseStableId(context, child);\n break;\n case 'property':\n parseComponentProperty(context, child, properties);\n break;\n case 'icon':\n icon = child.content.substring('icon'.length).trim();\n break;\n case 'presentation':\n parsePresentationValue(context, child, presentationValues);\n break;\n case 'exposes':\n parseExposedValue(context, child, exposedValues);\n break;\n case 'outlet':\n outlets.push({ kind: 'ComponentOutletSyntax', name: child.content.substring('outlet'.length).trim(), directives: parseDirectives(context, child), location: locationOf(child) });\n break;\n case 'on':\n collectInputUses(context, child);\n break;\n case 'uses':\n collectInputUses(context, child);\n break;\n default:\n context.error(DiagnosticCodes.UnknownScreenDirective, `Unexpected '${child.content}' in component - expected context, id, property, icon, presentation, exposes, outlet, on or uses`, locationOf(child));\n context.skipBlock(child.indent);\n break;\n }\n }\n\n return { kind: 'ScreenComponentSyntax', component: match[1], name: match[2], stableId: componentStableId, context: dataContext, properties, exposes: exposedValues, presentation: presentationValues, icon, outlets, location: locationOf(line) };\n}\n\nfunction parseUiContext(context: ParserContext, line: SourceLine) {\n return parseUiBindingValue(context, line.content.substring('context'.length).trim(), line);\n}\n\nfunction parseComponentProperty(context: ParserContext, line: SourceLine, properties: ComponentPropertySyntax[]): void {\n const bound = componentPropertyBinding.exec(line.content);\n if (bound !== null) {\n properties.push({ kind: 'ComponentPropertySyntax', property: bound[1], binding: parseFromClause(context, bound[2], locationOf(line)), value: null, location: locationOf(line) });\n return;\n }\n const literal = componentPropertyLiteral.exec(line.content);\n if (literal !== null) {\n properties.push({ kind: 'ComponentPropertySyntax', property: literal[1], binding: null, value: parseMappingSource(literal[2], locationOf(line), context), location: locationOf(line) });\n return;\n }\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid component property '${line.content}' - expected 'property <path> from <binding>' or 'property <path> = <literal|object|array|null>'`, locationOf(line));\n}\n\nfunction parseStableId(context: ParserContext, line: SourceLine): string | null {\n const match = stableId.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid component id '${line.content}' - expected 'id \"stable-id\"'`, locationOf(line));\n return null;\n }\n return operandText(match, 1);\n}\n\nfunction parseExposedValue(context: ParserContext, line: SourceLine, values: ComponentExposedValueSyntax[]): void {\n const match = exposes.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid exposed value '${line.content}' - expected 'exposes <name> from <binding>'`, locationOf(line));\n return;\n }\n values.push({ kind: 'ComponentExposedValueSyntax', name: match[1], binding: parseFromClause(context, match[2], locationOf(line)), location: locationOf(line) });\n}\n\nfunction parsePresentationValue(context: ParserContext, line: SourceLine, values: PresentationValueSyntax[]): void {\n const match = presentation.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid presentation value '${line.content}' - expected 'presentation <key> \"value\"'`, locationOf(line));\n return;\n }\n values.push({ kind: 'PresentationValueSyntax', name: match[1], value: operandText(match, 2), location: locationOf(line) });\n}\n\nfunction parseToolbar(context: ParserContext, line: SourceLine): ScreenToolbarSyntax {\n const name = line.content.substring('toolbar'.length).trim();\n const items: ToolbarItemSyntax[] = [];\n const buttons: ToolbarButtonSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n if (firstWord(child.content) === 'button') {\n const button = parseToolbarButton(context, child);\n if (button !== undefined) buttons.push(button);\n continue;\n }\n const item = parseToolbarItem(context, child);\n if (item !== undefined) items.push(item);\n }\n return { kind: 'ScreenToolbarSyntax', name, items, ...(buttons.length > 0 ? { buttons } : {}), location: locationOf(line) };\n}\n\nconst toolbarButtonExpected = 'button <id> title \"<text>\" [slice <Module>.<Feature>.<Slice>] [emphasis primary|secondary|quiet] [icon <name>]';\n\n// A button is one line; the C# compiler checks what it names (PLAY0761-PLAY0765), this one reads its grammar.\nfunction parseToolbarButton(context: ParserContext, line: SourceLine): ToolbarButtonSyntax | undefined {\n const head = toolbarButton.exec(line.content);\n if (head === null) {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Invalid toolbar button '${line.content}' - expected ${toolbarButtonExpected}`, locationOf(line));\n context.skipBlock(line.indent);\n return undefined;\n }\n const id = head[1] !== undefined ? unescapeString(head[1]) : head[2];\n const rest = head[3] ?? '';\n let buttonTitle: string | undefined;\n let slice: string | undefined;\n let icon: string | undefined;\n let emphasis: ToolbarEmphasis | undefined;\n let valid = true;\n let position = 0;\n while (position < rest.length) {\n toolbarButtonPart.lastIndex = position;\n const part = toolbarButtonPart.exec(rest);\n if (part === null) {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Invalid toolbar button '${line.content}' - unexpected '${rest.substring(position).trim()}'; expected ${toolbarButtonExpected}`, locationOf(line));\n valid = false;\n break;\n }\n position = part.index + part[0].length;\n const key = part[1];\n const quoted = part[2] !== undefined;\n const localized = part[3] !== undefined;\n const value = quoted ? unescapeString(part[2]) : localized ? part[3] : part[4];\n const repeated = key === 'title' ? buttonTitle !== undefined : key === 'slice' ? slice !== undefined : key === 'icon' ? icon !== undefined : emphasis !== undefined;\n if (repeated) {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Toolbar button '${id}' states '${key}' more than once`, locationOf(line));\n continue;\n }\n if (key === 'title') {\n if (quoted || localized) buttonTitle = value;\n else {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Invalid title '${value}' on toolbar button '${id}' - expected a quoted string or a $strings.<key> token`, locationOf(line));\n valid = false;\n }\n } else if (key === 'slice') {\n if (!quoted && !localized && toolbarSlicePath.test(value)) slice = value;\n else {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Invalid slice '${value}' on toolbar button '${id}' - expected <Module>.<Feature>.<Slice>`, locationOf(line));\n valid = false;\n }\n } else if (key === 'emphasis') {\n if (!quoted && !localized && ['primary', 'secondary', 'quiet'].includes(value)) emphasis = value === 'primary' ? 'Primary' : value === 'secondary' ? 'Secondary' : 'Quiet';\n else {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Invalid emphasis '${value}' on toolbar button '${id}' - expected primary, secondary or quiet`, locationOf(line));\n valid = false;\n }\n } else {\n icon = value;\n }\n }\n if (buttonTitle === undefined && valid) {\n context.error(DiagnosticCodes.InvalidToolbarButton, `Toolbar button '${id}' has no title - expected 'button ${id} title \"<text>\"'`, locationOf(line));\n }\n let authorize: AuthorizeSyntax | null = null;\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n if (firstWord(child.content) === 'authorize' && authorize === null) {\n authorize = parseAuthorize(context, child);\n continue;\n }\n context.error(DiagnosticCodes.InvalidToolbarButton, `Unexpected '${child.content}' under toolbar button '${id}' - a button takes one 'authorize' line and nothing else`, locationOf(child));\n context.skipBlock(child.indent);\n }\n return {\n kind: 'ToolbarButtonSyntax', id, title: buttonTitle ?? '',\n ...(slice !== undefined ? { slice } : {}), ...(emphasis !== undefined ? { emphasis } : {}), ...(icon !== undefined ? { icon } : {}), ...(authorize !== null ? { authorize } : {}),\n location: locationOf(line),\n };\n}\n\nfunction parseToolbarItem(context: ParserContext, line: SourceLine): ToolbarItemSyntax | undefined {\n const match = toolbarItem.exec(line.content);\n if (match === null) {\n context.error(DiagnosticCodes.UnknownScreenDirective, `Invalid toolbar item '${line.content}' - expected 'item <name> action <Command>', 'item <name> navigate to <Screen>', 'item <name> dialog <DialogTemplate>' or 'button <id> title \"<text>\" slice <Slice>'`, locationOf(line));\n context.skipBlock(line.indent);\n return undefined;\n }\n let itemLabel = null;\n let icon = null;\n const parameters: ScreenNavigationParameterSyntax[] = [];\n const presentationValues: PresentationValueSyntax[] = [];\n for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const labelMatch = label.exec(child.content);\n if (labelMatch !== null) {\n itemLabel = operandText(labelMatch, 1);\n continue;\n }\n const parameterMatch = parameter.exec(child.content);\n if (parameterMatch !== null) {\n parameters.push({ kind: 'ScreenNavigationParameterSyntax', name: parameterMatch[1], binding: parseFromClause(context, parameterMatch[2], locationOf(child)), location: locationOf(child) });\n continue;\n }\n if (firstWord(child.content) === 'icon') {\n icon = child.content.substring('icon'.length).trim();\n continue;\n }\n parsePresentationValue(context, child, presentationValues);\n }\n const syntaxKind: ToolbarItemKind = match[2] === 'navigate' ? 'Navigate' : match[2] === 'dialog' ? 'Dialog' : 'Action';\n return { kind: 'ToolbarItemSyntax', name: match[1], syntaxKind, target: match[3], label: itemLabel, icon, parameters, presentation: presentationValues, location: locationOf(line) };\n}\n\nfunction parseUiBindingValue(context: ParserContext, text: string, line: SourceLine) {\n return parseFromClause(context, text, locationOf(line));\n}\n\nfunction parseCode(context: ParserContext, line: SourceLine): ScreenCodeSyntax | undefined {\n const language = line.content.startsWith('```') ? line.content.substring(3) : line.content;\n if (!context.languages.has(language)) {\n context.error(DiagnosticCodes.ExpectedCodeFence, `Expected a registered language on the opening fence, not '${line.content}'`, locationOf(line));\n return undefined;\n }\n if (!line.content.startsWith('```')) {\n context.warning(DiagnosticCodes.LegacyInlineCodeFence, `'${language}' on its own line is deprecated - use '\\`\\`\\`${language}' instead`, locationOf(line));\n }\n const code = parseFencedText(context, language, line);\n return code === null ? undefined : {\n kind: 'ScreenCodeSyntax',\n code: { kind: 'CodeBlockSyntax', language, code, location: locationOf(line) },\n location: locationOf(line),\n };\n}\n"],"mappings":"y8BAgCA,MAAMA,EAAU,QAAQC,EAAkB,qCACpCC,EAASC,EAAQ,6BAA6B,EAC9CC,EAAOD,EAAQ,2FAA2F,EAC1GE,EAASF,EAAQ,yCAAyC,EAC1DG,EAAQH,EAAQ,aAAaH,EAAQ,EAAE,EACvCO,EAAgBJ,EAAQ,cAAcH,EAAQ,EAAE,EAChDQ,EAAWL,EAAQ,6DAA6D,EAChFM,EAAQN,EAAQ,aAAaH,EAAQ,EAAE,EACvCU,EAAgBP,EAAQ,6BAA6B,EACrDQ,EAAsBR,EAAQ,iEAAiE,EAC/FS,EAAYT,EAAQ,gDAAgD,EACpEU,EAAYV,EAAQ,wEAAwE,EAC5FW,EAAWX,EAAQ,eAAeF,EAAkB,YAAY,EAChEc,EAA2BZ,EAAQ,yCAAyC,EAC5Ea,EAA2Bb,EAAQ,sCAAsC,EACzEc,EAAUd,EAAQ,8CAA8C,EAChEe,EAAef,EAAQ,uCAAuCH,EAAQ,EAAE,EACxEmB,EAAchB,EAAQ,iGAAiG,EACvHiB,EAAgBjB,EAAQ,mBAAmBF,EAAkB,qCAAqC,EAClGoB,EAAoB,IAAI,OAAOlB,EAAQ,2CAA2CF,EAAkB,iEAAiE,CAAC,CAAC,OAAQ,IAAI,EACnLqB,EAAmBnB,EAAQ,sCAAsC,EACjEoB,EAAOpB,EAAQ,cAAc,EAC7BqB,EAAQrB,EAAQ,aAAaH,EAAQ,EAAE,EACvCyB,EAAStB,EAAQ,uCAAuCH,EAAQ,IAAI,EACpE0B,EAAWvB,EAAQ,6CAA6C,EAChEwB,EAA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AA8B7E,EAAM,KAAO,WAAa,WAAaA,EAAM,KAAO,SAAW,SAAW,SAC9G,MAAO,CAAE,KAAM,oBAAqB,KAAMA,EAAM,GAAI,aAAY,OAAQA,EAAM,GAAI,MAAO4E,EAAW,OAAM,aAAY,aAAc1B,EAAoB,SAAU3C,EAAWH,CAAI,CAAE,CACvL,CAEA,SAAS,oBAAoB,EAAwB,EAAc,EAAkB,CACjF,OAAOwB,EAAgBvB,EAASgB,EAAMd,EAAWH,CAAI,CAAC,CAC1D,CAEA,SAAS,UAAU,EAAwB,EAAgD,CACvF,IAAM0E,EAAW1E,EAAK,QAAQ,WAAW,KAAK,EAAIA,EAAK,QAAQ,UAAU,CAAC,EAAIA,EAAK,QACnF,GAAI,CAACC,EAAQ,UAAU,IAAIyE,CAAQ,EAAG,CAClCzE,EAAQ,MAAMC,EAAgB,kBAAmB,6DAA6DF,EAAK,QAAQ,GAAIG,EAAWH,CAAI,CAAC,EAC/I,MACJ,CACKA,EAAK,QAAQ,WAAW,KAAK,GAC9BC,EAAQ,QAAQC,EAAgB,sBAAuB,IAAIwE,EAAS,+CAA+CA,EAAS,WAAYvE,EAAWH,CAAI,CAAC,EAE5J,IAAM2E,EAAOC,EAAgB3E,EAASyE,EAAU1E,CAAI,EACpD,OAAO2E,IAAS,KAAO,IAAA,GAAY,CAC/B,KAAM,mBACN,KAAM,CAAE,KAAM,kBAAmB,WAAU,OAAM,SAAUxE,EAAWH,CAAI,CAAE,EAC5E,SAAUG,EAAWH,CAAI,CAC7B,CACJ"}
@@ -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.NewScreenTemplateSyntax.ProfileAppearanceSyntax.RootTemplateSyntax.SampleDataBindingSyntax.ShellOptionSyntax.SampleDataFieldSyntax.SampleDataMappingSyntax.SampleDataPackReferenceSyntax.SampleDataPackSyntax.SampleDataRowSyntax.SampleDataSelectionSyntax.SampleDataSetSyntax.SpecificationNoResultSyntax.SpecificationStreamSyntax.SpecificationNoStreamSyntax.SpecificationQueryResultSyntax.SpecificationQuerySyntax.SpecificationReadModelSyntax.SpecificationRedeliverySyntax.SpecificationSyntax.SpecificationTriggerSyntax.SpecificationWhenQuerySyntax.StringsExpressionSyntax.SubtractMappingSyntax.TagSyntax.ToolbarButtonSyntax.ToolbarItemSyntax.TemplateExpressionSyntax.TemplateInterpolationSyntax.TemplateTextSyntax.ThemeSyntax.TriggerDataSyntax.TriggerSyntax.TypeRefSyntax.TypeSyntax.UiBindingSyntax.UiProfileSyntax.UniqueEventConstraintSyntax.UniquePropertyConstraintSyntax.DependsOnSyntax.UsesBehaviorSyntax.ValidationRuleSyntax.VariantSyntax`.split(`.`),names:/* @__PURE__ */ `property.value.autoMap.mappings.authentication.behaviors.commandReadMode.concepts.domain.eventSources.examples.exposures.fileImports.identity.imports.instanceContributions.layouts.modules.personas.policies.purposes.reactionProductionMode.sampleDataPacks.seeds.sourceOptions.numericMode.systems.templates.themes.triggers.types.uiProfiles.triggerName.children.columns.gap.grow.rows.span.syntaxKind.height.root.width.growFactor.name.mode.overrides.variants.alias.providers.requirement.icon.id.slot.target.title.image.items.logo.region.feature.module.type.bindings.description.file.order.parameters.event.tags.when.appends.identifiedBy.map.source.translations.settings.separator.targets.key.nested.from.to.expression.fromValue.properties.toValue.parameter.blocks.claim.matches.matchesSubject.code.details.by.query.arguments.onFailure.onResult.onSuccess.language.binding.directives.authorize.concurrency.documentation.handler.produces.reads.response.stream.streamCandidates.validations.eventSource.propertyCandidate.streamId.streamIdParts.left.operator.right.parts.criminal.reason.scope.specialCategory.attributes.generation.valueNumbers.values.alphabet.case.checksum.count.encoding.pattern.prefix.range.rule.size.strategy.eventSourceType.eventStreamId.eventStreamType.eventTypes.message.messageIsLiteral.path.contributionPoint.destination.group.label.navigate.presentation.requirements.rules.arrangement.category.content.displayName.exposes.outlets.restrictsScopes.scopes.sliceKinds.slots.templateType.usedBehaviors.eventName.identifier.streams.hasGenerationMarker.origin.visibility.includeChildren.command.contributions.dependsOn.features.isPlacement.slices.additionalRules.ignoreCasing.releasedBy.owner.component.editableFields.isCollection.operations.reExposes.restrictsFields.instance.field.columnGap.placements.rowGap.index.maxWidth.minWidth.column.columnSpan.row.rowSpan.unit.composeUsing.columnMode.fields.for.generationMode.layout.onSubmit.populate.events.parentKey.implementation.hints.text.compensate.execute.inputs.uses.generatedValues.noStream.operation.qualifiedName.actions.condition.alternatives.otherwise.trigger.amount.onRefused.acknowledge.constraint.selector.on.navigation.literalType.dialogTemplates.forms.screenTemplates.screen.operand.level.dialogTemplate.members.hidden.sizeHeight.sizeWidth.slotName.x.y.authorization.basis.basisReference.conditionReference.erasureException.interest.recipients.retention.subjects.transfers.safeguard.inlineEvent.inlineOperation.readModel.sequence.entersOn.isGenerated.isIdentifier.isKey.isSubject.byParts.filters.isObservable.performer.returnType.roles.runsAs.where.data.invokes.member.partsKey.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.accent.colorScheme.options.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.appearance.defaultSizeClass.icons.newScreenTemplate.packages.platforms.sampleData.theme.additionalProperties.places`.split(`.`),rules:[[`string`],[`ref`,30,31,58,59,67,68,70,127,128,140,142,167,171,214,247,252],[`object`,[[0,0,!0],[1,1,!0]]],[`enum`,`Inherit`,`Disabled`,`Enabled`],[`ref`,0,40,62,64,114,207,248],[`array`,4],[`object`,[[2,3,!0],[3,5,!1]]],[`ref`,10],[`null`],[`union`,7,8],[`ref`,18],[`array`,10],[`enum`,`Protected`],[`union`,12,8],[`ref`,54],[`array`,14],[`ref`,66],[`union`,16,8],[`ref`,71],[`array`,18],[`ref`,107],[`array`,20],[`ref`,84],[`array`,22],[`ref`,81],[`array`,24],[`ref`,37],[`union`,26,8],[`ref`,113],[`array`,28],[`ref`,86],[`array`,30],[`ref`,126],[`array`,32],[`union`,33,8],[`ref`,132],[`array`,35],[`ref`,144],[`array`,37],[`union`,38,8],[`ref`,147],[`array`,40],[`ref`,148],[`array`,42],[`enum`,`Atomic`],[`union`,44,8],[`ref`,233],[`array`,46],[`ref`,206],[`array`,48],[`union`,49,8],[`enum`,`legacy`,`exact`],[`object`,[[25,51,!0]]],[`ref`,104],[`array`,53],[`ref`,208],[`array`,55],[`ref`,255],[`array`,57],[`union`,58,8],[`ref`,257],[`array`,60],[`union`,61,8],[`ref`,259],[`array`,63],[`union`,64,8],[`ref`,261],[`array`,66],[`union`,67,8],[`object`,[[4,9,!1],[5,11,!1],[6,13,!1],[7,15,!1],[8,17,!1],[9,19,!1],[10,21,!1],[11,23,!1],[12,25,!1],[13,27,!1],[14,29,!1],[15,31,!1],[16,34,!1],[17,36,!1],[18,39,!1],[19,41,!1],[20,43,!1],[21,45,!1],[22,47,!1],[23,50,!1],[24,52,!1],[26,54,!1],[27,56,!1],[28,59,!1],[29,62,!1],[30,65,!1],[31,68,!1]]],[`object`,[[32,0,!0]]],[`ref`,4,6],[`array`,71],[`integer`,-2147483648,2147483647],[`union`,73,8],[`number`],[`union`,75,8],[`enum`,`Flat`,`Row`,`Column`,`Grid`],[`object`,[[33,72,!1],[34,74,!1],[35,74,!1],[36,76,!1],[37,74,!1],[38,74,!1],[39,77,!0]]],[`union`,0,8],[`object`,[[40,79,!1],[41,71,!0],[42,79,!1]]],[`boolean`],[`object`,[[36,81,!1],[43,76,!1],[40,74,!1],[44,0,!0],[38,74,!1],[42,74,!1]]],[`enum`,`Flow`,`Freeform`],[`ref`,5],[`array`,84],[`union`,85,8],[`union`,71,8],[`ref`,267],[`array`,88],[`union`,89,8],[`object`,[[45,83,!0],[46,86,!1],[41,87,!1],[47,90,!1]]],[`object`,[]],[`object`,[[48,79,!1],[44,0,!0]]],[`ref`,9],[`array`,94],[`object`,[[49,95,!1]]],[`ref`,131,146],[`object`,[[50,97,!0]]],[`ref`,12],[`array`,99],[`ref`,15],[`union`,101,8],[`object`,[[33,100,!1],[51,79,!1],[52,0,!0],[53,79,!1],[54,102,!1],[55,0,!0]]],[`object`,[[56,0,!0],[55,0,!0]]],[`ref`,13],[`union`,105,8],[`enum`,`Unspecified`,`Inherit`,`Extend`,`Override`],[`enum`,`Topbar`,`Sidebar`],[`object`,[[57,100,!1],[58,106,!1],[45,107,!0],[59,108,!0]]],[`object`,[[60,79,!1],[61,0,!0]]],[`object`,[[44,0,!0],[1,0,!0]]],[`ref`,258],[`union`,112,8],[`object`,[[44,0,!0],[62,113,!1]]],[`ref`,118],[`array`,115],[`ref`,82],[`union`,117,8],[`ref`,17],[`array`,119],[`object`,[[63,116,!1],[64,79,!1],[65,118,!1],[44,79,!1],[66,74,!1],[67,120,!1]]],[`enum`,`Click`,`DoubleClick`,`Select`,`Submit`,`Change`,`Load`,`Unload`,`Enter`,`Leave`,`Unknown`],[`object`,[[39,122,!0]]],[`ref`,156],[`array`,124],[`ref`,249],[`array`,126],[`union`,127,8],[`ref`,29],[`union`,129,8],[`object`,[[68,0,!0],[3,125,!1],[69,128,!1],[70,130,!1]]],[`ref`,20],[`array`,132],[`ref`,22,26],[`array`,134],[`object`,[[71,133,!1],[72,0,!0],[73,135,!1],[0,0,!0]]],[`ref`,28],[`array`,137],[`object`,[[0,0,!0],[74,1,!0],[75,138,!1]]],[`object`,[[71,133,!1],[73,135,!1],[0,0,!0]]],[`ref`,24],[`array`,141],[`object`,[[76,142,!1],[39,0,!0]]],[`array`,0],[`object`,[[77,0,!0],[74,1,!0],[78,144,!1]]],[`ref`,21],[`array`,146],[`ref`,23],[`array`,148],[`ref`,25],[`union`,150,8],[`object`,[[71,133,!1],[33,147,!1],[79,79,!1],[73,135,!1],[44,0,!0],[80,149,!1],[74,151,!1],[24,52,!1]]],[`object`,[[81,0,!0],[82,0,!0]]],[`enum`,`PropertyChanged`,`Added`,`Removed`,`Changed`,`LogicalOr`,`LogicalAnd`,`ValueTransition`,`Expression`],[`object`,[[83,79,!1],[84,79,!1],[85,144,!1],[39,154,!0],[86,79,!1]]],[`object`,[[0,79,!1]]],[`object`,[[87,0,!0]]],[`ref`,1,32,41,76,100,124,136,154,177,178],[`array`,158],[`object`,[[2,3,!0],[88,159,!1],[72,1,!0],[0,0,!0]]],[`union`,1,8],[`object`,[[89,0,!0],[90,161,!1],[91,81,!0]]],[`object`,[[89,0,!0]]],[`ref`,43],[`object`,[[92,164,!0]]],[`object`,[[65,117,!0]]],[`ref`,38],[`array`,167],[`object`,[[64,79,!1],[93,168,!1]]],[`ref`,34,35,36,39],[`object`,[[44,0,!0],[74,170,!0],[62,112,!0]]],[`object`,[[94,1,!0],[95,0,!0]]],[`object`,[[0,0,!0]]],[`object`,[[68,0,!0]]],[`ref`,117],[`array`,175],[`ref`,42,57,77,134,135,138,139,166,176,211],[`array`,177],[`object`,[[96,176,!1],[97,178,!1],[98,178,!1],[99,178,!1]]],[`object`,[[92,0,!0],[100,0,!0]]],[`ref`,260],[`object`,[[101,181,!0],[44,0,!0]]],[`ref`,182,184,187,188,189,191,193,194,195,196,198,199,201,202,203],[`array`,183],[`object`,[[102,184,!1],[44,0,!0]]],[`union`,181,8],[`object`,[[101,186,!1],[0,0,!0],[1,161,!1]]],[`ref`,11],[`union`,188,8],[`ref`,56],[`union`,190,8],[`ref`,101],[`union`,192,8],[`ref`,151],[`array`,194],[`ref`,157],[`array`,196],[`ref`,173],[`array`,198],[`union`,199,8],[`ref`,160,161],[`union`,201,8],[`ref`,49],[`union`,203,8],[`array`,203],[`ref`,47,63],[`array`,206],[`object`,[[103,189,!1],[104,191,!1],[64,79,!1],[105,79,!1],[106,193,!1],[44,0,!0],[107,195,!1],[85,197,!1],[108,200,!1],[109,202,!1],[110,204,!1],[111,205,!1],[112,207,!1]]],[`union`,196,8],[`union`,124,8],[`object`,[[113,0,!0],[114,209,!1],[110,0,!0],[115,210,!1],[116,125,!1]]],[`object`,[[113,0,!0],[110,79,!1]]],[`enum`,`Equal`,`NotEqual`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Contains`,`StartsWith`],[`object`,[[117,0,!0],[118,213,!0],[119,1,!0]]],[`ref`,125],[`array`,215],[`object`,[[120,216,!1],[62,0,!0]]],[`object`,[[121,81,!1],[44,0,!0],[122,79,!1],[123,79,!1],[124,79,!1]]],[`ref`,53],[`array`,219],[`ref`,55],[`union`,221,8],[`union`,207,8],[`array`,73],[`union`,224,8],[`object`,[[125,220,!1],[64,79,!1],[65,118,!1],[126,222,!1],[44,0,!0],[62,0,!0],[112,223,!1],[127,225,!1],[128,144,!1]]],[`union`,164,8],[`object`,[[129,79,!1],[130,79,!1],[131,79,!1],[92,227,!1],[132,74,!1],[133,79,!1],[65,118,!1],[134,79,!1],[135,79,!1],[136,79,!1],[137,79,!1],[138,74,!1],[139,0,!0]]],[`object`,[[113,81,!0],[140,79,!1],[141,79,!1],[142,79,!1],[143,144,!1]]],[`object`,[[96,176,!1],[144,0,!0],[145,81,!0],[97,178,!1],[98,178,!1],[99,178,!1]]],[`object`,[[146,0,!0]]],[`ref`,61],[`union`,232,8],[`ref`,193],[`union`,234,8],[`object`,[[147,0,!0],[148,233,!1],[149,79,!1],[51,79,!1],[52,79,!1],[150,79,!1],[151,235,!1],[66,74,!1],[152,79,!1]]],[`enum`,`Outlet`,`Dialog`,`External`],[`object`,[[39,237,!0],[54,0,!0]]],[`ref`,179],[`array`,239],[`union`,240,8],[`ref`,266],[`array`,242],[`object`,[[153,241,!1],[154,243,!1]]],[`ref`,7],[`union`,245,8],[`ref`,91],[`array`,247],[`ref`,209],[`array`,249],[`ref`,210],[`array`,251],[`ref`,213],[`array`,253],[`ref`,265],[`array`,255],[`object`,[[155,246,!1],[5,11,!1],[156,79,!1],[157,248,!1],[64,79,!1],[158,79,!1],[159,250,!1],[44,0,!0],[160,252,!1],[161,81,!1],[162,144,!1],[163,144,!1],[164,254,!1],[165,79,!1],[166,256,!1]]],[`object`,[[44,0,!0]]],[`object`,[[167,0,!0]]],[`ref`,73],[`array`,260],[`object`,[[64,79,!1],[52,79,!1],[168,113,!1],[44,0,!0],[169,261,!1]]],[`object`,[[44,0,!0],[62,112,!0]]],[`ref`,72],[`array`,264],[`object`,[[64,79,!1],[52,79,!1],[44,0,!0],[115,113,!1],[116,265,!1]]],[`object`,[[68,0,!0],[79,161,!1]]],[`integer`,0,4294967295],[`enum`,`Private`,`Public`],[`object`,[[64,79,!1],[105,79,!1],[65,118,!1],[126,268,!1],[170,81,!1],[52,79,!1],[44,0,!0],[171,79,!1],[85,197,!1],[69,128,!1],[172,269,!1]]],[`object`,[[2,3,!0],[173,81,!0],[3,5,!1]]],[`object`,[[96,176,!1],[174,0,!0],[97,178,!1],[98,178,!1],[99,178,!1]]],[`object`,[[83,1,!0]]],[`ref`,60],[`array`,274],[`union`,275,8],[`ref`,264],[`array`,277],[`ref`,79],[`array`,279],[`ref`,149],[`array`,281],[`ref`,212],[`array`,283],[`object`,[[103,189,!1],[5,11,!1],[175,276,!1],[176,278,!1],[64,79,!1],[105,79,!1],[10,21,!1],[177,280,!1],[12,25,!1],[178,81,!0],[44,0,!0],[20,282,!1],[179,284,!1],[27,56,!1],[166,256,!1]]],[`ref`,80,262,263],[`array`,286],[`object`,[[180,287,!1],[64,79,!1],[65,117,!0],[181,81,!0],[144,79,!1],[44,0,!0],[182,144,!1]]],[`object`,[[134,0,!0]]],[`object`,[[150,79,!1],[0,0,!0]]],[`ref`,85],[`array`,291],[`object`,[[183,0,!0],[85,292,!1]]],[`object`,[[184,0,!0],[185,144,!1],[186,81,!0],[150,79,!1],[187,144,!1],[146,0,!0],[188,79,!1],[189,81,!0]]],[`ref`,87],[`array`,295],[`object`,[[175,296,!1],[190,0,!0]]],[`ref`,88],[`array`,298],[`object`,[[184,0,!0],[57,299,!1],[146,0,!0],[1,161,!1]]],[`ref`,89],[`array`,301],[`object`,[[52,0,!0],[128,302,!1]]],[`object`,[[191,0,!0],[1,1,!0]]],[`object`,[[147,0,!0],[102,184,!1],[66,74,!1]]],[`object`,[[102,184,!1],[53,0,!0]]],[`ref`,95],[`union`,307,8],[`ref`,93],[`array`,309],[`ref`,94],[`array`,311],[`object`,[[192,308,!1],[34,310,!1],[193,312,!1],[194,308,!1]]],[`object`,[[195,73,!0],[196,308,!1],[197,308,!1],[42,308,!1]]],[`object`,[[198,73,!0],[199,74,!1],[191,0,!0],[200,73,!0],[201,74,!1],[42,308,!1]]],[`enum`,`Fraction`,`Pixels`,`Percent`,`Auto`],[`object`,[[202,316,!0],[1,76,!1]]],[`object`,[[203,79,!1],[81,79,!1],[150,79,!1],[0,0,!0]]],[`object`,[[94,79,!1],[95,0,!0]]],[`enum`,`Unspecified`,`Auto`,`Manual`],[`ref`,83],[`array`,321],[`ref`,96],[`array`,323],[`ref`,92],[`union`,325,8],[`ref`,97,98],[`union`,327,8],[`object`,[[5,11,!1],[204,320,!0],[34,322,!1],[64,79,!1],[205,324,!1],[206,0,!0],[207,320,!0],[208,326,!1],[44,0,!0],[209,235,!1],[210,328,!1],[166,256,!1]]],[`ref`,74],[`array`,330],[`ref`,52,78],[`union`,332,8],[`object`,[[211,331,!1],[79,333,!1],[3,5,!1],[212,161,!1]]],[`ref`,102],[`union`,335,8],[`object`,[[92,227,!1],[65,118,!1],[213,336,!1]]],[`ref`,103],[`array`,338],[`object`,[[214,339,!1]]],[`object`,[[215,0,!0]]],[`object`,[[64,79,!1],[44,0,!0]]],[`ref`,106],[`union`,343,8],[`object`,[[216,344,!1],[64,79,!1],[217,344,!1],[218,197,!1],[44,0,!0],[219,0,!0]]],[`object`,[[92,227,!1],[64,79,!1],[65,118,!1],[213,336,!1]]],[`ref`,239],[`union`,347,8],[`ref`,238],[`union`,349,8],[`object`,[[64,79,!1],[206,161,!1],[220,125,!1],[44,0,!0],[221,348,!1],[110,350,!1],[62,0,!0],[128,125,!1]]],[`object`,[[44,0,!0],[128,125,!1]]],[`object`,[[222,0,!0]]],[`object`,[[222,0,!0],[128,125,!1]]],[`object`,[[171,79,!1],[223,0,!0],[172,269,!1]]],[`ref`,51,129],[`object`,[[224,178,!1],[225,356,!0]]],[`object`,[[224,178,!1]]],[`object`,[[101,0,!0],[44,0,!0]]],[`ref`,115],[`array`,360],[`ref`,116],[`union`,362,8],[`ref`,3,19,69,119],[`object`,[[224,178,!1],[226,361,!1],[225,79,!1],[227,363,!1],[228,364,!0]]],[`enum`,`Seconds`,`Minutes`,`Hours`,`Days`],[`object`,[[229,73,!0],[202,366,!0]]],[`ref`,122],[`array`,368],[`object`,[[174,0,!0],[3,125,!1],[230,369,!1]]],[`object`,[[231,81,!0],[232,79,!1],[107,195,!1],[233,0,!0]]],[`object`,[[2,3,!0],[68,0,!0],[3,5,!1]]],[`ref`,123],[`array`,373],[`object`,[[211,374,!1],[234,0,!0],[0,0,!0]]],[`object`,[[83,1,!0],[0,0,!0]]],[`ref`,14],[`array`,377],[`object`,[[155,246,!1],[5,11,!1],[156,79,!1],[159,250,!1],[44,0,!0],[235,378,!1],[160,252,!1],[161,81,!1],[162,144,!1],[163,144,!1],[164,254,!1],[165,79,!1],[166,256,!1]]],[`array`,1],[`object`,[[57,380,!1]]],[`union`,0,81,8],[`number`,-17976931348623157e292,17976931348623157e292],[`enum`,`Int32`,`Int64`,`Decimal`,`Single`],[`string`,`^-?[0-9]+(\\.[0-9]+)?([Ee][+-]?[0-9]+)?$`],[`object`,[[236,384,!0],[1,385,!0]]],[`const`,`ExactNumber`],[`string`,`^(?:0|-?(?:[1-9][0-9]{0,28}|(?:0|[1-9][0-9]{0,28})\\.[0-9]{0,27}[1-9]))$`],[`object`,[[236,387,!0],[1,388,!0]]],[`union`,382,383,386,389],[`object`,[[1,390,!1]]],[`enum`,`And`,`Or`],[`object`,[[117,356,!0],[118,392,!0],[119,356,!0]]],[`ref`,8,33,130,137,180],[`object`,[[117,394,!0],[118,392,!0],[119,394,!0]]],[`object`,[[117,97,!0],[118,392,!0],[119,97,!0]]],[`ref`,65],[`array`,397],[`union`,398,8],[`ref`,99],[`array`,400],[`union`,401,8],[`ref`,200],[`array`,403],[`object`,[[103,189,!1],[5,11,!1],[175,276,!1],[176,278,!1],[64,79,!1],[237,399,!1],[105,79,!1],[10,21,!1],[177,280,!1],[12,25,!1],[238,402,!1],[178,81,!0],[44,0,!0],[235,378,!1],[20,282,!1],[239,404,!1],[27,56,!1],[166,256,!1]]],[`object`,[[96,176,!1],[97,178,!1],[98,178,!1],[99,178,!1],[240,0,!0]]],[`object`,[[2,3,!0],[88,159,!1],[0,0,!0]]],[`object`,[[241,394,!0]]],[`enum`,`Info`,`Warning`,`Error`,`Unknown`],[`object`,[[96,176,!1],[242,409,!0],[144,0,!0],[145,81,!0],[97,178,!1],[98,178,!1],[99,178,!1]]],[`object`,[[96,176,!1],[243,0,!0],[97,178,!1],[98,178,!1],[99,178,!1]]],[`ref`,141],[`array`,412],[`object`,[[244,413,!1]]],[`object`,[[44,0,!0],[1,1,!0]]],[`object`,[[92,227,!1],[65,118,!1]]],[`object`,[[64,79,!1],[44,0,!0],[19,144,!1]]],[`object`,[[245,81,!1],[246,79,!1],[247,79,!1],[248,0,!0],[249,74,!1],[250,74,!1]]],[`union`,394,8],[`object`,[[92,227,!1],[225,419,!1],[64,79,!1],[65,118,!1],[44,0,!0]]],[`ref`,150],[`array`,421],[`object`,[[251,79,!1],[252,79,!1],[253,79,!1],[225,79,!1],[254,79,!1],[64,79,!1],[255,79,!1],[256,79,!1],[44,0,!0],[257,144,!1],[258,79,!1],[259,144,!1],[260,422,!1]]],[`object`,[[148,0,!0],[261,0,!0]]],[`ref`,75],[`union`,425,8],[`ref`,105],[`union`,427,8],[`union`,356,8],[`object`,[[68,0,!0],[206,161,!1],[262,426,!1],[263,428,!1],[3,125,!1],[110,204,!1],[69,128,!1],[70,429,!1]]],[`object`,[[2,3,!0],[88,159,!1],[64,79,!1],[65,118,!1],[79,333,!1],[44,0,!0],[264,79,!1],[265,79,!1],[24,52,!1]]],[`ref`,152],[`array`,432],[`object`,[[88,159,!1],[266,433,!1],[44,0,!0]]],[`object`,[[0,0,!0],[74,1,!0]]],[`object`,[[267,81,!1],[268,81,!1],[269,81,!1],[270,81,!1],[44,0,!0],[62,112,!0]]],[`ref`,158],[`object`,[[44,0,!0],[74,437,!0],[62,113,!1]]],[`object`,[[74,437,!0]]],[`ref`,159],[`array`,440],[`object`,[[205,441,!1]]],[`object`,[[1,1,!0]]],[`object`,[[205,125,!1]]],[`object`,[[44,0,!0],[74,161,!1],[62,112,!0]]],[`ref`,164],[`union`,446,8],[`array`,446],[`ref`,143],[`union`,449,8],[`object`,[[103,189,!1],[94,447,!1],[271,448,!1],[64,79,!1],[272,448,!1],[273,81,!1],[44,0,!0],[274,450,!1],[275,112,!0],[123,79,!1]]],[`object`,[[96,176,!1],[97,178,!1],[98,178,!1],[99,178,!1],[228,0,!0]]],[`object`,[[276,144,!1],[39,0,!0]]],[`ref`,50],[`union`,454,8],[`ref`,168],[`union`,456,8],[`ref`,170],[`array`,458],[`object`,[[64,79,!1],[105,79,!1],[81,455,!1],[44,0,!0],[277,457,!1],[29,459,!1],[278,429,!1]]],[`ref`,256],[`array`,461],[`ref`,121],[`array`,463],[`union`,464,8],[`union`,195,8],[`ref`,120,133,181],[`object`,[[92,227,!1],[279,462,!1],[64,79,!1],[65,118,!1],[280,465,!1],[107,466,!1],[108,200,!1],[74,467,!0]]],[`object`,[[281,0,!0]]],[`object`,[[64,79,!1],[105,79,!1],[65,118,!1],[44,0,!0],[85,197,!1]]],[`object`,[[48,79,!1],[94,79,!1],[271,125,!1],[264,0,!0]]],[`object`,[[92,227,!1],[64,79,!1],[68,0,!0],[65,118,!1]]],[`ref`,174],[`array`,473],[`object`,[[64,79,!1],[81,455,!1],[44,0,!0],[264,0,!0],[154,474,!1]]],[`object`,[[96,176,!1],[97,178,!1],[98,178,!1],[99,178,!1],[95,0,!0]]],[`ref`,52],[`union`,477,8],[`object`,[[68,0,!0],[79,161,!1],[212,161,!1],[282,478,!1]]],[`enum`,`Error`,`Information`,`Warning`],[`object`,[[225,356,!0],[144,79,!1],[283,480,!0]]],[`object`,[[284,0,!0]]],[`enum`,`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`union`,483,8],[`string`,`^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]{1,7})?$`],[`object`,[[285,74,!1],[286,484,!1],[287,485,!0]]],[`object`,[[174,0,!0],[150,79,!1],[151,235,!1]]],[`ref`,185],[`array`,488],[`ref`,186],[`union`,490,8],[`object`,[[226,489,!1],[150,0,!0],[151,235,!1],[227,491,!1]]],[`object`,[[96,176,!1],[174,0,!0],[225,356,!0]]],[`enum`,`Hidden`,`Execute`,`Unknown`],[`object`,[[96,176,!1],[174,79,!1],[288,494,!0]]],[`object`,[[289,10,!0]]],[`ref`,44],[`array`,497],[`ref`,45],[`array`,499],[`ref`,155],[`array`,501],[`ref`,46],[`array`,503],[`object`,[[5,11,!1],[184,0,!0],[290,186,!1],[159,498,!1],[51,79,!1],[44,0,!0],[160,500,!1],[152,502,!1],[85,504,!1],[291,79,!1],[166,256,!1]]],[`object`,[[94,79,!1],[95,0,!0],[62,112,!0]]],[`object`,[[150,0,!0],[0,0,!0]]],[`ref`,183],[`array`,508],[`object`,[[94,79,!1],[292,79,!1],[67,509,!1],[293,79,!1],[240,0,!0]]],[`ref`,192],[`array`,511],[`object`,[[205,512,!1],[54,0,!0]]],[`ref`,90],[`array`,514],[`object`,[[175,515,!1],[64,79,!1],[102,184,!1],[65,118,!1],[44,0,!0]]],[`ref`,190],[`array`,517],[`object`,[[5,11,!1],[34,518,!1],[294,235,!1],[54,0,!0],[166,256,!1]]],[`ref`,195],[`array`,520],[`object`,[[295,79,!1],[44,0,!0],[164,521,!1],[296,79,!1]]],[`object`,[[155,246,!1],[5,11,!1],[156,79,!1],[157,248,!1],[64,79,!1],[158,79,!1],[159,250,!1],[297,79,!1],[44,0,!0],[160,252,!1],[161,81,!1],[162,144,!1],[163,144,!1],[164,254,!1],[165,79,!1],[166,256,!1]]],[`ref`,250],[`array`,524],[`ref`,251],[`array`,526],[`object`,[[298,525,!1],[57,527,!1],[44,0,!0]]],[`object`,[[219,255,!0]]],[`object`,[[68,0,!0],[85,125,!1]]],[`ref`,204],[`array`,531],[`object`,[[299,0,!0],[211,532,!1]]],[`ref`,205],[`array`,534],[`object`,[[300,535,!1]]],[`object`,[[295,79,!1],[44,0,!0],[296,79,!1]]],[`object`,[[96,176,!1],[97,178,!1],[98,178,!1],[99,178,!1],[54,0,!0],[1,0,!0]]],[`ref`,27],[`array`,539],[`ref`,48],[`array`,541],[`enum`,`Inbound`,`Outbound`],[`union`,543,8],[`array`,425],[`array`,427],[`ref`,153],[`array`,547],[`ref`,165],[`array`,549],[`ref`,169],[`array`,551],[`ref`,172],[`array`,553],[`union`,554,8],[`ref`,175],[`array`,556],[`union`,557,8],[`ref`,197],[`array`,559],[`ref`,244],[`array`,561],[`enum`,`StateChange`,`StateView`,`Automation`,`Translate`],[`object`,[[301,540,!1],[302,542,!1],[303,287,!1],[64,79,!1],[304,544,!1],[105,79,!1],[211,545,!1],[10,21,!1],[65,118,!1],[44,0,!0],[187,546,!1],[305,548,!1],[20,282,!1],[306,550,!1],[307,552,!1],[308,555,!1],[309,558,!1],[310,560,!1],[311,562,!1],[27,56,!1],[62,563,!0]]],[`object`,[[312,79,!1],[44,0,!0]]],[`object`,[[79,1,!0],[44,0,!0]]],[`object`,[[62,0,!0],[1,0,!0]]],[`ref`,216],[`array`,568],[`object`,[[313,81,!0],[314,569,!1],[276,144,!1]]],[`object`,[[315,0,!0],[316,125,!1]]],[`object`,[[317,0,!0]]],[`object`,[[318,0,!0],[206,161,!1],[220,125,!1],[319,79,!1],[128,125,!1]]],[`ref`,31],[`union`,574,8],[`object`,[[320,575,!1],[44,79,!1]]],[`object`,[[321,0,!0],[206,161,!1],[319,79,!1],[221,348,!1],[110,350,!1],[128,125,!1]]],[`object`,[[322,79,!1],[323,79,!1]]],[`ref`,229],[`array`,579],[`object`,[[295,79,!1],[44,0,!0],[324,580,!1],[296,79,!1]]],[`ref`,232],[`object`,[[325,582,!0],[264,0,!0]]],[`enum`,`Word`,`Text`,`Number`,`Flag`],[`object`,[[44,0,!0],[39,584,!0],[1,0,!0]]],[`enum`,`Text`,`Number`,`Flag`,`Null`],[`object`,[[44,0,!0],[39,586,!0],[1,79,!1]]],[`object`,[[264,0,!0],[326,0,!0]]],[`object`,[[327,81,!0],[44,0,!0]]],[`ref`,236],[`array`,590],[`object`,[[328,79,!1],[44,0,!0],[329,591,!1],[55,79,!1]]],[`ref`,230],[`array`,593],[`object`,[[205,594,!1]]],[`union`,582,8],[`ref`,228],[`array`,597],[`ref`,231],[`array`,599],[`object`,[[330,596,!1],[63,598,!1],[3,600,!1]]],[`ref`,234],[`array`,602],[`object`,[[37,603,!1],[326,0,!0]]],[`object`,[[113,0,!0],[110,0,!0],[115,210,!1],[116,125,!1]]],[`object`,[[331,81,!0],[85,125,!1]]],[`ref`,240],[`array`,607],[`object`,[[96,125,!1],[331,81,!0],[95,0,!0],[332,608,!1]]],[`object`,[[331,81,!0],[319,79,!1],[44,0,!0],[85,125,!1]]],[`object`,[[321,0,!0],[206,161,!1],[221,348,!1],[333,0,!0],[110,350,!1],[128,125,!1]]],[`ref`,109],[`array`,612],[`ref`,224],[`array`,614],[`ref`,218],[`union`,616,8],[`ref`,217],[`union`,618,8],[`ref`,219],[`array`,620],[`ref`,220],[`union`,622,8],[`ref`,110],[`array`,624],[`ref`,242],[`array`,626],[`union`,627,8],[`ref`,108],[`array`,629],[`ref`,215],[`array`,631],[`ref`,112],[`array`,633],[`ref`,222],[`union`,635,8],[`ref`,223],[`array`,637],[`ref`,237],[`union`,639,8],[`ref`,111],[`array`,641],[`ref`,241],[`array`,643],[`ref`,162,163],[`union`,645,8],[`ref`,221],[`union`,647,8],[`union`,614,8],[`union`,620,8],[`ref`,246],[`union`,651,8],[`ref`,243],[`union`,653,8],[`ref`,245],[`union`,655,8],[`object`,[[334,613,!1],[64,79,!1],[10,21,!1],[65,118,!1],[335,615,!1],[336,617,!1],[337,619,!1],[338,621,!1],[339,623,!1],[340,625,!1],[341,628,!1],[44,0,!0],[67,630,!1],[24,52,!1],[342,632,!1],[343,634,!1],[344,636,!1],[345,638,!1],[346,615,!1],[347,81,!0],[348,81,!1],[349,640,!1],[350,642,!1],[351,644,!1],[352,628,!1],[353,608,!1],[354,646,!1],[70,648,!1],[355,649,!1],[356,650,!1],[357,623,!1],[358,652,!1],[359,654,!1],[360,656,!1]]],[`object`,[[228,0,!0],[128,125,!1]]],[`object`,[[96,125,!1],[95,0,!0]]],[`object`,[[79,0,!0]]],[`enum`,`Primary`,`Secondary`,`Quiet`],[`union`,661,8],[`object`,[[361,662,!1],[51,79,!1],[52,0,!0],[362,79,!1],[55,0,!0]]],[`enum`,`Unknown`,`Action`,`Navigate`,`Dialog`],[`object`,[[51,79,!1],[150,79,!1],[44,0,!0],[67,509,!1],[152,502,!1],[39,664,!0],[54,0,!0]]],[`ref`,253,254],[`array`,666],[`object`,[[120,667,!1]]],[`object`,[[363,144,!1],[44,0,!0]]],[`object`,[[279,462,!1],[64,79,!1],[65,118,!1],[44,0,!0]]],[`object`,[[186,81,!0],[364,81,!0],[44,0,!0]]],[`object`,[[64,79,!1],[65,118,!1],[44,0,!0],[85,197,!1]]],[`enum`,`Invalid`,`DataContext`,`QueryResult`,`ComponentProperty`,`Literal`],[`enum`,`OneWay`,`TwoWay`],[`union`,674,8],[`enum`,`Propagate`,`Clear`,`Preserve`],[`union`,676,8],[`object`,[[365,673,!0],[366,79,!1],[367,79,!1],[368,79,!1],[369,161,!1],[45,675,!1],[370,677,!1],[146,0,!0],[95,79,!1],[371,79,!1]]],[`ref`,226],[`union`,679,8],[`ref`,225],[`union`,681,8],[`ref`,227],[`union`,683,8],[`ref`,235],[`union`,685,8],[`object`,[[372,680,!1],[373,79,!1],[374,144,!1],[208,79,!1],[44,0,!0],[375,682,!1],[376,144,!1],[377,144,!1],[41,684,!1],[378,686,!1],[379,79,!1]]],[`object`,[[180,287,!1],[64,79,!1],[68,0,!0],[181,81,!0],[144,79,!1],[44,0,!0],[182,144,!1]]],[`object`,[[380,144,!1],[180,287,!1],[64,79,!1],[68,0,!0],[181,81,!0],[144,79,!1],[44,0,!0],[0,0,!0],[182,144,!1]]],[`object`,[[54,0,!0]]],[`ref`,16],[`array`,691],[`object`,[[96,692,!1],[289,0,!0]]],[`enum`,`NotEmpty`,`Max`,`Min`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Equal`,`Length`,`Matches`,`AllGreaterThan`,`AllGreaterThanOrEqual`,`Rule`,`NotEqual`,`Checksum`,`Contains`,`NotContains`,`StartsWith`,`EndsWith`],[`object`,[[92,227,!1],[65,118,!1],[213,336,!1],[144,79,!1],[0,0,!0],[137,694,!0],[283,480,!0],[1,161,!1]]],[`ref`,145],[`array`,696],[`object`,[[40,0,!0],[381,697,!1],[42,0,!0]]]],contracts:[2,6,69,70,78,80,82,91,92,93,96,98,103,104,109,110,111,114,121,123,131,136,139,140,111,143,145,152,153,155,156,157,160,162,163,165,166,169,171,172,173,174,179,180,182,185,187,165,208,211,212,214,217,218,226,228,229,230,231,231,236,238,173,244,173,257,258,258,231,259,92,262,263,266,267,270,271,272,273,285,288,289,231,290,293,294,297,300,303,304,305,306,313,314,315,317,318,92,319,329,334,337,340,341,342,345,346,351,263,352,353,354,353,355,173,357,358,359,365,367,367,370,371,372,375,376,379,381,391,393,395,396,405,258,406,179,407,408,410,411,414,415,231,416,417,418,258,420,423,258,424,430,267,431,434,111,435,436,173,438,439,442,443,444,445,451,452,341,453,460,468,469,470,471,472,475,476,267,479,481,482,486,487,182,492,493,495,496,165,505,290,506,507,510,185,185,513,516,519,522,523,341,528,529,530,533,536,435,537,114,258,538,564,565,231,566,567,258,570,571,572,573,92,576,577,537,578,581,583,585,587,588,589,592,595,601,604,92,605,92,606,609,610,611,657,658,659,660,2,443,663,665,668,273,341,669,114,670,671,672,678,687,688,689,690,693,695,698]};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.NewScreenTemplateSyntax.ProfileAppearanceSyntax.RootTemplateSyntax.SampleDataBindingSyntax.ShellOptionSyntax.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__ */ `factor.property.value.autoMap.mappings.authentication.behaviors.commandReadMode.concepts.domain.eventSources.examples.exposures.fileImports.identity.imports.instanceContributions.layouts.modules.personas.policies.purposes.reactionProductionMode.sampleDataPacks.seeds.sourceOptions.numericMode.systems.templates.themes.triggers.types.uiProfiles.triggerName.children.columns.gap.grow.rows.span.syntaxKind.height.root.width.growFactor.name.mode.overrides.variants.alias.providers.requirement.icon.id.slot.target.title.image.buttons.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.partsKey.severity.role.dayOfMonth.dayOfWeek.time.outcome.behavior.context.stableId.outlet.route.rowClick.blueprint.version.fitsSlot.eventSourceId.groups.captures.commands.constraints.direction.projections.queries.reactions.readModels.reducers.screens.specifications.contributes.authenticated.claims.capture.record.instant.commandType.inlineProperty.caseValue.eventType.accent.colorScheme.options.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.appearance.defaultSizeClass.icons.newScreenTemplate.packages.platforms.sampleData.theme.additionalProperties.places`.split(`.`),rules:[[`ref`,30,31,58,59,67,68,70,127,128,140,142,167,171,214,247,252],[`null`],[`union`,0,1],[`string`],[`object`,[[0,2,!1],[1,3,!0],[2,0,!0]]],[`enum`,`Inherit`,`Disabled`,`Enabled`],[`ref`,0,40,62,64,114,207,248],[`array`,6],[`object`,[[3,5,!0],[4,7,!1]]],[`ref`,10],[`union`,9,1],[`ref`,18],[`array`,11],[`enum`,`Protected`],[`union`,13,1],[`ref`,54],[`array`,15],[`ref`,66],[`union`,17,1],[`ref`,71],[`array`,19],[`ref`,107],[`array`,21],[`ref`,84],[`array`,23],[`ref`,81],[`array`,25],[`ref`,37],[`union`,27,1],[`ref`,113],[`array`,29],[`ref`,86],[`array`,31],[`ref`,126],[`array`,33],[`union`,34,1],[`ref`,132],[`array`,36],[`ref`,144],[`array`,38],[`union`,39,1],[`ref`,147],[`array`,41],[`ref`,148],[`array`,43],[`enum`,`Atomic`],[`union`,45,1],[`ref`,233],[`array`,47],[`ref`,206],[`array`,49],[`union`,50,1],[`enum`,`legacy`,`exact`],[`object`,[[26,52,!0]]],[`ref`,104],[`array`,54],[`ref`,208],[`array`,56],[`ref`,255],[`array`,58],[`union`,59,1],[`ref`,257],[`array`,61],[`union`,62,1],[`ref`,259],[`array`,64],[`union`,65,1],[`ref`,261],[`array`,67],[`union`,68,1],[`object`,[[5,10,!1],[6,12,!1],[7,14,!1],[8,16,!1],[9,18,!1],[10,20,!1],[11,22,!1],[12,24,!1],[13,26,!1],[14,28,!1],[15,30,!1],[16,32,!1],[17,35,!1],[18,37,!1],[19,40,!1],[20,42,!1],[21,44,!1],[22,46,!1],[23,48,!1],[24,51,!1],[25,53,!1],[27,55,!1],[28,57,!1],[29,60,!1],[30,63,!1],[31,66,!1],[32,69,!1]]],[`object`,[[33,3,!0]]],[`ref`,4,6],[`array`,72],[`integer`,-2147483648,2147483647],[`union`,74,1],[`number`],[`union`,76,1],[`enum`,`Flat`,`Row`,`Column`,`Grid`],[`object`,[[34,73,!1],[35,75,!1],[36,75,!1],[37,77,!1],[38,75,!1],[39,75,!1],[40,78,!0]]],[`union`,3,1],[`object`,[[41,80,!1],[42,72,!0],[43,80,!1]]],[`boolean`],[`object`,[[37,82,!1],[44,77,!1],[41,75,!1],[45,3,!0],[39,75,!1],[43,75,!1]]],[`enum`,`Flow`,`Freeform`],[`ref`,5],[`array`,85],[`union`,86,1],[`union`,72,1],[`ref`,267],[`array`,89],[`union`,90,1],[`object`,[[46,84,!0],[47,87,!1],[42,88,!1],[48,91,!1]]],[`object`,[]],[`object`,[[49,80,!1],[45,3,!0]]],[`ref`,9],[`array`,95],[`object`,[[50,96,!1]]],[`ref`,131,146],[`object`,[[51,98,!0]]],[`ref`,12],[`array`,100],[`ref`,15],[`union`,102,1],[`object`,[[34,101,!1],[52,80,!1],[53,3,!0],[54,80,!1],[55,103,!1],[56,3,!0]]],[`object`,[[57,3,!0],[56,3,!0]]],[`ref`,250],[`array`,106],[`ref`,13],[`union`,108,1],[`enum`,`Unspecified`,`Inherit`,`Extend`,`Override`],[`enum`,`Topbar`,`Sidebar`],[`object`,[[58,107,!1],[59,101,!1],[60,109,!1],[46,110,!0],[61,111,!0]]],[`object`,[[62,80,!1],[63,3,!0]]],[`object`,[[45,3,!0],[2,3,!0]]],[`ref`,258],[`union`,115,1],[`object`,[[45,3,!0],[64,116,!1]]],[`ref`,118],[`array`,118],[`ref`,82],[`union`,120,1],[`ref`,17],[`array`,122],[`object`,[[65,119,!1],[66,80,!1],[67,121,!1],[45,80,!1],[68,75,!1],[69,123,!1]]],[`enum`,`Click`,`DoubleClick`,`Select`,`Submit`,`Change`,`Load`,`Unload`,`Enter`,`Leave`,`Unknown`],[`object`,[[40,125,!0]]],[`ref`,156],[`array`,127],[`ref`,249],[`array`,129],[`union`,130,1],[`ref`,29],[`union`,132,1],[`object`,[[70,3,!0],[4,128,!1],[71,131,!1],[72,133,!1]]],[`ref`,20],[`array`,135],[`ref`,22,26],[`array`,137],[`object`,[[73,136,!1],[74,3,!0],[75,138,!1],[1,3,!0]]],[`ref`,28],[`array`,140],[`object`,[[1,3,!0],[76,0,!0],[77,141,!1]]],[`object`,[[73,136,!1],[75,138,!1],[1,3,!0]]],[`ref`,24],[`array`,144],[`object`,[[78,145,!1],[40,3,!0]]],[`array`,3],[`object`,[[79,3,!0],[76,0,!0],[80,147,!1]]],[`ref`,21],[`array`,149],[`ref`,23],[`array`,151],[`ref`,25],[`union`,153,1],[`object`,[[73,136,!1],[34,150,!1],[81,80,!1],[75,138,!1],[45,3,!0],[82,152,!1],[76,154,!1],[25,53,!1]]],[`object`,[[83,3,!0],[84,3,!0]]],[`enum`,`PropertyChanged`,`Added`,`Removed`,`Changed`,`LogicalOr`,`LogicalAnd`,`ValueTransition`,`Expression`],[`object`,[[85,80,!1],[86,80,!1],[87,147,!1],[40,157,!0],[88,80,!1]]],[`object`,[[1,80,!1]]],[`object`,[[89,3,!0]]],[`ref`,1,32,41,76,100,124,136,154,177,178],[`array`,161],[`object`,[[3,5,!0],[90,162,!1],[74,0,!0],[1,3,!0]]],[`object`,[[91,3,!0],[92,2,!1],[93,82,!0]]],[`object`,[[91,3,!0]]],[`ref`,43],[`object`,[[94,166,!0]]],[`object`,[[67,120,!0]]],[`ref`,38],[`array`,169],[`object`,[[66,80,!1],[95,170,!1]]],[`ref`,34,35,36,39],[`object`,[[45,3,!0],[76,172,!0],[64,115,!0]]],[`object`,[[96,0,!0],[97,3,!0]]],[`object`,[[1,3,!0]]],[`object`,[[70,3,!0]]],[`ref`,117],[`array`,177],[`ref`,42,57,77,134,135,138,139,166,176,211],[`array`,179],[`object`,[[98,178,!1],[99,180,!1],[100,180,!1],[101,180,!1]]],[`object`,[[94,3,!0],[102,3,!0]]],[`ref`,260],[`object`,[[103,183,!0],[45,3,!0]]],[`ref`,182,184,187,188,189,191,193,194,195,196,198,199,201,202,203],[`array`,185],[`object`,[[104,186,!1],[45,3,!0]]],[`union`,183,1],[`object`,[[103,188,!1],[1,3,!0],[2,2,!1]]],[`ref`,11],[`union`,190,1],[`ref`,56],[`union`,192,1],[`ref`,101],[`union`,194,1],[`ref`,151],[`array`,196],[`ref`,157],[`array`,198],[`ref`,173],[`array`,200],[`union`,201,1],[`ref`,160,161],[`union`,203,1],[`ref`,49],[`union`,205,1],[`array`,205],[`ref`,47,63],[`array`,208],[`object`,[[105,191,!1],[106,193,!1],[66,80,!1],[107,80,!1],[108,195,!1],[45,3,!0],[109,197,!1],[87,199,!1],[110,202,!1],[111,204,!1],[112,206,!1],[113,207,!1],[114,209,!1]]],[`union`,198,1],[`union`,127,1],[`object`,[[115,3,!0],[116,211,!1],[112,3,!0],[117,212,!1],[118,128,!1]]],[`object`,[[115,3,!0],[112,80,!1]]],[`enum`,`Equal`,`NotEqual`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Contains`,`StartsWith`],[`object`,[[119,3,!0],[120,215,!0],[121,0,!0]]],[`ref`,125],[`array`,217],[`object`,[[122,218,!1],[64,3,!0]]],[`object`,[[123,82,!1],[45,3,!0],[124,80,!1],[125,80,!1],[126,80,!1]]],[`ref`,53],[`array`,221],[`ref`,55],[`union`,223,1],[`union`,209,1],[`array`,74],[`union`,226,1],[`object`,[[127,222,!1],[66,80,!1],[67,121,!1],[128,224,!1],[45,3,!0],[64,3,!0],[114,225,!1],[129,227,!1],[130,147,!1]]],[`union`,166,1],[`object`,[[131,80,!1],[132,80,!1],[133,80,!1],[94,229,!1],[134,75,!1],[135,80,!1],[67,121,!1],[136,80,!1],[137,80,!1],[138,80,!1],[139,80,!1],[140,75,!1],[141,3,!0]]],[`object`,[[115,82,!0],[142,80,!1],[143,80,!1],[144,80,!1],[145,147,!1]]],[`object`,[[98,178,!1],[146,3,!0],[147,82,!0],[99,180,!1],[100,180,!1],[101,180,!1]]],[`object`,[[148,3,!0]]],[`ref`,61],[`union`,234,1],[`ref`,193],[`union`,236,1],[`object`,[[149,3,!0],[150,235,!1],[151,80,!1],[52,80,!1],[53,80,!1],[152,80,!1],[153,237,!1],[68,75,!1],[154,80,!1]]],[`enum`,`Outlet`,`Dialog`,`External`],[`object`,[[40,239,!0],[55,3,!0]]],[`ref`,179],[`array`,241],[`union`,242,1],[`ref`,266],[`array`,244],[`object`,[[155,243,!1],[156,245,!1]]],[`ref`,7],[`union`,247,1],[`ref`,91],[`array`,249],[`ref`,209],[`array`,251],[`ref`,210],[`array`,253],[`ref`,213],[`array`,255],[`ref`,265],[`array`,257],[`object`,[[157,248,!1],[6,12,!1],[158,80,!1],[159,250,!1],[66,80,!1],[160,80,!1],[161,252,!1],[45,3,!0],[162,254,!1],[163,82,!1],[164,147,!1],[165,147,!1],[166,256,!1],[167,80,!1],[168,258,!1]]],[`object`,[[45,3,!0]]],[`object`,[[169,3,!0]]],[`ref`,73],[`array`,262],[`object`,[[66,80,!1],[53,80,!1],[170,116,!1],[45,3,!0],[171,263,!1]]],[`object`,[[45,3,!0],[64,115,!0]]],[`ref`,72],[`array`,266],[`object`,[[66,80,!1],[53,80,!1],[45,3,!0],[117,116,!1],[118,267,!1]]],[`object`,[[70,3,!0],[81,2,!1]]],[`integer`,0,4294967295],[`enum`,`Private`,`Public`],[`object`,[[66,80,!1],[107,80,!1],[67,121,!1],[128,270,!1],[172,82,!1],[53,80,!1],[45,3,!0],[173,80,!1],[87,199,!1],[71,131,!1],[174,271,!1]]],[`object`,[[3,5,!0],[175,82,!0],[4,7,!1]]],[`object`,[[98,178,!1],[176,3,!0],[99,180,!1],[100,180,!1],[101,180,!1]]],[`object`,[[85,0,!0]]],[`ref`,60],[`array`,276],[`union`,277,1],[`ref`,264],[`array`,279],[`ref`,79],[`array`,281],[`ref`,149],[`array`,283],[`ref`,212],[`array`,285],[`object`,[[105,191,!1],[6,12,!1],[177,278,!1],[178,280,!1],[66,80,!1],[107,80,!1],[11,22,!1],[179,282,!1],[13,26,!1],[180,82,!0],[45,3,!0],[21,284,!1],[181,286,!1],[28,57,!1],[168,258,!1]]],[`ref`,80,262,263],[`array`,288],[`object`,[[182,289,!1],[66,80,!1],[67,120,!0],[183,82,!0],[146,80,!1],[45,3,!0],[184,147,!1]]],[`object`,[[136,3,!0]]],[`object`,[[152,80,!1],[1,3,!0]]],[`ref`,85],[`array`,293],[`object`,[[185,3,!0],[87,294,!1]]],[`object`,[[186,3,!0],[187,147,!1],[188,82,!0],[152,80,!1],[189,147,!1],[148,3,!0],[190,80,!1],[191,82,!0]]],[`ref`,87],[`array`,297],[`object`,[[177,298,!1],[192,3,!0]]],[`ref`,88],[`array`,300],[`object`,[[186,3,!0],[59,301,!1],[148,3,!0],[2,2,!1]]],[`ref`,89],[`array`,303],[`object`,[[53,3,!0],[130,304,!1]]],[`object`,[[193,3,!0],[2,0,!0]]],[`object`,[[149,3,!0],[104,186,!1],[68,75,!1]]],[`object`,[[104,186,!1],[54,3,!0]]],[`ref`,95],[`union`,309,1],[`ref`,93],[`array`,311],[`ref`,94],[`array`,313],[`object`,[[194,310,!1],[35,312,!1],[195,314,!1],[196,310,!1]]],[`object`,[[197,74,!0],[198,310,!1],[199,310,!1],[43,310,!1]]],[`object`,[[200,74,!0],[201,75,!1],[193,3,!0],[202,74,!0],[203,75,!1],[43,310,!1]]],[`enum`,`Fraction`,`Pixels`,`Percent`,`Auto`],[`object`,[[204,318,!0],[2,77,!1]]],[`object`,[[205,80,!1],[83,80,!1],[152,80,!1],[1,3,!0]]],[`object`,[[96,80,!1],[97,3,!0]]],[`enum`,`Unspecified`,`Auto`,`Manual`],[`ref`,83],[`array`,323],[`ref`,96],[`array`,325],[`ref`,92],[`union`,327,1],[`ref`,97,98],[`union`,329,1],[`object`,[[6,12,!1],[206,322,!0],[35,324,!1],[66,80,!1],[207,326,!1],[208,3,!0],[209,322,!0],[210,328,!1],[45,3,!0],[211,237,!1],[212,330,!1],[168,258,!1]]],[`ref`,74],[`array`,332],[`ref`,52,78],[`union`,334,1],[`object`,[[213,333,!1],[81,335,!1],[4,7,!1],[214,2,!1]]],[`ref`,102],[`union`,337,1],[`object`,[[94,229,!1],[67,121,!1],[215,338,!1]]],[`ref`,103],[`array`,340],[`object`,[[216,341,!1]]],[`object`,[[217,3,!0]]],[`object`,[[66,80,!1],[45,3,!0]]],[`ref`,106],[`union`,345,1],[`object`,[[218,346,!1],[66,80,!1],[219,346,!1],[220,199,!1],[45,3,!0],[221,3,!0]]],[`object`,[[94,229,!1],[66,80,!1],[67,121,!1],[215,338,!1]]],[`ref`,239],[`union`,349,1],[`ref`,238],[`union`,351,1],[`object`,[[66,80,!1],[208,2,!1],[222,128,!1],[45,3,!0],[223,350,!1],[112,352,!1],[64,3,!0],[130,128,!1]]],[`object`,[[45,3,!0],[130,128,!1]]],[`object`,[[224,3,!0]]],[`object`,[[224,3,!0],[130,128,!1]]],[`object`,[[173,80,!1],[225,3,!0],[174,271,!1]]],[`ref`,51,129],[`object`,[[226,180,!1],[227,358,!0]]],[`object`,[[226,180,!1]]],[`object`,[[103,3,!0],[45,3,!0]]],[`ref`,115],[`array`,362],[`ref`,116],[`union`,364,1],[`ref`,3,19,69,119],[`object`,[[226,180,!1],[228,363,!1],[227,80,!1],[229,365,!1],[230,366,!0]]],[`enum`,`Seconds`,`Minutes`,`Hours`,`Days`],[`object`,[[231,74,!0],[204,368,!0]]],[`ref`,122],[`array`,370],[`object`,[[176,3,!0],[4,128,!1],[232,371,!1]]],[`object`,[[233,82,!0],[234,80,!1],[109,197,!1],[235,3,!0]]],[`object`,[[3,5,!0],[70,3,!0],[4,7,!1]]],[`ref`,123],[`array`,375],[`object`,[[213,376,!1],[236,3,!0],[1,3,!0]]],[`object`,[[85,0,!0],[1,3,!0]]],[`ref`,14],[`array`,379],[`object`,[[157,248,!1],[6,12,!1],[158,80,!1],[161,252,!1],[45,3,!0],[237,380,!1],[162,254,!1],[163,82,!1],[164,147,!1],[165,147,!1],[166,256,!1],[167,80,!1],[168,258,!1]]],[`array`,0],[`object`,[[59,382,!1]]],[`union`,3,82,1],[`number`,-17976931348623157e292,17976931348623157e292],[`enum`,`Int32`,`Int64`,`Decimal`,`Single`],[`string`,`^-?[0-9]+(\\.[0-9]+)?([Ee][+-]?[0-9]+)?$`],[`object`,[[238,386,!0],[2,387,!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`,[[238,389,!0],[2,390,!0]]],[`union`,384,385,388,391],[`object`,[[2,392,!1]]],[`enum`,`And`,`Or`],[`object`,[[119,358,!0],[120,394,!0],[121,358,!0]]],[`ref`,8,33,130,137,180],[`object`,[[119,396,!0],[120,394,!0],[121,396,!0]]],[`object`,[[119,98,!0],[120,394,!0],[121,98,!0]]],[`ref`,65],[`array`,399],[`union`,400,1],[`ref`,99],[`array`,402],[`union`,403,1],[`ref`,200],[`array`,405],[`object`,[[105,191,!1],[6,12,!1],[177,278,!1],[178,280,!1],[66,80,!1],[239,401,!1],[107,80,!1],[11,22,!1],[179,282,!1],[13,26,!1],[240,404,!1],[180,82,!0],[45,3,!0],[237,380,!1],[21,284,!1],[241,406,!1],[28,57,!1],[168,258,!1]]],[`object`,[[98,178,!1],[99,180,!1],[100,180,!1],[101,180,!1],[242,3,!0]]],[`object`,[[3,5,!0],[90,162,!1],[1,3,!0]]],[`object`,[[243,396,!0]]],[`enum`,`Info`,`Warning`,`Error`,`Unknown`],[`object`,[[98,178,!1],[244,411,!0],[146,3,!0],[147,82,!0],[99,180,!1],[100,180,!1],[101,180,!1]]],[`object`,[[98,178,!1],[245,3,!0],[99,180,!1],[100,180,!1],[101,180,!1]]],[`ref`,141],[`array`,414],[`object`,[[246,415,!1]]],[`object`,[[45,3,!0],[2,0,!0]]],[`object`,[[94,229,!1],[67,121,!1]]],[`object`,[[66,80,!1],[45,3,!0],[20,147,!1]]],[`object`,[[247,82,!1],[248,80,!1],[249,80,!1],[250,3,!0],[251,75,!1],[252,75,!1]]],[`union`,396,1],[`object`,[[94,229,!1],[227,421,!1],[66,80,!1],[67,121,!1],[45,3,!0]]],[`ref`,150],[`array`,423],[`object`,[[253,80,!1],[254,80,!1],[255,80,!1],[227,80,!1],[256,80,!1],[66,80,!1],[257,80,!1],[258,80,!1],[45,3,!0],[259,147,!1],[260,80,!1],[261,147,!1],[262,424,!1]]],[`object`,[[150,3,!0],[263,3,!0]]],[`ref`,75],[`union`,427,1],[`ref`,105],[`union`,429,1],[`union`,358,1],[`object`,[[70,3,!0],[208,2,!1],[264,428,!1],[265,430,!1],[4,128,!1],[112,206,!1],[71,131,!1],[72,431,!1]]],[`object`,[[3,5,!0],[90,162,!1],[66,80,!1],[67,121,!1],[81,335,!1],[45,3,!0],[266,80,!1],[267,80,!1],[25,53,!1]]],[`ref`,152],[`array`,434],[`object`,[[90,162,!1],[268,435,!1],[45,3,!0]]],[`object`,[[1,3,!0],[76,0,!0]]],[`object`,[[269,82,!1],[270,82,!1],[271,82,!1],[272,82,!1],[45,3,!0],[64,115,!0]]],[`ref`,158],[`object`,[[45,3,!0],[76,439,!0],[64,116,!1]]],[`object`,[[76,439,!0]]],[`ref`,159],[`array`,442],[`object`,[[207,443,!1]]],[`object`,[[2,0,!0]]],[`object`,[[207,128,!1]]],[`object`,[[45,3,!0],[76,2,!1],[64,115,!0]]],[`ref`,164],[`union`,448,1],[`array`,448],[`ref`,143],[`union`,451,1],[`object`,[[105,191,!1],[96,449,!1],[273,450,!1],[66,80,!1],[274,450,!1],[275,82,!1],[45,3,!0],[276,452,!1],[277,115,!0],[125,80,!1]]],[`object`,[[98,178,!1],[99,180,!1],[100,180,!1],[101,180,!1],[230,3,!0]]],[`object`,[[278,147,!1],[40,3,!0]]],[`ref`,50],[`union`,456,1],[`ref`,168],[`union`,458,1],[`ref`,170],[`array`,460],[`object`,[[66,80,!1],[107,80,!1],[83,457,!1],[45,3,!0],[279,459,!1],[30,461,!1],[280,431,!1]]],[`ref`,256],[`array`,463],[`ref`,121],[`array`,465],[`union`,466,1],[`union`,197,1],[`ref`,120,133,181],[`object`,[[94,229,!1],[281,464,!1],[66,80,!1],[67,121,!1],[282,467,!1],[109,468,!1],[110,202,!1],[76,469,!0]]],[`object`,[[283,3,!0]]],[`object`,[[66,80,!1],[107,80,!1],[67,121,!1],[45,3,!0],[87,199,!1]]],[`object`,[[49,80,!1],[96,80,!1],[273,128,!1],[266,3,!0]]],[`object`,[[94,229,!1],[66,80,!1],[70,3,!0],[67,121,!1]]],[`ref`,174],[`array`,475],[`object`,[[66,80,!1],[83,457,!1],[45,3,!0],[266,3,!0],[156,476,!1]]],[`object`,[[98,178,!1],[99,180,!1],[100,180,!1],[101,180,!1],[97,3,!0]]],[`ref`,52],[`union`,479,1],[`object`,[[70,3,!0],[81,2,!1],[214,2,!1],[284,480,!1]]],[`enum`,`Error`,`Information`,`Warning`],[`object`,[[227,358,!0],[146,80,!1],[285,482,!0]]],[`object`,[[286,3,!0]]],[`enum`,`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`union`,485,1],[`string`,`^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]{1,7})?$`],[`object`,[[287,75,!1],[288,486,!1],[289,487,!0]]],[`object`,[[176,3,!0],[152,80,!1],[153,237,!1]]],[`ref`,185],[`array`,490],[`ref`,186],[`union`,492,1],[`object`,[[228,491,!1],[152,3,!0],[153,237,!1],[229,493,!1]]],[`object`,[[98,178,!1],[176,3,!0],[227,358,!0]]],[`enum`,`Hidden`,`Execute`,`Unknown`],[`object`,[[98,178,!1],[176,80,!1],[290,496,!0]]],[`object`,[[291,11,!0]]],[`ref`,44],[`array`,499],[`ref`,45],[`array`,501],[`ref`,155],[`array`,503],[`ref`,46],[`array`,505],[`object`,[[6,12,!1],[186,3,!0],[292,188,!1],[161,500,!1],[52,80,!1],[45,3,!0],[162,502,!1],[154,504,!1],[87,506,!1],[293,80,!1],[168,258,!1]]],[`object`,[[96,80,!1],[97,3,!0],[64,115,!0]]],[`object`,[[152,3,!0],[1,3,!0]]],[`ref`,183],[`array`,510],[`object`,[[96,80,!1],[294,80,!1],[69,511,!1],[295,80,!1],[242,3,!0]]],[`ref`,192],[`array`,513],[`object`,[[207,514,!1],[55,3,!0]]],[`ref`,90],[`array`,516],[`object`,[[177,517,!1],[66,80,!1],[104,186,!1],[67,121,!1],[45,3,!0]]],[`ref`,190],[`array`,519],[`object`,[[6,12,!1],[35,520,!1],[296,237,!1],[55,3,!0],[168,258,!1]]],[`ref`,195],[`array`,522],[`object`,[[297,80,!1],[45,3,!0],[166,523,!1],[298,80,!1]]],[`object`,[[157,248,!1],[6,12,!1],[158,80,!1],[159,250,!1],[66,80,!1],[160,80,!1],[161,252,!1],[299,80,!1],[45,3,!0],[162,254,!1],[163,82,!1],[164,147,!1],[165,147,!1],[166,256,!1],[167,80,!1],[168,258,!1]]],[`ref`,251],[`array`,526],[`object`,[[58,107,!1],[59,527,!1],[45,3,!0]]],[`object`,[[221,257,!0]]],[`object`,[[70,3,!0],[87,128,!1]]],[`ref`,204],[`array`,531],[`object`,[[300,3,!0],[213,532,!1]]],[`ref`,205],[`array`,534],[`object`,[[301,535,!1]]],[`object`,[[297,80,!1],[45,3,!0],[298,80,!1]]],[`object`,[[98,178,!1],[99,180,!1],[100,180,!1],[101,180,!1],[55,3,!0],[2,3,!0]]],[`ref`,27],[`array`,539],[`ref`,48],[`array`,541],[`enum`,`Inbound`,`Outbound`],[`union`,543,1],[`array`,427],[`array`,429],[`ref`,153],[`array`,547],[`ref`,165],[`array`,549],[`ref`,169],[`array`,551],[`ref`,172],[`array`,553],[`union`,554,1],[`ref`,175],[`array`,556],[`union`,557,1],[`ref`,197],[`array`,559],[`ref`,244],[`array`,561],[`enum`,`StateChange`,`StateView`,`Automation`,`Translate`],[`object`,[[302,540,!1],[303,542,!1],[304,289,!1],[66,80,!1],[305,544,!1],[107,80,!1],[213,545,!1],[11,22,!1],[67,121,!1],[45,3,!0],[189,546,!1],[306,548,!1],[21,284,!1],[307,550,!1],[308,552,!1],[309,555,!1],[310,558,!1],[311,560,!1],[312,562,!1],[28,57,!1],[64,563,!0]]],[`object`,[[313,80,!1],[45,3,!0]]],[`object`,[[81,0,!0],[45,3,!0]]],[`object`,[[64,3,!0],[2,3,!0]]],[`ref`,216],[`array`,568],[`object`,[[314,82,!0],[315,569,!1],[278,147,!1]]],[`object`,[[316,3,!0],[317,128,!1]]],[`object`,[[318,3,!0]]],[`object`,[[319,3,!0],[208,2,!1],[222,128,!1],[320,80,!1],[130,128,!1]]],[`ref`,31],[`union`,574,1],[`object`,[[321,575,!1],[45,80,!1]]],[`object`,[[322,3,!0],[208,2,!1],[320,80,!1],[223,350,!1],[112,352,!1],[130,128,!1]]],[`object`,[[323,80,!1],[324,80,!1]]],[`ref`,229],[`array`,579],[`object`,[[297,80,!1],[45,3,!0],[325,580,!1],[298,80,!1]]],[`ref`,232],[`object`,[[326,582,!0],[266,3,!0]]],[`enum`,`Word`,`Text`,`Number`,`Flag`],[`object`,[[45,3,!0],[40,584,!0],[2,3,!0]]],[`enum`,`Text`,`Number`,`Flag`,`Null`],[`object`,[[45,3,!0],[40,586,!0],[2,80,!1]]],[`object`,[[266,3,!0],[327,3,!0]]],[`object`,[[328,82,!0],[45,3,!0]]],[`ref`,236],[`array`,590],[`object`,[[329,80,!1],[45,3,!0],[330,591,!1],[56,80,!1]]],[`ref`,230],[`array`,593],[`object`,[[207,594,!1]]],[`union`,582,1],[`ref`,228],[`array`,597],[`ref`,231],[`array`,599],[`object`,[[331,596,!1],[65,598,!1],[4,600,!1]]],[`ref`,234],[`array`,602],[`object`,[[38,603,!1],[327,3,!0]]],[`object`,[[115,3,!0],[112,3,!0],[117,212,!1],[118,128,!1]]],[`object`,[[332,82,!0],[87,128,!1]]],[`ref`,240],[`array`,607],[`object`,[[98,128,!1],[332,82,!0],[97,3,!0],[333,608,!1]]],[`object`,[[332,82,!0],[320,80,!1],[45,3,!0],[87,128,!1]]],[`object`,[[322,3,!0],[208,2,!1],[223,350,!1],[334,3,!0],[112,352,!1],[130,128,!1]]],[`ref`,109],[`array`,612],[`ref`,224],[`array`,614],[`ref`,218],[`union`,616,1],[`ref`,217],[`union`,618,1],[`ref`,219],[`array`,620],[`ref`,220],[`union`,622,1],[`ref`,110],[`array`,624],[`ref`,242],[`array`,626],[`union`,627,1],[`ref`,108],[`array`,629],[`ref`,215],[`array`,631],[`ref`,112],[`array`,633],[`ref`,222],[`union`,635,1],[`ref`,223],[`array`,637],[`ref`,237],[`union`,639,1],[`ref`,111],[`array`,641],[`ref`,241],[`array`,643],[`ref`,162,163],[`union`,645,1],[`ref`,221],[`union`,647,1],[`union`,614,1],[`union`,620,1],[`ref`,246],[`union`,651,1],[`ref`,243],[`union`,653,1],[`ref`,245],[`union`,655,1],[`object`,[[335,613,!1],[66,80,!1],[11,22,!1],[67,121,!1],[336,615,!1],[337,617,!1],[338,619,!1],[339,621,!1],[340,623,!1],[341,625,!1],[342,628,!1],[45,3,!0],[69,630,!1],[25,53,!1],[343,632,!1],[344,634,!1],[345,636,!1],[346,638,!1],[347,615,!1],[348,82,!0],[349,82,!1],[350,640,!1],[351,642,!1],[352,644,!1],[353,628,!1],[354,608,!1],[355,646,!1],[72,648,!1],[356,649,!1],[357,650,!1],[358,623,!1],[359,652,!1],[360,654,!1],[361,656,!1]]],[`object`,[[230,3,!0],[130,128,!1]]],[`object`,[[98,128,!1],[97,3,!0]]],[`object`,[[81,3,!0]]],[`enum`,`Primary`,`Secondary`,`Quiet`],[`union`,661,1],[`object`,[[105,191,!1],[362,662,!1],[52,80,!1],[53,3,!0],[363,80,!1],[56,3,!0]]],[`enum`,`Unknown`,`Action`,`Navigate`,`Dialog`],[`object`,[[52,80,!1],[152,80,!1],[45,3,!0],[69,511,!1],[154,504,!1],[40,664,!0],[55,3,!0]]],[`ref`,253,254],[`array`,666],[`object`,[[122,667,!1]]],[`object`,[[364,147,!1],[45,3,!0]]],[`object`,[[281,464,!1],[66,80,!1],[67,121,!1],[45,3,!0]]],[`object`,[[188,82,!0],[365,82,!0],[45,3,!0]]],[`object`,[[66,80,!1],[67,121,!1],[45,3,!0],[87,199,!1]]],[`enum`,`Invalid`,`DataContext`,`QueryResult`,`ComponentProperty`,`Literal`],[`enum`,`OneWay`,`TwoWay`],[`union`,674,1],[`enum`,`Propagate`,`Clear`,`Preserve`],[`union`,676,1],[`object`,[[366,673,!0],[367,80,!1],[368,80,!1],[369,80,!1],[370,2,!1],[46,675,!1],[371,677,!1],[148,3,!0],[97,80,!1],[372,80,!1]]],[`ref`,226],[`union`,679,1],[`ref`,225],[`union`,681,1],[`ref`,227],[`union`,683,1],[`ref`,235],[`union`,685,1],[`object`,[[373,680,!1],[374,80,!1],[375,147,!1],[210,80,!1],[45,3,!0],[376,682,!1],[377,147,!1],[378,147,!1],[42,684,!1],[379,686,!1],[380,80,!1]]],[`object`,[[182,289,!1],[66,80,!1],[70,3,!0],[183,82,!0],[146,80,!1],[45,3,!0],[184,147,!1]]],[`object`,[[381,147,!1],[182,289,!1],[66,80,!1],[70,3,!0],[183,82,!0],[146,80,!1],[45,3,!0],[1,3,!0],[184,147,!1]]],[`object`,[[55,3,!0]]],[`ref`,16],[`array`,691],[`object`,[[98,692,!1],[291,3,!0]]],[`enum`,`NotEmpty`,`Max`,`Min`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Equal`,`Length`,`Matches`,`AllGreaterThan`,`AllGreaterThanOrEqual`,`Rule`,`NotEqual`,`Checksum`,`Contains`,`NotContains`,`StartsWith`,`EndsWith`,`DecimalPlaces`],[`object`,[[94,229,!1],[67,121,!1],[215,338,!1],[146,80,!1],[1,3,!0],[139,694,!0],[285,482,!0],[2,2,!1]]],[`ref`,145],[`array`,696],[`object`,[[41,3,!0],[382,697,!1],[43,3,!0]]]],contracts:[4,8,70,71,79,81,83,92,93,94,97,99,104,105,112,113,114,117,124,126,134,139,142,143,114,146,148,155,156,158,159,160,163,164,165,167,168,171,173,174,175,176,181,182,184,187,189,167,210,213,214,216,219,220,228,230,231,232,233,233,238,240,175,246,175,259,260,260,233,261,93,264,265,268,269,272,273,274,275,287,290,291,233,292,295,296,299,302,305,306,307,308,315,316,317,319,320,93,321,331,336,339,342,343,344,347,348,353,265,354,355,356,355,357,175,359,360,361,367,369,369,372,373,374,377,378,381,383,393,395,397,398,407,260,408,181,409,410,412,413,416,417,233,418,419,420,260,422,425,260,426,432,269,433,436,114,437,438,175,440,441,444,445,446,447,453,454,343,455,462,470,471,472,473,474,477,478,269,481,483,484,488,489,184,494,495,497,498,167,507,292,508,509,512,187,187,515,518,521,524,525,343,528,529,530,533,536,437,537,117,260,538,564,565,233,566,567,260,570,571,572,573,93,576,577,537,578,581,583,585,587,588,589,592,595,601,604,93,605,93,606,609,610,611,657,658,659,660,4,445,663,665,668,275,343,669,117,670,671,672,678,687,688,689,690,693,695,698]};export{e as syntaxCollections};
2
2
  //# sourceMappingURL=SyntaxCollections.js.map