ywana-core8 0.0.862 → 0.0.864
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 +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +12 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +12 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain2/CollectionPage.js +0 -1
- package/src/html/table.js +3 -0
- package/src/http/client.js +2 -2
package/dist/index.cjs
CHANGED
@@ -136,9 +136,9 @@ var HTTPClient = function HTTPClient(domain, securityCtx) {
|
|
136
136
|
var token = securityCtx ? securityCtx.token() : null;
|
137
137
|
return fetchAsync('PATCH', domain + URL, body, token, headers);
|
138
138
|
},
|
139
|
-
DELETE: function DELETE(URL, headers) {
|
139
|
+
DELETE: function DELETE(URL, body, headers) {
|
140
140
|
var token = securityCtx ? securityCtx.token() : null;
|
141
|
-
return fetchAsync('DELETE', domain + URL,
|
141
|
+
return fetchAsync('DELETE', domain + URL, body, token, headers);
|
142
142
|
}
|
143
143
|
};
|
144
144
|
};
|
@@ -2173,6 +2173,16 @@ var StringCellViewer = function StringCellViewer(_ref8) {
|
|
2173
2173
|
day: 'second'
|
2174
2174
|
});
|
2175
2175
|
break;
|
2176
|
+
case FORMATS$1.DATETIME:
|
2177
|
+
text = new Date(text).toLocaleString(locale, {
|
2178
|
+
year: 'numeric',
|
2179
|
+
month: 'numeric',
|
2180
|
+
day: 'numeric',
|
2181
|
+
hour: 'numeric',
|
2182
|
+
minute: 'numeric',
|
2183
|
+
second: 'numeric'
|
2184
|
+
});
|
2185
|
+
break;
|
2176
2186
|
}
|
2177
2187
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
2178
2188
|
className: "field-editor string-viewer " + className,
|