@ja-platform/parser-core 0.0.0-dev-20261113191340 → 0.0.0-dev-20261118201205

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.
Files changed (32) hide show
  1. package/dist/@types/attributes/Attribute.d.ts +1 -1
  2. package/dist/@types/attributes/EnumAttribute.d.ts +17 -0
  3. package/dist/@types/attributes/EnumValueType.d.ts +7 -0
  4. package/dist/@types/attributes/MultiEnumAttribute.d.ts +18 -0
  5. package/dist/@types/attributes/TextArrayAttribute.d.ts +2 -4
  6. package/dist/@types/attributes/TextAttribute.d.ts +1 -1
  7. package/dist/@types/index.d.ts +2 -2
  8. package/dist/@types/nodes/Node.d.ts +4 -4
  9. package/dist/attributes/Attribute.js +2 -2
  10. package/dist/attributes/Attribute.js.map +1 -1
  11. package/dist/attributes/EnumAttribute.js +20 -0
  12. package/dist/attributes/EnumAttribute.js.map +1 -0
  13. package/dist/attributes/EnumValueType.js +21 -0
  14. package/dist/attributes/EnumValueType.js.map +1 -0
  15. package/dist/attributes/MultiEnumAttribute.js +30 -0
  16. package/dist/attributes/MultiEnumAttribute.js.map +1 -0
  17. package/dist/attributes/TextArrayAttribute.js +9 -17
  18. package/dist/attributes/TextArrayAttribute.js.map +1 -1
  19. package/dist/attributes/TextAttribute.js +3 -3
  20. package/dist/attributes/TextAttribute.js.map +1 -1
  21. package/dist/index.js +2 -2
  22. package/dist/index.js.map +1 -1
  23. package/dist/nodes/Node.js +2 -1
  24. package/dist/nodes/Node.js.map +1 -1
  25. package/dist/tsconfig.tsbuildinfo +1 -1
  26. package/package.json +3 -3
  27. package/dist/@types/attributes/ListAttribute.d.ts +0 -19
  28. package/dist/@types/attributes/SetAttribute.d.ts +0 -16
  29. package/dist/attributes/ListAttribute.js +0 -35
  30. package/dist/attributes/ListAttribute.js.map +0 -1
  31. package/dist/attributes/SetAttribute.js +0 -19
  32. package/dist/attributes/SetAttribute.js.map +0 -1
@@ -62,7 +62,7 @@ export declare class Attribute<G extends AttributeGenerics = AttributeGenerics>
62
62
  static TYPE: string;
63
63
  parent: Node<any>;
64
64
  type: string;
65
- constructor(type: string, options: G['Options']);
65
+ constructor(type: string, options: G['Options'], literalParser?: ExpressionParser<CombinedAttributeExpression>);
66
66
  get key(): string;
67
67
  get defaultValue(): any;
68
68
  get name(): string;
@@ -0,0 +1,17 @@
1
+ import type { EvaluatedExpression, ConstantExpression } from '@ja-platform/parser-expressions';
2
+ import { Attribute, AttributeGenerics, AttributeOptions } from './Attribute';
3
+ export type CombinedEnumExpression<T extends string = string> = EvaluatedExpression | ConstantExpression<T>;
4
+ export interface EnumAttributeOptions<T extends string = string> extends AttributeOptions<T, T> {
5
+ options: readonly T[];
6
+ }
7
+ export interface EnumAttributeGenerics<T extends string = string, Options extends EnumAttributeOptions<T> = EnumAttributeOptions<T>> extends AttributeGenerics {
8
+ Value: CombinedEnumExpression<T> | null;
9
+ NormalizedValue: T;
10
+ Options: Options;
11
+ }
12
+ export declare class EnumAttribute<T extends string = string, const Options extends EnumAttributeOptions<T> = EnumAttributeOptions<T>> extends Attribute<EnumAttributeGenerics<Options['options'][number], Options>> {
13
+ static TYPE: string;
14
+ static isInstanceOf(attr: Attribute): attr is EnumAttribute;
15
+ constructor(options: Options);
16
+ serialize(): any;
17
+ }
@@ -0,0 +1,7 @@
1
+ import { Type } from '@ja-platform/parser-type-system';
2
+ export declare class EnumValueType<T extends string> extends Type<T> {
3
+ readonly options: readonly T[];
4
+ constructor(options: readonly T[]);
5
+ is(value: unknown): value is T;
6
+ parse(value: unknown): T;
7
+ }
@@ -0,0 +1,18 @@
1
+ import { ConstantExpression, EvaluatedExpression } from '@ja-platform/parser-expressions';
2
+ import { Attribute, AttributeGenerics, AttributeOptions } from './Attribute';
3
+ export type CombinedMultiEnumExpression<T extends string = string> = EvaluatedExpression | ConstantExpression<T[]>;
4
+ export interface MultiEnumAttributeOptions<T extends string = string> extends AttributeOptions<T[], T[]> {
5
+ options: readonly T[];
6
+ }
7
+ export interface MultiEnumAttributeGenerics<T extends string = string, Options extends MultiEnumAttributeOptions<T> = MultiEnumAttributeOptions<T>> extends AttributeGenerics {
8
+ Value: CombinedMultiEnumExpression<T> | null;
9
+ NormalizedValue: T[];
10
+ Options: Options;
11
+ }
12
+ export declare class MultiEnumAttribute<T extends string = string, const Options extends MultiEnumAttributeOptions<T> = MultiEnumAttributeOptions<T>> extends Attribute<MultiEnumAttributeGenerics<Options['options'][number], Options>> {
13
+ static TYPE: string;
14
+ static isInstanceOf(attr: Attribute): attr is MultiEnumAttribute;
15
+ constructor(options: Options);
16
+ normalizeValue(value: unknown): Options["options"][number][];
17
+ serialize(): any;
18
+ }
@@ -1,15 +1,13 @@
1
1
  import { Attribute } from './Attribute';
2
2
  import { TextAttribute, TextAttributeGenerics, TextAttributeOptions } from './TextAttribute';
3
- export interface TextArrayAttributeOptions extends TextAttributeOptions<string[]> {
4
- delimiter?: string;
5
- }
3
+ export type TextArrayAttributeOptions = TextAttributeOptions<string[]>;
6
4
  export interface TextArrayAttributeGenerics extends TextAttributeGenerics<string[]> {
7
5
  Options: TextArrayAttributeOptions;
8
6
  }
9
7
  export declare class TextArrayAttribute extends TextAttribute<TextArrayAttributeGenerics> {
10
8
  static TYPE: string;
11
- delimiter: string;
12
9
  static isInstanceOf(attr: Attribute): attr is TextArrayAttribute;
13
10
  constructor(options: TextArrayAttributeGenerics['Options']);
11
+ normalizeValue(value: unknown): string[];
14
12
  serialize(): any;
15
13
  }
@@ -17,8 +17,8 @@ export declare class TextAttribute<T extends TextAttributeGenerics<unknown> = Te
17
17
  Options: Options;
18
18
  }> {
19
19
  static TYPE: string;
20
- constructor(options: Options);
21
20
  static isInstanceOf(attr: Attribute): attr is TextAttribute<TextAttributeGenerics<unknown>>;
21
+ constructor(options: Options);
22
22
  protected getInput(node?: NodeInput): AttributeInput | undefined;
23
23
  stringify(value: T['Value'], parent: ParsedNode): StringifyDirective;
24
24
  protected getParsedValue(event: AttributeParseEvent): CombinedTextExpression | null;
@@ -7,10 +7,10 @@ export * from './attributes/ConstantBooleanAttribute';
7
7
  export * from './attributes/ConstantTextAttribute';
8
8
  export * from './attributes/ExpressionAttribute';
9
9
  export * from './attributes/FunctionAttribute';
10
- export * from './attributes/ListAttribute';
10
+ export * from './attributes/MultiEnumAttribute';
11
11
  export * from './attributes/NumberAttribute';
12
12
  export * from './attributes/PathAttribute';
13
- export * from './attributes/SetAttribute';
13
+ export * from './attributes/EnumAttribute';
14
14
  export * from './attributes/TextArrayAttribute';
15
15
  export * from './attributes/TextAttribute';
16
16
  export * from './entities/AbstractEntity';
@@ -81,10 +81,10 @@ export declare class Node<G extends NodeGenerics<any> = NodeGenerics<any>> exten
81
81
  template: string;
82
82
  }[];
83
83
  };
84
- addAttributes(attrs: Attribute[]): void;
85
- addAttribute(attribute: Attribute): Node<G>;
86
- replaceAttribute(attribute: Attribute): Node<G>;
87
- addNode(node: Node<any>): Node<G>;
84
+ addAttributes(attrs: Attribute[]): this;
85
+ addAttribute(attribute: Attribute): this;
86
+ replaceAttribute(attribute: Attribute): this;
87
+ addNode(node: Node<any>): this;
88
88
  registerListener(listener: NodeListener<G['Shape']>): () => void;
89
89
  parse(options: ParseTreeOptions): G['Parsed'] | null;
90
90
  parseTree(options: ParseTreeOptions): G['Parsed'];
@@ -7,12 +7,12 @@ const parser_type_system_1 = require("@ja-platform/parser-type-system");
7
7
  const CommonEntity_1 = require("../entities/CommonEntity");
8
8
  const ParsedAttribute_1 = require("../parsed/ParsedAttribute");
9
9
  class Attribute extends CommonEntity_1.CommonEntity {
10
- constructor(type, options) {
10
+ constructor(type, options, literalParser) {
11
11
  var _a, _b, _c, _d, _e;
12
12
  super(Object.assign(Object.assign({}, options), { syntax: (_a = options.syntax) !== null && _a !== void 0 ? _a : new parser_expressions_1.CombinedParser([
13
13
  new parser_expressions_1.FunctionExpressionParser(),
14
14
  new parser_expressions_1.EvaluatedExpressionParser(),
15
- new parser_expressions_1.ConstantExpressionParser((_b = options.valueType) !== null && _b !== void 0 ? _b : parser_type_system_1.textType)
15
+ literalParser !== null && literalParser !== void 0 ? literalParser : new parser_expressions_1.ConstantExpressionParser((_b = options.valueType) !== null && _b !== void 0 ? _b : parser_type_system_1.textType)
16
16
  ]), autoWatch: (_c = options.autoWatch) !== null && _c !== void 0 ? _c : true, configurable: (_d = options.configurable) !== null && _d !== void 0 ? _d : false, advanced: (_e = options.advanced) !== null && _e !== void 0 ? _e : false }));
17
17
  this.type = type;
18
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Attribute.js","sourceRoot":"","sources":["../../src/attributes/Attribute.ts"],"names":[],"mappings":";;;AAAA,4DAA6D;AAK7D,wEASyC;AACzC,wEAAiE;AACjE,2DAAmG;AAEnG,+DAAoF;AA2DpF,eAAwE,SAAQ,2BAAe;IAK7F,YAAY,IAAY,EAAE,OAAqB;;QAC7C,KAAK,iCACA,OAAO,KACV,MAAM,QACJ,OAAO,CAAC,MAAM,mCACd,IAAI,mCAAc,CAA8B;gBAC9C,IAAI,6CAAwB,EAAE;gBAC9B,IAAI,8CAAyB,EAAE;gBAC/B,IAAI,6CAAwB,OAAC,OAAO,CAAC,SAAS,mCAAI,6BAAQ,CAAC;aAC5D,CAAC,EACJ,SAAS,QAAE,OAAO,CAAC,SAAS,mCAAI,IAAI,EACpC,YAAY,QAAE,OAAO,CAAC,YAAY,mCAAI,KAAK,EAC3C,QAAQ,QAAE,OAAO,CAAC,QAAQ,mCAAI,KAAK,IACnC,CAAC;QACH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;IAC1B,CAAC;IAED,IAAI,YAAY;QACd,OAAO,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC;IACnC,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;IAC3B,CAAC;IAED,cAAc,CAAC,KAAc;QAC3B,OAA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CAAC,KAAK,CAAC;oBACnC,SAAS;oBACT,MAAM,EAAE,EAAE;oBACV,KAAK,QAAE,MAAA,KAAK,CAAC,MAAM,0CAAE,KAAK,CAAC,KAAK,mCAAI,CAAC;iBACtC,CAAC,CAAC;YACL,CAAC;iBAAM,IAAI,KAAK,EAAE,CAAC;gBACjB,UAAU,GAAG,IAAI,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;YACvD,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,CAAC,KAAK,YAAY,WAAW,CAAC;gBAAE,MAAM,KAAK,CAAC;YACjD,OAAO,GAAG,KAAK,CAAC;QAClB,CAAC;QACD,MAAM,MAAM,GAAG,IAAI,CAAC,qBAAqB,CAAC;YACxC,UAAU,EAAE,IAAI;YAChB,UAAU;YACV,KAAK;YACL,WAAW,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,CAAC,UAAU,CAAC;SACzD,CAAC,CAAC;QACH,IAAI,OAAO;YAAE,MAAM,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;QAC5D,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;;AAzIQ,cAAI,GAAG,gBAAgB,CAAC","sourcesContent":["import { AttributeInputKind } from '../input/AttributeInput';\nimport type { NodeInput } from '../input/NodeInput';\nimport type { AttributeInput } from '../input/AttributeInput';\nimport type { AttributeParseContext } from '../input/AttributeParseContext';\nimport { AttributeParseEvent } from '../AttributeParseEvent';\nimport {\n AbstractExpression,\n ExpressionParser,\n ConstantExpression,\n EvaluatedExpression,\n CombinedParser,\n FunctionExpressionParser,\n EvaluatedExpressionParser,\n ConstantExpressionParser\n} from '@ja-platform/parser-expressions';\nimport { Type, textType } from '@ja-platform/parser-type-system';\nimport { CommonEntity, CommonEntityListener, CommonEntityOptions } from '../entities/CommonEntity';\nimport { Node } from '../nodes/Node';\nimport { ParsedAttribute, ParsedAttributeOptions } from '../parsed/ParsedAttribute';\nimport { ParsedNode } from '../parsed/ParsedNode';\n\nexport type CombinedAttributeExpression = EvaluatedExpression | ConstantExpression<unknown>;\n\nexport interface AttributeListener extends CommonEntityListener {}\n\nexport interface NodeChecker {\n hasAttributeType(type: string): boolean;\n}\n\nexport interface AttributeOptions<DEFAULT = any, VALUE = unknown> extends CommonEntityOptions {\n /**\n * Accepted expression syntax. Defaults to prefixed code followed by constant text.\n */\n syntax?: ExpressionParser<AbstractExpression>;\n /**\n * Conversion and literal validation for the resolved attribute value.\n */\n valueType?: Type<VALUE>;\n required?: boolean;\n configurable?: boolean;\n advanced?: boolean;\n fragmentNamespace?: string;\n\n defaultValue?: DEFAULT;\n /**\n * The interim value to use when the component attribute is still being evaluated (ie. setting up watches),\n * will fallback to `defaultValue` if not set.\n */\n loadingValue?: DEFAULT;\n /**\n * By default autowatch is enabled, disable it if the attribute relies on parameters such as $object\n * (used quite often in query-widget) which need to have watches setup in virtual tables\n * @deprecated\n */\n autoWatch?: boolean;\n /**\n * Indicates that the attribute is considered deprecated\n */\n deprecated?: boolean;\n /**\n * Ensures that functions returned by this attribute will be mapped to string identifiers in the runtime\n */\n mapGeneratedFunctions?: boolean;\n}\n\nexport interface AttributeGenerics<O extends AttributeOptions = AttributeOptions> {\n Options: O;\n Listener: AttributeListener;\n Value: any;\n NormalizedValue: unknown;\n}\n\nexport interface StringifyDirective {\n isAttribute: boolean;\n value: string | null;\n}\n\nexport class Attribute<G extends AttributeGenerics = AttributeGenerics> extends CommonEntity<G> {\n static TYPE = 'base-attribute';\n parent: Node<any>;\n type: string;\n\n constructor(type: string, options: G['Options']) {\n super({\n ...options,\n syntax:\n options.syntax ??\n new CombinedParser<CombinedAttributeExpression>([\n new FunctionExpressionParser(),\n new EvaluatedExpressionParser(),\n new ConstantExpressionParser(options.valueType ?? textType)\n ]),\n autoWatch: options.autoWatch ?? true,\n configurable: options.configurable ?? false,\n advanced: options.advanced ?? false\n });\n this.type = type;\n }\n\n get key() {\n return this.options.key;\n }\n\n get defaultValue() {\n return this.options.defaultValue;\n }\n\n get name() {\n return this.options.name;\n }\n\n normalizeValue(value: unknown): G['NormalizedValue'] {\n return (this.options.valueType ? this.options.valueType.parse(value) : value) as G['NormalizedValue'];\n }\n\n isEnclosedWith(checkerCB: (helper: NodeChecker) => boolean) {\n let node: Node = this.parent;\n\n const checker: NodeChecker = {\n hasAttributeType(type: string): boolean {\n for (let attr of node.attributes) {\n if (attr.constructor.name === type) {\n return true;\n }\n }\n }\n };\n // keep checking the parent\n do {\n if (checkerCB(checker)) {\n return true;\n }\n\n node = node.parent;\n } while (!!node);\n return false;\n }\n\n serialize(): any {\n return {\n ...super.serialize(),\n required: this.options.required,\n defaultValue: this.options.defaultValue,\n\n docs: this.options.docs,\n type: 'standard',\n advanced: !!this.options.advanced\n };\n }\n\n protected getParsedValue(event: AttributeParseEvent): G['Value'] {\n return (\n event.context?.parseAttributeExpression?.({ attribute: this, source: event.input.value }) ??\n this.options.syntax.parse(event.input.value)\n );\n }\n\n stringify(value: G['Value'], parent: ParsedNode): StringifyDirective {\n if (value == null) {\n return {\n isAttribute: true,\n value: null\n };\n }\n\n return {\n isAttribute: true,\n value: value.raw()\n };\n }\n\n createParsedAttribute(options: ParsedAttributeOptions<G['Value'], this>): ParsedAttribute<G['Value'], this> {\n return new ParsedAttribute(options);\n }\n\n protected getInput(node?: NodeInput): AttributeInput | undefined {\n return node?.attribute(this.name);\n }\n\n parse(node?: NodeInput, context?: AttributeParseContext) {\n return this.parseInput(this.getInput(node), context);\n }\n\n /** Instantiate an attribute from document input, or from its definition alone. */\n parseInput(input?: AttributeInput, context?: AttributeParseContext) {\n let expression: G['Value'] = null;\n let failure: SyntaxError | undefined;\n try {\n if (input?.kind === AttributeInputKind.LITERAL) {\n const valueType = this.options.valueType;\n if (!valueType) {\n throw new SyntaxError(`Attribute ${this.name} does not support native literal input`);\n }\n expression = new ConstantExpression({\n value: valueType.parse(input.value),\n valueType,\n tokens: [],\n start: input.source?.range.start ?? 0\n });\n } else if (input) {\n expression = this.getParsedValue({ input, context });\n }\n } catch (error) {\n if (!(error instanceof SyntaxError)) throw error;\n failure = error;\n }\n const parsed = this.createParsedAttribute({\n definition: this,\n expression,\n input,\n reportError: (diagnostic) => context?.report(diagnostic)\n });\n if (failure) parsed.pushError({ message: failure.message });\n return parsed;\n }\n}\n"]}
1
+ {"version":3,"file":"Attribute.js","sourceRoot":"","sources":["../../src/attributes/Attribute.ts"],"names":[],"mappings":";;;AAAA,4DAA6D;AAK7D,wEASyC;AACzC,wEAAiE;AACjE,2DAAmG;AAEnG,+DAAoF;AA2DpF,eAAwE,SAAQ,2BAAe;IAK7F,YAAY,IAAY,EAAE,OAAqB,EAAE,aAA6D;;QAC5G,KAAK,iCACA,OAAO,KACV,MAAM,QACJ,OAAO,CAAC,MAAM,mCACd,IAAI,mCAAc,CAA8B;gBAC9C,IAAI,6CAAwB,EAAE;gBAC9B,IAAI,8CAAyB,EAAE;gBAC/B,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,IAAI,6CAAwB,OAAC,OAAO,CAAC,SAAS,mCAAI,6BAAQ,CAAC;aAC7E,CAAC,EACJ,SAAS,QAAE,OAAO,CAAC,SAAS,mCAAI,IAAI,EACpC,YAAY,QAAE,OAAO,CAAC,YAAY,mCAAI,KAAK,EAC3C,QAAQ,QAAE,OAAO,CAAC,QAAQ,mCAAI,KAAK,IACnC,CAAC;QACH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;IAC1B,CAAC;IAED,IAAI,YAAY;QACd,OAAO,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC;IACnC,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;IAC3B,CAAC;IAED,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AAS,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC;oBACnC,SAAS;oBACT,MAAM,EAAE,EAAE;oBACV,KAAK,QAAE,MAAA,KAAK,CAAC,MAAM,0CAAE,KAAK,CAAC,KAAK,mCAAI,CAAC;iBACtC,CAAC,CAAC;YACL,CAAC;iBAAM,IAAI,KAAK,EAAE,CAAC;gBACjB,UAAU,GAAG,IAAI,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;YACvD,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,CAAC,KAAK,YAAY,WAAW,CAAC;gBAAE,MAAM,KAAK,CAAC;YACjD,OAAO,GAAG,KAAK,CAAC;QAClB,CAAC;QACD,MAAM,MAAM,GAAG,IAAI,CAAC,qBAAqB,CAAC;YACxC,UAAU,EAAE,IAAI;YAChB,UAAU;YACV,KAAK;YACL,WAAW,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,CAAC,UAAU,CAAC;SACzD,CAAC,CAAC;QACH,IAAI,OAAO;YAAE,MAAM,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;QAC5D,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;;AAzIQ,cAAI,GAAG,gBAAgB,CAAC","sourcesContent":["import { AttributeInputKind } from '../input/AttributeInput';\nimport type { NodeInput } from '../input/NodeInput';\nimport type { AttributeInput } from '../input/AttributeInput';\nimport type { AttributeParseContext } from '../input/AttributeParseContext';\nimport { AttributeParseEvent } from '../AttributeParseEvent';\nimport {\n AbstractExpression,\n ExpressionParser,\n ConstantExpression,\n EvaluatedExpression,\n CombinedParser,\n FunctionExpressionParser,\n EvaluatedExpressionParser,\n ConstantExpressionParser\n} from '@ja-platform/parser-expressions';\nimport { Type, textType } from '@ja-platform/parser-type-system';\nimport { CommonEntity, CommonEntityListener, CommonEntityOptions } from '../entities/CommonEntity';\nimport { Node } from '../nodes/Node';\nimport { ParsedAttribute, ParsedAttributeOptions } from '../parsed/ParsedAttribute';\nimport { ParsedNode } from '../parsed/ParsedNode';\n\nexport type CombinedAttributeExpression = EvaluatedExpression | ConstantExpression<unknown>;\n\nexport interface AttributeListener extends CommonEntityListener {}\n\nexport interface NodeChecker {\n hasAttributeType(type: string): boolean;\n}\n\nexport interface AttributeOptions<DEFAULT = any, VALUE = unknown> extends CommonEntityOptions {\n /**\n * Accepted expression syntax. Defaults to prefixed code followed by constant text.\n */\n syntax?: ExpressionParser<AbstractExpression>;\n /**\n * Conversion and literal validation for the resolved attribute value.\n */\n valueType?: Type<VALUE>;\n required?: boolean;\n configurable?: boolean;\n advanced?: boolean;\n fragmentNamespace?: string;\n\n defaultValue?: DEFAULT;\n /**\n * The interim value to use when the component attribute is still being evaluated (ie. setting up watches),\n * will fallback to `defaultValue` if not set.\n */\n loadingValue?: DEFAULT;\n /**\n * By default autowatch is enabled, disable it if the attribute relies on parameters such as $object\n * (used quite often in query-widget) which need to have watches setup in virtual tables\n * @deprecated\n */\n autoWatch?: boolean;\n /**\n * Indicates that the attribute is considered deprecated\n */\n deprecated?: boolean;\n /**\n * Ensures that functions returned by this attribute will be mapped to string identifiers in the runtime\n */\n mapGeneratedFunctions?: boolean;\n}\n\nexport interface AttributeGenerics<O extends AttributeOptions = AttributeOptions> {\n Options: O;\n Listener: AttributeListener;\n Value: any;\n NormalizedValue: unknown;\n}\n\nexport interface StringifyDirective {\n isAttribute: boolean;\n value: string | null;\n}\n\nexport class Attribute<G extends AttributeGenerics = AttributeGenerics> extends CommonEntity<G> {\n static TYPE = 'base-attribute';\n parent: Node<any>;\n type: string;\n\n constructor(type: string, options: G['Options'], literalParser?: ExpressionParser<CombinedAttributeExpression>) {\n super({\n ...options,\n syntax:\n options.syntax ??\n new CombinedParser<CombinedAttributeExpression>([\n new FunctionExpressionParser(),\n new EvaluatedExpressionParser(),\n literalParser ?? new ConstantExpressionParser(options.valueType ?? textType)\n ]),\n autoWatch: options.autoWatch ?? true,\n configurable: options.configurable ?? false,\n advanced: options.advanced ?? false\n });\n this.type = type;\n }\n\n get key() {\n return this.options.key;\n }\n\n get defaultValue() {\n return this.options.defaultValue;\n }\n\n get name() {\n return this.options.name;\n }\n\n normalizeValue(value: unknown): G['NormalizedValue'] {\n return (this.options.valueType ? this.options.valueType.parse(value) : value) as G['NormalizedValue'];\n }\n\n isEnclosedWith(checkerCB: (helper: NodeChecker) => boolean) {\n let node: Node = this.parent;\n\n const checker: NodeChecker = {\n hasAttributeType(type: string): boolean {\n for (let attr of node.attributes) {\n if (attr.constructor.name === type) {\n return true;\n }\n }\n }\n };\n // keep checking the parent\n do {\n if (checkerCB(checker)) {\n return true;\n }\n\n node = node.parent;\n } while (!!node);\n return false;\n }\n\n serialize(): any {\n return {\n ...super.serialize(),\n required: this.options.required,\n defaultValue: this.options.defaultValue,\n\n docs: this.options.docs,\n type: 'standard',\n advanced: !!this.options.advanced\n };\n }\n\n protected getParsedValue(event: AttributeParseEvent): G['Value'] {\n return (\n event.context?.parseAttributeExpression?.({ attribute: this, source: event.input.value }) ??\n this.options.syntax.parse(event.input.value)\n );\n }\n\n stringify(value: G['Value'], parent: ParsedNode): StringifyDirective {\n if (value == null) {\n return {\n isAttribute: true,\n value: null\n };\n }\n\n return {\n isAttribute: true,\n value: value.raw()\n };\n }\n\n createParsedAttribute(options: ParsedAttributeOptions<G['Value'], this>): ParsedAttribute<G['Value'], this> {\n return new ParsedAttribute(options);\n }\n\n protected getInput(node?: NodeInput): AttributeInput | undefined {\n return node?.attribute(this.name);\n }\n\n parse(node?: NodeInput, context?: AttributeParseContext) {\n return this.parseInput(this.getInput(node), context);\n }\n\n /** Instantiate an attribute from document input, or from its definition alone. */\n parseInput(input?: AttributeInput, context?: AttributeParseContext) {\n let expression: G['Value'] = null;\n let failure: SyntaxError | undefined;\n try {\n if (input?.kind === AttributeInputKind.LITERAL) {\n const valueType = this.options.valueType;\n if (!valueType) {\n throw new SyntaxError(`Attribute ${this.name} does not support native literal input`);\n }\n expression = new ConstantExpression({\n value: valueType.parse(input.value),\n valueType,\n tokens: [],\n start: input.source?.range.start ?? 0\n });\n } else if (input) {\n expression = this.getParsedValue({ input, context });\n }\n } catch (error) {\n if (!(error instanceof SyntaxError)) throw error;\n failure = error;\n }\n const parsed = this.createParsedAttribute({\n definition: this,\n expression,\n input,\n reportError: (diagnostic) => context?.report(diagnostic)\n });\n if (failure) parsed.pushError({ message: failure.message });\n return parsed;\n }\n}\n"]}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EnumAttribute = void 0;
4
+ const EnumValueType_1 = require("./EnumValueType");
5
+ const Attribute_1 = require("./Attribute");
6
+ class EnumAttribute extends Attribute_1.Attribute {
7
+ static isInstanceOf(attr) {
8
+ return attr.type === EnumAttribute.TYPE;
9
+ }
10
+ constructor(options) {
11
+ var _a, _b;
12
+ super(EnumAttribute.TYPE, Object.assign(Object.assign({}, options), { valueType: (_a = options.valueType) !== null && _a !== void 0 ? _a : new EnumValueType_1.EnumValueType(options.options), configurable: (_b = options.configurable) !== null && _b !== void 0 ? _b : true }));
13
+ }
14
+ serialize() {
15
+ return Object.assign(Object.assign({}, super.serialize()), { type: 'set', options: this.options.options });
16
+ }
17
+ }
18
+ exports.EnumAttribute = EnumAttribute;
19
+ EnumAttribute.TYPE = 'set-attribute';
20
+ //# sourceMappingURL=EnumAttribute.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnumAttribute.js","sourceRoot":"","sources":["../../src/attributes/EnumAttribute.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAEhD,2CAA6E;AAiB7E,mBAGE,SAAQ,qBAAqE;IAG7E,MAAM,CAAC,YAAY,CAAC,IAAe;QACjC,OAAO,IAAI,CAAC,IAAI,KAAK,aAAa,CAAC,IAAI,CAAC;IAC1C,CAAC;IAED,YAAY,OAAgB;;QAC1B,KAAK,CAAC,aAAa,CAAC,IAAI,kCACnB,OAAO,KACV,SAAS,QAAE,OAAO,CAAC,SAAS,mCAAI,IAAI,6BAAa,CAAC,OAAO,CAAC,OAAO,CAAC,EAClE,YAAY,QAAE,OAAO,CAAC,YAAY,mCAAI,IAAI,IAC1C,CAAC;IACL,CAAC;IAED,SAAS;QACP,uCACK,KAAK,CAAC,SAAS,EAAE,KACpB,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,IAC7B;IACJ,CAAC;CACF;;AArBQ,kBAAI,GAAG,eAAe,CAAC","sourcesContent":["import { EnumValueType } from './EnumValueType';\nimport type { EvaluatedExpression, ConstantExpression } from '@ja-platform/parser-expressions';\nimport { Attribute, AttributeGenerics, AttributeOptions } from './Attribute';\n\nexport type CombinedEnumExpression<T extends string = string> = EvaluatedExpression | ConstantExpression<T>;\n\nexport interface EnumAttributeOptions<T extends string = string> extends AttributeOptions<T, T> {\n options: readonly T[];\n}\n\nexport interface EnumAttributeGenerics<\n T extends string = string,\n Options extends EnumAttributeOptions<T> = EnumAttributeOptions<T>\n> extends AttributeGenerics {\n Value: CombinedEnumExpression<T> | null;\n NormalizedValue: T;\n Options: Options;\n}\n\nexport class EnumAttribute<\n T extends string = string,\n const Options extends EnumAttributeOptions<T> = EnumAttributeOptions<T>\n> extends Attribute<EnumAttributeGenerics<Options['options'][number], Options>> {\n static TYPE = 'set-attribute';\n\n static isInstanceOf(attr: Attribute): attr is EnumAttribute {\n return attr.type === EnumAttribute.TYPE;\n }\n\n constructor(options: Options) {\n super(EnumAttribute.TYPE, {\n ...options,\n valueType: options.valueType ?? new EnumValueType(options.options),\n configurable: options.configurable ?? true\n });\n }\n\n serialize(): any {\n return {\n ...super.serialize(),\n type: 'set',\n options: this.options.options\n };\n }\n}\n"]}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EnumValueType = void 0;
4
+ const parser_type_system_1 = require("@ja-platform/parser-type-system");
5
+ class EnumValueType extends parser_type_system_1.Type {
6
+ constructor(options) {
7
+ super('enum');
8
+ this.options = options;
9
+ }
10
+ is(value) {
11
+ return this.options.some((option) => option === value);
12
+ }
13
+ parse(value) {
14
+ if (this.is(value)) {
15
+ return value;
16
+ }
17
+ throw new SyntaxError(`Expected one of ${this.options.join(', ')}`);
18
+ }
19
+ }
20
+ exports.EnumValueType = EnumValueType;
21
+ //# sourceMappingURL=EnumValueType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnumValueType.js","sourceRoot":"","sources":["../../src/attributes/EnumValueType.ts"],"names":[],"mappings":";;;AAAA,wEAAuD;AAEvD,mBAA6C,SAAQ,yBAAO;IAC1D,YAAqB,OAAqB;QACxC,KAAK,CAAC,MAAM,CAAC,CAAC;uBADK,OAAO;IAE5B,CAAC;IAED,EAAE,CAAC,KAAc;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,KAAK,KAAK,CAAC,CAAC;IACzD,CAAC;IAED,KAAK,CAAC,KAAc;QAClB,IAAI,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;YACnB,OAAO,KAAK,CAAC;QACf,CAAC;QACD,MAAM,IAAI,WAAW,CAAC,mBAAmB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACtE,CAAC;CACF","sourcesContent":["import { Type } from '@ja-platform/parser-type-system';\n\nexport class EnumValueType<T extends string> extends Type<T> {\n constructor(readonly options: readonly T[]) {\n super('enum');\n }\n\n is(value: unknown): value is T {\n return this.options.some((option) => option === value);\n }\n\n parse(value: unknown): T {\n if (this.is(value)) {\n return value;\n }\n throw new SyntaxError(`Expected one of ${this.options.join(', ')}`);\n }\n}\n"]}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MultiEnumAttribute = void 0;
4
+ const parser_type_system_1 = require("@ja-platform/parser-type-system");
5
+ const EnumValueType_1 = require("./EnumValueType");
6
+ const parser_expressions_1 = require("@ja-platform/parser-expressions");
7
+ const Attribute_1 = require("./Attribute");
8
+ class MultiEnumAttribute extends Attribute_1.Attribute {
9
+ static isInstanceOf(attr) {
10
+ return attr.type === MultiEnumAttribute.TYPE;
11
+ }
12
+ constructor(options) {
13
+ var _a, _b;
14
+ const itemType = new EnumValueType_1.EnumValueType(options.options);
15
+ const valueType = (_a = options.valueType) !== null && _a !== void 0 ? _a : new parser_type_system_1.ArrayType(itemType);
16
+ super(MultiEnumAttribute.TYPE, Object.assign(Object.assign({}, options), { valueType, configurable: (_b = options.configurable) !== null && _b !== void 0 ? _b : true }), parser_expressions_1.ListExpressionParser.enumConstants(itemType, valueType));
17
+ }
18
+ normalizeValue(value) {
19
+ if (typeof value === 'string') {
20
+ return super.normalizeValue([value]);
21
+ }
22
+ return super.normalizeValue(value);
23
+ }
24
+ serialize() {
25
+ return Object.assign(Object.assign({}, super.serialize()), { type: 'list', options: this.options.options });
26
+ }
27
+ }
28
+ exports.MultiEnumAttribute = MultiEnumAttribute;
29
+ MultiEnumAttribute.TYPE = 'list-attribute';
30
+ //# sourceMappingURL=MultiEnumAttribute.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiEnumAttribute.js","sourceRoot":"","sources":["../../src/attributes/MultiEnumAttribute.ts"],"names":[],"mappings":";;;AAAA,wEAA4D;AAC5D,mDAAgD;AAChD,wEAAgH;AAChH,2CAA6E;AAiB7E,wBAGE,SAAQ,qBAA0E;IAGlF,MAAM,CAAC,YAAY,CAAC,IAAe;QACjC,OAAO,IAAI,CAAC,IAAI,KAAK,kBAAkB,CAAC,IAAI,CAAC;IAC/C,CAAC;IAED,YAAY,OAAgB;;QAC1B,MAAM,QAAQ,GAAG,IAAI,6BAAa,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACpD,MAAM,SAAS,SAAG,OAAO,CAAC,SAAS,mCAAI,IAAI,8BAAS,CAAC,QAAQ,CAAC,CAAC;QAC/D,KAAK,CACH,kBAAkB,CAAC,IAAI,kCAClB,OAAO,KAAE,SAAS,EAAE,YAAY,QAAE,OAAO,CAAC,YAAY,mCAAI,IAAI,KACnE,yCAAoB,CAAC,aAAa,CAAC,QAAQ,EAAE,SAAS,CAAC,CACxD,CAAC;IACJ,CAAC;IAED,cAAc,CAAC,KAAc;QAC3B,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,OAAO,KAAK,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QACvC,CAAC;QACD,OAAO,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC;IAED,SAAS;QACP,uCACK,KAAK,CAAC,SAAS,EAAE,KACpB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,IAC7B;IACJ,CAAC;CACF;;AA9BQ,uBAAI,GAAG,gBAAgB,CAAC","sourcesContent":["import { ArrayType } from '@ja-platform/parser-type-system';\nimport { EnumValueType } from './EnumValueType';\nimport { ConstantExpression, EvaluatedExpression, ListExpressionParser } from '@ja-platform/parser-expressions';\nimport { Attribute, AttributeGenerics, AttributeOptions } from './Attribute';\n\nexport type CombinedMultiEnumExpression<T extends string = string> = EvaluatedExpression | ConstantExpression<T[]>;\n\nexport interface MultiEnumAttributeOptions<T extends string = string> extends AttributeOptions<T[], T[]> {\n options: readonly T[];\n}\n\nexport interface MultiEnumAttributeGenerics<\n T extends string = string,\n Options extends MultiEnumAttributeOptions<T> = MultiEnumAttributeOptions<T>\n> extends AttributeGenerics {\n Value: CombinedMultiEnumExpression<T> | null;\n NormalizedValue: T[];\n Options: Options;\n}\n\nexport class MultiEnumAttribute<\n T extends string = string,\n const Options extends MultiEnumAttributeOptions<T> = MultiEnumAttributeOptions<T>\n> extends Attribute<MultiEnumAttributeGenerics<Options['options'][number], Options>> {\n static TYPE = 'list-attribute';\n\n static isInstanceOf(attr: Attribute): attr is MultiEnumAttribute {\n return attr.type === MultiEnumAttribute.TYPE;\n }\n\n constructor(options: Options) {\n const itemType = new EnumValueType(options.options);\n const valueType = options.valueType ?? new ArrayType(itemType);\n super(\n MultiEnumAttribute.TYPE,\n { ...options, valueType, configurable: options.configurable ?? true },\n ListExpressionParser.enumConstants(itemType, valueType)\n );\n }\n\n normalizeValue(value: unknown) {\n if (typeof value === 'string') {\n return super.normalizeValue([value]);\n }\n return super.normalizeValue(value);\n }\n\n serialize(): any {\n return {\n ...super.serialize(),\n type: 'list',\n options: this.options.options\n };\n }\n}\n"]}
@@ -2,30 +2,22 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TextArrayAttribute = void 0;
4
4
  const parser_type_system_1 = require("@ja-platform/parser-type-system");
5
- const ListAttribute_1 = require("./ListAttribute");
6
5
  const TextAttribute_1 = require("./TextAttribute");
7
- class TextArrayType extends parser_type_system_1.Type {
8
- constructor(delimiter) {
9
- super('text-array');
10
- this.delimiter = delimiter;
11
- }
12
- is(value) {
13
- return Array.isArray(value) && value.every(parser_type_system_1.textType.is);
14
- }
15
- parse(value) {
16
- return ListAttribute_1.ListAttribute.toList(value, this.delimiter);
17
- }
18
- }
6
+ const textArrayType = new parser_type_system_1.ArrayType(parser_type_system_1.textType);
19
7
  class TextArrayAttribute extends TextAttribute_1.TextAttribute {
20
8
  static isInstanceOf(attr) {
21
9
  return attr.type === TextArrayAttribute.TYPE;
22
10
  }
23
11
  constructor(options) {
24
- var _a, _b, _c;
25
- const delimiter = (_a = options.delimiter) !== null && _a !== void 0 ? _a : ',';
26
- super(Object.assign(Object.assign({}, options), { valueType: (_b = options.valueType) !== null && _b !== void 0 ? _b : new TextArrayType(delimiter), configurable: (_c = options.configurable) !== null && _c !== void 0 ? _c : true, advanced: true }));
12
+ var _a, _b;
13
+ super(Object.assign(Object.assign({}, options), { valueType: (_a = options.valueType) !== null && _a !== void 0 ? _a : textArrayType, configurable: (_b = options.configurable) !== null && _b !== void 0 ? _b : true, advanced: true }));
27
14
  this.type = TextArrayAttribute.TYPE;
28
- this.delimiter = delimiter;
15
+ }
16
+ normalizeValue(value) {
17
+ if (typeof value === 'string') {
18
+ return super.normalizeValue([value]);
19
+ }
20
+ return super.normalizeValue(value);
29
21
  }
30
22
  serialize() {
31
23
  return Object.assign(Object.assign({}, super.serialize()), { type: 'array' });
@@ -1 +1 @@
1
- {"version":3,"file":"TextArrayAttribute.js","sourceRoot":"","sources":["../../src/attributes/TextArrayAttribute.ts"],"names":[],"mappings":";;;AAAA,wEAAiE;AAEjE,mDAAgD;AAChD,mDAA6F;AAU7F,MAAM,aAAc,SAAQ,yBAAc;IACxC,YAA6B,SAAiB;QAC5C,KAAK,CAAC,YAAY,CAAC,CAAC;yBADO,SAAS;IAEtC,CAAC;IAED,EAAE,CAAC,KAAc;QACf,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,6BAAQ,CAAC,EAAE,CAAC,CAAC;IAC1D,CAAC;IAED,KAAK,CAAC,KAAc;QAClB,OAAO,6BAAa,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;IACrD,CAAC;CACF;AAED,wBAAgC,SAAQ,6BAAyC;IAI/E,MAAM,CAAC,YAAY,CAAC,IAAe;QACjC,OAAO,IAAI,CAAC,IAAI,KAAK,kBAAkB,CAAC,IAAI,CAAC;IAC/C,CAAC;IAED,YAAY,OAA8C;;QACxD,MAAM,SAAS,SAAG,OAAO,CAAC,SAAS,mCAAI,GAAG,CAAC;QAC3C,KAAK,iCACA,OAAO,KACV,SAAS,QAAE,OAAO,CAAC,SAAS,mCAAI,IAAI,aAAa,CAAC,SAAS,CAAC,EAC5D,YAAY,QAAE,OAAO,CAAC,YAAY,mCAAI,IAAI,EAC1C,QAAQ,EAAE,IAAI,IACd,CAAC;QACH,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC,IAAI,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IACD,SAAS;QACP,uCACK,KAAK,CAAC,SAAS,EAAE,KACpB,IAAI,EAAE,OAAO,IACb;IACJ,CAAC;CACF;;AAxBQ,uBAAI,GAAG,YAAY,CAAC","sourcesContent":["import { Type, textType } from '@ja-platform/parser-type-system';\nimport { Attribute } from './Attribute';\nimport { ListAttribute } from './ListAttribute';\nimport { TextAttribute, TextAttributeGenerics, TextAttributeOptions } from './TextAttribute';\n\nexport interface TextArrayAttributeOptions extends TextAttributeOptions<string[]> {\n delimiter?: string;\n}\n\nexport interface TextArrayAttributeGenerics extends TextAttributeGenerics<string[]> {\n Options: TextArrayAttributeOptions;\n}\n\nclass TextArrayType extends Type<string[]> {\n constructor(private readonly delimiter: string) {\n super('text-array');\n }\n\n is(value: unknown): value is string[] {\n return Array.isArray(value) && value.every(textType.is);\n }\n\n parse(value: unknown): string[] {\n return ListAttribute.toList(value, this.delimiter);\n }\n}\n\nexport class TextArrayAttribute extends TextAttribute<TextArrayAttributeGenerics> {\n static TYPE = 'text-array';\n delimiter: string;\n\n static isInstanceOf(attr: Attribute): attr is TextArrayAttribute {\n return attr.type === TextArrayAttribute.TYPE;\n }\n\n constructor(options: TextArrayAttributeGenerics['Options']) {\n const delimiter = options.delimiter ?? ',';\n super({\n ...options,\n valueType: options.valueType ?? new TextArrayType(delimiter),\n configurable: options.configurable ?? true,\n advanced: true\n });\n this.type = TextArrayAttribute.TYPE;\n this.delimiter = delimiter;\n }\n serialize(): any {\n return {\n ...super.serialize(),\n type: 'array'\n };\n }\n}\n"]}
1
+ {"version":3,"file":"TextArrayAttribute.js","sourceRoot":"","sources":["../../src/attributes/TextArrayAttribute.ts"],"names":[],"mappings":";;;AAAA,wEAAsE;AAEtE,mDAA6F;AAQ7F,MAAM,aAAa,GAAG,IAAI,8BAAS,CAAC,6BAAQ,CAAC,CAAC;AAE9C,wBAAgC,SAAQ,6BAAyC;IAG/E,MAAM,CAAC,YAAY,CAAC,IAAe;QACjC,OAAO,IAAI,CAAC,IAAI,KAAK,kBAAkB,CAAC,IAAI,CAAC;IAC/C,CAAC;IAED,YAAY,OAA8C;;QACxD,KAAK,iCACA,OAAO,KACV,SAAS,QAAE,OAAO,CAAC,SAAS,mCAAI,aAAa,EAC7C,YAAY,QAAE,OAAO,CAAC,YAAY,mCAAI,IAAI,EAC1C,QAAQ,EAAE,IAAI,IACd,CAAC;QACH,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC,IAAI,CAAC;IACtC,CAAC;IAED,cAAc,CAAC,KAAc;QAC3B,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,OAAO,KAAK,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QACvC,CAAC;QACD,OAAO,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC;IAED,SAAS;QACP,uCACK,KAAK,CAAC,SAAS,EAAE,KACpB,IAAI,EAAE,OAAO,IACb;IACJ,CAAC;CACF;;AA7BQ,uBAAI,GAAG,YAAY,CAAC","sourcesContent":["import { ArrayType, textType } from '@ja-platform/parser-type-system';\nimport { Attribute } from './Attribute';\nimport { TextAttribute, TextAttributeGenerics, TextAttributeOptions } from './TextAttribute';\n\nexport type TextArrayAttributeOptions = TextAttributeOptions<string[]>;\n\nexport interface TextArrayAttributeGenerics extends TextAttributeGenerics<string[]> {\n Options: TextArrayAttributeOptions;\n}\n\nconst textArrayType = new ArrayType(textType);\n\nexport class TextArrayAttribute extends TextAttribute<TextArrayAttributeGenerics> {\n static TYPE = 'text-array';\n\n static isInstanceOf(attr: Attribute): attr is TextArrayAttribute {\n return attr.type === TextArrayAttribute.TYPE;\n }\n\n constructor(options: TextArrayAttributeGenerics['Options']) {\n super({\n ...options,\n valueType: options.valueType ?? textArrayType,\n configurable: options.configurable ?? true,\n advanced: true\n });\n this.type = TextArrayAttribute.TYPE;\n }\n\n normalizeValue(value: unknown): string[] {\n if (typeof value === 'string') {\n return super.normalizeValue([value]);\n }\n return super.normalizeValue(value);\n }\n\n serialize(): any {\n return {\n ...super.serialize(),\n type: 'array'\n };\n }\n}\n"]}
@@ -6,6 +6,9 @@ const Attribute_1 = require("./Attribute");
6
6
  const parser_expressions_1 = require("@ja-platform/parser-expressions");
7
7
  const parser_type_system_1 = require("@ja-platform/parser-type-system");
8
8
  class TextAttribute extends Attribute_1.Attribute {
9
+ static isInstanceOf(attr) {
10
+ return attr.type === TextAttribute.TYPE;
11
+ }
9
12
  constructor(options) {
10
13
  var _a, _b, _c;
11
14
  super(TextAttribute.TYPE, Object.assign(Object.assign({}, options), { valueType: (_a = options.valueType) !== null && _a !== void 0 ? _a : parser_type_system_1.textType, syntax: (_b = options.syntax) !== null && _b !== void 0 ? _b : new parser_expressions_1.CombinedParser([
@@ -14,9 +17,6 @@ class TextAttribute extends Attribute_1.Attribute {
14
17
  new parser_expressions_1.FormatStringExpressionParser()
15
18
  ]), configurable: (_c = options.configurable) !== null && _c !== void 0 ? _c : true }));
16
19
  }
17
- static isInstanceOf(attr) {
18
- return attr.type === TextAttribute.TYPE;
19
- }
20
20
  getInput(node) {
21
21
  const attribute = super.getInput(node);
22
22
  if (attribute || !this.options.allowContentFromNode)
@@ -1 +1 @@
1
- {"version":3,"file":"TextAttribute.js","sourceRoot":"","sources":["../../src/attributes/TextAttribute.ts"],"names":[],"mappings":";;;AAAA,4DAAiE;AAEjE,2CAAiG;AAIjG,wEAQyC;AACzC,wEAA2D;AAc3D,mBAGE,SAAQ,qBAAmC;IAG3C,YAAY,OAAgB;;QAC1B,KAAK,CAAC,aAAa,CAAC,IAAI,kCACnB,OAAO,KACV,SAAS,QAAE,OAAO,CAAC,SAAS,mCAAI,6BAAQ,EACxC,MAAM,QACJ,OAAO,CAAC,MAAM,mCACd,IAAI,mCAAc,CAAyB;gBACzC,IAAI,6CA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;gBACnB,MAAM,EAAE,UAAU,CAAC,MAAM;gBACzB,KAAK,EAAE,UAAU,CAAC,KAAK;aACxB,CAAC,CAAC;QACL,CAAC;QACD,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;QACtC,OAAO,UAAU,CAAC;IACpB,CAAC;IAES,aAAa,CAAC,KAA0B,EAAE,UAAkC;;;QACpF,MAAA,MAAA,KAAK,CAAC,OAAO,0CAAE,kBAAkB,mDAAG;YAClC,SAAS,EAAE,IAAI;YACf,UAAU;YACV,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM;YAC1B,QAAQ,QAAE,KAAK,CAAC,KAAK,CAAC,QAAQ,mCAAI,uCAAsB,CAAC,SAAS;SACnE,CAAC,CAAC;IACL,CAAC;IAED,SAAS;QACP,IAAI,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;YACtC,uCAAY,KAAK,CAAC,SAAS,EAAE,KAAE,IAAI,EAAE,cAAc,IAAG;QACxD,CAAC;QACD,uCACK,KAAK,CAAC,SAAS,EAAE,KACpB,IAAI,EAAE,MAAM,IACZ;IACJ,CAAC;CACF;;AAnEQ,kBAAI,GAAG,gBAAgB,CAAC","sourcesContent":["import { AttributeInputLocation } from '../input/AttributeInput';\nimport { AttributeParseEvent } from '../AttributeParseEvent';\nimport { Attribute, AttributeGenerics, AttributeOptions, StringifyDirective } from './Attribute';\nimport type { AttributeInput } from '../input/AttributeInput';\nimport type { NodeInput } from '../input/NodeInput';\nimport type { ParsedNode } from '../parsed/ParsedNode';\nimport {\n FormatStringExpression,\n ConstantExpression,\n CombinedParser,\n FunctionExpressionParser,\n EvaluatedExpressionParser,\n FormatStringExpressionParser,\n EvaluatedExpression\n} from '@ja-platform/parser-expressions';\nimport { textType } from '@ja-platform/parser-type-system';\n\nexport type CombinedTextExpression = ConstantExpression<string> | FormatStringExpression | EvaluatedExpression;\n\nexport type TextAttributeOptions<Value = string> = AttributeOptions<Value, Value> & {\n allowContentFromNode?: boolean;\n};\n\nexport interface TextAttributeGenerics<Value = string> extends AttributeGenerics {\n Value: CombinedTextExpression | null;\n Options: TextAttributeOptions<Value>;\n NormalizedValue: Value;\n}\n\nexport class TextAttribute<\n T extends TextAttributeGenerics<unknown> = TextAttributeGenerics,\n Options extends T['Options'] = T['Options']\n> extends Attribute<T & { Options: Options }> {\n static TYPE = 'text-attribute';\n\n constructor(options: Options) {\n super(TextAttribute.TYPE, {\n ...options,\n valueType: options.valueType ?? textType,\n syntax:\n options.syntax ??\n new CombinedParser<CombinedTextExpression>([\n new FunctionExpressionParser(),\n new EvaluatedExpressionParser(),\n new FormatStringExpressionParser()\n ]),\n configurable: options.configurable ?? true\n });\n }\n\n static isInstanceOf(attr: Attribute): attr is TextAttribute<TextAttributeGenerics<unknown>> {\n return attr.type === TextAttribute.TYPE;\n }\n\n protected getInput(node?: NodeInput): AttributeInput | undefined {\n const attribute = super.getInput(node);\n if (attribute || !this.options.allowContentFromNode) return attribute;\n const content = node?.content();\n if (!content) return undefined;\n return { ...content, location: AttributeInputLocation.CONTENT };\n }\n\n stringify(value: T['Value'], parent: ParsedNode): StringifyDirective {\n const directive = super.stringify(value, parent);\n if (!this.options.allowContentFromNode) return directive;\n return { ...directive, isAttribute: !parent.content() };\n }\n\n protected getParsedValue(event: AttributeParseEvent): CombinedTextExpression | null {\n let expression = super.getParsedValue(event);\n if (expression instanceof FormatStringExpression && expression.parameters.length === 0) {\n expression = new ConstantExpression({\n value: expression.render([]),\n valueType: textType,\n tokens: expression.tokens,\n start: expression.start\n });\n }\n this.validateInput(event, expression);\n return expression;\n }\n\n protected validateInput(event: AttributeParseEvent, expression: CombinedTextExpression): void {\n event.context?.validateExpression?.({\n attribute: this,\n expression,\n source: event.input.source,\n location: event.input.location ?? AttributeInputLocation.ATTRIBUTE\n });\n }\n\n serialize(): any {\n if (this.options.allowContentFromNode) {\n return { ...super.serialize(), type: 'content-text' };\n }\n return {\n ...super.serialize(),\n type: 'text'\n };\n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,uCAAY,SAAS,KAAE,WAAW,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,IAAG;IAC1D,CAAC;IAES,cAAc,CAAC,KAA0B;QACjD,IAAI,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QAC7C,IAAI,UAAU,YAAY,2CAAsB,IAAI,UAAU,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACvF,UAAU,GAAG,IAAI,uCAAkB,CAAC;gBAClC,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC5B,SAAS,EAAE,6BAAQ;gBACnB,MAAM,EAAE,UAAU,CAAC,MAAM;gBACzB,KAAK,EAAE,UAAU,CAAC,KAAK;aACxB,CAAC,CAAC;QACL,CAAC;QACD,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;QACtC,OAAO,UAAU,CAAC;IACpB,CAAC;IAES,aAAa,CAAC,KAA0B,EAAE,UAAkC;;;QACpF,MAAA,MAAA,KAAK,CAAC,OAAO,0CAAE,kBAAkB,mDAAG;YAClC,SAAS,EAAE,IAAI;YACf,UAAU;YACV,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM;YAC1B,QAAQ,QAAE,KAAK,CAAC,KAAK,CAAC,QAAQ,mCAAI,uCAAsB,CAAC,SAAS;SACnE,CAAC,CAAC;IACL,CAAC;IAED,SAAS;QACP,IAAI,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,CAAC;YACtC,uCAAY,KAAK,CAAC,SAAS,EAAE,KAAE,IAAI,EAAE,cAAc,IAAG;QACxD,CAAC;QACD,uCACK,KAAK,CAAC,SAAS,EAAE,KACpB,IAAI,EAAE,MAAM,IACZ;IACJ,CAAC;CACF;;AAnEQ,kBAAI,GAAG,gBAAgB,CAAC","sourcesContent":["import { AttributeInputLocation } from '../input/AttributeInput';\nimport { AttributeParseEvent } from '../AttributeParseEvent';\nimport { Attribute, AttributeGenerics, AttributeOptions, StringifyDirective } from './Attribute';\nimport type { AttributeInput } from '../input/AttributeInput';\nimport type { NodeInput } from '../input/NodeInput';\nimport type { ParsedNode } from '../parsed/ParsedNode';\nimport {\n FormatStringExpression,\n ConstantExpression,\n CombinedParser,\n FunctionExpressionParser,\n EvaluatedExpressionParser,\n FormatStringExpressionParser,\n EvaluatedExpression\n} from '@ja-platform/parser-expressions';\nimport { textType } from '@ja-platform/parser-type-system';\n\nexport type CombinedTextExpression = ConstantExpression<string> | FormatStringExpression | EvaluatedExpression;\n\nexport type TextAttributeOptions<Value = string> = AttributeOptions<Value, Value> & {\n allowContentFromNode?: boolean;\n};\n\nexport interface TextAttributeGenerics<Value = string> extends AttributeGenerics {\n Value: CombinedTextExpression | null;\n Options: TextAttributeOptions<Value>;\n NormalizedValue: Value;\n}\n\nexport class TextAttribute<\n T extends TextAttributeGenerics<unknown> = TextAttributeGenerics,\n Options extends T['Options'] = T['Options']\n> extends Attribute<T & { Options: Options }> {\n static TYPE = 'text-attribute';\n\n static isInstanceOf(attr: Attribute): attr is TextAttribute<TextAttributeGenerics<unknown>> {\n return attr.type === TextAttribute.TYPE;\n }\n\n constructor(options: Options) {\n super(TextAttribute.TYPE, {\n ...options,\n valueType: options.valueType ?? textType,\n syntax:\n options.syntax ??\n new CombinedParser<CombinedTextExpression>([\n new FunctionExpressionParser(),\n new EvaluatedExpressionParser(),\n new FormatStringExpressionParser()\n ]),\n configurable: options.configurable ?? true\n });\n }\n\n protected getInput(node?: NodeInput): AttributeInput | undefined {\n const attribute = super.getInput(node);\n if (attribute || !this.options.allowContentFromNode) return attribute;\n const content = node?.content();\n if (!content) return undefined;\n return { ...content, location: AttributeInputLocation.CONTENT };\n }\n\n stringify(value: T['Value'], parent: ParsedNode): StringifyDirective {\n const directive = super.stringify(value, parent);\n if (!this.options.allowContentFromNode) return directive;\n return { ...directive, isAttribute: !parent.content() };\n }\n\n protected getParsedValue(event: AttributeParseEvent): CombinedTextExpression | null {\n let expression = super.getParsedValue(event);\n if (expression instanceof FormatStringExpression && expression.parameters.length === 0) {\n expression = new ConstantExpression({\n value: expression.render([]),\n valueType: textType,\n tokens: expression.tokens,\n start: expression.start\n });\n }\n this.validateInput(event, expression);\n return expression;\n }\n\n protected validateInput(event: AttributeParseEvent, expression: CombinedTextExpression): void {\n event.context?.validateExpression?.({\n attribute: this,\n expression,\n source: event.input.source,\n location: event.input.location ?? AttributeInputLocation.ATTRIBUTE\n });\n }\n\n serialize(): any {\n if (this.options.allowContentFromNode) {\n return { ...super.serialize(), type: 'content-text' };\n }\n return {\n ...super.serialize(),\n type: 'text'\n };\n }\n}\n"]}
package/dist/index.js CHANGED
@@ -23,10 +23,10 @@ __exportStar(require("./attributes/ConstantBooleanAttribute"), exports);
23
23
  __exportStar(require("./attributes/ConstantTextAttribute"), exports);
24
24
  __exportStar(require("./attributes/ExpressionAttribute"), exports);
25
25
  __exportStar(require("./attributes/FunctionAttribute"), exports);
26
- __exportStar(require("./attributes/ListAttribute"), exports);
26
+ __exportStar(require("./attributes/MultiEnumAttribute"), exports);
27
27
  __exportStar(require("./attributes/NumberAttribute"), exports);
28
28
  __exportStar(require("./attributes/PathAttribute"), exports);
29
- __exportStar(require("./attributes/SetAttribute"), exports);
29
+ __exportStar(require("./attributes/EnumAttribute"), exports);
30
30
  __exportStar(require("./attributes/TextArrayAttribute"), exports);
31
31
  __exportStar(require("./attributes/TextAttribute"), exports);
32
32
  __exportStar(require("./entities/AbstractEntity"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,+CAA6B;AAC7B,6DAA2C;AAC3C,yDAAuC;AACvC,gEAA8C;AAC9C,wEAAsD;AACtD,qEAAmD;AACnD,mEAAiD;AACjD,iEAA+C;AAC/C,6DAA2C;AAC3C,+DAA6C;AAC7C,6DAA2C;AAC3C,4DAA0C;AAC1C,kEAAgD;AAChD,6DAA2C;AAC3C,4DAA0C;AAC1C,0DAAwC;AACxC,+CAA6B;AAC7B,sDAAoC;AACpC,2DAAyC;AACzC,qDAAmC;AACnC,qDAAmC;AACnC,4DAA0C;AAC1C,4DAA0C;AAC1C,2DAAyC;AACzC,2DAAyC;AACzC,6DAA2C;AAC3C,4DAA0C;AAC1C,sDAAoC;AACpC,2DAAyC;AACzC,iEAA+C;AAC/C,2EAAyD;AACzD,sEAAoD;AACpD,4DAA0C;AAC1C,+DAA6C;AAC7C,qEAAmD;AACnD,uDAAqC;AACrC,wDAAsC;AAEtC,2DAAyC;AACzC,yDAAuC;AACvC,oDAAkC;AAClC,gEAA8C;AAE9C,gEAA8C","sourcesContent":["export * from './AttributeParseEvent';\nexport * from './ParseEvent';\nexport * from './attributes/ConditionType';\nexport * from './attributes/Attribute';\nexport * from './attributes/BooleanAttribute';\nexport * from './attributes/ConstantBooleanAttribute';\nexport * from './attributes/ConstantTextAttribute';\nexport * from './attributes/ExpressionAttribute';\nexport * from './attributes/FunctionAttribute';\nexport * from './attributes/ListAttribute';\nexport * from './attributes/NumberAttribute';\nexport * from './attributes/PathAttribute';\nexport * from './attributes/SetAttribute';\nexport * from './attributes/TextArrayAttribute';\nexport * from './attributes/TextAttribute';\nexport * from './entities/AbstractEntity';\nexport * from './entities/CommonEntity';\nexport * from './nodes/Node';\nexport * from './nodes/ContentNode';\nexport * from './nodes/NodeAlternatives';\nexport * from './nodes/RecordNode';\nexport * from './nodes/EitherNode';\nexport * from './parsed/ParsedEitherNode';\nexport * from './parsed/ParsedRecordNode';\nexport * from './parsed/ParsedArrayNode';\nexport * from './parsed/ParsedAttribute';\nexport * from './parsed/ParsedContentNode';\nexport * from './parsed/ParsedDiagnostic';\nexport * from './parsed/ParsedNode';\nexport * from './parsed/ParsedNodeTypes';\nexport * from './values/AbstractValueProvider';\nexport * from './values/ConstantExpressionValueProvider';\nexport * from './values/ParserDefaultValueProvider';\nexport * from './values/ParsedNodeValues';\nexport * from './values/ParsedProviderValue';\nexport * from './values/MappedParsedProviderValue';\nexport * from './values/ParsedValue';\nexport * from './utils/types/valueOf';\n\nexport * from './source/SourceReference';\nexport * from './input/AttributeInput';\nexport * from './input/NodeInput';\nexport * from './input/AttributeParseContext';\n\nexport * from './values/ValueProviderContext';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,+CAA6B;AAC7B,6DAA2C;AAC3C,yDAAuC;AACvC,gEAA8C;AAC9C,wEAAsD;AACtD,qEAAmD;AACnD,mEAAiD;AACjD,iEAA+C;AAC/C,kEAAgD;AAChD,+DAA6C;AAC7C,6DAA2C;AAC3C,6DAA2C;AAC3C,kEAAgD;AAChD,6DAA2C;AAC3C,4DAA0C;AAC1C,0DAAwC;AACxC,+CAA6B;AAC7B,sDAAoC;AACpC,2DAAyC;AACzC,qDAAmC;AACnC,qDAAmC;AACnC,4DAA0C;AAC1C,4DAA0C;AAC1C,2DAAyC;AACzC,2DAAyC;AACzC,6DAA2C;AAC3C,4DAA0C;AAC1C,sDAAoC;AACpC,2DAAyC;AACzC,iEAA+C;AAC/C,2EAAyD;AACzD,sEAAoD;AACpD,4DAA0C;AAC1C,+DAA6C;AAC7C,qEAAmD;AACnD,uDAAqC;AACrC,wDAAsC;AAEtC,2DAAyC;AACzC,yDAAuC;AACvC,oDAAkC;AAClC,gEAA8C;AAE9C,gEAA8C","sourcesContent":["export * from './AttributeParseEvent';\nexport * from './ParseEvent';\nexport * from './attributes/ConditionType';\nexport * from './attributes/Attribute';\nexport * from './attributes/BooleanAttribute';\nexport * from './attributes/ConstantBooleanAttribute';\nexport * from './attributes/ConstantTextAttribute';\nexport * from './attributes/ExpressionAttribute';\nexport * from './attributes/FunctionAttribute';\nexport * from './attributes/MultiEnumAttribute';\nexport * from './attributes/NumberAttribute';\nexport * from './attributes/PathAttribute';\nexport * from './attributes/EnumAttribute';\nexport * from './attributes/TextArrayAttribute';\nexport * from './attributes/TextAttribute';\nexport * from './entities/AbstractEntity';\nexport * from './entities/CommonEntity';\nexport * from './nodes/Node';\nexport * from './nodes/ContentNode';\nexport * from './nodes/NodeAlternatives';\nexport * from './nodes/RecordNode';\nexport * from './nodes/EitherNode';\nexport * from './parsed/ParsedEitherNode';\nexport * from './parsed/ParsedRecordNode';\nexport * from './parsed/ParsedArrayNode';\nexport * from './parsed/ParsedAttribute';\nexport * from './parsed/ParsedContentNode';\nexport * from './parsed/ParsedDiagnostic';\nexport * from './parsed/ParsedNode';\nexport * from './parsed/ParsedNodeTypes';\nexport * from './values/AbstractValueProvider';\nexport * from './values/ConstantExpressionValueProvider';\nexport * from './values/ParserDefaultValueProvider';\nexport * from './values/ParsedNodeValues';\nexport * from './values/ParsedProviderValue';\nexport * from './values/MappedParsedProviderValue';\nexport * from './values/ParsedValue';\nexport * from './utils/types/valueOf';\n\nexport * from './source/SourceReference';\nexport * from './input/AttributeInput';\nexport * from './input/NodeInput';\nexport * from './input/AttributeParseContext';\n\nexport * from './values/ValueProviderContext';\n"]}
@@ -135,6 +135,7 @@ class Node extends CommonEntity_1.CommonEntity {
135
135
  }
136
136
  addAttributes(attrs) {
137
137
  attrs.forEach((a) => this.addAttribute(a));
138
+ return this;
138
139
  }
139
140
  addAttribute(attribute) {
140
141
  if (this.attributes.find((x) => x.name === attribute.name)) {
@@ -149,7 +150,7 @@ class Node extends CommonEntity_1.CommonEntity {
149
150
  replaceAttribute(attribute) {
150
151
  const index = this.attributes.findIndex((attr) => attr.name === attribute.name);
151
152
  if (index === -1) {
152
- return;
153
+ return this;
153
154
  }
154
155
  this.attributes[index] = attribute;
155
156
  attribute.setParent(this);
@@ -1 +1 @@
1
- {"version":3,"file":"Node.js","sourceRoot":"","sources":["../../src/nodes/Node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,4DAAiE;AAEjE,MAAY,CAAC,mCAAe;AAE5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MJ;QACC,OAAO,IAAI,CAAC,KAAK,iCACZ,OAAO,KACV,KAAK,EACL,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,OAAO,EACpB,GAAG,IACH,CAAC;IACL,CAAC;IAES,kBAAkB,CAAC,EAC3B,OAAO,EACP,UAAU,EACV,cAAc,EAKf;QACC,IAAI,UAAU,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;YAClC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAClE,OAAO,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,gCAAgC,UAAU,CAAC,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;YACjH,CAAC;YAED,IAAI,UAAU,CAAC,OAAO,CAAC,UAAU,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACjE,OAAO,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,iCAAiC,UAAU,CAAC,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;YAClH,CAAC;QACH,CAAC;aAAM,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACvE,OAAO,CAAC,MAAM,CAAC;gBACb,OAAO,EAAE,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,oCAAoC,UAAU,CAAC,OAAO,CAAC,IAAI,KAAK;aAC/F,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF","sourcesContent":["import { ParseEvent } from '../ParseEvent';\nimport { AttributeInputLocation } from '../input/AttributeInput';\nimport type { NodeInput, NodeInputSelector, NodeInputSelection } from '../input/NodeInput';\nimport * as _ from 'lodash';\nimport { Attribute } from '../attributes/Attribute';\nimport { TextAttribute, TextAttributeGenerics } from '../attributes/TextAttribute';\nimport { CommonEntity, CommonEntityGenerics, CommonEntityOptions } from '../entities/CommonEntity';\nimport { ParsedArrayNode } from '../parsed/ParsedArrayNode';\nimport { ParsedNode } from '../parsed/ParsedNode';\nimport { ParsedNodeShape } from '../parsed/ParsedNodeTypes';\nimport type { NodeValidationContext } from '../parsed/ParsedNode';\n\nexport interface NodeListener<Shape extends ParsedNodeShape = ParsedNodeShape> {\n /**\n * before the node is parsed\n */\n preParse?({ event, parentEvent }: { event: ParseEvent; parentEvent: ParseEvent }): any;\n\n /**\n * Before child inputs are parsed.\n */\n preChildrenParse?(event: ParseEvent): void;\n\n /**\n * Once this node has been parsed\n */\n postParse?({ parsed, parentEvent }: { parsed: ParsedNode<Shape>; parentEvent: ParseEvent }): any;\n}\n\n/**\n * Represents a template for a node\n */\nexport interface NodeTemplate {\n /**\n * Name of the node\n */\n name: string;\n /**\n * The string version of the template\n * @example <table attr1=\"${cursor}\" />\n */\n template?: string;\n /**\n * if `template` is not defined, the attributes to make up the template:\n * @example ['attr1']\n */\n attrs?: string[];\n}\n\nexport interface NodeOptions extends CommonEntityOptions {\n isMultiple?: boolean;\n defaultValue?: unknown;\n isRequired?: boolean;\n templates?: NodeTemplate[];\n}\n\nexport interface NodeGenerics<\n Shape extends ParsedNodeShape = ParsedNodeShape,\n Parsed extends ParsedNode<Shape, any> = ParsedNode<Shape>,\n Value = unknown\n> extends CommonEntityGenerics {\n Shape: Shape;\n Parsed: Parsed;\n Value: Value;\n Options: NodeOptions;\n Listener: NodeListener<Shape>;\n}\n\nexport interface ParseTreeOptions extends ParseEvent {\n parentEvent?: ParseEvent;\n key?: string;\n}\n\nexport class Node<G extends NodeGenerics<any> = NodeGenerics<any>> extends CommonEntity<G> {\n attributes: Attribute[];\n nodes: Node<any>[];\n\n constructor(options: G['Options']) {\n let defaultValue = options.defaultValue;\n if (defaultValue === undefined && options.isMultiple) defaultValue = [];\n super({\n ...options,\n defaultValue,\n // templates should always be an empty array\n templates: options.templates || []\n });\n\n this.attributes = [];\n this.nodes = [];\n this.listeners = [];\n }\n\n get name() {\n return this.options.name;\n }\n\n get defaultValue(): G['Value'] | G['Value'][] | undefined {\n return this.options.defaultValue;\n }\n\n serialize(): any {\n return {\n ...super.serialize(),\n multiple: this.options.isMultiple,\n required: this.options.isRequired,\n docs: this.options.docs,\n children: this.nodes.map((node) => {\n return node.serialize();\n }),\n attributes: this.attributes.map((attr) => {\n return attr.serialize();\n })\n };\n }\n\n getNodes(name: string): Node<any>[] {\n return this.nodes.filter((n) => n.name == name);\n }\n\n getNode(name: string): Node<any> {\n for (let node of this.nodes) {\n if (node.name === name) {\n return node;\n }\n }\n }\n\n getAttribute(name: string): Attribute {\n for (let attr of this.attributes) {\n if (attr.name === name) {\n return attr;\n }\n }\n }\n\n removeAttribute(name: string) {\n const index = _.findIndex(this.attributes, (item) => {\n return item.name == name;\n });\n\n if (index < 0) {\n return this;\n }\n\n this.attributes.splice(index, 1);\n return this;\n }\n\n getContentAttribute(): TextAttribute<TextAttributeGenerics<unknown>> | null {\n return (\n this.attributes.find(\n (attribute): attribute is TextAttribute<TextAttributeGenerics<unknown>> =>\n attribute instanceof TextAttribute && !!attribute.options.allowContentFromNode\n ) ?? null\n );\n }\n\n getTemplate(cursor?: string): { template?: string; templates?: { name: string; template: string }[] } {\n if (cursor == null) {\n cursor = '${cursor}';\n }\n // use the named templates\n if (this.options.templates.length > 0) {\n return {\n templates: this.options.templates.map((template) => {\n if (template.template) {\n return {\n name: template.name,\n template: template.template\n };\n }\n\n let first = true;\n const attrs = template.attrs.map((attr) => {\n return `${attr}=\"${first ? cursor : ''}\"`;\n first = false;\n });\n\n return {\n name: template.name,\n template: `<${this.name} ${attrs.join(' ')} />`\n };\n })\n };\n }\n\n // no children, so put the first attribute\n if (this.nodes.length === 0 && this.attributes.length > 0) {\n return {\n template: `<${this.name} ${this.attributes[0].name}=\"${cursor}\" />`\n };\n }\n\n // normal node\n return {\n template: `<${this.name}>${cursor}</${this.name}>`\n };\n }\n\n addAttributes(attrs: Attribute[]) {\n attrs.forEach((a) => this.addAttribute(a));\n }\n\n addAttribute(attribute: Attribute): Node<G> {\n if (this.attributes.find((x) => x.name === attribute.name)) {\n this.replaceAttribute(attribute);\n } else {\n this.attributes.push(attribute);\n attribute.setParent(this);\n }\n\n return this;\n }\n\n replaceAttribute(attribute: Attribute): Node<G> {\n const index = this.attributes.findIndex((attr) => attr.name === attribute.name);\n if (index === -1) {\n return;\n }\n\n this.attributes[index] = attribute;\n attribute.setParent(this);\n return this;\n }\n\n addNode(node: Node<any>): Node<G> {\n this.nodes.push(node);\n node.setParent(this);\n return this;\n }\n\n registerListener(listener: NodeListener<G['Shape']>) {\n return super.registerListener(listener as G['Listener']);\n }\n\n parse(options: ParseTreeOptions): G['Parsed'] | null {\n if (!this.shouldParse(options)) {\n return null;\n }\n return this.parseTree(options);\n }\n\n parseTree(options: ParseTreeOptions): G['Parsed'] {\n this.fireListeners((listener) => {\n listener.preParse?.({ event: options, parentEvent: options.parentEvent });\n });\n\n const result = this.createParsedNode(options);\n this.buildParsedNode({ parsed: result, options });\n\n this.validateParsedNode({ parsed: result, parentEvent: options.parentEvent });\n\n return result;\n }\n\n validateParsedNode({\n parsed,\n parentEvent\n }: {\n parsed: ParsedNode<G['Shape'], G['Value']>;\n parentEvent?: ParseEvent;\n }): void {\n this.fireListeners((listener) => listener.postParse?.({ parsed, parentEvent }));\n }\n\n protected shouldParse(_options: ParseTreeOptions): boolean {\n return true;\n }\n\n protected createParsedNode(options: ParseTreeOptions): G['Parsed'] {\n return new ParsedNode<G['Shape'], G['Value']>({\n definition: this,\n ...options\n }) as G['Parsed'];\n }\n\n protected buildParsedNode({\n parsed,\n options\n }: {\n parsed: ParsedNode<G['Shape'], G['Value']>;\n options: ParseTreeOptions;\n }): void {\n this.parseAttributes({ parsed, event: options });\n options.prepareNode?.(parsed);\n this.parseChildren({ parsed, options });\n }\n\n protected parseAttributes({\n parsed,\n event\n }: {\n parsed: ParsedNode<G['Shape'], G['Value']>;\n event: ParseEvent;\n }): void {\n this.attributes.forEach((definition: Attribute) => {\n try {\n const attribute = definition.parse(event.input, event);\n parsed.setAttribute(attribute);\n if (attribute.input?.location === AttributeInputLocation.CONTENT) {\n parsed.setContent(attribute.expression());\n }\n } catch (ex) {\n parsed.pushError({\n message: `failed to parse attribute: ${definition.options.name} on node ${this.options.name}`\n });\n console.error(`failed to parse attribute: ${definition.options.name} on node ${this.options.name}`, ex);\n }\n });\n }\n\n protected parseChildren({\n parsed,\n options\n }: {\n parsed: ParsedNode<G['Shape'], G['Value']>;\n options: ParseTreeOptions;\n }): void {\n const event = options;\n this.fireListeners((listener) => listener.preChildrenParse?.({ ...event, parsedNode: parsed }));\n\n if (!event.input) return;\n const attributeNames = this.attributes\n .filter((attribute) => !(attribute instanceof TextAttribute && attribute.options.allowContentFromNode))\n .map((attribute) => attribute.name);\n\n this.nodes.forEach((definition) => {\n const selection = event.input.selectChildren(definition.inputSelectors, attributeNames);\n selection.diagnostics.forEach((diagnostic) => parsed.pushError(diagnostic));\n definition.parseChildrenInto({ parent: parsed, inputs: selection.inputs, options, selection });\n });\n }\n\n get inputSelectors(): readonly NodeInputSelector[] {\n return [{ name: this.name, key: this.options.key, isMultiple: this.options.isMultiple }];\n }\n\n parseChildrenInto({\n parent,\n inputs,\n options,\n selection\n }: {\n parent: ParsedNode;\n inputs: NodeInput[];\n options: ParseTreeOptions;\n selection?: NodeInputSelection;\n }): void {\n const matchingInputs = inputs.filter((input) => input.name === this.options.name);\n parent.registerListener({\n postValidation: ({ context }) => {\n this.validateChildCount({ context, definition: this, matchingInputs });\n }\n });\n\n if (this.options.isMultiple) {\n const arrayNode = new ParsedArrayNode({\n definition: this,\n key: this.options.key,\n inputPresent: selection?.present,\n source: selection?.source\n });\n\n matchingInputs.forEach((input, index) => {\n const child = this.parseInput({ parent, options, input, key: `${index}` });\n if (child) {\n arrayNode.addChild(child);\n }\n });\n\n parent.setChild(this.options.key, arrayNode);\n return;\n }\n\n for (const input of matchingInputs) {\n const child = this.parseInput({ parent, options, input, key: this.options.key });\n if (child) {\n parent.setChild(this.options.key, child);\n return;\n }\n }\n }\n\n parseInput({\n parent,\n options,\n input,\n key\n }: {\n parent: ParsedNode;\n options: ParseTreeOptions;\n input: NodeInput;\n key: string;\n }): ParsedNode | null {\n return this.parse({\n ...options,\n input,\n parentNode: parent,\n parentEvent: options,\n key\n });\n }\n\n protected validateChildCount({\n context,\n definition,\n matchingInputs\n }: {\n context: NodeValidationContext;\n definition: Node<any>;\n matchingInputs: NodeInput[];\n }): void {\n if (definition.options.isRequired) {\n if (!definition.options.isMultiple && matchingInputs.length !== 1) {\n context.report({ message: `<${this.options.name}> must contain exactly one '<${definition.options.name}/>'` });\n }\n\n if (definition.options.isMultiple && matchingInputs.length === 0) {\n context.report({ message: `<${this.options.name}> must contain at least one '<${definition.options.name}/>'` });\n }\n } else if (!definition.options.isMultiple && matchingInputs.length > 1) {\n context.report({\n message: `<${this.options.name}> cannot contain more than one '<${definition.options.name}/>'`\n });\n }\n }\n}\n"]}
1
+ {"version":3,"file":"Node.js","sourceRoot":"","sources":["../../src/nodes/Node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,4DAAiE;AAEjE,MAAY,CAAC,mCAAe;AAE5B,+DAAmF;AACnF,2DAAmG;AACnG,+DAA4D;AAC5D,qDAAkD;AAiElD,UAAmE,SAAQ,2BAAe;IAIxF,YAAY,OAAqB;QAC/B,IAAI,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QACxC,IAAI,YAAY,KAAK,SAAS,IAAI,OAAO,CAAC,UAAU;YAAE,YAAY,GAAG,EAAE,CAAC;QACxE,KAAK,iCACA,OAAO,KACV,YAAY;YACZ,4CAA4C;YAC5C,SAAS,EAAE,OAAO,CAAC,SAAS,IAAI,EAAE,IAClC,CAAC;QAEH,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QACrB,IAAI,CAAC,KAAK,GAAG,E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AO,EAAE,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,gCAAgC,UAAU,CAAC,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;YACjH,CAAC;YAED,IAAI,UAAU,CAAC,OAAO,CAAC,UAAU,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACjE,OAAO,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,iCAAiC,UAAU,CAAC,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;YAClH,CAAC;QACH,CAAC;aAAM,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACvE,OAAO,CAAC,MAAM,CAAC;gBACb,OAAO,EAAE,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,oCAAoC,UAAU,CAAC,OAAO,CAAC,IAAI,KAAK;aAC/F,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF","sourcesContent":["import { ParseEvent } from '../ParseEvent';\nimport { AttributeInputLocation } from '../input/AttributeInput';\nimport type { NodeInput, NodeInputSelector, NodeInputSelection } from '../input/NodeInput';\nimport * as _ from 'lodash';\nimport { Attribute } from '../attributes/Attribute';\nimport { TextAttribute, TextAttributeGenerics } from '../attributes/TextAttribute';\nimport { CommonEntity, CommonEntityGenerics, CommonEntityOptions } from '../entities/CommonEntity';\nimport { ParsedArrayNode } from '../parsed/ParsedArrayNode';\nimport { ParsedNode } from '../parsed/ParsedNode';\nimport { ParsedNodeShape } from '../parsed/ParsedNodeTypes';\nimport type { NodeValidationContext } from '../parsed/ParsedNode';\n\nexport interface NodeListener<Shape extends ParsedNodeShape = ParsedNodeShape> {\n /**\n * before the node is parsed\n */\n preParse?({ event, parentEvent }: { event: ParseEvent; parentEvent: ParseEvent }): any;\n\n /**\n * Before child inputs are parsed.\n */\n preChildrenParse?(event: ParseEvent): void;\n\n /**\n * Once this node has been parsed\n */\n postParse?({ parsed, parentEvent }: { parsed: ParsedNode<Shape>; parentEvent: ParseEvent }): any;\n}\n\n/**\n * Represents a template for a node\n */\nexport interface NodeTemplate {\n /**\n * Name of the node\n */\n name: string;\n /**\n * The string version of the template\n * @example <table attr1=\"${cursor}\" />\n */\n template?: string;\n /**\n * if `template` is not defined, the attributes to make up the template:\n * @example ['attr1']\n */\n attrs?: string[];\n}\n\nexport interface NodeOptions extends CommonEntityOptions {\n isMultiple?: boolean;\n defaultValue?: unknown;\n isRequired?: boolean;\n templates?: NodeTemplate[];\n}\n\nexport interface NodeGenerics<\n Shape extends ParsedNodeShape = ParsedNodeShape,\n Parsed extends ParsedNode<Shape, any> = ParsedNode<Shape>,\n Value = unknown\n> extends CommonEntityGenerics {\n Shape: Shape;\n Parsed: Parsed;\n Value: Value;\n Options: NodeOptions;\n Listener: NodeListener<Shape>;\n}\n\nexport interface ParseTreeOptions extends ParseEvent {\n parentEvent?: ParseEvent;\n key?: string;\n}\n\nexport class Node<G extends NodeGenerics<any> = NodeGenerics<any>> extends CommonEntity<G> {\n attributes: Attribute[];\n nodes: Node<any>[];\n\n constructor(options: G['Options']) {\n let defaultValue = options.defaultValue;\n if (defaultValue === undefined && options.isMultiple) defaultValue = [];\n super({\n ...options,\n defaultValue,\n // templates should always be an empty array\n templates: options.templates || []\n });\n\n this.attributes = [];\n this.nodes = [];\n this.listeners = [];\n }\n\n get name() {\n return this.options.name;\n }\n\n get defaultValue(): G['Value'] | G['Value'][] | undefined {\n return this.options.defaultValue;\n }\n\n serialize(): any {\n return {\n ...super.serialize(),\n multiple: this.options.isMultiple,\n required: this.options.isRequired,\n docs: this.options.docs,\n children: this.nodes.map((node) => {\n return node.serialize();\n }),\n attributes: this.attributes.map((attr) => {\n return attr.serialize();\n })\n };\n }\n\n getNodes(name: string): Node<any>[] {\n return this.nodes.filter((n) => n.name == name);\n }\n\n getNode(name: string): Node<any> {\n for (let node of this.nodes) {\n if (node.name === name) {\n return node;\n }\n }\n }\n\n getAttribute(name: string): Attribute {\n for (let attr of this.attributes) {\n if (attr.name === name) {\n return attr;\n }\n }\n }\n\n removeAttribute(name: string): this {\n const index = _.findIndex(this.attributes, (item) => {\n return item.name == name;\n });\n\n if (index < 0) {\n return this;\n }\n\n this.attributes.splice(index, 1);\n return this;\n }\n\n getContentAttribute(): TextAttribute<TextAttributeGenerics<unknown>> | null {\n return (\n this.attributes.find(\n (attribute): attribute is TextAttribute<TextAttributeGenerics<unknown>> =>\n attribute instanceof TextAttribute && !!attribute.options.allowContentFromNode\n ) ?? null\n );\n }\n\n getTemplate(cursor?: string): { template?: string; templates?: { name: string; template: string }[] } {\n if (cursor == null) {\n cursor = '${cursor}';\n }\n // use the named templates\n if (this.options.templates.length > 0) {\n return {\n templates: this.options.templates.map((template) => {\n if (template.template) {\n return {\n name: template.name,\n template: template.template\n };\n }\n\n let first = true;\n const attrs = template.attrs.map((attr) => {\n return `${attr}=\"${first ? cursor : ''}\"`;\n first = false;\n });\n\n return {\n name: template.name,\n template: `<${this.name} ${attrs.join(' ')} />`\n };\n })\n };\n }\n\n // no children, so put the first attribute\n if (this.nodes.length === 0 && this.attributes.length > 0) {\n return {\n template: `<${this.name} ${this.attributes[0].name}=\"${cursor}\" />`\n };\n }\n\n // normal node\n return {\n template: `<${this.name}>${cursor}</${this.name}>`\n };\n }\n\n addAttributes(attrs: Attribute[]): this {\n attrs.forEach((a) => this.addAttribute(a));\n return this;\n }\n\n addAttribute(attribute: Attribute): this {\n if (this.attributes.find((x) => x.name === attribute.name)) {\n this.replaceAttribute(attribute);\n } else {\n this.attributes.push(attribute);\n attribute.setParent(this);\n }\n\n return this;\n }\n\n replaceAttribute(attribute: Attribute): this {\n const index = this.attributes.findIndex((attr) => attr.name === attribute.name);\n if (index === -1) {\n return this;\n }\n\n this.attributes[index] = attribute;\n attribute.setParent(this);\n return this;\n }\n\n addNode(node: Node<any>): this {\n this.nodes.push(node);\n node.setParent(this);\n return this;\n }\n\n registerListener(listener: NodeListener<G['Shape']>) {\n return super.registerListener(listener as G['Listener']);\n }\n\n parse(options: ParseTreeOptions): G['Parsed'] | null {\n if (!this.shouldParse(options)) {\n return null;\n }\n return this.parseTree(options);\n }\n\n parseTree(options: ParseTreeOptions): G['Parsed'] {\n this.fireListeners((listener) => {\n listener.preParse?.({ event: options, parentEvent: options.parentEvent });\n });\n\n const result = this.createParsedNode(options);\n this.buildParsedNode({ parsed: result, options });\n\n this.validateParsedNode({ parsed: result, parentEvent: options.parentEvent });\n\n return result;\n }\n\n validateParsedNode({\n parsed,\n parentEvent\n }: {\n parsed: ParsedNode<G['Shape'], G['Value']>;\n parentEvent?: ParseEvent;\n }): void {\n this.fireListeners((listener) => listener.postParse?.({ parsed, parentEvent }));\n }\n\n protected shouldParse(_options: ParseTreeOptions): boolean {\n return true;\n }\n\n protected createParsedNode(options: ParseTreeOptions): G['Parsed'] {\n return new ParsedNode<G['Shape'], G['Value']>({\n definition: this,\n ...options\n }) as G['Parsed'];\n }\n\n protected buildParsedNode({\n parsed,\n options\n }: {\n parsed: ParsedNode<G['Shape'], G['Value']>;\n options: ParseTreeOptions;\n }): void {\n this.parseAttributes({ parsed, event: options });\n options.prepareNode?.(parsed);\n this.parseChildren({ parsed, options });\n }\n\n protected parseAttributes({\n parsed,\n event\n }: {\n parsed: ParsedNode<G['Shape'], G['Value']>;\n event: ParseEvent;\n }): void {\n this.attributes.forEach((definition: Attribute) => {\n try {\n const attribute = definition.parse(event.input, event);\n parsed.setAttribute(attribute);\n if (attribute.input?.location === AttributeInputLocation.CONTENT) {\n parsed.setContent(attribute.expression());\n }\n } catch (ex) {\n parsed.pushError({\n message: `failed to parse attribute: ${definition.options.name} on node ${this.options.name}`\n });\n console.error(`failed to parse attribute: ${definition.options.name} on node ${this.options.name}`, ex);\n }\n });\n }\n\n protected parseChildren({\n parsed,\n options\n }: {\n parsed: ParsedNode<G['Shape'], G['Value']>;\n options: ParseTreeOptions;\n }): void {\n const event = options;\n this.fireListeners((listener) => listener.preChildrenParse?.({ ...event, parsedNode: parsed }));\n\n if (!event.input) return;\n const attributeNames = this.attributes\n .filter((attribute) => !(attribute instanceof TextAttribute && attribute.options.allowContentFromNode))\n .map((attribute) => attribute.name);\n\n this.nodes.forEach((definition) => {\n const selection = event.input.selectChildren(definition.inputSelectors, attributeNames);\n selection.diagnostics.forEach((diagnostic) => parsed.pushError(diagnostic));\n definition.parseChildrenInto({ parent: parsed, inputs: selection.inputs, options, selection });\n });\n }\n\n get inputSelectors(): readonly NodeInputSelector[] {\n return [{ name: this.name, key: this.options.key, isMultiple: this.options.isMultiple }];\n }\n\n parseChildrenInto({\n parent,\n inputs,\n options,\n selection\n }: {\n parent: ParsedNode;\n inputs: NodeInput[];\n options: ParseTreeOptions;\n selection?: NodeInputSelection;\n }): void {\n const matchingInputs = inputs.filter((input) => input.name === this.options.name);\n parent.registerListener({\n postValidation: ({ context }) => {\n this.validateChildCount({ context, definition: this, matchingInputs });\n }\n });\n\n if (this.options.isMultiple) {\n const arrayNode = new ParsedArrayNode({\n definition: this,\n key: this.options.key,\n inputPresent: selection?.present,\n source: selection?.source\n });\n\n matchingInputs.forEach((input, index) => {\n const child = this.parseInput({ parent, options, input, key: `${index}` });\n if (child) {\n arrayNode.addChild(child);\n }\n });\n\n parent.setChild(this.options.key, arrayNode);\n return;\n }\n\n for (const input of matchingInputs) {\n const child = this.parseInput({ parent, options, input, key: this.options.key });\n if (child) {\n parent.setChild(this.options.key, child);\n return;\n }\n }\n }\n\n parseInput({\n parent,\n options,\n input,\n key\n }: {\n parent: ParsedNode;\n options: ParseTreeOptions;\n input: NodeInput;\n key: string;\n }): ParsedNode | null {\n return this.parse({\n ...options,\n input,\n parentNode: parent,\n parentEvent: options,\n key\n });\n }\n\n protected validateChildCount({\n context,\n definition,\n matchingInputs\n }: {\n context: NodeValidationContext;\n definition: Node<any>;\n matchingInputs: NodeInput[];\n }): void {\n if (definition.options.isRequired) {\n if (!definition.options.isMultiple && matchingInputs.length !== 1) {\n context.report({ message: `<${this.options.name}> must contain exactly one '<${definition.options.name}/>'` });\n }\n\n if (definition.options.isMultiple && matchingInputs.length === 0) {\n context.report({ message: `<${this.options.name}> must contain at least one '<${definition.options.name}/>'` });\n }\n } else if (!definition.options.isMultiple && matchingInputs.length > 1) {\n context.report({\n message: `<${this.options.name}> cannot contain more than one '<${definition.options.name}/>'`\n });\n }\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":"7.0.2","root":[[89,90],[130,131],[138,175],[392,393]],"packageJsons":["../../../node_modules/.pnpm/@babel+types@8.0.6/node_modules/@babel/types/package.json","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/package.json","../../../node_modules/.pnpm/@journeyapps+common-utils@2.0.0/node_modules/@journeyapps/common-utils/package.json","../../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/package.json","../../../node_modules/.pnpm/tagged-tag@1.0.0/node_modules/tagged-tag/package.json","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/package.json","../package.json","../../expressions/package.json","../../type-system/package.json"],"missingPackageJsons":["../../../node_modules/.pnpm/@babel+types@8.0.6/node_modules/@babel/types/lib/package.json","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/dist/@types/package.json","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/dist/package.json","../../../node_modules/.pnpm/@journeyapps+common-utils@2.0.0/node_modules/@journeyapps/common-utils/dist/@types/package.json","../../../node_modules/.pnpm/@journeyapps+common-utils@2.0.0/node_modules/@journeyapps/common-utils/dist/package.json","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/package.json","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/package.json","../../../node_modules/@types/lodash/package.json","../../../node_modules/lodash/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.es2023.d.ts","lib.es2024.d.ts","lib.es2025.d.ts","lib.esnext.d.ts","lib.dom.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2023.array.d.ts","lib.es2023.collection.d.ts","lib.es2023.intl.d.ts","lib.es2024.arraybuffer.d.ts","lib.es2024.collection.d.ts","lib.es2024.object.d.ts","lib.es2024.promise.d.ts","lib.es2024.regexp.d.ts","lib.es2024.sharedmemory.d.ts","lib.es2024.string.d.ts","lib.es2025.collection.d.ts","lib.es2025.float16.d.ts","lib.es2025.intl.d.ts","lib.es2025.iterator.d.ts","lib.es2025.promise.d.ts","lib.es2025.regexp.d.ts","lib.esnext.array.d.ts","lib.esnext.collection.d.ts","lib.esnext.date.d.ts","lib.esnext.decorators.d.ts","lib.esnext.disposable.d.ts","lib.esnext.error.d.ts","lib.esnext.intl.d.ts","lib.esnext.sharedmemory.d.ts","lib.esnext.temporal.d.ts","lib.esnext.typedarrays.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../src/source/SourceReference.ts","../src/input/AttributeInput.ts","../../expressions/dist/@types/tokens/AbstractToken.d.ts","../../expressions/dist/@types/tokens/code/CodeToken.d.ts","../../type-system/dist/@types/Formatter.d.ts","../../type-system/dist/@types/Type.d.ts","../../type-system/dist/@types/ObjectType.d.ts","../../type-system/dist/@types/ArrayType.d.ts","../../type-system/dist/@types/UnknownType.d.ts","../../type-system/dist/@types/ScalarType.d.ts","../../type-system/dist/@types/TextType.d.ts","../../type-system/dist/@types/NumberType.d.ts","../../type-system/dist/@types/IntegerType.d.ts","../../type-system/dist/@types/BooleanType.d.ts","../../type-system/dist/@types/index.d.ts","../../expressions/dist/@types/definitions/ValidationContext.d.ts","../../expressions/dist/@types/expressions/AbstractExpression.d.ts","../../expressions/dist/@types/ExpressionParser.d.ts","../../expressions/dist/@types/CombinedParser.d.ts","../../expressions/dist/@types/utils/parserUtils.d.ts","../../expressions/dist/@types/code-parsers/CodeParser.d.ts","../../../node_modules/.pnpm/@babel+types@8.0.6/node_modules/@babel/types/lib/index.d.ts","../../expressions/dist/@types/code-parsers/JavaScriptParser.d.ts","../../expressions/dist/@types/utils/valueFormatting.d.ts","../../expressions/dist/@types/tokens/DelimiterToken.d.ts","../../expressions/dist/@types/expressions/ListExpression.d.ts","../../expressions/dist/@types/expressions/EvaluatedExpression.d.ts","../../expressions/dist/@types/expressions/shorthand/ShorthandExpression.d.ts","../../expressions/dist/@types/expressions/shorthand/FormatShorthandExpression.d.ts","../../expressions/dist/@types/expressions/constant/ConstantExpression.d.ts","../../expressions/dist/@types/expressions/function/FunctionExpression.d.ts","../../expressions/dist/@types/tokens/text/TextToken.d.ts","../../expressions/dist/@types/tokens/text/PlaceholderToken.d.ts","../../expressions/dist/@types/expressions/text/AbstractFormatExpression.d.ts","../../expressions/dist/@types/expressions/text/FormatStringExpression.d.ts","../../expressions/dist/@types/tokens/EnumToken.d.ts","../../expressions/dist/@types/tokens/code/JSToken.d.ts","../../expressions/dist/@types/tokens/code/PrefixToken.d.ts","../../expressions/dist/@types/tokens/code/IdentifierToken.d.ts","../../expressions/dist/@types/utils/tokenUtils.d.ts","../../expressions/dist/@types/index.d.ts","../src/parsed/ParsedDiagnostic.ts","../src/input/NodeInput.ts","../../../node_modules/.pnpm/@journeyapps+common-utils@2.0.0/node_modules/@journeyapps/common-utils/dist/@types/BaseObserver.d.ts","../../../node_modules/.pnpm/@journeyapps+common-utils@2.0.0/node_modules/@journeyapps/common-utils/dist/@types/index.d.ts","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/dist/@types/TreeNode.d.ts","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/dist/@types/TreeEntity.d.ts","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/dist/@types/TreeException.d.ts","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/dist/@types/index.d.ts","../src/parsed/ParsedAttribute.ts","../src/values/ParsedProviderValue.ts","../src/values/AbstractValueProvider.ts","../src/values/ParsedValue.ts","../src/values/ParsedNodeValues.ts","../src/values/ValueProviderContext.ts","../src/parsed/ParsedNodeTypes.ts","../src/parsed/ParsedArrayNode.ts","../src/parsed/ParsedNode.ts","../src/ParseEvent.ts","../src/attributes/TextAttribute.ts","../src/nodes/Node.ts","../src/entities/AbstractEntity.ts","../src/entities/CommonEntity.ts","../src/attributes/Attribute.ts","../src/input/AttributeParseContext.ts","../src/AttributeParseEvent.ts","../src/attributes/ConditionType.ts","../src/attributes/BooleanAttribute.ts","../src/attributes/ConstantBooleanAttribute.ts","../src/attributes/ConstantTextAttribute.ts","../src/attributes/ExpressionAttribute.ts","../src/attributes/FunctionAttribute.ts","../src/attributes/ListAttribute.ts","../src/attributes/NumberAttribute.ts","../src/attributes/PathAttribute.ts","../src/attributes/SetAttribute.ts","../src/attributes/TextArrayAttribute.ts","../src/parsed/ParsedContentNode.ts","../src/nodes/ContentNode.ts","../src/nodes/NodeAlternatives.ts","../src/parsed/ParsedRecordNode.ts","../src/nodes/RecordNode.ts","../src/parsed/ParsedEitherNode.ts","../src/nodes/EitherNode.ts","../src/values/ConstantExpressionValueProvider.ts","../src/values/ParserDefaultValueProvider.ts","../src/values/MappedParsedProviderValue.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/primitive.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/find-global-type.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/typed-array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/basic.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/json-value.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/characters.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/union-to-intersection.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/keys-of-union.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/distributed-omit.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/distributed-pick.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/empty-object.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if-empty-object.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-any.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-optional-key-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/optional-keys-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/required-keys-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/has-required-keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-never.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/unknown-array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/type.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/characters.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/simplify.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-equal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/omit-index-signature.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/pick-index-signature.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/merge.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-float.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-integer.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/numeric.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/string-to-number.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/tuple-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/trim.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/some-extend.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/or-all.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/or.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/string-to-array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/string-length.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/string.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/object.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-string-literal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-numeric-literal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-boolean-literal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-symbol-literal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-literal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-null.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-unknown.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/numeric.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/all-extend.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/and-all.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/and.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/absolute.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/greater-than.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/greater-than-or-equal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/less-than.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/tuple.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/enforce-optional.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/index.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/except.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/require-at-least-one.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/non-empty-object.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/non-empty-string.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/unknown-record.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/unknown-set.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/unknown-map.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/tagged-union.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/writable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/writable-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/object-merge.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-simplify-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/non-empty-tuple.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-tail.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/simplify-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/merge-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/merge-exclusive.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/require-exactly-one.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/require-all-or-none.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/require-one-or-none.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-union.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/single-key-object.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/partial-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/unwrap-partial.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/unwrap-required.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/required-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/subtract.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/sum.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/paths.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/pick-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-splice.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/literal-union.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/exclude-exactly.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/union-member.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/union-to-tuple.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/omit-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/partial-on-undefined-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/undefined-on-partial-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/readonly-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/promisable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/arrayable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/optional.d.ts","../../../node_modules/.pnpm/tagged-tag@1.0.0/node_modules/tagged-tag/index.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/tagged.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/invariant-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-optional.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-readonly.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-required.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-required-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-non-nullable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/non-nullable-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-non-nullable-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/value-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/async-return-type.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/extends-strict.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-tuple.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/tuple-to-object.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-except.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-pick.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-pick-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/stringified.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/join.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/less-than-or-equal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-slice.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/string-slice.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/fixed-length-array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/multidimensional-array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/multidimensional-readonly-array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/iterable-element.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/entry.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/entries.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-return-type.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-parameter-type.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/asyncify.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/jsonify.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/jsonifiable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/structured-cloneable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/schema.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/literal-to-primitive.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/literal-to-primitive-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/union-max.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/key-as-string.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-element.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/exact.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/readonly-tuple.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/override-properties.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-readonly-key-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/readonly-keys-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/rename-keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/has-optional-keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-required-key-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/has-readonly-keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/writable-keys-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-writable-key-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/has-writable-keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/spread.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/split-on-rest-element.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/extract-rest-element.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/exclude-rest-element.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/tuple-to-union.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/int-range.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/int-closed-range.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if-any.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if-never.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if-unknown.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-indices.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-values.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-length.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-field-type.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/shared-union-fields.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/all-union-fields.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/shared-union-fields-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if-null.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-undefined.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/xor.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-lowercase.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-uppercase.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-optional.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-nullable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/exclusify-union.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-reverse.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/union-length.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/words.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/camel-case.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/camel-cased-properties.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/camel-cased-properties-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/delimiter-case.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/kebab-case.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/delimiter-cased-properties.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/kebab-cased-properties.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/pascal-case.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/pascal-cased-properties.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/snake-case.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/snake-cased-properties.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/snake-cased-properties-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/screaming-snake-case.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/split.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/replace.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/string-repeat.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/includes.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/get.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/last-array-element.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-simplify.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/remove-prefix.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/remove-suffix.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/global-this.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/package-json.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/tsconfig-json.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/extract-strict.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/exclude-strict.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/extract-exactly.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/index.d.ts","../src/utils/types/valueOf.ts","../src/index.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7","9443a7f109277ffaa79d893ed2549995","793cee405385076e27c24f409659dccd","09f69c6610266eaee1ac9e3e30df2c71","62bad718844246b8e17547f37bad6085",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8cf777fe00349b71ee9c4b6f3fe7fd19","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"74f96bc192530c9723f572bfff3d3078","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1df91c56b25955c56387426f378173c5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"38856f70edcd2115c355d96ec77cc09e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"de8700156c1275465bcd473c28b359aa","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d47cfdb6ede40518357bb5a4cd7cd9fb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6e5773860cd9e5b15e683113f642ab47","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"30ff5fe1682f7fcd629880476ca3c2e0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bf23d7d1b40b9015b694ddc2f011752f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2cc585d42e2c548f9f24a30a1989fd33","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"713906ce9d332d2242b7f05ed9304be3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0219894bfe5042c7e1aa2d22e4a91ed0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6009ffff7e43c93318804d2d28e37fe3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"03be89b227587594fbb50509fc1c2e45","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b30df52dc24740c0bad7c55c3511df7d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ab8d3c9b5ed5c2ab8f383607eef439f0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d950ec671d0a8e07f3c1a31e94abed86","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1abef2ace5eccb02d60dd73cd5a5ee4c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f5f0a3044029d1cc081b5887eb4deb07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d57c697f1446940ec4bfe669c962e2c4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"be41035d7b941482a1e1ae6a5c5dcca5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"10f7d9da7564f27f8ddf4a162b6da6d3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1d0520af549e0c3581f15173cc713ca1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d65083f97fd741cff028472563eddb79","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"da7f24f00653ebac660ac1c0821ed33d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7cb5ae9e65516ea2235f0721f6aac43c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4e82c73a125c635a104877f363f76c77","signature":"e081daf8d8de48311f44ad65f7d3d948","impliedNodeFormat":1},{"version":"3af7f72746f715af81723f11ea1b05c7","signature":"846b5a3997bf9efa962bb4ca72575634","impliedNodeFormat":1},"510b0b622fafd6eff2bf5d020de046ee","968dbf07ccc13a1a84f319c26e9909b3","e5fb7990b84f5089ba92554ea3614810","770ee32ef332fd48bfef508442b30edb","5c1b5931ee0c894699ca56f5b573f88a","822b842ad7efa3485d65fbeb2f919865","89b6053090a8d01f57cb8f521fae777d","26302a8b72d74f944dcf8f6452e54f7c","bc95bdb594a5aece18248fbf4387dd2e","90125a76f2ae701181f7e09dea41f3ad","ac52bb76ccad935a013384d2a71ab267","2c96eeb69afb823580d4e1e5f1b188e0","c06213bcb24cd658dfcd1239777159bd","84519ebe510a4219ef71e5a0a973c591","0c68f6d853b53c3d34189f5c99c4b624","18408a4ba98e42e70324ba5c0b71f379","d6ca1e855d5b6554555a009a40e806a2","92d25cb01f547225fee7d19311179220","e78cf9dc5bca6011a220581f56da19cb",{"version":"3575b2b8e50b5a5b3acce219e08900c5","impliedNodeFormat":99},"25aba7d58ecafcf7098f9bcca63ea72a","90506d77482148f93c56044616613958","ae63a2414b6a326b93ee65bba693d617","0b41d778150d6774bc72b9e36a6c409f","cc36a10654ee721a890569de343ee4a0","81bde6b904e09fb337a80f52526d0c49","61b4c95d7a2ba531a5faae6b4e0694f1","c3b9b5f9be217e9fabbfc9f5b48da439","be6a700c7b2a3007e5ff5eccccd1e6ca","f25290e9ca5aee09a0210e2a454437f8","cf3121ca4479d3afdaceb690d14cf086","c115de0a80c101e99244da31e79527d1","cabc47d72ba300dd603c14a7bb2b7cde","57845437bcd4011990eb52478f02c4a0","354fc88481ff608fcbbfaf7851a29043","bf6d579deb9596ec514083ea94789be0","3058c9c4ad1200a2ff62094072deed53","d33a7d16b8bb10392237228466f959f8","4678acee57e4a32f080f3a53600abf18",{"version":"69401298c6072875b8638fc9314cadae","signature":"a70e44bfb403fe35764bb9f97c122f26","impliedNodeFormat":1},{"version":"1e1e797992475b500f232b521136ba8e","signature":"8ab3ef02ffeb2b9d424ad8d6a5fc1e23","impliedNodeFormat":1},{"version":"86d0332da2287be4358cf0dce9bd3632","impliedNodeFormat":99},{"version":"fa1bb9cb3594d480e4d6359e3ed6dff7","impliedNodeFormat":99},{"version":"e95cc6c1f7c52fa776298918052732c1","impliedNodeFormat":99},{"version":"45d2422c7de944cebbdc48acd1df89c5","impliedNodeFormat":99},{"version":"b7981d521f4e48e79801dc3f4b5a56eb","impliedNodeFormat":99},{"version":"8e226c2bbc2a8d9cf9ef448b03544388","impliedNodeFormat":99},{"version":"11ba97a4bda104ce7825afa64bcc27f7","signature":"4a4321c94b260a14026ccb394b4301cf","impliedNodeFormat":1},{"version":"7a4e5ebc42f6cfa3c4dafc939f814455","signature":"c53d74683a99d78a4e8e5c99695198d1","impliedNodeFormat":1},{"version":"eeb5aec69533c494d5643e47f8da46e9","signature":"d37edeca7dfadc15526edf81105d9f67","impliedNodeFormat":1},{"version":"9fa086fcfd802865fb0c0f5e2f463201","signature":"dfaeb89f273a1f45bfd2544070937be3","impliedNodeFormat":1},{"version":"32ec0fd18055068ff7b84de70bb2ad73","signature":"66027e1ad1ff50d808a9c86deebf5a3c","impliedNodeFormat":1},{"version":"b0df84d952d8fb5333290b706279e8b1","signature":"1bd8a286bf18355cfc2f2415da0a8f40","impliedNodeFormat":1},{"version":"084cd5eb75e7af3c1a2134c5c13d8aac","signature":"253c1e7a4c065655399605aac43ac8cd","impliedNodeFormat":1},{"version":"3dc8dfdec942268c84a648e50d16aca0","signature":"e912f1f943a2c9f337e1caeac4c62ac6","impliedNodeFormat":1},{"version":"7cb3d1d355ab37904f0d7e4af56f2ee7","signature":"d2af90fbd9f6586cb9a391311fccda4d","impliedNodeFormat":1},{"version":"ff39994282ec1d8880e9bfa98d224ab6","signature":"551c35a469df9caff03939dc24ccb70f","impliedNodeFormat":1},{"version":"9e2ed7af5467199a1a552c34b7b33d0f","signature":"3dba2357c350a96368cbc2b30634391f","impliedNodeFormat":1},{"version":"a6381b330b503eb7c9a1636f740753b7","signature":"ea4969d15529bd2f32d578f1524aea53","impliedNodeFormat":1},{"version":"57484282fdf9d308df19d08c2d015d8c","signature":"3a934ca63bb31c21337955b6788732ba","impliedNodeFormat":1},{"version":"b0551bfc07167379e0b333ed34256931","signature":"d4e4d9054b3802c612753c453cbf21d1","impliedNodeFormat":1},{"version":"83aca80c39a6ed1c30d3cabb7e0a39e5","signature":"a2e448502bbb817ddaaa2a85c1725d6c","impliedNodeFormat":1},{"version":"ee92a867349b8b000ea5005e6f5375a2","signature":"01df18b24674b77a06afb4db456784c8","impliedNodeFormat":1},{"version":"c53b3e99f3be64d362a9d8310fb92c72","signature":"653d2b05ff8185f6cf0d6a8c3c39312b","impliedNodeFormat":1},{"version":"26384b25cce01fb048ea23ce8cd6fb3f","signature":"cbfc258e062c672bbef956a12ea0096b","impliedNodeFormat":1},{"version":"ece95707b6d590d0e48da7e535d330a3","signature":"788f20a830af0d364f8b1193b4db64bf","impliedNodeFormat":1},{"version":"04573a22422ac97a0f41bfc7d2af260c","signature":"6da0c02193fe1880020d9c5a62d99f0a","impliedNodeFormat":1},{"version":"ac0aafeb2e1d4026693b811906e5a2b2","signature":"70875e6214207c0705d07a761e620012","impliedNodeFormat":1},{"version":"b509c084dd42a78cf7067c88bbe6ff70","signature":"8633a6747b21b13b2d1e5afd5289cf40","impliedNodeFormat":1},{"version":"808ff478fd923a27a901b1a3635461dc","signature":"e83c2c379d9265cc921299aa7418ec90","impliedNodeFormat":1},{"version":"95dafeb5baa01a72452804ac1992a8d8","signature":"a148aab6e6b1dd5452acbe9c4bc1f1de","impliedNodeFormat":1},{"version":"f6f107618dee896d452d20feb49df9b2","signature":"36d13054ac0819951dbf0331abd4d5be","impliedNodeFormat":1},{"version":"7a1d39da9554a7b5a8528082523225b3","signature":"a5c698829a1bb92ecb6e67772861e871","impliedNodeFormat":1},{"version":"cf1bc182e0bfa22aac580492aa6ed9b0","signature":"8a543419f927de2e9022ac21c50e36c3","impliedNodeFormat":1},{"version":"cd5073d8c95d130c4b83df08e6bcd90d","signature":"c6d95f9b6b894fee73deb2389a45f798","impliedNodeFormat":1},{"version":"0ff9b1c3391ab0fffcd82675739f419d","signature":"df590f602df7a22916a886b97d644903","impliedNodeFormat":1},{"version":"25418899e256491f5d6fa18c865d7aa5","signature":"68554595074fbb8aed8ed6ad0bdbcba2","impliedNodeFormat":1},{"version":"582c7df20b48798b6b7f0e4dea5d9587","signature":"b50e07aa34437f8d45b08613cf71fa23","impliedNodeFormat":1},{"version":"7aa171a105f6d1a7bee26370d3bc033a","signature":"8a0e23453832a4dbf725e7962e2f1fa6","impliedNodeFormat":1},{"version":"133115e3881afbf1718a609ebee5ac64","signature":"fd81162119f6f5997c5986cfd02c5600","impliedNodeFormat":1},{"version":"32cfb39d3c78e164a8099ce5d6716a37","signature":"3d29d8072bc6d38449be5aca0108ae34","impliedNodeFormat":1},{"version":"4fe7fea99302c52701c7bbfaba610eed","signature":"dd7d9834837efd8bc5609d97362b589c","impliedNodeFormat":1},{"version":"40a8a4a5cf90d98e10ce325f564fd423","signature":"8405522cd62175d50e8e191992363a9c","impliedNodeFormat":1},{"version":"7e7a4a7f139becba7a43143ecd3a6018","signature":"4b804a5b57056316b89069afb8007135","impliedNodeFormat":1},{"version":"7c543f77a059948f43f26d093a47ca4f","signature":"5332fc9587dd3f2465ff176777bd9584","impliedNodeFormat":1},{"version":"6b5c96b398c7d3a18c9d11bbbc8d6177","impliedNodeFormat":99},{"version":"1003b7f9c4c62494224bc8de367e9efa","impliedNodeFormat":99},{"version":"2bdf29001e1930f8532b29c2a6e5defd","impliedNodeFormat":99},{"version":"58805ac51ac772d83a8c5d3769ed844b","impliedNodeFormat":99},{"version":"53afc946ae451bd05acd5b26932f0079","impliedNodeFormat":99},{"version":"ccbb1a3f86599116506989830500a2ad","impliedNodeFormat":99},{"version":"f3776c2f21099030e31e7e78d94a449a","impliedNodeFormat":99},{"version":"9815a8577e926b1af16aaf2c664c0cba","impliedNodeFormat":99},{"version":"8d49b30ba4dda2064939ae71ec8d8d47","impliedNodeFormat":99},{"version":"3c4e53d61b72f43c7532f5a67d2e87e2","impliedNodeFormat":99},{"version":"05fbc8f7e43ff68c6ec4968792310f81","impliedNodeFormat":99},{"version":"ffa19dfbe8db687d5f8403f50bfa21c5","impliedNodeFormat":99},{"version":"b449f7969400274e0e59664d07ea8a37","impliedNodeFormat":99},{"version":"1ecaff689cb33488a9c8a352c695cb23","impliedNodeFormat":99},{"version":"0bd9e460e3d3f3542dcb32d2379faf0e","impliedNodeFormat":99},{"version":"5b8094ad0d655bed94f7449abc3f47e7","impliedNodeFormat":99},{"version":"de503ea3d284612d36186b40596cab49","impliedNodeFormat":99},{"version":"e9d75b5f11c85b761f8eb73e694b9e43","impliedNodeFormat":99},{"version":"f6b7772ce6a31983e1066aa09fb5b765","impliedNodeFormat":99},{"version":"91c07f017e1b37a11e8e98380e4d722f","impliedNodeFormat":99},{"version":"14152a9f260612a3d62ea59894855502","impliedNodeFormat":99},{"version":"6d4014093d8479da13a8f7b77d473608","impliedNodeFormat":99},{"version":"39458965852116d0ae49f9bde53d3433","impliedNodeFormat":99},{"version":"5b7e614809ca8a43bd78c6622e4ddb57","impliedNodeFormat":99},{"version":"ec5e121a16862b00ada0de6f6341fa3e","impliedNodeFormat":99},{"version":"b9d0181d64e76b25e070efd37b023cb0","impliedNodeFormat":99},{"version":"288e9c9ab0512b11bdef6c73f3e7f3f9","impliedNodeFormat":99},{"version":"5173d4adc0b413fb56b5434079362c7b","impliedNodeFormat":99},{"version":"462a8ddfc6144653ec9fac2232ca039a","impliedNodeFormat":99},{"version":"f8caf46b14829446e2f464638f0b1fdc","impliedNodeFormat":99},{"version":"3771e3b9eb71eca564ccbe898cc49e05","impliedNodeFormat":99},{"version":"afa7b6bcfaebbc96ddfebb013b2a29d0","impliedNodeFormat":99},{"version":"d22d7bfb53ac09e9159f55c531aef171","impliedNodeFormat":99},{"version":"167b01324dde0618782ff1f6177cf03e","impliedNodeFormat":99},{"version":"fe37545d4bb4184cae8506f104c1c12c","impliedNodeFormat":99},{"version":"e3772eedb7e5ece748f2d880c56385a2","impliedNodeFormat":99},{"version":"79771e59e7741cc98aa6098117340106","impliedNodeFormat":99},{"version":"6753d4892e897fa8058bacb605c952a5","impliedNodeFormat":99},{"version":"7b5e88bf80b5ba880c64572dc4200389","impliedNodeFormat":99},{"version":"0de4e0f7d366d01613b7b19763c4f30f","impliedNodeFormat":99},{"version":"16e3b3bbbd6da954a0c577ac824f3d8f","impliedNodeFormat":99},{"version":"37d8cbe0516e9606eb8751931cc5b672","impliedNodeFormat":99},{"version":"e6b9029bad8c4ab48c81b4180787b63c","impliedNodeFormat":99},{"version":"da8be6d688a0415b01262cddfc8f0ff6","impliedNodeFormat":99},{"version":"67a3d3e0403cff76f78f3faeb9ab323a","impliedNodeFormat":99},{"version":"c5ad7843449543089892d46a837a78e0","impliedNodeFormat":99},{"version":"522165086fa6ebe3374eca93e63351f5","impliedNodeFormat":99},{"version":"ee90fb296b72f6fc0c788e9df34ac746","impliedNodeFormat":99},{"version":"55e6fab58be02e371a807d886203c4e0","impliedNodeFormat":99},{"version":"e5de7768c06418deb0160aa155a9d166","impliedNodeFormat":99},{"version":"ce5da034ef6be3cdd8c0bc1ac9c08850","impliedNodeFormat":99},{"version":"f35157e86ed4ef002daa358c0cde3cea","impliedNodeFormat":99},{"version":"bdaabe12a10a0ce652acb37dedb36b71","impliedNodeFormat":99},{"version":"c0665177108b4e9bf2e1e8759165d51e","impliedNodeFormat":99},{"version":"232b726954ebbb4283da4ba324fccbbf","impliedNodeFormat":99},{"version":"3ff30c8bc3fabaecbeff0f71be931c42","impliedNodeFormat":99},{"version":"679f4947d2a851f1ab57716afa335adb","impliedNodeFormat":99},{"version":"e6001ff233a68a6de1b7c825a5212b72","impliedNodeFormat":99},{"version":"0c4b5ad11eae9a0605b0802f755d66fa","impliedNodeFormat":99},{"version":"18290d512cefd333e40000ad72a8ea0c","impliedNodeFormat":99},{"version":"03ac6352dce1551c6520b3c7e7496702","impliedNodeFormat":99},{"version":"69e44a2cd9e4bab364bac23c6a753932","impliedNodeFormat":99},{"version":"4285cf74d9491b129220f13ae756ad1b","impliedNodeFormat":99},{"version":"0f34f29f2d11e2d47d0757e54c72da1b","impliedNodeFormat":99},{"version":"48639bd2285bcd157151057b6a70079d","impliedNodeFormat":99},{"version":"8f0e2549d4475e75e19d54bc07a70d9e","impliedNodeFormat":99},{"version":"b111aa39e904f6197c65fe0685817eb1","impliedNodeFormat":99},{"version":"e4e556f56e2e0bacacd3ee4c96e2e083","impliedNodeFormat":99},{"version":"737affbbee445f16558566bca128c01a","impliedNodeFormat":99},{"version":"a319093bfda4115de7f2c512aba34108","impliedNodeFormat":99},{"version":"3369d68b44c37295e91a1fe328d1d3b5","impliedNodeFormat":99},{"version":"9c6adb0d31898f14aacb163dcae8e910","impliedNodeFormat":99},{"version":"031af91efd31ac2b6e60c84f364f5e62","impliedNodeFormat":99},{"version":"88cb4b4e39d1019cbff05d3959262ba8","impliedNodeFormat":99},{"version":"6b2e4f9433f905001cf7ec5f3cd3e8b1","impliedNodeFormat":99},{"version":"2148101eae90ccd00065ac2b53101a3d","impliedNodeFormat":99},{"version":"4f0ed726536abdcb0e468da83febcb5d","impliedNodeFormat":99},{"version":"3e091a05ed8fa89bf2007819ff9005c6","impliedNodeFormat":99},{"version":"f6406000b1a5f1f4f08072ba1e72b065","impliedNodeFormat":99},{"version":"55548f8ba330d52c21f5f57268065baa","impliedNodeFormat":99},{"version":"99b8621e13678c3ce7c8d0b8c80a13d3","impliedNodeFormat":99},{"version":"9ea4b1b4deaaa507b49899627d00f422","impliedNodeFormat":99},{"version":"a93db027b30f930fc63ce47e583fd411","impliedNodeFormat":99},{"version":"088160cc020027b2badc20a33bf8082c","impliedNodeFormat":99},{"version":"0dc17751cafe9414c97a07c847ac3ecd","impliedNodeFormat":99},{"version":"13e8aaae921b74aaa05bf4204f568163","impliedNodeFormat":99},{"version":"6ef7092cea0bbfb2d8eaf1e0af42930a","impliedNodeFormat":99},{"version":"3c8e6bcfbfe4612bc67306bfd91e9a03","impliedNodeFormat":99},{"version":"6a2eefdcc9aea5b999f6be12fe7e3106","impliedNodeFormat":99},{"version":"3af6e0036d32d1191f752e49599d75dc","impliedNodeFormat":99},{"version":"af0d76aaba1e4e561369b149ca4c19f4","impliedNodeFormat":99},{"version":"af259ed5583e3f6839dfbd25d7def8c6","impliedNodeFormat":99},{"version":"0a2d76a85d23e7e9bfe23a9e34547038","impliedNodeFormat":99},{"version":"baf9893562de2472746897737836044d","impliedNodeFormat":99},{"version":"204bee05d4d4ed99453afc753c45f9a5","impliedNodeFormat":99},{"version":"42de410587666c28debfe5ada8251aee","impliedNodeFormat":99},{"version":"a989b39317bdd3f58d607ff9755b4dd3","impliedNodeFormat":99},{"version":"6e49ba0dde9b0c5b2f12af6b51609c7a","impliedNodeFormat":99},{"version":"5fc9ea9d814b78d88385269ad9dbbeaf","impliedNodeFormat":99},{"version":"b549ca662b14532d90934c945e9720bf","impliedNodeFormat":99},{"version":"b0652d8edf1f4ce822258ffc47746283","impliedNodeFormat":99},{"version":"09e5c7fb5210c56df9e079e38b731004","impliedNodeFormat":99},{"version":"162b25c6d12e10cdff283ed85931afb7","impliedNodeFormat":99},{"version":"06a492845d3eb12acdb0a817a7c4e6d5","impliedNodeFormat":99},{"version":"c1ffd0444e1d60668b14a0a44ef73937","impliedNodeFormat":99},{"version":"01a88d11559ab13af97b3ebda069965d","impliedNodeFormat":99},{"version":"f870ddc456fd7619c157bcc716887144","impliedNodeFormat":99},{"version":"646c44ef0adb00287a38184e09189977","impliedNodeFormat":99},{"version":"f149b4764f645a95bd90fa1039d124c8","impliedNodeFormat":99},{"version":"4a3ef073316deae14d0c45890dc6d8d5","impliedNodeFormat":99},{"version":"b5765931d1b58776cadf6c9cfec23a04","impliedNodeFormat":99},{"version":"fe1da0fa29c230ba936753e0ced5a42c","impliedNodeFormat":99},{"version":"3e4b274efeded4220ffec19da6847a50","impliedNodeFormat":99},{"version":"ae70cb96cda8febabd72c1b5e1a33720","impliedNodeFormat":99},{"version":"527f2ef374d209d9b4bd50050b12a2cf","impliedNodeFormat":99},{"version":"940ce01e94a68cab89a4a2e231422e91","impliedNodeFormat":99},{"version":"d81e21fb536e444ad844fb4144d608ba","impliedNodeFormat":99},{"version":"1c182d757f5163c7ae5b22c012db837d","impliedNodeFormat":99},{"version":"8e6e5178666c7bf5087f5125bfd5a3d6","impliedNodeFormat":99},{"version":"88d7626b19b971b9c7dde2ea72e46d4e","impliedNodeFormat":99},{"version":"a6aca4cd0e6e48ff0e99e0d1af0c132a","impliedNodeFormat":99},{"version":"a8b066d8ffa1b855d53c32b6d0341af7","impliedNodeFormat":99},{"version":"6b0393fc8ad159bc2b052f4c05293bbb","impliedNodeFormat":99},{"version":"6cd971bf128e27504f633f68b1d7ef55","impliedNodeFormat":99},{"version":"c7e31bad0959cc9679d67a55c53ee216","impliedNodeFormat":99},{"version":"745f867da91957022438b000f2fbded3","impliedNodeFormat":99},{"version":"a5e42238ec4ea72fa90b0dae0b9e54d1","impliedNodeFormat":99},{"version":"27ca2eae2653bc79aa01395890c62cad","impliedNodeFormat":99},{"version":"5598b977c98c18180e3ad2a7d66edf43","impliedNodeFormat":99},{"version":"abcaa12ad2a1975e09becd91d6cfddf2","impliedNodeFormat":99},{"version":"201d39664a956b242bb68ce04673917c","impliedNodeFormat":99},{"version":"561ac634ca5342855ee346bf3bd5d97d","impliedNodeFormat":99},{"version":"137b078451bcf92fe86a34bbff284125","impliedNodeFormat":99},{"version":"f2d31fa9d5b5db1c785c4774a08b2379","impliedNodeFormat":99},{"version":"fa45f59d190cbf1f02f06bb6b8e30dac","impliedNodeFormat":99},{"version":"fdfa10c632d634357f01d1e50eff66df","impliedNodeFormat":99},{"version":"a0e9e6ee6973796006628becab9f77b1","impliedNodeFormat":99},{"version":"5ccbb96e6ffd6120321c2be229bba752","impliedNodeFormat":99},{"version":"b0870d6a36d84ce73e3dc73e3aad7590","impliedNodeFormat":99},{"version":"9041d43e5627c55396c4fdf9f2111f80","impliedNodeFormat":99},{"version":"265add281d3751be9659db6d74bf27ce","impliedNodeFormat":99},{"version":"c058288f6b59904bf63da54a62f95cec","impliedNodeFormat":99},{"version":"1a1887fa7b5d4bccf57b472a04b17f83","impliedNodeFormat":99},{"version":"e9a707ce2503dfaaf4071d5683ae5134","impliedNodeFormat":99},{"version":"0f1bf3bae30b49bb33c891173710ea46","impliedNodeFormat":99},{"version":"89feb2e5b2ee1d6f98beea7fe7acfb0b","impliedNodeFormat":99},{"version":"018e486515b653da0b5cd78e45d0c32d","impliedNodeFormat":99},{"version":"7d1b0d292a49f5ab6500d51b60680d53","impliedNodeFormat":99},{"version":"e5feca95e5aa843821b7e0a6b3cd130a","impliedNodeFormat":99},{"version":"0f742b68a3b0f487e1b237f564310d6f","impliedNodeFormat":99},{"version":"c4e0634f289a723d28f18b808c7728eb","impliedNodeFormat":99},{"version":"cd3ab38dbebb01f852ee5f2c7a66b9ec","impliedNodeFormat":99},{"version":"8559e7d9c3dacf9c52988e2fec9a3b60","impliedNodeFormat":99},{"version":"b00652fe39df01b5267caa92c04842c6","impliedNodeFormat":99},{"version":"9707d2e6e3ccd2144be3a9d63e3db8d5","impliedNodeFormat":99},{"version":"1224c46a7aa4209b05c61e7dddc189b3","impliedNodeFormat":99},{"version":"9b24dcd7ce9a8258a21300158eede1e2","impliedNodeFormat":99},{"version":"8386ba1a078f9900a9f5daca9130df46","impliedNodeFormat":99},{"version":"a5f2ced2c1c736f08461ced44e405d14","impliedNodeFormat":99},{"version":"dbbc59dd2f7df5cdd494e69f67478a85","impliedNodeFormat":99},{"version":"fe20220d8e35ec5594423dc04e4f51f9","impliedNodeFormat":99},{"version":"f514d3b9293b57d6906c83476afb0eb1","impliedNodeFormat":99},{"version":"f3a6b3130ed0512a3418c5cceeb316c3","impliedNodeFormat":99},{"version":"e6a6e5809a2349f3b4b22cc285f07ba2","impliedNodeFormat":99},{"version":"b42e0342a14c4bbdd0afdc7a1b371195","impliedNodeFormat":99},{"version":"400606a877d164747aeaf3e1a0f683c3","impliedNodeFormat":99},{"version":"55c38356cf1168355a77e8628249eea9","impliedNodeFormat":99},{"version":"938789d788d3eaf142742d8f7d7e0427","impliedNodeFormat":99},{"version":"1f138cebb3a729a2ecdb956e2ba697d4","impliedNodeFormat":99},{"version":"46489449d024d3f67ee84ffbd239d25a","impliedNodeFormat":99},{"version":"9bbca6d77aafcd47f8dfc98c578ae51d","impliedNodeFormat":99},{"version":"552d1ec95f34fff1cec84c63ac9f1540","impliedNodeFormat":99},{"version":"e736f67e69b6fb4ad3a58bf3ddf41f64","impliedNodeFormat":99},{"version":"fba87569eb5b1656e1ff92d2363fee75","impliedNodeFormat":99},{"version":"7abe2a402423dec3a4dfe83cfec54b21","impliedNodeFormat":99},{"version":"6b9f9e5ed2fa1cca8e06d9cdae2deae1","impliedNodeFormat":99},{"version":"58f727ae55eb489b85c9ff34d996ac43","impliedNodeFormat":99},{"version":"bc3cb2c87adaab2f5fc05dadb9684199","impliedNodeFormat":99},{"version":"63f9d1820c55afc9d348aef2ac26f4d6","impliedNodeFormat":99},{"version":"9156d9a09132487227d730165eaa710f","impliedNodeFormat":99},{"version":"c7c9e47746f6b40188df2ea51054e9cd","impliedNodeFormat":99},{"version":"56daf06812f4fa9cfe76f3d3531ded8b","impliedNodeFormat":99},{"version":"24a36119769465266aee91bf372ac1b6","impliedNodeFormat":99},{"version":"302e3b491052ea22b69a31fe45a83599","impliedNodeFormat":99},{"version":"51023cd1e9bd2235e227a560373a5fa7","impliedNodeFormat":99},{"version":"e8e2244db66c9175a9ff6691c549738d","impliedNodeFormat":99},{"version":"6fcea6f1040b0e047efccd11b222a5c6","impliedNodeFormat":99},{"version":"6e0359600808a5d06dc27f2cbb956069","impliedNodeFormat":99},{"version":"2ef5f070a84bf2d09f8c82ad27f3ec97","impliedNodeFormat":99},{"version":"6e1b80c4610ab42bf8f863139e0caafc","impliedNodeFormat":99},{"version":"edcb089e4760d016bf37a9e9e31e4ada","impliedNodeFormat":99},{"version":"c4609760b7e14256d4d3bceef6b46477","impliedNodeFormat":99},{"version":"ea00716968bbc3c628890115d08829ae","impliedNodeFormat":99},{"version":"a3979a1364d9a68c43718c0b8e69da27","impliedNodeFormat":99},{"version":"472dcc101c3edc342059b316561ff3c0","impliedNodeFormat":99},{"version":"879816f8e1d46cef211a6402a08c3f93","impliedNodeFormat":99},{"version":"023cbcef1298a5fb7347b3c16a84c38e","impliedNodeFormat":99},{"version":"4a5c0cab132a7c293fc46bc8b4a44002","impliedNodeFormat":99},{"version":"5f34e102bba52eda9e24dda5ce76591b","impliedNodeFormat":99},{"version":"7f5c95edfc47b70c4bfa9de2a92ad6a2","impliedNodeFormat":99},{"version":"9035bfe891763051e9f3c3682e13e3f0","impliedNodeFormat":99},{"version":"8f00d5ae5d5bbd84261da82b9fb27465","impliedNodeFormat":99},{"version":"80c50ec8ae4595e2ca53407d1e97d104","impliedNodeFormat":99},{"version":"ef9b9f3b9a611a2101f0ad983cdfa028","impliedNodeFormat":99},{"version":"97d1db699e2c534dcbe349816f9d0de0","impliedNodeFormat":99},{"version":"cc893fe79667a767a1a44734f08afad0","impliedNodeFormat":99},{"version":"f50f9350093e9a6ea0a0296186f4c745","impliedNodeFormat":99},{"version":"e3d2b96759354707b3e20ed6b4fdd96f","impliedNodeFormat":99},{"version":"5ae09e834e3d78465634bcc2f66ecb9c","impliedNodeFormat":99},{"version":"76e8e5d2e6dcb1d6cf64d709c1362426","impliedNodeFormat":99},{"version":"5d7ea8027b199679269d4e3c981b7c07","impliedNodeFormat":99},{"version":"2539629086caea94e075f99198981df7","impliedNodeFormat":99},{"version":"c13dc61cf3a847a406c842ff57746edf","impliedNodeFormat":99},{"version":"ddcc1641a31a2413c1e07fc8e0f16277","impliedNodeFormat":99},{"version":"d2f863ad69af120aff4d8b4ffbdf1d5c","impliedNodeFormat":99},{"version":"78cae49c2df9d5008bb511ede5bf6279","impliedNodeFormat":99},{"version":"e8485fb113ddb0bdc93416f9ae4ba1c7","signature":"a0cecfa16531e358a97951d01002453b","impliedNodeFormat":1},{"version":"acb93a9b760adaafe3ffa70192a03ce4","signature":"6b88f89e802c54415c7a01d357f83efb","impliedNodeFormat":1}],"fileIdsList":[[133,134],[135],[134,135,136],[132],[176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,217,218,219,220,221,222,223,226,227,228,229,230,231,232,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390],[207],[188,193,195,196,197,212,216],[183,195,199,235,346],[226],[227],[195],[194,195,196,197],[193,200,206,228,230,231,235,263,266,299],[195,208,231,235,262],[194,195,235],[308],[235,359],[195,235,360],[235,360],[236,293],[195,196,290,292],[186,200,235,240,247,294],[193,293],[203,217,235,359],[195,235,359,363],[235,359,363],[183],[306],[176,183,200,223,235,319],[200,235],[188,193,194,196,200],[195,196,197,333],[183,194,196,199,223],[188,193,211,212,216,223,228],[188,194,196,200],[195,333],[208,236],[181,235,264,267,318,376],[230],[200,206,212,228,229,235],[190],[324],[191],[329],[188],[186],[193],[222],[223],[200],[263,337],[195,206,208,229,235,262],[193,194,195,196],[199],[196,197,198,215,216,224,225,233,234],[188,215,221,223],[195,196,206],[176,183,188,191,193,194,196,199,200,203,207,215,224],[198,208,209,214],[195,206,230,232],[176,188,193,195],[196,216],[204,206,235],[193,196,216,217,218,219,220],[188,200],[188,189,196],[188,193,194,195,235],[193,200],[188,196,323],[180],[178,180,186,188,193,195,206,223,235],[235,359,363,367],[235,359,363,365],[182],[194,195,196,333],[231],[201,315],[176],[195,201,202,203,235,240,247,248,249,250],[194,199,200,201,202],[200,262],[192,237],[193,196,199],[204,205],[189,191,193,194,196,199,201,202,216],[193,195,200,235,250,264,266,267,270],[189],[210],[211],[203],[180,267],[193,235],[194,203,223,235],[235,360,369],[188,193,195,228,230,235,263],[182,193,195,199,208,235,250,264],[235],[323],[208],[193,194,196,212,216,217],[190,191,196,201,221,282,283,324],[188,193,194,235],[188,193,194,235,236],[188,193,194,235,253],[193,199,235],[188,190,195,196,199,216,223],[235,359,363,372],[199,235],[188,195,199,207,235,264,270,285,286],[199,235,236],[195,223,235],[188,195,207,235,250,261,264,270,283],[194,195,199,235,236],[193,195,235,317],[193,195,199,235,256],[195,235,247],[186,194,256],[194,195,196,197,216],[212,217,228,235],[191,199],[213],[181,206,218],[213,298,300],[196,212,216,217],[196,206],[177,178],[206,208,229,232,235],[206,208,229,235,262],[278],[181,194,195,196,206],[188,194,195,291],[177],[270],[193,195,196,206],[182,193],[193,195,268,269],[196],[235,352,353],[199,236],[196,212,228],[90,153],[129,131,146,153],[90,103,129,131,138,146,149,151,153,154],[103,129,152,155],[103],[103,129,152],[129,152],[103,129,149,152,154],[103,148,152,161],[90,103,129,131,146,152,154],[149,150],[89,90,130,131,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,392],[89],[89,90,129,130,146,152],[89,90,130],[90,103,129,131,146,147,149,152,166],[131,144,145,146,149,167,171],[90,131,144,145,146,147,148,151,152],[131,144,145,146,149],[146,149,169],[89,130,137,142,143,144,146,149],[90,130,137,146,152],[142,143,144,146],[89,129],[129,130,131,137,138,141,142,143,144,145,147,149],[129,138,145,146,149],[142,143,146],[391],[133,138,139],[129,138,139,140],[139,141],[133],[133,140],[133,138,139,140],[138,139,140],[140],[91,105,106],[91,105],[109,110],[92,103],[91,104],[91,92,105,106],[91,105,106,113],[91,103,105,106],[91,92,105,106,115],[91,106,116],[91,92,103,104,105,106],[91,104,105,106,120,121],[91,115,116,122],[91,92,104,105,106,107,108,109,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128],[91],[92,110],[91,92,125],[94],[94,98],[93],[93,94,95,96,97,98,99,100,101,102]],"options":{"composite":true,"declaration":true,"declarationDir":"./@types","inlineSources":true,"module":199,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":false,"stripInternal":true,"sourceMap":true,"target":4,"tsBuildInfoFile":"./tsconfig.tsbuildinfo","esModuleInterop":true},"referencedMap":[[135,1],[136,2],[134,2],[137,3],[133,4],[391,5],[229,6],[226,7],[347,8],[227,9],[228,10],[319,11],[357,12],[300,13],[266,14],[249,15],[310,16],[360,17],[362,18],[361,19],[294,20],[293,21],[296,22],[295,23],[363,24],[367,25],[365,26],[184,27],[185,27],[307,28],[320,29],[236,30],[268,31],[335,32],[356,33],[290,34],[390,35],[334,36],[302,37],[380,38],[231,39],[230,40],[326,41],[328,42],[192,43],[331,44],[339,45],[187,46],[340,47],[349,48],[341,49],[194,47],[379,50],[338,51],[337,52],[197,53],[234,54],[235,55],[224,56],[225,57],[216,58],[215,59],[233,60],[196,61],[219,62],[205,63],[221,64],[352,9],[355,45],[218,62],[189,45],[354,45],[323,65],[327,66],[217,62],[220,62],[291,67],[256,68],[223,48],[353,9],[330,69],[312,70],[311,71],[364,26],[368,72],[366,73],[183,74],[381,75],[299,39],[232,76],[316,77],[267,78],[251,79],[203,80],[303,81],[304,81],[238,82],[286,83],[206,84],[246,85],[271,86],[190,87],[211,88],[212,89],[322,90],[386,91],[258,92],[272,93],[369,19],[371,94],[370,94],[264,95],[265,96],[274,97],[324,98],[321,99],[383,100],[384,100],[325,101],[377,97],[254,102],[237,103],[253,102],[255,104],[261,105],[191,41],[314,106],[375,107],[345,108],[287,109],[281,110],[309,111],[282,110],[284,112],[283,113],[308,49],[348,114],[346,115],[250,116],[257,117],[372,26],[374,72],[373,73],[210,7],[333,118],[376,119],[332,120],[214,121],[378,122],[301,123],[213,124],[207,125],[313,126],[262,127],[263,128],[279,129],[209,97],[208,130],[292,131],[178,132],[273,97],[358,133],[317,134],[269,135],[270,136],[260,137],[359,138],[245,97],[329,42],[244,139],[351,140],[154,141],[147,142],[152,143],[156,144],[155,145],[157,146],[158,146],[159,147],[160,147],[161,147],[162,148],[163,147],[164,147],[165,149],[148,150],[151,151],[393,152],[90,153],[153,154],[131,155],[167,156],[172,157],[149,158],[168,159],[170,160],[145,161],[138,162],[166,163],[130,164],[171,163],[146,165],[144,166],[169,167],[392,168],[140,169],[173,170],[175,171],[142,172],[139,173],[141,174],[174,175],[143,176],[107,177],[106,178],[111,179],[104,180],[105,181],[115,182],[114,183],[118,184],[119,185],[117,186],[116,187],[122,188],[123,189],[129,190],[113,191],[124,191],[92,191],[127,191],[125,192],[126,191],[121,178],[120,191],[108,178],[128,193],[112,145],[96,194],[102,195],[101,195],[100,195],[95,194],[98,194],[99,195],[94,196],[97,194],[103,197]],"latestChangedDtsFile":"./@types/index.d.ts"}
1
+ {"version":"7.0.2","root":[[89,90],[130,131],[138,176],[393,394]],"packageJsons":["../../../node_modules/.pnpm/@babel+types@8.0.6/node_modules/@babel/types/package.json","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/package.json","../../../node_modules/.pnpm/@journeyapps+common-utils@2.0.0/node_modules/@journeyapps/common-utils/package.json","../../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/package.json","../../../node_modules/.pnpm/tagged-tag@1.0.0/node_modules/tagged-tag/package.json","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/package.json","../package.json","../../expressions/package.json","../../type-system/package.json"],"missingPackageJsons":["../../../node_modules/.pnpm/@babel+types@8.0.6/node_modules/@babel/types/lib/package.json","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/dist/@types/package.json","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/dist/package.json","../../../node_modules/.pnpm/@journeyapps+common-utils@2.0.0/node_modules/@journeyapps/common-utils/dist/@types/package.json","../../../node_modules/.pnpm/@journeyapps+common-utils@2.0.0/node_modules/@journeyapps/common-utils/dist/package.json","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/package.json","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/package.json","../../../node_modules/@types/lodash/package.json","../../../node_modules/lodash/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.es2023.d.ts","lib.es2024.d.ts","lib.es2025.d.ts","lib.esnext.d.ts","lib.dom.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2023.array.d.ts","lib.es2023.collection.d.ts","lib.es2023.intl.d.ts","lib.es2024.arraybuffer.d.ts","lib.es2024.collection.d.ts","lib.es2024.object.d.ts","lib.es2024.promise.d.ts","lib.es2024.regexp.d.ts","lib.es2024.sharedmemory.d.ts","lib.es2024.string.d.ts","lib.es2025.collection.d.ts","lib.es2025.float16.d.ts","lib.es2025.intl.d.ts","lib.es2025.iterator.d.ts","lib.es2025.promise.d.ts","lib.es2025.regexp.d.ts","lib.esnext.array.d.ts","lib.esnext.collection.d.ts","lib.esnext.date.d.ts","lib.esnext.decorators.d.ts","lib.esnext.disposable.d.ts","lib.esnext.error.d.ts","lib.esnext.intl.d.ts","lib.esnext.sharedmemory.d.ts","lib.esnext.temporal.d.ts","lib.esnext.typedarrays.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../src/source/SourceReference.ts","../src/input/AttributeInput.ts","../../expressions/dist/@types/tokens/AbstractToken.d.ts","../../expressions/dist/@types/tokens/code/CodeToken.d.ts","../../type-system/dist/@types/Formatter.d.ts","../../type-system/dist/@types/Type.d.ts","../../type-system/dist/@types/ObjectType.d.ts","../../type-system/dist/@types/ArrayType.d.ts","../../type-system/dist/@types/UnknownType.d.ts","../../type-system/dist/@types/ScalarType.d.ts","../../type-system/dist/@types/TextType.d.ts","../../type-system/dist/@types/NumberType.d.ts","../../type-system/dist/@types/IntegerType.d.ts","../../type-system/dist/@types/BooleanType.d.ts","../../type-system/dist/@types/index.d.ts","../../expressions/dist/@types/definitions/ValidationContext.d.ts","../../expressions/dist/@types/expressions/AbstractExpression.d.ts","../../expressions/dist/@types/ExpressionParser.d.ts","../../expressions/dist/@types/CombinedParser.d.ts","../../expressions/dist/@types/utils/parserUtils.d.ts","../../expressions/dist/@types/code-parsers/CodeParser.d.ts","../../../node_modules/.pnpm/@babel+types@8.0.6/node_modules/@babel/types/lib/index.d.ts","../../expressions/dist/@types/code-parsers/JavaScriptParser.d.ts","../../expressions/dist/@types/utils/valueFormatting.d.ts","../../expressions/dist/@types/expressions/constant/ConstantExpression.d.ts","../../expressions/dist/@types/tokens/DelimiterToken.d.ts","../../expressions/dist/@types/expressions/ListExpression.d.ts","../../expressions/dist/@types/expressions/EvaluatedExpression.d.ts","../../expressions/dist/@types/expressions/shorthand/ShorthandExpression.d.ts","../../expressions/dist/@types/expressions/shorthand/FormatShorthandExpression.d.ts","../../expressions/dist/@types/expressions/function/FunctionExpression.d.ts","../../expressions/dist/@types/tokens/text/TextToken.d.ts","../../expressions/dist/@types/tokens/text/PlaceholderToken.d.ts","../../expressions/dist/@types/expressions/text/AbstractFormatExpression.d.ts","../../expressions/dist/@types/expressions/text/FormatStringExpression.d.ts","../../expressions/dist/@types/tokens/EnumToken.d.ts","../../expressions/dist/@types/tokens/code/JSToken.d.ts","../../expressions/dist/@types/tokens/code/PrefixToken.d.ts","../../expressions/dist/@types/tokens/code/IdentifierToken.d.ts","../../expressions/dist/@types/utils/tokenUtils.d.ts","../../expressions/dist/@types/index.d.ts","../src/parsed/ParsedDiagnostic.ts","../src/input/NodeInput.ts","../../../node_modules/.pnpm/@journeyapps+common-utils@2.0.0/node_modules/@journeyapps/common-utils/dist/@types/BaseObserver.d.ts","../../../node_modules/.pnpm/@journeyapps+common-utils@2.0.0/node_modules/@journeyapps/common-utils/dist/@types/index.d.ts","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/dist/@types/TreeNode.d.ts","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/dist/@types/TreeEntity.d.ts","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/dist/@types/TreeException.d.ts","../../../node_modules/.pnpm/@journeyapps+common-tree@3.0.3/node_modules/@journeyapps/common-tree/dist/@types/index.d.ts","../src/parsed/ParsedAttribute.ts","../src/values/ParsedProviderValue.ts","../src/values/AbstractValueProvider.ts","../src/values/ParsedValue.ts","../src/values/ParsedNodeValues.ts","../src/values/ValueProviderContext.ts","../src/parsed/ParsedNodeTypes.ts","../src/parsed/ParsedArrayNode.ts","../src/parsed/ParsedNode.ts","../src/ParseEvent.ts","../src/attributes/TextAttribute.ts","../src/nodes/Node.ts","../src/entities/AbstractEntity.ts","../src/entities/CommonEntity.ts","../src/attributes/Attribute.ts","../src/input/AttributeParseContext.ts","../src/AttributeParseEvent.ts","../src/attributes/ConditionType.ts","../src/attributes/BooleanAttribute.ts","../src/attributes/ConstantBooleanAttribute.ts","../src/attributes/ConstantTextAttribute.ts","../src/attributes/ExpressionAttribute.ts","../src/attributes/FunctionAttribute.ts","../src/attributes/EnumValueType.ts","../src/attributes/MultiEnumAttribute.ts","../src/attributes/NumberAttribute.ts","../src/attributes/PathAttribute.ts","../src/attributes/EnumAttribute.ts","../src/attributes/TextArrayAttribute.ts","../src/parsed/ParsedContentNode.ts","../src/nodes/ContentNode.ts","../src/nodes/NodeAlternatives.ts","../src/parsed/ParsedRecordNode.ts","../src/nodes/RecordNode.ts","../src/parsed/ParsedEitherNode.ts","../src/nodes/EitherNode.ts","../src/values/ConstantExpressionValueProvider.ts","../src/values/ParserDefaultValueProvider.ts","../src/values/MappedParsedProviderValue.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/primitive.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/find-global-type.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/typed-array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/basic.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/json-value.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/characters.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/union-to-intersection.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/keys-of-union.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/distributed-omit.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/distributed-pick.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/empty-object.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if-empty-object.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-any.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-optional-key-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/optional-keys-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/required-keys-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/has-required-keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-never.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/unknown-array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/type.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/characters.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/simplify.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-equal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/omit-index-signature.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/pick-index-signature.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/merge.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-float.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-integer.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/numeric.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/string-to-number.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/tuple-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/trim.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/some-extend.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/or-all.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/or.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/string-to-array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/string-length.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/string.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/object.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-string-literal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-numeric-literal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-boolean-literal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-symbol-literal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-literal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-null.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-unknown.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/numeric.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/all-extend.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/and-all.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/and.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/absolute.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/greater-than.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/greater-than-or-equal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/less-than.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/tuple.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/enforce-optional.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/index.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/except.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/require-at-least-one.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/non-empty-object.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/non-empty-string.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/unknown-record.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/unknown-set.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/unknown-map.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/tagged-union.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/writable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/writable-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/object-merge.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-simplify-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/non-empty-tuple.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-tail.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/simplify-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/merge-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/merge-exclusive.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/require-exactly-one.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/require-all-or-none.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/require-one-or-none.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-union.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/single-key-object.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/partial-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/unwrap-partial.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/unwrap-required.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/required-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/subtract.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/sum.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/paths.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/pick-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-splice.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/literal-union.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/exclude-exactly.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/union-member.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/union-to-tuple.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/omit-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/partial-on-undefined-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/undefined-on-partial-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/readonly-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/promisable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/arrayable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/optional.d.ts","../../../node_modules/.pnpm/tagged-tag@1.0.0/node_modules/tagged-tag/index.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/tagged.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/invariant-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-optional.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-readonly.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-required.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-required-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-non-nullable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/non-nullable-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-non-nullable-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/value-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/async-return-type.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/extends-strict.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-tuple.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/tuple-to-object.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-except.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-pick.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-pick-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/stringified.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/join.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/less-than-or-equal.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-slice.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/string-slice.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/fixed-length-array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/multidimensional-array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/multidimensional-readonly-array.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/iterable-element.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/entry.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/entries.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-return-type.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-parameter-type.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/asyncify.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/jsonify.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/jsonifiable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/structured-cloneable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/schema.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/literal-to-primitive.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/literal-to-primitive-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/union-max.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/key-as-string.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-element.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/exact.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/readonly-tuple.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/override-properties.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-readonly-key-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/readonly-keys-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/rename-keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/has-optional-keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-required-key-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/has-readonly-keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/writable-keys-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-writable-key-of.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/has-writable-keys.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/spread.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/split-on-rest-element.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/extract-rest-element.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/exclude-rest-element.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/tuple-to-union.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/int-range.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/int-closed-range.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if-any.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if-never.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if-unknown.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-indices.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-values.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-length.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/set-field-type.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/shared-union-fields.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/all-union-fields.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/shared-union-fields-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if-null.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-undefined.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/xor.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-lowercase.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-uppercase.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-optional.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-nullable.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/exclusify-union.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/array-reverse.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/union-length.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/words.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/camel-case.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/camel-cased-properties.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/camel-cased-properties-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/delimiter-case.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/kebab-case.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/delimiter-cased-properties.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/kebab-cased-properties.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/pascal-case.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/pascal-cased-properties.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/snake-case.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/snake-cased-properties.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/snake-cased-properties-deep.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/screaming-snake-case.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/split.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/replace.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/string-repeat.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/includes.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/get.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/last-array-element.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/conditional-simplify.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/remove-prefix.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/remove-suffix.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/global-this.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/package-json.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/tsconfig-json.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/extract-strict.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/exclude-strict.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/extract-exactly.d.ts","../../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/index.d.ts","../src/utils/types/valueOf.ts","../src/index.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7","9443a7f109277ffaa79d893ed2549995","793cee405385076e27c24f409659dccd","09f69c6610266eaee1ac9e3e30df2c71","62bad718844246b8e17547f37bad6085",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8cf777fe00349b71ee9c4b6f3fe7fd19","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"74f96bc192530c9723f572bfff3d3078","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1df91c56b25955c56387426f378173c5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"38856f70edcd2115c355d96ec77cc09e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"de8700156c1275465bcd473c28b359aa","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d47cfdb6ede40518357bb5a4cd7cd9fb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6e5773860cd9e5b15e683113f642ab47","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"30ff5fe1682f7fcd629880476ca3c2e0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bf23d7d1b40b9015b694ddc2f011752f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2cc585d42e2c548f9f24a30a1989fd33","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"713906ce9d332d2242b7f05ed9304be3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0219894bfe5042c7e1aa2d22e4a91ed0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6009ffff7e43c93318804d2d28e37fe3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"03be89b227587594fbb50509fc1c2e45","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b30df52dc24740c0bad7c55c3511df7d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ab8d3c9b5ed5c2ab8f383607eef439f0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d950ec671d0a8e07f3c1a31e94abed86","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1abef2ace5eccb02d60dd73cd5a5ee4c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f5f0a3044029d1cc081b5887eb4deb07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d57c697f1446940ec4bfe669c962e2c4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"be41035d7b941482a1e1ae6a5c5dcca5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"10f7d9da7564f27f8ddf4a162b6da6d3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1d0520af549e0c3581f15173cc713ca1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d65083f97fd741cff028472563eddb79","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"da7f24f00653ebac660ac1c0821ed33d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7cb5ae9e65516ea2235f0721f6aac43c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4e82c73a125c635a104877f363f76c77","signature":"e081daf8d8de48311f44ad65f7d3d948","impliedNodeFormat":1},{"version":"3af7f72746f715af81723f11ea1b05c7","signature":"846b5a3997bf9efa962bb4ca72575634","impliedNodeFormat":1},"510b0b622fafd6eff2bf5d020de046ee","968dbf07ccc13a1a84f319c26e9909b3","e5fb7990b84f5089ba92554ea3614810","770ee32ef332fd48bfef508442b30edb","5c1b5931ee0c894699ca56f5b573f88a","e37fe31d1631404aaee1668c9a2acfdd","89b6053090a8d01f57cb8f521fae777d","26302a8b72d74f944dcf8f6452e54f7c","bc95bdb594a5aece18248fbf4387dd2e","90125a76f2ae701181f7e09dea41f3ad","ac52bb76ccad935a013384d2a71ab267","2c96eeb69afb823580d4e1e5f1b188e0","c06213bcb24cd658dfcd1239777159bd","84519ebe510a4219ef71e5a0a973c591","0c68f6d853b53c3d34189f5c99c4b624","18408a4ba98e42e70324ba5c0b71f379","d6ca1e855d5b6554555a009a40e806a2","92d25cb01f547225fee7d19311179220","e78cf9dc5bca6011a220581f56da19cb",{"version":"3575b2b8e50b5a5b3acce219e08900c5","impliedNodeFormat":99},"25aba7d58ecafcf7098f9bcca63ea72a","90506d77482148f93c56044616613958","c3b9b5f9be217e9fabbfc9f5b48da439","ae63a2414b6a326b93ee65bba693d617","a950824f78fe1cb40eeff5cf89a2245d","cc36a10654ee721a890569de343ee4a0","81bde6b904e09fb337a80f52526d0c49","61b4c95d7a2ba531a5faae6b4e0694f1","be6a700c7b2a3007e5ff5eccccd1e6ca","f25290e9ca5aee09a0210e2a454437f8","cf3121ca4479d3afdaceb690d14cf086","c115de0a80c101e99244da31e79527d1","cabc47d72ba300dd603c14a7bb2b7cde","57845437bcd4011990eb52478f02c4a0","354fc88481ff608fcbbfaf7851a29043","bf6d579deb9596ec514083ea94789be0","3058c9c4ad1200a2ff62094072deed53","d33a7d16b8bb10392237228466f959f8","4678acee57e4a32f080f3a53600abf18",{"version":"69401298c6072875b8638fc9314cadae","signature":"a70e44bfb403fe35764bb9f97c122f26","impliedNodeFormat":1},{"version":"1e1e797992475b500f232b521136ba8e","signature":"8ab3ef02ffeb2b9d424ad8d6a5fc1e23","impliedNodeFormat":1},{"version":"86d0332da2287be4358cf0dce9bd3632","impliedNodeFormat":99},{"version":"fa1bb9cb3594d480e4d6359e3ed6dff7","impliedNodeFormat":99},{"version":"e95cc6c1f7c52fa776298918052732c1","impliedNodeFormat":99},{"version":"45d2422c7de944cebbdc48acd1df89c5","impliedNodeFormat":99},{"version":"b7981d521f4e48e79801dc3f4b5a56eb","impliedNodeFormat":99},{"version":"8e226c2bbc2a8d9cf9ef448b03544388","impliedNodeFormat":99},{"version":"11ba97a4bda104ce7825afa64bcc27f7","signature":"4a4321c94b260a14026ccb394b4301cf","impliedNodeFormat":1},{"version":"7a4e5ebc42f6cfa3c4dafc939f814455","signature":"c53d74683a99d78a4e8e5c99695198d1","impliedNodeFormat":1},{"version":"eeb5aec69533c494d5643e47f8da46e9","signature":"d37edeca7dfadc15526edf81105d9f67","impliedNodeFormat":1},{"version":"9fa086fcfd802865fb0c0f5e2f463201","signature":"dfaeb89f273a1f45bfd2544070937be3","impliedNodeFormat":1},{"version":"32ec0fd18055068ff7b84de70bb2ad73","signature":"66027e1ad1ff50d808a9c86deebf5a3c","impliedNodeFormat":1},{"version":"b0df84d952d8fb5333290b706279e8b1","signature":"1bd8a286bf18355cfc2f2415da0a8f40","impliedNodeFormat":1},{"version":"084cd5eb75e7af3c1a2134c5c13d8aac","signature":"253c1e7a4c065655399605aac43ac8cd","impliedNodeFormat":1},{"version":"3dc8dfdec942268c84a648e50d16aca0","signature":"e912f1f943a2c9f337e1caeac4c62ac6","impliedNodeFormat":1},{"version":"7cb3d1d355ab37904f0d7e4af56f2ee7","signature":"d2af90fbd9f6586cb9a391311fccda4d","impliedNodeFormat":1},{"version":"ff39994282ec1d8880e9bfa98d224ab6","signature":"551c35a469df9caff03939dc24ccb70f","impliedNodeFormat":1},{"version":"7734b3bdeaa568958a9dd6ab1dc4a7a0","signature":"9f14b3c1cc849f823a23594a8fa20975","impliedNodeFormat":1},{"version":"cf7ba446ebb1afc734ee8cbfb2716d54","signature":"59902547b61eb9d41c8bb7feed7b66d6","impliedNodeFormat":1},{"version":"57484282fdf9d308df19d08c2d015d8c","signature":"3a934ca63bb31c21337955b6788732ba","impliedNodeFormat":1},{"version":"b0551bfc07167379e0b333ed34256931","signature":"d4e4d9054b3802c612753c453cbf21d1","impliedNodeFormat":1},{"version":"a19f5cab125aeea8f3866ca8a7746dc7","signature":"a35067001f4afd9c93c8e2fd1d99073a","impliedNodeFormat":1},{"version":"ee92a867349b8b000ea5005e6f5375a2","signature":"01df18b24674b77a06afb4db456784c8","impliedNodeFormat":1},{"version":"c53b3e99f3be64d362a9d8310fb92c72","signature":"653d2b05ff8185f6cf0d6a8c3c39312b","impliedNodeFormat":1},{"version":"26384b25cce01fb048ea23ce8cd6fb3f","signature":"cbfc258e062c672bbef956a12ea0096b","impliedNodeFormat":1},{"version":"ece95707b6d590d0e48da7e535d330a3","signature":"788f20a830af0d364f8b1193b4db64bf","impliedNodeFormat":1},{"version":"04573a22422ac97a0f41bfc7d2af260c","signature":"6da0c02193fe1880020d9c5a62d99f0a","impliedNodeFormat":1},{"version":"ac0aafeb2e1d4026693b811906e5a2b2","signature":"70875e6214207c0705d07a761e620012","impliedNodeFormat":1},{"version":"b509c084dd42a78cf7067c88bbe6ff70","signature":"8633a6747b21b13b2d1e5afd5289cf40","impliedNodeFormat":1},{"version":"808ff478fd923a27a901b1a3635461dc","signature":"e83c2c379d9265cc921299aa7418ec90","impliedNodeFormat":1},{"version":"0639d0f6a4cc1e4c91feba3176795e34","signature":"06f3949b7121a0cac20c3034e7c5f188","impliedNodeFormat":1},{"version":"f93c48454f6d10875519a74720ce5cfe","signature":"24f712fd9bf0e5d7357fc7c784c61006","impliedNodeFormat":1},{"version":"f6f107618dee896d452d20feb49df9b2","signature":"36d13054ac0819951dbf0331abd4d5be","impliedNodeFormat":1},{"version":"7a1d39da9554a7b5a8528082523225b3","signature":"a5c698829a1bb92ecb6e67772861e871","impliedNodeFormat":1},{"version":"e2abe6f590c0292f05c657b05499d126","signature":"3c6e56165683e5a2bdc967618b5f2be9","impliedNodeFormat":1},{"version":"15e324fdcc6fc78db67904f6f1e98613","signature":"48b7ad5eba10d605bb45eb1d493ba167","impliedNodeFormat":1},{"version":"0ff9b1c3391ab0fffcd82675739f419d","signature":"df590f602df7a22916a886b97d644903","impliedNodeFormat":1},{"version":"25418899e256491f5d6fa18c865d7aa5","signature":"68554595074fbb8aed8ed6ad0bdbcba2","impliedNodeFormat":1},{"version":"582c7df20b48798b6b7f0e4dea5d9587","signature":"b50e07aa34437f8d45b08613cf71fa23","impliedNodeFormat":1},{"version":"7aa171a105f6d1a7bee26370d3bc033a","signature":"8a0e23453832a4dbf725e7962e2f1fa6","impliedNodeFormat":1},{"version":"133115e3881afbf1718a609ebee5ac64","signature":"fd81162119f6f5997c5986cfd02c5600","impliedNodeFormat":1},{"version":"32cfb39d3c78e164a8099ce5d6716a37","signature":"3d29d8072bc6d38449be5aca0108ae34","impliedNodeFormat":1},{"version":"4fe7fea99302c52701c7bbfaba610eed","signature":"dd7d9834837efd8bc5609d97362b589c","impliedNodeFormat":1},{"version":"40a8a4a5cf90d98e10ce325f564fd423","signature":"8405522cd62175d50e8e191992363a9c","impliedNodeFormat":1},{"version":"7e7a4a7f139becba7a43143ecd3a6018","signature":"4b804a5b57056316b89069afb8007135","impliedNodeFormat":1},{"version":"7c543f77a059948f43f26d093a47ca4f","signature":"5332fc9587dd3f2465ff176777bd9584","impliedNodeFormat":1},{"version":"6b5c96b398c7d3a18c9d11bbbc8d6177","impliedNodeFormat":99},{"version":"1003b7f9c4c62494224bc8de367e9efa","impliedNodeFormat":99},{"version":"2bdf29001e1930f8532b29c2a6e5defd","impliedNodeFormat":99},{"version":"58805ac51ac772d83a8c5d3769ed844b","impliedNodeFormat":99},{"version":"53afc946ae451bd05acd5b26932f0079","impliedNodeFormat":99},{"version":"ccbb1a3f86599116506989830500a2ad","impliedNodeFormat":99},{"version":"f3776c2f21099030e31e7e78d94a449a","impliedNodeFormat":99},{"version":"9815a8577e926b1af16aaf2c664c0cba","impliedNodeFormat":99},{"version":"8d49b30ba4dda2064939ae71ec8d8d47","impliedNodeFormat":99},{"version":"3c4e53d61b72f43c7532f5a67d2e87e2","impliedNodeFormat":99},{"version":"05fbc8f7e43ff68c6ec4968792310f81","impliedNodeFormat":99},{"version":"ffa19dfbe8db687d5f8403f50bfa21c5","impliedNodeFormat":99},{"version":"b449f7969400274e0e59664d07ea8a37","impliedNodeFormat":99},{"version":"1ecaff689cb33488a9c8a352c695cb23","impliedNodeFormat":99},{"version":"0bd9e460e3d3f3542dcb32d2379faf0e","impliedNodeFormat":99},{"version":"5b8094ad0d655bed94f7449abc3f47e7","impliedNodeFormat":99},{"version":"de503ea3d284612d36186b40596cab49","impliedNodeFormat":99},{"version":"e9d75b5f11c85b761f8eb73e694b9e43","impliedNodeFormat":99},{"version":"f6b7772ce6a31983e1066aa09fb5b765","impliedNodeFormat":99},{"version":"91c07f017e1b37a11e8e98380e4d722f","impliedNodeFormat":99},{"version":"14152a9f260612a3d62ea59894855502","impliedNodeFormat":99},{"version":"6d4014093d8479da13a8f7b77d473608","impliedNodeFormat":99},{"version":"39458965852116d0ae49f9bde53d3433","impliedNodeFormat":99},{"version":"5b7e614809ca8a43bd78c6622e4ddb57","impliedNodeFormat":99},{"version":"ec5e121a16862b00ada0de6f6341fa3e","impliedNodeFormat":99},{"version":"b9d0181d64e76b25e070efd37b023cb0","impliedNodeFormat":99},{"version":"288e9c9ab0512b11bdef6c73f3e7f3f9","impliedNodeFormat":99},{"version":"5173d4adc0b413fb56b5434079362c7b","impliedNodeFormat":99},{"version":"462a8ddfc6144653ec9fac2232ca039a","impliedNodeFormat":99},{"version":"f8caf46b14829446e2f464638f0b1fdc","impliedNodeFormat":99},{"version":"3771e3b9eb71eca564ccbe898cc49e05","impliedNodeFormat":99},{"version":"afa7b6bcfaebbc96ddfebb013b2a29d0","impliedNodeFormat":99},{"version":"d22d7bfb53ac09e9159f55c531aef171","impliedNodeFormat":99},{"version":"167b01324dde0618782ff1f6177cf03e","impliedNodeFormat":99},{"version":"fe37545d4bb4184cae8506f104c1c12c","impliedNodeFormat":99},{"version":"e3772eedb7e5ece748f2d880c56385a2","impliedNodeFormat":99},{"version":"79771e59e7741cc98aa6098117340106","impliedNodeFormat":99},{"version":"6753d4892e897fa8058bacb605c952a5","impliedNodeFormat":99},{"version":"7b5e88bf80b5ba880c64572dc4200389","impliedNodeFormat":99},{"version":"0de4e0f7d366d01613b7b19763c4f30f","impliedNodeFormat":99},{"version":"16e3b3bbbd6da954a0c577ac824f3d8f","impliedNodeFormat":99},{"version":"37d8cbe0516e9606eb8751931cc5b672","impliedNodeFormat":99},{"version":"e6b9029bad8c4ab48c81b4180787b63c","impliedNodeFormat":99},{"version":"da8be6d688a0415b01262cddfc8f0ff6","impliedNodeFormat":99},{"version":"67a3d3e0403cff76f78f3faeb9ab323a","impliedNodeFormat":99},{"version":"c5ad7843449543089892d46a837a78e0","impliedNodeFormat":99},{"version":"522165086fa6ebe3374eca93e63351f5","impliedNodeFormat":99},{"version":"ee90fb296b72f6fc0c788e9df34ac746","impliedNodeFormat":99},{"version":"55e6fab58be02e371a807d886203c4e0","impliedNodeFormat":99},{"version":"e5de7768c06418deb0160aa155a9d166","impliedNodeFormat":99},{"version":"ce5da034ef6be3cdd8c0bc1ac9c08850","impliedNodeFormat":99},{"version":"f35157e86ed4ef002daa358c0cde3cea","impliedNodeFormat":99},{"version":"bdaabe12a10a0ce652acb37dedb36b71","impliedNodeFormat":99},{"version":"c0665177108b4e9bf2e1e8759165d51e","impliedNodeFormat":99},{"version":"232b726954ebbb4283da4ba324fccbbf","impliedNodeFormat":99},{"version":"3ff30c8bc3fabaecbeff0f71be931c42","impliedNodeFormat":99},{"version":"679f4947d2a851f1ab57716afa335adb","impliedNodeFormat":99},{"version":"e6001ff233a68a6de1b7c825a5212b72","impliedNodeFormat":99},{"version":"0c4b5ad11eae9a0605b0802f755d66fa","impliedNodeFormat":99},{"version":"18290d512cefd333e40000ad72a8ea0c","impliedNodeFormat":99},{"version":"03ac6352dce1551c6520b3c7e7496702","impliedNodeFormat":99},{"version":"69e44a2cd9e4bab364bac23c6a753932","impliedNodeFormat":99},{"version":"4285cf74d9491b129220f13ae756ad1b","impliedNodeFormat":99},{"version":"0f34f29f2d11e2d47d0757e54c72da1b","impliedNodeFormat":99},{"version":"48639bd2285bcd157151057b6a70079d","impliedNodeFormat":99},{"version":"8f0e2549d4475e75e19d54bc07a70d9e","impliedNodeFormat":99},{"version":"b111aa39e904f6197c65fe0685817eb1","impliedNodeFormat":99},{"version":"e4e556f56e2e0bacacd3ee4c96e2e083","impliedNodeFormat":99},{"version":"737affbbee445f16558566bca128c01a","impliedNodeFormat":99},{"version":"a319093bfda4115de7f2c512aba34108","impliedNodeFormat":99},{"version":"3369d68b44c37295e91a1fe328d1d3b5","impliedNodeFormat":99},{"version":"9c6adb0d31898f14aacb163dcae8e910","impliedNodeFormat":99},{"version":"031af91efd31ac2b6e60c84f364f5e62","impliedNodeFormat":99},{"version":"88cb4b4e39d1019cbff05d3959262ba8","impliedNodeFormat":99},{"version":"6b2e4f9433f905001cf7ec5f3cd3e8b1","impliedNodeFormat":99},{"version":"2148101eae90ccd00065ac2b53101a3d","impliedNodeFormat":99},{"version":"4f0ed726536abdcb0e468da83febcb5d","impliedNodeFormat":99},{"version":"3e091a05ed8fa89bf2007819ff9005c6","impliedNodeFormat":99},{"version":"f6406000b1a5f1f4f08072ba1e72b065","impliedNodeFormat":99},{"version":"55548f8ba330d52c21f5f57268065baa","impliedNodeFormat":99},{"version":"99b8621e13678c3ce7c8d0b8c80a13d3","impliedNodeFormat":99},{"version":"9ea4b1b4deaaa507b49899627d00f422","impliedNodeFormat":99},{"version":"a93db027b30f930fc63ce47e583fd411","impliedNodeFormat":99},{"version":"088160cc020027b2badc20a33bf8082c","impliedNodeFormat":99},{"version":"0dc17751cafe9414c97a07c847ac3ecd","impliedNodeFormat":99},{"version":"13e8aaae921b74aaa05bf4204f568163","impliedNodeFormat":99},{"version":"6ef7092cea0bbfb2d8eaf1e0af42930a","impliedNodeFormat":99},{"version":"3c8e6bcfbfe4612bc67306bfd91e9a03","impliedNodeFormat":99},{"version":"6a2eefdcc9aea5b999f6be12fe7e3106","impliedNodeFormat":99},{"version":"3af6e0036d32d1191f752e49599d75dc","impliedNodeFormat":99},{"version":"af0d76aaba1e4e561369b149ca4c19f4","impliedNodeFormat":99},{"version":"af259ed5583e3f6839dfbd25d7def8c6","impliedNodeFormat":99},{"version":"0a2d76a85d23e7e9bfe23a9e34547038","impliedNodeFormat":99},{"version":"baf9893562de2472746897737836044d","impliedNodeFormat":99},{"version":"204bee05d4d4ed99453afc753c45f9a5","impliedNodeFormat":99},{"version":"42de410587666c28debfe5ada8251aee","impliedNodeFormat":99},{"version":"a989b39317bdd3f58d607ff9755b4dd3","impliedNodeFormat":99},{"version":"6e49ba0dde9b0c5b2f12af6b51609c7a","impliedNodeFormat":99},{"version":"5fc9ea9d814b78d88385269ad9dbbeaf","impliedNodeFormat":99},{"version":"b549ca662b14532d90934c945e9720bf","impliedNodeFormat":99},{"version":"b0652d8edf1f4ce822258ffc47746283","impliedNodeFormat":99},{"version":"09e5c7fb5210c56df9e079e38b731004","impliedNodeFormat":99},{"version":"162b25c6d12e10cdff283ed85931afb7","impliedNodeFormat":99},{"version":"06a492845d3eb12acdb0a817a7c4e6d5","impliedNodeFormat":99},{"version":"c1ffd0444e1d60668b14a0a44ef73937","impliedNodeFormat":99},{"version":"01a88d11559ab13af97b3ebda069965d","impliedNodeFormat":99},{"version":"f870ddc456fd7619c157bcc716887144","impliedNodeFormat":99},{"version":"646c44ef0adb00287a38184e09189977","impliedNodeFormat":99},{"version":"f149b4764f645a95bd90fa1039d124c8","impliedNodeFormat":99},{"version":"4a3ef073316deae14d0c45890dc6d8d5","impliedNodeFormat":99},{"version":"b5765931d1b58776cadf6c9cfec23a04","impliedNodeFormat":99},{"version":"fe1da0fa29c230ba936753e0ced5a42c","impliedNodeFormat":99},{"version":"3e4b274efeded4220ffec19da6847a50","impliedNodeFormat":99},{"version":"ae70cb96cda8febabd72c1b5e1a33720","impliedNodeFormat":99},{"version":"527f2ef374d209d9b4bd50050b12a2cf","impliedNodeFormat":99},{"version":"940ce01e94a68cab89a4a2e231422e91","impliedNodeFormat":99},{"version":"d81e21fb536e444ad844fb4144d608ba","impliedNodeFormat":99},{"version":"1c182d757f5163c7ae5b22c012db837d","impliedNodeFormat":99},{"version":"8e6e5178666c7bf5087f5125bfd5a3d6","impliedNodeFormat":99},{"version":"88d7626b19b971b9c7dde2ea72e46d4e","impliedNodeFormat":99},{"version":"a6aca4cd0e6e48ff0e99e0d1af0c132a","impliedNodeFormat":99},{"version":"a8b066d8ffa1b855d53c32b6d0341af7","impliedNodeFormat":99},{"version":"6b0393fc8ad159bc2b052f4c05293bbb","impliedNodeFormat":99},{"version":"6cd971bf128e27504f633f68b1d7ef55","impliedNodeFormat":99},{"version":"c7e31bad0959cc9679d67a55c53ee216","impliedNodeFormat":99},{"version":"745f867da91957022438b000f2fbded3","impliedNodeFormat":99},{"version":"a5e42238ec4ea72fa90b0dae0b9e54d1","impliedNodeFormat":99},{"version":"27ca2eae2653bc79aa01395890c62cad","impliedNodeFormat":99},{"version":"5598b977c98c18180e3ad2a7d66edf43","impliedNodeFormat":99},{"version":"abcaa12ad2a1975e09becd91d6cfddf2","impliedNodeFormat":99},{"version":"201d39664a956b242bb68ce04673917c","impliedNodeFormat":99},{"version":"561ac634ca5342855ee346bf3bd5d97d","impliedNodeFormat":99},{"version":"137b078451bcf92fe86a34bbff284125","impliedNodeFormat":99},{"version":"f2d31fa9d5b5db1c785c4774a08b2379","impliedNodeFormat":99},{"version":"fa45f59d190cbf1f02f06bb6b8e30dac","impliedNodeFormat":99},{"version":"fdfa10c632d634357f01d1e50eff66df","impliedNodeFormat":99},{"version":"a0e9e6ee6973796006628becab9f77b1","impliedNodeFormat":99},{"version":"5ccbb96e6ffd6120321c2be229bba752","impliedNodeFormat":99},{"version":"b0870d6a36d84ce73e3dc73e3aad7590","impliedNodeFormat":99},{"version":"9041d43e5627c55396c4fdf9f2111f80","impliedNodeFormat":99},{"version":"265add281d3751be9659db6d74bf27ce","impliedNodeFormat":99},{"version":"c058288f6b59904bf63da54a62f95cec","impliedNodeFormat":99},{"version":"1a1887fa7b5d4bccf57b472a04b17f83","impliedNodeFormat":99},{"version":"e9a707ce2503dfaaf4071d5683ae5134","impliedNodeFormat":99},{"version":"0f1bf3bae30b49bb33c891173710ea46","impliedNodeFormat":99},{"version":"89feb2e5b2ee1d6f98beea7fe7acfb0b","impliedNodeFormat":99},{"version":"018e486515b653da0b5cd78e45d0c32d","impliedNodeFormat":99},{"version":"7d1b0d292a49f5ab6500d51b60680d53","impliedNodeFormat":99},{"version":"e5feca95e5aa843821b7e0a6b3cd130a","impliedNodeFormat":99},{"version":"0f742b68a3b0f487e1b237f564310d6f","impliedNodeFormat":99},{"version":"c4e0634f289a723d28f18b808c7728eb","impliedNodeFormat":99},{"version":"cd3ab38dbebb01f852ee5f2c7a66b9ec","impliedNodeFormat":99},{"version":"8559e7d9c3dacf9c52988e2fec9a3b60","impliedNodeFormat":99},{"version":"b00652fe39df01b5267caa92c04842c6","impliedNodeFormat":99},{"version":"9707d2e6e3ccd2144be3a9d63e3db8d5","impliedNodeFormat":99},{"version":"1224c46a7aa4209b05c61e7dddc189b3","impliedNodeFormat":99},{"version":"9b24dcd7ce9a8258a21300158eede1e2","impliedNodeFormat":99},{"version":"8386ba1a078f9900a9f5daca9130df46","impliedNodeFormat":99},{"version":"a5f2ced2c1c736f08461ced44e405d14","impliedNodeFormat":99},{"version":"dbbc59dd2f7df5cdd494e69f67478a85","impliedNodeFormat":99},{"version":"fe20220d8e35ec5594423dc04e4f51f9","impliedNodeFormat":99},{"version":"f514d3b9293b57d6906c83476afb0eb1","impliedNodeFormat":99},{"version":"f3a6b3130ed0512a3418c5cceeb316c3","impliedNodeFormat":99},{"version":"e6a6e5809a2349f3b4b22cc285f07ba2","impliedNodeFormat":99},{"version":"b42e0342a14c4bbdd0afdc7a1b371195","impliedNodeFormat":99},{"version":"400606a877d164747aeaf3e1a0f683c3","impliedNodeFormat":99},{"version":"55c38356cf1168355a77e8628249eea9","impliedNodeFormat":99},{"version":"938789d788d3eaf142742d8f7d7e0427","impliedNodeFormat":99},{"version":"1f138cebb3a729a2ecdb956e2ba697d4","impliedNodeFormat":99},{"version":"46489449d024d3f67ee84ffbd239d25a","impliedNodeFormat":99},{"version":"9bbca6d77aafcd47f8dfc98c578ae51d","impliedNodeFormat":99},{"version":"552d1ec95f34fff1cec84c63ac9f1540","impliedNodeFormat":99},{"version":"e736f67e69b6fb4ad3a58bf3ddf41f64","impliedNodeFormat":99},{"version":"fba87569eb5b1656e1ff92d2363fee75","impliedNodeFormat":99},{"version":"7abe2a402423dec3a4dfe83cfec54b21","impliedNodeFormat":99},{"version":"6b9f9e5ed2fa1cca8e06d9cdae2deae1","impliedNodeFormat":99},{"version":"58f727ae55eb489b85c9ff34d996ac43","impliedNodeFormat":99},{"version":"bc3cb2c87adaab2f5fc05dadb9684199","impliedNodeFormat":99},{"version":"63f9d1820c55afc9d348aef2ac26f4d6","impliedNodeFormat":99},{"version":"9156d9a09132487227d730165eaa710f","impliedNodeFormat":99},{"version":"c7c9e47746f6b40188df2ea51054e9cd","impliedNodeFormat":99},{"version":"56daf06812f4fa9cfe76f3d3531ded8b","impliedNodeFormat":99},{"version":"24a36119769465266aee91bf372ac1b6","impliedNodeFormat":99},{"version":"302e3b491052ea22b69a31fe45a83599","impliedNodeFormat":99},{"version":"51023cd1e9bd2235e227a560373a5fa7","impliedNodeFormat":99},{"version":"e8e2244db66c9175a9ff6691c549738d","impliedNodeFormat":99},{"version":"6fcea6f1040b0e047efccd11b222a5c6","impliedNodeFormat":99},{"version":"6e0359600808a5d06dc27f2cbb956069","impliedNodeFormat":99},{"version":"2ef5f070a84bf2d09f8c82ad27f3ec97","impliedNodeFormat":99},{"version":"6e1b80c4610ab42bf8f863139e0caafc","impliedNodeFormat":99},{"version":"edcb089e4760d016bf37a9e9e31e4ada","impliedNodeFormat":99},{"version":"c4609760b7e14256d4d3bceef6b46477","impliedNodeFormat":99},{"version":"ea00716968bbc3c628890115d08829ae","impliedNodeFormat":99},{"version":"a3979a1364d9a68c43718c0b8e69da27","impliedNodeFormat":99},{"version":"472dcc101c3edc342059b316561ff3c0","impliedNodeFormat":99},{"version":"879816f8e1d46cef211a6402a08c3f93","impliedNodeFormat":99},{"version":"023cbcef1298a5fb7347b3c16a84c38e","impliedNodeFormat":99},{"version":"4a5c0cab132a7c293fc46bc8b4a44002","impliedNodeFormat":99},{"version":"5f34e102bba52eda9e24dda5ce76591b","impliedNodeFormat":99},{"version":"7f5c95edfc47b70c4bfa9de2a92ad6a2","impliedNodeFormat":99},{"version":"9035bfe891763051e9f3c3682e13e3f0","impliedNodeFormat":99},{"version":"8f00d5ae5d5bbd84261da82b9fb27465","impliedNodeFormat":99},{"version":"80c50ec8ae4595e2ca53407d1e97d104","impliedNodeFormat":99},{"version":"ef9b9f3b9a611a2101f0ad983cdfa028","impliedNodeFormat":99},{"version":"97d1db699e2c534dcbe349816f9d0de0","impliedNodeFormat":99},{"version":"cc893fe79667a767a1a44734f08afad0","impliedNodeFormat":99},{"version":"f50f9350093e9a6ea0a0296186f4c745","impliedNodeFormat":99},{"version":"e3d2b96759354707b3e20ed6b4fdd96f","impliedNodeFormat":99},{"version":"5ae09e834e3d78465634bcc2f66ecb9c","impliedNodeFormat":99},{"version":"76e8e5d2e6dcb1d6cf64d709c1362426","impliedNodeFormat":99},{"version":"5d7ea8027b199679269d4e3c981b7c07","impliedNodeFormat":99},{"version":"2539629086caea94e075f99198981df7","impliedNodeFormat":99},{"version":"c13dc61cf3a847a406c842ff57746edf","impliedNodeFormat":99},{"version":"ddcc1641a31a2413c1e07fc8e0f16277","impliedNodeFormat":99},{"version":"d2f863ad69af120aff4d8b4ffbdf1d5c","impliedNodeFormat":99},{"version":"78cae49c2df9d5008bb511ede5bf6279","impliedNodeFormat":99},{"version":"e8485fb113ddb0bdc93416f9ae4ba1c7","signature":"a0cecfa16531e358a97951d01002453b","impliedNodeFormat":1},{"version":"1109b03daea11c49cbc905c7f7f574c7","signature":"f60fd7c505f5c4fc5e1f6b88b89d1b96","impliedNodeFormat":1}],"fileIdsList":[[133,134],[135],[134,135,136],[132],[177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,218,219,220,221,222,223,224,227,228,229,230,231,232,233,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391],[208],[189,194,196,197,198,213,217],[184,196,200,236,347],[227],[228],[196],[195,196,197,198],[194,201,207,229,231,232,236,264,267,300],[196,209,232,236,263],[195,196,236],[309],[236,360],[196,236,361],[236,361],[237,294],[196,197,291,293],[187,201,236,241,248,295],[194,294],[204,218,236,360],[196,236,360,364],[236,360,364],[184],[307],[177,184,201,224,236,320],[201,236],[189,194,195,197,201],[196,197,198,334],[184,195,197,200,224],[189,194,212,213,217,224,229],[189,195,197,201],[196,334],[209,237],[182,236,265,268,319,377],[231],[201,207,213,229,230,236],[191],[325],[192],[330],[189],[187],[194],[223],[224],[201],[264,338],[196,207,209,230,236,263],[194,195,196,197],[200],[197,198,199,216,217,225,226,234,235],[189,216,222,224],[196,197,207],[177,184,189,192,194,195,197,200,201,204,208,216,225],[199,209,210,215],[196,207,231,233],[177,189,194,196],[197,217],[205,207,236],[194,197,217,218,219,220,221],[189,201],[189,190,197],[189,194,195,196,236],[194,201],[189,197,324],[181],[179,181,187,189,194,196,207,224,236],[236,360,364,368],[236,360,364,366],[183],[195,196,197,334],[232],[202,316],[177],[196,202,203,204,236,241,248,249,250,251],[195,200,201,202,203],[201,263],[193,238],[194,197,200],[205,206],[190,192,194,195,197,200,202,203,217],[194,196,201,236,251,265,267,268,271],[190],[211],[212],[204],[181,268],[194,236],[195,204,224,236],[236,361,370],[189,194,196,229,231,236,264],[183,194,196,200,209,236,251,265],[236],[324],[209],[194,195,197,213,217,218],[191,192,197,202,222,283,284,325],[189,194,195,236],[189,194,195,236,237],[189,194,195,236,254],[194,200,236],[189,191,196,197,200,217,224],[236,360,364,373],[200,236],[189,196,200,208,236,265,271,286,287],[200,236,237],[196,224,236],[189,196,208,236,251,262,265,271,284],[195,196,200,236,237],[194,196,236,318],[194,196,200,236,257],[196,236,248],[187,195,257],[195,196,197,198,217],[213,218,229,236],[192,200],[214],[182,207,219],[214,299,301],[197,213,217,218],[197,207],[178,179],[207,209,230,233,236],[207,209,230,236,263],[279],[182,195,196,197,207],[189,195,196,292],[178],[271],[194,196,197,207],[183,194],[194,196,269,270],[197],[236,353,354],[200,237],[197,213,229],[90,153],[129,131,146,153],[90,103,129,131,138,146,149,151,153,154],[103,129,152,155],[103],[103,129,152],[129,152,161],[129,152],[103,129,152,161],[103,129,149,152,154],[103,148,152],[90,103,129,131,146,152,154],[149,150],[89,90,130,131,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,393],[89],[89,90,129,130,146,152],[89,90,130],[90,103,129,131,146,147,149,152,167],[131,144,145,146,149,168,172],[90,131,144,145,146,147,148,151,152],[131,144,145,146,149],[146,149,170],[89,130,137,142,143,144,146,149],[90,130,137,146,152],[142,143,144,146],[89,129],[129,130,131,137,138,141,142,143,144,145,147,149],[129,138,145,146,149],[142,143,146],[392],[133,138,139],[129,138,139,140],[139,141],[133],[133,140],[133,138,139,140],[138,139,140],[140],[91,105,106],[91,105],[109,110],[92,103],[91,104],[91,92,105,106],[91,103,105,106,113,114],[91,103,105,106],[91,92,105,106,116],[91,106,117],[91,92,103,104,105,106],[91,104,105,106,120,121],[91,116,117,122],[91,92,104,105,106,107,108,109,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128],[91],[92,110],[91,92,125],[94],[94,98],[93],[93,94,95,96,97,98,99,100,101,102]],"options":{"composite":true,"declaration":true,"declarationDir":"./@types","inlineSources":true,"module":199,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":false,"stripInternal":true,"sourceMap":true,"target":4,"tsBuildInfoFile":"./tsconfig.tsbuildinfo","esModuleInterop":true},"referencedMap":[[135,1],[136,2],[134,2],[137,3],[133,4],[392,5],[230,6],[227,7],[348,8],[228,9],[229,10],[320,11],[358,12],[301,13],[267,14],[250,15],[311,16],[361,17],[363,18],[362,19],[295,20],[294,21],[297,22],[296,23],[364,24],[368,25],[366,26],[185,27],[186,27],[308,28],[321,29],[237,30],[269,31],[336,32],[357,33],[291,34],[391,35],[335,36],[303,37],[381,38],[232,39],[231,40],[327,41],[329,42],[193,43],[332,44],[340,45],[188,46],[341,47],[350,48],[342,49],[195,47],[380,50],[339,51],[338,52],[198,53],[235,54],[236,55],[225,56],[226,57],[217,58],[216,59],[234,60],[197,61],[220,62],[206,63],[222,64],[353,9],[356,45],[219,62],[190,45],[355,45],[324,65],[328,66],[218,62],[221,62],[292,67],[257,68],[224,48],[354,9],[331,69],[313,70],[312,71],[365,26],[369,72],[367,73],[184,74],[382,75],[300,39],[233,76],[317,77],[268,78],[252,79],[204,80],[304,81],[305,81],[239,82],[287,83],[207,84],[247,85],[272,86],[191,87],[212,88],[213,89],[323,90],[387,91],[259,92],[273,93],[370,19],[372,94],[371,94],[265,95],[266,96],[275,97],[325,98],[322,99],[384,100],[385,100],[326,101],[378,97],[255,102],[238,103],[254,102],[256,104],[262,105],[192,41],[315,106],[376,107],[346,108],[288,109],[282,110],[310,111],[283,110],[285,112],[284,113],[309,49],[349,114],[347,115],[251,116],[258,117],[373,26],[375,72],[374,73],[211,7],[334,118],[377,119],[333,120],[215,121],[379,122],[302,123],[214,124],[208,125],[314,126],[263,127],[264,128],[280,129],[210,97],[209,130],[293,131],[179,132],[274,97],[359,133],[318,134],[270,135],[271,136],[261,137],[360,138],[246,97],[330,42],[245,139],[352,140],[154,141],[147,142],[152,143],[156,144],[155,145],[157,146],[158,146],[165,147],[161,145],[159,148],[160,148],[162,149],[163,150],[164,148],[166,151],[148,152],[151,153],[394,154],[90,155],[153,156],[131,157],[168,158],[173,159],[149,160],[169,161],[171,162],[145,163],[138,164],[167,165],[130,166],[172,165],[146,167],[144,168],[170,169],[393,170],[140,171],[174,172],[176,173],[142,174],[139,175],[141,176],[175,177],[143,178],[107,179],[106,180],[111,181],[104,182],[105,183],[116,184],[115,185],[113,186],[119,187],[118,188],[117,189],[122,190],[123,191],[129,192],[114,193],[124,193],[92,193],[127,193],[125,194],[126,193],[121,180],[120,193],[108,180],[128,195],[112,145],[96,196],[102,197],[101,197],[100,197],[95,196],[98,196],[99,197],[94,198],[97,196],[103,199]],"latestChangedDtsFile":"./@types/index.d.ts"}
package/package.json CHANGED
@@ -9,13 +9,13 @@
9
9
  "registry": "https://registry.npmjs.org/",
10
10
  "access": "public"
11
11
  },
12
- "version": "0.0.0-dev-20261113191340",
12
+ "version": "0.0.0-dev-20261118201205",
13
13
  "description": "Reusable parser definitions, parsed trees and values",
14
14
  "main": "./dist/index.js",
15
15
  "typings": "./dist/@types/index.d.ts",
16
16
  "dependencies": {
17
- "@ja-platform/parser-expressions": "0.0.0-dev-20261113191340",
18
- "@ja-platform/parser-type-system": "0.0.0-dev-20261113191340",
17
+ "@ja-platform/parser-expressions": "0.0.0-dev-20261118201205",
18
+ "@ja-platform/parser-type-system": "0.0.0-dev-20261118201205",
19
19
  "@journeyapps/common-tree": "3.0.3",
20
20
  "@journeyapps/common-utils": "2.0.0",
21
21
  "lodash": "^4.18.1",
@@ -1,19 +0,0 @@
1
- import type { EvaluatedExpression, ConstantExpression } from '@ja-platform/parser-expressions';
2
- import { Attribute, AttributeGenerics, AttributeOptions } from './Attribute';
3
- export type CombinedListExpression = EvaluatedExpression | ConstantExpression;
4
- export interface ListAttributeOptions extends AttributeOptions<string[]> {
5
- options: string[];
6
- delimiter?: string;
7
- }
8
- export interface ListAttributeGenerics<Options extends ListAttributeOptions = ListAttributeOptions> extends AttributeGenerics {
9
- Value: CombinedListExpression | null;
10
- Options: Options;
11
- }
12
- export declare class ListAttribute<Options extends ListAttributeOptions = ListAttributeOptions> extends Attribute<ListAttributeGenerics<Options>> {
13
- static TYPE: string;
14
- delimiter: string;
15
- constructor(options: Options);
16
- static isInstanceOf(attr: Attribute): attr is ListAttribute;
17
- static toList(value: any, delimiter?: string): any[];
18
- serialize(): any;
19
- }
@@ -1,16 +0,0 @@
1
- import type { EvaluatedExpression, ConstantExpression } from '@ja-platform/parser-expressions';
2
- import { Attribute, AttributeGenerics, AttributeOptions } from './Attribute';
3
- export type CombinedSetExpression = EvaluatedExpression | ConstantExpression;
4
- export interface SetAttributeOptions extends AttributeOptions<string> {
5
- options: string[];
6
- }
7
- export interface SetAttributeGenerics<Options extends SetAttributeOptions = SetAttributeOptions> extends AttributeGenerics {
8
- Value: CombinedSetExpression | null;
9
- Options: Options;
10
- }
11
- export declare class SetAttribute<Options extends SetAttributeOptions = SetAttributeOptions> extends Attribute<SetAttributeGenerics<Options>> {
12
- static TYPE: string;
13
- constructor(options: Options);
14
- static isInstanceOf(attr: Attribute): attr is SetAttribute;
15
- serialize(): any;
16
- }
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListAttribute = void 0;
4
- const Attribute_1 = require("./Attribute");
5
- class ListAttribute extends Attribute_1.Attribute {
6
- constructor(options) {
7
- var _a, _b;
8
- super(ListAttribute.TYPE, Object.assign(Object.assign({}, options), { options: options.options || [], configurable: (_a = options.configurable) !== null && _a !== void 0 ? _a : true }));
9
- this.delimiter = (_b = options.delimiter) !== null && _b !== void 0 ? _b : ',';
10
- }
11
- static isInstanceOf(attr) {
12
- return attr.type === ListAttribute.TYPE;
13
- }
14
- static toList(value, delimiter = ',') {
15
- if (value == null) {
16
- return null;
17
- }
18
- else if (Array.isArray(value)) {
19
- return value;
20
- }
21
- else if (typeof value === 'string' || value instanceof String) {
22
- return `${value}`.split(delimiter);
23
- }
24
- else {
25
- // Value might be an object, which will be resolved elsewhere
26
- return value;
27
- }
28
- }
29
- serialize() {
30
- return Object.assign(Object.assign({}, super.serialize()), { type: 'list', options: this.options.options });
31
- }
32
- }
33
- exports.ListAttribute = ListAttribute;
34
- ListAttribute.TYPE = 'list-attribute';
35
- //# sourceMappingURL=ListAttribute.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListAttribute.js","sourceRoot":"","sources":["../../src/attributes/ListAttribute.ts"],"names":[],"mappings":";;;AACA,2CAA6E;AAgB7E,mBAAwF,SAAQ,qBAE/F;IAGC,YAAY,OAAgB;;QAC1B,KAAK,CAAC,aAAa,CAAC,IAAI,kCACnB,OAAO,KACV,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,EAAE,EAC9B,YAAY,QAAE,OAAO,CAAC,YAAY,mCAAI,IAAI,IAC1C,CAAC;QACH,IAAI,CAAC,SAAS,SAAG,OAAO,CAAC,SAAS,mCAAI,GAAG,CAAC;IAC5C,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,IAAe;QACjC,OAAO,IAAI,CAAC,IAAI,KAAK,aAAa,CAAC,IAAI,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,KAAU,EAAE,SAAS,GAAG,GAAG;QACvC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAClB,OAAO,IAAI,CAAC;QACd,CAAC;aAAM,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YAChC,OAAO,KAAK,CAAC;QACf,CAAC;aAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE,CAAC;YAChE,OAAO,GAAG,KAAK,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACrC,CAAC;aAAM,CAAC;YACN,6DAA6D;YAC7D,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IACD,SAAS;QACP,uCACK,KAAK,CAAC,SAAS,EAAE,KACpB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,IAC7B;IACJ,CAAC;CACF;;AAlCQ,kBAAI,GAAG,gBAAgB,CAAC","sourcesContent":["import type { EvaluatedExpression, ConstantExpression } from '@ja-platform/parser-expressions';\nimport { Attribute, AttributeGenerics, AttributeOptions } from './Attribute';\n\nexport type CombinedListExpression = EvaluatedExpression | ConstantExpression;\n\nexport interface ListAttributeOptions extends AttributeOptions<string[]> {\n options: string[];\n delimiter?: string;\n}\n\nexport interface ListAttributeGenerics<\n Options extends ListAttributeOptions = ListAttributeOptions\n> extends AttributeGenerics {\n Value: CombinedListExpression | null;\n Options: Options;\n}\n\nexport class ListAttribute<Options extends ListAttributeOptions = ListAttributeOptions> extends Attribute<\n ListAttributeGenerics<Options>\n> {\n static TYPE = 'list-attribute';\n delimiter: string;\n constructor(options: Options) {\n super(ListAttribute.TYPE, {\n ...options,\n options: options.options || [],\n configurable: options.configurable ?? true\n });\n this.delimiter = options.delimiter ?? ',';\n }\n\n static isInstanceOf(attr: Attribute): attr is ListAttribute {\n return attr.type === ListAttribute.TYPE;\n }\n\n static toList(value: any, delimiter = ','): any[] {\n if (value == null) {\n return null;\n } else if (Array.isArray(value)) {\n return value;\n } else if (typeof value === 'string' || value instanceof String) {\n return `${value}`.split(delimiter);\n } else {\n // Value might be an object, which will be resolved elsewhere\n return value;\n }\n }\n serialize(): any {\n return {\n ...super.serialize(),\n type: 'list',\n options: this.options.options\n };\n }\n}\n"]}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SetAttribute = void 0;
4
- const Attribute_1 = require("./Attribute");
5
- class SetAttribute extends Attribute_1.Attribute {
6
- constructor(options) {
7
- var _a;
8
- super(SetAttribute.TYPE, Object.assign(Object.assign({}, options), { configurable: (_a = options.configurable) !== null && _a !== void 0 ? _a : true, options: options.options || [] }));
9
- }
10
- static isInstanceOf(attr) {
11
- return attr.type === SetAttribute.TYPE;
12
- }
13
- serialize() {
14
- return Object.assign(Object.assign({}, super.serialize()), { type: 'set', options: this.options.options });
15
- }
16
- }
17
- exports.SetAttribute = SetAttribute;
18
- SetAttribute.TYPE = 'set-attribute';
19
- //# sourceMappingURL=SetAttribute.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SetAttribute.js","sourceRoot":"","sources":["../../src/attributes/SetAttribute.ts"],"names":[],"mappings":";;;AACA,2CAA6E;AAe7E,kBAAqF,SAAQ,qBAE5F;IAEC,YAAY,OAAgB;;QAC1B,KAAK,CAAC,YAAY,CAAC,IAAI,kCAClB,OAAO,KACV,YAAY,QAAE,OAAO,CAAC,YAAY,mCAAI,IAAI,EAC1C,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,EAAE,IAC9B,CAAC;IACL,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,IAAe;QACjC,OAAO,IAAI,CAAC,IAAI,KAAK,YAAY,CAAC,IAAI,CAAC;IACzC,CAAC;IAED,SAAS;QACP,uCACK,KAAK,CAAC,SAAS,EAAE,KACpB,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,IAC7B;IACJ,CAAC;CACF;;AApBQ,iBAAI,GAAG,eAAe,CAAC","sourcesContent":["import type { EvaluatedExpression, ConstantExpression } from '@ja-platform/parser-expressions';\nimport { Attribute, AttributeGenerics, AttributeOptions } from './Attribute';\n\nexport type CombinedSetExpression = EvaluatedExpression | ConstantExpression;\n\nexport interface SetAttributeOptions extends AttributeOptions<string> {\n options: string[];\n}\n\nexport interface SetAttributeGenerics<\n Options extends SetAttributeOptions = SetAttributeOptions\n> extends AttributeGenerics {\n Value: CombinedSetExpression | null;\n Options: Options;\n}\n\nexport class SetAttribute<Options extends SetAttributeOptions = SetAttributeOptions> extends Attribute<\n SetAttributeGenerics<Options>\n> {\n static TYPE = 'set-attribute';\n constructor(options: Options) {\n super(SetAttribute.TYPE, {\n ...options,\n configurable: options.configurable ?? true,\n options: options.options || []\n });\n }\n\n static isInstanceOf(attr: Attribute): attr is SetAttribute {\n return attr.type === SetAttribute.TYPE;\n }\n\n serialize(): any {\n return {\n ...super.serialize(),\n type: 'set',\n options: this.options.options\n };\n }\n}\n"]}