pangea-lib 4.0.7 → 4.0.9
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/main.cjs.js +54 -54
- package/dist/main.css +1 -1
- package/dist/main.es.js +3754 -3782
- package/dist/types/components/PgaCalendar.vue.d.ts +24 -71
- package/package.json +1 -1
|
@@ -14,14 +14,7 @@ type Vacation = {
|
|
|
14
14
|
start: string;
|
|
15
15
|
end: string;
|
|
16
16
|
};
|
|
17
|
-
type
|
|
18
|
-
menuColor: string;
|
|
19
|
-
titleBarColor: string;
|
|
20
|
-
todayCellColor: string;
|
|
21
|
-
selectedCellColor: string;
|
|
22
|
-
selectedCellBorderColor: string;
|
|
23
|
-
};
|
|
24
|
-
type SearchRange = {
|
|
17
|
+
type Range = {
|
|
25
18
|
start: Date;
|
|
26
19
|
end: Date;
|
|
27
20
|
};
|
|
@@ -30,124 +23,84 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
30
23
|
required: true;
|
|
31
24
|
type: import('vue').PropType<CalendarEvent[]>;
|
|
32
25
|
};
|
|
33
|
-
searchRange: import('vue').PropType<
|
|
34
|
-
|
|
35
|
-
type: import('vue').PropType<
|
|
36
|
-
default: () => {
|
|
37
|
-
menuColor: string;
|
|
38
|
-
titleBarColor: string;
|
|
39
|
-
todayCellColor: string;
|
|
40
|
-
selectedCellColor: string;
|
|
41
|
-
selectedCellBorderColor: string;
|
|
42
|
-
};
|
|
26
|
+
searchRange: import('vue').PropType<Range>;
|
|
27
|
+
noEventsLabel: {
|
|
28
|
+
type: import('vue').PropType<StrOrFn>;
|
|
43
29
|
};
|
|
44
30
|
isLoading: {
|
|
45
31
|
type: import('vue').PropType<boolean>;
|
|
46
32
|
};
|
|
47
|
-
toName: {
|
|
48
|
-
type: import('vue').PropType<string>;
|
|
49
|
-
};
|
|
50
|
-
noEventsLabel: {
|
|
51
|
-
type: import('vue').PropType<StrOrFn>;
|
|
52
|
-
};
|
|
53
33
|
hideWeekends: {
|
|
54
34
|
type: import('vue').PropType<boolean>;
|
|
55
|
-
default: boolean;
|
|
56
35
|
};
|
|
57
36
|
timeFrom: {
|
|
58
37
|
type: import('vue').PropType<number>;
|
|
59
|
-
|
|
38
|
+
required: true;
|
|
60
39
|
};
|
|
61
40
|
timeTo: {
|
|
62
41
|
type: import('vue').PropType<number>;
|
|
63
|
-
|
|
42
|
+
required: true;
|
|
64
43
|
};
|
|
65
44
|
timeStep: {
|
|
66
45
|
type: import('vue').PropType<number>;
|
|
67
|
-
|
|
46
|
+
required: true;
|
|
68
47
|
};
|
|
69
48
|
holidays: {
|
|
70
49
|
type: import('vue').PropType<Holiday[]>;
|
|
71
50
|
};
|
|
72
|
-
useArgentineHolidays: {
|
|
73
|
-
type: import('vue').PropType<boolean>;
|
|
74
|
-
};
|
|
75
51
|
vacations: {
|
|
76
52
|
type: import('vue').PropType<Vacation[]>;
|
|
77
53
|
};
|
|
54
|
+
toName: {
|
|
55
|
+
type: import('vue').PropType<string>;
|
|
56
|
+
};
|
|
78
57
|
updateDatesFn: {
|
|
79
58
|
type: import('vue').PropType<(event: CalendarEvent) => Promise<void>>;
|
|
80
59
|
};
|
|
81
60
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
82
|
-
createEvent: (
|
|
83
|
-
|
|
84
|
-
end: Date;
|
|
85
|
-
}) => void;
|
|
86
|
-
refreshList: (range: SearchRange) => void;
|
|
61
|
+
createEvent: (range: Range) => void;
|
|
62
|
+
refreshList: (range: Range) => void;
|
|
87
63
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
88
64
|
modelValue: {
|
|
89
65
|
required: true;
|
|
90
66
|
type: import('vue').PropType<CalendarEvent[]>;
|
|
91
67
|
};
|
|
92
|
-
searchRange: import('vue').PropType<
|
|
93
|
-
|
|
94
|
-
type: import('vue').PropType<
|
|
95
|
-
default: () => {
|
|
96
|
-
menuColor: string;
|
|
97
|
-
titleBarColor: string;
|
|
98
|
-
todayCellColor: string;
|
|
99
|
-
selectedCellColor: string;
|
|
100
|
-
selectedCellBorderColor: string;
|
|
101
|
-
};
|
|
68
|
+
searchRange: import('vue').PropType<Range>;
|
|
69
|
+
noEventsLabel: {
|
|
70
|
+
type: import('vue').PropType<StrOrFn>;
|
|
102
71
|
};
|
|
103
72
|
isLoading: {
|
|
104
73
|
type: import('vue').PropType<boolean>;
|
|
105
74
|
};
|
|
106
|
-
toName: {
|
|
107
|
-
type: import('vue').PropType<string>;
|
|
108
|
-
};
|
|
109
|
-
noEventsLabel: {
|
|
110
|
-
type: import('vue').PropType<StrOrFn>;
|
|
111
|
-
};
|
|
112
75
|
hideWeekends: {
|
|
113
76
|
type: import('vue').PropType<boolean>;
|
|
114
|
-
default: boolean;
|
|
115
77
|
};
|
|
116
78
|
timeFrom: {
|
|
117
79
|
type: import('vue').PropType<number>;
|
|
118
|
-
|
|
80
|
+
required: true;
|
|
119
81
|
};
|
|
120
82
|
timeTo: {
|
|
121
83
|
type: import('vue').PropType<number>;
|
|
122
|
-
|
|
84
|
+
required: true;
|
|
123
85
|
};
|
|
124
86
|
timeStep: {
|
|
125
87
|
type: import('vue').PropType<number>;
|
|
126
|
-
|
|
88
|
+
required: true;
|
|
127
89
|
};
|
|
128
90
|
holidays: {
|
|
129
91
|
type: import('vue').PropType<Holiday[]>;
|
|
130
92
|
};
|
|
131
|
-
useArgentineHolidays: {
|
|
132
|
-
type: import('vue').PropType<boolean>;
|
|
133
|
-
};
|
|
134
93
|
vacations: {
|
|
135
94
|
type: import('vue').PropType<Vacation[]>;
|
|
136
95
|
};
|
|
96
|
+
toName: {
|
|
97
|
+
type: import('vue').PropType<string>;
|
|
98
|
+
};
|
|
137
99
|
updateDatesFn: {
|
|
138
100
|
type: import('vue').PropType<(event: CalendarEvent) => Promise<void>>;
|
|
139
101
|
};
|
|
140
102
|
}>> & {
|
|
141
|
-
onCreateEvent?: (
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}) => any;
|
|
145
|
-
onRefreshList?: (range: SearchRange) => any;
|
|
146
|
-
}, {
|
|
147
|
-
colors: Colors;
|
|
148
|
-
hideWeekends: boolean;
|
|
149
|
-
timeFrom: number;
|
|
150
|
-
timeTo: number;
|
|
151
|
-
timeStep: number;
|
|
152
|
-
}, {}>;
|
|
103
|
+
onCreateEvent?: (range: Range) => any;
|
|
104
|
+
onRefreshList?: (range: Range) => any;
|
|
105
|
+
}, {}, {}>;
|
|
153
106
|
export default _default;
|