@progress/kendo-react-editor 5.15.0-dev.202307180734 → 5.15.0-dev.202307181521
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/dist/cdn/js/kendo-react-editor.js +1 -1
- package/dist/es/Editor.js +7 -0
- package/dist/es/messages/index.d.ts +162 -0
- package/dist/es/messages/index.js +487 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/tools/insertTable/tool.js +3 -2
- package/dist/es/tools/main.d.ts +20 -0
- package/dist/es/tools/main.js +12 -0
- package/dist/es/tools/table-wizard/tableCellProperties.d.ts +35 -0
- package/dist/es/tools/table-wizard/tableCellProperties.js +471 -0
- package/dist/es/tools/table-wizard/tableProperties.d.ts +11 -0
- package/dist/es/tools/table-wizard/tableProperties.js +701 -0
- package/dist/es/tools/table-wizard/utils.d.ts +25 -0
- package/dist/es/tools/table-wizard/utils.js +90 -0
- package/dist/es/tools/tableEdit.d.ts +9 -0
- package/dist/es/tools/tableEdit.js +2 -2
- package/dist/es/tools/utils.d.ts +30 -1
- package/dist/es/tools/utils.js +39 -1
- package/dist/npm/Editor.js +7 -0
- package/dist/npm/messages/index.d.ts +162 -0
- package/dist/npm/messages/index.js +487 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/tools/insertTable/tool.js +2 -1
- package/dist/npm/tools/main.d.ts +20 -0
- package/dist/npm/tools/main.js +12 -0
- package/dist/npm/tools/table-wizard/tableCellProperties.d.ts +35 -0
- package/dist/npm/tools/table-wizard/tableCellProperties.js +479 -0
- package/dist/npm/tools/table-wizard/tableProperties.d.ts +11 -0
- package/dist/npm/tools/table-wizard/tableProperties.js +705 -0
- package/dist/npm/tools/table-wizard/utils.d.ts +25 -0
- package/dist/npm/tools/table-wizard/utils.js +97 -0
- package/dist/npm/tools/tableEdit.d.ts +9 -0
- package/dist/npm/tools/tableEdit.js +5 -3
- package/dist/npm/tools/utils.d.ts +30 -1
- package/dist/npm/tools/utils.js +43 -1
- package/dist/systemjs/kendo-react-editor.js +1 -1
- package/package.json +13 -13
|
@@ -326,6 +326,330 @@ var foreColorLabel = 'editorTools.foreColorLabel';
|
|
|
326
326
|
* @hidden
|
|
327
327
|
*/
|
|
328
328
|
var backColorLabel = 'editorTools.backColorLabel';
|
|
329
|
+
/**
|
|
330
|
+
* @hidden
|
|
331
|
+
*/
|
|
332
|
+
var cellProperties = 'editor.cellProperties';
|
|
333
|
+
/**
|
|
334
|
+
* @hidden
|
|
335
|
+
*/
|
|
336
|
+
var cellPropertiesLeftTop = 'editor.cellPropertiesLeftTop';
|
|
337
|
+
/**
|
|
338
|
+
* @hidden
|
|
339
|
+
*/
|
|
340
|
+
var cellPropertiesCenterTop = 'editor.cellPropertiesCenterTop';
|
|
341
|
+
/**
|
|
342
|
+
* @hidden
|
|
343
|
+
*/
|
|
344
|
+
var cellPropertiesRightTop = 'editor.cellPropertiesRightTop';
|
|
345
|
+
/**
|
|
346
|
+
* @hidden
|
|
347
|
+
*/
|
|
348
|
+
var cellPropertiesLeftMiddle = 'editor.cellPropertiesLeftMiddle';
|
|
349
|
+
/**
|
|
350
|
+
* @hidden
|
|
351
|
+
*/
|
|
352
|
+
var cellPropertiesCenterMiddle = 'editor.cellPropertiesCenterMiddle';
|
|
353
|
+
/**
|
|
354
|
+
* @hidden
|
|
355
|
+
*/
|
|
356
|
+
var cellPropertiesRightMiddle = 'editor.cellPropertiesRightMiddle';
|
|
357
|
+
/**
|
|
358
|
+
* @hidden
|
|
359
|
+
*/
|
|
360
|
+
var cellPropertiesLeftBottom = 'editor.cellPropertiesLeftBottom';
|
|
361
|
+
/**
|
|
362
|
+
* @hidden
|
|
363
|
+
*/
|
|
364
|
+
var cellPropertiesCenterBottom = 'editor.cellPropertiesCenterBottom';
|
|
365
|
+
/**
|
|
366
|
+
* @hidden
|
|
367
|
+
*/
|
|
368
|
+
var cellPropertiesRightBottom = 'editor.cellPropertiesRightBottom';
|
|
369
|
+
/**
|
|
370
|
+
* @hidden
|
|
371
|
+
*/
|
|
372
|
+
var cellPropertiesNoAlignment = 'editor.cellPropertiesNoAlignment';
|
|
373
|
+
/**
|
|
374
|
+
* @hidden
|
|
375
|
+
*/
|
|
376
|
+
var cellPropertiesWrap = 'editor.cellPropertiesWrap';
|
|
377
|
+
/**
|
|
378
|
+
* @hidden
|
|
379
|
+
*/
|
|
380
|
+
var cellPropertiesFitToCell = 'editor.cellPropertiesFitToCell';
|
|
381
|
+
/**
|
|
382
|
+
* @hidden
|
|
383
|
+
*/
|
|
384
|
+
var cellPropertiesApplyToAllCells = 'editor.cellPropertiesApplyToAllCells';
|
|
385
|
+
/**
|
|
386
|
+
* @hidden
|
|
387
|
+
*/
|
|
388
|
+
var cellPropertiesWidth = 'editor.cellPropertiesWidth';
|
|
389
|
+
/**
|
|
390
|
+
* @hidden
|
|
391
|
+
*/
|
|
392
|
+
var cellPropertiesApplyToColumn = 'editor.cellPropertiesApplyToColumn';
|
|
393
|
+
/**
|
|
394
|
+
* @hidden
|
|
395
|
+
*/
|
|
396
|
+
var cellPropertiesHeight = 'editor.cellPropertiesHeight';
|
|
397
|
+
/**
|
|
398
|
+
* @hidden
|
|
399
|
+
*/
|
|
400
|
+
var cellPropertiesApplyToRow = 'editor.cellPropertiesApplyToRow';
|
|
401
|
+
/**
|
|
402
|
+
* @hidden
|
|
403
|
+
*/
|
|
404
|
+
var cellPropertiesAlignment = 'editor.cellPropertiesAlignment';
|
|
405
|
+
/**
|
|
406
|
+
* @hidden
|
|
407
|
+
*/
|
|
408
|
+
var cellPropertiesTextControl = 'editor.cellPropertiesTextControl';
|
|
409
|
+
/**
|
|
410
|
+
* @hidden
|
|
411
|
+
*/
|
|
412
|
+
var cellPropertiesCellPadding = 'editor.cellPropertiesCellPadding';
|
|
413
|
+
/**
|
|
414
|
+
* @hidden
|
|
415
|
+
*/
|
|
416
|
+
var cellPropertiesBackground = 'editor.cellPropertiesBackground';
|
|
417
|
+
/**
|
|
418
|
+
* @hidden
|
|
419
|
+
*/
|
|
420
|
+
var cellPropertiesBorderWidth = 'editor.cellPropertiesBorderWidth';
|
|
421
|
+
/**
|
|
422
|
+
* @hidden
|
|
423
|
+
*/
|
|
424
|
+
var cellPropertiesBorderColor = 'editor.cellPropertiesBorderColor';
|
|
425
|
+
/**
|
|
426
|
+
* @hidden
|
|
427
|
+
*/
|
|
428
|
+
var cellPropertiesBorderStyle = 'editor.cellPropertiesBorderStyle';
|
|
429
|
+
/**
|
|
430
|
+
* @hidden
|
|
431
|
+
*/
|
|
432
|
+
var cellPropertiesId = 'editor.cellPropertiesId';
|
|
433
|
+
/**
|
|
434
|
+
* @hidden
|
|
435
|
+
*/
|
|
436
|
+
var cellPropertiesCssClass = 'editor.cellPropertiesCssClass';
|
|
437
|
+
/**
|
|
438
|
+
* @hidden
|
|
439
|
+
*/
|
|
440
|
+
var cellPropertiesSave = 'editor.cellPropertiesSave';
|
|
441
|
+
/**
|
|
442
|
+
* @hidden
|
|
443
|
+
*/
|
|
444
|
+
var cellPropertiesCancel = 'editor.cellPropertiesCancel';
|
|
445
|
+
/**
|
|
446
|
+
* @hidden
|
|
447
|
+
*/
|
|
448
|
+
var tableProperties = 'editor.tableProperties';
|
|
449
|
+
/**
|
|
450
|
+
* @hidden
|
|
451
|
+
*/
|
|
452
|
+
var tablePropertiesAlignLeft = 'editor.tablePropertiesAlignLeft';
|
|
453
|
+
/**
|
|
454
|
+
* @hidden
|
|
455
|
+
*/
|
|
456
|
+
var tablePropertiesAlignCenter = 'editor.tablePropertiesAlignCenter';
|
|
457
|
+
/**
|
|
458
|
+
* @hidden
|
|
459
|
+
*/
|
|
460
|
+
var tablePropertiesAlignRight = 'editor.tablePropertiesAlignRight';
|
|
461
|
+
/**
|
|
462
|
+
* @hidden
|
|
463
|
+
*/
|
|
464
|
+
var tablePropertiesNoAlignment = 'editor.tablePropertiesNoAlignment';
|
|
465
|
+
/**
|
|
466
|
+
* @hidden
|
|
467
|
+
*/
|
|
468
|
+
var tablePropertiesLeft = 'editor.tablePropertiesLeft';
|
|
469
|
+
/**
|
|
470
|
+
* @hidden
|
|
471
|
+
*/
|
|
472
|
+
var tablePropertiesCenter = 'editor.tablePropertiesCenter';
|
|
473
|
+
/**
|
|
474
|
+
* @hidden
|
|
475
|
+
*/
|
|
476
|
+
var tablePropertiesRight = 'editor.tablePropertiesRight';
|
|
477
|
+
/**
|
|
478
|
+
* @hidden
|
|
479
|
+
*/
|
|
480
|
+
var tablePropertiesTop = 'editor.tablePropertiesTop';
|
|
481
|
+
/**
|
|
482
|
+
* @hidden
|
|
483
|
+
*/
|
|
484
|
+
var tablePropertiesBottom = 'editor.tablePropertiesBottom';
|
|
485
|
+
/**
|
|
486
|
+
* @hidden
|
|
487
|
+
*/
|
|
488
|
+
var tablePropertiesNone = 'editor.tablePropertiesNone';
|
|
489
|
+
/**
|
|
490
|
+
* @hidden
|
|
491
|
+
*/
|
|
492
|
+
var tablePropertiesUsingScopeAttribute = 'editor.tablePropertiesUsingScopeAttribute';
|
|
493
|
+
/**
|
|
494
|
+
* @hidden
|
|
495
|
+
*/
|
|
496
|
+
var tablePropertiesUsingIdAttributes = 'editor.tablePropertiesUsingIdAttributes';
|
|
497
|
+
/**
|
|
498
|
+
* @hidden
|
|
499
|
+
*/
|
|
500
|
+
var tablePropertiesRows = 'editor.tablePropertiesRows';
|
|
501
|
+
/**
|
|
502
|
+
* @hidden
|
|
503
|
+
*/
|
|
504
|
+
var tablePropertiesColumns = 'editor.tablePropertiesColumns';
|
|
505
|
+
/**
|
|
506
|
+
* @hidden
|
|
507
|
+
*/
|
|
508
|
+
var tablePropertiesWidth = 'editor.tablePropertiesWidth';
|
|
509
|
+
/**
|
|
510
|
+
* @hidden
|
|
511
|
+
*/
|
|
512
|
+
var tablePropertiesHeight = 'editor.tablePropertiesHeight';
|
|
513
|
+
/**
|
|
514
|
+
* @hidden
|
|
515
|
+
*/
|
|
516
|
+
var tablePropertiesPosition = 'editor.tablePropertiesPosition';
|
|
517
|
+
/**
|
|
518
|
+
* @hidden
|
|
519
|
+
*/
|
|
520
|
+
var tablePropertiesAlignment = 'editor.tablePropertiesAlignment';
|
|
521
|
+
/**
|
|
522
|
+
* @hidden
|
|
523
|
+
*/
|
|
524
|
+
var tablePropertiesCellSpacing = 'editor.tablePropertiesCellSpacing';
|
|
525
|
+
/**
|
|
526
|
+
* @hidden
|
|
527
|
+
*/
|
|
528
|
+
var tablePropertiesCellPadding = 'editor.tablePropertiesCellPadding';
|
|
529
|
+
/**
|
|
530
|
+
* @hidden
|
|
531
|
+
*/
|
|
532
|
+
var tablePropertiesTableBackground = 'editor.tablePropertiesTableBackground';
|
|
533
|
+
/**
|
|
534
|
+
* @hidden
|
|
535
|
+
*/
|
|
536
|
+
var tablePropertiesBorderWidth = 'editor.tablePropertiesBorderWidth';
|
|
537
|
+
/**
|
|
538
|
+
* @hidden
|
|
539
|
+
*/
|
|
540
|
+
var tablePropertiesBorderColor = 'editor.tablePropertiesBorderColor';
|
|
541
|
+
/**
|
|
542
|
+
* @hidden
|
|
543
|
+
*/
|
|
544
|
+
var tablePropertiesBorderStyle = 'editor.tablePropertiesBorderStyle';
|
|
545
|
+
/**
|
|
546
|
+
* @hidden
|
|
547
|
+
*/
|
|
548
|
+
var tablePropertiesCollapseBorders = 'editor.tablePropertiesCollapseBorders';
|
|
549
|
+
/**
|
|
550
|
+
* @hidden
|
|
551
|
+
*/
|
|
552
|
+
var tablePropertiesId = 'editor.tablePropertiesID';
|
|
553
|
+
/**
|
|
554
|
+
* @hidden
|
|
555
|
+
*/
|
|
556
|
+
var tablePropertiesCssClass = 'editor.tablePropertiesCssClass';
|
|
557
|
+
/**
|
|
558
|
+
* @hidden
|
|
559
|
+
*/
|
|
560
|
+
var tablePropertiesAccessibility = 'editor.tablePropertiesAccessibility';
|
|
561
|
+
/**
|
|
562
|
+
* @hidden
|
|
563
|
+
*/
|
|
564
|
+
var tablePropertiesCaption = 'editor.tablePropertiesCaption';
|
|
565
|
+
/**
|
|
566
|
+
* @hidden
|
|
567
|
+
*/
|
|
568
|
+
var tablePropertiesCaptionPosition = 'editor.tablePropertiesCaptionPosition';
|
|
569
|
+
/**
|
|
570
|
+
* @hidden
|
|
571
|
+
*/
|
|
572
|
+
var tablePropertiesCaptionAlignment = 'editor.tablePropertiesCaptionAlignment';
|
|
573
|
+
/**
|
|
574
|
+
* @hidden
|
|
575
|
+
*/
|
|
576
|
+
var tablePropertiesHeaderRows = 'editor.tablePropertiesHeaderRows';
|
|
577
|
+
/**
|
|
578
|
+
* @hidden
|
|
579
|
+
*/
|
|
580
|
+
var tablePropertiesHeaderCols = 'editor.tablePropertiesHeaderCols';
|
|
581
|
+
/**
|
|
582
|
+
* @hidden
|
|
583
|
+
*/
|
|
584
|
+
var tablePropertiesAssociateHeaders = 'editor.tablePropertiesAssociateHeaders';
|
|
585
|
+
/**
|
|
586
|
+
* @hidden
|
|
587
|
+
*/
|
|
588
|
+
var tablePropertiesGeneral = 'editor.tablePropertiesGeneral';
|
|
589
|
+
/**
|
|
590
|
+
* @hidden
|
|
591
|
+
*/
|
|
592
|
+
var tablePropertiesAdvanced = 'editor.tablePropertiesAdvanced';
|
|
593
|
+
/**
|
|
594
|
+
* @hidden
|
|
595
|
+
*/
|
|
596
|
+
var tablePropertiesSave = 'editor.tablePropertiesSave';
|
|
597
|
+
/**
|
|
598
|
+
* @hidden
|
|
599
|
+
*/
|
|
600
|
+
var tablePropertiesCancel = 'editor.tablePropertiesCancel';
|
|
601
|
+
/**
|
|
602
|
+
* @hidden
|
|
603
|
+
*/
|
|
604
|
+
var borderStyleNone = 'editor.borderStyleNone';
|
|
605
|
+
/**
|
|
606
|
+
* @hidden
|
|
607
|
+
*/
|
|
608
|
+
var borderStyleSolid = 'editor.borderStyleSolid';
|
|
609
|
+
/**
|
|
610
|
+
* @hidden
|
|
611
|
+
*/
|
|
612
|
+
var borderStyleDotted = 'editor.borderStyleDotted';
|
|
613
|
+
/**
|
|
614
|
+
* @hidden
|
|
615
|
+
*/
|
|
616
|
+
var borderStyleDashed = 'editor.borderStyleDashed';
|
|
617
|
+
/**
|
|
618
|
+
* @hidden
|
|
619
|
+
*/
|
|
620
|
+
var borderStyleDouble = 'editor.borderStyleDouble';
|
|
621
|
+
/**
|
|
622
|
+
* @hidden
|
|
623
|
+
*/
|
|
624
|
+
var borderStyleGroove = 'editor.borderStyleGroove';
|
|
625
|
+
/**
|
|
626
|
+
* @hidden
|
|
627
|
+
*/
|
|
628
|
+
var borderStyleRidge = 'editor.borderStyleRidge';
|
|
629
|
+
/**
|
|
630
|
+
* @hidden
|
|
631
|
+
*/
|
|
632
|
+
var borderStyleInset = 'editor.borderStyleInset';
|
|
633
|
+
/**
|
|
634
|
+
* @hidden
|
|
635
|
+
*/
|
|
636
|
+
var borderStyleOutset = 'editor.borderStyleOutset';
|
|
637
|
+
/**
|
|
638
|
+
* @hidden
|
|
639
|
+
*/
|
|
640
|
+
var borderStyleInitial = 'editor.borderStyleInitial';
|
|
641
|
+
/**
|
|
642
|
+
* @hidden
|
|
643
|
+
*/
|
|
644
|
+
var borderStyleInherit = 'editor.borderStyleInherit';
|
|
645
|
+
/**
|
|
646
|
+
* @hidden
|
|
647
|
+
*/
|
|
648
|
+
var borderStyleHidden = 'editor.borderStyleHidden';
|
|
649
|
+
/**
|
|
650
|
+
* @hidden
|
|
651
|
+
*/
|
|
652
|
+
var sizeAuto = 'editor.sizeAuto';
|
|
329
653
|
/**
|
|
330
654
|
* @hidden
|
|
331
655
|
*/
|
|
@@ -417,6 +741,87 @@ exports.messages = (_a = {},
|
|
|
417
741
|
_a[iframeTitle] = 'Editable area. Press Alt + F10 for toolbar.',
|
|
418
742
|
_a[foreColorLabel] = 'Fore Color',
|
|
419
743
|
_a[backColorLabel] = 'Back Color',
|
|
744
|
+
_a[cellProperties] = 'Cell properties',
|
|
745
|
+
_a[cellPropertiesLeftTop] = 'Left Top',
|
|
746
|
+
_a[cellPropertiesCenterTop] = 'Center Top',
|
|
747
|
+
_a[cellPropertiesRightTop] = 'Right Top',
|
|
748
|
+
_a[cellPropertiesLeftMiddle] = 'Left Middle',
|
|
749
|
+
_a[cellPropertiesCenterMiddle] = 'Center Middle',
|
|
750
|
+
_a[cellPropertiesRightMiddle] = 'Right Middle',
|
|
751
|
+
_a[cellPropertiesLeftBottom] = 'Left Bottom',
|
|
752
|
+
_a[cellPropertiesCenterBottom] = 'Center Bottom',
|
|
753
|
+
_a[cellPropertiesRightBottom] = 'Right Bottom',
|
|
754
|
+
_a[cellPropertiesNoAlignment] = 'No Alignment',
|
|
755
|
+
_a[cellPropertiesWrap] = 'Wrap',
|
|
756
|
+
_a[cellPropertiesFitToCell] = 'Fit to cell',
|
|
757
|
+
_a[cellPropertiesApplyToAllCells] = 'Apply to all cells',
|
|
758
|
+
_a[cellPropertiesWidth] = 'Width',
|
|
759
|
+
_a[cellPropertiesApplyToColumn] = 'apply to column',
|
|
760
|
+
_a[cellPropertiesHeight] = 'Height',
|
|
761
|
+
_a[cellPropertiesApplyToRow] = 'apply to row',
|
|
762
|
+
_a[cellPropertiesAlignment] = 'Alignment',
|
|
763
|
+
_a[cellPropertiesTextControl] = 'Text control',
|
|
764
|
+
_a[cellPropertiesCellPadding] = 'Cell padding',
|
|
765
|
+
_a[cellPropertiesBackground] = 'Background',
|
|
766
|
+
_a[cellPropertiesBorderWidth] = 'Border width',
|
|
767
|
+
_a[cellPropertiesBorderColor] = 'Border color',
|
|
768
|
+
_a[cellPropertiesBorderStyle] = 'Border style',
|
|
769
|
+
_a[cellPropertiesId] = 'ID',
|
|
770
|
+
_a[cellPropertiesCssClass] = 'CSS class',
|
|
771
|
+
_a[cellPropertiesSave] = 'Save',
|
|
772
|
+
_a[cellPropertiesCancel] = 'Cancel',
|
|
773
|
+
_a[tableProperties] = 'Table properties',
|
|
774
|
+
_a[tablePropertiesAlignLeft] = 'Align Left',
|
|
775
|
+
_a[tablePropertiesAlignCenter] = 'Align Center',
|
|
776
|
+
_a[tablePropertiesAlignRight] = 'Align Right',
|
|
777
|
+
_a[tablePropertiesNoAlignment] = 'No Alignment',
|
|
778
|
+
_a[tablePropertiesLeft] = 'Left',
|
|
779
|
+
_a[tablePropertiesCenter] = 'Center',
|
|
780
|
+
_a[tablePropertiesRight] = 'Right',
|
|
781
|
+
_a[tablePropertiesTop] = 'Top',
|
|
782
|
+
_a[tablePropertiesBottom] = 'Bottom',
|
|
783
|
+
_a[tablePropertiesNone] = 'None',
|
|
784
|
+
_a[tablePropertiesUsingScopeAttribute] = 'Using \'scope\' attribute',
|
|
785
|
+
_a[tablePropertiesUsingIdAttributes] = 'Using \'id\' attributes',
|
|
786
|
+
_a[tablePropertiesRows] = 'Rows',
|
|
787
|
+
_a[tablePropertiesColumns] = 'Columns',
|
|
788
|
+
_a[tablePropertiesWidth] = 'Width',
|
|
789
|
+
_a[tablePropertiesHeight] = 'Height',
|
|
790
|
+
_a[tablePropertiesPosition] = 'Position',
|
|
791
|
+
_a[tablePropertiesAlignment] = 'Alignment',
|
|
792
|
+
_a[tablePropertiesCellSpacing] = 'Cell spacing',
|
|
793
|
+
_a[tablePropertiesCellPadding] = 'Cell padding',
|
|
794
|
+
_a[tablePropertiesTableBackground] = 'Table background',
|
|
795
|
+
_a[tablePropertiesBorderWidth] = 'Border width',
|
|
796
|
+
_a[tablePropertiesBorderColor] = 'Border color',
|
|
797
|
+
_a[tablePropertiesBorderStyle] = 'Border style',
|
|
798
|
+
_a[tablePropertiesCollapseBorders] = 'Collapse borders',
|
|
799
|
+
_a[tablePropertiesId] = 'ID',
|
|
800
|
+
_a[tablePropertiesCssClass] = 'CSS class',
|
|
801
|
+
_a[tablePropertiesAccessibility] = 'Accessibility',
|
|
802
|
+
_a[tablePropertiesCaption] = 'Caption',
|
|
803
|
+
_a[tablePropertiesCaptionPosition] = 'Position',
|
|
804
|
+
_a[tablePropertiesCaptionAlignment] = 'Alignment',
|
|
805
|
+
_a[tablePropertiesHeaderRows] = 'Header rows',
|
|
806
|
+
_a[tablePropertiesHeaderCols] = 'Header cols',
|
|
807
|
+
_a[tablePropertiesAssociateHeaders] = 'Associate headers',
|
|
808
|
+
_a[tablePropertiesGeneral] = 'General',
|
|
809
|
+
_a[tablePropertiesAdvanced] = 'Advanced',
|
|
810
|
+
_a[tablePropertiesSave] = 'Save',
|
|
811
|
+
_a[tablePropertiesCancel] = 'Cancel',
|
|
812
|
+
_a[borderStyleNone] = 'None',
|
|
813
|
+
_a[borderStyleSolid] = 'Solid',
|
|
814
|
+
_a[borderStyleDotted] = 'Dotted',
|
|
815
|
+
_a[borderStyleDashed] = 'Dashed',
|
|
816
|
+
_a[borderStyleDouble] = 'Double',
|
|
817
|
+
_a[borderStyleGroove] = 'Groove',
|
|
818
|
+
_a[borderStyleRidge] = 'Ridge',
|
|
819
|
+
_a[borderStyleInset] = 'Inset',
|
|
820
|
+
_a[borderStyleOutset] = 'Outset',
|
|
821
|
+
_a[borderStyleInitial] = 'Initial',
|
|
822
|
+
_a[borderStyleInherit] = 'Inherit',
|
|
823
|
+
_a[borderStyleHidden] = 'Hidden',
|
|
824
|
+
_a[sizeAuto] = 'Auto',
|
|
420
825
|
_a);
|
|
421
826
|
/**
|
|
422
827
|
* @hidden
|
|
@@ -502,5 +907,86 @@ exports.keys = {
|
|
|
502
907
|
findReplaceMatches: findReplaceMatches,
|
|
503
908
|
iframeTitle: iframeTitle,
|
|
504
909
|
foreColorLabel: foreColorLabel,
|
|
505
|
-
backColorLabel: backColorLabel
|
|
910
|
+
backColorLabel: backColorLabel,
|
|
911
|
+
cellProperties: cellProperties,
|
|
912
|
+
cellPropertiesLeftTop: cellPropertiesLeftTop,
|
|
913
|
+
cellPropertiesCenterTop: cellPropertiesCenterTop,
|
|
914
|
+
cellPropertiesRightTop: cellPropertiesRightTop,
|
|
915
|
+
cellPropertiesLeftMiddle: cellPropertiesLeftMiddle,
|
|
916
|
+
cellPropertiesCenterMiddle: cellPropertiesCenterMiddle,
|
|
917
|
+
cellPropertiesRightMiddle: cellPropertiesRightMiddle,
|
|
918
|
+
cellPropertiesLeftBottom: cellPropertiesLeftBottom,
|
|
919
|
+
cellPropertiesCenterBottom: cellPropertiesCenterBottom,
|
|
920
|
+
cellPropertiesRightBottom: cellPropertiesRightBottom,
|
|
921
|
+
cellPropertiesNoAlignment: cellPropertiesNoAlignment,
|
|
922
|
+
cellPropertiesWrap: cellPropertiesWrap,
|
|
923
|
+
cellPropertiesFitToCell: cellPropertiesFitToCell,
|
|
924
|
+
cellPropertiesApplyToAllCells: cellPropertiesApplyToAllCells,
|
|
925
|
+
cellPropertiesWidth: cellPropertiesWidth,
|
|
926
|
+
cellPropertiesApplyToColumn: cellPropertiesApplyToColumn,
|
|
927
|
+
cellPropertiesHeight: cellPropertiesHeight,
|
|
928
|
+
cellPropertiesApplyToRow: cellPropertiesApplyToRow,
|
|
929
|
+
cellPropertiesAlignment: cellPropertiesAlignment,
|
|
930
|
+
cellPropertiesTextControl: cellPropertiesTextControl,
|
|
931
|
+
cellPropertiesCellPadding: cellPropertiesCellPadding,
|
|
932
|
+
cellPropertiesBackground: cellPropertiesBackground,
|
|
933
|
+
cellPropertiesBorderWidth: cellPropertiesBorderWidth,
|
|
934
|
+
cellPropertiesBorderColor: cellPropertiesBorderColor,
|
|
935
|
+
cellPropertiesBorderStyle: cellPropertiesBorderStyle,
|
|
936
|
+
cellPropertiesId: cellPropertiesId,
|
|
937
|
+
cellPropertiesCssClass: cellPropertiesCssClass,
|
|
938
|
+
cellPropertiesSave: cellPropertiesSave,
|
|
939
|
+
cellPropertiesCancel: cellPropertiesCancel,
|
|
940
|
+
tableProperties: tableProperties,
|
|
941
|
+
tablePropertiesAlignLeft: tablePropertiesAlignLeft,
|
|
942
|
+
tablePropertiesAlignCenter: tablePropertiesAlignCenter,
|
|
943
|
+
tablePropertiesAlignRight: tablePropertiesAlignRight,
|
|
944
|
+
tablePropertiesNoAlignment: tablePropertiesNoAlignment,
|
|
945
|
+
tablePropertiesLeft: tablePropertiesLeft,
|
|
946
|
+
tablePropertiesCenter: tablePropertiesCenter,
|
|
947
|
+
tablePropertiesRight: tablePropertiesRight,
|
|
948
|
+
tablePropertiesTop: tablePropertiesTop,
|
|
949
|
+
tablePropertiesBottom: tablePropertiesBottom,
|
|
950
|
+
tablePropertiesNone: tablePropertiesNone,
|
|
951
|
+
tablePropertiesUsingScopeAttribute: tablePropertiesUsingScopeAttribute,
|
|
952
|
+
tablePropertiesUsingIdAttributes: tablePropertiesUsingIdAttributes,
|
|
953
|
+
tablePropertiesRows: tablePropertiesRows,
|
|
954
|
+
tablePropertiesColumns: tablePropertiesColumns,
|
|
955
|
+
tablePropertiesWidth: tablePropertiesWidth,
|
|
956
|
+
tablePropertiesHeight: tablePropertiesHeight,
|
|
957
|
+
tablePropertiesPosition: tablePropertiesPosition,
|
|
958
|
+
tablePropertiesAlignment: tablePropertiesAlignment,
|
|
959
|
+
tablePropertiesCellSpacing: tablePropertiesCellSpacing,
|
|
960
|
+
tablePropertiesCellPadding: tablePropertiesCellPadding,
|
|
961
|
+
tablePropertiesTableBackground: tablePropertiesTableBackground,
|
|
962
|
+
tablePropertiesBorderWidth: tablePropertiesBorderWidth,
|
|
963
|
+
tablePropertiesBorderColor: tablePropertiesBorderColor,
|
|
964
|
+
tablePropertiesBorderStyle: tablePropertiesBorderStyle,
|
|
965
|
+
tablePropertiesCollapseBorders: tablePropertiesCollapseBorders,
|
|
966
|
+
tablePropertiesId: tablePropertiesId,
|
|
967
|
+
tablePropertiesCssClass: tablePropertiesCssClass,
|
|
968
|
+
tablePropertiesAccessibility: tablePropertiesAccessibility,
|
|
969
|
+
tablePropertiesCaption: tablePropertiesCaption,
|
|
970
|
+
tablePropertiesCaptionPosition: tablePropertiesCaptionPosition,
|
|
971
|
+
tablePropertiesCaptionAlignment: tablePropertiesCaptionAlignment,
|
|
972
|
+
tablePropertiesHeaderRows: tablePropertiesHeaderRows,
|
|
973
|
+
tablePropertiesHeaderCols: tablePropertiesHeaderCols,
|
|
974
|
+
tablePropertiesAssociateHeaders: tablePropertiesAssociateHeaders,
|
|
975
|
+
tablePropertiesGeneral: tablePropertiesGeneral,
|
|
976
|
+
tablePropertiesAdvanced: tablePropertiesAdvanced,
|
|
977
|
+
tablePropertiesSave: tablePropertiesSave,
|
|
978
|
+
tablePropertiesCancel: tablePropertiesCancel,
|
|
979
|
+
borderStyleNone: borderStyleNone,
|
|
980
|
+
borderStyleSolid: borderStyleSolid,
|
|
981
|
+
borderStyleDotted: borderStyleDotted,
|
|
982
|
+
borderStyleDashed: borderStyleDashed,
|
|
983
|
+
borderStyleDouble: borderStyleDouble,
|
|
984
|
+
borderStyleGroove: borderStyleGroove,
|
|
985
|
+
borderStyleRidge: borderStyleRidge,
|
|
986
|
+
borderStyleInset: borderStyleInset,
|
|
987
|
+
borderStyleOutset: borderStyleOutset,
|
|
988
|
+
borderStyleInitial: borderStyleInitial,
|
|
989
|
+
borderStyleInherit: borderStyleInherit,
|
|
990
|
+
borderStyleHidden: borderStyleHidden,
|
|
991
|
+
sizeAuto: sizeAuto
|
|
506
992
|
};
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-react-editor',
|
|
9
9
|
productName: 'KendoReact',
|
|
10
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1689692150,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
14
14
|
};
|
|
@@ -96,7 +96,8 @@ var InsertTableToolNS;
|
|
|
96
96
|
var _b = settings.messages, createTableMsgKey = _b.createTable, createTableHint = _b.createTableHint;
|
|
97
97
|
var createTableMsg = localization.toLanguageString(createTableMsgKey, messages_1.messages[createTableMsgKey]);
|
|
98
98
|
var createTableHintMsg = localization.toLanguageString(createTableHint, messages_1.messages[createTableHint]);
|
|
99
|
-
var disabled = !state || !(0, kendo_editor_common_1.canInsert)(state, state.schema.nodes.table)
|
|
99
|
+
var disabled = Boolean(!state || !(0, kendo_editor_common_1.canInsert)(state, state.schema.nodes.table) ||
|
|
100
|
+
(0, utils_1.parentNode)(state.selection.$from, function (node) { return node.type.name === 'table_caption_external'; }));
|
|
100
101
|
var rendering = [(React.createElement(kendo_react_buttons_1.Button, __assign({ onClick: disabled ? undefined : this.togglePopup, "aria-disabled": disabled ? true : undefined, ref: function (e) { return _this.button = e && e.element; }, key: "InsertTable" }, utils_1.onDownPreventDefault, { title: createTableMsg }, settings.props, props, { className: (0, kendo_react_common_1.classNames)(props.className, settings.props.className, { 'k-disabled': disabled }) }))), (view && !disabled && (React.createElement(popup_1.InsertTablePopupNS.InsertTablePopup, { key: "insertTablePopup", createTableMessage: createTableMsg, createTableHintMessage: createTableHintMsg, dir: props.dir, anchor: this.button, show: this.state.openedPopup, onClose: this.closePopup, onTableInsert: this.onTableInsert })) || null)];
|
|
101
102
|
return render ? render.call(undefined, rendering, { view: view }) : rendering;
|
|
102
103
|
};
|
package/dist/npm/tools/main.d.ts
CHANGED
|
@@ -19,6 +19,8 @@ import { SelectAllProps as SelectAllToolProps } from './selectAll';
|
|
|
19
19
|
import { CleanFormattingProps as CleanFormattingToolProps } from './cleanFormatting';
|
|
20
20
|
import { FindAndReplace as FindAndReplaceTool, FindAndReplaceProps as FindAndReplaceToolProps } from './findReplace';
|
|
21
21
|
import { ButtonProps } from '@progress/kendo-react-buttons';
|
|
22
|
+
import { TableCellPropertiesProps as TableCellPropertiesToolProps } from './table-wizard/tableCellProperties';
|
|
23
|
+
import { TablePropertiesProps as TablePropertiesToolProps } from './table-wizard/tableProperties';
|
|
22
24
|
/**
|
|
23
25
|
* Represents a wrapping namespace for the tool components, props, and functions of the Editor.
|
|
24
26
|
*/
|
|
@@ -395,6 +397,24 @@ export declare namespace EditorTools {
|
|
|
395
397
|
* Will render a SplitButton which applies `<ul>` HTML element with predefined styles - upper-roman, lower-roman, upper-latin and lower-latin.
|
|
396
398
|
*/
|
|
397
399
|
export const NumberedList: (props: any) => JSX.Element;
|
|
400
|
+
/**
|
|
401
|
+
* The TableCellProperties tool component.
|
|
402
|
+
*/
|
|
403
|
+
export const TableCellProperties: React.FunctionComponent<TableCellPropertiesToolProps>;
|
|
404
|
+
/**
|
|
405
|
+
* The props for the TableCellProperties tool component of the Editor.
|
|
406
|
+
*/
|
|
407
|
+
export interface TableCellPropertiesProps extends TableCellPropertiesToolProps {
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* The TableProperties tool component.
|
|
411
|
+
*/
|
|
412
|
+
export const TableProperties: React.FunctionComponent<TablePropertiesToolProps>;
|
|
413
|
+
/**
|
|
414
|
+
* The props for the TableProperties tool component of the Editor.
|
|
415
|
+
*/
|
|
416
|
+
export interface TablePropertiesProps extends TablePropertiesToolProps {
|
|
417
|
+
}
|
|
398
418
|
/**
|
|
399
419
|
* The props for the Outdent tool component of the Editor.
|
|
400
420
|
*/
|
package/dist/npm/tools/main.js
CHANGED
|
@@ -51,6 +51,8 @@ var cleanFormatting_1 = require("./cleanFormatting");
|
|
|
51
51
|
var findReplace_1 = require("./findReplace");
|
|
52
52
|
var lists_styled_1 = require("./lists-styled");
|
|
53
53
|
var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
|
|
54
|
+
var tableCellProperties_1 = require("./table-wizard/tableCellProperties");
|
|
55
|
+
var tableProperties_1 = require("./table-wizard/tableProperties");
|
|
54
56
|
/**
|
|
55
57
|
* Represents a wrapping namespace for the tool components, props, and functions of the Editor.
|
|
56
58
|
*/
|
|
@@ -438,6 +440,16 @@ var EditorTools;
|
|
|
438
440
|
];
|
|
439
441
|
return (React.createElement(lists_styled_1.ListTool, __assign({ listType: toolsSettings_1.EditorToolsSettings.orderedList.listType, items: olItems, icon: "list-ordered", svgIcon: kendo_svg_icons_1.listOrderedIcon, titleKey: toolsSettings_1.EditorToolsSettings.orderedList.messages.title }, props)));
|
|
440
442
|
};
|
|
443
|
+
/**
|
|
444
|
+
* The TableCellProperties tool component.
|
|
445
|
+
*/
|
|
446
|
+
EditorTools.TableCellProperties = tableCellProperties_1.TableCellProperties;
|
|
447
|
+
;
|
|
448
|
+
/**
|
|
449
|
+
* The TableProperties tool component.
|
|
450
|
+
*/
|
|
451
|
+
EditorTools.TableProperties = tableProperties_1.TableProperties;
|
|
452
|
+
;
|
|
441
453
|
/**
|
|
442
454
|
* Creates the Outdent tool component of the Editor.
|
|
443
455
|
*
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ListItemProps } from '@progress/kendo-react-dropdowns';
|
|
3
|
+
import { ToolProps } from '../ToolProps';
|
|
4
|
+
import { EditorState, Node } from '@progress/kendo-editor-common';
|
|
5
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*/
|
|
8
|
+
export declare const selectedCells: (state: EditorState) => Array<{
|
|
9
|
+
node: Node;
|
|
10
|
+
pos: number;
|
|
11
|
+
}>;
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare const tableCells: (state: EditorState) => Array<{
|
|
16
|
+
node: Node;
|
|
17
|
+
pos: number;
|
|
18
|
+
}>;
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
export interface TableCellPropertiesProps extends ToolProps {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
export declare const TableCellProperties: React.FunctionComponent<TableCellPropertiesProps>;
|
|
28
|
+
/**
|
|
29
|
+
* @hidden
|
|
30
|
+
*/
|
|
31
|
+
export declare const valueRenderWithIcon: (element: React.ReactElement<HTMLSpanElement>, value: any) => JSX.Element;
|
|
32
|
+
/**
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
35
|
+
export declare const itemRenderWithIcon: (li: React.ReactElement<any>, itemProps: ListItemProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|