@odoo/o-spreadsheet 17.0.15 → 17.0.17

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.
@@ -1,9 +1,9 @@
1
1
  <!--
2
2
  This file is generated by o-spreadsheet build tools. Do not edit it.
3
3
  @see https://github.com/odoo/o-spreadsheet
4
- @version 17.0.15
5
- @date 2024-03-15T11:01:34.672Z
6
- @hash e02add9
4
+ @version 17.0.17
5
+ @date 2024-04-05T14:00:11.075Z
6
+ @hash 33f09d7
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -276,7 +276,7 @@
276
276
  t-on-dblclick="() => this.onDblClick()"
277
277
  t-on-focusout="() => this.onFocusOut()"
278
278
  t-on-keydown="(ev) => this.onKeyDown(ev)"
279
- t-att-contenteditable="state.isEditing ? 'plaintext-only': 'false'"
279
+ t-att-contenteditable="state.isEditing ? 'true': 'false'"
280
280
  />
281
281
  <span class="o-sheet-icon ms-1" t-on-click.stop="(ev) => this.onIconClick(ev)">
282
282
  <t t-call="o-spreadsheet-Icon.TRIANGLE_DOWN"/>
@@ -508,7 +508,7 @@
508
508
  }">
509
509
  <t t-set="context" t-value="getContext()"/>
510
510
  <div
511
- class="o-formula-assistant bg-white"
511
+ class="o-formula-assistant"
512
512
  t-if="context.functionName"
513
513
  t-on-mousemove="onMouseMove"
514
514
  t-att-class="{'opacity-25': assistantState.allowCellSelectionBehind}">
@@ -516,7 +516,7 @@
516
516
  <span t-esc="context.functionName"/>
517
517
  (
518
518
  <t t-foreach="context.functionDescription.args" t-as="arg" t-key="arg.name">
519
- <span t-if="arg_index > '0'">,&#xA0;</span>
519
+ <span t-if="arg_index > '0'" t-esc="formulaArgSeparator"/>
520
520
  <span t-att-class="{ 'o-formula-assistant-focus': context.argToFocus === arg_index }">
521
521
  <span>
522
522
  <span t-if="arg.optional || arg.repeating || arg.default">[</span>
@@ -1015,7 +1015,12 @@
1015
1015
  class="o-grid-add-rows mt-2 ms-2 w-100 d-flex position-relative align-items-center"
1016
1016
  t-att-style="addRowsPosition"
1017
1017
  t-on-mousedown.stop.prevent="">
1018
- <button t-on-click="onConfirm" t-att-disabled="state.errorFlag" class="o-button">Add</button>
1018
+ <button
1019
+ t-on-click="onConfirm"
1020
+ t-att-disabled="state.errorFlag"
1021
+ class="o-button o-button-grey">
1022
+ Add
1023
+ </button>
1019
1024
  <input
1020
1025
  type="text"
1021
1026
  class="o-grid-add-rows-input o-input mt-0 me-2"
@@ -2388,8 +2393,8 @@ https://fontawesome.com/license -->
2388
2393
  onClose="() => this.menu.isOpen=false"
2389
2394
  />
2390
2395
  <div class="o-buttons">
2391
- <button t-on-click="cancel" class="o-button o-cancel">Cancel</button>
2392
- <button t-on-click="save" class="o-button o-save" t-att-disabled="!link.url">
2396
+ <button t-on-click="cancel" class="o-button o-button-grey o-cancel">Cancel</button>
2397
+ <button t-on-click="save" class="o-button o-button-grey o-save" t-att-disabled="!link.url">
2393
2398
  Confirm
2394
2399
  </button>
2395
2400
  </div>
@@ -2419,7 +2424,7 @@ https://fontawesome.com/license -->
2419
2424
  t-att-class="{ 'o-menu-root': isMenuRoot, 'disabled': !isMenuEnabled, 'o-menu-item-active': isParentMenu(subMenu, menuItem)}"
2420
2425
  t-att-style="getColor(menuItem)">
2421
2426
  <div class="d-flex w-100">
2422
- <div t-if="childrenHaveIcon" class="o-menu-item-icon align-middle">
2427
+ <div t-if="childrenHaveIcon" class="o-menu-item-icon align-middle flex-shrink-0">
2423
2428
  <t t-if="getIconName(menuItem)" t-call="{{getIconName(menuItem)}}"/>
2424
2429
  </div>
2425
2430
  <div class="o-menu-item-name align-middle text-truncate" t-esc="getName(menuItem)"/>
@@ -3405,8 +3410,12 @@ https://fontawesome.com/license -->
3405
3410
  <t t-set="rule" t-value="state.rules.iconSet"/>
3406
3411
  </t>
3407
3412
  <div class="o-sidePanelButtons">
3408
- <button t-on-click="props.onExitEdition" class="o-button o-cf-cancel">Cancel</button>
3409
- <button t-on-click="saveConditionalFormat" class="o-button primary o-cf-save">
3413
+ <button t-on-click="props.onExitEdition" class="o-button o-button-grey o-cf-cancel">
3414
+ Cancel
3415
+ </button>
3416
+ <button
3417
+ t-on-click="saveConditionalFormat"
3418
+ class="o-button o-button-grey primary o-cf-save">
3410
3419
  Save
3411
3420
  </button>
3412
3421
  </div>
@@ -3740,7 +3749,7 @@ https://fontawesome.com/license -->
3740
3749
  </div>
3741
3750
  <div class="o-sidePanelButtons">
3742
3751
  <button
3743
- class="o-button"
3752
+ class="o-button o-button-grey"
3744
3753
  t-on-click="() => this.apply()"
3745
3754
  t-att-disabled="!formatProposals.length || isSameFormat">
3746
3755
  Apply
@@ -3859,7 +3868,7 @@ https://fontawesome.com/license -->
3859
3868
  </div>
3860
3869
  <div class="mb-2"/>
3861
3870
  </t>
3862
- <button class="o-dv-list-add-value o-button mb-3" t-on-click="onAddAnotherValue">
3871
+ <button class="o-dv-list-add-value o-button o-button-grey mb-3" t-on-click="onAddAnotherValue">
3863
3872
  Add another item
3864
3873
  </button>
3865
3874
 
@@ -3926,10 +3935,10 @@ https://fontawesome.com/license -->
3926
3935
  </div>
3927
3936
 
3928
3937
  <div class="o-sidePanelButtons">
3929
- <button t-on-click="props.onExit" class="o-dv-cancel o-button">Cancel</button>
3938
+ <button t-on-click="props.onExit" class="o-dv-cancel o-button o-button-grey">Cancel</button>
3930
3939
  <button
3931
3940
  t-on-click="onSave"
3932
- class="o-dv-save o-button primary"
3941
+ class="o-dv-save o-button o-button-grey primary"
3933
3942
  t-att-class="{'o-disabled': !canSave }">
3934
3943
  Save
3935
3944
  </button>
@@ -4004,10 +4013,13 @@ https://fontawesome.com/license -->
4004
4013
  <button
4005
4014
  t-att-disabled="!hasSearchResult"
4006
4015
  t-on-click="onSelectPreviousCell"
4007
- class="o-button">
4016
+ class="o-button o-button-grey">
4008
4017
  Previous
4009
4018
  </button>
4010
- <button t-att-disabled="!hasSearchResult" t-on-click="onSelectNextCell" class="o-button">
4019
+ <button
4020
+ t-att-disabled="!hasSearchResult"
4021
+ t-on-click="onSelectNextCell"
4022
+ class="o-button o-button-grey">
4011
4023
  Next
4012
4024
  </button>
4013
4025
  </div>
@@ -4027,13 +4039,13 @@ https://fontawesome.com/license -->
4027
4039
  <button
4028
4040
  t-att-disabled="env.model.getters.getCurrentSelectedMatchIndex() === null"
4029
4041
  t-on-click="replace"
4030
- class="o-button">
4042
+ class="o-button o-button-grey">
4031
4043
  Replace
4032
4044
  </button>
4033
4045
  <button
4034
4046
  t-att-disabled="env.model.getters.getCurrentSelectedMatchIndex() === null"
4035
4047
  t-on-click="replaceAll"
4036
- class="o-button">
4048
+ class="o-button o-button-grey">
4037
4049
  Replace all
4038
4050
  </button>
4039
4051
  </div>
@@ -4094,7 +4106,7 @@ https://fontawesome.com/license -->
4094
4106
 
4095
4107
  <div class="o-sidePanelButtons">
4096
4108
  <button
4097
- class="o-button"
4109
+ class="o-button o-button-grey"
4098
4110
  t-att-class="{'o-disabled': !canConfirm}"
4099
4111
  t-on-click="onRemoveDuplicates">
4100
4112
  Remove duplicates
@@ -4219,7 +4231,7 @@ https://fontawesome.com/license -->
4219
4231
 
4220
4232
  <div class="o-sidePanelButtons">
4221
4233
  <button
4222
- class="o-button"
4234
+ class="o-button o-button-grey"
4223
4235
  t-att-class="{'o-disabled': isConfirmDisabled}"
4224
4236
  t-on-click="confirm">
4225
4237
  Confirm
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "17.0.15",
3
+ "version": "17.0.17",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -100,7 +100,7 @@
100
100
  "xmlSelfClosingSpace": false
101
101
  },
102
102
  "dependencies": {
103
- "@odoo/owl": "2.1.3",
103
+ "@odoo/owl": "2.2.10",
104
104
  "bootstrap": "^5.1.3",
105
105
  "rbush": "^3.0.1"
106
106
  },