@knotx/core 0.0.1 → 0.0.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/dist/data.cjs ADDED
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ const data = require('@knotx/data');
4
+
5
+
6
+
7
+ Object.prototype.hasOwnProperty.call(data, '__proto__') &&
8
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
9
+ Object.defineProperty(exports, '__proto__', {
10
+ enumerable: true,
11
+ value: data['__proto__']
12
+ });
13
+
14
+ Object.keys(data).forEach(function (k) {
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = data[k];
16
+ });
@@ -0,0 +1,2 @@
1
+ export * from '@knotx/data';
2
+ import '@knotx/utils';
@@ -0,0 +1,2 @@
1
+ export * from '@knotx/data';
2
+ import '@knotx/utils';
package/dist/data.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@knotx/data';
2
+ import '@knotx/utils';
package/dist/data.mjs ADDED
@@ -0,0 +1 @@
1
+ export * from '@knotx/data';
package/dist/index.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  const core = require('@knotx/core');
4
- const data = require('@knotx/data');
5
4
  const lodashEs = require('lodash-es');
6
5
  const rxjs = require('rxjs');
7
6
  const utils = require('@knotx/utils');
7
+ const data = require('@knotx/data');
8
8
 
9
9
  var __defProp$4 = Object.defineProperty;
10
10
  var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
@@ -416,3 +416,13 @@ Object.prototype.hasOwnProperty.call(utils, '__proto__') &&
416
416
  Object.keys(utils).forEach(function (k) {
417
417
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = utils[k];
418
418
  });
419
+ Object.prototype.hasOwnProperty.call(data, '__proto__') &&
420
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
421
+ Object.defineProperty(exports, '__proto__', {
422
+ enumerable: true,
423
+ value: data['__proto__']
424
+ });
425
+
426
+ Object.keys(data).forEach(function (k) {
427
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = data[k];
428
+ });
package/dist/index.d.cts CHANGED
@@ -1,5 +1,6 @@
1
- import { DataOperationPipe, DataOperation, DataManager } from '@knotx/data';
2
1
  import { BehaviorSubject } from 'rxjs';
2
+ import { DataOperationPipe, DataOperation, DataManager } from '@knotx/data';
3
+ export * from '@knotx/data';
3
4
  import { Container as Container$1, PluginDefinition as PluginDefinition$1, NodeData as NodeData$1, EdgeData as EdgeData$1, IEngineRuntime as IEngineRuntime$1, RenderType as RenderType$1, LayerComponent as LayerComponent$1, IPlugin as IPlugin$1, Layer as Layer$1, NodeRenderType as NodeRenderType$1, EdgeRenderType as EdgeRenderType$1, PluginData as PluginData$1, InteractionPriority as InteractionPriority$1 } from '@knotx/core';
4
5
  export * from '@knotx/utils';
5
6
 
package/dist/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
- import { DataOperationPipe, DataOperation, DataManager } from '@knotx/data';
2
1
  import { BehaviorSubject } from 'rxjs';
2
+ import { DataOperationPipe, DataOperation, DataManager } from '@knotx/data';
3
+ export * from '@knotx/data';
3
4
  import { Container as Container$1, PluginDefinition as PluginDefinition$1, NodeData as NodeData$1, EdgeData as EdgeData$1, IEngineRuntime as IEngineRuntime$1, RenderType as RenderType$1, LayerComponent as LayerComponent$1, IPlugin as IPlugin$1, Layer as Layer$1, NodeRenderType as NodeRenderType$1, EdgeRenderType as EdgeRenderType$1, PluginData as PluginData$1, InteractionPriority as InteractionPriority$1 } from '@knotx/core';
4
5
  export * from '@knotx/utils';
5
6
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { DataOperationPipe, DataOperation, DataManager } from '@knotx/data';
2
1
  import { BehaviorSubject } from 'rxjs';
2
+ import { DataOperationPipe, DataOperation, DataManager } from '@knotx/data';
3
+ export * from '@knotx/data';
3
4
  import { Container as Container$1, PluginDefinition as PluginDefinition$1, NodeData as NodeData$1, EdgeData as EdgeData$1, IEngineRuntime as IEngineRuntime$1, RenderType as RenderType$1, LayerComponent as LayerComponent$1, IPlugin as IPlugin$1, Layer as Layer$1, NodeRenderType as NodeRenderType$1, EdgeRenderType as EdgeRenderType$1, PluginData as PluginData$1, InteractionPriority as InteractionPriority$1 } from '@knotx/core';
4
5
  export * from '@knotx/utils';
5
6
 
package/dist/index.mjs CHANGED
@@ -1,9 +1,10 @@
1
1
  import { Layer as Layer$1, BasePlugin as BasePlugin$1 } from '@knotx/core';
2
- import { DataManager } from '@knotx/data';
3
2
  import { set, get } from 'lodash-es';
4
3
  import { BehaviorSubject, identity } from 'rxjs';
5
4
  import { getSymbol } from '@knotx/utils';
6
5
  export * from '@knotx/utils';
6
+ import { DataManager } from '@knotx/data';
7
+ export * from '@knotx/data';
7
8
 
8
9
  var __defProp$4 = Object.defineProperty;
9
10
  var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knotx/core",
3
3
  "type": "module",
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "description": "Core for Knotx",
6
6
  "author": "boenfu",
7
7
  "license": "MIT",
@@ -25,6 +25,11 @@
25
25
  "types": "./dist/utils.d.ts",
26
26
  "import": "./dist/utils.mjs",
27
27
  "require": "./dist/utils.cjs"
28
+ },
29
+ "./data": {
30
+ "types": "./dist/data.d.ts",
31
+ "import": "./dist/data.mjs",
32
+ "require": "./dist/data.cjs"
28
33
  }
29
34
  },
30
35
  "main": "./dist/index.cjs",
@@ -36,14 +41,14 @@
36
41
  "dependencies": {
37
42
  "lodash-es": "^4.17.21",
38
43
  "rxjs": "^7.8.1",
39
- "@knotx/data": "0.0.1",
40
- "@knotx/utils": "0.0.1"
44
+ "@knotx/data": "0.0.2",
45
+ "@knotx/utils": "0.0.2"
41
46
  },
42
47
  "devDependencies": {
43
48
  "@types/lodash-es": "^4.17.12",
44
- "@knotx/eslint-config": "0.0.1",
45
- "@knotx/typescript-config": "0.0.1",
46
- "@knotx/build-config": "0.0.1"
49
+ "@knotx/build-config": "0.0.2",
50
+ "@knotx/eslint-config": "0.0.2",
51
+ "@knotx/typescript-config": "0.0.2"
47
52
  },
48
53
  "scripts": {
49
54
  "build": "unbuild --failOnWarn=false",