@odoo/o-spreadsheet 17.1.8 → 17.1.9

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.1.8
5
- @date 2024-03-15T11:00:12.445Z
6
- @hash bd0c9e0
4
+ @version 17.1.9
5
+ @date 2024-03-25T09:44:02.094Z
6
+ @hash 5fb076e
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -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"
@@ -2392,8 +2397,8 @@ https://fontawesome.com/license -->
2392
2397
  onClose="() => this.menu.isOpen=false"
2393
2398
  />
2394
2399
  <div class="o-buttons">
2395
- <button t-on-click="cancel" class="o-button o-cancel">Cancel</button>
2396
- <button t-on-click="save" class="o-button o-save" t-att-disabled="!link.url">
2400
+ <button t-on-click="cancel" class="o-button o-button-grey o-cancel">Cancel</button>
2401
+ <button t-on-click="save" class="o-button o-button-grey o-save" t-att-disabled="!link.url">
2397
2402
  Confirm
2398
2403
  </button>
2399
2404
  </div>
@@ -3302,8 +3307,12 @@ https://fontawesome.com/license -->
3302
3307
  <t t-set="rule" t-value="state.rules.iconSet"/>
3303
3308
  </t>
3304
3309
  <div class="o-sidePanelButtons">
3305
- <button t-on-click="props.onExitEdition" class="o-button o-cf-cancel">Cancel</button>
3306
- <button t-on-click="saveConditionalFormat" class="o-button primary o-cf-save">
3310
+ <button t-on-click="props.onExitEdition" class="o-button o-button-grey o-cf-cancel">
3311
+ Cancel
3312
+ </button>
3313
+ <button
3314
+ t-on-click="saveConditionalFormat"
3315
+ class="o-button o-button-grey primary o-cf-save">
3307
3316
  Save
3308
3317
  </button>
3309
3318
  </div>
@@ -3637,7 +3646,7 @@ https://fontawesome.com/license -->
3637
3646
  </Section>
3638
3647
  <div class="o-sidePanelButtons">
3639
3648
  <button
3640
- class="o-button"
3649
+ class="o-button o-button-grey"
3641
3650
  t-on-click="() => this.apply()"
3642
3651
  t-att-disabled="!formatProposals.length || isSameFormat">
3643
3652
  Apply
@@ -3756,7 +3765,7 @@ https://fontawesome.com/license -->
3756
3765
  </div>
3757
3766
  <div class="mb-2"/>
3758
3767
  </t>
3759
- <button class="o-dv-list-add-value o-button mb-3" t-on-click="onAddAnotherValue">
3768
+ <button class="o-dv-list-add-value o-button o-button-grey mb-3" t-on-click="onAddAnotherValue">
3760
3769
  Add another item
3761
3770
  </button>
3762
3771
 
@@ -3823,10 +3832,10 @@ https://fontawesome.com/license -->
3823
3832
  </Section>
3824
3833
 
3825
3834
  <div class="o-sidePanelButtons">
3826
- <button t-on-click="props.onExit" class="o-dv-cancel o-button">Cancel</button>
3835
+ <button t-on-click="props.onExit" class="o-dv-cancel o-button o-button-grey">Cancel</button>
3827
3836
  <button
3828
3837
  t-on-click="onSave"
3829
- class="o-dv-save o-button primary"
3838
+ class="o-dv-save o-button o-button-grey primary"
3830
3839
  t-att-class="{'o-disabled': !canSave }">
3831
3840
  Save
3832
3841
  </button>
@@ -3923,10 +3932,13 @@ https://fontawesome.com/license -->
3923
3932
  <button
3924
3933
  t-att-disabled="!hasSearchResult"
3925
3934
  t-on-click="onSelectPreviousCell"
3926
- class="o-button">
3935
+ class="o-button o-button-grey">
3927
3936
  Previous
3928
3937
  </button>
3929
- <button t-att-disabled="!hasSearchResult" t-on-click="onSelectNextCell" class="o-button">
3938
+ <button
3939
+ t-att-disabled="!hasSearchResult"
3940
+ t-on-click="onSelectNextCell"
3941
+ class="o-button o-button-grey">
3930
3942
  Next
3931
3943
  </button>
3932
3944
  </div>
@@ -3946,13 +3958,13 @@ https://fontawesome.com/license -->
3946
3958
  <button
3947
3959
  t-att-disabled="env.model.getters.getCurrentSelectedMatchIndex() === null"
3948
3960
  t-on-click="replace"
3949
- class="o-button">
3961
+ class="o-button o-button-grey">
3950
3962
  Replace
3951
3963
  </button>
3952
3964
  <button
3953
3965
  t-att-disabled="env.model.getters.getCurrentSelectedMatchIndex() === null"
3954
3966
  t-on-click="replaceAll"
3955
- class="o-button">
3967
+ class="o-button o-button-grey">
3956
3968
  Replace all
3957
3969
  </button>
3958
3970
  </div>
@@ -4010,7 +4022,7 @@ https://fontawesome.com/license -->
4010
4022
 
4011
4023
  <div class="o-sidePanelButtons">
4012
4024
  <button
4013
- class="o-button"
4025
+ class="o-button o-button-grey"
4014
4026
  t-att-class="{'o-disabled': !canConfirm}"
4015
4027
  t-on-click="onRemoveDuplicates">
4016
4028
  Remove duplicates
@@ -4128,7 +4140,7 @@ https://fontawesome.com/license -->
4128
4140
 
4129
4141
  <div class="o-sidePanelButtons">
4130
4142
  <button
4131
- class="o-button"
4143
+ class="o-button o-button-grey"
4132
4144
  t-att-class="{'o-disabled': isConfirmDisabled}"
4133
4145
  t-on-click="confirm">
4134
4146
  Confirm
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "17.1.8",
3
+ "version": "17.1.9",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",
@@ -139,6 +139,6 @@
139
139
  "*": "prettier --write"
140
140
  },
141
141
  "publishConfig": {
142
- "tag": "latest"
142
+ "tag": "17-1"
143
143
  }
144
144
  }