igniteui-webcomponents-grids 6.3.0-alpha.1 → 6.3.0-alpha.2

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 (40) hide show
  1. package/custom-elements.json +371 -50
  2. package/grids/3rdpartylicenses.txt +31 -31
  3. package/grids/combined.js +28502 -28239
  4. package/grids/lib/grid-cell-merge-mode.d.ts +1 -1
  5. package/grids/lib/igc-action-strip-component.d.ts +3 -3
  6. package/grids/lib/igc-action-strip-resource-strings.d.ts +1 -1
  7. package/grids/lib/igc-by-level-tree-grid-merge-strategy.d.ts +1 -0
  8. package/grids/lib/igc-default-merge-strategy.d.ts +2 -1
  9. package/grids/lib/igc-default-tree-grid-merge-strategy.d.ts +1 -1
  10. package/grids/lib/igc-entity-type.d.ts +43 -0
  11. package/grids/lib/igc-field-type.d.ts +97 -0
  12. package/grids/lib/igc-grid-base-directive.d.ts +4 -4
  13. package/grids/lib/igc-grid-merge-strategy.d.ts +1 -0
  14. package/grids/lib/igc-grid-resource-strings.d.ts +175 -195
  15. package/grids/lib/igc-hierarchical-grid-component.d.ts +12 -0
  16. package/grids/lib/igc-paginator-component.d.ts +3 -3
  17. package/grids/lib/igc-paginator-resource-strings.d.ts +6 -6
  18. package/grids/lib/igc-pivot-date-dimension.d.ts +3 -3
  19. package/grids/lib/igc-prefixed-resource-strings.d.ts +11 -0
  20. package/grids/lib/igc-query-builder-component.d.ts +141 -0
  21. package/grids/lib/igc-query-builder-header-component.d.ts +62 -0
  22. package/grids/lib/igc-query-builder-resource-strings.d.ts +228 -0
  23. package/grids/lib/igc-query-builder-search-value-context.d.ts +27 -0
  24. package/grids/lib/igc-row-island-component.d.ts +13 -37
  25. package/grids/lib/igc-summary-expression.d.ts +1 -1
  26. package/grids/lib/igc-toggle-view-cancelable-event-args.d.ts +0 -7
  27. package/grids/lib/igc-toggle-view-event-args.d.ts +0 -4
  28. package/grids/lib/igc-validation-resource-strings.d.ts +42 -0
  29. package/grids/lib/index.d.ts +8 -0
  30. package/grids/themes/dark/bootstrap.css +1 -1
  31. package/grids/themes/dark/fluent.css +1 -1
  32. package/grids/themes/dark/indigo.css +1 -1
  33. package/grids/themes/dark/material.css +1 -1
  34. package/grids/themes/light/bootstrap.css +1 -1
  35. package/grids/themes/light/fluent.css +1 -1
  36. package/grids/themes/light/indigo.css +1 -1
  37. package/grids/themes/light/material.css +1 -1
  38. package/package.json +1 -1
  39. package/vscode.html-custom-data.json +1 -1
  40. package/web-types.json +1 -1
@@ -15,6 +15,7 @@ import { IgcGridEditingActionsComponent } from './igc-grid-editing-actions-compo
15
15
  import { IgcGridPinningActionsComponent } from './igc-grid-pinning-actions-component';
16
16
  import { IgcRowIslandComponent } from './igc-row-island-component';
17
17
  import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
18
+ import { IgcPrefixedResourceStrings } from './igc-prefixed-resource-strings';
18
19
  import { IgcCellType } from './igc-cell-type';
19
20
  import { IgcRowType } from './igc-row-type';
20
21
  import { IgcHierarchicalGridBaseDirectiveEventMap } from './igc-hierarchical-grid-base-directive';
@@ -131,6 +132,17 @@ import { IgcHierarchicalGridBaseDirectiveEventMap } from './igc-hierarchical-gri
131
132
  public set expandChildren(value: boolean);
132
133
  public get expandChildren(): boolean;
133
134
 
135
+
136
+
137
+ /**
138
+ * Gets/Sets the resource strings.
139
+ *
140
+ * @remarks
141
+ * By default it uses EN resources.
142
+ */
143
+ public set resourceStrings(value: IgcPrefixedResourceStrings);
144
+ public get resourceStrings(): IgcPrefixedResourceStrings;
145
+
134
146
 
135
147
 
136
148
  /**
@@ -2,7 +2,7 @@
2
2
  import { IgcPageCancellableEventArgs } from './igc-page-cancellable-event-args';
3
3
  import { IgcPageEventArgs } from './igc-page-event-args';
4
4
  import { IgcOverlaySettings } from './igc-overlay-settings';
5
- import { IgcPaginatorResourceStrings } from './igc-paginator-resource-strings';
5
+ import { IgcPrefixedResourceStrings } from './igc-prefixed-resource-strings';
6
6
  import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from './common';
7
7
 
8
8
 
@@ -111,8 +111,8 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
111
111
  * An accessor that sets the resource strings.
112
112
  * By default it uses EN resources.
113
113
  */
114
- public set resourceStrings(value: IgcPaginatorResourceStrings);
115
- public get resourceStrings(): IgcPaginatorResourceStrings;
114
+ public set resourceStrings(value: IgcPrefixedResourceStrings);
115
+ public get resourceStrings(): IgcPrefixedResourceStrings;
116
116
 
117
117
 
118
118
 
@@ -7,22 +7,22 @@
7
7
  {
8
8
 
9
9
 
10
- public igx_paginator_label?: string;
10
+ public paginator_label?: string;
11
11
 
12
12
 
13
- public igx_paginator_pager_text?: string;
13
+ public paginator_pager_text?: string;
14
14
 
15
15
 
16
- public igx_paginator_first_page_button_text?: string;
16
+ public paginator_first_page_button_text?: string;
17
17
 
18
18
 
19
- public igx_paginator_previous_page_button_text?: string;
19
+ public paginator_previous_page_button_text?: string;
20
20
 
21
21
 
22
- public igx_paginator_last_page_button_text?: string;
22
+ public paginator_last_page_button_text?: string;
23
23
 
24
24
 
25
- public igx_paginator_next_page_button_text?: string;
25
+ public paginator_next_page_button_text?: string;
26
26
 
27
27
  }
28
28
 
@@ -1,7 +1,7 @@
1
1
 
2
2
  import { IgcPivotDimension } from './igc-pivot-dimension';
3
3
  import { GridColumnDataType } from './grid-column-data-type';
4
- import { IgcGridResourceStrings } from './igc-grid-resource-strings';
4
+ import { IgcPrefixedResourceStrings } from './igc-prefixed-resource-strings';
5
5
  import { IgcPivotDateDimensionOptions } from './igc-pivot-date-dimension-options';
6
6
 
7
7
 
@@ -60,8 +60,8 @@ import { IgcPivotDateDimensionOptions } from './igc-pivot-date-dimension-options
60
60
  * @remarks
61
61
  * By default it uses EN resources.
62
62
  */
63
- public set resourceStrings(value: IgcGridResourceStrings);
64
- public get resourceStrings(): IgcGridResourceStrings;
63
+ public set resourceStrings(value: IgcPrefixedResourceStrings);
64
+ public get resourceStrings(): IgcPrefixedResourceStrings;
65
65
 
66
66
 
67
67
 
@@ -0,0 +1,11 @@
1
+
2
+
3
+
4
+
5
+ export declare class IgcPrefixedResourceStrings
6
+ {
7
+
8
+ }
9
+
10
+
11
+
@@ -0,0 +1,141 @@
1
+
2
+ import { IgcExpressionTree } from './igc-expression-tree';
3
+ import { IgcEntityType } from './igc-entity-type';
4
+ import { IgcPrefixedResourceStrings } from './igc-prefixed-resource-strings';
5
+ import { IgcQueryBuilderSearchValueContext } from './igc-query-builder-search-value-context';
6
+ import { IgcRenderFunction } from './common';
7
+ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from './common';
8
+
9
+
10
+
11
+
12
+ /* wcElementTag: igc-query-builder */
13
+ /**
14
+ * A component used for operating with complex filters by creating or editing conditions
15
+ * and grouping them using AND/OR logic.
16
+ * It is used internally in the Advanced Filtering of the Grid.
17
+ *
18
+ * @example
19
+ * ```html
20
+ * <igx-query-builder [entities]="this.entities">
21
+ * </igx-query-builder>
22
+ * ```
23
+ */
24
+
25
+ export declare class IgcQueryBuilderComponent extends EventEmitterMixin<IgcQueryBuilderComponentEventMap, Constructor<LitElement>>(LitElement)
26
+
27
+ {
28
+
29
+ /* blazorSuppress */
30
+ static readonly tagName: string;
31
+ /* blazorSuppress */
32
+ static register(): void;
33
+
34
+
35
+
36
+ /**
37
+ * Gets/sets whether the confirmation dialog should be shown when changing entity.
38
+ * Default value is `true`.
39
+ */
40
+ public set showEntityChangeDialog(value: boolean);
41
+ public get showEntityChangeDialog(): boolean;
42
+
43
+
44
+
45
+ /**
46
+ * Gets the list of entities available for the IgxQueryBuilderComponent.
47
+ *
48
+ * Each entity describes a logical group of fields that can be used in queries.
49
+ * An entity can optionally have child entities, allowing nested sub-queries.
50
+ *
51
+ * @returns An array of {@link EntityType} objects.
52
+ */
53
+ public set entities(value: IgcEntityType[]);
54
+ public get entities(): IgcEntityType[];
55
+
56
+
57
+
58
+ /**
59
+ * Returns the expression tree.
60
+ */
61
+ public set expressionTree(value: IgcExpressionTree);
62
+ public get expressionTree(): IgcExpressionTree;
63
+
64
+
65
+
66
+ /**
67
+ * Gets the `locale` of the query builder.
68
+ * If not set, defaults to application's locale.
69
+ */
70
+ public set locale(value: string);
71
+ public get locale(): string;
72
+
73
+
74
+
75
+ /**
76
+ * Sets the resource strings.
77
+ * By default it uses EN resources.
78
+ */
79
+ public set resourceStrings(value: IgcPrefixedResourceStrings);
80
+ public get resourceStrings(): IgcPrefixedResourceStrings;
81
+
82
+
83
+
84
+ /**
85
+ * Disables subsequent entity changes at the root level after the initial selection.
86
+ */
87
+ public set disableEntityChange(value: boolean);
88
+ public get disableEntityChange(): boolean;
89
+
90
+
91
+
92
+ /**
93
+ * Sets/gets the search value template.
94
+ */
95
+ public set searchValueTemplate(value: IgcRenderFunction<IgcQueryBuilderSearchValueContext>);
96
+ public get searchValueTemplate(): IgcRenderFunction<IgcQueryBuilderSearchValueContext>;
97
+
98
+
99
+
100
+ /**
101
+ * Disables return fields changes at the root level.
102
+ */
103
+ public set disableReturnFieldsChange(value: boolean);
104
+ public get disableReturnFieldsChange(): boolean;
105
+
106
+
107
+
108
+ /**
109
+ * Returns whether the expression tree can be committed in the current state.
110
+ */
111
+ public canCommit(): boolean;
112
+
113
+
114
+
115
+ /**
116
+ * Commits the expression tree in the current state if it is valid. If not throws an exception.
117
+ */
118
+ public commit(): void;
119
+
120
+
121
+
122
+ /**
123
+ * Discards all unsaved changes to the expression tree.
124
+ */
125
+ public discard(): void;
126
+
127
+ }
128
+
129
+ export declare interface IgcQueryBuilderComponentEventMap {
130
+
131
+ /**
132
+ * Event fired as the expression tree is changed.
133
+ *
134
+ * ```html
135
+ * <igx-query-builder (expressionTreeChange)='onExpressionTreeChange()'></igx-query-builder>
136
+ * ```
137
+ */
138
+ expressionTreeChange: CustomEvent<IgcExpressionTree>;
139
+
140
+ }
141
+
@@ -0,0 +1,62 @@
1
+
2
+ import { IgcPrefixedResourceStrings } from './igc-prefixed-resource-strings';
3
+
4
+
5
+
6
+
7
+
8
+ /* wcElementTag: igc-query-builder-header */
9
+ /**
10
+ * @igxParent IgxQueryBuilderComponent
11
+ */
12
+
13
+ export declare class IgcQueryBuilderHeaderComponent extends HTMLElement
14
+ {
15
+
16
+ /* blazorSuppress */
17
+ static readonly tagName: string;
18
+ /* blazorSuppress */
19
+ static register(): void;
20
+
21
+
22
+
23
+ /**
24
+ * Sets the title of the `IgxQueryBuilderHeaderComponent`.
25
+ *
26
+ * @example
27
+ * ```html
28
+ * <igx-query-builder-header title="Sample Query Builder"></igx-query-builder-header>
29
+ * ```
30
+ */
31
+ public set title(value: string);
32
+ public get title(): string;
33
+
34
+
35
+
36
+ /**
37
+ * Show/hide the legend.
38
+ *
39
+ * @example
40
+ * ```html
41
+ * <igx-query-builder-header [showLegend]="false"></igx-query-builder-header>
42
+ * ```
43
+ * @deprecated
44
+ */
45
+ public set showLegend(value: boolean);
46
+ public get showLegend(): boolean;
47
+
48
+
49
+
50
+ /**
51
+ * Sets the resource strings.
52
+ * By default it uses EN resources.
53
+ *
54
+ * @deprecated
55
+ */
56
+ public set resourceStrings(value: IgcPrefixedResourceStrings);
57
+ public get resourceStrings(): IgcPrefixedResourceStrings;
58
+
59
+ }
60
+
61
+
62
+
@@ -0,0 +1,228 @@
1
+
2
+
3
+
4
+ /* jsonAPIPlainObject */
5
+
6
+ export declare class IgcQueryBuilderResourceStrings
7
+ {
8
+
9
+
10
+ public query_builder_date_placeholder?: string;
11
+
12
+
13
+ public query_builder_time_placeholder?: string;
14
+
15
+
16
+ public query_builder_datetime_placeholder?: string;
17
+
18
+
19
+ public query_builder_filter_operator_and?: string;
20
+
21
+
22
+ public query_builder_filter_operator_or?: string;
23
+
24
+
25
+ public query_builder_filter_contains?: string;
26
+
27
+
28
+ public query_builder_filter_doesNotContain?: string;
29
+
30
+
31
+ public query_builder_filter_startsWith?: string;
32
+
33
+
34
+ public query_builder_filter_endsWith?: string;
35
+
36
+
37
+ public query_builder_filter_equals?: string;
38
+
39
+
40
+ public query_builder_filter_doesNotEqual?: string;
41
+
42
+
43
+ public query_builder_filter_empty?: string;
44
+
45
+
46
+ public query_builder_filter_notEmpty?: string;
47
+
48
+
49
+ public query_builder_filter_null?: string;
50
+
51
+
52
+ public query_builder_filter_notNull?: string;
53
+
54
+
55
+ public query_builder_filter_in?: string;
56
+
57
+
58
+ public query_builder_filter_notIn?: string;
59
+
60
+
61
+ public query_builder_filter_before?: string;
62
+
63
+
64
+ public query_builder_filter_after?: string;
65
+
66
+
67
+ public query_builder_filter_at?: string;
68
+
69
+
70
+ public query_builder_filter_not_at?: string;
71
+
72
+
73
+ public query_builder_filter_at_before?: string;
74
+
75
+
76
+ public query_builder_filter_at_after?: string;
77
+
78
+
79
+ public query_builder_filter_today?: string;
80
+
81
+
82
+ public query_builder_filter_yesterday?: string;
83
+
84
+
85
+ public query_builder_filter_thisMonth?: string;
86
+
87
+
88
+ public query_builder_filter_lastMonth?: string;
89
+
90
+
91
+ public query_builder_filter_nextMonth?: string;
92
+
93
+
94
+ public query_builder_filter_thisYear?: string;
95
+
96
+
97
+ public query_builder_filter_lastYear?: string;
98
+
99
+
100
+ public query_builder_filter_nextYear?: string;
101
+
102
+
103
+ public query_builder_filter_greaterThan?: string;
104
+
105
+
106
+ public query_builder_filter_lessThan?: string;
107
+
108
+
109
+ public query_builder_filter_greaterThanOrEqualTo?: string;
110
+
111
+
112
+ public query_builder_filter_lessThanOrEqualTo?: string;
113
+
114
+
115
+ public query_builder_filter_true?: string;
116
+
117
+
118
+ public query_builder_filter_false?: string;
119
+
120
+
121
+ public query_builder_filter_all?: string;
122
+
123
+
124
+ public query_builder_from_label?: string;
125
+
126
+
127
+ public query_builder_select_label?: string;
128
+
129
+
130
+ public query_builder_where_label?: string;
131
+
132
+
133
+ public query_builder_and_group?: string;
134
+
135
+
136
+ public query_builder_or_group?: string;
137
+
138
+
139
+ public query_builder_end_group?: string;
140
+
141
+
142
+ public query_builder_and_label?: string;
143
+
144
+
145
+ public query_builder_or_label?: string;
146
+
147
+
148
+ public query_builder_switch_group?: string;
149
+
150
+
151
+ public query_builder_add_condition?: string;
152
+
153
+
154
+ public query_builder_add_group?: string;
155
+
156
+
157
+ public query_builder_add_condition_root?: string;
158
+
159
+
160
+ public query_builder_add_group_root?: string;
161
+
162
+
163
+ public query_builder_ungroup?: string;
164
+
165
+
166
+ public query_builder_delete?: string;
167
+
168
+
169
+ public query_builder_delete_filters?: string;
170
+
171
+
172
+ public query_builder_initial_text?: string;
173
+
174
+
175
+ public query_builder_column_placeholder?: string;
176
+
177
+
178
+ public query_builder_condition_placeholder?: string;
179
+
180
+
181
+ public query_builder_value_placeholder?: string;
182
+
183
+
184
+ public query_builder_query_value_placeholder?: string;
185
+
186
+
187
+ public query_builder_all_fields?: string;
188
+
189
+
190
+ public query_builder_details?: string;
191
+
192
+
193
+ public query_builder_search?: string;
194
+
195
+
196
+ public query_builder_select_all?: string;
197
+
198
+
199
+ public query_builder_select_entity?: string;
200
+
201
+
202
+ public query_builder_select_return_field_single?: string;
203
+
204
+
205
+ public query_builder_select_return_fields?: string;
206
+
207
+
208
+ public query_builder_dialog_title?: string;
209
+
210
+
211
+ public query_builder_dialog_message?: string;
212
+
213
+
214
+ public query_builder_dialog_checkbox_text?: string;
215
+
216
+
217
+ public query_builder_dialog_cancel?: string;
218
+
219
+
220
+ public query_builder_dialog_confirm?: string;
221
+
222
+
223
+ public query_builder_drop_ghost_text?: string;
224
+
225
+ }
226
+
227
+
228
+
@@ -0,0 +1,27 @@
1
+
2
+ import { IgcFieldType } from './igc-field-type';
3
+
4
+
5
+
6
+
7
+
8
+ export declare class IgcQueryBuilderSearchValueContext
9
+ {
10
+
11
+
12
+ /* @wcWidgetMemberName: $implicit */
13
+ public set implicit(value: any);
14
+ public get implicit(): any;
15
+
16
+
17
+ public set selectedField(value: IgcFieldType);
18
+ public get selectedField(): IgcFieldType;
19
+
20
+
21
+ public set selectedCondition(value: string);
22
+ public get selectedCondition(): string;
23
+
24
+ }
25
+
26
+
27
+
@@ -37,6 +37,7 @@ import { IgcActiveNodeChangeEventArgs } from './igc-active-node-change-event-arg
37
37
  import { IgcGridToolbarExportEventArgs } from './igc-grid-toolbar-export-event-args';
38
38
  import { IgcGridSelectionRange } from './igc-grid-selection-range';
39
39
  import { IgcForOfDataChangeEventArgs } from './igc-for-of-data-change-event-args';
40
+ import { IgcPrefixedResourceStrings } from './igc-prefixed-resource-strings';
40
41
  import { IgcGridToolbarTemplateContext } from './igc-grid-toolbar-template-context';
41
42
  import { IgcRenderFunction } from './common';
42
43
  import { IgcGridPaginatorTemplateContext } from './igc-grid-paginator-template-context';
@@ -52,7 +53,6 @@ import { IgcGridRowTemplateContext } from './igc-grid-row-template-context';
52
53
  import { IgcGridHeaderTemplateContext } from './igc-grid-header-template-context';
53
54
  import { IgcGridToolbarComponent } from './igc-grid-toolbar-component';
54
55
  import { IgcPaginatorComponent } from './igc-paginator-component';
55
- import { IgcGridResourceStrings } from './igc-grid-resource-strings';
56
56
  import { FilteringLogic } from './filtering-logic';
57
57
  import { GridPagingMode } from './grid-paging-mode';
58
58
  import { GridValidationTrigger } from './grid-validation-trigger';
@@ -119,6 +119,17 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
119
119
 
120
120
 
121
121
 
122
+ /**
123
+ * Gets/Sets the resource strings.
124
+ *
125
+ * @remarks
126
+ * By default it uses the root grid resources.
127
+ */
128
+ public set resourceStrings(value: IgcPrefixedResourceStrings);
129
+ public get resourceStrings(): IgcPrefixedResourceStrings;
130
+
131
+
132
+
122
133
  /* contentChildren */
123
134
  /* blazorInclude */
124
135
  /* blazorTreatAsCollection */
@@ -536,17 +547,6 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
536
547
 
537
548
 
538
549
 
539
- /**
540
- * Gets/Sets the resource strings.
541
- *
542
- * @remarks
543
- * By default it uses EN resources.
544
- */
545
- public set resourceStrings(value: IgcGridResourceStrings);
546
- public get resourceStrings(): IgcGridResourceStrings;
547
-
548
-
549
-
550
550
  /**
551
551
  * Gets/Sets the filtering logic of the `IgxGridComponent`.
552
552
  *
@@ -899,7 +899,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
899
899
 
900
900
 
901
901
 
902
-
902
+ /* csSuppress */
903
903
  /**
904
904
  * Gets/Sets the merge strategy of the grid.
905
905
  *
@@ -1106,30 +1106,6 @@ public set selectedRows(value: any[]);
1106
1106
 
1107
1107
 
1108
1108
 
1109
- /**
1110
- * Gets an array of the pinned to the left `IgxColumnComponent`s.
1111
- *
1112
- * @example
1113
- * ```typescript
1114
- * const pinnedColumns = this.grid.pinnedStartColumns.
1115
- * ```
1116
- */
1117
- public get pinnedStartColumns(): IgcColumnComponent[];
1118
-
1119
-
1120
-
1121
- /**
1122
- * Gets an array of the pinned to the right `IgxColumnComponent`s.
1123
- *
1124
- * @example
1125
- * ```typescript
1126
- * const pinnedColumns = this.grid.pinnedEndColumns.
1127
- * ```
1128
- */
1129
- public get pinnedEndColumns(): IgcColumnComponent[];
1130
-
1131
-
1132
-
1133
1109
  /* csSuppress */
1134
1110
  /**
1135
1111
  * Gets an array of the pinned `IgxRowComponent`s.
@@ -4,7 +4,7 @@
4
4
  /* jsonAPIPlainObject */
5
5
 
6
6
 
7
- /* tsPlainInterface *
7
+ /* tsPlainInterface */
8
8
  /* marshalByValue */
9
9
 
10
10
  export declare class IgcSummaryExpression
@@ -8,16 +8,9 @@
8
8
  {
9
9
 
10
10
 
11
- public cancel: boolean;
12
-
13
-
14
11
  /** Id of the toggle view */
15
12
  public id: string;
16
13
 
17
-
18
- /** Provides reference to the owner component (from IBaseEventArgs) */
19
- public owner?: any;
20
-
21
14
  }
22
15
 
23
16
 
@@ -12,10 +12,6 @@ import { IgcBaseEventArgs } from './igc-base-event-args';
12
12
  /** Id of the toggle view */
13
13
  public id: string;
14
14
 
15
-
16
- /** Provides reference to the owner component (from IBaseEventArgs) */
17
- public owner?: any;
18
-
19
15
  }
20
16
 
21
17