@cxfreeze/ionic-calendar 2.4.2 → 2.4.3

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 (52) hide show
  1. package/package.json +17 -14
  2. package/.angular/cache/17.0.1/ng-packagr/content-v2/sha512/1b/1e/cf97a55b067ccc408926c6e68297a355657efa5ce9322e62979a81181e2907907086e271c18bd023f3818781cd1335e027c6b6aa36f2dab4fe0a1bb67fda +0 -1
  3. package/.angular/cache/17.0.1/ng-packagr/content-v2/sha512/1e/f1/a99fe795a5de8a56d13ea52f1e509ffbe943a96d7f901d2c85cd20bffda2e50881362a2d7abf4ce7503a0b548cdfe6985082a626d1b53845eb25685da463 +0 -1
  4. package/.angular/cache/17.0.1/ng-packagr/content-v2/sha512/7e/0b/35625ec42cf042be295cee7a63ffb0bfacd9fff699912626830fb9034cf68e96f82772b8dbab9c5190c75690f8822a25e1094fe16467ac8bf99d5ac88417 +0 -1
  5. package/.angular/cache/17.0.1/ng-packagr/content-v2/sha512/b4/8e/1aba05910d36c5e8b9ede4612b36f257d6ef820d71a959cd371d243f842cb84bc2a83a1c64d76dacef33dd73ea4f71bea67e4a510846bc06b246e53bd9b7 +0 -1
  6. package/.angular/cache/17.0.1/ng-packagr/content-v2/sha512/c2/5f/d2ca0e1d8b734edd9178653a270d326f5282400f3db2953a7bc7b39ff267041b2b176ab7f23d1b7546ee38e236665eaed658a832f2c548abc6dfe6f5d4ae +0 -1
  7. package/.angular/cache/17.0.1/ng-packagr/content-v2/sha512/cb/c6/000b81516d1685a732182dc1834e51acee7de3531482bd05dcaf4d8a769eb3fca034ece03ad5347e67df87ada9909614f6da18c154a3ba3c32017053591a +0 -1
  8. package/.angular/cache/17.0.1/ng-packagr/content-v2/sha512/ed/a6/c97d9a810d6c54af8258867c7b5d6964e237c33352ccad7b977c4c73dcf77c135a00b0d319c5738d7c992ecf95011b45db15967195063bb0d61978bb9513 +0 -1
  9. package/.angular/cache/17.0.1/ng-packagr/index-v5/01/4d/18b7829e2c42b58e4788b3c2abe28abd04de4c6a41e120f159297c938977 +0 -2
  10. package/.angular/cache/17.0.1/ng-packagr/index-v5/0e/32/b7164aca67b994240b6748045ee30505f5bde5fbf7c4499d977965c90db0 +0 -2
  11. package/.angular/cache/17.0.1/ng-packagr/index-v5/22/f0/d38580ba65f27221d0f84e532332ae026d70083cebdfa338a4072993a2ed +0 -2
  12. package/.angular/cache/17.0.1/ng-packagr/index-v5/37/f8/0d0c0072e4754fceba188c3d7885c2facd3c9d6d824040799c56f627b095 +0 -2
  13. package/.angular/cache/17.0.1/ng-packagr/index-v5/9d/7c/eb0891e7f07eed83db9fc9d2b595b57f8f0f8dd140cd815fc71a0911ab33 +0 -2
  14. package/.angular/cache/17.0.1/ng-packagr/index-v5/b4/fc/414f1e68224aaaf8ec4ab411568070ffffe2096b5c81ddba81c4bbf786bd +0 -2
  15. package/.angular/cache/17.0.1/ng-packagr/index-v5/e3/73/1f46c305202b8d9c3dc352bae8fca38e2b222b28513fa03a8122bb362cd0 +0 -2
  16. package/.angular/cache/17.0.1/ng-packagr/tsbuildinfo/cxfreeze-ionic-calendar.tsbuildinfo +0 -1
  17. package/.editorconfig +0 -15
  18. package/angular.json +0 -27
  19. package/dist/LICENSE +0 -21
  20. package/dist/README.md +0 -1014
  21. package/ng-package.json +0 -7
  22. package/src/calendar.css +0 -44
  23. package/src/calendar.html +0 -117
  24. package/src/dayview.css +0 -206
  25. package/src/dayview.html +0 -160
  26. package/src/monthview.css +0 -98
  27. package/src/monthview.html +0 -124
  28. package/src/weekview.css +0 -200
  29. package/src/weekview.html +0 -93
  30. package/tsconfig.json +0 -40
  31. package/tslint.json +0 -3
  32. /package/{dist/calendar.d.ts → calendar.d.ts} +0 -0
  33. /package/{dist/calendar.interface.d.ts → calendar.interface.d.ts} +0 -0
  34. /package/{dist/calendar.module.d.ts → calendar.module.d.ts} +0 -0
  35. /package/{dist/calendar.service.d.ts → calendar.service.d.ts} +0 -0
  36. /package/{dist/dayview.d.ts → dayview.d.ts} +0 -0
  37. /package/{dist/esm2022 → esm2022}/calendar.interface.mjs +0 -0
  38. /package/{dist/esm2022 → esm2022}/calendar.mjs +0 -0
  39. /package/{dist/esm2022 → esm2022}/calendar.module.mjs +0 -0
  40. /package/{dist/esm2022 → esm2022}/calendar.service.mjs +0 -0
  41. /package/{dist/esm2022 → esm2022}/cxfreeze-ionic-calendar.mjs +0 -0
  42. /package/{dist/esm2022 → esm2022}/dayview.mjs +0 -0
  43. /package/{dist/esm2022 → esm2022}/index.mjs +0 -0
  44. /package/{dist/esm2022 → esm2022}/init-position-scroll.mjs +0 -0
  45. /package/{dist/esm2022 → esm2022}/monthview.mjs +0 -0
  46. /package/{dist/esm2022 → esm2022}/weekview.mjs +0 -0
  47. /package/{dist/fesm2022 → fesm2022}/cxfreeze-ionic-calendar.mjs +0 -0
  48. /package/{dist/fesm2022 → fesm2022}/cxfreeze-ionic-calendar.mjs.map +0 -0
  49. /package/{dist/index.d.ts → index.d.ts} +0 -0
  50. /package/{dist/init-position-scroll.d.ts → init-position-scroll.d.ts} +0 -0
  51. /package/{dist/monthview.d.ts → monthview.d.ts} +0 -0
  52. /package/{dist/weekview.d.ts → weekview.d.ts} +0 -0
@@ -1,124 +0,0 @@
1
- <div class="swiper monthview-swiper" #monthViewSwiper>
2
- <div class="swiper-wrapper">
3
- <div class="swiper-slide">
4
- <table *ngIf="0===currentViewIndex" class="table table-bordered table-fixed monthview-datetable">
5
- <thead>
6
- <tr>
7
- <th *ngFor="let dayHeader of views[0].dayHeaders">
8
- <small>{{dayHeader}}</small>
9
- </th>
10
- </tr>
11
- </thead>
12
- <tbody>
13
- <tr *ngFor="let row of [0,1,2,3,4,5]">
14
- <td *ngFor="let col of [0,1,2,3,4,5,6]" tappable (click)="select(views[0].dates[row*7+col])"
15
- [ngClass]="getHighlightClass(views[0].dates[row*7+col])">
16
- <ng-template [ngTemplateOutlet]="monthviewDisplayEventTemplate"
17
- [ngTemplateOutletContext]="{view: views[0], row: row, col: col}">
18
- </ng-template>
19
- </td>
20
- </tr>
21
- </tbody>
22
- </table>
23
- <table *ngIf="0!==currentViewIndex" class="table table-bordered table-fixed monthview-datetable">
24
- <thead>
25
- <tr class="text-center">
26
- <th *ngFor="let dayHeader of views[0].dayHeaders">
27
- <small>{{dayHeader}}</small>
28
- </th>
29
- </tr>
30
- </thead>
31
- <tbody>
32
- <tr *ngFor="let row of [0,1,2,3,4,5]">
33
- <td *ngFor="let col of [0,1,2,3,4,5,6]">
34
- <ng-template [ngTemplateOutlet]="monthviewInactiveDisplayEventTemplate"
35
- [ngTemplateOutletContext]="{view: views[0], row: row, col: col}">
36
- </ng-template>
37
- </td>
38
- <tr>
39
- </tbody>
40
- </table>
41
- </div>
42
- <div class="swiper-slide">
43
- <table *ngIf="1===currentViewIndex" class="table table-bordered table-fixed monthview-datetable">
44
- <thead>
45
- <tr>
46
- <th *ngFor="let dayHeader of views[1].dayHeaders">
47
- <small>{{dayHeader}}</small>
48
- </th>
49
- </tr>
50
- </thead>
51
- <tbody>
52
- <tr *ngFor="let row of [0,1,2,3,4,5]">
53
- <td *ngFor="let col of [0,1,2,3,4,5,6]" tappable (click)="select(views[1].dates[row*7+col])"
54
- [ngClass]="getHighlightClass(views[1].dates[row*7+col])">
55
- <ng-template [ngTemplateOutlet]="monthviewDisplayEventTemplate"
56
- [ngTemplateOutletContext]="{view: views[1], row: row, col: col}">
57
- </ng-template>
58
- </td>
59
- </tr>
60
- </tbody>
61
- </table>
62
- <table *ngIf="1!==currentViewIndex" class="table table-bordered table-fixed monthview-datetable">
63
- <thead>
64
- <tr class="text-center">
65
- <th *ngFor="let dayHeader of views[1].dayHeaders">
66
- <small>{{dayHeader}}</small>
67
- </th>
68
- </tr>
69
- </thead>
70
- <tbody>
71
- <tr *ngFor="let row of [0,1,2,3,4,5]">
72
- <td *ngFor="let col of [0,1,2,3,4,5,6]">
73
- <ng-template [ngTemplateOutlet]="monthviewInactiveDisplayEventTemplate"
74
- [ngTemplateOutletContext]="{view: views[1], row: row, col: col}">
75
- </ng-template>
76
- </td>
77
- <tr>
78
- </tbody>
79
- </table>
80
- </div>
81
- <div class="swiper-slide">
82
- <table *ngIf="2===currentViewIndex" class="table table-bordered table-fixed monthview-datetable">
83
- <thead>
84
- <tr>
85
- <th *ngFor="let dayHeader of views[2].dayHeaders">
86
- <small>{{dayHeader}}</small>
87
- </th>
88
- </tr>
89
- </thead>
90
- <tbody>
91
- <tr *ngFor="let row of [0,1,2,3,4,5]">
92
- <td *ngFor="let col of [0,1,2,3,4,5,6]" tappable (click)="select(views[2].dates[row*7+col])"
93
- [ngClass]="getHighlightClass(views[2].dates[row*7+col])">
94
- <ng-template [ngTemplateOutlet]="monthviewDisplayEventTemplate"
95
- [ngTemplateOutletContext]="{view: views[2], row: row, col: col}">
96
- </ng-template>
97
- </td>
98
- </tr>
99
- </tbody>
100
- </table>
101
- <table *ngIf="2!==currentViewIndex" class="table table-bordered table-fixed monthview-datetable">
102
- <thead>
103
- <tr class="text-center">
104
- <th *ngFor="let dayHeader of views[2].dayHeaders">
105
- <small>{{dayHeader}}</small>
106
- </th>
107
- </tr>
108
- </thead>
109
- <tbody>
110
- <tr *ngFor="let row of [0,1,2,3,4,5]">
111
- <td *ngFor="let col of [0,1,2,3,4,5,6]">
112
- <ng-template [ngTemplateOutlet]="monthviewInactiveDisplayEventTemplate"
113
- [ngTemplateOutletContext]="{view: views[2], row: row, col: col}">
114
- </ng-template>
115
- </td>
116
- <tr>
117
- </tbody>
118
- </table>
119
- </div>
120
- </div>
121
- <ng-template [ngTemplateOutlet]="monthviewEventDetailTemplate"
122
- [ngTemplateOutletContext]="{showEventDetail:showEventDetail, selectedDate: selectedDate, noEventsLabel: noEventsLabel}">
123
- </ng-template>
124
- </div>
package/src/weekview.css DELETED
@@ -1,200 +0,0 @@
1
- .weekview-slide-container .table-fixed {
2
- table-layout: fixed;
3
- }
4
-
5
- .weekview-slide-container .table {
6
- width: 100%;
7
- max-width: 100%;
8
- background-color: transparent;
9
- }
10
-
11
- .weekview-slide-container .table > thead > tr > th,
12
- .weekview-slide-container .table > tbody > tr > th,
13
- .weekview-slide-container .table > tfoot > tr > th,
14
- .weekview-slide-container .table > thead > tr > td,
15
- .weekview-slide-container .table > tbody > tr > td,
16
- .weekview-slide-container .table > tfoot > tr > td {
17
- padding: 8px;
18
- line-height: 20px;
19
- vertical-align: top;
20
- }
21
-
22
- .weekview-slide-container .table > thead > tr > th {
23
- vertical-align: bottom;
24
- border-bottom: 2px solid #ddd;
25
- }
26
-
27
- .weekview-slide-container .table > thead:first-child > tr:first-child > th,
28
- .weekview-slide-container .table > thead:first-child > tr:first-child > td {
29
- border-top: 0;
30
- }
31
-
32
- .weekview-slide-container .table > tbody + tbody {
33
- border-top: 2px solid #ddd;
34
- }
35
-
36
- .weekview-slide-container .table-bordered {
37
- border: 1px solid #ddd;
38
- }
39
-
40
- .weekview-slide-container .table-bordered > thead > tr > th,
41
- .weekview-slide-container .table-bordered > tbody > tr > th,
42
- .weekview-slide-container .table-bordered > tfoot > tr > th,
43
- .weekview-slide-container .table-bordered > thead > tr > td,
44
- .weekview-slide-container .table-bordered > tbody > tr > td,
45
- .weekview-slide-container .table-bordered > tfoot > tr > td {
46
- border: 1px solid #ddd;
47
- }
48
-
49
- .weekview-slide-container .table-bordered > thead > tr > th,
50
- .weekview-slide-container .table-bordered > thead > tr > td {
51
- border-bottom-width: 2px;
52
- }
53
-
54
- .weekview-slide-container .table-striped > tbody > tr:nth-child(odd) > td,
55
- .weekview-slide-container .table-striped > tbody > tr:nth-child(odd) > th {
56
- background-color: #f9f9f9;
57
- }
58
-
59
- .calendar-hour-column {
60
- width: 50px;
61
- white-space: nowrap;
62
- }
63
-
64
- .calendar-event-wrap {
65
- position: relative;
66
- width: 100%;
67
- height: 100%;
68
- }
69
-
70
- .calendar-event {
71
- position: absolute;
72
- padding: 2px;
73
- cursor: pointer;
74
- z-index: 10000;
75
- }
76
-
77
- .calendar-cell {
78
- padding: 0 !important;
79
- height: 37px;
80
- }
81
-
82
- .weekview-swiper {
83
- height: 100%;
84
- }
85
-
86
- .weekview-slide-container {
87
- display: block !important;
88
- }
89
-
90
- .weekview-allday-label {
91
- float: left;
92
- height: 100%;
93
- line-height: 50px;
94
- text-align: center;
95
- width: 50px;
96
- border-left: 1px solid #ddd;
97
- }
98
-
99
- [dir="rtl"] .weekview-allday-label {
100
- float: right;
101
- border-right: 1px solid #ddd;
102
- }
103
-
104
- .weekview-allday-content-wrapper {
105
- margin-left: 50px;
106
- overflow: hidden;
107
- height: 51px;
108
- }
109
-
110
- [dir="rtl"] .weekview-allday-content-wrapper {
111
- margin-left: 0;
112
- margin-right: 50px;
113
- }
114
-
115
- .weekview-allday-content-table {
116
- min-height: 50px;
117
- }
118
-
119
- .weekview-allday-content-table td {
120
- border-left: 1px solid #ddd;
121
- border-right: 1px solid #ddd;
122
- }
123
-
124
- .weekview-header th {
125
- overflow: hidden;
126
- white-space: nowrap;
127
- font-size: 14px;
128
- }
129
-
130
- .weekview-allday-table {
131
- height: 50px;
132
- position: relative;
133
- border-bottom: 1px solid #ddd;
134
- font-size: 14px;
135
- }
136
-
137
- .weekview-normal-event-container {
138
- margin-top: 87px;
139
- overflow: hidden;
140
- left: 0;
141
- right: 0;
142
- top: 0;
143
- bottom: 0;
144
- position: absolute;
145
- font-size: 14px;
146
- }
147
-
148
- .scroll-content {
149
- overflow-y: auto;
150
- overflow-x: hidden;
151
- }
152
-
153
- ::-webkit-scrollbar,
154
- *::-webkit-scrollbar {
155
- display: none;
156
- }
157
-
158
- .weekview-slide-container .table > tbody > tr > td.calendar-hour-column {
159
- padding-left: 0;
160
- padding-right: 0;
161
- vertical-align: middle;
162
- }
163
-
164
- @media (max-width: 750px) {
165
- .weekview-allday-label,
166
- .calendar-hour-column {
167
- width: 31px;
168
- font-size: 12px;
169
- }
170
-
171
- .weekview-allday-label {
172
- padding-top: 4px;
173
- }
174
-
175
- .weekview-slide-container .table > tbody > tr > td.calendar-hour-column {
176
- padding-left: 0;
177
- padding-right: 0;
178
- vertical-align: middle;
179
- line-height: 12px;
180
- }
181
-
182
- .weekview-slide-container .table > thead > tr > th.weekview-header {
183
- padding-left: 0;
184
- padding-right: 0;
185
- font-size: 12px;
186
- }
187
-
188
- .weekview-allday-label {
189
- line-height: 20px;
190
- }
191
-
192
- .weekview-allday-content-wrapper {
193
- margin-left: 31px;
194
- }
195
-
196
- [dir="rtl"] .weekview-allday-content-wrapper {
197
- margin-left: 0;
198
- margin-right: 31px;
199
- }
200
- }
package/src/weekview.html DELETED
@@ -1,93 +0,0 @@
1
- <div class="swiper weekview-swiper" #weekViewSwiper>
2
- <div class="swiper-wrapper slides-container" [dir]="dir">
3
- <div *ngFor="let sliderIndex of sliderIndexList" class="swiper-slide slide-container weekview-slide-container">
4
- <table class="table table-bordered table-fixed weekview-header">
5
- <thead>
6
- <tr>
7
- <th class="calendar-hour-column"></th>
8
- <th class="weekview-header text-center" *ngFor="let date of views[sliderIndex].dates"
9
- [ngClass]="getHighlightClass(date)" (click)="daySelected(date)">
10
- <ng-template [ngTemplateOutlet]="weekviewHeaderTemplate"
11
- [ngTemplateOutletContext]="{viewDate:date}">
12
- </ng-template>
13
- </th>
14
- </tr>
15
- </thead>
16
- </table>
17
- <div *ngIf="sliderIndex===currentViewIndex">
18
- <div class="weekview-allday-table">
19
- <div class="weekview-allday-label">{{allDayLabel}}</div>
20
- <div class="weekview-allday-content-wrapper scroll-content">
21
- <table class="table table-fixed weekview-allday-content-table">
22
- <tbody>
23
- <tr>
24
- <td *ngFor="let day of views[sliderIndex].dates" class="calendar-cell">
25
- <ng-template [ngTemplateOutlet]="weekviewAllDayEventSectionTemplate"
26
- [ngTemplateOutletContext]="{day:day, eventTemplate:weekviewAllDayEventTemplate}">
27
- </ng-template>
28
- </td>
29
- </tr>
30
- </tbody>
31
- </table>
32
- </div>
33
- </div>
34
- <init-position-scroll class="weekview-normal-event-container" [initPosition]="initScrollPosition"
35
- [emitEvent]="preserveScrollPosition" (onScroll)="setScrollPosition($event)">
36
- <table class="table table-bordered table-fixed weekview-normal-event-table">
37
- <tbody>
38
- <tr *ngFor="let row of views[sliderIndex].rows; let i = index">
39
- <td class="calendar-hour-column text-center">
40
- {{hourColumnLabels[i]}}
41
- </td>
42
- <td *ngFor="let tm of row" class="calendar-cell" tappable
43
- (click)="select(tm.time, tm.events)">
44
- <div [ngClass]="{'calendar-event-wrap': tm.events}" *ngIf="tm.events">
45
- <ng-template [ngTemplateOutlet]="weekviewNormalEventSectionTemplate"
46
- [ngTemplateOutletContext]="{tm:tm, hourParts: hourParts, eventTemplate:weekviewNormalEventTemplate}">
47
- </ng-template>
48
- </div>
49
- </td>
50
- </tr>
51
- </tbody>
52
- </table>
53
- </init-position-scroll>
54
- </div>
55
- <div *ngIf="sliderIndex!==currentViewIndex">
56
- <div class="weekview-allday-table">
57
- <div class="weekview-allday-label">{{allDayLabel}}</div>
58
- <div class="weekview-allday-content-wrapper scroll-content">
59
- <table class="table table-fixed weekview-allday-content-table">
60
- <tbody>
61
- <tr>
62
- <td *ngFor="let day of views[sliderIndex].dates" class="calendar-cell">
63
- <ng-template [ngTemplateOutlet]="weekviewInactiveAllDayEventSectionTemplate"
64
- [ngTemplateOutletContext]="{day:day}">
65
- </ng-template>
66
- </td>
67
- </tr>
68
- </tbody>
69
- </table>
70
- </div>
71
- </div>
72
- <init-position-scroll class="weekview-normal-event-container" [initPosition]="initScrollPosition">
73
- <table class="table table-bordered table-fixed weekview-normal-event-table">
74
- <tbody>
75
- <tr *ngFor="let row of views[sliderIndex].rows; let i = index">
76
- <td class="calendar-hour-column text-center">
77
- {{hourColumnLabels[i]}}
78
- </td>
79
- <td *ngFor="let tm of row" class="calendar-cell">
80
- <div [ngClass]="{'calendar-event-wrap': tm.events}" *ngIf="tm.events">
81
- <ng-template [ngTemplateOutlet]="weekviewInactiveNormalEventSectionTemplate"
82
- [ngTemplateOutletContext]="{tm:tm, hourParts: hourParts}">
83
- </ng-template>
84
- </div>
85
- </td>
86
- </tr>
87
- </tbody>
88
- </table>
89
- </init-position-scroll>
90
- </div>
91
- </div>
92
- </div>
93
- </div>
package/tsconfig.json DELETED
@@ -1,40 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "paths": {
4
- "Ionic2-Calendar": [
5
- "dist"
6
- ]
7
- },
8
- "baseUrl": "./",
9
- "declarationMap": false,
10
- "declaration": true,
11
- "inlineSources": true,
12
- "types": [],
13
- "outDir": "dist",
14
- "forceConsistentCasingInFileNames": true,
15
- "strict": true,
16
- "noImplicitOverride": true,
17
- "noPropertyAccessFromIndexSignature": true,
18
- "noImplicitReturns": true,
19
- "noFallthroughCasesInSwitch": true,
20
- "sourceMap": true,
21
- "downlevelIteration": true,
22
- "experimentalDecorators": true,
23
- "moduleResolution": "node",
24
- "importHelpers": true,
25
- "target": "ES2022",
26
- "module": "ES2022",
27
- "useDefineForClassFields": false,
28
- "lib": [
29
- "ES2022",
30
- "dom"
31
- ]
32
- },
33
- "angularCompilerOptions": {
34
- "compilationMode": "partial",
35
- "enableI18nLegacyMessageIdFormat": false,
36
- "strictInjectionParameters": true,
37
- "strictInputAccessModifiers": true,
38
- "strictTemplates": true
39
- }
40
- }
package/tslint.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "extends": "tslint-ionic-rules"
3
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes