@odoo/o-spreadsheet 15.2.3 → 15.2.4

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.
@@ -372,7 +372,7 @@ function formatJSTime(jsDate, format) {
372
372
  * - it does not accept "," as thousand separator, because when we tokenize a
373
373
  * formula, commas are used to separate arguments
374
374
  */
375
- const formulaNumberRegexp = /^-?\d+(\.?\d*(e\d+)?)?(\s*%)?|^-?\.\d+(\s*%)?/;
375
+ const formulaNumberRegexp = /(^-?\d+(\.?\d*(e\d+)?)?(\s*%)?|^-?\.\d+(\s*%)?)(?!\w|!)/;
376
376
  const numberRegexp = /^-?\d+(,\d+)*(\.?\d*(e\d+)?)?(\s*%)?$|^-?\.\d+(\s*%)?$/;
377
377
  /**
378
378
  * Return true if the argument is a "number string".
@@ -26031,7 +26031,7 @@ const { Portal } = owl.misc;
26031
26031
  const { xml: xml$l } = owl.tags;
26032
26032
  const TEMPLATE$j = xml$l /* xml */ `
26033
26033
  <Portal target="'.o-spreadsheet'">
26034
- <div t-att-style="style">
26034
+ <div class="o-popover" t-att-style="style">
26035
26035
  <t t-slot="default"/>
26036
26036
  </div>
26037
26037
  </Portal>
@@ -27265,7 +27265,7 @@ const CSS$b = css$d /* scss */ `
27265
27265
  padding: 0;
27266
27266
  margin: 0;
27267
27267
  border: 0;
27268
- z-index: 5;
27268
+ z-index: 6;
27269
27269
  flex-grow: 1;
27270
27270
  max-height: inherit;
27271
27271
  .o-composer {
@@ -27834,6 +27834,10 @@ const CSS$9 = css$b /* scss */ `
27834
27834
  border-left: 3px solid red;
27835
27835
  padding: 10px;
27836
27836
  }
27837
+
27838
+ .o-popover:has(.o-error-tooltip) {
27839
+ z-index: 4 !important;
27840
+ }
27837
27841
  `;
27838
27842
  class ErrorToolTip extends owl.Component {
27839
27843
  }
@@ -31298,6 +31302,6 @@ exports.registries = registries;
31298
31302
  exports.setTranslationMethod = setTranslationMethod;
31299
31303
 
31300
31304
 
31301
- __info__.version = '15.2.3';
31302
- __info__.date = '2023-03-23T11:32:58.083Z';
31303
- __info__.hash = '0541ed5';
31305
+ __info__.version = '15.2.4';
31306
+ __info__.date = '2023-04-13T08:15:24.992Z';
31307
+ __info__.hash = '23f0126';
@@ -349,7 +349,7 @@ function formatJSTime(jsDate, format) {
349
349
  * - it does not accept "," as thousand separator, because when we tokenize a
350
350
  * formula, commas are used to separate arguments
351
351
  */
352
- const formulaNumberRegexp = /^-?\d+(\.?\d*(e\d+)?)?(\s*%)?|^-?\.\d+(\s*%)?/;
352
+ const formulaNumberRegexp = /(^-?\d+(\.?\d*(e\d+)?)?(\s*%)?|^-?\.\d+(\s*%)?)(?!\w|!)/;
353
353
  const numberRegexp = /^-?\d+(,\d+)*(\.?\d*(e\d+)?)?(\s*%)?$|^-?\.\d+(\s*%)?$/;
354
354
  /**
355
355
  * Return true if the argument is a "number string".
@@ -26008,7 +26008,7 @@ const { Portal } = misc$1;
26008
26008
  const { xml: xml$l } = tags;
26009
26009
  const TEMPLATE$j = xml$l /* xml */ `
26010
26010
  <Portal target="'.o-spreadsheet'">
26011
- <div t-att-style="style">
26011
+ <div class="o-popover" t-att-style="style">
26012
26012
  <t t-slot="default"/>
26013
26013
  </div>
26014
26014
  </Portal>
@@ -27242,7 +27242,7 @@ const CSS$b = css$d /* scss */ `
27242
27242
  padding: 0;
27243
27243
  margin: 0;
27244
27244
  border: 0;
27245
- z-index: 5;
27245
+ z-index: 6;
27246
27246
  flex-grow: 1;
27247
27247
  max-height: inherit;
27248
27248
  .o-composer {
@@ -27811,6 +27811,10 @@ const CSS$9 = css$b /* scss */ `
27811
27811
  border-left: 3px solid red;
27812
27812
  padding: 10px;
27813
27813
  }
27814
+
27815
+ .o-popover:has(.o-error-tooltip) {
27816
+ z-index: 4 !important;
27817
+ }
27814
27818
  `;
27815
27819
  class ErrorToolTip extends Component {
27816
27820
  }
@@ -31252,6 +31256,6 @@ const helpers = {
31252
31256
  export { CommandResult, CorePlugin, DATETIME_FORMAT, DataSource, DispatchResult, Model, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, UIPlugin, DEBUG as __DEBUG__, __info__, astToFormula, cellTypes, compile, convertAstNodes, coreTypes, functionCache, helpers, invalidateEvaluationCommands, parse, readonlyAllowedCommands, registries, setTranslationMethod };
31253
31257
 
31254
31258
 
31255
- __info__.version = '15.2.3';
31256
- __info__.date = '2023-03-23T11:32:58.083Z';
31257
- __info__.hash = '0541ed5';
31259
+ __info__.version = '15.2.4';
31260
+ __info__.date = '2023-04-13T08:15:24.992Z';
31261
+ __info__.hash = '23f0126';
@@ -369,7 +369,7 @@
369
369
  * - it does not accept "," as thousand separator, because when we tokenize a
370
370
  * formula, commas are used to separate arguments
371
371
  */
372
- const formulaNumberRegexp = /^-?\d+(\.?\d*(e\d+)?)?(\s*%)?|^-?\.\d+(\s*%)?/;
372
+ const formulaNumberRegexp = /(^-?\d+(\.?\d*(e\d+)?)?(\s*%)?|^-?\.\d+(\s*%)?)(?!\w|!)/;
373
373
  const numberRegexp = /^-?\d+(,\d+)*(\.?\d*(e\d+)?)?(\s*%)?$|^-?\.\d+(\s*%)?$/;
374
374
  /**
375
375
  * Return true if the argument is a "number string".
@@ -26028,7 +26028,7 @@
26028
26028
  const { xml: xml$l } = owl.tags;
26029
26029
  const TEMPLATE$j = xml$l /* xml */ `
26030
26030
  <Portal target="'.o-spreadsheet'">
26031
- <div t-att-style="style">
26031
+ <div class="o-popover" t-att-style="style">
26032
26032
  <t t-slot="default"/>
26033
26033
  </div>
26034
26034
  </Portal>
@@ -27262,7 +27262,7 @@
27262
27262
  padding: 0;
27263
27263
  margin: 0;
27264
27264
  border: 0;
27265
- z-index: 5;
27265
+ z-index: 6;
27266
27266
  flex-grow: 1;
27267
27267
  max-height: inherit;
27268
27268
  .o-composer {
@@ -27831,6 +27831,10 @@
27831
27831
  border-left: 3px solid red;
27832
27832
  padding: 10px;
27833
27833
  }
27834
+
27835
+ .o-popover:has(.o-error-tooltip) {
27836
+ z-index: 4 !important;
27837
+ }
27834
27838
  `;
27835
27839
  class ErrorToolTip extends owl.Component {
27836
27840
  }
@@ -31297,9 +31301,9 @@
31297
31301
  Object.defineProperty(exports, '__esModule', { value: true });
31298
31302
 
31299
31303
 
31300
- __info__.version = '15.2.3';
31301
- __info__.date = '2023-03-23T11:32:58.083Z';
31302
- __info__.hash = '0541ed5';
31304
+ __info__.version = '15.2.4';
31305
+ __info__.date = '2023-04-13T08:15:24.992Z';
31306
+ __info__.hash = '23f0126';
31303
31307
 
31304
31308
 
31305
31309
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);