@progress/kendo-angular-spreadsheet 18.5.0-develop.6 → 18.5.0-develop.8
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/common/list-editor.component.d.ts +29 -0
- package/directives.d.ts +2 -1
- package/esm2022/action-bar/formula-input.directive.mjs +3 -5
- package/esm2022/common/error-handling.service.mjs +6 -1
- package/esm2022/common/list-editor.component.mjs +142 -0
- package/esm2022/directives.mjs +2 -0
- package/esm2022/localization/messages.mjs +205 -1
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/spreadsheet.component.mjs +236 -10
- package/esm2022/spreadsheet.module.mjs +31 -30
- package/esm2022/tools/data-validation-dialog.component.mjs +468 -0
- package/esm2022/tools/data-validation-tool.directive.mjs +147 -0
- package/esm2022/tools/index.mjs +1 -0
- package/esm2022/tools/shared/command-icons.mjs +3 -1
- package/esm2022/tools/utils.mjs +22 -0
- package/esm2022/utils.mjs +6 -0
- package/fesm2022/progress-kendo-angular-spreadsheet.mjs +1279 -108
- package/localization/messages.d.ts +137 -1
- package/models/main-menu-item.d.ts +1 -1
- package/package.json +16 -16
- package/schematics/ngAdd/index.js +2 -2
- package/spreadsheet.component.d.ts +6 -1
- package/spreadsheet.module.d.ts +30 -29
- package/tools/data-validation-dialog.component.d.ts +57 -0
- package/tools/data-validation-tool.directive.d.ts +29 -0
- package/tools/index.d.ts +1 -0
- package/tools/shared/commands.d.ts +1 -1
- package/tools/utils.d.ts +4 -0
- package/utils.d.ts +4 -0
@@ -24,6 +24,10 @@ export declare class MessagesDirective extends ComponentMessages {
|
|
24
24
|
* The name of the "Format" toolbar tab
|
25
25
|
*/
|
26
26
|
formatTab: string;
|
27
|
+
/**
|
28
|
+
* The name of the "Data" toolbar tab
|
29
|
+
*/
|
30
|
+
dataTab: string;
|
27
31
|
/**
|
28
32
|
* The title of the Save File tool
|
29
33
|
*/
|
@@ -36,6 +40,134 @@ export declare class MessagesDirective extends ComponentMessages {
|
|
36
40
|
* The title of the Bold tool
|
37
41
|
*/
|
38
42
|
bold: string;
|
43
|
+
/**
|
44
|
+
* The title of the Data Validation tool
|
45
|
+
*/
|
46
|
+
dataValidation: string;
|
47
|
+
/**
|
48
|
+
* The text of the Cell Range input label in the data validation dialog
|
49
|
+
*/
|
50
|
+
validationCellRange: string;
|
51
|
+
/**
|
52
|
+
* The text of the Criteria dropdown list label in the data validation dialog.
|
53
|
+
*/
|
54
|
+
validationCriteria: string;
|
55
|
+
/**
|
56
|
+
* The text of the Comparer dropdown list label in the data validation dialog.
|
57
|
+
*/
|
58
|
+
validationComparer: string;
|
59
|
+
/**
|
60
|
+
* The text of the Min value label in the data validation dialog.
|
61
|
+
*/
|
62
|
+
validationMinValue: string;
|
63
|
+
/**
|
64
|
+
* The text of the Max value label in the data validation dialog.
|
65
|
+
*/
|
66
|
+
validationMaxValue: string;
|
67
|
+
/**
|
68
|
+
* The text of the Start value label in the data validation dialog.
|
69
|
+
*/
|
70
|
+
validationStartValue: string;
|
71
|
+
/**
|
72
|
+
* The text of the End value label in the data validation dialog.
|
73
|
+
*/
|
74
|
+
validationEndValue: string;
|
75
|
+
/**
|
76
|
+
* The text of the Value label in the data validation dialog.
|
77
|
+
*/
|
78
|
+
validationValue: string;
|
79
|
+
/**
|
80
|
+
* The text for the Show list button checkbox label in the data validation dialog.
|
81
|
+
*/
|
82
|
+
validationShowListButtonCheckbox: string;
|
83
|
+
/**
|
84
|
+
* The text for the Show date button checkbox label in the data validation dialog.
|
85
|
+
*/
|
86
|
+
validationShowDateButtonCheckbox: string;
|
87
|
+
/**
|
88
|
+
* The text for the Ignore blank checkbox label in the data validation dialog.
|
89
|
+
*/
|
90
|
+
validationIgnoreBlankCheckbox: string;
|
91
|
+
/**
|
92
|
+
* The text for the On invalid data label in the data validation dialog.
|
93
|
+
*/
|
94
|
+
validationOnInvalidData: string;
|
95
|
+
/**
|
96
|
+
* The text for the Reject input radio button label in the data validation dialog.
|
97
|
+
*/
|
98
|
+
validationRejectInput: string;
|
99
|
+
/**
|
100
|
+
* The text for the Show warning radio button label in the data validation dialog.
|
101
|
+
*/
|
102
|
+
validationShowWarning: string;
|
103
|
+
/**
|
104
|
+
* The text for the Show hint checkbox label in the data validation dialog.
|
105
|
+
*/
|
106
|
+
validationShowHint: string;
|
107
|
+
/**
|
108
|
+
* The text of the Any value validation criteria.
|
109
|
+
*/
|
110
|
+
anyValueValidationCriteria: string;
|
111
|
+
/**
|
112
|
+
* The text of the Number validation criteria.
|
113
|
+
*/
|
114
|
+
numberValidationCriteria: string;
|
115
|
+
/**
|
116
|
+
* The text of the Text validation criteria.
|
117
|
+
*/
|
118
|
+
textValidationCriteria: string;
|
119
|
+
/**
|
120
|
+
* The text of the Date validation criteria.
|
121
|
+
*/
|
122
|
+
dateValidationCriteria: string;
|
123
|
+
/**
|
124
|
+
* The text of the Custom Formula validation criteria.
|
125
|
+
*/
|
126
|
+
customFormulaValidationCriteria: string;
|
127
|
+
/**
|
128
|
+
* The text of the List validation criteria.
|
129
|
+
*/
|
130
|
+
listValidationCriteria: string;
|
131
|
+
/**
|
132
|
+
* The text of the greater than validation comparer.
|
133
|
+
*/
|
134
|
+
greaterThanValidationComparer: string;
|
135
|
+
/**
|
136
|
+
* The text of the less than validation comparer.
|
137
|
+
*/
|
138
|
+
lessThanValidationComparer: string;
|
139
|
+
/**
|
140
|
+
* The text of the between validation comparer.
|
141
|
+
*/
|
142
|
+
betweenValidationComparer: string;
|
143
|
+
/**
|
144
|
+
* The text of the not between validation comparer.
|
145
|
+
*/
|
146
|
+
notBetweenValidationComparer: string;
|
147
|
+
/**
|
148
|
+
* The text of the equal to validation comparer.
|
149
|
+
*/
|
150
|
+
equalToValidationComparer: string;
|
151
|
+
/**
|
152
|
+
* The text of the not equal to validation comparer.
|
153
|
+
*/
|
154
|
+
notEqualToValidationComparer: string;
|
155
|
+
/**
|
156
|
+
* The text of the greater than or equal to validation comparer.
|
157
|
+
*/
|
158
|
+
greaterThanOrEqualToValidationComparer: string;
|
159
|
+
/**
|
160
|
+
* The text of the less than or equal to validation comparer.
|
161
|
+
*/
|
162
|
+
lessThanOrEqualToValidationComparer: string;
|
163
|
+
/**
|
164
|
+
* The text for the Custom hint input label in the data validation dialog.
|
165
|
+
*/
|
166
|
+
validationHintMessage: string;
|
167
|
+
/**
|
168
|
+
* The text for the Custom hint title input label in the data validation dialog.
|
169
|
+
*/
|
170
|
+
validationHintTitle: string;
|
39
171
|
/**
|
40
172
|
* The title of the Italic tool
|
41
173
|
*/
|
@@ -164,6 +296,10 @@ export declare class MessagesDirective extends ComponentMessages {
|
|
164
296
|
* The text of the **Insert** button in all Spreadsheet dialogs
|
165
297
|
*/
|
166
298
|
dialogInsert: string;
|
299
|
+
/**
|
300
|
+
* The text of the **Remove** button in all Spreadsheet dialogs
|
301
|
+
*/
|
302
|
+
dialogRemove: string;
|
167
303
|
/**
|
168
304
|
* The text of the **Remove link** button in the Link tool dialog
|
169
305
|
*/
|
@@ -324,5 +460,5 @@ export declare class MessagesDirective extends ComponentMessages {
|
|
324
460
|
*/
|
325
461
|
invalidNameError: string;
|
326
462
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessagesDirective, never>;
|
327
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MessagesDirective, "[kendoSpreadsheetMessages]", never, { "home": { "alias": "home"; "required": false; }; "file": { "alias": "file"; "required": false; }; "insert": { "alias": "insert"; "required": false; }; "formatTab": { "alias": "formatTab"; "required": false; }; "saveFile": { "alias": "saveFile"; "required": false; }; "loadFile": { "alias": "loadFile"; "required": false; }; "bold": { "alias": "bold"; "required": false; }; "italic": { "alias": "italic"; "required": false; }; "underline": { "alias": "underline"; "required": false; }; "format": { "alias": "format"; "required": false; }; "fontFamily": { "alias": "fontFamily"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "undo": { "alias": "undo"; "required": false; }; "redo": { "alias": "redo"; "required": false; }; "background": { "alias": "background"; "required": false; }; "color": { "alias": "color"; "required": false; }; "gridLines": { "alias": "gridLines"; "required": false; }; "addColumnLeft": { "alias": "addColumnLeft"; "required": false; }; "addColumnRight": { "alias": "addColumnRight"; "required": false; }; "addRowBelow": { "alias": "addRowBelow"; "required": false; }; "addRowAbove": { "alias": "addRowAbove"; "required": false; }; "deleteColumn": { "alias": "deleteColumn"; "required": false; }; "deleteRow": { "alias": "deleteRow"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; "align": { "alias": "align"; "required": false; }; "alignHorizontal": { "alias": "alignHorizontal"; "required": false; }; "alignVertical": { "alias": "alignVertical"; "required": false; }; "alignLeft": { "alias": "alignLeft"; "required": false; }; "alignCenter": { "alias": "alignCenter"; "required": false; }; "alignRight": { "alias": "alignRight"; "required": false; }; "alignJustify": { "alias": "alignJustify"; "required": false; }; "alignTop": { "alias": "alignTop"; "required": false; }; "alignMiddle": { "alias": "alignMiddle"; "required": false; }; "alignBottom": { "alias": "alignBottom"; "required": false; }; "dialogApply": { "alias": "dialogApply"; "required": false; }; "dialogCancel": { "alias": "dialogCancel"; "required": false; }; "dialogDelete": { "alias": "dialogDelete"; "required": false; }; "dialogRename": { "alias": "dialogRename"; "required": false; }; "dialogInsert": { "alias": "dialogInsert"; "required": false; }; "dialogRemoveLink": { "alias": "dialogRemoveLink"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "rename": { "alias": "rename"; "required": false; }; "nameBox": { "alias": "nameBox"; "required": false; }; "formulaInput": { "alias": "formulaInput"; "required": false; }; "addSheet": { "alias": "addSheet"; "required": false; }; "sheetsMenu": { "alias": "sheetsMenu"; "required": false; }; "view": { "alias": "view"; "required": false; }; "merge": { "alias": "merge"; "required": false; }; "mergeHorizontally": { "alias": "mergeHorizontally"; "required": false; }; "mergeVertically": { "alias": "mergeVertically"; "required": false; }; "mergeAll": { "alias": "mergeAll"; "required": false; }; "unmerge": { "alias": "unmerge"; "required": false; }; "insertLink": { "alias": "insertLink"; "required": false; }; "increaseDecimal": { "alias": "increaseDecimal"; "required": false; }; "decreaseDecimal": { "alias": "decreaseDecimal"; "required": false; }; "increaseFontSize": { "alias": "increaseFontSize"; "required": false; }; "decreaseFontSize": { "alias": "decreaseFontSize"; "required": false; }; "openUnsupported": { "alias": "openUnsupported"; "required": false; }; "modifyMerged": { "alias": "modifyMerged"; "required": false; }; "cannotModifyDisabled": { "alias": "cannotModifyDisabled"; "required": false; }; "dialogOk": { "alias": "dialogOk"; "required": false; }; "dialogError": { "alias": "dialogError"; "required": false; }; "duplicateSheetName": { "alias": "duplicateSheetName"; "required": false; }; "copy": { "alias": "copy"; "required": false; }; "cut": { "alias": "cut"; "required": false; }; "paste": { "alias": "paste"; "required": false; }; "hideRow": { "alias": "hideRow"; "required": false; }; "unhideRow": { "alias": "unhideRow"; "required": false; }; "hideColumn": { "alias": "hideColumn"; "required": false; }; "unhideColumn": { "alias": "unhideColumn"; "required": false; }; "sheetDelete": { "alias": "sheetDelete"; "required": false; }; "sheetRename": { "alias": "sheetRename"; "required": false; }; "sheetHide": { "alias": "sheetHide"; "required": false; }; "sheetDuplicate": { "alias": "sheetDuplicate"; "required": false; }; "sheetMoveLeft": { "alias": "sheetMoveLeft"; "required": false; }; "sheetMoveRight": { "alias": "sheetMoveRight"; "required": false; }; "invalidNameError": { "alias": "invalidNameError"; "required": false; }; }, {}, never, never, true, never>;
|
463
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MessagesDirective, "[kendoSpreadsheetMessages]", never, { "home": { "alias": "home"; "required": false; }; "file": { "alias": "file"; "required": false; }; "insert": { "alias": "insert"; "required": false; }; "formatTab": { "alias": "formatTab"; "required": false; }; "dataTab": { "alias": "dataTab"; "required": false; }; "saveFile": { "alias": "saveFile"; "required": false; }; "loadFile": { "alias": "loadFile"; "required": false; }; "bold": { "alias": "bold"; "required": false; }; "dataValidation": { "alias": "dataValidation"; "required": false; }; "validationCellRange": { "alias": "validationCellRange"; "required": false; }; "validationCriteria": { "alias": "validationCriteria"; "required": false; }; "validationComparer": { "alias": "validationComparer"; "required": false; }; "validationMinValue": { "alias": "validationMinValue"; "required": false; }; "validationMaxValue": { "alias": "validationMaxValue"; "required": false; }; "validationStartValue": { "alias": "validationStartValue"; "required": false; }; "validationEndValue": { "alias": "validationEndValue"; "required": false; }; "validationValue": { "alias": "validationValue"; "required": false; }; "validationShowListButtonCheckbox": { "alias": "validationShowListButtonCheckbox"; "required": false; }; "validationShowDateButtonCheckbox": { "alias": "validationShowDateButtonCheckbox"; "required": false; }; "validationIgnoreBlankCheckbox": { "alias": "validationIgnoreBlankCheckbox"; "required": false; }; "validationOnInvalidData": { "alias": "validationOnInvalidData"; "required": false; }; "validationRejectInput": { "alias": "validationRejectInput"; "required": false; }; "validationShowWarning": { "alias": "validationShowWarning"; "required": false; }; "validationShowHint": { "alias": "validationShowHint"; "required": false; }; "anyValueValidationCriteria": { "alias": "anyValueValidationCriteria"; "required": false; }; "numberValidationCriteria": { "alias": "numberValidationCriteria"; "required": false; }; "textValidationCriteria": { "alias": "textValidationCriteria"; "required": false; }; "dateValidationCriteria": { "alias": "dateValidationCriteria"; "required": false; }; "customFormulaValidationCriteria": { "alias": "customFormulaValidationCriteria"; "required": false; }; "listValidationCriteria": { "alias": "listValidationCriteria"; "required": false; }; "greaterThanValidationComparer": { "alias": "greaterThanValidationComparer"; "required": false; }; "lessThanValidationComparer": { "alias": "lessThanValidationComparer"; "required": false; }; "betweenValidationComparer": { "alias": "betweenValidationComparer"; "required": false; }; "notBetweenValidationComparer": { "alias": "notBetweenValidationComparer"; "required": false; }; "equalToValidationComparer": { "alias": "equalToValidationComparer"; "required": false; }; "notEqualToValidationComparer": { "alias": "notEqualToValidationComparer"; "required": false; }; "greaterThanOrEqualToValidationComparer": { "alias": "greaterThanOrEqualToValidationComparer"; "required": false; }; "lessThanOrEqualToValidationComparer": { "alias": "lessThanOrEqualToValidationComparer"; "required": false; }; "validationHintMessage": { "alias": "validationHintMessage"; "required": false; }; "validationHintTitle": { "alias": "validationHintTitle"; "required": false; }; "italic": { "alias": "italic"; "required": false; }; "underline": { "alias": "underline"; "required": false; }; "format": { "alias": "format"; "required": false; }; "fontFamily": { "alias": "fontFamily"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "undo": { "alias": "undo"; "required": false; }; "redo": { "alias": "redo"; "required": false; }; "background": { "alias": "background"; "required": false; }; "color": { "alias": "color"; "required": false; }; "gridLines": { "alias": "gridLines"; "required": false; }; "addColumnLeft": { "alias": "addColumnLeft"; "required": false; }; "addColumnRight": { "alias": "addColumnRight"; "required": false; }; "addRowBelow": { "alias": "addRowBelow"; "required": false; }; "addRowAbove": { "alias": "addRowAbove"; "required": false; }; "deleteColumn": { "alias": "deleteColumn"; "required": false; }; "deleteRow": { "alias": "deleteRow"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; "align": { "alias": "align"; "required": false; }; "alignHorizontal": { "alias": "alignHorizontal"; "required": false; }; "alignVertical": { "alias": "alignVertical"; "required": false; }; "alignLeft": { "alias": "alignLeft"; "required": false; }; "alignCenter": { "alias": "alignCenter"; "required": false; }; "alignRight": { "alias": "alignRight"; "required": false; }; "alignJustify": { "alias": "alignJustify"; "required": false; }; "alignTop": { "alias": "alignTop"; "required": false; }; "alignMiddle": { "alias": "alignMiddle"; "required": false; }; "alignBottom": { "alias": "alignBottom"; "required": false; }; "dialogApply": { "alias": "dialogApply"; "required": false; }; "dialogCancel": { "alias": "dialogCancel"; "required": false; }; "dialogDelete": { "alias": "dialogDelete"; "required": false; }; "dialogRename": { "alias": "dialogRename"; "required": false; }; "dialogInsert": { "alias": "dialogInsert"; "required": false; }; "dialogRemove": { "alias": "dialogRemove"; "required": false; }; "dialogRemoveLink": { "alias": "dialogRemoveLink"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "rename": { "alias": "rename"; "required": false; }; "nameBox": { "alias": "nameBox"; "required": false; }; "formulaInput": { "alias": "formulaInput"; "required": false; }; "addSheet": { "alias": "addSheet"; "required": false; }; "sheetsMenu": { "alias": "sheetsMenu"; "required": false; }; "view": { "alias": "view"; "required": false; }; "merge": { "alias": "merge"; "required": false; }; "mergeHorizontally": { "alias": "mergeHorizontally"; "required": false; }; "mergeVertically": { "alias": "mergeVertically"; "required": false; }; "mergeAll": { "alias": "mergeAll"; "required": false; }; "unmerge": { "alias": "unmerge"; "required": false; }; "insertLink": { "alias": "insertLink"; "required": false; }; "increaseDecimal": { "alias": "increaseDecimal"; "required": false; }; "decreaseDecimal": { "alias": "decreaseDecimal"; "required": false; }; "increaseFontSize": { "alias": "increaseFontSize"; "required": false; }; "decreaseFontSize": { "alias": "decreaseFontSize"; "required": false; }; "openUnsupported": { "alias": "openUnsupported"; "required": false; }; "modifyMerged": { "alias": "modifyMerged"; "required": false; }; "cannotModifyDisabled": { "alias": "cannotModifyDisabled"; "required": false; }; "dialogOk": { "alias": "dialogOk"; "required": false; }; "dialogError": { "alias": "dialogError"; "required": false; }; "duplicateSheetName": { "alias": "duplicateSheetName"; "required": false; }; "copy": { "alias": "copy"; "required": false; }; "cut": { "alias": "cut"; "required": false; }; "paste": { "alias": "paste"; "required": false; }; "hideRow": { "alias": "hideRow"; "required": false; }; "unhideRow": { "alias": "unhideRow"; "required": false; }; "hideColumn": { "alias": "hideColumn"; "required": false; }; "unhideColumn": { "alias": "unhideColumn"; "required": false; }; "sheetDelete": { "alias": "sheetDelete"; "required": false; }; "sheetRename": { "alias": "sheetRename"; "required": false; }; "sheetHide": { "alias": "sheetHide"; "required": false; }; "sheetDuplicate": { "alias": "sheetDuplicate"; "required": false; }; "sheetMoveLeft": { "alias": "sheetMoveLeft"; "required": false; }; "sheetMoveRight": { "alias": "sheetMoveRight"; "required": false; }; "invalidNameError": { "alias": "invalidNameError"; "required": false; }; }, {}, never, never, true, never>;
|
328
464
|
}
|
@@ -10,7 +10,7 @@ export interface SpreadsheetMainMenuItem {
|
|
10
10
|
/**
|
11
11
|
* The built-in menu items identifiers.
|
12
12
|
*/
|
13
|
-
id: 'file' | 'home' | 'insert' | 'format' | 'view';
|
13
|
+
id: 'file' | 'home' | 'insert' | 'format' | 'view' | 'data';
|
14
14
|
/**
|
15
15
|
* Determines whether the menu item is initially active. If no item is set as active, the first one will be active by default.
|
16
16
|
* If more than one items are set as active, the first of them will be active.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@progress/kendo-angular-spreadsheet",
|
3
|
-
"version": "18.5.0-develop.
|
3
|
+
"version": "18.5.0-develop.8",
|
4
4
|
"description": "A Spreadsheet Component for Angular",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
6
6
|
"author": "Progress",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"package": {
|
20
20
|
"productName": "Kendo UI for Angular",
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
22
|
-
"publishDate":
|
22
|
+
"publishDate": 1744029045,
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
|
24
24
|
}
|
25
25
|
},
|
@@ -29,24 +29,24 @@
|
|
29
29
|
"@angular/core": "16 - 19",
|
30
30
|
"@angular/platform-browser": "16 - 19",
|
31
31
|
"@progress/kendo-licensing": "^1.5.0",
|
32
|
-
"@progress/kendo-angular-buttons": "18.5.0-develop.
|
33
|
-
"@progress/kendo-angular-common": "18.5.0-develop.
|
34
|
-
"@progress/kendo-angular-dialog": "18.5.0-develop.
|
35
|
-
"@progress/kendo-angular-dropdowns": "18.5.0-develop.
|
36
|
-
"@progress/kendo-angular-icons": "18.5.0-develop.
|
37
|
-
"@progress/kendo-angular-inputs": "18.5.0-develop.
|
38
|
-
"@progress/kendo-angular-intl": "18.5.0-develop.
|
39
|
-
"@progress/kendo-angular-l10n": "18.5.0-develop.
|
40
|
-
"@progress/kendo-angular-label": "18.5.0-develop.
|
41
|
-
"@progress/kendo-angular-layout": "18.5.0-develop.
|
42
|
-
"@progress/kendo-angular-menu": "18.5.0-develop.
|
43
|
-
"@progress/kendo-angular-popup": "18.5.0-develop.
|
44
|
-
"@progress/kendo-angular-toolbar": "18.5.0-develop.
|
32
|
+
"@progress/kendo-angular-buttons": "18.5.0-develop.8",
|
33
|
+
"@progress/kendo-angular-common": "18.5.0-develop.8",
|
34
|
+
"@progress/kendo-angular-dialog": "18.5.0-develop.8",
|
35
|
+
"@progress/kendo-angular-dropdowns": "18.5.0-develop.8",
|
36
|
+
"@progress/kendo-angular-icons": "18.5.0-develop.8",
|
37
|
+
"@progress/kendo-angular-inputs": "18.5.0-develop.8",
|
38
|
+
"@progress/kendo-angular-intl": "18.5.0-develop.8",
|
39
|
+
"@progress/kendo-angular-l10n": "18.5.0-develop.8",
|
40
|
+
"@progress/kendo-angular-label": "18.5.0-develop.8",
|
41
|
+
"@progress/kendo-angular-layout": "18.5.0-develop.8",
|
42
|
+
"@progress/kendo-angular-menu": "18.5.0-develop.8",
|
43
|
+
"@progress/kendo-angular-popup": "18.5.0-develop.8",
|
44
|
+
"@progress/kendo-angular-toolbar": "18.5.0-develop.8",
|
45
45
|
"rxjs": "^6.5.3 || ^7.0.0"
|
46
46
|
},
|
47
47
|
"dependencies": {
|
48
48
|
"tslib": "^2.3.1",
|
49
|
-
"@progress/kendo-angular-schematics": "18.5.0-develop.
|
49
|
+
"@progress/kendo-angular-schematics": "18.5.0-develop.8",
|
50
50
|
"@progress/jszip-esm": "^1.0.3",
|
51
51
|
"@progress/kendo-common": "^1.0.1",
|
52
52
|
"@progress/kendo-date-math": "^1.5.10",
|
@@ -6,8 +6,8 @@ function default_1(options) {
|
|
6
6
|
// Peer dependency of icons
|
7
7
|
'@progress/kendo-svg-icons': '^4.0.0',
|
8
8
|
// peer deps of the dropdowns
|
9
|
-
'@progress/kendo-angular-navigation': '18.5.0-develop.
|
10
|
-
'@progress/kendo-angular-treeview': '18.5.0-develop.
|
9
|
+
'@progress/kendo-angular-navigation': '18.5.0-develop.8',
|
10
|
+
'@progress/kendo-angular-treeview': '18.5.0-develop.8'
|
11
11
|
} });
|
12
12
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
13
13
|
}
|
@@ -7,6 +7,7 @@ import { CellDefaultStyle, ExcelExportSettings, SheetDescriptor, SpreadsheetWidg
|
|
7
7
|
import { IntlService } from '@progress/kendo-angular-intl';
|
8
8
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
9
9
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
10
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
10
11
|
import { ContextMenuSelectEvent, MenuItem } from '@progress/kendo-angular-menu';
|
11
12
|
import { DialogService } from '@progress/kendo-angular-dialog';
|
12
13
|
import { SpreadsheetService } from './common/spreadsheet.service';
|
@@ -26,6 +27,8 @@ export declare class SpreadsheetComponent implements AfterViewInit, OnChanges {
|
|
26
27
|
private toolsService;
|
27
28
|
private errorService;
|
28
29
|
private dialogService;
|
30
|
+
private popupService;
|
31
|
+
private container;
|
29
32
|
private formulaBarInputRef;
|
30
33
|
private formulaCellInputRef;
|
31
34
|
private nameBoxRef;
|
@@ -153,7 +156,8 @@ export declare class SpreadsheetComponent implements AfterViewInit, OnChanges {
|
|
153
156
|
private _menuItems;
|
154
157
|
private currentRange;
|
155
158
|
private subs;
|
156
|
-
|
159
|
+
private popupRef;
|
160
|
+
constructor(ngZone: NgZone, intl: IntlService, host: ElementRef, localization: LocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, errorService: ErrorHandlingService, dialogService: DialogService, popupService: PopupService, container: ViewContainerRef);
|
157
161
|
ngAfterViewInit(): void;
|
158
162
|
ngOnChanges(changes: SimpleChanges): void;
|
159
163
|
ngOnDestroy(): void;
|
@@ -191,6 +195,7 @@ export declare class SpreadsheetComponent implements AfterViewInit, OnChanges {
|
|
191
195
|
private contextMenuItemsForTarget;
|
192
196
|
private openLinkDialog;
|
193
197
|
private configureSheets;
|
198
|
+
private registerEditors;
|
194
199
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetComponent, never>;
|
195
200
|
static ɵcmp: i0.ɵɵComponentDeclaration<SpreadsheetComponent, "kendo-spreadsheet", ["kendo-spreadsheet"], { "menuItems": { "alias": "menuItems"; "required": false; }; "overflow": { "alias": "overflow"; "required": false; }; "formulaListMaxHeight": { "alias": "formulaListMaxHeight"; "required": false; }; "activeSheet": { "alias": "activeSheet"; "required": false; }; "sheets": { "alias": "sheets"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "columnWidth": { "alias": "columnWidth"; "required": false; }; "defaultCellStyle": { "alias": "defaultCellStyle"; "required": false; }; "headerHeight": { "alias": "headerHeight"; "required": false; }; "headerWidth": { "alias": "headerWidth"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "images": { "alias": "images"; "required": false; }; "excel": { "alias": "excel"; "required": false; }; }, { "change": "change"; "formatChange": "formatChange"; "selectionChange": "selectionChange"; "excelExport": "excelExport"; "excelImport": "excelImport"; "activeSheetChange": "activeSheetChange"; }, never, never, true, never>;
|
196
201
|
}
|
package/spreadsheet.module.d.ts
CHANGED
@@ -6,40 +6,41 @@ import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./spreadsheet.component";
|
7
7
|
import * as i2 from "./localization/custom-messages.component";
|
8
8
|
import * as i3 from "./tools/typographical-emphasis/bold-tool.directive";
|
9
|
-
import * as i4 from "./tools/
|
10
|
-
import * as i5 from "./tools/typographical-emphasis/
|
11
|
-
import * as i6 from "./tools/
|
12
|
-
import * as i7 from "./tools/
|
13
|
-
import * as i8 from "./tools/
|
14
|
-
import * as i9 from "./tools/
|
15
|
-
import * as i10 from "./tools/history/
|
16
|
-
import * as i11 from "./tools/
|
17
|
-
import * as i12 from "./tools/font-
|
18
|
-
import * as i13 from "./tools/
|
19
|
-
import * as i14 from "./tools/colorpicker/spreadsheet-
|
20
|
-
import * as i15 from "./tools/
|
21
|
-
import * as i16 from "./tools/
|
22
|
-
import * as i17 from "./tools/tables/add-column-
|
23
|
-
import * as i18 from "./tools/tables/add-
|
24
|
-
import * as i19 from "./tools/tables/add-row-
|
25
|
-
import * as i20 from "./tools/tables/
|
26
|
-
import * as i21 from "./tools/tables/delete-
|
27
|
-
import * as i22 from "./tools/
|
28
|
-
import * as i23 from "./tools/
|
29
|
-
import * as i24 from "./tools/
|
30
|
-
import * as i25 from "./tools/
|
31
|
-
import * as i26 from "./tools/
|
32
|
-
import * as i27 from "./tools/font-size/
|
33
|
-
import * as i28 from "./tools/
|
34
|
-
import * as i29 from "./tools/
|
35
|
-
import * as i30 from "./tools/
|
36
|
-
import * as i31 from "./tools/align/
|
9
|
+
import * as i4 from "./tools/data-validation-tool.directive";
|
10
|
+
import * as i5 from "./tools/typographical-emphasis/italic-tool.directive";
|
11
|
+
import * as i6 from "./tools/typographical-emphasis/underline-tool.directive";
|
12
|
+
import * as i7 from "./tools/load-file.component";
|
13
|
+
import * as i8 from "./tools/save-file-tool.directive";
|
14
|
+
import * as i9 from "./tools/format-tool.directive";
|
15
|
+
import * as i10 from "./tools/history/undo-tool";
|
16
|
+
import * as i11 from "./tools/history/redo-tool";
|
17
|
+
import * as i12 from "./tools/font-family/spreadsheet-fontfamily-tool.component";
|
18
|
+
import * as i13 from "./tools/font-size/spreadsheet-fontsize-tool.component";
|
19
|
+
import * as i14 from "./tools/colorpicker/spreadsheet-backcolor.component";
|
20
|
+
import * as i15 from "./tools/colorpicker/spreadsheet-forecolor.component";
|
21
|
+
import * as i16 from "./tools/gridlines-tool.directive";
|
22
|
+
import * as i17 from "./tools/tables/add-column-left-button.directive";
|
23
|
+
import * as i18 from "./tools/tables/add-column-right-button.directive";
|
24
|
+
import * as i19 from "./tools/tables/add-row-above-button.directive";
|
25
|
+
import * as i20 from "./tools/tables/add-row-below-button.directive";
|
26
|
+
import * as i21 from "./tools/tables/delete-column-button.directive";
|
27
|
+
import * as i22 from "./tools/tables/delete-row-button.directive";
|
28
|
+
import * as i23 from "./tools/align/align-tool.directive";
|
29
|
+
import * as i24 from "./tools/text-wrap-tool.directive";
|
30
|
+
import * as i25 from "./tools/tables/merge-tool.directive";
|
31
|
+
import * as i26 from "./tools/insert/insert-link-tool.directive";
|
32
|
+
import * as i27 from "./tools/font-size/increase-font-tool.directive";
|
33
|
+
import * as i28 from "./tools/font-size/decrease-font-tool.directive";
|
34
|
+
import * as i29 from "./tools/increase-decimal-tool.directive";
|
35
|
+
import * as i30 from "./tools/decrease-decimal-tool.directive";
|
36
|
+
import * as i31 from "./tools/align/horizontal-align-tool.directive";
|
37
|
+
import * as i32 from "./tools/align/vertical-align-tool.directive";
|
37
38
|
/**
|
38
39
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
39
40
|
* definition for the Spreadsheet component.
|
40
41
|
*/
|
41
42
|
export declare class SpreadsheetModule {
|
42
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetModule, never>;
|
43
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SpreadsheetModule, never, [typeof i1.SpreadsheetComponent, typeof i2.CustomMessagesComponent, typeof i3.SpreadsheetBoldDirective, typeof i4.
|
44
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SpreadsheetModule, never, [typeof i1.SpreadsheetComponent, typeof i2.CustomMessagesComponent, typeof i3.SpreadsheetBoldDirective, typeof i4.SpreadsheetDataValidationDirective, typeof i5.SpreadsheetItalicDirective, typeof i6.SpreadsheetUnderlineDirective, typeof i7.SpreadsheetLoadFileComponent, typeof i8.SpreadsheetSaveFileDirective, typeof i9.SpreadsheetFormatDirective, typeof i10.SpreadsheetUndoDirective, typeof i11.SpreadsheetRedoDirective, typeof i12.SpreadsheetFontFamilyComponent, typeof i13.SpreadsheetFontSizeComponent, typeof i14.SpreadsheetBackColorComponent, typeof i15.SpreadsheetForeColorComponent, typeof i16.SpreadsheetGridLinesDirective, typeof i17.SpreadsheetAddColumnLeftButtonDirective, typeof i18.SpreadsheetAddColumnRightButtonDirective, typeof i19.SpreadsheetAddRowAboveButtonDirective, typeof i20.SpreadsheetAddRowBelowButtonDirective, typeof i21.SpreadsheetDeleteColumnButtonDirective, typeof i22.SpreadsheetDeleteRowButtonDirective, typeof i23.SpreadsheetTextAlignDirective, typeof i24.SpreadsheetTextWrapDirective, typeof i25.SpreadsheetMergeDirective, typeof i26.SpreadsheetInsertLinkDirective, typeof i27.SpreadsheetIncreaseFontSizeDirective, typeof i28.SpreadsheetDecreaseFontSizeDirective, typeof i29.SpreadsheetIncreaseDecimalDirective, typeof i30.SpreadsheetDecreaseDecimalDirective, typeof i31.SpreadsheetHorizontalTextAlignDirective, typeof i32.SpreadsheetVerticalTextAlignDirective], [typeof i1.SpreadsheetComponent, typeof i2.CustomMessagesComponent, typeof i3.SpreadsheetBoldDirective, typeof i4.SpreadsheetDataValidationDirective, typeof i5.SpreadsheetItalicDirective, typeof i6.SpreadsheetUnderlineDirective, typeof i7.SpreadsheetLoadFileComponent, typeof i8.SpreadsheetSaveFileDirective, typeof i9.SpreadsheetFormatDirective, typeof i10.SpreadsheetUndoDirective, typeof i11.SpreadsheetRedoDirective, typeof i12.SpreadsheetFontFamilyComponent, typeof i13.SpreadsheetFontSizeComponent, typeof i14.SpreadsheetBackColorComponent, typeof i15.SpreadsheetForeColorComponent, typeof i16.SpreadsheetGridLinesDirective, typeof i17.SpreadsheetAddColumnLeftButtonDirective, typeof i18.SpreadsheetAddColumnRightButtonDirective, typeof i19.SpreadsheetAddRowAboveButtonDirective, typeof i20.SpreadsheetAddRowBelowButtonDirective, typeof i21.SpreadsheetDeleteColumnButtonDirective, typeof i22.SpreadsheetDeleteRowButtonDirective, typeof i23.SpreadsheetTextAlignDirective, typeof i24.SpreadsheetTextWrapDirective, typeof i25.SpreadsheetMergeDirective, typeof i26.SpreadsheetInsertLinkDirective, typeof i27.SpreadsheetIncreaseFontSizeDirective, typeof i28.SpreadsheetDecreaseFontSizeDirective, typeof i29.SpreadsheetIncreaseDecimalDirective, typeof i30.SpreadsheetDecreaseDecimalDirective, typeof i31.SpreadsheetHorizontalTextAlignDirective, typeof i32.SpreadsheetVerticalTextAlignDirective]>;
|
44
45
|
static ɵinj: i0.ɵɵInjectorDeclaration<SpreadsheetModule>;
|
45
46
|
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
5
|
+
import { EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
|
6
|
+
import { FormGroup } from '@angular/forms';
|
7
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
8
|
+
import { SpreadsheetService } from '../common/spreadsheet.service';
|
9
|
+
import { DialogContentBase, DialogRef } from '@progress/kendo-angular-dialog';
|
10
|
+
import * as i0 from "@angular/core";
|
11
|
+
/**
|
12
|
+
* @hidden
|
13
|
+
*/
|
14
|
+
export declare class DataValidationDialogComponent extends DialogContentBase implements OnInit, OnDestroy {
|
15
|
+
private localization;
|
16
|
+
private spreadsheetService;
|
17
|
+
private zone;
|
18
|
+
cellRange: string;
|
19
|
+
criteriaList: any;
|
20
|
+
ignoreBlank: any;
|
21
|
+
showButton: any;
|
22
|
+
showHint: any;
|
23
|
+
from: any;
|
24
|
+
to: any;
|
25
|
+
validationFormGroup: FormGroup;
|
26
|
+
hintTitle: string;
|
27
|
+
hintMessage: string;
|
28
|
+
private _comparer;
|
29
|
+
private _criteria;
|
30
|
+
private _onInvalidData;
|
31
|
+
private onInvalidDataSub;
|
32
|
+
private allComparers;
|
33
|
+
private textComparers;
|
34
|
+
dialogAction: EventEmitter<any>;
|
35
|
+
constructor(localization: LocalizationService, spreadsheetService: SpreadsheetService, zone: NgZone, dialog: DialogRef);
|
36
|
+
ngOnInit(): void;
|
37
|
+
ngOnDestroy(): void;
|
38
|
+
getLocalizationMessage(key: string): string;
|
39
|
+
onRangeChange(value: any, input: any): void;
|
40
|
+
onSelectionChange(item: any, field: string): void;
|
41
|
+
get criteria(): any;
|
42
|
+
set criteria(value: any);
|
43
|
+
get comparer(): any;
|
44
|
+
set comparer(value: any);
|
45
|
+
get onInvalidData(): any;
|
46
|
+
set onInvalidData(value: any);
|
47
|
+
get comparerList(): any[];
|
48
|
+
get singleValue(): boolean;
|
49
|
+
get showComparer(): boolean;
|
50
|
+
setData(args: any): void;
|
51
|
+
getValueLabel(): string;
|
52
|
+
getShowButtonLabel(): string;
|
53
|
+
get validationPresent(): boolean;
|
54
|
+
private addInvalidDataSub;
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataValidationDialogComponent, never>;
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataValidationDialogComponent, "ng-component", never, {}, { "dialogAction": "dialogAction"; }, never, never, true, never>;
|
57
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
5
|
+
import { AfterViewInit, Renderer2 } from '@angular/core';
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
7
|
+
import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
|
8
|
+
import { SpreadsheetService } from '../common/spreadsheet.service';
|
9
|
+
import { SpreadsheetToolsService } from './tools.service';
|
10
|
+
import { SpreadsheetCommandButton } from './shared/spreadsheet-command-button';
|
11
|
+
import { DialogService } from '@progress/kendo-angular-dialog';
|
12
|
+
import * as i0 from "@angular/core";
|
13
|
+
/**
|
14
|
+
* @hidden
|
15
|
+
*/
|
16
|
+
export declare class SpreadsheetDataValidationDirective extends SpreadsheetCommandButton implements AfterViewInit {
|
17
|
+
private dialogService;
|
18
|
+
private renderer;
|
19
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, dialogService: DialogService, renderer: Renderer2);
|
20
|
+
private get currentRange();
|
21
|
+
ngAfterViewInit(): void;
|
22
|
+
protected clickHandler(): void;
|
23
|
+
/**
|
24
|
+
* @hidden
|
25
|
+
*/
|
26
|
+
openDialog(): void;
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetDataValidationDirective, never>;
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetDataValidationDirective, "kendo-toolbar-button[kendoSpreadsheetDataValidation]", never, {}, {}, never, never, true, never>;
|
29
|
+
}
|
package/tools/index.d.ts
CHANGED
@@ -9,6 +9,7 @@ export { SpreadsheetFontSizeComponent } from './font-size/spreadsheet-fontsize-t
|
|
9
9
|
export { SpreadsheetRedoDirective } from './history/redo-tool';
|
10
10
|
export { SpreadsheetUndoDirective } from './history/undo-tool';
|
11
11
|
export { SpreadsheetBoldDirective } from './typographical-emphasis/bold-tool.directive';
|
12
|
+
export { SpreadsheetDataValidationDirective } from './data-validation-tool.directive';
|
12
13
|
export { SpreadsheetItalicDirective } from './typographical-emphasis/italic-tool.directive';
|
13
14
|
export { SpreadsheetUnderlineDirective } from './typographical-emphasis/underline-tool.directive';
|
14
15
|
export { SpreadsheetTextAlignDirective } from './align/align-tool.directive';
|
@@ -5,4 +5,4 @@
|
|
5
5
|
/**
|
6
6
|
* @hidden
|
7
7
|
*/
|
8
|
-
export type SpreadsheetCommand = 'bold' | 'italic' | 'underline' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'alignTop' | 'alignMiddle' | 'alignBottom' | 'align' | 'alignHorizontal' | 'alignVertical' | 'folderOpen' | 'fontFamily' | 'fontSize' | 'undo' | 'redo' | 'color' | 'background' | 'addRowAbove' | 'addRowBelow' | 'deleteRow' | 'deleteColumn' | 'gridLines' | 'addColumnLeft' | 'addColumnRight' | 'wrap' | 'download' | 'format' | 'merge' | 'mergeAll' | 'mergeHorizontally' | 'mergeVertically' | 'unmerge' | 'insertLink' | 'increaseFontSize' | 'decreaseFontSize' | 'increaseDecimal' | 'decreaseDecimal' | 'copy' | 'cut' | 'paste' | 'hideRow' | 'unhideRow' | 'hideColumn' | 'unhideColumn';
|
8
|
+
export type SpreadsheetCommand = 'bold' | 'italic' | 'underline' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'alignTop' | 'alignMiddle' | 'alignBottom' | 'align' | 'alignHorizontal' | 'alignVertical' | 'folderOpen' | 'fontFamily' | 'fontSize' | 'undo' | 'redo' | 'color' | 'background' | 'addRowAbove' | 'addRowBelow' | 'deleteRow' | 'deleteColumn' | 'gridLines' | 'addColumnLeft' | 'addColumnRight' | 'wrap' | 'download' | 'format' | 'merge' | 'mergeAll' | 'mergeHorizontally' | 'mergeVertically' | 'unmerge' | 'insertLink' | 'increaseFontSize' | 'decreaseFontSize' | 'increaseDecimal' | 'decreaseDecimal' | 'dataValidation' | 'copy' | 'cut' | 'paste' | 'hideRow' | 'unhideRow' | 'hideColumn' | 'unhideColumn';
|
package/tools/utils.d.ts
CHANGED
package/utils.d.ts
CHANGED
@@ -11,3 +11,7 @@ export declare const mapToSheetDescriptor: (sheetsArray: Sheet[]) => SheetDescri
|
|
11
11
|
* @hidden
|
12
12
|
*/
|
13
13
|
export declare const replaceMessagePlaceholder: (message: string, name: string, value: string) => string;
|
14
|
+
/**
|
15
|
+
* @hidden
|
16
|
+
*/
|
17
|
+
export declare const rowAndColPresent: (value: any) => boolean;
|