@cratis/screenplay-language 4.175.0 → 4.177.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles/compiler/Diagnostics/DiagnosticCodes.js +1 -1
- package/dist/bundles/compiler/Diagnostics/DiagnosticCodes.js.map +1 -1
- package/dist/bundles/compiler/Parsing/PublicEventUsageValidator.js +1 -1
- package/dist/bundles/compiler/Parsing/PublicEventUsageValidator.js.map +1 -1
- package/dist/bundles/compiler/Parsing/ScreenParser.js +1 -1
- package/dist/bundles/compiler/Parsing/ScreenParser.js.map +1 -1
- package/dist/bundles/compiler/Parsing/TemplateReferenceText.js +2 -0
- package/dist/bundles/compiler/Parsing/TemplateReferenceText.js.map +1 -0
- package/dist/bundles/compiler/Syntax/SyntaxCollections.js +1 -1
- package/dist/bundles/compiler/Syntax/SyntaxCollections.js.map +1 -1
- package/dist/bundles/diagnostic-codes.js +1 -1
- package/dist/bundles/diagnostic-codes.js.map +1 -1
- package/dist/bundles/keyword-docs.js +1 -1
- package/dist/bundles/keyword-docs.js.map +1 -1
- package/dist/bundles/language.js +1 -1
- package/dist/bundles/language.js.map +1 -1
- package/dist/bundles/validation.js +1 -1
- package/dist/bundles/validation.js.map +1 -1
- package/dist/diagnostic-codes.d.ts +4 -0
- package/dist/diagnostic-codes.d.ts.map +1 -1
- package/dist/keyword-docs.d.ts.map +1 -1
- package/dist/language.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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","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","slots","columns","click","columnMatch","clickMatch","labelled","fields","dataContext","componentStableId","icon","properties","exposedValues","presentationValues","outlets","bound","literal","parseMappingSource","values","items","item","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, 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 { 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 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 context.skipOpaqueBlock(line.indent);\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 const name = line.content.substring('template'.length).trim();\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, 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 context.skipOpaqueBlock(child.indent);\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 context.skipOpaqueBlock(child.indent);\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 for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const item = parseToolbarItem(context, child);\n if (item !== undefined) items.push(item);\n }\n return { kind: 'ScreenToolbarSyntax', name, items, location: locationOf(line) };\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>' or 'item <name> dialog <DialogTemplate>'`, 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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,CAAC,CAQlM,CACA,IAAM0C,EAA8BrD,EAAM,KAAO,WAAa,WAAaA,EAAM,KAAO,SAAW,SAAW,SAC9G,MAAO,CAAE,KAAM,oBAAqB,KAAMA,EAAM,GAAI,aAAY,OAAQA,EAAM,GAAI,MAAOoD,EAAW,OAAM,aAAY,aAAcR,EAAoB,SAAUrC,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,IAAMkD,EAAWlD,EAAK,QAAQ,WAAW,KAAK,EAAIA,EAAK,QAAQ,UAAU,CAAC,EAAIA,EAAK,QACnF,GAAI,CAACC,EAAQ,UAAU,IAAIiD,CAAQ,EAAG,CAClCjD,EAAQ,MAAMC,EAAgB,kBAAmB,6DAA6DF,EAAK,QAAQ,GAAIG,EAAWH,CAAI,CAAC,EAC/I,MACJ,CACKA,EAAK,QAAQ,WAAW,KAAK,GAC9BC,EAAQ,QAAQC,EAAgB,sBAAuB,IAAIgD,EAAS,+CAA+CA,EAAS,WAAY/C,EAAWH,CAAI,CAAC,EAE5J,IAAMmD,EAAOC,EAAgBnD,EAASiD,EAAUlD,CAAI,EACpD,OAAOmD,IAAS,KAAO,IAAA,GAAY,CAC/B,KAAM,mBACN,KAAM,CAAE,KAAM,kBAAmB,WAAU,OAAM,SAAUhD,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","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","item","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, 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 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 context.skipOpaqueBlock(line.indent);\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 context.skipOpaqueBlock(child.indent);\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 context.skipOpaqueBlock(child.indent);\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 for (let child = context.peekChild(line.indent); child !== undefined; child = context.peekChild(line.indent)) {\n context.reader.takeSignificant();\n const item = parseToolbarItem(context, child);\n if (item !== undefined) items.push(item);\n }\n return { kind: 'ScreenToolbarSyntax', name, items, location: locationOf(line) };\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>' or 'item <name> dialog <DialogTemplate>'`, 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,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,uCA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AW,OAAM,aAAY,aAAcR,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,IAAMwD,EAAWxD,EAAK,QAAQ,WAAW,KAAK,EAAIA,EAAK,QAAQ,UAAU,CAAC,EAAIA,EAAK,QACnF,GAAI,CAACC,EAAQ,UAAU,IAAIuD,CAAQ,EAAG,CAClCvD,EAAQ,MAAMC,EAAgB,kBAAmB,6DAA6DF,EAAK,QAAQ,GAAIG,EAAWH,CAAI,CAAC,EAC/I,MACJ,CACKA,EAAK,QAAQ,WAAW,KAAK,GAC9BC,EAAQ,QAAQC,EAAgB,sBAAuB,IAAIsD,EAAS,+CAA+CA,EAAS,WAAYrD,EAAWH,CAAI,CAAC,EAE5J,IAAMyD,EAAOC,EAAgBzD,EAASuD,EAAUxD,CAAI,EACpD,OAAOyD,IAAS,KAAO,IAAA,GAAY,CAC/B,KAAM,mBACN,KAAM,CAAE,KAAM,kBAAmB,WAAU,OAAM,SAAUtD,EAAWH,CAAI,CAAE,EAC5E,SAAUG,EAAWH,CAAI,CAC7B,CACJ"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../../_virtual/_virtual/_rolldown/runtime.js";import{stringBodyPattern as e,unescapeString as t}from"../Text/StringLiteral.js";import{pattern as n}from"../Text/patterns.js";const r=n(`^blueprint\\s+([A-Za-z_]\\w*(?:\\.\\w+)*)\\s+([A-Za-z_]\\w*(?:\\.\\w+)*)(?:\\s+version\\s+"(${e})")?$`),i=[`>=`,`<=`,`^`,`~`,`>`,`<`,`=`];function startsBlueprintReference(e){return e.startsWith(`blueprint `)}function parseBlueprintReference(e){let n=r.exec(e);if(n!==null)return{blueprint:n[1],name:n[2],version:n[3]===void 0?null:t(n[3])}}function isValidTemplateVersionRange(e){let t=e.trim();if(t.length===0||t===`*`)return!0;let n=t;for(let e of i)if(t.startsWith(e)){n=t.substring(e.length).trim();break}let r=n.search(/[-+]/),a=(r>=0?n.substring(0,r):n).trim().split(`.`);return a.length>=1&&a.length<=3&&a.every(e=>/^[0-9]+$/.test(e))}export{isValidTemplateVersionRange,parseBlueprintReference,startsBlueprintReference};
|
|
2
|
+
//# sourceMappingURL=TemplateReferenceText.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplateReferenceText.js","names":["blueprintReference","pattern","stringBodyPattern","rangeOperators","text","match","unescapeString","trimmed","range","literal","operator","suffix","parts","part"],"sources":["../../../../../../Compiler/Parsing/TemplateReferenceText.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 { pattern } from '../Text/patterns';\nimport { stringBodyPattern, unescapeString } from '../Text/StringLiteral';\n\n// 'template blueprint <Blueprint> <Name> [version \"<range>\"]': a template a blueprint package ships, with the\n// semver range of the blueprint the author accepts. The port of the C# TemplateReferenceText.\nconst blueprintReference = pattern(`^blueprint\\\\s+([A-Za-z_]\\\\w*(?:\\\\.\\\\w+)*)\\\\s+([A-Za-z_]\\\\w*(?:\\\\.\\\\w+)*)(?:\\\\s+version\\\\s+\"(${stringBodyPattern})\")?$`);\n\nconst rangeOperators = ['>=', '<=', '^', '~', '>', '<', '='];\n\nexport interface TemplateReferenceParts {\n readonly blueprint: string;\n readonly name: string;\n readonly version: string | null;\n}\n\n// Whether the text after 'template' starts the blueprint form, whether or not it is well formed.\nexport function startsBlueprintReference(text: string): boolean {\n return text.startsWith('blueprint ');\n}\n\n// Reads the blueprint form, or undefined when it is malformed.\nexport function parseBlueprintReference(text: string): TemplateReferenceParts | undefined {\n const match = blueprintReference.exec(text);\n if (match === null) return undefined;\n return { blueprint: match[1], name: match[2], version: match[3] === undefined ? null : unescapeString(match[3]) };\n}\n\n// Whether a template reference's version is a range Scene understands - the same subset as Scene's\n// isValidVersionRange and PackageVersionRange.IsValidRange. Whether the installed blueprint satisfies it is\n// decided where the blueprint is known, in Stage and Scene.\nexport function isValidTemplateVersionRange(range: string): boolean {\n const trimmed = range.trim();\n if (trimmed.length === 0 || trimmed === '*') return true;\n let literal = trimmed;\n for (const operator of rangeOperators) {\n if (trimmed.startsWith(operator)) {\n literal = trimmed.substring(operator.length).trim();\n break;\n }\n }\n const suffix = literal.search(/[-+]/);\n const numeric = (suffix >= 0 ? literal.substring(0, suffix) : literal).trim();\n const parts = numeric.split('.');\n return parts.length >= 1 && parts.length <= 3 && parts.every(part => /^[0-9]+$/.test(part));\n}\n"],"mappings":"oLAQA,MAAMA,EAAqBC,EAAQ,+FAA+FC,EAAkB,MAAM,EAEpJC,EAAiB,CAAC,KAAM,KAAM,IAAK,IAAK,IAAK,IAAK,GAAG,EAS3D,SAAgB,yBAAyB,EAAuB,CAC5D,OAAOC,EAAK,WAAW,YAAY,CACvC,CAGA,SAAgB,wBAAwB,EAAkD,CACtF,IAAMC,EAAQL,EAAmB,KAAKI,CAAI,EAC1C,GAAIC,IAAU,KACd,MAAO,CAAE,UAAWA,EAAM,GAAI,KAAMA,EAAM,GAAI,QAASA,EAAM,KAAO,IAAA,GAAY,KAAOC,EAAeD,EAAM,EAAE,CAAE,CACpH,CAKA,SAAgB,4BAA4B,EAAwB,CAChE,IAAME,EAAUC,EAAM,KAAK,EAC3B,GAAID,EAAQ,SAAW,GAAKA,IAAY,IAAK,MAAO,GACpD,IAAIE,EAAUF,EACd,IAAK,IAAMG,KAAYP,EACnB,GAAII,EAAQ,WAAWG,CAAQ,EAAG,CAC9B,EAAUH,EAAQ,UAAUG,EAAS,MAAM,CAAC,CAAC,KAAK,EAClD,KACJ,CAEJ,IAAMC,EAASF,EAAQ,OAAO,MAAM,EAE9BG,GADWD,GAAU,EAAIF,EAAQ,UAAU,EAAGE,CAAM,EAAIF,EAAA,CAAS,KACnD,CAAC,CAAC,MAAM,GAAG,EAC/B,OAAOG,EAAM,QAAU,GAAKA,EAAM,QAAU,GAAKA,EAAM,MAAM,GAAQ,WAAW,KAAKC,CAAI,CAAC,CAC9F"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e={kinds:/* @__PURE__ */ `AddMappingSyntax.AllSyntax.ApplicationSyntax.ApplicationTriggerInteractionTriggerSyntax.ArrangementContainerSyntax.ArrangementOverrideSyntax.ArrangementSlotSyntax.ArrangementSyntax.AuthenticatedConditionSyntax.AuthenticationProviderSyntax.AuthenticationSyntax.AuthorizeSyntax.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.SpecificationNoResultSyntax.SpecificationStreamSyntax.SpecificationNoStreamSyntax.SpecificationQueryResultSyntax.SpecificationQuerySyntax.SpecificationReadModelSyntax.SpecificationRedeliverySyntax.SpecificationSyntax.SpecificationTriggerSyntax.SpecificationWhenQuerySyntax.StringsExpressionSyntax.SubtractMappingSyntax.TagSyntax.ToolbarItemSyntax.TemplateExpressionSyntax.TemplateInterpolationSyntax.TemplateTextSyntax.ThemeSyntax.TriggerDataSyntax.TriggerSyntax.TypeRefSyntax.TypeSyntax.UiBindingSyntax.UiProfileSyntax.UniqueEventConstraintSyntax.UniquePropertyConstraintSyntax.DependsOnSyntax.UsesBehaviorSyntax.ValidationRuleSyntax.VariantSyntax`.split(`.`),names:/* @__PURE__ */ `property.value.autoMap.mappings.authentication.behaviors.concepts.domain.eventSources.examples.exposures.fileImports.identity.imports.instanceContributions.layouts.modules.personas.policies.purposes.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.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.icon.id.label.navigate.presentation.target.requirements.rules.arrangement.category.content.displayName.exposes.outlets.restrictsScopes.scopes.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.items.field.slot.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.literalType.dialogTemplates.forms.screenTemplates.screen.operand.level.dialogTemplate.members.hidden.sizeHeight.sizeWidth.slotName.x.y.authorization.basis.basisReference.conditionReference.erasureException.interest.recipients.retention.subjects.transfers.safeguard.inlineEvent.inlineOperation.readModel.sequence.entersOn.isGenerated.isIdentifier.isKey.isSubject.byParts.filters.isObservable.performer.returnType.roles.runsAs.where.data.invokes.member.severity.role.dayOfMonth.dayOfWeek.time.outcome.behavior.context.stableId.outlet.route.rowClick.fitsSlot.eventSourceId.groups.captures.commands.constraints.direction.projections.queries.reactions.readModels.reducers.screens.specifications.contributes.authenticated.claims.capture.record.instant.commandType.inlineProperty.caseValue.eventType.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.compatibleWith.isOptional.bindingKind.componentId.componentPropertyPath.expectedValueType.literal.nullBehavior.rawText.defaultSizeClass.icons.packages.platforms.theme.additionalProperties.places`.split(`.`),rules:[[`string`],[`ref`,26,27,54,55,63,64,66,123,124,136,138,163,167,210,231,235],[`object`,[[0,0,!0],[1,1,!0]]],[`enum`,`Inherit`,`Disabled`,`Enabled`],[`ref`,0,36,58,60,110,203,232],[`array`,4],[`object`,[[2,3,!0],[3,5,!1]]],[`ref`,10],[`null`],[`union`,7,8],[`ref`,14],[`array`,10],[`ref`,50],[`array`,12],[`ref`,62],[`union`,14,8],[`ref`,67],[`array`,16],[`ref`,103],[`array`,18],[`ref`,80],[`array`,20],[`ref`,77],[`array`,22],[`ref`,33],[`union`,24,8],[`ref`,109],[`array`,26],[`ref`,82],[`array`,28],[`ref`,122],[`array`,30],[`union`,31,8],[`ref`,128],[`array`,33],[`ref`,140],[`array`,35],[`union`,36,8],[`ref`,143],[`array`,38],[`ref`,144],[`array`,40],[`ref`,202],[`array`,42],[`union`,43,8],[`enum`,`legacy`,`exact`],[`object`,[[22,45,!0]]],[`ref`,100],[`array`,47],[`ref`,204],[`array`,49],[`ref`,238],[`array`,51],[`union`,52,8],[`ref`,240],[`array`,54],[`union`,55,8],[`ref`,242],[`array`,57],[`union`,58,8],[`ref`,244],[`array`,60],[`union`,61,8],[`object`,[[4,9,!1],[5,11,!1],[6,13,!1],[7,15,!1],[8,17,!1],[9,19,!1],[10,21,!1],[11,23,!1],[12,25,!1],[13,27,!1],[14,29,!1],[15,32,!1],[16,34,!1],[17,37,!1],[18,39,!1],[19,41,!1],[20,44,!1],[21,46,!1],[23,48,!1],[24,50,!1],[25,53,!1],[26,56,!1],[27,59,!1],[28,62,!1]]],[`object`,[[29,0,!0]]],[`ref`,4,6],[`array`,65],[`integer`,-2147483648,2147483647],[`union`,67,8],[`number`],[`union`,69,8],[`enum`,`Flat`,`Row`,`Column`,`Grid`],[`object`,[[30,66,!1],[31,68,!1],[32,68,!1],[33,70,!1],[34,68,!1],[35,68,!1],[36,71,!0]]],[`union`,0,8],[`object`,[[37,73,!1],[38,65,!0],[39,73,!1]]],[`boolean`],[`object`,[[33,75,!1],[40,70,!1],[37,68,!1],[41,0,!0],[35,68,!1],[39,68,!1]]],[`enum`,`Flow`,`Freeform`],[`ref`,5],[`array`,78],[`union`,79,8],[`union`,65,8],[`ref`,250],[`array`,82],[`union`,83,8],[`object`,[[42,77,!0],[43,80,!1],[38,81,!1],[44,84,!1]]],[`object`,[]],[`object`,[[45,73,!1],[41,0,!0]]],[`ref`,9],[`array`,88],[`object`,[[46,89,!1]]],[`ref`,127,142],[`object`,[[47,91,!0]]],[`object`,[[41,0,!0],[1,0,!0]]],[`ref`,241],[`union`,94,8],[`object`,[[41,0,!0],[48,95,!1]]],[`ref`,114],[`array`,97],[`ref`,78],[`union`,99,8],[`ref`,13],[`array`,101],[`object`,[[49,98,!1],[50,73,!1],[51,100,!1],[41,73,!1],[52,68,!1],[53,102,!1]]],[`enum`,`Click`,`DoubleClick`,`Select`,`Submit`,`Change`,`Load`,`Unload`,`Enter`,`Leave`,`Unknown`],[`object`,[[36,104,!0]]],[`ref`,152],[`array`,106],[`ref`,233],[`array`,108],[`union`,109,8],[`ref`,25],[`union`,111,8],[`object`,[[54,0,!0],[3,107,!1],[55,110,!1],[56,112,!1]]],[`ref`,16],[`array`,114],[`ref`,18,22],[`array`,116],[`object`,[[57,115,!1],[58,0,!0],[59,117,!1],[0,0,!0]]],[`ref`,24],[`array`,119],[`object`,[[0,0,!0],[60,1,!0],[61,120,!1]]],[`object`,[[57,115,!1],[59,117,!1],[0,0,!0]]],[`ref`,20],[`array`,123],[`object`,[[62,124,!1],[36,0,!0]]],[`array`,0],[`object`,[[63,0,!0],[60,1,!0],[64,126,!1]]],[`ref`,17],[`array`,128],[`ref`,19],[`array`,130],[`ref`,21],[`union`,132,8],[`object`,[[57,115,!1],[30,129,!1],[65,73,!1],[59,117,!1],[41,0,!0],[66,131,!1],[60,133,!1],[21,46,!1]]],[`object`,[[67,0,!0],[68,0,!0]]],[`enum`,`PropertyChanged`,`Added`,`Removed`,`Changed`,`LogicalOr`,`LogicalAnd`,`ValueTransition`,`Expression`],[`object`,[[69,73,!1],[70,73,!1],[71,126,!1],[36,136,!0],[72,73,!1]]],[`object`,[[0,73,!1]]],[`object`,[[73,0,!0]]],[`ref`,1,28,37,72,96,120,132,150,173,174],[`array`,140],[`object`,[[2,3,!0],[74,141,!1],[58,1,!0],[0,0,!0]]],[`union`,1,8],[`object`,[[75,0,!0],[76,143,!1],[77,75,!0]]],[`object`,[[75,0,!0]]],[`ref`,39],[`object`,[[78,146,!0]]],[`object`,[[51,99,!0]]],[`ref`,34],[`array`,149],[`object`,[[50,73,!1],[79,150,!1]]],[`ref`,30,31,32,35],[`object`,[[41,0,!0],[60,152,!0],[48,94,!0]]],[`object`,[[80,1,!0],[81,0,!0]]],[`object`,[[0,0,!0]]],[`object`,[[54,0,!0]]],[`ref`,113],[`array`,157],[`ref`,38,53,73,130,131,134,135,162,172,207],[`array`,159],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[78,0,!0],[86,0,!0]]],[`ref`,243],[`object`,[[87,163,!0],[41,0,!0]]],[`ref`,178,180,183,184,185,187,189,190,191,192,194,195,197,198,199],[`array`,165],[`object`,[[88,166,!1],[41,0,!0]]],[`union`,163,8],[`object`,[[87,168,!1],[0,0,!0],[1,143,!1]]],[`ref`,11],[`union`,170,8],[`ref`,52],[`union`,172,8],[`ref`,97],[`union`,174,8],[`ref`,147],[`array`,176],[`ref`,153],[`array`,178],[`ref`,169],[`array`,180],[`union`,181,8],[`ref`,156,157],[`union`,183,8],[`ref`,45],[`union`,185,8],[`array`,185],[`ref`,43,59],[`array`,188],[`object`,[[89,171,!1],[90,173,!1],[50,73,!1],[91,73,!1],[92,175,!1],[41,0,!0],[93,177,!1],[71,179,!1],[94,182,!1],[95,184,!1],[96,186,!1],[97,187,!1],[98,189,!1]]],[`union`,178,8],[`union`,106,8],[`object`,[[99,0,!0],[100,191,!1],[96,0,!0],[101,192,!1],[102,107,!1]]],[`object`,[[99,0,!0],[96,73,!1]]],[`enum`,`Equal`,`NotEqual`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Contains`,`StartsWith`],[`object`,[[103,0,!0],[104,195,!0],[105,1,!0]]],[`ref`,121],[`array`,197],[`object`,[[106,198,!1],[48,0,!0]]],[`object`,[[107,75,!1],[41,0,!0],[108,73,!1],[109,73,!1],[110,73,!1]]],[`ref`,49],[`array`,201],[`ref`,51],[`union`,203,8],[`union`,189,8],[`array`,67],[`union`,206,8],[`object`,[[111,202,!1],[50,73,!1],[51,100,!1],[112,204,!1],[41,0,!0],[48,0,!0],[98,205,!1],[113,207,!1],[114,126,!1]]],[`union`,146,8],[`object`,[[115,73,!1],[116,73,!1],[117,73,!1],[78,209,!1],[118,68,!1],[119,73,!1],[51,100,!1],[120,73,!1],[121,73,!1],[122,73,!1],[123,73,!1],[124,68,!1],[125,0,!0]]],[`object`,[[99,75,!0],[126,73,!1],[127,73,!1],[128,73,!1],[129,126,!1]]],[`object`,[[82,158,!1],[130,0,!0],[131,75,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[132,0,!0]]],[`ref`,57],[`union`,214,8],[`ref`,189],[`union`,216,8],[`object`,[[133,0,!0],[134,215,!1],[135,73,!1],[136,73,!1],[137,73,!1],[138,73,!1],[139,217,!1],[52,68,!1],[140,73,!1]]],[`enum`,`Outlet`,`Dialog`,`External`],[`object`,[[36,219,!0],[141,0,!0]]],[`ref`,175],[`array`,221],[`union`,222,8],[`ref`,249],[`array`,224],[`object`,[[142,223,!1],[143,225,!1]]],[`ref`,7],[`union`,227,8],[`ref`,87],[`array`,229],[`ref`,205],[`array`,231],[`ref`,206],[`array`,233],[`ref`,209],[`array`,235],[`ref`,248],[`array`,237],[`object`,[[144,228,!1],[5,11,!1],[145,73,!1],[146,230,!1],[50,73,!1],[147,73,!1],[148,232,!1],[41,0,!0],[149,234,!1],[150,75,!1],[151,126,!1],[152,236,!1],[153,73,!1],[154,238,!1]]],[`object`,[[41,0,!0]]],[`object`,[[155,0,!0]]],[`ref`,69],[`array`,242],[`object`,[[50,73,!1],[137,73,!1],[156,95,!1],[41,0,!0],[157,243,!1]]],[`object`,[[41,0,!0],[48,94,!0]]],[`ref`,68],[`array`,246],[`object`,[[50,73,!1],[137,73,!1],[41,0,!0],[101,95,!1],[102,247,!1]]],[`object`,[[54,0,!0],[65,143,!1]]],[`integer`,0,4294967295],[`enum`,`Private`,`Public`],[`object`,[[50,73,!1],[91,73,!1],[51,100,!1],[112,250,!1],[158,75,!1],[137,73,!1],[41,0,!0],[159,73,!1],[71,179,!1],[55,110,!1],[160,251,!1]]],[`object`,[[2,3,!0],[161,75,!0],[3,5,!1]]],[`object`,[[82,158,!1],[162,0,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[69,1,!0]]],[`ref`,56],[`array`,256],[`union`,257,8],[`ref`,247],[`array`,259],[`ref`,75],[`array`,261],[`ref`,145],[`array`,263],[`ref`,208],[`array`,265],[`object`,[[89,171,!1],[5,11,!1],[163,258,!1],[164,260,!1],[50,73,!1],[91,73,!1],[9,19,!1],[165,262,!1],[11,23,!1],[166,75,!0],[41,0,!0],[19,264,!1],[167,266,!1],[24,50,!1],[154,238,!1]]],[`ref`,76,245,246],[`array`,268],[`object`,[[168,269,!1],[50,73,!1],[51,99,!0],[169,75,!0],[130,73,!1],[41,0,!0],[170,126,!1]]],[`object`,[[120,0,!0]]],[`object`,[[138,73,!1],[0,0,!0]]],[`ref`,81],[`array`,273],[`object`,[[171,0,!0],[71,274,!1]]],[`object`,[[172,0,!0],[173,126,!1],[174,75,!0],[138,73,!1],[175,126,!1],[132,0,!0],[176,73,!1],[177,75,!0]]],[`ref`,83],[`array`,277],[`object`,[[163,278,!1],[178,0,!0]]],[`ref`,84],[`array`,280],[`object`,[[172,0,!0],[179,281,!1],[132,0,!0],[1,143,!1]]],[`ref`,85],[`array`,283],[`object`,[[137,0,!0],[114,284,!1]]],[`object`,[[180,0,!0],[1,1,!0]]],[`object`,[[133,0,!0],[88,166,!1],[52,68,!1]]],[`object`,[[88,166,!1],[181,0,!0]]],[`ref`,91],[`union`,289,8],[`ref`,89],[`array`,291],[`ref`,90],[`array`,293],[`object`,[[182,290,!1],[31,292,!1],[183,294,!1],[184,290,!1]]],[`object`,[[185,67,!0],[186,290,!1],[187,290,!1],[39,290,!1]]],[`object`,[[188,67,!0],[189,68,!1],[180,0,!0],[190,67,!0],[191,68,!1],[39,290,!1]]],[`enum`,`Fraction`,`Pixels`,`Percent`,`Auto`],[`object`,[[192,298,!0],[1,70,!1]]],[`object`,[[193,73,!1],[67,73,!1],[138,73,!1],[0,0,!0]]],[`object`,[[80,73,!1],[81,0,!0]]],[`enum`,`Unspecified`,`Auto`,`Manual`],[`ref`,79],[`array`,303],[`ref`,92],[`array`,305],[`ref`,88],[`union`,307,8],[`ref`,93,94],[`union`,309,8],[`object`,[[5,11,!1],[194,302,!0],[31,304,!1],[50,73,!1],[195,306,!1],[196,0,!0],[197,302,!0],[198,308,!1],[41,0,!0],[199,217,!1],[200,310,!1],[154,238,!1]]],[`ref`,70],[`array`,312],[`ref`,48,74],[`union`,314,8],[`object`,[[201,313,!1],[65,315,!1],[3,5,!1],[202,143,!1]]],[`ref`,98],[`union`,317,8],[`object`,[[78,209,!1],[51,100,!1],[203,318,!1]]],[`ref`,99],[`array`,320],[`object`,[[204,321,!1]]],[`object`,[[205,0,!0]]],[`object`,[[50,73,!1],[41,0,!0]]],[`ref`,102],[`union`,325,8],[`object`,[[206,326,!1],[50,73,!1],[207,326,!1],[208,179,!1],[41,0,!0],[209,0,!0]]],[`object`,[[78,209,!1],[50,73,!1],[51,100,!1],[203,318,!1]]],[`ref`,223],[`union`,329,8],[`ref`,222],[`union`,331,8],[`object`,[[50,73,!1],[196,143,!1],[210,107,!1],[41,0,!0],[211,330,!1],[96,332,!1],[48,0,!0],[114,107,!1]]],[`object`,[[41,0,!0],[114,107,!1]]],[`object`,[[212,0,!0]]],[`object`,[[212,0,!0],[114,107,!1]]],[`object`,[[159,73,!1],[213,0,!0],[160,251,!1]]],[`ref`,47,125],[`object`,[[214,160,!1],[215,338,!0]]],[`object`,[[214,160,!1]]],[`object`,[[87,0,!0],[41,0,!0]]],[`ref`,111],[`array`,342],[`ref`,112],[`union`,344,8],[`ref`,3,15,65,115],[`object`,[[214,160,!1],[216,343,!1],[215,73,!1],[217,345,!1],[218,346,!0]]],[`enum`,`Seconds`,`Minutes`,`Hours`,`Days`],[`object`,[[219,67,!0],[192,348,!0]]],[`ref`,118],[`array`,350],[`object`,[[162,0,!0],[3,107,!1],[220,351,!1]]],[`object`,[[221,75,!0],[222,73,!1],[93,177,!1],[223,0,!0]]],[`object`,[[2,3,!0],[54,0,!0],[3,5,!1]]],[`ref`,119],[`array`,355],[`object`,[[201,356,!1],[224,0,!0],[0,0,!0]]],[`object`,[[69,1,!0],[0,0,!0]]],[`object`,[[144,228,!1],[5,11,!1],[145,73,!1],[148,232,!1],[41,0,!0],[149,234,!1],[150,75,!1],[151,126,!1],[152,236,!1],[153,73,!1],[154,238,!1]]],[`array`,1],[`object`,[[179,360,!1]]],[`union`,0,75,8],[`number`,-17976931348623157e292,17976931348623157e292],[`enum`,`Int32`,`Int64`,`Decimal`,`Single`],[`string`,`^-?[0-9]+(\\.[0-9]+)?([Ee][+-]?[0-9]+)?$`],[`object`,[[225,364,!0],[1,365,!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`,[[225,367,!0],[1,368,!0]]],[`union`,362,363,366,369],[`object`,[[1,370,!1]]],[`enum`,`And`,`Or`],[`object`,[[103,338,!0],[104,372,!0],[105,338,!0]]],[`ref`,8,29,126,133,176],[`object`,[[103,374,!0],[104,372,!0],[105,374,!0]]],[`object`,[[103,91,!0],[104,372,!0],[105,91,!0]]],[`ref`,61],[`array`,377],[`union`,378,8],[`ref`,95],[`array`,380],[`union`,381,8],[`ref`,196],[`array`,383],[`object`,[[89,171,!1],[5,11,!1],[163,258,!1],[164,260,!1],[50,73,!1],[226,379,!1],[91,73,!1],[9,19,!1],[165,262,!1],[11,23,!1],[227,382,!1],[166,75,!0],[41,0,!0],[19,264,!1],[228,384,!1],[24,50,!1],[154,238,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[229,0,!0]]],[`object`,[[2,3,!0],[74,141,!1],[0,0,!0]]],[`object`,[[230,374,!0]]],[`enum`,`Info`,`Warning`,`Error`,`Unknown`],[`object`,[[82,158,!1],[231,389,!0],[130,0,!0],[131,75,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[82,158,!1],[232,0,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`ref`,137],[`array`,392],[`object`,[[233,393,!1]]],[`object`,[[41,0,!0],[1,1,!0]]],[`object`,[[78,209,!1],[51,100,!1]]],[`object`,[[50,73,!1],[41,0,!0],[18,126,!1]]],[`object`,[[234,75,!1],[235,73,!1],[236,73,!1],[237,0,!0],[238,68,!1],[239,68,!1]]],[`union`,374,8],[`object`,[[78,209,!1],[215,399,!1],[50,73,!1],[51,100,!1],[41,0,!0]]],[`ref`,146],[`array`,401],[`object`,[[240,73,!1],[241,73,!1],[242,73,!1],[215,73,!1],[243,73,!1],[50,73,!1],[244,73,!1],[245,73,!1],[41,0,!0],[246,126,!1],[247,73,!1],[248,126,!1],[249,402,!1]]],[`object`,[[134,0,!0],[250,0,!0]]],[`ref`,71],[`union`,405,8],[`ref`,101],[`union`,407,8],[`union`,338,8],[`object`,[[54,0,!0],[196,143,!1],[251,406,!1],[252,408,!1],[3,107,!1],[96,186,!1],[55,110,!1],[56,409,!1]]],[`object`,[[2,3,!0],[74,141,!1],[50,73,!1],[51,100,!1],[65,315,!1],[41,0,!0],[253,73,!1],[254,73,!1],[21,46,!1]]],[`ref`,148],[`array`,412],[`object`,[[74,141,!1],[255,413,!1],[41,0,!0]]],[`object`,[[0,0,!0],[60,1,!0]]],[`object`,[[256,75,!1],[257,75,!1],[258,75,!1],[259,75,!1],[41,0,!0],[48,94,!0]]],[`ref`,154],[`object`,[[41,0,!0],[60,417,!0],[48,95,!1]]],[`object`,[[60,417,!0]]],[`ref`,155],[`array`,420],[`object`,[[195,421,!1]]],[`object`,[[1,1,!0]]],[`object`,[[195,107,!1]]],[`object`,[[41,0,!0],[60,143,!1],[48,94,!0]]],[`ref`,160],[`union`,426,8],[`array`,426],[`ref`,139],[`union`,429,8],[`object`,[[89,171,!1],[80,427,!1],[260,428,!1],[50,73,!1],[261,428,!1],[262,75,!1],[41,0,!0],[263,430,!1],[264,94,!0],[109,73,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[218,0,!0]]],[`object`,[[265,126,!1],[36,0,!0]]],[`ref`,46],[`union`,434,8],[`ref`,164],[`union`,436,8],[`ref`,166],[`array`,438],[`object`,[[50,73,!1],[91,73,!1],[67,435,!1],[41,0,!0],[266,437,!1],[26,439,!1],[267,409,!1]]],[`ref`,239],[`array`,441],[`ref`,117],[`array`,443],[`union`,444,8],[`union`,177,8],[`ref`,116,129,177],[`object`,[[78,209,!1],[268,442,!1],[50,73,!1],[51,100,!1],[269,445,!1],[93,446,!1],[94,182,!1],[60,447,!0]]],[`object`,[[270,0,!0]]],[`object`,[[50,73,!1],[91,73,!1],[51,100,!1],[41,0,!0],[71,179,!1]]],[`object`,[[45,73,!1],[80,73,!1],[260,107,!1],[253,0,!0]]],[`object`,[[78,209,!1],[50,73,!1],[54,0,!0],[51,100,!1]]],[`ref`,170],[`array`,453],[`object`,[[50,73,!1],[67,435,!1],[41,0,!0],[253,0,!0],[143,454,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[81,0,!0]]],[`object`,[[54,0,!0],[65,143,!1],[202,143,!1]]],[`enum`,`Error`,`Information`,`Warning`],[`object`,[[215,338,!0],[130,73,!1],[271,458,!0]]],[`object`,[[272,0,!0]]],[`enum`,`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`union`,461,8],[`string`,`^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]{1,7})?$`],[`object`,[[273,68,!1],[274,462,!1],[275,463,!0]]],[`object`,[[162,0,!0],[138,73,!1],[139,217,!1]]],[`ref`,181],[`array`,466],[`ref`,182],[`union`,468,8],[`object`,[[216,467,!1],[138,0,!0],[139,217,!1],[217,469,!1]]],[`object`,[[82,158,!1],[162,0,!0],[215,338,!0]]],[`enum`,`Hidden`,`Execute`,`Unknown`],[`object`,[[82,158,!1],[162,73,!1],[276,472,!0]]],[`object`,[[277,10,!0]]],[`ref`,40],[`array`,475],[`ref`,41],[`array`,477],[`ref`,151],[`array`,479],[`ref`,42],[`array`,481],[`object`,[[5,11,!1],[172,0,!0],[278,168,!1],[148,476,!1],[136,73,!1],[41,0,!0],[149,478,!1],[140,480,!1],[71,482,!1],[279,73,!1],[154,238,!1]]],[`object`,[[80,73,!1],[81,0,!0],[48,94,!0]]],[`object`,[[138,0,!0],[0,0,!0]]],[`ref`,179],[`array`,486],[`object`,[[80,73,!1],[280,73,!1],[53,487,!1],[281,73,!1],[229,0,!0]]],[`ref`,188],[`array`,489],[`object`,[[195,490,!1],[141,0,!0]]],[`ref`,86],[`array`,492],[`object`,[[163,493,!1],[50,73,!1],[88,166,!1],[51,100,!1],[41,0,!0]]],[`ref`,186],[`array`,495],[`object`,[[5,11,!1],[31,496,!1],[282,217,!1],[141,0,!0],[154,238,!1]]],[`ref`,191],[`array`,498],[`object`,[[41,0,!0],[152,499,!1]]],[`object`,[[144,228,!1],[5,11,!1],[145,73,!1],[146,230,!1],[50,73,!1],[147,73,!1],[148,232,!1],[283,73,!1],[41,0,!0],[149,234,!1],[150,75,!1],[151,126,!1],[152,236,!1],[153,73,!1],[154,238,!1]]],[`ref`,234],[`array`,502],[`object`,[[179,503,!1],[41,0,!0]]],[`object`,[[209,237,!0]]],[`object`,[[54,0,!0],[71,107,!1]]],[`ref`,200],[`array`,507],[`object`,[[284,0,!0],[201,508,!1]]],[`ref`,201],[`array`,510],[`object`,[[285,511,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[141,0,!0],[1,0,!0]]],[`ref`,23],[`array`,514],[`ref`,44],[`array`,516],[`enum`,`Inbound`,`Outbound`],[`union`,518,8],[`array`,405],[`array`,407],[`ref`,149],[`array`,522],[`ref`,161],[`array`,524],[`ref`,165],[`array`,526],[`ref`,168],[`array`,528],[`union`,529,8],[`ref`,171],[`array`,531],[`union`,532,8],[`ref`,193],[`array`,534],[`ref`,228],[`array`,536],[`enum`,`StateChange`,`StateView`,`Automation`,`Translate`],[`object`,[[286,515,!1],[287,517,!1],[288,269,!1],[50,73,!1],[289,519,!1],[91,73,!1],[201,520,!1],[9,19,!1],[51,100,!1],[41,0,!0],[175,521,!1],[290,523,!1],[19,264,!1],[291,525,!1],[292,527,!1],[293,530,!1],[294,533,!1],[295,535,!1],[296,537,!1],[24,50,!1],[48,538,!0]]],[`object`,[[297,73,!1],[41,0,!0]]],[`object`,[[65,1,!0],[41,0,!0]]],[`object`,[[48,0,!0],[1,0,!0]]],[`ref`,212],[`array`,543],[`object`,[[298,75,!0],[299,544,!1],[265,126,!1]]],[`object`,[[300,0,!0],[301,107,!1]]],[`object`,[[302,0,!0]]],[`object`,[[303,0,!0],[196,143,!1],[210,107,!1],[304,73,!1],[114,107,!1]]],[`ref`,27],[`union`,549,8],[`object`,[[305,550,!1],[41,73,!1]]],[`object`,[[306,0,!0],[196,143,!1],[304,73,!1],[211,330,!1],[96,332,!1],[114,107,!1]]],[`object`,[[99,0,!0],[96,0,!0],[101,192,!1],[102,107,!1]]],[`object`,[[307,75,!0],[71,107,!1]]],[`ref`,224],[`array`,555],[`object`,[[82,107,!1],[307,75,!0],[81,0,!0],[308,556,!1]]],[`object`,[[307,75,!0],[304,73,!1],[41,0,!0],[71,107,!1]]],[`object`,[[306,0,!0],[196,143,!1],[211,330,!1],[309,0,!0],[96,332,!1],[114,107,!1]]],[`ref`,105],[`array`,560],[`ref`,220],[`array`,562],[`ref`,214],[`union`,564,8],[`ref`,213],[`union`,566,8],[`ref`,215],[`array`,568],[`ref`,216],[`union`,570,8],[`ref`,106],[`array`,572],[`ref`,226],[`array`,574],[`union`,575,8],[`ref`,104],[`array`,577],[`ref`,211],[`array`,579],[`ref`,108],[`array`,581],[`ref`,218],[`union`,583,8],[`ref`,219],[`array`,585],[`ref`,221],[`union`,587,8],[`ref`,107],[`array`,589],[`ref`,225],[`array`,591],[`ref`,158,159],[`union`,593,8],[`ref`,217],[`union`,595,8],[`union`,562,8],[`union`,568,8],[`ref`,230],[`union`,599,8],[`ref`,227],[`union`,601,8],[`ref`,229],[`union`,603,8],[`object`,[[310,561,!1],[50,73,!1],[9,19,!1],[51,100,!1],[311,563,!1],[312,565,!1],[313,567,!1],[314,569,!1],[315,571,!1],[316,573,!1],[317,576,!1],[41,0,!0],[53,578,!1],[21,46,!1],[318,580,!1],[319,582,!1],[320,584,!1],[321,586,!1],[322,563,!1],[323,75,!0],[324,75,!1],[325,588,!1],[326,590,!1],[327,592,!1],[328,576,!1],[329,556,!1],[330,594,!1],[56,596,!1],[331,597,!1],[332,598,!1],[333,571,!1],[334,600,!1],[335,602,!1],[336,604,!1]]],[`object`,[[218,0,!0],[114,107,!1]]],[`object`,[[82,107,!1],[81,0,!0]]],[`object`,[[65,0,!0]]],[`enum`,`Unknown`,`Action`,`Navigate`,`Dialog`],[`object`,[[136,73,!1],[138,73,!1],[41,0,!0],[53,487,!1],[140,480,!1],[36,609,!0],[141,0,!0]]],[`ref`,236,237],[`array`,611],[`object`,[[106,612,!1]]],[`object`,[[337,126,!1],[41,0,!0]]],[`object`,[[268,442,!1],[50,73,!1],[51,100,!1],[41,0,!0]]],[`object`,[[174,75,!0],[338,75,!0],[41,0,!0]]],[`object`,[[50,73,!1],[51,100,!1],[41,0,!0],[71,179,!1]]],[`enum`,`Invalid`,`DataContext`,`QueryResult`,`ComponentProperty`,`Literal`],[`enum`,`OneWay`,`TwoWay`],[`union`,619,8],[`enum`,`Propagate`,`Clear`,`Preserve`],[`union`,621,8],[`object`,[[339,618,!0],[340,73,!1],[341,73,!1],[342,73,!1],[343,143,!1],[42,620,!1],[344,622,!1],[132,0,!0],[81,73,!1],[345,73,!1]]],[`object`,[[346,73,!1],[347,126,!1],[198,73,!1],[41,0,!0],[348,126,!1],[349,126,!1],[350,73,!1]]],[`object`,[[168,269,!1],[50,73,!1],[54,0,!0],[169,75,!0],[130,73,!1],[41,0,!0],[170,126,!1]]],[`object`,[[351,126,!1],[168,269,!1],[50,73,!1],[54,0,!0],[169,75,!0],[130,73,!1],[41,0,!0],[0,0,!0],[170,126,!1]]],[`object`,[[141,0,!0]]],[`ref`,12],[`array`,628],[`object`,[[82,629,!1],[277,0,!0]]],[`enum`,`NotEmpty`,`Max`,`Min`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Equal`,`Length`,`Matches`,`AllGreaterThan`,`AllGreaterThanOrEqual`,`Rule`,`NotEqual`,`Checksum`],[`object`,[[78,209,!1],[51,100,!1],[203,318,!1],[130,73,!1],[0,0,!0],[123,631,!0],[271,458,!0],[1,143,!1]]],[`ref`,141],[`array`,633],[`object`,[[37,0,!0],[352,634,!1],[39,0,!0]]]],contracts:[2,6,63,64,72,74,76,85,86,87,90,92,93,96,103,105,113,118,121,122,93,125,127,134,135,137,138,139,142,144,145,147,148,151,153,154,155,156,161,162,164,167,169,147,190,193,194,196,199,200,208,210,211,212,213,213,218,220,155,226,155,239,240,240,213,241,86,244,245,248,249,252,253,254,255,267,270,271,213,272,275,276,279,282,285,286,287,288,295,296,297,299,300,86,301,311,316,319,322,323,324,327,328,333,245,334,335,336,335,337,155,339,340,341,347,349,349,352,353,354,357,358,359,361,371,373,375,376,385,240,386,161,387,388,390,391,394,395,213,396,397,398,240,400,403,240,404,410,249,411,414,93,415,416,155,418,419,422,423,424,425,431,432,323,433,440,448,449,450,451,452,455,456,249,457,459,460,464,465,164,470,471,473,474,147,483,272,484,485,488,167,167,491,494,497,500,501,323,504,505,506,509,512,415,240,96,240,513,539,540,213,541,542,240,545,546,547,548,86,551,552,86,553,86,554,557,558,559,605,606,607,608,2,423,610,613,255,323,614,96,615,616,617,623,624,625,626,627,630,632,635]};export{e as syntaxCollections};
|
|
1
|
+
const e={kinds:/* @__PURE__ */ `AddMappingSyntax.AllSyntax.ApplicationSyntax.ApplicationTriggerInteractionTriggerSyntax.ArrangementContainerSyntax.ArrangementOverrideSyntax.ArrangementSlotSyntax.ArrangementSyntax.AuthenticatedConditionSyntax.AuthenticationProviderSyntax.AuthenticationSyntax.AuthorizeSyntax.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.SpecificationNoResultSyntax.SpecificationStreamSyntax.SpecificationNoStreamSyntax.SpecificationQueryResultSyntax.SpecificationQuerySyntax.SpecificationReadModelSyntax.SpecificationRedeliverySyntax.SpecificationSyntax.SpecificationTriggerSyntax.SpecificationWhenQuerySyntax.StringsExpressionSyntax.SubtractMappingSyntax.TagSyntax.ToolbarItemSyntax.TemplateExpressionSyntax.TemplateInterpolationSyntax.TemplateTextSyntax.ThemeSyntax.TriggerDataSyntax.TriggerSyntax.TypeRefSyntax.TypeSyntax.UiBindingSyntax.UiProfileSyntax.UniqueEventConstraintSyntax.UniquePropertyConstraintSyntax.DependsOnSyntax.UsesBehaviorSyntax.ValidationRuleSyntax.VariantSyntax`.split(`.`),names:/* @__PURE__ */ `property.value.autoMap.mappings.authentication.behaviors.concepts.domain.eventSources.examples.exposures.fileImports.identity.imports.instanceContributions.layouts.modules.personas.policies.purposes.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.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.icon.id.label.navigate.presentation.target.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.items.field.slot.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.literalType.dialogTemplates.forms.screenTemplates.screen.operand.level.dialogTemplate.members.hidden.sizeHeight.sizeWidth.slotName.x.y.authorization.basis.basisReference.conditionReference.erasureException.interest.recipients.retention.subjects.transfers.safeguard.inlineEvent.inlineOperation.readModel.sequence.entersOn.isGenerated.isIdentifier.isKey.isSubject.byParts.filters.isObservable.performer.returnType.roles.runsAs.where.data.invokes.member.severity.role.dayOfMonth.dayOfWeek.time.outcome.behavior.context.stableId.outlet.route.rowClick.blueprint.version.fitsSlot.eventSourceId.groups.captures.commands.constraints.direction.projections.queries.reactions.readModels.reducers.screens.specifications.contributes.authenticated.claims.capture.record.instant.commandType.inlineProperty.caseValue.eventType.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.compatibleWith.isOptional.bindingKind.componentId.componentPropertyPath.expectedValueType.literal.nullBehavior.rawText.defaultSizeClass.icons.packages.platforms.theme.additionalProperties.places`.split(`.`),rules:[[`string`],[`ref`,26,27,54,55,63,64,66,123,124,136,138,163,167,210,231,235],[`object`,[[0,0,!0],[1,1,!0]]],[`enum`,`Inherit`,`Disabled`,`Enabled`],[`ref`,0,36,58,60,110,203,232],[`array`,4],[`object`,[[2,3,!0],[3,5,!1]]],[`ref`,10],[`null`],[`union`,7,8],[`ref`,14],[`array`,10],[`ref`,50],[`array`,12],[`ref`,62],[`union`,14,8],[`ref`,67],[`array`,16],[`ref`,103],[`array`,18],[`ref`,80],[`array`,20],[`ref`,77],[`array`,22],[`ref`,33],[`union`,24,8],[`ref`,109],[`array`,26],[`ref`,82],[`array`,28],[`ref`,122],[`array`,30],[`union`,31,8],[`ref`,128],[`array`,33],[`ref`,140],[`array`,35],[`union`,36,8],[`ref`,143],[`array`,38],[`ref`,144],[`array`,40],[`ref`,202],[`array`,42],[`union`,43,8],[`enum`,`legacy`,`exact`],[`object`,[[22,45,!0]]],[`ref`,100],[`array`,47],[`ref`,204],[`array`,49],[`ref`,238],[`array`,51],[`union`,52,8],[`ref`,240],[`array`,54],[`union`,55,8],[`ref`,242],[`array`,57],[`union`,58,8],[`ref`,244],[`array`,60],[`union`,61,8],[`object`,[[4,9,!1],[5,11,!1],[6,13,!1],[7,15,!1],[8,17,!1],[9,19,!1],[10,21,!1],[11,23,!1],[12,25,!1],[13,27,!1],[14,29,!1],[15,32,!1],[16,34,!1],[17,37,!1],[18,39,!1],[19,41,!1],[20,44,!1],[21,46,!1],[23,48,!1],[24,50,!1],[25,53,!1],[26,56,!1],[27,59,!1],[28,62,!1]]],[`object`,[[29,0,!0]]],[`ref`,4,6],[`array`,65],[`integer`,-2147483648,2147483647],[`union`,67,8],[`number`],[`union`,69,8],[`enum`,`Flat`,`Row`,`Column`,`Grid`],[`object`,[[30,66,!1],[31,68,!1],[32,68,!1],[33,70,!1],[34,68,!1],[35,68,!1],[36,71,!0]]],[`union`,0,8],[`object`,[[37,73,!1],[38,65,!0],[39,73,!1]]],[`boolean`],[`object`,[[33,75,!1],[40,70,!1],[37,68,!1],[41,0,!0],[35,68,!1],[39,68,!1]]],[`enum`,`Flow`,`Freeform`],[`ref`,5],[`array`,78],[`union`,79,8],[`union`,65,8],[`ref`,250],[`array`,82],[`union`,83,8],[`object`,[[42,77,!0],[43,80,!1],[38,81,!1],[44,84,!1]]],[`object`,[]],[`object`,[[45,73,!1],[41,0,!0]]],[`ref`,9],[`array`,88],[`object`,[[46,89,!1]]],[`ref`,127,142],[`object`,[[47,91,!0]]],[`object`,[[41,0,!0],[1,0,!0]]],[`ref`,241],[`union`,94,8],[`object`,[[41,0,!0],[48,95,!1]]],[`ref`,114],[`array`,97],[`ref`,78],[`union`,99,8],[`ref`,13],[`array`,101],[`object`,[[49,98,!1],[50,73,!1],[51,100,!1],[41,73,!1],[52,68,!1],[53,102,!1]]],[`enum`,`Click`,`DoubleClick`,`Select`,`Submit`,`Change`,`Load`,`Unload`,`Enter`,`Leave`,`Unknown`],[`object`,[[36,104,!0]]],[`ref`,152],[`array`,106],[`ref`,233],[`array`,108],[`union`,109,8],[`ref`,25],[`union`,111,8],[`object`,[[54,0,!0],[3,107,!1],[55,110,!1],[56,112,!1]]],[`ref`,16],[`array`,114],[`ref`,18,22],[`array`,116],[`object`,[[57,115,!1],[58,0,!0],[59,117,!1],[0,0,!0]]],[`ref`,24],[`array`,119],[`object`,[[0,0,!0],[60,1,!0],[61,120,!1]]],[`object`,[[57,115,!1],[59,117,!1],[0,0,!0]]],[`ref`,20],[`array`,123],[`object`,[[62,124,!1],[36,0,!0]]],[`array`,0],[`object`,[[63,0,!0],[60,1,!0],[64,126,!1]]],[`ref`,17],[`array`,128],[`ref`,19],[`array`,130],[`ref`,21],[`union`,132,8],[`object`,[[57,115,!1],[30,129,!1],[65,73,!1],[59,117,!1],[41,0,!0],[66,131,!1],[60,133,!1],[21,46,!1]]],[`object`,[[67,0,!0],[68,0,!0]]],[`enum`,`PropertyChanged`,`Added`,`Removed`,`Changed`,`LogicalOr`,`LogicalAnd`,`ValueTransition`,`Expression`],[`object`,[[69,73,!1],[70,73,!1],[71,126,!1],[36,136,!0],[72,73,!1]]],[`object`,[[0,73,!1]]],[`object`,[[73,0,!0]]],[`ref`,1,28,37,72,96,120,132,150,173,174],[`array`,140],[`object`,[[2,3,!0],[74,141,!1],[58,1,!0],[0,0,!0]]],[`union`,1,8],[`object`,[[75,0,!0],[76,143,!1],[77,75,!0]]],[`object`,[[75,0,!0]]],[`ref`,39],[`object`,[[78,146,!0]]],[`object`,[[51,99,!0]]],[`ref`,34],[`array`,149],[`object`,[[50,73,!1],[79,150,!1]]],[`ref`,30,31,32,35],[`object`,[[41,0,!0],[60,152,!0],[48,94,!0]]],[`object`,[[80,1,!0],[81,0,!0]]],[`object`,[[0,0,!0]]],[`object`,[[54,0,!0]]],[`ref`,113],[`array`,157],[`ref`,38,53,73,130,131,134,135,162,172,207],[`array`,159],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[78,0,!0],[86,0,!0]]],[`ref`,243],[`object`,[[87,163,!0],[41,0,!0]]],[`ref`,178,180,183,184,185,187,189,190,191,192,194,195,197,198,199],[`array`,165],[`object`,[[88,166,!1],[41,0,!0]]],[`union`,163,8],[`object`,[[87,168,!1],[0,0,!0],[1,143,!1]]],[`ref`,11],[`union`,170,8],[`ref`,52],[`union`,172,8],[`ref`,97],[`union`,174,8],[`ref`,147],[`array`,176],[`ref`,153],[`array`,178],[`ref`,169],[`array`,180],[`union`,181,8],[`ref`,156,157],[`union`,183,8],[`ref`,45],[`union`,185,8],[`array`,185],[`ref`,43,59],[`array`,188],[`object`,[[89,171,!1],[90,173,!1],[50,73,!1],[91,73,!1],[92,175,!1],[41,0,!0],[93,177,!1],[71,179,!1],[94,182,!1],[95,184,!1],[96,186,!1],[97,187,!1],[98,189,!1]]],[`union`,178,8],[`union`,106,8],[`object`,[[99,0,!0],[100,191,!1],[96,0,!0],[101,192,!1],[102,107,!1]]],[`object`,[[99,0,!0],[96,73,!1]]],[`enum`,`Equal`,`NotEqual`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Contains`,`StartsWith`],[`object`,[[103,0,!0],[104,195,!0],[105,1,!0]]],[`ref`,121],[`array`,197],[`object`,[[106,198,!1],[48,0,!0]]],[`object`,[[107,75,!1],[41,0,!0],[108,73,!1],[109,73,!1],[110,73,!1]]],[`ref`,49],[`array`,201],[`ref`,51],[`union`,203,8],[`union`,189,8],[`array`,67],[`union`,206,8],[`object`,[[111,202,!1],[50,73,!1],[51,100,!1],[112,204,!1],[41,0,!0],[48,0,!0],[98,205,!1],[113,207,!1],[114,126,!1]]],[`union`,146,8],[`object`,[[115,73,!1],[116,73,!1],[117,73,!1],[78,209,!1],[118,68,!1],[119,73,!1],[51,100,!1],[120,73,!1],[121,73,!1],[122,73,!1],[123,73,!1],[124,68,!1],[125,0,!0]]],[`object`,[[99,75,!0],[126,73,!1],[127,73,!1],[128,73,!1],[129,126,!1]]],[`object`,[[82,158,!1],[130,0,!0],[131,75,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[132,0,!0]]],[`ref`,57],[`union`,214,8],[`ref`,189],[`union`,216,8],[`object`,[[133,0,!0],[134,215,!1],[135,73,!1],[136,73,!1],[137,73,!1],[138,73,!1],[139,217,!1],[52,68,!1],[140,73,!1]]],[`enum`,`Outlet`,`Dialog`,`External`],[`object`,[[36,219,!0],[141,0,!0]]],[`ref`,175],[`array`,221],[`union`,222,8],[`ref`,249],[`array`,224],[`object`,[[142,223,!1],[143,225,!1]]],[`ref`,7],[`union`,227,8],[`ref`,87],[`array`,229],[`ref`,205],[`array`,231],[`ref`,206],[`array`,233],[`ref`,209],[`array`,235],[`ref`,248],[`array`,237],[`object`,[[144,228,!1],[5,11,!1],[145,73,!1],[146,230,!1],[50,73,!1],[147,73,!1],[148,232,!1],[41,0,!0],[149,234,!1],[150,75,!1],[151,126,!1],[152,126,!1],[153,236,!1],[154,73,!1],[155,238,!1]]],[`object`,[[41,0,!0]]],[`object`,[[156,0,!0]]],[`ref`,69],[`array`,242],[`object`,[[50,73,!1],[137,73,!1],[157,95,!1],[41,0,!0],[158,243,!1]]],[`object`,[[41,0,!0],[48,94,!0]]],[`ref`,68],[`array`,246],[`object`,[[50,73,!1],[137,73,!1],[41,0,!0],[101,95,!1],[102,247,!1]]],[`object`,[[54,0,!0],[65,143,!1]]],[`integer`,0,4294967295],[`enum`,`Private`,`Public`],[`object`,[[50,73,!1],[91,73,!1],[51,100,!1],[112,250,!1],[159,75,!1],[137,73,!1],[41,0,!0],[160,73,!1],[71,179,!1],[55,110,!1],[161,251,!1]]],[`object`,[[2,3,!0],[162,75,!0],[3,5,!1]]],[`object`,[[82,158,!1],[163,0,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[69,1,!0]]],[`ref`,56],[`array`,256],[`union`,257,8],[`ref`,247],[`array`,259],[`ref`,75],[`array`,261],[`ref`,145],[`array`,263],[`ref`,208],[`array`,265],[`object`,[[89,171,!1],[5,11,!1],[164,258,!1],[165,260,!1],[50,73,!1],[91,73,!1],[9,19,!1],[166,262,!1],[11,23,!1],[167,75,!0],[41,0,!0],[19,264,!1],[168,266,!1],[24,50,!1],[155,238,!1]]],[`ref`,76,245,246],[`array`,268],[`object`,[[169,269,!1],[50,73,!1],[51,99,!0],[170,75,!0],[130,73,!1],[41,0,!0],[171,126,!1]]],[`object`,[[120,0,!0]]],[`object`,[[138,73,!1],[0,0,!0]]],[`ref`,81],[`array`,273],[`object`,[[172,0,!0],[71,274,!1]]],[`object`,[[173,0,!0],[174,126,!1],[175,75,!0],[138,73,!1],[176,126,!1],[132,0,!0],[177,73,!1],[178,75,!0]]],[`ref`,83],[`array`,277],[`object`,[[164,278,!1],[179,0,!0]]],[`ref`,84],[`array`,280],[`object`,[[173,0,!0],[180,281,!1],[132,0,!0],[1,143,!1]]],[`ref`,85],[`array`,283],[`object`,[[137,0,!0],[114,284,!1]]],[`object`,[[181,0,!0],[1,1,!0]]],[`object`,[[133,0,!0],[88,166,!1],[52,68,!1]]],[`object`,[[88,166,!1],[182,0,!0]]],[`ref`,91],[`union`,289,8],[`ref`,89],[`array`,291],[`ref`,90],[`array`,293],[`object`,[[183,290,!1],[31,292,!1],[184,294,!1],[185,290,!1]]],[`object`,[[186,67,!0],[187,290,!1],[188,290,!1],[39,290,!1]]],[`object`,[[189,67,!0],[190,68,!1],[181,0,!0],[191,67,!0],[192,68,!1],[39,290,!1]]],[`enum`,`Fraction`,`Pixels`,`Percent`,`Auto`],[`object`,[[193,298,!0],[1,70,!1]]],[`object`,[[194,73,!1],[67,73,!1],[138,73,!1],[0,0,!0]]],[`object`,[[80,73,!1],[81,0,!0]]],[`enum`,`Unspecified`,`Auto`,`Manual`],[`ref`,79],[`array`,303],[`ref`,92],[`array`,305],[`ref`,88],[`union`,307,8],[`ref`,93,94],[`union`,309,8],[`object`,[[5,11,!1],[195,302,!0],[31,304,!1],[50,73,!1],[196,306,!1],[197,0,!0],[198,302,!0],[199,308,!1],[41,0,!0],[200,217,!1],[201,310,!1],[155,238,!1]]],[`ref`,70],[`array`,312],[`ref`,48,74],[`union`,314,8],[`object`,[[202,313,!1],[65,315,!1],[3,5,!1],[203,143,!1]]],[`ref`,98],[`union`,317,8],[`object`,[[78,209,!1],[51,100,!1],[204,318,!1]]],[`ref`,99],[`array`,320],[`object`,[[205,321,!1]]],[`object`,[[206,0,!0]]],[`object`,[[50,73,!1],[41,0,!0]]],[`ref`,102],[`union`,325,8],[`object`,[[207,326,!1],[50,73,!1],[208,326,!1],[209,179,!1],[41,0,!0],[210,0,!0]]],[`object`,[[78,209,!1],[50,73,!1],[51,100,!1],[204,318,!1]]],[`ref`,223],[`union`,329,8],[`ref`,222],[`union`,331,8],[`object`,[[50,73,!1],[197,143,!1],[211,107,!1],[41,0,!0],[212,330,!1],[96,332,!1],[48,0,!0],[114,107,!1]]],[`object`,[[41,0,!0],[114,107,!1]]],[`object`,[[213,0,!0]]],[`object`,[[213,0,!0],[114,107,!1]]],[`object`,[[160,73,!1],[214,0,!0],[161,251,!1]]],[`ref`,47,125],[`object`,[[215,160,!1],[216,338,!0]]],[`object`,[[215,160,!1]]],[`object`,[[87,0,!0],[41,0,!0]]],[`ref`,111],[`array`,342],[`ref`,112],[`union`,344,8],[`ref`,3,15,65,115],[`object`,[[215,160,!1],[217,343,!1],[216,73,!1],[218,345,!1],[219,346,!0]]],[`enum`,`Seconds`,`Minutes`,`Hours`,`Days`],[`object`,[[220,67,!0],[193,348,!0]]],[`ref`,118],[`array`,350],[`object`,[[163,0,!0],[3,107,!1],[221,351,!1]]],[`object`,[[222,75,!0],[223,73,!1],[93,177,!1],[224,0,!0]]],[`object`,[[2,3,!0],[54,0,!0],[3,5,!1]]],[`ref`,119],[`array`,355],[`object`,[[202,356,!1],[225,0,!0],[0,0,!0]]],[`object`,[[69,1,!0],[0,0,!0]]],[`object`,[[144,228,!1],[5,11,!1],[145,73,!1],[148,232,!1],[41,0,!0],[149,234,!1],[150,75,!1],[151,126,!1],[152,126,!1],[153,236,!1],[154,73,!1],[155,238,!1]]],[`array`,1],[`object`,[[180,360,!1]]],[`union`,0,75,8],[`number`,-17976931348623157e292,17976931348623157e292],[`enum`,`Int32`,`Int64`,`Decimal`,`Single`],[`string`,`^-?[0-9]+(\\.[0-9]+)?([Ee][+-]?[0-9]+)?$`],[`object`,[[226,364,!0],[1,365,!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`,[[226,367,!0],[1,368,!0]]],[`union`,362,363,366,369],[`object`,[[1,370,!1]]],[`enum`,`And`,`Or`],[`object`,[[103,338,!0],[104,372,!0],[105,338,!0]]],[`ref`,8,29,126,133,176],[`object`,[[103,374,!0],[104,372,!0],[105,374,!0]]],[`object`,[[103,91,!0],[104,372,!0],[105,91,!0]]],[`ref`,61],[`array`,377],[`union`,378,8],[`ref`,95],[`array`,380],[`union`,381,8],[`ref`,196],[`array`,383],[`object`,[[89,171,!1],[5,11,!1],[164,258,!1],[165,260,!1],[50,73,!1],[227,379,!1],[91,73,!1],[9,19,!1],[166,262,!1],[11,23,!1],[228,382,!1],[167,75,!0],[41,0,!0],[19,264,!1],[229,384,!1],[24,50,!1],[155,238,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[230,0,!0]]],[`object`,[[2,3,!0],[74,141,!1],[0,0,!0]]],[`object`,[[231,374,!0]]],[`enum`,`Info`,`Warning`,`Error`,`Unknown`],[`object`,[[82,158,!1],[232,389,!0],[130,0,!0],[131,75,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`object`,[[82,158,!1],[233,0,!0],[83,160,!1],[84,160,!1],[85,160,!1]]],[`ref`,137],[`array`,392],[`object`,[[234,393,!1]]],[`object`,[[41,0,!0],[1,1,!0]]],[`object`,[[78,209,!1],[51,100,!1]]],[`object`,[[50,73,!1],[41,0,!0],[18,126,!1]]],[`object`,[[235,75,!1],[236,73,!1],[237,73,!1],[238,0,!0],[239,68,!1],[240,68,!1]]],[`union`,374,8],[`object`,[[78,209,!1],[216,399,!1],[50,73,!1],[51,100,!1],[41,0,!0]]],[`ref`,146],[`array`,401],[`object`,[[241,73,!1],[242,73,!1],[243,73,!1],[216,73,!1],[244,73,!1],[50,73,!1],[245,73,!1],[246,73,!1],[41,0,!0],[247,126,!1],[248,73,!1],[249,126,!1],[250,402,!1]]],[`object`,[[134,0,!0],[251,0,!0]]],[`ref`,71],[`union`,405,8],[`ref`,101],[`union`,407,8],[`union`,338,8],[`object`,[[54,0,!0],[197,143,!1],[252,406,!1],[253,408,!1],[3,107,!1],[96,186,!1],[55,110,!1],[56,409,!1]]],[`object`,[[2,3,!0],[74,141,!1],[50,73,!1],[51,100,!1],[65,315,!1],[41,0,!0],[254,73,!1],[255,73,!1],[21,46,!1]]],[`ref`,148],[`array`,412],[`object`,[[74,141,!1],[256,413,!1],[41,0,!0]]],[`object`,[[0,0,!0],[60,1,!0]]],[`object`,[[257,75,!1],[258,75,!1],[259,75,!1],[260,75,!1],[41,0,!0],[48,94,!0]]],[`ref`,154],[`object`,[[41,0,!0],[60,417,!0],[48,95,!1]]],[`object`,[[60,417,!0]]],[`ref`,155],[`array`,420],[`object`,[[196,421,!1]]],[`object`,[[1,1,!0]]],[`object`,[[196,107,!1]]],[`object`,[[41,0,!0],[60,143,!1],[48,94,!0]]],[`ref`,160],[`union`,426,8],[`array`,426],[`ref`,139],[`union`,429,8],[`object`,[[89,171,!1],[80,427,!1],[261,428,!1],[50,73,!1],[262,428,!1],[263,75,!1],[41,0,!0],[264,430,!1],[265,94,!0],[109,73,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[219,0,!0]]],[`object`,[[266,126,!1],[36,0,!0]]],[`ref`,46],[`union`,434,8],[`ref`,164],[`union`,436,8],[`ref`,166],[`array`,438],[`object`,[[50,73,!1],[91,73,!1],[67,435,!1],[41,0,!0],[267,437,!1],[26,439,!1],[268,409,!1]]],[`ref`,239],[`array`,441],[`ref`,117],[`array`,443],[`union`,444,8],[`union`,177,8],[`ref`,116,129,177],[`object`,[[78,209,!1],[269,442,!1],[50,73,!1],[51,100,!1],[270,445,!1],[93,446,!1],[94,182,!1],[60,447,!0]]],[`object`,[[271,0,!0]]],[`object`,[[50,73,!1],[91,73,!1],[51,100,!1],[41,0,!0],[71,179,!1]]],[`object`,[[45,73,!1],[80,73,!1],[261,107,!1],[254,0,!0]]],[`object`,[[78,209,!1],[50,73,!1],[54,0,!0],[51,100,!1]]],[`ref`,170],[`array`,453],[`object`,[[50,73,!1],[67,435,!1],[41,0,!0],[254,0,!0],[143,454,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[81,0,!0]]],[`object`,[[54,0,!0],[65,143,!1],[203,143,!1]]],[`enum`,`Error`,`Information`,`Warning`],[`object`,[[216,338,!0],[130,73,!1],[272,458,!0]]],[`object`,[[273,0,!0]]],[`enum`,`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`union`,461,8],[`string`,`^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]{1,7})?$`],[`object`,[[274,68,!1],[275,462,!1],[276,463,!0]]],[`object`,[[163,0,!0],[138,73,!1],[139,217,!1]]],[`ref`,181],[`array`,466],[`ref`,182],[`union`,468,8],[`object`,[[217,467,!1],[138,0,!0],[139,217,!1],[218,469,!1]]],[`object`,[[82,158,!1],[163,0,!0],[216,338,!0]]],[`enum`,`Hidden`,`Execute`,`Unknown`],[`object`,[[82,158,!1],[163,73,!1],[277,472,!0]]],[`object`,[[278,10,!0]]],[`ref`,40],[`array`,475],[`ref`,41],[`array`,477],[`ref`,151],[`array`,479],[`ref`,42],[`array`,481],[`object`,[[5,11,!1],[173,0,!0],[279,168,!1],[148,476,!1],[136,73,!1],[41,0,!0],[149,478,!1],[140,480,!1],[71,482,!1],[280,73,!1],[155,238,!1]]],[`object`,[[80,73,!1],[81,0,!0],[48,94,!0]]],[`object`,[[138,0,!0],[0,0,!0]]],[`ref`,179],[`array`,486],[`object`,[[80,73,!1],[281,73,!1],[53,487,!1],[282,73,!1],[230,0,!0]]],[`ref`,188],[`array`,489],[`object`,[[196,490,!1],[141,0,!0]]],[`ref`,86],[`array`,492],[`object`,[[164,493,!1],[50,73,!1],[88,166,!1],[51,100,!1],[41,0,!0]]],[`ref`,186],[`array`,495],[`object`,[[5,11,!1],[31,496,!1],[283,217,!1],[141,0,!0],[155,238,!1]]],[`ref`,191],[`array`,498],[`object`,[[284,73,!1],[41,0,!0],[153,499,!1],[285,73,!1]]],[`object`,[[144,228,!1],[5,11,!1],[145,73,!1],[146,230,!1],[50,73,!1],[147,73,!1],[148,232,!1],[286,73,!1],[41,0,!0],[149,234,!1],[150,75,!1],[151,126,!1],[152,126,!1],[153,236,!1],[154,73,!1],[155,238,!1]]],[`ref`,234],[`array`,502],[`object`,[[180,503,!1],[41,0,!0]]],[`object`,[[210,237,!0]]],[`object`,[[54,0,!0],[71,107,!1]]],[`ref`,200],[`array`,507],[`object`,[[287,0,!0],[202,508,!1]]],[`ref`,201],[`array`,510],[`object`,[[288,511,!1]]],[`object`,[[284,73,!1],[41,0,!0],[285,73,!1]]],[`object`,[[82,158,!1],[83,160,!1],[84,160,!1],[85,160,!1],[141,0,!0],[1,0,!0]]],[`ref`,23],[`array`,515],[`ref`,44],[`array`,517],[`enum`,`Inbound`,`Outbound`],[`union`,519,8],[`array`,405],[`array`,407],[`ref`,149],[`array`,523],[`ref`,161],[`array`,525],[`ref`,165],[`array`,527],[`ref`,168],[`array`,529],[`union`,530,8],[`ref`,171],[`array`,532],[`union`,533,8],[`ref`,193],[`array`,535],[`ref`,228],[`array`,537],[`enum`,`StateChange`,`StateView`,`Automation`,`Translate`],[`object`,[[289,516,!1],[290,518,!1],[291,269,!1],[50,73,!1],[292,520,!1],[91,73,!1],[202,521,!1],[9,19,!1],[51,100,!1],[41,0,!0],[176,522,!1],[293,524,!1],[19,264,!1],[294,526,!1],[295,528,!1],[296,531,!1],[297,534,!1],[298,536,!1],[299,538,!1],[24,50,!1],[48,539,!0]]],[`object`,[[300,73,!1],[41,0,!0]]],[`object`,[[65,1,!0],[41,0,!0]]],[`object`,[[48,0,!0],[1,0,!0]]],[`ref`,212],[`array`,544],[`object`,[[301,75,!0],[302,545,!1],[266,126,!1]]],[`object`,[[303,0,!0],[304,107,!1]]],[`object`,[[305,0,!0]]],[`object`,[[306,0,!0],[197,143,!1],[211,107,!1],[307,73,!1],[114,107,!1]]],[`ref`,27],[`union`,550,8],[`object`,[[308,551,!1],[41,73,!1]]],[`object`,[[309,0,!0],[197,143,!1],[307,73,!1],[212,330,!1],[96,332,!1],[114,107,!1]]],[`object`,[[99,0,!0],[96,0,!0],[101,192,!1],[102,107,!1]]],[`object`,[[310,75,!0],[71,107,!1]]],[`ref`,224],[`array`,556],[`object`,[[82,107,!1],[310,75,!0],[81,0,!0],[311,557,!1]]],[`object`,[[310,75,!0],[307,73,!1],[41,0,!0],[71,107,!1]]],[`object`,[[309,0,!0],[197,143,!1],[212,330,!1],[312,0,!0],[96,332,!1],[114,107,!1]]],[`ref`,105],[`array`,561],[`ref`,220],[`array`,563],[`ref`,214],[`union`,565,8],[`ref`,213],[`union`,567,8],[`ref`,215],[`array`,569],[`ref`,216],[`union`,571,8],[`ref`,106],[`array`,573],[`ref`,226],[`array`,575],[`union`,576,8],[`ref`,104],[`array`,578],[`ref`,211],[`array`,580],[`ref`,108],[`array`,582],[`ref`,218],[`union`,584,8],[`ref`,219],[`array`,586],[`ref`,221],[`union`,588,8],[`ref`,107],[`array`,590],[`ref`,225],[`array`,592],[`ref`,158,159],[`union`,594,8],[`ref`,217],[`union`,596,8],[`union`,563,8],[`union`,569,8],[`ref`,230],[`union`,600,8],[`ref`,227],[`union`,602,8],[`ref`,229],[`union`,604,8],[`object`,[[313,562,!1],[50,73,!1],[9,19,!1],[51,100,!1],[314,564,!1],[315,566,!1],[316,568,!1],[317,570,!1],[318,572,!1],[319,574,!1],[320,577,!1],[41,0,!0],[53,579,!1],[21,46,!1],[321,581,!1],[322,583,!1],[323,585,!1],[324,587,!1],[325,564,!1],[326,75,!0],[327,75,!1],[328,589,!1],[329,591,!1],[330,593,!1],[331,577,!1],[332,557,!1],[333,595,!1],[56,597,!1],[334,598,!1],[335,599,!1],[336,572,!1],[337,601,!1],[338,603,!1],[339,605,!1]]],[`object`,[[219,0,!0],[114,107,!1]]],[`object`,[[82,107,!1],[81,0,!0]]],[`object`,[[65,0,!0]]],[`enum`,`Unknown`,`Action`,`Navigate`,`Dialog`],[`object`,[[136,73,!1],[138,73,!1],[41,0,!0],[53,487,!1],[140,480,!1],[36,610,!0],[141,0,!0]]],[`ref`,236,237],[`array`,612],[`object`,[[106,613,!1]]],[`object`,[[340,126,!1],[41,0,!0]]],[`object`,[[269,442,!1],[50,73,!1],[51,100,!1],[41,0,!0]]],[`object`,[[175,75,!0],[341,75,!0],[41,0,!0]]],[`object`,[[50,73,!1],[51,100,!1],[41,0,!0],[71,179,!1]]],[`enum`,`Invalid`,`DataContext`,`QueryResult`,`ComponentProperty`,`Literal`],[`enum`,`OneWay`,`TwoWay`],[`union`,620,8],[`enum`,`Propagate`,`Clear`,`Preserve`],[`union`,622,8],[`object`,[[342,619,!0],[343,73,!1],[344,73,!1],[345,73,!1],[346,143,!1],[42,621,!1],[347,623,!1],[132,0,!0],[81,73,!1],[348,73,!1]]],[`object`,[[349,73,!1],[350,126,!1],[199,73,!1],[41,0,!0],[351,126,!1],[352,126,!1],[353,73,!1]]],[`object`,[[169,269,!1],[50,73,!1],[54,0,!0],[170,75,!0],[130,73,!1],[41,0,!0],[171,126,!1]]],[`object`,[[354,126,!1],[169,269,!1],[50,73,!1],[54,0,!0],[170,75,!0],[130,73,!1],[41,0,!0],[0,0,!0],[171,126,!1]]],[`object`,[[141,0,!0]]],[`ref`,12],[`array`,629],[`object`,[[82,630,!1],[278,0,!0]]],[`enum`,`NotEmpty`,`Max`,`Min`,`GreaterThan`,`GreaterThanOrEqual`,`LessThan`,`LessThanOrEqual`,`Equal`,`Length`,`Matches`,`AllGreaterThan`,`AllGreaterThanOrEqual`,`Rule`,`NotEqual`,`Checksum`],[`object`,[[78,209,!1],[51,100,!1],[204,318,!1],[130,73,!1],[0,0,!0],[123,632,!0],[272,458,!0],[1,143,!1]]],[`ref`,141],[`array`,634],[`object`,[[37,0,!0],[355,635,!1],[39,0,!0]]]],contracts:[2,6,63,64,72,74,76,85,86,87,90,92,93,96,103,105,113,118,121,122,93,125,127,134,135,137,138,139,142,144,145,147,148,151,153,154,155,156,161,162,164,167,169,147,190,193,194,196,199,200,208,210,211,212,213,213,218,220,155,226,155,239,240,240,213,241,86,244,245,248,249,252,253,254,255,267,270,271,213,272,275,276,279,282,285,286,287,288,295,296,297,299,300,86,301,311,316,319,322,323,324,327,328,333,245,334,335,336,335,337,155,339,340,341,347,349,349,352,353,354,357,358,359,361,371,373,375,376,385,240,386,161,387,388,390,391,394,395,213,396,397,398,240,400,403,240,404,410,249,411,414,93,415,416,155,418,419,422,423,424,425,431,432,323,433,440,448,449,450,451,452,455,456,249,457,459,460,464,465,164,470,471,473,474,147,483,272,484,485,488,167,167,491,494,497,500,501,323,504,505,506,509,512,415,513,96,240,514,540,541,213,542,543,240,546,547,548,549,86,552,553,86,554,86,555,558,559,560,606,607,608,609,2,423,611,614,255,323,615,96,616,617,618,624,625,626,627,628,631,633,636]};export{e as syntaxCollections};
|
|
2
2
|
//# sourceMappingURL=SyntaxCollections.js.map
|