@progress/kendo-angular-spreadsheet 21.1.1-develop.2 → 21.2.0-develop.1
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/action-bar/list.component.mjs +38 -35
- package/esm2022/common/list-editor.component.mjs +28 -25
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/sheets-bar/action-dialog.component.mjs +38 -35
- package/esm2022/sheets-bar/sheets-bar.component.mjs +106 -102
- package/esm2022/spreadsheet.component.mjs +688 -657
- package/esm2022/tools/colorpicker/spreadsheet-backcolor.component.mjs +86 -83
- package/esm2022/tools/colorpicker/spreadsheet-forecolor.component.mjs +86 -83
- package/esm2022/tools/data-validation-dialog.component.mjs +220 -207
- package/esm2022/tools/font-family/spreadsheet-fontfamily-tool.component.mjs +58 -55
- package/esm2022/tools/font-size/spreadsheet-fontsize-tool.component.mjs +58 -55
- package/esm2022/tools/shared/dialog-content.component.mjs +44 -35
- package/fesm2022/progress-kendo-angular-spreadsheet.mjs +1453 -1364
- package/package.json +17 -17
- package/schematics/ngAdd/index.js +2 -2
- package/sheets-bar/sheets-bar.component.d.ts +2 -0
|
@@ -9,7 +9,6 @@ import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
|
9
9
|
import { SpreadsheetToolsService } from '../tools.service';
|
|
10
10
|
import { SpreadsheetDropDownToolBase } from '../shared/spreadsheet-dropdown-tools-base';
|
|
11
11
|
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
12
|
-
import { NgIf } from '@angular/common';
|
|
13
12
|
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
14
13
|
import { ColorPickerComponent } from '@progress/kendo-angular-inputs';
|
|
15
14
|
import * as i0 from "@angular/core";
|
|
@@ -30,53 +29,55 @@ export class SpreadsheetBackColorComponent extends SpreadsheetDropDownToolBase {
|
|
|
30
29
|
super('background', dialogService, localization, spreadsheetService, toolsService, toolbar);
|
|
31
30
|
}
|
|
32
31
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetBackColorComponent, deps: [{ token: i1.DialogService }, { token: i2.SpreadsheetLocalizationService }, { token: i3.SpreadsheetService }, { token: i4.SpreadsheetToolsService }, { token: ToolBarComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
32
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: SpreadsheetBackColorComponent, isStandalone: true, selector: "kendo-spreadsheet-backcolor-tool", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => SpreadsheetBackColorComponent) }], usesInheritance: true, ngImport: i0, template: `
|
|
34
33
|
<ng-template #toolbarTemplate>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
34
|
+
<div class="k-toolbar-item">
|
|
35
|
+
<kendo-colorpicker
|
|
36
|
+
#element
|
|
37
|
+
[attr.title]="messageFor(command)"
|
|
38
|
+
[format]="'hex'"
|
|
39
|
+
[(value)]="value"
|
|
40
|
+
[tabindex]="tabindex"
|
|
41
|
+
(valueChange)="onValueChange($event)"
|
|
42
|
+
[clearButton]="false"
|
|
43
|
+
fillMode="flat"
|
|
44
|
+
[icon]="icon"
|
|
45
|
+
[preview]="true"
|
|
46
|
+
[svgIcon]="svgIcon"></kendo-colorpicker>
|
|
47
|
+
</div>
|
|
49
48
|
</ng-template>
|
|
50
49
|
<ng-template #popupTemplate>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</span>
|
|
61
|
-
|
|
50
|
+
<div #popupButton
|
|
51
|
+
[tabindex]="tabindex"
|
|
52
|
+
role="menuitem"
|
|
53
|
+
class="k-item k-menu-item"
|
|
54
|
+
(click)="openDialog()">
|
|
55
|
+
<span
|
|
56
|
+
class="k-link k-menu-link">
|
|
57
|
+
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
58
|
+
@if (messageFor(command)) {
|
|
59
|
+
<span class="k-menu-link-text">{{messageFor(command)}}</span>
|
|
60
|
+
}
|
|
61
|
+
</span>
|
|
62
|
+
</div>
|
|
62
63
|
</ng-template>
|
|
63
64
|
<ng-template #sectionTemplate>
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
65
|
+
<div class="k-toolbar-item">
|
|
66
|
+
<kendo-colorpicker
|
|
67
|
+
#element
|
|
68
|
+
[attr.title]="messageFor(command)"
|
|
69
|
+
[format]="'hex'"
|
|
70
|
+
[(value)]="value"
|
|
71
|
+
[tabindex]="tabindex"
|
|
72
|
+
(valueChange)="onValueChange($event)"
|
|
73
|
+
[clearButton]="false"
|
|
74
|
+
fillMode="flat"
|
|
75
|
+
[icon]="icon"
|
|
76
|
+
[preview]="true"
|
|
77
|
+
[svgIcon]="svgIcon"></kendo-colorpicker>
|
|
78
|
+
</div>
|
|
78
79
|
</ng-template>
|
|
79
|
-
|
|
80
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "adaptiveMode", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "adaptiveTitle", "adaptiveSubtitle", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
80
81
|
}
|
|
81
82
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetBackColorComponent, decorators: [{
|
|
82
83
|
type: Component,
|
|
@@ -85,53 +86,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
85
86
|
selector: 'kendo-spreadsheet-backcolor-tool',
|
|
86
87
|
template: `
|
|
87
88
|
<ng-template #toolbarTemplate>
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
89
|
+
<div class="k-toolbar-item">
|
|
90
|
+
<kendo-colorpicker
|
|
91
|
+
#element
|
|
92
|
+
[attr.title]="messageFor(command)"
|
|
93
|
+
[format]="'hex'"
|
|
94
|
+
[(value)]="value"
|
|
95
|
+
[tabindex]="tabindex"
|
|
96
|
+
(valueChange)="onValueChange($event)"
|
|
97
|
+
[clearButton]="false"
|
|
98
|
+
fillMode="flat"
|
|
99
|
+
[icon]="icon"
|
|
100
|
+
[preview]="true"
|
|
101
|
+
[svgIcon]="svgIcon"></kendo-colorpicker>
|
|
102
|
+
</div>
|
|
102
103
|
</ng-template>
|
|
103
104
|
<ng-template #popupTemplate>
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
</span>
|
|
114
|
-
|
|
105
|
+
<div #popupButton
|
|
106
|
+
[tabindex]="tabindex"
|
|
107
|
+
role="menuitem"
|
|
108
|
+
class="k-item k-menu-item"
|
|
109
|
+
(click)="openDialog()">
|
|
110
|
+
<span
|
|
111
|
+
class="k-link k-menu-link">
|
|
112
|
+
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
113
|
+
@if (messageFor(command)) {
|
|
114
|
+
<span class="k-menu-link-text">{{messageFor(command)}}</span>
|
|
115
|
+
}
|
|
116
|
+
</span>
|
|
117
|
+
</div>
|
|
115
118
|
</ng-template>
|
|
116
119
|
<ng-template #sectionTemplate>
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
120
|
+
<div class="k-toolbar-item">
|
|
121
|
+
<kendo-colorpicker
|
|
122
|
+
#element
|
|
123
|
+
[attr.title]="messageFor(command)"
|
|
124
|
+
[format]="'hex'"
|
|
125
|
+
[(value)]="value"
|
|
126
|
+
[tabindex]="tabindex"
|
|
127
|
+
(valueChange)="onValueChange($event)"
|
|
128
|
+
[clearButton]="false"
|
|
129
|
+
fillMode="flat"
|
|
130
|
+
[icon]="icon"
|
|
131
|
+
[preview]="true"
|
|
132
|
+
[svgIcon]="svgIcon"></kendo-colorpicker>
|
|
133
|
+
</div>
|
|
131
134
|
</ng-template>
|
|
132
|
-
|
|
135
|
+
`,
|
|
133
136
|
standalone: true,
|
|
134
|
-
imports: [ColorPickerComponent, IconWrapperComponent
|
|
137
|
+
imports: [ColorPickerComponent, IconWrapperComponent]
|
|
135
138
|
}]
|
|
136
139
|
}], ctorParameters: () => [{ type: i1.DialogService }, { type: i2.SpreadsheetLocalizationService }, { type: i3.SpreadsheetService }, { type: i4.SpreadsheetToolsService }, { type: i5.ToolBarComponent, decorators: [{
|
|
137
140
|
type: Inject,
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, forwardRef, Inject } from '@angular/core';
|
|
6
|
-
import { NgIf } from '@angular/common';
|
|
7
6
|
import { ToolBarComponent, ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
|
|
8
7
|
import { DialogService } from '@progress/kendo-angular-dialog';
|
|
9
8
|
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
@@ -30,53 +29,55 @@ export class SpreadsheetForeColorComponent extends SpreadsheetDropDownToolBase {
|
|
|
30
29
|
super('color', dialogService, localization, spreadsheetService, toolsService, toolbar);
|
|
31
30
|
}
|
|
32
31
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetForeColorComponent, deps: [{ token: i1.DialogService }, { token: i2.SpreadsheetLocalizationService }, { token: i3.SpreadsheetService }, { token: i4.SpreadsheetToolsService }, { token: ToolBarComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
32
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: SpreadsheetForeColorComponent, isStandalone: true, selector: "kendo-spreadsheet-forecolor-tool", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => SpreadsheetForeColorComponent) }], usesInheritance: true, ngImport: i0, template: `
|
|
34
33
|
<ng-template #toolbarTemplate>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
34
|
+
<div class="k-toolbar-item">
|
|
35
|
+
<kendo-colorpicker
|
|
36
|
+
#element
|
|
37
|
+
[attr.title]="messageFor(command)"
|
|
38
|
+
[format]="'hex'"
|
|
39
|
+
[(value)]="value"
|
|
40
|
+
[tabindex]="tabindex"
|
|
41
|
+
(valueChange)="onValueChange($event)"
|
|
42
|
+
[clearButton]="false"
|
|
43
|
+
fillMode="flat"
|
|
44
|
+
[icon]="icon"
|
|
45
|
+
[svgIcon]="svgIcon"
|
|
46
|
+
[preview]="true"></kendo-colorpicker>
|
|
47
|
+
</div>
|
|
49
48
|
</ng-template>
|
|
50
49
|
<ng-template #popupTemplate>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</span>
|
|
61
|
-
|
|
50
|
+
<div #popupButton
|
|
51
|
+
[tabindex]="tabindex"
|
|
52
|
+
role="menuitem"
|
|
53
|
+
class="k-item k-menu-item"
|
|
54
|
+
(click)="openDialog()">
|
|
55
|
+
<span
|
|
56
|
+
class="k-link k-menu-link">
|
|
57
|
+
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
58
|
+
@if (messageFor(command)) {
|
|
59
|
+
<span class="k-menu-link-text">{{messageFor(command)}}</span>
|
|
60
|
+
}
|
|
61
|
+
</span>
|
|
62
|
+
</div>
|
|
62
63
|
</ng-template>
|
|
63
64
|
<ng-template #sectionTemplate>
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
65
|
+
<div class="k-toolbar-item">
|
|
66
|
+
<kendo-colorpicker
|
|
67
|
+
#element
|
|
68
|
+
[attr.title]="messageFor(command)"
|
|
69
|
+
[format]="'hex'"
|
|
70
|
+
[(value)]="value"
|
|
71
|
+
[tabindex]="tabindex"
|
|
72
|
+
(valueChange)="onValueChange($event)"
|
|
73
|
+
[clearButton]="false"
|
|
74
|
+
fillMode="flat"
|
|
75
|
+
[icon]="icon"
|
|
76
|
+
[svgIcon]="svgIcon"
|
|
77
|
+
[preview]="true"></kendo-colorpicker>
|
|
78
|
+
</div>
|
|
78
79
|
</ng-template>
|
|
79
|
-
|
|
80
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "adaptiveMode", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "adaptiveTitle", "adaptiveSubtitle", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
80
81
|
}
|
|
81
82
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetForeColorComponent, decorators: [{
|
|
82
83
|
type: Component,
|
|
@@ -85,53 +86,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
85
86
|
selector: 'kendo-spreadsheet-forecolor-tool',
|
|
86
87
|
template: `
|
|
87
88
|
<ng-template #toolbarTemplate>
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
89
|
+
<div class="k-toolbar-item">
|
|
90
|
+
<kendo-colorpicker
|
|
91
|
+
#element
|
|
92
|
+
[attr.title]="messageFor(command)"
|
|
93
|
+
[format]="'hex'"
|
|
94
|
+
[(value)]="value"
|
|
95
|
+
[tabindex]="tabindex"
|
|
96
|
+
(valueChange)="onValueChange($event)"
|
|
97
|
+
[clearButton]="false"
|
|
98
|
+
fillMode="flat"
|
|
99
|
+
[icon]="icon"
|
|
100
|
+
[svgIcon]="svgIcon"
|
|
101
|
+
[preview]="true"></kendo-colorpicker>
|
|
102
|
+
</div>
|
|
102
103
|
</ng-template>
|
|
103
104
|
<ng-template #popupTemplate>
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
</span>
|
|
114
|
-
|
|
105
|
+
<div #popupButton
|
|
106
|
+
[tabindex]="tabindex"
|
|
107
|
+
role="menuitem"
|
|
108
|
+
class="k-item k-menu-item"
|
|
109
|
+
(click)="openDialog()">
|
|
110
|
+
<span
|
|
111
|
+
class="k-link k-menu-link">
|
|
112
|
+
<kendo-icon-wrapper [name]="icon" [svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
113
|
+
@if (messageFor(command)) {
|
|
114
|
+
<span class="k-menu-link-text">{{messageFor(command)}}</span>
|
|
115
|
+
}
|
|
116
|
+
</span>
|
|
117
|
+
</div>
|
|
115
118
|
</ng-template>
|
|
116
119
|
<ng-template #sectionTemplate>
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
120
|
+
<div class="k-toolbar-item">
|
|
121
|
+
<kendo-colorpicker
|
|
122
|
+
#element
|
|
123
|
+
[attr.title]="messageFor(command)"
|
|
124
|
+
[format]="'hex'"
|
|
125
|
+
[(value)]="value"
|
|
126
|
+
[tabindex]="tabindex"
|
|
127
|
+
(valueChange)="onValueChange($event)"
|
|
128
|
+
[clearButton]="false"
|
|
129
|
+
fillMode="flat"
|
|
130
|
+
[icon]="icon"
|
|
131
|
+
[svgIcon]="svgIcon"
|
|
132
|
+
[preview]="true"></kendo-colorpicker>
|
|
133
|
+
</div>
|
|
131
134
|
</ng-template>
|
|
132
|
-
|
|
135
|
+
`,
|
|
133
136
|
standalone: true,
|
|
134
|
-
imports: [ColorPickerComponent, IconWrapperComponent
|
|
137
|
+
imports: [ColorPickerComponent, IconWrapperComponent]
|
|
135
138
|
}]
|
|
136
139
|
}], ctorParameters: () => [{ type: i1.DialogService }, { type: i2.SpreadsheetLocalizationService }, { type: i3.SpreadsheetService }, { type: i4.SpreadsheetToolsService }, { type: i5.ToolBarComponent, decorators: [{
|
|
137
140
|
type: Inject,
|