isite 2022.9.19 → 2022.9.20
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/apps/client-side/site_files/css/bootstrap5-addon.css +5 -0
- package/apps/client-side/site_files/css/checkbox.css +0 -1
- package/apps/client-side/site_files/css/modal.css +2 -1
- package/apps/client-side/site_files/html/directive/i-date.html +3 -3
- package/apps/client-side/site_files/html/directive/i-datetime.html +5 -5
- package/apps/client-side/site_files/js/bootstrap-5-directive.js +26 -8
- package/apps/client-side/site_files/js/last.js +5 -3
- package/package.json +1 -1
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
</div>
|
|
8
8
|
<div class="row dashed padding margin" ng-show="editOnly">
|
|
9
9
|
<div class="col3">
|
|
10
|
-
<i-list label="
|
|
10
|
+
<i-list label="{{dayTitle}}" v="{{v}}" items="days" ng-model="model.selectedDay"></i-list>
|
|
11
11
|
</div>
|
|
12
12
|
<div class="col4">
|
|
13
|
-
<i-list label="
|
|
13
|
+
<i-list label="{{monthTitle}}" v="{{v}}" items="monthes" ng-model="model.selectedMonth"></i-list>
|
|
14
14
|
</div>
|
|
15
15
|
<div class="col4">
|
|
16
|
-
<i-list label="
|
|
16
|
+
<i-list label="{{yearTitle}}" v="{{v}}" items="years" ng-search="searchYear" ng-model="model.selectedYear"></i-list>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
19
|
<div class="col2">
|
|
@@ -8,20 +8,20 @@
|
|
|
8
8
|
</div>
|
|
9
9
|
<div class="row dashed padding margin" ng-show="editOnly">
|
|
10
10
|
<div class="col2">
|
|
11
|
-
<i-list label="
|
|
11
|
+
<i-list label="{{dayTitle}}" items="days" ng-model="model.selectedDay"></i-list>
|
|
12
12
|
</div>
|
|
13
13
|
<div class="col3">
|
|
14
|
-
<i-list label="
|
|
14
|
+
<i-list label="{{monthTitle}}" items="monthes" ng-model="model.selectedMonth"></i-list>
|
|
15
15
|
</div>
|
|
16
16
|
<div class="col3">
|
|
17
|
-
<i-list label="
|
|
17
|
+
<i-list label="{{yearTitle}}" items="years" ng-search="searchYear" ng-model="model.selectedYear"></i-list>
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
20
|
<div class="col2">
|
|
21
|
-
<i-list label="
|
|
21
|
+
<i-list label="{{hourTitle}}" items="hours" ng-model="model.selectedHour"></i-list>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="col2">
|
|
24
|
-
<i-list label="
|
|
24
|
+
<i-list label="{{minuteTitle}}" items="minutes" ng-model="model.selectedMinute"></i-list>
|
|
25
25
|
</div>
|
|
26
26
|
<div class="row">
|
|
27
27
|
<br />
|
|
@@ -480,8 +480,15 @@ app.directive('iDate', function () {
|
|
|
480
480
|
name: i,
|
|
481
481
|
});
|
|
482
482
|
}
|
|
483
|
+
$scope.dayTitle = 'Day';
|
|
484
|
+
$scope.monthTitle = 'Month';
|
|
485
|
+
$scope.yearTitle = 'Year';
|
|
486
|
+
|
|
483
487
|
$scope.lang = site.session ? site.session.lang : 'en';
|
|
484
488
|
if ($scope.lang === 'ar') {
|
|
489
|
+
$scope.dayTitle = 'يوم';
|
|
490
|
+
$scope.monthTitle = 'شهر';
|
|
491
|
+
$scope.yearTitle = 'سنة';
|
|
485
492
|
$scope.monthes = [
|
|
486
493
|
{ id: 0, name: 'يناير' },
|
|
487
494
|
{ id: 1, name: 'فبراير' },
|
|
@@ -501,15 +508,15 @@ app.directive('iDate', function () {
|
|
|
501
508
|
{ id: 0, name: 'Jan' },
|
|
502
509
|
{ id: 1, name: 'Feb' },
|
|
503
510
|
{ id: 2, name: 'Mar' },
|
|
504
|
-
{ id: 3, name: '
|
|
511
|
+
{ id: 3, name: 'Apr' },
|
|
505
512
|
{ id: 4, name: 'May' },
|
|
506
|
-
{ id: 5, name: '
|
|
507
|
-
{ id: 6, name: '
|
|
513
|
+
{ id: 5, name: 'Jun' },
|
|
514
|
+
{ id: 6, name: 'Jul' },
|
|
508
515
|
{ id: 7, name: 'Aug' },
|
|
509
516
|
{ id: 8, name: 'Sep' },
|
|
510
517
|
{ id: 9, name: 'Oct' },
|
|
511
518
|
{ id: 10, name: 'Nov' },
|
|
512
|
-
{ id: 11, name: '
|
|
519
|
+
{ id: 11, name: 'Dec' },
|
|
513
520
|
];
|
|
514
521
|
}
|
|
515
522
|
|
|
@@ -604,8 +611,19 @@ app.directive('iDatetime', function () {
|
|
|
604
611
|
name: i,
|
|
605
612
|
});
|
|
606
613
|
}
|
|
614
|
+
$scope.dayTitle = 'Day';
|
|
615
|
+
$scope.monthTitle = 'Month';
|
|
616
|
+
$scope.yearTitle = 'Year';
|
|
617
|
+
$scope.hourTitle = 'Hour';
|
|
618
|
+
$scope.minuteTitle = 'Minute';
|
|
619
|
+
|
|
607
620
|
$scope.lang = site.session ? site.session.lang : 'en';
|
|
608
621
|
if ($scope.lang === 'ar') {
|
|
622
|
+
$scope.dayTitle = 'يوم';
|
|
623
|
+
$scope.monthTitle = 'شهر';
|
|
624
|
+
$scope.yearTitle = 'سنة';
|
|
625
|
+
$scope.hourTitle = 'ساعة';
|
|
626
|
+
$scope.minuteTitle = 'دقيقة';
|
|
609
627
|
$scope.monthes = [
|
|
610
628
|
{ id: 0, name: 'يناير' },
|
|
611
629
|
{ id: 1, name: 'فبراير' },
|
|
@@ -625,15 +643,15 @@ app.directive('iDatetime', function () {
|
|
|
625
643
|
{ id: 0, name: 'Jan' },
|
|
626
644
|
{ id: 1, name: 'Feb' },
|
|
627
645
|
{ id: 2, name: 'Mar' },
|
|
628
|
-
{ id: 3, name: '
|
|
646
|
+
{ id: 3, name: 'Apr' },
|
|
629
647
|
{ id: 4, name: 'May' },
|
|
630
|
-
{ id: 5, name: '
|
|
631
|
-
{ id: 6, name: '
|
|
648
|
+
{ id: 5, name: 'Jun' },
|
|
649
|
+
{ id: 6, name: 'Jul' },
|
|
632
650
|
{ id: 7, name: 'Aug' },
|
|
633
651
|
{ id: 8, name: 'Sep' },
|
|
634
652
|
{ id: 9, name: 'Oct' },
|
|
635
653
|
{ id: 10, name: 'Nov' },
|
|
636
|
-
{ id: 11, name: '
|
|
654
|
+
{ id: 11, name: 'Dec' },
|
|
637
655
|
];
|
|
638
656
|
}
|
|
639
657
|
|
|
@@ -2,7 +2,9 @@ if (window.module) {
|
|
|
2
2
|
module = window.module;
|
|
3
3
|
}
|
|
4
4
|
site.onLoad(() => {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
setTimeout(() => {
|
|
6
|
+
document.querySelectorAll('.loaded').forEach((el) => {
|
|
7
|
+
el.classList.remove('loaded');
|
|
8
|
+
});
|
|
9
|
+
}, 1000);
|
|
8
10
|
});
|