@progress/kendo-angular-spreadsheet 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/directives.d.ts +18 -1
- package/esm2022/directives.mjs +18 -1
- package/esm2022/localization/custom-messages.component.mjs +10 -1
- package/esm2022/localization/messages.mjs +111 -111
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/spreadsheet.component.mjs +12 -4
- package/esm2022/spreadsheet.module.mjs +11 -2
- package/esm2022/tools/colorpicker/spreadsheet-backcolor.component.mjs +4 -1
- package/esm2022/tools/colorpicker/spreadsheet-forecolor.component.mjs +4 -1
- package/esm2022/tools/font-family/spreadsheet-fontfamily-tool.component.mjs +2 -3
- package/esm2022/tools/font-size/spreadsheet-fontsize-tool.component.mjs +2 -3
- package/esm2022/utils.mjs +1 -1
- package/fesm2022/progress-kendo-angular-spreadsheet.mjs +177 -130
- package/localization/custom-messages.component.d.ts +10 -1
- package/localization/messages.d.ts +111 -111
- package/models/events.d.ts +14 -14
- package/models/main-menu-item.d.ts +5 -4
- package/package.json +17 -17
- package/schematics/ngAdd/index.js +2 -2
- package/spreadsheet.component.d.ts +12 -4
- package/spreadsheet.module.d.ts +11 -2
- package/tools/colorpicker/spreadsheet-backcolor.component.d.ts +4 -1
- package/tools/colorpicker/spreadsheet-forecolor.component.d.ts +4 -1
- package/tools/font-family/spreadsheet-fontfamily-tool.component.d.ts +2 -3
- package/tools/font-size/spreadsheet-fontsize-tool.component.d.ts +2 -3
@@ -42,8 +42,8 @@ const packageMetadata = {
|
|
42
42
|
productName: 'Kendo UI for Angular',
|
43
43
|
productCode: 'KENDOUIANGULAR',
|
44
44
|
productCodes: ['KENDOUIANGULAR'],
|
45
|
-
publishDate:
|
46
|
-
version: '19.1.2-develop.
|
45
|
+
publishDate: 1750430963,
|
46
|
+
version: '19.1.2-develop.5',
|
47
47
|
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',
|
48
48
|
};
|
49
49
|
|
@@ -193,7 +193,7 @@ const mapToSheetDescriptor = (sheetsArray) => {
|
|
193
193
|
/**
|
194
194
|
* @hidden
|
195
195
|
*/
|
196
|
-
const replaceMessagePlaceholder = (message, name, value) => message.replace(new RegExp(
|
196
|
+
const replaceMessagePlaceholder = (message, name, value) => message.replace(new RegExp(`{\\s*${name}\\s*}`, 'g'), value);
|
197
197
|
/**
|
198
198
|
* @hidden
|
199
199
|
*/
|
@@ -2458,7 +2458,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
2458
2458
|
}] } });
|
2459
2459
|
|
2460
2460
|
/**
|
2461
|
-
* A component which
|
2461
|
+
* A component which configures an existing `ColorPickerComponent` as a Spreadsheet tool to change the background color.
|
2462
|
+
*
|
2463
|
+
* The component associates a `kendo-colorpicker` with a Spreadsheet command that changes the background color of a content block and
|
2464
|
+
* automatically defines the options of the color picker and sets its values. [See example](slug:toolbar_tools_spreadsheet#home-menu-item-tools).
|
2462
2465
|
* @hidden
|
2463
2466
|
*/
|
2464
2467
|
class SpreadsheetBackColorComponent extends SpreadsheetDropDownToolBase {
|
@@ -2575,7 +2578,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
2575
2578
|
}] }]; } });
|
2576
2579
|
|
2577
2580
|
/**
|
2578
|
-
* A component which
|
2581
|
+
* A component which configures an existing `ColorPickerComponent` as a Spreadsheet tool to change the text color.
|
2582
|
+
*
|
2583
|
+
* The component associates a `kendo-colorpicker` with a Spreadsheet command that changes the foreground color of a content block and
|
2584
|
+
* automatically defines the options of the color picker and sets its values. [See example](slug:toolbar_tools_spreadsheet#home-menu-item-tools).
|
2579
2585
|
* @hidden
|
2580
2586
|
*/
|
2581
2587
|
class SpreadsheetForeColorComponent extends SpreadsheetDropDownToolBase {
|
@@ -2835,10 +2841,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
2835
2841
|
}], ctorParameters: function () { return [{ type: i1$3.ToolBarButtonComponent }, { type: SpreadsheetLocalizationService }, { type: SpreadsheetService }, { type: SpreadsheetToolsService }]; } });
|
2836
2842
|
|
2837
2843
|
/**
|
2838
|
-
* A component which configures an existing `DropDownListComponent` as a Spreadsheet tool
|
2839
|
-
* ([see example](ToDo).
|
2844
|
+
* A component which configures an existing `DropDownListComponent` as a Spreadsheet tool.
|
2840
2845
|
* The component associates a `kendo-toolbar-dropdownlist` with a Spreadsheet command that changes the font size of a content block and
|
2841
|
-
* automatically defines the options of the drop-down list and sets its values
|
2846
|
+
* automatically defines the options of the drop-down list and sets its values. [See example](slug:toolbar_tools_spreadsheet#home-menu-item-tools).
|
2842
2847
|
*
|
2843
2848
|
* @hidden
|
2844
2849
|
*/
|
@@ -2928,10 +2933,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
2928
2933
|
}] }]; } });
|
2929
2934
|
|
2930
2935
|
/**
|
2931
|
-
* A component which configures an existing `DropDownListComponent` as a Spreadsheet tool
|
2932
|
-
* ([see example](ToDo).
|
2936
|
+
* A component which configures an existing `DropDownListComponent` as a Spreadsheet tool.
|
2933
2937
|
* The component associates a `kendo-toolbar-dropdownlist` with a Spreadsheet command that changes the font family of a content block and
|
2934
|
-
* automatically defines the options of the drop-down list and sets its values
|
2938
|
+
* automatically defines the options of the drop-down list and sets its values. [See example](slug:toolbar_tools_spreadsheet#home-menu-item-tools).
|
2935
2939
|
*
|
2936
2940
|
* @hidden
|
2937
2941
|
*/
|
@@ -3351,450 +3355,450 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
3351
3355
|
class MessagesDirective extends ComponentMessages {
|
3352
3356
|
/* Tabs */
|
3353
3357
|
/**
|
3354
|
-
*
|
3358
|
+
* Sets the name for the **Home** toolbar tab.
|
3355
3359
|
*/
|
3356
3360
|
home;
|
3357
3361
|
/**
|
3358
|
-
*
|
3362
|
+
* Sets the name for the **File** toolbar tab.
|
3359
3363
|
*/
|
3360
3364
|
file;
|
3361
3365
|
/**
|
3362
|
-
*
|
3366
|
+
* Sets the name for the **Insert** toolbar tab.
|
3363
3367
|
*/
|
3364
3368
|
insert;
|
3365
3369
|
/**
|
3366
|
-
*
|
3370
|
+
* Sets the name for the **Format** toolbar tab.
|
3367
3371
|
*/
|
3368
3372
|
formatTab;
|
3369
3373
|
/**
|
3370
|
-
*
|
3374
|
+
* Sets the name for the **Data** toolbar tab.
|
3371
3375
|
*/
|
3372
3376
|
dataTab;
|
3373
3377
|
/* Section of Tools Messages */
|
3374
3378
|
/**
|
3375
|
-
*
|
3379
|
+
* Sets the title for the **Save** File tool.
|
3376
3380
|
*/
|
3377
3381
|
saveFile;
|
3378
3382
|
/**
|
3379
|
-
*
|
3383
|
+
* Sets the title for the **Load File** tool.
|
3380
3384
|
*/
|
3381
3385
|
loadFile;
|
3382
3386
|
/**
|
3383
|
-
*
|
3387
|
+
* Sets the title for the **Bold** tool.
|
3384
3388
|
*/
|
3385
3389
|
bold;
|
3386
3390
|
/**
|
3387
|
-
*
|
3391
|
+
* Sets the title for the **Data Validation** tool.
|
3388
3392
|
*/
|
3389
3393
|
dataValidation;
|
3390
3394
|
/**
|
3391
|
-
*
|
3395
|
+
* Sets the label text for the Cell Range input in the data validation dialog.
|
3392
3396
|
*/
|
3393
3397
|
validationCellRange;
|
3394
3398
|
/**
|
3395
|
-
*
|
3399
|
+
* Sets the label text for the Criteria dropdown in the data validation dialog.
|
3396
3400
|
*/
|
3397
3401
|
validationCriteria;
|
3398
3402
|
/**
|
3399
|
-
*
|
3403
|
+
* Sets the label text for the Comparer dropdown in the data validation dialog.
|
3400
3404
|
*/
|
3401
3405
|
validationComparer;
|
3402
3406
|
/**
|
3403
|
-
*
|
3407
|
+
* Sets the label text for the Min value in the data validation dialog.
|
3404
3408
|
*/
|
3405
3409
|
validationMinValue;
|
3406
3410
|
/**
|
3407
|
-
*
|
3411
|
+
* Sets the label text for the Max value in the data validation dialog.
|
3408
3412
|
*/
|
3409
3413
|
validationMaxValue;
|
3410
3414
|
/**
|
3411
|
-
*
|
3415
|
+
* Sets the label text for the Start value in the data validation dialog.
|
3412
3416
|
*/
|
3413
3417
|
validationStartValue;
|
3414
3418
|
/**
|
3415
|
-
*
|
3419
|
+
* Sets the label text for the End value in the data validation dialog.
|
3416
3420
|
*/
|
3417
3421
|
validationEndValue;
|
3418
3422
|
/**
|
3419
|
-
*
|
3423
|
+
* Sets the label text for the Value in the data validation dialog.
|
3420
3424
|
*/
|
3421
3425
|
validationValue;
|
3422
3426
|
/**
|
3423
|
-
*
|
3427
|
+
* Sets the label text for the Show list button checkbox in the data validation dialog.
|
3424
3428
|
*/
|
3425
3429
|
validationShowListButtonCheckbox;
|
3426
3430
|
/**
|
3427
|
-
*
|
3431
|
+
* Sets the label text for the Show date button checkbox in the data validation dialog.
|
3428
3432
|
*/
|
3429
3433
|
validationShowDateButtonCheckbox;
|
3430
3434
|
/**
|
3431
|
-
*
|
3435
|
+
* Sets the label text for the Ignore blank checkbox in the data validation dialog.
|
3432
3436
|
*/
|
3433
3437
|
validationIgnoreBlankCheckbox;
|
3434
3438
|
/**
|
3435
|
-
*
|
3439
|
+
* Sets the label text for the On invalid data option in the data validation dialog.
|
3436
3440
|
*/
|
3437
3441
|
validationOnInvalidData;
|
3438
3442
|
/**
|
3439
|
-
*
|
3443
|
+
* Sets the label text for the Reject input radio button in the data validation dialog.
|
3440
3444
|
*/
|
3441
3445
|
validationRejectInput;
|
3442
3446
|
/**
|
3443
|
-
*
|
3447
|
+
* Sets the label text for the Show warning radio button in the data validation dialog.
|
3444
3448
|
*/
|
3445
3449
|
validationShowWarning;
|
3446
3450
|
/**
|
3447
|
-
*
|
3451
|
+
* Sets the label text for the Show hint checkbox in the data validation dialog.
|
3448
3452
|
*/
|
3449
3453
|
validationShowHint;
|
3450
3454
|
/**
|
3451
|
-
*
|
3455
|
+
* Sets the text for the Any value validation criteria.
|
3452
3456
|
*/
|
3453
3457
|
anyValueValidationCriteria;
|
3454
3458
|
/**
|
3455
|
-
*
|
3459
|
+
* Sets the text for the Number validation criteria.
|
3456
3460
|
*/
|
3457
3461
|
numberValidationCriteria;
|
3458
3462
|
/**
|
3459
|
-
*
|
3463
|
+
* Sets the text for the Text validation criteria.
|
3460
3464
|
*/
|
3461
3465
|
textValidationCriteria;
|
3462
3466
|
/**
|
3463
|
-
*
|
3467
|
+
* Sets the text for the Date validation criteria.
|
3464
3468
|
*/
|
3465
3469
|
dateValidationCriteria;
|
3466
3470
|
/**
|
3467
|
-
*
|
3471
|
+
* Sets the text for the Custom Formula validation criteria.
|
3468
3472
|
*/
|
3469
3473
|
customFormulaValidationCriteria;
|
3470
3474
|
/**
|
3471
|
-
*
|
3475
|
+
* Sets the text for the List validation criteria.
|
3472
3476
|
*/
|
3473
3477
|
listValidationCriteria;
|
3474
3478
|
/**
|
3475
|
-
*
|
3479
|
+
* Sets the text for the greater than validation comparer.
|
3476
3480
|
*/
|
3477
3481
|
greaterThanValidationComparer;
|
3478
3482
|
/**
|
3479
|
-
*
|
3483
|
+
* Sets the text for the less than validation comparer.
|
3480
3484
|
*/
|
3481
3485
|
lessThanValidationComparer;
|
3482
3486
|
/**
|
3483
|
-
*
|
3487
|
+
* Sets the text for the between validation comparer.
|
3484
3488
|
*/
|
3485
3489
|
betweenValidationComparer;
|
3486
3490
|
/**
|
3487
|
-
*
|
3491
|
+
* Sets the text for the not between validation comparer.
|
3488
3492
|
*/
|
3489
3493
|
notBetweenValidationComparer;
|
3490
3494
|
/**
|
3491
|
-
*
|
3495
|
+
* Sets the text for the equal to validation comparer.
|
3492
3496
|
*/
|
3493
3497
|
equalToValidationComparer;
|
3494
3498
|
/**
|
3495
|
-
*
|
3499
|
+
* Sets the text for the not equal to validation comparer.
|
3496
3500
|
*/
|
3497
3501
|
notEqualToValidationComparer;
|
3498
3502
|
/**
|
3499
|
-
*
|
3503
|
+
* Sets the text for the greater than or equal to validation comparer.
|
3500
3504
|
*/
|
3501
3505
|
greaterThanOrEqualToValidationComparer;
|
3502
3506
|
/**
|
3503
|
-
*
|
3507
|
+
* Sets the text for the less than or equal to validation comparer.
|
3504
3508
|
*/
|
3505
3509
|
lessThanOrEqualToValidationComparer;
|
3506
3510
|
/**
|
3507
|
-
*
|
3511
|
+
* Sets the label text for the Custom hint input in the data validation dialog.
|
3508
3512
|
*/
|
3509
3513
|
validationHintMessage;
|
3510
3514
|
/**
|
3511
|
-
*
|
3515
|
+
* Sets the label text for the Custom hint title input in the data validation dialog.
|
3512
3516
|
*/
|
3513
3517
|
validationHintTitle;
|
3514
3518
|
/**
|
3515
|
-
*
|
3519
|
+
* Sets the title for the **Italic** tool.
|
3516
3520
|
*/
|
3517
3521
|
italic;
|
3518
3522
|
/**
|
3519
|
-
*
|
3523
|
+
* Sets the title for the **Underline** tool.
|
3520
3524
|
*/
|
3521
3525
|
underline;
|
3522
3526
|
/**
|
3523
|
-
*
|
3527
|
+
* Sets the title for the **Format** tool.
|
3524
3528
|
*/
|
3525
3529
|
format;
|
3526
3530
|
/**
|
3527
|
-
*
|
3531
|
+
* Sets the title for the **Font Family** tool.
|
3528
3532
|
*/
|
3529
3533
|
fontFamily;
|
3530
3534
|
/**
|
3531
|
-
*
|
3535
|
+
* Sets the title for the **Font Size** tool.
|
3532
3536
|
*/
|
3533
3537
|
fontSize;
|
3534
3538
|
/**
|
3535
|
-
*
|
3539
|
+
* Sets the title for the **Undo** tool.
|
3536
3540
|
*/
|
3537
3541
|
undo;
|
3538
3542
|
/**
|
3539
|
-
*
|
3543
|
+
* Sets the title for the **Redo** tool.
|
3540
3544
|
*/
|
3541
3545
|
redo;
|
3542
3546
|
/**
|
3543
|
-
*
|
3547
|
+
* Sets the title for the tool that changes the text background color.
|
3544
3548
|
*/
|
3545
3549
|
background;
|
3546
3550
|
/**
|
3547
|
-
*
|
3551
|
+
* Sets the title for the tool that changes the text font color.
|
3548
3552
|
*/
|
3549
3553
|
color;
|
3550
3554
|
/**
|
3551
|
-
*
|
3555
|
+
* Sets the title for the **Grid Lines** tool.
|
3552
3556
|
*/
|
3553
3557
|
gridLines;
|
3554
3558
|
/**
|
3555
|
-
*
|
3559
|
+
* Sets the title for the tool that adds a new column before the selected column.
|
3556
3560
|
*/
|
3557
3561
|
addColumnLeft;
|
3558
3562
|
/**
|
3559
|
-
*
|
3563
|
+
* Sets the title for the tool that adds a new column after the selected column.
|
3560
3564
|
*/
|
3561
3565
|
addColumnRight;
|
3562
3566
|
/**
|
3563
|
-
*
|
3567
|
+
* Sets the title for the tool that adds a new row below the selected row.
|
3564
3568
|
*/
|
3565
3569
|
addRowBelow;
|
3566
3570
|
/**
|
3567
|
-
*
|
3571
|
+
* Sets the title for the tool that adds a new row above the selected row.
|
3568
3572
|
*/
|
3569
3573
|
addRowAbove;
|
3570
3574
|
/**
|
3571
|
-
*
|
3575
|
+
* Sets the title for the tool that deletes a column.
|
3572
3576
|
*/
|
3573
3577
|
deleteColumn;
|
3574
3578
|
/**
|
3575
|
-
*
|
3579
|
+
* Sets the title for the tool that deletes a row.
|
3576
3580
|
*/
|
3577
3581
|
deleteRow;
|
3578
3582
|
/**
|
3579
|
-
*
|
3583
|
+
* Sets the title for the **Text Wrap** tool.
|
3580
3584
|
*/
|
3581
3585
|
wrap;
|
3582
3586
|
/**
|
3583
|
-
*
|
3587
|
+
* Sets the title for the **Text Align** tool.
|
3584
3588
|
*/
|
3585
3589
|
align;
|
3586
3590
|
/**
|
3587
|
-
*
|
3591
|
+
* Sets the title for the **Text Align Horizontal** tool.
|
3588
3592
|
*/
|
3589
3593
|
alignHorizontal;
|
3590
3594
|
/**
|
3591
|
-
*
|
3595
|
+
* Sets the title for the **Text Align Vertical** tool.
|
3592
3596
|
*/
|
3593
3597
|
alignVertical;
|
3594
3598
|
/**
|
3595
|
-
*
|
3599
|
+
* Sets the title for the **Text Align Left** tool.
|
3596
3600
|
*/
|
3597
3601
|
alignLeft;
|
3598
3602
|
/**
|
3599
|
-
*
|
3603
|
+
* Sets the title for the **Text Align Center** tool.
|
3600
3604
|
*/
|
3601
3605
|
alignCenter;
|
3602
3606
|
/**
|
3603
|
-
*
|
3607
|
+
* Sets the title for the **Text Align Right** tool.
|
3604
3608
|
*/
|
3605
3609
|
alignRight;
|
3606
3610
|
/**
|
3607
|
-
*
|
3611
|
+
* Sets the title for the **Text Align Justify** tool.
|
3608
3612
|
*/
|
3609
3613
|
alignJustify;
|
3610
3614
|
/**
|
3611
|
-
*
|
3615
|
+
* Sets the title for the **Text Align Top** tool.
|
3612
3616
|
*/
|
3613
3617
|
alignTop;
|
3614
3618
|
/**
|
3615
|
-
*
|
3619
|
+
* Sets the title for the **Text Align Middle** tool.
|
3616
3620
|
*/
|
3617
3621
|
alignMiddle;
|
3618
3622
|
/**
|
3619
|
-
*
|
3623
|
+
* Sets the title for the **Text Align Bottom** tool.
|
3620
3624
|
*/
|
3621
3625
|
alignBottom;
|
3622
3626
|
/* Dialogs */
|
3623
3627
|
/**
|
3624
|
-
*
|
3628
|
+
* Sets the text for the **Apply** button in all Spreadsheet dialogs.
|
3625
3629
|
*/
|
3626
3630
|
dialogApply;
|
3627
3631
|
/* Dialogs */
|
3628
3632
|
/**
|
3629
|
-
*
|
3633
|
+
* Sets the text for the **Cancel** button in all Spreadsheet dialogs.
|
3630
3634
|
*/
|
3631
3635
|
dialogCancel;
|
3632
3636
|
/**
|
3633
|
-
*
|
3637
|
+
* Sets the text for the **Delete** button in the Delete sheet dialog.
|
3634
3638
|
*/
|
3635
3639
|
dialogDelete;
|
3636
3640
|
/**
|
3637
|
-
*
|
3641
|
+
* Sets the text for the **Rename** button in the Rename sheet dialog.
|
3638
3642
|
*/
|
3639
3643
|
dialogRename;
|
3640
3644
|
/**
|
3641
|
-
*
|
3645
|
+
* Sets the text for the **Insert** button in all Spreadsheet dialogs.
|
3642
3646
|
*/
|
3643
3647
|
dialogInsert;
|
3644
3648
|
/**
|
3645
|
-
*
|
3649
|
+
* Sets the text for the **Remove** button in all Spreadsheet dialogs.
|
3646
3650
|
*/
|
3647
3651
|
dialogRemove;
|
3648
3652
|
/**
|
3649
|
-
*
|
3653
|
+
* Sets the text for the **Remove link** button in the Link tool dialog.
|
3650
3654
|
*/
|
3651
3655
|
dialogRemoveLink;
|
3652
3656
|
/**
|
3653
|
-
*
|
3657
|
+
* Sets the title for the Delete sheet dialog.
|
3654
3658
|
*/
|
3655
3659
|
delete;
|
3656
3660
|
/**
|
3657
|
-
*
|
3661
|
+
* Sets the title for the Rename sheet dialog.
|
3658
3662
|
*/
|
3659
3663
|
rename;
|
3660
3664
|
/**
|
3661
|
-
*
|
3665
|
+
* Sets the title for the Name Box input.
|
3662
3666
|
*/
|
3663
3667
|
nameBox;
|
3664
3668
|
/**
|
3665
|
-
*
|
3669
|
+
* Sets the title for the Formula input.
|
3666
3670
|
*/
|
3667
3671
|
formulaInput;
|
3668
3672
|
/**
|
3669
|
-
*
|
3673
|
+
* Sets the title for the Add new sheet button.
|
3670
3674
|
*/
|
3671
3675
|
addSheet;
|
3672
3676
|
/**
|
3673
|
-
*
|
3677
|
+
* Sets the title for the Sheets menu button.
|
3674
3678
|
*/
|
3675
3679
|
sheetsMenu;
|
3676
3680
|
/**
|
3677
|
-
*
|
3681
|
+
* Sets the text for the View toolbar tab.
|
3678
3682
|
*/
|
3679
3683
|
view;
|
3680
3684
|
/**
|
3681
|
-
*
|
3685
|
+
* Sets the title for the Cells Merge tool.
|
3682
3686
|
*/
|
3683
3687
|
merge;
|
3684
3688
|
/**
|
3685
|
-
*
|
3689
|
+
* Sets the title for the Merge horizontally tool.
|
3686
3690
|
*/
|
3687
3691
|
mergeHorizontally;
|
3688
3692
|
/**
|
3689
|
-
*
|
3693
|
+
* Sets the title for the Merge vertically tool.
|
3690
3694
|
*/
|
3691
3695
|
mergeVertically;
|
3692
3696
|
/**
|
3693
|
-
*
|
3697
|
+
* Sets the title for the Merge all tool.
|
3694
3698
|
*/
|
3695
3699
|
mergeAll;
|
3696
3700
|
/**
|
3697
|
-
*
|
3701
|
+
* Sets the title for the Unmerge tool.
|
3698
3702
|
*/
|
3699
3703
|
unmerge;
|
3700
3704
|
/**
|
3701
|
-
*
|
3705
|
+
* Sets the title for the tool that inserts a link.
|
3702
3706
|
*/
|
3703
3707
|
insertLink;
|
3704
3708
|
/**
|
3705
|
-
*
|
3709
|
+
* Sets the title for the tool that increases decimals.
|
3706
3710
|
*/
|
3707
3711
|
increaseDecimal;
|
3708
3712
|
/**
|
3709
|
-
*
|
3713
|
+
* Sets the title for the tool that decreases decimals.
|
3710
3714
|
*/
|
3711
3715
|
decreaseDecimal;
|
3712
3716
|
/**
|
3713
|
-
*
|
3717
|
+
* Sets the title for the tool that increases the cell font size.
|
3714
3718
|
*/
|
3715
3719
|
increaseFontSize;
|
3716
3720
|
/**
|
3717
|
-
*
|
3721
|
+
* Sets the title for the tool that decreases the cell font size.
|
3718
3722
|
*/
|
3719
3723
|
decreaseFontSize;
|
3720
3724
|
/**
|
3721
|
-
*
|
3725
|
+
* Sets the content for the dialog that warns about an unsupported file type.
|
3722
3726
|
*/
|
3723
3727
|
openUnsupported;
|
3724
3728
|
/**
|
3725
|
-
*
|
3729
|
+
* Sets the content for the dialog that warns about modifying a merged cell.
|
3726
3730
|
*/
|
3727
3731
|
modifyMerged;
|
3728
3732
|
/**
|
3729
|
-
*
|
3733
|
+
* Sets the content for the dialog that warns about modifying a disabled cell.
|
3730
3734
|
*/
|
3731
3735
|
cannotModifyDisabled;
|
3732
3736
|
/**
|
3733
|
-
*
|
3737
|
+
* Sets the text for the **OK** dialog button.
|
3734
3738
|
*/
|
3735
3739
|
dialogOk;
|
3736
3740
|
/**
|
3737
|
-
*
|
3741
|
+
* Sets the title for an error dialog.
|
3738
3742
|
*/
|
3739
3743
|
dialogError;
|
3740
3744
|
/**
|
3741
|
-
*
|
3745
|
+
* Sets the content for the dialog that warns about duplicated sheet name.
|
3742
3746
|
*/
|
3743
3747
|
duplicateSheetName;
|
3744
3748
|
/**
|
3745
|
-
*
|
3749
|
+
* Sets the Copy command text.
|
3746
3750
|
*/
|
3747
3751
|
copy;
|
3748
3752
|
/**
|
3749
|
-
*
|
3753
|
+
* Sets the Cut command text.
|
3750
3754
|
*/
|
3751
3755
|
cut;
|
3752
3756
|
/**
|
3753
|
-
*
|
3757
|
+
* Sets the Paste command text.
|
3754
3758
|
*/
|
3755
3759
|
paste;
|
3756
3760
|
/**
|
3757
|
-
*
|
3761
|
+
* Sets the Hide row command text.
|
3758
3762
|
*/
|
3759
3763
|
hideRow;
|
3760
3764
|
/**
|
3761
|
-
*
|
3765
|
+
* Sets the Unhide row command text.
|
3762
3766
|
*/
|
3763
3767
|
unhideRow;
|
3764
3768
|
/**
|
3765
|
-
*
|
3769
|
+
* Sets the Hide column command text.
|
3766
3770
|
*/
|
3767
3771
|
hideColumn;
|
3768
3772
|
/**
|
3769
|
-
*
|
3773
|
+
* Sets the Unhide column command text.
|
3770
3774
|
*/
|
3771
3775
|
unhideColumn;
|
3772
3776
|
/**
|
3773
|
-
*
|
3777
|
+
* Sets the text for the Sheet menu Delete option.
|
3774
3778
|
*/
|
3775
3779
|
sheetDelete;
|
3776
3780
|
/**
|
3777
|
-
*
|
3781
|
+
* Sets the text for the Sheet menu Rename option.
|
3778
3782
|
*/
|
3779
3783
|
sheetRename;
|
3780
3784
|
/**
|
3781
|
-
*
|
3785
|
+
* Sets the text for the Sheet menu Hide option.
|
3782
3786
|
*/
|
3783
3787
|
sheetHide;
|
3784
3788
|
/**
|
3785
|
-
*
|
3789
|
+
* Sets the text for the Sheet menu Duplicate option.
|
3786
3790
|
*/
|
3787
3791
|
sheetDuplicate;
|
3788
3792
|
/**
|
3789
|
-
*
|
3793
|
+
* Sets the text for the Sheet menu Move Left option.
|
3790
3794
|
*/
|
3791
3795
|
sheetMoveLeft;
|
3792
3796
|
/**
|
3793
|
-
*
|
3797
|
+
* Sets the text for the Sheet menu Move Right option.
|
3794
3798
|
*/
|
3795
3799
|
sheetMoveRight;
|
3796
3800
|
/**
|
3797
|
-
*
|
3801
|
+
* Sets the content for the dialog that warns about invalid name input.
|
3798
3802
|
*
|
3799
3803
|
* The content consists of a two-part message - the input value and a localizable string.
|
3800
3804
|
* For user value input **A1%**, the default dialog content will be **Invalid name: A1%**.
|
@@ -4826,6 +4830,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
4826
4830
|
|
4827
4831
|
/**
|
4828
4832
|
* Represents the [Kendo UI Spreadsheet component for Angular]({% slug overview_spreadsheet %}).
|
4833
|
+
*
|
4834
|
+
* @example
|
4835
|
+
* ```html
|
4836
|
+
* <kendo-spreadsheet [sheets]="sheets"></kendo-spreadsheet>
|
4837
|
+
* ```
|
4838
|
+
*
|
4839
|
+
* @remarks
|
4840
|
+
* Supported children components are: {@link CustomMessagesComponent}
|
4829
4841
|
*/
|
4830
4842
|
class SpreadsheetComponent {
|
4831
4843
|
ngZone;
|
@@ -4888,7 +4900,7 @@ class SpreadsheetComponent {
|
|
4888
4900
|
return this._activeSheet || this.spreadsheetService.spreadsheet?.activeSheet()?.name();
|
4889
4901
|
}
|
4890
4902
|
/**
|
4891
|
-
* An array
|
4903
|
+
* An array of `SheetDescriptor` objects that describe the sheets in the Spreadsheet.
|
4892
4904
|
*/
|
4893
4905
|
set sheets(value) {
|
4894
4906
|
const items = value.map((item, index, items) => ({
|
@@ -4971,18 +4983,18 @@ class SpreadsheetComponent {
|
|
4971
4983
|
/**
|
4972
4984
|
* Fired when the end user clicks the Export to Excel toolbar button.
|
4973
4985
|
* The event is preventable and exposes the `Workbook` object, a `preventDefault` method
|
4974
|
-
* (if invoked, the generated file will not be saved), and the SpreadsheetWidget instance.
|
4986
|
+
* (if invoked, the generated file will not be saved), and the `SpreadsheetWidget` instance.
|
4975
4987
|
*/
|
4976
4988
|
excelExport = new EventEmitter();
|
4977
4989
|
/**
|
4978
4990
|
* Fired when the end user clicks the Open toolbar button.
|
4979
4991
|
* The event is preventable and exposes the selected `File` or `Blob`, a `preventDefault` method
|
4980
|
-
* (if invoked, the selected file will not be loaded), and the SpreadsheetWidget instance.
|
4992
|
+
* (if invoked, the selected file will not be loaded), and the `SpreadsheetWidget` instance.
|
4981
4993
|
*/
|
4982
4994
|
excelImport = new EventEmitter();
|
4983
4995
|
/**
|
4984
4996
|
* Fired when the active sheet is about to change.
|
4985
|
-
* The event exposes the new active `Sheet` and the SpreadsheetWidget instance.
|
4997
|
+
* The event exposes the new active `Sheet` and the `SpreadsheetWidget` instance.
|
4986
4998
|
*/
|
4987
4999
|
activeSheetChange = new EventEmitter();
|
4988
5000
|
formulaFxIcon = formulaFxIcon;
|
@@ -6382,7 +6394,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
6382
6394
|
}] } });
|
6383
6395
|
|
6384
6396
|
/**
|
6385
|
-
*
|
6397
|
+
* Overrides the default Spreadsheet component messages with custom messages.
|
6398
|
+
* You can use this component to provide custom text for the Spreadsheet UI elements, such as the toolbar, dialogs, and other components.
|
6399
|
+
*
|
6400
|
+
* @example
|
6401
|
+
* ```html
|
6402
|
+
* <kendo-spreadsheet [sheets]="sheets">
|
6403
|
+
* <kendo-spreadsheet-messages home="Home" file="File">
|
6404
|
+
* </kendo-spreadsheet-messages>
|
6405
|
+
* </kendo-spreadsheet>
|
6406
|
+
* ```
|
6386
6407
|
*/
|
6387
6408
|
class CustomMessagesComponent extends MessagesDirective {
|
6388
6409
|
service;
|
@@ -6463,7 +6484,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
6463
6484
|
}], ctorParameters: function () { return [{ type: i1$3.ToolBarDropDownButtonComponent }, { type: SpreadsheetLocalizationService }, { type: SpreadsheetService }, { type: SpreadsheetToolsService }]; } });
|
6464
6485
|
|
6465
6486
|
/**
|
6466
|
-
*
|
6487
|
+
* Use this utility array to access all `@progress/kendo-angular-spreadsheet`-related components and directives in a standalone Angular component.
|
6488
|
+
*
|
6489
|
+
* @example
|
6490
|
+
* ```typescript
|
6491
|
+
* import { Component } from '@angular/core';
|
6492
|
+
* import { KENDO_SPREADSHEET } from '@progress/kendo-angular-spreadsheet';
|
6493
|
+
*
|
6494
|
+
* @Component({
|
6495
|
+
* selector: 'my-app',
|
6496
|
+
* standalone: true,
|
6497
|
+
* imports: [KENDO_SPREADSHEET],
|
6498
|
+
* template: `<kendo-spreadsheet [sheets]="sheets"></kendo-spreadsheet>`
|
6499
|
+
* })
|
6500
|
+
*
|
6501
|
+
* export class AppComponent {
|
6502
|
+
* public sheets = SheetDescriptor[] = sampleSheet;
|
6503
|
+
* }
|
6504
|
+
* ```
|
6467
6505
|
*/
|
6468
6506
|
const KENDO_SPREADSHEET = [
|
6469
6507
|
SpreadsheetComponent,
|
@@ -6502,8 +6540,17 @@ const KENDO_SPREADSHEET = [
|
|
6502
6540
|
|
6503
6541
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
6504
6542
|
/**
|
6505
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
6506
|
-
*
|
6543
|
+
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the Spreadsheet component.
|
6544
|
+
*
|
6545
|
+
* @example
|
6546
|
+
* ```typescript
|
6547
|
+
* import { SpreadsheetModule } from '@progress/kendo-angular-spreadsheet';
|
6548
|
+
*
|
6549
|
+
* @NgModule({
|
6550
|
+
* imports: [SpreadsheetModule]
|
6551
|
+
* })
|
6552
|
+
* export class AppModule {}
|
6553
|
+
* ```
|
6507
6554
|
*/
|
6508
6555
|
class SpreadsheetModule {
|
6509
6556
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SpreadsheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|