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.
- package/components/crn-datasource.components.json +4 -0
- package/components/crn-upload.components.json +1 -0
- package/components/templates/cron-calendar.designtime.html +2 -2
- package/css/themes/custom/aquamarine/custom-aquamarine.css +1 -5
- package/css/themes/custom/fuse/custom-fuse.css +0 -1
- package/css/themes/custom/krypton/custom-krypton.css +1137 -0
- package/css/themes/custom/krypton/grid-krypton.css +431 -0
- package/css/themes/custom/krypton/navbar-krypton.css +157 -0
- package/css/themes/custom/krypton/panel-krypton.css +114 -0
- package/css/themes/custom/material/custom-material.css +1 -0
- package/css/themes/custom/material/grid-material.css +1 -0
- package/css/themes/custom/material-round/custom-material-round.css +642 -0
- package/css/themes/custom/material-round/grid-material-round.css +347 -0
- package/css/themes/custom/material-round/navbar-material-round.css +140 -0
- package/css/themes/custom/material-round/panel-material-round.css +94 -0
- package/css/themes/custom/navigator/custom-navigator.css +11 -0
- package/css/themes/custom/slate/custom-slate.css +1 -0
- package/css/themes/custom/united/custom-united.css +1 -0
- package/css/themes/custom/yeti/custom-yeti.css +1 -0
- package/css/themes/krypton.min.css +9 -0
- package/css/themes/material-round.min.css +9 -0
- package/dist/components/templates/cron-calendar.designtime.html +1 -1
- package/dist/css/themes/custom/aquamarine/custom-aquamarine.css +1 -1
- package/dist/css/themes/custom/fuse/custom-fuse.css +1 -1
- package/dist/css/themes/custom/krypton/custom-krypton.css +1 -0
- package/dist/css/themes/custom/krypton/grid-krypton.css +1 -0
- package/dist/css/themes/custom/krypton/navbar-krypton.css +1 -0
- package/dist/css/themes/custom/krypton/panel-krypton.css +1 -0
- package/dist/css/themes/custom/material/custom-material.css +1 -1
- package/dist/css/themes/custom/material/grid-material.css +1 -1
- package/dist/css/themes/custom/material-round/custom-material-round.css +1 -0
- package/dist/css/themes/custom/material-round/grid-material-round.css +1 -0
- package/dist/css/themes/custom/material-round/navbar-material-round.css +1 -0
- package/dist/css/themes/custom/material-round/panel-material-round.css +1 -0
- package/dist/css/themes/custom/navigator/custom-navigator.css +1 -1
- package/dist/css/themes/custom/slate/custom-slate.css +1 -1
- package/dist/css/themes/custom/united/custom-united.css +1 -1
- package/dist/css/themes/custom/yeti/custom-yeti.css +1 -1
- package/dist/css/themes/krypton.min.css +1 -0
- package/dist/css/themes/material-round.min.css +1 -0
- package/dist/js/directives.js +3 -3
- package/js/directives.js +14 -5
- 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
|
-
|
|
1621
|
-
$
|
|
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:
|
|
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
|
}
|