@odoo/o-spreadsheet 17.0.7 → 17.0.8

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.
@@ -2,9 +2,9 @@
2
2
  /**
3
3
  * This file is generated by o-spreadsheet build tools. Do not edit it.
4
4
  * @see https://github.com/odoo/o-spreadsheet
5
- * @version 17.0.7
6
- * @date 2024-01-12T13:42:04.654Z
7
- * @hash cadb817
5
+ * @version 17.0.8
6
+ * @date 2024-01-17T10:27:32.736Z
7
+ * @hash 0f2d46e
8
8
  */
9
9
 
10
10
  'use strict';
@@ -481,7 +481,7 @@ function isBoolean(str) {
481
481
  const upperCased = str.toUpperCase();
482
482
  return upperCased === "TRUE" || upperCased === "FALSE";
483
483
  }
484
- const MARKDOWN_LINK_REGEX = /^\[([^\[]+)\]\((.+)\)$/;
484
+ const MARKDOWN_LINK_REGEX = /^\[(.+)\]\((.+)\)$/;
485
485
  //link must start with http or https
486
486
  //https://stackoverflow.com/a/3809435/4760614
487
487
  const WEB_LINK_REGEX = /^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/;
@@ -27324,6 +27324,7 @@ const CHECKBOX_WIDTH = 15;
27324
27324
  const MARGIN = (GRID_ICON_EDGE_LENGTH - CHECKBOX_WIDTH) / 2;
27325
27325
  css /* scss */ `
27326
27326
  .o-dv-checkbox {
27327
+ box-sizing: border-box !important;
27327
27328
  width: ${CHECKBOX_WIDTH}px;
27328
27329
  height: ${CHECKBOX_WIDTH}px;
27329
27330
  accent-color: #808080;
@@ -38403,9 +38404,9 @@ class RangeAdapter {
38403
38404
  * Get a Xc string that represent a part of a range
38404
38405
  */
38405
38406
  getRangePartString(range, part) {
38406
- const colFixed = range.parts && range.parts[part].colFixed ? "$" : "";
38407
+ const colFixed = range.parts && range.parts[part]?.colFixed ? "$" : "";
38407
38408
  const col = part === 0 ? numberToLetters(range.zone.left) : numberToLetters(range.zone.right);
38408
- const rowFixed = range.parts && range.parts[part].rowFixed ? "$" : "";
38409
+ const rowFixed = range.parts && range.parts[part]?.rowFixed ? "$" : "";
38409
38410
  const row = part === 0 ? String(range.zone.top + 1) : String(range.zone.bottom + 1);
38410
38411
  let str = "";
38411
38412
  if (range.isFullCol) {
@@ -56769,6 +56770,6 @@ exports.setTranslationMethod = setTranslationMethod;
56769
56770
  exports.tokenize = tokenize;
56770
56771
 
56771
56772
 
56772
- __info__.version = "17.0.7";
56773
- __info__.date = "2024-01-12T13:42:04.654Z";
56774
- __info__.hash = "cadb817";
56773
+ __info__.version = "17.0.8";
56774
+ __info__.date = "2024-01-17T10:27:32.736Z";
56775
+ __info__.hash = "0f2d46e";
@@ -2,9 +2,9 @@
2
2
  /**
3
3
  * This file is generated by o-spreadsheet build tools. Do not edit it.
4
4
  * @see https://github.com/odoo/o-spreadsheet
5
- * @version 17.0.7
6
- * @date 2024-01-12T13:42:04.654Z
7
- * @hash cadb817
5
+ * @version 17.0.8
6
+ * @date 2024-01-17T10:27:32.736Z
7
+ * @hash 0f2d46e
8
8
  */
9
9
 
10
10
  import { Component, useRef, onMounted, useEffect, onWillPatch, useState, onWillUpdateProps, onPatched, useComponent, useExternalListener, onWillUnmount, onWillStart, xml, useChildSubEnv, useSubEnv, markRaw } from '@odoo/owl';
@@ -479,7 +479,7 @@ function isBoolean(str) {
479
479
  const upperCased = str.toUpperCase();
480
480
  return upperCased === "TRUE" || upperCased === "FALSE";
481
481
  }
482
- const MARKDOWN_LINK_REGEX = /^\[([^\[]+)\]\((.+)\)$/;
482
+ const MARKDOWN_LINK_REGEX = /^\[(.+)\]\((.+)\)$/;
483
483
  //link must start with http or https
484
484
  //https://stackoverflow.com/a/3809435/4760614
485
485
  const WEB_LINK_REGEX = /^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/;
@@ -27322,6 +27322,7 @@ const CHECKBOX_WIDTH = 15;
27322
27322
  const MARGIN = (GRID_ICON_EDGE_LENGTH - CHECKBOX_WIDTH) / 2;
27323
27323
  css /* scss */ `
27324
27324
  .o-dv-checkbox {
27325
+ box-sizing: border-box !important;
27325
27326
  width: ${CHECKBOX_WIDTH}px;
27326
27327
  height: ${CHECKBOX_WIDTH}px;
27327
27328
  accent-color: #808080;
@@ -38401,9 +38402,9 @@ class RangeAdapter {
38401
38402
  * Get a Xc string that represent a part of a range
38402
38403
  */
38403
38404
  getRangePartString(range, part) {
38404
- const colFixed = range.parts && range.parts[part].colFixed ? "$" : "";
38405
+ const colFixed = range.parts && range.parts[part]?.colFixed ? "$" : "";
38405
38406
  const col = part === 0 ? numberToLetters(range.zone.left) : numberToLetters(range.zone.right);
38406
- const rowFixed = range.parts && range.parts[part].rowFixed ? "$" : "";
38407
+ const rowFixed = range.parts && range.parts[part]?.rowFixed ? "$" : "";
38407
38408
  const row = part === 0 ? String(range.zone.top + 1) : String(range.zone.bottom + 1);
38408
38409
  let str = "";
38409
38410
  if (range.isFullCol) {
@@ -56732,6 +56733,6 @@ const constants = {
56732
56733
  export { AbstractChart, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, UIPlugin, __info__, addFunction, astToFormula, compile, compileTokens, components, constants, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, iterateAstNodes, links, load, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, tokenize };
56733
56734
 
56734
56735
 
56735
- __info__.version = "17.0.7";
56736
- __info__.date = "2024-01-12T13:42:04.654Z";
56737
- __info__.hash = "cadb817";
56736
+ __info__.version = "17.0.8";
56737
+ __info__.date = "2024-01-17T10:27:32.736Z";
56738
+ __info__.hash = "0f2d46e";
@@ -2,9 +2,9 @@
2
2
  /**
3
3
  * This file is generated by o-spreadsheet build tools. Do not edit it.
4
4
  * @see https://github.com/odoo/o-spreadsheet
5
- * @version 17.0.7
6
- * @date 2024-01-12T13:42:04.654Z
7
- * @hash cadb817
5
+ * @version 17.0.8
6
+ * @date 2024-01-17T10:27:32.736Z
7
+ * @hash 0f2d46e
8
8
  */
9
9
 
10
10
  (function (exports, owl) {
@@ -480,7 +480,7 @@
480
480
  const upperCased = str.toUpperCase();
481
481
  return upperCased === "TRUE" || upperCased === "FALSE";
482
482
  }
483
- const MARKDOWN_LINK_REGEX = /^\[([^\[]+)\]\((.+)\)$/;
483
+ const MARKDOWN_LINK_REGEX = /^\[(.+)\]\((.+)\)$/;
484
484
  //link must start with http or https
485
485
  //https://stackoverflow.com/a/3809435/4760614
486
486
  const WEB_LINK_REGEX = /^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/;
@@ -27323,6 +27323,7 @@
27323
27323
  const MARGIN = (GRID_ICON_EDGE_LENGTH - CHECKBOX_WIDTH) / 2;
27324
27324
  css /* scss */ `
27325
27325
  .o-dv-checkbox {
27326
+ box-sizing: border-box !important;
27326
27327
  width: ${CHECKBOX_WIDTH}px;
27327
27328
  height: ${CHECKBOX_WIDTH}px;
27328
27329
  accent-color: #808080;
@@ -38402,9 +38403,9 @@
38402
38403
  * Get a Xc string that represent a part of a range
38403
38404
  */
38404
38405
  getRangePartString(range, part) {
38405
- const colFixed = range.parts && range.parts[part].colFixed ? "$" : "";
38406
+ const colFixed = range.parts && range.parts[part]?.colFixed ? "$" : "";
38406
38407
  const col = part === 0 ? numberToLetters(range.zone.left) : numberToLetters(range.zone.right);
38407
- const rowFixed = range.parts && range.parts[part].rowFixed ? "$" : "";
38408
+ const rowFixed = range.parts && range.parts[part]?.rowFixed ? "$" : "";
38408
38409
  const row = part === 0 ? String(range.zone.top + 1) : String(range.zone.bottom + 1);
38409
38410
  let str = "";
38410
38411
  if (range.isFullCol) {
@@ -56768,9 +56769,9 @@
56768
56769
  exports.tokenize = tokenize;
56769
56770
 
56770
56771
 
56771
- __info__.version = "17.0.7";
56772
- __info__.date = "2024-01-12T13:42:04.654Z";
56773
- __info__.hash = "cadb817";
56772
+ __info__.version = "17.0.8";
56773
+ __info__.date = "2024-01-17T10:27:32.736Z";
56774
+ __info__.hash = "0f2d46e";
56774
56775
 
56775
56776
 
56776
56777
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);