@odoo/o-spreadsheet 18.1.0-alpha.4 → 18.1.0-alpha.6
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 +1006 -565
- package/dist/o-spreadsheet.d.ts +4790 -4660
- package/dist/o-spreadsheet.esm.js +1006 -565
- package/dist/o-spreadsheet.iife.js +1006 -565
- package/dist/o-spreadsheet.iife.min.js +563 -536
- package/dist/o_spreadsheet.xml +34 -27
- package/package.json +1 -1
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 18.1.0-alpha.
|
|
5
|
-
@date 2024-11-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.1.0-alpha.6
|
|
5
|
+
@date 2024-11-28T09:07:41.105Z
|
|
6
|
+
@hash 875c901
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ActionButton">
|
|
@@ -4631,21 +4631,26 @@
|
|
|
4631
4631
|
</t>
|
|
4632
4632
|
|
|
4633
4633
|
<t t-name="o-spreadsheet-DataValidationInput">
|
|
4634
|
-
<div class="o-dv-input position-relative w-100">
|
|
4635
|
-
<
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4634
|
+
<div class="o-dv-input position-relative w-100 p-1">
|
|
4635
|
+
<t t-if="allowedValues === 'onlyLiterals'">
|
|
4636
|
+
<input
|
|
4637
|
+
type="text"
|
|
4638
|
+
t-ref="input"
|
|
4639
|
+
t-on-input="onInputValueChanged"
|
|
4640
|
+
t-att-value="props.value"
|
|
4641
|
+
class="o-input"
|
|
4642
|
+
t-att-class="{
|
|
4643
|
+
'o-invalid border-danger position-relative': errorMessage,
|
|
4644
|
+
}"
|
|
4645
|
+
t-att-title="errorMessage"
|
|
4646
|
+
t-att-placeholder="placeholder"
|
|
4647
|
+
t-on-keydown="props.onKeyDown"
|
|
4648
|
+
t-on-blur="props.onBlur"
|
|
4649
|
+
/>
|
|
4650
|
+
</t>
|
|
4651
|
+
<t t-else="">
|
|
4652
|
+
<StandaloneComposer t-props="getDataValidationRuleInputComposerProps()"/>
|
|
4653
|
+
</t>
|
|
4649
4654
|
<span
|
|
4650
4655
|
t-if="errorMessage"
|
|
4651
4656
|
class="error-icon text-danger position-absolute d-flex align-items-center"
|
|
@@ -4750,14 +4755,12 @@
|
|
|
4750
4755
|
<Section>
|
|
4751
4756
|
<div class="o-sidePanelButtons">
|
|
4752
4757
|
<button t-on-click="props.onExit" class="o-dv-cancel o-button">Cancel</button>
|
|
4753
|
-
<button
|
|
4754
|
-
t-on-click="onSave"
|
|
4755
|
-
class="o-dv-save o-button primary"
|
|
4756
|
-
t-att-class="{'o-disabled': !canSave }">
|
|
4757
|
-
Save
|
|
4758
|
-
</button>
|
|
4758
|
+
<button t-on-click="onSave" class="o-dv-save o-button primary">Save</button>
|
|
4759
4759
|
</div>
|
|
4760
4760
|
</Section>
|
|
4761
|
+
<Section>
|
|
4762
|
+
<ValidationMessages messages="errorMessages" msgType="'error'"/>
|
|
4763
|
+
</Section>
|
|
4761
4764
|
</div>
|
|
4762
4765
|
</t>
|
|
4763
4766
|
|
|
@@ -4968,7 +4971,7 @@
|
|
|
4968
4971
|
/>
|
|
4969
4972
|
<span t-else="1" class="o-fw-bold" t-esc="props.dimension.displayName"/>
|
|
4970
4973
|
</div>
|
|
4971
|
-
<div class="d-flex flex-rows">
|
|
4974
|
+
<div class="d-flex flex-rows" t-on-pointerdown.stop="">
|
|
4972
4975
|
<t t-slot="upper-right-icons"/>
|
|
4973
4976
|
<i
|
|
4974
4977
|
class="o-button-icon fa fa-trash pe-1 ps-2"
|
|
@@ -5129,7 +5132,7 @@
|
|
|
5129
5132
|
/>
|
|
5130
5133
|
</t>
|
|
5131
5134
|
<div t-if="measure.computedBy" class="d-flex flex-row small">
|
|
5132
|
-
<div class="d-flex flex-column py-2 px-2 w-100">
|
|
5135
|
+
<div class="d-flex flex-column py-2 px-2 w-100" t-on-pointerdown.stop="">
|
|
5133
5136
|
<StandaloneComposer
|
|
5134
5137
|
onConfirm.bind="updateMeasureFormula"
|
|
5135
5138
|
composerContent="measure.computedBy.formula"
|
|
@@ -5220,7 +5223,11 @@
|
|
|
5220
5223
|
</t>
|
|
5221
5224
|
|
|
5222
5225
|
<t t-name="o-spreadsheet-PivotSpreadsheetSidePanel">
|
|
5223
|
-
<
|
|
5226
|
+
<t t-set="isReadonly" t-value="env.model.getters.isReadonly()"/>
|
|
5227
|
+
<div
|
|
5228
|
+
class="d-flex flex-column h-100 justify-content-between overflow-hidden"
|
|
5229
|
+
t-att="isReadonly ? ['inert', 1] : []"
|
|
5230
|
+
t-att-class="{ 'pe-none': isReadonly, 'opacity-50': isReadonly }">
|
|
5224
5231
|
<div class="h-100 position-relative overflow-x-hidden overflow-y-auto">
|
|
5225
5232
|
<PivotTitleSection pivotId="props.pivotId" flipAxis.bind="flipAxis"/>
|
|
5226
5233
|
<Section title.translate="Range">
|