@kne/react-flow-chart 0.1.6 → 0.1.7

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.
@@ -0,0 +1,13 @@
1
+ const locale = {
2
+ start: 'Start',
3
+ end: 'End',
4
+ normalNode: 'Normal Node',
5
+ branchNode: 'Branch Node',
6
+ conditionBranch: 'Condition Branch',
7
+ condition: 'Condition',
8
+ conditionContent: 'Condition Content',
9
+ nodeContent: 'Node Content'
10
+ };
11
+
12
+ module.exports = locale;
13
+ //# sourceMappingURL=en.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en.js","sources":["../../src/locale/en.js"],"sourcesContent":["const locale = {\n start: 'Start',\n end: 'End',\n normalNode: 'Normal Node',\n branchNode: 'Branch Node',\n conditionBranch: 'Condition Branch',\n condition: 'Condition',\n conditionContent: 'Condition Content',\n nodeContent: 'Node Content'\n};\n\nexport default locale;\n"],"names":["locale","start","end","normalNode","branchNode","conditionBranch","condition","conditionContent","nodeContent"],"mappings":"AAAA,MAAMA,MAAM,GAAG;AACbC,EAAAA,KAAK,EAAE,OAAO;AACdC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,UAAU,EAAE,aAAa;AACzBC,EAAAA,UAAU,EAAE,aAAa;AACzBC,EAAAA,eAAe,EAAE,kBAAkB;AACnCC,EAAAA,SAAS,EAAE,WAAW;AACtBC,EAAAA,gBAAgB,EAAE,mBAAmB;AACrCC,EAAAA,WAAW,EAAE,cAAA;AACf;;;;"}
@@ -0,0 +1,13 @@
1
+ const locale = {
2
+ start: 'Start',
3
+ end: 'End',
4
+ normalNode: 'Normal Node',
5
+ branchNode: 'Branch Node',
6
+ conditionBranch: 'Condition Branch',
7
+ condition: 'Condition',
8
+ conditionContent: 'Condition Content',
9
+ nodeContent: 'Node Content'
10
+ };
11
+
12
+ export { locale as default };
13
+ //# sourceMappingURL=en.modern.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en.modern.js","sources":["../../src/locale/en.js"],"sourcesContent":["const locale = {\n start: 'Start',\n end: 'End',\n normalNode: 'Normal Node',\n branchNode: 'Branch Node',\n conditionBranch: 'Condition Branch',\n condition: 'Condition',\n conditionContent: 'Condition Content',\n nodeContent: 'Node Content'\n};\n\nexport default locale;\n"],"names":["locale","start","end","normalNode","branchNode","conditionBranch","condition","conditionContent","nodeContent"],"mappings":"AAAA,MAAMA,MAAM,GAAG;AACbC,EAAAA,KAAK,EAAE,OAAO;AACdC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,UAAU,EAAE,aAAa;AACzBC,EAAAA,UAAU,EAAE,aAAa;AACzBC,EAAAA,eAAe,EAAE,kBAAkB;AACnCC,EAAAA,SAAS,EAAE,WAAW;AACtBC,EAAAA,gBAAgB,EAAE,mBAAmB;AACrCC,EAAAA,WAAW,EAAE,cAAA;AACf;;;;"}
@@ -0,0 +1,13 @@
1
+ const locale = {
2
+ start: '开始',
3
+ end: '结束',
4
+ normalNode: '普通节点',
5
+ branchNode: '分支节点',
6
+ conditionBranch: '条件分支',
7
+ condition: '条件',
8
+ conditionContent: '条件内容',
9
+ nodeContent: '节点内容'
10
+ };
11
+
12
+ module.exports = locale;
13
+ //# sourceMappingURL=zh-cn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zh-cn.js","sources":["../../src/locale/zh-cn.js"],"sourcesContent":["const locale = {\n start: '开始',\n end: '结束',\n normalNode: '普通节点',\n branchNode: '分支节点',\n conditionBranch: '条件分支',\n condition: '条件',\n conditionContent: '条件内容',\n nodeContent: '节点内容'\n};\n\nexport default locale;\n"],"names":["locale","start","end","normalNode","branchNode","conditionBranch","condition","conditionContent","nodeContent"],"mappings":"AAAA,MAAMA,MAAM,GAAG;AACbC,EAAAA,KAAK,EAAE,IAAI;AACXC,EAAAA,GAAG,EAAE,IAAI;AACTC,EAAAA,UAAU,EAAE,MAAM;AAClBC,EAAAA,UAAU,EAAE,MAAM;AAClBC,EAAAA,eAAe,EAAE,MAAM;AACvBC,EAAAA,SAAS,EAAE,IAAI;AACfC,EAAAA,gBAAgB,EAAE,MAAM;AACxBC,EAAAA,WAAW,EAAE,MAAA;AACf;;;;"}
@@ -0,0 +1,13 @@
1
+ const locale = {
2
+ start: '开始',
3
+ end: '结束',
4
+ normalNode: '普通节点',
5
+ branchNode: '分支节点',
6
+ conditionBranch: '条件分支',
7
+ condition: '条件',
8
+ conditionContent: '条件内容',
9
+ nodeContent: '节点内容'
10
+ };
11
+
12
+ export { locale as default };
13
+ //# sourceMappingURL=zh-cn.modern.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zh-cn.modern.js","sources":["../../src/locale/zh-cn.js"],"sourcesContent":["const locale = {\n start: '开始',\n end: '结束',\n normalNode: '普通节点',\n branchNode: '分支节点',\n conditionBranch: '条件分支',\n condition: '条件',\n conditionContent: '条件内容',\n nodeContent: '节点内容'\n};\n\nexport default locale;\n"],"names":["locale","start","end","normalNode","branchNode","conditionBranch","condition","conditionContent","nodeContent"],"mappings":"AAAA,MAAMA,MAAM,GAAG;AACbC,EAAAA,KAAK,EAAE,IAAI;AACXC,EAAAA,GAAG,EAAE,IAAI;AACTC,EAAAA,UAAU,EAAE,MAAM;AAClBC,EAAAA,UAAU,EAAE,MAAM;AAClBC,EAAAA,eAAe,EAAE,MAAM;AACvBC,EAAAA,SAAS,EAAE,IAAI;AACfC,EAAAA,gBAAgB,EAAE,MAAM;AACxBC,EAAAA,WAAW,EAAE,MAAA;AACf;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kne/react-flow-chart",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "用于展示或编辑一个审批流.",
5
5
  "syntax": {
6
6
  "esmodules": true
@@ -11,12 +11,13 @@
11
11
  "scripts": {
12
12
  "init": "husky && npm run init-example",
13
13
  "start": "run-p start:lib start:md start:example",
14
- "build": "run-s build:lib build:locale build:md build:example",
14
+ "build": "run-s build:lib build:md build:example",
15
15
  "init-example": "modules-dev-libs-init",
16
16
  "build:md": "npx @kne/md-doc",
17
17
  "start:md": "npx @kne/md-doc --watch",
18
18
  "build:locale": "microbundle src/locale/*.js -o dist/locale --no-compress --format modern,cjs ",
19
- "build:lib": "microbundle --no-compress --format modern,cjs --jsx React.createElement --jsxFragment React.Fragment",
19
+ "build:lib-main": "microbundle --no-compress --format modern,cjs --jsx React.createElement --jsxFragment React.Fragment",
20
+ "build:lib": "run-s build:locale build:lib-main",
20
21
  "start:lib": "microbundle watch --no-compress --format modern,cjs --jsx React.createElement --jsxFragment React.Fragment",
21
22
  "build:example": "cd example && npm run build",
22
23
  "start:example": "cd example && npm run start",