@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.
Files changed (140) hide show
  1. package/dist/bundles/easyquery.core.js +9353 -9335
  2. package/dist/bundles/easyquery.core.js.map +1 -1
  3. package/dist/bundles/easyquery.core.min.js +1 -1
  4. package/dist/bundles/easyquery.core.min.js.map +1 -1
  5. package/dist/lib/common/eq_services.d.ts +56 -56
  6. package/dist/lib/common/eq_services.js +159 -159
  7. package/dist/lib/common/query_param.d.ts +25 -25
  8. package/dist/lib/common/query_param.js +1 -0
  9. package/dist/lib/common/tree.d.ts +10 -10
  10. package/dist/lib/common/tree.js +57 -57
  11. package/dist/lib/data/eq_aggr_container.d.ts +24 -24
  12. package/dist/lib/data/eq_aggr_container.js +108 -108
  13. package/dist/lib/data/eq_aggr_container.js.map +1 -1
  14. package/dist/lib/data/eq_data_loader.d.ts +8 -8
  15. package/dist/lib/data/eq_data_loader.js +49 -49
  16. package/dist/lib/data/eq_data_loader.js.map +1 -1
  17. package/dist/lib/data/google_data_converter.d.ts +82 -82
  18. package/dist/lib/data/google_data_converter.js +173 -173
  19. package/dist/lib/data/google_data_converter.js.map +1 -1
  20. package/dist/lib/dm/aggr_function.d.ts +27 -27
  21. package/dist/lib/dm/aggr_function.js +42 -42
  22. package/dist/lib/dm/data_model.d.ts +330 -330
  23. package/dist/lib/dm/data_model.js +934 -932
  24. package/dist/lib/dm/data_model.js.map +1 -1
  25. package/dist/lib/dm/dto/af_data.d.ts +16 -16
  26. package/dist/lib/dm/dto/af_data.js +1 -0
  27. package/dist/lib/dm/dto/dm_data.d.ts +34 -34
  28. package/dist/lib/dm/dto/dm_data.js +1 -0
  29. package/dist/lib/dm/dto/entity_data.d.ts +37 -37
  30. package/dist/lib/dm/dto/entity_data.js +1 -0
  31. package/dist/lib/dm/dto/operator_data.d.ts +44 -44
  32. package/dist/lib/dm/dto/operator_data.js +1 -0
  33. package/dist/lib/dm/dto/ve_data.d.ts +10 -10
  34. package/dist/lib/dm/dto/ve_data.js +1 -0
  35. package/dist/lib/dm/entity.d.ts +71 -71
  36. package/dist/lib/dm/entity.js +90 -88
  37. package/dist/lib/dm/entity.js.map +1 -1
  38. package/dist/lib/dm/link.d.ts +7 -7
  39. package/dist/lib/dm/link.js +1 -0
  40. package/dist/lib/dm/operator.d.ts +80 -80
  41. package/dist/lib/dm/operator.js +93 -93
  42. package/dist/lib/dm/value_editor.d.ts +16 -16
  43. package/dist/lib/dm/value_editor.js +43 -41
  44. package/dist/lib/dm/value_editor.js.map +1 -1
  45. package/dist/lib/eqs/eqs_data_fetcher.d.ts +7 -7
  46. package/dist/lib/eqs/eqs_data_fetcher.js +36 -36
  47. package/dist/lib/eqs/eqs_exporter.d.ts +10 -10
  48. package/dist/lib/eqs/eqs_exporter.js +57 -54
  49. package/dist/lib/eqs/eqs_exporter.js.map +1 -1
  50. package/dist/lib/eqs/eqs_model_loader.d.ts +7 -7
  51. package/dist/lib/eqs/eqs_model_loader.js +42 -40
  52. package/dist/lib/eqs/eqs_model_loader.js.map +1 -1
  53. package/dist/lib/eqs/eqs_query_file_loader.d.ts +9 -9
  54. package/dist/lib/eqs/eqs_query_file_loader.js +54 -54
  55. package/dist/lib/eqs/eqs_query_file_loader.js.map +1 -1
  56. package/dist/lib/eqs/eqs_query_synchronizer.d.ts +7 -7
  57. package/dist/lib/eqs/eqs_query_synchronizer.js +23 -23
  58. package/dist/lib/eqs/eqs_value_list_resolver.d.ts +7 -7
  59. package/dist/lib/eqs/eqs_value_list_resolver.js +28 -28
  60. package/dist/lib/export/exporter.d.ts +16 -16
  61. package/dist/lib/export/exporter.js +1 -0
  62. package/dist/lib/i18n/text_resources.d.ts +1 -1
  63. package/dist/lib/i18n/text_resources.js +26 -26
  64. package/dist/lib/i18n/text_resources.js.map +1 -1
  65. package/dist/lib/main/action.d.ts +13 -13
  66. package/dist/lib/main/action.js +5 -5
  67. package/dist/lib/main/context.d.ts +342 -342
  68. package/dist/lib/main/context.js +1439 -1438
  69. package/dist/lib/main/context.js.map +1 -1
  70. package/dist/lib/main/context_options.d.ts +145 -145
  71. package/dist/lib/main/context_options.js +1 -0
  72. package/dist/lib/main/data_fetcher.d.ts +46 -46
  73. package/dist/lib/main/data_fetcher.js +1 -0
  74. package/dist/lib/main/eq_actions.d.ts +14 -14
  75. package/dist/lib/main/eq_actions.js +15 -15
  76. package/dist/lib/main/list_cache.d.ts +8 -8
  77. package/dist/lib/main/list_cache.js +1 -0
  78. package/dist/lib/main/model_loader.d.ts +21 -21
  79. package/dist/lib/main/model_loader.js +32 -32
  80. package/dist/lib/main/model_storage.d.ts +13 -13
  81. package/dist/lib/main/model_storage.js +17 -17
  82. package/dist/lib/main/query_file_loader.d.ts +15 -15
  83. package/dist/lib/main/query_file_loader.js +1 -0
  84. package/dist/lib/main/query_storage.d.ts +58 -58
  85. package/dist/lib/main/query_storage.js +124 -124
  86. package/dist/lib/main/query_synchronizer.d.ts +9 -9
  87. package/dist/lib/main/query_synchronizer.js +1 -0
  88. package/dist/lib/main/value_list_resolver.d.ts +18 -18
  89. package/dist/lib/main/value_list_resolver.js +1 -0
  90. package/dist/lib/main/widget.d.ts +74 -74
  91. package/dist/lib/main/widget.js +101 -101
  92. package/dist/lib/public_api.d.ts +58 -58
  93. package/dist/lib/public_api.js +59 -42
  94. package/dist/lib/public_api.js.map +1 -1
  95. package/dist/lib/query/condition.d.ts +97 -97
  96. package/dist/lib/query/condition.js +331 -331
  97. package/dist/lib/query/descriptors.d.ts +36 -36
  98. package/dist/lib/query/descriptors.js +1 -0
  99. package/dist/lib/query/dto/condition_data.d.ts +38 -38
  100. package/dist/lib/query/dto/condition_data.js +1 -0
  101. package/dist/lib/query/dto/expression_data.d.ts +32 -32
  102. package/dist/lib/query/dto/expression_data.js +1 -0
  103. package/dist/lib/query/dto/query_column_data.d.ts +28 -28
  104. package/dist/lib/query/dto/query_column_data.js +1 -0
  105. package/dist/lib/query/dto/query_data.d.ts +27 -27
  106. package/dist/lib/query/dto/query_data.js +1 -0
  107. package/dist/lib/query/expression.d.ts +69 -69
  108. package/dist/lib/query/expression.js +202 -202
  109. package/dist/lib/query/query.d.ts +410 -410
  110. package/dist/lib/query/query.js +1393 -1391
  111. package/dist/lib/query/query.js.map +1 -1
  112. package/dist/lib/query/query_column.d.ts +70 -70
  113. package/dist/lib/query/query_column.js +157 -157
  114. package/dist/lib/query/query_events.d.ts +29 -29
  115. package/dist/lib/query/query_events.js +19 -19
  116. package/dist/lib/types/cond_part.d.ts +6 -6
  117. package/dist/lib/types/cond_part.js +7 -7
  118. package/dist/lib/types/cond_tag.d.ts +12 -12
  119. package/dist/lib/types/cond_tag.js +13 -13
  120. package/dist/lib/types/data_kind.d.ts +15 -15
  121. package/dist/lib/types/data_kind.js +16 -16
  122. package/dist/lib/types/eq_editor_tag.d.ts +17 -17
  123. package/dist/lib/types/eq_editor_tag.js +20 -20
  124. package/dist/lib/types/expr_tag.d.ts +19 -19
  125. package/dist/lib/types/expr_tag.js +20 -20
  126. package/dist/lib/types/link_type.d.ts +17 -17
  127. package/dist/lib/types/link_type.js +18 -18
  128. package/dist/lib/types/widget_group.d.ts +17 -17
  129. package/dist/lib/types/widget_group.js +18 -18
  130. package/dist/lib/utils/constants.d.ts +36 -36
  131. package/dist/lib/utils/constants.js +50 -50
  132. package/dist/lib/utils/format_parser.d.ts +40 -40
  133. package/dist/lib/utils/format_parser.js +87 -87
  134. package/dist/lib/utils/utils.d.ts +34 -34
  135. package/dist/lib/utils/utils.js +102 -102
  136. package/dist/lib/utils/version_info.d.ts +9 -9
  137. package/dist/lib/utils/version_info.js +12 -12
  138. package/dist/lib/utils/version_info.js.map +1 -1
  139. package/package.json +16 -16
  140. package/webpack.config.js +6 -5
@@ -1,158 +1,158 @@
1
- import { DataType, utils as dataUtils } from '@easydata/core';
2
- import { Expression } from './expression';
3
- import { QueryChangePart, QueryChangeAction } from './query_events';
4
- /** Represents sorting direction. */
5
- export var SortDirection;
6
- (function (SortDirection) {
7
- /** No sorting. */
8
- SortDirection[SortDirection["None"] = 0] = "None";
9
- /** Ascending order. */
10
- SortDirection[SortDirection["Ascending"] = 1] = "Ascending";
11
- /** Descending order. */
12
- SortDirection[SortDirection["Descending"] = 2] = "Descending";
13
- })(SortDirection || (SortDirection = {}));
14
- /**
15
- * Represents some column which will be queried
16
- */
17
- var QueryColumn = /** @class */ (function () {
18
- /** the default constructor. */
19
- function QueryColumn(query, justsorted) {
20
- if (justsorted === void 0) { justsorted = false; }
21
- this.query = query;
22
- this.justsorted = justsorted;
23
- /** Column is enabled */
24
- this.enabled = true;
25
- /** The parameters associated with this column */
26
- this.params = [];
27
- this._isHidden = false;
28
- this._id = dataUtils.generateId('col');
29
- this.caption = '';
30
- this.sorting = SortDirection.None;
31
- this.sortIndex = -1;
32
- this.expr = new Expression(this);
33
- this.blockId = '';
34
- }
35
- Object.defineProperty(QueryColumn.prototype, "id", {
36
- get: function () {
37
- return this._id;
38
- },
39
- enumerable: true,
40
- configurable: true
41
- });
42
- QueryColumn.prototype.getModel = function () {
43
- return this.query.getModel();
44
- };
45
- QueryColumn.prototype.getQuery = function () {
46
- return this.query;
47
- };
48
- /** Indicates whether this column is read-only */
49
- QueryColumn.prototype.isReadOnly = function () {
50
- return false;
51
- };
52
- /** Indicates whether this column is just-sorted */
53
- QueryColumn.prototype.isJustSorted = function () {
54
- return this.justsorted;
55
- };
56
- QueryColumn.prototype.setReadOnly = function (value) {
57
- //do nothing. Read-only columns are not supported here
58
- };
59
- /** Indicates whether this column is invisible */
60
- QueryColumn.prototype.isHidden = function () {
61
- return this._isHidden;
62
- };
63
- QueryColumn.prototype.setHidden = function (value) {
64
- this._isHidden = value;
65
- };
66
- QueryColumn.prototype.getDataType = function () {
67
- if (this.expr.dataType === DataType.Unknown) {
68
- var attrId = null;
69
- if (this.expr.func) {
70
- if (this.expr.func == "COUNT" || this.expr.func == "CNTDST")
71
- return DataType.Int64;
72
- attrId = this.expr.args[0].value;
73
- }
74
- else {
75
- attrId = this.expr.value;
76
- }
77
- var attr = this.query.getModel()
78
- .getAttributeById(attrId);
79
- if (attr)
80
- return attr.dataType;
81
- }
82
- return this.expr.dataType;
83
- };
84
- /**
85
- * Loads column from its JSON representation object.
86
- * @param model The Data Model.
87
- * @param colData The JSON representation object.
88
- */
89
- QueryColumn.prototype.loadFromData = function (model, colData) {
90
- if (colData) {
91
- if (colData.id) {
92
- this._id = colData.id;
93
- }
94
- this.caption = colData.cptn;
95
- if (typeof colData.srt !== 'undefined') {
96
- this.sorting = colData.srt;
97
- this.sortIndex = (typeof colData.srtidx !== 'undefined')
98
- ? colData.srtidx
99
- : -1;
100
- }
101
- if (colData.enabled === false) {
102
- this.enabled = colData.enabled;
103
- }
104
- this.expr.loadFromData(model, colData.expr);
105
- this.blockId = colData.blockId;
106
- this.displayFormat = colData.dfmt;
107
- this.groupFooterColumnTemlate = colData.gfct;
108
- if (colData.hidden) {
109
- this.setHidden(true);
110
- }
111
- }
112
- };
113
- /**
114
- * Saves the column to a data transfer object (ready for sending to the server-side) .
115
- * @returns An plain object that represents the column.
116
- */
117
- QueryColumn.prototype.saveToData = function () {
118
- var obj = {};
119
- obj.id = this._id;
120
- if (typeof this.caption !== 'undefined') {
121
- obj.cptn = this.caption;
122
- }
123
- if (typeof this.sorting !== 'undefined' && this.sorting != SortDirection.None) {
124
- obj.srt = this.sorting;
125
- obj.srtidx = this.sortIndex;
126
- }
127
- obj.expr = this.expr.saveToData();
128
- if (this.blockId) {
129
- obj.blockId = this.blockId;
130
- }
131
- if (this.enabled === false) {
132
- obj.enabled = this.enabled;
133
- }
134
- obj.dfmt = this.displayFormat;
135
- obj.gfct = this.groupFooterColumnTemlate;
136
- if (this.isHidden()) {
137
- obj.hidden = true;
138
- }
139
- return obj;
140
- };
141
- QueryColumn.prototype.fireChangedEvent = function () {
142
- this.query.fireChangedEvent({
143
- part: (this.justsorted)
144
- ? QueryChangePart.SortingColumns
145
- : QueryChangePart.Columns,
146
- action: QueryChangeAction.Modify,
147
- changee: this
148
- });
149
- };
150
- QueryColumn.prototype.getExpressionIndex = function (expr) {
151
- return 0;
152
- };
153
- QueryColumn.prototype.expressionChanged = function (expr, oldValue) {
154
- };
155
- return QueryColumn;
156
- }());
157
- export { QueryColumn };
1
+ import { DataType, utils as dataUtils } from '@easydata/core';
2
+ import { Expression } from './expression';
3
+ import { QueryChangePart, QueryChangeAction } from './query_events';
4
+ /** Represents sorting direction. */
5
+ export var SortDirection;
6
+ (function (SortDirection) {
7
+ /** No sorting. */
8
+ SortDirection[SortDirection["None"] = 0] = "None";
9
+ /** Ascending order. */
10
+ SortDirection[SortDirection["Ascending"] = 1] = "Ascending";
11
+ /** Descending order. */
12
+ SortDirection[SortDirection["Descending"] = 2] = "Descending";
13
+ })(SortDirection || (SortDirection = {}));
14
+ /**
15
+ * Represents some column which will be queried
16
+ */
17
+ var QueryColumn = /** @class */ (function () {
18
+ /** the default constructor. */
19
+ function QueryColumn(query, justsorted) {
20
+ if (justsorted === void 0) { justsorted = false; }
21
+ this.query = query;
22
+ this.justsorted = justsorted;
23
+ /** Column is enabled */
24
+ this.enabled = true;
25
+ /** The parameters associated with this column */
26
+ this.params = [];
27
+ this._isHidden = false;
28
+ this._id = dataUtils.generateId('col');
29
+ this.caption = '';
30
+ this.sorting = SortDirection.None;
31
+ this.sortIndex = -1;
32
+ this.expr = new Expression(this);
33
+ this.blockId = '';
34
+ }
35
+ Object.defineProperty(QueryColumn.prototype, "id", {
36
+ get: function () {
37
+ return this._id;
38
+ },
39
+ enumerable: false,
40
+ configurable: true
41
+ });
42
+ QueryColumn.prototype.getModel = function () {
43
+ return this.query.getModel();
44
+ };
45
+ QueryColumn.prototype.getQuery = function () {
46
+ return this.query;
47
+ };
48
+ /** Indicates whether this column is read-only */
49
+ QueryColumn.prototype.isReadOnly = function () {
50
+ return false;
51
+ };
52
+ /** Indicates whether this column is just-sorted */
53
+ QueryColumn.prototype.isJustSorted = function () {
54
+ return this.justsorted;
55
+ };
56
+ QueryColumn.prototype.setReadOnly = function (value) {
57
+ //do nothing. Read-only columns are not supported here
58
+ };
59
+ /** Indicates whether this column is invisible */
60
+ QueryColumn.prototype.isHidden = function () {
61
+ return this._isHidden;
62
+ };
63
+ QueryColumn.prototype.setHidden = function (value) {
64
+ this._isHidden = value;
65
+ };
66
+ QueryColumn.prototype.getDataType = function () {
67
+ if (this.expr.dataType === DataType.Unknown) {
68
+ var attrId = null;
69
+ if (this.expr.func) {
70
+ if (this.expr.func == "COUNT" || this.expr.func == "CNTDST")
71
+ return DataType.Int64;
72
+ attrId = this.expr.args[0].value;
73
+ }
74
+ else {
75
+ attrId = this.expr.value;
76
+ }
77
+ var attr = this.query.getModel()
78
+ .getAttributeById(attrId);
79
+ if (attr)
80
+ return attr.dataType;
81
+ }
82
+ return this.expr.dataType;
83
+ };
84
+ /**
85
+ * Loads column from its JSON representation object.
86
+ * @param model The Data Model.
87
+ * @param colData The JSON representation object.
88
+ */
89
+ QueryColumn.prototype.loadFromData = function (model, colData) {
90
+ if (colData) {
91
+ if (colData.id) {
92
+ this._id = colData.id;
93
+ }
94
+ this.caption = colData.cptn;
95
+ if (typeof colData.srt !== 'undefined') {
96
+ this.sorting = colData.srt;
97
+ this.sortIndex = (typeof colData.srtidx !== 'undefined')
98
+ ? colData.srtidx
99
+ : -1;
100
+ }
101
+ if (colData.enabled === false) {
102
+ this.enabled = colData.enabled;
103
+ }
104
+ this.expr.loadFromData(model, colData.expr);
105
+ this.blockId = colData.blockId;
106
+ this.displayFormat = colData.dfmt;
107
+ this.groupFooterColumnTemlate = colData.gfct;
108
+ if (colData.hidden) {
109
+ this.setHidden(true);
110
+ }
111
+ }
112
+ };
113
+ /**
114
+ * Saves the column to a data transfer object (ready for sending to the server-side) .
115
+ * @returns An plain object that represents the column.
116
+ */
117
+ QueryColumn.prototype.saveToData = function () {
118
+ var obj = {};
119
+ obj.id = this._id;
120
+ if (typeof this.caption !== 'undefined') {
121
+ obj.cptn = this.caption;
122
+ }
123
+ if (typeof this.sorting !== 'undefined' && this.sorting != SortDirection.None) {
124
+ obj.srt = this.sorting;
125
+ obj.srtidx = this.sortIndex;
126
+ }
127
+ obj.expr = this.expr.saveToData();
128
+ if (this.blockId) {
129
+ obj.blockId = this.blockId;
130
+ }
131
+ if (this.enabled === false) {
132
+ obj.enabled = this.enabled;
133
+ }
134
+ obj.dfmt = this.displayFormat;
135
+ obj.gfct = this.groupFooterColumnTemlate;
136
+ if (this.isHidden()) {
137
+ obj.hidden = true;
138
+ }
139
+ return obj;
140
+ };
141
+ QueryColumn.prototype.fireChangedEvent = function () {
142
+ this.query.fireChangedEvent({
143
+ part: (this.justsorted)
144
+ ? QueryChangePart.SortingColumns
145
+ : QueryChangePart.Columns,
146
+ action: QueryChangeAction.Modify,
147
+ changee: this
148
+ });
149
+ };
150
+ QueryColumn.prototype.getExpressionIndex = function (expr) {
151
+ return 0;
152
+ };
153
+ QueryColumn.prototype.expressionChanged = function (expr, oldValue) {
154
+ };
155
+ return QueryColumn;
156
+ }());
157
+ export { QueryColumn };
158
158
  //# sourceMappingURL=query_column.js.map
@@ -1,29 +1,29 @@
1
- import { Condition } from './condition';
2
- import { QueryColumn } from './query_column';
3
- export interface QueryChangeEventData {
4
- part: QueryChangePart;
5
- action?: QueryChangeAction;
6
- changee?: QueryColumn | QueryColumn[] | Condition | Condition[];
7
- [x: string]: any;
8
- }
9
- export interface QueryChangeEventParams extends QueryChangeEventData {
10
- postpone?: number;
11
- wasModified?: boolean;
12
- }
13
- export declare enum QueryChangePart {
14
- Conditions = 1,
15
- Columns = 2,
16
- SortingColumns = 4,
17
- Properties = 32,
18
- ExtraData = 64,
19
- Facets = 128,
20
- Aggregation = 256,
21
- All = 511
22
- }
23
- export declare enum QueryChangeAction {
24
- Add = 1,
25
- Modify = 2,
26
- Delete = 4,
27
- Activate = 8,
28
- All = 127
29
- }
1
+ import { Condition } from './condition';
2
+ import { QueryColumn } from './query_column';
3
+ export interface QueryChangeEventData {
4
+ part: QueryChangePart;
5
+ action?: QueryChangeAction;
6
+ changee?: QueryColumn | QueryColumn[] | Condition | Condition[];
7
+ [x: string]: any;
8
+ }
9
+ export interface QueryChangeEventParams extends QueryChangeEventData {
10
+ postpone?: number;
11
+ wasModified?: boolean;
12
+ }
13
+ export declare enum QueryChangePart {
14
+ Conditions = 1,
15
+ Columns = 2,
16
+ SortingColumns = 4,
17
+ Properties = 32,
18
+ ExtraData = 64,
19
+ Facets = 128,
20
+ Aggregation = 256,
21
+ All = 511
22
+ }
23
+ export declare enum QueryChangeAction {
24
+ Add = 1,
25
+ Modify = 2,
26
+ Delete = 4,
27
+ Activate = 8,
28
+ All = 127
29
+ }
@@ -1,20 +1,20 @@
1
- export var QueryChangePart;
2
- (function (QueryChangePart) {
3
- QueryChangePart[QueryChangePart["Conditions"] = 1] = "Conditions";
4
- QueryChangePart[QueryChangePart["Columns"] = 2] = "Columns";
5
- QueryChangePart[QueryChangePart["SortingColumns"] = 4] = "SortingColumns";
6
- QueryChangePart[QueryChangePart["Properties"] = 32] = "Properties";
7
- QueryChangePart[QueryChangePart["ExtraData"] = 64] = "ExtraData";
8
- QueryChangePart[QueryChangePart["Facets"] = 128] = "Facets";
9
- QueryChangePart[QueryChangePart["Aggregation"] = 256] = "Aggregation";
10
- QueryChangePart[QueryChangePart["All"] = 511] = "All";
11
- })(QueryChangePart || (QueryChangePart = {}));
12
- export var QueryChangeAction;
13
- (function (QueryChangeAction) {
14
- QueryChangeAction[QueryChangeAction["Add"] = 1] = "Add";
15
- QueryChangeAction[QueryChangeAction["Modify"] = 2] = "Modify";
16
- QueryChangeAction[QueryChangeAction["Delete"] = 4] = "Delete";
17
- QueryChangeAction[QueryChangeAction["Activate"] = 8] = "Activate";
18
- QueryChangeAction[QueryChangeAction["All"] = 127] = "All";
19
- })(QueryChangeAction || (QueryChangeAction = {}));
1
+ export var QueryChangePart;
2
+ (function (QueryChangePart) {
3
+ QueryChangePart[QueryChangePart["Conditions"] = 1] = "Conditions";
4
+ QueryChangePart[QueryChangePart["Columns"] = 2] = "Columns";
5
+ QueryChangePart[QueryChangePart["SortingColumns"] = 4] = "SortingColumns";
6
+ QueryChangePart[QueryChangePart["Properties"] = 32] = "Properties";
7
+ QueryChangePart[QueryChangePart["ExtraData"] = 64] = "ExtraData";
8
+ QueryChangePart[QueryChangePart["Facets"] = 128] = "Facets";
9
+ QueryChangePart[QueryChangePart["Aggregation"] = 256] = "Aggregation";
10
+ QueryChangePart[QueryChangePart["All"] = 511] = "All";
11
+ })(QueryChangePart || (QueryChangePart = {}));
12
+ export var QueryChangeAction;
13
+ (function (QueryChangeAction) {
14
+ QueryChangeAction[QueryChangeAction["Add"] = 1] = "Add";
15
+ QueryChangeAction[QueryChangeAction["Modify"] = 2] = "Modify";
16
+ QueryChangeAction[QueryChangeAction["Delete"] = 4] = "Delete";
17
+ QueryChangeAction[QueryChangeAction["Activate"] = 8] = "Activate";
18
+ QueryChangeAction[QueryChangeAction["All"] = 127] = "All";
19
+ })(QueryChangeAction || (QueryChangeAction = {}));
20
20
  //# sourceMappingURL=query_events.js.map
@@ -1,6 +1,6 @@
1
- export declare enum ConditionPart {
2
- EntityAttr = 2,
3
- Operator = 4,
4
- Value = 8,
5
- All = 14
6
- }
1
+ export declare enum ConditionPart {
2
+ EntityAttr = 2,
3
+ Operator = 4,
4
+ Value = 8,
5
+ All = 14
6
+ }
@@ -1,8 +1,8 @@
1
- export var ConditionPart;
2
- (function (ConditionPart) {
3
- ConditionPart[ConditionPart["EntityAttr"] = 2] = "EntityAttr";
4
- ConditionPart[ConditionPart["Operator"] = 4] = "Operator";
5
- ConditionPart[ConditionPart["Value"] = 8] = "Value";
6
- ConditionPart[ConditionPart["All"] = 14] = "All";
7
- })(ConditionPart || (ConditionPart = {}));
1
+ export var ConditionPart;
2
+ (function (ConditionPart) {
3
+ ConditionPart[ConditionPart["EntityAttr"] = 2] = "EntityAttr";
4
+ ConditionPart[ConditionPart["Operator"] = 4] = "Operator";
5
+ ConditionPart[ConditionPart["Value"] = 8] = "Value";
6
+ ConditionPart[ConditionPart["All"] = 14] = "All";
7
+ })(ConditionPart || (ConditionPart = {}));
8
8
  //# sourceMappingURL=cond_part.js.map
@@ -1,12 +1,12 @@
1
- /**
2
- * Represents a type of condition.
3
- * Current we have 2 possible types: a simple condition or a predicate - a group of conditions
4
- */
5
- export declare enum CondTag {
6
- /** An unknown type of condition (just in case).*/
7
- Unknown = 0,
8
- /** A simple condition (e.g. SomeField > SomeValue).*/
9
- Simple = 1,
10
- /** A predicate (a group of conditions).*/
11
- Group = 51
12
- }
1
+ /**
2
+ * Represents a type of condition.
3
+ * Current we have 2 possible types: a simple condition or a predicate - a group of conditions
4
+ */
5
+ export declare enum CondTag {
6
+ /** An unknown type of condition (just in case).*/
7
+ Unknown = 0,
8
+ /** A simple condition (e.g. SomeField > SomeValue).*/
9
+ Simple = 1,
10
+ /** A predicate (a group of conditions).*/
11
+ Group = 51
12
+ }
@@ -1,14 +1,14 @@
1
- /**
2
- * Represents a type of condition.
3
- * Current we have 2 possible types: a simple condition or a predicate - a group of conditions
4
- */
5
- export var CondTag;
6
- (function (CondTag) {
7
- /** An unknown type of condition (just in case).*/
8
- CondTag[CondTag["Unknown"] = 0] = "Unknown";
9
- /** A simple condition (e.g. SomeField > SomeValue).*/
10
- CondTag[CondTag["Simple"] = 1] = "Simple";
11
- /** A predicate (a group of conditions).*/
12
- CondTag[CondTag["Group"] = 51] = "Group";
13
- })(CondTag || (CondTag = {}));
1
+ /**
2
+ * Represents a type of condition.
3
+ * Current we have 2 possible types: a simple condition or a predicate - a group of conditions
4
+ */
5
+ export var CondTag;
6
+ (function (CondTag) {
7
+ /** An unknown type of condition (just in case).*/
8
+ CondTag[CondTag["Unknown"] = 0] = "Unknown";
9
+ /** A simple condition (e.g. SomeField > SomeValue).*/
10
+ CondTag[CondTag["Simple"] = 1] = "Simple";
11
+ /** A predicate (a group of conditions).*/
12
+ CondTag[CondTag["Group"] = 51] = "Group";
13
+ })(CondTag || (CondTag = {}));
14
14
  //# sourceMappingURL=cond_tag.js.map
@@ -1,15 +1,15 @@
1
- /** Represents expression kinds.*/
2
- export declare enum DataKind {
3
- /** Represents one value of some type: one constant or one attribute (field).*/
4
- Scalar = 0,
5
- /** The same as Scalar but represents only one constant value of some type.*/
6
- Const = 1,
7
- /** The same as Scalar but represents only one attribute.*/
8
- Attribute = 2,
9
- /** Represents a list of scalar values. */
10
- List = 4,
11
- /** Special expression kind which represents a sub query.*/
12
- Query = 5,
13
- /** Special expression kind which represents a binding to parent column.*/
14
- ParentColumn = 6
15
- }
1
+ /** Represents expression kinds.*/
2
+ export declare enum DataKind {
3
+ /** Represents one value of some type: one constant or one attribute (field).*/
4
+ Scalar = 0,
5
+ /** The same as Scalar but represents only one constant value of some type.*/
6
+ Const = 1,
7
+ /** The same as Scalar but represents only one attribute.*/
8
+ Attribute = 2,
9
+ /** Represents a list of scalar values. */
10
+ List = 4,
11
+ /** Special expression kind which represents a sub query.*/
12
+ Query = 5,
13
+ /** Special expression kind which represents a binding to parent column.*/
14
+ ParentColumn = 6
15
+ }
@@ -1,17 +1,17 @@
1
- /** Represents expression kinds.*/
2
- export var DataKind;
3
- (function (DataKind) {
4
- /** Represents one value of some type: one constant or one attribute (field).*/
5
- DataKind[DataKind["Scalar"] = 0] = "Scalar";
6
- /** The same as Scalar but represents only one constant value of some type.*/
7
- DataKind[DataKind["Const"] = 1] = "Const";
8
- /** The same as Scalar but represents only one attribute.*/
9
- DataKind[DataKind["Attribute"] = 2] = "Attribute";
10
- /** Represents a list of scalar values. */
11
- DataKind[DataKind["List"] = 4] = "List";
12
- /** Special expression kind which represents a sub query.*/
13
- DataKind[DataKind["Query"] = 5] = "Query";
14
- /** Special expression kind which represents a binding to parent column.*/
15
- DataKind[DataKind["ParentColumn"] = 6] = "ParentColumn";
16
- })(DataKind || (DataKind = {}));
1
+ /** Represents expression kinds.*/
2
+ export var DataKind;
3
+ (function (DataKind) {
4
+ /** Represents one value of some type: one constant or one attribute (field).*/
5
+ DataKind[DataKind["Scalar"] = 0] = "Scalar";
6
+ /** The same as Scalar but represents only one constant value of some type.*/
7
+ DataKind[DataKind["Const"] = 1] = "Const";
8
+ /** The same as Scalar but represents only one attribute.*/
9
+ DataKind[DataKind["Attribute"] = 2] = "Attribute";
10
+ /** Represents a list of scalar values. */
11
+ DataKind[DataKind["List"] = 4] = "List";
12
+ /** Special expression kind which represents a sub query.*/
13
+ DataKind[DataKind["Query"] = 5] = "Query";
14
+ /** Special expression kind which represents a binding to parent column.*/
15
+ DataKind[DataKind["ParentColumn"] = 6] = "ParentColumn";
16
+ })(DataKind || (DataKind = {}));
17
17
  //# sourceMappingURL=data_kind.js.map
@@ -1,17 +1,17 @@
1
- /** Represents editor tags*/
2
- export declare const EqEditorTag: {
3
- /** SqlList tag value */
4
- SqlList: string;
5
- /** SubQuery tag value */
6
- SubQuery: string;
7
- /** Bind to parent column tag value */
8
- BindToParentColumn: string;
9
- Unknown: string;
10
- Edit: string; /** SqlList tag value */
11
- DateTime: string;
12
- /** SubQuery tag value */
13
- List: string;
14
- CustomList: string;
15
- File: string;
16
- };
17
- export declare type EqEditorTag = (typeof EqEditorTag)[keyof typeof EqEditorTag];
1
+ /** Represents editor tags*/
2
+ export declare const EqEditorTag: {
3
+ /** SqlList tag value */
4
+ SqlList: string;
5
+ /** SubQuery tag value */
6
+ SubQuery: string;
7
+ /** Bind to parent column tag value */
8
+ BindToParentColumn: string;
9
+ Unknown: string;
10
+ Edit: string;
11
+ /** SqlList tag value */
12
+ DateTime: string;
13
+ List: string;
14
+ CustomList: string;
15
+ File: string;
16
+ };
17
+ export type EqEditorTag = (typeof EqEditorTag)[keyof typeof EqEditorTag];
@@ -1,21 +1,21 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import { EditorTag } from "@easydata/core";
13
- /** Represents editor tags*/
14
- export var EqEditorTag = __assign(__assign({}, EditorTag), {
15
- /** SqlList tag value */
16
- SqlList: "SQLLIST",
17
- /** SubQuery tag value */
18
- SubQuery: "SUBQUERY",
19
- /** Bind to parent column tag value */
20
- BindToParentColumn: "BINDTOPARENTCOLUMN" });
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { EditorTag } from "@easydata/core";
13
+ /** Represents editor tags*/
14
+ export var EqEditorTag = __assign(__assign({}, EditorTag), {
15
+ /** SqlList tag value */
16
+ SqlList: "SQLLIST",
17
+ /** SubQuery tag value */
18
+ SubQuery: "SUBQUERY",
19
+ /** Bind to parent column tag value */
20
+ BindToParentColumn: "BINDTOPARENTCOLUMN" });
21
21
  //# sourceMappingURL=eq_editor_tag.js.map