@ckeditor/ckeditor5-table 0.0.0-nightly-20240519.0 → 0.0.0-nightly-20240521.0

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/index.js CHANGED
@@ -7179,15 +7179,6 @@ function colorConfigToColorGridDefinitions(colorConfig) {
7179
7179
  }
7180
7180
  }
7181
7181
 
7182
- const ALIGNMENT_ICONS$1 = {
7183
- left: icons.alignLeft,
7184
- center: icons.alignCenter,
7185
- right: icons.alignRight,
7186
- justify: icons.alignJustify,
7187
- top: icons.alignTop,
7188
- middle: icons.alignMiddle,
7189
- bottom: icons.alignBottom
7190
- };
7191
7182
  /**
7192
7183
  * The class representing a table cell properties form, allowing users to customize
7193
7184
  * certain style aspects of a table cell, for instance, border, padding, text alignment, etc..
@@ -7639,6 +7630,15 @@ const ALIGNMENT_ICONS$1 = {
7639
7630
  const locale = this.locale;
7640
7631
  const t = this.t;
7641
7632
  const alignmentLabel = new LabelView(locale);
7633
+ const ALIGNMENT_ICONS = {
7634
+ left: icons.alignLeft,
7635
+ center: icons.alignCenter,
7636
+ right: icons.alignRight,
7637
+ justify: icons.alignJustify,
7638
+ top: icons.alignTop,
7639
+ middle: icons.alignMiddle,
7640
+ bottom: icons.alignBottom
7641
+ };
7642
7642
  alignmentLabel.text = t('Table cell text alignment');
7643
7643
  // -- Horizontal ---------------------------------------------------
7644
7644
  const horizontalAlignmentToolbar = new ToolbarView(locale);
@@ -7649,7 +7649,7 @@ const ALIGNMENT_ICONS$1 = {
7649
7649
  });
7650
7650
  fillToolbar({
7651
7651
  view: this,
7652
- icons: ALIGNMENT_ICONS$1,
7652
+ icons: ALIGNMENT_ICONS,
7653
7653
  toolbar: horizontalAlignmentToolbar,
7654
7654
  labels: this._horizontalAlignmentLabels,
7655
7655
  propertyName: 'horizontalAlignment',
@@ -7674,7 +7674,7 @@ const ALIGNMENT_ICONS$1 = {
7674
7674
  });
7675
7675
  fillToolbar({
7676
7676
  view: this,
7677
- icons: ALIGNMENT_ICONS$1,
7677
+ icons: ALIGNMENT_ICONS,
7678
7678
  toolbar: verticalAlignmentToolbar,
7679
7679
  labels: this._verticalAlignmentLabels,
7680
7680
  propertyName: 'verticalAlignment',
@@ -7765,16 +7765,15 @@ function isBorderStyleSet$1(value) {
7765
7765
  return value !== 'none';
7766
7766
  }
7767
7767
 
7768
- const DEFAULT_BALLOON_POSITIONS = BalloonPanelView.defaultPositions;
7769
- const BALLOON_POSITIONS = [
7770
- DEFAULT_BALLOON_POSITIONS.northArrowSouth,
7771
- DEFAULT_BALLOON_POSITIONS.northArrowSouthWest,
7772
- DEFAULT_BALLOON_POSITIONS.northArrowSouthEast,
7773
- DEFAULT_BALLOON_POSITIONS.southArrowNorth,
7774
- DEFAULT_BALLOON_POSITIONS.southArrowNorthWest,
7775
- DEFAULT_BALLOON_POSITIONS.southArrowNorthEast,
7776
- DEFAULT_BALLOON_POSITIONS.viewportStickyNorth
7777
- ];
7768
+ const BALLOON_POSITIONS = /* #__PURE__ */ (()=>[
7769
+ BalloonPanelView.defaultPositions.northArrowSouth,
7770
+ BalloonPanelView.defaultPositions.northArrowSouthWest,
7771
+ BalloonPanelView.defaultPositions.northArrowSouthEast,
7772
+ BalloonPanelView.defaultPositions.southArrowNorth,
7773
+ BalloonPanelView.defaultPositions.southArrowNorthWest,
7774
+ BalloonPanelView.defaultPositions.southArrowNorthEast,
7775
+ BalloonPanelView.defaultPositions.viewportStickyNorth
7776
+ ])();
7778
7777
  /**
7779
7778
  * A helper utility that positions the
7780
7779
  * {@link module:ui/panel/balloon/contextualballoon~ContextualBalloon contextual balloon} instance
@@ -9506,11 +9505,6 @@ const FLOAT_VALUES_REG_EXP = /^(left|none|right)$/;
9506
9505
  });
9507
9506
  }
9508
9507
 
9509
- const ALIGNMENT_ICONS = {
9510
- left: icons.objectLeft,
9511
- center: icons.objectCenter,
9512
- right: icons.objectRight
9513
- };
9514
9508
  /**
9515
9509
  * The class representing a table properties form, allowing users to customize
9516
9510
  * certain style aspects of a table, for instance, border, background color, alignment, etc..
@@ -9927,7 +9921,11 @@ const ALIGNMENT_ICONS = {
9927
9921
  });
9928
9922
  fillToolbar({
9929
9923
  view: this,
9930
- icons: ALIGNMENT_ICONS,
9924
+ icons: {
9925
+ left: icons.objectLeft,
9926
+ center: icons.objectCenter,
9927
+ right: icons.objectRight
9928
+ },
9931
9929
  toolbar: alignmentToolbar,
9932
9930
  labels: this._alignmentLabels,
9933
9931
  propertyName: 'alignment',