@easyquery/core 7.2.3-rc03 → 7.2.4-beta03
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles/easyquery.core.js +9353 -9335
- package/dist/bundles/easyquery.core.js.map +1 -1
- package/dist/bundles/easyquery.core.min.js +1 -1
- package/dist/bundles/easyquery.core.min.js.map +1 -1
- package/dist/lib/common/eq_services.d.ts +56 -56
- package/dist/lib/common/eq_services.js +159 -159
- package/dist/lib/common/query_param.d.ts +25 -25
- package/dist/lib/common/query_param.js +1 -0
- package/dist/lib/common/tree.d.ts +10 -10
- package/dist/lib/common/tree.js +57 -57
- package/dist/lib/data/eq_aggr_container.d.ts +24 -24
- package/dist/lib/data/eq_aggr_container.js +108 -108
- package/dist/lib/data/eq_aggr_container.js.map +1 -1
- package/dist/lib/data/eq_data_loader.d.ts +8 -8
- package/dist/lib/data/eq_data_loader.js +49 -49
- package/dist/lib/data/eq_data_loader.js.map +1 -1
- package/dist/lib/data/google_data_converter.d.ts +82 -82
- package/dist/lib/data/google_data_converter.js +173 -173
- package/dist/lib/data/google_data_converter.js.map +1 -1
- package/dist/lib/dm/aggr_function.d.ts +27 -27
- package/dist/lib/dm/aggr_function.js +42 -42
- package/dist/lib/dm/data_model.d.ts +330 -330
- package/dist/lib/dm/data_model.js +934 -932
- package/dist/lib/dm/data_model.js.map +1 -1
- package/dist/lib/dm/dto/af_data.d.ts +16 -16
- package/dist/lib/dm/dto/af_data.js +1 -0
- package/dist/lib/dm/dto/dm_data.d.ts +34 -34
- package/dist/lib/dm/dto/dm_data.js +1 -0
- package/dist/lib/dm/dto/entity_data.d.ts +37 -37
- package/dist/lib/dm/dto/entity_data.js +1 -0
- package/dist/lib/dm/dto/operator_data.d.ts +44 -44
- package/dist/lib/dm/dto/operator_data.js +1 -0
- package/dist/lib/dm/dto/ve_data.d.ts +10 -10
- package/dist/lib/dm/dto/ve_data.js +1 -0
- package/dist/lib/dm/entity.d.ts +71 -71
- package/dist/lib/dm/entity.js +90 -88
- package/dist/lib/dm/entity.js.map +1 -1
- package/dist/lib/dm/link.d.ts +7 -7
- package/dist/lib/dm/link.js +1 -0
- package/dist/lib/dm/operator.d.ts +80 -80
- package/dist/lib/dm/operator.js +93 -93
- package/dist/lib/dm/value_editor.d.ts +16 -16
- package/dist/lib/dm/value_editor.js +43 -41
- package/dist/lib/dm/value_editor.js.map +1 -1
- package/dist/lib/eqs/eqs_data_fetcher.d.ts +7 -7
- package/dist/lib/eqs/eqs_data_fetcher.js +36 -36
- package/dist/lib/eqs/eqs_exporter.d.ts +10 -10
- package/dist/lib/eqs/eqs_exporter.js +57 -54
- package/dist/lib/eqs/eqs_exporter.js.map +1 -1
- package/dist/lib/eqs/eqs_model_loader.d.ts +7 -7
- package/dist/lib/eqs/eqs_model_loader.js +42 -40
- package/dist/lib/eqs/eqs_model_loader.js.map +1 -1
- package/dist/lib/eqs/eqs_query_file_loader.d.ts +9 -9
- package/dist/lib/eqs/eqs_query_file_loader.js +54 -54
- package/dist/lib/eqs/eqs_query_file_loader.js.map +1 -1
- package/dist/lib/eqs/eqs_query_synchronizer.d.ts +7 -7
- package/dist/lib/eqs/eqs_query_synchronizer.js +23 -23
- package/dist/lib/eqs/eqs_value_list_resolver.d.ts +7 -7
- package/dist/lib/eqs/eqs_value_list_resolver.js +28 -28
- package/dist/lib/export/exporter.d.ts +16 -16
- package/dist/lib/export/exporter.js +1 -0
- package/dist/lib/i18n/text_resources.d.ts +1 -1
- package/dist/lib/i18n/text_resources.js +26 -26
- package/dist/lib/i18n/text_resources.js.map +1 -1
- package/dist/lib/main/action.d.ts +13 -13
- package/dist/lib/main/action.js +5 -5
- package/dist/lib/main/context.d.ts +342 -342
- package/dist/lib/main/context.js +1439 -1438
- package/dist/lib/main/context.js.map +1 -1
- package/dist/lib/main/context_options.d.ts +145 -145
- package/dist/lib/main/context_options.js +1 -0
- package/dist/lib/main/data_fetcher.d.ts +46 -46
- package/dist/lib/main/data_fetcher.js +1 -0
- package/dist/lib/main/eq_actions.d.ts +14 -14
- package/dist/lib/main/eq_actions.js +15 -15
- package/dist/lib/main/list_cache.d.ts +8 -8
- package/dist/lib/main/list_cache.js +1 -0
- package/dist/lib/main/model_loader.d.ts +21 -21
- package/dist/lib/main/model_loader.js +32 -32
- package/dist/lib/main/model_storage.d.ts +13 -13
- package/dist/lib/main/model_storage.js +17 -17
- package/dist/lib/main/query_file_loader.d.ts +15 -15
- package/dist/lib/main/query_file_loader.js +1 -0
- package/dist/lib/main/query_storage.d.ts +58 -58
- package/dist/lib/main/query_storage.js +124 -124
- package/dist/lib/main/query_synchronizer.d.ts +9 -9
- package/dist/lib/main/query_synchronizer.js +1 -0
- package/dist/lib/main/value_list_resolver.d.ts +18 -18
- package/dist/lib/main/value_list_resolver.js +1 -0
- package/dist/lib/main/widget.d.ts +74 -74
- package/dist/lib/main/widget.js +101 -101
- package/dist/lib/public_api.d.ts +58 -58
- package/dist/lib/public_api.js +59 -42
- package/dist/lib/public_api.js.map +1 -1
- package/dist/lib/query/condition.d.ts +97 -97
- package/dist/lib/query/condition.js +331 -331
- package/dist/lib/query/descriptors.d.ts +36 -36
- package/dist/lib/query/descriptors.js +1 -0
- package/dist/lib/query/dto/condition_data.d.ts +38 -38
- package/dist/lib/query/dto/condition_data.js +1 -0
- package/dist/lib/query/dto/expression_data.d.ts +32 -32
- package/dist/lib/query/dto/expression_data.js +1 -0
- package/dist/lib/query/dto/query_column_data.d.ts +28 -28
- package/dist/lib/query/dto/query_column_data.js +1 -0
- package/dist/lib/query/dto/query_data.d.ts +27 -27
- package/dist/lib/query/dto/query_data.js +1 -0
- package/dist/lib/query/expression.d.ts +69 -69
- package/dist/lib/query/expression.js +202 -202
- package/dist/lib/query/query.d.ts +410 -410
- package/dist/lib/query/query.js +1393 -1391
- package/dist/lib/query/query.js.map +1 -1
- package/dist/lib/query/query_column.d.ts +70 -70
- package/dist/lib/query/query_column.js +157 -157
- package/dist/lib/query/query_events.d.ts +29 -29
- package/dist/lib/query/query_events.js +19 -19
- package/dist/lib/types/cond_part.d.ts +6 -6
- package/dist/lib/types/cond_part.js +7 -7
- package/dist/lib/types/cond_tag.d.ts +12 -12
- package/dist/lib/types/cond_tag.js +13 -13
- package/dist/lib/types/data_kind.d.ts +15 -15
- package/dist/lib/types/data_kind.js +16 -16
- package/dist/lib/types/eq_editor_tag.d.ts +17 -17
- package/dist/lib/types/eq_editor_tag.js +20 -20
- package/dist/lib/types/expr_tag.d.ts +19 -19
- package/dist/lib/types/expr_tag.js +20 -20
- package/dist/lib/types/link_type.d.ts +17 -17
- package/dist/lib/types/link_type.js +18 -18
- package/dist/lib/types/widget_group.d.ts +17 -17
- package/dist/lib/types/widget_group.js +18 -18
- package/dist/lib/utils/constants.d.ts +36 -36
- package/dist/lib/utils/constants.js +50 -50
- package/dist/lib/utils/format_parser.d.ts +40 -40
- package/dist/lib/utils/format_parser.js +87 -87
- package/dist/lib/utils/utils.d.ts +34 -34
- package/dist/lib/utils/utils.js +102 -102
- package/dist/lib/utils/version_info.d.ts +9 -9
- package/dist/lib/utils/version_info.js +12 -12
- package/dist/lib/utils/version_info.js.map +1 -1
- package/package.json +16 -16
- package/webpack.config.js +6 -5
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/** Contains several constant definitions for expressions tag */
|
|
2
|
-
export declare enum ExprTag {
|
|
3
|
-
/** Unknown expression */
|
|
4
|
-
Unknown = 0,
|
|
5
|
-
/** Constant expression */
|
|
6
|
-
Constant = 1,
|
|
7
|
-
/** Entity attributre expression */
|
|
8
|
-
EntityAttribute = 2,
|
|
9
|
-
/** Parent entity attribute expression */
|
|
10
|
-
ParentEntityAttribute = 3,
|
|
11
|
-
/** Agrregate function expression */
|
|
12
|
-
AggregateFunction = 4,
|
|
13
|
-
/** Parent column expression */
|
|
14
|
-
ParentColumn = 5,
|
|
15
|
-
/** Query expression */
|
|
16
|
-
Query = 11,
|
|
17
|
-
/** Custom sql expression */
|
|
18
|
-
CustomSql = 21
|
|
19
|
-
}
|
|
1
|
+
/** Contains several constant definitions for expressions tag */
|
|
2
|
+
export declare enum ExprTag {
|
|
3
|
+
/** Unknown expression */
|
|
4
|
+
Unknown = 0,
|
|
5
|
+
/** Constant expression */
|
|
6
|
+
Constant = 1,
|
|
7
|
+
/** Entity attributre expression */
|
|
8
|
+
EntityAttribute = 2,
|
|
9
|
+
/** Parent entity attribute expression */
|
|
10
|
+
ParentEntityAttribute = 3,
|
|
11
|
+
/** Agrregate function expression */
|
|
12
|
+
AggregateFunction = 4,
|
|
13
|
+
/** Parent column expression */
|
|
14
|
+
ParentColumn = 5,
|
|
15
|
+
/** Query expression */
|
|
16
|
+
Query = 11,
|
|
17
|
+
/** Custom sql expression */
|
|
18
|
+
CustomSql = 21
|
|
19
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/** Contains several constant definitions for expressions tag */
|
|
2
|
-
export var ExprTag;
|
|
3
|
-
(function (ExprTag) {
|
|
4
|
-
/** Unknown expression */
|
|
5
|
-
ExprTag[ExprTag["Unknown"] = 0] = "Unknown";
|
|
6
|
-
/** Constant expression */
|
|
7
|
-
ExprTag[ExprTag["Constant"] = 1] = "Constant";
|
|
8
|
-
/** Entity attributre expression */
|
|
9
|
-
ExprTag[ExprTag["EntityAttribute"] = 2] = "EntityAttribute";
|
|
10
|
-
/** Parent entity attribute expression */
|
|
11
|
-
ExprTag[ExprTag["ParentEntityAttribute"] = 3] = "ParentEntityAttribute";
|
|
12
|
-
/** Agrregate function expression */
|
|
13
|
-
ExprTag[ExprTag["AggregateFunction"] = 4] = "AggregateFunction";
|
|
14
|
-
/** Parent column expression */
|
|
15
|
-
ExprTag[ExprTag["ParentColumn"] = 5] = "ParentColumn";
|
|
16
|
-
/** Query expression */
|
|
17
|
-
ExprTag[ExprTag["Query"] = 11] = "Query";
|
|
18
|
-
/** Custom sql expression */
|
|
19
|
-
ExprTag[ExprTag["CustomSql"] = 21] = "CustomSql";
|
|
20
|
-
})(ExprTag || (ExprTag = {}));
|
|
1
|
+
/** Contains several constant definitions for expressions tag */
|
|
2
|
+
export var ExprTag;
|
|
3
|
+
(function (ExprTag) {
|
|
4
|
+
/** Unknown expression */
|
|
5
|
+
ExprTag[ExprTag["Unknown"] = 0] = "Unknown";
|
|
6
|
+
/** Constant expression */
|
|
7
|
+
ExprTag[ExprTag["Constant"] = 1] = "Constant";
|
|
8
|
+
/** Entity attributre expression */
|
|
9
|
+
ExprTag[ExprTag["EntityAttribute"] = 2] = "EntityAttribute";
|
|
10
|
+
/** Parent entity attribute expression */
|
|
11
|
+
ExprTag[ExprTag["ParentEntityAttribute"] = 3] = "ParentEntityAttribute";
|
|
12
|
+
/** Agrregate function expression */
|
|
13
|
+
ExprTag[ExprTag["AggregateFunction"] = 4] = "AggregateFunction";
|
|
14
|
+
/** Parent column expression */
|
|
15
|
+
ExprTag[ExprTag["ParentColumn"] = 5] = "ParentColumn";
|
|
16
|
+
/** Query expression */
|
|
17
|
+
ExprTag[ExprTag["Query"] = 11] = "Query";
|
|
18
|
+
/** Custom sql expression */
|
|
19
|
+
ExprTag[ExprTag["CustomSql"] = 21] = "CustomSql";
|
|
20
|
+
})(ExprTag || (ExprTag = {}));
|
|
21
21
|
//# sourceMappingURL=expr_tag.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/** Represents type of linking of conditions in group (predicate).*/
|
|
2
|
-
export declare enum LinkType {
|
|
3
|
-
/**
|
|
4
|
-
* None of the conditions must be truth (all must be false).
|
|
5
|
-
* In SQL it will look like: `NOT (Condition1 OR Condition2 OR ...)`.
|
|
6
|
-
*/
|
|
7
|
-
None = 0,
|
|
8
|
-
/** At least one condition must be truth. In SQL they are connected by `OR` operator.*/
|
|
9
|
-
Any = 1,
|
|
10
|
-
/**
|
|
11
|
-
* Not all conditions must be truth (at least one must false).
|
|
12
|
-
* In SQL it will look like: `NOT(Condition1 AND Condition2 AND ...)`.
|
|
13
|
-
*/
|
|
14
|
-
NotAll = 2,
|
|
15
|
-
/** All conditions must be truth, in result SQL they are connected by `AND` operator;*/
|
|
16
|
-
All = 3
|
|
17
|
-
}
|
|
1
|
+
/** Represents type of linking of conditions in group (predicate).*/
|
|
2
|
+
export declare enum LinkType {
|
|
3
|
+
/**
|
|
4
|
+
* None of the conditions must be truth (all must be false).
|
|
5
|
+
* In SQL it will look like: `NOT (Condition1 OR Condition2 OR ...)`.
|
|
6
|
+
*/
|
|
7
|
+
None = 0,
|
|
8
|
+
/** At least one condition must be truth. In SQL they are connected by `OR` operator.*/
|
|
9
|
+
Any = 1,
|
|
10
|
+
/**
|
|
11
|
+
* Not all conditions must be truth (at least one must false).
|
|
12
|
+
* In SQL it will look like: `NOT(Condition1 AND Condition2 AND ...)`.
|
|
13
|
+
*/
|
|
14
|
+
NotAll = 2,
|
|
15
|
+
/** All conditions must be truth, in result SQL they are connected by `AND` operator;*/
|
|
16
|
+
All = 3
|
|
17
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/** Represents type of linking of conditions in group (predicate).*/
|
|
2
|
-
export var LinkType;
|
|
3
|
-
(function (LinkType) {
|
|
4
|
-
/**
|
|
5
|
-
* None of the conditions must be truth (all must be false).
|
|
6
|
-
* In SQL it will look like: `NOT (Condition1 OR Condition2 OR ...)`.
|
|
7
|
-
*/
|
|
8
|
-
LinkType[LinkType["None"] = 0] = "None";
|
|
9
|
-
/** At least one condition must be truth. In SQL they are connected by `OR` operator.*/
|
|
10
|
-
LinkType[LinkType["Any"] = 1] = "Any";
|
|
11
|
-
/**
|
|
12
|
-
* Not all conditions must be truth (at least one must false).
|
|
13
|
-
* In SQL it will look like: `NOT(Condition1 AND Condition2 AND ...)`.
|
|
14
|
-
*/
|
|
15
|
-
LinkType[LinkType["NotAll"] = 2] = "NotAll";
|
|
16
|
-
/** All conditions must be truth, in result SQL they are connected by `AND` operator;*/
|
|
17
|
-
LinkType[LinkType["All"] = 3] = "All";
|
|
18
|
-
})(LinkType || (LinkType = {}));
|
|
1
|
+
/** Represents type of linking of conditions in group (predicate).*/
|
|
2
|
+
export var LinkType;
|
|
3
|
+
(function (LinkType) {
|
|
4
|
+
/**
|
|
5
|
+
* None of the conditions must be truth (all must be false).
|
|
6
|
+
* In SQL it will look like: `NOT (Condition1 OR Condition2 OR ...)`.
|
|
7
|
+
*/
|
|
8
|
+
LinkType[LinkType["None"] = 0] = "None";
|
|
9
|
+
/** At least one condition must be truth. In SQL they are connected by `OR` operator.*/
|
|
10
|
+
LinkType[LinkType["Any"] = 1] = "Any";
|
|
11
|
+
/**
|
|
12
|
+
* Not all conditions must be truth (at least one must false).
|
|
13
|
+
* In SQL it will look like: `NOT(Condition1 AND Condition2 AND ...)`.
|
|
14
|
+
*/
|
|
15
|
+
LinkType[LinkType["NotAll"] = 2] = "NotAll";
|
|
16
|
+
/** All conditions must be truth, in result SQL they are connected by `AND` operator;*/
|
|
17
|
+
LinkType[LinkType["All"] = 3] = "All";
|
|
18
|
+
})(LinkType || (LinkType = {}));
|
|
19
19
|
//# sourceMappingURL=link_type.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/** Represents groups of widgets. Used to identify widgets */
|
|
2
|
-
export declare enum WidgetGroup {
|
|
3
|
-
/** None widget group. */
|
|
4
|
-
None = 0,
|
|
5
|
-
/** The group of widgets responsible for the Model. */
|
|
6
|
-
Model = 1,
|
|
7
|
-
/** The group of widgets responsible for the Query. */
|
|
8
|
-
Query = 2,
|
|
9
|
-
/** The group of widgets responsible for the Result. */
|
|
10
|
-
Result = 4,
|
|
11
|
-
/** The group of widgets responsible for the statement. */
|
|
12
|
-
Statement = 8,
|
|
13
|
-
/** The group of widgets responsible for tracking Query status. */
|
|
14
|
-
QueryStatus = 16,
|
|
15
|
-
/** All. */
|
|
16
|
-
All = 65535
|
|
17
|
-
}
|
|
1
|
+
/** Represents groups of widgets. Used to identify widgets */
|
|
2
|
+
export declare enum WidgetGroup {
|
|
3
|
+
/** None widget group. */
|
|
4
|
+
None = 0,
|
|
5
|
+
/** The group of widgets responsible for the Model. */
|
|
6
|
+
Model = 1,
|
|
7
|
+
/** The group of widgets responsible for the Query. */
|
|
8
|
+
Query = 2,
|
|
9
|
+
/** The group of widgets responsible for the Result. */
|
|
10
|
+
Result = 4,
|
|
11
|
+
/** The group of widgets responsible for the statement. */
|
|
12
|
+
Statement = 8,
|
|
13
|
+
/** The group of widgets responsible for tracking Query status. */
|
|
14
|
+
QueryStatus = 16,
|
|
15
|
+
/** All. */
|
|
16
|
+
All = 65535
|
|
17
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/** Represents groups of widgets. Used to identify widgets */
|
|
2
|
-
export var WidgetGroup;
|
|
3
|
-
(function (WidgetGroup) {
|
|
4
|
-
/** None widget group. */
|
|
5
|
-
WidgetGroup[WidgetGroup["None"] = 0] = "None";
|
|
6
|
-
/** The group of widgets responsible for the Model. */
|
|
7
|
-
WidgetGroup[WidgetGroup["Model"] = 1] = "Model";
|
|
8
|
-
/** The group of widgets responsible for the Query. */
|
|
9
|
-
WidgetGroup[WidgetGroup["Query"] = 2] = "Query";
|
|
10
|
-
/** The group of widgets responsible for the Result. */
|
|
11
|
-
WidgetGroup[WidgetGroup["Result"] = 4] = "Result";
|
|
12
|
-
/** The group of widgets responsible for the statement. */
|
|
13
|
-
WidgetGroup[WidgetGroup["Statement"] = 8] = "Statement";
|
|
14
|
-
/** The group of widgets responsible for tracking Query status. */
|
|
15
|
-
WidgetGroup[WidgetGroup["QueryStatus"] = 16] = "QueryStatus";
|
|
16
|
-
/** All. */
|
|
17
|
-
WidgetGroup[WidgetGroup["All"] = 65535] = "All";
|
|
18
|
-
})(WidgetGroup || (WidgetGroup = {}));
|
|
1
|
+
/** Represents groups of widgets. Used to identify widgets */
|
|
2
|
+
export var WidgetGroup;
|
|
3
|
+
(function (WidgetGroup) {
|
|
4
|
+
/** None widget group. */
|
|
5
|
+
WidgetGroup[WidgetGroup["None"] = 0] = "None";
|
|
6
|
+
/** The group of widgets responsible for the Model. */
|
|
7
|
+
WidgetGroup[WidgetGroup["Model"] = 1] = "Model";
|
|
8
|
+
/** The group of widgets responsible for the Query. */
|
|
9
|
+
WidgetGroup[WidgetGroup["Query"] = 2] = "Query";
|
|
10
|
+
/** The group of widgets responsible for the Result. */
|
|
11
|
+
WidgetGroup[WidgetGroup["Result"] = 4] = "Result";
|
|
12
|
+
/** The group of widgets responsible for the statement. */
|
|
13
|
+
WidgetGroup[WidgetGroup["Statement"] = 8] = "Statement";
|
|
14
|
+
/** The group of widgets responsible for tracking Query status. */
|
|
15
|
+
WidgetGroup[WidgetGroup["QueryStatus"] = 16] = "QueryStatus";
|
|
16
|
+
/** All. */
|
|
17
|
+
WidgetGroup[WidgetGroup["All"] = 65535] = "All";
|
|
18
|
+
})(WidgetGroup || (WidgetGroup = {}));
|
|
19
19
|
//# sourceMappingURL=widget_group.js.map
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
export declare namespace eqconsts {
|
|
2
|
-
/**
|
|
3
|
-
* Represents a constant with some default value
|
|
4
|
-
*/
|
|
5
|
-
export interface ConstValue {
|
|
6
|
-
id: string;
|
|
7
|
-
key: string;
|
|
8
|
-
isDefault?: boolean;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Defines some commonly used constants
|
|
12
|
-
*/
|
|
13
|
-
class ConstLists {
|
|
14
|
-
/**
|
|
15
|
-
* Contains macros for the special dates (like Today, First day of the month, etc)
|
|
16
|
-
*/
|
|
17
|
-
SpecDateValues: Array<ConstValue>;
|
|
18
|
-
/**
|
|
19
|
-
* Contains macros for the special times (like Now, Noon, etc)
|
|
20
|
-
*/
|
|
21
|
-
SpecTimeValues: Array<ConstValue>;
|
|
22
|
-
/**
|
|
23
|
-
* Boolean values macros (true and false)
|
|
24
|
-
*/
|
|
25
|
-
BooleanValues: Array<ConstValue>;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Contains some constants (macros) with special date/time and boolean values.
|
|
29
|
-
*/
|
|
30
|
-
export let constLists: ConstLists;
|
|
31
|
-
/**
|
|
32
|
-
* Constants representing various types of relationships between conditions
|
|
33
|
-
*/
|
|
34
|
-
export let predicateLinkTypeList: Array<ConstValue>;
|
|
35
|
-
export {};
|
|
36
|
-
}
|
|
1
|
+
export declare namespace eqconsts {
|
|
2
|
+
/**
|
|
3
|
+
* Represents a constant with some default value
|
|
4
|
+
*/
|
|
5
|
+
export interface ConstValue {
|
|
6
|
+
id: string;
|
|
7
|
+
key: string;
|
|
8
|
+
isDefault?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Defines some commonly used constants
|
|
12
|
+
*/
|
|
13
|
+
class ConstLists {
|
|
14
|
+
/**
|
|
15
|
+
* Contains macros for the special dates (like Today, First day of the month, etc)
|
|
16
|
+
*/
|
|
17
|
+
SpecDateValues: Array<ConstValue>;
|
|
18
|
+
/**
|
|
19
|
+
* Contains macros for the special times (like Now, Noon, etc)
|
|
20
|
+
*/
|
|
21
|
+
SpecTimeValues: Array<ConstValue>;
|
|
22
|
+
/**
|
|
23
|
+
* Boolean values macros (true and false)
|
|
24
|
+
*/
|
|
25
|
+
BooleanValues: Array<ConstValue>;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Contains some constants (macros) with special date/time and boolean values.
|
|
29
|
+
*/
|
|
30
|
+
export let constLists: ConstLists;
|
|
31
|
+
/**
|
|
32
|
+
* Constants representing various types of relationships between conditions
|
|
33
|
+
*/
|
|
34
|
+
export let predicateLinkTypeList: Array<ConstValue>;
|
|
35
|
+
export {};
|
|
36
|
+
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
export var eqconsts;
|
|
2
|
-
(function (eqconsts) {
|
|
3
|
-
/**
|
|
4
|
-
* Defines some commonly used constants
|
|
5
|
-
*/
|
|
6
|
-
var ConstLists = /** @class */ (function () {
|
|
7
|
-
function ConstLists() {
|
|
8
|
-
/**
|
|
9
|
-
* Contains macros for the special dates (like Today, First day of the month, etc)
|
|
10
|
-
*/
|
|
11
|
-
this.SpecDateValues = [
|
|
12
|
-
{ id: '${Today}', key: 'Today', isDefault: true },
|
|
13
|
-
{ id: '${Yesterday}', key: 'Yesterday' },
|
|
14
|
-
{ id: '${Tomorrow}', key: 'Tomorrow' },
|
|
15
|
-
{ id: '${FirstDayOfMonth}', key: 'FirstDayOfMonth' },
|
|
16
|
-
{ id: '${FirstDayOfYear}', key: 'FirstDayOfYear' }
|
|
17
|
-
];
|
|
18
|
-
/**
|
|
19
|
-
* Contains macros for the special times (like Now, Noon, etc)
|
|
20
|
-
*/
|
|
21
|
-
this.SpecTimeValues = [
|
|
22
|
-
{ id: '${Now}', key: 'Now', isDefault: true },
|
|
23
|
-
{ id: '${HourStart}', key: 'HourStart' },
|
|
24
|
-
{ id: '${Midnight}', key: 'Midnight' },
|
|
25
|
-
{ id: '${Noon}', key: 'Noon' }
|
|
26
|
-
];
|
|
27
|
-
/**
|
|
28
|
-
* Boolean values macros (true and false)
|
|
29
|
-
*/
|
|
30
|
-
this.BooleanValues = [
|
|
31
|
-
{ id: '${false}', key: 'False' },
|
|
32
|
-
{ id: '${true}', key: 'True', isDefault: true }
|
|
33
|
-
];
|
|
34
|
-
}
|
|
35
|
-
return ConstLists;
|
|
36
|
-
}());
|
|
37
|
-
/**
|
|
38
|
-
* Contains some constants (macros) with special date/time and boolean values.
|
|
39
|
-
*/
|
|
40
|
-
eqconsts.constLists = new ConstLists();
|
|
41
|
-
/**
|
|
42
|
-
* Constants representing various types of relationships between conditions
|
|
43
|
-
*/
|
|
44
|
-
eqconsts.predicateLinkTypeList = [
|
|
45
|
-
{ id: 'All', key: 'LinkTypeAll' },
|
|
46
|
-
{ id: 'Any', key: 'LinkTypeAny' },
|
|
47
|
-
{ id: 'None', key: 'LinkTypeNone' },
|
|
48
|
-
{ id: 'NotAll', key: 'LinkTypeNotAll' }
|
|
49
|
-
];
|
|
50
|
-
})(eqconsts || (eqconsts = {}));
|
|
1
|
+
export var eqconsts;
|
|
2
|
+
(function (eqconsts) {
|
|
3
|
+
/**
|
|
4
|
+
* Defines some commonly used constants
|
|
5
|
+
*/
|
|
6
|
+
var ConstLists = /** @class */ (function () {
|
|
7
|
+
function ConstLists() {
|
|
8
|
+
/**
|
|
9
|
+
* Contains macros for the special dates (like Today, First day of the month, etc)
|
|
10
|
+
*/
|
|
11
|
+
this.SpecDateValues = [
|
|
12
|
+
{ id: '${Today}', key: 'Today', isDefault: true },
|
|
13
|
+
{ id: '${Yesterday}', key: 'Yesterday' },
|
|
14
|
+
{ id: '${Tomorrow}', key: 'Tomorrow' },
|
|
15
|
+
{ id: '${FirstDayOfMonth}', key: 'FirstDayOfMonth' },
|
|
16
|
+
{ id: '${FirstDayOfYear}', key: 'FirstDayOfYear' }
|
|
17
|
+
];
|
|
18
|
+
/**
|
|
19
|
+
* Contains macros for the special times (like Now, Noon, etc)
|
|
20
|
+
*/
|
|
21
|
+
this.SpecTimeValues = [
|
|
22
|
+
{ id: '${Now}', key: 'Now', isDefault: true },
|
|
23
|
+
{ id: '${HourStart}', key: 'HourStart' },
|
|
24
|
+
{ id: '${Midnight}', key: 'Midnight' },
|
|
25
|
+
{ id: '${Noon}', key: 'Noon' }
|
|
26
|
+
];
|
|
27
|
+
/**
|
|
28
|
+
* Boolean values macros (true and false)
|
|
29
|
+
*/
|
|
30
|
+
this.BooleanValues = [
|
|
31
|
+
{ id: '${false}', key: 'False' },
|
|
32
|
+
{ id: '${true}', key: 'True', isDefault: true }
|
|
33
|
+
];
|
|
34
|
+
}
|
|
35
|
+
return ConstLists;
|
|
36
|
+
}());
|
|
37
|
+
/**
|
|
38
|
+
* Contains some constants (macros) with special date/time and boolean values.
|
|
39
|
+
*/
|
|
40
|
+
eqconsts.constLists = new ConstLists();
|
|
41
|
+
/**
|
|
42
|
+
* Constants representing various types of relationships between conditions
|
|
43
|
+
*/
|
|
44
|
+
eqconsts.predicateLinkTypeList = [
|
|
45
|
+
{ id: 'All', key: 'LinkTypeAll' },
|
|
46
|
+
{ id: 'Any', key: 'LinkTypeAny' },
|
|
47
|
+
{ id: 'None', key: 'LinkTypeNone' },
|
|
48
|
+
{ id: 'NotAll', key: 'LinkTypeNotAll' }
|
|
49
|
+
];
|
|
50
|
+
})(eqconsts || (eqconsts = {}));
|
|
51
51
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines the structure of the token returned by `FormatParser`
|
|
3
|
-
*/
|
|
4
|
-
export interface FormatToken {
|
|
5
|
-
type: string;
|
|
6
|
-
text?: string;
|
|
7
|
-
index?: number;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Represents a parser for format expressions in operators
|
|
11
|
-
*/
|
|
12
|
-
export declare class FormatParser {
|
|
13
|
-
private formatStr;
|
|
14
|
-
private pos;
|
|
15
|
-
private exprNum;
|
|
16
|
-
private tokenText;
|
|
17
|
-
private token;
|
|
18
|
-
constructor(format: string);
|
|
19
|
-
/**
|
|
20
|
-
* Starts parsing of the format string passed in the parameter
|
|
21
|
-
* @param format
|
|
22
|
-
*/
|
|
23
|
-
start(format: string): void;
|
|
24
|
-
/**
|
|
25
|
-
* Skips all spcaes till the beginning of next token
|
|
26
|
-
*/
|
|
27
|
-
skipSpaces(): void;
|
|
28
|
-
/**
|
|
29
|
-
* Scans the source and gets the next token
|
|
30
|
-
*/
|
|
31
|
-
next(): boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Returns current token
|
|
34
|
-
*/
|
|
35
|
-
getToken(): FormatToken;
|
|
36
|
-
/**
|
|
37
|
-
* Parses all source string passed in constructor and returns the list of tokens
|
|
38
|
-
*/
|
|
39
|
-
parse(): FormatToken[];
|
|
40
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Defines the structure of the token returned by `FormatParser`
|
|
3
|
+
*/
|
|
4
|
+
export interface FormatToken {
|
|
5
|
+
type: string;
|
|
6
|
+
text?: string;
|
|
7
|
+
index?: number;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Represents a parser for format expressions in operators
|
|
11
|
+
*/
|
|
12
|
+
export declare class FormatParser {
|
|
13
|
+
private formatStr;
|
|
14
|
+
private pos;
|
|
15
|
+
private exprNum;
|
|
16
|
+
private tokenText;
|
|
17
|
+
private token;
|
|
18
|
+
constructor(format: string);
|
|
19
|
+
/**
|
|
20
|
+
* Starts parsing of the format string passed in the parameter
|
|
21
|
+
* @param format
|
|
22
|
+
*/
|
|
23
|
+
start(format: string): void;
|
|
24
|
+
/**
|
|
25
|
+
* Skips all spcaes till the beginning of next token
|
|
26
|
+
*/
|
|
27
|
+
skipSpaces(): void;
|
|
28
|
+
/**
|
|
29
|
+
* Scans the source and gets the next token
|
|
30
|
+
*/
|
|
31
|
+
next(): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Returns current token
|
|
34
|
+
*/
|
|
35
|
+
getToken(): FormatToken;
|
|
36
|
+
/**
|
|
37
|
+
* Parses all source string passed in constructor and returns the list of tokens
|
|
38
|
+
*/
|
|
39
|
+
parse(): FormatToken[];
|
|
40
|
+
}
|