formiojs-eorion 0.1.65 → 0.1.67

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.
@@ -17,7 +17,7 @@
17
17
  MIT License: http://getify.mit-license.org
18
18
  */
19
19
 
20
- /*! formiojs v0.1.65 | https://unpkg.com/formiojs@0.1.65/LICENSE.txt */
20
+ /*! formiojs v0.1.67 | https://unpkg.com/formiojs@0.1.67/LICENSE.txt */
21
21
 
22
22
  /**
23
23
  * @license
@@ -17,7 +17,7 @@
17
17
  MIT License: http://getify.mit-license.org
18
18
  */
19
19
 
20
- /*! formiojs v0.1.65 | https://unpkg.com/formiojs@0.1.65/LICENSE.txt */
20
+ /*! formiojs v0.1.67 | https://unpkg.com/formiojs@0.1.67/LICENSE.txt */
21
21
 
22
22
  /**
23
23
  * @license
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "formiojs-eorion",
3
- "version": "0.1.65",
3
+ "version": "0.1.67",
4
4
  "description": "Common js library for client side interaction with <form.io>",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -49,16 +49,16 @@ __p += '\n <td class="editgrid-table-column">\n <div class="
49
49
  __p += '\n </tr>\n ';
50
50
  }) ;
51
51
  __p += '\n ';
52
- if(ctx.hasSumRow){ ;
52
+ if(ctx.hasSumRow && ((document.getElementsByClassName("editgrid-table-body").length && ctx.component.displayAsPc && document.getElementsByClassName("editgrid-table-body")[0].clientWidth<=500) || !(document.getElementsByClassName("editgrid-table-body").length && document.getElementsByClassName("editgrid-table-body")[0].clientWidth<=500))){ ;
53
53
  __p += '\n <tr style="font-weight: 600" ref="refSumRow">\n ';
54
54
  ctx.sumRow.forEach(function(row) { ;
55
55
  __p += '\n <td class="editgrid-table-column">' +
56
56
  ((__t = ( row )) == null ? '' : __t) +
57
57
  '</td>\n ';
58
58
  }) ;
59
- __p += '\n <td class="editgrid-table-column">\n <div style="display: flex;flex-direction: column;align-items: center;">\n ' +
60
- ((__t = ( ctx.t("sumRow") )) == null ? '' : __t) +
61
- '\n </div>\n </td>\n </tr>\n ';
59
+ __p += '\n <td class="editgrid-table-column">\n ' +
60
+ ((__t = ( ctx.t("subtotal") )) == null ? '' : __t) +
61
+ '\n </td>\n </tr>\n ';
62
62
  } ;
63
63
  __p += '\n </tbody>\n ';
64
64
  if (ctx.footer) { ;
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _default = exports.default = {
8
+ subtotal: 'Zwischensumme',
8
9
  "News Info Block": "新闻信息",
9
10
  "ScanInput TextField": "扫码输入",
10
11
  "Iframe Content": "嵌入式内容",
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _default = exports.default = {
8
- "sumRow": "Sum",
8
+ subtotal: 'Subtotal',
9
9
  unsavedRowsError: 'Please save all rows before proceeding.',
10
10
  invalidRowsError: 'Please correct invalid rows before proceeding.',
11
11
  invalidRowError: 'Invalid row. Please correct it or delete.',
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _default = exports.default = {
8
+ subtotal: '小計',
8
9
  "News Info Block": "新闻信息",
9
10
  "ScanInput TextField": "扫码输入",
10
11
  "Iframe Content": "嵌入式内容",
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _default = exports.default = {
8
- "sumRow": "小计",
8
+ "subtotal": "小计",
9
9
  "Yes, delete it": "确认删除",
10
10
  "Do you want to clear data?": "你是否需要清除该数据?",
11
11
  "News Info Block": "新闻信息",