@openforis/arena-core 3.1.3 → 3.1.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.
@@ -1 +1 @@
1
- {"version":3,"file":"entity.js","sourceRoot":"","sources":["../../../../src/nodeDef/types/entity.ts"],"names":[],"mappings":"AA2BA,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,wCAAa,CAAA;IACb,0CAAe,CAAA;AACjB,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC","sourcesContent":["import { ArenaNodeDef, ArenaNodeDefLayout, ArenaNodeDefPropsWithLayout, NodeDefType } from '../nodeDef'\n\nexport interface ArenaNodeDefEntityChildPosition {\n h?: number\n i: string\n maxH?: number\n minH?: number\n minW?: number\n moved?: boolean\n static?: number\n w?: number\n x: number\n y: number\n}\n\nexport type ArenaNodeDefEntityLayoutChildItem = ArenaNodeDefEntityChildPosition | string\n\nexport type ArenaNodeDefPrintOrientation = 'portrait' | 'landscape'\n\nexport interface ArenaNodeDefEntityProps extends ArenaNodeDefPropsWithLayout<ArenaNodeDefEntityLayout> {\n // Applies only to multiple entities; when true, missing repetitions up to min count are auto-created.\n autoCreateMinCountItems?: boolean\n enumerate?: boolean\n /** When set, printable export uses this orientation for the entity's print section. */\n printOrientation?: ArenaNodeDefPrintOrientation\n}\n\nexport enum NodeDefEntityRenderType {\n form = 'form',\n table = 'table',\n}\n\nexport interface ArenaNodeDefEntityLayout extends ArenaNodeDefLayout {\n columnsNo?: number\n indexChildren?: string[] // sorted children pages uuids\n layoutChildren?: ArenaNodeDefEntityLayoutChildItem[]\n pageUuid?: string\n renderType: NodeDefEntityRenderType\n}\n\nexport type ArenaNodeDefEntity = ArenaNodeDef<NodeDefType.entity, ArenaNodeDefEntityProps>\n"]}
1
+ {"version":3,"file":"entity.js","sourceRoot":"","sources":["../../../../src/nodeDef/types/entity.ts"],"names":[],"mappings":"AA2BA,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,wCAAa,CAAA;IACb,0CAAe,CAAA;AACjB,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC","sourcesContent":["import { ArenaNodeDef, ArenaNodeDefLayout, ArenaNodeDefPropsWithLayout, NodeDefType } from '../nodeDef'\n\nexport interface ArenaNodeDefEntityChildPosition {\n h?: number\n i: string\n maxH?: number\n minH?: number\n minW?: number\n moved?: boolean\n static?: boolean\n w?: number\n x: number\n y: number\n}\n\nexport type ArenaNodeDefEntityLayoutChildItem = ArenaNodeDefEntityChildPosition | string\n\nexport type ArenaNodeDefPrintOrientation = 'portrait' | 'landscape'\n\nexport interface ArenaNodeDefEntityProps extends ArenaNodeDefPropsWithLayout<ArenaNodeDefEntityLayout> {\n // Applies only to multiple entities; when true, missing repetitions up to min count are auto-created.\n autoCreateMinCountItems?: boolean\n enumerate?: boolean\n /** When set, printable export uses this orientation for the entity's print section. */\n printOrientation?: ArenaNodeDefPrintOrientation\n}\n\nexport enum NodeDefEntityRenderType {\n form = 'form',\n table = 'table',\n}\n\nexport interface ArenaNodeDefEntityLayout extends ArenaNodeDefLayout {\n columnsNo?: number\n indexChildren?: string[] // sorted children pages uuids\n layoutChildren?: ArenaNodeDefEntityLayoutChildItem[]\n pageUuid?: string\n renderType: NodeDefEntityRenderType\n}\n\nexport type ArenaNodeDefEntity = ArenaNodeDef<NodeDefType.entity, ArenaNodeDefEntityProps>\n"]}
@@ -1,3 +1,7 @@
1
- import _isEqual from 'lodash.isequal';
2
- export const isEqual = _isEqual;
1
+ import { isEqual as _isEqual } from 'es-toolkit/predicate';
2
+ /**
3
+ * Performs a deep comparison between two values to determine if they are equivalent
4
+ * (same semantics as lodash isEqual).
5
+ */
6
+ export const isEqual = (value, other) => _isEqual(value, other);
3
7
  //# sourceMappingURL=isEqual.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEqual.js","sourceRoot":"","sources":["../../../../src/utils/_objects/isEqual.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AAErC,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAA","sourcesContent":["import _isEqual from 'lodash.isequal'\n\nexport const isEqual = _isEqual\n"]}
1
+ {"version":3,"file":"isEqual.js","sourceRoot":"","sources":["../../../../src/utils/_objects/isEqual.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAE1D;;;GAGG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,KAAc,EAAE,KAAc,EAAW,EAAE,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA","sourcesContent":["import { isEqual as _isEqual } from 'es-toolkit/predicate'\n\n/**\n * Performs a deep comparison between two values to determine if they are equivalent\n * (same semantics as lodash isEqual).\n */\nexport const isEqual = (value: unknown, other: unknown): boolean => _isEqual(value, other)\n"]}
@@ -6,7 +6,7 @@ export interface ArenaNodeDefEntityChildPosition {
6
6
  minH?: number;
7
7
  minW?: number;
8
8
  moved?: boolean;
9
- static?: number;
9
+ static?: boolean;
10
10
  w?: number;
11
11
  x: number;
12
12
  y: number;
@@ -1 +1 @@
1
- {"version":3,"file":"entity.js","sourceRoot":"","sources":["../../../src/nodeDef/types/entity.ts"],"names":[],"mappings":";;;AA2BA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,wCAAa,CAAA;IACb,0CAAe,CAAA;AACjB,CAAC,EAHW,uBAAuB,aAAvB,uBAAuB,GAAvB,uBAAuB,QAGlC","sourcesContent":["import { ArenaNodeDef, ArenaNodeDefLayout, ArenaNodeDefPropsWithLayout, NodeDefType } from '../nodeDef'\n\nexport interface ArenaNodeDefEntityChildPosition {\n h?: number\n i: string\n maxH?: number\n minH?: number\n minW?: number\n moved?: boolean\n static?: number\n w?: number\n x: number\n y: number\n}\n\nexport type ArenaNodeDefEntityLayoutChildItem = ArenaNodeDefEntityChildPosition | string\n\nexport type ArenaNodeDefPrintOrientation = 'portrait' | 'landscape'\n\nexport interface ArenaNodeDefEntityProps extends ArenaNodeDefPropsWithLayout<ArenaNodeDefEntityLayout> {\n // Applies only to multiple entities; when true, missing repetitions up to min count are auto-created.\n autoCreateMinCountItems?: boolean\n enumerate?: boolean\n /** When set, printable export uses this orientation for the entity's print section. */\n printOrientation?: ArenaNodeDefPrintOrientation\n}\n\nexport enum NodeDefEntityRenderType {\n form = 'form',\n table = 'table',\n}\n\nexport interface ArenaNodeDefEntityLayout extends ArenaNodeDefLayout {\n columnsNo?: number\n indexChildren?: string[] // sorted children pages uuids\n layoutChildren?: ArenaNodeDefEntityLayoutChildItem[]\n pageUuid?: string\n renderType: NodeDefEntityRenderType\n}\n\nexport type ArenaNodeDefEntity = ArenaNodeDef<NodeDefType.entity, ArenaNodeDefEntityProps>\n"]}
1
+ {"version":3,"file":"entity.js","sourceRoot":"","sources":["../../../src/nodeDef/types/entity.ts"],"names":[],"mappings":";;;AA2BA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,wCAAa,CAAA;IACb,0CAAe,CAAA;AACjB,CAAC,EAHW,uBAAuB,aAAvB,uBAAuB,GAAvB,uBAAuB,QAGlC","sourcesContent":["import { ArenaNodeDef, ArenaNodeDefLayout, ArenaNodeDefPropsWithLayout, NodeDefType } from '../nodeDef'\n\nexport interface ArenaNodeDefEntityChildPosition {\n h?: number\n i: string\n maxH?: number\n minH?: number\n minW?: number\n moved?: boolean\n static?: boolean\n w?: number\n x: number\n y: number\n}\n\nexport type ArenaNodeDefEntityLayoutChildItem = ArenaNodeDefEntityChildPosition | string\n\nexport type ArenaNodeDefPrintOrientation = 'portrait' | 'landscape'\n\nexport interface ArenaNodeDefEntityProps extends ArenaNodeDefPropsWithLayout<ArenaNodeDefEntityLayout> {\n // Applies only to multiple entities; when true, missing repetitions up to min count are auto-created.\n autoCreateMinCountItems?: boolean\n enumerate?: boolean\n /** When set, printable export uses this orientation for the entity's print section. */\n printOrientation?: ArenaNodeDefPrintOrientation\n}\n\nexport enum NodeDefEntityRenderType {\n form = 'form',\n table = 'table',\n}\n\nexport interface ArenaNodeDefEntityLayout extends ArenaNodeDefLayout {\n columnsNo?: number\n indexChildren?: string[] // sorted children pages uuids\n layoutChildren?: ArenaNodeDefEntityLayoutChildItem[]\n pageUuid?: string\n renderType: NodeDefEntityRenderType\n}\n\nexport type ArenaNodeDefEntity = ArenaNodeDef<NodeDefType.entity, ArenaNodeDefEntityProps>\n"]}
@@ -10,6 +10,7 @@ import { dissocPathIfEmpty } from './dissocPathIfEmpty';
10
10
  import { fromPairs } from './fromPairs';
11
11
  import { isEmpty } from './isEmpty';
12
12
  import { isNotEmpty } from './isNotEmpty';
13
+ import { isEqual } from './isEqual';
13
14
  import { isNil } from './isNil';
14
15
  import { parse } from './parse';
15
16
  import { path } from './path';
@@ -29,7 +30,7 @@ export declare const Objects: {
29
30
  dissocPathIfEmpty: typeof dissocPathIfEmpty;
30
31
  fromPairs: typeof fromPairs;
31
32
  isEmpty: typeof isEmpty;
32
- isEqual: (value: any, other: any) => boolean;
33
+ isEqual: typeof isEqual;
33
34
  isNil: typeof isNil;
34
35
  isNotEmpty: typeof isNotEmpty;
35
36
  parse: typeof parse;
@@ -1 +1,5 @@
1
- export declare const isEqual: (value: any, other: any) => boolean;
1
+ /**
2
+ * Performs a deep comparison between two values to determine if they are equivalent
3
+ * (same semantics as lodash isEqual).
4
+ */
5
+ export declare const isEqual: (value: unknown, other: unknown) => boolean;
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.isEqual = void 0;
7
- const lodash_isequal_1 = __importDefault(require("lodash.isequal"));
8
- exports.isEqual = lodash_isequal_1.default;
4
+ const predicate_1 = require("es-toolkit/predicate");
5
+ /**
6
+ * Performs a deep comparison between two values to determine if they are equivalent
7
+ * (same semantics as lodash isEqual).
8
+ */
9
+ const isEqual = (value, other) => (0, predicate_1.isEqual)(value, other);
10
+ exports.isEqual = isEqual;
9
11
  //# sourceMappingURL=isEqual.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"isEqual.js","sourceRoot":"","sources":["../../../src/utils/_objects/isEqual.ts"],"names":[],"mappings":";;;;;;AAAA,oEAAqC;AAExB,QAAA,OAAO,GAAG,wBAAQ,CAAA","sourcesContent":["import _isEqual from 'lodash.isequal'\n\nexport const isEqual = _isEqual\n"]}
1
+ {"version":3,"file":"isEqual.js","sourceRoot":"","sources":["../../../src/utils/_objects/isEqual.ts"],"names":[],"mappings":";;;AAAA,oDAA0D;AAE1D;;;GAGG;AACI,MAAM,OAAO,GAAG,CAAC,KAAc,EAAE,KAAc,EAAW,EAAE,CAAC,IAAA,mBAAQ,EAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AAA7E,QAAA,OAAO,GAAP,OAAO,CAAsE","sourcesContent":["import { isEqual as _isEqual } from 'es-toolkit/predicate'\n\n/**\n * Performs a deep comparison between two values to determine if they are equivalent\n * (same semantics as lodash isEqual).\n */\nexport const isEqual = (value: unknown, other: unknown): boolean => _isEqual(value, other)\n"]}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "OpenForis",
5
5
  "email": "openforis.arena@gmail.com"
6
6
  },
7
- "version": "3.1.3",
7
+ "version": "3.1.6",
8
8
  "description": "Arena core module",
9
9
  "repository": {
10
10
  "type": "git",
@@ -23,14 +23,11 @@
23
23
  "devDependencies": {
24
24
  "@jest/globals": "^30.5.2",
25
25
  "@types/jest": "^30.0.0",
26
- "@types/lodash.isequal": "^4.5.8",
27
26
  "@types/node": "^26.6.6",
28
- "@types/proj4": "^2.19.0",
29
27
  "@typescript-eslint/eslint-plugin": "^8.73.0",
30
28
  "@typescript-eslint/parser": "^8.73.0",
31
29
  "@typescript/native": "npm:typescript@7.0.2",
32
30
  "eslint": "^10.15.0",
33
- "eslint-plugin-no-explicit-type-exports": "^0.12.1",
34
31
  "husky": "^9.1.7",
35
32
  "jest": "^30.5.2",
36
33
  "lint-staged": "^17.6.2",
@@ -50,8 +47,8 @@
50
47
  "bignumber.js": "^11.1.5",
51
48
  "change-case": "^5.4.4",
52
49
  "dayjs": "^1.11.23",
50
+ "es-toolkit": "^1.53.2",
53
51
  "jsep": "^1.6.0",
54
- "lodash.isequal": "^4.5.0",
55
52
  "n2words": "^6.3.1",
56
53
  "proj4": "^2.23.0",
57
54
  "uuid": "^14.0.3"