@brightspace-ui/core 3.277.0 → 3.279.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/components/backdrop/backdrop-loading.js +100 -133
- package/components/backdrop/backdrop-stale-overlay.js +58 -0
- package/components/page/page.js +57 -6
- package/components/table/demo/table-test.js +9 -9
- package/components/table/table-wrapper.js +41 -46
- package/custom-elements.json +105 -105
- package/lang/ar.js +8 -7
- package/lang/ca.js +8 -7
- package/lang/cy.js +8 -7
- package/lang/da.js +8 -7
- package/lang/de.js +8 -7
- package/lang/en-gb.js +1 -0
- package/lang/en.js +1 -0
- package/lang/es-es.js +8 -7
- package/lang/es.js +8 -7
- package/lang/fr-fr.js +8 -7
- package/lang/fr.js +8 -7
- package/lang/haw.js +8 -7
- package/lang/hi.js +8 -7
- package/lang/ja.js +8 -7
- package/lang/ko.js +8 -7
- package/lang/mi.js +8 -7
- package/lang/nl.js +8 -7
- package/lang/pl.js +256 -0
- package/lang/pt.js +8 -7
- package/lang/ru.js +256 -0
- package/lang/sv.js +8 -7
- package/lang/th.js +8 -7
- package/lang/tr.js +8 -7
- package/lang/ur.js +256 -0
- package/lang/vi.js +8 -7
- package/lang/zh-cn.js +8 -7
- package/lang/zh-tw.js +8 -7
- package/mixins/freshness/freshness-mixin.js +35 -0
- package/package.json +1 -1
- package/components/backdrop/backdrop-dirty-overlay.js +0 -73
package/lang/tr.js
CHANGED
|
@@ -2,6 +2,7 @@ export default {
|
|
|
2
2
|
"components.alert.close": "Kapatma Uyarısı",
|
|
3
3
|
"components.backdrop-loading.loadingAnnouncement": "Yükleniyor.",
|
|
4
4
|
"components.backdrop-loading.loadingCompleteAnnouncement": "Yükleme Tamamlandı.",
|
|
5
|
+
"components.backdrop-stale-overlay.message": "This data is out of date.",
|
|
5
6
|
"components.breadcrumbs.breadcrumb": "İçerik Haritası",
|
|
6
7
|
"components.button-add.addItem": "Öğe Ekle",
|
|
7
8
|
"components.button-copy.copied": "Kopyalandı!",
|
|
@@ -135,13 +136,13 @@ export default {
|
|
|
135
136
|
"components.list-item.addItem": "Öğe Ekle",
|
|
136
137
|
"components.list-item-drag-handle.default": "{name} için öğe eylemini yeniden sırala",
|
|
137
138
|
"components.list-item-drag-handle.keyboard": "Öğeyi yeniden sırala, mevcut konum {currentPosition} / {size}. Bu öğeyi taşımak için yukarı veya aşağı oklara basın.",
|
|
138
|
-
"components.list-item-drag-handle.side-to-side.keyboard": "
|
|
139
|
+
"components.list-item-drag-handle.side-to-side.keyboard": "Öğeyi yeniden sırala, mevcut konum {currentPosition} / {size}. Bu öğeyi taşımak için sol veya sağ oklara basın.",
|
|
139
140
|
"components.list-item-drag-handle-tooltip.enter-desc": "Klavye yeniden sıralama modunu değiştirin.",
|
|
140
141
|
"components.list-item-drag-handle-tooltip.enter-key": "Gir",
|
|
141
142
|
"components.list-item-drag-handle-tooltip.left-right-desc": "İç içe geçme seviyesini değiştirin.",
|
|
142
143
|
"components.list-item-drag-handle-tooltip.left-right-key": "Sol/Sağ",
|
|
143
|
-
"components.list-item-drag-handle-tooltip.side-to-side.left-right-desc": "
|
|
144
|
-
"components.list-item-drag-handle-tooltip.side-to-side.up-down-desc": "
|
|
144
|
+
"components.list-item-drag-handle-tooltip.side-to-side.left-right-desc": "Öğeyi listede sola veya sağa taşıyın.",
|
|
145
|
+
"components.list-item-drag-handle-tooltip.side-to-side.up-down-desc": "Öğeyi listede sola veya sağa taşıyın.",
|
|
145
146
|
"components.list-item-drag-handle-tooltip.title": "Yeniden Sıralama için Klavye Kontrolleri:",
|
|
146
147
|
"components.list-item-drag-handle-tooltip.up-down-desc": "Öğeyi listede yukarı veya aşağı taşıyın.",
|
|
147
148
|
"components.list-item-drag-handle-tooltip.up-down-key": "Yukarı/Aşağı",
|
|
@@ -155,12 +156,12 @@ export default {
|
|
|
155
156
|
"components.more-less.more": "daha fazla",
|
|
156
157
|
"components.object-property-list.item-placeholder-text": "Yer Tutucu Öğesi",
|
|
157
158
|
"components.overflow-group.moreActions": "Daha Fazla Eylem",
|
|
158
|
-
"components.page.footer-region-label": "
|
|
159
|
+
"components.page.footer-region-label": "Altbilgi",
|
|
159
160
|
"components.page.header-nav-label": "Ana",
|
|
160
|
-
"components.page.side-nav-divider-label": "
|
|
161
|
+
"components.page.side-nav-divider-label": "Yan Navigasyon Ayırıcı",
|
|
161
162
|
"components.page.side-nav-label": "Yan",
|
|
162
|
-
"components.page.supporting-divider-label": "
|
|
163
|
-
"components.page.supporting-panel-label": "
|
|
163
|
+
"components.page.supporting-divider-label": "Destekleyici Panel Ayırıcı",
|
|
164
|
+
"components.page.supporting-panel-label": "Destekleyici",
|
|
164
165
|
"components.pageable.info":
|
|
165
166
|
`{count, plural,
|
|
166
167
|
one {{countFormatted} öğe}
|
package/lang/ur.js
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"components.alert.close": "Close Alert",
|
|
3
|
+
"components.backdrop-loading.loadingAnnouncement": "Loading.",
|
|
4
|
+
"components.backdrop-loading.loadingCompleteAnnouncement": "Loading Complete.",
|
|
5
|
+
"components.backdrop-stale-overlay.message": "This data is out of date.",
|
|
6
|
+
"components.breadcrumbs.breadcrumb": "Breadcrumb",
|
|
7
|
+
"components.button-add.addItem": "Add Item",
|
|
8
|
+
"components.button-copy.copied": "Copied!",
|
|
9
|
+
"components.button-copy.error": "Copy failed. Try again, or try copying manually.",
|
|
10
|
+
"components.button-split.otherOptions": "Other Options",
|
|
11
|
+
"components.calendar.hasEvents": "Has Events.",
|
|
12
|
+
"components.calendar.notSelected": "Not Selected.",
|
|
13
|
+
"components.calendar.selected": "Selected.",
|
|
14
|
+
"components.calendar.show": "Show {month}",
|
|
15
|
+
"components.count-badge.plus": "{number}+",
|
|
16
|
+
"components.dialog.close": "Close this dialog",
|
|
17
|
+
"components.dialog.critical": "Critical!",
|
|
18
|
+
"components.dropdown.close": "Close",
|
|
19
|
+
"components.filter.activeFilters": "Active Filters:",
|
|
20
|
+
"components.filter.additionalContentTooltip": "Use <b>left/right arrow keys</b> to move focus inside this list item",
|
|
21
|
+
"components.filter.clear": "Clear",
|
|
22
|
+
"components.filter.clearAll": "Clear All",
|
|
23
|
+
"components.filter.clearAllAnnounce": "Clearing all filters",
|
|
24
|
+
"components.filter.clearAllAnnounceOverride": "Clearing all filters for: {filterText}",
|
|
25
|
+
"components.filter.clearAllDescription": "Clear all filters",
|
|
26
|
+
"components.filter.clearAllDescriptionOverride": "Clear all filters for: {filterText}",
|
|
27
|
+
"components.filter.clearAnnounce": "Clearing filters for: {filterName}",
|
|
28
|
+
"components.filter.clearDescription": "Clear filters for: {filterName}",
|
|
29
|
+
"components.filter.filterCountDescription":
|
|
30
|
+
`{number, plural,
|
|
31
|
+
=0 {No filters applied.}
|
|
32
|
+
one {{number} filter applied.}
|
|
33
|
+
other {{number} filters applied.}
|
|
34
|
+
}`,
|
|
35
|
+
"components.filter.filters": "Filters",
|
|
36
|
+
"components.filter.loading": "Loading filters",
|
|
37
|
+
"components.filter.noFilters": "No available filters",
|
|
38
|
+
"components.filter.searchResults":
|
|
39
|
+
`{number, plural,
|
|
40
|
+
=0 {No search results}
|
|
41
|
+
one {{number} search result}
|
|
42
|
+
other {{number} search results}
|
|
43
|
+
}`,
|
|
44
|
+
"components.filter.selectedFirstListLabel": "{headerText}. Selected filters appear first.",
|
|
45
|
+
"components.filter.singleDimensionDescription": "Filter by: {filterName}",
|
|
46
|
+
"components.filter-dimension-set-date-text-value.textDays":
|
|
47
|
+
`{num, plural,
|
|
48
|
+
=0 {Today}
|
|
49
|
+
one {Last {num} day}
|
|
50
|
+
other {Last {num} days}
|
|
51
|
+
}`,
|
|
52
|
+
"components.filter-dimension-set-date-text-value.textHours":
|
|
53
|
+
`{num, plural,
|
|
54
|
+
=1 {Last hour}
|
|
55
|
+
other {Last {num} hours}
|
|
56
|
+
}`,
|
|
57
|
+
"components.filter-dimension-set-date-text-value.textMonths": "Last {num} months",
|
|
58
|
+
"components.filter-dimension-set-date-time-range-value.label": "{text}, expand to choose dates",
|
|
59
|
+
"components.filter-dimension-set-date-time-range-value.text": "Custom date range",
|
|
60
|
+
"components.filter-dimension-set-date-time-range-value.valueTextRange": "{startValue} to {endValue}",
|
|
61
|
+
"components.filter-dimension-set-date-time-range-value.valueTextRangeEndOnly": "Before {endValue}",
|
|
62
|
+
"components.filter-dimension-set-date-time-range-value.valueTextRangeStartOnly": "After {startValue}",
|
|
63
|
+
"components.form-element.defaultError": "{label} is invalid",
|
|
64
|
+
"components.form-element.defaultFieldLabel": "Field",
|
|
65
|
+
"components.form-element.input.email.typeMismatch": "Email is not valid",
|
|
66
|
+
"components.form-element.input.number.rangeError":
|
|
67
|
+
`{minExclusive, select,
|
|
68
|
+
true {{maxExclusive, select,
|
|
69
|
+
true {Number must be greater than {min} and less than {max}.}
|
|
70
|
+
other {Number must be greater than {min} and less than or equal to {max}.}
|
|
71
|
+
}}
|
|
72
|
+
other {{maxExclusive, select,
|
|
73
|
+
true {Number must be greater than or equal to {min} and less than {max}.}
|
|
74
|
+
other {Number must be greater than or equal to {min} and less than or equal to {max}.}
|
|
75
|
+
}}
|
|
76
|
+
}`,
|
|
77
|
+
"components.form-element.input.number.rangeOverflow":
|
|
78
|
+
`{maxExclusive, select,
|
|
79
|
+
true {Number must be less than {max}.}
|
|
80
|
+
other {Number must be less than or equal to {max}.}
|
|
81
|
+
}`,
|
|
82
|
+
"components.form-element.input.number.rangeUnderflow":
|
|
83
|
+
`{minExclusive, select,
|
|
84
|
+
true {Number must be greater than {min}.}
|
|
85
|
+
other {Number must be greater than or equal to {min}.}
|
|
86
|
+
}`,
|
|
87
|
+
"components.form-element.input.text.tooShort": "{label} must be at least {minlength} characters",
|
|
88
|
+
"components.form-element.input.url.typeMismatch": "URL is not valid",
|
|
89
|
+
"components.form-element.valueMissing": "{label} is required",
|
|
90
|
+
"components.form-error-summary.errorSummary":
|
|
91
|
+
`{count, plural,
|
|
92
|
+
one {There was {count} error found in the information you submitted}
|
|
93
|
+
other {There were {count} errors found in the information you submitted}
|
|
94
|
+
}`,
|
|
95
|
+
"components.form-error-summary.text": "Toggle error details",
|
|
96
|
+
"components.input-color.backgroundColor": "Background Color",
|
|
97
|
+
"components.input-color.foregroundColor": "Foreground Color",
|
|
98
|
+
"components.input-color.none": "None",
|
|
99
|
+
"components.input-date.clear": "Clear",
|
|
100
|
+
"components.input-date.errorMaxDateOnly": "Date must be before or on {maxDate}",
|
|
101
|
+
"components.input-date.errorMinDateOnly": "Date must be on or after {minDate}",
|
|
102
|
+
"components.input-date.errorOutsideRange": "Date must be between {minDate} and {maxDate}",
|
|
103
|
+
"components.input-date.now": "Now",
|
|
104
|
+
"components.input-date.openInstructions": "Use date format {format}. Arrow down or press enter to access mini-calendar.",
|
|
105
|
+
"components.input-date.revert": "{label} reverted to previous value.",
|
|
106
|
+
"components.input-date.today": "Today",
|
|
107
|
+
"components.input-date.useDateFormat": "Use date format {format}.",
|
|
108
|
+
"components.input-date-range.endDate": "End Date",
|
|
109
|
+
"components.input-date-range.errorBadInput": "{startLabel} must be before {endLabel}",
|
|
110
|
+
"components.input-date-range.interactive-label": "Date range input",
|
|
111
|
+
"components.input-date-range.startDate": "Start Date",
|
|
112
|
+
"components.input-date-time.date": "Date",
|
|
113
|
+
"components.input-date-time.errorMaxDateOnly": "Date must be before or on {maxDate}",
|
|
114
|
+
"components.input-date-time.errorMinDateOnly": "Date must be on or after {minDate}",
|
|
115
|
+
"components.input-date-time.errorOutsideRange": "Date must be between {minDate} and {maxDate}",
|
|
116
|
+
"components.input-date-time.time": "Time",
|
|
117
|
+
"components.input-date-time-range.endDate": "End Date",
|
|
118
|
+
"components.input-date-time-range.errorBadInput": "{startLabel} must be before {endLabel}",
|
|
119
|
+
"components.input-date-time-range.interactive-label": "Date and time range input",
|
|
120
|
+
"components.input-date-time-range.startDate": "Start Date",
|
|
121
|
+
"components.input-date-time-range-to.to": "to",
|
|
122
|
+
"components.input-number.hintDecimalDuplicate": "There’s already a decimal in this number",
|
|
123
|
+
"components.input-number.hintDecimalIncorrectComma": "To add a decimal use the comma “,” character",
|
|
124
|
+
"components.input-number.hintDecimalIncorrectPeriod": "To add a decimal use the period “.” character",
|
|
125
|
+
"components.input-number.hintInteger": "This field only accepts integer values (no decimals)",
|
|
126
|
+
"components.input-search.clear": "Clear Search",
|
|
127
|
+
"components.input-search.defaultPlaceholder": "Search...",
|
|
128
|
+
"components.input-search.search": "Search",
|
|
129
|
+
"components.input-time-range.endTime": "End Time",
|
|
130
|
+
"components.input-time-range.errorBadInput": "{startLabel} must be before {endLabel}",
|
|
131
|
+
"components.input-time-range.startTime": "Start Time",
|
|
132
|
+
"components.interactive.instructions": "Press Enter to interact, Escape to exit",
|
|
133
|
+
"components.link.open-in-new-window": "Opens in a new window.",
|
|
134
|
+
"components.list.keyboard": "Use <b>arrow keys</b> to move focus inside this list, or <b>page up/down</b> to move up or down by 5",
|
|
135
|
+
"components.list-controls.label": "Actions for list",
|
|
136
|
+
"components.list-item.addItem": "Add Item",
|
|
137
|
+
"components.list-item-drag-handle.default": "Reorder item action for {name}",
|
|
138
|
+
"components.list-item-drag-handle.keyboard": "Reorder item, current position {currentPosition} out of {size}. To move this item, press up or down arrows.",
|
|
139
|
+
"components.list-item-drag-handle.side-to-side.keyboard": "Reorder item, current position {currentPosition} out of {size}. To move this item, press left or right arrows.",
|
|
140
|
+
"components.list-item-drag-handle-tooltip.enter-desc": "Toggle keyboard reorder mode.",
|
|
141
|
+
"components.list-item-drag-handle-tooltip.enter-key": "Enter",
|
|
142
|
+
"components.list-item-drag-handle-tooltip.left-right-desc": "Change the nesting level.",
|
|
143
|
+
"components.list-item-drag-handle-tooltip.left-right-key": "Left/Right",
|
|
144
|
+
"components.list-item-drag-handle-tooltip.side-to-side.left-right-desc": "Move item left or right in the list.",
|
|
145
|
+
"components.list-item-drag-handle-tooltip.side-to-side.up-down-desc": "Move item left or right in the list.",
|
|
146
|
+
"components.list-item-drag-handle-tooltip.title": "Keyboard Controls for Reordering:",
|
|
147
|
+
"components.list-item-drag-handle-tooltip.up-down-desc": "Move item up or down in the list.",
|
|
148
|
+
"components.list-item-drag-handle-tooltip.up-down-key": "Up/Down",
|
|
149
|
+
"components.menu-item-return.return": "Return to previous menu.",
|
|
150
|
+
"components.menu-item-return.returnCurrentlyShowing": "Return to previous menu. You are viewing {menuTitle}.",
|
|
151
|
+
"components.meter-mixin.commaSeperatedAria": "{term1}, {term2}",
|
|
152
|
+
"components.meter-mixin.fraction": "{x}∕{y}",
|
|
153
|
+
"components.meter-mixin.fractionAria": "{x} out of {y}",
|
|
154
|
+
"components.meter-mixin.progressIndicator": "Progress Indicator",
|
|
155
|
+
"components.more-less.less": "less",
|
|
156
|
+
"components.more-less.more": "more",
|
|
157
|
+
"components.object-property-list.item-placeholder-text": "Placeholder Item",
|
|
158
|
+
"components.overflow-group.moreActions": "More Actions",
|
|
159
|
+
"components.page.footer-region-label": "Footer",
|
|
160
|
+
"components.page.header-nav-label": "Main",
|
|
161
|
+
"components.page.side-nav-divider-label": "Side Navigation Divider",
|
|
162
|
+
"components.page.side-nav-label": "Side",
|
|
163
|
+
"components.page.supporting-divider-label": "Supporting Panel Divider",
|
|
164
|
+
"components.page.supporting-panel-label": "Supporting",
|
|
165
|
+
"components.pageable.info":
|
|
166
|
+
`{count, plural,
|
|
167
|
+
one {{countFormatted} item}
|
|
168
|
+
other {{countFormatted} items}
|
|
169
|
+
}`,
|
|
170
|
+
"components.pageable.info-with-total":
|
|
171
|
+
`{totalCount, plural,
|
|
172
|
+
one {{countFormatted} of {totalCountFormatted} item}
|
|
173
|
+
other {{countFormatted} of {totalCountFormatted} items}
|
|
174
|
+
}`,
|
|
175
|
+
"components.pager-load-more.action": "Load More",
|
|
176
|
+
"components.pager-load-more.action-with-page-size": "Load {count} More",
|
|
177
|
+
"components.pager-load-more.status-loading": "Loading more items",
|
|
178
|
+
"components.scroll-wrapper.scroll-left": "Scroll left",
|
|
179
|
+
"components.scroll-wrapper.scroll-right": "Scroll right",
|
|
180
|
+
"components.selection.action-max-hint":
|
|
181
|
+
`{count, plural,
|
|
182
|
+
one {Disabled when more than {countFormatted} item is selected}
|
|
183
|
+
other {Disabled when more than {countFormatted} items are selected}
|
|
184
|
+
}`,
|
|
185
|
+
"components.selection.action-required-hint": "Select an item to perform this action",
|
|
186
|
+
"components.selection.select-all": "Select All",
|
|
187
|
+
"components.selection.select-all-items":
|
|
188
|
+
`{count, plural,
|
|
189
|
+
=1 {Select Item}
|
|
190
|
+
one {Select All {countFormatted} Item}
|
|
191
|
+
other {Select All {countFormatted} Items}
|
|
192
|
+
}`,
|
|
193
|
+
"components.selection.selected": "{count} selected",
|
|
194
|
+
"components.selection.selected-plus": "{count}+ selected",
|
|
195
|
+
"components.selection-controls.label": "Actions for selection",
|
|
196
|
+
"components.skip-nav.skipToMainContent": "skip to main content",
|
|
197
|
+
"components.sort.label": "Sort",
|
|
198
|
+
"components.sort.text": "Sort: {selectedItemText}",
|
|
199
|
+
"components.switch.conditions": "Conditions must be met",
|
|
200
|
+
"components.switch.hidden": "Hidden",
|
|
201
|
+
"components.switch.visible": "Visible",
|
|
202
|
+
"components.switch.visibleWithPeriod": "Visible.",
|
|
203
|
+
"components.table-col-sort-button.addSortOrder": "Select to add sort order",
|
|
204
|
+
"components.table-col-sort-button.changeSortOrder": "Select to change sort order",
|
|
205
|
+
"components.table-col-sort-button.title":
|
|
206
|
+
`{sourceType, select,
|
|
207
|
+
dates {{direction, select,
|
|
208
|
+
desc {Sorted new to old}
|
|
209
|
+
other {Sorted old to new}
|
|
210
|
+
}}
|
|
211
|
+
numbers {{direction, select,
|
|
212
|
+
desc {Sorted high to low}
|
|
213
|
+
other {Sorted low to high}
|
|
214
|
+
}}
|
|
215
|
+
words {{direction, select,
|
|
216
|
+
desc {Sorted Z to A}
|
|
217
|
+
other {Sorted A to Z}
|
|
218
|
+
}}
|
|
219
|
+
value {Sorted {selectedMenuItemText}}
|
|
220
|
+
other {{direction, select,
|
|
221
|
+
desc {Sorted descending}
|
|
222
|
+
other {Sorted ascending}
|
|
223
|
+
}}
|
|
224
|
+
}`,
|
|
225
|
+
"components.table-controls.label": "Actions for table",
|
|
226
|
+
"components.tabs.next": "Scroll Forward",
|
|
227
|
+
"components.tabs.previous": "Scroll Backward",
|
|
228
|
+
"components.tag-list.clear": "Click, press backspace, or press delete key to remove item {value}",
|
|
229
|
+
"components.tag-list.clear-all": "Clear All",
|
|
230
|
+
"components.tag-list.cleared-all": "Removed all tag list items",
|
|
231
|
+
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
232
|
+
"components.tag-list.interactive-label": "Tag List, {count} items",
|
|
233
|
+
"components.tag-list.num-hidden": "+ {count} more",
|
|
234
|
+
"components.tag-list.role-description":
|
|
235
|
+
`{count, plural,
|
|
236
|
+
=0 {Tag List with 0 items}
|
|
237
|
+
one {Tag List with {count} item}
|
|
238
|
+
other {Tag List with {count} items}
|
|
239
|
+
}`,
|
|
240
|
+
"components.tag-list.show-less": "Show Less",
|
|
241
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
242
|
+
"components.tag-list-item.role-description": "Tag",
|
|
243
|
+
"components.tag-list-item.tooltip-arrow-keys": "Arrow Keys",
|
|
244
|
+
"components.tag-list-item.tooltip-arrow-keys-desc": "Move between tags",
|
|
245
|
+
"components.tag-list-item.tooltip-delete-key": "Backspace/Delete",
|
|
246
|
+
"components.tag-list-item.tooltip-delete-key-desc": "Delete the focused tag",
|
|
247
|
+
"components.tag-list-item.tooltip-title": "Keyboard Controls",
|
|
248
|
+
"components.view-switcher.role-description":
|
|
249
|
+
`{count, plural,
|
|
250
|
+
=0 {View Switcher with 0 items}
|
|
251
|
+
one {View Switcher with {count} item}
|
|
252
|
+
other {View Switcher with {count} items}
|
|
253
|
+
}`,
|
|
254
|
+
"templates.primary-secondary.divider": "Secondary panel divider",
|
|
255
|
+
"templates.primary-secondary.secondary-panel": "Secondary panel"
|
|
256
|
+
};
|
package/lang/vi.js
CHANGED
|
@@ -2,6 +2,7 @@ export default {
|
|
|
2
2
|
"components.alert.close": "Đóng Cảnh Báo",
|
|
3
3
|
"components.backdrop-loading.loadingAnnouncement": "Đang tải.",
|
|
4
4
|
"components.backdrop-loading.loadingCompleteAnnouncement": "Quá trình tải hoàn tất.",
|
|
5
|
+
"components.backdrop-stale-overlay.message": "This data is out of date.",
|
|
5
6
|
"components.breadcrumbs.breadcrumb": "Đường dẫn",
|
|
6
7
|
"components.button-add.addItem": "Thêm mục",
|
|
7
8
|
"components.button-copy.copied": "Đã sao chép!",
|
|
@@ -129,13 +130,13 @@ export default {
|
|
|
129
130
|
"components.list-item.addItem": "Thêm mục",
|
|
130
131
|
"components.list-item-drag-handle.default": "Sắp xếp lại hành động mục cho {name}",
|
|
131
132
|
"components.list-item-drag-handle.keyboard": "Sắp xếp lại mục, vị trí hiện tại là {currentPosition} trong tổng số {size}. Để di chuyển mục này, nhấn phím mũi tên lên hoặc xuống.",
|
|
132
|
-
"components.list-item-drag-handle.side-to-side.keyboard": "
|
|
133
|
+
"components.list-item-drag-handle.side-to-side.keyboard": "Sắp xếp lại mục, vị trí hiện tại là {currentPosition} trong tổng số {size}. Để di chuyển mục này, nhấn phím mũi tên trái hoặc phải.",
|
|
133
134
|
"components.list-item-drag-handle-tooltip.enter-desc": "Bật chế độ sắp xếp lại bằng bàn phím.",
|
|
134
135
|
"components.list-item-drag-handle-tooltip.enter-key": "Phím Enter.",
|
|
135
136
|
"components.list-item-drag-handle-tooltip.left-right-desc": "Thay đổi cấp độ lồng ghép.",
|
|
136
137
|
"components.list-item-drag-handle-tooltip.left-right-key": "Trái/Phải",
|
|
137
|
-
"components.list-item-drag-handle-tooltip.side-to-side.left-right-desc": "
|
|
138
|
-
"components.list-item-drag-handle-tooltip.side-to-side.up-down-desc": "
|
|
138
|
+
"components.list-item-drag-handle-tooltip.side-to-side.left-right-desc": "Di chuyển mục sang trái hoặc phải trong danh sách.",
|
|
139
|
+
"components.list-item-drag-handle-tooltip.side-to-side.up-down-desc": "Di chuyển mục sang trái hoặc phải trong danh sách.",
|
|
139
140
|
"components.list-item-drag-handle-tooltip.title": "Các điều khiển bàn phím để sắp xếp lại:",
|
|
140
141
|
"components.list-item-drag-handle-tooltip.up-down-desc": "Di chuyển mục lên hoặc xuống trong danh sách.",
|
|
141
142
|
"components.list-item-drag-handle-tooltip.up-down-key": "Lên/Xuống",
|
|
@@ -149,12 +150,12 @@ export default {
|
|
|
149
150
|
"components.more-less.more": "thêm",
|
|
150
151
|
"components.object-property-list.item-placeholder-text": "Mục giữ chỗ",
|
|
151
152
|
"components.overflow-group.moreActions": "Thêm các Tác vụ",
|
|
152
|
-
"components.page.footer-region-label": "
|
|
153
|
+
"components.page.footer-region-label": "Chân trang",
|
|
153
154
|
"components.page.header-nav-label": "Chính",
|
|
154
|
-
"components.page.side-nav-divider-label": "
|
|
155
|
+
"components.page.side-nav-divider-label": "Phân cách điều hướng bên",
|
|
155
156
|
"components.page.side-nav-label": "Bên",
|
|
156
|
-
"components.page.supporting-divider-label": "
|
|
157
|
-
"components.page.supporting-panel-label": "
|
|
157
|
+
"components.page.supporting-divider-label": "Bộ phân cách bảng hỗ trợ",
|
|
158
|
+
"components.page.supporting-panel-label": "Hỗ trợ",
|
|
158
159
|
"components.pageable.info":
|
|
159
160
|
`{count, plural,
|
|
160
161
|
other {{countFormatted} mục}
|
package/lang/zh-cn.js
CHANGED
|
@@ -2,6 +2,7 @@ export default {
|
|
|
2
2
|
"components.alert.close": "关闭提醒",
|
|
3
3
|
"components.backdrop-loading.loadingAnnouncement": "正在加载。",
|
|
4
4
|
"components.backdrop-loading.loadingCompleteAnnouncement": "加载完成。",
|
|
5
|
+
"components.backdrop-stale-overlay.message": "This data is out of date.",
|
|
5
6
|
"components.breadcrumbs.breadcrumb": "痕迹导航",
|
|
6
7
|
"components.button-add.addItem": "添加项目",
|
|
7
8
|
"components.button-copy.copied": "已复制!",
|
|
@@ -130,13 +131,13 @@ export default {
|
|
|
130
131
|
"components.list-item.addItem": "添加项目",
|
|
131
132
|
"components.list-item-drag-handle.default": "对 {name} 的项目操作重新排序",
|
|
132
133
|
"components.list-item-drag-handle.keyboard": "对项目重新排序,当前位置 {currentPosition} 超出 {size}。要移动此项目,请按向上或向下箭头。",
|
|
133
|
-
"components.list-item-drag-handle.side-to-side.keyboard": "
|
|
134
|
+
"components.list-item-drag-handle.side-to-side.keyboard": "对项目重新排序,当前处于第 {currentPosition} 位(共 {size} 位)。若要移动此项目,按向左或向右箭头即可。",
|
|
134
135
|
"components.list-item-drag-handle-tooltip.enter-desc": "切换键盘重新排序模式。",
|
|
135
136
|
"components.list-item-drag-handle-tooltip.enter-key": "输入",
|
|
136
137
|
"components.list-item-drag-handle-tooltip.left-right-desc": "更改嵌套层。",
|
|
137
138
|
"components.list-item-drag-handle-tooltip.left-right-key": "向左/向右",
|
|
138
|
-
"components.list-item-drag-handle-tooltip.side-to-side.left-right-desc": "
|
|
139
|
-
"components.list-item-drag-handle-tooltip.side-to-side.up-down-desc": "
|
|
139
|
+
"components.list-item-drag-handle-tooltip.side-to-side.left-right-desc": "在列表中向左或向右移动项目。",
|
|
140
|
+
"components.list-item-drag-handle-tooltip.side-to-side.up-down-desc": "在列表中向左或向右移动项目。",
|
|
140
141
|
"components.list-item-drag-handle-tooltip.title": "用于重新排序的键盘控制键:",
|
|
141
142
|
"components.list-item-drag-handle-tooltip.up-down-desc": "在列表中向上或向下移动项目。",
|
|
142
143
|
"components.list-item-drag-handle-tooltip.up-down-key": "向上/向下",
|
|
@@ -150,12 +151,12 @@ export default {
|
|
|
150
151
|
"components.more-less.more": "更多",
|
|
151
152
|
"components.object-property-list.item-placeholder-text": "占位符项目",
|
|
152
153
|
"components.overflow-group.moreActions": "更多操作",
|
|
153
|
-
"components.page.footer-region-label": "
|
|
154
|
+
"components.page.footer-region-label": "页脚",
|
|
154
155
|
"components.page.header-nav-label": "主要",
|
|
155
|
-
"components.page.side-nav-divider-label": "
|
|
156
|
+
"components.page.side-nav-divider-label": "侧边导航分隔条",
|
|
156
157
|
"components.page.side-nav-label": "侧面",
|
|
157
|
-
"components.page.supporting-divider-label": "
|
|
158
|
-
"components.page.supporting-panel-label": "
|
|
158
|
+
"components.page.supporting-divider-label": "辅助面板分隔条",
|
|
159
|
+
"components.page.supporting-panel-label": "辅助",
|
|
159
160
|
"components.pageable.info":
|
|
160
161
|
`{count, plural,
|
|
161
162
|
other {{countFormatted} 项}
|
package/lang/zh-tw.js
CHANGED
|
@@ -2,6 +2,7 @@ export default {
|
|
|
2
2
|
"components.alert.close": "關閉警示",
|
|
3
3
|
"components.backdrop-loading.loadingAnnouncement": "正在載入。",
|
|
4
4
|
"components.backdrop-loading.loadingCompleteAnnouncement": "載入完成。",
|
|
5
|
+
"components.backdrop-stale-overlay.message": "This data is out of date.",
|
|
5
6
|
"components.breadcrumbs.breadcrumb": "導覽路徑",
|
|
6
7
|
"components.button-add.addItem": "新增項目",
|
|
7
8
|
"components.button-copy.copied": "複製成功!",
|
|
@@ -131,13 +132,13 @@ export default {
|
|
|
131
132
|
"components.list-item.addItem": "新增項目",
|
|
132
133
|
"components.list-item-drag-handle.default": "重新排序 {name} 的項目動作",
|
|
133
134
|
"components.list-item-drag-handle.keyboard": "重新排序項目,目前位置 {currentPosition},總共為 {size}。若要移除這個項目,請按向上或向下箭頭。",
|
|
134
|
-
"components.list-item-drag-handle.side-to-side.keyboard": "
|
|
135
|
+
"components.list-item-drag-handle.side-to-side.keyboard": "重新排序項目,目前位置 {currentPosition},總共為 {size}。若要移除這個項目,請按向左或向右箭頭。",
|
|
135
136
|
"components.list-item-drag-handle-tooltip.enter-desc": "切換鍵盤重新排序模式。",
|
|
136
137
|
"components.list-item-drag-handle-tooltip.enter-key": "輸入",
|
|
137
138
|
"components.list-item-drag-handle-tooltip.left-right-desc": "變更巢套層次。",
|
|
138
139
|
"components.list-item-drag-handle-tooltip.left-right-key": "左 / 右",
|
|
139
|
-
"components.list-item-drag-handle-tooltip.side-to-side.left-right-desc": "
|
|
140
|
-
"components.list-item-drag-handle-tooltip.side-to-side.up-down-desc": "
|
|
140
|
+
"components.list-item-drag-handle-tooltip.side-to-side.left-right-desc": "在清單中左右移動項目。",
|
|
141
|
+
"components.list-item-drag-handle-tooltip.side-to-side.up-down-desc": "在清單中左右移動項目。",
|
|
141
142
|
"components.list-item-drag-handle-tooltip.title": "重新排序的鍵盤控制項:",
|
|
142
143
|
"components.list-item-drag-handle-tooltip.up-down-desc": "在清單中上下移動項目。",
|
|
143
144
|
"components.list-item-drag-handle-tooltip.up-down-key": "上 / 下",
|
|
@@ -151,12 +152,12 @@ export default {
|
|
|
151
152
|
"components.more-less.more": "較多",
|
|
152
153
|
"components.object-property-list.item-placeholder-text": "預留位置項目",
|
|
153
154
|
"components.overflow-group.moreActions": "其他動作",
|
|
154
|
-
"components.page.footer-region-label": "
|
|
155
|
+
"components.page.footer-region-label": "頁尾",
|
|
155
156
|
"components.page.header-nav-label": "主要",
|
|
156
|
-
"components.page.side-nav-divider-label": "
|
|
157
|
+
"components.page.side-nav-divider-label": "側邊導覽分隔線",
|
|
157
158
|
"components.page.side-nav-label": "側邊",
|
|
158
|
-
"components.page.supporting-divider-label": "
|
|
159
|
-
"components.page.supporting-panel-label": "
|
|
159
|
+
"components.page.supporting-divider-label": "支援面板分隔線",
|
|
160
|
+
"components.page.supporting-panel-label": "支援",
|
|
160
161
|
"components.pageable.info":
|
|
161
162
|
`{count, plural,
|
|
162
163
|
other {{countFormatted} 個項目}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export const freshness = Object.freeze({
|
|
2
|
+
fresh: 'fresh',
|
|
3
|
+
stale: 'stale',
|
|
4
|
+
loading: 'loading'
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
export const FreshnessMixin = superclass => class extends superclass {
|
|
8
|
+
|
|
9
|
+
static properties = {
|
|
10
|
+
/**
|
|
11
|
+
* The freshness of the component data
|
|
12
|
+
* @type {'fresh'|'stale'|'loading'}
|
|
13
|
+
* @default "fresh"
|
|
14
|
+
*/
|
|
15
|
+
freshness: { type: String, attribute: 'freshness', reflect: true },
|
|
16
|
+
/**
|
|
17
|
+
* The button text in the overlay when 'stale'
|
|
18
|
+
* @type {string}
|
|
19
|
+
*/
|
|
20
|
+
freshnessStaleButtonText: {
|
|
21
|
+
type: String, attribute: 'freshness-stale-button-text', reflect: true },
|
|
22
|
+
/**
|
|
23
|
+
* The text message in the overlay when 'stale'
|
|
24
|
+
* @type {string}
|
|
25
|
+
*/
|
|
26
|
+
freshnessStaleText: {
|
|
27
|
+
type: String, attribute: 'freshness-stale-text', reflect: true }
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
this.freshness = freshness.fresh;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.279.0",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import '../button/button-subtle.js';
|
|
2
|
-
import { css, html, LitElement } from 'lit';
|
|
3
|
-
import { bodyCompactStyles } from '../typography/styles.js';
|
|
4
|
-
import { getFocusRingStyles } from '../../helpers/focus.js';
|
|
5
|
-
|
|
6
|
-
const overlayStyles = css`
|
|
7
|
-
.action-slot::slotted(*) {
|
|
8
|
-
display: inline;
|
|
9
|
-
}
|
|
10
|
-
:host {
|
|
11
|
-
align-items: center;
|
|
12
|
-
border: 1px solid var(--d2l-color-mica);
|
|
13
|
-
border-radius: 0.3rem;
|
|
14
|
-
column-gap: 0.75rem;
|
|
15
|
-
display: block;
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-wrap: wrap;
|
|
18
|
-
padding: 1.2rem 1.5rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.d2l-backdrop-dirty-overlay {
|
|
22
|
-
--d2l-focus-ring-offset: 3px;
|
|
23
|
-
border-radius: 0.3rem;
|
|
24
|
-
margin: 0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.d2l-backdrop-dirty-overlay-action {
|
|
28
|
-
vertical-align: top;
|
|
29
|
-
}
|
|
30
|
-
`;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* The `d2l-backdrop-dirty-overlay` component is used to render a dialog with text and an action over another element that needs to be refreshed after user input.
|
|
34
|
-
*/
|
|
35
|
-
class BackdropDirtyOverlay extends LitElement {
|
|
36
|
-
|
|
37
|
-
static properties = {
|
|
38
|
-
/**
|
|
39
|
-
* The text displayed on the dirty state overlay.
|
|
40
|
-
* @type {string}
|
|
41
|
-
*/
|
|
42
|
-
description: { type: String, required: true },
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* The text displayed on the button of the dirty state overlay when the 'dirty' dataState is set.
|
|
46
|
-
* @type {string}
|
|
47
|
-
*/
|
|
48
|
-
action: { type: String, required: true }
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
static styles = [bodyCompactStyles, overlayStyles, getFocusRingStyles('.d2l-backdrop-dirty-overlay')];
|
|
52
|
-
|
|
53
|
-
render() {
|
|
54
|
-
return html`
|
|
55
|
-
<p class="d2l-body-compact d2l-backdrop-dirty-overlay">${this.description}</p>
|
|
56
|
-
<d2l-button-subtle
|
|
57
|
-
class="d2l-backdrop-dirty-overlay-action"
|
|
58
|
-
@click=${this.#handleActionClick}
|
|
59
|
-
h-align="text"
|
|
60
|
-
text=${this.action}>
|
|
61
|
-
</d2l-button-subtle>
|
|
62
|
-
`;
|
|
63
|
-
}
|
|
64
|
-
#handleActionClick(e) {
|
|
65
|
-
e.stopPropagation();
|
|
66
|
-
|
|
67
|
-
/** Dispatched when the action button on the overlay is clicked */
|
|
68
|
-
this.dispatchEvent(new CustomEvent('d2l-backdrop-dirty-overlay-action', { bubbles: true, composed: true }));
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
customElements.define('d2l-backdrop-dirty-overlay', BackdropDirtyOverlay);
|