@redvars/peacock 4.4.0 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseField-Cj2rNVeC.js → BaseField-BbOj212R.js} +3 -3
- package/dist/{BaseField-Cj2rNVeC.js.map → BaseField-BbOj212R.js.map} +1 -1
- package/dist/{BaseInput-CSOLv2-i.js → BaseInput-Cv03GZLu.js} +2 -2
- package/dist/{BaseInput-CSOLv2-i.js.map → BaseInput-Cv03GZLu.js.map} +1 -1
- package/dist/ai-badge.js +2 -2
- package/dist/ai-summary.js +2 -2
- package/dist/alert.js +2 -2
- package/dist/anchor-nav.js +2 -2
- package/dist/app-shell.js +2 -2
- package/dist/assistant-panel.js +2 -2
- package/dist/assistant-step.js +2 -2
- package/dist/assistant-steps.js +2 -2
- package/dist/avatar-group.js +2 -2
- package/dist/banner.js +2 -2
- package/dist/{base-progress-DduJjUeq.js → base-progress-CqsyiVOV.js} +2 -2
- package/dist/{base-progress-DduJjUeq.js.map → base-progress-CqsyiVOV.js.map} +1 -1
- package/dist/bottom-sheet.js +2 -2
- package/dist/breadcrumb.js +2 -2
- package/dist/calendar-column-view.js +648 -30
- package/dist/calendar-column-view.js.map +1 -1
- package/dist/calendar-drag-IXMPZrTN.js +344 -0
- package/dist/calendar-drag-IXMPZrTN.js.map +1 -0
- package/dist/{calendar-event-_OYdAT3c.js → calendar-event-BQChlMXy.js} +15 -4
- package/dist/calendar-event-BQChlMXy.js.map +1 -0
- package/dist/calendar-header-DVrfThwr.js +59 -0
- package/dist/calendar-header-DVrfThwr.js.map +1 -0
- package/dist/calendar-month-view.js +311 -21
- package/dist/calendar-month-view.js.map +1 -1
- package/dist/calendar-timeline.js +1877 -0
- package/dist/calendar-timeline.js.map +1 -0
- package/dist/calendar.js +224 -62
- package/dist/calendar.js.map +1 -1
- package/dist/{canvas-base-Bfpv5_HJ.js → canvas-base-BjiU3Ecl.js} +2 -2
- package/dist/{canvas-base-Bfpv5_HJ.js.map → canvas-base-BjiU3Ecl.js.map} +1 -1
- package/dist/carousel.js +2 -2
- package/dist/{cartesian-chart-SnqFbbXV.js → cartesian-chart-iE3cmeGF.js} +2 -2
- package/dist/{cartesian-chart-SnqFbbXV.js.map → cartesian-chart-iE3cmeGF.js.map} +1 -1
- package/dist/{cb-group-base-DZIzMlen.js → cb-group-base-CWctDJvy.js} +2 -2
- package/dist/{cb-group-base-DZIzMlen.js.map → cb-group-base-CWctDJvy.js.map} +1 -1
- package/dist/cb-group.js +3 -3
- package/dist/cb-rule.js +3 -3
- package/dist/chart-area.js +4 -4
- package/dist/chart-bar.js +4 -4
- package/dist/{chart-base-C2N0WQLI.js → chart-base-CDyVDmz7.js} +2 -2
- package/dist/{chart-base-C2N0WQLI.js.map → chart-base-CDyVDmz7.js.map} +1 -1
- package/dist/chart-doughnut.js +3 -3
- package/dist/chart-line.js +4 -4
- package/dist/chart-pie.js +3 -3
- package/dist/chat-event.js +2 -2
- package/dist/chat-message.js +2 -2
- package/dist/chat-thread.js +2 -2
- package/dist/checkbox-group.js +3 -3
- package/dist/checkbox.js +3 -3
- package/dist/chip-set.js +2 -2
- package/dist/chip.js +2 -2
- package/dist/circular-progress.js +3 -3
- package/dist/citation.js +2 -2
- package/dist/code-editor.js +3 -3
- package/dist/code-highlighter.js +2 -2
- package/dist/color-field.js +4 -4
- package/dist/color-picker.js +2 -2
- package/dist/command-palette.js +2 -2
- package/dist/comment-composer.js +4 -4
- package/dist/condition-builder.js +3 -3
- package/dist/confirm-dialog.js +2 -2
- package/dist/copy-button.js +2 -2
- package/dist/currency-field.js +4 -4
- package/dist/custom-elements-jsdocs.json +52 -129
- package/dist/custom-elements.json +3109 -5
- package/dist/{date-vFrYT1S9.js → date-cfPx3alz.js} +20 -3
- package/dist/date-cfPx3alz.js.map +1 -0
- package/dist/date-field.js +8 -8
- package/dist/date-picker.js +4 -4
- package/dist/date-range-field.js +8 -8
- package/dist/datetime-field.js +7 -7
- package/dist/dependency-map.js +3 -3
- package/dist/description-item.js +2 -2
- package/dist/description-list.js +2 -2
- package/dist/{diagram-W_Kddt7I.js → diagram-D2aM93kf.js} +2 -2
- package/dist/{diagram-W_Kddt7I.js.map → diagram-D2aM93kf.js.map} +1 -1
- package/dist/diagram-controls.js +2 -2
- package/dist/diagram-minimap.js +2 -2
- package/dist/diagram.js +4 -4
- package/dist/diff-viewer.js +2 -2
- package/dist/discussion-activity.js +2 -2
- package/dist/discussion-comment.js +2 -2
- package/dist/discussion.js +4 -4
- package/dist/{document-editor-dBgmcyUW.js → document-editor-BS6al7Hq.js} +2 -2
- package/dist/{document-editor-dBgmcyUW.js.map → document-editor-BS6al7Hq.js.map} +1 -1
- package/dist/document-editor.js +3 -3
- package/dist/draft-card.js +2 -2
- package/dist/erd.js +3 -3
- package/dist/{event-manager-CWAWPOUE.js → event-manager-KGMT2x2Q.js} +10 -8
- package/dist/event-manager-KGMT2x2Q.js.map +1 -0
- package/dist/file-upload.js +3 -3
- package/dist/filter-bar.js +4 -4
- package/dist/flow.js +4 -4
- package/dist/form.js +2 -2
- package/dist/{generative-view-CfW6yMpY.js → generative-view-DsSOPf26.js} +2 -2
- package/dist/{generative-view-CfW6yMpY.js.map → generative-view-DsSOPf26.js.map} +1 -1
- package/dist/generative-view.js +3 -3
- package/dist/html-editor.js +4 -4
- package/dist/{i18n-controller-DNAjVSIP.js → i18n-controller-BTeChxE0.js} +2 -2
- package/dist/{i18n-controller-DNAjVSIP.js.map → i18n-controller-BTeChxE0.js.map} +1 -1
- package/dist/image.js +2 -2
- package/dist/index.js +26 -23
- package/dist/index.js.map +1 -1
- package/dist/inline-edit.js +2 -2
- package/dist/input.js +3 -3
- package/dist/json-viewer.js +2 -2
- package/dist/kanban.js +2 -2
- package/dist/kbd.js +2 -2
- package/dist/linear-progress.js +3 -3
- package/dist/listbox.js +2 -2
- package/dist/loader-full.js +13 -13
- package/dist/loader.js +17 -13
- package/dist/loader.js.map +1 -1
- package/dist/markdown-editor.js +4 -4
- package/dist/mention-input.js +4 -4
- package/dist/modal.js +2 -2
- package/dist/navigation-bar.js +2 -2
- package/dist/navigation-drawer.js +2 -2
- package/dist/navigation-rail.js +2 -2
- package/dist/notification-center.js +2 -2
- package/dist/number-field.js +4 -4
- package/dist/page-header.js +2 -2
- package/dist/pagination.js +2 -2
- package/dist/password-field.js +4 -4
- package/dist/password-rules.js +2 -2
- package/dist/phone-field.js +4 -4
- package/dist/{picker-field-Mi7_hbo8.js → picker-field-DmXYPvbF.js} +3 -3
- package/dist/{picker-field-Mi7_hbo8.js.map → picker-field-DmXYPvbF.js.map} +1 -1
- package/dist/pin-input.js +4 -4
- package/dist/presence-indicator.js +2 -2
- package/dist/prompt-input.js +4 -4
- package/dist/radio.js +3 -3
- package/dist/{range-utils-BoKOhxVX.js → range-utils-DZe96GnO.js} +2 -2
- package/dist/{range-utils-BoKOhxVX.js.map → range-utils-DZe96GnO.js.map} +1 -1
- package/dist/rating.js +3 -3
- package/dist/redvars-loader.js +2 -2
- package/dist/relative-time.js +2 -2
- package/dist/resizable-panels.js +2 -2
- package/dist/{rich-text-input-O1ku1q-J.js → rich-text-input-BCZ46UF8.js} +3 -3
- package/dist/{rich-text-input-O1ku1q-J.js.map → rich-text-input-BCZ46UF8.js.map} +1 -1
- package/dist/{schema-BWH1ANdE.js → schema-D0PCeIEA.js} +2 -2
- package/dist/{schema-BWH1ANdE.js.map → schema-D0PCeIEA.js.map} +1 -1
- package/dist/search.js +3 -3
- package/dist/select.js +4 -4
- package/dist/side-sheet.js +2 -2
- package/dist/signature-pad.js +3 -3
- package/dist/site-header.js +2 -2
- package/dist/slider.js +3 -3
- package/dist/snackbar.js +2 -2
- package/dist/sparkline.js +2 -2
- package/dist/split-button.js +2 -2
- package/dist/src/__internal/i18n/strings.d.ts +16 -0
- package/dist/src/__internal/utils/date.d.ts +5 -0
- package/dist/src/calendar/base-event.d.ts +5 -0
- package/dist/src/calendar/calendar-column-view.d.ts +65 -1
- package/dist/src/calendar/calendar-drag.d.ts +91 -0
- package/dist/src/calendar/calendar-header.d.ts +28 -0
- package/dist/src/calendar/calendar-month-view.d.ts +39 -1
- package/dist/src/calendar/calendar.d.ts +83 -6
- package/dist/src/calendar/index.d.ts +2 -2
- package/dist/src/calendar/types.d.ts +32 -0
- package/dist/src/calendar/utils.d.ts +53 -0
- package/dist/src/calendar-timeline/calendar-timeline.d.ts +287 -0
- package/dist/src/calendar-timeline/index.d.ts +3 -0
- package/dist/src/calendar-timeline/layout.d.ts +39 -0
- package/dist/src/calendar-timeline/types.d.ts +60 -0
- package/dist/src/index.d.ts +4 -2
- package/dist/stat.js +2 -2
- package/dist/status-indicator.js +2 -2
- package/dist/step.js +2 -2
- package/dist/stepper.js +2 -2
- package/dist/{strings-BpCoUL0V.js → strings-DeiQWMd9.js} +18 -1
- package/dist/strings-DeiQWMd9.js.map +1 -0
- package/dist/svg.js +2 -2
- package/dist/switch.js +3 -3
- package/dist/table.js +2 -2
- package/dist/test/calendar-timeline.test.d.ts +1 -0
- package/dist/textarea.js +4 -4
- package/dist/time-field.js +7 -7
- package/dist/time-picker.js +4 -4
- package/dist/timeline-item.js +2 -2
- package/dist/timeline.js +2 -2
- package/dist/{toggle-base-BRNNka2o.js → toggle-base-BtjRAZ5z.js} +2 -2
- package/dist/{toggle-base-BRNNka2o.js.map → toggle-base-BtjRAZ5z.js.map} +1 -1
- package/dist/tour.js +2 -2
- package/dist/transfer-list.js +3 -3
- package/dist/tree-chart.js +3 -3
- package/dist/tree-item.js +2 -2
- package/dist/tree.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/typing-indicator.js +2 -2
- package/dist/url-field.js +4 -4
- package/dist/user-menu.js +2 -2
- package/dist/{utils-D92ldd1V.js → utils-DcvLgexs.js} +116 -19
- package/dist/utils-DcvLgexs.js.map +1 -0
- package/dist/{video-DBdRuyh4.js → video-DPjOBk6I.js} +2 -2
- package/dist/{video-DBdRuyh4.js.map → video-DPjOBk6I.js.map} +1 -1
- package/dist/video.js +3 -3
- package/dist/virtual-list.js +2 -2
- package/dist/workflow-timeline.js +2 -2
- package/dist/workflow.js +3 -3
- package/dist/workspace-switcher.js +2 -2
- package/package.json +1 -1
- package/readme.md +1 -0
- package/src/__internal/i18n/strings.ts +25 -0
- package/src/__internal/utils/date.ts +19 -0
- package/src/calendar/_calendar-header.scss +33 -0
- package/src/calendar/base-event.ts +19 -2
- package/src/calendar/calendar-column-view.scss +174 -2
- package/src/calendar/calendar-column-view.ts +665 -37
- package/src/calendar/calendar-drag.ts +403 -0
- package/src/calendar/calendar-header.ts +78 -0
- package/src/calendar/calendar-month-view.scss +89 -0
- package/src/calendar/calendar-month-view.ts +289 -23
- package/src/calendar/calendar.scss +2 -27
- package/src/calendar/calendar.ts +264 -62
- package/src/calendar/event-manager.ts +11 -7
- package/src/calendar/index.ts +8 -2
- package/src/calendar/types.ts +35 -0
- package/src/calendar/utils.ts +160 -20
- package/src/calendar-timeline/calendar-timeline.scss +554 -0
- package/src/calendar-timeline/calendar-timeline.ts +1528 -0
- package/src/calendar-timeline/index.ts +14 -0
- package/src/calendar-timeline/layout.ts +129 -0
- package/src/calendar-timeline/types.ts +65 -0
- package/src/index.ts +18 -0
- package/src/loader.ts +4 -0
- package/dist/calendar-event-_OYdAT3c.js.map +0 -1
- package/dist/date-vFrYT1S9.js.map +0 -1
- package/dist/event-manager-CWAWPOUE.js.map +0 -1
- package/dist/strings-BpCoUL0V.js.map +0 -1
- package/dist/utils-D92ldd1V.js.map +0 -1
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
"type": {
|
|
323
323
|
"text": "object"
|
|
324
324
|
},
|
|
325
|
-
"default": "{ // ── Shared ───────────────────────────────────────────────────────────────── dismiss: 'Dismiss', close: 'Close', clear: 'Clear', loading: 'Loading', today: 'Today', disabled: 'Disabled', readOnly: 'Read only', dragToReorder: 'Drag to reorder', // ── Intents (alert, notification) ──────────────────────────────────────── intentNote: 'Note', intentInfo: 'Info', intentSuccess: 'Success', intentWarning: 'Warning', intentError: 'Error', intentInformation: 'Information', // ── Fields ──────────────────────────────────────────────────────────────── showPassword: 'Show password', hidePassword: 'Hide password', invalidUrl: 'Please enter a valid URL', editUrl: 'Edit URL', slider: 'Slider', increase: 'Increase', decrease: 'Decrease', // ── Validation (for controls without a native input to ask) ────────────── // Worded like the browser's own messages, which fields with a native input show. valueMissing: 'Please fill out this field.', valueMissingSelect: 'Please select an item in the list.', valueMissingCheckbox: 'Please check this box if you want to proceed.', valueMissingRadio: 'Please select one of these options.', // ── Search and select ──────────────────────────────────────────────────── search: 'Search', clearSearch: 'Clear search', searchOptions: 'Search options', selectOption: 'Select option', options: 'Options', noResults: 'No results', noOptions: 'No options', /** Label of an option whose value is empty and that has no label of its own. */ none: 'None', /** Row of a select with `allow-custom` that keeps the typed text, for example `Create \"Kiwi\"`. */ createOption: (text: string): string => `Create \"${text}\"`, // ── Color ──────────────────────────────────────────────────────────────── chooseColor: 'Choose color', hexColor: 'Hex color', hexColorValue: 'Hex color value', hexLabel: 'HEX', saturationAndBrightness: 'Saturation and brightness', hue: 'Hue', opacity: 'Opacity', opacityPercentage: 'Opacity percentage', hexColorError: 'Enter a hex color, such as #7c5df0', /** The same error for a color field with `alpha`, which also takes an opacity. */ hexColorAlphaError: 'Enter a hex color, such as #7c5df0 or #7c5df080', /** Spoken value of the saturation and brightness area, for example \"Saturation 40%, Brightness 80%\". */ saturationBrightnessValue: (saturation: string, brightness: string): string => `Saturation ${saturation}%, Brightness ${brightness}%`, // ── Date and time ──────────────────────────────────────────────────────── chooseDate: 'Choose date', chooseDateAndTime: 'Choose date and time', chooseTime: 'Choose time', previousMonth: 'Previous month', nextMonth: 'Next month', previousYear: 'Previous year', nextYear: 'Next year', previousYears: 'Previous years', nextYears: 'Next years', hours: 'Hours', minutes: 'Minutes', seconds: 'Seconds', dayPeriod: 'AM/PM', /** Error for text that does not parse; `format` is the format hint, for example \"MM/DD/YYYY\". */ enterFormat: (format: string): string => `Enter ${format}`, /** Errors for a value outside `min` or `max`; the argument is the formatted limit. */ pickDateOnOrAfter: (date: string): string => `Pick a date on or after ${date}`, pickDateOnOrBefore: (date: string): string => `Pick a date on or before ${date}`, /** Error for a date `isDateDisabled` rules out; the argument is the formatted date. */ dateUnavailable: (date: string): string => `${date} isn't available`, pickTimeAtOrAfter: (time: string): string => `Pick a time at or after ${time}`, pickTimeAtOrBefore: (time: string): string => `Pick a time at or before ${time}`, pickDateTimeOnOrAfter: (dateTime: string): string => `Pick a time on or after ${dateTime}`, pickDateTimeOnOrBefore: (dateTime: string): string => `Pick a time on or before ${dateTime}`, // ── Calendar ───────────────────────────────────────────────────────────── day: 'Day', week: 'Week', month: 'Month', previousPeriod: 'Previous', nextPeriod: 'Next', invalidView: 'Invalid view', // ── Overlays and feedback ──────────────────────────────────────────────── closeDialog: 'Close dialog', closeNotification: 'Close notification', dismissNotification: 'Dismiss notification', dismissAlert: 'Dismiss alert', bottomSheet: 'Bottom sheet', sideSheet: 'Side sheet', closeSheet: 'Close sheet', imagePreview: 'Image preview', closePreview: 'Close preview', openMenu: 'Open menu', openSplitButtonMenu: 'Open split button menu', /** Title of the svg preview dialog, for example \"Preview: Logo\". */ previewTitle: (title: string): string => `Preview: ${title}`, svgPreview: 'SVG preview', // ── Carousel and video ─────────────────────────────────────────────────── /** Spoken role of a carousel, read as \"Testimonials, carousel\". */ carouselRole: 'carousel', /** Spoken role of each slide, read as \"2 of 5, slide\". */ carouselSlideRole: 'slide', /** Name of each slide, for example \"2 of 5\". */ carouselSlideLabel: (position: string, total: string): string => `${position} of ${total}`, previousSlide: 'Previous slide', nextSlide: 'Next slide', /** The autoplay button while slides rotate. */ stopSlideRotation: 'Stop slide rotation', /** The autoplay button while slides are still. */ startSlideRotation: 'Start slide rotation', /** Name of the group of picker buttons. */ chooseSlide: 'Choose slide', /** A picker button, for example \"Slide 2 of 5\" or \"Slides 4 to 6 of 9\". */ carouselPicker: (first: string, last: string, total: string): string => first === last ? `Slide ${first} of ${total}` : `Slides ${first} to ${last} of ${total}`, /** The counter shown instead of pickers when there are many pages, for example \"3 of 9\". */ carouselCounter: (page: string, total: string): string => `${page} of ${total}`, /** Name of a video without `label`. */ video: 'Video', /** The play button of a video, for example \"Play: Build a portal in ten minutes\". */ playVideo: (label: string): string => `Play: ${label}`, videoFromYouTube: 'Plays from YouTube (no cookies)', videoFromVimeo: 'Plays from Vimeo', // ── Navigation ─────────────────────────────────────────────────────────── navigation: 'Navigation', mainNavigation: 'Main navigation', breadcrumb: 'Breadcrumb', pagination: 'Pagination', page: 'Page', rowsPerPage: 'Rows per page', firstPage: 'First page', previousPage: 'Previous page', nextPage: 'Next page', lastPage: 'Last page', /** Range of rows shown, for example \"1–10 of 42\". `total` is undefined when it is unknown. */ pageRange: (start: string, end: string, total?: string): string => total === undefined ? `${start}–${end}` : `${start}–${end} of ${total}`, /** Range text when there are no rows; `zero` is 0 in the locale's digits. */ emptyPageRange: (zero: string): string => `${zero} of ${zero}`, /** Screen-reader announcement of the range, for example \"Showing 1–10 of 42\". */ showingRange: (range: string): string => `Showing ${range}`, /** Label of one page button, for example \"Page 3\". */ pageNumber: (page: string): string => `Page ${page}`, /** Label of the page number field, for example \"Page number, 24 pages\". */ pageNumberField: (pages: string): string => `Page number, ${pages} pages`, /** Text after the page number field, for example \"of 24\". */ ofPages: (pages: string): string => `of ${pages}`, // ── Table ──────────────────────────────────────────────────────────────── noItems: 'No items', noItemsDescription: 'There are no items to display', selectAllRowsOnPage: 'Select all rows on this page', selectRow: 'Select row', selection: 'Selection', selectedCount: (count: string): string => `${count} selected`, selectAllCount: (count: string): string => `Select all ${count}`, tableError: 'Something went wrong', tableErrorDescription: 'The data could not be loaded.', showHideColumns: 'Show or hide columns', /** Label of a column's resize handle, for example \"Resize Name\". */ resizeColumn: (column: string): string => `Resize ${column}`, /** Text of a secondary sort level on its header, for example \"Sort priority 2, ascending\". */ sortPriority: (priority: string, ascending: boolean): string => `Sort priority ${priority}, ${ascending ? 'ascending' : 'descending'}`, /** Announced after a column moved, for example \"Name moved to position 2 of 5\". */ columnMoved: (column: string, position: string, total: string): string => `${column} moved to position ${position} of ${total}`, /** Header of the row expander column. */ rowDetails: 'Row details', expandRow: 'Show row details', collapseRow: 'Hide row details', /** Toggle of a group header, for example \"Expand group Brown\". */ expandGroup: (group: string): string => `Expand group ${group}`, collapseGroup: (group: string): string => `Collapse group ${group}`, /** Row count of a group header; `count` is formatted, `n` the number for plural rules. */ groupRowCount: (count: string, n: number): string => n === 1 ? `${count} row` : `${count} rows`, /** Group header of rows whose `group-by` value is empty. */ emptyGroup: '(Empty)', /** Labels of the footer aggregates. */ aggregateSum: 'Sum', aggregateAvg: 'Average', aggregateMin: 'Min', aggregateMax: 'Max', aggregateCount: 'Count', // ── Charts ─────────────────────────────────────────────────────────────── chart: 'Chart', /** What screen readers call the plot (`aria-roledescription`), lower case. */ chartRole: 'chart', chartData: 'Chart data', chartInstructions: (name: string): string => `${name}. Use the arrow keys to explore the data.`, noData: 'No data', category: 'Category', name: 'Name', value: 'Value', share: 'Share', total: 'Total', // ── Code ───────────────────────────────────────────────────────────────── codeEditor: 'Code editor', copyToClipboard: 'Copy to clipboard', copied: 'Copied', wrapLines: 'Wrap lines', unwrapLines: 'Turn off line wrap', showMore: 'Show more', showLess: 'Show less', breakpoint: 'Breakpoint', pausedHere: 'Paused here', // ── Rich text editors ──────────────────────────────────────────────────── formattingToolbar: 'Formatting toolbar', inlineFormatting: 'Inline formatting', insertBlock: 'Insert block', insertBlockBelow: 'Insert block below', undo: 'Undo', redo: 'Redo', bold: 'Bold', italic: 'Italic', underline: 'Underline', strikethrough: 'Strikethrough', inlineCode: 'Inline code', /** The block style menu: paragraph text. */ paragraph: 'Text', /** Label of the block style menu button. */ textStyle: 'Text style', heading1: 'Heading 1', heading2: 'Heading 2', heading3: 'Heading 3', bulletedList: 'Bulleted list', numberedList: 'Numbered list', taskList: 'Checklist', quote: 'Quote', codeBlock: 'Code block', divider: 'Divider', table: 'Table', addRowBelow: 'Add row below', addColumnAfter: 'Add column after', deleteRow: 'Delete row', deleteColumn: 'Delete column', deleteTable: 'Delete table', link: 'Link', /** Label of the address field in the link editor. */ linkAddress: 'Link address', applyLink: 'Apply', removeLink: 'Remove link', /** Shown when the typed link address cannot be used. */ linkInvalid: 'Enter a web address, an email address or a relative path.', /** The toolbar button that starts a mention. */ mentionSomeone: 'Mention someone', /** The toolbar toggle between the formatted view and the source. */ viewSource: 'View source', enterTextPlaceholder: 'Enter text…', slashCommandsPlaceholder: \"Type '/' for commands…\", /** Announced when the slash menu has no match. */ noMatchingBlocks: 'No matching blocks', // ── Document editor ────────────────────────────────────────────────────── /** Default accessible name of a document editor. */ documentLabel: 'Document', documentPlaceholder: 'Start writing…', documentHeader: 'Header', documentFooter: 'Footer', /** Shown in an empty header or footer while it is edited. */ documentHeaderPlaceholder: 'Header text', documentFooterPlaceholder: 'Footer text', /** Tooltip of a header or footer that is not being edited. */ documentEditMarginal: 'Double-click to edit', pageBreak: 'Page break', insertImage: 'Image', textColor: 'Text color', defaultColor: 'Default', alignLeft: 'Align left', alignCenter: 'Center', alignRight: 'Align right', alignJustify: 'Justify', outline: 'Outline', /** The outline panel of a document without headings. */ outlineEmpty: 'Headings you add appear here.', print: 'Print', pageSize: 'Page size', orientation: 'Orientation', portrait: 'Portrait', landscape: 'Landscape', margins: 'Margins', marginsNormal: 'Normal margins', marginsNarrow: 'Narrow margins', marginsWide: 'Wide margins', marginsCustom: 'Custom margins', insertPageNumber: 'Page number', pageCount: 'Page count', /** The button that comments on the selected text. */ addComment: 'Comment', /** Accessible name of a document's comments column. */ documentComments: 'Comments', /** Accessible name of the people editing a document together. */ collaborators: 'People editing', /** Name shown for a collaborator without one. */ anonymousCollaborator: 'Anonymous', /** Marks the current person in the list of collaborators, for example \"Ana Lima (you)\". */ collaboratorYou: (name: string): string => `${name} (you)`, /** The word count in a document's status bar, for example \"1,284 words\". */ wordCount: (count: number, formatted: string): string => `${formatted} ${count === 1 ? 'word' : 'words'}`, /** The page indicator in a document's status bar, for example \"Page 2 of 5\". */ documentPageOf: (page: string, total: string): string => `Page ${page} of ${total}`, /** Accessible name of a document's zoom menu. */ documentZoom: 'Zoom', /** The zoom that fits the page to the editor's width. */ documentZoomFit: 'Fit width', /** Validation message when rich text is longer than `maxlength` characters. */ richTextTooLong: (max: number): string => `Use ${max} characters or fewer`, // ── Condition builder ──────────────────────────────────────────────────── addCondition: 'Add condition', addRule: 'Add rule', addInnerGroup: 'Add inner group', removeCondition: 'Remove condition', reorderCondition: 'Reorder condition', operatorAnd: 'And', operatorOr: 'Or', /** Label of the and/or toggle, for example \"Match conditions with And\". */ matchConditionsWith: (operator: string): string => `Match conditions with ${operator}`, /** What a click on the and/or toggle does, for example \"Switch to Or\": its tooltip and description. */ switchOperatorTo: (operator: string): string => `Switch to ${operator}`, /** Announced after the and/or toggle swapped the operator, for example \"Conditions now match with Or\". */ conditionsNowMatchWith: (operator: string): string => `Conditions now match with ${operator}`, /** Description of a rule's handle: the keys that move the rule. */ reorderConditionHint: 'Arrow Up and Arrow Down move the condition. Arrow Right moves it into the group beside it, Arrow Left out of its group.', /** Announced after a rule moved with the keyboard, for example \"Moved to position 2 of 3\". */ conditionMoved: (position: number, total: number): string => `Moved to position ${position} of ${total}`, /** Announced after a rule moved into a group with the keyboard. */ conditionMovedIntoGroup: (position: number, total: number): string => `Moved into group, position ${position} of ${total}`, /** Announced after a rule moved out of its group with the keyboard. */ conditionMovedOutOfGroup: (position: number, total: number): string => `Moved out of group, position ${position} of ${total}`, // ── Date range field ───────────────────────────────────────────────────── chooseDateRange: 'Choose date range', /** Accessible name of the list of preset ranges beside the calendar. */ dateRangePresets: 'Preset ranges', // ── Character counter ──────────────────────────────────────────────────── /** Text of a field's character counter, for example \"12/100\". */ characterCount: (count: number, max: number): string => `${count}/${max}`, // ── Filter bar ─────────────────────────────────────────────────────────── /** Accessible name of a filter bar without a `label`. */ filters: 'Filters', addFilter: 'Add filter', clearFilters: 'Clear all', saveView: 'Save view', /** The views menu entry that shows every item, with no filter. */ allItems: 'All', /** Accessible name of the saved views menu button. */ views: 'Views', yes: 'Yes', no: 'No', /** Text of an active filter chip, for example \"Status: Open\". */ filterValue: (label: string, value: string): string => `${label}: ${value}`, /** Count of values a filter chip does not show, for example \"+2\". */ moreValues: (count: number): string => `+${count}`, /** Announced after a filter is removed, for example \"Status filter removed\". */ filterRemoved: (label: string): string => `${label} filter removed`, /** Announced after \"Clear all\". */ filtersCleared: 'All filters cleared', // ── Pin input ──────────────────────────────────────────────────────────── /** Accessible name of a numeric pin input's cell, for example \"Digit 2 of 6\". */ pinInputDigit: (position: number, total: number): string => `Digit ${position} of ${total}`, /** Accessible name of an alphanumeric pin input's cell, for example \"Character 2 of 6\". */ pinInputCharacter: (position: number, total: number): string => `Character ${position} of ${total}`, /** Message of a pin input whose code is only partly entered, for example \"Enter all 6 characters.\". */ pinInputIncomplete: (total: number): string => `Enter all ${total} characters.`, // ── File upload ────────────────────────────────────────────────────────── /** Drop zone text before the browse link, with `multiple`. */ dropFilesHere: 'Drag files here or', /** Drop zone text before the browse link, without `multiple`. */ dropFileHere: 'Drag a file here or', /** Browse link in the drop zone, with `multiple`. */ chooseFiles: 'choose files', /** Browse link in the drop zone, without `multiple`. */ chooseFile: 'choose a file', /** Accessible name of the list of chosen files. */ chosenFiles: 'Chosen files', /** Remove button of a listed file, for example \"Remove report.pdf\". */ removeFile: (name: string): string => `Remove ${name}`, /** Status of a file the app marked as done. */ fileUploaded: 'Uploaded', /** Accessible name of a file's progress bar, for example \"Uploading report.pdf\". */ uploadingFile: (name: string): string => `Uploading ${name}`, /** A file not added because `accept` does not allow it. */ fileTypeRejected: (name: string): string => `${name} is not an accepted file type`, /** A file not added because it is over `max-size`, for example \"a.png is larger than 5 MB\". */ fileSizeRejected: (name: string, maxSize: string): string => `${name} is larger than ${maxSize}`, /** A file not added because the list is full. */ fileCountRejected: (name: string, maxFiles: number): string => `${name} was not added: no more than ${maxFiles} ${maxFiles === 1 ? 'file' : 'files'}`, /** Announced after files are added. */ filesAdded: (count: number): string => count === 1 ? '1 file added' : `${count} files added`, /** Announced after a file is removed. */ fileRemoved: (name: string): string => `${name} removed`, /** Validation message of a required file upload with no file. */ valueMissingFile: 'Please select a file.', // ── Stepper ────────────────────────────────────────────────────────────── /** Accessible name of a stepper that has no `label`. */ stepperLabel: 'Progress', /** Position of a step, read before its label, for example \"Step 2 of 4\". */ stepPosition: (step: string, total: string): string => `Step ${step} of ${total}`, stepCompleted: 'Completed', stepNotStarted: 'Not started', stepError: 'Error', stepOptional: 'Optional', // ── Tree ───────────────────────────────────────────────────────────────── /** Shown under a tree item while its children load. */ treeLoading: 'Loading…', // ── Checkbox group and fieldset ────────────────────────────────────────── /** Validation message of a required checkbox group with nothing checked. */ valueMissingCheckboxGroup: 'Please select at least one of these options.', /** Label of the checkbox group's select-all checkbox. */ checkboxGroupSelectAll: 'Select all', // ── Form ───────────────────────────────────────────────────────────────── /** Headline of a form's error summary; `count` is formatted, `n` the number for plural rules. */ formErrorSummary: (count: string, n: number): string => n === 1 ? `There is ${count} problem with this form` : `There are ${count} problems with this form`, /** One entry of a form's error summary, a link to the field. */ formErrorItem: (label: string, message: string): string => `${label}: ${message}`, // ── Phone and currency fields ──────────────────────────────────────────── /** Accessible name of the phone field's country selector. */ phoneCountry: 'Country', phoneInvalid: 'Enter a valid phone number', /** Accessible name of the currency field's currency selector. */ currencyPicker: 'Currency', currencyInvalid: 'Enter a valid amount', /** An amount with more decimals than its currency has; 0 means whole amounts only. */ currencyTooManyDecimals: (digits: number): string => digits === 0 ? 'Enter a whole amount' : `Enter an amount with at most ${digits} decimal place${digits === 1 ? '' : 's'}`, /** Below `min`, which arrives formatted with its currency, for example \"€10.00\". */ currencyTooLow: (min: string): string => `Enter ${min} or more`, /** Above `max`, which arrives formatted with its currency. */ currencyTooHigh: (max: string): string => `Enter ${max} or less`, // ── Description list, stat, sparkline ──────────────────────────────────── /** Read in place of the dash shown for an empty description item or stat value. */ notSet: 'Not set', /** Accessible name of a sparkline without values. */ sparklineNoData: 'No data', /** Summary of a sparkline with one value, for example \"Value 12\". */ sparklineValue: (value: string): string => `Value ${value}`, /** Summary of a sparkline, for example \"Trend from 12 to 18, high 21, low 9\". */ sparklineSummary: ( first: string, last: string, high: string, low: string, ): string => `Trend from ${first} to ${last}, high ${high}, low ${low}`, /** What a stat's change is measured against when it has no `comparison`. */ statComparison: 'from last period', /** A stat's rise, for example \"up 8% from last period\". */ statUp: (change: string, comparison: string): string => `up ${change} ${comparison}`, /** A stat's fall, for example \"down 3% from last period\". */ statDown: (change: string, comparison: string): string => `down ${change} ${comparison}`, /** A stat without change, for example \"unchanged from last period\". */ statUnchanged: (comparison: string): string => `unchanged ${comparison}`, /** Accessible name of a stat's info button, whose tooltip explains the metric. */ statHelp: 'About this metric', // ── Transfer list and status indicator ─────────────────────────────────── /** Default headline of a transfer list's source list. */ transferListAvailable: 'Available', /** Default headline of a transfer list's list of chosen items. */ transferListSelected: 'Selected', /** A transfer list's headline with its item count (formatted), for example \"Selected (3)\". */ transferListHeadline: (headline: string, count: string): string => `${headline} (${count})`, /** Button that moves the checked items, for example \"Move checked items to Selected\". */ transferListMoveChecked: (target: string): string => `Move checked items to ${target}`, /** Button that moves every shown item, for example \"Move all items to Selected\". */ transferListMoveAll: (target: string): string => `Move all items to ${target}`, /** Button that moves the checked selected items one place up. */ transferListMoveUp: 'Move up', /** Button that moves the checked selected items one place down. */ transferListMoveDown: 'Move down', /** Accessible name of a list's search box, for example \"Search Available\". */ transferListSearch: (headline: string): string => `Search ${headline}`, /** Shown in a list with no items. */ transferListEmpty: 'No items', /** Shown in a list whose items all miss the search. */ transferListNoMatches: 'No matching items', /** Announced after a move; `formatted` is `count` formatted, for example \"2 items moved to Selected\". */ transferListMoved: ( count: number, formatted: string, target: string, ): string => count === 1 ? `1 item moved to ${target}` : `${formatted} items moved to ${target}`, /** Announced after reordering one item, for example \"Editor, position 2 of 5\". */ transferListPosition: ( label: string, position: string, total: string, ): string => `${label}, position ${position} of ${total}`, /** Announced after dragging several items, for example \"3 items moved to position 2\". */ transferListMovedToPosition: (count: string, position: string): string => `${count} items moved to position ${position}`, /** Accessible name of a dot-only status indicator without `label` or `intent`. */ statusIndicatorNeutral: 'Status', // ── App shell, page header, resizable panels ───────────────────────────── /** The app shell's skip link, the first thing a keyboard user reaches. */ skipToMainContent: 'Skip to main content', /** The app shell's menu button that opens the navigation drawer on narrow screens. */ openNavigation: 'Open navigation', /** Accessible name of the page header's back link when it has no `back-label`. */ back: 'Back', /** Accessible name of a divider between two resizable panels without labels. */ resizePanels: 'Resize panels', /** Accessible name of a divider before a labelled panel, for example \"Resize Inbox\". */ resizePanel: (panel: string): string => `Resize ${panel}`, // ── Stack, grid, avatar group, copy button ─────────────────────────────── /** Default accessible name of a `wc-avatar-group`. */ avatarGroupLabel: 'Members', /** Accessible name of the avatar group's overflow button; `count` is already formatted. */ avatarGroupMore: (count: string): string => `${count} more`, /** Default accessible name and tooltip of a `wc-copy-button`. */ copy: 'Copy', /** Tooltip and announcement of a `wc-copy-button` whose copy failed. */ copyFailed: 'Copy failed', // ── Command palette, workspace switcher, user menu ─────────────────────── /** Default accessible name of a command palette. */ commandPalette: 'Command palette', /** Placeholder of a command palette's search field. */ commandPalettePlaceholder: 'Type a command or search', /** Heading of the recent commands, shown while the query is empty. */ commandPaletteRecent: 'Recent', /** Shown when no command matches, for example `No results for \"deploy\"`. */ commandPaletteNoResults: (query: string): string => `No results for \"${query}\"`, /** Shown when a command palette has no commands. */ commandPaletteEmpty: 'No commands', /** Announced as results change; `formatted` is `count` formatted, for example \"5 results\". */ commandPaletteResults: (count: number, formatted: string): string => count === 1 ? '1 result' : `${formatted} results`, /** Accessible name of a workspace switcher's trigger, for example \"Acme, switch workspace\". */ workspaceSwitcherTrigger: (name: string): string => name ? `${name}, switch workspace` : 'Switch workspace', /** Accessible name of a workspace switcher's menu. */ workspaceSwitcherMenu: 'Workspaces', /** Label of a workspace switcher's search field. */ workspaceSwitcherSearch: 'Search workspaces', /** Shown when no workspace matches the search, for example `No workspaces match \"acm\"`. */ workspaceSwitcherNoResults: (query: string): string => `No workspaces match \"${query}\"`, /** A workspace switcher's create action (`creatable`). */ workspaceSwitcherCreate: 'Create workspace', /** Accessible name of a user menu's avatar button, for example \"Account menu for Ada Lovelace\". */ userMenuTrigger: (name: string): string => name ? `Account menu for ${name}` : 'Account menu', /** Heading of a user menu's theme section. */ userMenuTheme: 'Theme', userMenuThemeLight: 'Light', userMenuThemeDark: 'Dark', /** The theme that follows the operating system's light or dark setting. */ userMenuThemeSystem: 'System', // ── Banner, notification center, tour ──────────────────────────────────── /** Accessible name of a banner's close button. */ dismissBanner: 'Dismiss banner', /** Default name of a notification center's bell and panel. */ notificationCenterLabel: 'Notifications', /** The bell's accessible name with the unread count (formatted), for example \"Notifications, 3 unread\". */ notificationCenterBell: ( label: string, count: number, formatted: string, ): string => (count === 0 ? label : `${label}, ${formatted} unread`), /** Announced when notifications arrive while the panel is closed, for example \"2 new notifications\". */ notificationCenterNew: (count: number, formatted: string): string => count === 1 ? '1 new notification' : `${formatted} new notifications`, /** Name of the All / Unread filter buttons. */ notificationCenterFilter: 'Show', notificationCenterAll: 'All', /** The Unread filter, and read before an unread notification's title. */ notificationCenterUnread: 'Unread', notificationCenterMarkAllRead: 'Mark all as read', notificationCenterMarkRead: 'Mark as read', notificationCenterMarkUnread: 'Mark as unread', notificationCenterYesterday: 'Yesterday', notificationCenterEmpty: 'No notifications', notificationCenterEmptyUnread: 'No unread notifications', notificationCenterLoadMore: 'Load more', /** A tour's Back button. */ tourBack: 'Back', /** A tour's Next button. */ tourNext: 'Next', /** A tour's button on the last step. */ tourDone: 'Done', /** Accessible name of a tour's close button. */ tourSkip: 'Skip tour', // ── Inline edit, comment thread ────────────────────────────────────────── /** Accessible name of an inline edit's pencil button, for example \"Edit Title\". */ inlineEditEdit: (label: string): string => (label ? `Edit ${label}` : 'Edit'), /** An inline edit's save button (with `show-actions`). */ inlineEditSave: 'Save', /** An inline edit's cancel button (with `show-actions`). */ inlineEditCancel: 'Cancel', /** Spoken while an inline edit waits for the app to save. */ inlineEditSaving: 'Saving', /** Default accessible name of a comment thread. */ commentThreadLabel: 'Comments', /** A comment thread without comments. */ commentThreadEmpty: 'No comments yet', /** Label and placeholder of a comment thread's composer. */ commentComposerLabel: 'Add a comment', /** The composer's send button. */ commentSend: 'Send', /** The button that opens a reply composer under a comment. */ commentReply: 'Reply', /** Label and placeholder of a reply composer, for example \"Reply to Ada Lovelace\". */ commentReplyTo: (author: string): string => `Reply to ${author}`, /** A reply composer's cancel button. */ commentCancel: 'Cancel', /** Comment actions menu items. */ commentEdit: 'Edit', commentDelete: 'Delete', commentCopyLink: 'Copy link', /** Accessible name of a comment's actions button, for example \"More actions for comment by Ada\". */ commentActions: (author: string): string => `More actions for comment by ${author}`, /** Marker after the time of an edited comment. */ commentEdited: 'Edited', /** Accessible name of a comment, for example \"Comment by Ada Lovelace, 2 hours ago\". */ commentLabel: (author: string, time: string): string => time ? `Comment by ${author}, ${time}` : `Comment by ${author}`, /** Accessible name of a reply, for example \"Reply by Ada Lovelace, 2 hours ago\". */ commentReplyLabel: (author: string, time: string): string => time ? `Reply by ${author}, ${time}` : `Reply by ${author}`, /** Accessible name of a comment's replies, for example \"Replies to Ada Lovelace\". */ commentReplies: (author: string): string => `Replies to ${author}`, /** Announced politely when a comment is added, for example \"New comment by Ada Lovelace\". */ commentAdded: (author: string): string => `New comment by ${author}`, /** Author shown for a comment without one. */ commentUnknownAuthor: 'Unknown author', /** The save button of a comment being edited. */ commentSave: 'Save', /** Accessible name of an activity entry, for example \"Activity by Ada Lovelace, 2 hours ago\". */ activityLabel: (author: string, time: string): string => time ? `Activity by ${author}, ${time}` : `Activity by ${author}`, // ── Password rules, rating, signature pad ──────────────────────────────── /** Accessible name of a password rules checklist. */ passwordRulesLabel: 'Password requirements', /** Built-in `min-length` rule, for example \"At least 12 characters\". */ passwordRuleMinLength: (count: number): string => count === 1 ? 'At least 1 character' : `At least ${count} characters`, /** Built-in `require-uppercase` rule. */ passwordRuleUppercase: 'One uppercase letter', /** Built-in `require-lowercase` rule. */ passwordRuleLowercase: 'One lowercase letter', /** Built-in `require-number` rule. */ passwordRuleNumber: 'One number', /** Built-in `require-symbol` rule. */ passwordRuleSymbol: 'One symbol', /** Status of a met password rule, read after its label. */ passwordRuleMet: 'met', /** Status of an unmet password rule, read after its label. */ passwordRuleNotMet: 'not met', /** Announced when a rule flips, for example \"One number: met\". */ passwordRuleAnnouncement: (label: string, status: string): string => `${label}: ${status}`, /** Announced when the last failing rule is met. */ passwordRulesAllMet: 'All password requirements met', /** Validation message set on the connected password field while rules fail. */ passwordRulesInvalid: 'Password does not meet the requirements.', /** Default accessible name of a rating. */ ratingLabel: 'Rating', /** Value text of a rating, for example \"3 out of 5\". */ ratingValueText: (value: string, max: string): string => `${value} out of ${max}`, /** Value text of a rating with no value. */ ratingNoValue: 'No rating', /** Accessible name of a read-only rating, for example \"Rated 4.3 out of 5\". */ ratingReadonly: (value: string, max: string): string => `Rated ${value} out of ${max}`, /** Validation message of a required rating with no value. */ valueMissingRating: 'Please choose a rating.', /** Default accessible name of a signature pad. */ signaturePadLabel: 'Signature', /** Hint shown on an empty signature pad. */ signaturePadPlaceholder: 'Sign here', /** Status of an empty signature pad, read after its label. */ signaturePadEmpty: 'empty', /** Status of a signed signature pad, read after its label. */ signaturePadSigned: 'signed', /** Accessible name of a signature pad's drawing, for example \"Signature, empty\". */ signaturePadImage: (label: string, status: string): string => `${label}, ${status}`, /** Undo button of a signature pad. */ signaturePadUndo: 'Undo last stroke', /** Clear button of a signature pad. */ signaturePadClear: 'Clear signature', /** Button that switches a signature pad to typing the name. */ signaturePadTypeInstead: 'Type your name instead', /** Button that switches a signature pad back to drawing. */ signaturePadDrawInstead: 'Draw instead', /** Label of the name field of a signature pad in typing mode. */ signaturePadTypedName: 'Your name', /** Validation message of a required signature pad with no signature. */ valueMissingSignature: 'Please sign.', // ── Mention input, kbd, hover card ─────────────────────────────────────── /** Accessible name of a mention input's suggestion list. */ mentionSuggestions: 'Suggestions', /** Announced as a mention input's suggestions change; `formatted` is `count` formatted. */ mentionResults: (count: number, formatted: string): string => count === 1 ? '1 suggestion' : `${formatted} suggestions`, /** Spoken names of keys in `wc-kbd`, read instead of the symbols. */ kbdCommand: 'Command', kbdControl: 'Control', kbdOption: 'Option', kbdAlt: 'Alt', kbdShift: 'Shift', kbdWindows: 'Windows', kbdEnter: 'Enter', kbdReturn: 'Return', kbdEscape: 'Escape', kbdTab: 'Tab', kbdBackspace: 'Backspace', kbdDelete: 'Delete', kbdSpace: 'Space', kbdArrowUp: 'Up arrow', kbdArrowDown: 'Down arrow', kbdArrowLeft: 'Left arrow', kbdArrowRight: 'Right arrow', kbdPageUp: 'Page up', kbdPageDown: 'Page down', kbdHome: 'Home', kbdEnd: 'End', kbdCapsLock: 'Caps Lock', /** Short labels `wc-kbd` shows off Apple platforms. */ kbdCtrlShort: 'Ctrl', kbdWinShort: 'Win', kbdEscShort: 'Esc', kbdDelShort: 'Del', kbdPageUpShort: 'PgUp', kbdPageDownShort: 'PgDn', // ── Kanban, virtual list ───────────────────────────────────────────────── /** Default accessible name of a kanban board. */ kanbanLabel: 'Board', /** Read with each kanban card, from `aria-describedby`. */ kanbanInstructions: 'Press Space or Enter to pick up the card. Use the arrow keys to move it, Space or Enter to drop it, and Escape to cancel.', /** Accessible name of a column's card count, for example \"3 cards\" or \"6 of 5 cards\". */ kanbanCount: (count: number, formatted: string, limit?: string): string => { if (limit) return `${formatted} of ${limit} cards`; return count === 1 ? '1 card' : `${formatted} cards`; }, /** Shown in a column header with more cards than its limit. */ kanbanOverLimit: 'Over limit', /** A column without cards. */ kanbanEmpty: 'No cards', /** A column's add button. */ kanbanAddCard: 'Add card', /** Accessible name of a column's add button, for example \"Add card to To do\". */ kanbanAddCardTo: (column: string): string => `Add card to ${column}`, /** Announced when a card is picked up, for example \"Picked up card Fix login. Column To do, position 2 of 5.\" */ kanbanPickedUp: ( card: string, column: string, position: string, total: string, ): string => `Picked up card ${card}. Column ${column}, position ${position} of ${total}.`, /** Announced at each keyboard move of a lifted card. */ kanbanMoved: ( card: string, column: string, position: string, total: string, ): string => `Card ${card}: column ${column}, position ${position} of ${total}.`, /** Announced when a card is dropped. */ kanbanDropped: ( card: string, column: string, position: string, total: string, ): string => `Dropped card ${card}. Column ${column}, position ${position} of ${total}.`, /** Announced when a move is canceled, by Escape or by the app. */ kanbanCanceled: ( card: string, column: string, position: string, total: string, ): string => `Move canceled. Card ${card} is back in column ${column}, position ${position} of ${total}.`, // ── JSON viewer, diff viewer ───────────────────────────────────────────── /** Default accessible name of a JSON viewer's tree. */ jsonViewer: 'JSON', /** Size of a collapsed object, for example \"3 keys\"; `formatted` is `count` formatted. */ jsonViewerKeys: (count: number, formatted: string): string => count === 1 ? '1 key' : `${formatted} keys`, /** Size of a collapsed array, for example \"12 items\"; `formatted` is `count` formatted. */ jsonViewerItems: (count: number, formatted: string): string => count === 1 ? '1 item' : `${formatted} items`, /** Row that renders the next children of a large node, for example \"Show 100 more of 12,245\". */ jsonViewerShowMore: (next: string, hidden: string): string => `Show ${next} more of ${hidden}`, /** After a truncated string, for example \"1,234 more characters\". */ jsonViewerMoreCharacters: (count: number, formatted: string): string => count === 1 ? '1 more character' : `${formatted} more characters`, jsonViewerCopyValue: 'Copy value', jsonViewerCopyPath: 'Copy path', /** Announced after a JSON value or path is copied. */ jsonViewerCopiedValue: 'Copied value to clipboard', jsonViewerCopiedPath: 'Copied path to clipboard', /** Shown instead of a value that contains itself. */ jsonViewerCircular: 'Circular reference', /** Shown when the `value` attribute is not valid JSON, with the parser's message. */ jsonViewerInvalid: (message: string): string => `Invalid JSON: ${message}`, /** Default accessible name of a diff viewer's table. */ diffViewer: 'Changes', /** Summary above a diff, for example \"3 additions, 2 deletions\"; the strings are the counts formatted. */ diffSummary: ( additions: number, deletions: number, formattedAdditions: string, formattedDeletions: string, ): string => `${additions === 1 ? '1 addition' : `${formattedAdditions} additions`}, ${ deletions === 1 ? '1 deletion' : `${formattedDeletions} deletions` }`, /** Summary above a diff of two identical texts. */ diffNoChanges: 'No changes', /** Screen-reader text before an added line, for example \"Added line 13\"; `line` is formatted. */ diffAddedLine: (line: string): string => `Added line ${line}`, /** Screen-reader text before a removed line, for example \"Removed line 12\"; `line` is formatted. */ diffRemovedLine: (line: string): string => `Removed line ${line}`, /** Button that shows hidden unchanged lines, for example \"Show 24 unchanged lines\". */ diffShowUnchanged: (count: number, formatted: string): string => count === 1 ? 'Show 1 unchanged line' : `Show ${formatted} unchanged lines`, /** Shown on the last line of a side that does not end with a line break, when the other does. */ diffNoNewline: 'No newline at end of file', /** Note shown when the texts are too different or too large to compare line by line. */ diffApproximate: 'These texts are too different to compare line by line, so the changed part is shown as removed and then added.', /** Note shown when only the line endings tell the sides apart, for example \"CRLF\" and \"LF\". */ diffLineEndings: (oldEnding: string, newEnding: string): string => `Line endings differ: ${oldEnding} in the old text, ${newEnding} in the new text.`, /** Column headers of a split diff. */ diffOld: 'Old', diffNew: 'New', // ── Anchor nav, scroll area, presence indicator, relative time ─────────── /** Default accessible name of an anchor nav's `nav` landmark. */ anchorNavLabel: 'On this page', /** Presence status of a person, read after their name. */ presenceOnline: 'Online', presenceAway: 'Away', presenceBusy: 'Busy', presenceOffline: 'Offline', /** Accessible name of an avatar with a presence indicator, for example \"Ana Lima, online\". */ presenceLabel: (name: string, status: string): string => name ? `${name}, ${status.toLowerCase()}` : status, // ── Confirm dialog ─────────────────────────────────────────────────────── /** Default label of a confirm dialog's confirm button. */ confirm: 'Confirm', /** Default label of a confirm dialog's cancel button. */ cancel: 'Cancel', /** Label of a confirm dialog's type-to-confirm field, for example \"Type acme-prod to confirm\". */ typeToConfirm: (text: string): string => `Type ${text} to confirm`, // ── Diagrams (flow, workflow, tree chart, ERD, dependency map) ────────── /** Default accessible name of a diagram canvas. */ diagramLabel: 'Diagram', /** Read with a diagram canvas, from `aria-describedby`. */ diagramInstructions: 'Drag the canvas or use the arrow keys to pan. Hold Ctrl or Command and scroll to zoom. Shift+1 fits all content, Home goes back to the start.', diagramZoomIn: 'Zoom in', diagramZoomOut: 'Zoom out', diagramFit: 'Fit to content', diagramZoomToSelection: 'Zoom to selection', diagramBackToStart: 'Back to start', diagramBackToContent: 'Back to content', /** Accessible name of the zoom level button, for example \"Zoom level, 80%\". */ diagramZoomLevel: (percent: string): string => `Zoom level, ${percent}`, diagramUndo: 'Undo', diagramRedo: 'Redo', diagramControls: 'Diagram controls', diagramMinimap: 'Minimap', /** Role description of a diagram node, read by screen readers instead of \"group\". */ diagramNode: 'node', /** Accessible name of a connection, for example \"Connection from Start to Review: approve\". */ diagramEdgeLabel: (from: string, to: string, label?: string): string => `Connection from ${from} to ${to}${label ? `: ${label}` : ''}`, /** Announced after a node moves, for example \"Review moved to 120, 40\". */ diagramMoved: (label: string, x: string, y: string): string => `${label} moved to ${x}, ${y}`, /** Announced after a connection is made. */ diagramConnected: (from: string, to: string): string => `Connected ${from} to ${to}`, /** Announced after nodes and connections are deleted. */ diagramDeleted: (count: number): string => count === 1 ? '1 item deleted' : `${count} items deleted`, /** Announced after pasting, for example \"3 items pasted\". */ diagramPasted: (count: number): string => count === 1 ? '1 item pasted' : `${count} items pasted`, // ── Workflow ───────────────────────────────────────────────────────────── workflowLabel: 'Workflow', workflowAddStep: 'Add step', workflowAddTrigger: 'Add a trigger', workflowSearchSteps: 'Search steps', workflowNoSteps: 'No matching steps', workflowOnError: 'On error', workflowWaitForAll: 'Wait for all', workflowFirstToFinish: 'First to finish', workflowEnd: 'End', workflowMoreActions: 'More actions', workflowDuplicate: 'Duplicate', workflowDelete: 'Delete', workflowCollapse: 'Collapse', workflowExpand: 'Expand', workflowOutputs: 'Outputs', workflowTools: 'Tools', workflowUntil: 'Until', /** Summary of a collapsed branch or loop, for example \"3 paths, 7 steps\". */ workflowCollapsedSummary: (paths: number, steps: number): string => `${paths === 1 ? '1 path' : `${paths} paths`}, ${steps === 1 ? '1 step' : `${steps} steps`}`, /** Label of the problems button, for example \"2 problems\". */ workflowProblems: (count: number): string => count === 1 ? '1 problem' : `${count} problems`, workflowUnreachable: 'This step never runs: the path before it ends.', workflowLoopForEach: 'For each', workflowLoopTimes: 'Repeat', /** After a `times` loop's count, for example \"3 times\". */ workflowLoopTimesSuffix: 'times', workflowLoopWhile: 'While', workflowLoopUntil: 'Repeat until', /** Announced after a step is added, for example \"Send email added\". */ workflowStepAdded: (name: string): string => `${name} added`, workflowStepRemoved: (name: string): string => `${name} removed`, workflowStepMoved: (name: string): string => `${name} moved`, /** Accessible name of an add-step button, for example \"Add step after Look up manager\". */ workflowAddStepAfter: (name: string): string => `Add step after ${name}`, workflowAddStepIn: (name: string): string => `Add step in ${name}`, // ── Tree chart ─────────────────────────────────────────────────────────── treeChartLabel: 'Tree chart', treeChartLoading: 'Loading', treeChartAddChild: 'Add below', treeChartAddSibling: 'Add beside', treeChartNewItem: 'New item', /** Accessible name of the count chip, for example \"Expand Elena Rostova, 4 below\". */ treeChartExpand: (name: string, count: number): string => count ? `Expand ${name}, ${count} below` : `Expand ${name}`, treeChartCollapse: (name: string): string => `Collapse ${name}`, /** Announced after a drag, for example \"Ana Ruiz moved under Elena Rostova\". */ treeChartMoved: (name: string, parent: string): string => parent ? `${name} moved under ${parent}` : `${name} moved to the top`, treeChartRemoved: (name: string): string => `${name} removed`, /** Announced after a search, for example \"3 matches\". */ treeChartMatches: (count: number): string => count === 1 ? '1 match' : `${count} matches`, // ── Dependency map ─────────────────────────────────────────────────────── dependencyMapLabel: 'Dependency map', dependencyMapLegend: 'Legend', dependencyMapHealthy: 'Healthy', dependencyMapDegraded: 'Degraded', dependencyMapDown: 'Down', dependencyMapUnknown: 'Unknown', dependencyMapImpact: 'Impact path', dependencyMapTraffic: 'Width = traffic', dependencyMapShowType: (type: string): string => `Show ${type}`, /** A collapsed group's subtitle, for example \"8 items\". */ dependencyMapGroupCount: (count: number): string => count === 1 ? '1 item' : `${count} items`, /** Label of an aggregated edge between collapsed groups, for example \"12 connections\". */ dependencyMapEdgeCount: (count: number): string => count === 1 ? '1 connection' : `${count} connections`, dependencyMapExpandGroup: (name: string): string => `Expand ${name}`, dependencyMapCollapseGroup: (name: string): string => `Collapse ${name}`, /** Accessible name of a node, for example \"payments-db, PostgreSQL, degraded, 3 upstream, 0 downstream\". */ dependencyMapNode: ( name: string, type: string, status: string, upstream: number, downstream: number, ): string => `${name}${type ? `, ${type}` : ''}${status ? `, ${status}` : ''}, ${upstream} upstream, ${downstream} downstream`, dependencyMapRps: (value: string): string => `${value} req/s`, dependencyMapLatency: (value: string): string => `p95 ${value}`, dependencyMapErrors: (value: string): string => `${value} errors`, // ── Entity-relationship diagram ────────────────────────────────────────── erdLabel: 'Entity-relationship diagram', erdPrimaryKey: 'Primary key', erdForeignKey: 'Foreign key', erdNullable: 'Nullable', erdAddColumn: 'Add column', erdRemoveColumn: (name: string): string => `Remove ${name}`, erdTogglePrimaryKey: (name: string): string => `Toggle primary key on ${name}`, erdCollapse: (name: string): string => `Collapse ${name}`, erdExpand: (name: string): string => `Expand ${name}`, erdRename: 'Rename', erdNewColumn: 'new_column', erdNewEntity: 'new_table', erdCardinality: 'Relationship', erdManyToOne: 'Many to one', erdZeroOrManyToOne: 'Zero or many to one', erdOneToOne: 'One to one', erdZeroOrOneToOne: 'Zero or one to one', erdManyToMany: 'Many to many', /** Summary of a column count, for example \"8 columns\". */ erdColumnCount: (count: number): string => count === 1 ? '1 column' : `${count} columns`, /** Accessible name of an entity, for example \"orders, 8 columns, references customers, referenced by order_items\". */ erdEntity: ( name: string, columns: number, references: string[], referencedBy: string[], ): string => [ name, columns === 1 ? '1 column' : `${columns} columns`, references.length ? `references ${references.join(', ')}` : '', referencedBy.length ? `referenced by ${referencedBy.join(', ')}` : '', ] .filter(Boolean) .join(', '), /** Announced after a relation is added, for example \"orders.customer_id references customers.id\". */ erdConnected: (from: string, to: string): string => `${from} references ${to}`, // ── Workflow debugging ─────────────────────────────────────────────────── workflowDebugBar: 'Debugging', workflowContinue: 'Continue', workflowPause: 'Pause', workflowStepOver: 'Step over', workflowStepInto: 'Step into', workflowRestart: 'Restart', workflowStop: 'Stop', workflowRetryFromHere: 'Retry from here', workflowBreakpoint: 'Breakpoint', workflowToggleBreakpoint: 'Toggle breakpoint', workflowPinData: 'Pin data', workflowUnpinData: 'Unpin data', workflowPinned: 'Data pinned', workflowPreviousIteration: 'Previous iteration', workflowNextIteration: 'Next iteration', /** Iteration picker label, for example \"Iteration 3 of 12\". */ workflowIteration: (index: number, total: number): string => `Iteration ${index} of ${total}`, /** Short iteration label, for example \"3 / 12\". */ workflowIterationShort: (index: number, total: number): string => `${index} / ${total}`, workflowRunTimeline: 'Run timeline', /** Status of a step or run, shown on cards and read by screen readers. */ workflowStatusQueued: 'Queued', workflowStatusRunning: 'Running', workflowStatusWaiting: 'Waiting', workflowStatusPaused: 'Paused', workflowStatusSuccess: 'Succeeded', workflowStatusFailed: 'Failed', workflowStatusSkipped: 'Skipped', workflowStatusCanceled: 'Canceled', /** Summary of a run, for example \"Run 184, Failed, 2 h 15 min\". */ workflowRunSummary: (id: string, status: string, duration: string): string => duration ? `Run ${id} · ${status} · ${duration}` : `Run ${id} · ${status}`, /** Announced when the run moves, for example \"Send email succeeded\". */ workflowStepStatus: (name: string, status: string): string => `${name}: ${status.toLowerCase()}`, // ── AI (ADR-030002) ────────────────────────────────────────────────────── /** Label of an AI badge on a value the person hasn't accepted yet. */ aiSuggested: 'Suggested', /** Label of an AI badge on a record or text waiting to be confirmed. */ aiDraft: 'Draft', /** Label of an AI badge on read-only output, such as a summary. */ aiGenerated: 'By the assistant', /** Accessible name of the clear button on a \"Suggested\" badge. */ aiClearSuggestion: 'Clear suggestion', /** Accessible name of the clear button on a \"Draft\" badge. */ aiDiscardDraft: 'Discard draft', /** Accessible name of the clear button on a generated-output badge. */ aiHideGenerated: 'Hide', /** Read after a suggested field's label, for example \"Suggested by the assistant. Assigned to you.\" */ aiSuggestedDescription: (reason: string): string => reason ? `Suggested by the assistant. ${reason}` : 'Suggested by the assistant.', /** Headline of a form's draft banner. */ aiDraftBannerHeadline: 'Drafted by the assistant.', /** Text of a form's draft banner. */ aiDraftBannerText: 'Check the marked fields before you submit.', /** The draft banner's button that clears every suggestion in the form. */ aiClearAll: 'Clear all', /** Heading above the suggested option in a select's list. */ aiSuggestedOption: 'Suggested', /** Read with a field while ghost text shows, for example \"Suggestion: returned on Thursday. Press Tab to accept.\" */ aiGhostHint: (text: string): string => `Suggestion: ${text}. Press Tab to accept, Escape to dismiss.`, /** Heading of the AI actions in a slash menu. */ aiAssistantGroup: 'Assistant', /** Heading of the blocks in a slash menu that also lists AI actions. */ slashBlocksGroup: 'Blocks', /** The button that opens the AI actions for the selected text. */ aiAskAi: 'Ask AI', /** Accessible name of the AI actions menu. */ aiActions: 'AI actions', aiImprove: 'Improve writing', aiShorten: 'Make shorter', aiFix: 'Fix spelling and grammar', aiTranslate: 'Translate…', aiCustom: 'Tell it what to change…', aiContinue: 'Continue writing', aiSummarizeAbove: 'Summarize above', /** Label of the instruction field for \"Tell it what to change\". */ aiInstruction: 'What should change?', /** Label of the language field for \"Translate\". */ aiTargetLanguage: 'Translate to', /** Button that sends the instruction or language. */ aiGo: 'Go', aiAccept: 'Accept', aiDiscard: 'Discard', aiTryAgain: 'Try again', aiStop: 'Stop', /** Shown while the assistant writes. */ aiWriting: 'Writing…', /** Toggle between the suggested text and its changes. */ aiResult: 'Result', aiChanges: 'Changes', /** Accessible name of the panel with the assistant's suggested text. */ aiPreview: 'Suggested text', /** Shown when a rewrite fails. */ aiFailed: \"The assistant couldn't write this. Your text is unchanged.\", // ── Conversation (prompt input, chat, steps, draft card, assistant panel) ── promptPlaceholder: 'Ask for something', promptSend: 'Send', promptStop: 'Stop', /** Who wrote a message, read before it. */ chatYou: 'You', chatAssistant: 'Assistant', /** Who wrote a message from another person, when it has no `author`. */ chatParticipant: 'Participant', /** Where a message came from, for example \"via Teams\". */ chatVia: (channel: string): string => `via ${channel}`, /** Accessible name of the quick replies under a message. */ chatQuickReplies: 'Suggested replies', chatCopy: 'Copy', chatRegenerate: 'Try again', chatGoodAnswer: 'Good answer', chatBadAnswer: 'Bad answer', /** Shown when an answer failed. */ chatFailed: \"The assistant couldn't answer.\", /** Accessible name of the conversation log. */ chatLog: 'Conversation', chatJumpToLatest: 'Jump to latest', /** Announced when an answer is complete, for example \"Assistant: Desk support has 2 loaners free.\" */ chatAnnouncement: (author: string, text: string): string => `${author}: ${text}`, assistantStepsShow: 'Show steps', assistantStepsHide: 'Hide steps', /** Read after an assistant step, for its status. */ assistantStepPending: 'Waiting', assistantStepRunning: 'In progress', assistantStepDone: 'Done', assistantStepError: 'Failed', assistantStepBlocked: 'Not allowed', draftConfirm: 'Confirm', draftEdit: 'Edit in form', draftDiscard: 'Discard draft', draftDiscarded: 'Discarded · nothing was sent', draftOpen: 'Open', draftCantUndo: \"This can't be undone.\", draftFailed: \"This couldn't be saved.\", panelHeadline: 'Assistant', panelNewConversation: 'New conversation', panelClose: 'Close the assistant', panelDisclaimer: 'The assistant can be wrong. Check a draft before you send it.', // ── Ask and summarize ──────────────────────────────────────────────────── aiSummaryFailed: \"The summary couldn't be written.\", aiSummaryGood: 'Good summary', aiSummaryBad: 'Bad summary', /** The Ask button of a search box with `ask`. */ searchAsk: 'Ask', /** Accessible name of the Ask button. */ searchAskLabel: 'Ask the assistant', /** The command palette's Ask row, for example \"Ask the assistant: “who approved the trip?”\". */ commandPaletteAsk: (query: string): string => `Ask the assistant: “${query}”`, commandPaletteAskDescription: 'Answers with your access', /** The filter bar's button that turns the search text into filters. */ filterBarFromSentence: 'Turn into filters', filterBarAiFailed: \"Couldn't turn this into filters.\", /** Announced when a sentence became filters, for example \"3 filters suggested\". */ filterBarAiApplied: (count: number): string => count === 1 ? '1 filter suggested' : `${count} filters suggested`, /** Label of the condition builder's describe field. */ conditionDescribe: 'Describe the condition', conditionDescribeGo: 'Go', conditionDescribeFailed: \"Couldn't turn this into rules.\", /** Label of the marker on a reply the assistant drafted. */ aiSuggestedReply: 'Suggested reply', /** Default label of a typing indicator. */ typingThinking: 'Thinking…', /** Accessible name of a citation chip, for example \"Source 2: Payroll integration\". */ citationLabel: (label: string, headline: string): string => headline ? `Source ${label}: ${headline}` : `Source ${label}`, }",
|
|
325
|
+
"default": "{ // ── Shared ───────────────────────────────────────────────────────────────── dismiss: 'Dismiss', close: 'Close', clear: 'Clear', loading: 'Loading', today: 'Today', disabled: 'Disabled', readOnly: 'Read only', dragToReorder: 'Drag to reorder', // ── Intents (alert, notification) ──────────────────────────────────────── intentNote: 'Note', intentInfo: 'Info', intentSuccess: 'Success', intentWarning: 'Warning', intentError: 'Error', intentInformation: 'Information', // ── Fields ──────────────────────────────────────────────────────────────── showPassword: 'Show password', hidePassword: 'Hide password', invalidUrl: 'Please enter a valid URL', editUrl: 'Edit URL', slider: 'Slider', increase: 'Increase', decrease: 'Decrease', // ── Validation (for controls without a native input to ask) ────────────── // Worded like the browser's own messages, which fields with a native input show. valueMissing: 'Please fill out this field.', valueMissingSelect: 'Please select an item in the list.', valueMissingCheckbox: 'Please check this box if you want to proceed.', valueMissingRadio: 'Please select one of these options.', // ── Search and select ──────────────────────────────────────────────────── search: 'Search', clearSearch: 'Clear search', searchOptions: 'Search options', selectOption: 'Select option', options: 'Options', noResults: 'No results', noOptions: 'No options', /** Label of an option whose value is empty and that has no label of its own. */ none: 'None', /** Row of a select with `allow-custom` that keeps the typed text, for example `Create \"Kiwi\"`. */ createOption: (text: string): string => `Create \"${text}\"`, // ── Color ──────────────────────────────────────────────────────────────── chooseColor: 'Choose color', hexColor: 'Hex color', hexColorValue: 'Hex color value', hexLabel: 'HEX', saturationAndBrightness: 'Saturation and brightness', hue: 'Hue', opacity: 'Opacity', opacityPercentage: 'Opacity percentage', hexColorError: 'Enter a hex color, such as #7c5df0', /** The same error for a color field with `alpha`, which also takes an opacity. */ hexColorAlphaError: 'Enter a hex color, such as #7c5df0 or #7c5df080', /** Spoken value of the saturation and brightness area, for example \"Saturation 40%, Brightness 80%\". */ saturationBrightnessValue: (saturation: string, brightness: string): string => `Saturation ${saturation}%, Brightness ${brightness}%`, // ── Date and time ──────────────────────────────────────────────────────── chooseDate: 'Choose date', chooseDateAndTime: 'Choose date and time', chooseTime: 'Choose time', previousMonth: 'Previous month', nextMonth: 'Next month', previousYear: 'Previous year', nextYear: 'Next year', previousYears: 'Previous years', nextYears: 'Next years', hours: 'Hours', minutes: 'Minutes', seconds: 'Seconds', dayPeriod: 'AM/PM', /** Error for text that does not parse; `format` is the format hint, for example \"MM/DD/YYYY\". */ enterFormat: (format: string): string => `Enter ${format}`, /** Errors for a value outside `min` or `max`; the argument is the formatted limit. */ pickDateOnOrAfter: (date: string): string => `Pick a date on or after ${date}`, pickDateOnOrBefore: (date: string): string => `Pick a date on or before ${date}`, /** Error for a date `isDateDisabled` rules out; the argument is the formatted date. */ dateUnavailable: (date: string): string => `${date} isn't available`, pickTimeAtOrAfter: (time: string): string => `Pick a time at or after ${time}`, pickTimeAtOrBefore: (time: string): string => `Pick a time at or before ${time}`, pickDateTimeOnOrAfter: (dateTime: string): string => `Pick a time on or after ${dateTime}`, pickDateTimeOnOrBefore: (dateTime: string): string => `Pick a time on or before ${dateTime}`, // ── Calendar ───────────────────────────────────────────────────────────── day: 'Day', week: 'Week', month: 'Month', previousPeriod: 'Previous', nextPeriod: 'Next', invalidView: 'Invalid view', /** Title shown for a calendar event without one. */ calendarUntitled: '(no title)', /** Title of the block that marks a new calendar event while it is drawn, until the app adds it. */ calendarNewEvent: 'New event', /** Announced when an event is dragged to a new time, for example \"Moved Standup to Nov 4, 2026, 10:00 – 10:30 AM.\" */ calendarEventMoved: (title: string, when: string): string => `Moved ${title} to ${when}.`, /** Announced when an event's start or end is dragged, for example \"Changed Standup to Nov 4, 2026, 9:00 – 10:30 AM.\" */ calendarEventResized: (title: string, when: string): string => `Changed ${title} to ${when}.`, // ── Calendar timeline ──────────────────────────────────────────────────── /** Header of a calendar timeline's resource column, unless `resource-label` names it. */ calendarTimelineResources: 'Resources', /** A calendar timeline without resources. */ calendarTimelineEmpty: 'No resources', /** Resource count of a calendar timeline's group header; `count` is formatted, `n` the number for plural rules. */ calendarTimelineGroupCount: (count: string, n: number): string => n === 1 ? `${count} resource` : `${count} resources`, /** Announced when an event is dragged to another resource's row, for example \"Moved Standup to Room B, Nov 4, 2026, 10:00 – 10:30 AM.\" */ calendarTimelineEventMoved: ( title: string, resource: string, when: string, ): string => `Moved ${title} to ${resource}, ${when}.`, // ── Overlays and feedback ──────────────────────────────────────────────── closeDialog: 'Close dialog', closeNotification: 'Close notification', dismissNotification: 'Dismiss notification', dismissAlert: 'Dismiss alert', bottomSheet: 'Bottom sheet', sideSheet: 'Side sheet', closeSheet: 'Close sheet', imagePreview: 'Image preview', closePreview: 'Close preview', openMenu: 'Open menu', openSplitButtonMenu: 'Open split button menu', /** Title of the svg preview dialog, for example \"Preview: Logo\". */ previewTitle: (title: string): string => `Preview: ${title}`, svgPreview: 'SVG preview', // ── Carousel and video ─────────────────────────────────────────────────── /** Spoken role of a carousel, read as \"Testimonials, carousel\". */ carouselRole: 'carousel', /** Spoken role of each slide, read as \"2 of 5, slide\". */ carouselSlideRole: 'slide', /** Name of each slide, for example \"2 of 5\". */ carouselSlideLabel: (position: string, total: string): string => `${position} of ${total}`, previousSlide: 'Previous slide', nextSlide: 'Next slide', /** The autoplay button while slides rotate. */ stopSlideRotation: 'Stop slide rotation', /** The autoplay button while slides are still. */ startSlideRotation: 'Start slide rotation', /** Name of the group of picker buttons. */ chooseSlide: 'Choose slide', /** A picker button, for example \"Slide 2 of 5\" or \"Slides 4 to 6 of 9\". */ carouselPicker: (first: string, last: string, total: string): string => first === last ? `Slide ${first} of ${total}` : `Slides ${first} to ${last} of ${total}`, /** The counter shown instead of pickers when there are many pages, for example \"3 of 9\". */ carouselCounter: (page: string, total: string): string => `${page} of ${total}`, /** Name of a video without `label`. */ video: 'Video', /** The play button of a video, for example \"Play: Build a portal in ten minutes\". */ playVideo: (label: string): string => `Play: ${label}`, videoFromYouTube: 'Plays from YouTube (no cookies)', videoFromVimeo: 'Plays from Vimeo', // ── Navigation ─────────────────────────────────────────────────────────── navigation: 'Navigation', mainNavigation: 'Main navigation', breadcrumb: 'Breadcrumb', pagination: 'Pagination', page: 'Page', rowsPerPage: 'Rows per page', firstPage: 'First page', previousPage: 'Previous page', nextPage: 'Next page', lastPage: 'Last page', /** Range of rows shown, for example \"1–10 of 42\". `total` is undefined when it is unknown. */ pageRange: (start: string, end: string, total?: string): string => total === undefined ? `${start}–${end}` : `${start}–${end} of ${total}`, /** Range text when there are no rows; `zero` is 0 in the locale's digits. */ emptyPageRange: (zero: string): string => `${zero} of ${zero}`, /** Screen-reader announcement of the range, for example \"Showing 1–10 of 42\". */ showingRange: (range: string): string => `Showing ${range}`, /** Label of one page button, for example \"Page 3\". */ pageNumber: (page: string): string => `Page ${page}`, /** Label of the page number field, for example \"Page number, 24 pages\". */ pageNumberField: (pages: string): string => `Page number, ${pages} pages`, /** Text after the page number field, for example \"of 24\". */ ofPages: (pages: string): string => `of ${pages}`, // ── Table ──────────────────────────────────────────────────────────────── noItems: 'No items', noItemsDescription: 'There are no items to display', selectAllRowsOnPage: 'Select all rows on this page', selectRow: 'Select row', selection: 'Selection', selectedCount: (count: string): string => `${count} selected`, selectAllCount: (count: string): string => `Select all ${count}`, tableError: 'Something went wrong', tableErrorDescription: 'The data could not be loaded.', showHideColumns: 'Show or hide columns', /** Label of a column's resize handle, for example \"Resize Name\". */ resizeColumn: (column: string): string => `Resize ${column}`, /** Text of a secondary sort level on its header, for example \"Sort priority 2, ascending\". */ sortPriority: (priority: string, ascending: boolean): string => `Sort priority ${priority}, ${ascending ? 'ascending' : 'descending'}`, /** Announced after a column moved, for example \"Name moved to position 2 of 5\". */ columnMoved: (column: string, position: string, total: string): string => `${column} moved to position ${position} of ${total}`, /** Header of the row expander column. */ rowDetails: 'Row details', expandRow: 'Show row details', collapseRow: 'Hide row details', /** Toggle of a group header, for example \"Expand group Brown\". */ expandGroup: (group: string): string => `Expand group ${group}`, collapseGroup: (group: string): string => `Collapse group ${group}`, /** Row count of a group header; `count` is formatted, `n` the number for plural rules. */ groupRowCount: (count: string, n: number): string => n === 1 ? `${count} row` : `${count} rows`, /** Group header of rows whose `group-by` value is empty. */ emptyGroup: '(Empty)', /** Labels of the footer aggregates. */ aggregateSum: 'Sum', aggregateAvg: 'Average', aggregateMin: 'Min', aggregateMax: 'Max', aggregateCount: 'Count', // ── Charts ─────────────────────────────────────────────────────────────── chart: 'Chart', /** What screen readers call the plot (`aria-roledescription`), lower case. */ chartRole: 'chart', chartData: 'Chart data', chartInstructions: (name: string): string => `${name}. Use the arrow keys to explore the data.`, noData: 'No data', category: 'Category', name: 'Name', value: 'Value', share: 'Share', total: 'Total', // ── Code ───────────────────────────────────────────────────────────────── codeEditor: 'Code editor', copyToClipboard: 'Copy to clipboard', copied: 'Copied', wrapLines: 'Wrap lines', unwrapLines: 'Turn off line wrap', showMore: 'Show more', showLess: 'Show less', breakpoint: 'Breakpoint', pausedHere: 'Paused here', // ── Rich text editors ──────────────────────────────────────────────────── formattingToolbar: 'Formatting toolbar', inlineFormatting: 'Inline formatting', insertBlock: 'Insert block', insertBlockBelow: 'Insert block below', undo: 'Undo', redo: 'Redo', bold: 'Bold', italic: 'Italic', underline: 'Underline', strikethrough: 'Strikethrough', inlineCode: 'Inline code', /** The block style menu: paragraph text. */ paragraph: 'Text', /** Label of the block style menu button. */ textStyle: 'Text style', heading1: 'Heading 1', heading2: 'Heading 2', heading3: 'Heading 3', bulletedList: 'Bulleted list', numberedList: 'Numbered list', taskList: 'Checklist', quote: 'Quote', codeBlock: 'Code block', divider: 'Divider', table: 'Table', addRowBelow: 'Add row below', addColumnAfter: 'Add column after', deleteRow: 'Delete row', deleteColumn: 'Delete column', deleteTable: 'Delete table', link: 'Link', /** Label of the address field in the link editor. */ linkAddress: 'Link address', applyLink: 'Apply', removeLink: 'Remove link', /** Shown when the typed link address cannot be used. */ linkInvalid: 'Enter a web address, an email address or a relative path.', /** The toolbar button that starts a mention. */ mentionSomeone: 'Mention someone', /** The toolbar toggle between the formatted view and the source. */ viewSource: 'View source', enterTextPlaceholder: 'Enter text…', slashCommandsPlaceholder: \"Type '/' for commands…\", /** Announced when the slash menu has no match. */ noMatchingBlocks: 'No matching blocks', // ── Document editor ────────────────────────────────────────────────────── /** Default accessible name of a document editor. */ documentLabel: 'Document', documentPlaceholder: 'Start writing…', documentHeader: 'Header', documentFooter: 'Footer', /** Shown in an empty header or footer while it is edited. */ documentHeaderPlaceholder: 'Header text', documentFooterPlaceholder: 'Footer text', /** Tooltip of a header or footer that is not being edited. */ documentEditMarginal: 'Double-click to edit', pageBreak: 'Page break', insertImage: 'Image', textColor: 'Text color', defaultColor: 'Default', alignLeft: 'Align left', alignCenter: 'Center', alignRight: 'Align right', alignJustify: 'Justify', outline: 'Outline', /** The outline panel of a document without headings. */ outlineEmpty: 'Headings you add appear here.', print: 'Print', pageSize: 'Page size', orientation: 'Orientation', portrait: 'Portrait', landscape: 'Landscape', margins: 'Margins', marginsNormal: 'Normal margins', marginsNarrow: 'Narrow margins', marginsWide: 'Wide margins', marginsCustom: 'Custom margins', insertPageNumber: 'Page number', pageCount: 'Page count', /** The button that comments on the selected text. */ addComment: 'Comment', /** Accessible name of a document's comments column. */ documentComments: 'Comments', /** Accessible name of the people editing a document together. */ collaborators: 'People editing', /** Name shown for a collaborator without one. */ anonymousCollaborator: 'Anonymous', /** Marks the current person in the list of collaborators, for example \"Ana Lima (you)\". */ collaboratorYou: (name: string): string => `${name} (you)`, /** The word count in a document's status bar, for example \"1,284 words\". */ wordCount: (count: number, formatted: string): string => `${formatted} ${count === 1 ? 'word' : 'words'}`, /** The page indicator in a document's status bar, for example \"Page 2 of 5\". */ documentPageOf: (page: string, total: string): string => `Page ${page} of ${total}`, /** Accessible name of a document's zoom menu. */ documentZoom: 'Zoom', /** The zoom that fits the page to the editor's width. */ documentZoomFit: 'Fit width', /** Validation message when rich text is longer than `maxlength` characters. */ richTextTooLong: (max: number): string => `Use ${max} characters or fewer`, // ── Condition builder ──────────────────────────────────────────────────── addCondition: 'Add condition', addRule: 'Add rule', addInnerGroup: 'Add inner group', removeCondition: 'Remove condition', reorderCondition: 'Reorder condition', operatorAnd: 'And', operatorOr: 'Or', /** Label of the and/or toggle, for example \"Match conditions with And\". */ matchConditionsWith: (operator: string): string => `Match conditions with ${operator}`, /** What a click on the and/or toggle does, for example \"Switch to Or\": its tooltip and description. */ switchOperatorTo: (operator: string): string => `Switch to ${operator}`, /** Announced after the and/or toggle swapped the operator, for example \"Conditions now match with Or\". */ conditionsNowMatchWith: (operator: string): string => `Conditions now match with ${operator}`, /** Description of a rule's handle: the keys that move the rule. */ reorderConditionHint: 'Arrow Up and Arrow Down move the condition. Arrow Right moves it into the group beside it, Arrow Left out of its group.', /** Announced after a rule moved with the keyboard, for example \"Moved to position 2 of 3\". */ conditionMoved: (position: number, total: number): string => `Moved to position ${position} of ${total}`, /** Announced after a rule moved into a group with the keyboard. */ conditionMovedIntoGroup: (position: number, total: number): string => `Moved into group, position ${position} of ${total}`, /** Announced after a rule moved out of its group with the keyboard. */ conditionMovedOutOfGroup: (position: number, total: number): string => `Moved out of group, position ${position} of ${total}`, // ── Date range field ───────────────────────────────────────────────────── chooseDateRange: 'Choose date range', /** Accessible name of the list of preset ranges beside the calendar. */ dateRangePresets: 'Preset ranges', // ── Character counter ──────────────────────────────────────────────────── /** Text of a field's character counter, for example \"12/100\". */ characterCount: (count: number, max: number): string => `${count}/${max}`, // ── Filter bar ─────────────────────────────────────────────────────────── /** Accessible name of a filter bar without a `label`. */ filters: 'Filters', addFilter: 'Add filter', clearFilters: 'Clear all', saveView: 'Save view', /** The views menu entry that shows every item, with no filter. */ allItems: 'All', /** Accessible name of the saved views menu button. */ views: 'Views', yes: 'Yes', no: 'No', /** Text of an active filter chip, for example \"Status: Open\". */ filterValue: (label: string, value: string): string => `${label}: ${value}`, /** Count of values a filter chip does not show, for example \"+2\". */ moreValues: (count: number): string => `+${count}`, /** Announced after a filter is removed, for example \"Status filter removed\". */ filterRemoved: (label: string): string => `${label} filter removed`, /** Announced after \"Clear all\". */ filtersCleared: 'All filters cleared', // ── Pin input ──────────────────────────────────────────────────────────── /** Accessible name of a numeric pin input's cell, for example \"Digit 2 of 6\". */ pinInputDigit: (position: number, total: number): string => `Digit ${position} of ${total}`, /** Accessible name of an alphanumeric pin input's cell, for example \"Character 2 of 6\". */ pinInputCharacter: (position: number, total: number): string => `Character ${position} of ${total}`, /** Message of a pin input whose code is only partly entered, for example \"Enter all 6 characters.\". */ pinInputIncomplete: (total: number): string => `Enter all ${total} characters.`, // ── File upload ────────────────────────────────────────────────────────── /** Drop zone text before the browse link, with `multiple`. */ dropFilesHere: 'Drag files here or', /** Drop zone text before the browse link, without `multiple`. */ dropFileHere: 'Drag a file here or', /** Browse link in the drop zone, with `multiple`. */ chooseFiles: 'choose files', /** Browse link in the drop zone, without `multiple`. */ chooseFile: 'choose a file', /** Accessible name of the list of chosen files. */ chosenFiles: 'Chosen files', /** Remove button of a listed file, for example \"Remove report.pdf\". */ removeFile: (name: string): string => `Remove ${name}`, /** Status of a file the app marked as done. */ fileUploaded: 'Uploaded', /** Accessible name of a file's progress bar, for example \"Uploading report.pdf\". */ uploadingFile: (name: string): string => `Uploading ${name}`, /** A file not added because `accept` does not allow it. */ fileTypeRejected: (name: string): string => `${name} is not an accepted file type`, /** A file not added because it is over `max-size`, for example \"a.png is larger than 5 MB\". */ fileSizeRejected: (name: string, maxSize: string): string => `${name} is larger than ${maxSize}`, /** A file not added because the list is full. */ fileCountRejected: (name: string, maxFiles: number): string => `${name} was not added: no more than ${maxFiles} ${maxFiles === 1 ? 'file' : 'files'}`, /** Announced after files are added. */ filesAdded: (count: number): string => count === 1 ? '1 file added' : `${count} files added`, /** Announced after a file is removed. */ fileRemoved: (name: string): string => `${name} removed`, /** Validation message of a required file upload with no file. */ valueMissingFile: 'Please select a file.', // ── Stepper ────────────────────────────────────────────────────────────── /** Accessible name of a stepper that has no `label`. */ stepperLabel: 'Progress', /** Position of a step, read before its label, for example \"Step 2 of 4\". */ stepPosition: (step: string, total: string): string => `Step ${step} of ${total}`, stepCompleted: 'Completed', stepNotStarted: 'Not started', stepError: 'Error', stepOptional: 'Optional', // ── Tree ───────────────────────────────────────────────────────────────── /** Shown under a tree item while its children load. */ treeLoading: 'Loading…', // ── Checkbox group and fieldset ────────────────────────────────────────── /** Validation message of a required checkbox group with nothing checked. */ valueMissingCheckboxGroup: 'Please select at least one of these options.', /** Label of the checkbox group's select-all checkbox. */ checkboxGroupSelectAll: 'Select all', // ── Form ───────────────────────────────────────────────────────────────── /** Headline of a form's error summary; `count` is formatted, `n` the number for plural rules. */ formErrorSummary: (count: string, n: number): string => n === 1 ? `There is ${count} problem with this form` : `There are ${count} problems with this form`, /** One entry of a form's error summary, a link to the field. */ formErrorItem: (label: string, message: string): string => `${label}: ${message}`, // ── Phone and currency fields ──────────────────────────────────────────── /** Accessible name of the phone field's country selector. */ phoneCountry: 'Country', phoneInvalid: 'Enter a valid phone number', /** Accessible name of the currency field's currency selector. */ currencyPicker: 'Currency', currencyInvalid: 'Enter a valid amount', /** An amount with more decimals than its currency has; 0 means whole amounts only. */ currencyTooManyDecimals: (digits: number): string => digits === 0 ? 'Enter a whole amount' : `Enter an amount with at most ${digits} decimal place${digits === 1 ? '' : 's'}`, /** Below `min`, which arrives formatted with its currency, for example \"€10.00\". */ currencyTooLow: (min: string): string => `Enter ${min} or more`, /** Above `max`, which arrives formatted with its currency. */ currencyTooHigh: (max: string): string => `Enter ${max} or less`, // ── Description list, stat, sparkline ──────────────────────────────────── /** Read in place of the dash shown for an empty description item or stat value. */ notSet: 'Not set', /** Accessible name of a sparkline without values. */ sparklineNoData: 'No data', /** Summary of a sparkline with one value, for example \"Value 12\". */ sparklineValue: (value: string): string => `Value ${value}`, /** Summary of a sparkline, for example \"Trend from 12 to 18, high 21, low 9\". */ sparklineSummary: ( first: string, last: string, high: string, low: string, ): string => `Trend from ${first} to ${last}, high ${high}, low ${low}`, /** What a stat's change is measured against when it has no `comparison`. */ statComparison: 'from last period', /** A stat's rise, for example \"up 8% from last period\". */ statUp: (change: string, comparison: string): string => `up ${change} ${comparison}`, /** A stat's fall, for example \"down 3% from last period\". */ statDown: (change: string, comparison: string): string => `down ${change} ${comparison}`, /** A stat without change, for example \"unchanged from last period\". */ statUnchanged: (comparison: string): string => `unchanged ${comparison}`, /** Accessible name of a stat's info button, whose tooltip explains the metric. */ statHelp: 'About this metric', // ── Transfer list and status indicator ─────────────────────────────────── /** Default headline of a transfer list's source list. */ transferListAvailable: 'Available', /** Default headline of a transfer list's list of chosen items. */ transferListSelected: 'Selected', /** A transfer list's headline with its item count (formatted), for example \"Selected (3)\". */ transferListHeadline: (headline: string, count: string): string => `${headline} (${count})`, /** Button that moves the checked items, for example \"Move checked items to Selected\". */ transferListMoveChecked: (target: string): string => `Move checked items to ${target}`, /** Button that moves every shown item, for example \"Move all items to Selected\". */ transferListMoveAll: (target: string): string => `Move all items to ${target}`, /** Button that moves the checked selected items one place up. */ transferListMoveUp: 'Move up', /** Button that moves the checked selected items one place down. */ transferListMoveDown: 'Move down', /** Accessible name of a list's search box, for example \"Search Available\". */ transferListSearch: (headline: string): string => `Search ${headline}`, /** Shown in a list with no items. */ transferListEmpty: 'No items', /** Shown in a list whose items all miss the search. */ transferListNoMatches: 'No matching items', /** Announced after a move; `formatted` is `count` formatted, for example \"2 items moved to Selected\". */ transferListMoved: ( count: number, formatted: string, target: string, ): string => count === 1 ? `1 item moved to ${target}` : `${formatted} items moved to ${target}`, /** Announced after reordering one item, for example \"Editor, position 2 of 5\". */ transferListPosition: ( label: string, position: string, total: string, ): string => `${label}, position ${position} of ${total}`, /** Announced after dragging several items, for example \"3 items moved to position 2\". */ transferListMovedToPosition: (count: string, position: string): string => `${count} items moved to position ${position}`, /** Accessible name of a dot-only status indicator without `label` or `intent`. */ statusIndicatorNeutral: 'Status', // ── App shell, page header, resizable panels ───────────────────────────── /** The app shell's skip link, the first thing a keyboard user reaches. */ skipToMainContent: 'Skip to main content', /** The app shell's menu button that opens the navigation drawer on narrow screens. */ openNavigation: 'Open navigation', /** Accessible name of the page header's back link when it has no `back-label`. */ back: 'Back', /** Accessible name of a divider between two resizable panels without labels. */ resizePanels: 'Resize panels', /** Accessible name of a divider before a labelled panel, for example \"Resize Inbox\". */ resizePanel: (panel: string): string => `Resize ${panel}`, // ── Stack, grid, avatar group, copy button ─────────────────────────────── /** Default accessible name of a `wc-avatar-group`. */ avatarGroupLabel: 'Members', /** Accessible name of the avatar group's overflow button; `count` is already formatted. */ avatarGroupMore: (count: string): string => `${count} more`, /** Default accessible name and tooltip of a `wc-copy-button`. */ copy: 'Copy', /** Tooltip and announcement of a `wc-copy-button` whose copy failed. */ copyFailed: 'Copy failed', // ── Command palette, workspace switcher, user menu ─────────────────────── /** Default accessible name of a command palette. */ commandPalette: 'Command palette', /** Placeholder of a command palette's search field. */ commandPalettePlaceholder: 'Type a command or search', /** Heading of the recent commands, shown while the query is empty. */ commandPaletteRecent: 'Recent', /** Shown when no command matches, for example `No results for \"deploy\"`. */ commandPaletteNoResults: (query: string): string => `No results for \"${query}\"`, /** Shown when a command palette has no commands. */ commandPaletteEmpty: 'No commands', /** Announced as results change; `formatted` is `count` formatted, for example \"5 results\". */ commandPaletteResults: (count: number, formatted: string): string => count === 1 ? '1 result' : `${formatted} results`, /** Accessible name of a workspace switcher's trigger, for example \"Acme, switch workspace\". */ workspaceSwitcherTrigger: (name: string): string => name ? `${name}, switch workspace` : 'Switch workspace', /** Accessible name of a workspace switcher's menu. */ workspaceSwitcherMenu: 'Workspaces', /** Label of a workspace switcher's search field. */ workspaceSwitcherSearch: 'Search workspaces', /** Shown when no workspace matches the search, for example `No workspaces match \"acm\"`. */ workspaceSwitcherNoResults: (query: string): string => `No workspaces match \"${query}\"`, /** A workspace switcher's create action (`creatable`). */ workspaceSwitcherCreate: 'Create workspace', /** Accessible name of a user menu's avatar button, for example \"Account menu for Ada Lovelace\". */ userMenuTrigger: (name: string): string => name ? `Account menu for ${name}` : 'Account menu', /** Heading of a user menu's theme section. */ userMenuTheme: 'Theme', userMenuThemeLight: 'Light', userMenuThemeDark: 'Dark', /** The theme that follows the operating system's light or dark setting. */ userMenuThemeSystem: 'System', // ── Banner, notification center, tour ──────────────────────────────────── /** Accessible name of a banner's close button. */ dismissBanner: 'Dismiss banner', /** Default name of a notification center's bell and panel. */ notificationCenterLabel: 'Notifications', /** The bell's accessible name with the unread count (formatted), for example \"Notifications, 3 unread\". */ notificationCenterBell: ( label: string, count: number, formatted: string, ): string => (count === 0 ? label : `${label}, ${formatted} unread`), /** Announced when notifications arrive while the panel is closed, for example \"2 new notifications\". */ notificationCenterNew: (count: number, formatted: string): string => count === 1 ? '1 new notification' : `${formatted} new notifications`, /** Name of the All / Unread filter buttons. */ notificationCenterFilter: 'Show', notificationCenterAll: 'All', /** The Unread filter, and read before an unread notification's title. */ notificationCenterUnread: 'Unread', notificationCenterMarkAllRead: 'Mark all as read', notificationCenterMarkRead: 'Mark as read', notificationCenterMarkUnread: 'Mark as unread', notificationCenterYesterday: 'Yesterday', notificationCenterEmpty: 'No notifications', notificationCenterEmptyUnread: 'No unread notifications', notificationCenterLoadMore: 'Load more', /** A tour's Back button. */ tourBack: 'Back', /** A tour's Next button. */ tourNext: 'Next', /** A tour's button on the last step. */ tourDone: 'Done', /** Accessible name of a tour's close button. */ tourSkip: 'Skip tour', // ── Inline edit, comment thread ────────────────────────────────────────── /** Accessible name of an inline edit's pencil button, for example \"Edit Title\". */ inlineEditEdit: (label: string): string => (label ? `Edit ${label}` : 'Edit'), /** An inline edit's save button (with `show-actions`). */ inlineEditSave: 'Save', /** An inline edit's cancel button (with `show-actions`). */ inlineEditCancel: 'Cancel', /** Spoken while an inline edit waits for the app to save. */ inlineEditSaving: 'Saving', /** Default accessible name of a comment thread. */ commentThreadLabel: 'Comments', /** A comment thread without comments. */ commentThreadEmpty: 'No comments yet', /** Label and placeholder of a comment thread's composer. */ commentComposerLabel: 'Add a comment', /** The composer's send button. */ commentSend: 'Send', /** The button that opens a reply composer under a comment. */ commentReply: 'Reply', /** Label and placeholder of a reply composer, for example \"Reply to Ada Lovelace\". */ commentReplyTo: (author: string): string => `Reply to ${author}`, /** A reply composer's cancel button. */ commentCancel: 'Cancel', /** Comment actions menu items. */ commentEdit: 'Edit', commentDelete: 'Delete', commentCopyLink: 'Copy link', /** Accessible name of a comment's actions button, for example \"More actions for comment by Ada\". */ commentActions: (author: string): string => `More actions for comment by ${author}`, /** Marker after the time of an edited comment. */ commentEdited: 'Edited', /** Accessible name of a comment, for example \"Comment by Ada Lovelace, 2 hours ago\". */ commentLabel: (author: string, time: string): string => time ? `Comment by ${author}, ${time}` : `Comment by ${author}`, /** Accessible name of a reply, for example \"Reply by Ada Lovelace, 2 hours ago\". */ commentReplyLabel: (author: string, time: string): string => time ? `Reply by ${author}, ${time}` : `Reply by ${author}`, /** Accessible name of a comment's replies, for example \"Replies to Ada Lovelace\". */ commentReplies: (author: string): string => `Replies to ${author}`, /** Announced politely when a comment is added, for example \"New comment by Ada Lovelace\". */ commentAdded: (author: string): string => `New comment by ${author}`, /** Author shown for a comment without one. */ commentUnknownAuthor: 'Unknown author', /** The save button of a comment being edited. */ commentSave: 'Save', /** Accessible name of an activity entry, for example \"Activity by Ada Lovelace, 2 hours ago\". */ activityLabel: (author: string, time: string): string => time ? `Activity by ${author}, ${time}` : `Activity by ${author}`, // ── Password rules, rating, signature pad ──────────────────────────────── /** Accessible name of a password rules checklist. */ passwordRulesLabel: 'Password requirements', /** Built-in `min-length` rule, for example \"At least 12 characters\". */ passwordRuleMinLength: (count: number): string => count === 1 ? 'At least 1 character' : `At least ${count} characters`, /** Built-in `require-uppercase` rule. */ passwordRuleUppercase: 'One uppercase letter', /** Built-in `require-lowercase` rule. */ passwordRuleLowercase: 'One lowercase letter', /** Built-in `require-number` rule. */ passwordRuleNumber: 'One number', /** Built-in `require-symbol` rule. */ passwordRuleSymbol: 'One symbol', /** Status of a met password rule, read after its label. */ passwordRuleMet: 'met', /** Status of an unmet password rule, read after its label. */ passwordRuleNotMet: 'not met', /** Announced when a rule flips, for example \"One number: met\". */ passwordRuleAnnouncement: (label: string, status: string): string => `${label}: ${status}`, /** Announced when the last failing rule is met. */ passwordRulesAllMet: 'All password requirements met', /** Validation message set on the connected password field while rules fail. */ passwordRulesInvalid: 'Password does not meet the requirements.', /** Default accessible name of a rating. */ ratingLabel: 'Rating', /** Value text of a rating, for example \"3 out of 5\". */ ratingValueText: (value: string, max: string): string => `${value} out of ${max}`, /** Value text of a rating with no value. */ ratingNoValue: 'No rating', /** Accessible name of a read-only rating, for example \"Rated 4.3 out of 5\". */ ratingReadonly: (value: string, max: string): string => `Rated ${value} out of ${max}`, /** Validation message of a required rating with no value. */ valueMissingRating: 'Please choose a rating.', /** Default accessible name of a signature pad. */ signaturePadLabel: 'Signature', /** Hint shown on an empty signature pad. */ signaturePadPlaceholder: 'Sign here', /** Status of an empty signature pad, read after its label. */ signaturePadEmpty: 'empty', /** Status of a signed signature pad, read after its label. */ signaturePadSigned: 'signed', /** Accessible name of a signature pad's drawing, for example \"Signature, empty\". */ signaturePadImage: (label: string, status: string): string => `${label}, ${status}`, /** Undo button of a signature pad. */ signaturePadUndo: 'Undo last stroke', /** Clear button of a signature pad. */ signaturePadClear: 'Clear signature', /** Button that switches a signature pad to typing the name. */ signaturePadTypeInstead: 'Type your name instead', /** Button that switches a signature pad back to drawing. */ signaturePadDrawInstead: 'Draw instead', /** Label of the name field of a signature pad in typing mode. */ signaturePadTypedName: 'Your name', /** Validation message of a required signature pad with no signature. */ valueMissingSignature: 'Please sign.', // ── Mention input, kbd, hover card ─────────────────────────────────────── /** Accessible name of a mention input's suggestion list. */ mentionSuggestions: 'Suggestions', /** Announced as a mention input's suggestions change; `formatted` is `count` formatted. */ mentionResults: (count: number, formatted: string): string => count === 1 ? '1 suggestion' : `${formatted} suggestions`, /** Spoken names of keys in `wc-kbd`, read instead of the symbols. */ kbdCommand: 'Command', kbdControl: 'Control', kbdOption: 'Option', kbdAlt: 'Alt', kbdShift: 'Shift', kbdWindows: 'Windows', kbdEnter: 'Enter', kbdReturn: 'Return', kbdEscape: 'Escape', kbdTab: 'Tab', kbdBackspace: 'Backspace', kbdDelete: 'Delete', kbdSpace: 'Space', kbdArrowUp: 'Up arrow', kbdArrowDown: 'Down arrow', kbdArrowLeft: 'Left arrow', kbdArrowRight: 'Right arrow', kbdPageUp: 'Page up', kbdPageDown: 'Page down', kbdHome: 'Home', kbdEnd: 'End', kbdCapsLock: 'Caps Lock', /** Short labels `wc-kbd` shows off Apple platforms. */ kbdCtrlShort: 'Ctrl', kbdWinShort: 'Win', kbdEscShort: 'Esc', kbdDelShort: 'Del', kbdPageUpShort: 'PgUp', kbdPageDownShort: 'PgDn', // ── Kanban, virtual list ───────────────────────────────────────────────── /** Default accessible name of a kanban board. */ kanbanLabel: 'Board', /** Read with each kanban card, from `aria-describedby`. */ kanbanInstructions: 'Press Space or Enter to pick up the card. Use the arrow keys to move it, Space or Enter to drop it, and Escape to cancel.', /** Accessible name of a column's card count, for example \"3 cards\" or \"6 of 5 cards\". */ kanbanCount: (count: number, formatted: string, limit?: string): string => { if (limit) return `${formatted} of ${limit} cards`; return count === 1 ? '1 card' : `${formatted} cards`; }, /** Shown in a column header with more cards than its limit. */ kanbanOverLimit: 'Over limit', /** A column without cards. */ kanbanEmpty: 'No cards', /** A column's add button. */ kanbanAddCard: 'Add card', /** Accessible name of a column's add button, for example \"Add card to To do\". */ kanbanAddCardTo: (column: string): string => `Add card to ${column}`, /** Announced when a card is picked up, for example \"Picked up card Fix login. Column To do, position 2 of 5.\" */ kanbanPickedUp: ( card: string, column: string, position: string, total: string, ): string => `Picked up card ${card}. Column ${column}, position ${position} of ${total}.`, /** Announced at each keyboard move of a lifted card. */ kanbanMoved: ( card: string, column: string, position: string, total: string, ): string => `Card ${card}: column ${column}, position ${position} of ${total}.`, /** Announced when a card is dropped. */ kanbanDropped: ( card: string, column: string, position: string, total: string, ): string => `Dropped card ${card}. Column ${column}, position ${position} of ${total}.`, /** Announced when a move is canceled, by Escape or by the app. */ kanbanCanceled: ( card: string, column: string, position: string, total: string, ): string => `Move canceled. Card ${card} is back in column ${column}, position ${position} of ${total}.`, // ── JSON viewer, diff viewer ───────────────────────────────────────────── /** Default accessible name of a JSON viewer's tree. */ jsonViewer: 'JSON', /** Size of a collapsed object, for example \"3 keys\"; `formatted` is `count` formatted. */ jsonViewerKeys: (count: number, formatted: string): string => count === 1 ? '1 key' : `${formatted} keys`, /** Size of a collapsed array, for example \"12 items\"; `formatted` is `count` formatted. */ jsonViewerItems: (count: number, formatted: string): string => count === 1 ? '1 item' : `${formatted} items`, /** Row that renders the next children of a large node, for example \"Show 100 more of 12,245\". */ jsonViewerShowMore: (next: string, hidden: string): string => `Show ${next} more of ${hidden}`, /** After a truncated string, for example \"1,234 more characters\". */ jsonViewerMoreCharacters: (count: number, formatted: string): string => count === 1 ? '1 more character' : `${formatted} more characters`, jsonViewerCopyValue: 'Copy value', jsonViewerCopyPath: 'Copy path', /** Announced after a JSON value or path is copied. */ jsonViewerCopiedValue: 'Copied value to clipboard', jsonViewerCopiedPath: 'Copied path to clipboard', /** Shown instead of a value that contains itself. */ jsonViewerCircular: 'Circular reference', /** Shown when the `value` attribute is not valid JSON, with the parser's message. */ jsonViewerInvalid: (message: string): string => `Invalid JSON: ${message}`, /** Default accessible name of a diff viewer's table. */ diffViewer: 'Changes', /** Summary above a diff, for example \"3 additions, 2 deletions\"; the strings are the counts formatted. */ diffSummary: ( additions: number, deletions: number, formattedAdditions: string, formattedDeletions: string, ): string => `${additions === 1 ? '1 addition' : `${formattedAdditions} additions`}, ${ deletions === 1 ? '1 deletion' : `${formattedDeletions} deletions` }`, /** Summary above a diff of two identical texts. */ diffNoChanges: 'No changes', /** Screen-reader text before an added line, for example \"Added line 13\"; `line` is formatted. */ diffAddedLine: (line: string): string => `Added line ${line}`, /** Screen-reader text before a removed line, for example \"Removed line 12\"; `line` is formatted. */ diffRemovedLine: (line: string): string => `Removed line ${line}`, /** Button that shows hidden unchanged lines, for example \"Show 24 unchanged lines\". */ diffShowUnchanged: (count: number, formatted: string): string => count === 1 ? 'Show 1 unchanged line' : `Show ${formatted} unchanged lines`, /** Shown on the last line of a side that does not end with a line break, when the other does. */ diffNoNewline: 'No newline at end of file', /** Note shown when the texts are too different or too large to compare line by line. */ diffApproximate: 'These texts are too different to compare line by line, so the changed part is shown as removed and then added.', /** Note shown when only the line endings tell the sides apart, for example \"CRLF\" and \"LF\". */ diffLineEndings: (oldEnding: string, newEnding: string): string => `Line endings differ: ${oldEnding} in the old text, ${newEnding} in the new text.`, /** Column headers of a split diff. */ diffOld: 'Old', diffNew: 'New', // ── Anchor nav, scroll area, presence indicator, relative time ─────────── /** Default accessible name of an anchor nav's `nav` landmark. */ anchorNavLabel: 'On this page', /** Presence status of a person, read after their name. */ presenceOnline: 'Online', presenceAway: 'Away', presenceBusy: 'Busy', presenceOffline: 'Offline', /** Accessible name of an avatar with a presence indicator, for example \"Ana Lima, online\". */ presenceLabel: (name: string, status: string): string => name ? `${name}, ${status.toLowerCase()}` : status, // ── Confirm dialog ─────────────────────────────────────────────────────── /** Default label of a confirm dialog's confirm button. */ confirm: 'Confirm', /** Default label of a confirm dialog's cancel button. */ cancel: 'Cancel', /** Label of a confirm dialog's type-to-confirm field, for example \"Type acme-prod to confirm\". */ typeToConfirm: (text: string): string => `Type ${text} to confirm`, // ── Diagrams (flow, workflow, tree chart, ERD, dependency map) ────────── /** Default accessible name of a diagram canvas. */ diagramLabel: 'Diagram', /** Read with a diagram canvas, from `aria-describedby`. */ diagramInstructions: 'Drag the canvas or use the arrow keys to pan. Hold Ctrl or Command and scroll to zoom. Shift+1 fits all content, Home goes back to the start.', diagramZoomIn: 'Zoom in', diagramZoomOut: 'Zoom out', diagramFit: 'Fit to content', diagramZoomToSelection: 'Zoom to selection', diagramBackToStart: 'Back to start', diagramBackToContent: 'Back to content', /** Accessible name of the zoom level button, for example \"Zoom level, 80%\". */ diagramZoomLevel: (percent: string): string => `Zoom level, ${percent}`, diagramUndo: 'Undo', diagramRedo: 'Redo', diagramControls: 'Diagram controls', diagramMinimap: 'Minimap', /** Role description of a diagram node, read by screen readers instead of \"group\". */ diagramNode: 'node', /** Accessible name of a connection, for example \"Connection from Start to Review: approve\". */ diagramEdgeLabel: (from: string, to: string, label?: string): string => `Connection from ${from} to ${to}${label ? `: ${label}` : ''}`, /** Announced after a node moves, for example \"Review moved to 120, 40\". */ diagramMoved: (label: string, x: string, y: string): string => `${label} moved to ${x}, ${y}`, /** Announced after a connection is made. */ diagramConnected: (from: string, to: string): string => `Connected ${from} to ${to}`, /** Announced after nodes and connections are deleted. */ diagramDeleted: (count: number): string => count === 1 ? '1 item deleted' : `${count} items deleted`, /** Announced after pasting, for example \"3 items pasted\". */ diagramPasted: (count: number): string => count === 1 ? '1 item pasted' : `${count} items pasted`, // ── Workflow ───────────────────────────────────────────────────────────── workflowLabel: 'Workflow', workflowAddStep: 'Add step', workflowAddTrigger: 'Add a trigger', workflowSearchSteps: 'Search steps', workflowNoSteps: 'No matching steps', workflowOnError: 'On error', workflowWaitForAll: 'Wait for all', workflowFirstToFinish: 'First to finish', workflowEnd: 'End', workflowMoreActions: 'More actions', workflowDuplicate: 'Duplicate', workflowDelete: 'Delete', workflowCollapse: 'Collapse', workflowExpand: 'Expand', workflowOutputs: 'Outputs', workflowTools: 'Tools', workflowUntil: 'Until', /** Summary of a collapsed branch or loop, for example \"3 paths, 7 steps\". */ workflowCollapsedSummary: (paths: number, steps: number): string => `${paths === 1 ? '1 path' : `${paths} paths`}, ${steps === 1 ? '1 step' : `${steps} steps`}`, /** Label of the problems button, for example \"2 problems\". */ workflowProblems: (count: number): string => count === 1 ? '1 problem' : `${count} problems`, workflowUnreachable: 'This step never runs: the path before it ends.', workflowLoopForEach: 'For each', workflowLoopTimes: 'Repeat', /** After a `times` loop's count, for example \"3 times\". */ workflowLoopTimesSuffix: 'times', workflowLoopWhile: 'While', workflowLoopUntil: 'Repeat until', /** Announced after a step is added, for example \"Send email added\". */ workflowStepAdded: (name: string): string => `${name} added`, workflowStepRemoved: (name: string): string => `${name} removed`, workflowStepMoved: (name: string): string => `${name} moved`, /** Accessible name of an add-step button, for example \"Add step after Look up manager\". */ workflowAddStepAfter: (name: string): string => `Add step after ${name}`, workflowAddStepIn: (name: string): string => `Add step in ${name}`, // ── Tree chart ─────────────────────────────────────────────────────────── treeChartLabel: 'Tree chart', treeChartLoading: 'Loading', treeChartAddChild: 'Add below', treeChartAddSibling: 'Add beside', treeChartNewItem: 'New item', /** Accessible name of the count chip, for example \"Expand Elena Rostova, 4 below\". */ treeChartExpand: (name: string, count: number): string => count ? `Expand ${name}, ${count} below` : `Expand ${name}`, treeChartCollapse: (name: string): string => `Collapse ${name}`, /** Announced after a drag, for example \"Ana Ruiz moved under Elena Rostova\". */ treeChartMoved: (name: string, parent: string): string => parent ? `${name} moved under ${parent}` : `${name} moved to the top`, treeChartRemoved: (name: string): string => `${name} removed`, /** Announced after a search, for example \"3 matches\". */ treeChartMatches: (count: number): string => count === 1 ? '1 match' : `${count} matches`, // ── Dependency map ─────────────────────────────────────────────────────── dependencyMapLabel: 'Dependency map', dependencyMapLegend: 'Legend', dependencyMapHealthy: 'Healthy', dependencyMapDegraded: 'Degraded', dependencyMapDown: 'Down', dependencyMapUnknown: 'Unknown', dependencyMapImpact: 'Impact path', dependencyMapTraffic: 'Width = traffic', dependencyMapShowType: (type: string): string => `Show ${type}`, /** A collapsed group's subtitle, for example \"8 items\". */ dependencyMapGroupCount: (count: number): string => count === 1 ? '1 item' : `${count} items`, /** Label of an aggregated edge between collapsed groups, for example \"12 connections\". */ dependencyMapEdgeCount: (count: number): string => count === 1 ? '1 connection' : `${count} connections`, dependencyMapExpandGroup: (name: string): string => `Expand ${name}`, dependencyMapCollapseGroup: (name: string): string => `Collapse ${name}`, /** Accessible name of a node, for example \"payments-db, PostgreSQL, degraded, 3 upstream, 0 downstream\". */ dependencyMapNode: ( name: string, type: string, status: string, upstream: number, downstream: number, ): string => `${name}${type ? `, ${type}` : ''}${status ? `, ${status}` : ''}, ${upstream} upstream, ${downstream} downstream`, dependencyMapRps: (value: string): string => `${value} req/s`, dependencyMapLatency: (value: string): string => `p95 ${value}`, dependencyMapErrors: (value: string): string => `${value} errors`, // ── Entity-relationship diagram ────────────────────────────────────────── erdLabel: 'Entity-relationship diagram', erdPrimaryKey: 'Primary key', erdForeignKey: 'Foreign key', erdNullable: 'Nullable', erdAddColumn: 'Add column', erdRemoveColumn: (name: string): string => `Remove ${name}`, erdTogglePrimaryKey: (name: string): string => `Toggle primary key on ${name}`, erdCollapse: (name: string): string => `Collapse ${name}`, erdExpand: (name: string): string => `Expand ${name}`, erdRename: 'Rename', erdNewColumn: 'new_column', erdNewEntity: 'new_table', erdCardinality: 'Relationship', erdManyToOne: 'Many to one', erdZeroOrManyToOne: 'Zero or many to one', erdOneToOne: 'One to one', erdZeroOrOneToOne: 'Zero or one to one', erdManyToMany: 'Many to many', /** Summary of a column count, for example \"8 columns\". */ erdColumnCount: (count: number): string => count === 1 ? '1 column' : `${count} columns`, /** Accessible name of an entity, for example \"orders, 8 columns, references customers, referenced by order_items\". */ erdEntity: ( name: string, columns: number, references: string[], referencedBy: string[], ): string => [ name, columns === 1 ? '1 column' : `${columns} columns`, references.length ? `references ${references.join(', ')}` : '', referencedBy.length ? `referenced by ${referencedBy.join(', ')}` : '', ] .filter(Boolean) .join(', '), /** Announced after a relation is added, for example \"orders.customer_id references customers.id\". */ erdConnected: (from: string, to: string): string => `${from} references ${to}`, // ── Workflow debugging ─────────────────────────────────────────────────── workflowDebugBar: 'Debugging', workflowContinue: 'Continue', workflowPause: 'Pause', workflowStepOver: 'Step over', workflowStepInto: 'Step into', workflowRestart: 'Restart', workflowStop: 'Stop', workflowRetryFromHere: 'Retry from here', workflowBreakpoint: 'Breakpoint', workflowToggleBreakpoint: 'Toggle breakpoint', workflowPinData: 'Pin data', workflowUnpinData: 'Unpin data', workflowPinned: 'Data pinned', workflowPreviousIteration: 'Previous iteration', workflowNextIteration: 'Next iteration', /** Iteration picker label, for example \"Iteration 3 of 12\". */ workflowIteration: (index: number, total: number): string => `Iteration ${index} of ${total}`, /** Short iteration label, for example \"3 / 12\". */ workflowIterationShort: (index: number, total: number): string => `${index} / ${total}`, workflowRunTimeline: 'Run timeline', /** Status of a step or run, shown on cards and read by screen readers. */ workflowStatusQueued: 'Queued', workflowStatusRunning: 'Running', workflowStatusWaiting: 'Waiting', workflowStatusPaused: 'Paused', workflowStatusSuccess: 'Succeeded', workflowStatusFailed: 'Failed', workflowStatusSkipped: 'Skipped', workflowStatusCanceled: 'Canceled', /** Summary of a run, for example \"Run 184, Failed, 2 h 15 min\". */ workflowRunSummary: (id: string, status: string, duration: string): string => duration ? `Run ${id} · ${status} · ${duration}` : `Run ${id} · ${status}`, /** Announced when the run moves, for example \"Send email succeeded\". */ workflowStepStatus: (name: string, status: string): string => `${name}: ${status.toLowerCase()}`, // ── AI (ADR-030002) ────────────────────────────────────────────────────── /** Label of an AI badge on a value the person hasn't accepted yet. */ aiSuggested: 'Suggested', /** Label of an AI badge on a record or text waiting to be confirmed. */ aiDraft: 'Draft', /** Label of an AI badge on read-only output, such as a summary. */ aiGenerated: 'By the assistant', /** Accessible name of the clear button on a \"Suggested\" badge. */ aiClearSuggestion: 'Clear suggestion', /** Accessible name of the clear button on a \"Draft\" badge. */ aiDiscardDraft: 'Discard draft', /** Accessible name of the clear button on a generated-output badge. */ aiHideGenerated: 'Hide', /** Read after a suggested field's label, for example \"Suggested by the assistant. Assigned to you.\" */ aiSuggestedDescription: (reason: string): string => reason ? `Suggested by the assistant. ${reason}` : 'Suggested by the assistant.', /** Headline of a form's draft banner. */ aiDraftBannerHeadline: 'Drafted by the assistant.', /** Text of a form's draft banner. */ aiDraftBannerText: 'Check the marked fields before you submit.', /** The draft banner's button that clears every suggestion in the form. */ aiClearAll: 'Clear all', /** Heading above the suggested option in a select's list. */ aiSuggestedOption: 'Suggested', /** Read with a field while ghost text shows, for example \"Suggestion: returned on Thursday. Press Tab to accept.\" */ aiGhostHint: (text: string): string => `Suggestion: ${text}. Press Tab to accept, Escape to dismiss.`, /** Heading of the AI actions in a slash menu. */ aiAssistantGroup: 'Assistant', /** Heading of the blocks in a slash menu that also lists AI actions. */ slashBlocksGroup: 'Blocks', /** The button that opens the AI actions for the selected text. */ aiAskAi: 'Ask AI', /** Accessible name of the AI actions menu. */ aiActions: 'AI actions', aiImprove: 'Improve writing', aiShorten: 'Make shorter', aiFix: 'Fix spelling and grammar', aiTranslate: 'Translate…', aiCustom: 'Tell it what to change…', aiContinue: 'Continue writing', aiSummarizeAbove: 'Summarize above', /** Label of the instruction field for \"Tell it what to change\". */ aiInstruction: 'What should change?', /** Label of the language field for \"Translate\". */ aiTargetLanguage: 'Translate to', /** Button that sends the instruction or language. */ aiGo: 'Go', aiAccept: 'Accept', aiDiscard: 'Discard', aiTryAgain: 'Try again', aiStop: 'Stop', /** Shown while the assistant writes. */ aiWriting: 'Writing…', /** Toggle between the suggested text and its changes. */ aiResult: 'Result', aiChanges: 'Changes', /** Accessible name of the panel with the assistant's suggested text. */ aiPreview: 'Suggested text', /** Shown when a rewrite fails. */ aiFailed: \"The assistant couldn't write this. Your text is unchanged.\", // ── Conversation (prompt input, chat, steps, draft card, assistant panel) ── promptPlaceholder: 'Ask for something', promptSend: 'Send', promptStop: 'Stop', /** Who wrote a message, read before it. */ chatYou: 'You', chatAssistant: 'Assistant', /** Who wrote a message from another person, when it has no `author`. */ chatParticipant: 'Participant', /** Where a message came from, for example \"via Teams\". */ chatVia: (channel: string): string => `via ${channel}`, /** Accessible name of the quick replies under a message. */ chatQuickReplies: 'Suggested replies', chatCopy: 'Copy', chatRegenerate: 'Try again', chatGoodAnswer: 'Good answer', chatBadAnswer: 'Bad answer', /** Shown when an answer failed. */ chatFailed: \"The assistant couldn't answer.\", /** Accessible name of the conversation log. */ chatLog: 'Conversation', chatJumpToLatest: 'Jump to latest', /** Announced when an answer is complete, for example \"Assistant: Desk support has 2 loaners free.\" */ chatAnnouncement: (author: string, text: string): string => `${author}: ${text}`, assistantStepsShow: 'Show steps', assistantStepsHide: 'Hide steps', /** Read after an assistant step, for its status. */ assistantStepPending: 'Waiting', assistantStepRunning: 'In progress', assistantStepDone: 'Done', assistantStepError: 'Failed', assistantStepBlocked: 'Not allowed', draftConfirm: 'Confirm', draftEdit: 'Edit in form', draftDiscard: 'Discard draft', draftDiscarded: 'Discarded · nothing was sent', draftOpen: 'Open', draftCantUndo: \"This can't be undone.\", draftFailed: \"This couldn't be saved.\", panelHeadline: 'Assistant', panelNewConversation: 'New conversation', panelClose: 'Close the assistant', panelDisclaimer: 'The assistant can be wrong. Check a draft before you send it.', // ── Ask and summarize ──────────────────────────────────────────────────── aiSummaryFailed: \"The summary couldn't be written.\", aiSummaryGood: 'Good summary', aiSummaryBad: 'Bad summary', /** The Ask button of a search box with `ask`. */ searchAsk: 'Ask', /** Accessible name of the Ask button. */ searchAskLabel: 'Ask the assistant', /** The command palette's Ask row, for example \"Ask the assistant: “who approved the trip?”\". */ commandPaletteAsk: (query: string): string => `Ask the assistant: “${query}”`, commandPaletteAskDescription: 'Answers with your access', /** The filter bar's button that turns the search text into filters. */ filterBarFromSentence: 'Turn into filters', filterBarAiFailed: \"Couldn't turn this into filters.\", /** Announced when a sentence became filters, for example \"3 filters suggested\". */ filterBarAiApplied: (count: number): string => count === 1 ? '1 filter suggested' : `${count} filters suggested`, /** Label of the condition builder's describe field. */ conditionDescribe: 'Describe the condition', conditionDescribeGo: 'Go', conditionDescribeFailed: \"Couldn't turn this into rules.\", /** Label of the marker on a reply the assistant drafted. */ aiSuggestedReply: 'Suggested reply', /** Default label of a typing indicator. */ typingThinking: 'Thinking…', /** Accessible name of a citation chip, for example \"Source 2: Payroll integration\". */ citationLabel: (label: string, headline: string): string => headline ? `Source ${label}: ${headline}` : `Source ${label}`, }",
|
|
326
326
|
"description": "Every user-facing string Peacock renders on its own: labels for icon buttons, screen-reader text,\nempty states, toolbar names. Apps translate them once with `setPeacockStrings()`; components that\nrender many strings also take a per-instance `strings` property. A string with values is a function.\n\nNumbers and dates are formatted with `Intl` in the resolved locale, never here."
|
|
327
327
|
},
|
|
328
328
|
{
|
|
@@ -23362,6 +23362,283 @@
|
|
|
23362
23362
|
},
|
|
23363
23363
|
"default": "0.25"
|
|
23364
23364
|
},
|
|
23365
|
+
{
|
|
23366
|
+
"kind": "variable",
|
|
23367
|
+
"name": "DAY_MS",
|
|
23368
|
+
"type": {
|
|
23369
|
+
"text": "number"
|
|
23370
|
+
},
|
|
23371
|
+
"default": "86400000",
|
|
23372
|
+
"description": "Milliseconds in a day of 24 hours."
|
|
23373
|
+
},
|
|
23374
|
+
{
|
|
23375
|
+
"kind": "variable",
|
|
23376
|
+
"name": "MINUTE_MS",
|
|
23377
|
+
"type": {
|
|
23378
|
+
"text": "number"
|
|
23379
|
+
},
|
|
23380
|
+
"default": "60000",
|
|
23381
|
+
"description": "Milliseconds in a minute."
|
|
23382
|
+
},
|
|
23383
|
+
{
|
|
23384
|
+
"kind": "function",
|
|
23385
|
+
"name": "clamp",
|
|
23386
|
+
"return": {
|
|
23387
|
+
"type": {
|
|
23388
|
+
"text": "number"
|
|
23389
|
+
}
|
|
23390
|
+
},
|
|
23391
|
+
"parameters": [
|
|
23392
|
+
{
|
|
23393
|
+
"name": "value",
|
|
23394
|
+
"type": {
|
|
23395
|
+
"text": "number"
|
|
23396
|
+
}
|
|
23397
|
+
},
|
|
23398
|
+
{
|
|
23399
|
+
"name": "min",
|
|
23400
|
+
"type": {
|
|
23401
|
+
"text": "number"
|
|
23402
|
+
}
|
|
23403
|
+
},
|
|
23404
|
+
{
|
|
23405
|
+
"name": "max",
|
|
23406
|
+
"type": {
|
|
23407
|
+
"text": "number"
|
|
23408
|
+
}
|
|
23409
|
+
}
|
|
23410
|
+
]
|
|
23411
|
+
},
|
|
23412
|
+
{
|
|
23413
|
+
"kind": "function",
|
|
23414
|
+
"name": "isMidnight",
|
|
23415
|
+
"return": {
|
|
23416
|
+
"type": {
|
|
23417
|
+
"text": "boolean"
|
|
23418
|
+
}
|
|
23419
|
+
},
|
|
23420
|
+
"parameters": [
|
|
23421
|
+
{
|
|
23422
|
+
"name": "date",
|
|
23423
|
+
"type": {
|
|
23424
|
+
"text": "Date"
|
|
23425
|
+
}
|
|
23426
|
+
}
|
|
23427
|
+
],
|
|
23428
|
+
"description": "Whether `date` is at local midnight."
|
|
23429
|
+
},
|
|
23430
|
+
{
|
|
23431
|
+
"kind": "function",
|
|
23432
|
+
"name": "isAllDayRange",
|
|
23433
|
+
"return": {
|
|
23434
|
+
"type": {
|
|
23435
|
+
"text": "boolean"
|
|
23436
|
+
}
|
|
23437
|
+
},
|
|
23438
|
+
"parameters": [
|
|
23439
|
+
{
|
|
23440
|
+
"name": "start",
|
|
23441
|
+
"type": {
|
|
23442
|
+
"text": "Date"
|
|
23443
|
+
}
|
|
23444
|
+
},
|
|
23445
|
+
{
|
|
23446
|
+
"name": "end",
|
|
23447
|
+
"type": {
|
|
23448
|
+
"text": "Date"
|
|
23449
|
+
}
|
|
23450
|
+
}
|
|
23451
|
+
],
|
|
23452
|
+
"description": "Whether a range belongs in the all-day row: it lasts a day or more, or runs from one midnight to\na later one (a day the clocks go forward on has only 23 hours)."
|
|
23453
|
+
},
|
|
23454
|
+
{
|
|
23455
|
+
"kind": "function",
|
|
23456
|
+
"name": "lastDayOf",
|
|
23457
|
+
"return": {
|
|
23458
|
+
"type": {
|
|
23459
|
+
"text": "Date"
|
|
23460
|
+
}
|
|
23461
|
+
},
|
|
23462
|
+
"parameters": [
|
|
23463
|
+
{
|
|
23464
|
+
"name": "start",
|
|
23465
|
+
"type": {
|
|
23466
|
+
"text": "Date"
|
|
23467
|
+
}
|
|
23468
|
+
},
|
|
23469
|
+
{
|
|
23470
|
+
"name": "end",
|
|
23471
|
+
"type": {
|
|
23472
|
+
"text": "Date"
|
|
23473
|
+
}
|
|
23474
|
+
}
|
|
23475
|
+
],
|
|
23476
|
+
"description": "The last day a range covers. `end` is exclusive, so a range that ends at midnight ends the day\nbefore. Never earlier than the day of `start`."
|
|
23477
|
+
},
|
|
23478
|
+
{
|
|
23479
|
+
"kind": "function",
|
|
23480
|
+
"name": "rangesOverlap",
|
|
23481
|
+
"return": {
|
|
23482
|
+
"type": {
|
|
23483
|
+
"text": "boolean"
|
|
23484
|
+
}
|
|
23485
|
+
},
|
|
23486
|
+
"parameters": [
|
|
23487
|
+
{
|
|
23488
|
+
"name": "start",
|
|
23489
|
+
"type": {
|
|
23490
|
+
"text": "Date"
|
|
23491
|
+
}
|
|
23492
|
+
},
|
|
23493
|
+
{
|
|
23494
|
+
"name": "end",
|
|
23495
|
+
"type": {
|
|
23496
|
+
"text": "Date"
|
|
23497
|
+
}
|
|
23498
|
+
},
|
|
23499
|
+
{
|
|
23500
|
+
"name": "from",
|
|
23501
|
+
"type": {
|
|
23502
|
+
"text": "Date"
|
|
23503
|
+
}
|
|
23504
|
+
},
|
|
23505
|
+
{
|
|
23506
|
+
"name": "to",
|
|
23507
|
+
"type": {
|
|
23508
|
+
"text": "Date"
|
|
23509
|
+
}
|
|
23510
|
+
}
|
|
23511
|
+
],
|
|
23512
|
+
"description": "Whether the range `start`–`end` (end exclusive) shares time with `from`–`to`. A range without\nlength counts when its instant falls inside."
|
|
23513
|
+
},
|
|
23514
|
+
{
|
|
23515
|
+
"kind": "function",
|
|
23516
|
+
"name": "nextDay",
|
|
23517
|
+
"return": {
|
|
23518
|
+
"type": {
|
|
23519
|
+
"text": "Date"
|
|
23520
|
+
}
|
|
23521
|
+
},
|
|
23522
|
+
"parameters": [
|
|
23523
|
+
{
|
|
23524
|
+
"name": "date",
|
|
23525
|
+
"type": {
|
|
23526
|
+
"text": "Date"
|
|
23527
|
+
}
|
|
23528
|
+
}
|
|
23529
|
+
],
|
|
23530
|
+
"description": "The start of the day after `date`'s. Unlike `addDays(day, 1)`, it lands on midnight even after a\nday whose midnight the clocks skipped, where `startOfDay` gives 01:00."
|
|
23531
|
+
},
|
|
23532
|
+
{
|
|
23533
|
+
"kind": "function",
|
|
23534
|
+
"name": "wallMinutes",
|
|
23535
|
+
"return": {
|
|
23536
|
+
"type": {
|
|
23537
|
+
"text": "number"
|
|
23538
|
+
}
|
|
23539
|
+
},
|
|
23540
|
+
"parameters": [
|
|
23541
|
+
{
|
|
23542
|
+
"name": "date",
|
|
23543
|
+
"type": {
|
|
23544
|
+
"text": "Date"
|
|
23545
|
+
}
|
|
23546
|
+
},
|
|
23547
|
+
{
|
|
23548
|
+
"name": "day",
|
|
23549
|
+
"type": {
|
|
23550
|
+
"text": "Date"
|
|
23551
|
+
}
|
|
23552
|
+
}
|
|
23553
|
+
],
|
|
23554
|
+
"description": "Wall-clock minutes from the start of `day` to `date`: negative before it, 1440 or more after\nit. The day and week views draw 24 equal hours, also on the days the clocks change."
|
|
23555
|
+
},
|
|
23556
|
+
{
|
|
23557
|
+
"kind": "function",
|
|
23558
|
+
"name": "atWallMinutes",
|
|
23559
|
+
"return": {
|
|
23560
|
+
"type": {
|
|
23561
|
+
"text": "Date"
|
|
23562
|
+
}
|
|
23563
|
+
},
|
|
23564
|
+
"parameters": [
|
|
23565
|
+
{
|
|
23566
|
+
"name": "day",
|
|
23567
|
+
"type": {
|
|
23568
|
+
"text": "Date"
|
|
23569
|
+
}
|
|
23570
|
+
},
|
|
23571
|
+
{
|
|
23572
|
+
"name": "minutes",
|
|
23573
|
+
"type": {
|
|
23574
|
+
"text": "number"
|
|
23575
|
+
}
|
|
23576
|
+
}
|
|
23577
|
+
],
|
|
23578
|
+
"description": "The time `minutes` after the start of `day` on the wall clock; 1440 is the next midnight."
|
|
23579
|
+
},
|
|
23580
|
+
{
|
|
23581
|
+
"kind": "function",
|
|
23582
|
+
"name": "timeAtFraction",
|
|
23583
|
+
"return": {
|
|
23584
|
+
"type": {
|
|
23585
|
+
"text": "Date"
|
|
23586
|
+
}
|
|
23587
|
+
},
|
|
23588
|
+
"parameters": [
|
|
23589
|
+
{
|
|
23590
|
+
"name": "day",
|
|
23591
|
+
"type": {
|
|
23592
|
+
"text": "Date"
|
|
23593
|
+
}
|
|
23594
|
+
},
|
|
23595
|
+
{
|
|
23596
|
+
"name": "fraction",
|
|
23597
|
+
"type": {
|
|
23598
|
+
"text": "number"
|
|
23599
|
+
}
|
|
23600
|
+
}
|
|
23601
|
+
],
|
|
23602
|
+
"description": "The time at `fraction` (0 to 1) down `day`'s column: the inverse of `getTimePercent`."
|
|
23603
|
+
},
|
|
23604
|
+
{
|
|
23605
|
+
"kind": "function",
|
|
23606
|
+
"name": "snapTime",
|
|
23607
|
+
"return": {
|
|
23608
|
+
"type": {
|
|
23609
|
+
"text": "Date"
|
|
23610
|
+
}
|
|
23611
|
+
},
|
|
23612
|
+
"parameters": [
|
|
23613
|
+
{
|
|
23614
|
+
"name": "date",
|
|
23615
|
+
"type": {
|
|
23616
|
+
"text": "Date"
|
|
23617
|
+
}
|
|
23618
|
+
},
|
|
23619
|
+
{
|
|
23620
|
+
"name": "minutes",
|
|
23621
|
+
"type": {
|
|
23622
|
+
"text": "number"
|
|
23623
|
+
}
|
|
23624
|
+
},
|
|
23625
|
+
{
|
|
23626
|
+
"name": "mode",
|
|
23627
|
+
"default": "'round'",
|
|
23628
|
+
"type": {
|
|
23629
|
+
"text": "'round' | 'floor' | 'ceil'"
|
|
23630
|
+
}
|
|
23631
|
+
},
|
|
23632
|
+
{
|
|
23633
|
+
"name": "day",
|
|
23634
|
+
"default": "date",
|
|
23635
|
+
"type": {
|
|
23636
|
+
"text": "Date"
|
|
23637
|
+
}
|
|
23638
|
+
}
|
|
23639
|
+
],
|
|
23640
|
+
"description": "`date` moved to a multiple of `minutes` on the wall clock after the start of `day` (by default\nits own day): the nearest one, or the one before or after. The result stays within `day`, whose\nend is the next midnight."
|
|
23641
|
+
},
|
|
23365
23642
|
{
|
|
23366
23643
|
"kind": "function",
|
|
23367
23644
|
"name": "zonedParts",
|
|
@@ -23441,6 +23718,70 @@
|
|
|
23441
23718
|
],
|
|
23442
23719
|
"description": "Formats a date for display in `locale`. The patterns name the `en-US` output; other locales get\ntheir own month and day names, order and clock. `dd-MM-yyyy` is a fixed key, not display text."
|
|
23443
23720
|
},
|
|
23721
|
+
{
|
|
23722
|
+
"kind": "function",
|
|
23723
|
+
"name": "formatEventWhen",
|
|
23724
|
+
"return": {
|
|
23725
|
+
"type": {
|
|
23726
|
+
"text": "string"
|
|
23727
|
+
}
|
|
23728
|
+
},
|
|
23729
|
+
"parameters": [
|
|
23730
|
+
{
|
|
23731
|
+
"name": "start",
|
|
23732
|
+
"type": {
|
|
23733
|
+
"text": "Date"
|
|
23734
|
+
}
|
|
23735
|
+
},
|
|
23736
|
+
{
|
|
23737
|
+
"name": "end",
|
|
23738
|
+
"type": {
|
|
23739
|
+
"text": "Date"
|
|
23740
|
+
}
|
|
23741
|
+
},
|
|
23742
|
+
{
|
|
23743
|
+
"name": "locale",
|
|
23744
|
+
"type": {
|
|
23745
|
+
"text": "string"
|
|
23746
|
+
}
|
|
23747
|
+
},
|
|
23748
|
+
{
|
|
23749
|
+
"name": "allDay",
|
|
23750
|
+
"default": "false"
|
|
23751
|
+
}
|
|
23752
|
+
],
|
|
23753
|
+
"description": "When an event happens, for example `Nov 6, 2026, 9:00 – 9:30 AM`. An all-day event shows its\ndays only, through the day before an `end` at midnight."
|
|
23754
|
+
},
|
|
23755
|
+
{
|
|
23756
|
+
"kind": "function",
|
|
23757
|
+
"name": "formatTimeRange",
|
|
23758
|
+
"return": {
|
|
23759
|
+
"type": {
|
|
23760
|
+
"text": "string"
|
|
23761
|
+
}
|
|
23762
|
+
},
|
|
23763
|
+
"parameters": [
|
|
23764
|
+
{
|
|
23765
|
+
"name": "start",
|
|
23766
|
+
"type": {
|
|
23767
|
+
"text": "Date"
|
|
23768
|
+
}
|
|
23769
|
+
},
|
|
23770
|
+
{
|
|
23771
|
+
"name": "end",
|
|
23772
|
+
"type": {
|
|
23773
|
+
"text": "Date"
|
|
23774
|
+
}
|
|
23775
|
+
},
|
|
23776
|
+
{
|
|
23777
|
+
"name": "locale",
|
|
23778
|
+
"type": {
|
|
23779
|
+
"text": "string"
|
|
23780
|
+
}
|
|
23781
|
+
}
|
|
23782
|
+
],
|
|
23783
|
+
"description": "The times of a range without its date, for example `9:00 – 10:30 AM`."
|
|
23784
|
+
},
|
|
23444
23785
|
{
|
|
23445
23786
|
"kind": "function",
|
|
23446
23787
|
"name": "formatEventLabel",
|
|
@@ -23516,7 +23857,8 @@
|
|
|
23516
23857
|
"text": "Date"
|
|
23517
23858
|
}
|
|
23518
23859
|
}
|
|
23519
|
-
]
|
|
23860
|
+
],
|
|
23861
|
+
"description": "How far down `forDay`'s column (by default `date`'s own day) `date` falls, in percent, on a\n24-hour wall clock: a 9:00 event sits at the 9 AM row also on the days the clocks change."
|
|
23520
23862
|
}
|
|
23521
23863
|
],
|
|
23522
23864
|
"exports": [
|
|
@@ -23632,6 +23974,102 @@
|
|
|
23632
23974
|
"module": "src/calendar/utils.ts"
|
|
23633
23975
|
}
|
|
23634
23976
|
},
|
|
23977
|
+
{
|
|
23978
|
+
"kind": "js",
|
|
23979
|
+
"name": "DAY_MS",
|
|
23980
|
+
"declaration": {
|
|
23981
|
+
"name": "DAY_MS",
|
|
23982
|
+
"module": "src/calendar/utils.ts"
|
|
23983
|
+
}
|
|
23984
|
+
},
|
|
23985
|
+
{
|
|
23986
|
+
"kind": "js",
|
|
23987
|
+
"name": "MINUTE_MS",
|
|
23988
|
+
"declaration": {
|
|
23989
|
+
"name": "MINUTE_MS",
|
|
23990
|
+
"module": "src/calendar/utils.ts"
|
|
23991
|
+
}
|
|
23992
|
+
},
|
|
23993
|
+
{
|
|
23994
|
+
"kind": "js",
|
|
23995
|
+
"name": "clamp",
|
|
23996
|
+
"declaration": {
|
|
23997
|
+
"name": "clamp",
|
|
23998
|
+
"module": "src/calendar/utils.ts"
|
|
23999
|
+
}
|
|
24000
|
+
},
|
|
24001
|
+
{
|
|
24002
|
+
"kind": "js",
|
|
24003
|
+
"name": "isMidnight",
|
|
24004
|
+
"declaration": {
|
|
24005
|
+
"name": "isMidnight",
|
|
24006
|
+
"module": "src/calendar/utils.ts"
|
|
24007
|
+
}
|
|
24008
|
+
},
|
|
24009
|
+
{
|
|
24010
|
+
"kind": "js",
|
|
24011
|
+
"name": "isAllDayRange",
|
|
24012
|
+
"declaration": {
|
|
24013
|
+
"name": "isAllDayRange",
|
|
24014
|
+
"module": "src/calendar/utils.ts"
|
|
24015
|
+
}
|
|
24016
|
+
},
|
|
24017
|
+
{
|
|
24018
|
+
"kind": "js",
|
|
24019
|
+
"name": "lastDayOf",
|
|
24020
|
+
"declaration": {
|
|
24021
|
+
"name": "lastDayOf",
|
|
24022
|
+
"module": "src/calendar/utils.ts"
|
|
24023
|
+
}
|
|
24024
|
+
},
|
|
24025
|
+
{
|
|
24026
|
+
"kind": "js",
|
|
24027
|
+
"name": "rangesOverlap",
|
|
24028
|
+
"declaration": {
|
|
24029
|
+
"name": "rangesOverlap",
|
|
24030
|
+
"module": "src/calendar/utils.ts"
|
|
24031
|
+
}
|
|
24032
|
+
},
|
|
24033
|
+
{
|
|
24034
|
+
"kind": "js",
|
|
24035
|
+
"name": "nextDay",
|
|
24036
|
+
"declaration": {
|
|
24037
|
+
"name": "nextDay",
|
|
24038
|
+
"module": "src/calendar/utils.ts"
|
|
24039
|
+
}
|
|
24040
|
+
},
|
|
24041
|
+
{
|
|
24042
|
+
"kind": "js",
|
|
24043
|
+
"name": "wallMinutes",
|
|
24044
|
+
"declaration": {
|
|
24045
|
+
"name": "wallMinutes",
|
|
24046
|
+
"module": "src/calendar/utils.ts"
|
|
24047
|
+
}
|
|
24048
|
+
},
|
|
24049
|
+
{
|
|
24050
|
+
"kind": "js",
|
|
24051
|
+
"name": "atWallMinutes",
|
|
24052
|
+
"declaration": {
|
|
24053
|
+
"name": "atWallMinutes",
|
|
24054
|
+
"module": "src/calendar/utils.ts"
|
|
24055
|
+
}
|
|
24056
|
+
},
|
|
24057
|
+
{
|
|
24058
|
+
"kind": "js",
|
|
24059
|
+
"name": "timeAtFraction",
|
|
24060
|
+
"declaration": {
|
|
24061
|
+
"name": "timeAtFraction",
|
|
24062
|
+
"module": "src/calendar/utils.ts"
|
|
24063
|
+
}
|
|
24064
|
+
},
|
|
24065
|
+
{
|
|
24066
|
+
"kind": "js",
|
|
24067
|
+
"name": "snapTime",
|
|
24068
|
+
"declaration": {
|
|
24069
|
+
"name": "snapTime",
|
|
24070
|
+
"module": "src/calendar/utils.ts"
|
|
24071
|
+
}
|
|
24072
|
+
},
|
|
23635
24073
|
{
|
|
23636
24074
|
"kind": "js",
|
|
23637
24075
|
"name": "zonedParts",
|
|
@@ -23656,6 +24094,22 @@
|
|
|
23656
24094
|
"module": "src/calendar/utils.ts"
|
|
23657
24095
|
}
|
|
23658
24096
|
},
|
|
24097
|
+
{
|
|
24098
|
+
"kind": "js",
|
|
24099
|
+
"name": "formatEventWhen",
|
|
24100
|
+
"declaration": {
|
|
24101
|
+
"name": "formatEventWhen",
|
|
24102
|
+
"module": "src/calendar/utils.ts"
|
|
24103
|
+
}
|
|
24104
|
+
},
|
|
24105
|
+
{
|
|
24106
|
+
"kind": "js",
|
|
24107
|
+
"name": "formatTimeRange",
|
|
24108
|
+
"declaration": {
|
|
24109
|
+
"name": "formatTimeRange",
|
|
24110
|
+
"module": "src/calendar/utils.ts"
|
|
24111
|
+
}
|
|
24112
|
+
},
|
|
23659
24113
|
{
|
|
23660
24114
|
"kind": "js",
|
|
23661
24115
|
"name": "formatEventLabel",
|
|
@@ -23704,6 +24158,24 @@
|
|
|
23704
24158
|
],
|
|
23705
24159
|
"description": "First day of the week for a locale (0 = Sunday), from `Intl.Locale` week info when available."
|
|
23706
24160
|
},
|
|
24161
|
+
{
|
|
24162
|
+
"kind": "function",
|
|
24163
|
+
"name": "weekendDays",
|
|
24164
|
+
"return": {
|
|
24165
|
+
"type": {
|
|
24166
|
+
"text": "WeekDay[]"
|
|
24167
|
+
}
|
|
24168
|
+
},
|
|
24169
|
+
"parameters": [
|
|
24170
|
+
{
|
|
24171
|
+
"name": "locale",
|
|
24172
|
+
"type": {
|
|
24173
|
+
"text": "string"
|
|
24174
|
+
}
|
|
24175
|
+
}
|
|
24176
|
+
],
|
|
24177
|
+
"description": "The weekend days of a locale (0 = Sunday), from `Intl.Locale` week info when available, else\nSaturday and Sunday."
|
|
24178
|
+
},
|
|
23707
24179
|
{
|
|
23708
24180
|
"kind": "function",
|
|
23709
24181
|
"name": "localeHourCycle",
|
|
@@ -24448,6 +24920,14 @@
|
|
|
24448
24920
|
"module": "src/__internal/utils/date.ts"
|
|
24449
24921
|
}
|
|
24450
24922
|
},
|
|
24923
|
+
{
|
|
24924
|
+
"kind": "js",
|
|
24925
|
+
"name": "weekendDays",
|
|
24926
|
+
"declaration": {
|
|
24927
|
+
"name": "weekendDays",
|
|
24928
|
+
"module": "src/__internal/utils/date.ts"
|
|
24929
|
+
}
|
|
24930
|
+
},
|
|
24451
24931
|
{
|
|
24452
24932
|
"kind": "js",
|
|
24453
24933
|
"name": "localeHourCycle",
|
|
@@ -135916,7 +136396,9 @@
|
|
|
135916
136396
|
"name": "gid",
|
|
135917
136397
|
"type": {
|
|
135918
136398
|
"text": "string"
|
|
135919
|
-
}
|
|
136399
|
+
},
|
|
136400
|
+
"description": "Identifies the event within a layout pass.",
|
|
136401
|
+
"default": "`calendar-event-${lastId}`"
|
|
135920
136402
|
},
|
|
135921
136403
|
{
|
|
135922
136404
|
"kind": "field",
|
|
@@ -135943,6 +136425,26 @@
|
|
|
135943
136425
|
}
|
|
135944
136426
|
}
|
|
135945
136427
|
},
|
|
136428
|
+
{
|
|
136429
|
+
"kind": "method",
|
|
136430
|
+
"name": "isAllDay",
|
|
136431
|
+
"return": {
|
|
136432
|
+
"type": {
|
|
136433
|
+
"text": "boolean"
|
|
136434
|
+
}
|
|
136435
|
+
},
|
|
136436
|
+
"description": "Whether the event belongs in the all-day row: it lasts a day or more, or midnight to midnight."
|
|
136437
|
+
},
|
|
136438
|
+
{
|
|
136439
|
+
"kind": "method",
|
|
136440
|
+
"name": "lastDay",
|
|
136441
|
+
"return": {
|
|
136442
|
+
"type": {
|
|
136443
|
+
"text": "Date"
|
|
136444
|
+
}
|
|
136445
|
+
},
|
|
136446
|
+
"description": "The last day the event covers; `end` is exclusive, so an event ending at midnight ends the day before."
|
|
136447
|
+
},
|
|
135946
136448
|
{
|
|
135947
136449
|
"kind": "method",
|
|
135948
136450
|
"name": "isOverlapping",
|
|
@@ -135993,6 +136495,13 @@
|
|
|
135993
136495
|
}
|
|
135994
136496
|
}
|
|
135995
136497
|
]
|
|
136498
|
+
},
|
|
136499
|
+
{
|
|
136500
|
+
"kind": "field",
|
|
136501
|
+
"type": {
|
|
136502
|
+
"text": "number"
|
|
136503
|
+
},
|
|
136504
|
+
"default": "1"
|
|
135996
136505
|
}
|
|
135997
136506
|
]
|
|
135998
136507
|
}
|
|
@@ -136046,6 +136555,8 @@
|
|
|
136046
136555
|
"type": {
|
|
136047
136556
|
"text": "string"
|
|
136048
136557
|
},
|
|
136558
|
+
"description": "Identifies the event within a layout pass.",
|
|
136559
|
+
"default": "`calendar-event-${lastId}`",
|
|
136049
136560
|
"inheritedFrom": {
|
|
136050
136561
|
"name": "BaseEvent",
|
|
136051
136562
|
"module": "src/calendar/base-event.ts"
|
|
@@ -136088,6 +136599,34 @@
|
|
|
136088
136599
|
"module": "src/calendar/base-event.ts"
|
|
136089
136600
|
}
|
|
136090
136601
|
},
|
|
136602
|
+
{
|
|
136603
|
+
"kind": "method",
|
|
136604
|
+
"name": "isAllDay",
|
|
136605
|
+
"return": {
|
|
136606
|
+
"type": {
|
|
136607
|
+
"text": "boolean"
|
|
136608
|
+
}
|
|
136609
|
+
},
|
|
136610
|
+
"description": "Whether the event belongs in the all-day row: it lasts a day or more, or midnight to midnight.",
|
|
136611
|
+
"inheritedFrom": {
|
|
136612
|
+
"name": "BaseEvent",
|
|
136613
|
+
"module": "src/calendar/base-event.ts"
|
|
136614
|
+
}
|
|
136615
|
+
},
|
|
136616
|
+
{
|
|
136617
|
+
"kind": "method",
|
|
136618
|
+
"name": "lastDay",
|
|
136619
|
+
"return": {
|
|
136620
|
+
"type": {
|
|
136621
|
+
"text": "Date"
|
|
136622
|
+
}
|
|
136623
|
+
},
|
|
136624
|
+
"description": "The last day the event covers; `end` is exclusive, so an event ending at midnight ends the day before.",
|
|
136625
|
+
"inheritedFrom": {
|
|
136626
|
+
"name": "BaseEvent",
|
|
136627
|
+
"module": "src/calendar/base-event.ts"
|
|
136628
|
+
}
|
|
136629
|
+
},
|
|
136091
136630
|
{
|
|
136092
136631
|
"kind": "method",
|
|
136093
136632
|
"name": "isOverlapping",
|
|
@@ -136150,6 +136689,17 @@
|
|
|
136150
136689
|
"name": "BaseEvent",
|
|
136151
136690
|
"module": "src/calendar/base-event.ts"
|
|
136152
136691
|
}
|
|
136692
|
+
},
|
|
136693
|
+
{
|
|
136694
|
+
"kind": "field",
|
|
136695
|
+
"type": {
|
|
136696
|
+
"text": "number"
|
|
136697
|
+
},
|
|
136698
|
+
"default": "1",
|
|
136699
|
+
"inheritedFrom": {
|
|
136700
|
+
"name": "BaseEvent",
|
|
136701
|
+
"module": "src/calendar/base-event.ts"
|
|
136702
|
+
}
|
|
136153
136703
|
}
|
|
136154
136704
|
],
|
|
136155
136705
|
"superclass": {
|
|
@@ -136169,6 +136719,35 @@
|
|
|
136169
136719
|
}
|
|
136170
136720
|
]
|
|
136171
136721
|
},
|
|
136722
|
+
{
|
|
136723
|
+
"kind": "javascript-module",
|
|
136724
|
+
"path": "src/calendar/calendar-header.ts",
|
|
136725
|
+
"declarations": [
|
|
136726
|
+
{
|
|
136727
|
+
"kind": "function",
|
|
136728
|
+
"name": "renderCalendarHeader",
|
|
136729
|
+
"parameters": [
|
|
136730
|
+
{
|
|
136731
|
+
"name": "options",
|
|
136732
|
+
"type": {
|
|
136733
|
+
"text": "CalendarHeaderOptions"
|
|
136734
|
+
}
|
|
136735
|
+
}
|
|
136736
|
+
],
|
|
136737
|
+
"description": "The header `wc-calendar` and `wc-calendar-timeline` share: a Today button, Previous and Next, the\nperiod shown (a polite live region) and the views as segmented buttons. Its styles are the\n`styles` mixin of `_calendar-header.scss`."
|
|
136738
|
+
}
|
|
136739
|
+
],
|
|
136740
|
+
"exports": [
|
|
136741
|
+
{
|
|
136742
|
+
"kind": "js",
|
|
136743
|
+
"name": "renderCalendarHeader",
|
|
136744
|
+
"declaration": {
|
|
136745
|
+
"name": "renderCalendarHeader",
|
|
136746
|
+
"module": "src/calendar/calendar-header.ts"
|
|
136747
|
+
}
|
|
136748
|
+
}
|
|
136749
|
+
]
|
|
136750
|
+
},
|
|
136172
136751
|
{
|
|
136173
136752
|
"kind": "javascript-module",
|
|
136174
136753
|
"path": "src/calendar/types.ts",
|
|
@@ -136179,6 +136758,30 @@
|
|
|
136179
136758
|
"kind": "javascript-module",
|
|
136180
136759
|
"path": "src/calendar/calendar.ts",
|
|
136181
136760
|
"declarations": [
|
|
136761
|
+
{
|
|
136762
|
+
"kind": "function",
|
|
136763
|
+
"name": "applyCalendarChange",
|
|
136764
|
+
"return": {
|
|
136765
|
+
"type": {
|
|
136766
|
+
"text": "T[]"
|
|
136767
|
+
}
|
|
136768
|
+
},
|
|
136769
|
+
"parameters": [
|
|
136770
|
+
{
|
|
136771
|
+
"name": "events",
|
|
136772
|
+
"type": {
|
|
136773
|
+
"text": "readonly T[]"
|
|
136774
|
+
}
|
|
136775
|
+
},
|
|
136776
|
+
{
|
|
136777
|
+
"name": "change",
|
|
136778
|
+
"type": {
|
|
136779
|
+
"text": "Pick<CalendarEventChangeDetail, 'event' | 'start' | 'end'>"
|
|
136780
|
+
}
|
|
136781
|
+
}
|
|
136782
|
+
],
|
|
136783
|
+
"description": "Applies an `event-change` to an `events` array the way the calendar does, returning a new array\nin which the event is replaced by a copy with the new `start` and `end`. The event is found by\nidentity, else by `id`. The copy is made with object spread, so give the calendar plain objects,\nnot class instances. Use it to apply a change you canceled, for example once the server has\naccepted it."
|
|
136784
|
+
},
|
|
136182
136785
|
{
|
|
136183
136786
|
"kind": "class",
|
|
136184
136787
|
"description": "",
|
|
@@ -136267,6 +136870,48 @@
|
|
|
136267
136870
|
"description": "Events are shown but cannot be clicked or focused, and `event-click` does not fire.",
|
|
136268
136871
|
"attribute": "events-readonly"
|
|
136269
136872
|
},
|
|
136873
|
+
{
|
|
136874
|
+
"kind": "field",
|
|
136875
|
+
"name": "editable",
|
|
136876
|
+
"type": {
|
|
136877
|
+
"text": "boolean"
|
|
136878
|
+
},
|
|
136879
|
+
"default": "false",
|
|
136880
|
+
"description": "People can drag events to move them and drag their edges to resize them. Each drop fires the\ncancelable `event-change`. An event with `editable: false` stays put.",
|
|
136881
|
+
"attribute": "editable",
|
|
136882
|
+
"reflects": true
|
|
136883
|
+
},
|
|
136884
|
+
{
|
|
136885
|
+
"kind": "field",
|
|
136886
|
+
"name": "addable",
|
|
136887
|
+
"type": {
|
|
136888
|
+
"text": "boolean"
|
|
136889
|
+
},
|
|
136890
|
+
"default": "false",
|
|
136891
|
+
"description": "Dragging across empty time, or clicking it, fires `event-add` with the range and marks it as a\nnew event until `events` changes.",
|
|
136892
|
+
"attribute": "addable",
|
|
136893
|
+
"reflects": true
|
|
136894
|
+
},
|
|
136895
|
+
{
|
|
136896
|
+
"kind": "field",
|
|
136897
|
+
"name": "minuteStep",
|
|
136898
|
+
"type": {
|
|
136899
|
+
"text": "number"
|
|
136900
|
+
},
|
|
136901
|
+
"default": "15",
|
|
136902
|
+
"description": "Minutes that dragging moves, resizes and draws timed events by. Defaults to 15.",
|
|
136903
|
+
"attribute": "minute-step"
|
|
136904
|
+
},
|
|
136905
|
+
{
|
|
136906
|
+
"kind": "field",
|
|
136907
|
+
"name": "defaultDuration",
|
|
136908
|
+
"type": {
|
|
136909
|
+
"text": "number"
|
|
136910
|
+
},
|
|
136911
|
+
"default": "60",
|
|
136912
|
+
"description": "Length in minutes of an event added by clicking empty time in the day or week view. Defaults to 60.",
|
|
136913
|
+
"attribute": "default-duration"
|
|
136914
|
+
},
|
|
136270
136915
|
{
|
|
136271
136916
|
"kind": "field",
|
|
136272
136917
|
"name": "loading",
|
|
@@ -136325,6 +136970,16 @@
|
|
|
136325
136970
|
"privacy": "private",
|
|
136326
136971
|
"description": "The entry of `availableViews` matching `view`."
|
|
136327
136972
|
},
|
|
136973
|
+
{
|
|
136974
|
+
"kind": "field",
|
|
136975
|
+
"name": "_placeholder",
|
|
136976
|
+
"type": {
|
|
136977
|
+
"text": "CalendarEventAddDetail | null"
|
|
136978
|
+
},
|
|
136979
|
+
"privacy": "private",
|
|
136980
|
+
"default": "null",
|
|
136981
|
+
"description": "The range of the last `event-add`, marked as a new event until the app adds it."
|
|
136982
|
+
},
|
|
136328
136983
|
{
|
|
136329
136984
|
"kind": "field",
|
|
136330
136985
|
"name": "_i18n",
|
|
@@ -136348,6 +137003,11 @@
|
|
|
136348
137003
|
"name": "today",
|
|
136349
137004
|
"description": "Moves the view to today, in `timezone`."
|
|
136350
137005
|
},
|
|
137006
|
+
{
|
|
137007
|
+
"kind": "method",
|
|
137008
|
+
"name": "clearPlaceholder",
|
|
137009
|
+
"description": "Removes the new event marked after `event-add`, for when adding it is canceled. It also goes\nwhen `events` changes."
|
|
137010
|
+
},
|
|
136351
137011
|
{
|
|
136352
137012
|
"kind": "method",
|
|
136353
137013
|
"name": "_now",
|
|
@@ -136395,6 +137055,17 @@
|
|
|
136395
137055
|
},
|
|
136396
137056
|
"description": "Whether events can be clicked: not `events-readonly`."
|
|
136397
137057
|
},
|
|
137058
|
+
{
|
|
137059
|
+
"kind": "method",
|
|
137060
|
+
"name": "_eventsEditable",
|
|
137061
|
+
"privacy": "private",
|
|
137062
|
+
"return": {
|
|
137063
|
+
"type": {
|
|
137064
|
+
"text": "boolean"
|
|
137065
|
+
}
|
|
137066
|
+
},
|
|
137067
|
+
"description": "Whether events can be dragged: `editable` and not `events-readonly`."
|
|
137068
|
+
},
|
|
136398
137069
|
{
|
|
136399
137070
|
"kind": "method",
|
|
136400
137071
|
"name": "_step",
|
|
@@ -136421,6 +137092,38 @@
|
|
|
136421
137092
|
}
|
|
136422
137093
|
]
|
|
136423
137094
|
},
|
|
137095
|
+
{
|
|
137096
|
+
"kind": "method",
|
|
137097
|
+
"name": "_announce",
|
|
137098
|
+
"privacy": "private",
|
|
137099
|
+
"parameters": [
|
|
137100
|
+
{
|
|
137101
|
+
"name": "message",
|
|
137102
|
+
"type": {
|
|
137103
|
+
"text": "string"
|
|
137104
|
+
}
|
|
137105
|
+
}
|
|
137106
|
+
],
|
|
137107
|
+
"description": "Reads `message` in the live region. Its text is set directly, so an announcement does not\nrender the calendar, and its views, again."
|
|
137108
|
+
},
|
|
137109
|
+
{
|
|
137110
|
+
"kind": "field",
|
|
137111
|
+
"name": "_handlePointerDown",
|
|
137112
|
+
"privacy": "private",
|
|
137113
|
+
"readonly": true
|
|
137114
|
+
},
|
|
137115
|
+
{
|
|
137116
|
+
"kind": "field",
|
|
137117
|
+
"name": "_handleKeyDown",
|
|
137118
|
+
"privacy": "private",
|
|
137119
|
+
"readonly": true
|
|
137120
|
+
},
|
|
137121
|
+
{
|
|
137122
|
+
"kind": "field",
|
|
137123
|
+
"name": "_handleWindowKeyDown",
|
|
137124
|
+
"privacy": "private",
|
|
137125
|
+
"readonly": true
|
|
137126
|
+
},
|
|
136424
137127
|
{
|
|
136425
137128
|
"kind": "method",
|
|
136426
137129
|
"name": "_onViewDateClick",
|
|
@@ -136449,13 +137152,39 @@
|
|
|
136449
137152
|
},
|
|
136450
137153
|
{
|
|
136451
137154
|
"kind": "method",
|
|
136452
|
-
"name": "
|
|
137155
|
+
"name": "_onViewEventChange",
|
|
136453
137156
|
"privacy": "private",
|
|
136454
137157
|
"parameters": [
|
|
136455
137158
|
{
|
|
136456
137159
|
"name": "evt",
|
|
136457
137160
|
"type": {
|
|
136458
|
-
"text": "CustomEvent<
|
|
137161
|
+
"text": "CustomEvent<CalendarEventChangeDetail>"
|
|
137162
|
+
}
|
|
137163
|
+
}
|
|
137164
|
+
]
|
|
137165
|
+
},
|
|
137166
|
+
{
|
|
137167
|
+
"kind": "method",
|
|
137168
|
+
"name": "_onViewEventAdd",
|
|
137169
|
+
"privacy": "private",
|
|
137170
|
+
"parameters": [
|
|
137171
|
+
{
|
|
137172
|
+
"name": "evt",
|
|
137173
|
+
"type": {
|
|
137174
|
+
"text": "CustomEvent<CalendarEventAddDetail>"
|
|
137175
|
+
}
|
|
137176
|
+
}
|
|
137177
|
+
]
|
|
137178
|
+
},
|
|
137179
|
+
{
|
|
137180
|
+
"kind": "method",
|
|
137181
|
+
"name": "_changeView",
|
|
137182
|
+
"privacy": "private",
|
|
137183
|
+
"parameters": [
|
|
137184
|
+
{
|
|
137185
|
+
"name": "value",
|
|
137186
|
+
"type": {
|
|
137187
|
+
"text": "string"
|
|
136459
137188
|
}
|
|
136460
137189
|
}
|
|
136461
137190
|
]
|
|
@@ -136511,6 +137240,20 @@
|
|
|
136511
137240
|
"text": "CustomEvent<{event: EventType}>"
|
|
136512
137241
|
},
|
|
136513
137242
|
"description": "An event was clicked, or chosen with Enter or Space. Detail contains `{ event }`. Not fired with `events-readonly`."
|
|
137243
|
+
},
|
|
137244
|
+
{
|
|
137245
|
+
"name": "event-add",
|
|
137246
|
+
"type": {
|
|
137247
|
+
"text": "CustomEvent<CalendarEventAddDetail>"
|
|
137248
|
+
},
|
|
137249
|
+
"description": "Empty time was dragged across or clicked. Detail contains `{ start, end, allDay }`. Only with `addable`."
|
|
137250
|
+
},
|
|
137251
|
+
{
|
|
137252
|
+
"type": {
|
|
137253
|
+
"text": "CustomEvent<CalendarEventChangeDetail>"
|
|
137254
|
+
},
|
|
137255
|
+
"description": "An event was dragged to a new time (`action: 'move'`) or had its start or end dragged (`action: 'resize'`). Detail contains `{ event, start, end, action }`, where `event` is the object from `events` as it was. Cancelable: cancel it to keep the event where it was. Only with `editable`.",
|
|
137256
|
+
"name": "event-change"
|
|
136514
137257
|
}
|
|
136515
137258
|
],
|
|
136516
137259
|
"attributes": [
|
|
@@ -136567,6 +137310,42 @@
|
|
|
136567
137310
|
"description": "Events are shown but cannot be clicked or focused, and `event-click` does not fire.",
|
|
136568
137311
|
"fieldName": "eventsReadonly"
|
|
136569
137312
|
},
|
|
137313
|
+
{
|
|
137314
|
+
"name": "editable",
|
|
137315
|
+
"type": {
|
|
137316
|
+
"text": "boolean"
|
|
137317
|
+
},
|
|
137318
|
+
"default": "false",
|
|
137319
|
+
"description": "People can drag events to move them and drag their edges to resize them. Each drop fires the\ncancelable `event-change`. An event with `editable: false` stays put.",
|
|
137320
|
+
"fieldName": "editable"
|
|
137321
|
+
},
|
|
137322
|
+
{
|
|
137323
|
+
"name": "addable",
|
|
137324
|
+
"type": {
|
|
137325
|
+
"text": "boolean"
|
|
137326
|
+
},
|
|
137327
|
+
"default": "false",
|
|
137328
|
+
"description": "Dragging across empty time, or clicking it, fires `event-add` with the range and marks it as a\nnew event until `events` changes.",
|
|
137329
|
+
"fieldName": "addable"
|
|
137330
|
+
},
|
|
137331
|
+
{
|
|
137332
|
+
"name": "minute-step",
|
|
137333
|
+
"type": {
|
|
137334
|
+
"text": "number"
|
|
137335
|
+
},
|
|
137336
|
+
"default": "15",
|
|
137337
|
+
"description": "Minutes that dragging moves, resizes and draws timed events by. Defaults to 15.",
|
|
137338
|
+
"fieldName": "minuteStep"
|
|
137339
|
+
},
|
|
137340
|
+
{
|
|
137341
|
+
"name": "default-duration",
|
|
137342
|
+
"type": {
|
|
137343
|
+
"text": "number"
|
|
137344
|
+
},
|
|
137345
|
+
"default": "60",
|
|
137346
|
+
"description": "Length in minutes of an event added by clicking empty time in the day or week view. Defaults to 60.",
|
|
137347
|
+
"fieldName": "defaultDuration"
|
|
137348
|
+
},
|
|
136570
137349
|
{
|
|
136571
137350
|
"name": "loading",
|
|
136572
137351
|
"type": {
|
|
@@ -136609,6 +137388,38 @@
|
|
|
136609
137388
|
}
|
|
136610
137389
|
],
|
|
136611
137390
|
"exports": [
|
|
137391
|
+
{
|
|
137392
|
+
"kind": "js",
|
|
137393
|
+
"name": "CalendarEventAddDetail",
|
|
137394
|
+
"declaration": {
|
|
137395
|
+
"name": "CalendarEventAddDetail",
|
|
137396
|
+
"module": "./types.js"
|
|
137397
|
+
}
|
|
137398
|
+
},
|
|
137399
|
+
{
|
|
137400
|
+
"kind": "js",
|
|
137401
|
+
"name": "CalendarEventChangeAction",
|
|
137402
|
+
"declaration": {
|
|
137403
|
+
"name": "CalendarEventChangeAction",
|
|
137404
|
+
"module": "./types.js"
|
|
137405
|
+
}
|
|
137406
|
+
},
|
|
137407
|
+
{
|
|
137408
|
+
"kind": "js",
|
|
137409
|
+
"name": "CalendarEventChangeDetail",
|
|
137410
|
+
"declaration": {
|
|
137411
|
+
"name": "CalendarEventChangeDetail",
|
|
137412
|
+
"module": "./types.js"
|
|
137413
|
+
}
|
|
137414
|
+
},
|
|
137415
|
+
{
|
|
137416
|
+
"kind": "js",
|
|
137417
|
+
"name": "applyCalendarChange",
|
|
137418
|
+
"declaration": {
|
|
137419
|
+
"name": "applyCalendarChange",
|
|
137420
|
+
"module": "src/calendar/calendar.ts"
|
|
137421
|
+
}
|
|
137422
|
+
},
|
|
136612
137423
|
{
|
|
136613
137424
|
"kind": "js",
|
|
136614
137425
|
"name": "Calendar",
|
|
@@ -136619,6 +137430,304 @@
|
|
|
136619
137430
|
}
|
|
136620
137431
|
]
|
|
136621
137432
|
},
|
|
137433
|
+
{
|
|
137434
|
+
"kind": "javascript-module",
|
|
137435
|
+
"path": "src/calendar/calendar-drag.ts",
|
|
137436
|
+
"declarations": [
|
|
137437
|
+
{
|
|
137438
|
+
"kind": "function",
|
|
137439
|
+
"name": "nearestIndex",
|
|
137440
|
+
"parameters": [
|
|
137441
|
+
{
|
|
137442
|
+
"name": "elements",
|
|
137443
|
+
"type": {
|
|
137444
|
+
"text": "Element[]"
|
|
137445
|
+
}
|
|
137446
|
+
},
|
|
137447
|
+
{
|
|
137448
|
+
"name": "x",
|
|
137449
|
+
"type": {
|
|
137450
|
+
"text": "number"
|
|
137451
|
+
}
|
|
137452
|
+
},
|
|
137453
|
+
{
|
|
137454
|
+
"name": "y",
|
|
137455
|
+
"optional": true,
|
|
137456
|
+
"type": {
|
|
137457
|
+
"text": "number"
|
|
137458
|
+
}
|
|
137459
|
+
}
|
|
137460
|
+
],
|
|
137461
|
+
"description": "The index of the element whose box holds the point, else of the nearest one; -1 when there are\nnone. Without `y`, only the horizontal distance counts."
|
|
137462
|
+
},
|
|
137463
|
+
{
|
|
137464
|
+
"kind": "function",
|
|
137465
|
+
"name": "dragByDays",
|
|
137466
|
+
"return": {
|
|
137467
|
+
"type": {
|
|
137468
|
+
"text": "{ start: Date; end: Date } | null"
|
|
137469
|
+
}
|
|
137470
|
+
},
|
|
137471
|
+
"parameters": [
|
|
137472
|
+
{
|
|
137473
|
+
"name": "action",
|
|
137474
|
+
"type": {
|
|
137475
|
+
"text": "CalendarDragAction"
|
|
137476
|
+
}
|
|
137477
|
+
},
|
|
137478
|
+
{
|
|
137479
|
+
"name": "from",
|
|
137480
|
+
"type": {
|
|
137481
|
+
"text": "Date"
|
|
137482
|
+
}
|
|
137483
|
+
},
|
|
137484
|
+
{
|
|
137485
|
+
"name": "to",
|
|
137486
|
+
"type": {
|
|
137487
|
+
"text": "Date"
|
|
137488
|
+
}
|
|
137489
|
+
},
|
|
137490
|
+
{
|
|
137491
|
+
"name": "event",
|
|
137492
|
+
"optional": true,
|
|
137493
|
+
"type": {
|
|
137494
|
+
"text": "{ start: Date; end: Date }"
|
|
137495
|
+
}
|
|
137496
|
+
}
|
|
137497
|
+
],
|
|
137498
|
+
"description": "Where a drag by whole days puts an event, or the days it adds: `from` is the day pressed and\n`to` the day under the pointer. Moves keep the event's times of day. Resizes keep the time of\nthe edge that moves and never let the event end before it starts; an event that ends up shorter\nthan a day is drawn in the hours from then on. An added range runs from midnight to the\nmidnight after its last day."
|
|
137499
|
+
},
|
|
137500
|
+
{
|
|
137501
|
+
"kind": "class",
|
|
137502
|
+
"description": "Turns presses in a calendar view into drags, the way `wc-kanban` does: a mouse or pen drags once\nit moves a few pixels, a finger once it has held still briefly (moving sooner scrolls). During a\ndrag the pointer is captured by the view, the view's scrollers scroll near their edges, the page\ndoes not scroll under a finger, and Escape cancels. The click that ends a drag, dropped or\ncanceled, is swallowed, so it does not also open an event.\n\nSet `enabled` while the view can be dragged in: the touch listener that keeps the page still is\nnot passive, so read-only views do without it.",
|
|
137503
|
+
"name": "CalendarDragController",
|
|
137504
|
+
"members": [
|
|
137505
|
+
{
|
|
137506
|
+
"kind": "field",
|
|
137507
|
+
"name": "press",
|
|
137508
|
+
"type": {
|
|
137509
|
+
"text": "Press<T> | null"
|
|
137510
|
+
},
|
|
137511
|
+
"privacy": "private",
|
|
137512
|
+
"default": "null"
|
|
137513
|
+
},
|
|
137514
|
+
{
|
|
137515
|
+
"kind": "field",
|
|
137516
|
+
"name": "host",
|
|
137517
|
+
"type": {
|
|
137518
|
+
"text": "ReactiveControllerHost & HTMLElement"
|
|
137519
|
+
},
|
|
137520
|
+
"privacy": "private",
|
|
137521
|
+
"readonly": true,
|
|
137522
|
+
"default": "host"
|
|
137523
|
+
},
|
|
137524
|
+
{
|
|
137525
|
+
"kind": "field",
|
|
137526
|
+
"name": "handlers",
|
|
137527
|
+
"type": {
|
|
137528
|
+
"text": "DragHandlers<T>"
|
|
137529
|
+
},
|
|
137530
|
+
"privacy": "private",
|
|
137531
|
+
"readonly": true,
|
|
137532
|
+
"default": "handlers"
|
|
137533
|
+
},
|
|
137534
|
+
{
|
|
137535
|
+
"kind": "field",
|
|
137536
|
+
"name": "_enabled",
|
|
137537
|
+
"type": {
|
|
137538
|
+
"text": "boolean"
|
|
137539
|
+
},
|
|
137540
|
+
"privacy": "private",
|
|
137541
|
+
"default": "false"
|
|
137542
|
+
},
|
|
137543
|
+
{
|
|
137544
|
+
"kind": "field",
|
|
137545
|
+
"name": "connected",
|
|
137546
|
+
"type": {
|
|
137547
|
+
"text": "boolean"
|
|
137548
|
+
},
|
|
137549
|
+
"privacy": "private",
|
|
137550
|
+
"default": "false"
|
|
137551
|
+
},
|
|
137552
|
+
{
|
|
137553
|
+
"kind": "field",
|
|
137554
|
+
"name": "enabled",
|
|
137555
|
+
"type": {
|
|
137556
|
+
"text": "boolean"
|
|
137557
|
+
},
|
|
137558
|
+
"description": "Whether presses can become drags; turning it off cancels a drag in progress."
|
|
137559
|
+
},
|
|
137560
|
+
{
|
|
137561
|
+
"kind": "field",
|
|
137562
|
+
"name": "pressing",
|
|
137563
|
+
"type": {
|
|
137564
|
+
"text": "boolean"
|
|
137565
|
+
},
|
|
137566
|
+
"description": "Whether a press is being followed, dragging or not yet.",
|
|
137567
|
+
"readonly": true
|
|
137568
|
+
},
|
|
137569
|
+
{
|
|
137570
|
+
"kind": "field",
|
|
137571
|
+
"name": "dragging",
|
|
137572
|
+
"type": {
|
|
137573
|
+
"text": "boolean"
|
|
137574
|
+
},
|
|
137575
|
+
"description": "Whether a drag is in progress.",
|
|
137576
|
+
"readonly": true
|
|
137577
|
+
},
|
|
137578
|
+
{
|
|
137579
|
+
"kind": "method",
|
|
137580
|
+
"name": "hostConnected"
|
|
137581
|
+
},
|
|
137582
|
+
{
|
|
137583
|
+
"kind": "method",
|
|
137584
|
+
"name": "hostDisconnected"
|
|
137585
|
+
},
|
|
137586
|
+
{
|
|
137587
|
+
"kind": "method",
|
|
137588
|
+
"name": "start",
|
|
137589
|
+
"return": {
|
|
137590
|
+
"type": {
|
|
137591
|
+
"text": "boolean"
|
|
137592
|
+
}
|
|
137593
|
+
},
|
|
137594
|
+
"parameters": [
|
|
137595
|
+
{
|
|
137596
|
+
"name": "event",
|
|
137597
|
+
"type": {
|
|
137598
|
+
"text": "PointerEvent"
|
|
137599
|
+
}
|
|
137600
|
+
},
|
|
137601
|
+
{
|
|
137602
|
+
"name": "data",
|
|
137603
|
+
"type": {
|
|
137604
|
+
"text": "T"
|
|
137605
|
+
}
|
|
137606
|
+
}
|
|
137607
|
+
],
|
|
137608
|
+
"description": "Follows a press from its `pointerdown`. Returns `false`, ignoring it, when not `enabled`, for\na secondary button or pointer, or while another press is followed."
|
|
137609
|
+
},
|
|
137610
|
+
{
|
|
137611
|
+
"kind": "method",
|
|
137612
|
+
"name": "abort",
|
|
137613
|
+
"description": "Stops following the press; a drag in progress is canceled."
|
|
137614
|
+
},
|
|
137615
|
+
{
|
|
137616
|
+
"kind": "method",
|
|
137617
|
+
"name": "listen",
|
|
137618
|
+
"privacy": "private",
|
|
137619
|
+
"description": "Adds the host's listeners while it is connected and enabled, and removes them otherwise."
|
|
137620
|
+
},
|
|
137621
|
+
{
|
|
137622
|
+
"kind": "method",
|
|
137623
|
+
"name": "lift",
|
|
137624
|
+
"privacy": "private"
|
|
137625
|
+
},
|
|
137626
|
+
{
|
|
137627
|
+
"kind": "method",
|
|
137628
|
+
"name": "autoScroll",
|
|
137629
|
+
"privacy": "private",
|
|
137630
|
+
"parameters": [
|
|
137631
|
+
{
|
|
137632
|
+
"name": "press",
|
|
137633
|
+
"type": {
|
|
137634
|
+
"text": "Press<T>"
|
|
137635
|
+
}
|
|
137636
|
+
}
|
|
137637
|
+
]
|
|
137638
|
+
},
|
|
137639
|
+
{
|
|
137640
|
+
"kind": "method",
|
|
137641
|
+
"name": "end",
|
|
137642
|
+
"privacy": "private",
|
|
137643
|
+
"description": "Stops following the press without telling the view."
|
|
137644
|
+
},
|
|
137645
|
+
{
|
|
137646
|
+
"kind": "method",
|
|
137647
|
+
"name": "swallowClickAfterRelease",
|
|
137648
|
+
"privacy": "private",
|
|
137649
|
+
"parameters": [
|
|
137650
|
+
{
|
|
137651
|
+
"name": "pointerId",
|
|
137652
|
+
"type": {
|
|
137653
|
+
"text": "number"
|
|
137654
|
+
}
|
|
137655
|
+
}
|
|
137656
|
+
],
|
|
137657
|
+
"description": "After a drag canceled with the button still down, swallows the click its release makes."
|
|
137658
|
+
},
|
|
137659
|
+
{
|
|
137660
|
+
"kind": "field",
|
|
137661
|
+
"name": "handlePointerMove",
|
|
137662
|
+
"privacy": "private",
|
|
137663
|
+
"readonly": true
|
|
137664
|
+
},
|
|
137665
|
+
{
|
|
137666
|
+
"kind": "field",
|
|
137667
|
+
"name": "handlePointerUp",
|
|
137668
|
+
"privacy": "private",
|
|
137669
|
+
"readonly": true
|
|
137670
|
+
},
|
|
137671
|
+
{
|
|
137672
|
+
"kind": "field",
|
|
137673
|
+
"name": "handlePointerCancel",
|
|
137674
|
+
"privacy": "private",
|
|
137675
|
+
"readonly": true
|
|
137676
|
+
},
|
|
137677
|
+
{
|
|
137678
|
+
"kind": "field",
|
|
137679
|
+
"name": "handleLostCapture",
|
|
137680
|
+
"privacy": "private",
|
|
137681
|
+
"readonly": true
|
|
137682
|
+
},
|
|
137683
|
+
{
|
|
137684
|
+
"kind": "field",
|
|
137685
|
+
"name": "handleKeyDown",
|
|
137686
|
+
"privacy": "private",
|
|
137687
|
+
"readonly": true
|
|
137688
|
+
},
|
|
137689
|
+
{
|
|
137690
|
+
"kind": "field",
|
|
137691
|
+
"name": "handleTouchMove",
|
|
137692
|
+
"privacy": "private",
|
|
137693
|
+
"readonly": true
|
|
137694
|
+
},
|
|
137695
|
+
{
|
|
137696
|
+
"kind": "field",
|
|
137697
|
+
"name": "handleContextMenu",
|
|
137698
|
+
"privacy": "private",
|
|
137699
|
+
"readonly": true
|
|
137700
|
+
}
|
|
137701
|
+
]
|
|
137702
|
+
}
|
|
137703
|
+
],
|
|
137704
|
+
"exports": [
|
|
137705
|
+
{
|
|
137706
|
+
"kind": "js",
|
|
137707
|
+
"name": "nearestIndex",
|
|
137708
|
+
"declaration": {
|
|
137709
|
+
"name": "nearestIndex",
|
|
137710
|
+
"module": "src/calendar/calendar-drag.ts"
|
|
137711
|
+
}
|
|
137712
|
+
},
|
|
137713
|
+
{
|
|
137714
|
+
"kind": "js",
|
|
137715
|
+
"name": "dragByDays",
|
|
137716
|
+
"declaration": {
|
|
137717
|
+
"name": "dragByDays",
|
|
137718
|
+
"module": "src/calendar/calendar-drag.ts"
|
|
137719
|
+
}
|
|
137720
|
+
},
|
|
137721
|
+
{
|
|
137722
|
+
"kind": "js",
|
|
137723
|
+
"name": "CalendarDragController",
|
|
137724
|
+
"declaration": {
|
|
137725
|
+
"name": "CalendarDragController",
|
|
137726
|
+
"module": "src/calendar/calendar-drag.ts"
|
|
137727
|
+
}
|
|
137728
|
+
}
|
|
137729
|
+
]
|
|
137730
|
+
},
|
|
136622
137731
|
{
|
|
136623
137732
|
"kind": "javascript-module",
|
|
136624
137733
|
"path": "src/calendar/event-manager.ts",
|
|
@@ -136677,6 +137786,8 @@
|
|
|
136677
137786
|
"type": {
|
|
136678
137787
|
"text": "string"
|
|
136679
137788
|
},
|
|
137789
|
+
"description": "Identifies the event within a layout pass.",
|
|
137790
|
+
"default": "`calendar-event-${lastId}`",
|
|
136680
137791
|
"inheritedFrom": {
|
|
136681
137792
|
"name": "BaseEvent",
|
|
136682
137793
|
"module": "src/calendar/base-event.ts"
|
|
@@ -136719,6 +137830,34 @@
|
|
|
136719
137830
|
"module": "src/calendar/base-event.ts"
|
|
136720
137831
|
}
|
|
136721
137832
|
},
|
|
137833
|
+
{
|
|
137834
|
+
"kind": "method",
|
|
137835
|
+
"name": "isAllDay",
|
|
137836
|
+
"return": {
|
|
137837
|
+
"type": {
|
|
137838
|
+
"text": "boolean"
|
|
137839
|
+
}
|
|
137840
|
+
},
|
|
137841
|
+
"description": "Whether the event belongs in the all-day row: it lasts a day or more, or midnight to midnight.",
|
|
137842
|
+
"inheritedFrom": {
|
|
137843
|
+
"name": "BaseEvent",
|
|
137844
|
+
"module": "src/calendar/base-event.ts"
|
|
137845
|
+
}
|
|
137846
|
+
},
|
|
137847
|
+
{
|
|
137848
|
+
"kind": "method",
|
|
137849
|
+
"name": "lastDay",
|
|
137850
|
+
"return": {
|
|
137851
|
+
"type": {
|
|
137852
|
+
"text": "Date"
|
|
137853
|
+
}
|
|
137854
|
+
},
|
|
137855
|
+
"description": "The last day the event covers; `end` is exclusive, so an event ending at midnight ends the day before.",
|
|
137856
|
+
"inheritedFrom": {
|
|
137857
|
+
"name": "BaseEvent",
|
|
137858
|
+
"module": "src/calendar/base-event.ts"
|
|
137859
|
+
}
|
|
137860
|
+
},
|
|
136722
137861
|
{
|
|
136723
137862
|
"kind": "method",
|
|
136724
137863
|
"name": "isOverlapping",
|
|
@@ -136781,6 +137920,17 @@
|
|
|
136781
137920
|
"name": "BaseEvent",
|
|
136782
137921
|
"module": "src/calendar/base-event.ts"
|
|
136783
137922
|
}
|
|
137923
|
+
},
|
|
137924
|
+
{
|
|
137925
|
+
"kind": "field",
|
|
137926
|
+
"type": {
|
|
137927
|
+
"text": "number"
|
|
137928
|
+
},
|
|
137929
|
+
"default": "1",
|
|
137930
|
+
"inheritedFrom": {
|
|
137931
|
+
"name": "BaseEvent",
|
|
137932
|
+
"module": "src/calendar/base-event.ts"
|
|
137933
|
+
}
|
|
136784
137934
|
}
|
|
136785
137935
|
],
|
|
136786
137936
|
"superclass": {
|
|
@@ -136941,6 +138091,14 @@
|
|
|
136941
138091
|
"module": "./calendar.js"
|
|
136942
138092
|
}
|
|
136943
138093
|
},
|
|
138094
|
+
{
|
|
138095
|
+
"kind": "js",
|
|
138096
|
+
"name": "applyCalendarChange",
|
|
138097
|
+
"declaration": {
|
|
138098
|
+
"name": "applyCalendarChange",
|
|
138099
|
+
"module": "./calendar.js"
|
|
138100
|
+
}
|
|
138101
|
+
},
|
|
136944
138102
|
{
|
|
136945
138103
|
"kind": "js",
|
|
136946
138104
|
"name": "CalendarDateChangeDetail",
|
|
@@ -136980,6 +138138,1840 @@
|
|
|
136980
138138
|
"name": "EventType",
|
|
136981
138139
|
"module": "./types.js"
|
|
136982
138140
|
}
|
|
138141
|
+
},
|
|
138142
|
+
{
|
|
138143
|
+
"kind": "js",
|
|
138144
|
+
"name": "CalendarEventAddDetail",
|
|
138145
|
+
"declaration": {
|
|
138146
|
+
"name": "CalendarEventAddDetail",
|
|
138147
|
+
"module": "./types.js"
|
|
138148
|
+
}
|
|
138149
|
+
},
|
|
138150
|
+
{
|
|
138151
|
+
"kind": "js",
|
|
138152
|
+
"name": "CalendarEventChangeAction",
|
|
138153
|
+
"declaration": {
|
|
138154
|
+
"name": "CalendarEventChangeAction",
|
|
138155
|
+
"module": "./types.js"
|
|
138156
|
+
}
|
|
138157
|
+
},
|
|
138158
|
+
{
|
|
138159
|
+
"kind": "js",
|
|
138160
|
+
"name": "CalendarEventChangeDetail",
|
|
138161
|
+
"declaration": {
|
|
138162
|
+
"name": "CalendarEventChangeDetail",
|
|
138163
|
+
"module": "./types.js"
|
|
138164
|
+
}
|
|
138165
|
+
}
|
|
138166
|
+
]
|
|
138167
|
+
},
|
|
138168
|
+
{
|
|
138169
|
+
"kind": "javascript-module",
|
|
138170
|
+
"path": "src/calendar-timeline/types.ts",
|
|
138171
|
+
"declarations": [],
|
|
138172
|
+
"exports": []
|
|
138173
|
+
},
|
|
138174
|
+
{
|
|
138175
|
+
"kind": "javascript-module",
|
|
138176
|
+
"path": "src/calendar-timeline/layout.ts",
|
|
138177
|
+
"declarations": [
|
|
138178
|
+
{
|
|
138179
|
+
"kind": "variable",
|
|
138180
|
+
"name": "DAY_MINUTES",
|
|
138181
|
+
"type": {
|
|
138182
|
+
"text": "number"
|
|
138183
|
+
},
|
|
138184
|
+
"default": "1440",
|
|
138185
|
+
"description": "Minutes in a day on the wall clock."
|
|
138186
|
+
},
|
|
138187
|
+
{
|
|
138188
|
+
"kind": "function",
|
|
138189
|
+
"name": "viewRange",
|
|
138190
|
+
"return": {
|
|
138191
|
+
"type": {
|
|
138192
|
+
"text": "TimelineRange"
|
|
138193
|
+
}
|
|
138194
|
+
},
|
|
138195
|
+
"parameters": [
|
|
138196
|
+
{
|
|
138197
|
+
"name": "view",
|
|
138198
|
+
"type": {
|
|
138199
|
+
"text": "CalendarTimelineViewType"
|
|
138200
|
+
}
|
|
138201
|
+
},
|
|
138202
|
+
{
|
|
138203
|
+
"name": "date",
|
|
138204
|
+
"type": {
|
|
138205
|
+
"text": "Date"
|
|
138206
|
+
}
|
|
138207
|
+
},
|
|
138208
|
+
{
|
|
138209
|
+
"name": "weekStartsOn",
|
|
138210
|
+
"type": {
|
|
138211
|
+
"text": "WeekDay"
|
|
138212
|
+
}
|
|
138213
|
+
}
|
|
138214
|
+
],
|
|
138215
|
+
"description": "The days `view` shows around `date`: a calendar month when it has no `days`."
|
|
138216
|
+
},
|
|
138217
|
+
{
|
|
138218
|
+
"kind": "function",
|
|
138219
|
+
"name": "axisLength",
|
|
138220
|
+
"return": {
|
|
138221
|
+
"type": {
|
|
138222
|
+
"text": "number"
|
|
138223
|
+
}
|
|
138224
|
+
},
|
|
138225
|
+
"parameters": [
|
|
138226
|
+
{
|
|
138227
|
+
"name": "range",
|
|
138228
|
+
"type": {
|
|
138229
|
+
"text": "TimelineRange"
|
|
138230
|
+
}
|
|
138231
|
+
}
|
|
138232
|
+
],
|
|
138233
|
+
"description": "Minutes on the axis of the whole range."
|
|
138234
|
+
},
|
|
138235
|
+
{
|
|
138236
|
+
"kind": "function",
|
|
138237
|
+
"name": "rangeEnd",
|
|
138238
|
+
"return": {
|
|
138239
|
+
"type": {
|
|
138240
|
+
"text": "Date"
|
|
138241
|
+
}
|
|
138242
|
+
},
|
|
138243
|
+
"parameters": [
|
|
138244
|
+
{
|
|
138245
|
+
"name": "range",
|
|
138246
|
+
"type": {
|
|
138247
|
+
"text": "TimelineRange"
|
|
138248
|
+
}
|
|
138249
|
+
}
|
|
138250
|
+
],
|
|
138251
|
+
"description": "The midnight that ends the range."
|
|
138252
|
+
},
|
|
138253
|
+
{
|
|
138254
|
+
"kind": "function",
|
|
138255
|
+
"name": "dayOfRange",
|
|
138256
|
+
"return": {
|
|
138257
|
+
"type": {
|
|
138258
|
+
"text": "Date"
|
|
138259
|
+
}
|
|
138260
|
+
},
|
|
138261
|
+
"parameters": [
|
|
138262
|
+
{
|
|
138263
|
+
"name": "range",
|
|
138264
|
+
"type": {
|
|
138265
|
+
"text": "TimelineRange"
|
|
138266
|
+
}
|
|
138267
|
+
},
|
|
138268
|
+
{
|
|
138269
|
+
"name": "index",
|
|
138270
|
+
"type": {
|
|
138271
|
+
"text": "number"
|
|
138272
|
+
}
|
|
138273
|
+
}
|
|
138274
|
+
],
|
|
138275
|
+
"description": "The day `index` days into the range, at midnight."
|
|
138276
|
+
},
|
|
138277
|
+
{
|
|
138278
|
+
"kind": "function",
|
|
138279
|
+
"name": "axisMinutes",
|
|
138280
|
+
"return": {
|
|
138281
|
+
"type": {
|
|
138282
|
+
"text": "number"
|
|
138283
|
+
}
|
|
138284
|
+
},
|
|
138285
|
+
"parameters": [
|
|
138286
|
+
{
|
|
138287
|
+
"name": "range",
|
|
138288
|
+
"type": {
|
|
138289
|
+
"text": "TimelineRange"
|
|
138290
|
+
}
|
|
138291
|
+
},
|
|
138292
|
+
{
|
|
138293
|
+
"name": "date",
|
|
138294
|
+
"type": {
|
|
138295
|
+
"text": "Date"
|
|
138296
|
+
}
|
|
138297
|
+
}
|
|
138298
|
+
],
|
|
138299
|
+
"description": "Wall-clock minutes from the start of the range to `date`: negative before it, not clamped."
|
|
138300
|
+
},
|
|
138301
|
+
{
|
|
138302
|
+
"kind": "function",
|
|
138303
|
+
"name": "dateAtAxis",
|
|
138304
|
+
"return": {
|
|
138305
|
+
"type": {
|
|
138306
|
+
"text": "Date"
|
|
138307
|
+
}
|
|
138308
|
+
},
|
|
138309
|
+
"parameters": [
|
|
138310
|
+
{
|
|
138311
|
+
"name": "range",
|
|
138312
|
+
"type": {
|
|
138313
|
+
"text": "TimelineRange"
|
|
138314
|
+
}
|
|
138315
|
+
},
|
|
138316
|
+
{
|
|
138317
|
+
"name": "minutes",
|
|
138318
|
+
"type": {
|
|
138319
|
+
"text": "number"
|
|
138320
|
+
}
|
|
138321
|
+
}
|
|
138322
|
+
],
|
|
138323
|
+
"description": "The time `minutes` along the axis, kept within the range."
|
|
138324
|
+
},
|
|
138325
|
+
{
|
|
138326
|
+
"kind": "function",
|
|
138327
|
+
"name": "eventSpan",
|
|
138328
|
+
"return": {
|
|
138329
|
+
"type": {
|
|
138330
|
+
"text": "AxisSpan"
|
|
138331
|
+
}
|
|
138332
|
+
},
|
|
138333
|
+
"parameters": [
|
|
138334
|
+
{
|
|
138335
|
+
"name": "range",
|
|
138336
|
+
"type": {
|
|
138337
|
+
"text": "TimelineRange"
|
|
138338
|
+
}
|
|
138339
|
+
},
|
|
138340
|
+
{
|
|
138341
|
+
"name": "slot",
|
|
138342
|
+
"type": {
|
|
138343
|
+
"text": "CalendarTimelineViewType['slot']"
|
|
138344
|
+
}
|
|
138345
|
+
},
|
|
138346
|
+
{
|
|
138347
|
+
"name": "start",
|
|
138348
|
+
"type": {
|
|
138349
|
+
"text": "Date"
|
|
138350
|
+
}
|
|
138351
|
+
},
|
|
138352
|
+
{
|
|
138353
|
+
"name": "end",
|
|
138354
|
+
"type": {
|
|
138355
|
+
"text": "Date"
|
|
138356
|
+
}
|
|
138357
|
+
}
|
|
138358
|
+
],
|
|
138359
|
+
"description": "Where an event sits on the axis, within the range: from its start to its end in hour views, and\nover the whole days it touches in day views."
|
|
138360
|
+
},
|
|
138361
|
+
{
|
|
138362
|
+
"kind": "function",
|
|
138363
|
+
"name": "assignLanes",
|
|
138364
|
+
"return": {
|
|
138365
|
+
"type": {
|
|
138366
|
+
"text": "{ lanes: number; laneOf: Map<T, number> }"
|
|
138367
|
+
}
|
|
138368
|
+
},
|
|
138369
|
+
"parameters": [
|
|
138370
|
+
{
|
|
138371
|
+
"name": "items",
|
|
138372
|
+
"type": {
|
|
138373
|
+
"text": "readonly T[]"
|
|
138374
|
+
}
|
|
138375
|
+
}
|
|
138376
|
+
],
|
|
138377
|
+
"description": "Lanes for the events of a row: each takes the first lane that is free when it starts, so\nevents that only touch share a lane. `lanes` is at least 1."
|
|
138378
|
+
}
|
|
138379
|
+
],
|
|
138380
|
+
"exports": [
|
|
138381
|
+
{
|
|
138382
|
+
"kind": "js",
|
|
138383
|
+
"name": "DAY_MINUTES",
|
|
138384
|
+
"declaration": {
|
|
138385
|
+
"name": "DAY_MINUTES",
|
|
138386
|
+
"module": "src/calendar-timeline/layout.ts"
|
|
138387
|
+
}
|
|
138388
|
+
},
|
|
138389
|
+
{
|
|
138390
|
+
"kind": "js",
|
|
138391
|
+
"name": "viewRange",
|
|
138392
|
+
"declaration": {
|
|
138393
|
+
"name": "viewRange",
|
|
138394
|
+
"module": "src/calendar-timeline/layout.ts"
|
|
138395
|
+
}
|
|
138396
|
+
},
|
|
138397
|
+
{
|
|
138398
|
+
"kind": "js",
|
|
138399
|
+
"name": "axisLength",
|
|
138400
|
+
"declaration": {
|
|
138401
|
+
"name": "axisLength",
|
|
138402
|
+
"module": "src/calendar-timeline/layout.ts"
|
|
138403
|
+
}
|
|
138404
|
+
},
|
|
138405
|
+
{
|
|
138406
|
+
"kind": "js",
|
|
138407
|
+
"name": "rangeEnd",
|
|
138408
|
+
"declaration": {
|
|
138409
|
+
"name": "rangeEnd",
|
|
138410
|
+
"module": "src/calendar-timeline/layout.ts"
|
|
138411
|
+
}
|
|
138412
|
+
},
|
|
138413
|
+
{
|
|
138414
|
+
"kind": "js",
|
|
138415
|
+
"name": "dayOfRange",
|
|
138416
|
+
"declaration": {
|
|
138417
|
+
"name": "dayOfRange",
|
|
138418
|
+
"module": "src/calendar-timeline/layout.ts"
|
|
138419
|
+
}
|
|
138420
|
+
},
|
|
138421
|
+
{
|
|
138422
|
+
"kind": "js",
|
|
138423
|
+
"name": "axisMinutes",
|
|
138424
|
+
"declaration": {
|
|
138425
|
+
"name": "axisMinutes",
|
|
138426
|
+
"module": "src/calendar-timeline/layout.ts"
|
|
138427
|
+
}
|
|
138428
|
+
},
|
|
138429
|
+
{
|
|
138430
|
+
"kind": "js",
|
|
138431
|
+
"name": "dateAtAxis",
|
|
138432
|
+
"declaration": {
|
|
138433
|
+
"name": "dateAtAxis",
|
|
138434
|
+
"module": "src/calendar-timeline/layout.ts"
|
|
138435
|
+
}
|
|
138436
|
+
},
|
|
138437
|
+
{
|
|
138438
|
+
"kind": "js",
|
|
138439
|
+
"name": "eventSpan",
|
|
138440
|
+
"declaration": {
|
|
138441
|
+
"name": "eventSpan",
|
|
138442
|
+
"module": "src/calendar-timeline/layout.ts"
|
|
138443
|
+
}
|
|
138444
|
+
},
|
|
138445
|
+
{
|
|
138446
|
+
"kind": "js",
|
|
138447
|
+
"name": "assignLanes",
|
|
138448
|
+
"declaration": {
|
|
138449
|
+
"name": "assignLanes",
|
|
138450
|
+
"module": "src/calendar-timeline/layout.ts"
|
|
138451
|
+
}
|
|
138452
|
+
}
|
|
138453
|
+
]
|
|
138454
|
+
},
|
|
138455
|
+
{
|
|
138456
|
+
"kind": "javascript-module",
|
|
138457
|
+
"path": "src/calendar-timeline/calendar-timeline.ts",
|
|
138458
|
+
"declarations": [
|
|
138459
|
+
{
|
|
138460
|
+
"kind": "function",
|
|
138461
|
+
"name": "applyCalendarTimelineChange",
|
|
138462
|
+
"return": {
|
|
138463
|
+
"type": {
|
|
138464
|
+
"text": "T[]"
|
|
138465
|
+
}
|
|
138466
|
+
},
|
|
138467
|
+
"parameters": [
|
|
138468
|
+
{
|
|
138469
|
+
"name": "events",
|
|
138470
|
+
"type": {
|
|
138471
|
+
"text": "readonly T[]"
|
|
138472
|
+
}
|
|
138473
|
+
},
|
|
138474
|
+
{
|
|
138475
|
+
"name": "change",
|
|
138476
|
+
"type": {
|
|
138477
|
+
"text": "Pick<\n CalendarTimelineEventChangeDetail,\n 'event' | 'start' | 'end' | 'resourceId'\n >"
|
|
138478
|
+
}
|
|
138479
|
+
}
|
|
138480
|
+
],
|
|
138481
|
+
"description": "Applies an `event-change` to an `events` array the way the timeline does, returning a new array in\nwhich the event is replaced by a copy with the new `start`, `end` and `resourceId`. The event is\nfound by identity, else by `id`. The copy is made with object spread, so give the timeline plain\nobjects. Use it to apply a change you canceled, for example once the server has accepted it."
|
|
138482
|
+
},
|
|
138483
|
+
{
|
|
138484
|
+
"kind": "class",
|
|
138485
|
+
"description": "",
|
|
138486
|
+
"name": "CalendarTimeline",
|
|
138487
|
+
"cssProperties": [
|
|
138488
|
+
{
|
|
138489
|
+
"description": "Width of the resource column. Defaults to `12rem`.",
|
|
138490
|
+
"name": "--calendar-timeline-resource-width"
|
|
138491
|
+
},
|
|
138492
|
+
{
|
|
138493
|
+
"description": "Narrowest an hour column gets before the timeline scrolls. Defaults to `4rem`.",
|
|
138494
|
+
"name": "--calendar-timeline-hour-width"
|
|
138495
|
+
},
|
|
138496
|
+
{
|
|
138497
|
+
"description": "Narrowest a day column gets before the timeline scrolls. Defaults to `3rem`.",
|
|
138498
|
+
"name": "--calendar-timeline-day-width"
|
|
138499
|
+
},
|
|
138500
|
+
{
|
|
138501
|
+
"description": "Height of each lane of events in a row. Defaults to `2rem`.",
|
|
138502
|
+
"name": "--calendar-timeline-lane-height"
|
|
138503
|
+
},
|
|
138504
|
+
{
|
|
138505
|
+
"description": "Color of the grid lines.",
|
|
138506
|
+
"name": "--calendar-timeline-border-color"
|
|
138507
|
+
},
|
|
138508
|
+
{
|
|
138509
|
+
"description": "Background color of events without a `color`.",
|
|
138510
|
+
"name": "--calendar-timeline-event-bg-color"
|
|
138511
|
+
},
|
|
138512
|
+
{
|
|
138513
|
+
"description": "Start border color of events without a `color`.",
|
|
138514
|
+
"name": "--calendar-timeline-event-border-color"
|
|
138515
|
+
}
|
|
138516
|
+
],
|
|
138517
|
+
"members": [
|
|
138518
|
+
{
|
|
138519
|
+
"kind": "field",
|
|
138520
|
+
"name": "resources",
|
|
138521
|
+
"type": {
|
|
138522
|
+
"text": "CalendarTimelineResource[]"
|
|
138523
|
+
},
|
|
138524
|
+
"default": "[]",
|
|
138525
|
+
"description": "The rows, in order."
|
|
138526
|
+
},
|
|
138527
|
+
{
|
|
138528
|
+
"kind": "field",
|
|
138529
|
+
"name": "events",
|
|
138530
|
+
"type": {
|
|
138531
|
+
"text": "CalendarTimelineEvent[]"
|
|
138532
|
+
},
|
|
138533
|
+
"default": "[]",
|
|
138534
|
+
"description": "The events. Each one is shown in the row of the resource its `resourceId` names."
|
|
138535
|
+
},
|
|
138536
|
+
{
|
|
138537
|
+
"kind": "field",
|
|
138538
|
+
"name": "availableViews",
|
|
138539
|
+
"type": {
|
|
138540
|
+
"text": "CalendarTimelineViewType[]"
|
|
138541
|
+
},
|
|
138542
|
+
"default": "[ { value: 'day', slot: 'hour', days: 1 }, { value: 'week', slot: 'day', days: 7 }, { value: 'month', slot: 'day' }, ]",
|
|
138543
|
+
"description": "The views offered in the header. A view without a `label` shows Peacock's `day`, `week` or\n`month` string for those values, else its `value`.",
|
|
138544
|
+
"attribute": "available-views"
|
|
138545
|
+
},
|
|
138546
|
+
{
|
|
138547
|
+
"kind": "field",
|
|
138548
|
+
"name": "view",
|
|
138549
|
+
"type": {
|
|
138550
|
+
"text": "string"
|
|
138551
|
+
},
|
|
138552
|
+
"default": "'day'",
|
|
138553
|
+
"description": "The view shown: the `value` of one of `availableViews`.",
|
|
138554
|
+
"attribute": "view",
|
|
138555
|
+
"reflects": true
|
|
138556
|
+
},
|
|
138557
|
+
{
|
|
138558
|
+
"kind": "field",
|
|
138559
|
+
"name": "date",
|
|
138560
|
+
"type": {
|
|
138561
|
+
"text": "string"
|
|
138562
|
+
},
|
|
138563
|
+
"default": "''",
|
|
138564
|
+
"description": "The date the view shows, as an ISO string (`YYYY-MM-DD`). Kept in step with `contextDate`.\nDefaults to today.",
|
|
138565
|
+
"attribute": "date"
|
|
138566
|
+
},
|
|
138567
|
+
{
|
|
138568
|
+
"kind": "field",
|
|
138569
|
+
"name": "contextDate",
|
|
138570
|
+
"type": {
|
|
138571
|
+
"text": "Date | null"
|
|
138572
|
+
},
|
|
138573
|
+
"default": "null",
|
|
138574
|
+
"description": "The date the view shows, as a `Date`. Kept in step with `date`."
|
|
138575
|
+
},
|
|
138576
|
+
{
|
|
138577
|
+
"kind": "field",
|
|
138578
|
+
"name": "firstDay",
|
|
138579
|
+
"type": {
|
|
138580
|
+
"text": "number | undefined"
|
|
138581
|
+
},
|
|
138582
|
+
"description": "First day of the week, `0` (Sunday) to `6` (Saturday). Defaults to the locale's week start.",
|
|
138583
|
+
"attribute": "first-day"
|
|
138584
|
+
},
|
|
138585
|
+
{
|
|
138586
|
+
"kind": "field",
|
|
138587
|
+
"name": "resourceLabel",
|
|
138588
|
+
"type": {
|
|
138589
|
+
"text": "string"
|
|
138590
|
+
},
|
|
138591
|
+
"default": "''",
|
|
138592
|
+
"description": "Header of the resource column, such as \"Rooms\" or \"People\". Defaults to \"Resources\".",
|
|
138593
|
+
"attribute": "resource-label"
|
|
138594
|
+
},
|
|
138595
|
+
{
|
|
138596
|
+
"kind": "field",
|
|
138597
|
+
"name": "groupBy",
|
|
138598
|
+
"type": {
|
|
138599
|
+
"text": "string"
|
|
138600
|
+
},
|
|
138601
|
+
"default": "''",
|
|
138602
|
+
"description": "A resource field to group the rows by, such as `team`. Each group gets a header row that\ncollapses it. Groups keep the order they first appear in.",
|
|
138603
|
+
"attribute": "group-by"
|
|
138604
|
+
},
|
|
138605
|
+
{
|
|
138606
|
+
"kind": "field",
|
|
138607
|
+
"name": "collapsedGroups",
|
|
138608
|
+
"type": {
|
|
138609
|
+
"text": "string[]"
|
|
138610
|
+
},
|
|
138611
|
+
"default": "[]",
|
|
138612
|
+
"description": "Keys of the collapsed groups: their `group-by` values as strings (`\"\"` for resources without one).",
|
|
138613
|
+
"attribute": "collapsed-groups"
|
|
138614
|
+
},
|
|
138615
|
+
{
|
|
138616
|
+
"kind": "field",
|
|
138617
|
+
"name": "eventsReadonly",
|
|
138618
|
+
"type": {
|
|
138619
|
+
"text": "boolean"
|
|
138620
|
+
},
|
|
138621
|
+
"default": "false",
|
|
138622
|
+
"description": "Events are shown but cannot be clicked or focused, and `event-click` does not fire.",
|
|
138623
|
+
"attribute": "events-readonly"
|
|
138624
|
+
},
|
|
138625
|
+
{
|
|
138626
|
+
"kind": "field",
|
|
138627
|
+
"name": "editable",
|
|
138628
|
+
"type": {
|
|
138629
|
+
"text": "boolean"
|
|
138630
|
+
},
|
|
138631
|
+
"default": "false",
|
|
138632
|
+
"description": "People can drag events to other times and rows, and drag their edges to resize them. Each drop\nfires the cancelable `event-change`. An event with `editable: false` stays put.",
|
|
138633
|
+
"attribute": "editable",
|
|
138634
|
+
"reflects": true
|
|
138635
|
+
},
|
|
138636
|
+
{
|
|
138637
|
+
"kind": "field",
|
|
138638
|
+
"name": "addable",
|
|
138639
|
+
"type": {
|
|
138640
|
+
"text": "boolean"
|
|
138641
|
+
},
|
|
138642
|
+
"default": "false",
|
|
138643
|
+
"description": "Dragging across empty time in a row, or clicking it, fires `event-add` with the range and\nmarks it as a new event until `events` changes.",
|
|
138644
|
+
"attribute": "addable",
|
|
138645
|
+
"reflects": true
|
|
138646
|
+
},
|
|
138647
|
+
{
|
|
138648
|
+
"kind": "field",
|
|
138649
|
+
"name": "minuteStep",
|
|
138650
|
+
"type": {
|
|
138651
|
+
"text": "number"
|
|
138652
|
+
},
|
|
138653
|
+
"default": "15",
|
|
138654
|
+
"description": "Minutes that dragging moves, resizes and draws events by in hour views. Defaults to 15.",
|
|
138655
|
+
"attribute": "minute-step"
|
|
138656
|
+
},
|
|
138657
|
+
{
|
|
138658
|
+
"kind": "field",
|
|
138659
|
+
"name": "defaultDuration",
|
|
138660
|
+
"type": {
|
|
138661
|
+
"text": "number"
|
|
138662
|
+
},
|
|
138663
|
+
"default": "60",
|
|
138664
|
+
"description": "Length in minutes of an event added by clicking empty time in an hour view. Defaults to 60.",
|
|
138665
|
+
"attribute": "default-duration"
|
|
138666
|
+
},
|
|
138667
|
+
{
|
|
138668
|
+
"kind": "field",
|
|
138669
|
+
"name": "loading",
|
|
138670
|
+
"type": {
|
|
138671
|
+
"text": "boolean"
|
|
138672
|
+
},
|
|
138673
|
+
"default": "false",
|
|
138674
|
+
"description": "Shows a progress bar and marks the timeline busy while events load.",
|
|
138675
|
+
"attribute": "loading",
|
|
138676
|
+
"reflects": true
|
|
138677
|
+
},
|
|
138678
|
+
{
|
|
138679
|
+
"kind": "field",
|
|
138680
|
+
"name": "timezone",
|
|
138681
|
+
"type": {
|
|
138682
|
+
"text": "string"
|
|
138683
|
+
},
|
|
138684
|
+
"default": "''",
|
|
138685
|
+
"description": "IANA time zone the current time is shown in, for example `America/New_York`. Defaults to the browser's.",
|
|
138686
|
+
"attribute": "timezone"
|
|
138687
|
+
},
|
|
138688
|
+
{
|
|
138689
|
+
"kind": "field",
|
|
138690
|
+
"name": "locale",
|
|
138691
|
+
"type": {
|
|
138692
|
+
"text": "string"
|
|
138693
|
+
},
|
|
138694
|
+
"default": "''",
|
|
138695
|
+
"description": "Locale for day names and times. Defaults to the nearest `lang`, then the browser language.",
|
|
138696
|
+
"attribute": "locale"
|
|
138697
|
+
},
|
|
138698
|
+
{
|
|
138699
|
+
"kind": "field",
|
|
138700
|
+
"name": "strings",
|
|
138701
|
+
"type": {
|
|
138702
|
+
"text": "Partial<PeacockStrings> | undefined"
|
|
138703
|
+
},
|
|
138704
|
+
"description": "Overrides Peacock's strings for this instance only."
|
|
138705
|
+
},
|
|
138706
|
+
{
|
|
138707
|
+
"kind": "field",
|
|
138708
|
+
"name": "_currentTime",
|
|
138709
|
+
"type": {
|
|
138710
|
+
"text": "Date"
|
|
138711
|
+
},
|
|
138712
|
+
"privacy": "private",
|
|
138713
|
+
"default": "new Date()",
|
|
138714
|
+
"description": "Now, as wall-clock time in `timezone`."
|
|
138715
|
+
},
|
|
138716
|
+
{
|
|
138717
|
+
"kind": "field",
|
|
138718
|
+
"name": "_preview",
|
|
138719
|
+
"type": {
|
|
138720
|
+
"text": "GridPreview | null"
|
|
138721
|
+
},
|
|
138722
|
+
"privacy": "private",
|
|
138723
|
+
"default": "null",
|
|
138724
|
+
"description": "The drag in progress, where it would put its event."
|
|
138725
|
+
},
|
|
138726
|
+
{
|
|
138727
|
+
"kind": "field",
|
|
138728
|
+
"name": "_placeholder",
|
|
138729
|
+
"type": {
|
|
138730
|
+
"text": "CalendarTimelineEventAddDetail | null"
|
|
138731
|
+
},
|
|
138732
|
+
"privacy": "private",
|
|
138733
|
+
"default": "null",
|
|
138734
|
+
"description": "The range of the last `event-add`, marked as a new event until the app adds it."
|
|
138735
|
+
},
|
|
138736
|
+
{
|
|
138737
|
+
"kind": "field",
|
|
138738
|
+
"name": "_i18n",
|
|
138739
|
+
"privacy": "private",
|
|
138740
|
+
"readonly": true,
|
|
138741
|
+
"default": "new I18nController(this)",
|
|
138742
|
+
"description": "Peacock's strings and the resolved locale."
|
|
138743
|
+
},
|
|
138744
|
+
{
|
|
138745
|
+
"kind": "field",
|
|
138746
|
+
"name": "_range",
|
|
138747
|
+
"type": {
|
|
138748
|
+
"text": "TimelineRange"
|
|
138749
|
+
},
|
|
138750
|
+
"privacy": "private",
|
|
138751
|
+
"default": "{ start: startOfDay(new Date()), days: 1 }",
|
|
138752
|
+
"description": "The days shown."
|
|
138753
|
+
},
|
|
138754
|
+
{
|
|
138755
|
+
"kind": "field",
|
|
138756
|
+
"name": "_rows",
|
|
138757
|
+
"type": {
|
|
138758
|
+
"text": "LaidOutRow[]"
|
|
138759
|
+
},
|
|
138760
|
+
"privacy": "private",
|
|
138761
|
+
"default": "[]",
|
|
138762
|
+
"description": "The rows, laid out before each render, in the order of `resources`."
|
|
138763
|
+
},
|
|
138764
|
+
{
|
|
138765
|
+
"kind": "field",
|
|
138766
|
+
"name": "_groups",
|
|
138767
|
+
"type": {
|
|
138768
|
+
"text": "RowGroup[] | null"
|
|
138769
|
+
},
|
|
138770
|
+
"privacy": "private",
|
|
138771
|
+
"default": "null",
|
|
138772
|
+
"description": "The rows by `group-by` value, when grouped."
|
|
138773
|
+
},
|
|
138774
|
+
{
|
|
138775
|
+
"kind": "field",
|
|
138776
|
+
"name": "_scrollPending",
|
|
138777
|
+
"type": {
|
|
138778
|
+
"text": "boolean"
|
|
138779
|
+
},
|
|
138780
|
+
"privacy": "private",
|
|
138781
|
+
"default": "true",
|
|
138782
|
+
"description": "Whether to scroll the axis to now, or to the morning, after the next render."
|
|
138783
|
+
},
|
|
138784
|
+
{
|
|
138785
|
+
"kind": "field",
|
|
138786
|
+
"name": "_drag",
|
|
138787
|
+
"privacy": "private",
|
|
138788
|
+
"readonly": true,
|
|
138789
|
+
"default": "new CalendarDragController<GridPress>(this, { lift: () => this._blurFocused(), move: (press, point) => this._follow(press, point), drop: (press, point) => this._drop(press, point), cancel: () => { this._preview = null; }, tap: press => this._tap(press), scrollers: () => [this.renderRoot.querySelector<HTMLElement>('.scroller')], })"
|
|
138790
|
+
},
|
|
138791
|
+
{
|
|
138792
|
+
"kind": "method",
|
|
138793
|
+
"name": "previous",
|
|
138794
|
+
"description": "Moves back one period: the view's number of days, or a month."
|
|
138795
|
+
},
|
|
138796
|
+
{
|
|
138797
|
+
"kind": "method",
|
|
138798
|
+
"name": "next",
|
|
138799
|
+
"description": "Moves forward one period: the view's number of days, or a month."
|
|
138800
|
+
},
|
|
138801
|
+
{
|
|
138802
|
+
"kind": "method",
|
|
138803
|
+
"name": "today",
|
|
138804
|
+
"description": "Moves the view to today, in `timezone`."
|
|
138805
|
+
},
|
|
138806
|
+
{
|
|
138807
|
+
"kind": "method",
|
|
138808
|
+
"name": "clearPlaceholder",
|
|
138809
|
+
"description": "Removes the new event marked after `event-add`, for when adding it is canceled. It also goes\nwhen `events` changes."
|
|
138810
|
+
},
|
|
138811
|
+
{
|
|
138812
|
+
"kind": "field",
|
|
138813
|
+
"name": "_view",
|
|
138814
|
+
"type": {
|
|
138815
|
+
"text": "CalendarTimelineViewType | undefined"
|
|
138816
|
+
},
|
|
138817
|
+
"privacy": "private",
|
|
138818
|
+
"description": "The entry of `availableViews` matching `view`.",
|
|
138819
|
+
"readonly": true
|
|
138820
|
+
},
|
|
138821
|
+
{
|
|
138822
|
+
"kind": "field",
|
|
138823
|
+
"name": "_slot",
|
|
138824
|
+
"type": {
|
|
138825
|
+
"text": "CalendarTimelineViewType['slot']"
|
|
138826
|
+
},
|
|
138827
|
+
"privacy": "private",
|
|
138828
|
+
"description": "What a column of the current view stands for.",
|
|
138829
|
+
"readonly": true
|
|
138830
|
+
},
|
|
138831
|
+
{
|
|
138832
|
+
"kind": "field",
|
|
138833
|
+
"name": "_step",
|
|
138834
|
+
"type": {
|
|
138835
|
+
"text": "number"
|
|
138836
|
+
},
|
|
138837
|
+
"privacy": "private",
|
|
138838
|
+
"description": "`minuteStep` when it is a whole number of minutes in a day, else 15.",
|
|
138839
|
+
"readonly": true
|
|
138840
|
+
},
|
|
138841
|
+
{
|
|
138842
|
+
"kind": "field",
|
|
138843
|
+
"name": "_duration",
|
|
138844
|
+
"type": {
|
|
138845
|
+
"text": "number"
|
|
138846
|
+
},
|
|
138847
|
+
"privacy": "private",
|
|
138848
|
+
"description": "`defaultDuration` when it is a positive number of minutes, else 60.",
|
|
138849
|
+
"readonly": true
|
|
138850
|
+
},
|
|
138851
|
+
{
|
|
138852
|
+
"kind": "method",
|
|
138853
|
+
"name": "_now",
|
|
138854
|
+
"privacy": "private",
|
|
138855
|
+
"return": {
|
|
138856
|
+
"type": {
|
|
138857
|
+
"text": "Date"
|
|
138858
|
+
}
|
|
138859
|
+
},
|
|
138860
|
+
"description": "Now, as wall-clock time in `timezone`."
|
|
138861
|
+
},
|
|
138862
|
+
{
|
|
138863
|
+
"kind": "method",
|
|
138864
|
+
"name": "_syncDate",
|
|
138865
|
+
"privacy": "private",
|
|
138866
|
+
"parameters": [
|
|
138867
|
+
{
|
|
138868
|
+
"name": "changed",
|
|
138869
|
+
"type": {
|
|
138870
|
+
"text": "PropertyValues<this>"
|
|
138871
|
+
}
|
|
138872
|
+
}
|
|
138873
|
+
],
|
|
138874
|
+
"description": "Keeps `date` and `contextDate` in step; `date` wins when both changed."
|
|
138875
|
+
},
|
|
138876
|
+
{
|
|
138877
|
+
"kind": "method",
|
|
138878
|
+
"name": "_weekStart",
|
|
138879
|
+
"privacy": "private",
|
|
138880
|
+
"return": {
|
|
138881
|
+
"type": {
|
|
138882
|
+
"text": "WeekDay"
|
|
138883
|
+
}
|
|
138884
|
+
},
|
|
138885
|
+
"description": "The week start in effect: `firstDay` when valid, else the locale's."
|
|
138886
|
+
},
|
|
138887
|
+
{
|
|
138888
|
+
"kind": "method",
|
|
138889
|
+
"name": "_eventsEditable",
|
|
138890
|
+
"privacy": "private",
|
|
138891
|
+
"return": {
|
|
138892
|
+
"type": {
|
|
138893
|
+
"text": "boolean"
|
|
138894
|
+
}
|
|
138895
|
+
},
|
|
138896
|
+
"description": "Whether events can be dragged: `editable` and not `events-readonly`."
|
|
138897
|
+
},
|
|
138898
|
+
{
|
|
138899
|
+
"kind": "method",
|
|
138900
|
+
"name": "_canEdit",
|
|
138901
|
+
"privacy": "private",
|
|
138902
|
+
"return": {
|
|
138903
|
+
"type": {
|
|
138904
|
+
"text": "boolean"
|
|
138905
|
+
}
|
|
138906
|
+
},
|
|
138907
|
+
"parameters": [
|
|
138908
|
+
{
|
|
138909
|
+
"name": "event",
|
|
138910
|
+
"type": {
|
|
138911
|
+
"text": "CalendarTimelineEvent"
|
|
138912
|
+
}
|
|
138913
|
+
}
|
|
138914
|
+
],
|
|
138915
|
+
"description": "Whether an event can be dragged: the timeline is editable and the event did not opt out."
|
|
138916
|
+
},
|
|
138917
|
+
{
|
|
138918
|
+
"kind": "method",
|
|
138919
|
+
"name": "_layout",
|
|
138920
|
+
"privacy": "private",
|
|
138921
|
+
"return": {
|
|
138922
|
+
"type": {
|
|
138923
|
+
"text": "LaidOutRow[]"
|
|
138924
|
+
}
|
|
138925
|
+
},
|
|
138926
|
+
"description": "Each resource's events within the range, in lanes."
|
|
138927
|
+
},
|
|
138928
|
+
{
|
|
138929
|
+
"kind": "method",
|
|
138930
|
+
"name": "_groupsOf",
|
|
138931
|
+
"privacy": "private",
|
|
138932
|
+
"return": {
|
|
138933
|
+
"type": {
|
|
138934
|
+
"text": "RowGroup[]"
|
|
138935
|
+
}
|
|
138936
|
+
},
|
|
138937
|
+
"parameters": [
|
|
138938
|
+
{
|
|
138939
|
+
"name": "rows",
|
|
138940
|
+
"type": {
|
|
138941
|
+
"text": "LaidOutRow[]"
|
|
138942
|
+
}
|
|
138943
|
+
}
|
|
138944
|
+
],
|
|
138945
|
+
"description": "The rows by their `group-by` value, in the order each value first appears."
|
|
138946
|
+
},
|
|
138947
|
+
{
|
|
138948
|
+
"kind": "method",
|
|
138949
|
+
"name": "_collapsedKeys",
|
|
138950
|
+
"privacy": "private",
|
|
138951
|
+
"return": {
|
|
138952
|
+
"type": {
|
|
138953
|
+
"text": "string[]"
|
|
138954
|
+
}
|
|
138955
|
+
},
|
|
138956
|
+
"description": "`collapsedGroups` as strings."
|
|
138957
|
+
},
|
|
138958
|
+
{
|
|
138959
|
+
"kind": "method",
|
|
138960
|
+
"name": "_toggleGroup",
|
|
138961
|
+
"privacy": "private",
|
|
138962
|
+
"parameters": [
|
|
138963
|
+
{
|
|
138964
|
+
"name": "key",
|
|
138965
|
+
"type": {
|
|
138966
|
+
"text": "string"
|
|
138967
|
+
}
|
|
138968
|
+
}
|
|
138969
|
+
],
|
|
138970
|
+
"description": "Collapses or expands a group, and fires `group-toggle`."
|
|
138971
|
+
},
|
|
138972
|
+
{
|
|
138973
|
+
"kind": "method",
|
|
138974
|
+
"name": "_shift",
|
|
138975
|
+
"privacy": "private",
|
|
138976
|
+
"parameters": [
|
|
138977
|
+
{
|
|
138978
|
+
"name": "direction",
|
|
138979
|
+
"type": {
|
|
138980
|
+
"text": "1 | -1"
|
|
138981
|
+
}
|
|
138982
|
+
}
|
|
138983
|
+
]
|
|
138984
|
+
},
|
|
138985
|
+
{
|
|
138986
|
+
"kind": "method",
|
|
138987
|
+
"name": "_setContextDate",
|
|
138988
|
+
"privacy": "private",
|
|
138989
|
+
"parameters": [
|
|
138990
|
+
{
|
|
138991
|
+
"name": "date",
|
|
138992
|
+
"type": {
|
|
138993
|
+
"text": "Date"
|
|
138994
|
+
}
|
|
138995
|
+
}
|
|
138996
|
+
]
|
|
138997
|
+
},
|
|
138998
|
+
{
|
|
138999
|
+
"kind": "method",
|
|
139000
|
+
"name": "_changeView",
|
|
139001
|
+
"privacy": "private",
|
|
139002
|
+
"parameters": [
|
|
139003
|
+
{
|
|
139004
|
+
"name": "value",
|
|
139005
|
+
"type": {
|
|
139006
|
+
"text": "string"
|
|
139007
|
+
}
|
|
139008
|
+
}
|
|
139009
|
+
]
|
|
139010
|
+
},
|
|
139011
|
+
{
|
|
139012
|
+
"kind": "method",
|
|
139013
|
+
"name": "_viewLabel",
|
|
139014
|
+
"privacy": "private",
|
|
139015
|
+
"return": {
|
|
139016
|
+
"type": {
|
|
139017
|
+
"text": "string"
|
|
139018
|
+
}
|
|
139019
|
+
},
|
|
139020
|
+
"parameters": [
|
|
139021
|
+
{
|
|
139022
|
+
"name": "view",
|
|
139023
|
+
"type": {
|
|
139024
|
+
"text": "CalendarTimelineViewType"
|
|
139025
|
+
}
|
|
139026
|
+
}
|
|
139027
|
+
],
|
|
139028
|
+
"description": "The view's own label, else Peacock's string for the built-in views, else its value."
|
|
139029
|
+
},
|
|
139030
|
+
{
|
|
139031
|
+
"kind": "method",
|
|
139032
|
+
"name": "_rangeLabel",
|
|
139033
|
+
"privacy": "private",
|
|
139034
|
+
"return": {
|
|
139035
|
+
"type": {
|
|
139036
|
+
"text": "string"
|
|
139037
|
+
}
|
|
139038
|
+
},
|
|
139039
|
+
"description": "The days shown, for the header and the table's name."
|
|
139040
|
+
},
|
|
139041
|
+
{
|
|
139042
|
+
"kind": "method",
|
|
139043
|
+
"name": "_colorVars",
|
|
139044
|
+
"privacy": "private",
|
|
139045
|
+
"return": {
|
|
139046
|
+
"type": {
|
|
139047
|
+
"text": "Record<string, string>"
|
|
139048
|
+
}
|
|
139049
|
+
},
|
|
139050
|
+
"parameters": [
|
|
139051
|
+
{
|
|
139052
|
+
"name": "color",
|
|
139053
|
+
"type": {
|
|
139054
|
+
"text": "string | undefined"
|
|
139055
|
+
}
|
|
139056
|
+
}
|
|
139057
|
+
],
|
|
139058
|
+
"description": "Custom properties that colour an event with a palette `color`."
|
|
139059
|
+
},
|
|
139060
|
+
{
|
|
139061
|
+
"kind": "method",
|
|
139062
|
+
"name": "_styleMap",
|
|
139063
|
+
"privacy": "private",
|
|
139064
|
+
"return": {
|
|
139065
|
+
"type": {
|
|
139066
|
+
"text": "string"
|
|
139067
|
+
}
|
|
139068
|
+
},
|
|
139069
|
+
"parameters": [
|
|
139070
|
+
{
|
|
139071
|
+
"name": "declarations",
|
|
139072
|
+
"type": {
|
|
139073
|
+
"text": "Record<string, string>"
|
|
139074
|
+
}
|
|
139075
|
+
}
|
|
139076
|
+
]
|
|
139077
|
+
},
|
|
139078
|
+
{
|
|
139079
|
+
"kind": "method",
|
|
139080
|
+
"name": "_position",
|
|
139081
|
+
"privacy": "private",
|
|
139082
|
+
"return": {
|
|
139083
|
+
"type": {
|
|
139084
|
+
"text": "Record<string, string>"
|
|
139085
|
+
}
|
|
139086
|
+
},
|
|
139087
|
+
"parameters": [
|
|
139088
|
+
{
|
|
139089
|
+
"name": "span",
|
|
139090
|
+
"type": {
|
|
139091
|
+
"text": "AxisSpan"
|
|
139092
|
+
}
|
|
139093
|
+
}
|
|
139094
|
+
],
|
|
139095
|
+
"description": "The `inset-inline-start` and `width` of something spanning `span` of the axis."
|
|
139096
|
+
},
|
|
139097
|
+
{
|
|
139098
|
+
"kind": "method",
|
|
139099
|
+
"name": "_when",
|
|
139100
|
+
"privacy": "private",
|
|
139101
|
+
"return": {
|
|
139102
|
+
"type": {
|
|
139103
|
+
"text": "string"
|
|
139104
|
+
}
|
|
139105
|
+
},
|
|
139106
|
+
"parameters": [
|
|
139107
|
+
{
|
|
139108
|
+
"name": "start",
|
|
139109
|
+
"type": {
|
|
139110
|
+
"text": "Date"
|
|
139111
|
+
}
|
|
139112
|
+
},
|
|
139113
|
+
{
|
|
139114
|
+
"name": "end",
|
|
139115
|
+
"type": {
|
|
139116
|
+
"text": "Date"
|
|
139117
|
+
}
|
|
139118
|
+
}
|
|
139119
|
+
],
|
|
139120
|
+
"description": "When an event happens, for its accessible name and the live region."
|
|
139121
|
+
},
|
|
139122
|
+
{
|
|
139123
|
+
"kind": "method",
|
|
139124
|
+
"name": "_timeText",
|
|
139125
|
+
"privacy": "private",
|
|
139126
|
+
"return": {
|
|
139127
|
+
"type": {
|
|
139128
|
+
"text": "string"
|
|
139129
|
+
}
|
|
139130
|
+
},
|
|
139131
|
+
"parameters": [
|
|
139132
|
+
{
|
|
139133
|
+
"name": "start",
|
|
139134
|
+
"type": {
|
|
139135
|
+
"text": "Date"
|
|
139136
|
+
}
|
|
139137
|
+
},
|
|
139138
|
+
{
|
|
139139
|
+
"name": "end",
|
|
139140
|
+
"type": {
|
|
139141
|
+
"text": "Date"
|
|
139142
|
+
}
|
|
139143
|
+
}
|
|
139144
|
+
],
|
|
139145
|
+
"description": "The time an event shows after its title: its times in hour views, its start in day views."
|
|
139146
|
+
},
|
|
139147
|
+
{
|
|
139148
|
+
"kind": "method",
|
|
139149
|
+
"name": "_announce",
|
|
139150
|
+
"privacy": "private",
|
|
139151
|
+
"parameters": [
|
|
139152
|
+
{
|
|
139153
|
+
"name": "message",
|
|
139154
|
+
"type": {
|
|
139155
|
+
"text": "string"
|
|
139156
|
+
}
|
|
139157
|
+
}
|
|
139158
|
+
],
|
|
139159
|
+
"description": "Reads `message` in the live region. Its text is set directly, so an announcement does not\nrender the timeline again."
|
|
139160
|
+
},
|
|
139161
|
+
{
|
|
139162
|
+
"kind": "method",
|
|
139163
|
+
"name": "_scrollAxis",
|
|
139164
|
+
"privacy": "private",
|
|
139165
|
+
"description": "Scrolls the axis to just before now when it is in range, else to the morning or the start."
|
|
139166
|
+
},
|
|
139167
|
+
{
|
|
139168
|
+
"kind": "method",
|
|
139169
|
+
"name": "_axisAt",
|
|
139170
|
+
"privacy": "private",
|
|
139171
|
+
"return": {
|
|
139172
|
+
"type": {
|
|
139173
|
+
"text": "number"
|
|
139174
|
+
}
|
|
139175
|
+
},
|
|
139176
|
+
"parameters": [
|
|
139177
|
+
{
|
|
139178
|
+
"name": "x",
|
|
139179
|
+
"type": {
|
|
139180
|
+
"text": "number"
|
|
139181
|
+
}
|
|
139182
|
+
}
|
|
139183
|
+
],
|
|
139184
|
+
"description": "Minutes along the axis at viewport `x`; the axis runs from the inline start."
|
|
139185
|
+
},
|
|
139186
|
+
{
|
|
139187
|
+
"kind": "method",
|
|
139188
|
+
"name": "_timeAt",
|
|
139189
|
+
"privacy": "private",
|
|
139190
|
+
"return": {
|
|
139191
|
+
"type": {
|
|
139192
|
+
"text": "Date"
|
|
139193
|
+
}
|
|
139194
|
+
},
|
|
139195
|
+
"parameters": [
|
|
139196
|
+
{
|
|
139197
|
+
"name": "x",
|
|
139198
|
+
"type": {
|
|
139199
|
+
"text": "number"
|
|
139200
|
+
}
|
|
139201
|
+
}
|
|
139202
|
+
],
|
|
139203
|
+
"description": "The time at viewport `x`."
|
|
139204
|
+
},
|
|
139205
|
+
{
|
|
139206
|
+
"kind": "method",
|
|
139207
|
+
"name": "_dayAt",
|
|
139208
|
+
"privacy": "private",
|
|
139209
|
+
"return": {
|
|
139210
|
+
"type": {
|
|
139211
|
+
"text": "Date"
|
|
139212
|
+
}
|
|
139213
|
+
},
|
|
139214
|
+
"parameters": [
|
|
139215
|
+
{
|
|
139216
|
+
"name": "x",
|
|
139217
|
+
"type": {
|
|
139218
|
+
"text": "number"
|
|
139219
|
+
}
|
|
139220
|
+
}
|
|
139221
|
+
],
|
|
139222
|
+
"description": "The day at viewport `x`, at midnight."
|
|
139223
|
+
},
|
|
139224
|
+
{
|
|
139225
|
+
"kind": "method",
|
|
139226
|
+
"name": "_rowAt",
|
|
139227
|
+
"privacy": "private",
|
|
139228
|
+
"return": {
|
|
139229
|
+
"type": {
|
|
139230
|
+
"text": "number"
|
|
139231
|
+
}
|
|
139232
|
+
},
|
|
139233
|
+
"parameters": [
|
|
139234
|
+
{
|
|
139235
|
+
"name": "y",
|
|
139236
|
+
"type": {
|
|
139237
|
+
"text": "number"
|
|
139238
|
+
}
|
|
139239
|
+
}
|
|
139240
|
+
],
|
|
139241
|
+
"description": "The index of the row at viewport `y`, or of the nearest shown; -1 without rows. Rows of\ncollapsed groups are not shown, so each track names its row."
|
|
139242
|
+
},
|
|
139243
|
+
{
|
|
139244
|
+
"kind": "method",
|
|
139245
|
+
"name": "_pressTime",
|
|
139246
|
+
"privacy": "private",
|
|
139247
|
+
"return": {
|
|
139248
|
+
"type": {
|
|
139249
|
+
"text": "Date"
|
|
139250
|
+
}
|
|
139251
|
+
},
|
|
139252
|
+
"parameters": [
|
|
139253
|
+
{
|
|
139254
|
+
"name": "x",
|
|
139255
|
+
"type": {
|
|
139256
|
+
"text": "number"
|
|
139257
|
+
}
|
|
139258
|
+
}
|
|
139259
|
+
],
|
|
139260
|
+
"description": "The time a press at `x` starts from: the day in day views."
|
|
139261
|
+
},
|
|
139262
|
+
{
|
|
139263
|
+
"kind": "method",
|
|
139264
|
+
"name": "_onEventPointerDown",
|
|
139265
|
+
"privacy": "private",
|
|
139266
|
+
"parameters": [
|
|
139267
|
+
{
|
|
139268
|
+
"name": "event",
|
|
139269
|
+
"type": {
|
|
139270
|
+
"text": "PointerEvent"
|
|
139271
|
+
}
|
|
139272
|
+
},
|
|
139273
|
+
{
|
|
139274
|
+
"name": "placed",
|
|
139275
|
+
"type": {
|
|
139276
|
+
"text": "PlacedEvent"
|
|
139277
|
+
}
|
|
139278
|
+
},
|
|
139279
|
+
{
|
|
139280
|
+
"name": "row",
|
|
139281
|
+
"type": {
|
|
139282
|
+
"text": "number"
|
|
139283
|
+
}
|
|
139284
|
+
}
|
|
139285
|
+
]
|
|
139286
|
+
},
|
|
139287
|
+
{
|
|
139288
|
+
"kind": "method",
|
|
139289
|
+
"name": "_onTrackPointerDown",
|
|
139290
|
+
"privacy": "private",
|
|
139291
|
+
"parameters": [
|
|
139292
|
+
{
|
|
139293
|
+
"name": "event",
|
|
139294
|
+
"type": {
|
|
139295
|
+
"text": "PointerEvent"
|
|
139296
|
+
}
|
|
139297
|
+
},
|
|
139298
|
+
{
|
|
139299
|
+
"name": "row",
|
|
139300
|
+
"type": {
|
|
139301
|
+
"text": "number"
|
|
139302
|
+
}
|
|
139303
|
+
}
|
|
139304
|
+
]
|
|
139305
|
+
},
|
|
139306
|
+
{
|
|
139307
|
+
"kind": "method",
|
|
139308
|
+
"name": "_previewFor",
|
|
139309
|
+
"privacy": "private",
|
|
139310
|
+
"return": {
|
|
139311
|
+
"type": {
|
|
139312
|
+
"text": "GridPreview | null"
|
|
139313
|
+
}
|
|
139314
|
+
},
|
|
139315
|
+
"parameters": [
|
|
139316
|
+
{
|
|
139317
|
+
"name": "press",
|
|
139318
|
+
"type": {
|
|
139319
|
+
"text": "GridPress"
|
|
139320
|
+
}
|
|
139321
|
+
},
|
|
139322
|
+
{
|
|
139323
|
+
"name": "point",
|
|
139324
|
+
"type": {
|
|
139325
|
+
"text": "DragPoint"
|
|
139326
|
+
}
|
|
139327
|
+
}
|
|
139328
|
+
],
|
|
139329
|
+
"description": "Where the drag of `press` would put its event with the pointer at `point`."
|
|
139330
|
+
},
|
|
139331
|
+
{
|
|
139332
|
+
"kind": "method",
|
|
139333
|
+
"name": "_hourRange",
|
|
139334
|
+
"privacy": "private",
|
|
139335
|
+
"return": {
|
|
139336
|
+
"type": {
|
|
139337
|
+
"text": "{ start: Date; end: Date } | null"
|
|
139338
|
+
}
|
|
139339
|
+
},
|
|
139340
|
+
"parameters": [
|
|
139341
|
+
{
|
|
139342
|
+
"name": "press",
|
|
139343
|
+
"type": {
|
|
139344
|
+
"text": "GridPress"
|
|
139345
|
+
}
|
|
139346
|
+
},
|
|
139347
|
+
{
|
|
139348
|
+
"name": "point",
|
|
139349
|
+
"type": {
|
|
139350
|
+
"text": "DragPoint"
|
|
139351
|
+
}
|
|
139352
|
+
}
|
|
139353
|
+
],
|
|
139354
|
+
"description": "The range a drag in an hour view gives, snapped to `minuteStep` and kept in the range."
|
|
139355
|
+
},
|
|
139356
|
+
{
|
|
139357
|
+
"kind": "method",
|
|
139358
|
+
"name": "_follow",
|
|
139359
|
+
"privacy": "private",
|
|
139360
|
+
"parameters": [
|
|
139361
|
+
{
|
|
139362
|
+
"name": "press",
|
|
139363
|
+
"type": {
|
|
139364
|
+
"text": "GridPress"
|
|
139365
|
+
}
|
|
139366
|
+
},
|
|
139367
|
+
{
|
|
139368
|
+
"name": "point",
|
|
139369
|
+
"type": {
|
|
139370
|
+
"text": "DragPoint"
|
|
139371
|
+
}
|
|
139372
|
+
}
|
|
139373
|
+
]
|
|
139374
|
+
},
|
|
139375
|
+
{
|
|
139376
|
+
"kind": "method",
|
|
139377
|
+
"name": "_drop",
|
|
139378
|
+
"privacy": "private",
|
|
139379
|
+
"parameters": [
|
|
139380
|
+
{
|
|
139381
|
+
"name": "press",
|
|
139382
|
+
"type": {
|
|
139383
|
+
"text": "GridPress"
|
|
139384
|
+
}
|
|
139385
|
+
},
|
|
139386
|
+
{
|
|
139387
|
+
"name": "point",
|
|
139388
|
+
"type": {
|
|
139389
|
+
"text": "DragPoint"
|
|
139390
|
+
}
|
|
139391
|
+
}
|
|
139392
|
+
]
|
|
139393
|
+
},
|
|
139394
|
+
{
|
|
139395
|
+
"kind": "method",
|
|
139396
|
+
"name": "_tap",
|
|
139397
|
+
"privacy": "private",
|
|
139398
|
+
"parameters": [
|
|
139399
|
+
{
|
|
139400
|
+
"name": "press",
|
|
139401
|
+
"type": {
|
|
139402
|
+
"text": "GridPress"
|
|
139403
|
+
}
|
|
139404
|
+
}
|
|
139405
|
+
],
|
|
139406
|
+
"description": "A click on empty time adds an event there: `defaultDuration` long, or the whole day."
|
|
139407
|
+
},
|
|
139408
|
+
{
|
|
139409
|
+
"kind": "method",
|
|
139410
|
+
"name": "_change",
|
|
139411
|
+
"privacy": "private",
|
|
139412
|
+
"parameters": [
|
|
139413
|
+
{
|
|
139414
|
+
"name": "detail",
|
|
139415
|
+
"type": {
|
|
139416
|
+
"text": "CalendarTimelineEventChangeDetail"
|
|
139417
|
+
}
|
|
139418
|
+
}
|
|
139419
|
+
],
|
|
139420
|
+
"description": "Fires `event-change` and, unless it is canceled, applies and announces it."
|
|
139421
|
+
},
|
|
139422
|
+
{
|
|
139423
|
+
"kind": "method",
|
|
139424
|
+
"name": "_add",
|
|
139425
|
+
"privacy": "private",
|
|
139426
|
+
"parameters": [
|
|
139427
|
+
{
|
|
139428
|
+
"name": "detail",
|
|
139429
|
+
"type": {
|
|
139430
|
+
"text": "CalendarTimelineEventAddDetail"
|
|
139431
|
+
}
|
|
139432
|
+
}
|
|
139433
|
+
],
|
|
139434
|
+
"description": "Marks the range as a new event, fires `event-add` and announces it."
|
|
139435
|
+
},
|
|
139436
|
+
{
|
|
139437
|
+
"kind": "method",
|
|
139438
|
+
"name": "_blurFocused",
|
|
139439
|
+
"privacy": "private",
|
|
139440
|
+
"description": "Blurs the focused event when a drag starts. The drop redraws the events, and the element that\nheld focus could then show another event, which Enter would open."
|
|
139441
|
+
},
|
|
139442
|
+
{
|
|
139443
|
+
"kind": "field",
|
|
139444
|
+
"name": "_handlePointerDown",
|
|
139445
|
+
"privacy": "private",
|
|
139446
|
+
"readonly": true
|
|
139447
|
+
},
|
|
139448
|
+
{
|
|
139449
|
+
"kind": "field",
|
|
139450
|
+
"name": "_handleKeyDown",
|
|
139451
|
+
"privacy": "private",
|
|
139452
|
+
"readonly": true
|
|
139453
|
+
},
|
|
139454
|
+
{
|
|
139455
|
+
"kind": "field",
|
|
139456
|
+
"name": "_handleWindowKeyDown",
|
|
139457
|
+
"privacy": "private",
|
|
139458
|
+
"readonly": true
|
|
139459
|
+
},
|
|
139460
|
+
{
|
|
139461
|
+
"kind": "method",
|
|
139462
|
+
"name": "_scrollerClasses",
|
|
139463
|
+
"privacy": "private",
|
|
139464
|
+
"description": "Classes of the scroller, which set the cursor during a drag."
|
|
139465
|
+
},
|
|
139466
|
+
{
|
|
139467
|
+
"kind": "method",
|
|
139468
|
+
"name": "_renderHeader",
|
|
139469
|
+
"privacy": "private"
|
|
139470
|
+
},
|
|
139471
|
+
{
|
|
139472
|
+
"kind": "method",
|
|
139473
|
+
"name": "_renderTimeHeader",
|
|
139474
|
+
"privacy": "private",
|
|
139475
|
+
"parameters": [
|
|
139476
|
+
{
|
|
139477
|
+
"name": "view",
|
|
139478
|
+
"type": {
|
|
139479
|
+
"text": "CalendarTimelineViewType"
|
|
139480
|
+
}
|
|
139481
|
+
}
|
|
139482
|
+
],
|
|
139483
|
+
"description": "The column labels: hours (under their days when there are several), or days."
|
|
139484
|
+
},
|
|
139485
|
+
{
|
|
139486
|
+
"kind": "method",
|
|
139487
|
+
"name": "_renderOverlay",
|
|
139488
|
+
"privacy": "private",
|
|
139489
|
+
"parameters": [
|
|
139490
|
+
{
|
|
139491
|
+
"name": "view",
|
|
139492
|
+
"type": {
|
|
139493
|
+
"text": "CalendarTimelineViewType"
|
|
139494
|
+
}
|
|
139495
|
+
}
|
|
139496
|
+
],
|
|
139497
|
+
"description": "Today, weekends and day boundaries behind every row, and the current-time line."
|
|
139498
|
+
},
|
|
139499
|
+
{
|
|
139500
|
+
"kind": "method",
|
|
139501
|
+
"name": "_renderEvent",
|
|
139502
|
+
"privacy": "private",
|
|
139503
|
+
"parameters": [
|
|
139504
|
+
{
|
|
139505
|
+
"name": "placed",
|
|
139506
|
+
"type": {
|
|
139507
|
+
"text": "PlacedEvent"
|
|
139508
|
+
}
|
|
139509
|
+
},
|
|
139510
|
+
{
|
|
139511
|
+
"name": "row",
|
|
139512
|
+
"type": {
|
|
139513
|
+
"text": "number"
|
|
139514
|
+
}
|
|
139515
|
+
},
|
|
139516
|
+
{
|
|
139517
|
+
"name": "slot",
|
|
139518
|
+
"type": {
|
|
139519
|
+
"text": "string"
|
|
139520
|
+
}
|
|
139521
|
+
}
|
|
139522
|
+
]
|
|
139523
|
+
},
|
|
139524
|
+
{
|
|
139525
|
+
"kind": "method",
|
|
139526
|
+
"name": "_renderRowPreview",
|
|
139527
|
+
"privacy": "private",
|
|
139528
|
+
"parameters": [
|
|
139529
|
+
{
|
|
139530
|
+
"name": "row",
|
|
139531
|
+
"type": {
|
|
139532
|
+
"text": "number"
|
|
139533
|
+
}
|
|
139534
|
+
}
|
|
139535
|
+
],
|
|
139536
|
+
"description": "A new or moved event where the drag would put it in this row, or the placeholder."
|
|
139537
|
+
},
|
|
139538
|
+
{
|
|
139539
|
+
"kind": "method",
|
|
139540
|
+
"name": "_renderRow",
|
|
139541
|
+
"privacy": "private",
|
|
139542
|
+
"parameters": [
|
|
139543
|
+
{
|
|
139544
|
+
"name": "row",
|
|
139545
|
+
"type": {
|
|
139546
|
+
"text": "LaidOutRow"
|
|
139547
|
+
}
|
|
139548
|
+
},
|
|
139549
|
+
{
|
|
139550
|
+
"name": "index",
|
|
139551
|
+
"type": {
|
|
139552
|
+
"text": "number"
|
|
139553
|
+
}
|
|
139554
|
+
},
|
|
139555
|
+
{
|
|
139556
|
+
"name": "slot",
|
|
139557
|
+
"type": {
|
|
139558
|
+
"text": "string"
|
|
139559
|
+
}
|
|
139560
|
+
}
|
|
139561
|
+
]
|
|
139562
|
+
},
|
|
139563
|
+
{
|
|
139564
|
+
"kind": "method",
|
|
139565
|
+
"name": "_renderGroupSummary",
|
|
139566
|
+
"privacy": "private",
|
|
139567
|
+
"parameters": [
|
|
139568
|
+
{
|
|
139569
|
+
"name": "group",
|
|
139570
|
+
"type": {
|
|
139571
|
+
"text": "RowGroup"
|
|
139572
|
+
}
|
|
139573
|
+
}
|
|
139574
|
+
],
|
|
139575
|
+
"description": "A collapsed group's events as thin bars, so its busy times stay in sight."
|
|
139576
|
+
},
|
|
139577
|
+
{
|
|
139578
|
+
"kind": "method",
|
|
139579
|
+
"name": "_renderGroup",
|
|
139580
|
+
"privacy": "private",
|
|
139581
|
+
"parameters": [
|
|
139582
|
+
{
|
|
139583
|
+
"name": "group",
|
|
139584
|
+
"type": {
|
|
139585
|
+
"text": "RowGroup"
|
|
139586
|
+
}
|
|
139587
|
+
},
|
|
139588
|
+
{
|
|
139589
|
+
"name": "collapsed",
|
|
139590
|
+
"type": {
|
|
139591
|
+
"text": "boolean"
|
|
139592
|
+
}
|
|
139593
|
+
},
|
|
139594
|
+
{
|
|
139595
|
+
"name": "slot",
|
|
139596
|
+
"type": {
|
|
139597
|
+
"text": "string"
|
|
139598
|
+
}
|
|
139599
|
+
}
|
|
139600
|
+
],
|
|
139601
|
+
"description": "A group's header row, then its rows unless it is collapsed."
|
|
139602
|
+
},
|
|
139603
|
+
{
|
|
139604
|
+
"kind": "method",
|
|
139605
|
+
"name": "_renderRows",
|
|
139606
|
+
"privacy": "private",
|
|
139607
|
+
"parameters": [
|
|
139608
|
+
{
|
|
139609
|
+
"name": "slot",
|
|
139610
|
+
"type": {
|
|
139611
|
+
"text": "string"
|
|
139612
|
+
}
|
|
139613
|
+
}
|
|
139614
|
+
],
|
|
139615
|
+
"description": "The rows, under their groups' headers when grouped."
|
|
139616
|
+
},
|
|
139617
|
+
{
|
|
139618
|
+
"kind": "method",
|
|
139619
|
+
"name": "_renderGrid",
|
|
139620
|
+
"privacy": "private"
|
|
139621
|
+
}
|
|
139622
|
+
],
|
|
139623
|
+
"events": [
|
|
139624
|
+
{
|
|
139625
|
+
"name": "group-toggle",
|
|
139626
|
+
"type": {
|
|
139627
|
+
"text": "CustomEvent<CalendarTimelineGroupToggleDetail>"
|
|
139628
|
+
},
|
|
139629
|
+
"description": "A group was collapsed or expanded with its header's button. Detail contains `{ group, expanded }`."
|
|
139630
|
+
},
|
|
139631
|
+
{
|
|
139632
|
+
"name": "date-change",
|
|
139633
|
+
"type": {
|
|
139634
|
+
"text": "CustomEvent<CalendarTimelineDateChangeDetail>"
|
|
139635
|
+
},
|
|
139636
|
+
"description": "The context date changed. Detail contains `{ date, value }`: the `Date` and its ISO string."
|
|
139637
|
+
},
|
|
139638
|
+
{
|
|
139639
|
+
"name": "view-change",
|
|
139640
|
+
"type": {
|
|
139641
|
+
"text": "CustomEvent<{view: string}>"
|
|
139642
|
+
},
|
|
139643
|
+
"description": "The view changed. Detail contains `{ view }`."
|
|
139644
|
+
},
|
|
139645
|
+
{
|
|
139646
|
+
"name": "event-add",
|
|
139647
|
+
"type": {
|
|
139648
|
+
"text": "CustomEvent<CalendarTimelineEventAddDetail>"
|
|
139649
|
+
},
|
|
139650
|
+
"description": "Empty time in a row was dragged across or clicked. Detail contains `{ start, end, allDay, resourceId }`. Only with `addable`."
|
|
139651
|
+
},
|
|
139652
|
+
{
|
|
139653
|
+
"name": "event-click",
|
|
139654
|
+
"type": {
|
|
139655
|
+
"text": "CustomEvent<{event: CalendarTimelineEvent}>"
|
|
139656
|
+
},
|
|
139657
|
+
"description": "An event was clicked, or chosen with Enter or Space. Detail contains `{ event }`. Not fired with `events-readonly`."
|
|
139658
|
+
},
|
|
139659
|
+
{
|
|
139660
|
+
"type": {
|
|
139661
|
+
"text": "CustomEvent<CalendarTimelineEventChangeDetail>"
|
|
139662
|
+
},
|
|
139663
|
+
"description": "An event was dragged to a new time or row (`action: 'move'`), or had its start or end dragged (`action: 'resize'`). Detail contains `{ event, start, end, resourceId, action }`, where `event` is the object from `events` as it was. Cancelable: cancel it to keep the event where it was. Only with `editable`.",
|
|
139664
|
+
"name": "event-change"
|
|
139665
|
+
}
|
|
139666
|
+
],
|
|
139667
|
+
"attributes": [
|
|
139668
|
+
{
|
|
139669
|
+
"name": "available-views",
|
|
139670
|
+
"type": {
|
|
139671
|
+
"text": "CalendarTimelineViewType[]"
|
|
139672
|
+
},
|
|
139673
|
+
"default": "[ { value: 'day', slot: 'hour', days: 1 }, { value: 'week', slot: 'day', days: 7 }, { value: 'month', slot: 'day' }, ]",
|
|
139674
|
+
"description": "The views offered in the header. A view without a `label` shows Peacock's `day`, `week` or\n`month` string for those values, else its `value`.",
|
|
139675
|
+
"fieldName": "availableViews"
|
|
139676
|
+
},
|
|
139677
|
+
{
|
|
139678
|
+
"name": "view",
|
|
139679
|
+
"type": {
|
|
139680
|
+
"text": "string"
|
|
139681
|
+
},
|
|
139682
|
+
"default": "'day'",
|
|
139683
|
+
"description": "The view shown: the `value` of one of `availableViews`.",
|
|
139684
|
+
"fieldName": "view"
|
|
139685
|
+
},
|
|
139686
|
+
{
|
|
139687
|
+
"name": "date",
|
|
139688
|
+
"type": {
|
|
139689
|
+
"text": "string"
|
|
139690
|
+
},
|
|
139691
|
+
"default": "''",
|
|
139692
|
+
"description": "The date the view shows, as an ISO string (`YYYY-MM-DD`). Kept in step with `contextDate`.\nDefaults to today.",
|
|
139693
|
+
"fieldName": "date"
|
|
139694
|
+
},
|
|
139695
|
+
{
|
|
139696
|
+
"name": "first-day",
|
|
139697
|
+
"type": {
|
|
139698
|
+
"text": "number | undefined"
|
|
139699
|
+
},
|
|
139700
|
+
"description": "First day of the week, `0` (Sunday) to `6` (Saturday). Defaults to the locale's week start.",
|
|
139701
|
+
"fieldName": "firstDay"
|
|
139702
|
+
},
|
|
139703
|
+
{
|
|
139704
|
+
"name": "resource-label",
|
|
139705
|
+
"type": {
|
|
139706
|
+
"text": "string"
|
|
139707
|
+
},
|
|
139708
|
+
"default": "''",
|
|
139709
|
+
"description": "Header of the resource column, such as \"Rooms\" or \"People\". Defaults to \"Resources\".",
|
|
139710
|
+
"fieldName": "resourceLabel"
|
|
139711
|
+
},
|
|
139712
|
+
{
|
|
139713
|
+
"name": "group-by",
|
|
139714
|
+
"type": {
|
|
139715
|
+
"text": "string"
|
|
139716
|
+
},
|
|
139717
|
+
"default": "''",
|
|
139718
|
+
"description": "A resource field to group the rows by, such as `team`. Each group gets a header row that\ncollapses it. Groups keep the order they first appear in.",
|
|
139719
|
+
"fieldName": "groupBy"
|
|
139720
|
+
},
|
|
139721
|
+
{
|
|
139722
|
+
"name": "collapsed-groups",
|
|
139723
|
+
"type": {
|
|
139724
|
+
"text": "string[]"
|
|
139725
|
+
},
|
|
139726
|
+
"default": "[]",
|
|
139727
|
+
"description": "Keys of the collapsed groups: their `group-by` values as strings (`\"\"` for resources without one).",
|
|
139728
|
+
"fieldName": "collapsedGroups"
|
|
139729
|
+
},
|
|
139730
|
+
{
|
|
139731
|
+
"name": "events-readonly",
|
|
139732
|
+
"type": {
|
|
139733
|
+
"text": "boolean"
|
|
139734
|
+
},
|
|
139735
|
+
"default": "false",
|
|
139736
|
+
"description": "Events are shown but cannot be clicked or focused, and `event-click` does not fire.",
|
|
139737
|
+
"fieldName": "eventsReadonly"
|
|
139738
|
+
},
|
|
139739
|
+
{
|
|
139740
|
+
"name": "editable",
|
|
139741
|
+
"type": {
|
|
139742
|
+
"text": "boolean"
|
|
139743
|
+
},
|
|
139744
|
+
"default": "false",
|
|
139745
|
+
"description": "People can drag events to other times and rows, and drag their edges to resize them. Each drop\nfires the cancelable `event-change`. An event with `editable: false` stays put.",
|
|
139746
|
+
"fieldName": "editable"
|
|
139747
|
+
},
|
|
139748
|
+
{
|
|
139749
|
+
"name": "addable",
|
|
139750
|
+
"type": {
|
|
139751
|
+
"text": "boolean"
|
|
139752
|
+
},
|
|
139753
|
+
"default": "false",
|
|
139754
|
+
"description": "Dragging across empty time in a row, or clicking it, fires `event-add` with the range and\nmarks it as a new event until `events` changes.",
|
|
139755
|
+
"fieldName": "addable"
|
|
139756
|
+
},
|
|
139757
|
+
{
|
|
139758
|
+
"name": "minute-step",
|
|
139759
|
+
"type": {
|
|
139760
|
+
"text": "number"
|
|
139761
|
+
},
|
|
139762
|
+
"default": "15",
|
|
139763
|
+
"description": "Minutes that dragging moves, resizes and draws events by in hour views. Defaults to 15.",
|
|
139764
|
+
"fieldName": "minuteStep"
|
|
139765
|
+
},
|
|
139766
|
+
{
|
|
139767
|
+
"name": "default-duration",
|
|
139768
|
+
"type": {
|
|
139769
|
+
"text": "number"
|
|
139770
|
+
},
|
|
139771
|
+
"default": "60",
|
|
139772
|
+
"description": "Length in minutes of an event added by clicking empty time in an hour view. Defaults to 60.",
|
|
139773
|
+
"fieldName": "defaultDuration"
|
|
139774
|
+
},
|
|
139775
|
+
{
|
|
139776
|
+
"name": "loading",
|
|
139777
|
+
"type": {
|
|
139778
|
+
"text": "boolean"
|
|
139779
|
+
},
|
|
139780
|
+
"default": "false",
|
|
139781
|
+
"description": "Shows a progress bar and marks the timeline busy while events load.",
|
|
139782
|
+
"fieldName": "loading"
|
|
139783
|
+
},
|
|
139784
|
+
{
|
|
139785
|
+
"name": "timezone",
|
|
139786
|
+
"type": {
|
|
139787
|
+
"text": "string"
|
|
139788
|
+
},
|
|
139789
|
+
"default": "''",
|
|
139790
|
+
"description": "IANA time zone the current time is shown in, for example `America/New_York`. Defaults to the browser's.",
|
|
139791
|
+
"fieldName": "timezone"
|
|
139792
|
+
},
|
|
139793
|
+
{
|
|
139794
|
+
"name": "locale",
|
|
139795
|
+
"type": {
|
|
139796
|
+
"text": "string"
|
|
139797
|
+
},
|
|
139798
|
+
"default": "''",
|
|
139799
|
+
"description": "Locale for day names and times. Defaults to the nearest `lang`, then the browser language.",
|
|
139800
|
+
"fieldName": "locale"
|
|
139801
|
+
}
|
|
139802
|
+
],
|
|
139803
|
+
"superclass": {
|
|
139804
|
+
"name": "LitElement",
|
|
139805
|
+
"package": "lit"
|
|
139806
|
+
},
|
|
139807
|
+
"tagName": "wc-calendar-timeline",
|
|
139808
|
+
"customElement": true,
|
|
139809
|
+
"summary": "Resources such as people, rooms or machines as rows against a horizontal time axis, with events that can be dragged between times and rows.",
|
|
139810
|
+
"rawTag": {
|
|
139811
|
+
"name": "calendar-timeline",
|
|
139812
|
+
"description": ""
|
|
139813
|
+
}
|
|
139814
|
+
}
|
|
139815
|
+
],
|
|
139816
|
+
"exports": [
|
|
139817
|
+
{
|
|
139818
|
+
"kind": "js",
|
|
139819
|
+
"name": "CalendarTimelineEvent",
|
|
139820
|
+
"declaration": {
|
|
139821
|
+
"name": "CalendarTimelineEvent",
|
|
139822
|
+
"module": "./types.js"
|
|
139823
|
+
}
|
|
139824
|
+
},
|
|
139825
|
+
{
|
|
139826
|
+
"kind": "js",
|
|
139827
|
+
"name": "CalendarTimelineEventAddDetail",
|
|
139828
|
+
"declaration": {
|
|
139829
|
+
"name": "CalendarTimelineEventAddDetail",
|
|
139830
|
+
"module": "./types.js"
|
|
139831
|
+
}
|
|
139832
|
+
},
|
|
139833
|
+
{
|
|
139834
|
+
"kind": "js",
|
|
139835
|
+
"name": "CalendarTimelineEventChangeAction",
|
|
139836
|
+
"declaration": {
|
|
139837
|
+
"name": "CalendarTimelineEventChangeAction",
|
|
139838
|
+
"module": "./types.js"
|
|
139839
|
+
}
|
|
139840
|
+
},
|
|
139841
|
+
{
|
|
139842
|
+
"kind": "js",
|
|
139843
|
+
"name": "CalendarTimelineEventChangeDetail",
|
|
139844
|
+
"declaration": {
|
|
139845
|
+
"name": "CalendarTimelineEventChangeDetail",
|
|
139846
|
+
"module": "./types.js"
|
|
139847
|
+
}
|
|
139848
|
+
},
|
|
139849
|
+
{
|
|
139850
|
+
"kind": "js",
|
|
139851
|
+
"name": "CalendarTimelineGroupToggleDetail",
|
|
139852
|
+
"declaration": {
|
|
139853
|
+
"name": "CalendarTimelineGroupToggleDetail",
|
|
139854
|
+
"module": "./types.js"
|
|
139855
|
+
}
|
|
139856
|
+
},
|
|
139857
|
+
{
|
|
139858
|
+
"kind": "js",
|
|
139859
|
+
"name": "CalendarTimelineResource",
|
|
139860
|
+
"declaration": {
|
|
139861
|
+
"name": "CalendarTimelineResource",
|
|
139862
|
+
"module": "./types.js"
|
|
139863
|
+
}
|
|
139864
|
+
},
|
|
139865
|
+
{
|
|
139866
|
+
"kind": "js",
|
|
139867
|
+
"name": "CalendarTimelineViewType",
|
|
139868
|
+
"declaration": {
|
|
139869
|
+
"name": "CalendarTimelineViewType",
|
|
139870
|
+
"module": "./types.js"
|
|
139871
|
+
}
|
|
139872
|
+
},
|
|
139873
|
+
{
|
|
139874
|
+
"kind": "js",
|
|
139875
|
+
"name": "applyCalendarTimelineChange",
|
|
139876
|
+
"declaration": {
|
|
139877
|
+
"name": "applyCalendarTimelineChange",
|
|
139878
|
+
"module": "src/calendar-timeline/calendar-timeline.ts"
|
|
139879
|
+
}
|
|
139880
|
+
},
|
|
139881
|
+
{
|
|
139882
|
+
"kind": "js",
|
|
139883
|
+
"name": "CalendarTimeline",
|
|
139884
|
+
"declaration": {
|
|
139885
|
+
"name": "CalendarTimeline",
|
|
139886
|
+
"module": "src/calendar-timeline/calendar-timeline.ts"
|
|
139887
|
+
}
|
|
139888
|
+
}
|
|
139889
|
+
]
|
|
139890
|
+
},
|
|
139891
|
+
{
|
|
139892
|
+
"kind": "javascript-module",
|
|
139893
|
+
"path": "src/calendar-timeline/index.ts",
|
|
139894
|
+
"declarations": [],
|
|
139895
|
+
"exports": [
|
|
139896
|
+
{
|
|
139897
|
+
"kind": "js",
|
|
139898
|
+
"name": "CalendarTimeline",
|
|
139899
|
+
"declaration": {
|
|
139900
|
+
"name": "CalendarTimeline",
|
|
139901
|
+
"module": "./calendar-timeline.js"
|
|
139902
|
+
}
|
|
139903
|
+
},
|
|
139904
|
+
{
|
|
139905
|
+
"kind": "js",
|
|
139906
|
+
"name": "applyCalendarTimelineChange",
|
|
139907
|
+
"declaration": {
|
|
139908
|
+
"name": "applyCalendarTimelineChange",
|
|
139909
|
+
"module": "./calendar-timeline.js"
|
|
139910
|
+
}
|
|
139911
|
+
},
|
|
139912
|
+
{
|
|
139913
|
+
"kind": "js",
|
|
139914
|
+
"name": "CalendarTimelineDateChangeDetail",
|
|
139915
|
+
"declaration": {
|
|
139916
|
+
"name": "CalendarTimelineDateChangeDetail",
|
|
139917
|
+
"module": "./calendar-timeline.js"
|
|
139918
|
+
}
|
|
139919
|
+
},
|
|
139920
|
+
{
|
|
139921
|
+
"kind": "js",
|
|
139922
|
+
"name": "CalendarTimelineEvent",
|
|
139923
|
+
"declaration": {
|
|
139924
|
+
"name": "CalendarTimelineEvent",
|
|
139925
|
+
"module": "./types.js"
|
|
139926
|
+
}
|
|
139927
|
+
},
|
|
139928
|
+
{
|
|
139929
|
+
"kind": "js",
|
|
139930
|
+
"name": "CalendarTimelineEventAddDetail",
|
|
139931
|
+
"declaration": {
|
|
139932
|
+
"name": "CalendarTimelineEventAddDetail",
|
|
139933
|
+
"module": "./types.js"
|
|
139934
|
+
}
|
|
139935
|
+
},
|
|
139936
|
+
{
|
|
139937
|
+
"kind": "js",
|
|
139938
|
+
"name": "CalendarTimelineEventChangeAction",
|
|
139939
|
+
"declaration": {
|
|
139940
|
+
"name": "CalendarTimelineEventChangeAction",
|
|
139941
|
+
"module": "./types.js"
|
|
139942
|
+
}
|
|
139943
|
+
},
|
|
139944
|
+
{
|
|
139945
|
+
"kind": "js",
|
|
139946
|
+
"name": "CalendarTimelineEventChangeDetail",
|
|
139947
|
+
"declaration": {
|
|
139948
|
+
"name": "CalendarTimelineEventChangeDetail",
|
|
139949
|
+
"module": "./types.js"
|
|
139950
|
+
}
|
|
139951
|
+
},
|
|
139952
|
+
{
|
|
139953
|
+
"kind": "js",
|
|
139954
|
+
"name": "CalendarTimelineGroupToggleDetail",
|
|
139955
|
+
"declaration": {
|
|
139956
|
+
"name": "CalendarTimelineGroupToggleDetail",
|
|
139957
|
+
"module": "./types.js"
|
|
139958
|
+
}
|
|
139959
|
+
},
|
|
139960
|
+
{
|
|
139961
|
+
"kind": "js",
|
|
139962
|
+
"name": "CalendarTimelineResource",
|
|
139963
|
+
"declaration": {
|
|
139964
|
+
"name": "CalendarTimelineResource",
|
|
139965
|
+
"module": "./types.js"
|
|
139966
|
+
}
|
|
139967
|
+
},
|
|
139968
|
+
{
|
|
139969
|
+
"kind": "js",
|
|
139970
|
+
"name": "CalendarTimelineViewType",
|
|
139971
|
+
"declaration": {
|
|
139972
|
+
"name": "CalendarTimelineViewType",
|
|
139973
|
+
"module": "./types.js"
|
|
139974
|
+
}
|
|
136983
139975
|
}
|
|
136984
139976
|
]
|
|
136985
139977
|
},
|
|
@@ -160595,6 +163587,14 @@
|
|
|
160595
163587
|
"module": "./calendar/index.js"
|
|
160596
163588
|
}
|
|
160597
163589
|
},
|
|
163590
|
+
{
|
|
163591
|
+
"kind": "js",
|
|
163592
|
+
"name": "applyCalendarChange",
|
|
163593
|
+
"declaration": {
|
|
163594
|
+
"name": "applyCalendarChange",
|
|
163595
|
+
"module": "./calendar/index.js"
|
|
163596
|
+
}
|
|
163597
|
+
},
|
|
160598
163598
|
{
|
|
160599
163599
|
"kind": "js",
|
|
160600
163600
|
"name": "CalendarViewType",
|
|
@@ -160619,6 +163619,110 @@
|
|
|
160619
163619
|
"module": "./calendar/index.js"
|
|
160620
163620
|
}
|
|
160621
163621
|
},
|
|
163622
|
+
{
|
|
163623
|
+
"kind": "js",
|
|
163624
|
+
"name": "CalendarEventAddDetail",
|
|
163625
|
+
"declaration": {
|
|
163626
|
+
"name": "CalendarEventAddDetail",
|
|
163627
|
+
"module": "./calendar/index.js"
|
|
163628
|
+
}
|
|
163629
|
+
},
|
|
163630
|
+
{
|
|
163631
|
+
"kind": "js",
|
|
163632
|
+
"name": "CalendarEventChangeAction",
|
|
163633
|
+
"declaration": {
|
|
163634
|
+
"name": "CalendarEventChangeAction",
|
|
163635
|
+
"module": "./calendar/index.js"
|
|
163636
|
+
}
|
|
163637
|
+
},
|
|
163638
|
+
{
|
|
163639
|
+
"kind": "js",
|
|
163640
|
+
"name": "CalendarEventChangeDetail",
|
|
163641
|
+
"declaration": {
|
|
163642
|
+
"name": "CalendarEventChangeDetail",
|
|
163643
|
+
"module": "./calendar/index.js"
|
|
163644
|
+
}
|
|
163645
|
+
},
|
|
163646
|
+
{
|
|
163647
|
+
"kind": "js",
|
|
163648
|
+
"name": "CalendarTimeline",
|
|
163649
|
+
"declaration": {
|
|
163650
|
+
"name": "CalendarTimeline",
|
|
163651
|
+
"module": "./calendar-timeline/index.js"
|
|
163652
|
+
}
|
|
163653
|
+
},
|
|
163654
|
+
{
|
|
163655
|
+
"kind": "js",
|
|
163656
|
+
"name": "applyCalendarTimelineChange",
|
|
163657
|
+
"declaration": {
|
|
163658
|
+
"name": "applyCalendarTimelineChange",
|
|
163659
|
+
"module": "./calendar-timeline/index.js"
|
|
163660
|
+
}
|
|
163661
|
+
},
|
|
163662
|
+
{
|
|
163663
|
+
"kind": "js",
|
|
163664
|
+
"name": "CalendarTimelineDateChangeDetail",
|
|
163665
|
+
"declaration": {
|
|
163666
|
+
"name": "CalendarTimelineDateChangeDetail",
|
|
163667
|
+
"module": "./calendar-timeline/index.js"
|
|
163668
|
+
}
|
|
163669
|
+
},
|
|
163670
|
+
{
|
|
163671
|
+
"kind": "js",
|
|
163672
|
+
"name": "CalendarTimelineEvent",
|
|
163673
|
+
"declaration": {
|
|
163674
|
+
"name": "CalendarTimelineEvent",
|
|
163675
|
+
"module": "./calendar-timeline/index.js"
|
|
163676
|
+
}
|
|
163677
|
+
},
|
|
163678
|
+
{
|
|
163679
|
+
"kind": "js",
|
|
163680
|
+
"name": "CalendarTimelineEventAddDetail",
|
|
163681
|
+
"declaration": {
|
|
163682
|
+
"name": "CalendarTimelineEventAddDetail",
|
|
163683
|
+
"module": "./calendar-timeline/index.js"
|
|
163684
|
+
}
|
|
163685
|
+
},
|
|
163686
|
+
{
|
|
163687
|
+
"kind": "js",
|
|
163688
|
+
"name": "CalendarTimelineEventChangeAction",
|
|
163689
|
+
"declaration": {
|
|
163690
|
+
"name": "CalendarTimelineEventChangeAction",
|
|
163691
|
+
"module": "./calendar-timeline/index.js"
|
|
163692
|
+
}
|
|
163693
|
+
},
|
|
163694
|
+
{
|
|
163695
|
+
"kind": "js",
|
|
163696
|
+
"name": "CalendarTimelineEventChangeDetail",
|
|
163697
|
+
"declaration": {
|
|
163698
|
+
"name": "CalendarTimelineEventChangeDetail",
|
|
163699
|
+
"module": "./calendar-timeline/index.js"
|
|
163700
|
+
}
|
|
163701
|
+
},
|
|
163702
|
+
{
|
|
163703
|
+
"kind": "js",
|
|
163704
|
+
"name": "CalendarTimelineGroupToggleDetail",
|
|
163705
|
+
"declaration": {
|
|
163706
|
+
"name": "CalendarTimelineGroupToggleDetail",
|
|
163707
|
+
"module": "./calendar-timeline/index.js"
|
|
163708
|
+
}
|
|
163709
|
+
},
|
|
163710
|
+
{
|
|
163711
|
+
"kind": "js",
|
|
163712
|
+
"name": "CalendarTimelineResource",
|
|
163713
|
+
"declaration": {
|
|
163714
|
+
"name": "CalendarTimelineResource",
|
|
163715
|
+
"module": "./calendar-timeline/index.js"
|
|
163716
|
+
}
|
|
163717
|
+
},
|
|
163718
|
+
{
|
|
163719
|
+
"kind": "js",
|
|
163720
|
+
"name": "CalendarTimelineViewType",
|
|
163721
|
+
"declaration": {
|
|
163722
|
+
"name": "CalendarTimelineViewType",
|
|
163723
|
+
"module": "./calendar-timeline/index.js"
|
|
163724
|
+
}
|
|
163725
|
+
},
|
|
160622
163726
|
{
|
|
160623
163727
|
"kind": "js",
|
|
160624
163728
|
"name": "Diagram",
|