zet-lib 1.2.3 → 1.2.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.
@@ -1,8 +1,8 @@
1
1
  <!-- set to localStorage -->
2
2
  <script>
3
- var datas = <% - JSON.stringify(JSON.stringify(datas, null, 2)) %>;
4
- var is_approval = "<%- approvalDatas.is_approval %>";
5
- var sorting = "<%- sorting%>";
3
+ var datas = {}
4
+ var is_approval = '<%- approvalDatas.is_approval %>'
5
+ var sorting = '<%- sorting%>'
6
6
  </script>
7
7
  <script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.15.0/ace.js"></script>
8
8
  <script>
@@ -871,11 +871,11 @@
871
871
  table: $('#table').val(),
872
872
  others: JSON.stringify(others),
873
873
  },
874
- function (dt) { }
874
+ function (dt) {}
875
875
  )
876
876
  }
877
877
  </script>
878
878
  <script>
879
879
  //tab draggable
880
- $(function () { })
881
- </script>
880
+ $(function () {})
881
+ </script>
package/lib/zRoute.js CHANGED
@@ -1317,7 +1317,7 @@ zRoute.excel = async (req, res, MYMODEL, fields, rows, callback, fileName) => {
1317
1317
  worksheet.getCell(sequence[i] + '2').alignment = center
1318
1318
  }
1319
1319
  worksheet.mergeCells('A3:' + sequence[fields.length - 1] + '3')
1320
- worksheet.getCell('A3').value = 'DATA'
1320
+ worksheet.getCell('A3').value = ''
1321
1321
  worksheet.getCell('A3').font = bold
1322
1322
  worksheet.getCell('A3').alignment = center
1323
1323
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"