@creatio/base 0.810.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/LICENSE.md +6 -0
- package/README.md +19 -0
- package/esm2020/creatio-base.mjs +5 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/lib/external/utils/date-utils.mjs +29 -0
- package/esm2020/lib/external/utils/index.mjs +2 -0
- package/esm2020/lib/index.mjs +11 -0
- package/esm2020/lib/internal/enums/data-schema-attribute-type.enum.mjs +21 -0
- package/esm2020/lib/internal/enums/data-source-scope.enum.mjs +9 -0
- package/esm2020/lib/internal/enums/default-value-source.enum.mjs +12 -0
- package/esm2020/lib/internal/enums/index.mjs +5 -0
- package/esm2020/lib/internal/enums/lookup-mode.mjs +10 -0
- package/esm2020/lib/internal/model/data-schema/data-schema-attribute-aggregation-config.model.mjs +2 -0
- package/esm2020/lib/internal/model/data-schema/data-schema-attribute-function-config.model.mjs +2 -0
- package/esm2020/lib/internal/model/data-schema/data-schema-validator-config.model.mjs +2 -0
- package/esm2020/lib/internal/model/data-schema/index.mjs +4 -0
- package/esm2020/lib/internal/model/data-source-config.mjs +2 -0
- package/esm2020/lib/internal/model/index.mjs +3 -0
- package/esm2020/lib/internal/models/default-value-schema.mjs +2 -0
- package/esm2020/lib/internal/models/index.mjs +2 -0
- package/esm2020/lib/public/enums/aggregation-function.enum.mjs +18 -0
- package/esm2020/lib/public/enums/aggregation-type.enum.mjs +18 -0
- package/esm2020/lib/public/enums/data-schema-type.enum.mjs +9 -0
- package/esm2020/lib/public/enums/data-value-type.enum.mjs +48 -0
- package/esm2020/lib/public/enums/index.mjs +5 -0
- package/esm2020/lib/public/esq/data-model/columns/arithmetic/arithmetic-query-column.mjs +9 -0
- package/esm2020/lib/public/esq/data-model/columns/base-query-column.mjs +45 -0
- package/esm2020/lib/public/esq/data-model/columns/entity-column/entity-query-column.mjs +9 -0
- package/esm2020/lib/public/esq/data-model/columns/functions/aggregation-function-column.mjs +13 -0
- package/esm2020/lib/public/esq/data-model/columns/functions/date-part-function-column.mjs +17 -0
- package/esm2020/lib/public/esq/data-model/columns/functions/length-function-column.mjs +9 -0
- package/esm2020/lib/public/esq/data-model/columns/functions/macros-function-column.mjs +9 -0
- package/esm2020/lib/public/esq/data-model/columns/functions/window-function-column.mjs +9 -0
- package/esm2020/lib/public/esq/data-model/columns/index.mjs +13 -0
- package/esm2020/lib/public/esq/data-model/columns/parameters/parameter-query-column.mjs +9 -0
- package/esm2020/lib/public/esq/data-model/columns/query-column-test-utils.mjs +13 -0
- package/esm2020/lib/public/esq/data-model/columns/sub-queries/aggregation-sub-query-column.mjs +15 -0
- package/esm2020/lib/public/esq/data-model/columns/sub-queries/sub-query-column.mjs +9 -0
- package/esm2020/lib/public/esq/data-model/enums/aggregation-eval-type.enum.mjs +10 -0
- package/esm2020/lib/public/esq/data-model/enums/arithmetic-operation.enum.mjs +12 -0
- package/esm2020/lib/public/esq/data-model/enums/comparison-type.enum.mjs +21 -0
- package/esm2020/lib/public/esq/data-model/enums/date-part-type.enum.mjs +20 -0
- package/esm2020/lib/public/esq/data-model/enums/expression-type.enum.mjs +9 -0
- package/esm2020/lib/public/esq/data-model/enums/filter-type.enum.mjs +11 -0
- package/esm2020/lib/public/esq/data-model/enums/function-type.enum.mjs +19 -0
- package/esm2020/lib/public/esq/data-model/enums/index.mjs +12 -0
- package/esm2020/lib/public/esq/data-model/enums/logical-operator-type.enum.mjs +6 -0
- package/esm2020/lib/public/esq/data-model/enums/order-direction.enum.mjs +7 -0
- package/esm2020/lib/public/esq/data-model/enums/query-macros-type.enum.mjs +76 -0
- package/esm2020/lib/public/esq/data-model/expressions/arithmetic/arithmetic-expression.mjs +30 -0
- package/esm2020/lib/public/esq/data-model/expressions/arithmetic/index.mjs +2 -0
- package/esm2020/lib/public/esq/data-model/expressions/base-expression.mjs +14 -0
- package/esm2020/lib/public/esq/data-model/expressions/columns/column-expression.mjs +21 -0
- package/esm2020/lib/public/esq/data-model/expressions/columns/index.mjs +2 -0
- package/esm2020/lib/public/esq/data-model/expressions/expression-parser/base-expression-parser.mjs +10 -0
- package/esm2020/lib/public/esq/data-model/expressions/expression-parser/expression-parser.mjs +17 -0
- package/esm2020/lib/public/esq/data-model/expressions/expression-parser/expression-resolver.mjs +41 -0
- package/esm2020/lib/public/esq/data-model/expressions/expression-parser/index.mjs +4 -0
- package/esm2020/lib/public/esq/data-model/expressions/functions/aggregation-function-expression.mjs +29 -0
- package/esm2020/lib/public/esq/data-model/expressions/functions/argument-function-expression.mjs +8 -0
- package/esm2020/lib/public/esq/data-model/expressions/functions/date-part-function-expression.mjs +22 -0
- package/esm2020/lib/public/esq/data-model/expressions/functions/function-expression.mjs +9 -0
- package/esm2020/lib/public/esq/data-model/expressions/functions/index.mjs +8 -0
- package/esm2020/lib/public/esq/data-model/expressions/functions/length-function-expression.mjs +20 -0
- package/esm2020/lib/public/esq/data-model/expressions/functions/macros-function-expression.mjs +21 -0
- package/esm2020/lib/public/esq/data-model/expressions/functions/window-function-expression.mjs +20 -0
- package/esm2020/lib/public/esq/data-model/expressions/index.mjs +9 -0
- package/esm2020/lib/public/esq/data-model/expressions/mocks/expression.mock.mjs +17 -0
- package/esm2020/lib/public/esq/data-model/expressions/mocks/index.mjs +2 -0
- package/esm2020/lib/public/esq/data-model/expressions/parameters/index.mjs +2 -0
- package/esm2020/lib/public/esq/data-model/expressions/parameters/parameter-expression.mjs +88 -0
- package/esm2020/lib/public/esq/data-model/expressions/sub-queries/aggregation-sub-query-expression.mjs +25 -0
- package/esm2020/lib/public/esq/data-model/expressions/sub-queries/index.mjs +3 -0
- package/esm2020/lib/public/esq/data-model/expressions/sub-queries/sub-query-expression.mjs +30 -0
- package/esm2020/lib/public/esq/data-model/filters/base-filter.mjs +15 -0
- package/esm2020/lib/public/esq/data-model/filters/between-filter.mjs +21 -0
- package/esm2020/lib/public/esq/data-model/filters/compare-filter.mjs +20 -0
- package/esm2020/lib/public/esq/data-model/filters/exists-filter.mjs +22 -0
- package/esm2020/lib/public/esq/data-model/filters/filter-group.mjs +129 -0
- package/esm2020/lib/public/esq/data-model/filters/filter-parser/base-filter-parser.mjs +10 -0
- package/esm2020/lib/public/esq/data-model/filters/filter-parser/filter-parser.mjs +14 -0
- package/esm2020/lib/public/esq/data-model/filters/filter-parser/filter-resolver.mjs +25 -0
- package/esm2020/lib/public/esq/data-model/filters/filter-parser/index.mjs +4 -0
- package/esm2020/lib/public/esq/data-model/filters/filter-test-utils.mjs +11 -0
- package/esm2020/lib/public/esq/data-model/filters/in-filter.mjs +20 -0
- package/esm2020/lib/public/esq/data-model/filters/index.mjs +12 -0
- package/esm2020/lib/public/esq/data-model/filters/isnull-filter.mjs +28 -0
- package/esm2020/lib/public/esq/data-model/filters/mocks/filter.mock.mjs +16 -0
- package/esm2020/lib/public/esq/data-model/filters/mocks/index.mjs +3 -0
- package/esm2020/lib/public/esq/data-model/filters/mocks/parser.mock.mjs +8 -0
- package/esm2020/lib/public/esq/data-model/filters/single-filter.mjs +9 -0
- package/esm2020/lib/public/esq/data-model/index.mjs +7 -0
- package/esm2020/lib/public/esq/data-model/metadata-provider/metadata-provider.mjs +2 -0
- package/esm2020/lib/public/esq/data-model/queries/base-filterable-query.mjs +15 -0
- package/esm2020/lib/public/esq/data-model/queries/base-query.mjs +20 -0
- package/esm2020/lib/public/esq/data-model/queries/delete-query.mjs +12 -0
- package/esm2020/lib/public/esq/data-model/queries/entity-schema-query.mjs +205 -0
- package/esm2020/lib/public/esq/data-model/queries/index.mjs +9 -0
- package/esm2020/lib/public/esq/data-model/queries/insert-query.mjs +37 -0
- package/esm2020/lib/public/esq/data-model/queries/query-operation-type.mjs +15 -0
- package/esm2020/lib/public/esq/data-model/queries/select-localization-query.mjs +7 -0
- package/esm2020/lib/public/esq/data-model/queries/update-query.mjs +43 -0
- package/esm2020/lib/public/esq/index.mjs +2 -0
- package/esm2020/lib/public/exceptions/argument-empty-exception.mjs +7 -0
- package/esm2020/lib/public/exceptions/argument-out-of-range-exception.mjs +7 -0
- package/esm2020/lib/public/exceptions/index.mjs +6 -0
- package/esm2020/lib/public/exceptions/item-not-found-exception.mjs +7 -0
- package/esm2020/lib/public/exceptions/next-handler-already-specified-exception.mjs +9 -0
- package/esm2020/lib/public/exceptions/validation-utilities.mjs +32 -0
- package/esm2020/lib/public/models/data-source/data-source-insert-result.model.mjs +2 -0
- package/esm2020/lib/public/models/data-source/data-source-save-result.model.mjs +2 -0
- package/esm2020/lib/public/models/data-source/index.mjs +3 -0
- package/esm2020/lib/public/models/index.mjs +6 -0
- package/esm2020/lib/public/models/lookup-value.model.mjs +2 -0
- package/esm2020/lib/public/models/request/base-request.mjs +9 -0
- package/esm2020/lib/public/models/request/index.mjs +2 -0
- package/esm2020/lib/public/models/request-handler/index.mjs +2 -0
- package/esm2020/lib/public/models/request-handler/request-handler.mjs +2 -0
- package/esm2020/lib/public/models/view-model-context.mjs +3 -0
- package/esm2020/lib/public/services/index.mjs +3 -0
- package/esm2020/lib/public/services/model/base-model.mjs +2 -0
- package/esm2020/lib/public/services/model/data-schema-attribute.mjs +2 -0
- package/esm2020/lib/public/services/model/data-schema.mjs +2 -0
- package/esm2020/lib/public/services/model/data-source-aggregation-config.mjs +2 -0
- package/esm2020/lib/public/services/model/data-source-attribute.mjs +2 -0
- package/esm2020/lib/public/services/model/data-source-can-execute-operation.mjs +2 -0
- package/esm2020/lib/public/services/model/data-source-function-config.mjs +2 -0
- package/esm2020/lib/public/services/model/data-source-paging-config.mjs +2 -0
- package/esm2020/lib/public/services/model/data-source-parameter.mjs +12 -0
- package/esm2020/lib/public/services/model/data-source-sorting-config.mjs +2 -0
- package/esm2020/lib/public/services/model/index.mjs +13 -0
- package/esm2020/lib/public/services/model/model-load-options.mjs +2 -0
- package/esm2020/lib/public/services/sys-settings/base-sys-settings.service.mjs +2 -0
- package/esm2020/lib/public/services/sys-settings/index.mjs +2 -0
- package/esm2020/lib/public/types/abstract-type.mjs +2 -0
- package/esm2020/lib/public/types/aggregation-eval.type.mjs +2 -0
- package/esm2020/lib/public/types/date-part.type.mjs +2 -0
- package/esm2020/lib/public/types/entity-column-value.mjs +2 -0
- package/esm2020/lib/public/types/function.type.mjs +2 -0
- package/esm2020/lib/public/types/guid.type.mjs +53 -0
- package/esm2020/lib/public/types/index.mjs +13 -0
- package/esm2020/lib/public/types/json-data.type.mjs +2 -0
- package/esm2020/lib/public/types/localizable-string.type.mjs +2 -0
- package/esm2020/lib/public/types/localize-fn.type.mjs +2 -0
- package/esm2020/lib/public/types/resolve-dependency-fn.type.mjs +2 -0
- package/esm2020/lib/public/types/sort-direction.type.mjs +2 -0
- package/esm2020/lib/public/types/type.mjs +2 -0
- package/fesm2015/creatio-base.mjs +1643 -0
- package/fesm2015/creatio-base.mjs.map +1 -0
- package/fesm2020/creatio-base.mjs +1673 -0
- package/fesm2020/creatio-base.mjs.map +1 -0
- package/index.d.ts +1622 -0
- package/package.json +37 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1622 @@
|
|
|
1
|
+
declare interface BaseDataSourceFunctionConfig {
|
|
2
|
+
type: ɵFunctionStringType;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
/* Excluded from this release type: LookupMode */
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
* @description Represents abstract class.
|
|
10
|
+
*/
|
|
11
|
+
export declare type ɵAbstractType<T = any> = abstract new (...args: any[]) => T;
|
|
12
|
+
|
|
13
|
+
export declare type ɵAggregationEval = 'all' | 'distinct' | 'none';
|
|
14
|
+
|
|
15
|
+
export declare enum ɵAggregationEvalType {
|
|
16
|
+
/** The scope of the aggregating function is not defined. */
|
|
17
|
+
None = 0,
|
|
18
|
+
/** Applies to all elements. */
|
|
19
|
+
All = 1,
|
|
20
|
+
/** Applies to unique values. */
|
|
21
|
+
Distinct = 2
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export declare enum ɵAggregationFunction {
|
|
25
|
+
/** Aggregation function type not defined. */
|
|
26
|
+
None = "",
|
|
27
|
+
/** Aggregation function type not defined. */
|
|
28
|
+
Count = "Count",
|
|
29
|
+
/** Sum of values of all elements. */
|
|
30
|
+
Sum = "Sum",
|
|
31
|
+
/** Average value for all elements. */
|
|
32
|
+
Avg = "Avg",
|
|
33
|
+
/** The minimum value among all elements. */
|
|
34
|
+
Min = "Min",
|
|
35
|
+
/** The maximum value among all elements. */
|
|
36
|
+
Max = "Max",
|
|
37
|
+
/** Top one record from collection. */
|
|
38
|
+
TopOne = "TopOne"
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export declare class ɵAggregationFunctionColumn extends ɵBaseQueryColumn<ɵAggregationFunctionExpression> {
|
|
42
|
+
constructor(aggregationType: ɵAggregationType, aggregationEvalType: ɵAggregationEvalType, functionArgument: ɵBaseExpression);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export declare class ɵAggregationFunctionExpression extends ɵArgumentFunctionExpression {
|
|
46
|
+
readonly functionType: ɵFunctionType;
|
|
47
|
+
readonly aggregationType: ɵAggregationType;
|
|
48
|
+
readonly aggregationEvalType: ɵAggregationEvalType;
|
|
49
|
+
constructor(config: ɵAggregationFunctionExpressionConfig);
|
|
50
|
+
/**
|
|
51
|
+
* Parses expression from json.
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser?: TExpressionParser): ɵAggregationFunctionExpression;
|
|
55
|
+
clone(): ɵAggregationFunctionExpression;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export declare type ɵAggregationFunctionExpressionConfig = ɵArgumentFunctionExpressionConfig<ɵAggregationFunctionExpression> & Pick<ɵAggregationFunctionExpression, 'aggregationType' | 'aggregationEvalType'>;
|
|
59
|
+
|
|
60
|
+
export declare class ɵAggregationSubQueryColumn extends ɵBaseQueryColumn<ɵAggregationSubQueryExpression> {
|
|
61
|
+
constructor(columnPath: string, aggregationType: ɵAggregationType, subFilters?: ɵFilterGroup, subOrderDirection?: number, subOrderColumn?: string);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export declare class ɵAggregationSubQueryExpression extends ɵSubQueryExpression {
|
|
65
|
+
readonly aggregationType: ɵAggregationType;
|
|
66
|
+
readonly functionType?: ɵFunctionType;
|
|
67
|
+
constructor(config: ɵAggregationSubQueryExpressionConfig);
|
|
68
|
+
/**
|
|
69
|
+
* Parses expression from json.
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser>(dto: ɵJsonObject, filterParser: TFilterParser): ɵAggregationSubQueryExpression;
|
|
73
|
+
clone(): ɵAggregationSubQueryExpression;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export declare type ɵAggregationSubQueryExpressionConfig = ɵSubQueryExpressionConfig & Pick<ɵAggregationSubQueryExpression, 'aggregationType'> & Pick<ɵAggregationSubQueryExpression, 'functionType'>;
|
|
77
|
+
|
|
78
|
+
export declare enum ɵAggregationType {
|
|
79
|
+
/** Aggregation function type not defined. */
|
|
80
|
+
None = 0,
|
|
81
|
+
/** Aggregation function type not defined. */
|
|
82
|
+
Count = 1,
|
|
83
|
+
/** Sum of values of all elements. */
|
|
84
|
+
Sum = 2,
|
|
85
|
+
/** Average value for all elements. */
|
|
86
|
+
Avg = 3,
|
|
87
|
+
/** The minimum value among all elements. */
|
|
88
|
+
Min = 4,
|
|
89
|
+
/** The maximum value among all elements. */
|
|
90
|
+
Max = 5,
|
|
91
|
+
/** Top one record from collection. */
|
|
92
|
+
TopOne = 6
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export declare class ɵArgumentEmptyException extends Error {
|
|
96
|
+
constructor(argumentName: string);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export declare abstract class ɵArgumentFunctionExpression extends ɵFunctionExpression {
|
|
100
|
+
readonly functionArgument: ɵBaseExpression;
|
|
101
|
+
protected constructor(config: ɵArgumentFunctionExpressionConfig<ɵArgumentFunctionExpression>);
|
|
102
|
+
abstract clone(): ɵArgumentFunctionExpression;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export declare type ɵArgumentFunctionExpressionConfig<TExpression extends ɵArgumentFunctionExpression> = ɵFunctionExpressionConfig<TExpression> & Pick<ɵArgumentFunctionExpression, 'functionArgument'>;
|
|
106
|
+
|
|
107
|
+
export declare class ɵArgumentOutOfRangeException extends Error {
|
|
108
|
+
constructor(argumentName: string);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export declare class ɵArithmeticExpression extends ɵBaseExpression {
|
|
112
|
+
readonly expressionType: ɵExpressionType;
|
|
113
|
+
readonly arithmeticOperation: ɵArithmeticOperation;
|
|
114
|
+
readonly leftArithmeticOperand: ɵBaseExpression;
|
|
115
|
+
readonly rightArithmeticOperand: ɵBaseExpression;
|
|
116
|
+
constructor(config: ɵArithmeticExpressionConfig);
|
|
117
|
+
/**
|
|
118
|
+
* Parses expression from json.
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser?: TExpressionParser): ɵArithmeticExpression;
|
|
122
|
+
clone(): ɵArithmeticExpression;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export declare type ɵArithmeticExpressionConfig = ɵExpressionConfig<ɵArithmeticExpression> & Pick<ɵArithmeticExpression, 'arithmeticOperation' | 'leftArithmeticOperand' | 'rightArithmeticOperand'>;
|
|
126
|
+
|
|
127
|
+
export declare enum ɵArithmeticOperation {
|
|
128
|
+
/** Addition. */
|
|
129
|
+
Addition = 0,
|
|
130
|
+
/** Subtraction. */
|
|
131
|
+
Subtraction = 1,
|
|
132
|
+
/** Multiplication. */
|
|
133
|
+
Multiplication = 2,
|
|
134
|
+
/** Division. */
|
|
135
|
+
Division = 3
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export declare class ɵArithmeticQueryColumn extends ɵBaseQueryColumn<ɵArithmeticExpression> {
|
|
139
|
+
constructor(arithmeticOperation: ɵArithmeticOperation, leftArithmeticOperand: ɵBaseExpression, rightArithmeticOperand: ɵBaseExpression);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
declare interface ɵBaseDataSchemaAttributeFunctionConfig {
|
|
146
|
+
type: ɵFunctionStringType;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
export declare interface ɵBaseDataSourceParameter {
|
|
153
|
+
type: ɵModelParameterType;
|
|
154
|
+
value: any;
|
|
155
|
+
relationsConfigs?: ɵDataSourceParameterRelationConfig[];
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export declare abstract class ɵBaseExpression {
|
|
159
|
+
readonly isBlock: boolean;
|
|
160
|
+
abstract readonly expressionType: ɵExpressionType;
|
|
161
|
+
protected constructor(config: ɵExpressionConfig<ɵBaseExpression>);
|
|
162
|
+
/**
|
|
163
|
+
* Parses expression from json.
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser?: TExpressionParser): ɵBaseExpression;
|
|
167
|
+
abstract clone(): ɵBaseExpression;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Expression parser interface
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
export declare class ɵBaseExpressionParser {
|
|
175
|
+
static fromJson(dto: ɵJsonObject, filterParser: typeof ɵBaseFilterParser): unknown;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export declare abstract class ɵBaseFilter {
|
|
179
|
+
readonly filterType: ɵFilterType;
|
|
180
|
+
isEnabled: boolean;
|
|
181
|
+
trimDateTimeParameterToDate: boolean;
|
|
182
|
+
protected constructor(filterType: ɵFilterType);
|
|
183
|
+
/**
|
|
184
|
+
* Parses filter from json.
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵBaseFilter;
|
|
188
|
+
abstract clone(): ɵBaseFilter;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
export declare abstract class ɵBaseFilterableQuery extends ɵBaseQuery {
|
|
195
|
+
readonly filters: ɵFilterGroup;
|
|
196
|
+
protected constructor(operationType: ɵQueryOperationType, rootSchemaName: string);
|
|
197
|
+
clearFilters(): void;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Filter parser interface
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
export declare class ɵBaseFilterParser {
|
|
205
|
+
static fromJson(dto: ɵJsonObject): unknown;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export declare interface ɵBaseModel<TLoadOptions extends ɵDataSourceLoadOptions> {
|
|
209
|
+
getSchema(): Promise<ɵDataSchema>;
|
|
210
|
+
load(config?: {
|
|
211
|
+
attributes?: string[] | ɵDataSourceAttribute[];
|
|
212
|
+
parameters?: ɵDataSourceParameters;
|
|
213
|
+
loadOptions?: TLoadOptions;
|
|
214
|
+
}): Promise<ɵJsonArray>;
|
|
215
|
+
insert(dto: ɵJsonObject): Promise<ɵDataSourceSaveResult>;
|
|
216
|
+
update(dto: ɵJsonObject, parameters: ɵDataSourceParameters): Promise<ɵDataSourceSaveResult>;
|
|
217
|
+
copy(primaryColumnValue: string, data: ɵJsonObject): Promise<ɵJsonObject>;
|
|
218
|
+
create(data: ɵJsonObject): Promise<ɵJsonObject>;
|
|
219
|
+
delete(parameters: ɵDataSourceParameters): Promise<ɵDataSourceSaveResult>;
|
|
220
|
+
canSave(params: ɵDataSourceCanExecuteOperationPayload): Promise<ɵDataSourceCanExecuteOperationResult>;
|
|
221
|
+
canDelete(params: ɵDataSourceCanExecuteOperationPayload): Promise<ɵDataSourceCanExecuteOperationResult>;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
export declare abstract class ɵBaseQuery implements ɵMetadataProvider<Record<string, unknown>> {
|
|
228
|
+
readonly operationType: ɵQueryOperationType;
|
|
229
|
+
readonly rootSchemaName: string;
|
|
230
|
+
protected constructor(operationType: ɵQueryOperationType, rootSchemaName: string);
|
|
231
|
+
getMetadata(): Record<string, unknown>;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export declare abstract class ɵBaseQueryColumn<TExpression extends ɵBaseExpression = ɵBaseExpression> {
|
|
235
|
+
orderDirection: ɵOrderDirection;
|
|
236
|
+
orderPosition: number;
|
|
237
|
+
isVisible: boolean;
|
|
238
|
+
caption?: string;
|
|
239
|
+
readonly expression: TExpression;
|
|
240
|
+
protected constructor(expression: TExpression);
|
|
241
|
+
/**
|
|
242
|
+
* Adds ordering options.
|
|
243
|
+
* @param orderDirection Direction.
|
|
244
|
+
* @param orderPosition Position.
|
|
245
|
+
* @returns Self.
|
|
246
|
+
*/
|
|
247
|
+
withOrdering(orderDirection: ɵOrderDirection, orderPosition: number): this;
|
|
248
|
+
/**
|
|
249
|
+
* Adds options.
|
|
250
|
+
* @param options Options.
|
|
251
|
+
* @returns Self.
|
|
252
|
+
*/
|
|
253
|
+
withOptions(options: {
|
|
254
|
+
isVisible?: boolean;
|
|
255
|
+
}): this;
|
|
256
|
+
/**
|
|
257
|
+
* Adds caption.
|
|
258
|
+
* @param caption Caption.
|
|
259
|
+
* @returns Self.
|
|
260
|
+
*/
|
|
261
|
+
withCaption(caption: string): this;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @public
|
|
266
|
+
* @class ɵBaseRequest
|
|
267
|
+
* @describe Base definition of request.
|
|
268
|
+
* @template TEvent
|
|
269
|
+
*/
|
|
270
|
+
export declare class ɵBaseRequest<TEvent = unknown> {
|
|
271
|
+
/**
|
|
272
|
+
* The type of request.
|
|
273
|
+
* @example
|
|
274
|
+
* 'crt.RequestType'
|
|
275
|
+
*/
|
|
276
|
+
readonly type: string;
|
|
277
|
+
/**
|
|
278
|
+
* @deprecated use event binding expression instead.
|
|
279
|
+
*
|
|
280
|
+
* The target event from which this request originated.
|
|
281
|
+
*/
|
|
282
|
+
readonly $initialEvent?: TEvent;
|
|
283
|
+
/**
|
|
284
|
+
* The context in which the requests were triggered.
|
|
285
|
+
*/
|
|
286
|
+
readonly $context: ɵViewModelContext;
|
|
287
|
+
/**
|
|
288
|
+
* The scope of the request.
|
|
289
|
+
*/
|
|
290
|
+
scopes?: string[];
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* @public
|
|
295
|
+
* @description Service to working with system settings.
|
|
296
|
+
*/
|
|
297
|
+
export declare interface ɵBaseSysSettingsService {
|
|
298
|
+
/**
|
|
299
|
+
* Returns value of the specified system setting.
|
|
300
|
+
* @param sysSettingCode Code of system setting.
|
|
301
|
+
* @param defaultValue Default value to be used if system setting has no value.
|
|
302
|
+
*/
|
|
303
|
+
getValueByCode<T>(sysSettingCode: string, defaultValue?: T): Promise<T>;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export declare class ɵBetweenFilter extends ɵSingleFilter {
|
|
307
|
+
readonly rightLessExpression: ɵBaseExpression;
|
|
308
|
+
readonly rightGreaterExpression: ɵBaseExpression;
|
|
309
|
+
constructor(leftExpression: ɵBaseExpression, rightLessExpression: ɵBaseExpression, rightGreaterExpression: ɵBaseExpression);
|
|
310
|
+
/**
|
|
311
|
+
* Parses filter from json.
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵBetweenFilter;
|
|
315
|
+
clone(): ɵBetweenFilter;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export declare class ɵColumnExpression extends ɵBaseExpression {
|
|
319
|
+
readonly expressionType: ɵExpressionType;
|
|
320
|
+
columnPath: string;
|
|
321
|
+
constructor(config: ɵColumnExpressionConfig);
|
|
322
|
+
/**
|
|
323
|
+
* Parses expression from json.
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
static fromJson(dto: ɵJsonObject): ɵColumnExpression;
|
|
327
|
+
clone(): ɵColumnExpression;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export declare type ɵColumnExpressionConfig = ɵExpressionConfig<ɵColumnExpression> & Pick<ɵColumnExpression, 'columnPath'>;
|
|
331
|
+
|
|
332
|
+
export declare class ɵCompareFilter extends ɵSingleFilter {
|
|
333
|
+
readonly rightExpression: ɵBaseExpression;
|
|
334
|
+
constructor(comparisonType: ɵComparisonType, leftExpression: ɵBaseExpression, rightExpression: ɵBaseExpression);
|
|
335
|
+
/**
|
|
336
|
+
* Parses filter from json.
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
339
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵCompareFilter;
|
|
340
|
+
clone(): ɵCompareFilter;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export declare enum ɵComparisonType {
|
|
344
|
+
Between = 0,
|
|
345
|
+
Contain = 11,
|
|
346
|
+
End_with = 13,
|
|
347
|
+
Equal = 3,
|
|
348
|
+
Exists = 15,
|
|
349
|
+
Greater = 7,
|
|
350
|
+
Greater_or_equal = 8,
|
|
351
|
+
Is_not_null = 2,
|
|
352
|
+
Is_null = 1,
|
|
353
|
+
Less = 5,
|
|
354
|
+
Less_or_equal = 6,
|
|
355
|
+
Not_contain = 12,
|
|
356
|
+
Not_end_with = 14,
|
|
357
|
+
Not_equal = 4,
|
|
358
|
+
Not_exists = 16,
|
|
359
|
+
Not_start_with = 10,
|
|
360
|
+
Start_with = 9
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export declare interface ɵConditionalValueItem {
|
|
364
|
+
expressionType: ɵExpressionType;
|
|
365
|
+
parameter: {
|
|
366
|
+
dataValueType: ɵDataValueType;
|
|
367
|
+
value: string;
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* @public
|
|
373
|
+
* @description DataSchema describes the structure of the data-object that the application works with.
|
|
374
|
+
* @property {string} name - name of DataSchema.
|
|
375
|
+
* @property {string} type - type of DataSchema.
|
|
376
|
+
* @property {string} primaryAttributeName - name of primary attribute.
|
|
377
|
+
* @property {string} primaryDisplayAttributeName - name of primary display attribute.
|
|
378
|
+
* @property {string} hierarchyAttributeName - name of the column that binds the parent record,
|
|
379
|
+
* for hierarchical entities.
|
|
380
|
+
* @property {string} primaryColorAttributeName - name of the column that defines color.
|
|
381
|
+
*/
|
|
382
|
+
export declare interface ɵDataSchema {
|
|
383
|
+
name: string;
|
|
384
|
+
/**
|
|
385
|
+
* @description {@link ɵDataSchemaType} type of DataSchema.
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
type?: ɵDataSchemaType;
|
|
389
|
+
/**
|
|
390
|
+
* @description {@link ɵLocalizableString} localizable caption of DataSchema.
|
|
391
|
+
*/
|
|
392
|
+
caption: ɵLocalizableString;
|
|
393
|
+
/**
|
|
394
|
+
* @description {@link ɵDataSchemaAttribute[]} - array of attributes of DataSchema.
|
|
395
|
+
*/
|
|
396
|
+
attributes: ɵDataSchemaAttribute[];
|
|
397
|
+
primaryAttributeName?: string;
|
|
398
|
+
primaryDisplayAttributeName?: string;
|
|
399
|
+
hierarchyAttributeName?: string;
|
|
400
|
+
primaryColorAttributeName?: string;
|
|
401
|
+
/**
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
dataSourceConfig: ɵDataSourceConfig;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* @public
|
|
409
|
+
* @description DataSchemaAttribute describes the structure of the single attribute
|
|
410
|
+
* of data-object that the application works with.
|
|
411
|
+
* @property {string} name - name of DataSchemaAttribute.
|
|
412
|
+
* @property {string} caption - caption of DataSchemaAttribute.
|
|
413
|
+
* @property {string} isValueCloneable - copy this DataSchemaAttribute value when copying object.
|
|
414
|
+
* @property {string} referenceSchemaName - name of refernce DataSchema.
|
|
415
|
+
* @property {boolean} isMasked - is mask used for DataSchemaAttribute.
|
|
416
|
+
* @property {boolean} isFormatValidated - is format validated for DataSchemaAttribute.
|
|
417
|
+
* @property {boolean} isSensitiveData - is data of DataSchemaAttribute sensetive.
|
|
418
|
+
* @property {boolean} isRequired - flag to determine DataSchemaAttribute required or not.
|
|
419
|
+
*/
|
|
420
|
+
export declare interface ɵDataSchemaAttribute {
|
|
421
|
+
name: string;
|
|
422
|
+
caption: string;
|
|
423
|
+
/**
|
|
424
|
+
* @public
|
|
425
|
+
*/
|
|
426
|
+
path: string;
|
|
427
|
+
/**
|
|
428
|
+
* @description {@link ɵDataValueType} - value type of DataSchemaAttribute.
|
|
429
|
+
*/
|
|
430
|
+
dataValueType: ɵDataValueType;
|
|
431
|
+
/**
|
|
432
|
+
* @public
|
|
433
|
+
*/
|
|
434
|
+
validators: ɵDataSchemaValidatorConfig;
|
|
435
|
+
/**
|
|
436
|
+
* @public
|
|
437
|
+
*/
|
|
438
|
+
defaultValue: Promise<ɵJsonData> | unknown;
|
|
439
|
+
/**
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
442
|
+
defaultValueSchema: ɵDefaultValueSchema;
|
|
443
|
+
isValueCloneable: boolean;
|
|
444
|
+
/**
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
attributeType: ɵDataSchemaAttributeType;
|
|
448
|
+
referenceSchemaName?: string;
|
|
449
|
+
/**
|
|
450
|
+
* @public
|
|
451
|
+
*/
|
|
452
|
+
functionConfig?: ɵDataSchemaAttributeFunctionConfig;
|
|
453
|
+
/**
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
456
|
+
aggregationConfig?: ɵDataSchemaAttributeAggregationConfig;
|
|
457
|
+
isMasked: boolean;
|
|
458
|
+
isFormatValidated: boolean;
|
|
459
|
+
isSensitiveData: boolean;
|
|
460
|
+
/**
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
usageType: ɵDataSchemaAttributeUsageType;
|
|
464
|
+
/**
|
|
465
|
+
* @description flag to determine DataSchemaAttribute required or not.
|
|
466
|
+
*/
|
|
467
|
+
isRequired: boolean;
|
|
468
|
+
/* Excluded from this release type: lookupMode */
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
export declare interface ɵDataSchemaAttributeAggregationConfig {
|
|
475
|
+
aggregationFunction?: ɵAggregationFunction;
|
|
476
|
+
filter?: ɵFilterGroup;
|
|
477
|
+
sortByColumn?: string;
|
|
478
|
+
sortByDirection?: ɵOrderDirection;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* @public
|
|
483
|
+
*/
|
|
484
|
+
export declare interface ɵDataSchemaAttributeAggregationFunctionConfig extends ɵBaseDataSchemaAttributeFunctionConfig {
|
|
485
|
+
type: 'aggregation';
|
|
486
|
+
aggregation: ɵAggregationFunction;
|
|
487
|
+
aggregationEval: ɵAggregationEval;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* @public
|
|
492
|
+
*/
|
|
493
|
+
export declare interface ɵDataSchemaAttributeDatePartFunctionConfig extends ɵBaseDataSchemaAttributeFunctionConfig {
|
|
494
|
+
type: 'datePart';
|
|
495
|
+
datePart: ɵDatePart;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* @public
|
|
500
|
+
*/
|
|
501
|
+
export declare type ɵDataSchemaAttributeFunctionConfig = ɵDataSchemaAttributeAggregationFunctionConfig | ɵDataSchemaAttributeDatePartFunctionConfig;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
export declare enum ɵDataSchemaAttributeType {
|
|
507
|
+
OwnAttribute = "Own",
|
|
508
|
+
ForwardReferenceAttribute = "ForwardReference",
|
|
509
|
+
BackReferenceAttribute = "BackReference",
|
|
510
|
+
AggregationAttribute = "Aggregation",
|
|
511
|
+
FunctionAttribute = "Function"
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
export declare enum ɵDataSchemaAttributeUsageType {
|
|
518
|
+
General = 0,
|
|
519
|
+
Advanced = 1,
|
|
520
|
+
None = 2
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* @public
|
|
525
|
+
*/
|
|
526
|
+
export declare interface ɵDataSchemaAttributeValidatorConfig {
|
|
527
|
+
type: string;
|
|
528
|
+
disabled?: boolean;
|
|
529
|
+
params?: {
|
|
530
|
+
[key: string]: unknown;
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* Type of DataSchema. In combination with the name is used for unique identification of {@link DataSchema}.
|
|
536
|
+
*/
|
|
537
|
+
export declare enum ɵDataSchemaType {
|
|
538
|
+
Entity = "Entity",
|
|
539
|
+
ClientUnit = "ClientUnit"
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @public
|
|
544
|
+
*/
|
|
545
|
+
export declare interface ɵDataSchemaValidatorConfig {
|
|
546
|
+
[name: string]: ɵDataSchemaAttributeValidatorConfig;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
export declare interface ɵDataSourceAggregationConfig {
|
|
550
|
+
aggregationFunction?: ɵAggregationFunction;
|
|
551
|
+
filter?: ɵFilterGroup;
|
|
552
|
+
sortByColumn?: string;
|
|
553
|
+
sortByDirection?: ɵOrderDirection;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export declare interface ɵDataSourceAggregationFunctionConfig extends BaseDataSourceFunctionConfig {
|
|
557
|
+
type: 'aggregation';
|
|
558
|
+
aggregation: ɵAggregationFunction;
|
|
559
|
+
aggregationEval: ɵAggregationEval;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @public
|
|
564
|
+
*/
|
|
565
|
+
export declare interface ɵDataSourceAttribute {
|
|
566
|
+
type?: ɵDataSourceAttributeType;
|
|
567
|
+
name: string;
|
|
568
|
+
path: string;
|
|
569
|
+
caption?: string;
|
|
570
|
+
dataValueType?: ɵDataValueType;
|
|
571
|
+
functionConfig?: ɵDataSourceFunctionConfig;
|
|
572
|
+
aggregationConfig?: ɵDataSourceAggregationConfig;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
578
|
+
export declare type ɵDataSourceAttributeType = 'default' | 'aggregation' | 'function';
|
|
579
|
+
|
|
580
|
+
export declare interface ɵDataSourceCanExecuteOperationPayload {
|
|
581
|
+
primaryColumnValue?: string;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export declare interface ɵDataSourceCanExecuteOperationResult {
|
|
585
|
+
result: boolean;
|
|
586
|
+
message?: string;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
export declare interface ɵDataSourceConfig {
|
|
593
|
+
type: string;
|
|
594
|
+
config?: ɵDataSourceInstanceConfig;
|
|
595
|
+
/**
|
|
596
|
+
* @deprecated Use scope instead.
|
|
597
|
+
*/
|
|
598
|
+
hiddenInPageDesigner?: boolean;
|
|
599
|
+
scope?: ɵDataSourceScope;
|
|
600
|
+
disableSync?: boolean;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
export declare interface ɵDataSourceDatePartFunctionConfig extends BaseDataSourceFunctionConfig {
|
|
604
|
+
type: 'datePart';
|
|
605
|
+
datePart: ɵDatePart;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
export declare type ɵDataSourceFunctionConfig = ɵDataSourceAggregationFunctionConfig | ɵDataSourceDatePartFunctionConfig;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* @public
|
|
612
|
+
*/
|
|
613
|
+
export declare interface ɵDataSourceInsertResult extends ɵDataSourceSaveResult {
|
|
614
|
+
primaryAttributes: Array<Record<string, unknown>>;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* @public
|
|
619
|
+
*/
|
|
620
|
+
export declare interface ɵDataSourceInstanceConfig {
|
|
621
|
+
[key: string]: any;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* @public
|
|
626
|
+
*/
|
|
627
|
+
export declare interface ɵDataSourceLoadOptions {
|
|
628
|
+
pagingConfig?: ɵDataSourcePagingConfig;
|
|
629
|
+
sortingConfig?: ɵDataSourceSortingConfig;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* @public
|
|
634
|
+
*/
|
|
635
|
+
export declare interface ɵDataSourcePagingConfig {
|
|
636
|
+
rowsOffset: number;
|
|
637
|
+
rowCount: number;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* @public
|
|
642
|
+
*/
|
|
643
|
+
export declare type ɵDataSourceParameter = ɵBaseDataSourceParameter | ɵPrimaryDisplayFilterDataSourceParameter;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* @public
|
|
647
|
+
*/
|
|
648
|
+
export declare interface ɵDataSourceParameterRelationConfig {
|
|
649
|
+
dataSchemaName: string;
|
|
650
|
+
attributePath: string;
|
|
651
|
+
relationPath: string;
|
|
652
|
+
/**
|
|
653
|
+
* @public
|
|
654
|
+
*/
|
|
655
|
+
useAttributeValue?: boolean;
|
|
656
|
+
/**
|
|
657
|
+
* @public
|
|
658
|
+
*/
|
|
659
|
+
value?: unknown;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* @public
|
|
664
|
+
*/
|
|
665
|
+
export declare type ɵDataSourceParameters = ɵDataSourceParameter[];
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* @public
|
|
669
|
+
* @description Data source save response
|
|
670
|
+
* @property {boolean} success - indicates whether operation was success.
|
|
671
|
+
* @property {number} rowsAffected - count of affected rows.
|
|
672
|
+
* @property {string} errorInfo - error message.
|
|
673
|
+
*/
|
|
674
|
+
export declare interface ɵDataSourceSaveResult {
|
|
675
|
+
/**
|
|
676
|
+
* @description Indicates whether operation was success.
|
|
677
|
+
*/
|
|
678
|
+
success: boolean;
|
|
679
|
+
/**
|
|
680
|
+
* @description Count of affected rows.
|
|
681
|
+
*/
|
|
682
|
+
rowsAffected: number;
|
|
683
|
+
/**
|
|
684
|
+
* @description Error message.
|
|
685
|
+
*/
|
|
686
|
+
errorInfo?: string;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* @public
|
|
691
|
+
*/
|
|
692
|
+
export declare enum ɵDataSourceScope {
|
|
693
|
+
ViewElement = "viewElement",
|
|
694
|
+
Page = "page"
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* @public
|
|
699
|
+
*/
|
|
700
|
+
export declare interface ɵDataSourceSortingConfig {
|
|
701
|
+
columns: ɵSortColumnOptions[];
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
export declare enum ɵDataValueType {
|
|
705
|
+
Guid = 0,
|
|
706
|
+
Text = 1,
|
|
707
|
+
Integer = 4,
|
|
708
|
+
Float = 5,
|
|
709
|
+
Money = 6,
|
|
710
|
+
DateTime = 7,
|
|
711
|
+
Date = 8,
|
|
712
|
+
Time = 9,
|
|
713
|
+
Lookup = 10,
|
|
714
|
+
Enum = 11,
|
|
715
|
+
Boolean = 12,
|
|
716
|
+
Blob = 13,
|
|
717
|
+
Image = 14,
|
|
718
|
+
CUSTOM_OBJECT = 15,
|
|
719
|
+
IMAGELOOKUP = 16,
|
|
720
|
+
COLLECTION = 17,
|
|
721
|
+
Color = 18,
|
|
722
|
+
LOCALIZABLE_STRING = 19,
|
|
723
|
+
ENTITY = 20,
|
|
724
|
+
ENTITY_COLLECTION = 21,
|
|
725
|
+
ENTITY_COLUMN_MAPPING_COLLECTION = 22,
|
|
726
|
+
HASH_TEXT = 23,
|
|
727
|
+
SECURE_TEXT = 24,
|
|
728
|
+
FILE = 25,
|
|
729
|
+
MAPPING = 26,
|
|
730
|
+
SHORT_TEXT = 27,
|
|
731
|
+
MEDIUM_TEXT = 28,
|
|
732
|
+
MAXSIZE_TEXT = 29,
|
|
733
|
+
LONG_TEXT = 30,
|
|
734
|
+
FLOAT1 = 31,
|
|
735
|
+
FLOAT2 = 32,
|
|
736
|
+
FLOAT3 = 33,
|
|
737
|
+
FLOAT4 = 34,
|
|
738
|
+
LOCALIZABLE_PARAMETER_VALUES_LIST = 35,
|
|
739
|
+
METADATA_TEXT = 36,
|
|
740
|
+
STAGE_INDICATOR = 37,
|
|
741
|
+
OBJECT_LIST = 38,
|
|
742
|
+
COMPOSITE_OBJECT_LIST = 39,
|
|
743
|
+
FLOAT8 = 40,
|
|
744
|
+
FILE_LOCATOR = 41,
|
|
745
|
+
PHONE_TEXT = 42,
|
|
746
|
+
RICH_TEXT = 43,
|
|
747
|
+
WEB_TEXT = 44,
|
|
748
|
+
EMAIL_TEXT = 45
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* @public
|
|
753
|
+
* @description type of date part
|
|
754
|
+
*/
|
|
755
|
+
export declare type ɵDatePart = 'minute' | 'hour' | 'day' | 'weekday' | 'week' | 'month' | 'year' | 'none';
|
|
756
|
+
|
|
757
|
+
export declare class ɵDatePartFunctionColumn extends ɵBaseQueryColumn<ɵDatePartFunctionExpression> {
|
|
758
|
+
constructor(datePartType: ɵDatePartType, functionArgument: ɵBaseExpression);
|
|
759
|
+
get datePartType(): ɵDatePartType;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
export declare class ɵDatePartFunctionExpression extends ɵArgumentFunctionExpression {
|
|
763
|
+
readonly functionType: ɵFunctionType;
|
|
764
|
+
readonly datePartType: ɵDatePartType;
|
|
765
|
+
constructor(config: ɵDatePartFunctionExpressionConfig);
|
|
766
|
+
/**
|
|
767
|
+
* Parses expression from json.
|
|
768
|
+
* @public
|
|
769
|
+
*/
|
|
770
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser?: TExpressionParser): ɵDatePartFunctionExpression;
|
|
771
|
+
clone(): ɵDatePartFunctionExpression;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
export declare type ɵDatePartFunctionExpressionConfig = ɵArgumentFunctionExpressionConfig<ɵDatePartFunctionExpression> & Pick<ɵDatePartFunctionExpression, 'datePartType'>;
|
|
775
|
+
|
|
776
|
+
export declare enum ɵDatePartType {
|
|
777
|
+
/** Empty value. */
|
|
778
|
+
None = 0,
|
|
779
|
+
/** Day. */
|
|
780
|
+
Day = 1,
|
|
781
|
+
/** Week. */
|
|
782
|
+
Week = 2,
|
|
783
|
+
/** Month. */
|
|
784
|
+
Month = 3,
|
|
785
|
+
/** Year. */
|
|
786
|
+
Year = 4,
|
|
787
|
+
/** Day of the week. */
|
|
788
|
+
WeekDay = 5,
|
|
789
|
+
/** Hour. */
|
|
790
|
+
Hour = 6,
|
|
791
|
+
/** Minute. */
|
|
792
|
+
HourMinute = 7
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export declare const ɵDEFAULT_COLUMN_PLAIN_OBJ: object;
|
|
796
|
+
|
|
797
|
+
export declare const ɵDEFAULT_FILTER_PLAIN_OBJ: object;
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* @public
|
|
801
|
+
*/
|
|
802
|
+
export declare interface ɵDefaultValueSchema {
|
|
803
|
+
valueSourceType: ɵDefaultValueSource;
|
|
804
|
+
value: any;
|
|
805
|
+
valueSource?: string;
|
|
806
|
+
sequenceNumberOfChars?: number;
|
|
807
|
+
sequencePrefix?: string;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* @public
|
|
812
|
+
*/
|
|
813
|
+
export declare enum ɵDefaultValueSource {
|
|
814
|
+
None = 0,
|
|
815
|
+
Const = 1,
|
|
816
|
+
Settings = 2,
|
|
817
|
+
SystemValue = 3,
|
|
818
|
+
Sequence = 4
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* @public
|
|
823
|
+
*/
|
|
824
|
+
export declare class ɵDeleteQuery extends ɵBaseFilterableQuery {
|
|
825
|
+
constructor(rootSchemaName: string);
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* Empty Guid constant.
|
|
830
|
+
* @public
|
|
831
|
+
*/
|
|
832
|
+
export declare const ɵEMPTY_GUID = "00000000-0000-0000-0000-000000000000";
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* @public
|
|
836
|
+
* Returns encoded date in string value.
|
|
837
|
+
* @param date Date value.
|
|
838
|
+
*/
|
|
839
|
+
export declare function ɵencodeDate(date: Date): string;
|
|
840
|
+
|
|
841
|
+
export declare type ɵEntityColumnValue = boolean | number | string | ɵGuid | Date | ɵLookupValue | null;
|
|
842
|
+
|
|
843
|
+
export declare class ɵEntityQueryColumn extends ɵBaseQueryColumn<ɵColumnExpression> {
|
|
844
|
+
constructor(columnPath: string);
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* @public
|
|
849
|
+
*/
|
|
850
|
+
export declare class ɵEntitySchemaQuery extends ɵBaseFilterableQuery {
|
|
851
|
+
private _columns;
|
|
852
|
+
isDistinct: boolean;
|
|
853
|
+
/**
|
|
854
|
+
* Number of rows to select.
|
|
855
|
+
*/
|
|
856
|
+
rowCount: number;
|
|
857
|
+
/**
|
|
858
|
+
* Rows count to skip.
|
|
859
|
+
*/
|
|
860
|
+
rowsOffset: number;
|
|
861
|
+
/**
|
|
862
|
+
* Query conditional values
|
|
863
|
+
*/
|
|
864
|
+
conditionalValues?: null | {
|
|
865
|
+
items: unknown;
|
|
866
|
+
};
|
|
867
|
+
useLocalization: boolean;
|
|
868
|
+
useRecordDeactivation: boolean;
|
|
869
|
+
constructor(rootSchemaName: string);
|
|
870
|
+
private _internalAddColumn;
|
|
871
|
+
private _getIsPageable;
|
|
872
|
+
/**
|
|
873
|
+
* Returns column instance by column alias.
|
|
874
|
+
* @param columnAlias Column alias.
|
|
875
|
+
* @returns [BaseQueryColumn] Column instance.
|
|
876
|
+
*/
|
|
877
|
+
getColumn(columnAlias: string): ɵBaseQueryColumn;
|
|
878
|
+
/**
|
|
879
|
+
* Returns column instance by column alias if not found returns null.
|
|
880
|
+
*/
|
|
881
|
+
findColumn(columnAlias: string): ɵBaseQueryColumn;
|
|
882
|
+
/**
|
|
883
|
+
* @inheritDoc
|
|
884
|
+
*/
|
|
885
|
+
getMetadata(): Record<string, unknown>;
|
|
886
|
+
/**
|
|
887
|
+
* Add column.
|
|
888
|
+
* @param column Column path.
|
|
889
|
+
* @param columnAlias Column alias.
|
|
890
|
+
* @returns [BaseQueryColumn] Column instance.
|
|
891
|
+
*/
|
|
892
|
+
addColumn(column: ɵBaseQueryColumn, columnAlias: string): ɵBaseQueryColumn;
|
|
893
|
+
/**
|
|
894
|
+
* Add column by column path.
|
|
895
|
+
* @param columnPath Column path.
|
|
896
|
+
* @param columnAlias Column alias.
|
|
897
|
+
* @returns [EntityQueryColumn] Column instance.
|
|
898
|
+
*/
|
|
899
|
+
addSchemaColumn(columnPath: string, columnAlias?: string): ɵEntityQueryColumn;
|
|
900
|
+
/**
|
|
901
|
+
* Add aggregation sub query column.
|
|
902
|
+
* @param columnPath Column path.
|
|
903
|
+
* @param aggregationType Aggregation type.
|
|
904
|
+
* @param subFilters Sub query filters.
|
|
905
|
+
* @param columnAlias Column alias.
|
|
906
|
+
* @returns [AggregationSubQueryColumn] Column instance.
|
|
907
|
+
*/
|
|
908
|
+
addAggregationSubQueryColumn(columnPath: string, aggregationType: ɵAggregationType, aggregationConfig: ɵDataSourceAggregationConfig, columnAlias?: string): ɵAggregationSubQueryColumn;
|
|
909
|
+
/**
|
|
910
|
+
* Add parameter column.
|
|
911
|
+
* @param value Parameter value.
|
|
912
|
+
* @param dataValueType Parameter data value type.
|
|
913
|
+
* @param columnAlias Column alias.
|
|
914
|
+
* @returns [ParameterQueryColumn] Column instance.
|
|
915
|
+
*/
|
|
916
|
+
addParameterColumn(value: ɵEntityColumnValue, dataValueType: ɵDataValueType, columnAlias: string): ɵParameterQueryColumn;
|
|
917
|
+
/**
|
|
918
|
+
* Add arithmetic column.
|
|
919
|
+
* @param arithmeticOperation Arithmetic operation.
|
|
920
|
+
* @param leftArithmeticOperand Left arithmetic operand expression.
|
|
921
|
+
* @param rightArithmeticOperand Right arithmetic operand expression.
|
|
922
|
+
* @param columnAlias Column alias.
|
|
923
|
+
* @returns [ArithmeticQueryColumn] Column instance.
|
|
924
|
+
*/
|
|
925
|
+
addArithmeticColumn(arithmeticOperation: ɵArithmeticOperation, leftArithmeticOperand: ɵBaseExpression, rightArithmeticOperand: ɵBaseExpression, columnAlias: string): ɵArithmeticQueryColumn;
|
|
926
|
+
/**
|
|
927
|
+
* Add macros function column.
|
|
928
|
+
* @param queryMacrosType Macros type.
|
|
929
|
+
* @param columnAlias Column alias.
|
|
930
|
+
* @returns [MacrosFunctionColumn] Column instance.
|
|
931
|
+
*/
|
|
932
|
+
addMacrosFunctionColumn(queryMacrosType: ɵQueryMacrosType, columnAlias: string): ɵMacrosFunctionColumn;
|
|
933
|
+
/**
|
|
934
|
+
* Add date part function column.
|
|
935
|
+
* @param columnPath Column path.
|
|
936
|
+
* @param datePartType Date part type.
|
|
937
|
+
* @param columnAlias Column alias.
|
|
938
|
+
* @returns [DatePartFunctionColumn] Column instance.
|
|
939
|
+
*/
|
|
940
|
+
addDatePartFunctionColumn(columnPath: string, datePartType: ɵDatePartType, columnAlias: string): ɵDatePartFunctionColumn;
|
|
941
|
+
/**
|
|
942
|
+
* Add aggregation function column.
|
|
943
|
+
* @param columnPath Column path.
|
|
944
|
+
* @param aggregationType Aggregation type.
|
|
945
|
+
* @param columnAlias Column alias.
|
|
946
|
+
* @param aggregationEvalType Aggregation eval type.
|
|
947
|
+
* @returns [AggregationFunctionColumn] Column instance.
|
|
948
|
+
*/
|
|
949
|
+
addAggregationFunctionColumn(columnPath: string, aggregationType: ɵAggregationType, columnAlias: string, aggregationEvalType?: ɵAggregationEvalType): ɵAggregationFunctionColumn;
|
|
950
|
+
/**
|
|
951
|
+
* Add length function column.
|
|
952
|
+
* @param columnPath Column path.
|
|
953
|
+
* @param columnAlias Column alias.
|
|
954
|
+
* @returns [LengthFunctionColumn] Column instance.
|
|
955
|
+
*/
|
|
956
|
+
addLengthFunctionColumn(columnPath: string, columnAlias: string): ɵLengthFunctionColumn;
|
|
957
|
+
/**
|
|
958
|
+
* Add window function column.
|
|
959
|
+
* @param columnPath Column path.
|
|
960
|
+
* @param aggregationType Aggregation type.
|
|
961
|
+
* @param columnAlias Column alias.
|
|
962
|
+
* @param aggregationEvalType Aggregation eval type.
|
|
963
|
+
* @returns [WindowFunctionColumn] Column instance.
|
|
964
|
+
*/
|
|
965
|
+
addWindowFunctionColumn(columnPath: string, aggregationType: ɵAggregationType, columnAlias: string, aggregationEvalType?: ɵAggregationEvalType): ɵWindowFunctionColumn;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
export declare class ɵExistsFilter extends ɵSingleFilter {
|
|
969
|
+
readonly subFilters?: ɵFilterGroup;
|
|
970
|
+
readonly isAggregative: boolean;
|
|
971
|
+
constructor(leftExpression: ɵBaseExpression, subFilters?: ɵFilterGroup, comparisonType?: ɵComparisonType, isAggregative?: boolean);
|
|
972
|
+
/**
|
|
973
|
+
* Parses filter from json.
|
|
974
|
+
* @public
|
|
975
|
+
*/
|
|
976
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵExistsFilter;
|
|
977
|
+
clone(): ɵExistsFilter;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
export declare const ɵEXPRESSION_TYPE_MOCK: ɵExpressionType;
|
|
981
|
+
|
|
982
|
+
export declare type ɵExpressionConfig<TExpression extends ɵBaseExpression> = Partial<Omit<TExpression, 'expressionType'>>;
|
|
983
|
+
|
|
984
|
+
export declare class ɵExpressionMock extends ɵBaseExpression {
|
|
985
|
+
readonly expressionType: ɵExpressionType;
|
|
986
|
+
constructor(config?: ɵExpressionConfig<ɵExpressionMock>);
|
|
987
|
+
get plainObject(): object;
|
|
988
|
+
clone(): ɵExpressionMock;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* Expression parser.
|
|
993
|
+
* @public
|
|
994
|
+
*/
|
|
995
|
+
export declare class ɵExpressionParser extends ɵBaseExpressionParser {
|
|
996
|
+
/**
|
|
997
|
+
* Parses expression from json.
|
|
998
|
+
* @public
|
|
999
|
+
*/
|
|
1000
|
+
static fromJson(dto: ɵJsonObject, filterParser: typeof ɵBaseFilterParser): ɵBaseExpression;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* Expression resolver.
|
|
1005
|
+
* @public
|
|
1006
|
+
*/
|
|
1007
|
+
export declare class ɵExpressionResolver {
|
|
1008
|
+
static resolve(expressionType: ɵExpressionType, dto: ɵJsonObject): typeof ɵBaseExpression;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
export declare enum ɵExpressionType {
|
|
1012
|
+
SchemaColumn = 0,
|
|
1013
|
+
Function = 1,
|
|
1014
|
+
Parameter = 2,
|
|
1015
|
+
SubQuery = 3,
|
|
1016
|
+
ArithmeticOperation = 4
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
export declare class ɵFilterGroup extends ɵBaseFilter {
|
|
1020
|
+
filters: Map<string, ɵBaseFilter>;
|
|
1021
|
+
get items(): {
|
|
1022
|
+
[key: string]: ɵBaseFilter;
|
|
1023
|
+
};
|
|
1024
|
+
logicalOperation: ɵLogicalOperatorType;
|
|
1025
|
+
constructor(logicalOperation?: ɵLogicalOperatorType);
|
|
1026
|
+
/**
|
|
1027
|
+
* Parses filter group from json.
|
|
1028
|
+
* @public
|
|
1029
|
+
*/
|
|
1030
|
+
static fromJson<T extends typeof ɵBaseFilterParser>(dto: ɵJsonObject, filterParser: T): ɵFilterGroup;
|
|
1031
|
+
/**
|
|
1032
|
+
* Returns filter item by index.
|
|
1033
|
+
* @param index Item index.
|
|
1034
|
+
* @returns Filter.
|
|
1035
|
+
*/
|
|
1036
|
+
getItemByIndex(index: number): ɵBaseFilter;
|
|
1037
|
+
/**
|
|
1038
|
+
* Creates and adds compare filter by value.
|
|
1039
|
+
* @param comparisonType Comparison type.
|
|
1040
|
+
* @param columnPath Column path.
|
|
1041
|
+
* @param parameterValue Parameter value.
|
|
1042
|
+
* @param filterKey Filter key.
|
|
1043
|
+
*/
|
|
1044
|
+
addSchemaColumnFilterWithParameter(comparisonType: ɵComparisonType, columnPath: string, parameterValue: ɵEntityColumnValue, filterKey?: string): void;
|
|
1045
|
+
addSchemaColumnInFilterWithParameters(comparisonType: ɵComparisonType, columnPath: string, parameterValues: ɵEntityColumnValue[]): void;
|
|
1046
|
+
addSchemaColumnIsNullFilter(columnPath: string): void;
|
|
1047
|
+
/**
|
|
1048
|
+
* Creates and adds not null filter.
|
|
1049
|
+
* @param columnPath Column path.
|
|
1050
|
+
* @param filterKey Filter key.
|
|
1051
|
+
*/
|
|
1052
|
+
addSchemaColumnIsNotNullFilter(columnPath: string, filterKey?: string): void;
|
|
1053
|
+
/**
|
|
1054
|
+
* Creates and adds filter between less value and greater value.
|
|
1055
|
+
* @param columnPath Column path.
|
|
1056
|
+
* @param lessParamValue Less parameter value.
|
|
1057
|
+
* @param greaterParamValue Greater parameter value.
|
|
1058
|
+
*/
|
|
1059
|
+
addSchemaColumnBetweenFilterWithParameters(columnPath: string, lessParamValue: Date | number, greaterParamValue: Date | number): void;
|
|
1060
|
+
addExistsFilter(columnPath: string, subFilters?: ɵFilterGroup): void;
|
|
1061
|
+
addNotExistsFilter(columnPath: string, subFilters?: ɵFilterGroup): void;
|
|
1062
|
+
add(filter: ɵBaseFilter, filterKey?: string): void;
|
|
1063
|
+
clone(): ɵFilterGroup;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
export declare class ɵFilterMock extends ɵBaseFilter {
|
|
1067
|
+
constructor(filterType?: ɵFilterType);
|
|
1068
|
+
get plainObject(): object;
|
|
1069
|
+
clone(): ɵFilterMock;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* Filter parser.
|
|
1074
|
+
* @public
|
|
1075
|
+
*/
|
|
1076
|
+
export declare class ɵFilterParser extends ɵBaseFilterParser {
|
|
1077
|
+
static fromJson(dto: ɵJsonObject): ɵBaseFilter;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* Filter resolver.
|
|
1082
|
+
* @public
|
|
1083
|
+
*/
|
|
1084
|
+
export declare class ɵFilterResolver {
|
|
1085
|
+
static resolve(filterType: ɵFilterType): typeof ɵBaseFilter;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
export declare enum ɵFilterType {
|
|
1089
|
+
None = 0,
|
|
1090
|
+
Compare = 1,
|
|
1091
|
+
IsNull = 2,
|
|
1092
|
+
Between = 3,
|
|
1093
|
+
In = 4,
|
|
1094
|
+
Exists = 5,
|
|
1095
|
+
FilterGroup = 6
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
export declare abstract class ɵFunctionExpression extends ɵBaseExpression {
|
|
1099
|
+
readonly expressionType: ɵExpressionType;
|
|
1100
|
+
abstract readonly functionType: ɵFunctionType;
|
|
1101
|
+
protected constructor(config: ɵFunctionExpressionConfig<ɵFunctionExpression>);
|
|
1102
|
+
abstract clone(): ɵFunctionExpression;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
export declare type ɵFunctionExpressionConfig<TExpression extends ɵFunctionExpression> = Omit<ɵExpressionConfig<TExpression>, 'functionType'>;
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* @public
|
|
1109
|
+
* @description type of function
|
|
1110
|
+
*/
|
|
1111
|
+
export declare type ɵFunctionStringType = 'aggregation' | 'datePart' | 'none';
|
|
1112
|
+
|
|
1113
|
+
export declare enum ɵFunctionType {
|
|
1114
|
+
None = 0,
|
|
1115
|
+
/** Substitution by macro. */
|
|
1116
|
+
Macros = 1,
|
|
1117
|
+
/** Aggregating function. */
|
|
1118
|
+
Aggregation = 2,
|
|
1119
|
+
/** Date fragment. */
|
|
1120
|
+
DatePart = 3,
|
|
1121
|
+
/** The size of the value in bytes, used for binary data. */
|
|
1122
|
+
Length = 4,
|
|
1123
|
+
/** Window query function */
|
|
1124
|
+
Window = 5,
|
|
1125
|
+
/** Date add. */
|
|
1126
|
+
DateAdd = 6,
|
|
1127
|
+
/** Date diff. */
|
|
1128
|
+
DateDiff = 7
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Generates new Guid.
|
|
1133
|
+
* @public
|
|
1134
|
+
*/
|
|
1135
|
+
export declare function ɵgenerateGuid(): ɵGuid;
|
|
1136
|
+
|
|
1137
|
+
export declare function ɵgetColumnPlainObj(expressionPlainObj?: object): object;
|
|
1138
|
+
|
|
1139
|
+
export declare function ɵgetFilterPlainObj(filterPlainObj?: object): object;
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* Type for Guid value.
|
|
1143
|
+
* @public
|
|
1144
|
+
*/
|
|
1145
|
+
export declare type ɵGuid = string;
|
|
1146
|
+
|
|
1147
|
+
export declare class ɵInFilter extends ɵSingleFilter {
|
|
1148
|
+
readonly rightExpressions: ɵBaseExpression[];
|
|
1149
|
+
constructor(comparisonType: ɵComparisonType, leftExpression: ɵBaseExpression, rightExpressions: ɵBaseExpression[]);
|
|
1150
|
+
/**
|
|
1151
|
+
* Parses in filter from json.
|
|
1152
|
+
* @public
|
|
1153
|
+
*/
|
|
1154
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵInFilter;
|
|
1155
|
+
clone(): ɵInFilter;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* @public
|
|
1160
|
+
*/
|
|
1161
|
+
export declare class ɵInsertQuery extends ɵBaseQuery {
|
|
1162
|
+
private _columnValues;
|
|
1163
|
+
constructor(rootSchemaName: string);
|
|
1164
|
+
get columnValues(): {
|
|
1165
|
+
items: {
|
|
1166
|
+
[key: string]: ɵParameterExpression;
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1169
|
+
addColumn(columnName: string, columnValue: ɵEntityColumnValue, dataValueType: ɵDataValueType): void;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* Checks if Guid is empty value or equal to EMPTY_GUID.
|
|
1174
|
+
* @param guid Guid for check.
|
|
1175
|
+
* @public
|
|
1176
|
+
*/
|
|
1177
|
+
export declare function ɵisEmptyGuid(guid: ɵGuid | undefined): boolean;
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* Checks if value is Guid.
|
|
1181
|
+
* @param value Value for check.
|
|
1182
|
+
* @public
|
|
1183
|
+
*/
|
|
1184
|
+
export declare function ɵisGuid(value: unknown): boolean;
|
|
1185
|
+
|
|
1186
|
+
export declare class ɵIsNullFilter extends ɵSingleFilter {
|
|
1187
|
+
constructor(comparisonType: ɵComparisonType, leftExpression: ɵBaseExpression);
|
|
1188
|
+
get isNull(): boolean;
|
|
1189
|
+
/**
|
|
1190
|
+
* Parses isNull filter from json.
|
|
1191
|
+
* @public
|
|
1192
|
+
*/
|
|
1193
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵIsNullFilter;
|
|
1194
|
+
clone(): ɵIsNullFilter;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
export declare class ɵItemNotFoundException extends Error {
|
|
1198
|
+
constructor(key: string);
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* @public
|
|
1203
|
+
*/
|
|
1204
|
+
export declare type ɵJsonArray = Array<ɵJsonData>;
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* @public
|
|
1208
|
+
*/
|
|
1209
|
+
export declare type ɵJsonData = string | number | boolean | null | undefined | ɵJsonObject | ɵJsonArray;
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* @public
|
|
1213
|
+
*/
|
|
1214
|
+
export declare interface ɵJsonObject {
|
|
1215
|
+
[key: string]: ɵJsonData;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
export declare class ɵLengthFunctionColumn extends ɵBaseQueryColumn<ɵLengthFunctionExpression> {
|
|
1219
|
+
constructor(functionArgument: ɵColumnExpression);
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
export declare class ɵLengthFunctionExpression extends ɵArgumentFunctionExpression {
|
|
1223
|
+
readonly functionType: ɵFunctionType;
|
|
1224
|
+
readonly functionArgument: ɵColumnExpression;
|
|
1225
|
+
constructor(config: ɵLengthFunctionExpressionConfig);
|
|
1226
|
+
/**
|
|
1227
|
+
* Parses expression from json.
|
|
1228
|
+
* @public
|
|
1229
|
+
*/
|
|
1230
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser?: TExpressionParser): ɵLengthFunctionExpression;
|
|
1231
|
+
clone(): ɵLengthFunctionExpression;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
export declare type ɵLengthFunctionExpressionConfig = ɵArgumentFunctionExpressionConfig<ɵLengthFunctionExpression>;
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* @public
|
|
1238
|
+
* @description contract for localizable string
|
|
1239
|
+
*
|
|
1240
|
+
* @example
|
|
1241
|
+
* const localizableString = {
|
|
1242
|
+
* "en-US": 'localizable string'
|
|
1243
|
+
* }
|
|
1244
|
+
*/
|
|
1245
|
+
export declare type ɵLocalizableString = string | Record<string, unknown>;
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* @public
|
|
1249
|
+
* @description Function that takes a key to translate, and returns the translated value.
|
|
1250
|
+
*/
|
|
1251
|
+
export declare type ɵLocalizeFn = (key: string) => string;
|
|
1252
|
+
|
|
1253
|
+
export declare enum ɵLogicalOperatorType {
|
|
1254
|
+
And = 0,
|
|
1255
|
+
Or = 1
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* @public
|
|
1260
|
+
* @description Required shape for lookup.
|
|
1261
|
+
* @extends {ɵJsonObject}
|
|
1262
|
+
* @property {string} displayValue - Value witch will be displayed in lookup
|
|
1263
|
+
* @property {string} primaryImageValue - Image for lookup value
|
|
1264
|
+
* @property {ɵGuid} value - {@link ɵGuid} - actual lookup value
|
|
1265
|
+
* @property {string} primaryColorValue - display color of lookup value
|
|
1266
|
+
*/
|
|
1267
|
+
export declare interface ɵLookupValue extends ɵJsonObject {
|
|
1268
|
+
/**
|
|
1269
|
+
* @description Value witch will be displayed in lookup
|
|
1270
|
+
*/
|
|
1271
|
+
displayValue: string;
|
|
1272
|
+
/**
|
|
1273
|
+
* @description Image for lookup value
|
|
1274
|
+
*/
|
|
1275
|
+
primaryImageValue?: string;
|
|
1276
|
+
/**
|
|
1277
|
+
* @description actual lookup value
|
|
1278
|
+
*/
|
|
1279
|
+
value: ɵGuid;
|
|
1280
|
+
/**
|
|
1281
|
+
* @description display color of lookup value
|
|
1282
|
+
*/
|
|
1283
|
+
primaryColorValue?: string;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* @public
|
|
1288
|
+
* @description Lookup value with code
|
|
1289
|
+
* @extends {ɵLookupValue}
|
|
1290
|
+
* @property {string} code - code of lookup value
|
|
1291
|
+
*/
|
|
1292
|
+
export declare interface ɵLookupValueWithCode extends ɵLookupValue {
|
|
1293
|
+
/**
|
|
1294
|
+
* @description code of lookup value
|
|
1295
|
+
*/
|
|
1296
|
+
code: string;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
export declare class ɵMacrosFunctionColumn extends ɵBaseQueryColumn<ɵMacrosFunctionExpression> {
|
|
1300
|
+
constructor(macrosType: ɵQueryMacrosType);
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
export declare class ɵMacrosFunctionExpression extends ɵFunctionExpression {
|
|
1304
|
+
readonly functionType: ɵFunctionType;
|
|
1305
|
+
readonly macrosType: ɵQueryMacrosType;
|
|
1306
|
+
constructor(config: ɵMacrosFunctionExpressionConfig);
|
|
1307
|
+
/**
|
|
1308
|
+
* Parses expression from json.
|
|
1309
|
+
* @public
|
|
1310
|
+
*/
|
|
1311
|
+
static fromJson(dto: ɵJsonObject): ɵMacrosFunctionExpression;
|
|
1312
|
+
clone(): ɵMacrosFunctionExpression;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
export declare type ɵMacrosFunctionExpressionConfig = ɵFunctionExpressionConfig<ɵMacrosFunctionExpression> & Pick<ɵMacrosFunctionExpression, 'macrosType'>;
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* @public
|
|
1319
|
+
*/
|
|
1320
|
+
export declare interface ɵMetadataProvider<T> {
|
|
1321
|
+
getMetadata(): T;
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
/**
|
|
1325
|
+
* @public
|
|
1326
|
+
*/
|
|
1327
|
+
export declare enum ɵModelParameterType {
|
|
1328
|
+
PrimaryColumnValue = "primaryColumnValue",
|
|
1329
|
+
Filter = "filter",
|
|
1330
|
+
PrimaryDisplayValueFilter = "primaryDisplayValueFilter",
|
|
1331
|
+
Empty = "empty",
|
|
1332
|
+
Never = "never"
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* @public
|
|
1337
|
+
*/
|
|
1338
|
+
export declare class ɵNextHandlerAlreadySpecifiedException extends Error {
|
|
1339
|
+
constructor();
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
export declare enum ɵOrderDirection {
|
|
1343
|
+
None = 0,
|
|
1344
|
+
Asc = 1,
|
|
1345
|
+
Desc = 2
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
export declare class ɵParameterExpression extends ɵBaseExpression {
|
|
1349
|
+
readonly expressionType: ɵExpressionType;
|
|
1350
|
+
readonly value: ɵEntityColumnValue;
|
|
1351
|
+
readonly dataValueType: ɵDataValueType;
|
|
1352
|
+
readonly parameter: {
|
|
1353
|
+
value?: ɵEntityColumnValue;
|
|
1354
|
+
arrayValue?: string[];
|
|
1355
|
+
dataValueType: ɵDataValueType;
|
|
1356
|
+
};
|
|
1357
|
+
constructor(config: ɵParameterExpressionConfig);
|
|
1358
|
+
/**
|
|
1359
|
+
* Parses expression from json.
|
|
1360
|
+
* @public
|
|
1361
|
+
*/
|
|
1362
|
+
static fromJson(dto: ɵJsonObject): ɵParameterExpression;
|
|
1363
|
+
private _convertStringToBlobArray;
|
|
1364
|
+
private _getParameterValueMetadata;
|
|
1365
|
+
clone(): ɵParameterExpression;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
export declare type ɵParameterExpressionConfig = ɵExpressionConfig<ɵParameterExpression> & Pick<ɵParameterExpression, 'value'>;
|
|
1369
|
+
|
|
1370
|
+
export declare class ɵParameterQueryColumn extends ɵBaseQueryColumn<ɵParameterExpression> {
|
|
1371
|
+
constructor(value: ɵEntityColumnValue, dataValueType?: ɵDataValueType);
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
export declare const ɵparserMock: {
|
|
1375
|
+
fromJson: (data: any) => any;
|
|
1376
|
+
clone: () => undefined;
|
|
1377
|
+
};
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* @public
|
|
1381
|
+
*/
|
|
1382
|
+
export declare interface ɵPrimaryDisplayFilterDataSourceParameter extends ɵBaseDataSourceParameter {
|
|
1383
|
+
type: ɵModelParameterType.PrimaryDisplayValueFilter;
|
|
1384
|
+
value: string;
|
|
1385
|
+
comparisonType: ɵComparisonType;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
export declare enum ɵQueryMacrosType {
|
|
1389
|
+
/** Macro type not defined. */
|
|
1390
|
+
None = 0,
|
|
1391
|
+
/** Current user. */
|
|
1392
|
+
CurrentUser = 1,
|
|
1393
|
+
/** Current user contact. */
|
|
1394
|
+
CurrentUserContact = 2,
|
|
1395
|
+
/** Yesterday. */
|
|
1396
|
+
Yesterday = 3,
|
|
1397
|
+
/** Today. */
|
|
1398
|
+
Today = 4,
|
|
1399
|
+
/** Tomorrow. */
|
|
1400
|
+
Tomorrow = 5,
|
|
1401
|
+
/** Previous week. */
|
|
1402
|
+
PreviousWeek = 6,
|
|
1403
|
+
/** This week. */
|
|
1404
|
+
CurrentWeek = 7,
|
|
1405
|
+
/** Next week. */
|
|
1406
|
+
NextWeek = 8,
|
|
1407
|
+
/** Previous month. */
|
|
1408
|
+
PreviousMonth = 9,
|
|
1409
|
+
/** Current month. */
|
|
1410
|
+
CurrentMonth = 10,
|
|
1411
|
+
/** Next month. */
|
|
1412
|
+
NextMonth = 11,
|
|
1413
|
+
/** Previous quarter. */
|
|
1414
|
+
PreviousQuarter = 12,
|
|
1415
|
+
/** Current quarter. */
|
|
1416
|
+
CurrentQuarter = 13,
|
|
1417
|
+
/** Next quarter. */
|
|
1418
|
+
NextQuarter = 14,
|
|
1419
|
+
/** Previous half of the year. */
|
|
1420
|
+
PreviousHalfYear = 15,
|
|
1421
|
+
/** Current half-year. */
|
|
1422
|
+
CurrentHalfYear = 16,
|
|
1423
|
+
/** Next half-year. */
|
|
1424
|
+
NextHalfYear = 17,
|
|
1425
|
+
/** Last year. */
|
|
1426
|
+
PreviousYear = 18,
|
|
1427
|
+
/** This year. */
|
|
1428
|
+
CurrentYear = 19,
|
|
1429
|
+
/** Previous hour. */
|
|
1430
|
+
PreviousHour = 20,
|
|
1431
|
+
/** Current hour. */
|
|
1432
|
+
CurrentHour = 21,
|
|
1433
|
+
/** Next hour. */
|
|
1434
|
+
NextHour = 22,
|
|
1435
|
+
/** Next year. */
|
|
1436
|
+
NextYear = 23,
|
|
1437
|
+
/** Next N Days. */
|
|
1438
|
+
NextNDays = 24,
|
|
1439
|
+
/** Previous N days. */
|
|
1440
|
+
PreviousNDays = 25,
|
|
1441
|
+
/** Next N hours. */
|
|
1442
|
+
NextNHours = 26,
|
|
1443
|
+
/** Previous N hours. */
|
|
1444
|
+
PreviousNHours = 27,
|
|
1445
|
+
/** Primary column. */
|
|
1446
|
+
PrimaryColumn = 34,
|
|
1447
|
+
/** Primary displayed column. */
|
|
1448
|
+
PrimaryDisplayColumn = 35,
|
|
1449
|
+
/** Primary image display column. */
|
|
1450
|
+
PrimaryImageColumn = 36,
|
|
1451
|
+
/** Anniversary today. */
|
|
1452
|
+
DayOfYearToday = 37,
|
|
1453
|
+
/** Anniversary on the date computed as today plus days offset. */
|
|
1454
|
+
DayOfYearTodayPlusDaysOffset = 38,
|
|
1455
|
+
/** Anniversary on the next several days. */
|
|
1456
|
+
NextNDaysOfYear = 39,
|
|
1457
|
+
/** Anniversary on the previous several days. */
|
|
1458
|
+
PreviousNDaysOfYear = 40,
|
|
1459
|
+
/** Primary color display column. */
|
|
1460
|
+
PrimaryColorColumn = 41
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* @public
|
|
1465
|
+
*/
|
|
1466
|
+
export declare enum ɵQueryOperationType {
|
|
1467
|
+
Select = 0,
|
|
1468
|
+
Insert = 1,
|
|
1469
|
+
Update = 2,
|
|
1470
|
+
Delete = 3
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* @public
|
|
1475
|
+
* @description Interface to defining request handler in handler chain.
|
|
1476
|
+
* @interface ɵRequestHandler
|
|
1477
|
+
* @template TRequest
|
|
1478
|
+
* @template TResult
|
|
1479
|
+
*/
|
|
1480
|
+
export declare interface ɵRequestHandler<TRequest = ɵBaseRequest, TResult = unknown> {
|
|
1481
|
+
/**
|
|
1482
|
+
* @description Abstract async method which contains logic to handle request properly.
|
|
1483
|
+
* @param {TRequest} request - {@link BaseRequest}
|
|
1484
|
+
*/
|
|
1485
|
+
handle(request: TRequest): Promise<TResult>;
|
|
1486
|
+
/**
|
|
1487
|
+
* @description Method to set request handler in handler chain.
|
|
1488
|
+
* @param {ɵRequestHandler} next - link for next request handler - {@link ɵRequestHandler}
|
|
1489
|
+
*/
|
|
1490
|
+
setNext(next: ɵRequestHandler): void;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* @public
|
|
1495
|
+
* @description Function that takes a injection token, and returns dependency instance.
|
|
1496
|
+
*/
|
|
1497
|
+
export declare type ɵResolveDependencyFn = (token: unknown) => unknown;
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* @public
|
|
1501
|
+
*/
|
|
1502
|
+
export declare class ɵSelectLocalizationQuery extends ɵEntitySchemaQuery {
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
export declare abstract class ɵSingleFilter extends ɵBaseFilter {
|
|
1506
|
+
readonly comparisonType: ɵComparisonType;
|
|
1507
|
+
readonly leftExpression: ɵBaseExpression;
|
|
1508
|
+
protected constructor(filterType: ɵFilterType, comparisonType: ɵComparisonType, leftExpression: ɵBaseExpression);
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
/**
|
|
1512
|
+
* @public
|
|
1513
|
+
*/
|
|
1514
|
+
export declare interface ɵSortColumnOptions {
|
|
1515
|
+
columnName: string;
|
|
1516
|
+
direction: ɵSortDirection;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
/**
|
|
1520
|
+
* @public
|
|
1521
|
+
* @description sorting direction
|
|
1522
|
+
*/
|
|
1523
|
+
export declare type ɵSortDirection = 'asc' | 'desc' | 'none';
|
|
1524
|
+
|
|
1525
|
+
export declare class ɵSubQueryColumn extends ɵBaseQueryColumn<ɵSubQueryExpression> {
|
|
1526
|
+
constructor(columnPath: string, subFilters?: ɵFilterGroup);
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
export declare class ɵSubQueryExpression extends ɵBaseExpression {
|
|
1530
|
+
readonly expressionType: ɵExpressionType;
|
|
1531
|
+
columnPath: string;
|
|
1532
|
+
readonly subFilters: ɵFilterGroup;
|
|
1533
|
+
readonly subOrderDirection?: number;
|
|
1534
|
+
readonly subOrderColumn?: string;
|
|
1535
|
+
constructor(config: ɵSubQueryExpressionConfig);
|
|
1536
|
+
/**
|
|
1537
|
+
* Parses expression from json.
|
|
1538
|
+
* @public
|
|
1539
|
+
*/
|
|
1540
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser>(dto: ɵJsonObject, filterParser: TFilterParser): ɵSubQueryExpression;
|
|
1541
|
+
clone(): ɵSubQueryExpression;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
export declare type ɵSubQueryExpressionConfig = ɵExpressionConfig<ɵSubQueryExpression> & Pick<ɵSubQueryExpression, 'columnPath'>;
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* @public
|
|
1548
|
+
* Returns a string represent of date in ISO 8601 without time zone specification(doesn't convert it
|
|
1549
|
+
* using local timezone).
|
|
1550
|
+
*
|
|
1551
|
+
* Example:
|
|
1552
|
+
*
|
|
1553
|
+
* const date = new Date(2018, 01, 20, 15, 10, 30);
|
|
1554
|
+
* const result = toLocalISOString(date);
|
|
1555
|
+
* //result: '2018-02-20T15:10:30'
|
|
1556
|
+
*
|
|
1557
|
+
* @param date Date value.
|
|
1558
|
+
*/
|
|
1559
|
+
export declare function ɵtoLocalISOString(date: Date): string;
|
|
1560
|
+
|
|
1561
|
+
/**
|
|
1562
|
+
* @public
|
|
1563
|
+
* @description Shape for generic type.
|
|
1564
|
+
*/
|
|
1565
|
+
export declare type ɵType<T = any> = new (...args: any[]) => T;
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* @public
|
|
1569
|
+
*/
|
|
1570
|
+
export declare class ɵUpdateQuery extends ɵBaseFilterableQuery {
|
|
1571
|
+
private _columnValues;
|
|
1572
|
+
/**
|
|
1573
|
+
* Flag that indicates whether to force save data.
|
|
1574
|
+
*/
|
|
1575
|
+
isForceUpdate: boolean;
|
|
1576
|
+
constructor(rootSchemaName: string);
|
|
1577
|
+
get columnValues(): {
|
|
1578
|
+
items: {
|
|
1579
|
+
[key: string]: ɵParameterExpression;
|
|
1580
|
+
};
|
|
1581
|
+
};
|
|
1582
|
+
addColumn(columnName: string, columnValue: ɵEntityColumnValue, dataValueType: ɵDataValueType): void;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
export declare class ɵValidationUtilities {
|
|
1586
|
+
static checkArgumentEmpty<T>(argumentName: string, argumentValue: T | null | undefined): asserts argumentValue is T;
|
|
1587
|
+
static checkArrayEmpty<T>(argumentName: string, argumentValue: ArrayLike<T>): void;
|
|
1588
|
+
static checkStringIsNotEmpty(argumentName: string, argumentValue: string): string;
|
|
1589
|
+
static checkArgumentOutOfRange(argumentName: string, argumentValue: number, range: {
|
|
1590
|
+
begin?: number;
|
|
1591
|
+
end?: number;
|
|
1592
|
+
}): void;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
/**
|
|
1596
|
+
* @public
|
|
1597
|
+
* @description Interface describes view model context.
|
|
1598
|
+
* Could contain any pair of key-value
|
|
1599
|
+
*/
|
|
1600
|
+
export declare interface ɵViewModelContext {
|
|
1601
|
+
[key: string]: any;
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
export declare class ɵWindowFunctionColumn extends ɵBaseQueryColumn<ɵWindowFunctionExpression> {
|
|
1605
|
+
constructor(functionArgument: ɵAggregationFunctionExpression);
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
export declare class ɵWindowFunctionExpression extends ɵArgumentFunctionExpression {
|
|
1609
|
+
readonly functionType: ɵFunctionType;
|
|
1610
|
+
readonly functionArgument: ɵAggregationFunctionExpression;
|
|
1611
|
+
constructor(config: ɵWindowFunctionExpressionConfig);
|
|
1612
|
+
/**
|
|
1613
|
+
* Parses expression from json.
|
|
1614
|
+
* @public
|
|
1615
|
+
*/
|
|
1616
|
+
static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser?: TExpressionParser): ɵWindowFunctionExpression;
|
|
1617
|
+
clone(): ɵWindowFunctionExpression;
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
export declare type ɵWindowFunctionExpressionConfig = ɵArgumentFunctionExpressionConfig<ɵWindowFunctionExpression>;
|
|
1621
|
+
|
|
1622
|
+
export { }
|