@odoo/o-spreadsheet 18.0.15 → 18.0.16
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/dist/o-spreadsheet.cjs.js +165 -119
- package/dist/o-spreadsheet.d.ts +16 -0
- package/dist/o-spreadsheet.esm.js +165 -119
- package/dist/o-spreadsheet.iife.js +165 -119
- package/dist/o-spreadsheet.iife.min.js +85 -85
- package/dist/o_spreadsheet.xml +4 -3
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -1266,6 +1266,7 @@ declare class Session extends EventBus<CollaborativeEvent> {
|
|
|
1266
1266
|
private onClientJoined;
|
|
1267
1267
|
private onClientLeft;
|
|
1268
1268
|
private sendUpdateMessage;
|
|
1269
|
+
private dropPendingRevision;
|
|
1269
1270
|
/**
|
|
1270
1271
|
* Send the next pending message
|
|
1271
1272
|
*/
|
|
@@ -1598,6 +1599,7 @@ declare class GridSelectionPlugin extends UIPlugin {
|
|
|
1598
1599
|
private onAddElements;
|
|
1599
1600
|
private onMoveElements;
|
|
1600
1601
|
private isMoveElementAllowed;
|
|
1602
|
+
private fallbackToVisibleSheet;
|
|
1601
1603
|
/**
|
|
1602
1604
|
* Clip the selection if it spans outside the sheet
|
|
1603
1605
|
*/
|
|
@@ -5818,6 +5820,20 @@ declare class UuidGenerator {
|
|
|
5818
5820
|
private isFastIdStrategy;
|
|
5819
5821
|
private fastIdStart;
|
|
5820
5822
|
setIsFastStrategy(isFast: boolean): void;
|
|
5823
|
+
/**
|
|
5824
|
+
* Generates a custom UUID using a simple 36^12 method (8-character alphanumeric string with lowercase letters)
|
|
5825
|
+
* This has a higher chance of collision than a UUIDv4, but not only faster to generate than an UUIDV4,
|
|
5826
|
+
* it also has a smaller size, which is preferable to alleviate the overall data size.
|
|
5827
|
+
*
|
|
5828
|
+
* This method is preferable when generating uuids for the core data (sheetId, figureId, etc)
|
|
5829
|
+
* as they will appear several times in the revisions and local history.
|
|
5830
|
+
*
|
|
5831
|
+
*/
|
|
5832
|
+
smallUuid(): string;
|
|
5833
|
+
/**
|
|
5834
|
+
* Generates an UUIDV4, has astronomically low chance of collision, but is larger in size than the smallUuid.
|
|
5835
|
+
* This method should be used when you need to avoid collisions at all costs, like the id of a revision.
|
|
5836
|
+
*/
|
|
5821
5837
|
uuidv4(): string;
|
|
5822
5838
|
}
|
|
5823
5839
|
|