@brightspace-ui/core 3.74.1 → 3.75.0
Sign up to get free protection for your applications and to get access to all the features.
- package/components/popover/demo/popover.html +242 -17
- package/components/popover/popover-mixin.js +556 -50
- package/components/selection/demo/selection.html +2 -2
- package/components/selection/selection-action-dropdown.js +5 -4
- package/components/selection/selection-action-mixin.js +26 -3
- package/components/selection/selection-action.js +4 -3
- package/custom-elements.json +125 -6
- package/helpers/mathjax.js +4 -1
- package/lang/ar.js +2 -1
- package/lang/cy.js +2 -1
- package/lang/da.js +2 -1
- package/lang/de.js +2 -1
- package/lang/en-gb.js +2 -1
- package/lang/en.js +2 -1
- package/lang/es-es.js +2 -1
- package/lang/es.js +2 -1
- package/lang/fr-fr.js +2 -1
- package/lang/fr.js +2 -1
- package/lang/hi.js +2 -1
- package/lang/ja.js +2 -1
- package/lang/ko.js +2 -1
- package/lang/nl.js +2 -1
- package/lang/pt.js +2 -1
- package/lang/sv.js +2 -1
- package/lang/tr.js +2 -1
- package/lang/zh-cn.js +2 -1
- package/lang/zh-tw.js +2 -1
- package/package.json +1 -1
@@ -54,7 +54,7 @@
|
|
54
54
|
<template>
|
55
55
|
<d2l-demo-selection>
|
56
56
|
<d2l-selection-controls>
|
57
|
-
<d2l-selection-action text="Bookmark" icon="tier1:bookmark-hollow" requires-selection></d2l-selection-action>
|
57
|
+
<d2l-selection-action text="Bookmark" icon="tier1:bookmark-hollow" max-selection-count="2" requires-selection></d2l-selection-action>
|
58
58
|
<d2l-selection-action text="Settings" icon="tier1:gear"></d2l-selection-action>
|
59
59
|
<d2l-selection-action-dropdown text="Actions 1" requires-selection>
|
60
60
|
<d2l-dropdown-menu>
|
@@ -100,7 +100,7 @@
|
|
100
100
|
<template>
|
101
101
|
<d2l-demo-selection-pageable item-count="5">
|
102
102
|
<d2l-selection-controls select-all-pages-allowed>
|
103
|
-
<d2l-selection-action text="Bookmark" icon="tier1:bookmark-hollow" requires-selection></d2l-selection-action>
|
103
|
+
<d2l-selection-action text="Bookmark" icon="tier1:bookmark-hollow" max-selection-count="4" requires-selection></d2l-selection-action>
|
104
104
|
<d2l-selection-action text="Settings" icon="tier1:gear"></d2l-selection-action>
|
105
105
|
</d2l-selection-controls>
|
106
106
|
|
@@ -4,7 +4,6 @@ import { DropdownOpenerMixin } from '../dropdown/dropdown-opener-mixin.js';
|
|
4
4
|
import { dropdownOpenerStyles } from '../dropdown/dropdown-opener-styles.js';
|
5
5
|
import { FocusMixin } from '../../mixins/focus/focus-mixin.js';
|
6
6
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
7
|
-
import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
|
8
7
|
import { SelectionActionMixin } from './selection-action-mixin.js';
|
9
8
|
|
10
9
|
/**
|
@@ -12,7 +11,7 @@ import { SelectionActionMixin } from './selection-action-mixin.js';
|
|
12
11
|
* @slot - Dropdown content (e.g., "d2l-dropdown-content", "d2l-dropdown-menu" or "d2l-dropdown-tabs")
|
13
12
|
* @fires d2l-selection-observer-subscribe - Internal event
|
14
13
|
*/
|
15
|
-
class ActionDropdown extends FocusMixin(
|
14
|
+
class ActionDropdown extends FocusMixin(SelectionActionMixin(DropdownOpenerMixin(LitElement))) {
|
16
15
|
|
17
16
|
static get properties() {
|
18
17
|
return {
|
@@ -33,11 +32,13 @@ class ActionDropdown extends FocusMixin(LocalizeCoreElement(SelectionActionMixin
|
|
33
32
|
}
|
34
33
|
|
35
34
|
render() {
|
35
|
+
const disabledTooltip = this._disabledTooltip || (this.disabled && this.disabledTooltip ? this.disabledTooltip : undefined);
|
36
|
+
|
36
37
|
return html`
|
37
38
|
<d2l-button-subtle
|
38
39
|
class="vdiff-target"
|
39
|
-
?disabled
|
40
|
-
disabled-tooltip="${ifDefined(
|
40
|
+
?disabled="${this.disabled}"
|
41
|
+
disabled-tooltip="${ifDefined(disabledTooltip)}"
|
41
42
|
icon="tier1:chevron-down"
|
42
43
|
icon-right
|
43
44
|
text=${this.text}></d2l-button-subtle>
|
@@ -1,20 +1,29 @@
|
|
1
|
+
import { formatNumber } from '@brightspace-ui/intl/lib/number.js';
|
2
|
+
import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
|
1
3
|
import { SelectionInfo } from './selection-mixin.js';
|
2
4
|
import { SelectionObserverMixin } from './selection-observer-mixin.js';
|
3
5
|
|
4
|
-
export const SelectionActionMixin = superclass => class extends SelectionObserverMixin(superclass) {
|
6
|
+
export const SelectionActionMixin = superclass => class extends LocalizeCoreElement(SelectionObserverMixin(superclass)) {
|
5
7
|
|
6
8
|
static get properties() {
|
7
9
|
return {
|
10
|
+
/**
|
11
|
+
* Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection
|
12
|
+
* @type {number}
|
13
|
+
*/
|
14
|
+
maxSelectionCount: { type: Number, attribute: 'max-selection-count' },
|
8
15
|
/**
|
9
16
|
* Whether the action requires one or more selected items
|
10
17
|
* @type {boolean}
|
11
18
|
*/
|
12
|
-
requiresSelection: { type: Boolean, attribute: 'requires-selection', reflect: true }
|
19
|
+
requiresSelection: { type: Boolean, attribute: 'requires-selection', reflect: true },
|
20
|
+
_disabledTooltip: { state: true }
|
13
21
|
};
|
14
22
|
}
|
15
23
|
|
16
24
|
constructor() {
|
17
25
|
super();
|
26
|
+
this.maxSelectionCount = Infinity;
|
18
27
|
this.requiresSelection = false;
|
19
28
|
}
|
20
29
|
|
@@ -24,7 +33,21 @@ export const SelectionActionMixin = superclass => class extends SelectionObserve
|
|
24
33
|
|
25
34
|
set selectionInfo(value) {
|
26
35
|
super.selectionInfo = value;
|
27
|
-
|
36
|
+
|
37
|
+
// if these rules are not set, we let the consumer manage the disabled property if they want
|
38
|
+
if (!this.requiresSelection && this.maxSelectionCount === Infinity) return;
|
39
|
+
|
40
|
+
if (this.selectionInfo.keys.length > this.maxSelectionCount || (this.selectionInfo.state === SelectionInfo.states.allPages && this._provider?.itemCount > this.maxSelectionCount)) {
|
41
|
+
this.disabled = true;
|
42
|
+
this._disabledTooltip = this.localize('components.selection.action-max-hint', { count: this.maxSelectionCount, countFormatted: formatNumber(this.maxSelectionCount) });
|
43
|
+
} else if (this.requiresSelection && this.selectionInfo.state === SelectionInfo.states.none) {
|
44
|
+
this.disabled = true;
|
45
|
+
this._disabledTooltip = this.localize('components.selection.action-required-hint');
|
46
|
+
} else {
|
47
|
+
this.disabled = false;
|
48
|
+
this._disabledTooltip = undefined;
|
49
|
+
}
|
50
|
+
|
28
51
|
}
|
29
52
|
|
30
53
|
};
|
@@ -3,7 +3,6 @@ import { css, html, LitElement } from 'lit';
|
|
3
3
|
import { ButtonMixin } from '../button/button-mixin.js';
|
4
4
|
import { FocusMixin } from '../../mixins/focus/focus-mixin.js';
|
5
5
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
6
|
-
import { LocalizeCoreElement } from '../../helpers/localize-core-element.js';
|
7
6
|
import { SelectionActionMixin } from './selection-action-mixin.js';
|
8
7
|
import { SelectionInfo } from './selection-mixin.js';
|
9
8
|
|
@@ -12,7 +11,7 @@ import { SelectionInfo } from './selection-mixin.js';
|
|
12
11
|
* @fires d2l-selection-action-click - Dispatched when the user clicks the action button. The `SelectionInfo` is provided as the event `detail`. If `requires-selection` was specified then the event will only be dispatched if items are selected.
|
13
12
|
* @fires d2l-selection-observer-subscribe - Internal event
|
14
13
|
*/
|
15
|
-
class Action extends FocusMixin(
|
14
|
+
class Action extends FocusMixin(SelectionActionMixin(ButtonMixin(LitElement))) {
|
16
15
|
|
17
16
|
static get properties() {
|
18
17
|
return {
|
@@ -55,12 +54,14 @@ class Action extends FocusMixin(LocalizeCoreElement(SelectionActionMixin(ButtonM
|
|
55
54
|
}
|
56
55
|
|
57
56
|
render() {
|
57
|
+
const disabledTooltip = this._disabledTooltip || (this.disabled && this.disabledTooltip ? this.disabledTooltip : undefined);
|
58
|
+
|
58
59
|
return html`
|
59
60
|
<d2l-button-subtle
|
60
61
|
class="vdiff-target"
|
61
62
|
@click="${this._handleActionClick}"
|
62
63
|
?disabled="${this.disabled}"
|
63
|
-
disabled-tooltip="${ifDefined(
|
64
|
+
disabled-tooltip="${ifDefined(disabledTooltip)}"
|
64
65
|
icon="${ifDefined(this.icon)}"
|
65
66
|
text="${this.text}">
|
66
67
|
</d2l-button-subtle>
|
package/custom-elements.json
CHANGED
@@ -10599,6 +10599,36 @@
|
|
10599
10599
|
"name": "d2l-test-popover",
|
10600
10600
|
"path": "./components/popover/test/popover.js",
|
10601
10601
|
"attributes": [
|
10602
|
+
{
|
10603
|
+
"name": "max-height",
|
10604
|
+
"description": "Max-height. Note that the default behaviour is to be as tall as necessary within the viewport, so this property is usually not needed.",
|
10605
|
+
"type": "number"
|
10606
|
+
},
|
10607
|
+
{
|
10608
|
+
"name": "max-width",
|
10609
|
+
"description": "Max-width (undefined). Specify a number that would be the px value.",
|
10610
|
+
"type": "number"
|
10611
|
+
},
|
10612
|
+
{
|
10613
|
+
"name": "min-height",
|
10614
|
+
"description": "Min-height used when `no-auto-fit` is true. Specify a number that would be the px value. Note that the default behaviour is to be as tall as necessary within the viewport, so this property is usually not needed.",
|
10615
|
+
"type": "number"
|
10616
|
+
},
|
10617
|
+
{
|
10618
|
+
"name": "min-width",
|
10619
|
+
"description": "Min-width (undefined). Specify a number that would be the px value.",
|
10620
|
+
"type": "number"
|
10621
|
+
},
|
10622
|
+
{
|
10623
|
+
"name": "position-location",
|
10624
|
+
"description": "Position the popover before or after the opener. Default is \"block-end\" (after).",
|
10625
|
+
"type": "'block-start'|'block-end'"
|
10626
|
+
},
|
10627
|
+
{
|
10628
|
+
"name": "position-span",
|
10629
|
+
"description": "Position the popover to span from the opener edge to this grid line. Default is \"all\" (centered).",
|
10630
|
+
"type": "'start'|'end'|'all'"
|
10631
|
+
},
|
10602
10632
|
{
|
10603
10633
|
"name": "no-auto-close",
|
10604
10634
|
"description": "Whether to disable auto-close/light-dismiss",
|
@@ -10611,6 +10641,12 @@
|
|
10611
10641
|
"type": "boolean",
|
10612
10642
|
"default": "false"
|
10613
10643
|
},
|
10644
|
+
{
|
10645
|
+
"name": "no-pointer",
|
10646
|
+
"description": "Render without a pointer",
|
10647
|
+
"type": "boolean",
|
10648
|
+
"default": "false"
|
10649
|
+
},
|
10614
10650
|
{
|
10615
10651
|
"name": "opened",
|
10616
10652
|
"description": "Whether the popover is open or not",
|
@@ -10625,6 +10661,42 @@
|
|
10625
10661
|
}
|
10626
10662
|
],
|
10627
10663
|
"properties": [
|
10664
|
+
{
|
10665
|
+
"name": "maxHeight",
|
10666
|
+
"attribute": "max-height",
|
10667
|
+
"description": "Max-height. Note that the default behaviour is to be as tall as necessary within the viewport, so this property is usually not needed.",
|
10668
|
+
"type": "number"
|
10669
|
+
},
|
10670
|
+
{
|
10671
|
+
"name": "maxWidth",
|
10672
|
+
"attribute": "max-width",
|
10673
|
+
"description": "Max-width (undefined). Specify a number that would be the px value.",
|
10674
|
+
"type": "number"
|
10675
|
+
},
|
10676
|
+
{
|
10677
|
+
"name": "minHeight",
|
10678
|
+
"attribute": "min-height",
|
10679
|
+
"description": "Min-height used when `no-auto-fit` is true. Specify a number that would be the px value. Note that the default behaviour is to be as tall as necessary within the viewport, so this property is usually not needed.",
|
10680
|
+
"type": "number"
|
10681
|
+
},
|
10682
|
+
{
|
10683
|
+
"name": "minWidth",
|
10684
|
+
"attribute": "min-width",
|
10685
|
+
"description": "Min-width (undefined). Specify a number that would be the px value.",
|
10686
|
+
"type": "number"
|
10687
|
+
},
|
10688
|
+
{
|
10689
|
+
"name": "positionLocation",
|
10690
|
+
"attribute": "position-location",
|
10691
|
+
"description": "Position the popover before or after the opener. Default is \"block-end\" (after).",
|
10692
|
+
"type": "'block-start'|'block-end'"
|
10693
|
+
},
|
10694
|
+
{
|
10695
|
+
"name": "positionSpan",
|
10696
|
+
"attribute": "position-span",
|
10697
|
+
"description": "Position the popover to span from the opener edge to this grid line. Default is \"all\" (centered).",
|
10698
|
+
"type": "'start'|'end'|'all'"
|
10699
|
+
},
|
10628
10700
|
{
|
10629
10701
|
"name": "noAutoClose",
|
10630
10702
|
"attribute": "no-auto-close",
|
@@ -10639,6 +10711,13 @@
|
|
10639
10711
|
"type": "boolean",
|
10640
10712
|
"default": "false"
|
10641
10713
|
},
|
10714
|
+
{
|
10715
|
+
"name": "noPointer",
|
10716
|
+
"attribute": "no-pointer",
|
10717
|
+
"description": "Render without a pointer",
|
10718
|
+
"type": "boolean",
|
10719
|
+
"default": "false"
|
10720
|
+
},
|
10642
10721
|
{
|
10643
10722
|
"name": "opened",
|
10644
10723
|
"attribute": "opened",
|
@@ -10664,6 +10743,10 @@
|
|
10664
10743
|
{
|
10665
10744
|
"name": "d2l-popover-focus-enter",
|
10666
10745
|
"description": "Dispatched when user focus enters the popover (trap-focus option only)"
|
10746
|
+
},
|
10747
|
+
{
|
10748
|
+
"name": "d2l-popover-position",
|
10749
|
+
"description": "Dispatched when the popover position finishes adjusting"
|
10667
10750
|
}
|
10668
10751
|
]
|
10669
10752
|
},
|
@@ -10845,6 +10928,12 @@
|
|
10845
10928
|
"description": "REQUIRED: Text for the dropdown opener button",
|
10846
10929
|
"type": "string"
|
10847
10930
|
},
|
10931
|
+
{
|
10932
|
+
"name": "max-selection-count",
|
10933
|
+
"description": "Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection",
|
10934
|
+
"type": "number",
|
10935
|
+
"default": "\"Infinity\""
|
10936
|
+
},
|
10848
10937
|
{
|
10849
10938
|
"name": "requires-selection",
|
10850
10939
|
"description": "Whether the action requires one or more selected items",
|
@@ -10882,6 +10971,13 @@
|
|
10882
10971
|
"description": "REQUIRED: Text for the dropdown opener button",
|
10883
10972
|
"type": "string"
|
10884
10973
|
},
|
10974
|
+
{
|
10975
|
+
"name": "maxSelectionCount",
|
10976
|
+
"attribute": "max-selection-count",
|
10977
|
+
"description": "Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection",
|
10978
|
+
"type": "number",
|
10979
|
+
"default": "\"Infinity\""
|
10980
|
+
},
|
10885
10981
|
{
|
10886
10982
|
"name": "requiresSelection",
|
10887
10983
|
"attribute": "requires-selection",
|
@@ -10896,8 +10992,7 @@
|
|
10896
10992
|
"type": "string"
|
10897
10993
|
},
|
10898
10994
|
{
|
10899
|
-
"name": "selectionInfo"
|
10900
|
-
"type": "SelectionInfo"
|
10995
|
+
"name": "selectionInfo"
|
10901
10996
|
},
|
10902
10997
|
{
|
10903
10998
|
"name": "dropdownOpener",
|
@@ -10953,6 +11048,12 @@
|
|
10953
11048
|
"path": "./components/selection/selection-action-menu-item.js",
|
10954
11049
|
"description": "An action menu-item component used within selection controls such as d2l-list and d2l-list-controls.",
|
10955
11050
|
"attributes": [
|
11051
|
+
{
|
11052
|
+
"name": "max-selection-count",
|
11053
|
+
"description": "Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection",
|
11054
|
+
"type": "number",
|
11055
|
+
"default": "\"Infinity\""
|
11056
|
+
},
|
10956
11057
|
{
|
10957
11058
|
"name": "requires-selection",
|
10958
11059
|
"description": "Whether the action requires one or more selected items",
|
@@ -10982,6 +11083,13 @@
|
|
10982
11083
|
}
|
10983
11084
|
],
|
10984
11085
|
"properties": [
|
11086
|
+
{
|
11087
|
+
"name": "maxSelectionCount",
|
11088
|
+
"attribute": "max-selection-count",
|
11089
|
+
"description": "Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection",
|
11090
|
+
"type": "number",
|
11091
|
+
"default": "\"Infinity\""
|
11092
|
+
},
|
10985
11093
|
{
|
10986
11094
|
"name": "requiresSelection",
|
10987
11095
|
"attribute": "requires-selection",
|
@@ -10996,8 +11104,7 @@
|
|
10996
11104
|
"type": "string"
|
10997
11105
|
},
|
10998
11106
|
{
|
10999
|
-
"name": "selectionInfo"
|
11000
|
-
"type": "SelectionInfo"
|
11107
|
+
"name": "selectionInfo"
|
11001
11108
|
},
|
11002
11109
|
{
|
11003
11110
|
"name": "text",
|
@@ -11059,6 +11166,12 @@
|
|
11059
11166
|
"description": "REQUIRED: The text for the action",
|
11060
11167
|
"type": "string"
|
11061
11168
|
},
|
11169
|
+
{
|
11170
|
+
"name": "max-selection-count",
|
11171
|
+
"description": "Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection",
|
11172
|
+
"type": "number",
|
11173
|
+
"default": "\"Infinity\""
|
11174
|
+
},
|
11062
11175
|
{
|
11063
11176
|
"name": "requires-selection",
|
11064
11177
|
"description": "Whether the action requires one or more selected items",
|
@@ -11095,6 +11208,13 @@
|
|
11095
11208
|
"description": "REQUIRED: The text for the action",
|
11096
11209
|
"type": "string"
|
11097
11210
|
},
|
11211
|
+
{
|
11212
|
+
"name": "maxSelectionCount",
|
11213
|
+
"attribute": "max-selection-count",
|
11214
|
+
"description": "Disables bulk actions in the list or table controls once the selection limit is reached, but does not prevent further selection",
|
11215
|
+
"type": "number",
|
11216
|
+
"default": "\"Infinity\""
|
11217
|
+
},
|
11098
11218
|
{
|
11099
11219
|
"name": "requiresSelection",
|
11100
11220
|
"attribute": "requires-selection",
|
@@ -11109,8 +11229,7 @@
|
|
11109
11229
|
"type": "string"
|
11110
11230
|
},
|
11111
11231
|
{
|
11112
|
-
"name": "selectionInfo"
|
11113
|
-
"type": "SelectionInfo"
|
11232
|
+
"name": "selectionInfo"
|
11114
11233
|
},
|
11115
11234
|
{
|
11116
11235
|
"name": "disabledTooltip",
|
package/helpers/mathjax.js
CHANGED
@@ -98,7 +98,10 @@ export function loadMathJax(mathJaxConfig) {
|
|
98
98
|
options: {
|
99
99
|
menuOptions: {
|
100
100
|
settings: { zoom: 'None' }
|
101
|
-
}
|
101
|
+
},
|
102
|
+
skipHtmlTags: [
|
103
|
+
'd2l-html-block' // Prevents MathJax from reaching into the html-block to try to parse what's inside; we leave that to the custom renderer
|
104
|
+
]
|
102
105
|
},
|
103
106
|
loader: {
|
104
107
|
load: ['ui/menu']
|
package/lang/ar.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} مادة واحد} other {{countFormatted} من المواد}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} من أصل {totalCountFormatted} مادة واحدة} other {{countFormatted} من أصل {totalCountFormatted} من المواد}}",
|
113
113
|
"components.pager-load-more.status-loading": "تحميل المزيد من المواد",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "حدد مادة لتنفيذ هذا الإجراء",
|
115
116
|
"components.selection.select-all": "تحديد الكل",
|
116
117
|
"components.selection.select-all-items": "تحديد كل المواد الـ {count}.",
|
117
118
|
"components.selection.selected": "تم تحديد {count}",
|
package/lang/cy.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} eitem} other {{countFormatted} o eitemau}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} o {totalCountFormatted} eitem} other {{countFormatted} o {totalCountFormatted} eitemau}}",
|
113
113
|
"components.pager-load-more.status-loading": "Llwytho rhagor o eitemau",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "Dewiswch eitem i gyflawni'r weithred hon",
|
115
116
|
"components.selection.select-all": "Dewis y Cyfan",
|
116
117
|
"components.selection.select-all-items": "Dewis Pob {count} Eitem",
|
117
118
|
"components.selection.selected": "{count} wedi’u dewis.",
|
package/lang/da.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} element} other {{countFormatted} elementer}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} af {totalCountFormatted} element} other {{countFormatted} af {totalCountFormatted} elementer}}",
|
113
113
|
"components.pager-load-more.status-loading": "Indlæser flere elementer",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "Vælg et element for at udføre denne handling",
|
115
116
|
"components.selection.select-all": "Vælg alle",
|
116
117
|
"components.selection.select-all-items": "Vælg alle {count} elementer",
|
117
118
|
"components.selection.selected": "{count} valgt",
|
package/lang/de.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} Element} other {{countFormatted} Elemente}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} von {totalCountFormatted} Element} other {{countFormatted} von {totalCountFormatted} Elemente}}",
|
113
113
|
"components.pager-load-more.status-loading": "Weitere Elemente werden geladen",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "Wählen Sie ein Element aus, um diese Aktion auszuführen",
|
115
116
|
"components.selection.select-all": "Alle auswählen",
|
116
117
|
"components.selection.select-all-items": "Alle {count} Elemente auswählen",
|
117
118
|
"components.selection.selected": "{count} ausgewählt",
|
package/lang/en-gb.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} item} other {{countFormatted} items}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} of {totalCountFormatted} item} other {{countFormatted} of {totalCountFormatted} items}}",
|
113
113
|
"components.pager-load-more.status-loading": "Loading more items",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "Select an item to perform this action",
|
115
116
|
"components.selection.select-all": "Select All",
|
116
117
|
"components.selection.select-all-items": "Select All {count} Items",
|
117
118
|
"components.selection.selected": "{count} selected",
|
package/lang/en.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} item} other {{countFormatted} items}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} of {totalCountFormatted} item} other {{countFormatted} of {totalCountFormatted} items}}",
|
113
113
|
"components.pager-load-more.status-loading": "Loading more items",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "Select an item to perform this action",
|
115
116
|
"components.selection.select-all": "Select All",
|
116
117
|
"components.selection.select-all-items": "Select All {count} Items",
|
117
118
|
"components.selection.selected": "{count} selected",
|
package/lang/es-es.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} elemento} other {{countFormatted} elementos}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} de {totalCountFormatted} elemento} other {{countFormatted} de {totalCountFormatted} elementos}}",
|
113
113
|
"components.pager-load-more.status-loading": "Cargando más elementos",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "Seleccione un elemento para realizar esta acción",
|
115
116
|
"components.selection.select-all": "Seleccionar todo",
|
116
117
|
"components.selection.select-all-items": "Seleccione los {count} elementos",
|
117
118
|
"components.selection.selected": "{count} seleccionados",
|
package/lang/es.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} elemento} other {{countFormatted} elementos}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} de {totalCountFormatted} elemento} other {{countFormatted} de {totalCountFormatted} elementos}}",
|
113
113
|
"components.pager-load-more.status-loading": "Cargando más elementos",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "Seleccione un elemento para realizar esta acción",
|
115
116
|
"components.selection.select-all": "Seleccionar todo",
|
116
117
|
"components.selection.select-all-items": "Seleccione todos los {count} elementos",
|
117
118
|
"components.selection.selected": "{count} seleccionados",
|
package/lang/fr-fr.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} élément} other {{countFormatted} éléments}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} sur {totalCountFormatted} élément} other {{countFormatted} sur {totalCountFormatted} éléments}}",
|
113
113
|
"components.pager-load-more.status-loading": "Charger plus d’éléments",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "Sélectionnez un élément pour exécuter cette action",
|
115
116
|
"components.selection.select-all": "Tout sélectionner",
|
116
117
|
"components.selection.select-all-items": "Sélectionner tous les {count} éléments",
|
117
118
|
"components.selection.selected": "{count} sélectionnés",
|
package/lang/fr.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} élément} other {{countFormatted} éléments}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} de {totalCountFormatted} élément} other {{countFormatted} de {totalCountFormatted} éléments}}",
|
113
113
|
"components.pager-load-more.status-loading": "Chargement d'autres d'éléments",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "Sélectionner un élément pour exécuter cette action",
|
115
116
|
"components.selection.select-all": "Tout sélectionner",
|
116
117
|
"components.selection.select-all-items": "Sélectionner tous les {count} éléments",
|
117
118
|
"components.selection.selected": "{count} sélectionné(s)",
|
package/lang/hi.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} आइटम} other {{countFormatted} आइटम}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{totalCountFormatted} में से {countFormatted} आइटम} other {{totalCountFormatted} में से {countFormatted} आइटम}}",
|
113
113
|
"components.pager-load-more.status-loading": "और आइटम लोड करना",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "यह कार्रवाई निष्पादित करने के लिए कोई आइटम का चयन करें।",
|
115
116
|
"components.selection.select-all": "सभी का चयन करें",
|
116
117
|
"components.selection.select-all-items": "सभी {count} आइटम चुनें।",
|
117
118
|
"components.selection.selected": "{count} चयनित",
|
package/lang/ja.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, other {{countFormatted} 個の項目}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, other {{countFormatted}/{totalCountFormatted} 個の項目}}",
|
113
113
|
"components.pager-load-more.status-loading": "さらに項目を読み込み中",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "このアクションを実行するための項目を選択します。",
|
115
116
|
"components.selection.select-all": "すべて選択",
|
116
117
|
"components.selection.select-all-items": "{count} 個の項目をすべて選択",
|
117
118
|
"components.selection.selected": "{count} 個を選択済み",
|
package/lang/ko.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, other {해당 항목 수 {countFormatted}개}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, other {{totalCountFormatted}개 항목 중 {countFormatted}개}}",
|
113
113
|
"components.pager-load-more.status-loading": "더 많은 항목 로드",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "이 작업을 수행할 항목을 선택하십시오",
|
115
116
|
"components.selection.select-all": "모두 선택",
|
116
117
|
"components.selection.select-all-items": "{count}개 항목을 모두 선택하십시오.",
|
117
118
|
"components.selection.selected": "{count}개 선택됨",
|
package/lang/nl.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} item} other {{countFormatted} items}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} van {totalCountFormatted} artikel} other {{countFormatted} van {totalCountFormatted} artikelen}}",
|
113
113
|
"components.pager-load-more.status-loading": "Er worden meer items geladen",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "Selecteer een item om deze actie uit te voeren",
|
115
116
|
"components.selection.select-all": "Alles selecteren",
|
116
117
|
"components.selection.select-all-items": "Alle {count} records selecteren",
|
117
118
|
"components.selection.selected": "{count} geselecteerd",
|
package/lang/pt.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} item} other {{countFormatted} itens}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} de {totalCountFormatted} item} other {{countFormatted} de {totalCountFormatted} itens}}",
|
113
113
|
"components.pager-load-more.status-loading": "Carregando mais itens",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "Selecione um item para realizar esta ação",
|
115
116
|
"components.selection.select-all": "Selecionar tudo",
|
116
117
|
"components.selection.select-all-items": "Selecione todos os {count} itens",
|
117
118
|
"components.selection.selected": "{count} selecionados",
|
package/lang/sv.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} objekt} other {{countFormatted} objekt}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} av {totalCountFormatted} objekt} other {{countFormatted} av {totalCountFormatted} objekt}}",
|
113
113
|
"components.pager-load-more.status-loading": "Läser in fler objekt",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "Välj ett objekt för att utföra åtgärden",
|
115
116
|
"components.selection.select-all": "Välj alla",
|
116
117
|
"components.selection.select-all-items": "Välj alla {count} objekt",
|
117
118
|
"components.selection.selected": "{count} valda",
|
package/lang/tr.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, one {{countFormatted} öğe} other {{countFormatted} öğe}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, one {{countFormatted} / {totalCountFormatted} öğe} other {{countFormatted} / {totalCountFormatted} öğe}}",
|
113
113
|
"components.pager-load-more.status-loading": "Daha fazla öğe yükleniyor",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, one {Disabled when more than {countFormatted} item is selected} other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "Bu eylemi gerçekleştirebilmek için bir öğe seçin",
|
115
116
|
"components.selection.select-all": "Tümünü Seç",
|
116
117
|
"components.selection.select-all-items": "{count} Öğenin Tamamını Seç",
|
117
118
|
"components.selection.selected": "{count} öğe seçildi",
|
package/lang/zh-cn.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, other {{countFormatted} 项}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, other {{countFormatted}/{totalCountFormatted} 项}}",
|
113
113
|
"components.pager-load-more.status-loading": "加载更多项目",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "选择一个项目后才能执行此操作。",
|
115
116
|
"components.selection.select-all": "全选",
|
116
117
|
"components.selection.select-all-items": "选择全部 {count} 个项目",
|
117
118
|
"components.selection.selected": "已选 {count}",
|
package/lang/zh-tw.js
CHANGED
@@ -111,7 +111,8 @@ export default {
|
|
111
111
|
"components.pageable.info": "{count, plural, other {{countFormatted} 個項目}}",
|
112
112
|
"components.pageable.info-with-total": "{totalCount, plural, other {{countFormatted} 項,共 {totalCountFormatted} 項}}",
|
113
113
|
"components.pager-load-more.status-loading": "正在載入更多項目",
|
114
|
-
"components.selection.action-hint": "
|
114
|
+
"components.selection.action-max-hint": "{count, plural, other {Disabled when more than {countFormatted} items are selected}}",
|
115
|
+
"components.selection.action-required-hint": "選取項目以執行此動作。",
|
115
116
|
"components.selection.select-all": "全選",
|
116
117
|
"components.selection.select-all-items": "選取所有 {count} 個項目",
|
117
118
|
"components.selection.selected": "已選取 {count} 個",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.75.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",
|