@zeedhi/zd-calendar-vue 1.0.0
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/dist/calendar-vue.esm.js +814 -0
- package/dist/calendar-vue.umd.js +820 -0
- package/package.json +24 -0
- package/tsconfig.eslint.json +10 -0
- package/types/Calendar.d.ts +69 -0
- package/types/index.d.ts +2 -0
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zeedhi/zd-calendar-vue",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Powered by Zeedhi",
|
|
5
|
+
"main": "dist/calendar-vue.umd.js",
|
|
6
|
+
"module": "dist/calendar-vue.esm.js",
|
|
7
|
+
"typings": "types/index.d.ts",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "rollup -c",
|
|
13
|
+
"lint": "eslint . --ext .ts --fix",
|
|
14
|
+
"watch": "rollup -cw"
|
|
15
|
+
},
|
|
16
|
+
"peerDependencies": {
|
|
17
|
+
"@zeedhi/vuetify": "*",
|
|
18
|
+
"@zeedhi/zd-calendar-common": "*",
|
|
19
|
+
"vue": "^2.6.12",
|
|
20
|
+
"vue-class-component": "^7.2.6",
|
|
21
|
+
"vue-property-decorator": "^9.1.2"
|
|
22
|
+
},
|
|
23
|
+
"gitHead": "052812e98c51855a1da2b71e3ec4e79cee527d54"
|
|
24
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { ZdComponentRender } from '@zeedhi/vuetify';
|
|
2
|
+
import { Calendar } from '@zeedhi/zd-calendar-common';
|
|
3
|
+
export default class ZdCalendar extends ZdComponentRender {
|
|
4
|
+
categories: string | [];
|
|
5
|
+
categoryDays: number | string;
|
|
6
|
+
title: string;
|
|
7
|
+
showHeader: string | boolean;
|
|
8
|
+
categoryForInvalid: string;
|
|
9
|
+
categoryHideDynamic: boolean | string;
|
|
10
|
+
categoryShowAll: boolean | string;
|
|
11
|
+
categoryText: string | Function;
|
|
12
|
+
color: string;
|
|
13
|
+
dayFormat: Function | null;
|
|
14
|
+
end: string | number | Date;
|
|
15
|
+
eventCategory: string | Function;
|
|
16
|
+
eventColor: string | Function;
|
|
17
|
+
eventEnd: string;
|
|
18
|
+
eventHeight: number;
|
|
19
|
+
eventMarginBottom: number;
|
|
20
|
+
eventMore: boolean;
|
|
21
|
+
eventMoreText: string;
|
|
22
|
+
eventName: string | Function;
|
|
23
|
+
eventOverlapMode: string | Function;
|
|
24
|
+
eventOverlapThreshold: string | number;
|
|
25
|
+
eventRipple: boolean | Object;
|
|
26
|
+
eventStart: string;
|
|
27
|
+
eventTextColor: string | Function;
|
|
28
|
+
eventTimed: string | Function;
|
|
29
|
+
calendarEvents: [];
|
|
30
|
+
firstInterval: number | string;
|
|
31
|
+
firstTime: number | string | object;
|
|
32
|
+
hideHeader: boolean;
|
|
33
|
+
intervalCount: number | string;
|
|
34
|
+
intervalFormat: Function | null;
|
|
35
|
+
intervalHeight: number | string;
|
|
36
|
+
intervalMinutes: number | string;
|
|
37
|
+
intervalStyle: Function | null;
|
|
38
|
+
intervalWidth: number | string;
|
|
39
|
+
locale: string;
|
|
40
|
+
localeFirstDayOfYear: number | string;
|
|
41
|
+
maxDays: number;
|
|
42
|
+
minWeeks: any;
|
|
43
|
+
monthFormat: Function | null;
|
|
44
|
+
now: string;
|
|
45
|
+
shortIntervals: boolean;
|
|
46
|
+
shortMonths: boolean;
|
|
47
|
+
shortWeekDays: boolean;
|
|
48
|
+
showIntervalLabel: Function | null;
|
|
49
|
+
showMonthOnFirst: boolean;
|
|
50
|
+
showWeek: boolean;
|
|
51
|
+
start: string | number | Date;
|
|
52
|
+
type: string;
|
|
53
|
+
value: string | number | Date;
|
|
54
|
+
weekdayFormat: Function | null;
|
|
55
|
+
weekDay: string | string[] | number[];
|
|
56
|
+
selectTypeData: {};
|
|
57
|
+
instance: Calendar;
|
|
58
|
+
instanceType: typeof Calendar;
|
|
59
|
+
selectedOpen: boolean;
|
|
60
|
+
selectedElement: null;
|
|
61
|
+
selectedEvent: Function | {} | [];
|
|
62
|
+
mounted(): void;
|
|
63
|
+
prev(): void;
|
|
64
|
+
next(): void;
|
|
65
|
+
setToday(): void;
|
|
66
|
+
setType(select: any): void;
|
|
67
|
+
viewDay({ date }: any): void;
|
|
68
|
+
showEvent({ nativeEvent, event }: any): void;
|
|
69
|
+
}
|
package/types/index.d.ts
ADDED