@odoo/o-spreadsheet 17.2.0-alpha.8 → 17.2.1
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 +415 -286
- package/dist/o-spreadsheet.d.ts +5 -3
- package/dist/o-spreadsheet.esm.js +415 -286
- package/dist/o-spreadsheet.iife.js +415 -286
- package/dist/o-spreadsheet.iife.min.js +333 -328
- package/dist/o_spreadsheet.xml +29 -20
- package/package.json +2 -2
package/dist/o_spreadsheet.xml
CHANGED
|
@@ -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.2.
|
|
5
|
-
@date 2024-03-
|
|
6
|
-
@hash
|
|
4
|
+
@version 17.2.1
|
|
5
|
+
@date 2024-03-25T09:42:39.549Z
|
|
6
|
+
@hash f97284c
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ActionButton">
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
}">
|
|
508
508
|
<t t-set="context" t-value="getContext()"/>
|
|
509
509
|
<div
|
|
510
|
-
class="o-formula-assistant
|
|
510
|
+
class="o-formula-assistant"
|
|
511
511
|
t-if="context.functionName"
|
|
512
512
|
t-on-pointermove="onMouseMove"
|
|
513
513
|
t-att-class="{'opacity-25': assistantState.allowCellSelectionBehind}">
|
|
@@ -515,7 +515,7 @@
|
|
|
515
515
|
<span t-esc="context.functionName"/>
|
|
516
516
|
(
|
|
517
517
|
<t t-foreach="context.functionDescription.args" t-as="arg" t-key="arg.name">
|
|
518
|
-
<span t-if="arg_index > '0'"
|
|
518
|
+
<span t-if="arg_index > '0'" t-esc="formulaArgSeparator"/>
|
|
519
519
|
<span t-att-class="{ 'o-formula-assistant-focus': context.argToFocus === arg_index }">
|
|
520
520
|
<span>
|
|
521
521
|
<span t-if="arg.optional || arg.repeating || arg.default">[</span>
|
|
@@ -1008,7 +1008,12 @@
|
|
|
1008
1008
|
class="o-grid-add-rows mt-2 ms-2 w-100 d-flex position-relative align-items-center"
|
|
1009
1009
|
t-att-style="addRowsPosition"
|
|
1010
1010
|
t-on-pointerdown.stop.prevent="">
|
|
1011
|
-
<button
|
|
1011
|
+
<button
|
|
1012
|
+
t-on-click="onConfirm"
|
|
1013
|
+
t-att-disabled="state.errorFlag"
|
|
1014
|
+
class="o-button o-button-grey">
|
|
1015
|
+
Add
|
|
1016
|
+
</button>
|
|
1012
1017
|
<input
|
|
1013
1018
|
type="text"
|
|
1014
1019
|
class="o-grid-add-rows-input o-input mt-0 me-2"
|
|
@@ -2394,8 +2399,8 @@ https://fontawesome.com/license -->
|
|
|
2394
2399
|
onClose="() => this.menu.isOpen=false"
|
|
2395
2400
|
/>
|
|
2396
2401
|
<div class="o-buttons">
|
|
2397
|
-
<button t-on-click="cancel" class="o-button o-cancel">Cancel</button>
|
|
2398
|
-
<button t-on-click="save" class="o-button o-save" t-att-disabled="!link.url">
|
|
2402
|
+
<button t-on-click="cancel" class="o-button o-button-grey o-cancel">Cancel</button>
|
|
2403
|
+
<button t-on-click="save" class="o-button o-button-grey o-save" t-att-disabled="!link.url">
|
|
2399
2404
|
Confirm
|
|
2400
2405
|
</button>
|
|
2401
2406
|
</div>
|
|
@@ -3340,8 +3345,12 @@ https://fontawesome.com/license -->
|
|
|
3340
3345
|
<t t-set="rule" t-value="state.rules.iconSet"/>
|
|
3341
3346
|
</t>
|
|
3342
3347
|
<div class="o-sidePanelButtons">
|
|
3343
|
-
<button t-on-click="props.onExitEdition" class="o-button o-cf-cancel">
|
|
3344
|
-
|
|
3348
|
+
<button t-on-click="props.onExitEdition" class="o-button o-button-grey o-cf-cancel">
|
|
3349
|
+
Cancel
|
|
3350
|
+
</button>
|
|
3351
|
+
<button
|
|
3352
|
+
t-on-click="saveConditionalFormat"
|
|
3353
|
+
class="o-button o-button-grey primary o-cf-save">
|
|
3345
3354
|
Save
|
|
3346
3355
|
</button>
|
|
3347
3356
|
</div>
|
|
@@ -3685,7 +3694,7 @@ https://fontawesome.com/license -->
|
|
|
3685
3694
|
</Section>
|
|
3686
3695
|
<div class="o-sidePanelButtons">
|
|
3687
3696
|
<button
|
|
3688
|
-
class="o-button"
|
|
3697
|
+
class="o-button o-button-grey"
|
|
3689
3698
|
t-on-click="() => this.apply()"
|
|
3690
3699
|
t-att-disabled="!formatProposals.length || isSameFormat">
|
|
3691
3700
|
Apply
|
|
@@ -3804,7 +3813,7 @@ https://fontawesome.com/license -->
|
|
|
3804
3813
|
</div>
|
|
3805
3814
|
<div class="mb-2"/>
|
|
3806
3815
|
</t>
|
|
3807
|
-
<button class="o-dv-list-add-value o-button mb-3" t-on-click="onAddAnotherValue">
|
|
3816
|
+
<button class="o-dv-list-add-value o-button o-button-grey mb-3" t-on-click="onAddAnotherValue">
|
|
3808
3817
|
Add another item
|
|
3809
3818
|
</button>
|
|
3810
3819
|
|
|
@@ -3871,10 +3880,10 @@ https://fontawesome.com/license -->
|
|
|
3871
3880
|
</Section>
|
|
3872
3881
|
|
|
3873
3882
|
<div class="o-sidePanelButtons">
|
|
3874
|
-
<button t-on-click="props.onExit" class="o-dv-cancel o-button">Cancel</button>
|
|
3883
|
+
<button t-on-click="props.onExit" class="o-dv-cancel o-button o-button-grey">Cancel</button>
|
|
3875
3884
|
<button
|
|
3876
3885
|
t-on-click="onSave"
|
|
3877
|
-
class="o-dv-save o-button primary"
|
|
3886
|
+
class="o-dv-save o-button o-button-grey primary"
|
|
3878
3887
|
t-att-class="{'o-disabled': !canSave }">
|
|
3879
3888
|
Save
|
|
3880
3889
|
</button>
|
|
@@ -3973,13 +3982,13 @@ https://fontawesome.com/license -->
|
|
|
3973
3982
|
<button
|
|
3974
3983
|
t-att-disabled="!hasSearchResult"
|
|
3975
3984
|
t-on-click="() => store.selectPreviousMatch()"
|
|
3976
|
-
class="o-button">
|
|
3985
|
+
class="o-button o-button-grey">
|
|
3977
3986
|
Previous
|
|
3978
3987
|
</button>
|
|
3979
3988
|
<button
|
|
3980
3989
|
t-att-disabled="!hasSearchResult"
|
|
3981
3990
|
t-on-click="() => store.selectNextMatch()"
|
|
3982
|
-
class="o-button">
|
|
3991
|
+
class="o-button o-button-grey">
|
|
3983
3992
|
Next
|
|
3984
3993
|
</button>
|
|
3985
3994
|
</div>
|
|
@@ -3999,13 +4008,13 @@ https://fontawesome.com/license -->
|
|
|
3999
4008
|
<button
|
|
4000
4009
|
t-att-disabled="store.selectedMatchIndex === null"
|
|
4001
4010
|
t-on-click="() => store.replace()"
|
|
4002
|
-
class="o-button">
|
|
4011
|
+
class="o-button o-button-grey">
|
|
4003
4012
|
Replace
|
|
4004
4013
|
</button>
|
|
4005
4014
|
<button
|
|
4006
4015
|
t-att-disabled="store.selectedMatchIndex === null"
|
|
4007
4016
|
t-on-click="() => store.replaceAll()"
|
|
4008
|
-
class="o-button">
|
|
4017
|
+
class="o-button o-button-grey">
|
|
4009
4018
|
Replace all
|
|
4010
4019
|
</button>
|
|
4011
4020
|
</div>
|
|
@@ -4063,7 +4072,7 @@ https://fontawesome.com/license -->
|
|
|
4063
4072
|
|
|
4064
4073
|
<div class="o-sidePanelButtons">
|
|
4065
4074
|
<button
|
|
4066
|
-
class="o-button"
|
|
4075
|
+
class="o-button o-button-grey"
|
|
4067
4076
|
t-att-class="{'o-disabled': !canConfirm}"
|
|
4068
4077
|
t-on-click="onRemoveDuplicates">
|
|
4069
4078
|
Remove duplicates
|
|
@@ -4181,7 +4190,7 @@ https://fontawesome.com/license -->
|
|
|
4181
4190
|
|
|
4182
4191
|
<div class="o-sidePanelButtons">
|
|
4183
4192
|
<button
|
|
4184
|
-
class="o-button"
|
|
4193
|
+
class="o-button o-button-grey"
|
|
4185
4194
|
t-att-class="{'o-disabled': isConfirmDisabled}"
|
|
4186
4195
|
t-on-click="confirm">
|
|
4187
4196
|
Confirm
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odoo/o-spreadsheet",
|
|
3
|
-
"version": "17.2.
|
|
3
|
+
"version": "17.2.1",
|
|
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": "
|
|
142
|
+
"tag": "latest"
|
|
143
143
|
}
|
|
144
144
|
}
|