@innovastudio/contentbuilder 1.4.54 → 1.4.55

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.4.54",
4
+ "version": "1.4.55",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -57740,6 +57740,18 @@ class RowTool {
57740
57740
  const chkReverseColumns = this.rowSettings.querySelector('#chkReverseColumns');
57741
57741
  chkReverseColumns.checked = valReverse;
57742
57742
  }
57743
+ moveRowUp() {
57744
+ this.grid.moveRowUp();
57745
+ }
57746
+ moveRowDown() {
57747
+ this.grid.moveRowDown();
57748
+ }
57749
+ duplicateRow() {
57750
+ this.grid.duplicateRow();
57751
+ }
57752
+ removeRow() {
57753
+ this.grid.removeRow();
57754
+ }
57743
57755
  render(row) {
57744
57756
  const dom = this.dom;
57745
57757
  const util = this.builder.util;
@@ -60058,6 +60070,24 @@ class ColumnTool {
60058
60070
  }
60059
60071
  this.columnMore = columnMore;
60060
60072
  }
60073
+ moveColumnLeft() {
60074
+ this.grid.moveColumnPrevious();
60075
+ }
60076
+ moveColumnRight() {
60077
+ this.grid.moveColumnNext();
60078
+ }
60079
+ duplicateColumn() {
60080
+ this.grid.duplicateColumn();
60081
+ }
60082
+ removeColumn() {
60083
+ this.grid.removeColumn();
60084
+ }
60085
+ moveColumnUp() {
60086
+ this.grid.moveColumnUp();
60087
+ }
60088
+ moveColumnDown() {
60089
+ this.grid.moveColumnDown();
60090
+ }
60061
60091
  applyClick() {
60062
60092
  const dom = this.dom;
60063
60093
  let cell = this.util.cellSelected();
@@ -78367,6 +78397,40 @@ class ContentBuilder {
78367
78397
  this.targetAssetType = targetAssetType;
78368
78398
  }
78369
78399
  }
78400
+
78401
+ // Grid
78402
+ moveRowUp() {
78403
+ this._rowTool.moveRowUp();
78404
+ }
78405
+ moveRowDown() {
78406
+ this._rowTool.moveRowDown();
78407
+ }
78408
+ duplicateRow() {
78409
+ this._rowTool.duplicateRow();
78410
+ }
78411
+ removeRow() {
78412
+ this._rowTool.removeRow();
78413
+ }
78414
+ moveColumnLeft() {
78415
+ this.colTool.moveColumnLeft();
78416
+ }
78417
+ moveColumnRight() {
78418
+ this.colTool.moveColumnRight();
78419
+ }
78420
+ duplicateColumn() {
78421
+ this.colTool.duplicateColumn();
78422
+ }
78423
+ removeColumn() {
78424
+ this.colTool.removeColumn();
78425
+ }
78426
+ moveColumnUp() {
78427
+ this.colTool.moveColumnUp();
78428
+ }
78429
+ moveColumnDown() {
78430
+ this.colTool.moveColumnDown();
78431
+ }
78432
+
78433
+ // Text
78370
78434
  formatText(command) {
78371
78435
  this.rte.formatText(command);
78372
78436
  }