ywana-core8 0.0.867 → 0.0.868
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 +17 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +17 -6
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +17 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentViewer.js +8 -0
- package/src/html/table.js +1 -1
- package/src/incubator/task.js +4 -4
package/dist/index.umd.js
CHANGED
@@ -1766,7 +1766,8 @@
|
|
1766
1766
|
className: "filter-cell"
|
1767
1767
|
}, filterable ? /*#__PURE__*/React__default["default"].createElement(TextField, {
|
1768
1768
|
id: id,
|
1769
|
-
onChange: onFilter
|
1769
|
+
onChange: onFilter,
|
1770
|
+
outlined: true
|
1770
1771
|
}) : null);
|
1771
1772
|
}));
|
1772
1773
|
};
|
@@ -4888,20 +4889,20 @@
|
|
4888
4889
|
var table = {
|
4889
4890
|
columns: [{
|
4890
4891
|
id: "state",
|
4891
|
-
label: "
|
4892
|
+
label: "State"
|
4892
4893
|
}, {
|
4893
4894
|
id: "init",
|
4894
|
-
label: "
|
4895
|
+
label: "Init Date",
|
4895
4896
|
type: TYPES$1.STRING,
|
4896
4897
|
format: FORMATS$1.DATE
|
4897
4898
|
}, {
|
4898
4899
|
id: "end",
|
4899
|
-
label: "
|
4900
|
+
label: "End Date",
|
4900
4901
|
type: TYPES$1.STRING,
|
4901
4902
|
format: FORMATS$1.DATE
|
4902
4903
|
}, {
|
4903
4904
|
id: "description",
|
4904
|
-
label: "
|
4905
|
+
label: "Description"
|
4905
4906
|
}, {
|
4906
4907
|
id: "progress",
|
4907
4908
|
label: "%"
|
@@ -6132,7 +6133,8 @@
|
|
6132
6133
|
var StringViewer = function StringViewer(props) {
|
6133
6134
|
var field = props.field,
|
6134
6135
|
value = props.value;
|
6135
|
-
var
|
6136
|
+
var id = field.id,
|
6137
|
+
format = field.format,
|
6136
6138
|
label = field.label,
|
6137
6139
|
options = field.options;
|
6138
6140
|
switch (format) {
|
@@ -6142,6 +6144,15 @@
|
|
6142
6144
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
6143
6145
|
src: value
|
6144
6146
|
}));
|
6147
|
+
case FORMATS$1.TOKENS:
|
6148
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
6149
|
+
className: "tokens-field"
|
6150
|
+
}, /*#__PURE__*/React__default["default"].createElement(TokenField, {
|
6151
|
+
id: id,
|
6152
|
+
label: label,
|
6153
|
+
tokens: value,
|
6154
|
+
readOnly: true
|
6155
|
+
}));
|
6145
6156
|
default:
|
6146
6157
|
return /*#__PURE__*/React__default["default"].createElement(Property, {
|
6147
6158
|
label: label,
|