@progress/kendo-angular-toolbar 19.1.2-develop.4 → 19.1.2-develop.5
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/codemods/utils.js +0 -3
- package/directives.d.ts +19 -1
- package/esm2022/directives.mjs +19 -1
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/toolbar.component.mjs +16 -0
- package/esm2022/tools/toolbar-buttongroup.component.mjs +3 -0
- package/fesm2022/progress-kendo-angular-toolbar.mjs +40 -3
- package/package.json +9 -9
- package/toolbar.component.d.ts +16 -0
- package/tools/toolbar-buttongroup.component.d.ts +3 -0
package/codemods/utils.js
CHANGED
|
@@ -207,8 +207,6 @@ const tsPropertyValueTransformer = (root, j, typeName, oldValue, newValue) => {
|
|
|
207
207
|
path.node.value.value = newValue;
|
|
208
208
|
}
|
|
209
209
|
});
|
|
210
|
-
// 2. Find all assignments to variables of the specified type
|
|
211
|
-
const variablesOfType = new Set();
|
|
212
210
|
// First, collect all variables with the specified type
|
|
213
211
|
root
|
|
214
212
|
.find(j.VariableDeclarator)
|
|
@@ -224,7 +222,6 @@ const tsPropertyValueTransformer = (root, j, typeName, oldValue, newValue) => {
|
|
|
224
222
|
})
|
|
225
223
|
.forEach(path => {
|
|
226
224
|
if (path.node.id.type === 'Identifier') {
|
|
227
|
-
variablesOfType.add(path.node.id.name);
|
|
228
225
|
// Also update the initial value if it matches
|
|
229
226
|
if (path.node.init &&
|
|
230
227
|
path.node.init.type === 'StringLiteral' &&
|
package/directives.d.ts
CHANGED
|
@@ -12,6 +12,24 @@ import { ToolBarSpacerComponent } from "./tools/toolbar-spacer.component";
|
|
|
12
12
|
import { ToolBarSplitButtonComponent } from "./tools/toolbar-splitbutton.component";
|
|
13
13
|
import { ToolBarToolComponent } from "./tools/toolbar-tool.component";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Use this utility array to access all `@progress/kendo-angular-toolbar`-related components and directives in a standalone Angular component.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import { Component } from '@angular/core';
|
|
20
|
+
* import { KENDO_TOOLBAR } from '@progress/kendo-angular-toolbar';
|
|
21
|
+
*
|
|
22
|
+
* @Component({
|
|
23
|
+
* selector: 'my-app',
|
|
24
|
+
* standalone: true,
|
|
25
|
+
* imports: [KENDO_TOOLBAR],
|
|
26
|
+
* template: `
|
|
27
|
+
* <kendo-toolbar>
|
|
28
|
+
* <kendo-toolbar-button text="Button"></kendo-toolbar-button>
|
|
29
|
+
* </kendo-toolbar>
|
|
30
|
+
* `
|
|
31
|
+
* })
|
|
32
|
+
* export class AppComponent {}
|
|
33
|
+
* ```
|
|
16
34
|
*/
|
|
17
35
|
export declare const KENDO_TOOLBAR: readonly [typeof ToolBarComponent, typeof ToolbarCustomMessagesComponent, typeof ToolBarButtonComponent, typeof ToolBarButtonGroupComponent, typeof ToolBarDropDownButtonComponent, typeof ToolBarSeparatorComponent, typeof ToolBarSpacerComponent, typeof ToolBarSplitButtonComponent, typeof ToolBarToolComponent];
|
package/esm2022/directives.mjs
CHANGED
|
@@ -12,7 +12,25 @@ import { ToolBarSpacerComponent } from "./tools/toolbar-spacer.component";
|
|
|
12
12
|
import { ToolBarSplitButtonComponent } from "./tools/toolbar-splitbutton.component";
|
|
13
13
|
import { ToolBarToolComponent } from "./tools/toolbar-tool.component";
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Use this utility array to access all `@progress/kendo-angular-toolbar`-related components and directives in a standalone Angular component.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import { Component } from '@angular/core';
|
|
20
|
+
* import { KENDO_TOOLBAR } from '@progress/kendo-angular-toolbar';
|
|
21
|
+
*
|
|
22
|
+
* @Component({
|
|
23
|
+
* selector: 'my-app',
|
|
24
|
+
* standalone: true,
|
|
25
|
+
* imports: [KENDO_TOOLBAR],
|
|
26
|
+
* template: `
|
|
27
|
+
* <kendo-toolbar>
|
|
28
|
+
* <kendo-toolbar-button text="Button"></kendo-toolbar-button>
|
|
29
|
+
* </kendo-toolbar>
|
|
30
|
+
* `
|
|
31
|
+
* })
|
|
32
|
+
* export class AppComponent {}
|
|
33
|
+
* ```
|
|
16
34
|
*/
|
|
17
35
|
export const KENDO_TOOLBAR = [
|
|
18
36
|
ToolBarComponent,
|
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '19.1.2-develop.
|
|
13
|
+
publishDate: 1750430901,
|
|
14
|
+
version: '19.1.2-develop.5',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -51,6 +51,22 @@ const getInitialPopupSettings = (isRtl) => ({
|
|
|
51
51
|
* <kendo-toolbar-button text="Button"></kendo-toolbar-button>
|
|
52
52
|
* </kendo-toolbar>
|
|
53
53
|
* ```
|
|
54
|
+
*
|
|
55
|
+
* @remarks
|
|
56
|
+
* Supported children components are:
|
|
57
|
+
* {@link ToolBarButtonComponent},
|
|
58
|
+
* {@link ToolBarButtonGroupComponent},
|
|
59
|
+
* {@link ToolBarDropDownButtonComponent},
|
|
60
|
+
* {@link ToolBarSplitButtonComponent},
|
|
61
|
+
* {@link ToolBarSeparatorComponent},
|
|
62
|
+
* {@link ToolBarSpacerComponent},
|
|
63
|
+
* {@link ToolbarCustomMessagesComponent},
|
|
64
|
+
* {@link ToolBarToolComponent},
|
|
65
|
+
* {@link EditorColorPickerComponent},
|
|
66
|
+
* {@link EditorFontFamilyComponent},
|
|
67
|
+
* {@link EditorFontSizeComponent},
|
|
68
|
+
* {@link EditorFormatComponent},
|
|
69
|
+
* {@link EditorInsertTableButtonComponent}.
|
|
54
70
|
*/
|
|
55
71
|
export class ToolBarComponent {
|
|
56
72
|
localization;
|
|
@@ -29,6 +29,9 @@ import * as i2 from "../toolbar.component";
|
|
|
29
29
|
* </kendo-toolbar-buttongroup>
|
|
30
30
|
* </kendo-toolbar>
|
|
31
31
|
* ```
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* Supported children components are: {@link ToolBarButtonComponent}
|
|
32
35
|
*/
|
|
33
36
|
export class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
34
37
|
localization;
|
|
@@ -26,8 +26,8 @@ const packageMetadata = {
|
|
|
26
26
|
productName: 'Kendo UI for Angular',
|
|
27
27
|
productCode: 'KENDOUIANGULAR',
|
|
28
28
|
productCodes: ['KENDOUIANGULAR'],
|
|
29
|
-
publishDate:
|
|
30
|
-
version: '19.1.2-develop.
|
|
29
|
+
publishDate: 1750430901,
|
|
30
|
+
version: '19.1.2-develop.5',
|
|
31
31
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -1126,6 +1126,22 @@ const getInitialPopupSettings = (isRtl) => ({
|
|
|
1126
1126
|
* <kendo-toolbar-button text="Button"></kendo-toolbar-button>
|
|
1127
1127
|
* </kendo-toolbar>
|
|
1128
1128
|
* ```
|
|
1129
|
+
*
|
|
1130
|
+
* @remarks
|
|
1131
|
+
* Supported children components are:
|
|
1132
|
+
* {@link ToolBarButtonComponent},
|
|
1133
|
+
* {@link ToolBarButtonGroupComponent},
|
|
1134
|
+
* {@link ToolBarDropDownButtonComponent},
|
|
1135
|
+
* {@link ToolBarSplitButtonComponent},
|
|
1136
|
+
* {@link ToolBarSeparatorComponent},
|
|
1137
|
+
* {@link ToolBarSpacerComponent},
|
|
1138
|
+
* {@link ToolbarCustomMessagesComponent},
|
|
1139
|
+
* {@link ToolBarToolComponent},
|
|
1140
|
+
* {@link EditorColorPickerComponent},
|
|
1141
|
+
* {@link EditorFontFamilyComponent},
|
|
1142
|
+
* {@link EditorFontSizeComponent},
|
|
1143
|
+
* {@link EditorFormatComponent},
|
|
1144
|
+
* {@link EditorInsertTableButtonComponent}.
|
|
1129
1145
|
*/
|
|
1130
1146
|
class ToolBarComponent {
|
|
1131
1147
|
localization;
|
|
@@ -3237,6 +3253,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3237
3253
|
* </kendo-toolbar-buttongroup>
|
|
3238
3254
|
* </kendo-toolbar>
|
|
3239
3255
|
* ```
|
|
3256
|
+
*
|
|
3257
|
+
* @remarks
|
|
3258
|
+
* Supported children components are: {@link ToolBarButtonComponent}
|
|
3240
3259
|
*/
|
|
3241
3260
|
class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
3242
3261
|
localization;
|
|
@@ -4997,7 +5016,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4997
5016
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
4998
5017
|
|
|
4999
5018
|
/**
|
|
5000
|
-
*
|
|
5019
|
+
* Use this utility array to access all `@progress/kendo-angular-toolbar`-related components and directives in a standalone Angular component.
|
|
5020
|
+
*
|
|
5021
|
+
* @example
|
|
5022
|
+
* ```typescript
|
|
5023
|
+
* import { Component } from '@angular/core';
|
|
5024
|
+
* import { KENDO_TOOLBAR } from '@progress/kendo-angular-toolbar';
|
|
5025
|
+
*
|
|
5026
|
+
* @Component({
|
|
5027
|
+
* selector: 'my-app',
|
|
5028
|
+
* standalone: true,
|
|
5029
|
+
* imports: [KENDO_TOOLBAR],
|
|
5030
|
+
* template: `
|
|
5031
|
+
* <kendo-toolbar>
|
|
5032
|
+
* <kendo-toolbar-button text="Button"></kendo-toolbar-button>
|
|
5033
|
+
* </kendo-toolbar>
|
|
5034
|
+
* `
|
|
5035
|
+
* })
|
|
5036
|
+
* export class AppComponent {}
|
|
5037
|
+
* ```
|
|
5001
5038
|
*/
|
|
5002
5039
|
const KENDO_TOOLBAR = [
|
|
5003
5040
|
ToolBarComponent,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-toolbar",
|
|
3
|
-
"version": "19.1.2-develop.
|
|
3
|
+
"version": "19.1.2-develop.5",
|
|
4
4
|
"description": "Kendo UI Angular Toolbar component - a single UI element that organizes buttons and other navigation elements",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"package": {
|
|
46
46
|
"productName": "Kendo UI for Angular",
|
|
47
47
|
"productCode": "KENDOUIANGULAR",
|
|
48
|
-
"publishDate":
|
|
48
|
+
"publishDate": 1750430901,
|
|
49
49
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
@@ -55,17 +55,17 @@
|
|
|
55
55
|
"@angular/core": "16 - 20",
|
|
56
56
|
"@angular/platform-browser": "16 - 20",
|
|
57
57
|
"@progress/kendo-licensing": "^1.5.0",
|
|
58
|
-
"@progress/kendo-angular-buttons": "19.1.2-develop.
|
|
59
|
-
"@progress/kendo-angular-common": "19.1.2-develop.
|
|
60
|
-
"@progress/kendo-angular-l10n": "19.1.2-develop.
|
|
61
|
-
"@progress/kendo-angular-icons": "19.1.2-develop.
|
|
62
|
-
"@progress/kendo-angular-indicators": "19.1.2-develop.
|
|
63
|
-
"@progress/kendo-angular-popup": "19.1.2-develop.
|
|
58
|
+
"@progress/kendo-angular-buttons": "19.1.2-develop.5",
|
|
59
|
+
"@progress/kendo-angular-common": "19.1.2-develop.5",
|
|
60
|
+
"@progress/kendo-angular-l10n": "19.1.2-develop.5",
|
|
61
|
+
"@progress/kendo-angular-icons": "19.1.2-develop.5",
|
|
62
|
+
"@progress/kendo-angular-indicators": "19.1.2-develop.5",
|
|
63
|
+
"@progress/kendo-angular-popup": "19.1.2-develop.5",
|
|
64
64
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"tslib": "^2.3.1",
|
|
68
|
-
"@progress/kendo-angular-schematics": "19.1.2-develop.
|
|
68
|
+
"@progress/kendo-angular-schematics": "19.1.2-develop.5",
|
|
69
69
|
"node-html-parser": "^7.0.1"
|
|
70
70
|
},
|
|
71
71
|
"schematics": "./schematics/collection.json",
|
package/toolbar.component.d.ts
CHANGED
|
@@ -32,6 +32,22 @@ import * as i0 from "@angular/core";
|
|
|
32
32
|
* <kendo-toolbar-button text="Button"></kendo-toolbar-button>
|
|
33
33
|
* </kendo-toolbar>
|
|
34
34
|
* ```
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Supported children components are:
|
|
38
|
+
* {@link ToolBarButtonComponent},
|
|
39
|
+
* {@link ToolBarButtonGroupComponent},
|
|
40
|
+
* {@link ToolBarDropDownButtonComponent},
|
|
41
|
+
* {@link ToolBarSplitButtonComponent},
|
|
42
|
+
* {@link ToolBarSeparatorComponent},
|
|
43
|
+
* {@link ToolBarSpacerComponent},
|
|
44
|
+
* {@link ToolbarCustomMessagesComponent},
|
|
45
|
+
* {@link ToolBarToolComponent},
|
|
46
|
+
* {@link EditorColorPickerComponent},
|
|
47
|
+
* {@link EditorFontFamilyComponent},
|
|
48
|
+
* {@link EditorFontSizeComponent},
|
|
49
|
+
* {@link EditorFormatComponent},
|
|
50
|
+
* {@link EditorInsertTableButtonComponent}.
|
|
35
51
|
*/
|
|
36
52
|
export declare class ToolBarComponent {
|
|
37
53
|
localization: LocalizationService;
|
|
@@ -25,6 +25,9 @@ import * as i0 from "@angular/core";
|
|
|
25
25
|
* </kendo-toolbar-buttongroup>
|
|
26
26
|
* </kendo-toolbar>
|
|
27
27
|
* ```
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* Supported children components are: {@link ToolBarButtonComponent}
|
|
28
31
|
*/
|
|
29
32
|
export declare class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
30
33
|
private localization;
|