@mescius/spread-sheets 17.0.4 → 17.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -5313,6 +5313,10 @@ declare module GC{
5313
5313
  * Specifies the standard date formatter for "y" and "Y".
5314
5314
  */
5315
5315
  yearMonthPattern?: string;
5316
+ /**
5317
+ * Specifies the default date formatter for the case that cell formatter is null or "General" and cell value is a date with time.
5318
+ */
5319
+ defaultDatePattern?: string;
5316
5320
  }
5317
5321
 
5318
5322
 
@@ -5460,6 +5464,7 @@ declare module GC{
5460
5464
  * myCulture.DateTimeFormat.shortDatePattern = "dd.MM.yyyy";
5461
5465
  * myCulture.DateTimeFormat.shortTimePattern = "HH:mm";
5462
5466
  * myCulture.DateTimeFormat.yearMonthPattern = "MMMM yyyy";
5467
+ * myCulture.DateTimeFormat.defaultDatePattern = "MM/dd/yyyy HH:mm:ss";
5463
5468
  * //add one culture
5464
5469
  * GC.Spread.Common.CultureManager.addCultureInfo("de-DE", myCulture);
5465
5470
  * //switch to "de-DE" culture
@@ -13612,7 +13617,7 @@ declare module GC{
13612
13617
  */
13613
13618
  copyPasteHeaderOptions: GC.Spread.Sheets.CopyPasteHeaderOptions;
13614
13619
  /**
13615
- * - The recalculation behavior of the workbook. The default is auto.
13620
+ * The recalculation behavior of the workbook. The default is auto.
13616
13621
  */
13617
13622
  calculationMode: GC.Spread.Sheets.CalculationMode;
13618
13623
  /**
@@ -13813,7 +13818,7 @@ declare module GC{
13813
13818
  /**
13814
13819
  * @typedef GC.Spread.Sheets.ExportCsvOptions
13815
13820
  * @property {GC.Spread.Sheets.FileType} fileType - The file type.
13816
- * @property {string} [encoding] - The csv encoding type, the default encoding type is 'UTF-8'.
13821
+ * @property {string} [encoding] - Deprecated: Currently only support to export in UTF-8 encoding, set the `encoding` attribute will take no effect.
13817
13822
  * @property {string} [rowDelimiter] - The row delimiter that is appended to the end of the row, the default row delimiter is '\r\n'.
13818
13823
  * @property {string} [columnDelimiter] - The column delimiter that is appended to the end of the column, the default column delimiter is ','.
13819
13824
  * @property {object} [range] - The range info.
@@ -14362,11 +14367,11 @@ declare module GC{
14362
14367
  */
14363
14368
  rebuild= 1,
14364
14369
  /**
14365
- * This won't mark more dirty.
14370
+ * Keep the current calc dirty status, and won't mark the volatile cells, circular reference cells.
14366
14371
  */
14367
14372
  minimal= 2,
14368
14373
  /**
14369
- * This will mark the volatile cells, circular reference cells as dirty for calculate.
14374
+ * Keep the current calc dirty status, and mark the volatile cells and circular reference cells as dirty for calculate.
14370
14375
  */
14371
14376
  regular= 3
14372
14377
  }
@@ -30311,8 +30316,8 @@ declare module GC{
30311
30316
  * @param context The context of the operation.
30312
30317
  * @example
30313
30318
  * ```
30314
- * //This example copy a sheet.
30315
- * spread.commandManager().execute({cmd: "openPasteSpecialDialog"});
30319
+ * //This example opens the paste special dialog.
30320
+ * spread.commandManager().execute({cmd: "openPasteSpecialDialog", sheetName: spread.getActiveSheet().name()});
30316
30321
  * ```
30317
30322
  */
30318
30323
  var openPasteSpecialDialog: { canUndo: boolean, execute(context: GC.Spread.Sheets.Workbook): void};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mescius/spread-sheets",
3
- "version": "17.0.4",
3
+ "version": "17.0.6",
4
4
  "main": "index.js",
5
5
  "description":"A Complete Microsoft Excel-like JavaScript Spreadsheet for Enterprise Applications",
6
6
  "scripts": {},
@@ -872,7 +872,7 @@ div.gc-search-outer-div input::-ms-clear {
872
872
  font-size: 12px;
873
873
  line-height: 22px;
874
874
  position: absolute;
875
- width: 300px;
875
+ min-width: 300px;
876
876
  z-index: 2001;
877
877
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
878
878
  -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
@@ -894,6 +894,7 @@ div.gc-search-outer-div input::-ms-clear {
894
894
  }
895
895
 
896
896
  .gcsj-func-ac-row-description {
897
+ width: 280px;
897
898
  color: #666;
898
899
  display: none;
899
900
  font-size: 11px;
@@ -895,7 +895,7 @@ div.gc-search-outer-div input::-ms-clear {
895
895
  font-size: 12px;
896
896
  line-height: 22px;
897
897
  position: absolute;
898
- width: 300px;
898
+ min-width: 300px;
899
899
  z-index: 2001;
900
900
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
901
901
  -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
@@ -917,6 +917,7 @@ div.gc-search-outer-div input::-ms-clear {
917
917
  }
918
918
 
919
919
  .gcsj-func-ac-row-description {
920
+ width: 280px;
920
921
  color: #666;
921
922
  display: none;
922
923
  font-size: 11px;
@@ -895,7 +895,7 @@ div.gc-search-outer-div input::-ms-clear {
895
895
  font-size: 12px;
896
896
  line-height: 22px;
897
897
  position: absolute;
898
- width: 300px;
898
+ min-width: 300px;
899
899
  z-index: 2001;
900
900
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
901
901
  -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
@@ -917,6 +917,7 @@ div.gc-search-outer-div input::-ms-clear {
917
917
  }
918
918
 
919
919
  .gcsj-func-ac-row-description {
920
+ width: 280px;
920
921
  color: #666;
921
922
  display: none;
922
923
  font-size: 11px;
@@ -894,7 +894,7 @@ div.gc-search-outer-div input::-ms-clear {
894
894
  font-size: 12px;
895
895
  line-height: 22px;
896
896
  position: absolute;
897
- width: 300px;
897
+ min-width: 300px;
898
898
  z-index: 2001;
899
899
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
900
900
  -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
@@ -916,6 +916,7 @@ div.gc-search-outer-div input::-ms-clear {
916
916
  }
917
917
 
918
918
  .gcsj-func-ac-row-description {
919
+ width: 280px;
919
920
  color: #666;
920
921
  display: none;
921
922
  font-size: 11px;
@@ -897,7 +897,7 @@ div.gc-search-outer-div input::-ms-clear {
897
897
  font-size: 12px;
898
898
  line-height: 22px;
899
899
  position: absolute;
900
- width: 300px;
900
+ min-width: 300px;
901
901
  z-index: 2001;
902
902
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
903
903
  -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
@@ -919,6 +919,7 @@ div.gc-search-outer-div input::-ms-clear {
919
919
  }
920
920
 
921
921
  .gcsj-func-ac-row-description {
922
+ width: 280px;
922
923
  color: #666;
923
924
  display: none;
924
925
  font-size: 11px;
@@ -891,7 +891,7 @@ div.gc-search-outer-div input::-ms-clear {
891
891
  font-size: 12px;
892
892
  line-height: 22px;
893
893
  position: absolute;
894
- width: 300px;
894
+ min-width: 300px;
895
895
  z-index: 2001;
896
896
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
897
897
  -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
@@ -913,6 +913,7 @@ div.gc-search-outer-div input::-ms-clear {
913
913
  }
914
914
 
915
915
  .gcsj-func-ac-row-description {
916
+ width: 280px;
916
917
  color: #666;
917
918
  display: none;
918
919
  font-size: 11px;
@@ -895,7 +895,7 @@ div.gc-search-outer-div input::-ms-clear {
895
895
  font-size: 12px;
896
896
  line-height: 22px;
897
897
  position: absolute;
898
- width: 300px;
898
+ min-width: 300px;
899
899
  z-index: 2001;
900
900
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
901
901
  -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
@@ -917,6 +917,7 @@ div.gc-search-outer-div input::-ms-clear {
917
917
  }
918
918
 
919
919
  .gcsj-func-ac-row-description {
920
+ width: 280px;
920
921
  color: #666;
921
922
  display: none;
922
923
  font-size: 11px;