cronapp-framework-js 2.9.4 → 2.9.5

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 (31) hide show
  1. package/components/crn-datasource.components.json +4 -0
  2. package/components/crn-upload.components.json +1 -0
  3. package/css/themes/custom/aquamarine/custom-aquamarine.css +0 -5
  4. package/css/themes/custom/krypton/custom-krypton.css +1137 -0
  5. package/css/themes/custom/krypton/grid-krypton.css +431 -0
  6. package/css/themes/custom/krypton/navbar-krypton.css +157 -0
  7. package/css/themes/custom/krypton/panel-krypton.css +114 -0
  8. package/css/themes/custom/material/grid-material.css +1 -0
  9. package/css/themes/custom/material-round/custom-material-round.css +642 -0
  10. package/css/themes/custom/material-round/grid-material-round.css +347 -0
  11. package/css/themes/custom/material-round/navbar-material-round.css +140 -0
  12. package/css/themes/custom/material-round/panel-material-round.css +94 -0
  13. package/css/themes/custom/navigator/custom-navigator.css +11 -0
  14. package/css/themes/krypton.min.css +9 -0
  15. package/css/themes/material-round.min.css +9 -0
  16. package/dist/css/themes/custom/aquamarine/custom-aquamarine.css +1 -1
  17. package/dist/css/themes/custom/krypton/custom-krypton.css +1 -0
  18. package/dist/css/themes/custom/krypton/grid-krypton.css +1 -0
  19. package/dist/css/themes/custom/krypton/navbar-krypton.css +1 -0
  20. package/dist/css/themes/custom/krypton/panel-krypton.css +1 -0
  21. package/dist/css/themes/custom/material/grid-material.css +1 -1
  22. package/dist/css/themes/custom/material-round/custom-material-round.css +1 -0
  23. package/dist/css/themes/custom/material-round/grid-material-round.css +1 -0
  24. package/dist/css/themes/custom/material-round/navbar-material-round.css +1 -0
  25. package/dist/css/themes/custom/material-round/panel-material-round.css +1 -0
  26. package/dist/css/themes/custom/navigator/custom-navigator.css +1 -1
  27. package/dist/css/themes/krypton.min.css +1 -0
  28. package/dist/css/themes/material-round.min.css +1 -0
  29. package/dist/js/directives.js +2 -2
  30. package/js/directives.js +7 -3
  31. package/package.json +1 -1
package/js/directives.js CHANGED
@@ -1617,8 +1617,12 @@
1617
1617
  let $objClick = $(`[data-id="${randomId}"]`);
1618
1618
  if ($objClick.length) {
1619
1619
  clearInterval(waitRender);
1620
- $objClick.off('click');
1621
- $objClick.on('click', (e) => {
1620
+ let eventHook = 'click';
1621
+ if ($('.km-pane-wrapper').length) {
1622
+ eventHook = 'touchstart';
1623
+ }
1624
+ $objClick.off(eventHook);
1625
+ $objClick.on(eventHook, (e) => {
1622
1626
  func(e);
1623
1627
  e.stopImmediatePropagation();
1624
1628
  });
@@ -1662,7 +1666,7 @@
1662
1666
  showWorkHours: options.showWorkHours,
1663
1667
  selectable: true,
1664
1668
  date: schedulerStartDate,
1665
- mobile: true,
1669
+ mobile: false,
1666
1670
  allDaySlot: options.allDaySlot,
1667
1671
  messages: {
1668
1672
  editor: {
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",
4
4
  "description": "Javascript library for CronApp's projects",
5
5
  "main": "cronapp.framework.js",
6
6
  "scripts": {