@bagelink/vue 0.0.1218 → 0.0.1224
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/components/Calendar/Index.vue.d.ts +514 -0
- package/dist/components/Calendar/Index.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/header/Header.vue.d.ts +119 -0
- package/dist/components/Calendar/components/header/Header.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/month/AgendaEventTile.vue.d.ts +37 -0
- package/dist/components/Calendar/components/month/AgendaEventTile.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/month/AgendaEvents.vue.d.ts +37 -0
- package/dist/components/Calendar/components/month/AgendaEvents.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/month/Day.vue.d.ts +84 -0
- package/dist/components/Calendar/components/month/Day.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/month/Event.vue.d.ts +69 -0
- package/dist/components/Calendar/components/month/Event.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/month/Month.vue.d.ts +134 -0
- package/dist/components/Calendar/components/month/Month.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/month/WeekDay.vue.d.ts +7 -0
- package/dist/components/Calendar/components/month/WeekDay.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/partials/EventFlyout.vue.d.ts +122 -0
- package/dist/components/Calendar/components/partials/EventFlyout.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/week/Day.vue.d.ts +152 -0
- package/dist/components/Calendar/components/week/Day.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/week/DayEvent.vue.d.ts +136 -0
- package/dist/components/Calendar/components/week/DayEvent.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/week/DayTimeline.vue.d.ts +23 -0
- package/dist/components/Calendar/components/week/DayTimeline.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/week/FullDayEvent.vue.d.ts +42 -0
- package/dist/components/Calendar/components/week/FullDayEvent.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/week/Week.vue.d.ts +196 -0
- package/dist/components/Calendar/components/week/Week.vue.d.ts.map +1 -0
- package/dist/components/Calendar/components/week/WeekTimeline.vue.d.ts +21 -0
- package/dist/components/Calendar/components/week/WeekTimeline.vue.d.ts.map +1 -0
- package/dist/components/Calendar/constants.d.ts +13 -0
- package/dist/components/Calendar/constants.d.ts.map +1 -0
- package/dist/components/Calendar/helpers/DayIntervals.d.ts +17 -0
- package/dist/components/Calendar/helpers/DayIntervals.d.ts.map +1 -0
- package/dist/components/Calendar/helpers/EDate.d.ts +10 -0
- package/dist/components/Calendar/helpers/EDate.d.ts.map +1 -0
- package/dist/components/Calendar/helpers/Errors.d.ts +18 -0
- package/dist/components/Calendar/helpers/Errors.d.ts.map +1 -0
- package/dist/components/Calendar/helpers/EventChange.d.ts +19 -0
- package/dist/components/Calendar/helpers/EventChange.d.ts.map +1 -0
- package/dist/components/Calendar/helpers/EventConcurrency.d.ts +12 -0
- package/dist/components/Calendar/helpers/EventConcurrency.d.ts.map +1 -0
- package/dist/components/Calendar/helpers/EventFlyoutPosition.d.ts +14 -0
- package/dist/components/Calendar/helpers/EventFlyoutPosition.d.ts.map +1 -0
- package/dist/components/Calendar/helpers/EventPosition.d.ts +11 -0
- package/dist/components/Calendar/helpers/EventPosition.d.ts.map +1 -0
- package/dist/components/Calendar/helpers/EventsFilter.d.ts +11 -0
- package/dist/components/Calendar/helpers/EventsFilter.d.ts.map +1 -0
- package/dist/components/Calendar/helpers/Helpers.d.ts +19 -0
- package/dist/components/Calendar/helpers/Helpers.d.ts.map +1 -0
- package/dist/components/Calendar/helpers/Time.d.ts +118 -0
- package/dist/components/Calendar/helpers/Time.d.ts.map +1 -0
- package/dist/components/Calendar/helpers/Week.d.ts +10 -0
- package/dist/components/Calendar/helpers/Week.d.ts.map +1 -0
- package/dist/components/Calendar/index.d.ts +4 -0
- package/dist/components/Calendar/index.d.ts.map +1 -0
- package/dist/components/Calendar/language/index.d.ts +7 -0
- package/dist/components/Calendar/language/index.d.ts.map +1 -0
- package/dist/components/Calendar/language/keys.d.ts +93 -0
- package/dist/components/Calendar/language/keys.d.ts.map +1 -0
- package/dist/components/Calendar/models/Event.d.ts +50 -0
- package/dist/components/Calendar/models/Event.d.ts.map +1 -0
- package/dist/components/Calendar/typings/config.interface.d.ts +77 -0
- package/dist/components/Calendar/typings/config.interface.d.ts.map +1 -0
- package/dist/components/Calendar/typings/interfaces/day.interface.d.ts +10 -0
- package/dist/components/Calendar/typings/interfaces/day.interface.d.ts.map +1 -0
- package/dist/components/Calendar/typings/interfaces/event.interface.d.ts +32 -0
- package/dist/components/Calendar/typings/interfaces/event.interface.d.ts.map +1 -0
- package/dist/components/Calendar/typings/interfaces/full-day-events-week.type.d.ts +7 -0
- package/dist/components/Calendar/typings/interfaces/full-day-events-week.type.d.ts.map +1 -0
- package/dist/components/Calendar/typings/interfaces/period.interface.d.ts +6 -0
- package/dist/components/Calendar/typings/interfaces/period.interface.d.ts.map +1 -0
- package/dist/components/Calendar/typings/interfaces/time-modes.d.ts +6 -0
- package/dist/components/Calendar/typings/interfaces/time-modes.d.ts.map +1 -0
- package/dist/components/Calendar/typings/types.d.ts +21 -0
- package/dist/components/Calendar/typings/types.d.ts.map +1 -0
- package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/Spreadsheet/Index.vue.d.ts +24 -0
- package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -0
- package/dist/components/form/BagelForm.vue.d.ts +1 -1
- package/dist/components/form/BagelForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DatePick.vue.d.ts +9 -0
- package/dist/components/form/inputs/DatePick.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/directives/index.d.ts +2 -0
- package/dist/directives/index.d.ts.map +1 -1
- package/dist/directives/vResize.d.ts +18 -0
- package/dist/directives/vResize.d.ts.map +1 -0
- package/dist/index.cjs +5081 -925
- package/dist/index.mjs +5082 -926
- package/dist/style.css +1134 -401
- package/package.json +2 -1
- package/src/components/Calendar/Index.vue +417 -0
- package/src/components/Calendar/assets/base.css +60 -0
- package/src/components/Calendar/components/header/Header.vue +152 -0
- package/src/components/Calendar/components/month/AgendaEventTile.vue +128 -0
- package/src/components/Calendar/components/month/AgendaEvents.vue +61 -0
- package/src/components/Calendar/components/month/Day.vue +253 -0
- package/src/components/Calendar/components/month/Event.vue +164 -0
- package/src/components/Calendar/components/month/Month.vue +232 -0
- package/src/components/Calendar/components/month/WeekDay.vue +15 -0
- package/src/components/Calendar/components/partials/EventFlyout.vue +430 -0
- package/src/components/Calendar/components/week/Day.vue +198 -0
- package/src/components/Calendar/components/week/DayEvent.vue +585 -0
- package/src/components/Calendar/components/week/DayTimeline.vue +86 -0
- package/src/components/Calendar/components/week/FullDayEvent.vue +121 -0
- package/src/components/Calendar/components/week/Week.vue +414 -0
- package/src/components/Calendar/components/week/WeekTimeline.vue +101 -0
- package/src/components/Calendar/constants.ts +13 -0
- package/src/components/Calendar/env.d.ts +8 -0
- package/src/components/Calendar/helpers/DayIntervals.ts +48 -0
- package/src/components/Calendar/helpers/EDate.ts +18 -0
- package/src/components/Calendar/helpers/Errors.ts +69 -0
- package/src/components/Calendar/helpers/EventChange.ts +88 -0
- package/src/components/Calendar/helpers/EventConcurrency.ts +69 -0
- package/src/components/Calendar/helpers/EventFlyoutPosition.ts +96 -0
- package/src/components/Calendar/helpers/EventPosition.ts +154 -0
- package/src/components/Calendar/helpers/EventsFilter.ts +50 -0
- package/src/components/Calendar/helpers/Helpers.ts +86 -0
- package/src/components/Calendar/helpers/Time.ts +588 -0
- package/src/components/Calendar/helpers/Week.ts +37 -0
- package/src/components/Calendar/language/index.ts +40 -0
- package/src/components/Calendar/language/keys.ts +93 -0
- package/src/components/Calendar/models/Event.ts +112 -0
- package/src/components/Calendar/styles/_mixins.css +21 -0
- package/src/components/Calendar/styles/_variables.css +47 -0
- package/src/components/Calendar/typings/config.interface.ts +87 -0
- package/src/components/Calendar/typings/interfaces/day.interface.ts +10 -0
- package/src/components/Calendar/typings/interfaces/event.interface.ts +32 -0
- package/src/components/Calendar/typings/interfaces/full-day-events-week.type.ts +8 -0
- package/src/components/Calendar/typings/interfaces/period.interface.ts +5 -0
- package/src/components/Calendar/typings/interfaces/time-modes.ts +9 -0
- package/src/components/Calendar/typings/types.ts +23 -0
- package/src/components/DataTable/DataTable.vue +4 -0
- package/src/components/Spreadsheet/Index.vue +843 -0
- package/src/components/form/BagelForm.vue +1 -1
- package/src/components/form/inputs/DatePick.vue +193 -152
- package/src/components/form/inputs/DatePicker.vue +2 -2
- package/src/components/form/inputs/NumberInput.vue +3 -5
- package/src/components/index.ts +4 -6
- package/src/directives/index.ts +2 -0
- package/src/directives/vResize.ts +205 -0
- package/src/styles/buttons.css +81 -73
- package/src/styles/layout.css +25 -0
- package/src/styles/mobilLayout.css +25 -0
- package/src/styles/text.css +82 -1
- package/src/styles/theme.css +269 -258
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { default as Time } from '../../helpers/Time';
|
|
3
|
+
import { ConfigInterface } from '../../typings/config.interface';
|
|
4
|
+
import { EventInterface } from '../../typings/interfaces/event.interface';
|
|
5
|
+
import { DayInfo, modeType } from '../../typings/types';
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
weekDayEvent?(_: {
|
|
10
|
+
eventData: {
|
|
11
|
+
id: import('../../typings/interfaces/event.interface').EventID;
|
|
12
|
+
title?: string | undefined;
|
|
13
|
+
time: {
|
|
14
|
+
start: string;
|
|
15
|
+
end: string;
|
|
16
|
+
};
|
|
17
|
+
description?: string | undefined;
|
|
18
|
+
topic?: string | undefined;
|
|
19
|
+
location?: string | undefined;
|
|
20
|
+
with?: string | undefined;
|
|
21
|
+
colorScheme?: string | undefined;
|
|
22
|
+
color?: import('../../typings/interfaces/event.interface').EventColor | undefined;
|
|
23
|
+
isEditable?: boolean | undefined;
|
|
24
|
+
disableDnD?: modeType[] | undefined;
|
|
25
|
+
disableResize?: modeType[] | undefined;
|
|
26
|
+
isCustom?: boolean | modeType[] | undefined;
|
|
27
|
+
zIndex?: number | undefined;
|
|
28
|
+
nOfPreviousConcurrentEvents?: number | undefined;
|
|
29
|
+
totalConcurrentEvents?: number | undefined;
|
|
30
|
+
timeJS?: {
|
|
31
|
+
start: Date;
|
|
32
|
+
end: Date;
|
|
33
|
+
} | undefined;
|
|
34
|
+
originalEvent?: {
|
|
35
|
+
with?: string | undefined;
|
|
36
|
+
time: {
|
|
37
|
+
start: string;
|
|
38
|
+
end: string;
|
|
39
|
+
};
|
|
40
|
+
title?: string | undefined;
|
|
41
|
+
id: import('../../typings/interfaces/event.interface').EventID;
|
|
42
|
+
color?: import('../../typings/interfaces/event.interface').EventColor | undefined;
|
|
43
|
+
description?: string | undefined;
|
|
44
|
+
topic?: string | undefined;
|
|
45
|
+
location?: string | undefined;
|
|
46
|
+
colorScheme?: string | undefined;
|
|
47
|
+
isEditable?: boolean | undefined;
|
|
48
|
+
disableDnD?: modeType[] | undefined;
|
|
49
|
+
disableResize?: modeType[] | undefined;
|
|
50
|
+
isCustom?: boolean | modeType[] | undefined;
|
|
51
|
+
zIndex?: number | undefined;
|
|
52
|
+
nOfPreviousConcurrentEvents?: number | undefined;
|
|
53
|
+
totalConcurrentEvents?: number | undefined;
|
|
54
|
+
timeJS?: {
|
|
55
|
+
start: Date;
|
|
56
|
+
end: Date;
|
|
57
|
+
} | undefined;
|
|
58
|
+
eventType?: import('../../typings/interfaces/event.interface').EVENT_TYPE | undefined;
|
|
59
|
+
} | undefined;
|
|
60
|
+
eventType?: import('../../typings/interfaces/event.interface').EVENT_TYPE | undefined;
|
|
61
|
+
};
|
|
62
|
+
}): any;
|
|
63
|
+
};
|
|
64
|
+
refs: {};
|
|
65
|
+
rootEl: HTMLDivElement;
|
|
66
|
+
};
|
|
67
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
68
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
69
|
+
eventProp: {
|
|
70
|
+
type: PropType<EventInterface>;
|
|
71
|
+
required: true;
|
|
72
|
+
};
|
|
73
|
+
time: {
|
|
74
|
+
type: PropType<Time>;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
config: {
|
|
78
|
+
type: PropType<ConfigInterface>;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
dayInfo: {
|
|
82
|
+
type: PropType<DayInfo>;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
mode: {
|
|
86
|
+
type: PropType<modeType>;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
90
|
+
eventWasClicked: (data: {
|
|
91
|
+
clickedEvent: EventInterface;
|
|
92
|
+
eventElement: HTMLElement;
|
|
93
|
+
}) => any;
|
|
94
|
+
eventWasDragged: (event: EventInterface) => any;
|
|
95
|
+
eventWasResized: (event: EventInterface) => any;
|
|
96
|
+
dragStart: () => any;
|
|
97
|
+
dragEnd: () => any;
|
|
98
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
99
|
+
eventProp: {
|
|
100
|
+
type: PropType<EventInterface>;
|
|
101
|
+
required: true;
|
|
102
|
+
};
|
|
103
|
+
time: {
|
|
104
|
+
type: PropType<Time>;
|
|
105
|
+
required: true;
|
|
106
|
+
};
|
|
107
|
+
config: {
|
|
108
|
+
type: PropType<ConfigInterface>;
|
|
109
|
+
required: true;
|
|
110
|
+
};
|
|
111
|
+
dayInfo: {
|
|
112
|
+
type: PropType<DayInfo>;
|
|
113
|
+
required: true;
|
|
114
|
+
};
|
|
115
|
+
mode: {
|
|
116
|
+
type: PropType<modeType>;
|
|
117
|
+
required: true;
|
|
118
|
+
};
|
|
119
|
+
}>> & Readonly<{
|
|
120
|
+
onEventWasClicked?: ((data: {
|
|
121
|
+
clickedEvent: EventInterface;
|
|
122
|
+
eventElement: HTMLElement;
|
|
123
|
+
}) => any) | undefined;
|
|
124
|
+
onEventWasDragged?: ((event: EventInterface) => any) | undefined;
|
|
125
|
+
onEventWasResized?: ((event: EventInterface) => any) | undefined;
|
|
126
|
+
onDragStart?: (() => any) | undefined;
|
|
127
|
+
onDragEnd?: (() => any) | undefined;
|
|
128
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
129
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
130
|
+
export default _default;
|
|
131
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
132
|
+
new (): {
|
|
133
|
+
$slots: S;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
//# sourceMappingURL=DayEvent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DayEvent.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/components/week/DayEvent.vue"],"names":[],"mappings":"AAAA,OA2kBO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAA;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAA;AAC9E,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AA6Y5D,iBAAS,cAAc;WA+LT,OAAO,IAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAVf,GAAG;;;;EAerC;AAgDD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;cAQH,QAAQ,CAAC,cAAc,CAAC;;;;cAIxB,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,eAAe,CAAC;;;;cAIzB,QAAQ,CAAC,OAAO,CAAC;;;;cAIjB,QAAQ,CAAC,QAAQ,CAAC;;;;;sBAznBU,cAAc;sBAAgB,WAAW;;;;;;;;cAymBrE,QAAQ,CAAC,cAAc,CAAC;;;;cAIxB,QAAQ,CAAC,IAAI,CAAC;;;;cAId,QAAQ,CAAC,eAAe,CAAC;;;;cAIzB,QAAQ,CAAC,OAAO,CAAC;;;;cAIjB,QAAQ,CAAC,QAAQ,CAAC;;;;;sBAznBU,cAAc;sBAAgB,WAAW;;;;;;4FA8nBrF,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { default as Time } from '../../helpers/Time';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
time: {
|
|
5
|
+
type: PropType<Time>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
weekHeight: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
time: {
|
|
14
|
+
type: PropType<Time>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
weekHeight: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
22
|
+
export default _default;
|
|
23
|
+
//# sourceMappingURL=DayTimeline.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DayTimeline.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/components/week/DayTimeline.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAA;;;cAmGxB,QAAQ,CAAC,IAAI,CAAC;;;;;;;;;cAAd,QAAQ,CAAC,IAAI,CAAC;;;;;;;;AAPhC,wBAgBG"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ConfigInterface } from '../../typings/config.interface';
|
|
3
|
+
import { EventInterface } from '../../typings/interfaces/event.interface';
|
|
4
|
+
import { modeType } from '../../typings/types';
|
|
5
|
+
interface extendedEventInterface extends EventInterface {
|
|
6
|
+
nDays: number;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
|
+
scheduleEvent: {
|
|
10
|
+
type: PropType<extendedEventInterface>;
|
|
11
|
+
default: null;
|
|
12
|
+
};
|
|
13
|
+
config: {
|
|
14
|
+
type: PropType<ConfigInterface>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
mode: {
|
|
18
|
+
type: PropType<modeType>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
eventWasClicked: (...args: any[]) => void;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
+
scheduleEvent: {
|
|
25
|
+
type: PropType<extendedEventInterface>;
|
|
26
|
+
default: null;
|
|
27
|
+
};
|
|
28
|
+
config: {
|
|
29
|
+
type: PropType<ConfigInterface>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
mode: {
|
|
33
|
+
type: PropType<modeType>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
}>> & Readonly<{
|
|
37
|
+
onEventWasClicked?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
scheduleEvent: extendedEventInterface;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
export default _default;
|
|
42
|
+
//# sourceMappingURL=FullDayEvent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FullDayEvent.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/components/week/FullDayEvent.vue"],"names":[],"mappings":"AA2HA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAA;AAC9E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAInD,UAAU,sBAAuB,SAAQ,cAAc;IACtD,KAAK,EAAE,MAAM,CAAA;CACb;;;cAsJiB,QAAQ,CAAC,sBAAsB,CAAC;;;;cAIhC,QAAQ,CAAC,eAAe,CAAC;;;;cAIzB,QAAQ,CAAC,QAAQ,CAAC;;;;;;;cARlB,QAAQ,CAAC,sBAAsB,CAAC;;;;cAIhC,QAAQ,CAAC,eAAe,CAAC;;;;cAIzB,QAAQ,CAAC,QAAQ,CAAC;;;;;;;;AAhBpC,wBAoBG"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { default as Time } from '../../helpers/Time';
|
|
3
|
+
import { ConfigInterface } from '../../typings/config.interface';
|
|
4
|
+
import { EventInterface } from '../../typings/interfaces/event.interface';
|
|
5
|
+
import { PeriodInterface } from '../../typings/interfaces/period.interface';
|
|
6
|
+
import { modeType } from '../../typings/types';
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
eventDialog?(_: {
|
|
11
|
+
eventDialogData: {
|
|
12
|
+
id: import('../../typings/interfaces/event.interface').EventID;
|
|
13
|
+
title?: string | undefined;
|
|
14
|
+
time: {
|
|
15
|
+
start: string;
|
|
16
|
+
end: string;
|
|
17
|
+
};
|
|
18
|
+
description?: string | undefined;
|
|
19
|
+
topic?: string | undefined;
|
|
20
|
+
location?: string | undefined;
|
|
21
|
+
with?: string | undefined;
|
|
22
|
+
colorScheme?: string | undefined;
|
|
23
|
+
color?: import('../../typings/interfaces/event.interface').EventColor | undefined;
|
|
24
|
+
isEditable?: boolean | undefined;
|
|
25
|
+
disableDnD?: modeType[] | undefined;
|
|
26
|
+
disableResize?: modeType[] | undefined;
|
|
27
|
+
isCustom?: boolean | modeType[] | undefined;
|
|
28
|
+
zIndex?: number | undefined;
|
|
29
|
+
nOfPreviousConcurrentEvents?: number | undefined;
|
|
30
|
+
totalConcurrentEvents?: number | undefined;
|
|
31
|
+
timeJS?: {
|
|
32
|
+
start: Date;
|
|
33
|
+
end: Date;
|
|
34
|
+
} | undefined;
|
|
35
|
+
originalEvent?: {
|
|
36
|
+
with?: string | undefined;
|
|
37
|
+
time: {
|
|
38
|
+
start: string;
|
|
39
|
+
end: string;
|
|
40
|
+
};
|
|
41
|
+
title?: string | undefined;
|
|
42
|
+
id: import('../../typings/interfaces/event.interface').EventID;
|
|
43
|
+
color?: import('../../typings/interfaces/event.interface').EventColor | undefined;
|
|
44
|
+
description?: string | undefined;
|
|
45
|
+
topic?: string | undefined;
|
|
46
|
+
location?: string | undefined;
|
|
47
|
+
colorScheme?: string | undefined;
|
|
48
|
+
isEditable?: boolean | undefined;
|
|
49
|
+
disableDnD?: modeType[] | undefined;
|
|
50
|
+
disableResize?: modeType[] | undefined;
|
|
51
|
+
isCustom?: boolean | modeType[] | undefined;
|
|
52
|
+
zIndex?: number | undefined;
|
|
53
|
+
nOfPreviousConcurrentEvents?: number | undefined;
|
|
54
|
+
totalConcurrentEvents?: number | undefined;
|
|
55
|
+
timeJS?: {
|
|
56
|
+
start: Date;
|
|
57
|
+
end: Date;
|
|
58
|
+
} | undefined;
|
|
59
|
+
eventType?: import('../../typings/interfaces/event.interface').EVENT_TYPE | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
eventType?: import('../../typings/interfaces/event.interface').EVENT_TYPE | undefined;
|
|
62
|
+
} | null;
|
|
63
|
+
closeEventDialog: () => void;
|
|
64
|
+
}): any;
|
|
65
|
+
customCurrentTime?(_: {}): any;
|
|
66
|
+
weekDayEvent?(_: {
|
|
67
|
+
eventData: {
|
|
68
|
+
id: import('../../typings/interfaces/event.interface').EventID;
|
|
69
|
+
title?: string | undefined;
|
|
70
|
+
time: {
|
|
71
|
+
start: string;
|
|
72
|
+
end: string;
|
|
73
|
+
};
|
|
74
|
+
description?: string | undefined;
|
|
75
|
+
topic?: string | undefined;
|
|
76
|
+
location?: string | undefined;
|
|
77
|
+
with?: string | undefined;
|
|
78
|
+
colorScheme?: string | undefined;
|
|
79
|
+
color?: import('../../typings/interfaces/event.interface').EventColor | undefined;
|
|
80
|
+
isEditable?: boolean | undefined;
|
|
81
|
+
disableDnD?: modeType[] | undefined;
|
|
82
|
+
disableResize?: modeType[] | undefined;
|
|
83
|
+
isCustom?: boolean | modeType[] | undefined;
|
|
84
|
+
zIndex?: number | undefined;
|
|
85
|
+
nOfPreviousConcurrentEvents?: number | undefined;
|
|
86
|
+
totalConcurrentEvents?: number | undefined;
|
|
87
|
+
timeJS?: {
|
|
88
|
+
start: Date;
|
|
89
|
+
end: Date;
|
|
90
|
+
} | undefined;
|
|
91
|
+
originalEvent?: {
|
|
92
|
+
with?: string | undefined;
|
|
93
|
+
time: {
|
|
94
|
+
start: string;
|
|
95
|
+
end: string;
|
|
96
|
+
};
|
|
97
|
+
title?: string | undefined;
|
|
98
|
+
id: import('../../typings/interfaces/event.interface').EventID;
|
|
99
|
+
color?: import('../../typings/interfaces/event.interface').EventColor | undefined;
|
|
100
|
+
description?: string | undefined;
|
|
101
|
+
topic?: string | undefined;
|
|
102
|
+
location?: string | undefined;
|
|
103
|
+
colorScheme?: string | undefined;
|
|
104
|
+
isEditable?: boolean | undefined;
|
|
105
|
+
disableDnD?: modeType[] | undefined;
|
|
106
|
+
disableResize?: modeType[] | undefined;
|
|
107
|
+
isCustom?: boolean | modeType[] | undefined;
|
|
108
|
+
zIndex?: number | undefined;
|
|
109
|
+
nOfPreviousConcurrentEvents?: number | undefined;
|
|
110
|
+
totalConcurrentEvents?: number | undefined;
|
|
111
|
+
timeJS?: {
|
|
112
|
+
start: Date;
|
|
113
|
+
end: Date;
|
|
114
|
+
} | undefined;
|
|
115
|
+
eventType?: import('../../typings/interfaces/event.interface').EVENT_TYPE | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
eventType?: import('../../typings/interfaces/event.interface').EVENT_TYPE | undefined;
|
|
118
|
+
};
|
|
119
|
+
}): any;
|
|
120
|
+
};
|
|
121
|
+
refs: {};
|
|
122
|
+
rootEl: any;
|
|
123
|
+
};
|
|
124
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
125
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
126
|
+
config: {
|
|
127
|
+
type: PropType<ConfigInterface>;
|
|
128
|
+
required: true;
|
|
129
|
+
};
|
|
130
|
+
eventsProp: {
|
|
131
|
+
type: PropType<EventInterface[]>;
|
|
132
|
+
default: () => never[];
|
|
133
|
+
};
|
|
134
|
+
period: {
|
|
135
|
+
type: PropType<PeriodInterface>;
|
|
136
|
+
required: true;
|
|
137
|
+
};
|
|
138
|
+
modeProp: {
|
|
139
|
+
type: PropType<modeType>;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
time: {
|
|
143
|
+
type: PropType<Time | any>;
|
|
144
|
+
required: true;
|
|
145
|
+
};
|
|
146
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
147
|
+
eventWasClicked: (...args: any[]) => void;
|
|
148
|
+
editEvent: (...args: any[]) => void;
|
|
149
|
+
deleteEvent: (...args: any[]) => void;
|
|
150
|
+
eventWasDragged: (...args: any[]) => void;
|
|
151
|
+
eventWasResized: (...args: any[]) => void;
|
|
152
|
+
intervalWasClicked: (...args: any[]) => void;
|
|
153
|
+
dayWasClicked: (...args: any[]) => void;
|
|
154
|
+
datetimeWasClicked: (...args: any[]) => void;
|
|
155
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
156
|
+
config: {
|
|
157
|
+
type: PropType<ConfigInterface>;
|
|
158
|
+
required: true;
|
|
159
|
+
};
|
|
160
|
+
eventsProp: {
|
|
161
|
+
type: PropType<EventInterface[]>;
|
|
162
|
+
default: () => never[];
|
|
163
|
+
};
|
|
164
|
+
period: {
|
|
165
|
+
type: PropType<PeriodInterface>;
|
|
166
|
+
required: true;
|
|
167
|
+
};
|
|
168
|
+
modeProp: {
|
|
169
|
+
type: PropType<modeType>;
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
172
|
+
time: {
|
|
173
|
+
type: PropType<Time | any>;
|
|
174
|
+
required: true;
|
|
175
|
+
};
|
|
176
|
+
}>> & Readonly<{
|
|
177
|
+
onEventWasClicked?: ((...args: any[]) => any) | undefined;
|
|
178
|
+
onEditEvent?: ((...args: any[]) => any) | undefined;
|
|
179
|
+
onDeleteEvent?: ((...args: any[]) => any) | undefined;
|
|
180
|
+
onEventWasDragged?: ((...args: any[]) => any) | undefined;
|
|
181
|
+
onEventWasResized?: ((...args: any[]) => any) | undefined;
|
|
182
|
+
onIntervalWasClicked?: ((...args: any[]) => any) | undefined;
|
|
183
|
+
onDayWasClicked?: ((...args: any[]) => any) | undefined;
|
|
184
|
+
onDatetimeWasClicked?: ((...args: any[]) => any) | undefined;
|
|
185
|
+
}>, {
|
|
186
|
+
eventsProp: EventInterface[];
|
|
187
|
+
modeProp: modeType;
|
|
188
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
189
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
190
|
+
export default _default;
|
|
191
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
192
|
+
new (): {
|
|
193
|
+
$slots: S;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
//# sourceMappingURL=Week.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Week.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/components/week/Week.vue"],"names":[],"mappings":"AAgaA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAA;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAoB,MAAM,gCAAgC,CAAA;AAEvF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAA;AAE9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAA;AAChF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAgRnD,iBAAS,cAAc;WAiOT,OAAO,IAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAZhB,GAAG;mCACG,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YACR,GAAG;;;;EAerC;AA+CD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;cAQH,QAAQ,CAAC,eAAe,CAAC;;;;cAI1B,QAAQ,CAAC,cAAc,EAAE,CAAC;;;;cAIzB,QAAQ,CAAC,eAAe,CAAC;;;;cAIzB,QAAQ,CAAC,QAAQ,CAAC;;;;cAIlB,QAAQ,CAAC,IAAI,GAAG,GAAG,CAAC;;;;;;;;;;;;;;cAhBpB,QAAQ,CAAC,eAAe,CAAC;;;;cAI1B,QAAQ,CAAC,cAAc,EAAE,CAAC;;;;cAIzB,QAAQ,CAAC,eAAe,CAAC;;;;cAIzB,QAAQ,CAAC,QAAQ,CAAC;;;;cAIlB,QAAQ,CAAC,IAAI,GAAG,GAAG,CAAC;;;;;;;;;;;;;;;4EAIpC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as Time } from '../../helpers/Time';
|
|
2
|
+
import { ConfigInterface } from '../../typings/config.interface';
|
|
3
|
+
import { DayInterface } from '../../typings/interfaces/day.interface';
|
|
4
|
+
import { DayWithFullDayEvents } from '../../typings/interfaces/full-day-events-week.type';
|
|
5
|
+
import { modeType } from '../../typings/types';
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
days: DayInterface[];
|
|
8
|
+
time: Time;
|
|
9
|
+
fullDayEvents: DayWithFullDayEvents[];
|
|
10
|
+
config: ConfigInterface;
|
|
11
|
+
mode: modeType;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
+
eventWasClicked: (event: any) => any;
|
|
15
|
+
dayWasClicked: (date: string) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onEventWasClicked?: ((event: any) => any) | undefined;
|
|
18
|
+
onDayWasClicked?: ((date: string) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
export default _default;
|
|
21
|
+
//# sourceMappingURL=WeekTimeline.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WeekTimeline.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/components/week/WeekTimeline.vue"],"names":[],"mappings":"AAuGA,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAA;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAA;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAA;AAC9F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAInD,KAAK,WAAW,GAAG;IAClB,IAAI,EAAE,YAAY,EAAE,CAAA;IACpB,IAAI,EAAE,IAAI,CAAA;IACV,aAAa,EAAE,oBAAoB,EAAE,CAAA;IACrC,MAAM,EAAE,eAAe,CAAA;IACvB,IAAI,EAAE,QAAQ,CAAA;CACd,CAAC;;;;;;;;AA8HF,wBAQG"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const EVENT_COLORS: {
|
|
2
|
+
yellow: string;
|
|
3
|
+
blue: string;
|
|
4
|
+
green: string;
|
|
5
|
+
red: string;
|
|
6
|
+
pink: string;
|
|
7
|
+
purple: string;
|
|
8
|
+
turquoise: string;
|
|
9
|
+
brown: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const DATE_TIME_STRING_PATTERN: RegExp;
|
|
12
|
+
export declare const DATE_TIME_STRING_FULL_DAY_PATTERN: RegExp;
|
|
13
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/Calendar/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;CASxB,CAAA;AAED,eAAO,MAAM,wBAAwB,QAAoC,CAAA;AACzE,eAAO,MAAM,iCAAiC,QAAwB,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as Time } from './Time';
|
|
2
|
+
export interface Interval {
|
|
3
|
+
intervalStart: string;
|
|
4
|
+
intervalEnd: string;
|
|
5
|
+
hasBorder?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Define the data for the clickable intervals to be viewed in a calendar day.
|
|
9
|
+
*/
|
|
10
|
+
export default class DayIntervals extends Time {
|
|
11
|
+
private readonly INTERVAL_MINUTES;
|
|
12
|
+
private readonly DAY_START_DATE_TIME_STRING;
|
|
13
|
+
HOURS_PER_DAY: number;
|
|
14
|
+
constructor(intervalMinutes: 15 | 30 | 60, dayStartDateTimeString: string, hoursPerDay?: number);
|
|
15
|
+
getIntervals(): Interval[];
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=DayIntervals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DayIntervals.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/helpers/DayIntervals.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAA;AAEzB,MAAM,WAAW,QAAQ;IACxB,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;CACnB;AACD;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,IAAI;IAC7C,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAc;IAC/C,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAAQ;IACnD,aAAa,SAAK;gBAGjB,eAAe,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAC7B,sBAAsB,EAAE,MAAM,EAC9B,WAAW,SAAK;IAQjB,YAAY,IAAI,QAAQ,EAAE;CAqB1B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A little helper class (Extended-Date), for allowing destructuring of a date
|
|
3
|
+
*/
|
|
4
|
+
declare class EDate extends Date {
|
|
5
|
+
get fullYear(): number;
|
|
6
|
+
get month(): number;
|
|
7
|
+
get date(): number;
|
|
8
|
+
}
|
|
9
|
+
export default EDate;
|
|
10
|
+
//# sourceMappingURL=EDate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EDate.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/helpers/EDate.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAM,KAAM,SAAQ,IAAI;IACvB,IAAI,QAAQ,WAEX;IAED,IAAI,KAAK,WAER;IAED,IAAI,IAAI,WAEP;CACD;AAED,eAAe,KAAK,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ConfigInterface } from '../typings/config.interface';
|
|
2
|
+
import { EventInterface } from '../typings/interfaces/event.interface';
|
|
3
|
+
type RecursivePartial<T> = {
|
|
4
|
+
[P in keyof T]?: RecursivePartial<T[P]>;
|
|
5
|
+
};
|
|
6
|
+
export default class Errors {
|
|
7
|
+
static PREFIX: string;
|
|
8
|
+
static SUFFIX: string;
|
|
9
|
+
static readonly MISSING_ID_WARNING: string;
|
|
10
|
+
static readonly MISSING_TITLE_WARNING: string;
|
|
11
|
+
static readonly MISSING_TIME_WARNING: string;
|
|
12
|
+
static readonly MISSING_TIME_START_WARNING: string;
|
|
13
|
+
static readonly MISSING_TIME_END_WARNING: string;
|
|
14
|
+
static checkEventProperties(event: RecursivePartial<EventInterface>): void;
|
|
15
|
+
static checkConfig(config: ConfigInterface): void;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=Errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/helpers/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAA;AAG3E,KAAK,gBAAgB,CAAC,CAAC,IAAI;KACzB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACvC,CAAA;AAED,MAAM,CAAC,OAAO,OAAO,MAAM;IAC1B,OAAc,MAAM,SAAuB;IAE3C,OAAc,MAAM,SAAK;IAEzB,gBAAuB,kBAAkB,SAA4E;IAErH,gBAAuB,qBAAqB,SAA+E;IAE3H,gBAAuB,oBAAoB,SAA8E;IAEzH,gBAAuB,0BAA0B,SAAoF;IAErI,gBAAuB,wBAAwB,SAAkF;IAEjI,MAAM,CAAC,oBAAoB,CAAC,KAAK,EAAE,gBAAgB,CAAC,cAAc,CAAC;IA8BnE,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,eAAe;CAe1C"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventInterface } from '../typings/interfaces/event.interface';
|
|
2
|
+
import { default as Time } from './Time';
|
|
3
|
+
import { DRAG_N_RESIZE_DIRECTION } from '../typings/types';
|
|
4
|
+
export declare class EventChange {
|
|
5
|
+
private timeInstance;
|
|
6
|
+
private date;
|
|
7
|
+
private dayStart;
|
|
8
|
+
private dayEnd;
|
|
9
|
+
constructor(timeInstance: Time, date: string);
|
|
10
|
+
canEventBeMoved(event: EventInterface, direction: DRAG_N_RESIZE_DIRECTION): boolean;
|
|
11
|
+
private handleNonFlexibleDays;
|
|
12
|
+
private handleFlexibleDays;
|
|
13
|
+
private handleForwardsMoveForNonFlexibleDays;
|
|
14
|
+
private handleBackwardsMoveForNonFlexibleDays;
|
|
15
|
+
private handleForwardsMoveForFlexibleDays;
|
|
16
|
+
private handleBackwardsMoveForFlexibleDays;
|
|
17
|
+
private setDayBoundariesTimeStrings;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=EventChange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventChange.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/helpers/EventChange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAA;AAC3E,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAA;AAE9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAA;AAE1D,qBAAa,WAAW;IAIX,OAAO,CAAC,YAAY;IAAQ,OAAO,CAAC,IAAI;IAHpD,OAAO,CAAC,QAAQ,CAAK;IACrB,OAAO,CAAC,MAAM,CAAK;gBAEC,YAAY,EAAE,IAAI,EAAU,IAAI,EAAE,MAAM;IAIrD,eAAe,CAAC,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,uBAAuB,GAAG,OAAO;IAQ1F,OAAO,CAAC,qBAAqB;IAQ7B,OAAO,CAAC,kBAAkB;IAQ1B,OAAO,CAAC,oCAAoC;IAU5C,OAAO,CAAC,qCAAqC;IAU7C,OAAO,CAAC,iCAAiC;IAUzC,OAAO,CAAC,kCAAkC;IAU1C,OAAO,CAAC,2BAA2B;CAUnC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventInterface } from '../typings/interfaces/event.interface';
|
|
2
|
+
export default class EventConcurrency {
|
|
3
|
+
protected sortEventsAccordingToStartOfTime(events: EventInterface[]): EventInterface[];
|
|
4
|
+
/**
|
|
5
|
+
* Sets the "zIndex" and "nOfPreviousConcurrentEvents" properties on an event
|
|
6
|
+
*
|
|
7
|
+
* zIndex - lets the event know with which z-index it should be displayed
|
|
8
|
+
* nOfPreviousConcurrentEvents - lets the event know, how many other, previous events, are competing for the same width
|
|
9
|
+
*/
|
|
10
|
+
calculateConcurrencyForEvents(events: EventInterface[]): EventInterface[];
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=EventConcurrency.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventConcurrency.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/helpers/EventConcurrency.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAA;AAE3E,MAAM,CAAC,OAAO,OAAO,gBAAgB;IACpC,SAAS,CAAC,gCAAgC,CAAC,MAAM,EAAE,cAAc,EAAE;IAcnE;;;;;OAKG;IACH,6BAA6B,CAAC,MAAM,EAAE,cAAc,EAAE;CA6CtD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DOMRect } from '../typings/types';
|
|
2
|
+
interface elementDimensions {
|
|
3
|
+
height: number;
|
|
4
|
+
width: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const EVENT_FLYOUT_WIDTH = 400;
|
|
7
|
+
export default class EventFlyoutPosition {
|
|
8
|
+
calculateFlyoutPosition(eventElementDOMRect: DOMRect, flyoutDimensions: elementDimensions, calendarDomRectParam?: DOMRect | null): {
|
|
9
|
+
top: number | null;
|
|
10
|
+
left: number | null;
|
|
11
|
+
} | undefined;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=EventFlyoutPosition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventFlyoutPosition.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/helpers/EventFlyoutPosition.ts"],"names":[],"mappings":"AAAA,UAAU,iBAAiB;IAAG,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAa/C,eAAO,MAAM,kBAAkB,MAAM,CAAA;AAErC,MAAM,CAAC,OAAO,OAAO,mBAAmB;IACvC,uBAAuB,CACtB,mBAAmB,EAAE,OAAO,EAC5B,gBAAgB,EAAE,iBAAiB,EACnC,oBAAoB,GAAE,OAAO,GAAG,IAAW,GACzC;QAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,SAAS;CA0E1D"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DayInterface } from '../typings/interfaces/day.interface';
|
|
2
|
+
import { EventInterface } from '../typings/interfaces/event.interface';
|
|
3
|
+
import { default as Time } from './Time';
|
|
4
|
+
export default class EventPosition extends Time {
|
|
5
|
+
/**
|
|
6
|
+
* Yields a full calendar week, with all full-day events positioned in it
|
|
7
|
+
*/
|
|
8
|
+
positionFullDayEventsInWeek(weekStart: Date, weekEnd: Date, events: EventInterface[]): any[];
|
|
9
|
+
positionFullDayEventsInMonth(calendarMonth: DayInterface[][], fullDayEvents: EventInterface[]): DayInterface[][];
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=EventPosition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventPosition.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/helpers/EventPosition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAA;AACvE;;;GAGG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAA;AAE3E,OAAO,IAAI,MAAM,QAAQ,CAAA;AASzB,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,IAAI;IAC9C;;OAEG;IACH,2BAA2B,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE;IAyEpF,4BAA4B,CAC3B,aAAa,EAAE,YAAY,EAAE,EAAE,EAC/B,aAAa,EAAE,cAAc,EAAE,GAC7B,YAAY,EAAE,EAAE;CAyDnB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventInterface } from '../typings/interfaces/event.interface';
|
|
2
|
+
import { default as Time } from './Time';
|
|
3
|
+
export declare class EventsFilter {
|
|
4
|
+
private events;
|
|
5
|
+
constructor(events: EventInterface[]);
|
|
6
|
+
getEventsForDay(timeInstance: Time, startDateTimeString: string): EventInterface[];
|
|
7
|
+
private isEventInDayBoundaries;
|
|
8
|
+
private handleDayStretchingTwoDates;
|
|
9
|
+
private handlePartialDayWithinOneDayBoundary;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=EventsFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventsFilter.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/helpers/EventsFilter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAA;AAC3E,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAA;AAG9B,qBAAa,YAAY;IACZ,OAAO,CAAC,MAAM;gBAAN,MAAM,EAAE,cAAc,EAAE;IAErC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,GAAG,cAAc,EAAE;IAIzF,OAAO,CAAC,sBAAsB;IAmB9B,OAAO,CAAC,2BAA2B;IAWnC,OAAO,CAAC,oCAAoC;CAQ5C"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Slot } from 'vue';
|
|
2
|
+
import { EventInterface, EVENT_TYPE } from '../typings/interfaces/event.interface';
|
|
3
|
+
import { default as Time } from './Time';
|
|
4
|
+
export default class Helpers {
|
|
5
|
+
/**
|
|
6
|
+
* If navigator.languages is present (correlating to the browser's Accept-Language header), then use it
|
|
7
|
+
* otherwise just use navigator.language
|
|
8
|
+
*/
|
|
9
|
+
static getBrowserNavigatorLocale(): string;
|
|
10
|
+
/**
|
|
11
|
+
* Solution from https://github.com/vuejs/core/issues/4733#issuecomment-1024816095
|
|
12
|
+
*/
|
|
13
|
+
static hasSlotContent(slot: Slot | undefined): boolean;
|
|
14
|
+
static getEventType(event: EventInterface, time: Time): EVENT_TYPE;
|
|
15
|
+
static getTimedEventType(event: EventInterface, time: Time): "SINGLE_DAY_TIMED" | "SINGLE_HYBRID_DAY_TIMED" | "MULTI_DAY_TIMED";
|
|
16
|
+
static getFullDayEventType(event: EventInterface, time: Time): EVENT_TYPE;
|
|
17
|
+
static isUIEventTouchEvent(event: UIEvent): boolean;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=Helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Helpers.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/helpers/Helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAS,MAAM,KAAK,CAAA;AACtC,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAA;AAIvF,OAAO,IAAI,MAAM,QAAQ,CAAA;AAEzB,MAAM,CAAC,OAAO,OAAO,OAAO;IAC3B;;;OAGG;IACH,MAAM,CAAC,yBAAyB,IAAI,MAAM;IAQ1C;;OAEG;IACH,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS;IAe5C,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,GAAG,UAAU;IAclE,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI;IAsB1D,MAAM,CAAC,mBAAmB,CAAC,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,GAAG,UAAU;IAQzE,MAAM,CAAC,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;CAGnD"}
|