data-finder-ts 0.1.3 → 0.1.5

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 (62) hide show
  1. package/README.md +17 -55
  2. package/dist/chunk-BGEX377Q.js +230 -0
  3. package/dist/chunk-BGEX377Q.js.map +1 -0
  4. package/dist/chunk-BKPWV3OF.js +962 -0
  5. package/dist/chunk-BKPWV3OF.js.map +1 -0
  6. package/dist/{chunk-EYXBYV2X.js → chunk-GPHWC533.js} +2 -2
  7. package/dist/chunk-KAK75RVS.js +198 -0
  8. package/dist/chunk-KAK75RVS.js.map +1 -0
  9. package/dist/chunk-MGEL5RWM.js +628 -0
  10. package/dist/chunk-MGEL5RWM.js.map +1 -0
  11. package/dist/chunk-PF6EJZHB.js +1015 -0
  12. package/dist/chunk-PF6EJZHB.js.map +1 -0
  13. package/dist/datafinder/attribute.cjs +595 -18
  14. package/dist/datafinder/attribute.cjs.map +1 -1
  15. package/dist/datafinder/attribute.d.cts +73 -10
  16. package/dist/datafinder/attribute.d.ts +73 -10
  17. package/dist/datafinder/attribute.js +2 -2
  18. package/dist/datafinder/runner.cjs +1589 -288
  19. package/dist/datafinder/runner.cjs.map +1 -1
  20. package/dist/datafinder/runner.d.cts +41 -7
  21. package/dist/datafinder/runner.d.ts +41 -7
  22. package/dist/datafinder/runner.js +12 -6
  23. package/dist/datafinder/sql-generator.cjs +1484 -281
  24. package/dist/datafinder/sql-generator.cjs.map +1 -1
  25. package/dist/datafinder/sql-generator.d.cts +19 -14
  26. package/dist/datafinder/sql-generator.d.ts +19 -14
  27. package/dist/datafinder/sql-generator.js +9 -7
  28. package/dist/datafinder/typed-attributes.cjs +856 -93
  29. package/dist/datafinder/typed-attributes.cjs.map +1 -1
  30. package/dist/datafinder/typed-attributes.d.cts +3 -135
  31. package/dist/datafinder/typed-attributes.d.ts +3 -135
  32. package/dist/datafinder/typed-attributes.js +3 -3
  33. package/dist/dialect-CogGPm_y.d.cts +38 -0
  34. package/dist/dialect-aaG1bDi5.d.ts +38 -0
  35. package/dist/index.cjs +2080 -480
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.cts +119 -14
  38. package/dist/index.d.ts +119 -14
  39. package/dist/index.js +362 -12
  40. package/dist/index.js.map +1 -1
  41. package/dist/model/milestoning.cjs +529 -0
  42. package/dist/model/milestoning.cjs.map +1 -1
  43. package/dist/model/milestoning.js +2 -2
  44. package/dist/model/relational.cjs +608 -12
  45. package/dist/model/relational.cjs.map +1 -1
  46. package/dist/model/relational.d.cts +456 -47
  47. package/dist/model/relational.d.ts +456 -47
  48. package/dist/model/relational.js +61 -3
  49. package/dist/typed-attributes-CUTf_6Ru.d.ts +328 -0
  50. package/dist/typed-attributes-CdWXq_78.d.cts +328 -0
  51. package/package.json +5 -2
  52. package/dist/chunk-3SSWFES4.js +0 -448
  53. package/dist/chunk-3SSWFES4.js.map +0 -1
  54. package/dist/chunk-5K2Z3YDY.js +0 -393
  55. package/dist/chunk-5K2Z3YDY.js.map +0 -1
  56. package/dist/chunk-6QTCGJWX.js +0 -98
  57. package/dist/chunk-6QTCGJWX.js.map +0 -1
  58. package/dist/chunk-DFYZVBII.js +0 -652
  59. package/dist/chunk-DFYZVBII.js.map +0 -1
  60. package/dist/chunk-V647VNMY.js +0 -135
  61. package/dist/chunk-V647VNMY.js.map +0 -1
  62. /package/dist/{chunk-EYXBYV2X.js.map → chunk-GPHWC533.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/datafinder/scalar-functions.ts","../src/datafinder/typed-attributes.ts"],"sourcesContent":["/**\n * Scalar functions as methods, shared by attributes and by the results of other functions, so they chain:\n * `f.name().toUpperCase().length()`.\n *\n * TypeScript has no multiple inheritance, so each group of functions is a class whose methods are mixed into\n * every host with `applyMixins` (the handbook's pattern), the type side being an `interface Host extends Group {}`\n * beside the host. A host provides `functionInput()` and `functionLabel()`: an attribute reads its column and is\n * labelled by its display name; a function result is itself the input and is labelled by its own name.\n */\nimport {\n ConcatOperation,\n ConcatPart,\n RelationalOperationElement,\n concat,\n ScalarFunction,\n ScalarFunctionOperation,\n applyMixins,\n} from '../model/relational';\n\n/** A function result that gives text, which has the string functions too: `f.name().toUpperCase().length()`. */\nexport class StringFunctionOperation extends ScalarFunctionOperation {\n functionInput(): RelationalOperationElement { return this; }\n functionLabel(): string { return labelOf(this); }\n}\n\n/** A function result that gives a number, which has the numeric functions too. */\nexport class NumericFunctionOperation extends ScalarFunctionOperation {\n functionInput(): RelationalOperationElement { return this; }\n functionLabel(): string { return labelOf(this); }\n}\n\nfunction labelOf(operation: ScalarFunctionOperation): string {\n return operation.displayName ?? operation.func.charAt(0) + operation.func.slice(1).toLowerCase();\n}\n\nfunction stringFunction(\n element: RelationalOperationElement, func: ScalarFunction, label: string,\n secondArg?: number, extraArgs: (string | number)[] = [],\n): StringFunctionOperation {\n return new StringFunctionOperation(element, func, label, secondArg, extraArgs);\n}\n\nfunction numberFunction(\n element: RelationalOperationElement, func: ScalarFunction, label: string, secondArg?: number,\n): NumericFunctionOperation {\n return new NumericFunctionOperation(element, func, label, secondArg);\n}\n\n/** Functions of text. */\nexport abstract class StringFunctions {\n /** @internal The expression the function applies to. */\n abstract functionInput(): RelationalOperationElement;\n /** @internal What a function of this is labelled after. */\n abstract functionLabel(): string;\n\n /** Join text on the end: `f.first().concat(' ', f.last())`. A NULL part makes the whole NULL. */\n concat(...more: ConcatPart[]): ConcatOperation {\n return concat(this as unknown as ConcatPart, ...more);\n }\n\n /** Convert every character to uppercase. */\n toUpperCase(): StringFunctionOperation {\n return stringFunction(this.functionInput(), ScalarFunction.UPPER, 'Upper ' + this.functionLabel());\n }\n /** Convert every character to lowercase. */\n toLowerCase(): StringFunctionOperation {\n return stringFunction(this.functionInput(), ScalarFunction.LOWER, 'Lower ' + this.functionLabel());\n }\n /** Remove leading and trailing whitespace. */\n trim(): StringFunctionOperation {\n return stringFunction(this.functionInput(), ScalarFunction.TRIM, 'Trim ' + this.functionLabel());\n }\n /** Remove leading whitespace. */\n trimStart(): StringFunctionOperation {\n return stringFunction(this.functionInput(), ScalarFunction.LTRIM, 'Trim Start ' + this.functionLabel());\n }\n /** Remove trailing whitespace. */\n trimEnd(): StringFunctionOperation {\n return stringFunction(this.functionInput(), ScalarFunction.RTRIM, 'Trim End ' + this.functionLabel());\n }\n /** Return the number of characters in the string. */\n length(): NumericFunctionOperation {\n return numberFunction(this.functionInput(), ScalarFunction.LENGTH, 'Length ' + this.functionLabel());\n }\n /** Return the string with characters in reverse order. */\n reverse(): StringFunctionOperation {\n return stringFunction(this.functionInput(), ScalarFunction.REVERSE, 'Reverse ' + this.functionLabel());\n }\n /** Return the first `n` characters. */\n left(n: number): StringFunctionOperation {\n return stringFunction(this.functionInput(), ScalarFunction.LEFT, 'Left ' + this.functionLabel(), n);\n }\n /** Return the last `n` characters. */\n right(n: number): StringFunctionOperation {\n return stringFunction(this.functionInput(), ScalarFunction.RIGHT, 'Right ' + this.functionLabel(), n);\n }\n /** Return the string repeated `n` times. */\n repeat(n: number): StringFunctionOperation {\n return stringFunction(this.functionInput(), ScalarFunction.REPEAT, 'Repeat ' + this.functionLabel(), n);\n }\n /** Replace all occurrences of `fromStr` with `toStr`. */\n replace(fromStr: string, toStr: string): StringFunctionOperation {\n return stringFunction(this.functionInput(), ScalarFunction.REPLACE, 'Replace ' + this.functionLabel(), undefined, [fromStr, toStr]);\n }\n /**\n * Extract a portion of the string.\n * `start` is zero-based (following Python convention); `length` is optional.\n */\n substring(start: number, length?: number): StringFunctionOperation {\n // Python convention: 0-based start; SQL SUBSTRING is 1-based, so add 1\n const args = length !== undefined ? [start + 1, length] : [start + 1];\n return stringFunction(this.functionInput(), ScalarFunction.SUBSTRING, 'Substring ' + this.functionLabel(), undefined, args);\n }\n}\n\n/** Functions of a number. */\nexport abstract class NumericFunctions {\n /** @internal The expression the function applies to. */\n abstract functionInput(): RelationalOperationElement;\n /** @internal What a function of this is labelled after. */\n abstract functionLabel(): string;\n\n /** Absolute value (distance from zero, always non-negative). */\n abs(): NumericFunctionOperation {\n return numberFunction(this.functionInput(), ScalarFunction.ABS, 'Abs ' + this.functionLabel());\n }\n /** Round up to the nearest integer. */\n ceil(): NumericFunctionOperation {\n return numberFunction(this.functionInput(), ScalarFunction.CEILING, 'Ceil ' + this.functionLabel());\n }\n /** Round down to the nearest integer. */\n floor(): NumericFunctionOperation {\n return numberFunction(this.functionInput(), ScalarFunction.FLOOR, 'Floor ' + this.functionLabel());\n }\n /** Square root. */\n sqrt(): NumericFunctionOperation {\n return numberFunction(this.functionInput(), ScalarFunction.SQRT, 'Sqrt ' + this.functionLabel());\n }\n /** Remainder after dividing by `n`. */\n mod(n: number): NumericFunctionOperation {\n return numberFunction(this.functionInput(), ScalarFunction.MOD, 'Mod ' + this.functionLabel(), n);\n }\n /** Raise to the power of `n`. */\n power(n: number): NumericFunctionOperation {\n return numberFunction(this.functionInput(), ScalarFunction.POWER, 'Power ' + this.functionLabel(), n);\n }\n /** Round to `d` decimal places, or to the nearest integer when `d` is omitted. */\n round(d?: number): NumericFunctionOperation {\n return numberFunction(this.functionInput(), ScalarFunction.ROUND, 'Round ' + this.functionLabel(), d);\n }\n}\n\nexport interface StringFunctionOperation extends StringFunctions {}\napplyMixins(StringFunctionOperation, [StringFunctions]);\n\nexport interface NumericFunctionOperation extends NumericFunctions {}\napplyMixins(NumericFunctionOperation, [NumericFunctions]);\n","import { Attribute, AttributeValue } from './attribute';\nimport { NumericFunctions, StringFunctions } from './scalar-functions';\nimport {\n ComparisonOperation,\n ComparisonOperator,\n StringConstantOperation,\n FloatConstantOperation,\n IntegerConstantOperation,\n DateConstantOperation,\n DateTimeConstantOperation,\n ConstantOperation,\n DateOnly,\n escapeLike,\n applyMixins,\n Arithmetic,\n DATE_ONLY_PATTERN,\n BooleanConstantOperation,\n DecimalConstantOperation,\n AggregateOperation,\n AggregateOperator,\n SortOperation,\n ScalarFunction,\n ScalarFunctionOperation,\n DatePart,\n DateExtractOperation,\n DateTruncOperation,\n DateArithmeticOperation,\n DateDiffOperation,\n JoinTreeNodeOperation,\n ColumnWithJoin,\n sample,\n} from '../model/relational';\n\n/** The smallest and largest value of a group, for a column that can be ordered but not summed. */\nabstract class MinMax {\n abstract cwj(): ColumnWithJoin;\n abstract displayName(): string;\n\n /** Smallest value in the group. */\n min(): AggregateOperation {\n return new AggregateOperation(this.cwj(), AggregateOperator.MIN, 'Min ' + this.displayName());\n }\n /** Largest value in the group. */\n max(): AggregateOperation {\n return new AggregateOperation(this.cwj(), AggregateOperator.MAX, 'Max ' + this.displayName());\n }\n}\n\nexport class StringAttribute extends Attribute {\n constructor(\n displayName: string,\n columnName: string,\n columnDbType: string,\n owner: string,\n parent?: JoinTreeNodeOperation,\n embedded?: Attribute,\n nullable: boolean = true,\n optional: boolean = false,\n ) { super(displayName, columnName, columnDbType, owner, parent, embedded, nullable, optional); }\n\n protected toConstant(value: AttributeValue): ConstantOperation {\n return new StringConstantOperation(String(value));\n }\n\n /**\n * Join the values of a group into one text with `separator` between them. `orderBy` is the order they are\n * joined in (`[f.name().ascending()]`); without it the order is not defined. Missing values are skipped.\n */\n join(separator: string = '', orderBy: SortOperation[] = []): AggregateOperation {\n return new AggregateOperation(this.cwj(), AggregateOperator.STRING_AGG, 'Join ' + this.displayName(), undefined, separator, orderBy);\n }\n\n /** Filter to rows where this attribute equals `value`. */\n eq(value: string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.EQUAL, new StringConstantOperation(value));\n }\n /** Filter to rows where this attribute does not equal `value`. */\n ne(value: string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.NOT_EQUAL, new StringConstantOperation(value));\n }\n /** Filter to rows where this attribute contains `value` as a substring. */\n contains(value: string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.LIKE, new StringConstantOperation(`%${escapeLike(value)}%`));\n }\n /** Filter to rows where this attribute begins with `prefix`. */\n startsWith(prefix: string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.LIKE, new StringConstantOperation(`${escapeLike(prefix)}%`));\n }\n /** Filter to rows where this attribute ends with `suffix`. */\n endsWith(suffix: string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.LIKE, new StringConstantOperation(`%${escapeLike(suffix)}`));\n }\n /** Filter to rows where this attribute does not contain `value` as a substring. */\n notContains(value: string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.NOT_LIKE, new StringConstantOperation(`%${escapeLike(value)}%`));\n }\n}\n\nexport interface StringAttribute extends MinMax, StringFunctions {}\napplyMixins(StringAttribute, [MinMax, StringFunctions]);\n\nexport abstract class NumericAttribute extends Attribute {\n constructor(\n displayName: string,\n columnName: string,\n columnDbType: string,\n owner: string,\n parent?: JoinTreeNodeOperation,\n embedded?: Attribute,\n nullable: boolean = true,\n optional: boolean = false,\n ) { super(displayName, columnName, columnDbType, owner, parent, embedded, nullable, optional); }\n\n /** Sum of all values in the group. */\n sum(): AggregateOperation {\n return new AggregateOperation(this.cwj(), AggregateOperator.SUM, 'Sum ' + this.displayName());\n }\n /** Arithmetic mean of all values in the group. */\n average(): AggregateOperation {\n return new AggregateOperation(this.cwj(), AggregateOperator.AVERAGE, 'Average ' + this.displayName());\n }\n /** Standard deviation of the values in the group: the sample one by default, `ddof = 0` for the population one, as `Series.std`. */\n std(ddof = 1): AggregateOperation {\n const operator = sample(ddof) ? AggregateOperator.STDDEV_SAMP : AggregateOperator.STDDEV_POP;\n return new AggregateOperation(this.cwj(), operator, 'Std ' + this.displayName());\n }\n /** Variance of the values in the group: the sample one by default, `ddof = 0` for the population one, as `Series.var`. */\n var(ddof = 1): AggregateOperation {\n const operator = sample(ddof) ? AggregateOperator.VAR_SAMP : AggregateOperator.VAR_POP;\n return new AggregateOperation(this.cwj(), operator, 'Var ' + this.displayName());\n }\n}\n\nexport interface NumericAttribute extends MinMax, NumericFunctions, Arithmetic {}\napplyMixins(NumericAttribute, [MinMax, NumericFunctions, Arithmetic]);\n\nexport class DoubleAttribute extends NumericAttribute {\n constructor(\n displayName: string,\n columnName: string,\n columnDbType: string,\n owner: string,\n parent?: JoinTreeNodeOperation,\n embedded?: Attribute,\n nullable: boolean = true,\n optional: boolean = false,\n ) { super(displayName, columnName, columnDbType, owner, parent, embedded, nullable, optional); }\n\n protected toConstant(value: AttributeValue): ConstantOperation {\n return new FloatConstantOperation(Number(value));\n }\n\n /** Filter to rows where this attribute equals `value`. */\n eq(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.EQUAL, new FloatConstantOperation(value));\n }\n /** Filter to rows where this attribute does not equal `value`. */\n ne(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.NOT_EQUAL, new FloatConstantOperation(value));\n }\n /** Filter to rows where this attribute is greater than `value`. */\n gt(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.GREATER_THAN, new FloatConstantOperation(value));\n }\n /** Filter to rows where this attribute is less than `value`. */\n lt(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.LESS_THAN, new FloatConstantOperation(value));\n }\n /** Filter to rows where this attribute is greater than or equal to `value`. */\n gte(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.GREATER_THAN_OR_EQUAL_TO, new FloatConstantOperation(value));\n }\n /** Filter to rows where this attribute is less than or equal to `value`. */\n lte(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.LESS_THAN_OR_EQUAL_TO, new FloatConstantOperation(value));\n }\n}\n\nexport const FloatAttribute = DoubleAttribute;\nexport type FloatAttribute = DoubleAttribute;\n\nexport class DecimalAttribute extends NumericAttribute {\n constructor(\n displayName: string,\n columnName: string,\n columnDbType: string,\n owner: string,\n parent?: JoinTreeNodeOperation,\n embedded?: Attribute,\n nullable: boolean = true,\n optional: boolean = false,\n ) { super(displayName, columnName, columnDbType, owner, parent, embedded, nullable, optional); }\n\n protected toConstant(value: AttributeValue): ConstantOperation {\n return new DecimalConstantOperation(Number(value));\n }\n\n /** Filter to rows where this attribute equals `value`. */\n eq(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.EQUAL, new DecimalConstantOperation(value));\n }\n /** Filter to rows where this attribute does not equal `value`. */\n ne(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.NOT_EQUAL, new DecimalConstantOperation(value));\n }\n /** Filter to rows where this attribute is greater than `value`. */\n gt(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.GREATER_THAN, new DecimalConstantOperation(value));\n }\n /** Filter to rows where this attribute is less than `value`. */\n lt(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.LESS_THAN, new DecimalConstantOperation(value));\n }\n /** Filter to rows where this attribute is greater than or equal to `value`. */\n gte(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.GREATER_THAN_OR_EQUAL_TO, new DecimalConstantOperation(value));\n }\n /** Filter to rows where this attribute is less than or equal to `value`. */\n lte(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.LESS_THAN_OR_EQUAL_TO, new DecimalConstantOperation(value));\n }\n}\n\nexport class IntegerAttribute extends NumericAttribute {\n constructor(\n displayName: string,\n columnName: string,\n columnDbType: string,\n owner: string,\n parent?: JoinTreeNodeOperation,\n embedded?: Attribute,\n nullable: boolean = true,\n optional: boolean = false,\n ) { super(displayName, columnName, columnDbType, owner, parent, embedded, nullable, optional); }\n\n protected toConstant(value: AttributeValue): ConstantOperation {\n return new IntegerConstantOperation(Number(value));\n }\n\n /** Filter to rows where this attribute equals `value`. */\n eq(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.EQUAL, new IntegerConstantOperation(value));\n }\n /** Filter to rows where this attribute does not equal `value`. */\n ne(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.NOT_EQUAL, new IntegerConstantOperation(value));\n }\n /** Filter to rows where this attribute is greater than `value`. */\n gt(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.GREATER_THAN, new IntegerConstantOperation(value));\n }\n /** Filter to rows where this attribute is less than `value`. */\n lt(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.LESS_THAN, new IntegerConstantOperation(value));\n }\n /** Filter to rows where this attribute is greater than or equal to `value`. */\n gte(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.GREATER_THAN_OR_EQUAL_TO, new IntegerConstantOperation(value));\n }\n /** Filter to rows where this attribute is less than or equal to `value`. */\n lte(value: number): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.LESS_THAN_OR_EQUAL_TO, new IntegerConstantOperation(value));\n }\n}\n\nexport class BooleanAttribute extends Attribute {\n constructor(\n displayName: string,\n columnName: string,\n columnDbType: string,\n owner: string,\n parent?: JoinTreeNodeOperation,\n embedded?: Attribute,\n nullable: boolean = true,\n optional: boolean = false,\n ) { super(displayName, columnName, columnDbType, owner, parent, embedded, nullable, optional); }\n\n protected toConstant(value: AttributeValue): ConstantOperation {\n return new BooleanConstantOperation(Boolean(value));\n }\n\n /** Filter to rows where this attribute equals `value`. */\n eq(value: boolean): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.EQUAL, new BooleanConstantOperation(value));\n }\n /** Filter to rows where this attribute is true. */\n isTrue(): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.EQUAL, new BooleanConstantOperation(true));\n }\n /** Filter to rows where this attribute is false. */\n isFalse(): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.EQUAL, new BooleanConstantOperation(false));\n }\n}\n\nfunction parseDate(value: Date | string): Date {\n if (value instanceof Date) return value;\n const d = new Date(value);\n if (isNaN(d.getTime())) throw new Error(`Cannot parse date: ${value}`);\n return d;\n}\n\n/**\n * A timestamp comparison value: a `DateOnly` (or a `YYYY-MM-DD` string) is a date literal,\n * any other `Date` or string a timestamp literal.\n */\nfunction temporalConstant(value: Date | string): DateConstantOperation | DateTimeConstantOperation {\n if (typeof value === 'string' && DATE_ONLY_PATTERN.test(value)) return new DateConstantOperation(new DateOnly(value));\n const date = parseDate(value);\n return date instanceof DateOnly ? new DateConstantOperation(date) : new DateTimeConstantOperation(date);\n}\n\nexport class DateAttribute extends Attribute {\n constructor(\n displayName: string,\n columnName: string,\n columnDbType: string,\n owner: string,\n parent?: JoinTreeNodeOperation,\n embedded?: Attribute,\n nullable: boolean = true,\n optional: boolean = false,\n ) { super(displayName, columnName, columnDbType, owner, parent, embedded, nullable, optional); }\n\n protected toConstant(value: AttributeValue): ConstantOperation {\n return new DateConstantOperation(parseDate(value as Date | string));\n }\n\n /** Filter to rows where this date equals `value`. */\n eq(value: Date | string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.EQUAL, new DateConstantOperation(parseDate(value)));\n }\n /** Filter to rows where this date does not equal `value`. */\n ne(value: Date | string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.NOT_EQUAL, new DateConstantOperation(parseDate(value)));\n }\n /** Filter to rows where this date is after `value`. */\n gt(value: Date | string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.GREATER_THAN, new DateConstantOperation(parseDate(value)));\n }\n /** Filter to rows where this date is before `value`. */\n lt(value: Date | string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.LESS_THAN, new DateConstantOperation(parseDate(value)));\n }\n /** Filter to rows where this date is on or after `value`. */\n gte(value: Date | string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.GREATER_THAN_OR_EQUAL_TO, new DateConstantOperation(parseDate(value)));\n }\n /** Filter to rows where this date is on or before `value`. */\n lte(value: Date | string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.LESS_THAN_OR_EQUAL_TO, new DateConstantOperation(parseDate(value)));\n }\n\n /** Extract the four-digit calendar year. */\n year(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.YEAR, 'Year ' + this.displayName()); }\n /** Extract the month number (1–12). */\n month(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.MONTH, 'Month ' + this.displayName()); }\n /** Extract the day of the month (1–31). */\n day(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.DAY, 'Day ' + this.displayName()); }\n /** Extract the quarter (1–4). */\n quarter(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.QUARTER, 'Quarter ' + this.displayName()); }\n /** Extract the ISO week number (1–53). */\n week(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.WEEK, 'Week ' + this.displayName()); }\n /** Extract the day of the week (0 = Sunday through 6 = Saturday). */\n dayOfWeek(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.DOW, 'Day Of Week ' + this.displayName()); }\n /** The date of the first day of the week the date falls in (a Monday). */\n firstDayOfWeek(): DateTruncOperation { return new DateTruncOperation(this.cwj(), DatePart.WEEK, 'First Day Of Week ' + this.displayName()); }\n /** The date of the first day of the month the date falls in. */\n firstDayOfMonth(): DateTruncOperation { return new DateTruncOperation(this.cwj(), DatePart.MONTH, 'First Day Of Month ' + this.displayName()); }\n /** The date of the first day of the quarter the date falls in. */\n firstDayOfQuarter(): DateTruncOperation { return new DateTruncOperation(this.cwj(), DatePart.QUARTER, 'First Day Of Quarter ' + this.displayName()); }\n /** The date of the first day of the year the date falls in. */\n firstDayOfYear(): DateTruncOperation { return new DateTruncOperation(this.cwj(), DatePart.YEAR, 'First Day Of Year ' + this.displayName()); }\n\n /** Add `n` days to this date. */\n addDays(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.DAY, true, 'Add Days ' + this.displayName()); }\n /** Add `n` months to this date. */\n addMonths(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.MONTH, true, 'Add Months ' + this.displayName()); }\n /** Add `n` years to this date. */\n addYears(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.YEAR, true, 'Add Years ' + this.displayName()); }\n /** Subtract `n` days from this date. */\n subtractDays(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.DAY, false, 'Subtract Days ' + this.displayName()); }\n /** Subtract `n` months from this date. */\n subtractMonths(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.MONTH, false, 'Subtract Months ' + this.displayName()); }\n /** Subtract `n` years from this date. */\n subtractYears(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.YEAR, false, 'Subtract Years ' + this.displayName()); }\n\n /** Number of whole days between this date and `other`. */\n diffDays(other: Date): DateDiffOperation { return new DateDiffOperation(this.cwj(), other, DatePart.DAY, 'Diff Days ' + this.displayName()); }\n /** Number of whole months between this date and `other`. */\n diffMonths(other: Date): DateDiffOperation { return new DateDiffOperation(this.cwj(), other, DatePart.MONTH, 'Diff Months ' + this.displayName()); }\n /** Number of whole years between this date and `other`. */\n diffYears(other: Date): DateDiffOperation { return new DateDiffOperation(this.cwj(), other, DatePart.YEAR, 'Diff Years ' + this.displayName()); }\n}\n\nexport class DateTimeAttribute extends Attribute {\n constructor(\n displayName: string,\n columnName: string,\n columnDbType: string,\n owner: string,\n parent?: JoinTreeNodeOperation,\n embedded?: Attribute,\n nullable: boolean = true,\n optional: boolean = false,\n ) { super(displayName, columnName, columnDbType, owner, parent, embedded, nullable, optional); }\n\n protected toConstant(value: AttributeValue): ConstantOperation {\n return temporalConstant(value as Date | string);\n }\n\n /** Filter to rows where this timestamp equals `value`. */\n eq(value: Date | string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.EQUAL, temporalConstant(value));\n }\n /** Filter to rows where this timestamp does not equal `value`. */\n ne(value: Date | string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.NOT_EQUAL, temporalConstant(value));\n }\n /** Filter to rows where this timestamp is after `value`. */\n gt(value: Date | string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.GREATER_THAN, temporalConstant(value));\n }\n /** Filter to rows where this timestamp is before `value`. */\n lt(value: Date | string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.LESS_THAN, temporalConstant(value));\n }\n /** Filter to rows where this timestamp is on or after `value`. */\n gte(value: Date | string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.GREATER_THAN_OR_EQUAL_TO, temporalConstant(value));\n }\n /** Filter to rows where this timestamp is on or before `value`. */\n lte(value: Date | string): ComparisonOperation {\n return new ComparisonOperation(this.cwj(), ComparisonOperator.LESS_THAN_OR_EQUAL_TO, temporalConstant(value));\n }\n\n /** Extract the four-digit calendar year. */\n year(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.YEAR, 'Year ' + this.displayName()); }\n /** Extract the month number (1–12). */\n month(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.MONTH, 'Month ' + this.displayName()); }\n /** Extract the day of the month (1–31). */\n day(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.DAY, 'Day ' + this.displayName()); }\n /** Extract the hour (0–23). */\n hour(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.HOUR, 'Hour ' + this.displayName()); }\n /** Extract the minute (0–59). */\n minute(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.MINUTE, 'Minute ' + this.displayName()); }\n /** Extract the second (0–59). */\n second(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.SECOND, 'Second ' + this.displayName()); }\n /** Extract the quarter (1–4). */\n quarter(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.QUARTER, 'Quarter ' + this.displayName()); }\n /** Extract the ISO week number (1–53). */\n week(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.WEEK, 'Week ' + this.displayName()); }\n /** Extract the day of the week (0 = Sunday through 6 = Saturday). */\n dayOfWeek(): DateExtractOperation { return new DateExtractOperation(this.cwj(), DatePart.DOW, 'Day Of Week ' + this.displayName()); }\n /** The date of the first day of the week the date falls in (a Monday). */\n firstDayOfWeek(): DateTruncOperation { return new DateTruncOperation(this.cwj(), DatePart.WEEK, 'First Day Of Week ' + this.displayName()); }\n /** The date of the first day of the month the date falls in. */\n firstDayOfMonth(): DateTruncOperation { return new DateTruncOperation(this.cwj(), DatePart.MONTH, 'First Day Of Month ' + this.displayName()); }\n /** The date of the first day of the quarter the date falls in. */\n firstDayOfQuarter(): DateTruncOperation { return new DateTruncOperation(this.cwj(), DatePart.QUARTER, 'First Day Of Quarter ' + this.displayName()); }\n /** The date of the first day of the year the date falls in. */\n firstDayOfYear(): DateTruncOperation { return new DateTruncOperation(this.cwj(), DatePart.YEAR, 'First Day Of Year ' + this.displayName()); }\n\n /** Add `n` days to this timestamp. */\n addDays(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.DAY, true, 'Add Days ' + this.displayName()); }\n /** Add `n` months to this timestamp. */\n addMonths(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.MONTH, true, 'Add Months ' + this.displayName()); }\n /** Add `n` years to this timestamp. */\n addYears(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.YEAR, true, 'Add Years ' + this.displayName()); }\n /** Add `n` hours to this timestamp. */\n addHours(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.HOUR, true, 'Add Hours ' + this.displayName()); }\n /** Add `n` minutes to this timestamp. */\n addMinutes(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.MINUTE, true, 'Add Minutes ' + this.displayName()); }\n /** Add `n` seconds to this timestamp. */\n addSeconds(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.SECOND, true, 'Add Seconds ' + this.displayName()); }\n /** Subtract `n` days from this timestamp. */\n subtractDays(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.DAY, false, 'Subtract Days ' + this.displayName()); }\n /** Subtract `n` months from this timestamp. */\n subtractMonths(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.MONTH, false, 'Subtract Months ' + this.displayName()); }\n /** Subtract `n` years from this timestamp. */\n subtractYears(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.YEAR, false, 'Subtract Years ' + this.displayName()); }\n /** Subtract `n` hours from this timestamp. */\n subtractHours(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.HOUR, false, 'Subtract Hours ' + this.displayName()); }\n /** Subtract `n` minutes from this timestamp. */\n subtractMinutes(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.MINUTE, false, 'Subtract Minutes ' + this.displayName()); }\n /** Subtract `n` seconds from this timestamp. */\n subtractSeconds(n: number): DateArithmeticOperation { return new DateArithmeticOperation(this.cwj(), n, DatePart.SECOND, false, 'Subtract Seconds ' + this.displayName()); }\n\n /** Number of whole days between this timestamp and `other`. */\n diffDays(other: Date): DateDiffOperation { return new DateDiffOperation(this.cwj(), other, DatePart.DAY, 'Diff Days ' + this.displayName()); }\n /** Number of whole months between this timestamp and `other`. */\n diffMonths(other: Date): DateDiffOperation { return new DateDiffOperation(this.cwj(), other, DatePart.MONTH, 'Diff Months ' + this.displayName()); }\n /** Number of whole years between this timestamp and `other`. */\n diffYears(other: Date): DateDiffOperation { return new DateDiffOperation(this.cwj(), other, DatePart.YEAR, 'Diff Years ' + this.displayName()); }\n /** Number of whole hours between this timestamp and `other`. */\n diffHours(other: Date): DateDiffOperation { return new DateDiffOperation(this.cwj(), other, DatePart.HOUR, 'Diff Hours ' + this.displayName()); }\n /** Number of whole minutes between this timestamp and `other`. */\n diffMinutes(other: Date): DateDiffOperation { return new DateDiffOperation(this.cwj(), other, DatePart.MINUTE, 'Diff Minutes ' + this.displayName()); }\n /** Number of whole seconds between this timestamp and `other`. */\n diffSeconds(other: Date): DateDiffOperation { return new DateDiffOperation(this.cwj(), other, DatePart.SECOND, 'Diff Seconds ' + this.displayName()); }\n}\n\nexport interface DateAttribute extends MinMax {}\napplyMixins(DateAttribute, [MinMax]);\n\nexport interface DateTimeAttribute extends MinMax {}\napplyMixins(DateTimeAttribute, [MinMax]);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBO,IAAM,0BAAN,cAAsC,wBAAwB;AAAA,EACnE,gBAA4C;AAAE,WAAO;AAAA,EAAM;AAAA,EAC3D,gBAAwB;AAAE,WAAO,QAAQ,IAAI;AAAA,EAAG;AAClD;AAGO,IAAM,2BAAN,cAAuC,wBAAwB;AAAA,EACpE,gBAA4C;AAAE,WAAO;AAAA,EAAM;AAAA,EAC3D,gBAAwB;AAAE,WAAO,QAAQ,IAAI;AAAA,EAAG;AAClD;AAEA,SAAS,QAAQ,WAA4C;AAC3D,SAAO,UAAU,eAAe,UAAU,KAAK,OAAO,CAAC,IAAI,UAAU,KAAK,MAAM,CAAC,EAAE,YAAY;AACjG;AAEA,SAAS,eACP,SAAqC,MAAsB,OAC3D,WAAoB,YAAiC,CAAC,GAC7B;AACzB,SAAO,IAAI,wBAAwB,SAAS,MAAM,OAAO,WAAW,SAAS;AAC/E;AAEA,SAAS,eACP,SAAqC,MAAsB,OAAe,WAChD;AAC1B,SAAO,IAAI,yBAAyB,SAAS,MAAM,OAAO,SAAS;AACrE;AAGO,IAAe,kBAAf,MAA+B;AAAA;AAAA,EAOpC,UAAU,MAAqC;AAC7C,WAAO,OAAO,MAA+B,GAAG,IAAI;AAAA,EACtD;AAAA;AAAA,EAGA,cAAuC;AACrC,WAAO,eAAe,KAAK,cAAc,wBAAyB,WAAW,KAAK,cAAc,CAAC;AAAA,EACnG;AAAA;AAAA,EAEA,cA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