@nocobase/plugin-workflow 0.13.0-alpha.1 → 0.13.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/dist/client/index.js
CHANGED
|
@@ -543,6 +543,17 @@
|
|
|
543
543
|
transform: translateY(-50%);
|
|
544
544
|
width: 2em;
|
|
545
545
|
height: 6em;
|
|
546
|
+
`,
|
|
547
|
+
terminalClass: css2`
|
|
548
|
+
display: flex;
|
|
549
|
+
align-items: center;
|
|
550
|
+
justify-content: center;
|
|
551
|
+
flex-shrink: 0;
|
|
552
|
+
width: 4em;
|
|
553
|
+
height: 4em;
|
|
554
|
+
border-radius: 50%;
|
|
555
|
+
background-color: ${token.colorText};
|
|
556
|
+
color: ${token.colorBgContainer};
|
|
546
557
|
`
|
|
547
558
|
};
|
|
548
559
|
});
|
|
@@ -5525,7 +5536,7 @@
|
|
|
5525
5536
|
const api = client.useAPIClient();
|
|
5526
5537
|
const resource = api.resource(props.collection);
|
|
5527
5538
|
const __parent = React.useContext(client.BlockRequestContext);
|
|
5528
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(client.CollectionProvider, { collection: props.collection, children: /* @__PURE__ */ jsxRuntimeExports.jsx(client.RecordProvider, { record: values2, parent: false, children: /* @__PURE__ */ jsxRuntimeExports.jsx(client.BlockRequestContext.Provider, { value: { block: "form", props, field, service, resource, __parent }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5539
|
+
return !userJob.status || values2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(client.CollectionProvider, { collection: props.collection, children: /* @__PURE__ */ jsxRuntimeExports.jsx(client.RecordProvider, { record: values2, parent: false, children: /* @__PURE__ */ jsxRuntimeExports.jsx(client.BlockRequestContext.Provider, { value: { block: "form", props, field, service, resource, __parent }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5529
5540
|
client.FormBlockContext.Provider,
|
|
5530
5541
|
{
|
|
5531
5542
|
value: {
|
|
@@ -5541,7 +5552,7 @@
|
|
|
5541
5552
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: formBlockRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(react.RecursionField, { schema: fieldSchema, onlyRenderProperties: true }) })
|
|
5542
5553
|
] })
|
|
5543
5554
|
}
|
|
5544
|
-
) }) }) });
|
|
5555
|
+
) }) }) }) : null;
|
|
5545
5556
|
}
|
|
5546
5557
|
function InternalFormBlockInitializer({ insert, schema, ...others }) {
|
|
5547
5558
|
const { getTemplateSchemaByMode } = client.useSchemaTemplateManager();
|
|
@@ -5688,7 +5699,7 @@
|
|
|
5688
5699
|
}),
|
|
5689
5700
|
[values2]
|
|
5690
5701
|
);
|
|
5691
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5702
|
+
return !userJob.status || values2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5692
5703
|
client.CollectionProvider,
|
|
5693
5704
|
{
|
|
5694
5705
|
collection: {
|
|
@@ -5707,7 +5718,7 @@
|
|
|
5707
5718
|
}
|
|
5708
5719
|
) })
|
|
5709
5720
|
}
|
|
5710
|
-
);
|
|
5721
|
+
) : null;
|
|
5711
5722
|
}
|
|
5712
5723
|
function CustomFormBlockInitializer({ insert, ...props }) {
|
|
5713
5724
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -5751,11 +5762,7 @@
|
|
|
5751
5762
|
"x-decorator": "ActionBarProvider",
|
|
5752
5763
|
"x-component": "ActionBar",
|
|
5753
5764
|
"x-component-props": {
|
|
5754
|
-
layout: "one-column"
|
|
5755
|
-
style: {
|
|
5756
|
-
marginTop: "1.5em",
|
|
5757
|
-
flexWrap: "wrap"
|
|
5758
|
-
}
|
|
5765
|
+
layout: "one-column"
|
|
5759
5766
|
},
|
|
5760
5767
|
"x-initializer": "AddActionButton",
|
|
5761
5768
|
properties: {
|
|
@@ -7860,7 +7867,7 @@
|
|
|
7860
7867
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "workflow-canvas", children: [
|
|
7861
7868
|
/* @__PURE__ */ jsxRuntimeExports.jsx(TriggerConfig, {}),
|
|
7862
7869
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles.branchBlockClass, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Branch, { entry }) }),
|
|
7863
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className:
|
|
7870
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles.terminalClass, children: lang("End") })
|
|
7864
7871
|
] });
|
|
7865
7872
|
}
|
|
7866
7873
|
function attachJobs(nodes, jobs = []) {
|
package/dist/client/style.d.ts
CHANGED
|
@@ -17,5 +17,6 @@ declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<
|
|
|
17
17
|
addButtonClass: import("antd-style").SerializedStyles;
|
|
18
18
|
conditionClass: import("antd-style").SerializedStyles;
|
|
19
19
|
loopLineClass: import("antd-style").SerializedStyles;
|
|
20
|
+
terminalClass: import("antd-style").SerializedStyles;
|
|
20
21
|
}>;
|
|
21
22
|
export default useStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"cron-parser","version":"4.4.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^1.28.0"},"devDependencies":{"eslint":"^8.2.0","sinon":"^10.0.0","tap":"^16.0.1","tsd":"^0.19.0"},"engines":{"node":">=0.8"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"_lastModified":"2023-08-
|
|
1
|
+
{"name":"cron-parser","version":"4.4.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^1.28.0"},"devDependencies":{"eslint":"^8.2.0","sinon":"^10.0.0","tap":"^16.0.1","tsd":"^0.19.0"},"engines":{"node":">=0.8"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"_lastModified":"2023-08-24T16:05:19.318Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"commonjs","_lastModified":"2023-08-
|
|
1
|
+
{"type":"commonjs","_lastModified":"2023-08-24T16:05:18.684Z"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"displayName.zh-CN": "工作流",
|
|
5
5
|
"description": "A powerful workflow plugin designed to support business process management and automation.",
|
|
6
6
|
"description.zh-CN": "工作流插件,为业务流程管理和自动化提供支持。",
|
|
7
|
-
"version": "0.13.0-alpha.
|
|
7
|
+
"version": "0.13.0-alpha.2",
|
|
8
8
|
"license": "AGPL-3.0",
|
|
9
9
|
"main": "./dist/server/index.js",
|
|
10
10
|
"devDependencies": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"@nocobase/test": "0.x",
|
|
41
41
|
"@nocobase/utils": "0.x"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "c43183b714350217788cf0466e1f32bcaa527302"
|
|
44
44
|
}
|