@zeedhi/zd-calendar-common 1.7.1 → 1.7.2
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.
|
@@ -8,6 +8,7 @@ class Calendar extends ComponentRender {
|
|
|
8
8
|
this.categoryDays = 1;
|
|
9
9
|
this.categoryHideDynamic = false;
|
|
10
10
|
this.categoryShowAll = false;
|
|
11
|
+
this.contentHeight = 600;
|
|
11
12
|
this.color = 'primary';
|
|
12
13
|
this.dayFormat = null;
|
|
13
14
|
this.eventCategory = 'category';
|
|
@@ -61,6 +62,7 @@ class Calendar extends ComponentRender {
|
|
|
61
62
|
this.categoryHideDynamic = this.getInitValue('categoryHideDynamic', props.categoryHideDynamic, this.categoryHideDynamic);
|
|
62
63
|
this.categoryShowAll = this.getInitValue('categoryShowAll', props.categoryShowAll, this.categoryShowAll);
|
|
63
64
|
this.categoryText = this.getInitValue('categoryText', props.categoryText, this.categoryText);
|
|
65
|
+
this.contentHeight = this.getInitValue('contentHeight', props.contentHeight, this.contentHeight);
|
|
64
66
|
this.color = this.getInitValue('color', props.color, this.color);
|
|
65
67
|
this.dayFormat = this.getInitValue('dayFormat', props.dayFormat, this.dayFormat);
|
|
66
68
|
this.end = this.getInitValue('end', props.end, this.end);
|
|
@@ -245,7 +247,7 @@ Messages.add({
|
|
|
245
247
|
CALENDAR_CLOSE: 'Close',
|
|
246
248
|
},
|
|
247
249
|
},
|
|
248
|
-
'es-
|
|
250
|
+
'es-CL': {
|
|
249
251
|
translation: {
|
|
250
252
|
CALENDAR_MONTH: 'Mes',
|
|
251
253
|
CALENDAR_DAY: 'Día',
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
this.categoryDays = 1;
|
|
12
12
|
this.categoryHideDynamic = false;
|
|
13
13
|
this.categoryShowAll = false;
|
|
14
|
+
this.contentHeight = 600;
|
|
14
15
|
this.color = 'primary';
|
|
15
16
|
this.dayFormat = null;
|
|
16
17
|
this.eventCategory = 'category';
|
|
@@ -64,6 +65,7 @@
|
|
|
64
65
|
this.categoryHideDynamic = this.getInitValue('categoryHideDynamic', props.categoryHideDynamic, this.categoryHideDynamic);
|
|
65
66
|
this.categoryShowAll = this.getInitValue('categoryShowAll', props.categoryShowAll, this.categoryShowAll);
|
|
66
67
|
this.categoryText = this.getInitValue('categoryText', props.categoryText, this.categoryText);
|
|
68
|
+
this.contentHeight = this.getInitValue('contentHeight', props.contentHeight, this.contentHeight);
|
|
67
69
|
this.color = this.getInitValue('color', props.color, this.color);
|
|
68
70
|
this.dayFormat = this.getInitValue('dayFormat', props.dayFormat, this.dayFormat);
|
|
69
71
|
this.end = this.getInitValue('end', props.end, this.end);
|
|
@@ -248,7 +250,7 @@
|
|
|
248
250
|
CALENDAR_CLOSE: 'Close',
|
|
249
251
|
},
|
|
250
252
|
},
|
|
251
|
-
'es-
|
|
253
|
+
'es-CL': {
|
|
252
254
|
translation: {
|
|
253
255
|
CALENDAR_MONTH: 'Mes',
|
|
254
256
|
CALENDAR_DAY: 'Día',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/zd-calendar-common",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
4
4
|
"description": "Powered by Zeedhi",
|
|
5
5
|
"main": "dist/calendar-common.umd.js",
|
|
6
6
|
"module": "dist/calendar-common.esm.js",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"@zeedhi/common": "^1.57.0",
|
|
24
24
|
"@zeedhi/core": "^1.57.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "d637ed14bed381857cfad6fec496e0e7819bda0b"
|
|
27
27
|
}
|
package/types/calendar.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare class Calendar extends ComponentRender implements ICalendar {
|
|
|
9
9
|
categoryHideDynamic?: boolean | string;
|
|
10
10
|
categoryShowAll?: boolean | string;
|
|
11
11
|
categoryText?: string | Function;
|
|
12
|
+
contentHeight?: number | string;
|
|
12
13
|
color?: string;
|
|
13
14
|
dayFormat?: Function | null;
|
|
14
15
|
end?: string | number | Date;
|
package/types/interfaces.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export interface ICalendar extends IComponentRender {
|
|
|
57
57
|
categoryText?: string | Function;
|
|
58
58
|
canEditEvent?: ((event: CalendarEvents) => boolean) | boolean;
|
|
59
59
|
canDeleteEvent?: ((event: CalendarEvents) => boolean) | boolean;
|
|
60
|
+
contentHeight?: number | string;
|
|
60
61
|
color?: string;
|
|
61
62
|
dayFormat?: Function | null;
|
|
62
63
|
end?: string | number | Date;
|