@brightspace-ui/core 3.207.0 → 3.208.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/list/demo/list-layout.html +47 -0
- package/components/list/list-item-mixin.js +34 -1
- package/components/list/list.js +19 -0
- package/custom-elements.json +11 -0
- package/lang/fr-fr.js +0 -1
- package/lang/vi.js +37 -39
- package/package.json +1 -1
|
@@ -243,6 +243,53 @@
|
|
|
243
243
|
</template>
|
|
244
244
|
</d2l-demo-snippet>
|
|
245
245
|
|
|
246
|
+
<h2>Selectable (show selection when one or more selected or on hover/focus)</h2>
|
|
247
|
+
|
|
248
|
+
<d2l-demo-snippet>
|
|
249
|
+
<template>
|
|
250
|
+
<d2l-view-switcher label="Layout Options">
|
|
251
|
+
<d2l-view-switcher-button key="list" text="List"></d2l-view-switcher-button>
|
|
252
|
+
<d2l-view-switcher-button selected key="tiles" text="Tiles"></d2l-view-switcher-button>
|
|
253
|
+
</d2l-view-switcher>
|
|
254
|
+
<d2l-list layout="tiles" selection-when-interacted>
|
|
255
|
+
<d2l-list-item label="item 1" key="1" selectable tile-header>
|
|
256
|
+
<img slot="illustration" src="https://s.brightspace.com/course-images/images/38e839b1-37fa-470c-8830-b189ce4ae134/tile-high-density-max-size.jpg"></img>
|
|
257
|
+
<d2l-list-item-content>
|
|
258
|
+
<div>Identify categories of physical activities</div>
|
|
259
|
+
<div slot="secondary">Secondary Information</div>
|
|
260
|
+
<div slot="supporting-info">Specific Expectation A1.2</div>
|
|
261
|
+
</d2l-list-item-content>
|
|
262
|
+
</d2l-list-item>
|
|
263
|
+
<d2l-list-item label="item 2" key="2" selectable>
|
|
264
|
+
<img slot="illustration" src="https://s.brightspace.com/course-images/images/e5fd575a-bc14-4a80-89e1-46f349a76178/tile-high-density-max-size.jpg"></img>
|
|
265
|
+
<d2l-list-item-content>
|
|
266
|
+
<div>Apply a decision-making process to assess risks and make safe decisions in a variety of situations</div>
|
|
267
|
+
<div slot="secondary">Secondary Information</div>
|
|
268
|
+
<div slot="supporting-info">Specific Expectation B2.1</div>
|
|
269
|
+
</d2l-list-item-content>
|
|
270
|
+
</d2l-list-item>
|
|
271
|
+
<d2l-list-item label="item 3" key="3" selectable>
|
|
272
|
+
<img slot="illustration" src="https://s.brightspace.com/course-images/images/63b162ab-b582-4bf9-8c1d-1dad04714121/tile-high-density-max-size.jpg"></img>
|
|
273
|
+
<d2l-list-item-content>
|
|
274
|
+
<div>Retain objects of various shapes and sizes in different ways, while moving around others and equipment</div>
|
|
275
|
+
<div slot="secondary">Secondary Information</div>
|
|
276
|
+
<div slot="supporting-info">Specific Expectation B2.2</div>
|
|
277
|
+
</d2l-list-item-content>
|
|
278
|
+
</d2l-list-item>
|
|
279
|
+
<d2l-list-item label="item 4" key="4" selectable tile-header>
|
|
280
|
+
<d2l-list-item-content>
|
|
281
|
+
<div>Retain objects of various shapes and sizes in different ways, while moving around others and equipment</div>
|
|
282
|
+
<div slot="secondary">Secondary Information</div>
|
|
283
|
+
<div slot="supporting-info">Specific Expectation B2.2</div>
|
|
284
|
+
</d2l-list-item-content>
|
|
285
|
+
</d2l-list-item>
|
|
286
|
+
</d2l-list>
|
|
287
|
+
<script data-demo-hide>
|
|
288
|
+
(demo => window.window.wireupViewSwitcher(demo))(document.currentScript.parentNode);
|
|
289
|
+
</script>
|
|
290
|
+
</template>
|
|
291
|
+
</d2l-demo-snippet>
|
|
292
|
+
|
|
246
293
|
<h2>Actions</h2>
|
|
247
294
|
|
|
248
295
|
<d2l-demo-snippet>
|
|
@@ -124,9 +124,11 @@ export const ListItemMixin = superclass => class extends composeMixins(
|
|
|
124
124
|
_hoveringPrimaryAction: { type: Boolean, attribute: '_hovering-primary-action', reflect: true },
|
|
125
125
|
_focusing: { type: Boolean, reflect: true },
|
|
126
126
|
_focusingPrimaryAction: { type: Boolean, attribute: '_focusing-primary-action', reflect: true },
|
|
127
|
+
_forceShowSelection: { type: Boolean, attribute: '_force-show-selection', reflect: true },
|
|
127
128
|
_highlight: { type: Boolean, reflect: true },
|
|
128
129
|
_highlighting: { type: Boolean, reflect: true },
|
|
129
130
|
_showAddButton: { type: Boolean, attribute: '_show-add-button', reflect: true },
|
|
131
|
+
_selectionWhenInteracted: { type: Boolean, attribute: '_selection-when-interacted', reflect: true },
|
|
130
132
|
_siblingHasColor: { state: true },
|
|
131
133
|
};
|
|
132
134
|
}
|
|
@@ -467,6 +469,35 @@ export const ListItemMixin = superclass => class extends composeMixins(
|
|
|
467
469
|
padding: 0;
|
|
468
470
|
}
|
|
469
471
|
|
|
472
|
+
:host([layout="tile"][_selection-when-interacted]) [slot="control"] {
|
|
473
|
+
opacity: 0;
|
|
474
|
+
transform: translateY(-10px);
|
|
475
|
+
transition: opacity 200ms ease-out, transform 0ms ease-out 300ms;
|
|
476
|
+
}
|
|
477
|
+
:host([layout="tile"][_selection-when-interacted]) [slot="control"]:hover,
|
|
478
|
+
:host([layout="tile"][_selection-when-interacted][_focusing]) [slot="control"],
|
|
479
|
+
:host([layout="tile"][_selection-when-interacted][_force-show-selection]) [slot="control"],
|
|
480
|
+
:host([layout="tile"][_selection-when-interacted][_hovering-selection]) [slot="control"],
|
|
481
|
+
:host([layout="tile"][_selection-when-interacted][_hovering]) [slot="control"] {
|
|
482
|
+
opacity: 1;
|
|
483
|
+
transform: none;
|
|
484
|
+
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
@media (prefers-reduced-motion: reduce) {
|
|
488
|
+
:host([layout="tile"][_selection-when-interacted]) [slot="control"] {
|
|
489
|
+
transform: none;
|
|
490
|
+
transition: none;
|
|
491
|
+
}
|
|
492
|
+
:host([layout="tile"][_selection-when-interacted]) [slot="control"]:hover,
|
|
493
|
+
:host([layout="tile"][_selection-when-interacted][_focusing]) [slot="control"],
|
|
494
|
+
:host([layout="tile"][_selection-when-interacted][_force-show-selection]) [slot="control"],
|
|
495
|
+
:host([layout="tile"][_selection-when-interacted][_hovering-selection]) [slot="control"],
|
|
496
|
+
:host([layout="tile"][_selection-when-interacted][_hovering]) [slot="control"] {
|
|
497
|
+
transition: none;
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
470
501
|
:host([layout="tile"]) [slot="content"] ::slotted([slot="illustration"]),
|
|
471
502
|
:host([layout="tile"]) .d2l-list-item-illustration > * {
|
|
472
503
|
border-end-end-radius: 0;
|
|
@@ -649,11 +680,13 @@ export const ListItemMixin = superclass => class extends composeMixins(
|
|
|
649
680
|
this.isVisibleOnAncestorTarget = true;
|
|
650
681
|
this.noPrimaryAction = false;
|
|
651
682
|
this.paddingType = 'normal';
|
|
683
|
+
this._selectionWhenInteracted = false;
|
|
652
684
|
this.tileHeader = false;
|
|
653
685
|
this.tilePaddingType = 'normal';
|
|
654
686
|
this._addButtonTopId = getUniqueId();
|
|
655
687
|
this._contentId = getUniqueId();
|
|
656
688
|
this._displayKeyboardTooltip = false;
|
|
689
|
+
this._forceShowSelection = false;
|
|
657
690
|
this._hasColorSlot = false;
|
|
658
691
|
this._hasListItemContent = true;
|
|
659
692
|
this._hasNestedList = false;
|
|
@@ -955,7 +988,7 @@ export const ListItemMixin = superclass => class extends composeMixins(
|
|
|
955
988
|
</d2l-button-add>
|
|
956
989
|
</div>
|
|
957
990
|
` : nothing}
|
|
958
|
-
<div slot="header"></div>
|
|
991
|
+
<div slot="header" @mouseenter="${this._onMouseEnter}" @mouseleave="${this._onMouseLeave}"></div>
|
|
959
992
|
<div slot="outside-control-container" class="${classMap(outsideClasses)}"></div>
|
|
960
993
|
<div slot="before-content"></div>
|
|
961
994
|
${this._renderDropTarget()}
|
package/components/list/list.js
CHANGED
|
@@ -95,6 +95,11 @@ class List extends PageableMixin(SelectionMixin(LitElement)) {
|
|
|
95
95
|
* @default "all"
|
|
96
96
|
*/
|
|
97
97
|
separators: { type: String, reflect: true },
|
|
98
|
+
/**
|
|
99
|
+
* Show selection only on hover, focus or if at least one item is selected. Exclusive for the tile layout
|
|
100
|
+
* @type {boolean}
|
|
101
|
+
*/
|
|
102
|
+
selectionWhenInteracted: { type: Boolean, attribute: 'selection-when-interacted', reflect: true },
|
|
98
103
|
_breakpoint: { type: Number, reflect: true },
|
|
99
104
|
_slimColor: { type: Boolean, reflect: true, attribute: '_slim-color' }
|
|
100
105
|
};
|
|
@@ -216,6 +221,7 @@ class List extends PageableMixin(SelectionMixin(LitElement)) {
|
|
|
216
221
|
// check if list items are expandable on first render so we adjust sibling spacing appropriately
|
|
217
222
|
this._handleListItemNestedChange();
|
|
218
223
|
this.addEventListener('d2l-list-item-selected', e => {
|
|
224
|
+
this._updateItemShowSelection();
|
|
219
225
|
|
|
220
226
|
// batch the changes from select-all and nested lists
|
|
221
227
|
if (this._listItemChanges.length === 0) {
|
|
@@ -269,6 +275,9 @@ class List extends PageableMixin(SelectionMixin(LitElement)) {
|
|
|
269
275
|
if (changedProperties.has('layout') && changedProperties.get('layout') !== undefined && this.layout) {
|
|
270
276
|
this._updateItemLayouts();
|
|
271
277
|
}
|
|
278
|
+
if (changedProperties.has('selectionWhenInteracted')) {
|
|
279
|
+
this._updateItemShowSelection();
|
|
280
|
+
}
|
|
272
281
|
if (changedProperties.has('dragHandleShowAlways')) {
|
|
273
282
|
this._updateItemDragHandleShowAlways();
|
|
274
283
|
}
|
|
@@ -508,6 +517,7 @@ class List extends PageableMixin(SelectionMixin(LitElement)) {
|
|
|
508
517
|
});
|
|
509
518
|
|
|
510
519
|
this._updateItemLayouts(items);
|
|
520
|
+
this._updateItemShowSelection(items);
|
|
511
521
|
this._updateItemDragHandleShowAlways(items);
|
|
512
522
|
|
|
513
523
|
/** @ignore */
|
|
@@ -540,6 +550,15 @@ class List extends PageableMixin(SelectionMixin(LitElement)) {
|
|
|
540
550
|
if (!items) items = this.getItems();
|
|
541
551
|
items.forEach(item => item.layout = (this.layout === listLayouts.tiles ? 'tile' : 'normal'));
|
|
542
552
|
}
|
|
553
|
+
_updateItemShowSelection(items) {
|
|
554
|
+
if (!items) items = this.getItems();
|
|
555
|
+
const state = this.getSelectionInfo().state;
|
|
556
|
+
items.forEach(item => {
|
|
557
|
+
item._selectionWhenInteracted = this.selectionWhenInteracted;
|
|
558
|
+
item._forceShowSelection = this.selectionWhenInteracted && (state === SelectionInfo.states.some || state === SelectionInfo.states.all);
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
|
|
543
562
|
}
|
|
544
563
|
|
|
545
564
|
customElements.define('d2l-list', List);
|
package/custom-elements.json
CHANGED
|
@@ -10619,6 +10619,11 @@
|
|
|
10619
10619
|
"type": "'all'|'between'|'none'",
|
|
10620
10620
|
"default": "\"\\\"all\\\"\""
|
|
10621
10621
|
},
|
|
10622
|
+
{
|
|
10623
|
+
"name": "selection-when-interacted",
|
|
10624
|
+
"description": "Show selection only on hover, focus or if at least one item is selected. Exclusive for the tile layout",
|
|
10625
|
+
"type": "boolean"
|
|
10626
|
+
},
|
|
10622
10627
|
{
|
|
10623
10628
|
"name": "add-button",
|
|
10624
10629
|
"description": "When true, show the inline add button after each list item.",
|
|
@@ -10699,6 +10704,12 @@
|
|
|
10699
10704
|
"type": "'all'|'between'|'none'",
|
|
10700
10705
|
"default": "\"\\\"all\\\"\""
|
|
10701
10706
|
},
|
|
10707
|
+
{
|
|
10708
|
+
"name": "selectionWhenInteracted",
|
|
10709
|
+
"attribute": "selection-when-interacted",
|
|
10710
|
+
"description": "Show selection only on hover, focus or if at least one item is selected. Exclusive for the tile layout",
|
|
10711
|
+
"type": "boolean"
|
|
10712
|
+
},
|
|
10702
10713
|
{
|
|
10703
10714
|
"name": "addButton",
|
|
10704
10715
|
"attribute": "add-button",
|
package/lang/fr-fr.js
CHANGED
|
@@ -174,7 +174,6 @@ export default {
|
|
|
174
174
|
"components.selection.select-all": "Tout sélectionner",
|
|
175
175
|
"components.selection.select-all-items":
|
|
176
176
|
`{count, plural,
|
|
177
|
-
=1 {Sélectionner 1 élément}
|
|
178
177
|
one {Sélectionner {countFormatted} élément}
|
|
179
178
|
other {Sélectionner {countFormatted} éléments}
|
|
180
179
|
}`,
|
package/lang/vi.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"components.alert.close": "Đóng Cảnh Báo",
|
|
3
|
-
"components.breadcrumbs.breadcrumb": "
|
|
3
|
+
"components.breadcrumbs.breadcrumb": "Đường dẫn",
|
|
4
4
|
"components.button-add.addItem": "Thêm mục",
|
|
5
5
|
"components.button-copy.copied": "Đã sao chép!",
|
|
6
|
-
"components.button-copy.error": "Sao chép không thành công. Hãy thử lại hoặc thử sao chép thủ công.",
|
|
6
|
+
"components.button-copy.error": "Sao chép không thành công. Hãy thử lại, hoặc thử sao chép thủ công.",
|
|
7
7
|
"components.button-split.otherOptions": "Các lựa chọn khác",
|
|
8
8
|
"components.calendar.hasEvents": "Có các sự kiện.",
|
|
9
9
|
"components.calendar.notSelected": "Không được chọn.",
|
|
10
10
|
"components.calendar.selected": "Được chọn.",
|
|
11
11
|
"components.calendar.show": "Hiển thị {month}",
|
|
12
12
|
"components.count-badge.plus": "{number}+",
|
|
13
|
-
"components.dialog.close": "Đóng hộp thoại",
|
|
14
|
-
"components.dialog.critical": "
|
|
13
|
+
"components.dialog.close": "Đóng hộp thoại này",
|
|
14
|
+
"components.dialog.critical": "Rất quan trọng!",
|
|
15
15
|
"components.dropdown.close": "Đóng",
|
|
16
|
-
"components.filter.activeFilters": "Các bộ lọc
|
|
17
|
-
"components.filter.additionalContentTooltip": "Sử dụng <b>các phím mũi tên trái/phải</b> để di chuyển
|
|
16
|
+
"components.filter.activeFilters": "Các bộ lọc Hoạt động:",
|
|
17
|
+
"components.filter.additionalContentTooltip": "Sử dụng <b>các phím mũi tên trái/phải</b> để di chuyển trọng tâm bên trong mục danh sách này",
|
|
18
18
|
"components.filter.clear": "Xóa",
|
|
19
19
|
"components.filter.clearAll": "Xóa tất cả",
|
|
20
20
|
"components.filter.clearAllAnnounce": "Xóa tất cả các bộ lọc",
|
|
@@ -30,17 +30,16 @@ export default {
|
|
|
30
30
|
}`,
|
|
31
31
|
"components.filter.filters": "Bộ lọc",
|
|
32
32
|
"components.filter.loading": "Đang tải các bộ lọc",
|
|
33
|
-
"components.filter.noFilters": "Không có bộ lọc nào khả dụng",
|
|
33
|
+
"components.filter.noFilters": "Không có bộ lọc nào tính khả dụng",
|
|
34
34
|
"components.filter.searchResults":
|
|
35
35
|
`{number, plural,
|
|
36
|
-
|
|
37
|
-
other {{number} kết quả tìm kiếm}
|
|
36
|
+
other {{number} Không có kết quả tìm kiếm nào}
|
|
38
37
|
}`,
|
|
39
38
|
"components.filter.selectedFirstListLabel": "{headerText}. Các bộ lọc được chọn xuất hiện đầu tiên.",
|
|
40
39
|
"components.filter.singleDimensionDescription": "Lọc theo: {filterName}",
|
|
41
40
|
"components.filter-dimension-set-date-text-value.textDays":
|
|
42
41
|
`{num, plural,
|
|
43
|
-
=0 {
|
|
42
|
+
=0 {Hôm nay}
|
|
44
43
|
other {{num} ngày trước}
|
|
45
44
|
}`,
|
|
46
45
|
"components.filter-dimension-set-date-text-value.textHours":
|
|
@@ -48,12 +47,12 @@ export default {
|
|
|
48
47
|
=1 {Giờ trước}
|
|
49
48
|
other {{num} giờ trước}
|
|
50
49
|
}`,
|
|
51
|
-
"components.filter-dimension-set-date-text-value.textMonths": "{num} tháng
|
|
50
|
+
"components.filter-dimension-set-date-text-value.textMonths": "{num} tháng qua",
|
|
52
51
|
"components.filter-dimension-set-date-time-range-value.label": "{text}, mở rộng để chọn ngày",
|
|
53
52
|
"components.filter-dimension-set-date-time-range-value.text": "Phạm vi ngày tùy chỉnh",
|
|
54
|
-
"components.filter-dimension-set-date-time-range-value.valueTextRange": "{startValue}
|
|
55
|
-
"components.filter-dimension-set-date-time-range-value.valueTextRangeEndOnly": "Trước {endValue}",
|
|
56
|
-
"components.filter-dimension-set-date-time-range-value.valueTextRangeStartOnly": "Sau {startValue}",
|
|
53
|
+
"components.filter-dimension-set-date-time-range-value.valueTextRange": "{startValue} tới {endValue}",
|
|
54
|
+
"components.filter-dimension-set-date-time-range-value.valueTextRangeEndOnly": "Trước khi {endValue}",
|
|
55
|
+
"components.filter-dimension-set-date-time-range-value.valueTextRangeStartOnly": "Sau khi {startValue}",
|
|
57
56
|
"components.form-element.defaultError": "{label} không hợp lệ",
|
|
58
57
|
"components.form-element.defaultFieldLabel": "Trường",
|
|
59
58
|
"components.form-element.input.email.typeMismatch": "Email không hợp lệ",
|
|
@@ -85,7 +84,7 @@ export default {
|
|
|
85
84
|
`{count, plural,
|
|
86
85
|
other {Có {count} lỗi được tìm thấy trong thông tin bạn đã gửi}
|
|
87
86
|
}`,
|
|
88
|
-
"components.form-error-summary.text": "Chuyển đổi chi tiết lỗi",
|
|
87
|
+
"components.form-error-summary.text": "Chuyển đổi các chi tiết lỗi",
|
|
89
88
|
"components.input-color.backgroundColor": "Màu nền",
|
|
90
89
|
"components.input-color.foregroundColor": "Màu tiền cảnh",
|
|
91
90
|
"components.input-color.none": "Không",
|
|
@@ -94,14 +93,14 @@ export default {
|
|
|
94
93
|
"components.input-date.errorMinDateOnly": "Ngày phải nằm trong hoặc sau {minDate}",
|
|
95
94
|
"components.input-date.errorOutsideRange": "Ngày phải nằm trong khoảng giữa {minDate} và {maxDate}",
|
|
96
95
|
"components.input-date.now": "Bây giờ",
|
|
97
|
-
"components.input-date.openInstructions": "Sử dụng định dạng ngày {format}. Nhấn phím mũi tên xuống hoặc
|
|
96
|
+
"components.input-date.openInstructions": "Sử dụng định dạng ngày {format}. Nhấn phím mũi tên xuống hoặc nhấn Enter để truy cập lịch nhỏ.",
|
|
98
97
|
"components.input-date.revert": "{label} được trả về giá trị trước đó.",
|
|
99
|
-
"components.input-date.today": "
|
|
98
|
+
"components.input-date.today": "Hôm nay",
|
|
100
99
|
"components.input-date.useDateFormat": "Sử dụng định dạng ngày {format}.",
|
|
101
100
|
"components.input-date-range.endDate": "Ngày Kết thúc",
|
|
102
101
|
"components.input-date-range.errorBadInput": "{startLabel} phải nằm trước {endLabel}",
|
|
103
|
-
"components.input-date-range.interactive-label": "
|
|
104
|
-
"components.input-date-range.startDate": "Ngày
|
|
102
|
+
"components.input-date-range.interactive-label": "Trường nhập phạm vi ngày",
|
|
103
|
+
"components.input-date-range.startDate": "Ngày Bắt đầu",
|
|
105
104
|
"components.input-date-time.date": "Ngày tháng",
|
|
106
105
|
"components.input-date-time.errorMaxDateOnly": "Ngày phải là ngày trước hoặc vào {maxDate}",
|
|
107
106
|
"components.input-date-time.errorMinDateOnly": "Ngày phải nằm trong hoặc sau {minDate}",
|
|
@@ -110,7 +109,7 @@ export default {
|
|
|
110
109
|
"components.input-date-time-range.endDate": "Ngày Kết thúc",
|
|
111
110
|
"components.input-date-time-range.errorBadInput": "{startLabel} phải nằm trước {endLabel}",
|
|
112
111
|
"components.input-date-time-range.interactive-label": "Nhập phạm vi ngày và thời gian",
|
|
113
|
-
"components.input-date-time-range.startDate": "Ngày
|
|
112
|
+
"components.input-date-time-range.startDate": "Ngày Bắt đầu",
|
|
114
113
|
"components.input-date-time-range-to.to": "đến",
|
|
115
114
|
"components.input-number.hintDecimalDuplicate": "Đã có một dấu thập phân trong số này",
|
|
116
115
|
"components.input-number.hintDecimalIncorrectComma": "Để thêm một dấu thập phân, hãy sử dụng ký tự dấu phẩy “,”",
|
|
@@ -120,31 +119,31 @@ export default {
|
|
|
120
119
|
"components.input-search.defaultPlaceholder": "Tìm kiếm...",
|
|
121
120
|
"components.input-search.search": "Tìm kiếm",
|
|
122
121
|
"components.input-time-range.endTime": "Thời gian Kết thúc",
|
|
123
|
-
"components.input-time-range.errorBadInput": "{startLabel} phải
|
|
124
|
-
"components.input-time-range.startTime": "Thời gian
|
|
122
|
+
"components.input-time-range.errorBadInput": "{startLabel} phải trước {endLabel}",
|
|
123
|
+
"components.input-time-range.startTime": "Thời gian Bắt đầu",
|
|
125
124
|
"components.interactive.instructions": "Nhấn phím Enter để tương tác, Nhấn Escape để thoát",
|
|
126
|
-
"components.link.open-in-new-window": "Mở trong một cửa sổ mới
|
|
127
|
-
"components.list.keyboard": "Sử dụng <b>
|
|
128
|
-
"components.list-controls.label": "Các hành động cho danh sách
|
|
125
|
+
"components.link.open-in-new-window": "Mở trong một cửa sổ mới.",
|
|
126
|
+
"components.list.keyboard": "Sử dụng <b>phím mũi tên</b> để di chuyển trọng tâm bên trong danh sách này hoặc <b>page up/down</b> để di chuyển lên hoặc xuống 5",
|
|
127
|
+
"components.list-controls.label": "Các hành động cho danh sách",
|
|
129
128
|
"components.list-item.addItem": "Thêm mục",
|
|
130
|
-
"components.list-item-drag-handle.default": "Sắp xếp lại hành động
|
|
129
|
+
"components.list-item-drag-handle.default": "Sắp xếp lại mục hành động cho {name}",
|
|
131
130
|
"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
131
|
"components.list-item-drag-handle-tooltip.enter-desc": "Bật chế độ sắp xếp lại bằng bàn phím.",
|
|
133
132
|
"components.list-item-drag-handle-tooltip.enter-key": "Phím Enter.",
|
|
134
133
|
"components.list-item-drag-handle-tooltip.left-right-desc": "Thay đổi cấp độ lồng ghép.",
|
|
135
134
|
"components.list-item-drag-handle-tooltip.left-right-key": "Trái/Phải",
|
|
136
|
-
"components.list-item-drag-handle-tooltip.title": "Các điều khiển
|
|
135
|
+
"components.list-item-drag-handle-tooltip.title": "Các điều khiển Bàn phím để Sắp xếp lại:",
|
|
137
136
|
"components.list-item-drag-handle-tooltip.up-down-desc": "Di chuyển mục lên hoặc xuống trong danh sách.",
|
|
138
137
|
"components.list-item-drag-handle-tooltip.up-down-key": "Lên/Xuống",
|
|
139
|
-
"components.menu-item-return.return": "Quay lại menu trước
|
|
140
|
-
"components.menu-item-return.returnCurrentlyShowing": "Quay lại menu trước
|
|
138
|
+
"components.menu-item-return.return": "Quay lại tới menu trước.",
|
|
139
|
+
"components.menu-item-return.returnCurrentlyShowing": "Quay lại tới menu trước. Bạn đang xem {menuTitle}.",
|
|
141
140
|
"components.meter-mixin.commaSeperatedAria": "{term1}, {term2}",
|
|
142
141
|
"components.meter-mixin.fraction": "{x}⁄{y}",
|
|
143
142
|
"components.meter-mixin.fractionAria": "{x} trên tổng số {y}",
|
|
144
143
|
"components.meter-mixin.progressIndicator": "Chỉ báo tiến trình",
|
|
145
|
-
"components.more-less.less": "ít",
|
|
144
|
+
"components.more-less.less": "ít hơn",
|
|
146
145
|
"components.more-less.more": "thêm",
|
|
147
|
-
"components.object-property-list.item-placeholder-text": "Mục
|
|
146
|
+
"components.object-property-list.item-placeholder-text": "Mục Giữ chỗ",
|
|
148
147
|
"components.overflow-group.moreActions": "Thêm các Tác vụ",
|
|
149
148
|
"components.pageable.info":
|
|
150
149
|
`{count, plural,
|
|
@@ -167,7 +166,6 @@ export default {
|
|
|
167
166
|
"components.selection.select-all": "Chọn Tất cả",
|
|
168
167
|
"components.selection.select-all-items":
|
|
169
168
|
`{count, plural,
|
|
170
|
-
=1 {Chọn mục}
|
|
171
169
|
other {Chọn tất cả {countFormatted} mục}
|
|
172
170
|
}`,
|
|
173
171
|
"components.selection.selected": "{count} mục được chọn",
|
|
@@ -175,7 +173,7 @@ export default {
|
|
|
175
173
|
"components.selection-controls.label": "Các thao tác để chọn",
|
|
176
174
|
"components.sort.label": "Sắp xếp",
|
|
177
175
|
"components.sort.text": "Sắp xếp: {selectedItemText}",
|
|
178
|
-
"components.switch.conditions": "
|
|
176
|
+
"components.switch.conditions": "Các điều kiện phải được đáp ứng",
|
|
179
177
|
"components.switch.hidden": "Bị ẩn",
|
|
180
178
|
"components.switch.visible": "Nhìn thấy được",
|
|
181
179
|
"components.switch.visibleWithPeriod": "Hiển thị.",
|
|
@@ -204,11 +202,11 @@ export default {
|
|
|
204
202
|
"components.table-controls.label": "Các tác vụ cho bảng",
|
|
205
203
|
"components.tabs.next": "Cuộn tới",
|
|
206
204
|
"components.tabs.previous": "Cuộn ngược",
|
|
207
|
-
"components.tag-list.clear": "
|
|
205
|
+
"components.tag-list.clear": "Nhấp, nhấn phím xoá lùi hoặc nhấn phím xoá để xoá mục {value}",
|
|
208
206
|
"components.tag-list.clear-all": "Xóa tất cả",
|
|
209
|
-
"components.tag-list.cleared-all": "
|
|
210
|
-
"components.tag-list.cleared-item": "
|
|
211
|
-
"components.tag-list.interactive-label": "Danh sách
|
|
207
|
+
"components.tag-list.cleared-all": "Đã xóa tất cả các mục danh sách thẻ",
|
|
208
|
+
"components.tag-list.cleared-item": "Đã xóa mục danh sách thẻ {value}",
|
|
209
|
+
"components.tag-list.interactive-label": "Danh sách Thẻ, {count} mục",
|
|
212
210
|
"components.tag-list.num-hidden": "+ {count} mục nữa",
|
|
213
211
|
"components.tag-list.role-description":
|
|
214
212
|
`{count, plural,
|
|
@@ -218,11 +216,11 @@ export default {
|
|
|
218
216
|
"components.tag-list.show-less": "Ẩn bớt",
|
|
219
217
|
"components.tag-list.show-more-description": "Chọn để hiển thị các mục danh sách thẻ ẩn",
|
|
220
218
|
"components.tag-list-item.role-description": "Thẻ",
|
|
221
|
-
"components.tag-list-item.tooltip-arrow-keys": "
|
|
219
|
+
"components.tag-list-item.tooltip-arrow-keys": "Phím mũi tên",
|
|
222
220
|
"components.tag-list-item.tooltip-arrow-keys-desc": "Di chuyển giữa các thẻ",
|
|
223
221
|
"components.tag-list-item.tooltip-delete-key": "Phím lùi/Xóa",
|
|
224
222
|
"components.tag-list-item.tooltip-delete-key-desc": "Xóa thẻ được chọn",
|
|
225
|
-
"components.tag-list-item.tooltip-title": "
|
|
223
|
+
"components.tag-list-item.tooltip-title": "Điều khiển Bàn phím",
|
|
226
224
|
"components.view-switcher.role-description":
|
|
227
225
|
`{count, plural,
|
|
228
226
|
=0 {Xem Trình chuyển đổi với 0 mục}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.208.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",
|