igniteui-angular 17.2.18 → 17.2.20
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/grids/columns/column-group.component.mjs +4 -1
- package/esm2022/lib/grids/filtering/excel-style/excel-style-filtering.component.mjs +21 -1
- package/esm2022/lib/grids/selection/selection.service.mjs +10 -2
- package/esm2022/lib/query-builder/query-builder-header.component.mjs +3 -3
- package/esm2022/lib/query-builder/query-builder.component.mjs +3 -3
- package/fesm2022/igniteui-angular.mjs +36 -5
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/lib/core/styles/components/tabs/_tabs-theme.scss +1 -1
- package/lib/grids/filtering/excel-style/excel-style-filtering.component.d.ts +20 -0
- package/migrations/common/ServerHost.d.ts +2 -0
- package/migrations/common/ServerHost.js +4 -1
- package/migrations/common/UpdateChanges.js +3 -3
- package/package.json +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/igniteui-bootstrap-light.css +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
|
@@ -115,6 +115,16 @@ export declare class IgxGridExcelStyleFilteringComponent extends BaseFilteringCo
|
|
|
115
115
|
private _size$;
|
|
116
116
|
/**
|
|
117
117
|
* Gets the minimum height.
|
|
118
|
+
*
|
|
119
|
+
* Setting value in template:
|
|
120
|
+
* ```ts
|
|
121
|
+
* [minHeight]="'<number><unit (px|rem|etc..)>'"
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
124
|
+
* Example for setting a value:
|
|
125
|
+
* ```ts
|
|
126
|
+
* [minHeight]="'700px'"
|
|
127
|
+
* ```
|
|
118
128
|
*/
|
|
119
129
|
get minHeight(): string;
|
|
120
130
|
/**
|
|
@@ -131,6 +141,16 @@ export declare class IgxGridExcelStyleFilteringComponent extends BaseFilteringCo
|
|
|
131
141
|
private _originalDisplay;
|
|
132
142
|
/**
|
|
133
143
|
* Gets the maximum height.
|
|
144
|
+
*
|
|
145
|
+
* Setting value in template:
|
|
146
|
+
* ```ts
|
|
147
|
+
* [maxHeight]="'<number><unit (px|rem|etc..)>'"
|
|
148
|
+
* ```
|
|
149
|
+
*
|
|
150
|
+
* Example for setting a value:
|
|
151
|
+
* ```ts
|
|
152
|
+
* [maxHeight]="'700px'"
|
|
153
|
+
* ```
|
|
134
154
|
*/
|
|
135
155
|
get maxHeight(): string;
|
|
136
156
|
/**
|
|
@@ -10,6 +10,8 @@ export declare class ServerHost implements ts.server.ServerHost {
|
|
|
10
10
|
readonly args: string[];
|
|
11
11
|
readonly newLine: string;
|
|
12
12
|
readonly useCaseSensitiveFileNames: boolean;
|
|
13
|
+
/** Cached because Angular schematics encapsulation's customRequire doesn't provide `resolve` */
|
|
14
|
+
private nativeRequire;
|
|
13
15
|
constructor(host: Tree);
|
|
14
16
|
/**
|
|
15
17
|
* Read a file's content from the Virtual Tree
|
|
@@ -4,6 +4,7 @@ exports.ServerHost = void 0;
|
|
|
4
4
|
const pathFs = require("path");
|
|
5
5
|
const ts = require("typescript/lib/tsserverlibrary");
|
|
6
6
|
const tsUtils_1 = require("./tsUtils");
|
|
7
|
+
const module_1 = require("module");
|
|
7
8
|
/**
|
|
8
9
|
* Language server host is responsible for **most** of the FS operations / checks
|
|
9
10
|
* Angular's Ivy LS sometimes bypasses these, calling path methods instead of tsLsHost operations
|
|
@@ -11,6 +12,8 @@ const tsUtils_1 = require("./tsUtils");
|
|
|
11
12
|
class ServerHost {
|
|
12
13
|
constructor(host) {
|
|
13
14
|
this.host = host;
|
|
15
|
+
/** Cached because Angular schematics encapsulation's customRequire doesn't provide `resolve` */
|
|
16
|
+
this.nativeRequire = (0, module_1.createRequire)(__filename);
|
|
14
17
|
this.args = ts.sys.args;
|
|
15
18
|
this.newLine = ts.sys.newLine;
|
|
16
19
|
this.useCaseSensitiveFileNames = ts.sys.useCaseSensitiveFileNames;
|
|
@@ -112,7 +115,7 @@ class ServerHost {
|
|
|
112
115
|
moduleName = tsUtils_1.CUSTOM_TS_PLUGIN_PATH;
|
|
113
116
|
paths.push(__dirname);
|
|
114
117
|
}
|
|
115
|
-
const modulePath =
|
|
118
|
+
const modulePath = this.nativeRequire.resolve(moduleName, { paths });
|
|
116
119
|
return {
|
|
117
120
|
module: require(modulePath),
|
|
118
121
|
error: undefined,
|
|
@@ -588,7 +588,7 @@ class UpdateChanges {
|
|
|
588
588
|
return;
|
|
589
589
|
}
|
|
590
590
|
// attempt to find a main tsconfig from workspace:
|
|
591
|
-
const wsProject = this.workspace.projects[0];
|
|
591
|
+
const wsProject = Object.values(this.workspace.projects)[0];
|
|
592
592
|
// technically could be per-project, but assuming there's at least one main tsconfig for IDE support
|
|
593
593
|
const projectConfig = (_b = (_a = wsProject.architect) === null || _a === void 0 ? void 0 : _a.build) === null || _b === void 0 ? void 0 : _b.options['tsConfig'];
|
|
594
594
|
if (!projectConfig || !this.host.exists(projectConfig)) {
|
|
@@ -742,8 +742,8 @@ class UpdateChanges {
|
|
|
742
742
|
for (const key of projectKeys) {
|
|
743
743
|
const wsProject = this.workspace.projects[key];
|
|
744
744
|
// intentionally compare against string values of the enum to avoid hard import
|
|
745
|
-
if (wsProject.projectType == "application" && ((_b = (_a = wsProject.architect) === null || _a === void 0 ? void 0 : _a.build) === null || _b === void 0 ? void 0 : _b.options
|
|
746
|
-
return wsProject.architect.build.options['main'];
|
|
745
|
+
if (wsProject.projectType == "application" && ((_b = (_a = wsProject.architect) === null || _a === void 0 ? void 0 : _a.build) === null || _b === void 0 ? void 0 : _b.options)) {
|
|
746
|
+
return wsProject.architect.build.options['browser'] || wsProject.architect.build.options['main'];
|
|
747
747
|
}
|
|
748
748
|
else if (wsProject.projectType == "library") {
|
|
749
749
|
// TODO: attempt to resolve from project ng-package.json or tsConfig
|
package/package.json
CHANGED