@univerjs/sheets-formula 1.0.0-alpha.0 → 1.0.0-alpha.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 +4 -4
- package/lib/es/index.js +4 -4
- package/lib/index.js +4 -4
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/cjs/index.js
CHANGED
|
@@ -2664,7 +2664,7 @@ function tableReferenceContainsColumn(columnStruct, columnNames) {
|
|
|
2664
2664
|
//#endregion
|
|
2665
2665
|
//#region package.json
|
|
2666
2666
|
var name = "@univerjs/sheets-formula";
|
|
2667
|
-
var version = "1.0.0-alpha.
|
|
2667
|
+
var version = "1.0.0-alpha.2";
|
|
2668
2668
|
|
|
2669
2669
|
//#endregion
|
|
2670
2670
|
//#region src/common/plugin-name.ts
|
|
@@ -16055,7 +16055,7 @@ let DefinedNameController = class DefinedNameController extends _univerjs_core.D
|
|
|
16055
16055
|
const definedNames = this._definedNamesService.getDefinedNameMap(this._preUnitId);
|
|
16056
16056
|
if (!definedNames) return;
|
|
16057
16057
|
const functionList = [];
|
|
16058
|
-
|
|
16058
|
+
Object.values(definedNames).forEach((value) => {
|
|
16059
16059
|
const { name } = value;
|
|
16060
16060
|
functionList.push(name);
|
|
16061
16061
|
});
|
|
@@ -16073,7 +16073,7 @@ let DefinedNameController = class DefinedNameController extends _univerjs_core.D
|
|
|
16073
16073
|
if (!definedNames) return;
|
|
16074
16074
|
const functionList = [];
|
|
16075
16075
|
this._preUnitId = _unitId;
|
|
16076
|
-
|
|
16076
|
+
Object.values(definedNames).forEach((value) => {
|
|
16077
16077
|
const { name, comment, formulaOrRefString, localSheetId } = value;
|
|
16078
16078
|
if (this._descriptionService.hasDescription(name)) return;
|
|
16079
16079
|
if (localSheetId == null || localSheetId === _univerjs_sheets.SCOPE_WORKBOOK_VALUE_DEFINED_NAME || localSheetId === _subUnitId) functionList.push({
|
|
@@ -16090,7 +16090,7 @@ let DefinedNameController = class DefinedNameController extends _univerjs_core.D
|
|
|
16090
16090
|
const definedNames = this._definedNamesService.getDefinedNameMap(unitId);
|
|
16091
16091
|
if (!definedNames) return;
|
|
16092
16092
|
const functionList = [];
|
|
16093
|
-
|
|
16093
|
+
Object.values(definedNames).forEach((value) => {
|
|
16094
16094
|
const { name, localSheetId } = value;
|
|
16095
16095
|
if (localSheetId !== _univerjs_sheets.SCOPE_WORKBOOK_VALUE_DEFINED_NAME && localSheetId !== subUnitId) functionList.push(name);
|
|
16096
16096
|
});
|
package/lib/es/index.js
CHANGED
|
@@ -2663,7 +2663,7 @@ function tableReferenceContainsColumn(columnStruct, columnNames) {
|
|
|
2663
2663
|
//#endregion
|
|
2664
2664
|
//#region package.json
|
|
2665
2665
|
var name = "@univerjs/sheets-formula";
|
|
2666
|
-
var version = "1.0.0-alpha.
|
|
2666
|
+
var version = "1.0.0-alpha.2";
|
|
2667
2667
|
|
|
2668
2668
|
//#endregion
|
|
2669
2669
|
//#region src/common/plugin-name.ts
|
|
@@ -16054,7 +16054,7 @@ let DefinedNameController = class DefinedNameController extends Disposable {
|
|
|
16054
16054
|
const definedNames = this._definedNamesService.getDefinedNameMap(this._preUnitId);
|
|
16055
16055
|
if (!definedNames) return;
|
|
16056
16056
|
const functionList = [];
|
|
16057
|
-
|
|
16057
|
+
Object.values(definedNames).forEach((value) => {
|
|
16058
16058
|
const { name } = value;
|
|
16059
16059
|
functionList.push(name);
|
|
16060
16060
|
});
|
|
@@ -16072,7 +16072,7 @@ let DefinedNameController = class DefinedNameController extends Disposable {
|
|
|
16072
16072
|
if (!definedNames) return;
|
|
16073
16073
|
const functionList = [];
|
|
16074
16074
|
this._preUnitId = _unitId;
|
|
16075
|
-
|
|
16075
|
+
Object.values(definedNames).forEach((value) => {
|
|
16076
16076
|
const { name, comment, formulaOrRefString, localSheetId } = value;
|
|
16077
16077
|
if (this._descriptionService.hasDescription(name)) return;
|
|
16078
16078
|
if (localSheetId == null || localSheetId === SCOPE_WORKBOOK_VALUE_DEFINED_NAME || localSheetId === _subUnitId) functionList.push({
|
|
@@ -16089,7 +16089,7 @@ let DefinedNameController = class DefinedNameController extends Disposable {
|
|
|
16089
16089
|
const definedNames = this._definedNamesService.getDefinedNameMap(unitId);
|
|
16090
16090
|
if (!definedNames) return;
|
|
16091
16091
|
const functionList = [];
|
|
16092
|
-
|
|
16092
|
+
Object.values(definedNames).forEach((value) => {
|
|
16093
16093
|
const { name, localSheetId } = value;
|
|
16094
16094
|
if (localSheetId !== SCOPE_WORKBOOK_VALUE_DEFINED_NAME && localSheetId !== subUnitId) functionList.push(name);
|
|
16095
16095
|
});
|
package/lib/index.js
CHANGED
|
@@ -2663,7 +2663,7 @@ function tableReferenceContainsColumn(columnStruct, columnNames) {
|
|
|
2663
2663
|
//#endregion
|
|
2664
2664
|
//#region package.json
|
|
2665
2665
|
var name = "@univerjs/sheets-formula";
|
|
2666
|
-
var version = "1.0.0-alpha.
|
|
2666
|
+
var version = "1.0.0-alpha.2";
|
|
2667
2667
|
|
|
2668
2668
|
//#endregion
|
|
2669
2669
|
//#region src/common/plugin-name.ts
|
|
@@ -16054,7 +16054,7 @@ let DefinedNameController = class DefinedNameController extends Disposable {
|
|
|
16054
16054
|
const definedNames = this._definedNamesService.getDefinedNameMap(this._preUnitId);
|
|
16055
16055
|
if (!definedNames) return;
|
|
16056
16056
|
const functionList = [];
|
|
16057
|
-
|
|
16057
|
+
Object.values(definedNames).forEach((value) => {
|
|
16058
16058
|
const { name } = value;
|
|
16059
16059
|
functionList.push(name);
|
|
16060
16060
|
});
|
|
@@ -16072,7 +16072,7 @@ let DefinedNameController = class DefinedNameController extends Disposable {
|
|
|
16072
16072
|
if (!definedNames) return;
|
|
16073
16073
|
const functionList = [];
|
|
16074
16074
|
this._preUnitId = _unitId;
|
|
16075
|
-
|
|
16075
|
+
Object.values(definedNames).forEach((value) => {
|
|
16076
16076
|
const { name, comment, formulaOrRefString, localSheetId } = value;
|
|
16077
16077
|
if (this._descriptionService.hasDescription(name)) return;
|
|
16078
16078
|
if (localSheetId == null || localSheetId === SCOPE_WORKBOOK_VALUE_DEFINED_NAME || localSheetId === _subUnitId) functionList.push({
|
|
@@ -16089,7 +16089,7 @@ let DefinedNameController = class DefinedNameController extends Disposable {
|
|
|
16089
16089
|
const definedNames = this._definedNamesService.getDefinedNameMap(unitId);
|
|
16090
16090
|
if (!definedNames) return;
|
|
16091
16091
|
const functionList = [];
|
|
16092
|
-
|
|
16092
|
+
Object.values(definedNames).forEach((value) => {
|
|
16093
16093
|
const { name, localSheetId } = value;
|
|
16094
16094
|
if (localSheetId !== SCOPE_WORKBOOK_VALUE_DEFINED_NAME && localSheetId !== subUnitId) functionList.push(name);
|
|
16095
16095
|
});
|