ywana-core8 0.0.333 → 0.0.336
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 +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +9 -7
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +0 -1
- package/src/domain/squema.js +1 -1
- package/src/html/table.js +7 -10
package/dist/index.umd.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('material-design-icons-iconfont/dist/material-design-icons.css'), require('react'), require('react-switch'), require('moment'), require('moment-range'), require('resumablejs'), require('react-notifications-component'), require('react-notifications-component/dist/theme.css'), require('deep-equal')
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'material-design-icons-iconfont/dist/material-design-icons.css', 'react', 'react-switch', 'moment', 'moment-range', 'resumablejs', 'react-notifications-component', 'react-notifications-component/dist/theme.css', 'deep-equal'
|
4
|
-
(global = global || self, factory(global.ywanaCore8 = {}, null, global.react, global.reactSwitch, global.moment, global.momentRange, global.resumablejs, global.reactNotificationsComponent, null, global.deepEqual
|
5
|
-
})(this, (function (exports, materialDesignIcons_css, React, RSwitch, moment, momentRange, ResumableJS, reactNotificationsComponent, theme_css, equal
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('material-design-icons-iconfont/dist/material-design-icons.css'), require('react'), require('react-switch'), require('moment'), require('moment-range'), require('resumablejs'), require('react-notifications-component'), require('react-notifications-component/dist/theme.css'), require('deep-equal')) :
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'material-design-icons-iconfont/dist/material-design-icons.css', 'react', 'react-switch', 'moment', 'moment-range', 'resumablejs', 'react-notifications-component', 'react-notifications-component/dist/theme.css', 'deep-equal'], factory) :
|
4
|
+
(global = global || self, factory(global.ywanaCore8 = {}, null, global.react, global.reactSwitch, global.moment, global.momentRange, global.resumablejs, global.reactNotificationsComponent, null, global.deepEqual));
|
5
|
+
})(this, (function (exports, materialDesignIcons_css, React, RSwitch, moment, momentRange, ResumableJS, reactNotificationsComponent, theme_css, equal) {
|
6
6
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
7
7
|
|
8
8
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
@@ -1779,11 +1779,13 @@
|
|
1779
1779
|
|
1780
1780
|
switch (format) {
|
1781
1781
|
case FORMATS.DATE:
|
1782
|
-
|
1782
|
+
var fecha = new Date(text).toLocaleString(locale, {
|
1783
1783
|
year: 'numeric',
|
1784
1784
|
month: 'numeric',
|
1785
1785
|
day: 'numeric'
|
1786
1786
|
});
|
1787
|
+
fecha.setMinutes(fecha.getMinutes() + fecha.getTimezoneOffset());
|
1788
|
+
text = fecha;
|
1787
1789
|
break;
|
1788
1790
|
|
1789
1791
|
case FORMATS.TIME:
|
@@ -5035,12 +5037,12 @@
|
|
5035
5037
|
var QUERY = {
|
5036
5038
|
id: {
|
5037
5039
|
id: "id",
|
5038
|
-
type:
|
5040
|
+
type: TYPES.STRING,
|
5039
5041
|
editable: false
|
5040
5042
|
},
|
5041
5043
|
name: {
|
5042
5044
|
id: "name",
|
5043
|
-
type:
|
5045
|
+
type: TYPES.STRING,
|
5044
5046
|
required: true,
|
5045
5047
|
label: "Name"
|
5046
5048
|
}
|