igniteui-angular 18.2.0-beta.1 → 18.2.0-beta.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.
- package/esm2022/lib/data-operations/filtering-expressions-tree.mjs +1 -1
- package/esm2022/lib/query-builder/query-builder-tree.component.mjs +3 -3
- package/fesm2022/igniteui-angular.mjs +2 -2
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/lib/core/styles/components/query-builder/_query-builder-theme.scss +6 -12
- package/lib/data-operations/filtering-expressions-tree.d.ts +24 -2
- package/migrations/update-18_2_0/index.js +32 -0
- package/package.json +2 -2
- package/styles/igniteui-angular-dark.css +1 -1
- package/styles/igniteui-angular.css +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/igniteui-bootstrap-light.css +1 -1
- package/styles/igniteui-dark-green.css +1 -1
- package/styles/igniteui-fluent-dark-excel.css +1 -1
- package/styles/igniteui-fluent-dark-word.css +1 -1
- package/styles/igniteui-fluent-dark.css +1 -1
- package/styles/igniteui-fluent-light-excel.css +1 -1
- package/styles/igniteui-fluent-light-word.css +1 -1
- package/styles/igniteui-fluent-light.css +1 -1
- package/styles/igniteui-indigo-dark.css +1 -1
- package/styles/igniteui-indigo-light.css +1 -1
- package/styles/maps/igniteui-angular-dark.css.map +1 -1
- package/styles/maps/igniteui-angular.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
- package/styles/maps/igniteui-dark-green.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-light.css.map +1 -1
- package/styles/maps/igniteui-indigo-dark.css.map +1 -1
- package/styles/maps/igniteui-indigo-light.css.map +1 -1
|
@@ -323,16 +323,9 @@
|
|
|
323
323
|
display: inline-flex;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
igx-icon {
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
outline-style: none;
|
|
330
|
-
|
|
331
|
-
&:hover,
|
|
332
|
-
&:focus {
|
|
333
|
-
color: color(null, 'gray', 800);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
326
|
+
%igx-icon-button-display {
|
|
327
|
+
--size: #{sizable(rem(20px), rem(24px), if($variant != 'indigo', rem(32px), rem(28px)))}
|
|
328
|
+
};
|
|
336
329
|
}
|
|
337
330
|
|
|
338
331
|
%filter-tree__expression-condition {
|
|
@@ -468,8 +461,9 @@
|
|
|
468
461
|
|
|
469
462
|
%filter-con-menu__close-btn {
|
|
470
463
|
position: absolute;
|
|
471
|
-
top:
|
|
472
|
-
inset-inline-
|
|
464
|
+
top: 0;
|
|
465
|
+
inset-inline-start: 100%;
|
|
466
|
+
transform: translate(-50%, -50%);
|
|
473
467
|
background-color: var-get($theme, 'background');
|
|
474
468
|
border: rem(1px) solid color(null, 'gray', 200);
|
|
475
469
|
|
|
@@ -54,7 +54,7 @@ export declare class FilteringExpressionsTree implements IFilteringExpressionsTr
|
|
|
54
54
|
/**
|
|
55
55
|
* Sets/gets the field name of the column where the filtering expression is placed.
|
|
56
56
|
* ```typescript
|
|
57
|
-
*
|
|
57
|
+
* gridExpressionTree.fieldName = 'Column Field';
|
|
58
58
|
* ```
|
|
59
59
|
* ```typescript
|
|
60
60
|
* let columnField = expressionTree.fieldName;
|
|
@@ -66,7 +66,7 @@ export declare class FilteringExpressionsTree implements IFilteringExpressionsTr
|
|
|
66
66
|
/**
|
|
67
67
|
* Sets/gets the type of the filtering expressions tree.
|
|
68
68
|
* ```typescript
|
|
69
|
-
*
|
|
69
|
+
* gridExpressionTree.type = FilteringExpressionsTree.Advanced;
|
|
70
70
|
* ```
|
|
71
71
|
* ```typescript
|
|
72
72
|
* let type = expressionTree.type;
|
|
@@ -75,7 +75,29 @@ export declare class FilteringExpressionsTree implements IFilteringExpressionsTr
|
|
|
75
75
|
* @memberof FilteringExpressionsTree
|
|
76
76
|
*/
|
|
77
77
|
type?: FilteringExpressionsTreeType;
|
|
78
|
+
/**
|
|
79
|
+
* Sets/gets the entity.
|
|
80
|
+
* ```typescript
|
|
81
|
+
* gridExpressionsTree.entity = 'Entity A';
|
|
82
|
+
* ```
|
|
83
|
+
* ```typescript
|
|
84
|
+
* let entity = gridExpressionsTree.entity;
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* @memberof FilteringExpressionsTree
|
|
88
|
+
*/
|
|
78
89
|
entity?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Sets/gets the return fields.
|
|
92
|
+
* ```typescript
|
|
93
|
+
* gridExpressionsTree.returnFields = ['Column Field 1', 'Column Field 2'];
|
|
94
|
+
* ```
|
|
95
|
+
* ```typescript
|
|
96
|
+
* let returnFields = gridExpressionsTree.returnFields;
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @memberof FilteringExpressionsTree
|
|
100
|
+
*/
|
|
79
101
|
returnFields?: string[];
|
|
80
102
|
constructor(operator: FilteringLogic, fieldName?: string, entity?: string, returnFields?: string[]);
|
|
81
103
|
/**
|
|
@@ -18,5 +18,37 @@ exports.default = () => (host, context) => __awaiter(void 0, void 0, void 0, fun
|
|
|
18
18
|
args.bindingType = UpdateChanges_1.InputPropertyType.EVAL;
|
|
19
19
|
args.value = `[{ name: '', fields: ${args.value}}]`;
|
|
20
20
|
});
|
|
21
|
+
const IG_COLORS = [
|
|
22
|
+
'primary-',
|
|
23
|
+
'primary-A',
|
|
24
|
+
'secondary-',
|
|
25
|
+
'secondary-A',
|
|
26
|
+
'gray-',
|
|
27
|
+
'surface-',
|
|
28
|
+
'surface-A',
|
|
29
|
+
'info-',
|
|
30
|
+
'info-A',
|
|
31
|
+
'success-',
|
|
32
|
+
'success-A',
|
|
33
|
+
'warn-',
|
|
34
|
+
'warn-A',
|
|
35
|
+
'error-',
|
|
36
|
+
'error-A'
|
|
37
|
+
];
|
|
38
|
+
const hslaColor = 'hsla?\\(var\\(--ig-attr(\\d)00\\)\\)';
|
|
39
|
+
for (const entryPath of update.sassFiles) {
|
|
40
|
+
let content = host.read(entryPath).toString();
|
|
41
|
+
IG_COLORS.forEach(color => {
|
|
42
|
+
let prop = hslaColor.replace('attr', color);
|
|
43
|
+
const regex = new RegExp(prop, 'g');
|
|
44
|
+
if (regex.test(content)) {
|
|
45
|
+
let newColor = prop.replace(/hsla\?\\\(var\\\(--ig-/g, 'var\(--ig-');
|
|
46
|
+
newColor = newColor.replace('(\\d)', '$1');
|
|
47
|
+
newColor = newColor.replace('\\)\\)', ')');
|
|
48
|
+
content = content.replace(regex, newColor);
|
|
49
|
+
host.overwrite(entryPath, content);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
21
53
|
update.applyChanges();
|
|
22
54
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-angular",
|
|
3
|
-
"version": "18.2.0-beta.
|
|
3
|
+
"version": "18.2.0-beta.2",
|
|
4
4
|
"description": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps",
|
|
5
5
|
"author": "Infragistics",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"igniteui-trial-watermark": "^3.0.2",
|
|
75
75
|
"lodash-es": "^4.17.21",
|
|
76
76
|
"uuid": "^9.0.0",
|
|
77
|
-
"igniteui-theming": "^14.2.0-beta.
|
|
77
|
+
"igniteui-theming": "^14.2.0-beta.3",
|
|
78
78
|
"@igniteui/material-icons-extended": "^3.0.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|