@exhaustive-ui/core 22.0.0-rc.2 → 22.0.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/README.md +1 -1
- package/fesm2022/exhaustive-ui-core-accordion.mjs +5 -0
- package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs +12 -14
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-avatargroup.mjs +3 -9
- package/fesm2022/exhaustive-ui-core-avatargroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-badge.mjs +3 -34
- package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-basecomponent.mjs +3 -0
- package/fesm2022/exhaustive-ui-core-basecomponent.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-baseinput.mjs +27 -7
- package/fesm2022/exhaustive-ui-core-baseinput.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-blockui.mjs +13 -1
- package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-button.mjs +10 -34
- package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-carousel.mjs +5 -0
- package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +25 -11
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-checkbox.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-config.mjs +1 -8
- package/fesm2022/exhaustive-ui-core-config.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +3 -8
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs +16 -3
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dataview.mjs +2 -14
- package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-datepicker.mjs +38 -4
- package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dialog.mjs +12 -7
- package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dock.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dom.mjs +9 -2
- package/fesm2022/exhaustive-ui-core-dom.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-drawer.mjs +6 -6
- package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +19 -19
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-editor.mjs +11 -0
- package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fileupload.mjs +4 -1
- package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-galleria.mjs +12 -0
- package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-image.mjs +7 -0
- package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs +5 -5
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inplace.mjs +6 -32
- package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs +3 -9
- package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputmask.mjs +54 -27
- package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs +9 -11
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputotp.mjs +8 -3
- package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputtext.mjs +6 -14
- package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-listbox.mjs +53 -20
- package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-megamenu.mjs +4 -1
- package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menu.mjs +11 -5
- package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menubar.mjs +8 -2
- package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-message.mjs +5 -10
- package/fesm2022/exhaustive-ui-core-message.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-metergroup.mjs +3 -0
- package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-motion.mjs +10 -1
- package/fesm2022/exhaustive-ui-core-motion.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-multiselect.mjs +77 -38
- package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-orderlist.mjs +14 -19
- package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs +3 -1
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-overlay.mjs +28 -0
- package/fesm2022/exhaustive-ui-core-overlay.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panel.mjs +12 -2
- package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs +61 -13
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-password.mjs +37 -26
- package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-picklist.mjs +11 -25
- package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-popover.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-radiobutton.mjs +8 -4
- package/fesm2022/exhaustive-ui-core-radiobutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scroller.mjs +91 -10
- package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-select.mjs +36 -4
- package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs +3 -8
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-slider.mjs +6 -0
- package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-speeddial.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-stepper.mjs +7 -11
- package/fesm2022/exhaustive-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-steps.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-table.mjs +227 -32
- package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tabs.mjs +16 -1
- package/fesm2022/exhaustive-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-textarea.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +60 -16
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toast.mjs +6 -2
- package/fesm2022/exhaustive-ui-core-toast.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +2 -9
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tooltip.mjs +9 -17
- package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tree.mjs +99 -28
- package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treeselect.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treetable.mjs +75 -19
- package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-utils.mjs +15 -0
- package/fesm2022/exhaustive-ui-core-utils.mjs.map +1 -1
- package/package.json +5 -5
- package/schematics/collection.json +1 -1
- package/schematics/migrate-from-primeng/index.js +2 -16
- package/schematics/migrate-from-primeng/schema.json +1 -2
- package/schematics/migrations/config-input-style-to-variant/migration.js +70 -0
- package/schematics/migrations/remove-dead-inputs/migration.js +46 -7
- package/schematics/migrations/removed-exports/migration.js +73 -0
- package/schematics/migrations/renamed-inputs/migration.js +54 -3
- package/schematics/migrations/renamed-outputs/migration.js +89 -0
- package/schematics/migrations/renamed-templates/migration.js +59 -0
- package/schematics/migrations/styleclass-to-class/migration.js +5 -0
- package/schematics/migrations.json +23 -3
- package/schematics/utils/config-signal.js +115 -0
- package/schematics/utils/removed-exports.js +172 -0
- package/schematics/utils/removed-inputs.js +0 -0
- package/schematics/utils/renamed-inputs.js +20 -9
- package/schematics/utils/renamed-outputs.js +154 -0
- package/schematics/utils/renamed-templates.js +142 -0
- package/schematics/utils/versions.json +8 -8
- package/types/exhaustive-ui-core-api.d.ts +0 -10
- package/types/exhaustive-ui-core-autocomplete.d.ts +4 -9
- package/types/exhaustive-ui-core-avatargroup.d.ts +1 -6
- package/types/exhaustive-ui-core-badge.d.ts +1 -14
- package/types/exhaustive-ui-core-basecomponent.d.ts +3 -0
- package/types/exhaustive-ui-core-baseinput.d.ts +3 -3
- package/types/exhaustive-ui-core-button.d.ts +4 -25
- package/types/exhaustive-ui-core-cascadeselect.d.ts +5 -2
- package/types/exhaustive-ui-core-config.d.ts +0 -8
- package/types/exhaustive-ui-core-confirmpopup.d.ts +1 -6
- package/types/exhaustive-ui-core-contextmenu.d.ts +3 -0
- package/types/exhaustive-ui-core-dataview.d.ts +1 -11
- package/types/exhaustive-ui-core-datepicker.d.ts +1 -0
- package/types/exhaustive-ui-core-dialog.d.ts +1 -1
- package/types/exhaustive-ui-core-drawer.d.ts +2 -2
- package/types/exhaustive-ui-core-dynamicdialog.d.ts +3 -12
- package/types/exhaustive-ui-core-editor.d.ts +5 -0
- package/types/exhaustive-ui-core-fileupload.d.ts +3 -0
- package/types/exhaustive-ui-core-galleria.d.ts +12 -0
- package/types/exhaustive-ui-core-image.d.ts +1 -0
- package/types/exhaustive-ui-core-imagecompare.d.ts +2 -2
- package/types/exhaustive-ui-core-inplace.d.ts +3 -11
- package/types/exhaustive-ui-core-inputgroupaddon.d.ts +1 -6
- package/types/exhaustive-ui-core-inputmask.d.ts +2 -2
- package/types/exhaustive-ui-core-inputtext.d.ts +3 -10
- package/types/exhaustive-ui-core-listbox.d.ts +12 -6
- package/types/exhaustive-ui-core-megamenu.d.ts +3 -0
- package/types/exhaustive-ui-core-menu.d.ts +6 -11
- package/types/exhaustive-ui-core-menubar.d.ts +5 -11
- package/types/exhaustive-ui-core-message.d.ts +1 -8
- package/types/exhaustive-ui-core-metergroup.d.ts +3 -0
- package/types/exhaustive-ui-core-multiselect.d.ts +13 -10
- package/types/exhaustive-ui-core-orderlist.d.ts +2 -12
- package/types/exhaustive-ui-core-organizationchart.d.ts +3 -1
- package/types/exhaustive-ui-core-overlay.d.ts +8 -0
- package/types/exhaustive-ui-core-panel.d.ts +2 -0
- package/types/exhaustive-ui-core-panelmenu.d.ts +9 -0
- package/types/exhaustive-ui-core-password.d.ts +19 -14
- package/types/exhaustive-ui-core-picklist.d.ts +1 -16
- package/types/exhaustive-ui-core-radiobutton.d.ts +4 -1
- package/types/exhaustive-ui-core-scroller.d.ts +10 -0
- package/types/exhaustive-ui-core-select.d.ts +11 -27
- package/types/exhaustive-ui-core-selectbutton.d.ts +1 -6
- package/types/exhaustive-ui-core-stepper.d.ts +3 -11
- package/types/exhaustive-ui-core-table.d.ts +32 -4
- package/types/exhaustive-ui-core-tieredmenu.d.ts +8 -0
- package/types/exhaustive-ui-core-toast.d.ts +3 -0
- package/types/exhaustive-ui-core-toggleswitch.d.ts +1 -7
- package/types/exhaustive-ui-core-tooltip.d.ts +3 -10
- package/types/exhaustive-ui-core-tree.d.ts +17 -1
- package/types/exhaustive-ui-core-treetable.d.ts +24 -5
- package/types/exhaustive-ui-core-types-multiselect.d.ts +0 -6
- package/types/exhaustive-ui-core-types-table.d.ts +1 -1
- package/types/exhaustive-ui-core-types-tree.d.ts +5 -0
- package/types/exhaustive-ui-core-utils.d.ts +15 -0
|
@@ -8,7 +8,7 @@ import { Injectable, InjectionToken, forwardRef, inject, input, booleanAttribute
|
|
|
8
8
|
import { toSignal } from '@angular/core/rxjs-interop';
|
|
9
9
|
import * as i3 from '@angular/forms';
|
|
10
10
|
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
11
|
-
import { uuid, isNotEmpty, equals, focus, getFirstFocusableElement, isEmpty, isPrintableCharacter,
|
|
11
|
+
import { uuid, isNotEmpty, equals, focus, getFirstFocusableElement, isEmpty, isPrintableCharacter, findSingle, resolveFieldData, findLastIndex, isFunction } from '@exhaustive-ui/utils';
|
|
12
12
|
import { FilterService, Header, Footer, PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';
|
|
13
13
|
import { PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';
|
|
14
14
|
import { BaseEditableHolder } from '@exhaustive-ui/core/baseeditableholder';
|
|
@@ -41,8 +41,15 @@ const style = /*css*/ `
|
|
|
41
41
|
flex-grow: 1;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
/* the list fills what the header and footer leave of a sized listbox (scrollHeight="flex") */
|
|
45
|
+
.p-listbox {
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
}
|
|
49
|
+
|
|
44
50
|
.p-listbox-list-container {
|
|
45
|
-
|
|
51
|
+
flex: 1 1 auto;
|
|
52
|
+
min-height: 0;
|
|
46
53
|
}
|
|
47
54
|
|
|
48
55
|
/* CDK Drag & Drop styles */
|
|
@@ -214,15 +221,16 @@ class Listbox extends BaseEditableHolder {
|
|
|
214
221
|
ariaLabel = input(/* @ts-ignore */
|
|
215
222
|
...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
216
223
|
/**
|
|
217
|
-
*
|
|
224
|
+
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
|
218
225
|
* @group Props
|
|
219
226
|
*/
|
|
220
|
-
|
|
227
|
+
ariaLabelledBy = input(/* @ts-ignore */
|
|
228
|
+
...(ngDevMode ? [undefined, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
|
|
221
229
|
/**
|
|
222
|
-
*
|
|
230
|
+
* When enabled, the focused option is selected.
|
|
223
231
|
* @group Props
|
|
224
232
|
*/
|
|
225
|
-
|
|
233
|
+
selectOnFocus = input(undefined, { ...(ngDevMode ? { debugName: "selectOnFocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
226
234
|
/**
|
|
227
235
|
* When enabled, the hovered option will be focused.
|
|
228
236
|
* @group Props
|
|
@@ -378,8 +386,8 @@ class Listbox extends BaseEditableHolder {
|
|
|
378
386
|
* Defines placeholder of the filter input.
|
|
379
387
|
* @group Props
|
|
380
388
|
*/
|
|
381
|
-
|
|
382
|
-
...(ngDevMode ? [undefined, { debugName: "
|
|
389
|
+
filterPlaceholder = input(/* @ts-ignore */
|
|
390
|
+
...(ngDevMode ? [undefined, { debugName: "filterPlaceholder" }] : /* istanbul ignore next */ []));
|
|
383
391
|
/**
|
|
384
392
|
* Text to display when filtering does not return any results.
|
|
385
393
|
* @group Props
|
|
@@ -523,6 +531,8 @@ class Listbox extends BaseEditableHolder {
|
|
|
523
531
|
...(ngDevMode ? [{ debugName: "scroller" }] : /* istanbul ignore next */ []));
|
|
524
532
|
listViewChild = viewChild('list', /* @ts-ignore */
|
|
525
533
|
...(ngDevMode ? [{ debugName: "listViewChild" }] : /* istanbul ignore next */ []));
|
|
534
|
+
containerViewChild = viewChild('container', /* @ts-ignore */
|
|
535
|
+
...(ngDevMode ? [{ debugName: "containerViewChild" }] : /* istanbul ignore next */ []));
|
|
526
536
|
headerFacet = contentChild(Header, /* @ts-ignore */
|
|
527
537
|
...(ngDevMode ? [{ debugName: "headerFacet" }] : /* istanbul ignore next */ []));
|
|
528
538
|
footerFacet = contentChild(Footer, /* @ts-ignore */
|
|
@@ -1033,13 +1043,34 @@ class Listbox extends BaseEditableHolder {
|
|
|
1033
1043
|
event.preventDefault();
|
|
1034
1044
|
}
|
|
1035
1045
|
onPageDownKey(event) {
|
|
1036
|
-
this.
|
|
1046
|
+
this.changeFocusedOptionIndex(event, this.findPageOptionIndex(1));
|
|
1037
1047
|
event.preventDefault();
|
|
1038
1048
|
}
|
|
1039
1049
|
onPageUpKey(event) {
|
|
1040
|
-
this.
|
|
1050
|
+
this.changeFocusedOptionIndex(event, this.findPageOptionIndex(-1));
|
|
1041
1051
|
event.preventDefault();
|
|
1042
1052
|
}
|
|
1053
|
+
/**
|
|
1054
|
+
* Index of the option one page away from the focused option: a page is the number of options the
|
|
1055
|
+
* list shows at once, so PageDown/PageUp move the focus like a scroll of the list.
|
|
1056
|
+
*/
|
|
1057
|
+
findPageOptionIndex(direction) {
|
|
1058
|
+
const focusedIndex = this.focusedOptionIndex();
|
|
1059
|
+
const firstIndex = this.findFirstOptionIndex();
|
|
1060
|
+
const lastIndex = this.findLastOptionIndex();
|
|
1061
|
+
if (focusedIndex === -1) {
|
|
1062
|
+
return direction > 0 ? firstIndex : lastIndex;
|
|
1063
|
+
}
|
|
1064
|
+
const container = this.containerViewChild()?.nativeElement;
|
|
1065
|
+
const option = findSingle(this.listViewChild()?.nativeElement, `li[id="${this.focusedOptionId()}"]`);
|
|
1066
|
+
const optionHeight = this.virtualScroll() ? this.virtualScrollItemSize() : option?.offsetHeight;
|
|
1067
|
+
const pageSize = container?.clientHeight && optionHeight ? Math.max(1, Math.floor(container.clientHeight / optionHeight)) : 10;
|
|
1068
|
+
const index = focusedIndex + direction * pageSize;
|
|
1069
|
+
if (direction > 0) {
|
|
1070
|
+
return index >= lastIndex ? lastIndex : this.findNextOptionIndex(index - 1);
|
|
1071
|
+
}
|
|
1072
|
+
return index <= firstIndex ? firstIndex : this.findPrevOptionIndex(index + 1);
|
|
1073
|
+
}
|
|
1043
1074
|
onEnterKey(event) {
|
|
1044
1075
|
if (this.focusedOptionIndex() !== -1) {
|
|
1045
1076
|
if (this.multiple() && event.shiftKey)
|
|
@@ -1304,7 +1335,7 @@ class Listbox extends BaseEditableHolder {
|
|
|
1304
1335
|
setModelValue(this.value());
|
|
1305
1336
|
}
|
|
1306
1337
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Listbox, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1307
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Listbox, isStandalone: true, selector: "p-listbox, p-listBox, p-list-box", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, searchMessage: { classPropertyName: "searchMessage", publicName: "searchMessage", isSignal: true, isRequired: false, transformFunction: null }, emptySelectionMessage: { classPropertyName: "emptySelectionMessage", publicName: "emptySelectionMessage", isSignal: true, isRequired: false, transformFunction: null }, selectionMessage: { classPropertyName: "selectionMessage", publicName: "selectionMessage", isSignal: true, isRequired: false, transformFunction: null }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null },
|
|
1338
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Listbox, isStandalone: true, selector: "p-listbox, p-listBox, p-list-box", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, searchMessage: { classPropertyName: "searchMessage", publicName: "searchMessage", isSignal: true, isRequired: false, transformFunction: null }, emptySelectionMessage: { classPropertyName: "emptySelectionMessage", publicName: "emptySelectionMessage", isSignal: true, isRequired: false, transformFunction: null }, selectionMessage: { classPropertyName: "selectionMessage", publicName: "selectionMessage", isSignal: true, isRequired: false, transformFunction: null }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: true, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: true, isRequired: false, transformFunction: null }, filterMessage: { classPropertyName: "filterMessage", publicName: "filterMessage", isSignal: true, isRequired: false, transformFunction: null }, filterFields: { classPropertyName: "filterFields", publicName: "filterFields", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, listStyle: { classPropertyName: "listStyle", publicName: "listStyle", isSignal: true, isRequired: false, transformFunction: null }, listStyleClass: { classPropertyName: "listStyleClass", publicName: "listStyleClass", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, checkbox: { classPropertyName: "checkbox", publicName: "checkbox", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: true, isRequired: false, transformFunction: null }, filterMatchMode: { classPropertyName: "filterMatchMode", publicName: "filterMatchMode", isSignal: true, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: true, isRequired: false, transformFunction: null }, metaKeySelection: { classPropertyName: "metaKeySelection", publicName: "metaKeySelection", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, showToggleAll: { classPropertyName: "showToggleAll", publicName: "showToggleAll", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: true, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: true, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: true, isRequired: false, transformFunction: null }, ariaFilterLabel: { classPropertyName: "ariaFilterLabel", publicName: "ariaFilterLabel", isSignal: true, isRequired: false, transformFunction: null }, filterPlaceholder: { classPropertyName: "filterPlaceholder", publicName: "filterPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, emptyFilterMessage: { classPropertyName: "emptyFilterMessage", publicName: "emptyFilterMessage", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, filterValue: { classPropertyName: "filterValue", publicName: "filterValue", isSignal: true, isRequired: false, transformFunction: null }, selectAll: { classPropertyName: "selectAll", publicName: "selectAll", isSignal: true, isRequired: false, transformFunction: null }, striped: { classPropertyName: "striped", publicName: "striped", isSignal: true, isRequired: false, transformFunction: null }, highlightOnSelect: { classPropertyName: "highlightOnSelect", publicName: "highlightOnSelect", isSignal: true, isRequired: false, transformFunction: null }, checkmark: { classPropertyName: "checkmark", publicName: "checkmark", isSignal: true, isRequired: false, transformFunction: null }, dragdrop: { classPropertyName: "dragdrop", publicName: "dragdrop", isSignal: true, isRequired: false, transformFunction: null }, dropListData: { classPropertyName: "dropListData", publicName: "dropListData", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange", onClick: "onClick", onDblClick: "onDblClick", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onSelectAllChange: "onSelectAllChange", onLazyLoad: "onLazyLoad", onDrop: "onDrop" }, host: { listeners: { "focusout": "onHostFocusOut($event)" }, properties: { "attr.id": "_id()", "class": "cx('root')", "attr.data-p": "containerDataP()" } }, providers: [
|
|
1308
1339
|
LISTBOX_VALUE_ACCESSOR,
|
|
1309
1340
|
ListBoxStyle,
|
|
1310
1341
|
{
|
|
@@ -1315,7 +1346,7 @@ class Listbox extends BaseEditableHolder {
|
|
|
1315
1346
|
},
|
|
1316
1347
|
{ provide: LISTBOX_INSTANCE, useExisting: Listbox },
|
|
1317
1348
|
{ provide: PARENT_INSTANCE, useExisting: Listbox }
|
|
1318
|
-
], queries: [{ propertyName: "headerFacet", first: true, predicate: Header, descendants: true, isSignal: true }, { propertyName: "footerFacet", first: true, predicate: Footer, descendants: true, isSignal: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"], isSignal: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "filterTemplate", first: true, predicate: ["filter"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "emptyFilterTemplate", first: true, predicate: ["emptyfilter"], isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"], isSignal: true }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"], isSignal: true }, { propertyName: "checkIconTemplate", first: true, predicate: ["checkicon"], isSignal: true }, { propertyName: "checkmarkTemplate", first: true, predicate: ["checkmark"], isSignal: true }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "headerCheckboxViewChild", first: true, predicate: ["headerchkbox"], descendants: true, isSignal: true }, { propertyName: "filterViewChild", first: true, predicate: ["filterInput"], descendants: true, isSignal: true }, { propertyName: "lastHiddenFocusableElement", first: true, predicate: ["lastHiddenFocusableElement"], descendants: true, isSignal: true }, { propertyName: "firstHiddenFocusableElement", first: true, predicate: ["firstHiddenFocusableElement"], descendants: true, isSignal: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true, isSignal: true }, { propertyName: "listViewChild", first: true, predicate: ["list"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
1349
|
+
], queries: [{ propertyName: "headerFacet", first: true, predicate: Header, descendants: true, isSignal: true }, { propertyName: "footerFacet", first: true, predicate: Footer, descendants: true, isSignal: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"], isSignal: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "filterTemplate", first: true, predicate: ["filter"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "emptyFilterTemplate", first: true, predicate: ["emptyfilter"], isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"], isSignal: true }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"], isSignal: true }, { propertyName: "checkIconTemplate", first: true, predicate: ["checkicon"], isSignal: true }, { propertyName: "checkmarkTemplate", first: true, predicate: ["checkmark"], isSignal: true }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "headerCheckboxViewChild", first: true, predicate: ["headerchkbox"], descendants: true, isSignal: true }, { propertyName: "filterViewChild", first: true, predicate: ["filterInput"], descendants: true, isSignal: true }, { propertyName: "lastHiddenFocusableElement", first: true, predicate: ["lastHiddenFocusableElement"], descendants: true, isSignal: true }, { propertyName: "firstHiddenFocusableElement", first: true, predicate: ["firstHiddenFocusableElement"], descendants: true, isSignal: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true, isSignal: true }, { propertyName: "listViewChild", first: true, predicate: ["list"], descendants: true, isSignal: true }, { propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
1319
1350
|
<span
|
|
1320
1351
|
#firstHiddenFocusableElement
|
|
1321
1352
|
role="presentation"
|
|
@@ -1343,7 +1374,7 @@ class Listbox extends BaseEditableHolder {
|
|
|
1343
1374
|
[ngModelOptions]="{ standalone: true }"
|
|
1344
1375
|
[disabled]="$disabled()"
|
|
1345
1376
|
[tabindex]="-1"
|
|
1346
|
-
[variant]="config.
|
|
1377
|
+
[variant]="config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
|
|
1347
1378
|
[binary]="true"
|
|
1348
1379
|
[attr.aria-label]="toggleAllAriaLabel()"
|
|
1349
1380
|
[pt]="ptm('pcCheckbox')"
|
|
@@ -1371,7 +1402,7 @@ class Listbox extends BaseEditableHolder {
|
|
|
1371
1402
|
[attr.disabled]="$disabled() ? '' : undefined"
|
|
1372
1403
|
[attr.aria-controls]="_id() + '_list'"
|
|
1373
1404
|
[attr.aria-activedescendant]="focusedOptionId()"
|
|
1374
|
-
[attr.placeholder]="
|
|
1405
|
+
[attr.placeholder]="filterPlaceholder()"
|
|
1375
1406
|
[attr.aria-label]="ariaFilterLabel()"
|
|
1376
1407
|
[attr.tabindex]="!$disabled() && !focused() ? tabindex() : -1"
|
|
1377
1408
|
(input)="onFilterChange($event)"
|
|
@@ -1468,6 +1499,7 @@ class Listbox extends BaseEditableHolder {
|
|
|
1468
1499
|
[style]="scrollerOptions.contentStyle"
|
|
1469
1500
|
[attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
|
|
1470
1501
|
[attr.aria-label]="ariaLabel()"
|
|
1502
|
+
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
1471
1503
|
[attr.aria-disabled]="$disabled()"
|
|
1472
1504
|
(focus)="onListFocus($event)"
|
|
1473
1505
|
(blur)="onListBlur($event)"
|
|
@@ -1529,7 +1561,7 @@ class Listbox extends BaseEditableHolder {
|
|
|
1529
1561
|
[readonly]="true"
|
|
1530
1562
|
[disabled]="$disabled() || isOptionDisabled(option)"
|
|
1531
1563
|
[tabindex]="-1"
|
|
1532
|
-
[variant]="config.
|
|
1564
|
+
[variant]="config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
|
|
1533
1565
|
[binary]="true"
|
|
1534
1566
|
[ariaLabel]="getOptionLabel(option)"
|
|
1535
1567
|
[pt]="ptm('pcCheckbox')"
|
|
@@ -1599,7 +1631,7 @@ class Listbox extends BaseEditableHolder {
|
|
|
1599
1631
|
[pBind]="ptm('hiddenLastFocusableEl')"
|
|
1600
1632
|
>
|
|
1601
1633
|
</span>
|
|
1602
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["hostName", "id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName"] }, { kind: "component", type: SearchIcon, selector: "[data-p-icon=\"search\"]" }, { kind: "component", type: Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "component", type: CheckIcon, selector: "[data-p-icon=\"check\"]" }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "
|
|
1634
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["hostName", "id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName"] }, { kind: "component", type: SearchIcon, selector: "[data-p-icon=\"search\"]" }, { kind: "component", type: Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "component", type: CheckIcon, selector: "[data-p-icon=\"check\"]" }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "component", type: BlankIcon, selector: "[data-p-icon=\"blank\"]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i4.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i4.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1603
1635
|
}
|
|
1604
1636
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Listbox, decorators: [{
|
|
1605
1637
|
type: Component,
|
|
@@ -1634,7 +1666,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1634
1666
|
[ngModelOptions]="{ standalone: true }"
|
|
1635
1667
|
[disabled]="$disabled()"
|
|
1636
1668
|
[tabindex]="-1"
|
|
1637
|
-
[variant]="config.
|
|
1669
|
+
[variant]="config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
|
|
1638
1670
|
[binary]="true"
|
|
1639
1671
|
[attr.aria-label]="toggleAllAriaLabel()"
|
|
1640
1672
|
[pt]="ptm('pcCheckbox')"
|
|
@@ -1662,7 +1694,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1662
1694
|
[attr.disabled]="$disabled() ? '' : undefined"
|
|
1663
1695
|
[attr.aria-controls]="_id() + '_list'"
|
|
1664
1696
|
[attr.aria-activedescendant]="focusedOptionId()"
|
|
1665
|
-
[attr.placeholder]="
|
|
1697
|
+
[attr.placeholder]="filterPlaceholder()"
|
|
1666
1698
|
[attr.aria-label]="ariaFilterLabel()"
|
|
1667
1699
|
[attr.tabindex]="!$disabled() && !focused() ? tabindex() : -1"
|
|
1668
1700
|
(input)="onFilterChange($event)"
|
|
@@ -1759,6 +1791,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1759
1791
|
[style]="scrollerOptions.contentStyle"
|
|
1760
1792
|
[attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
|
|
1761
1793
|
[attr.aria-label]="ariaLabel()"
|
|
1794
|
+
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
1762
1795
|
[attr.aria-disabled]="$disabled()"
|
|
1763
1796
|
(focus)="onListFocus($event)"
|
|
1764
1797
|
(blur)="onListBlur($event)"
|
|
@@ -1820,7 +1853,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1820
1853
|
[readonly]="true"
|
|
1821
1854
|
[disabled]="$disabled() || isOptionDisabled(option)"
|
|
1822
1855
|
[tabindex]="-1"
|
|
1823
|
-
[variant]="config.
|
|
1856
|
+
[variant]="config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
|
|
1824
1857
|
[binary]="true"
|
|
1825
1858
|
[ariaLabel]="getOptionLabel(option)"
|
|
1826
1859
|
[pt]="ptm('pcCheckbox')"
|
|
@@ -1912,7 +1945,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1912
1945
|
},
|
|
1913
1946
|
hostDirectives: [Bind]
|
|
1914
1947
|
}]
|
|
1915
|
-
}], ctorParameters: () => [], propDecorators: { hostName: [{ type: i0.Input, args: [{ isSignal: true, alias: "hostName", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], searchMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchMessage", required: false }] }], emptySelectionMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptySelectionMessage", required: false }] }], selectionMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionMessage", required: false }] }], autoOptionFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoOptionFocus", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }],
|
|
1948
|
+
}], ctorParameters: () => [], propDecorators: { hostName: [{ type: i0.Input, args: [{ isSignal: true, alias: "hostName", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], searchMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchMessage", required: false }] }], emptySelectionMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptySelectionMessage", required: false }] }], selectionMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionMessage", required: false }] }], autoOptionFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoOptionFocus", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], selectOnFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectOnFocus", required: false }] }], focusOnHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusOnHover", required: false }] }], filterMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterMessage", required: false }] }], filterFields: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterFields", required: false }] }], lazy: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazy", required: false }] }], virtualScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScroll", required: false }] }], virtualScrollItemSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScrollItemSize", required: false }] }], virtualScrollOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScrollOptions", required: false }] }], scrollHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollHeight", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], listStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "listStyle", required: false }] }], listStyleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "listStyleClass", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], checkbox: [{ type: i0.Input, args: [{ isSignal: true, alias: "checkbox", required: false }] }], filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }], filterBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterBy", required: false }] }], filterMatchMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterMatchMode", required: false }] }], filterLocale: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterLocale", required: false }] }], metaKeySelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "metaKeySelection", required: false }] }], dataKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataKey", required: false }] }], showToggleAll: [{ type: i0.Input, args: [{ isSignal: true, alias: "showToggleAll", required: false }] }], optionLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionLabel", required: false }] }], optionValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionValue", required: false }] }], optionGroupChildren: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionGroupChildren", required: false }] }], optionGroupLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionGroupLabel", required: false }] }], optionDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionDisabled", required: false }] }], ariaFilterLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaFilterLabel", required: false }] }], filterPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterPlaceholder", required: false }] }], emptyFilterMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyFilterMessage", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], group: [{ type: i0.Input, args: [{ isSignal: true, alias: "group", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], filterValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterValue", required: false }] }], selectAll: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectAll", required: false }] }], striped: [{ type: i0.Input, args: [{ isSignal: true, alias: "striped", required: false }] }], highlightOnSelect: [{ type: i0.Input, args: [{ isSignal: true, alias: "highlightOnSelect", required: false }] }], checkmark: [{ type: i0.Input, args: [{ isSignal: true, alias: "checkmark", required: false }] }], dragdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "dragdrop", required: false }] }], dropListData: [{ type: i0.Input, args: [{ isSignal: true, alias: "dropListData", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], onChange: [{ type: i0.Output, args: ["onChange"] }], onClick: [{ type: i0.Output, args: ["onClick"] }], onDblClick: [{ type: i0.Output, args: ["onDblClick"] }], onFilter: [{ type: i0.Output, args: ["onFilter"] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], onSelectAllChange: [{ type: i0.Output, args: ["onSelectAllChange"] }], onLazyLoad: [{ type: i0.Output, args: ["onLazyLoad"] }], onDrop: [{ type: i0.Output, args: ["onDrop"] }], headerCheckboxViewChild: [{ type: i0.ViewChild, args: ['headerchkbox', { isSignal: true }] }], filterViewChild: [{ type: i0.ViewChild, args: ['filterInput', { isSignal: true }] }], lastHiddenFocusableElement: [{ type: i0.ViewChild, args: ['lastHiddenFocusableElement', { isSignal: true }] }], firstHiddenFocusableElement: [{ type: i0.ViewChild, args: ['firstHiddenFocusableElement', { isSignal: true }] }], scroller: [{ type: i0.ViewChild, args: ['scroller', { isSignal: true }] }], listViewChild: [{ type: i0.ViewChild, args: ['list', { isSignal: true }] }], containerViewChild: [{ type: i0.ViewChild, args: ['container', { isSignal: true }] }], headerFacet: [{ type: i0.ContentChild, args: [i0.forwardRef(() => Header), { isSignal: true }] }], footerFacet: [{ type: i0.ContentChild, args: [i0.forwardRef(() => Footer), { isSignal: true }] }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { ...{ descendants: false }, isSignal: true }] }], groupTemplate: [{ type: i0.ContentChild, args: ['group', { ...{ descendants: false }, isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], filterTemplate: [{ type: i0.ContentChild, args: ['filter', { ...{ descendants: false }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], emptyFilterTemplate: [{ type: i0.ContentChild, args: ['emptyfilter', { ...{ descendants: false }, isSignal: true }] }], emptyTemplate: [{ type: i0.ContentChild, args: ['empty', { ...{ descendants: false }, isSignal: true }] }], filterIconTemplate: [{ type: i0.ContentChild, args: ['filtericon', { ...{ descendants: false }, isSignal: true }] }], checkIconTemplate: [{ type: i0.ContentChild, args: ['checkicon', { ...{ descendants: false }, isSignal: true }] }], checkmarkTemplate: [{ type: i0.ContentChild, args: ['checkmark', { ...{ descendants: false }, isSignal: true }] }], loaderTemplate: [{ type: i0.ContentChild, args: ['loader', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }], onHostFocusOut: [{
|
|
1916
1949
|
type: HostListener,
|
|
1917
1950
|
args: ['focusout', ['$event']]
|
|
1918
1951
|
}] } });
|