@odoo/o-spreadsheet 17.2.1 → 17.3.0-alpha.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.
@@ -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.1
5
- @date 2024-03-25T09:42:39.549Z
6
- @hash f97284c
4
+ @version 17.3.0-alpha.1
5
+ @date 2024-03-25T09:44:13.802Z
6
+ @hash 4095c41
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ActionButton">
@@ -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'" t-esc="formulaArgSeparator"/>
518
+ <span t-if="arg_index > '0'">,&#xA0;</span>
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>
@@ -2163,7 +2163,7 @@ https://fontawesome.com/license -->
2163
2163
  <svg class="o-icon" viewBox="0 0 24 24">
2164
2164
  <path
2165
2165
  fill="currentColor"
2166
- d="M18.707 7.293a1 1 0 0 1 0 1.414L11.414 16a2 2 0 0 1-2.828 0l-3.293-3.293a1 1 0 1 1 1.414-1.414L10 14.586l7.293-7.293a1 1 0 0 1 1.414 0z"
2166
+ d="M18.707 7.293a1 1 0 0 1 0 1.414L11.414 16a1.8 2 0 0 1-2.828 0l-3.293-3.293a1 1 0 1 1 1.414-1.414L10 14.586l7.293-7.293a1 1 0 0 1 1.414 0z"
2167
2167
  />
2168
2168
  </svg>
2169
2169
  </t>
@@ -2317,6 +2317,14 @@ https://fontawesome.com/license -->
2317
2317
  />
2318
2318
  </svg>
2319
2319
  </t>
2320
+ <t t-name="o-spreadsheet-Icon.CIRCLE_INFO">
2321
+ <svg class="o-icon" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
2322
+ <path
2323
+ fill="currentColor"
2324
+ d="M9 .55a8.4 8.4 0 1 0 8.4 8.4A8.4 8.4 0 0 0 9 .55M7.6 4.155a1.4 1.4 0 1 1 1.4 1.4 1.4 1.4 0 0 1-1.4-1.4m4.9 8.995a.7.7 0 0 1-.7.7H6.9a.7.7 0 1 1 0-1.4h1.4v-4.2h-.7a.7.7 0 0 1 0-1.4h2.8v5.6h1.4a.7.7 0 0 1 .7.7"
2325
+ />
2326
+ </svg>
2327
+ </t>
2320
2328
 
2321
2329
  <t t-name="o-spreadsheet-LinkDisplay">
2322
2330
  <div class="o-link-tool d-flex align-items-center">
@@ -4273,7 +4281,7 @@ https://fontawesome.com/license -->
4273
4281
  <Section>
4274
4282
  <t t-set-slot="title">Data range</t>
4275
4283
  <SelectionInput
4276
- t-key="props.table.id"
4284
+ t-key="props.table.type"
4277
4285
  ranges="[this.state.tableXc]"
4278
4286
  hasSingleRange="true"
4279
4287
  onSelectionChanged="(ranges) => this.onRangeChanged(ranges)"
@@ -4286,6 +4294,20 @@ https://fontawesome.com/license -->
4286
4294
  value="tableConfig.automaticAutofill"
4287
4295
  onChange="(val) => this.updateTableConfig('automaticAutofill', val)"
4288
4296
  />
4297
+ <div class="d-flex flex-row align-items-center">
4298
+ <Checkbox
4299
+ label="getCheckboxLabel('isDynamic')"
4300
+ name="'isDynamic'"
4301
+ value="props.table.type === 'dynamic'"
4302
+ onChange.bind="this.updateTableIsDynamic"
4303
+ disabled="!this.canBeDynamic"
4304
+ />
4305
+ <div
4306
+ class="o-info-icon d-flex flex-row align-items-center text-muted ps-1"
4307
+ t-att-title="dynamicTableTooltip">
4308
+ <t t-call="o-spreadsheet-Icon.CIRCLE_INFO"/>
4309
+ </div>
4310
+ </div>
4289
4311
  </Section>
4290
4312
  <div class="o-sidePanelButtons">
4291
4313
  <button t-on-click="deleteTable" class="o-table-delete o-button">Delete table</button>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "17.2.1",
3
+ "version": "17.3.0-alpha.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": "latest"
142
+ "tag": "alpha"
143
143
  }
144
144
  }