@logicflow/extension 1.2.12 → 1.2.14

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.
@@ -26,7 +26,7 @@ var __read = (this && this.__read) || function (o, n) {
26
26
  return ar;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.BPMNElements = exports.useDefinition = void 0;
29
+ exports.bpmnUtils = exports.icons = exports.BPMNElements = exports.useDefinition = void 0;
30
30
  /* eslint-disable @typescript-eslint/naming-convention */
31
31
  /* eslint-disable react-hooks/rules-of-hooks */
32
32
  var Event_1 = require("./presets/Event");
@@ -35,6 +35,10 @@ var Task_1 = require("./presets/Task");
35
35
  // import { registerPoolNodes } from './presets/Pool';
36
36
  var Flow_1 = require("./presets/Flow");
37
37
  var icons_1 = require("./presets/icons");
38
+ var icons = require("./presets/icons");
39
+ exports.icons = icons;
40
+ var bpmnUtils = require("./utils");
41
+ exports.bpmnUtils = bpmnUtils;
38
42
  var definitionConfig = [
39
43
  {
40
44
  nodes: ['startEvent', 'intermediateCatchEvent', 'boundaryEvent'],
@@ -98,5 +102,3 @@ __exportStar(require("./presets/Flow/sequenceFlow"), exports);
98
102
  __exportStar(require("./presets/Task/task"), exports);
99
103
  __exportStar(require("./presets/Task/subProcess"), exports);
100
104
  __exportStar(require("./presets/Gateway/gateway"), exports);
101
- exports.icons = require("./presets/icons");
102
- exports.bpmnUtils = require("./utils");
@@ -1,3 +1,5 @@
1
+ import * as icons from './presets/icons';
2
+ import * as bpmnUtils from './utils';
1
3
  export declare function useDefinition(definition: any): () => any[];
2
4
  export declare class BPMNElements {
3
5
  static pluginName: string;
@@ -12,5 +14,4 @@ export * from './presets/Flow/sequenceFlow';
12
14
  export * from './presets/Task/task';
13
15
  export * from './presets/Task/subProcess';
14
16
  export * from './presets/Gateway/gateway';
15
- export * as icons from './presets/icons';
16
- export * as bpmnUtils from './utils';
17
+ export { icons, bpmnUtils };
@@ -22,6 +22,8 @@ import { registerTaskNodes } from './presets/Task';
22
22
  // import { registerPoolNodes } from './presets/Pool';
23
23
  import { registerFlows } from './presets/Flow';
24
24
  import { timerIcon } from './presets/icons';
25
+ import * as icons from './presets/icons';
26
+ import * as bpmnUtils from './utils';
25
27
  var definitionConfig = [
26
28
  {
27
29
  nodes: ['startEvent', 'intermediateCatchEvent', 'boundaryEvent'],
@@ -84,5 +86,4 @@ export * from './presets/Flow/sequenceFlow';
84
86
  export * from './presets/Task/task';
85
87
  export * from './presets/Task/subProcess';
86
88
  export * from './presets/Gateway/gateway';
87
- export * as icons from './presets/icons';
88
- export * as bpmnUtils from './utils';
89
+ export { icons, bpmnUtils };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logicflow/extension",
3
- "version": "1.2.12",
3
+ "version": "1.2.14",
4
4
  "description": "LogicFlow extension",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -32,7 +32,7 @@
32
32
  "readme.md"
33
33
  ],
34
34
  "dependencies": {
35
- "@logicflow/core": "^1.2.12",
35
+ "@logicflow/core": "^1.2.13",
36
36
  "jest": "27.5.1",
37
37
  "lodash-es": "^4.17.21",
38
38
  "preact": "^10.4.8"