@atlaskit/task-decision 17.12.1 → 18.0.0
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/CHANGELOG.md +14 -0
- package/afm-cc/tsconfig.json +3 -0
- package/constants/package.json +3 -1
- package/dist/cjs/components/ResourcedTaskItem.js +2 -2
- package/dist/cjs/components/compiled/DecisionItem.compiled.css +14 -0
- package/dist/cjs/components/compiled/DecisionItem.js +45 -0
- package/dist/cjs/components/compiled/DecisionList.compiled.css +2 -0
- package/dist/cjs/components/compiled/DecisionList.js +62 -0
- package/dist/cjs/components/compiled/Item.compiled.css +30 -0
- package/dist/cjs/components/compiled/Item.js +101 -0
- package/dist/cjs/components/compiled/TaskItem.compiled.css +73 -0
- package/dist/cjs/components/compiled/TaskItem.js +134 -0
- package/dist/cjs/components/compiled/TaskList.compiled.css +3 -0
- package/dist/cjs/components/compiled/TaskList.js +68 -0
- package/dist/cjs/index.js +12 -25
- package/dist/es2019/components/ResourcedTaskItem.js +1 -1
- package/dist/es2019/components/compiled/DecisionItem.compiled.css +14 -0
- package/dist/es2019/components/compiled/DecisionItem.js +36 -0
- package/dist/es2019/components/compiled/DecisionList.compiled.css +2 -0
- package/dist/es2019/components/compiled/DecisionList.js +40 -0
- package/dist/es2019/components/compiled/Item.compiled.css +30 -0
- package/dist/es2019/components/compiled/Item.js +70 -0
- package/dist/es2019/components/compiled/TaskItem.compiled.css +73 -0
- package/dist/es2019/components/compiled/TaskItem.js +108 -0
- package/dist/es2019/components/compiled/TaskList.compiled.css +3 -0
- package/dist/es2019/components/compiled/TaskList.js +46 -0
- package/dist/es2019/index.js +13 -4
- package/dist/esm/components/ResourcedTaskItem.js +1 -1
- package/dist/esm/components/compiled/DecisionItem.compiled.css +14 -0
- package/dist/esm/components/compiled/DecisionItem.js +35 -0
- package/dist/esm/components/compiled/DecisionList.compiled.css +2 -0
- package/dist/esm/components/compiled/DecisionList.js +53 -0
- package/dist/esm/components/compiled/Item.compiled.css +30 -0
- package/dist/esm/components/compiled/Item.js +92 -0
- package/dist/esm/components/compiled/TaskItem.compiled.css +73 -0
- package/dist/esm/components/compiled/TaskItem.js +126 -0
- package/dist/esm/components/compiled/TaskList.compiled.css +3 -0
- package/dist/esm/components/compiled/TaskList.js +60 -0
- package/dist/esm/index.js +13 -4
- package/dist/types/components/compiled/DecisionItem.d.ts +14 -0
- package/dist/types/components/compiled/DecisionList.d.ts +11 -0
- package/dist/types/components/compiled/Item.d.ts +25 -0
- package/dist/types/components/compiled/TaskItem.d.ts +27 -0
- package/dist/types/components/compiled/TaskList.d.ts +8 -0
- package/dist/types/index.d.ts +5 -4
- package/dist/types-ts4.5/components/compiled/DecisionItem.d.ts +14 -0
- package/dist/types-ts4.5/components/compiled/DecisionList.d.ts +11 -0
- package/dist/types-ts4.5/components/compiled/Item.d.ts +25 -0
- package/dist/types-ts4.5/components/compiled/TaskItem.d.ts +27 -0
- package/dist/types-ts4.5/components/compiled/TaskList.d.ts +8 -0
- package/dist/types-ts4.5/index.d.ts +5 -4
- package/package.json +19 -6
- package/type-helpers/package.json +3 -1
- package/types/package.json +3 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
|
|
2
|
+
._18s815t0{margin:var(--_1yfnyhr)}
|
|
3
|
+
._18s81hzh{margin:var(--_tptct2)}
|
|
4
|
+
._2rkosqtm{border-radius:var(--ds-border-radius-100,3px)}._14hd1wug .decision-item{cursor:auto}
|
|
5
|
+
._16jlkb7n{flex-grow:1}
|
|
6
|
+
._18m915vq{overflow-y:hidden}
|
|
7
|
+
._18u0idpf{margin-left:0}
|
|
8
|
+
._19bvutpp{padding-left:var(--ds-space-150,9pt)}
|
|
9
|
+
._19pkidpf{margin-top:0}
|
|
10
|
+
._19pku2gc{margin-top:var(--ds-space-100,8px)}
|
|
11
|
+
._1bto1l2s{text-overflow:ellipsis}
|
|
12
|
+
._1e0c1txw{display:flex}
|
|
13
|
+
._1o9zkb7n{flex-shrink:1}
|
|
14
|
+
._1reo15vq{overflow-x:hidden}
|
|
15
|
+
._1ul9idpf{min-width:0}
|
|
16
|
+
._2hwxidpf{margin-right:0}
|
|
17
|
+
._2lx2vrvc{flex-direction:row}
|
|
18
|
+
._bfhkm7j4{background-color:var(--ds-background-neutral,#091e420f)}
|
|
19
|
+
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
20
|
+
._i0dl1wug{flex-basis:auto}
|
|
21
|
+
._kqswh2mm{position:relative}
|
|
22
|
+
._kqswstnw{position:absolute}
|
|
23
|
+
._lcxvglyw{pointer-events:none}
|
|
24
|
+
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
25
|
+
._o5721q9c{white-space:nowrap}
|
|
26
|
+
._otyridpf{margin-bottom:0}
|
|
27
|
+
._p12f1dza{max-width:calc(100% - 50px)}
|
|
28
|
+
._slp31hna{word-wrap:break-word}
|
|
29
|
+
._syaz131l{color:var(--ds-text-subtlest,#626f86)}
|
|
30
|
+
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* Item.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
3
|
+
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
5
|
+
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
6
|
+
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
|
8
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
9
|
+
import "./Item.compiled.css";
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
12
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
13
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
+
import { PureComponent } from 'react';
|
|
15
|
+
var placeholderStyles = null;
|
|
16
|
+
var placeholderTaskStyles = null;
|
|
17
|
+
var decisionStyles = null;
|
|
18
|
+
var contentStyles = null;
|
|
19
|
+
var taskStyles = null;
|
|
20
|
+
var Item = /*#__PURE__*/function (_PureComponent) {
|
|
21
|
+
function Item() {
|
|
22
|
+
_classCallCheck(this, Item);
|
|
23
|
+
return _callSuper(this, Item, arguments);
|
|
24
|
+
}
|
|
25
|
+
_inherits(Item, _PureComponent);
|
|
26
|
+
return _createClass(Item, [{
|
|
27
|
+
key: "renderPlaceholder",
|
|
28
|
+
value: function renderPlaceholder() {
|
|
29
|
+
var _this$props = this.props,
|
|
30
|
+
children = _this$props.children,
|
|
31
|
+
placeholder = _this$props.placeholder,
|
|
32
|
+
showPlaceholder = _this$props.showPlaceholder,
|
|
33
|
+
itemType = _this$props.itemType;
|
|
34
|
+
if (!showPlaceholder || !placeholder || children) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
38
|
+
"data-testid": "task-decision-item-placeholder",
|
|
39
|
+
"data-component": "placeholder",
|
|
40
|
+
contentEditable: false,
|
|
41
|
+
className: ax(["_18s81hzh _1reo15vq _18m915vq _kqswstnw _syaz131l _lcxvglyw _1bto1l2s _o5721q9c _p12f1dza", itemType === 'TASK' && "_18s815t0"]),
|
|
42
|
+
style: {
|
|
43
|
+
"--_tptct2": ix("0 0 0 calc(".concat("var(--ds-space-100, 8px)", " * 3.5)")),
|
|
44
|
+
"--_1yfnyhr": ix("0 0 0 calc(".concat("var(--ds-space-100, 8px)", " * 3)"))
|
|
45
|
+
}
|
|
46
|
+
}, placeholder);
|
|
47
|
+
}
|
|
48
|
+
}, {
|
|
49
|
+
key: "renderMessageAppearance",
|
|
50
|
+
value: function renderMessageAppearance() {
|
|
51
|
+
var _this$props2 = this.props,
|
|
52
|
+
contentRef = _this$props2.contentRef,
|
|
53
|
+
children = _this$props2.children,
|
|
54
|
+
icon = _this$props2.icon,
|
|
55
|
+
itemType = _this$props2.itemType,
|
|
56
|
+
checkBoxId = _this$props2.checkBoxId,
|
|
57
|
+
dataAttributes = _this$props2.dataAttributes;
|
|
58
|
+
if (itemType === 'TASK') {
|
|
59
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
60
|
+
id: "".concat(checkBoxId, "-wrapper"),
|
|
61
|
+
className: ax(["_1e0c1txw _2lx2vrvc _kqswh2mm"])
|
|
62
|
+
}, icon, this.renderPlaceholder(), /*#__PURE__*/React.createElement("div", _extends({
|
|
63
|
+
"data-component": "content",
|
|
64
|
+
ref: contentRef
|
|
65
|
+
}, dataAttributes, {
|
|
66
|
+
className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _16jlkb7n _1o9zkb7n _i0dl1wug _slp31hna _1ul9idpf"])
|
|
67
|
+
}), children));
|
|
68
|
+
} else if (itemType === 'DECISION') {
|
|
69
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
70
|
+
"data-testid": "elements-decision-item",
|
|
71
|
+
"data-decision-wrapper": "true",
|
|
72
|
+
className: ax(["_2rkosqtm _1e0c1txw _2lx2vrvc _19pku2gc _2hwxidpf _otyridpf _18u0idpf _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvutpp _bfhkm7j4 _kqswh2mm _14hd1wug"])
|
|
73
|
+
}, icon, this.renderPlaceholder(), /*#__PURE__*/React.createElement("div", _extends({
|
|
74
|
+
"data-component": "content",
|
|
75
|
+
ref: contentRef
|
|
76
|
+
}, dataAttributes, {
|
|
77
|
+
className: ax(["_19pkidpf _2hwxidpf _otyridpf _18u0idpf _16jlkb7n _1o9zkb7n _i0dl1wug _slp31hna _1ul9idpf"])
|
|
78
|
+
}), children));
|
|
79
|
+
}
|
|
80
|
+
return null;
|
|
81
|
+
}
|
|
82
|
+
}, {
|
|
83
|
+
key: "render",
|
|
84
|
+
value: function render() {
|
|
85
|
+
return this.renderMessageAppearance();
|
|
86
|
+
}
|
|
87
|
+
}]);
|
|
88
|
+
}(PureComponent);
|
|
89
|
+
_defineProperty(Item, "defaultProps", {
|
|
90
|
+
appearance: 'inline'
|
|
91
|
+
});
|
|
92
|
+
export { Item as default };
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
|
|
2
|
+
._18a711so>input[type=checkbox]+span>svg rect:first-of-type{transition:stroke .2s ease-in-out}
|
|
3
|
+
._1abj1mn3>input[type=checkbox]+span>svg{transition:color .2s ease-in-out,fill .2s ease-in-out}
|
|
4
|
+
._den51ifg>input[type=checkbox]:focus+span:after{border:var(--_18khk6)}
|
|
5
|
+
._zh8l1b66>input[type=checkbox]:focus+span:after{border-radius:var(--ds-space-050,4px)}._10cr1ssb>input[type=checkbox]+span>svg{top:50%}
|
|
6
|
+
._12yy12ci>input[type=checkbox]:hover+span>svg{color:var(--_1z08gfx)}
|
|
7
|
+
._13vl73ad>input[type=checkbox][disabled]{cursor:default}
|
|
8
|
+
._16jlidpf{flex-grow:0}
|
|
9
|
+
._16npddza>input[type=checkbox]+span>svg rect:first-of-type{stroke:var(--_vnm8xo)}
|
|
10
|
+
._1746glyw>input[type=checkbox]{outline-style:none}
|
|
11
|
+
._18tob3bt>input[type=checkbox]:focus+span:after{content:""}
|
|
12
|
+
._19l51ooe>input[type=checkbox]+span{transform:translate(-50%,-50%)}
|
|
13
|
+
._1awt1ule>input[type=checkbox]:focus+span:after{display:block}
|
|
14
|
+
._1bsb1tcg{width:24px}
|
|
15
|
+
._1davidpf>input[type=checkbox]{opacity:0}
|
|
16
|
+
._1efjn7od>input[type=checkbox]+span>svg{max-height:unset}
|
|
17
|
+
._1h5xidpf>input[type=checkbox]{margin-top:0}
|
|
18
|
+
._1l0615vq>input[type=checkbox]+span>svg{overflow-y:hidden}
|
|
19
|
+
._1mh7kb7n>input[type=checkbox]{z-index:1}
|
|
20
|
+
._1miyddza>input[type=checkbox]:hover+span>svg rect:first-of-type{stroke:var(--_vnm8xo)}
|
|
21
|
+
._1mwj1ssb>input[type=checkbox]+span{left:50%}
|
|
22
|
+
._1nuz1tcg>input[type=checkbox]+span{height:24px}
|
|
23
|
+
._1o9zidpf{flex-shrink:0}
|
|
24
|
+
._1q8r7vkz>input[type=checkbox]{width:1pc}
|
|
25
|
+
._1qduewfl>input[type=checkbox]:checked+span>svg path:first-of-type{visibility:visible}
|
|
26
|
+
._1qp6e69j>input[type=checkbox]:active+span>svg rect:first-of-type{stroke:var(--_rczcge)}
|
|
27
|
+
._1rvv1ooe>input[type=checkbox]{transform:translate(-50%,-50%)}
|
|
28
|
+
._1smcidpf>input[type=checkbox]{margin-left:0}
|
|
29
|
+
._1snx1r31>input[type=checkbox]{outline-color:currentColor}
|
|
30
|
+
._1stbpxbi>input[type=checkbox]:focus+span:after{height:var(--ds-space-200,1pc)}
|
|
31
|
+
._1t711tcg>input[type=checkbox]+span{width:24px}
|
|
32
|
+
._1u2istnw>input[type=checkbox]+span>svg{position:absolute}
|
|
33
|
+
._1umo1ehr>input[type=checkbox]:checked:hover+span>svg{color:var(--_14y1fod)}
|
|
34
|
+
._1wn015vq>input[type=checkbox]+span>svg path:first-of-type{visibility:hidden}
|
|
35
|
+
._1wpzv2br{align-self:start}
|
|
36
|
+
._1x1ysnw8>input[type=checkbox]:disabled:checked+span>svg{fill:var(--_1xmcmw9)}
|
|
37
|
+
._1y9teh7q>input[type=checkbox]:checked+span>svg{fill:var(--_jf353p)}
|
|
38
|
+
._32ro1kd8>input[type=checkbox]+span>svg{color:var(--_4mkb4g)}
|
|
39
|
+
._4k421ssb>input[type=checkbox]{left:50%}
|
|
40
|
+
._4t3i1tcg{height:24px}
|
|
41
|
+
._8bo8stnw>input[type=checkbox]{position:absolute}
|
|
42
|
+
._9j2j1ssb>input[type=checkbox]+span{top:50%}
|
|
43
|
+
._9l2s7vkz>input[type=checkbox]{height:1pc}
|
|
44
|
+
._a27kkb7n>input[type=checkbox]+span>svg rect:first-of-type{stroke-width:1}
|
|
45
|
+
._bhku1ouc>input[type=checkbox]:disabled+span>svg rect:first-of-type, ._czfe1ouc>input[type=checkbox]:disabled:active+span>svg rect:first-of-type, ._1gxg1ouc>input[type=checkbox]:disabled:focus+span>svg rect:first-of-type, ._19w01ouc>input[type=checkbox]:disabled:hover+span>svg rect:first-of-type{stroke:var(--_r5pknd)}
|
|
46
|
+
._c8dpe69j>input[type=checkbox]:checked:active+span>svg rect:first-of-type{stroke:var(--_rczcge)}
|
|
47
|
+
._cr751ooe>input[type=checkbox]:focus+span:after{transform:translate(-50%,-50%)}
|
|
48
|
+
._cs4qstnw>input[type=checkbox]+span{position:absolute}
|
|
49
|
+
._d2dc1ouc>input[type=checkbox]:disabled+span>svg, ._1eul1ouc>input[type=checkbox]:disabled:active+span>svg, ._1bc71ouc>input[type=checkbox]:disabled:focus+span>svg, ._16fm1ouc>input[type=checkbox]:disabled:hover+span>svg{color:var(--_r5pknd)}
|
|
50
|
+
._dx3f1o36>input[type=checkbox]{outline-width:medium}
|
|
51
|
+
._fs2cidpf>input[type=checkbox]{margin-bottom:0}
|
|
52
|
+
._g5w3stnw>input[type=checkbox]:focus+span:after{position:absolute}
|
|
53
|
+
._gi9h1kc0>input[type=checkbox]:active+span>svg{color:var(--_1cd0fcx)}
|
|
54
|
+
._haf81ssb>input[type=checkbox]:focus+span:after{top:50%}
|
|
55
|
+
._i0dl1tcg{flex-basis:24px}
|
|
56
|
+
._k6dg1ehr>input[type=checkbox]:checked:hover+span>svg rect:first-of-type{stroke:var(--_14y1fod)}
|
|
57
|
+
._kqswh2mm{position:relative}
|
|
58
|
+
._l9o0n7od>input[type=checkbox]+span>svg{max-width:unset}
|
|
59
|
+
._m7eu1ooe>input[type=checkbox]+span>svg{transform:translate(-50%,-50%)}
|
|
60
|
+
._oezm15vq>input[type=checkbox]+span>svg{overflow-x:hidden}
|
|
61
|
+
._psnc1ssb>input[type=checkbox]{top:50%}
|
|
62
|
+
._q3p7usvi>input[type=checkbox]+span>svg{box-sizing:border-box}
|
|
63
|
+
._q8ft1j4g>input[type=checkbox]:checked+span>svg{color:var(--_1gcp7nr)}
|
|
64
|
+
._qhqx1nu9>input[type=checkbox]+span>svg{display:inline}
|
|
65
|
+
._ra781ssb>input[type=checkbox]:focus+span:after{left:50%}
|
|
66
|
+
._s3uktlke>input[type=checkbox]{cursor:pointer}
|
|
67
|
+
._sqizidpf>input[type=checkbox]{margin-right:0}
|
|
68
|
+
._tpz2eh7q>input[type=checkbox]:checked:hover+span>svg{fill:var(--_jf353p)}
|
|
69
|
+
._ut031j4g>input[type=checkbox]:checked+span>svg rect:first-of-type{stroke:var(--_1gcp7nr)}
|
|
70
|
+
._whhepxbi>input[type=checkbox]:focus+span:after{width:var(--ds-space-200,1pc)}
|
|
71
|
+
._wo24xz7c>input[type=checkbox]:checked:active+span>svg{fill:var(--_uq1ko9)}
|
|
72
|
+
._wxkg1kc0>input[type=checkbox]:checked:active+span>svg{color:var(--_1cd0fcx)}
|
|
73
|
+
._zfav1ssb>input[type=checkbox]+span>svg{left:50%}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/* TaskItem.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import "./TaskItem.compiled.css";
|
|
3
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
4
|
+
import React, { useMemo, useRef } from 'react';
|
|
5
|
+
import CheckboxIcon from '@atlaskit/icon/glyph/checkbox';
|
|
6
|
+
import Item from './Item';
|
|
7
|
+
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
8
|
+
import { createAndFireEventInElementsChannel } from '../../analytics';
|
|
9
|
+
import { B100, B300, B400, B50, N10, N100, N20, N30, N70 } from '@atlaskit/theme/colors';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* References packages/design-system/checkbox/src/checkbox.tsx
|
|
13
|
+
* To be used until mobile editor does not require legacy themed() API anymore,
|
|
14
|
+
* which will allow migration to use @atlaskit/checkbox instead
|
|
15
|
+
*/
|
|
16
|
+
var checkboxStyles = null;
|
|
17
|
+
var taskCount = 0;
|
|
18
|
+
var getCheckBoxId = function getCheckBoxId(localId) {
|
|
19
|
+
return "".concat(localId, "-").concat(taskCount++);
|
|
20
|
+
};
|
|
21
|
+
var TaskItem = function TaskItem(props) {
|
|
22
|
+
var appearance = props.appearance,
|
|
23
|
+
isDone = props.isDone,
|
|
24
|
+
isFocused = props.isFocused,
|
|
25
|
+
contentRef = props.contentRef,
|
|
26
|
+
children = props.children,
|
|
27
|
+
placeholder = props.placeholder,
|
|
28
|
+
showPlaceholder = props.showPlaceholder,
|
|
29
|
+
disabled = props.disabled,
|
|
30
|
+
dataAttributes = props.dataAttributes,
|
|
31
|
+
taskId = props.taskId,
|
|
32
|
+
onChange = props.onChange,
|
|
33
|
+
onClick = props.onClick,
|
|
34
|
+
createAnalyticsEvent = props.createAnalyticsEvent,
|
|
35
|
+
inputRefFromProps = props.inputRef;
|
|
36
|
+
var checkBoxId = useMemo(function () {
|
|
37
|
+
return getCheckBoxId(taskId);
|
|
38
|
+
}, [taskId]);
|
|
39
|
+
var handleOnChange = useMemo(function () {
|
|
40
|
+
return function (_evt) {
|
|
41
|
+
var newIsDone = !isDone;
|
|
42
|
+
if (onChange) {
|
|
43
|
+
onChange(taskId, newIsDone);
|
|
44
|
+
}
|
|
45
|
+
var action = newIsDone ? 'checked' : 'unchecked';
|
|
46
|
+
if (createAnalyticsEvent) {
|
|
47
|
+
createAndFireEventInElementsChannel({
|
|
48
|
+
action: action,
|
|
49
|
+
actionSubject: 'action',
|
|
50
|
+
eventType: 'ui',
|
|
51
|
+
attributes: {
|
|
52
|
+
localId: taskId
|
|
53
|
+
}
|
|
54
|
+
})(createAnalyticsEvent);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
}, [onChange, taskId, isDone, createAnalyticsEvent]);
|
|
58
|
+
var handleOnKeyPress = useMemo(function () {
|
|
59
|
+
return function (event) {
|
|
60
|
+
if (event.key === 'Enter') {
|
|
61
|
+
handleOnChange(event);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
}, [handleOnChange]);
|
|
65
|
+
var defaultInputRef = useRef(null);
|
|
66
|
+
var inputRef = inputRefFromProps !== null && inputRefFromProps !== void 0 ? inputRefFromProps : defaultInputRef;
|
|
67
|
+
var icon = /*#__PURE__*/React.createElement("span", {
|
|
68
|
+
contentEditable: false,
|
|
69
|
+
className: ax(["_16jlidpf _1o9zidpf _i0dl1tcg _1bsb1tcg _4t3i1tcg _kqswh2mm _1wpzv2br _1snx1r31 _1746glyw _dx3f1o36 _1h5xidpf _sqizidpf _fs2cidpf _1smcidpf _oezm15vq _1l0615vq _1abj1mn3 _18a711so _16npddza _a27kkb7n _q3p7usvi _qhqx1nu9 _10cr1ssb _zfav1ssb _m7eu1ooe _l9o0n7od _1efjn7od _1u2istnw _32ro1kd8 _1wn015vq _den51ifg _zh8l1b66 _g5w3stnw _whhepxbi _1stbpxbi _18tob3bt _1awt1ule _haf81ssb _ra781ssb _cr751ooe _1q8r7vkz _9l2s7vkz _1mh7kb7n _s3uktlke _1davidpf _8bo8stnw _psnc1ssb _4k421ssb _1rvv1ooe _13vl73ad _1t711tcg _1nuz1tcg _cs4qstnw _9j2j1ssb _1mwj1ssb _19l51ooe _12yy12ci _1miyddza _1umo1ehr _tpz2eh7q _k6dg1ehr _1qduewfl _q8ft1j4g _1y9teh7q _ut031j4g _gi9h1kc0 _1qp6e69j _wxkg1kc0 _wo24xz7c _c8dpe69j _d2dc1ouc _1eul1ouc _1bc71ouc _16fm1ouc _bhku1ouc _czfe1ouc _1gxg1ouc _19w01ouc _1x1ysnw8"]),
|
|
70
|
+
style: {
|
|
71
|
+
"--_4mkb4g": ix("var(--ds-background-input, ".concat(N10, ")")),
|
|
72
|
+
"--_vnm8xo": ix("var(--ds-border-input, ".concat(N100, ")")),
|
|
73
|
+
"--_1z08gfx": ix("var(--ds-background-input-hovered, ".concat(N30, ")")),
|
|
74
|
+
"--_14y1fod": ix("var(--ds-background-selected-bold-hovered, ".concat(B300, ")")),
|
|
75
|
+
"--_jf353p": ix("var(--ds-icon-inverse, ".concat(N10, ")")),
|
|
76
|
+
"--_1gcp7nr": ix("var(--ds-background-selected-bold, ".concat(B400, ")")),
|
|
77
|
+
"--_1cd0fcx": ix("var(--ds-background-input-pressed, ".concat(B50, ")")),
|
|
78
|
+
"--_rczcge": ix("var(--ds-border, ".concat(B50, ")")),
|
|
79
|
+
"--_uq1ko9": ix("var(--ds-icon-inverse, ".concat(B400, ")")),
|
|
80
|
+
"--_r5pknd": ix("var(--ds-background-disabled, ".concat(N20, ")")),
|
|
81
|
+
"--_1xmcmw9": ix("var(--ds-icon-disabled, ".concat(N70, ")")),
|
|
82
|
+
"--_18khk6": ix("2px solid ".concat("var(--ds-border-focused, ".concat(B100, ")")))
|
|
83
|
+
}
|
|
84
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
85
|
+
id: checkBoxId,
|
|
86
|
+
"aria-labelledby": "".concat(checkBoxId, "-wrapper"),
|
|
87
|
+
name: checkBoxId,
|
|
88
|
+
type: "checkbox",
|
|
89
|
+
onChange: handleOnChange,
|
|
90
|
+
onClick: onClick,
|
|
91
|
+
checked: !!isDone,
|
|
92
|
+
disabled: !!disabled,
|
|
93
|
+
suppressHydrationWarning: true,
|
|
94
|
+
onKeyPress: handleOnKeyPress,
|
|
95
|
+
ref: inputRef
|
|
96
|
+
}), /*#__PURE__*/React.createElement(CheckboxIcon, {
|
|
97
|
+
label: "",
|
|
98
|
+
isFacadeDisabled: true
|
|
99
|
+
}));
|
|
100
|
+
React.useEffect(function () {
|
|
101
|
+
if (isFocused && inputRef.current) {
|
|
102
|
+
var _inputRef$current, _inputRef$current2;
|
|
103
|
+
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
|
|
104
|
+
(_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 || _inputRef$current2.blur();
|
|
105
|
+
setTimeout(function () {
|
|
106
|
+
var _inputRef$current3;
|
|
107
|
+
(_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 || _inputRef$current3.focus();
|
|
108
|
+
}, 100);
|
|
109
|
+
}
|
|
110
|
+
}, [isFocused, inputRef]);
|
|
111
|
+
return /*#__PURE__*/React.createElement(Item, {
|
|
112
|
+
appearance: appearance,
|
|
113
|
+
contentRef: contentRef,
|
|
114
|
+
icon: icon,
|
|
115
|
+
placeholder: placeholder,
|
|
116
|
+
showPlaceholder: showPlaceholder,
|
|
117
|
+
itemType: "TASK",
|
|
118
|
+
dataAttributes: dataAttributes,
|
|
119
|
+
checkBoxId: checkBoxId
|
|
120
|
+
}, children);
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
// This is to ensure that the "type" is exported, as it gets lost and not exported along with TaskItem after
|
|
124
|
+
// going through the high order component.
|
|
125
|
+
|
|
126
|
+
export default withAnalyticsEvents()(TaskItem);
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* TaskList.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
|
+
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
5
|
+
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
|
7
|
+
import "./TaskList.compiled.css";
|
|
8
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
9
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
10
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import { PureComponent } from 'react';
|
|
13
|
+
import { FabricElementsAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
14
|
+
var listStyles = null;
|
|
15
|
+
var taskListStyles = null;
|
|
16
|
+
var TaskList = /*#__PURE__*/function (_PureComponent) {
|
|
17
|
+
function TaskList() {
|
|
18
|
+
_classCallCheck(this, TaskList);
|
|
19
|
+
return _callSuper(this, TaskList, arguments);
|
|
20
|
+
}
|
|
21
|
+
_inherits(TaskList, _PureComponent);
|
|
22
|
+
return _createClass(TaskList, [{
|
|
23
|
+
key: "render",
|
|
24
|
+
value: function render() {
|
|
25
|
+
var _this$props = this.props,
|
|
26
|
+
listId = _this$props.listId,
|
|
27
|
+
children = _this$props.children;
|
|
28
|
+
var listSize = React.Children.count(children);
|
|
29
|
+
if (!children) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Data attributes are required for copy and paste from rendered content
|
|
34
|
+
// to the editor to preserve the task.
|
|
35
|
+
// This allows the editor to differentiate between numbered and ordered lists,
|
|
36
|
+
// and action items, which all share the common `<li>` element.
|
|
37
|
+
// The value of `data-task-local-id` should be discarded upon paste, with a
|
|
38
|
+
// a new uuid generated by the editor for the cloned content.
|
|
39
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
40
|
+
"data-task-list-local-id": "",
|
|
41
|
+
className: ax(["_2mzuglyw _19bvidpf"])
|
|
42
|
+
}, React.Children.map(children, function (child, idx) {
|
|
43
|
+
var _ref = child.props,
|
|
44
|
+
localId = _ref.localId;
|
|
45
|
+
return /*#__PURE__*/React.createElement(FabricElementsAnalyticsContext, {
|
|
46
|
+
data: {
|
|
47
|
+
listLocalId: listId,
|
|
48
|
+
listSize: listSize,
|
|
49
|
+
position: idx
|
|
50
|
+
}
|
|
51
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
52
|
+
key: idx,
|
|
53
|
+
"data-task-local-id": localId || '',
|
|
54
|
+
className: ax(["_19pk1b66"])
|
|
55
|
+
}, child));
|
|
56
|
+
}));
|
|
57
|
+
}
|
|
58
|
+
}]);
|
|
59
|
+
}(PureComponent);
|
|
60
|
+
export { TaskList as default };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import EmotionDecisionItem from './components/DecisionItem';
|
|
2
|
+
import CompiledDecisionItem from './components/compiled/DecisionItem';
|
|
3
|
+
import EmotionDecisionList from './components/DecisionList';
|
|
4
|
+
import CompiledDecisionList from './components/compiled/DecisionList';
|
|
3
5
|
import ResourcedTaskItem from './components/ResourcedTaskItem';
|
|
4
6
|
import TaskDecisionResource from './api/TaskDecisionResource';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
+
import EmotionTaskItem from './components/TaskItem';
|
|
8
|
+
import CompiledTaskItem from './components/compiled/TaskItem';
|
|
9
|
+
import EmotionTaskList from './components/TaskList';
|
|
10
|
+
import CompiledTaskList from './components/compiled/TaskList';
|
|
11
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
12
|
+
var DecisionItem = componentWithFG('platform_editor_css_migrate_stage_1', CompiledDecisionItem, EmotionDecisionItem);
|
|
13
|
+
var DecisionList = componentWithFG('platform_editor_css_migrate_stage_1', CompiledDecisionList, EmotionDecisionList);
|
|
14
|
+
var TaskItem = componentWithFG('platform_editor_css_migrate_stage_1', CompiledTaskItem, EmotionTaskItem);
|
|
15
|
+
var TaskList = componentWithFG('platform_editor_css_migrate_stage_1', CompiledTaskList, EmotionTaskList);
|
|
7
16
|
export { PubSubSpecialEventType } from './types';
|
|
8
17
|
export { DecisionItem, DecisionList, ResourcedTaskItem, TaskDecisionResource, TaskItem, TaskList };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type Appearance, type ContentRef } from '../../types';
|
|
3
|
+
export interface Props {
|
|
4
|
+
children?: any;
|
|
5
|
+
contentRef?: ContentRef;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
showPlaceholder?: boolean;
|
|
8
|
+
appearance?: Appearance;
|
|
9
|
+
dataAttributes?: {
|
|
10
|
+
[key: string]: string | number;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
declare const DecisionItem: ({ appearance, children, contentRef, placeholder, showPlaceholder, dataAttributes, }: Props) => JSX.Element;
|
|
14
|
+
export default DecisionItem;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { PureComponent, type ReactNode } from 'react';
|
|
6
|
+
export interface Props {
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export default class DecisionList extends PureComponent<Props, {}> {
|
|
10
|
+
render(): JSX.Element | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { PureComponent } from 'react';
|
|
6
|
+
import { type Appearance, type ContentRef, type TaskType, type DecisionType } from '../../types';
|
|
7
|
+
export interface Props {
|
|
8
|
+
icon: JSX.Element;
|
|
9
|
+
itemType: TaskType | DecisionType;
|
|
10
|
+
children?: any;
|
|
11
|
+
appearance?: Appearance;
|
|
12
|
+
contentRef?: ContentRef;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
showPlaceholder?: boolean;
|
|
15
|
+
dataAttributes?: {
|
|
16
|
+
[key: string]: string | number;
|
|
17
|
+
};
|
|
18
|
+
checkBoxId?: string;
|
|
19
|
+
}
|
|
20
|
+
export default class Item extends PureComponent<Props, {}> {
|
|
21
|
+
static defaultProps: Partial<Props>;
|
|
22
|
+
private renderPlaceholder;
|
|
23
|
+
renderMessageAppearance(): JSX.Element | null;
|
|
24
|
+
render(): JSX.Element | null;
|
|
25
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React, { type RefObject } from 'react';
|
|
6
|
+
import { type Appearance, type ContentRef } from '../../types';
|
|
7
|
+
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
8
|
+
export interface Props {
|
|
9
|
+
taskId: string;
|
|
10
|
+
isDone?: boolean;
|
|
11
|
+
isFocused?: boolean;
|
|
12
|
+
isRenderer?: boolean;
|
|
13
|
+
onChange?: (taskId: string, isChecked: boolean) => void;
|
|
14
|
+
onClick?: () => void;
|
|
15
|
+
contentRef?: ContentRef;
|
|
16
|
+
children?: any;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
showPlaceholder?: boolean;
|
|
19
|
+
appearance?: Appearance;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
dataAttributes?: {
|
|
22
|
+
[key: string]: string | number;
|
|
23
|
+
};
|
|
24
|
+
inputRef?: RefObject<HTMLInputElement>;
|
|
25
|
+
}
|
|
26
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
|
|
27
|
+
export default _default;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import DecisionList from './components/DecisionList';
|
|
1
|
+
/// <reference types="react" />
|
|
3
2
|
import ResourcedTaskItem from './components/ResourcedTaskItem';
|
|
4
3
|
import TaskDecisionResource from './api/TaskDecisionResource';
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const DecisionItem: import("react").FC<import("./components/compiled/DecisionItem").Props & import("./components/DecisionItem").Props>;
|
|
5
|
+
declare const DecisionList: import("react").FC<import("./components/compiled/DecisionList").Props & import("./components/DecisionList").Props>;
|
|
6
|
+
declare const TaskItem: import("react").FC<Omit<Omit<import("./components/compiled/TaskItem").Props, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & import("react").RefAttributes<any>, "ref"> & Omit<Omit<import("./components/TaskItem").Props, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<any>>;
|
|
7
|
+
declare const TaskList: import("react").FC<import("./components/compiled/TaskList").Props & import("./components/TaskList").Props>;
|
|
7
8
|
export { PubSubSpecialEventType } from './types';
|
|
8
9
|
export type { Appearance, ARI, AVI, BaseItem, ContentRef, Cursor, Decision, DecisionState, DecisionStatus, DecisionType, Handler, Item, Meta, ObjectKey, OnUpdate, PubSubClient, PubSubOnEvent, RecentUpdateContext, RecentUpdatesId, RecentUpdatesListener, RenderDocument, RendererContext, ServiceDecision, ServiceDecisionResponse, ServiceItem, ServiceTask, ServiceTaskState, Task, TaskDecisionProvider, TaskDecisionResourceConfig, TaskState, TaskType, UserId, } from './types';
|
|
9
10
|
export { DecisionItem, DecisionList, ResourcedTaskItem, TaskDecisionResource, TaskItem, TaskList };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type Appearance, type ContentRef } from '../../types';
|
|
3
|
+
export interface Props {
|
|
4
|
+
children?: any;
|
|
5
|
+
contentRef?: ContentRef;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
showPlaceholder?: boolean;
|
|
8
|
+
appearance?: Appearance;
|
|
9
|
+
dataAttributes?: {
|
|
10
|
+
[key: string]: string | number;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
declare const DecisionItem: ({ appearance, children, contentRef, placeholder, showPlaceholder, dataAttributes, }: Props) => JSX.Element;
|
|
14
|
+
export default DecisionItem;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { PureComponent, type ReactNode } from 'react';
|
|
6
|
+
export interface Props {
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export default class DecisionList extends PureComponent<Props, {}> {
|
|
10
|
+
render(): JSX.Element | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { PureComponent } from 'react';
|
|
6
|
+
import { type Appearance, type ContentRef, type TaskType, type DecisionType } from '../../types';
|
|
7
|
+
export interface Props {
|
|
8
|
+
icon: JSX.Element;
|
|
9
|
+
itemType: TaskType | DecisionType;
|
|
10
|
+
children?: any;
|
|
11
|
+
appearance?: Appearance;
|
|
12
|
+
contentRef?: ContentRef;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
showPlaceholder?: boolean;
|
|
15
|
+
dataAttributes?: {
|
|
16
|
+
[key: string]: string | number;
|
|
17
|
+
};
|
|
18
|
+
checkBoxId?: string;
|
|
19
|
+
}
|
|
20
|
+
export default class Item extends PureComponent<Props, {}> {
|
|
21
|
+
static defaultProps: Partial<Props>;
|
|
22
|
+
private renderPlaceholder;
|
|
23
|
+
renderMessageAppearance(): JSX.Element | null;
|
|
24
|
+
render(): JSX.Element | null;
|
|
25
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React, { type RefObject } from 'react';
|
|
6
|
+
import { type Appearance, type ContentRef } from '../../types';
|
|
7
|
+
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
8
|
+
export interface Props {
|
|
9
|
+
taskId: string;
|
|
10
|
+
isDone?: boolean;
|
|
11
|
+
isFocused?: boolean;
|
|
12
|
+
isRenderer?: boolean;
|
|
13
|
+
onChange?: (taskId: string, isChecked: boolean) => void;
|
|
14
|
+
onClick?: () => void;
|
|
15
|
+
contentRef?: ContentRef;
|
|
16
|
+
children?: any;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
showPlaceholder?: boolean;
|
|
19
|
+
appearance?: Appearance;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
dataAttributes?: {
|
|
22
|
+
[key: string]: string | number;
|
|
23
|
+
};
|
|
24
|
+
inputRef?: RefObject<HTMLInputElement>;
|
|
25
|
+
}
|
|
26
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
|
|
27
|
+
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import DecisionList from './components/DecisionList';
|
|
1
|
+
/// <reference types="react" />
|
|
3
2
|
import ResourcedTaskItem from './components/ResourcedTaskItem';
|
|
4
3
|
import TaskDecisionResource from './api/TaskDecisionResource';
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const DecisionItem: import("react").FC<import("./components/compiled/DecisionItem").Props & import("./components/DecisionItem").Props>;
|
|
5
|
+
declare const DecisionList: import("react").FC<import("./components/compiled/DecisionList").Props & import("./components/DecisionList").Props>;
|
|
6
|
+
declare const TaskItem: import("react").FC<Omit<Omit<import("./components/compiled/TaskItem").Props, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & import("react").RefAttributes<any>, "ref"> & Omit<Omit<import("./components/TaskItem").Props, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<any>>;
|
|
7
|
+
declare const TaskList: import("react").FC<import("./components/compiled/TaskList").Props & import("./components/TaskList").Props>;
|
|
7
8
|
export { PubSubSpecialEventType } from './types';
|
|
8
9
|
export type { Appearance, ARI, AVI, BaseItem, ContentRef, Cursor, Decision, DecisionState, DecisionStatus, DecisionType, Handler, Item, Meta, ObjectKey, OnUpdate, PubSubClient, PubSubOnEvent, RecentUpdateContext, RecentUpdatesId, RecentUpdatesListener, RenderDocument, RendererContext, ServiceDecision, ServiceDecisionResponse, ServiceItem, ServiceTask, ServiceTaskState, Task, TaskDecisionProvider, TaskDecisionResourceConfig, TaskState, TaskType, UserId, } from './types';
|
|
9
10
|
export { DecisionItem, DecisionList, ResourcedTaskItem, TaskDecisionResource, TaskItem, TaskList };
|