isobit-ui 0.0.562 → 0.0.565

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.
Files changed (2) hide show
  1. package/dist/index.js +14 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.562
2
+ * isobit-ui v0.0.565
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -780,7 +780,9 @@ var script$m = {
780
780
  },
781
781
  changeDate: function changeDate() {
782
782
  var me = this;
783
+ console.log(me.value);
783
784
  var d = me.toDate(me.value);
785
+ console.log(d);
784
786
  var fd;
785
787
 
786
788
  if (d) {
@@ -3456,18 +3458,24 @@ var script$8 = {
3456
3458
  if (!me.data2) me.data2 = [];
3457
3459
  return _invoke(function () {
3458
3460
  if (me.store) {
3459
- return _await$1(window._.getStoredList(me.store), function (dd) {
3461
+ return _await$1(window._.getStoredList(me.store), function (storedList) {
3460
3462
  var _ref = p ? Object.keys(p) : [],
3461
3463
  _ref2 = _slicedToArray(_ref, 1),
3462
3464
  key = _ref2[0];
3463
3465
 
3464
- if (key) me.data2 = me.data2.concat(dd.filter(function (item) {
3465
- return item[key].startsWith(p[key]);
3466
- }));else me.data2 = me.data2.concat(dd);
3466
+ if (key) {
3467
+ me.data2 = me.data2.concat(storedList.filter(function (item) {
3468
+ return item[key].startsWith(p[key]);
3469
+ }));
3470
+ } else {
3471
+ me.data2 = me.data2.concat(storedList);
3472
+ }
3473
+
3467
3474
  var displayField = me.displayField;
3468
3475
  me.data2 = me.data2.sort(function (a, b) {
3469
3476
  if (a[displayField] > b[displayField]) return 1;else if (a[displayField] < b[displayField]) return -1;else 0;
3470
3477
  });
3478
+ console.log(me.data2);
3471
3479
  });
3472
3480
  }
3473
3481
  }, function () {
@@ -6213,7 +6221,7 @@ window.ui = _$1.ui = function (cfg) {
6213
6221
  return window.app;
6214
6222
  },
6215
6223
  perms: function perms() {
6216
- return this.user.perms || {};
6224
+ return this.user.perms || this.user.allcaps || {};
6217
6225
  },
6218
6226
  rowSelectedCount: function rowSelectedCount() {
6219
6227
  var me = this; //console.log(me.$children);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.562",
3
+ "version": "0.0.565",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [