ywana-core8 0.0.838 → 0.0.839
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/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +14 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +14 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/incubator/index.js +1 -1
- package/src/incubator/task-test.js +95 -5
- package/src/incubator/task.js +5 -2
package/dist/index.cjs
CHANGED
@@ -5134,6 +5134,7 @@ var TaskContextProvider = function TaskContextProvider(props) {
|
|
5134
5134
|
React.useEffect(function () {
|
5135
5135
|
var _interval = setInterval(function () {
|
5136
5136
|
try {
|
5137
|
+
console.log("TASKS INTERVAL", listeners);
|
5137
5138
|
var taskIDs = Object.keys(listeners);
|
5138
5139
|
|
5139
5140
|
var _temp2 = _forTo(taskIDs, function (i) {
|
@@ -5184,6 +5185,18 @@ var TaskContextProvider = function TaskContextProvider(props) {
|
|
5184
5185
|
value: value
|
5185
5186
|
}, children);
|
5186
5187
|
};
|
5188
|
+
/**
|
5189
|
+
* Task States
|
5190
|
+
*/
|
5191
|
+
|
5192
|
+
var TASK_STATES = {
|
5193
|
+
"CREATED": "CREATED",
|
5194
|
+
"RUNNING": "RUNNING",
|
5195
|
+
"COMPLETED": "COMPLETED",
|
5196
|
+
"FAULTED": "FAULTED",
|
5197
|
+
"CANCELED": "CANCELED",
|
5198
|
+
"QUEUED": "QUEUED"
|
5199
|
+
};
|
5187
5200
|
/**
|
5188
5201
|
* TaskProgress
|
5189
5202
|
*/
|
@@ -11900,6 +11913,7 @@ exports.SiteContext = SiteContext;
|
|
11900
11913
|
exports.SiteProvider = SiteProvider;
|
11901
11914
|
exports.Stack = Stack;
|
11902
11915
|
exports.Switch = Switch;
|
11916
|
+
exports.TASK_STATES = TASK_STATES;
|
11903
11917
|
exports.TEXTFORMATS = TEXTFORMATS;
|
11904
11918
|
exports.TYPES = TYPES$1;
|
11905
11919
|
exports.Tab = Tab;
|