@mescius/spread-sheets 18.0.1 → 18.0.2

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.
@@ -55296,7 +55296,7 @@ declare module GC{
55296
55296
  * @param {GC.Spread.Sheets.Tables.TableColumn[]} columns The array of table column information with data fields and names. Each item is GC.Spread.Sheets.Tables.TableColumn.
55297
55297
  * @param {string} [path] The binding path for binding in the table.
55298
55298
  * @param {object | string | GC.Data.Table} [dataSource] The data source for the table.
55299
- * @returns {GC.Spread.Sheets.Tables.Table} returns the table.
55299
+ * @returns {GC.Spread.Sheets.Tables.Table | Promise<GC.Spread.Sheets.Tables.Table>} returns the table.
55300
55300
  * @example
55301
55301
  * ```
55302
55302
  * var data = {
@@ -55321,7 +55321,7 @@ declare module GC{
55321
55321
  * table.bind([tableColumn1, tableColumn2, tableColumn3, tableColumn4, tableColumn5], 'sales', data);
55322
55322
  * ```
55323
55323
  */
55324
- bind(columns: TableColumn[], path?: string, dataSource?: object | string | GC.Data.Table): GC.Spread.Sheets.Tables.Table;
55324
+ bind(columns: TableColumn[], path?: string, dataSource?: object | string | GC.Data.Table): GC.Spread.Sheets.Tables.Table | Promise<GC.Spread.Sheets.Tables.Table>;
55325
55325
  /**
55326
55326
  * Binds the columns using the specified data fields.
55327
55327
  * @param {GC.Spread.Sheets.Tables.TableColumn[]} columns The array of table column information with data fields and names. Each item is GC.Spread.Sheets.Tables.TableColumn.
@@ -56035,7 +56035,7 @@ declare module GC{
56035
56035
  * @param {object | string | GC.Data.Table} dataSource The data source for the table.
56036
56036
  * @param {GC.Spread.Sheets.Tables.TableTheme} style The style of the table.
56037
56037
  * @param {GC.Spread.Sheets.Tables.ITableOptions} [options] The initialization options of the table.
56038
- * @returns {GC.Spread.Sheets.Tables.Table} The new table instance.
56038
+ * @returns {GC.Spread.Sheets.Tables.Table | Promise<GC.Spread.Sheets.Tables.Table> | undefined} The new table instance.
56039
56039
  * @example
56040
56040
  * ```
56041
56041
  * var source = [
@@ -56047,7 +56047,7 @@ declare module GC{
56047
56047
  * activeSheet.tables.addFromDataSource("Table1", 5, 2, source, GC.Spread.Sheets.Tables.TableThemes.dark1);
56048
56048
  * ```
56049
56049
  */
56050
- addFromDataSource(name: string, row: number, column: number, dataSource: Object | string | GC.Data.Table, style: GC.Spread.Sheets.Tables.TableTheme, options?: GC.Spread.Sheets.Tables.ITableOptions): GC.Spread.Sheets.Tables.Table;
56050
+ addFromDataSource(name: string, row: number, column: number, dataSource: Object | string | GC.Data.Table, style: GC.Spread.Sheets.Tables.TableTheme, options?: GC.Spread.Sheets.Tables.ITableOptions): GC.Spread.Sheets.Tables.Table | Promise<GC.Spread.Sheets.Tables.Table>;
56051
56051
  /**
56052
56052
  * Gets all tables of the sheet.
56053
56053
  * @returns {GC.Spread.Sheets.Tables.Table[]} The GC.Spread.Sheets.Tables.Table array of table instances. The array is never null.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mescius/spread-sheets",
3
- "version": "18.0.1",
3
+ "version": "18.0.2",
4
4
  "main": "index.js",
5
5
  "description":"A Complete Microsoft Excel-like JavaScript Spreadsheet for Enterprise Applications",
6
6
  "scripts": {},