index int64 0 0 | repo_id stringlengths 16 181 | file_path stringlengths 28 270 | content stringlengths 1 11.6M | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore/cache/recurringCache.ts | import { RecurringCache, RecurringEventsCache } from '../interface';
export const removeEventFromRecurrenceInstances = (
uid: string,
recurrenceId: number,
recurringEvents: RecurringEventsCache,
eventID: string
) => {
const oldRecurringEvent = recurringEvents.get(uid);
if (!oldRecurringEvent) {... | 2,500 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore/cache/removeCalendarEventStoreRecord.ts | import {getIsRecurring, getRecurrenceIdDate, getUidValue} from '@proton/shared/lib/calendar/veventHelper';
import { APPS } from '@proton/shared/lib/constants';
import { postMessageFromIframe } from '@proton/shared/lib/drawer/helpers';
import { DRAWER_EVENTS } from '@proton/shared/lib/drawer/interfaces';
import { Opene... | 2,501 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore/cache/upsertCalendarApiEvent.ts | import { APPS } from '@proton/shared/lib/constants';
import { postMessageFromIframe } from '@proton/shared/lib/drawer/helpers';
import { DRAWER_EVENTS } from '@proton/shared/lib/drawer/interfaces';
import { CalendarEvent } from '@proton/shared/lib/interfaces/calendar';
import { OpenedMailEvent } from '../../../../hook... | 2,502 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore/cache/upsertCalendarApiEventWithoutBlobs.ts | import { pick } from '@proton/shared/lib/helpers/object';
import { CalendarEventWithoutBlob } from '@proton/shared/lib/interfaces/calendar';
import { CalendarEventsCache } from '../interface';
import getComponentFromCalendarEventWithoutBlob from './getComponentFromCalendarEventWithoutBlob';
import removeCalendarEventS... | 2,503 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore/cache/upsertCalendarEventInTree.ts | import { IntervalTree } from '../interface';
interface UpsertCalendarEventInTreeArguments {
oldStart?: number;
oldEnd?: number;
start: number;
end: number;
isOldRecurring: boolean;
id: string;
tree: IntervalTree;
}
const upsertCalendarEventInTree = ({
oldStart,
oldEnd,
isOldRec... | 2,504 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore/cache/upsertCalendarEventStoreRecord.spec.ts | import { getUnixTime } from 'date-fns';
import { ATTENDEE_STATUS_API } from '@proton/shared/lib/calendar/constants';
import { CalendarEvent, CalendarEventBlobData, CalendarEventSharedData } from '@proton/shared/lib/interfaces/calendar';
import { getHasUpdatedAttendees, getHasUpdatedEventData } from './upsertCalendarE... | 2,505 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore/cache/upsertCalendarEventStoreRecord.ts | import { getIsRecurring, getRecurrenceIdDate, getUidValue } from '@proton/shared/lib/calendar/veventHelper';
import { RequireSome, SimpleMap } from '@proton/shared/lib/interfaces';
import { Attendee, CalendarEvent, CalendarEventSharedData } from '@proton/shared/lib/interfaces/calendar';
import { getViewEventDateProper... | 2,506 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/eventStore/cache/upsertResponsesArray.ts | import { API_CODES } from '@proton/shared/lib/constants';
import {
SyncMultipleApiResponse,
SyncMultipleApiResponses,
UpdateEventPartApiResponse,
} from '@proton/shared/lib/interfaces/calendar';
import { OpenedMailEvent } from '../../../../hooks/useGetOpenedMailEvents';
import { UpdatePartstatOperation, Up... | 2,507 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/recurrence/createFutureRecurrence.spec.js | import { MAX_CHARS_API } from '@proton/shared/lib/calendar/constants';
import { getFutureRecurrenceUID } from './createFutureRecurrence';
describe('create future recurrence', () => {
it('should append a recurrence offset for short uids without previous offset', () => {
expect(
getFutureRecurre... | 2,508 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/recurrence/createFutureRecurrence.ts | import { getSupportedUID } from '@proton/shared/lib/calendar/helper';
import {getIsAllDay} from '@proton/shared/lib/calendar/veventHelper';
import { omit } from '@proton/shared/lib/helpers/object';
import { VcalVeventComponent } from '@proton/shared/lib/interfaces/calendar/VcalModel';
import { CalendarEventRecurring ... | 2,509 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/recurrence/createSingleRecurrence.ts | import { toExdate } from '@proton/shared/lib/calendar/exdate';
import { getPropertyTzid } from '@proton/shared/lib/calendar/vcalHelper';
import {getIsAllDay} from '@proton/shared/lib/calendar/veventHelper';
import { fromUTCDate } from '@proton/shared/lib/date/timezone';
import { omit } from '@proton/shared/lib/helpers/... | 2,510 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/recurrence/deleteFutureRecurrence.ts | import { getUntilProperty } from '@proton/shared/lib/calendar/vcalConverter';
import { getIsPropertyAllDay, getPropertyTzid } from '@proton/shared/lib/calendar/vcalHelper';
import { addDays } from '@proton/shared/lib/date-fns-utc';
import { fromUTCDate } from '@proton/shared/lib/date/timezone';
import { omit } from '@p... | 2,511 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/recurrence/deleteSingleRecurrence.ts | import { toExdate } from '@proton/shared/lib/calendar/exdate';
import { getIsPropertyAllDay, getPropertyTzid } from '@proton/shared/lib/calendar/vcalHelper';
import { fromUTCDate, toUTCDate } from '@proton/shared/lib/date/timezone';
import { VcalVeventComponent } from '@proton/shared/lib/interfaces/calendar/VcalModel';... | 2,512 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/recurrence/getDateTimeMerged.spec.js | import { getDateProperty, getDateTimeProperty } from '@proton/shared/lib/calendar/vcalConverter';
import { fromUTCDate } from '@proton/shared/lib/date/timezone';
import { getStartDateTimeMerged } from './getDateTimeMerged';
const d = (year = 2000, month = 1, date = 1, hours = 0, minutes = 0) =>
new Date(Date.UTC(... | 2,513 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/recurrence/getDateTimeMerged.ts | import {
getDateOrDateTimeProperty,
getDateProperty,
getDateTimeProperty,
} from '@proton/shared/lib/calendar/vcalConverter';
import { getIsPropertyAllDay } from '@proton/shared/lib/calendar/vcalHelper';
import { toUTCDate } from '@proton/shared/lib/date/timezone';
import { VcalDateOrDateTimeProperty } from... | 2,514 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/recurrence/helper.ts | import { getUntilProperty, propertyToUTCDate } from '@proton/shared/lib/calendar/vcalConverter';
import { getPropertyTzid } from '@proton/shared/lib/calendar/vcalHelper';
import {getIsAllDay} from '@proton/shared/lib/calendar/veventHelper';
import { toUTCDate } from '@proton/shared/lib/date/timezone';
import { VcalRrul... | 2,515 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/recurrence/updateAllRecurrence.spec.js | import { parse, serialize } from '@proton/shared/lib/calendar/vcal';
import { getDateOrDateTimeProperty } from '@proton/shared/lib/calendar/vcalConverter';
import { UpdateAllPossibilities } from '../eventActions/getRecurringUpdateAllPossibilities';
import updateAllRecurrence from './updateAllRecurrence';
const getRec... | 2,516 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/recurrence/updateAllRecurrence.ts | import { getDtendProperty } from '@proton/shared/lib/calendar/vcalConverter';
import { omit } from '@proton/shared/lib/helpers/object';
import { VcalVeventComponent } from '@proton/shared/lib/interfaces/calendar/VcalModel';
import { UpdateAllPossibilities } from '../eventActions/getRecurringUpdateAllPossibilities';
im... | 2,517 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/recurrence/updateSingleRecurrence.ts | import { omit } from '@proton/shared/lib/helpers/object';
import { VcalVeventComponent } from '@proton/shared/lib/interfaces/calendar/VcalModel';
const updateSingleRecurrence = (component: VcalVeventComponent): VcalVeventComponent => {
return omit(component, ['rrule', 'exdate']);
};
export default updateSingleRec... | 2,518 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/CalendarSearch.tsx | import { useEffect, useRef, useState } from 'react';
import { generateUID, usePopperAnchor } from '@proton/components';
import { useEncryptedSearchLibrary } from '../../EncryptedSearchLibraryProvider';
import CalendarSearchActivation from './CalendarSearchActivation';
import CalendarSearchInput from './CalendarSearch... | 2,519 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/CalendarSearchActivation.tsx | import { useEffect } from 'react';
import { c } from 'ttag';
import { Button } from '@proton/atoms/Button';
import { useEncryptedSearchLibrary } from '../../EncryptedSearchLibraryProvider';
import CalendarSearchProgress from './CalendarSearchProgress';
interface Props {
onClose: () => void;
}
const CalendarSea... | 2,520 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/CalendarSearchForm.tsx | import { Dispatch, SetStateAction } from 'react';
import { isAfter, isBefore } from 'date-fns';
import { c } from 'ttag';
import { Button } from '@proton/atoms/Button';
import { DateInput, Label, PrimaryButton } from '@proton/components/components';
import clsx from '@proton/utils/clsx';
import { useCalendarSearch }... | 2,521 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/CalendarSearchInput.spec.tsx | import { ComponentProps } from 'react';
import { render, screen, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import SpotlightProvider from '@proton/components/components/spotlight/Provider';
import { mockUseSpotlightOnFeature } from '@proton/testing/index';
import Ca... | 2,522 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/CalendarSearchInput.tsx | import { FormEvent, KeyboardEvent, MouseEvent, Ref, RefObject, forwardRef, useEffect, useRef } from 'react';
import { c } from 'ttag';
import { Button, Input } from '@proton/atoms';
import { Icon } from '@proton/components/components/icon';
import { ToolbarButton } from '@proton/components/components/toolbar';
impor... | 2,523 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/CalendarSearchProgress.tsx | import { c, msgid } from 'ttag';
import { Progress } from '@proton/components/components';
import { ESIndexingState } from '@proton/encrypted-search/lib';
import clsx from '@proton/utils/clsx';
const getProgressStatusText = ({
isEstimating,
isPaused,
current,
total,
}: {
isEstimating: boolean;
... | 2,524 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/CalendarSearchProvider.tsx | import {SimpleMap} from '@proton/shared/lib/interfaces';
import {
MutableRefObject,
ReactNode,
createContext,
useCallback,
useContext,
useEffect,
useRef,
useState,
} from 'react';
import { useHistory } from 'react-router-dom';
import { ESItem } from '@proton/encrypted-search/lib';
impor... | 2,525 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/CalendarSearchView.tsx | import React, { MouseEvent, MutableRefObject, useCallback, useEffect, useMemo, useState } from 'react';
import { getYear, isSameYear, startOfDay } from 'date-fns';
import { c } from 'ttag';
import { Button } from '@proton/atoms/Button';
import { Icon } from '@proton/components/components';
import { SkeletonLoader } f... | 2,526 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/CalendarSearchViewDayEvents.spec.tsx | import { render, screen, waitFor, within } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { mockUseAddresses } from '@proton/testing/index';
import CalendarSearchViewDayEvents from './CalendarSearchViewDayEvents';
import { VisualSearchItem } from './interface';
const daily... | 2,527 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/CalendarSearchViewDayEvents.tsx | import React, { MouseEvent } from 'react';
import { isSameDay } from 'date-fns';
import { useAddresses } from '@proton/components/hooks';
import { getDisplayTitle } from '@proton/shared/lib/calendar/helper';
import { format as formatUTC } from '@proton/shared/lib/date-fns-utc';
import { dateLocale } from '@proton/sha... | 2,528 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/CalendarSearchViewDayEvents.utils.tsx | import { ICAL_ATTENDEE_STATUS, ICAL_EVENT_STATUS } from '@proton/shared/lib/calendar/constants';
import { getSelfAddressData } from '@proton/shared/lib/calendar/deserialize';
import { getVeventStatus } from '@proton/shared/lib/calendar/vcalHelper';
import { Address } from '@proton/shared/lib/interfaces';
import { Visu... | 2,529 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/CalendarSearchViewYearSeparator.spec.tsx | import { render, screen } from '@testing-library/react';
import CalendarSearchViewYearSeparator from './CalendarSearchViewYearSeparator';
describe('CalendarSearchViewYearSeparator', () => {
it('should render line with correct year', () => {
render(<CalendarSearchViewYearSeparator year={2023} />);
... | 2,530 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/CalendarSearchViewYearSeparator.tsx | import React from 'react';
interface Props {
year: number;
}
const CalendarSearchViewYearSeparator = ({ year }: Props) => {
return (
<div className="border-bottom border-weak px-4 py-3">
<h3 className="text-rg text-no-bold">{year}</h3>
</div>
);
};
export default CalendarSearc... | 2,531 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/SearchOverlay.scss | @use 'sass:math';
@import '~@proton/styles/scss/lib';
$searchoverlay-breakpoint: em(1000, 16);
.overlay {
--min-width: 0;
--max-width: 100vw;
--max-height: 100vh;
position: fixed;
z-index: $layer-modals;
transform-origin: top center;
color: var(--text-norm);
animation: anime-dropdown-in 0.15s easing(ease-out... | 2,532 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/SearchOverlay.tsx | import {
AnimationEvent,
CSSProperties,
HTMLAttributes,
MouseEvent as ReactMouseEvent,
ReactNode,
RefObject,
useLayoutEffect,
useRef,
} from 'react';
import { c } from 'ttag';
import {
HotkeyTuple,
getCustomSizingClasses,
useDropdownArrowNavigation,
useFocusTrap,
us... | 2,533 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/SearchView.scss | @use 'sass:map';
@import '~@proton/styles/scss/lib';
// hardcoded media queries, need to be checked
.search {
&-result-line {
border-block-end: 1px solid var(--border-weak);
@include media('<=#{em(1000, 16)}') {
border: 0;
}
}
&-day-number {
font-variant-numeric: tabular-nums;
border: 1px solid tran... | 2,534 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/constants.ts | export const DEFAULT_MAX_ITEMS_PER_PAGE = 100;
export const YEARS_TO_EXPAND_AHEAD = {
YEARLY: 20,
OTHER: 3,
};
| 2,535 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/interface.ts | import { VisualCalendar } from '@proton/shared/lib/interfaces/calendar';
import { ESCalendarMetadata } from '../../../interfaces/encryptedSearch';
export type VisualSearchItem = ESCalendarMetadata & {
visualCalendar: VisualCalendar;
isAllDay: boolean;
plusDaysToEnd: number;
fakeUTCStartDate: Date;
... | 2,536 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/searchHelpers.spec.ts | import { getUnixTime } from 'date-fns';
import { ESItem } from '@proton/encrypted-search/lib';
import { MAXIMUM_DATE_UTC } from '@proton/shared/lib/calendar/constants';
import { SECOND } from '@proton/shared/lib/constants';
import { differenceInCalendarYears } from '@proton/shared/lib/date-fns-utc';
import { ESCalend... | 2,537 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/searchHelpers.ts | import { getUnixTime, isAfter, isBefore } from 'date-fns';
import { c, msgid } from 'ttag';
import { ESItem } from '@proton/encrypted-search/lib';
import { MAXIMUM_DATE_UTC } from '@proton/shared/lib/calendar/constants';
import { OccurrenceIterationCache, getOccurrencesBetween } from '@proton/shared/lib/calendar/recur... | 2,538 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/useCalendarSearchPagination.spec.ts | import { useHistory } from 'react-router-dom';
import { act, renderHook } from '@testing-library/react-hooks';
import { mockUseHistory } from '@proton/testing/index';
import { DEFAULT_MAX_ITEMS_PER_PAGE } from './constants';
import { VisualSearchItem } from './interface';
import { useCalendarSearchPagination } from ... | 2,539 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/calendar/search/useCalendarSearchPagination.ts | import { useEffect, useMemo, useRef, useState } from 'react';
import { useHistory } from 'react-router-dom';
import {
extractSearchParameters,
generatePathnameWithSearchParams,
parseSearchParams,
} from '../../../helpers/encryptedSearch/esUtils';
import { DEFAULT_MAX_ITEMS_PER_PAGE } from './constants';
im... | 2,540 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/settings/AskUpdateTimezoneModal.tsx | import { useState } from 'react';
import { c } from 'ttag';
import { Button } from '@proton/atoms';
import {
Checkbox,
Prompt,
useApi,
useCalendarUserSettings,
useEventManager,
useNotifications,
} from '@proton/components';
import { useLoading } from '@proton/hooks';
import { updateCalendarUse... | 2,541 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/setup/CalendarOnboardingContainer.tsx | import CalendarOnboardingModal from '../../components/onboarding/CalendarOnboardingModal';
import DummyCalendarContainerView from '../calendar/DummyCalendarContainerView';
interface Props {
onDone: () => void;
}
const CalendarOnboardingContainer = ({ onDone }: Props) => {
return (
<>
<Dumm... | 2,542 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/setup/CalendarReactivateSection.tsx | import { c } from 'ttag';
import { Alert } from '@proton/components';
import { VisualCalendar } from '@proton/shared/lib/interfaces/calendar';
import CalendarTableRows from './CalendarTableRows';
interface Props {
calendarsToReactivate: VisualCalendar[];
}
const CalendarReactivateSection = ({ calendarsToReactiva... | 2,543 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/setup/CalendarResetSection.tsx | import { useState } from 'react';
import { c } from 'ttag';
import { Href } from '@proton/atoms';
import { Collapsible, CollapsibleContent, CollapsibleHeader, CollapsibleHeaderIconButton, Icon } from '@proton/components';
import CalendarSelectIcon from '@proton/components/components/calendarSelect/CalendarSelectI... | 2,544 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/setup/CalendarSetupContainer.tsx | import { useEffect, useState } from 'react';
import {
LoaderPage,
StandardLoadErrorPage,
useApi,
useCache,
useEventManager,
useGetAddressKeys,
useGetAddresses,
} from '@proton/components';
import { useGetHolidaysDirectory } from '@proton/components/containers/calendar/hooks/useHolidaysDirec... | 2,545 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/setup/CalendarTableRows.tsx | import { c } from 'ttag';
import { Table, TableBody, TableHeader, TableRow } from '@proton/components';
import { VisualCalendar } from '@proton/shared/lib/interfaces/calendar';
import CalendarIcon from '../../components/CalendarIcon';
const CalendarTableRow = ({ Name, Color }: VisualCalendar) => {
return (
... | 2,546 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/setup/UnlockCalendarsContainer.tsx | import { getPersonalCalendars } from '@proton/shared/lib/calendar/calendar';
import { VIEWS } from '@proton/shared/lib/calendar/constants';
import { VisualCalendar } from '@proton/shared/lib/interfaces/calendar';
import DummyCalendarContainerView from '../calendar/DummyCalendarContainerView';
import UnlockCalendarsMod... | 2,547 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/containers/setup/UnlockCalendarsModal.tsx | import { useEffect } from 'react';
import { c } from 'ttag';
import { Button, ButtonLike } from '@proton/atoms/Button';
import {
GenericError,
ModalTwo as Modal,
ModalTwoContent as ModalContent,
ModalTwoFooter as ModalFooter,
ModalTwoHeader as ModalHeader,
PrimaryButton,
Prompt,
Settin... | 2,548 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/content/PrivateApp.tsx | import {
FeatureCode,
LoaderPage,
StandardPrivateApp,
useApi,
useAppTitle,
useDrawer,
useDrawerParent,
} from '@proton/components';
import { useGetHolidaysDirectory } from '@proton/components/containers/calendar/hooks/useHolidaysDirectory';
import { getSilentApi } from '@proton/shared/lib/ap... | 2,549 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/attendees.test.ts | import { SimpleMap } from '@proton/shared/lib/interfaces';
import { ContactEmail } from '@proton/shared/lib/interfaces/contacts';
import { DisplayNameEmail } from '../containers/calendar/interface';
import { getOrganizerDisplayData } from './attendees';
const generateDummyContactEmail = ({
email,
name,
co... | 2,550 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/attendees.ts | import { c } from 'ttag';
import { apiNotificationsToModel } from '@proton/shared/lib/calendar/alarms/notificationsToModel';
import { ICAL_ATTENDEE_STATUS } from '@proton/shared/lib/calendar/constants';
import { canonicalizeEmail, canonicalizeEmailByGuess } from '@proton/shared/lib/helpers/email';
import { CalendarSet... | 2,551 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/color.ts | import { CSSProperties } from 'react';
import tinycolor from 'tinycolor2';
import { genAccentShades } from '@proton/colors';
import { COLORS } from '@proton/shared/lib/calendar/constants';
export const getEventStyle = (backgroundColor = '', style: CSSProperties = {}) => {
const [base, alt] = genAccentShades(tiny... | 2,552 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/date.ts | import {
convertUTCDateTimeToZone,
convertZonedDateTimeToUTC,
fromUTCDate,
toUTCDate,
} from '@proton/shared/lib/date/timezone';
/**
* Given a date, if we are to display a single time zone offset for the whole day,
* we pick the UTC offset at noon. DST changes usually happens at 2:00,
* so the offse... | 2,553 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/event.test.ts | import { MAX_ATTENDEES } from '@proton/shared/lib/calendar/constants';
import { ADDRESS_SEND } from '@proton/shared/lib/constants';
import { addressBuilder } from '@proton/testing/lib/builders';
import {
getCanChangeCalendarOfEvent,
getCanDeleteEvent,
getCanDuplicateEvent,
getCanEditEvent,
getCanEd... | 2,554 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/event.ts | import { ICAL_ATTENDEE_STATUS, ICAL_EVENT_STATUS } from '@proton/shared/lib/calendar/constants';
import { getIsAddressActive } from '@proton/shared/lib/helpers/address';
import { Address } from '@proton/shared/lib/interfaces';
import { EventModelReadView } from '@proton/shared/lib/interfaces/calendar';
import { getPar... | 2,555 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/i18n.ts | import { c } from 'ttag';
import { VIEWS } from '@proton/shared/lib/calendar/constants';
const { DAY, WEEK, MONTH, YEAR, AGENDA, CUSTOM, MAIL, DRIVE, SEARCH } = VIEWS;
export const getNavigationArrowsText = (view: VIEWS) => {
const dayText = {
previous: c('Action').t`Previous day`,
next: c('Actio... | 2,556 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/invite.ts | import { getAttendeeEmail } from '@proton/shared/lib/calendar/attendees';
import { VcalVeventComponent } from '@proton/shared/lib/interfaces/calendar';
import { INVITE_ACTION_TYPES, InviteActions } from '../interfaces/Invite';
const { SEND_INVITATION, SEND_UPDATE, CHANGE_PARTSTAT, DECLINE_INVITATION, CANCEL_INVITATIO... | 2,557 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/time.ts | export const millisecondsToSeconds = (ms: number) => ~~(ms / 1000);
export const secondsToMilliseconds = (s: number) => s * 1000;
| 2,558 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/timezoneSuggestion.ts | import { getSHA256String } from '@proton/shared/lib/helpers/crypto';
const DAY_IN_MILLISECONDS = 86400000;
const LOCALSTORAGE_TZ_KEY = 'tzSuggestion';
export const getTimezoneSuggestionKey = async (userID: string) => {
return getSHA256String(`${LOCALSTORAGE_TZ_KEY}${userID}`);
};
export const getLastTimezoneSugg... | 2,559 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/views.ts | import { VIEWS } from '@proton/shared/lib/calendar/constants';
import { SUPPORTED_VIEWS_IN_DRAWER } from '../containers/calendar/constants';
import { VIEW_URL_PARAMS_VIEWS_CONVERSION } from '../containers/calendar/getUrlHelper';
export const getIsCalendarAppInDrawer = (view?: VIEWS) => {
return view ? SUPPORTED_V... | 2,560 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/encryptedSearch/calendarESCallbacks.tsx | import { History } from 'history';
import {
CachedItem,
ESCallbacks,
ESItemInfo,
ESStatusBooleans,
ES_MAX_CONCURRENT,
ES_MAX_ITEMS_PER_BATCH,
EventsObject,
RecordProgress,
checkVersionedESDB,
esSentryReport,
metadataIndexingProgress,
normalizeKeyword,
storeItemsMetad... | 2,561 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/encryptedSearch/constants.ts | export const CALENDAR_CORE_LOOP = 'core';
export const MIN_EVENT_BATCH = 20;
export const MAX_EVENT_BATCH = 100;
| 2,562 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/encryptedSearch/esUtils.ts | import { Location } from 'history';
import { CryptoProxy } from '@proton/crypto';
import {
CachedItem,
ESEvent,
ESItemEvent,
ES_MAX_CONCURRENT,
ES_MAX_ITEMS_PER_BATCH,
ES_SYNC_ACTIONS,
EncryptedItemWithInfo,
EventsObject,
apiHelper,
decryptFromDB,
normalizeKeyword,
readA... | 2,563 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/test/NotificationsTestProvider.tsx | import React, { useRef, useState } from 'react';
import NotificationsContainer from '@proton/components/containers/notifications/Container';
import { Notification } from '@proton/components/containers/notifications/interfaces';
import createNotificationManager from '@proton/components/containers/notifications/manager'... | 2,564 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/helpers/test/render.tsx | import { ReactElement, ReactNode } from 'react';
import * as React from 'react';
import { Router } from 'react-router';
import { render as originalRender } from '@testing-library/react';
import { renderHook as originalRenderHook } from '@testing-library/react-hooks';
import { createMemoryHistory } from 'history';
imp... | 2,565 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/hooks/observeRect.ts | export interface Rect {
width: number;
height: number;
top: number;
right: number;
bottom: number;
left: number;
}
type Callback = (rect: Rect) => void;
const props = ['width', 'height', 'top', 'right', 'bottom', 'left'];
const rectChanged = (a: any = {}, b: any = {}) => props.some((prop) => ... | 2,566 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/hooks/useCalendarFavicon.ts | import { useDynamicFavicon } from '@proton/components/hooks';
import useDynamicMonthDay from '@proton/components/hooks/useDynamicMonthDay';
import favicons from '../../assets/favicons';
const useCalendarFavicon = () => {
const monthDay = useDynamicMonthDay();
useDynamicFavicon(favicons[monthDay]);
};
export ... | 2,567 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/hooks/useGetOpenedMailEvents.tsx | import { useCallback, useEffect, useRef } from 'react';
import { VIEWS } from '@proton/shared/lib/calendar/constants';
import { APPS } from '@proton/shared/lib/constants';
import { getIsDrawerPostMessage, postMessageFromIframe } from '@proton/shared/lib/drawer/helpers';
import { DRAWER_EVENTS } from '@proton/shared/li... | 2,568 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/hooks/useOpenCalendarEvents.tsx | import { Dispatch, SetStateAction, useCallback } from 'react';
import { getDateOrDateTimeProperty, propertyToUTCDate } from '@proton/shared/lib/calendar/vcalConverter';
import { startOfDay } from '@proton/shared/lib/date-fns-utc';
import {
convertUTCDateTimeToZone,
fromUTCDate,
fromUTCDateToLocalFakeUTCDat... | 2,569 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/hooks/useOpenEvent.ts | import {getRecurrenceIdDate} from '@proton/shared/lib/calendar/veventHelper';
import { useCallback } from 'react';
import { getUnixTime } from 'date-fns';
import { useApi, useCache } from '@proton/components';
import { getEvent, updateMember } from '@proton/shared/lib/api/calendars';
import { MAXIMUM_DATE, MINIMUM_DA... | 2,570 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/hooks/useOpenEventsFromMail.tsx | import { Dispatch, SetStateAction, useCallback, useEffect } from 'react';
import { c } from 'ttag';
import { useCalendarModelEventManager, useNotifications } from '@proton/components';
import { getIsDrawerPostMessage } from '@proton/shared/lib/drawer/helpers';
import { DRAWER_EVENTS } from '@proton/shared/lib/drawer/... | 2,571 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/hooks/useRect.ts | import { useLayoutEffect, useState } from 'react';
import observeRect, { Rect } from './observeRect';
export function useRect(nodeRef: HTMLElement | null, observe = true, once = false, dependency?: any) {
const [rect, setRect] = useState<Rect | undefined>(undefined);
useLayoutEffect(() => {
if (!node... | 2,572 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/interfaces/CalendarEvents.ts | export interface CalendarEventRecurring {
occurrenceNumber: number;
localStart: Date;
localEnd: Date;
isSingleOccurrence: boolean;
}
| 2,573 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/interfaces/EventData.ts | import { CalendarEvent } from '@proton/shared/lib/interfaces/calendar';
import { VcalVeventComponent } from '@proton/shared/lib/interfaces/calendar/VcalModel';
export interface EventTargetData {
calendarID: string;
memberID: string;
addressID: string;
}
export interface EventNewData extends EventTargetDat... | 2,574 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/interfaces/EventInternalProperties.ts | export interface EventInternalProperties {
Permissions: number;
IsOrganizer: 1 | 0;
IsProtonProtonInvite: 1 | 0;
}
| 2,575 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/interfaces/Invite.ts | import { ICAL_ATTENDEE_STATUS, RECURRING_TYPES } from '@proton/shared/lib/calendar/constants';
import { Address } from '@proton/shared/lib/interfaces';
import { CalendarEvent, VcalAttendeeProperty, VcalVeventComponent } from '@proton/shared/lib/interfaces/calendar';
import { SimpleMap } from '@proton/shared/lib/interfa... | 2,576 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/interfaces/encryptedSearch.ts | import { EncryptedSearchFunctions } from '@proton/encrypted-search';
import {
AttendeeModel,
CalendarEventMetadata,
CalendarEventSharedData,
OrganizerModel,
VcalAttendeeProperty,
VcalOrganizerProperty,
} from '@proton/shared/lib/interfaces/calendar';
export interface ESOrganizerModel extends Pi... | 2,577 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/styles/_aside.scss | @import '~@proton/styles/scss/lib';
.calendar-aside {
inline-size: $calendar-aside-width;
font-size: rem(10);
}
.calendar-primary-timezone-cell,
.calendar-secondary-timezone-cell {
border-inline: 1px solid var(--border-norm);
background-color: var(--background-weak);
&--header {
border-block-start: 1px solid ... | 2,578 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/styles/_config.scss | @import '~@proton/styles/scss/lib';
$calendar-aside-width: rem(60) !default;
$calendar-hour-height: rem(48) !default;
$calendar-grid-border: 1px solid var(--border-weak);
$calendar-gridcell-margin: rem(10) !default;
$calendar-gridcell-gutter: rem(3) !default;
| 2,579 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/styles/_daygrid.scss | .calendar-daygrid {
min-block-size: rem(410);
@include media('print') {
min-block-size: rem(700);
}
&-weeknumber {
border-block-end: $calendar-grid-border;
border-inline-end: $calendar-grid-border;
background-color: var(--background-weak);
&-width {
inline-size: rem(25);
}
}
&-row,
&-days {
... | 2,580 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/styles/_debug.scss | // fix for Safari mobile shitty way to handle vh unit
.is-day-view,
.is-week-view,
.is-month-view {
.calendar-time-grid::after {
content: '';
display: flex;
inline-size: 100%;
block-size: 5em;
}
}
@include media('<=small') {
.is-day-view,
.is-week-view,
.is-month-view {
.calendar-time-grid::after {
p... | 2,581 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/styles/_dropzone.scss | @import '~@proton/styles/scss/lib';
.main-dropzone {
&-image {
margin-block-end: rem(40);
}
&-heading {
margin-block-end: rem(8);
}
}
| 2,582 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/styles/_eventcell.scss | /*
Appearance factorization
*/
.calendar-dayeventcell,
.calendar-eventcell {
--opacity: 1;
}
.calendar-dayeventcell-inner,
.calendar-eventcell {
border: solid rgb(0 0 0 / 0.2);
border-block-start-width: 1px;
border-block-end-width: 1px;
border-inline-start-width: 5px;
border-inline-end-width: 1px;
padding-bl... | 2,583 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/styles/_eventpopover.scss | @import '~@proton/styles/scss/lib';
.eventpopover {
position: absolute;
z-index: $layer-floating-frames;
transform-origin: 50%;
padding: rem(24);
overflow: auto;
background: var(--background-norm);
color: var(--text-norm);
animation: eventpopoverIn ease 0.15s;
animation-fill-mode: both;
@include media('<=sm... | 2,584 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/styles/_grid.scss | .calendar-grid {
&-heading {
color: var(--text-norm);
font-weight: var(--font-weight-semibold);
@include media('>small') {
flex-wrap: nowrap;
}
@include media('>small', '<large') {
padding-inline: 0;
}
&-day {
@include media('<=small') {
inline-size: 100%;
}
@include media('>small'... | 2,585 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/styles/_loader-container.scss | .calendar-loader-container {
@extend .notifications-container;
position: absolute;
z-index: $layer-upper;
inset-block-start: em(160);
inset-block-end: unset;
inset-inline-start: 50%;
@include media('>small') {
inset-block-start: em(140);
}
.notification {
--top-custom: 0;
}
}
| 2,586 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/styles/_monthgrid.scss | .calendar-monthgrid {
&-day {
color: var(--text-norm);
&-number {
display: inline-flex;
inline-size: 1.75em;
block-size: 1.75em;
border-radius: var(--border-radius-md);
border: 1px solid transparent;
transition: 0.15s easing(ease-out-quint);
}
&:hover &-number,
&:focus &-number {
backg... | 2,587 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app | petrpan-code/ProtonMail/WebClients/applications/calendar/src/app/styles/_specifics.scss | @import '~@proton/styles/scss/lib';
.calendar-fullday-row {
border-block-end: $calendar-grid-border;
padding-block-end: $calendar-gridcell-gutter;
.calendar-aside {
margin-block-end: -$calendar-gridcell-gutter;
}
}
.calendar-row-heading {
z-index: 1;
> div {
padding-inline-end: rem(11);
}
}
.calendar-fi... | 2,588 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets/favicons/favicon-calendar-dynamic-1.svg | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#fff" d="M6 5h10v7.5a2.5 2.5 0 0 1-2.5 2.5H6V5Z" />
<path
fill="url(#a)"
fill-rule="evenodd"
d="M0 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3Z"
cli... | 2,589 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets/favicons/favicon-calendar-dynamic-10.svg | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#fff" d="M6 5h10v7.5a2.5 2.5 0 0 1-2.5 2.5H6V5Z" />
<path
fill="url(#a)"
fill-rule="evenodd"
d="M0 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3Z"
cli... | 2,590 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets/favicons/favicon-calendar-dynamic-11.svg | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#fff" d="M6 5h10v7.5a2.5 2.5 0 0 1-2.5 2.5H6V5Z" />
<path
fill="url(#a)"
fill-rule="evenodd"
d="M0 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3Z"
cli... | 2,591 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets/favicons/favicon-calendar-dynamic-12.svg | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#fff" d="M6 5h10v7.5a2.5 2.5 0 0 1-2.5 2.5H6V5Z" />
<path
fill="url(#a)"
fill-rule="evenodd"
d="M0 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3Z"
cli... | 2,592 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets/favicons/favicon-calendar-dynamic-13.svg | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#fff" d="M6 5h10v7.5a2.5 2.5 0 0 1-2.5 2.5H6V5Z" />
<path
fill="url(#a)"
fill-rule="evenodd"
d="M0 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3Z"
cli... | 2,593 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets/favicons/favicon-calendar-dynamic-14.svg | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#fff" d="M6 5h10v7.5a2.5 2.5 0 0 1-2.5 2.5H6V5Z" />
<path
fill="url(#a)"
fill-rule="evenodd"
d="M0 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3Z"
cli... | 2,594 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets/favicons/favicon-calendar-dynamic-15.svg | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#fff" d="M6 5h10v7.5a2.5 2.5 0 0 1-2.5 2.5H6V5Z" />
<path
fill="url(#a)"
fill-rule="evenodd"
d="M0 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3Z"
cli... | 2,595 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets/favicons/favicon-calendar-dynamic-16.svg | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#fff" d="M6 5h10v7.5a2.5 2.5 0 0 1-2.5 2.5H6V5Z" />
<path
fill="url(#a)"
fill-rule="evenodd"
d="M0 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3Z"
cli... | 2,596 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets/favicons/favicon-calendar-dynamic-17.svg | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#fff" d="M6 5h10v7.5a2.5 2.5 0 0 1-2.5 2.5H6V5Z" />
<path
fill="url(#a)"
fill-rule="evenodd"
d="M0 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3Z"
cli... | 2,597 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets/favicons/favicon-calendar-dynamic-18.svg | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#fff" d="M6 5h10v7.5a2.5 2.5 0 0 1-2.5 2.5H6V5Z" />
<path
fill="url(#a)"
fill-rule="evenodd"
d="M0 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3Z"
cli... | 2,598 |
0 | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets | petrpan-code/ProtonMail/WebClients/applications/calendar/src/assets/favicons/favicon-calendar-dynamic-19.svg | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#fff" d="M6 5h10v7.5a2.5 2.5 0 0 1-2.5 2.5H6V5Z" />
<path
fill="url(#a)"
fill-rule="evenodd"
d="M0 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3Z"
cli... | 2,599 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.