cronapp-framework-js 2.9.4 → 2.9.5-SP.10

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 (43) hide show
  1. package/components/crn-datasource.components.json +4 -0
  2. package/components/crn-upload.components.json +1 -0
  3. package/components/templates/cron-calendar.designtime.html +2 -2
  4. package/css/themes/custom/aquamarine/custom-aquamarine.css +1 -5
  5. package/css/themes/custom/fuse/custom-fuse.css +0 -1
  6. package/css/themes/custom/krypton/custom-krypton.css +1137 -0
  7. package/css/themes/custom/krypton/grid-krypton.css +431 -0
  8. package/css/themes/custom/krypton/navbar-krypton.css +157 -0
  9. package/css/themes/custom/krypton/panel-krypton.css +114 -0
  10. package/css/themes/custom/material/custom-material.css +1 -0
  11. package/css/themes/custom/material/grid-material.css +1 -0
  12. package/css/themes/custom/material-round/custom-material-round.css +642 -0
  13. package/css/themes/custom/material-round/grid-material-round.css +347 -0
  14. package/css/themes/custom/material-round/navbar-material-round.css +140 -0
  15. package/css/themes/custom/material-round/panel-material-round.css +94 -0
  16. package/css/themes/custom/navigator/custom-navigator.css +11 -0
  17. package/css/themes/custom/slate/custom-slate.css +1 -0
  18. package/css/themes/custom/united/custom-united.css +1 -0
  19. package/css/themes/custom/yeti/custom-yeti.css +1 -0
  20. package/css/themes/krypton.min.css +9 -0
  21. package/css/themes/material-round.min.css +9 -0
  22. package/dist/components/templates/cron-calendar.designtime.html +1 -1
  23. package/dist/css/themes/custom/aquamarine/custom-aquamarine.css +1 -1
  24. package/dist/css/themes/custom/fuse/custom-fuse.css +1 -1
  25. package/dist/css/themes/custom/krypton/custom-krypton.css +1 -0
  26. package/dist/css/themes/custom/krypton/grid-krypton.css +1 -0
  27. package/dist/css/themes/custom/krypton/navbar-krypton.css +1 -0
  28. package/dist/css/themes/custom/krypton/panel-krypton.css +1 -0
  29. package/dist/css/themes/custom/material/custom-material.css +1 -1
  30. package/dist/css/themes/custom/material/grid-material.css +1 -1
  31. package/dist/css/themes/custom/material-round/custom-material-round.css +1 -0
  32. package/dist/css/themes/custom/material-round/grid-material-round.css +1 -0
  33. package/dist/css/themes/custom/material-round/navbar-material-round.css +1 -0
  34. package/dist/css/themes/custom/material-round/panel-material-round.css +1 -0
  35. package/dist/css/themes/custom/navigator/custom-navigator.css +1 -1
  36. package/dist/css/themes/custom/slate/custom-slate.css +1 -1
  37. package/dist/css/themes/custom/united/custom-united.css +1 -1
  38. package/dist/css/themes/custom/yeti/custom-yeti.css +1 -1
  39. package/dist/css/themes/krypton.min.css +1 -0
  40. package/dist/css/themes/material-round.min.css +1 -0
  41. package/dist/js/directives.js +3 -3
  42. package/js/directives.js +14 -5
  43. package/package.json +1 -1
package/js/directives.js CHANGED
@@ -117,7 +117,8 @@
117
117
  selectDates: selectDates,
118
118
  disableDates: disableDates,
119
119
  min: min,
120
- max: max
120
+ max: max,
121
+ start: options.startView
121
122
  });
122
123
 
123
124
  let calendar = cronCalendarElement.data('kendoCalendar');
@@ -1617,8 +1618,12 @@
1617
1618
  let $objClick = $(`[data-id="${randomId}"]`);
1618
1619
  if ($objClick.length) {
1619
1620
  clearInterval(waitRender);
1620
- $objClick.off('click');
1621
- $objClick.on('click', (e) => {
1621
+ let eventHook = 'click';
1622
+ if ($('.km-pane-wrapper').length) {
1623
+ eventHook = 'touchstart';
1624
+ }
1625
+ $objClick.off(eventHook);
1626
+ $objClick.on(eventHook, (e) => {
1622
1627
  func(e);
1623
1628
  e.stopImmediatePropagation();
1624
1629
  });
@@ -1662,7 +1667,7 @@
1662
1667
  showWorkHours: options.showWorkHours,
1663
1668
  selectable: true,
1664
1669
  date: schedulerStartDate,
1665
- mobile: true,
1670
+ mobile: false,
1666
1671
  allDaySlot: options.allDaySlot,
1667
1672
  messages: {
1668
1673
  editor: {
@@ -4611,7 +4616,7 @@
4611
4616
  scope.$watchCollection(function(){return ngModelCtrl.$modelValue}, function(value, old){
4612
4617
  var silent = $(combobox).data('silent');
4613
4618
 
4614
- if (value.length === 0) {
4619
+ if (value && value.length === 0) {
4615
4620
  $(`#${attrs.id}`).addClass('ng-empty');
4616
4621
  attrs.ngRequired && eval(attrs.ngRequired) && $(`#${attrs.id}`).attr('required', 'required');
4617
4622
  }
@@ -6541,6 +6546,10 @@ app.kendoHelper = {
6541
6546
  this.options.fromRead = false;
6542
6547
  delete this.options.cronappDatasource.reloadedFromCronapi;
6543
6548
  }
6549
+ if (type === "overRideRefresh") {
6550
+ this.options.refComponent.dataSource._page = 1;
6551
+ this.options.refComponent.dataSource._skip = 0;
6552
+ }
6544
6553
  this.options.refComponent.dataSource.read();
6545
6554
  }
6546
6555
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cronapp-framework-js",
3
- "version": "2.9.4",
3
+ "version": "2.9.5-SP.10",
4
4
  "description": "Javascript library for CronApp's projects",
5
5
  "main": "cronapp.framework.js",
6
6
  "scripts": {