@univerjs/sheets 1.0.0-beta.1 → 1.0.0-beta.2
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/lib/cjs/index.js +2 -2
- package/lib/cjs/locale/ca-ES.js +2 -2
- package/lib/cjs/locale/sk-SK.js +2 -2
- package/lib/es/index.js +2 -2
- package/lib/es/locale/ca-ES.js +2 -2
- package/lib/es/locale/sk-SK.js +2 -2
- package/lib/index.js +2 -2
- package/lib/locale/ca-ES.js +2 -2
- package/lib/locale/sk-SK.js +2 -2
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/package.json +8 -8
package/lib/cjs/index.js
CHANGED
|
@@ -13913,7 +13913,7 @@ const SetFrozenCommand = {
|
|
|
13913
13913
|
if (!target) return false;
|
|
13914
13914
|
const { unitId, subUnitId, worksheet } = target;
|
|
13915
13915
|
const { startColumn, startRow, xSplit, ySplit } = params;
|
|
13916
|
-
if (startRow >= worksheet.getRowCount() || startColumn >= worksheet.getColumnCount() || xSplit >= worksheet.getColumnCount() || ySplit >= worksheet.getRowCount()) return false;
|
|
13916
|
+
if (!Number.isInteger(startRow) || !Number.isInteger(startColumn) || !Number.isInteger(xSplit) || !Number.isInteger(ySplit) || xSplit < 0 || ySplit < 0 || startRow >= worksheet.getRowCount() || startColumn >= worksheet.getColumnCount() || xSplit >= worksheet.getColumnCount() || ySplit >= worksheet.getRowCount()) return false;
|
|
13917
13917
|
const redoMutationParams = {
|
|
13918
13918
|
unitId,
|
|
13919
13919
|
subUnitId,
|
|
@@ -19370,7 +19370,7 @@ RangeProtectionCache = __decorate([
|
|
|
19370
19370
|
//#endregion
|
|
19371
19371
|
//#region package.json
|
|
19372
19372
|
var name = "@univerjs/sheets";
|
|
19373
|
-
var version = "1.0.0-beta.
|
|
19373
|
+
var version = "1.0.0-beta.2";
|
|
19374
19374
|
|
|
19375
19375
|
//#endregion
|
|
19376
19376
|
//#region src/controllers/active-worksheet.controller.ts
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -25,11 +25,11 @@ const locale = { sheets: {
|
|
|
25
25
|
editErr: "L'interval està protegit i no teniu permís d'edició. Per editar, contacteu amb el creador.",
|
|
26
26
|
formulaErr: "L'interval o l'interval referenciat està protegit, i no teniu permís d'edició. Per editar, contacteu amb el creador.",
|
|
27
27
|
insertOrDeleteMoveRangeErr: "L'interval inserit o suprimit s'interseca amb l'interval protegit, i aquesta operació no és compatible per ara.",
|
|
28
|
-
insertRowColErr: "L'interval
|
|
28
|
+
insertRowColErr: "L'interval està protegit i no teniu permís per inserir files i columnes. Per inserir files i columnes, contacteu amb el creador.",
|
|
29
29
|
moveRangeErr: "L'interval està protegit i no teniu permís per moure la selecció. Per moure la selecció, contacteu amb el creador.",
|
|
30
30
|
moveRowColErr: "L'interval està protegit i no teniu permís per moure files i columnes. Per moure files i columnes, contacteu amb el creador.",
|
|
31
31
|
operatorSheetErr: "El full de càlcul està protegit i no teniu permís per operar-hi. Per operar al full de càlcul, contacteu amb el creador.",
|
|
32
|
-
removeRowColErr: "L'interval
|
|
32
|
+
removeRowColErr: "L'interval està protegit i no teniu permís per suprimir files i columnes. Per suprimir files i columnes, contacteu amb el creador.",
|
|
33
33
|
setRowColStyleErr: "L'interval està protegit i no teniu permís per establir estils de fila i columna. Per establir estils de fila i columna, contacteu amb el creador.",
|
|
34
34
|
setStyleErr: "L'interval està protegit i no teniu permís per establir estils. Per establir estils, contacteu amb el creador."
|
|
35
35
|
} },
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -25,11 +25,11 @@ const locale = { sheets: {
|
|
|
25
25
|
editErr: "Rozsah je chránený a nemáte oprávnenie na úpravy. Ak chcete upravovať, kontaktujte autora.",
|
|
26
26
|
formulaErr: "Rozsah alebo referenčný rozsah je chránený a nemáte oprávnenie na úpravu. Ak chcete upravovať, kontaktujte autora.",
|
|
27
27
|
insertOrDeleteMoveRangeErr: "Vložený alebo odstránený rozsah sa prekrýva s chráneným rozsahom a táto operácia zatiaľ nie je podporovaná.",
|
|
28
|
-
insertRowColErr: "Rozsah je chránený a nemáte
|
|
28
|
+
insertRowColErr: "Rozsah je chránený a nemáte oprávnenie vkladať riadky a stĺpce. Ak chcete vložiť riadky a stĺpce, kontaktujte autora.",
|
|
29
29
|
moveRangeErr: "Rozsah je chránený a nemáte oprávnenie presúvať výber. Ak chcete presúvať výber, kontaktujte autora.",
|
|
30
30
|
moveRowColErr: "Rozsah je chránený a nemáte oprávnenie presúvať riadky a stĺpce. Ak chcete presúvať riadky a stĺpce, kontaktujte autora.",
|
|
31
31
|
operatorSheetErr: "Hárok je chránený a nemáte oprávnenie pracovať s hárkom. Ak chcete pracovať s hárkom, kontaktujte autora.",
|
|
32
|
-
removeRowColErr: "Rozsah je chránený a nemáte
|
|
32
|
+
removeRowColErr: "Rozsah je chránený a nemáte oprávnenie odstraňovať riadky a stĺpce. Ak chcete odstrániť riadky a stĺpce, kontaktujte autora.",
|
|
33
33
|
setRowColStyleErr: "Rozsah je chránený a nemáte oprávnenie nastavovať štýly riadkov a stĺpcov. Ak chcete nastavovať štýly riadkov a stĺpcov, kontaktujte autora.",
|
|
34
34
|
setStyleErr: "Rozsah je chránený a nemáte oprávnenie nastavovať štýly. Ak chcete nastavovať štýly, kontaktujte autora."
|
|
35
35
|
} },
|
package/lib/es/index.js
CHANGED
|
@@ -13912,7 +13912,7 @@ const SetFrozenCommand = {
|
|
|
13912
13912
|
if (!target) return false;
|
|
13913
13913
|
const { unitId, subUnitId, worksheet } = target;
|
|
13914
13914
|
const { startColumn, startRow, xSplit, ySplit } = params;
|
|
13915
|
-
if (startRow >= worksheet.getRowCount() || startColumn >= worksheet.getColumnCount() || xSplit >= worksheet.getColumnCount() || ySplit >= worksheet.getRowCount()) return false;
|
|
13915
|
+
if (!Number.isInteger(startRow) || !Number.isInteger(startColumn) || !Number.isInteger(xSplit) || !Number.isInteger(ySplit) || xSplit < 0 || ySplit < 0 || startRow >= worksheet.getRowCount() || startColumn >= worksheet.getColumnCount() || xSplit >= worksheet.getColumnCount() || ySplit >= worksheet.getRowCount()) return false;
|
|
13916
13916
|
const redoMutationParams = {
|
|
13917
13917
|
unitId,
|
|
13918
13918
|
subUnitId,
|
|
@@ -19369,7 +19369,7 @@ RangeProtectionCache = __decorate([
|
|
|
19369
19369
|
//#endregion
|
|
19370
19370
|
//#region package.json
|
|
19371
19371
|
var name = "@univerjs/sheets";
|
|
19372
|
-
var version = "1.0.0-beta.
|
|
19372
|
+
var version = "1.0.0-beta.2";
|
|
19373
19373
|
|
|
19374
19374
|
//#endregion
|
|
19375
19375
|
//#region src/controllers/active-worksheet.controller.ts
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -24,11 +24,11 @@ const locale = { sheets: {
|
|
|
24
24
|
editErr: "L'interval està protegit i no teniu permís d'edició. Per editar, contacteu amb el creador.",
|
|
25
25
|
formulaErr: "L'interval o l'interval referenciat està protegit, i no teniu permís d'edició. Per editar, contacteu amb el creador.",
|
|
26
26
|
insertOrDeleteMoveRangeErr: "L'interval inserit o suprimit s'interseca amb l'interval protegit, i aquesta operació no és compatible per ara.",
|
|
27
|
-
insertRowColErr: "L'interval
|
|
27
|
+
insertRowColErr: "L'interval està protegit i no teniu permís per inserir files i columnes. Per inserir files i columnes, contacteu amb el creador.",
|
|
28
28
|
moveRangeErr: "L'interval està protegit i no teniu permís per moure la selecció. Per moure la selecció, contacteu amb el creador.",
|
|
29
29
|
moveRowColErr: "L'interval està protegit i no teniu permís per moure files i columnes. Per moure files i columnes, contacteu amb el creador.",
|
|
30
30
|
operatorSheetErr: "El full de càlcul està protegit i no teniu permís per operar-hi. Per operar al full de càlcul, contacteu amb el creador.",
|
|
31
|
-
removeRowColErr: "L'interval
|
|
31
|
+
removeRowColErr: "L'interval està protegit i no teniu permís per suprimir files i columnes. Per suprimir files i columnes, contacteu amb el creador.",
|
|
32
32
|
setRowColStyleErr: "L'interval està protegit i no teniu permís per establir estils de fila i columna. Per establir estils de fila i columna, contacteu amb el creador.",
|
|
33
33
|
setStyleErr: "L'interval està protegit i no teniu permís per establir estils. Per establir estils, contacteu amb el creador."
|
|
34
34
|
} },
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -24,11 +24,11 @@ const locale = { sheets: {
|
|
|
24
24
|
editErr: "Rozsah je chránený a nemáte oprávnenie na úpravy. Ak chcete upravovať, kontaktujte autora.",
|
|
25
25
|
formulaErr: "Rozsah alebo referenčný rozsah je chránený a nemáte oprávnenie na úpravu. Ak chcete upravovať, kontaktujte autora.",
|
|
26
26
|
insertOrDeleteMoveRangeErr: "Vložený alebo odstránený rozsah sa prekrýva s chráneným rozsahom a táto operácia zatiaľ nie je podporovaná.",
|
|
27
|
-
insertRowColErr: "Rozsah je chránený a nemáte
|
|
27
|
+
insertRowColErr: "Rozsah je chránený a nemáte oprávnenie vkladať riadky a stĺpce. Ak chcete vložiť riadky a stĺpce, kontaktujte autora.",
|
|
28
28
|
moveRangeErr: "Rozsah je chránený a nemáte oprávnenie presúvať výber. Ak chcete presúvať výber, kontaktujte autora.",
|
|
29
29
|
moveRowColErr: "Rozsah je chránený a nemáte oprávnenie presúvať riadky a stĺpce. Ak chcete presúvať riadky a stĺpce, kontaktujte autora.",
|
|
30
30
|
operatorSheetErr: "Hárok je chránený a nemáte oprávnenie pracovať s hárkom. Ak chcete pracovať s hárkom, kontaktujte autora.",
|
|
31
|
-
removeRowColErr: "Rozsah je chránený a nemáte
|
|
31
|
+
removeRowColErr: "Rozsah je chránený a nemáte oprávnenie odstraňovať riadky a stĺpce. Ak chcete odstrániť riadky a stĺpce, kontaktujte autora.",
|
|
32
32
|
setRowColStyleErr: "Rozsah je chránený a nemáte oprávnenie nastavovať štýly riadkov a stĺpcov. Ak chcete nastavovať štýly riadkov a stĺpcov, kontaktujte autora.",
|
|
33
33
|
setStyleErr: "Rozsah je chránený a nemáte oprávnenie nastavovať štýly. Ak chcete nastavovať štýly, kontaktujte autora."
|
|
34
34
|
} },
|
package/lib/index.js
CHANGED
|
@@ -13912,7 +13912,7 @@ const SetFrozenCommand = {
|
|
|
13912
13912
|
if (!target) return false;
|
|
13913
13913
|
const { unitId, subUnitId, worksheet } = target;
|
|
13914
13914
|
const { startColumn, startRow, xSplit, ySplit } = params;
|
|
13915
|
-
if (startRow >= worksheet.getRowCount() || startColumn >= worksheet.getColumnCount() || xSplit >= worksheet.getColumnCount() || ySplit >= worksheet.getRowCount()) return false;
|
|
13915
|
+
if (!Number.isInteger(startRow) || !Number.isInteger(startColumn) || !Number.isInteger(xSplit) || !Number.isInteger(ySplit) || xSplit < 0 || ySplit < 0 || startRow >= worksheet.getRowCount() || startColumn >= worksheet.getColumnCount() || xSplit >= worksheet.getColumnCount() || ySplit >= worksheet.getRowCount()) return false;
|
|
13916
13916
|
const redoMutationParams = {
|
|
13917
13917
|
unitId,
|
|
13918
13918
|
subUnitId,
|
|
@@ -19369,7 +19369,7 @@ RangeProtectionCache = __decorate([
|
|
|
19369
19369
|
//#endregion
|
|
19370
19370
|
//#region package.json
|
|
19371
19371
|
var name = "@univerjs/sheets";
|
|
19372
|
-
var version = "1.0.0-beta.
|
|
19372
|
+
var version = "1.0.0-beta.2";
|
|
19373
19373
|
|
|
19374
19374
|
//#endregion
|
|
19375
19375
|
//#region src/controllers/active-worksheet.controller.ts
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -24,11 +24,11 @@ const locale = { sheets: {
|
|
|
24
24
|
editErr: "L'interval està protegit i no teniu permís d'edició. Per editar, contacteu amb el creador.",
|
|
25
25
|
formulaErr: "L'interval o l'interval referenciat està protegit, i no teniu permís d'edició. Per editar, contacteu amb el creador.",
|
|
26
26
|
insertOrDeleteMoveRangeErr: "L'interval inserit o suprimit s'interseca amb l'interval protegit, i aquesta operació no és compatible per ara.",
|
|
27
|
-
insertRowColErr: "L'interval
|
|
27
|
+
insertRowColErr: "L'interval està protegit i no teniu permís per inserir files i columnes. Per inserir files i columnes, contacteu amb el creador.",
|
|
28
28
|
moveRangeErr: "L'interval està protegit i no teniu permís per moure la selecció. Per moure la selecció, contacteu amb el creador.",
|
|
29
29
|
moveRowColErr: "L'interval està protegit i no teniu permís per moure files i columnes. Per moure files i columnes, contacteu amb el creador.",
|
|
30
30
|
operatorSheetErr: "El full de càlcul està protegit i no teniu permís per operar-hi. Per operar al full de càlcul, contacteu amb el creador.",
|
|
31
|
-
removeRowColErr: "L'interval
|
|
31
|
+
removeRowColErr: "L'interval està protegit i no teniu permís per suprimir files i columnes. Per suprimir files i columnes, contacteu amb el creador.",
|
|
32
32
|
setRowColStyleErr: "L'interval està protegit i no teniu permís per establir estils de fila i columna. Per establir estils de fila i columna, contacteu amb el creador.",
|
|
33
33
|
setStyleErr: "L'interval està protegit i no teniu permís per establir estils. Per establir estils, contacteu amb el creador."
|
|
34
34
|
} },
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -24,11 +24,11 @@ const locale = { sheets: {
|
|
|
24
24
|
editErr: "Rozsah je chránený a nemáte oprávnenie na úpravy. Ak chcete upravovať, kontaktujte autora.",
|
|
25
25
|
formulaErr: "Rozsah alebo referenčný rozsah je chránený a nemáte oprávnenie na úpravu. Ak chcete upravovať, kontaktujte autora.",
|
|
26
26
|
insertOrDeleteMoveRangeErr: "Vložený alebo odstránený rozsah sa prekrýva s chráneným rozsahom a táto operácia zatiaľ nie je podporovaná.",
|
|
27
|
-
insertRowColErr: "Rozsah je chránený a nemáte
|
|
27
|
+
insertRowColErr: "Rozsah je chránený a nemáte oprávnenie vkladať riadky a stĺpce. Ak chcete vložiť riadky a stĺpce, kontaktujte autora.",
|
|
28
28
|
moveRangeErr: "Rozsah je chránený a nemáte oprávnenie presúvať výber. Ak chcete presúvať výber, kontaktujte autora.",
|
|
29
29
|
moveRowColErr: "Rozsah je chránený a nemáte oprávnenie presúvať riadky a stĺpce. Ak chcete presúvať riadky a stĺpce, kontaktujte autora.",
|
|
30
30
|
operatorSheetErr: "Hárok je chránený a nemáte oprávnenie pracovať s hárkom. Ak chcete pracovať s hárkom, kontaktujte autora.",
|
|
31
|
-
removeRowColErr: "Rozsah je chránený a nemáte
|
|
31
|
+
removeRowColErr: "Rozsah je chránený a nemáte oprávnenie odstraňovať riadky a stĺpce. Ak chcete odstrániť riadky a stĺpce, kontaktujte autora.",
|
|
32
32
|
setRowColStyleErr: "Rozsah je chránený a nemáte oprávnenie nastavovať štýly riadkov a stĺpcov. Ak chcete nastavovať štýly riadkov a stĺpcov, kontaktujte autora.",
|
|
33
33
|
setStyleErr: "Rozsah je chránený a nemáte oprávnenie nastavovať štýly. Ak chcete nastavovať štýly, kontaktujte autora."
|
|
34
34
|
} },
|