@bagelink/vue 0.0.1220 → 0.0.1227
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/BglComponent.vue.d.ts.map +1 -1
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/Calendar/Index.vue.d.ts +8 -4
- package/dist/components/Calendar/Index.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/header/Header.vue.d.ts +2 -0
- package/dist/components/Calendar/components/header/Header.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/month/AgendaEventTile.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/month/AgendaEvents.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/month/Day.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/month/Event.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/month/Month.vue.d.ts +2 -2
- package/dist/components/Calendar/components/month/Month.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/month/WeekDay.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/partials/EventFlyout.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/week/Day.vue.d.ts.map +1 -1
- package/dist/components/Calendar/components/week/Week.vue.d.ts +2 -2
- package/dist/components/Calendar/components/week/WeekTimeline.vue.d.ts.map +1 -1
- package/dist/components/Calendar/constants.d.ts.map +1 -1
- package/dist/components/Calendar/language/index.d.ts +2 -1
- package/dist/components/Calendar/language/index.d.ts.map +1 -1
- package/dist/components/Calendar/language/keys.d.ts +66 -63
- package/dist/components/Calendar/language/keys.d.ts.map +1 -1
- package/dist/components/Spreadsheet/Index.vue.d.ts +25 -0
- package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -0
- package/dist/components/form/BagelForm.vue.d.ts +2 -1
- package/dist/components/form/BagelForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DatePick.vue.d.ts +1 -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 +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/components/lightbox/lightbox.types.d.ts +2 -1
- package/dist/components/lightbox/lightbox.types.d.ts.map +1 -1
- package/dist/composables/useSchemaField.d.ts +9 -5
- package/dist/composables/useSchemaField.d.ts.map +1 -1
- package/dist/index.cjs +1879 -1161
- package/dist/index.mjs +1880 -1162
- package/dist/style.css +733 -763
- package/dist/types/BagelForm.d.ts +2 -1
- package/dist/types/BagelForm.d.ts.map +1 -1
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Btn.vue +3 -0
- package/src/components/Calendar/Index.vue +13 -16
- package/src/components/Calendar/components/header/Header.vue +17 -139
- package/src/components/Calendar/components/month/AgendaEventTile.vue +1 -10
- package/src/components/Calendar/components/month/AgendaEvents.vue +7 -53
- package/src/components/Calendar/components/month/Day.vue +12 -30
- package/src/components/Calendar/components/month/Event.vue +10 -67
- package/src/components/Calendar/components/month/Month.vue +10 -56
- package/src/components/Calendar/components/month/WeekDay.vue +1 -11
- package/src/components/Calendar/components/partials/EventFlyout.vue +2 -1
- package/src/components/Calendar/components/week/Day.vue +4 -18
- package/src/components/Calendar/components/week/DayEvent.vue +1 -1
- package/src/components/Calendar/components/week/FullDayEvent.vue +2 -2
- package/src/components/Calendar/components/week/Week.vue +1 -1
- package/src/components/Calendar/components/week/WeekTimeline.vue +13 -38
- package/src/components/Calendar/constants.ts +11 -11
- package/src/components/Calendar/language/index.ts +6 -3
- package/src/components/Calendar/language/keys.ts +91 -88
- package/src/components/Calendar/styles/_variables.css +38 -42
- package/src/components/Spreadsheet/Index.vue +867 -0
- package/src/components/form/BagelForm.vue +7 -3
- package/src/components/form/inputs/DatePick.vue +6 -2
- package/src/components/form/inputs/DatePicker.vue +2 -2
- package/src/components/form/inputs/NumberInput.vue +2 -2
- package/src/components/index.ts +1 -0
- package/src/components/lightbox/Lightbox.vue +5 -5
- package/src/components/lightbox/lightbox.types.ts +2 -1
- package/src/composables/useSchemaField.ts +36 -12
- 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
- package/src/types/BagelForm.ts +2 -1
- package/src/utils/BagelFormUtils.ts +2 -1
- package/src/components/Calendar/index.ts +0 -4
|
@@ -137,20 +137,20 @@ onMounted(() => {
|
|
|
137
137
|
</script>
|
|
138
138
|
|
|
139
139
|
<template>
|
|
140
|
-
<div class="calendar-month">
|
|
140
|
+
<div class="calendar-month relative column w-100p h-100p overflow-y flex flex-stretch">
|
|
141
141
|
<div
|
|
142
|
-
class="
|
|
142
|
+
class="flex space-between"
|
|
143
143
|
>
|
|
144
144
|
<WeekDay
|
|
145
145
|
v-for="(day, dayIndex) in month[0]"
|
|
146
146
|
:key="dayIndex"
|
|
147
|
-
class="
|
|
147
|
+
class=" txt-center flex-shrink flex-grow"
|
|
148
148
|
:config="config"
|
|
149
149
|
:day="day"
|
|
150
150
|
:time="time"
|
|
151
151
|
/>
|
|
152
152
|
</div>
|
|
153
|
-
<div class="calendar-month__weeks">
|
|
153
|
+
<div class="calendar-month__weeks h-100p flex-grow flex flex-stretch column space-between">
|
|
154
154
|
<div
|
|
155
155
|
v-for="(week, weekIndex) in month"
|
|
156
156
|
:key="weekIndex"
|
|
@@ -188,7 +188,7 @@ onMounted(() => {
|
|
|
188
188
|
|
|
189
189
|
<div
|
|
190
190
|
v-if="!(config.month?.showEventsOnMobileView === false)"
|
|
191
|
-
class="calendar-month__day_events"
|
|
191
|
+
class="calendar-month__day_events w-100p pt-1"
|
|
192
192
|
>
|
|
193
193
|
<AgendaEvents
|
|
194
194
|
v-if="selectedDay"
|
|
@@ -221,58 +221,12 @@ onMounted(() => {
|
|
|
221
221
|
</template>
|
|
222
222
|
|
|
223
223
|
<style>
|
|
224
|
-
.calendar-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
width: 100%;
|
|
229
|
-
height: 100%;
|
|
230
|
-
overflow-y: auto;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
:global(.qalendar-is-small) .calendar-month {
|
|
234
|
-
height: initial;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.calendar-month__week-day-names {
|
|
238
|
-
display: flex;
|
|
239
|
-
justify-content: space-between;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.calendar-month__week-day-name {
|
|
243
|
-
flex: 1;
|
|
244
|
-
text-align: center;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.calendar-month__weeks {
|
|
248
|
-
height: 100%;
|
|
249
|
-
flex-grow: 1;
|
|
250
|
-
display: flex;
|
|
251
|
-
flex-flow: column;
|
|
252
|
-
justify-content: space-between;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.calendar-month__week {
|
|
256
|
-
display: flex;
|
|
257
|
-
flex: 1;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.calendar-month__week:first-child {
|
|
261
|
-
border-top: var(--qalendar-border-gray-thin);
|
|
262
|
-
}
|
|
224
|
+
.calendar-month__week {
|
|
225
|
+
display: flex;
|
|
226
|
+
flex: 1;
|
|
227
|
+
}
|
|
263
228
|
|
|
264
|
-
@media (prefers-color-scheme: dark) {
|
|
265
229
|
.calendar-month__week:first-child {
|
|
266
|
-
border-
|
|
230
|
+
border-top: var(--qalendar-border-gray-thin);
|
|
267
231
|
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.calendar-month__day_events {
|
|
271
|
-
height: 100%;
|
|
272
|
-
display: none;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
:global(.qalendar-is-small) .calendar-month__day_events {
|
|
276
|
-
display: block;
|
|
277
|
-
}
|
|
278
232
|
</style>
|
|
@@ -8,18 +8,8 @@ defineProps<{
|
|
|
8
8
|
|
|
9
9
|
<template>
|
|
10
10
|
<span
|
|
11
|
-
class="
|
|
11
|
+
class="txt12 normal block color-black pb-025"
|
|
12
12
|
>
|
|
13
13
|
{{ day.dayName }}
|
|
14
14
|
</span>
|
|
15
15
|
</template>
|
|
16
|
-
|
|
17
|
-
<style scoped>
|
|
18
|
-
.calendar-month__day-name {
|
|
19
|
-
display: block;
|
|
20
|
-
font-size: 12px;
|
|
21
|
-
font-weight: 500;
|
|
22
|
-
color: var(--qalendar-gray-quite-dark);
|
|
23
|
-
margin-bottom: var(--qalendar-spacing-half);
|
|
24
|
-
}
|
|
25
|
-
</style>
|
|
@@ -186,27 +186,13 @@ onMounted(() => {
|
|
|
186
186
|
padding: 2px;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
.calendar-week__day .calendar-week__day-interval.has-border {
|
|
190
|
-
border-bottom: var(--qalendar-border-dashed-gray-thin);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
189
|
.calendar-week__day:first-child {
|
|
194
|
-
border-
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
@media (prefers-color-scheme: dark) {
|
|
198
|
-
.calendar-week__day:first-child {
|
|
199
|
-
border-color: var(--qalendar-dark-mode-line-color);
|
|
200
|
-
}
|
|
190
|
+
border-inline-start: 1px solid var(--border-color);
|
|
201
191
|
}
|
|
202
192
|
|
|
203
|
-
.calendar-week__day
|
|
204
|
-
border-
|
|
205
|
-
|
|
193
|
+
.calendar-week__day {
|
|
194
|
+
border-inline-end: 1px solid var(--border-color);
|
|
195
|
+
border-bottom: 1px solid var(--border-color);
|
|
206
196
|
|
|
207
|
-
@media (prefers-color-scheme: dark) {
|
|
208
|
-
.calendar-week__day:not(:last-child) {
|
|
209
|
-
border-color: var(--qalendar-dark-mode-line-color);
|
|
210
|
-
}
|
|
211
197
|
}
|
|
212
198
|
</style>
|
|
@@ -34,9 +34,9 @@ const eventElementIdPrefix = 'week-timeline__event-id-'
|
|
|
34
34
|
|
|
35
35
|
const eventWidth = computed(() => {
|
|
36
36
|
if (props.mode !== 'day')
|
|
37
|
-
return `calc(${props.scheduleEvent.nDays * 100}%
|
|
37
|
+
return `calc(${props.scheduleEvent.nDays * 100}%)`
|
|
38
38
|
|
|
39
|
-
return 'calc(100%
|
|
39
|
+
return 'calc(100%)'
|
|
40
40
|
})
|
|
41
41
|
|
|
42
42
|
function setColors() {
|
|
@@ -288,7 +288,7 @@ function setCurrentTime() {
|
|
|
288
288
|
@day-was-clicked="$emit('dayWasClicked', $event)"
|
|
289
289
|
/>
|
|
290
290
|
|
|
291
|
-
<div class="calendar-week__wrapper">
|
|
291
|
+
<div class="calendar-week__wrapper relative ps-3-5">
|
|
292
292
|
<EventFlyout
|
|
293
293
|
v-if="!config.eventDialog || !config.eventDialog.isDisabled"
|
|
294
294
|
:calendar-event-prop="selectedEvent"
|
|
@@ -31,7 +31,7 @@ function getDaysDate(day: DayInterface) {
|
|
|
31
31
|
</script>
|
|
32
32
|
|
|
33
33
|
<template>
|
|
34
|
-
<div class="week-timeline">
|
|
34
|
+
<div class="week-timeline flex space-between border-bottom ms-3-5" style="margin-inline-end: 0.5em;">
|
|
35
35
|
<div
|
|
36
36
|
v-for="(day, dayIndex) in days"
|
|
37
37
|
:key="dayIndex"
|
|
@@ -42,12 +42,14 @@ function getDaysDate(day: DayInterface) {
|
|
|
42
42
|
}"
|
|
43
43
|
@click="emit('dayWasClicked', time.dateStringFrom(day.dateTimeString))"
|
|
44
44
|
>
|
|
45
|
-
<div class="
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
<div class="flex justify-content-center gap-025 txt12">
|
|
46
|
+
<div class="">
|
|
47
|
+
{{ day.dayName.charAt(0).toUpperCase() + day.dayName.slice(1, 3).toLowerCase() }}
|
|
48
|
+
</div>
|
|
48
49
|
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
<div class="week-timeline__date txt14 round inline-flex justify-content-center">
|
|
51
|
+
{{ getDaysDate(day) }}
|
|
52
|
+
</div>
|
|
51
53
|
</div>
|
|
52
54
|
|
|
53
55
|
<div class="week-timeline__events">
|
|
@@ -73,54 +75,27 @@ function getDaysDate(day: DayInterface) {
|
|
|
73
75
|
height: fit-content;
|
|
74
76
|
display: flex;
|
|
75
77
|
justify-content: space-evenly;
|
|
76
|
-
padding-bottom: var(--qalendar-spacing-half);
|
|
77
|
-
padding-left: var(--qalendar-week-padding-left);
|
|
78
|
-
border-bottom: var(--qalendar-border-gray-thin);
|
|
79
78
|
}
|
|
80
79
|
|
|
81
80
|
.mode-is-day .week-timeline {
|
|
82
|
-
width: 100
|
|
83
|
-
padding-left: 0;
|
|
81
|
+
width: calc(100% - 3.5em);
|
|
84
82
|
}
|
|
85
83
|
|
|
86
84
|
.week-timeline__day {
|
|
87
85
|
width: 100%;
|
|
88
|
-
display: flex;
|
|
89
|
-
flex-flow: column;
|
|
90
|
-
align-items: center;
|
|
91
|
-
justify-content: flex-start;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.week-timeline__day-name {
|
|
95
|
-
font-size: var(--qalendar-font-3xs);
|
|
96
|
-
font-weight: 400;
|
|
97
|
-
margin-bottom: 4px;
|
|
98
|
-
color: var(--qalendar-gray-quite-dark);
|
|
99
86
|
}
|
|
100
87
|
|
|
101
88
|
.week-timeline__date {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
height: 2rem;
|
|
105
|
-
width: 2rem;
|
|
106
|
-
border-radius: 50%;
|
|
107
|
-
display: flex;
|
|
108
|
-
align-items: center;
|
|
109
|
-
justify-content: center;
|
|
89
|
+
height: 1rem;
|
|
90
|
+
width: 1rem;
|
|
110
91
|
}
|
|
111
92
|
|
|
112
93
|
.is-today .week-timeline__date {
|
|
113
|
-
background
|
|
114
|
-
color:
|
|
94
|
+
background: var(--bgl-primary);
|
|
95
|
+
color: var(--bgl-white);
|
|
115
96
|
}
|
|
116
97
|
|
|
117
98
|
.week-timeline__events {
|
|
118
|
-
width: 100%;
|
|
119
|
-
flex: 1;
|
|
120
|
-
border-right: 1px dashed rgb(224 224 224);
|
|
121
|
-
}
|
|
122
99
|
|
|
123
|
-
.week-timeline__day:first-child .week-timeline__events {
|
|
124
|
-
border-left: 1px dashed rgb(224 224 224);
|
|
125
100
|
}
|
|
126
101
|
</style>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export const EVENT_COLORS = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
2
|
+
yellow: 'var(--bgl-yellow)',
|
|
3
|
+
blue: 'var(--bgl-blue)',
|
|
4
|
+
green: 'var(--bgl-green)',
|
|
5
|
+
red: 'var(--bgl-red)',
|
|
6
|
+
pink: 'var(--bgl-pink)',
|
|
7
|
+
purple: 'var(--bgl-purple)',
|
|
8
|
+
turquoise: 'var(--bgl-turquoise)',
|
|
9
|
+
brown: 'var(--bgl-brown)',
|
|
10
|
+
}
|
|
11
11
|
|
|
12
|
-
export const DATE_TIME_STRING_PATTERN = /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}
|
|
13
|
-
export const DATE_TIME_STRING_FULL_DAY_PATTERN = /^\d{4}-\d{2}-\d{2}
|
|
12
|
+
export const DATE_TIME_STRING_PATTERN = /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/
|
|
13
|
+
export const DATE_TIME_STRING_FULL_DAY_PATTERN = /^\d{4}-\d{2}-\d{2}$/
|
|
@@ -26,12 +26,15 @@ export function overrideShortLocaleWithLongLocale(locale: string): string {
|
|
|
26
26
|
return locale
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export function getLanguage(languageKeys: any, locale: string) {
|
|
29
|
+
export function getLanguage(languageKeys: any, locale: string = 'en-US') {
|
|
30
30
|
locale = overrideShortLocaleWithLongLocale(locale)
|
|
31
31
|
|
|
32
32
|
return languageKeys[locale]
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
}
|
|
34
|
+
export function translate(key: string, locale: string = 'en-US') {
|
|
35
|
+
const language: Record<string, any> = languageKeys[key as keyof typeof languageKeys] || {}
|
|
36
|
+
|
|
37
|
+
return language[locale] || key
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
export { languageKeys }
|
|
@@ -1,90 +1,93 @@
|
|
|
1
1
|
export const languageKeys = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
2
|
+
/** The following three keys, describe the calendar modes */
|
|
3
|
+
week: {
|
|
4
|
+
'it-IT': 'Settimana',
|
|
5
|
+
'en-US': 'Week',
|
|
6
|
+
'de-DE': 'Woche',
|
|
7
|
+
'sv-SE': 'Vecka',
|
|
8
|
+
'zh-CN': '周',
|
|
9
|
+
'pt-BR': 'Semana',
|
|
10
|
+
'fr-FR': 'Semaine',
|
|
11
|
+
'th-TH': 'สัปดาห์',
|
|
12
|
+
'nl-NL': 'Week',
|
|
13
|
+
'ru-RU': 'Неделя',
|
|
14
|
+
'ar-YE': 'إسبوع',
|
|
15
|
+
'es-ES': 'Semana',
|
|
16
|
+
'ja-JP': '週',
|
|
17
|
+
'pl-PL': 'Tydzień',
|
|
18
|
+
'hu-HU': 'Hét',
|
|
19
|
+
},
|
|
20
|
+
month: {
|
|
21
|
+
'it-IT': 'Mese',
|
|
22
|
+
'en-US': 'Month',
|
|
23
|
+
'de-DE': 'Monat',
|
|
24
|
+
'sv-SE': 'Månad',
|
|
25
|
+
'zh-CN': '月',
|
|
26
|
+
'pt-BR': 'Mês',
|
|
27
|
+
'fr-FR': 'Mois',
|
|
28
|
+
'th-TH': 'เดือน',
|
|
29
|
+
'nl-NL': 'Maand',
|
|
30
|
+
'ru-RU': 'Месяц',
|
|
31
|
+
'ar-YE': 'شهر',
|
|
32
|
+
'es-ES': 'Mes',
|
|
33
|
+
'ja-JP': '月',
|
|
34
|
+
'pl-PL': 'Miesiąc',
|
|
35
|
+
'hu-HU': 'Hónap',
|
|
36
|
+
},
|
|
37
|
+
day: {
|
|
38
|
+
'it-IT': 'Giorno',
|
|
39
|
+
'en-US': 'Day',
|
|
40
|
+
'de-DE': 'Tag',
|
|
41
|
+
'sv-SE': 'Dag',
|
|
42
|
+
'zh-CN': '日',
|
|
43
|
+
'pt-BR': 'Dia',
|
|
44
|
+
'fr-FR': 'Jour',
|
|
45
|
+
'th-TH': 'วัน',
|
|
46
|
+
'nl-NL': 'Dag',
|
|
47
|
+
'ru-RU': 'День',
|
|
48
|
+
'ar-YE': 'يوم',
|
|
49
|
+
'es-ES': 'Día',
|
|
50
|
+
'ja-JP': '日',
|
|
51
|
+
'pl-PL': 'Dzień',
|
|
52
|
+
'hu-HU': 'Nap',
|
|
53
|
+
},
|
|
54
|
+
agenda: {
|
|
55
|
+
'en-US': 'Agenda',
|
|
56
|
+
},
|
|
57
|
+
/** Other keys */
|
|
58
|
+
moreEvents: {
|
|
59
|
+
'it-IT': '+ altri eventi',
|
|
60
|
+
'en-US': '+ more events',
|
|
61
|
+
'de-DE': '+ weitere Ereignisse',
|
|
62
|
+
'sv-SE': '+ fler event',
|
|
63
|
+
'zh-CN': '列出其他结果',
|
|
64
|
+
'pt-BR': '+ mais eventos',
|
|
65
|
+
'fr-FR': '+ d\'autres événements',
|
|
66
|
+
'th-TH': '+ เหตุการณ์เพิ่มเติม',
|
|
67
|
+
'nl-NL': 'meer evenementen',
|
|
68
|
+
'ru-RU': '+ ещё события',
|
|
69
|
+
'ar-YE': '+ المزيد من الأحداث',
|
|
70
|
+
'es-ES': 'más eventos',
|
|
71
|
+
'ja-JP': 'その他イベント',
|
|
72
|
+
'pl-PL': '+ więcej wydarzeń',
|
|
73
|
+
'hu-HU': 'További események',
|
|
74
|
+
},
|
|
54
75
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
noEvent: {
|
|
74
|
-
'it-IT': 'Nessun evento',
|
|
75
|
-
'en-US': 'No events',
|
|
76
|
-
'de-DE': 'Keine Ereignisse',
|
|
77
|
-
'sv-SE': 'Inga event',
|
|
78
|
-
'zh-CN': '沒有活動',
|
|
79
|
-
'pt-BR': 'Sem eventos',
|
|
80
|
-
'fr-FR': 'Aucun Evènement',
|
|
81
|
-
'th-TH': 'ไม่มีกิจกรรม',
|
|
82
|
-
'nl-NL': 'Geen evenementen',
|
|
83
|
-
'ru-RU': 'Нет событий',
|
|
84
|
-
'ar-YE': 'لا أحداث',
|
|
85
|
-
'es-ES': 'No hay eventos',
|
|
86
|
-
"ja-JP": "イベントなし",
|
|
87
|
-
"pl-PL": "Brak wydarzeń",
|
|
88
|
-
"hu-HU": "Nincs esemény",
|
|
89
|
-
},
|
|
90
|
-
};
|
|
76
|
+
noEvent: {
|
|
77
|
+
'it-IT': 'Nessun evento',
|
|
78
|
+
'en-US': 'No events',
|
|
79
|
+
'de-DE': 'Keine Ereignisse',
|
|
80
|
+
'sv-SE': 'Inga event',
|
|
81
|
+
'zh-CN': '沒有活動',
|
|
82
|
+
'pt-BR': 'Sem eventos',
|
|
83
|
+
'fr-FR': 'Aucun Evènement',
|
|
84
|
+
'th-TH': 'ไม่มีกิจกรรม',
|
|
85
|
+
'nl-NL': 'Geen evenementen',
|
|
86
|
+
'ru-RU': 'Нет событий',
|
|
87
|
+
'ar-YE': 'لا أحداث',
|
|
88
|
+
'es-ES': 'No hay eventos',
|
|
89
|
+
'ja-JP': 'イベントなし',
|
|
90
|
+
'pl-PL': 'Brak wydarzeń',
|
|
91
|
+
'hu-HU': 'Nincs esemény',
|
|
92
|
+
},
|
|
93
|
+
}
|
|
@@ -1,51 +1,47 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
--qalendar-light-gray: rgba(240 236 236 / 76%);
|
|
10
|
-
--qalendar-option-hover: var(--qalendar-light-gray);
|
|
2
|
+
/** Color */
|
|
3
|
+
--qalendar-gray-quite-dark: rgb(110 110 110);
|
|
4
|
+
--qalendar-gray: rgb(180 180 180);
|
|
5
|
+
--qalendar-green: rgb(51 182 121);
|
|
6
|
+
--qalendar-theme-color: var(--qalendar-blue);
|
|
7
|
+
--qalendar-light-gray: rgba(240 236 236 / 76%);
|
|
8
|
+
--qalendar-option-hover: var(--qalendar-light-gray);
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
--qalendar-dark-mode-elevated-surface: #383838;
|
|
11
|
+
--qalendar-dark-mode-lightly-elevated-surface: #2e2e2e;
|
|
12
|
+
--qalendar-dark-mode-text-primary: rgba(255 255 255 1);
|
|
13
|
+
--qalendar-dark-mode-text-secondary: rgba(255 255 255 0.7);
|
|
14
|
+
--qalendar-dark-mode-text-hint: rgba(255 255 255 0.5);
|
|
15
|
+
--qalendar-dark-mode-line-color: var(--qalendar-gray);
|
|
18
16
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
/** Borders */
|
|
18
|
+
--qalendar-border-gray-thin: 1px solid rgb(224 224 224);
|
|
19
|
+
--qalendar-border-dashed-gray-thin: 1px dashed rgb(224 224 224);
|
|
20
|
+
--qalendar-border-blue-thin: 1px solid var(--qalendar-theme-color);
|
|
21
|
+
--qalendar-border-radius: 8px;
|
|
24
22
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
/** Spacing */
|
|
24
|
+
--qalendar-spacing: 10px;
|
|
25
|
+
--qalendar-spacing-half: 5px;
|
|
26
|
+
--qalendar-spacing-double: 20px;
|
|
29
27
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
/** Miscellaneous */
|
|
29
|
+
--qalendar-box-shadow: 0 4px 4px rgba(0 0 0 / 6%), 0 1px 4px rgba(0 0 0 / 18%);
|
|
30
|
+
--qalendar-text-transition: color 0.2s ease;
|
|
31
|
+
--qalendar-week-padding-left: 56px;
|
|
34
32
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
--qalendar-font-l: 1.25rem;
|
|
42
|
-
--qalendar-font-xl: 1.5rem;
|
|
33
|
+
/** Font */
|
|
34
|
+
--qalendar-font-2xs: 10px;
|
|
35
|
+
--qalendar-font-xs: 12px;
|
|
36
|
+
--qalendar-font-s: 14px;
|
|
37
|
+
--qalendar-font-m: 16px;
|
|
38
|
+
--qalendar-font-l: 18px;
|
|
43
39
|
}
|
|
44
40
|
|
|
45
41
|
@media (min-width: 62rem) {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
42
|
+
.calendar-root {
|
|
43
|
+
--qalendar-spacing: 20px;
|
|
44
|
+
--qalendar-spacing-half: 10px;
|
|
45
|
+
--qalendar-spacing-double: 40px;
|
|
46
|
+
}
|
|
47
|
+
}
|