@aeris-ui/core 22.0.0-alpha.1 → 22.0.0-alpha.10
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 +200 -191
- package/fesm2022/aeris-ui-core-accordion.mjs +646 -255
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +284 -103
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-complete.mjs +1228 -446
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +111 -61
- package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-avatar.mjs +383 -101
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-badge.mjs +562 -115
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-block-ui.mjs +209 -101
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +581 -189
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-group.mjs +153 -38
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +741 -139
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-card.mjs +371 -101
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-carousel.mjs +773 -369
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +1171 -521
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +455 -258
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +440 -140
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +430 -117
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-class-names.mjs +87 -65
- package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-code-block.mjs +637 -0
- package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs +1340 -700
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-compare.mjs +823 -318
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1404 -555
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1471 -740
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +918 -443
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +1942 -1123
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +1079 -346
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +204 -43
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-drawer.mjs +1015 -322
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +410 -254
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +967 -587
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +1379 -522
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-filter-service.mjs +258 -301
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-fluid.mjs +68 -21
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-focus-trap.mjs +206 -182
- package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-form-field.mjs +688 -0
- package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-galleria.mjs +2446 -1117
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +110 -33
- package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-icon-field.mjs +426 -98
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-inplace.mjs +452 -130
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-group.mjs +413 -107
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +658 -255
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +926 -291
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +678 -264
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +625 -158
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-key-filter.mjs +263 -201
- package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-mega-menu.mjs +613 -382
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +1062 -472
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +994 -393
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +477 -145
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +623 -230
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +1598 -561
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +592 -220
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +485 -199
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +428 -123
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +596 -196
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +925 -249
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +1280 -659
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +912 -375
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +549 -176
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +410 -133
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +394 -124
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +506 -231
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +457 -154
- package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-top.mjs +226 -63
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select.mjs +1845 -648
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-skeleton.mjs +149 -45
- package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-slider.mjs +884 -430
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +861 -337
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +955 -266
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +812 -352
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +697 -254
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-style-class.mjs +587 -342
- package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-table.mjs +2034 -869
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +789 -279
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +856 -219
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1284 -1399
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +132 -144
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +909 -441
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +407 -131
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +1076 -384
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +398 -132
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toolbar.mjs +458 -121
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +625 -330
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-select.mjs +1453 -621
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +2019 -940
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +1107 -658
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +985 -316
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +20 -8
- package/schematics/ng-add/schema.json +1 -1
- package/schematics/runtime/schematics/ng-add/options.js +4 -4
- package/schematics/runtime/schematics/ng-add/options.js.map +1 -1
- package/schematics/runtime/schematics/ng-add/workspace.js +1 -1
- package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-contrast.js +6 -17
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-foundation.js +10 -4
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +28 -5
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-generator.js +2 -2
- package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js +22 -8
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js +12 -4
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js +7 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme.js +49 -33
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/_fallback-colors.scss +10 -0
- package/styles/_mobile.scss +16 -0
- package/styles/_tokens.scss +5 -5
- package/styles/aeris.css +412 -125
- package/styles/controls.css +61 -29
- package/tools/aeris-theme.mjs +2 -2
- package/tools/aeris-theme.schema.json +5 -2
- package/types/aeris-ui-core-accordion.d.ts +167 -93
- package/types/aeris-ui-core-animate-on-scroll.d.ts +72 -31
- package/types/aeris-ui-core-auto-complete.d.ts +327 -140
- package/types/aeris-ui-core-auto-focus.d.ts +24 -16
- package/types/aeris-ui-core-avatar.d.ts +112 -42
- package/types/aeris-ui-core-badge.d.ts +160 -46
- package/types/aeris-ui-core-block-ui.d.ts +47 -27
- package/types/aeris-ui-core-breadcrumb.d.ts +163 -92
- package/types/aeris-ui-core-button-group.d.ts +37 -16
- package/types/aeris-ui-core-button.d.ts +226 -67
- package/types/aeris-ui-core-card.d.ts +74 -37
- package/types/aeris-ui-core-carousel.d.ts +201 -117
- package/types/aeris-ui-core-cascade-select.d.ts +257 -123
- package/types/aeris-ui-core-chart.d.ts +134 -84
- package/types/aeris-ui-core-checkbox.d.ts +139 -54
- package/types/aeris-ui-core-chip.d.ts +116 -51
- package/types/aeris-ui-core-class-names.d.ts +22 -20
- package/types/aeris-ui-core-code-block.d.ts +188 -0
- package/types/aeris-ui-core-color-picker.d.ts +348 -143
- package/types/aeris-ui-core-compare.d.ts +224 -102
- package/types/aeris-ui-core-confirm-dialog.d.ts +442 -245
- package/types/aeris-ui-core-confirm-popup.d.ts +442 -263
- package/types/aeris-ui-core-context-menu.d.ts +264 -146
- package/types/aeris-ui-core-date-picker.d.ts +489 -217
- package/types/aeris-ui-core-dialog.d.ts +288 -117
- package/types/aeris-ui-core-divider.d.ts +58 -20
- package/types/aeris-ui-core-drawer.d.ts +273 -112
- package/types/aeris-ui-core-dynamic-dialog.d.ts +158 -137
- package/types/aeris-ui-core-editor.d.ts +250 -123
- package/types/aeris-ui-core-file-upload.d.ts +367 -197
- package/types/aeris-ui-core-filter-service.d.ts +48 -52
- package/types/aeris-ui-core-fluid.d.ts +12 -9
- package/types/aeris-ui-core-focus-trap.d.ts +39 -31
- package/types/aeris-ui-core-form-field.d.ts +163 -0
- package/types/aeris-ui-core-galleria.d.ts +588 -256
- package/types/aeris-ui-core-glass.d.ts +24 -11
- package/types/aeris-ui-core-icon-field.d.ts +94 -32
- package/types/aeris-ui-core-inplace.d.ts +123 -62
- package/types/aeris-ui-core-input-group.d.ts +84 -33
- package/types/aeris-ui-core-input-mask.d.ts +194 -69
- package/types/aeris-ui-core-input-number.d.ts +272 -87
- package/types/aeris-ui-core-input-otp.d.ts +191 -81
- package/types/aeris-ui-core-input-text.d.ts +185 -60
- package/types/aeris-ui-core-key-filter.d.ts +53 -39
- package/types/aeris-ui-core-mega-menu.d.ts +175 -121
- package/types/aeris-ui-core-menu.d.ts +277 -168
- package/types/aeris-ui-core-menubar.d.ts +273 -135
- package/types/aeris-ui-core-message.d.ts +132 -60
- package/types/aeris-ui-core-meter-group.d.ts +163 -90
- package/types/aeris-ui-core-multi-select.d.ts +439 -180
- package/types/aeris-ui-core-order-list.d.ts +144 -66
- package/types/aeris-ui-core-organization-chart.d.ts +133 -77
- package/types/aeris-ui-core-paginator.d.ts +93 -38
- package/types/aeris-ui-core-panel.d.ts +149 -78
- package/types/aeris-ui-core-password.d.ts +258 -102
- package/types/aeris-ui-core-pick-list.d.ts +374 -179
- package/types/aeris-ui-core-popover.d.ts +219 -105
- package/types/aeris-ui-core-progress-bar.d.ts +157 -73
- package/types/aeris-ui-core-progress-spinner.d.ts +110 -48
- package/types/aeris-ui-core-radio-button.d.ts +124 -50
- package/types/aeris-ui-core-rating.d.ts +149 -76
- package/types/aeris-ui-core-scroll-panel.d.ts +142 -64
- package/types/aeris-ui-core-scroll-top.d.ts +66 -29
- package/types/aeris-ui-core-select.d.ts +475 -217
- package/types/aeris-ui-core-skeleton.d.ts +39 -17
- package/types/aeris-ui-core-slider.d.ts +270 -115
- package/types/aeris-ui-core-speed-dial.d.ts +241 -111
- package/types/aeris-ui-core-split-button.d.ts +267 -113
- package/types/aeris-ui-core-splitter.d.ts +225 -106
- package/types/aeris-ui-core-stepper.d.ts +184 -91
- package/types/aeris-ui-core-style-class.d.ts +141 -71
- package/types/aeris-ui-core-table.d.ts +596 -304
- package/types/aeris-ui-core-tabs.d.ts +181 -76
- package/types/aeris-ui-core-textarea.d.ts +261 -78
- package/types/aeris-ui-core-theme-builder.d.ts +472 -450
- package/types/aeris-ui-core-theming.d.ts +42 -45
- package/types/aeris-ui-core-tiered-menu.d.ts +251 -142
- package/types/aeris-ui-core-timeline.d.ts +109 -71
- package/types/aeris-ui-core-toast.d.ts +225 -115
- package/types/aeris-ui-core-toggle-switch.d.ts +125 -51
- package/types/aeris-ui-core-toolbar.d.ts +98 -41
- package/types/aeris-ui-core-tooltip.d.ts +157 -88
- package/types/aeris-ui-core-tree-select.d.ts +364 -171
- package/types/aeris-ui-core-tree-table.d.ts +566 -286
- package/types/aeris-ui-core-tree.d.ts +270 -165
- package/types/aeris-ui-core.d.ts +197 -72
|
@@ -1,647 +1,892 @@
|
|
|
1
|
-
import { NgTemplateOutlet } from
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { Component, Directive, TemplateRef, booleanAttribute, computed, contentChild, inject, input, model, output, signal } from "@angular/core";
|
|
4
|
+
var AerisPickListItemTemplate = class AerisPickListItemTemplate {
|
|
5
|
+
template = inject(TemplateRef);
|
|
6
|
+
static ngTemplateContextGuard(_directive, context) {
|
|
7
|
+
return true;
|
|
8
|
+
}
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
10
|
+
minVersion: "12.0.0",
|
|
11
|
+
version: "22.2.2",
|
|
12
|
+
ngImport: i0,
|
|
13
|
+
type: AerisPickListItemTemplate,
|
|
14
|
+
deps: [],
|
|
15
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
16
|
+
});
|
|
17
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
18
|
+
minVersion: "14.0.0",
|
|
19
|
+
version: "22.2.2",
|
|
20
|
+
type: AerisPickListItemTemplate,
|
|
21
|
+
isStandalone: true,
|
|
22
|
+
selector: "ng-template[aerisPickListItem]",
|
|
23
|
+
ngImport: i0
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
27
|
+
minVersion: "12.0.0",
|
|
28
|
+
version: "22.2.2",
|
|
29
|
+
ngImport: i0,
|
|
30
|
+
type: AerisPickListItemTemplate,
|
|
31
|
+
decorators: [{
|
|
32
|
+
type: Directive,
|
|
33
|
+
args: [{ selector: "ng-template[aerisPickListItem]" }]
|
|
34
|
+
}]
|
|
35
|
+
});
|
|
36
|
+
var AerisPickListEmptyTemplate = class AerisPickListEmptyTemplate {
|
|
37
|
+
template = inject(TemplateRef);
|
|
38
|
+
static ngTemplateContextGuard(_directive, context) {
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
42
|
+
minVersion: "12.0.0",
|
|
43
|
+
version: "22.2.2",
|
|
44
|
+
ngImport: i0,
|
|
45
|
+
type: AerisPickListEmptyTemplate,
|
|
46
|
+
deps: [],
|
|
47
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
48
|
+
});
|
|
49
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
50
|
+
minVersion: "14.0.0",
|
|
51
|
+
version: "22.2.2",
|
|
52
|
+
type: AerisPickListEmptyTemplate,
|
|
53
|
+
isStandalone: true,
|
|
54
|
+
selector: "ng-template[aerisPickListEmpty]",
|
|
55
|
+
ngImport: i0
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
59
|
+
minVersion: "12.0.0",
|
|
60
|
+
version: "22.2.2",
|
|
61
|
+
ngImport: i0,
|
|
62
|
+
type: AerisPickListEmptyTemplate,
|
|
63
|
+
decorators: [{
|
|
64
|
+
type: Directive,
|
|
65
|
+
args: [{ selector: "ng-template[aerisPickListEmpty]" }]
|
|
66
|
+
}]
|
|
67
|
+
});
|
|
29
68
|
let nextPickListId = 0;
|
|
30
|
-
class AerisPickList {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
69
|
+
var AerisPickList = class AerisPickList {
|
|
70
|
+
componentId = `aeris-pick-list-${++nextPickListId}`;
|
|
71
|
+
activeSourceKey = signal(null, ...ngDevMode ? [{ debugName: "activeSourceKey" }] : /* istanbul ignore next */ []);
|
|
72
|
+
activeTargetKey = signal(null, ...ngDevMode ? [{ debugName: "activeTargetKey" }] : /* istanbul ignore next */ []);
|
|
73
|
+
sourceSelectionAnchor = signal(null, ...ngDevMode ? [{ debugName: "sourceSelectionAnchor" }] : /* istanbul ignore next */ []);
|
|
74
|
+
targetSelectionAnchor = signal(null, ...ngDevMode ? [{ debugName: "targetSelectionAnchor" }] : /* istanbul ignore next */ []);
|
|
75
|
+
dragState = signal(null, ...ngDevMode ? [{ debugName: "dragState" }] : /* istanbul ignore next */ []);
|
|
76
|
+
dropTarget = signal(null, ...ngDevMode ? [{ debugName: "dropTarget" }] : /* istanbul ignore next */ []);
|
|
77
|
+
source = model([], ...ngDevMode ? [{ debugName: "source" }] : /* istanbul ignore next */ []);
|
|
78
|
+
target = model([], ...ngDevMode ? [{ debugName: "target" }] : /* istanbul ignore next */ []);
|
|
79
|
+
sourceSelectedKeys = model([], ...ngDevMode ? [{ debugName: "sourceSelectedKeys" }] : /* istanbul ignore next */ []);
|
|
80
|
+
targetSelectedKeys = model([], ...ngDevMode ? [{ debugName: "targetSelectedKeys" }] : /* istanbul ignore next */ []);
|
|
81
|
+
sourceFilter = model("", ...ngDevMode ? [{ debugName: "sourceFilter" }] : /* istanbul ignore next */ []);
|
|
82
|
+
targetFilter = model("", ...ngDevMode ? [{ debugName: "targetFilter" }] : /* istanbul ignore next */ []);
|
|
83
|
+
optionLabel = input("label", ...ngDevMode ? [{ debugName: "optionLabel" }] : /* istanbul ignore next */ []);
|
|
84
|
+
dataKey = input("id", ...ngDevMode ? [{ debugName: "dataKey" }] : /* istanbul ignore next */ []);
|
|
85
|
+
filterBy = input("label", ...ngDevMode ? [{ debugName: "filterBy" }] : /* istanbul ignore next */ []);
|
|
86
|
+
filterMatchMode = input("contains", ...ngDevMode ? [{ debugName: "filterMatchMode" }] : /* istanbul ignore next */ []);
|
|
87
|
+
sourceHeader = input("Available", ...ngDevMode ? [{ debugName: "sourceHeader" }] : /* istanbul ignore next */ []);
|
|
88
|
+
targetHeader = input("Selected", ...ngDevMode ? [{ debugName: "targetHeader" }] : /* istanbul ignore next */ []);
|
|
89
|
+
sourceAriaLabel = input("Available items", ...ngDevMode ? [{ debugName: "sourceAriaLabel" }] : /* istanbul ignore next */ []);
|
|
90
|
+
targetAriaLabel = input("Selected items", ...ngDevMode ? [{ debugName: "targetAriaLabel" }] : /* istanbul ignore next */ []);
|
|
91
|
+
ariaLabel = input("Item transfer", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
92
|
+
sourceFilterPlaceholder = input("Filter available items", ...ngDevMode ? [{ debugName: "sourceFilterPlaceholder" }] : /* istanbul ignore next */ []);
|
|
93
|
+
targetFilterPlaceholder = input("Filter selected items", ...ngDevMode ? [{ debugName: "targetFilterPlaceholder" }] : /* istanbul ignore next */ []);
|
|
94
|
+
sourceFilterAriaLabel = input("Filter available items", ...ngDevMode ? [{ debugName: "sourceFilterAriaLabel" }] : /* istanbul ignore next */ []);
|
|
95
|
+
targetFilterAriaLabel = input("Filter selected items", ...ngDevMode ? [{ debugName: "targetFilterAriaLabel" }] : /* istanbul ignore next */ []);
|
|
96
|
+
sourceEmptyMessage = input("No available items", ...ngDevMode ? [{ debugName: "sourceEmptyMessage" }] : /* istanbul ignore next */ []);
|
|
97
|
+
targetEmptyMessage = input("No selected items", ...ngDevMode ? [{ debugName: "targetEmptyMessage" }] : /* istanbul ignore next */ []);
|
|
98
|
+
sourceFilterEmptyMessage = input("No available items match the filter", ...ngDevMode ? [{ debugName: "sourceFilterEmptyMessage" }] : /* istanbul ignore next */ []);
|
|
99
|
+
targetFilterEmptyMessage = input("No selected items match the filter", ...ngDevMode ? [{ debugName: "targetFilterEmptyMessage" }] : /* istanbul ignore next */ []);
|
|
100
|
+
showFilter = input(false, {
|
|
101
|
+
...ngDevMode ? { debugName: "showFilter" } : /* istanbul ignore next */ {},
|
|
102
|
+
transform: booleanAttribute
|
|
103
|
+
});
|
|
104
|
+
showSourceControls = input(true, {
|
|
105
|
+
...ngDevMode ? { debugName: "showSourceControls" } : /* istanbul ignore next */ {},
|
|
106
|
+
transform: booleanAttribute
|
|
107
|
+
});
|
|
108
|
+
showTargetControls = input(true, {
|
|
109
|
+
...ngDevMode ? { debugName: "showTargetControls" } : /* istanbul ignore next */ {},
|
|
110
|
+
transform: booleanAttribute
|
|
111
|
+
});
|
|
112
|
+
showTransferControls = input(true, {
|
|
113
|
+
...ngDevMode ? { debugName: "showTransferControls" } : /* istanbul ignore next */ {},
|
|
114
|
+
transform: booleanAttribute
|
|
115
|
+
});
|
|
116
|
+
transferOnDoubleClick = input(false, {
|
|
117
|
+
...ngDevMode ? { debugName: "transferOnDoubleClick" } : /* istanbul ignore next */ {},
|
|
118
|
+
transform: booleanAttribute
|
|
119
|
+
});
|
|
120
|
+
dragDrop = input(true, {
|
|
121
|
+
...ngDevMode ? { debugName: "dragDrop" } : /* istanbul ignore next */ {},
|
|
122
|
+
transform: booleanAttribute
|
|
123
|
+
});
|
|
124
|
+
disabled = input(false, {
|
|
125
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
126
|
+
transform: booleanAttribute
|
|
127
|
+
});
|
|
128
|
+
fluid = input(true, {
|
|
129
|
+
...ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {},
|
|
130
|
+
transform: booleanAttribute
|
|
131
|
+
});
|
|
132
|
+
targetLimit = input(null, ...ngDevMode ? [{ debugName: "targetLimit" }] : /* istanbul ignore next */ []);
|
|
133
|
+
moveToTargetAriaLabel = input("Move selected items to selected list", ...ngDevMode ? [{ debugName: "moveToTargetAriaLabel" }] : /* istanbul ignore next */ []);
|
|
134
|
+
moveAllToTargetAriaLabel = input("Move all items to selected list", ...ngDevMode ? [{ debugName: "moveAllToTargetAriaLabel" }] : /* istanbul ignore next */ []);
|
|
135
|
+
moveToSourceAriaLabel = input("Move selected items to available list", ...ngDevMode ? [{ debugName: "moveToSourceAriaLabel" }] : /* istanbul ignore next */ []);
|
|
136
|
+
moveAllToSourceAriaLabel = input("Move all items to available list", ...ngDevMode ? [{ debugName: "moveAllToSourceAriaLabel" }] : /* istanbul ignore next */ []);
|
|
137
|
+
selectionChanged = output();
|
|
138
|
+
transferred = output();
|
|
139
|
+
movedToTarget = output();
|
|
140
|
+
movedToSource = output();
|
|
141
|
+
reordered = output();
|
|
142
|
+
sourceReordered = output();
|
|
143
|
+
targetReordered = output();
|
|
144
|
+
filterChanged = output();
|
|
145
|
+
dragStarted = output();
|
|
146
|
+
dragEnded = output();
|
|
147
|
+
itemTemplate = contentChild(AerisPickListItemTemplate, ...ngDevMode ? [{ debugName: "itemTemplate" }] : /* istanbul ignore next */ []);
|
|
148
|
+
emptyTemplate = contentChild(AerisPickListEmptyTemplate, ...ngDevMode ? [{ debugName: "emptyTemplate" }] : /* istanbul ignore next */ []);
|
|
149
|
+
announcement = signal("", ...ngDevMode ? [{ debugName: "announcement" }] : /* istanbul ignore next */ []);
|
|
150
|
+
filterProperties = computed(() => this.filterBy().split(",").map((property) => property.trim()).filter(Boolean), ...ngDevMode ? [{ debugName: "filterProperties" }] : /* istanbul ignore next */ []);
|
|
151
|
+
sourceEntries = computed(() => this.createEntries("source", this.source()), ...ngDevMode ? [{ debugName: "sourceEntries" }] : /* istanbul ignore next */ []);
|
|
152
|
+
targetEntries = computed(() => this.createEntries("target", this.target()), ...ngDevMode ? [{ debugName: "targetEntries" }] : /* istanbul ignore next */ []);
|
|
153
|
+
filteredSourceEntries = computed(() => this.filterEntries(this.sourceEntries(), this.sourceFilter()), ...ngDevMode ? [{ debugName: "filteredSourceEntries" }] : /* istanbul ignore next */ []);
|
|
154
|
+
filteredTargetEntries = computed(() => this.filterEntries(this.targetEntries(), this.targetFilter()), ...ngDevMode ? [{ debugName: "filteredTargetEntries" }] : /* istanbul ignore next */ []);
|
|
155
|
+
collection(side) {
|
|
156
|
+
return side === "source" ? this.source() : this.target();
|
|
157
|
+
}
|
|
158
|
+
filteredEntries(side) {
|
|
159
|
+
return side === "source" ? this.filteredSourceEntries() : this.filteredTargetEntries();
|
|
160
|
+
}
|
|
161
|
+
paneHeader(side) {
|
|
162
|
+
return side === "source" ? this.sourceHeader() : this.targetHeader();
|
|
163
|
+
}
|
|
164
|
+
paneAriaLabel(side) {
|
|
165
|
+
return side === "source" ? this.sourceAriaLabel() : this.targetAriaLabel();
|
|
166
|
+
}
|
|
167
|
+
filterPlaceholder(side) {
|
|
168
|
+
return side === "source" ? this.sourceFilterPlaceholder() : this.targetFilterPlaceholder();
|
|
169
|
+
}
|
|
170
|
+
filterAriaLabel(side) {
|
|
171
|
+
return side === "source" ? this.sourceFilterAriaLabel() : this.targetFilterAriaLabel();
|
|
172
|
+
}
|
|
173
|
+
filterValue(side) {
|
|
174
|
+
return side === "source" ? this.sourceFilter() : this.targetFilter();
|
|
175
|
+
}
|
|
176
|
+
isFiltering(side) {
|
|
177
|
+
return Boolean(this.filterValue(side));
|
|
178
|
+
}
|
|
179
|
+
showReorderControls(side) {
|
|
180
|
+
return side === "source" ? this.showSourceControls() : this.showTargetControls();
|
|
181
|
+
}
|
|
182
|
+
itemLabel(item) {
|
|
183
|
+
const value = this.propertyValue(item, this.optionLabel());
|
|
184
|
+
return value == null ? "" : String(value);
|
|
185
|
+
}
|
|
186
|
+
isSelected(side, key) {
|
|
187
|
+
return this.selection(side).includes(key);
|
|
188
|
+
}
|
|
189
|
+
isActive(side, key) {
|
|
190
|
+
return this.activeKey(side)() === key;
|
|
191
|
+
}
|
|
192
|
+
isDragging(side, key) {
|
|
193
|
+
const state = this.dragState();
|
|
194
|
+
return state?.side === side && state.keys.includes(key);
|
|
195
|
+
}
|
|
196
|
+
isDropTarget(side, key) {
|
|
197
|
+
const target = this.dropTarget();
|
|
198
|
+
return target?.side === side && target.beforeKey === key;
|
|
199
|
+
}
|
|
200
|
+
activeDescendant(side) {
|
|
201
|
+
const entries = this.filteredEntries(side);
|
|
202
|
+
const activeKey = this.activeKey(side)();
|
|
203
|
+
return entries.find((entry) => entry.key === activeKey)?.optionId ?? entries[0]?.optionId ?? null;
|
|
204
|
+
}
|
|
205
|
+
emptyText(side) {
|
|
206
|
+
const filtering = Boolean(this.filterValue(side));
|
|
207
|
+
if (side === "source") return filtering ? this.sourceFilterEmptyMessage() : this.sourceEmptyMessage();
|
|
208
|
+
return filtering ? this.targetFilterEmptyMessage() : this.targetEmptyMessage();
|
|
209
|
+
}
|
|
210
|
+
updateFilter(side, originalEvent) {
|
|
211
|
+
const value = originalEvent.target.value;
|
|
212
|
+
this.filterModel(side).set(value);
|
|
213
|
+
this.activeKey(side).set(null);
|
|
214
|
+
this.filterChanged.emit({
|
|
215
|
+
originalEvent,
|
|
216
|
+
side,
|
|
217
|
+
value
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
toggleItem(side, entry, originalEvent) {
|
|
221
|
+
if (this.disabled()) return;
|
|
222
|
+
this.activeKey(side).set(entry.key);
|
|
223
|
+
const current = this.selection(side);
|
|
224
|
+
if (originalEvent.shiftKey && this.selectionAnchor(side)()) {
|
|
225
|
+
const entries = this.filteredEntries(side);
|
|
226
|
+
const anchorIndex = entries.findIndex((item) => item.key === this.selectionAnchor(side)());
|
|
227
|
+
const entryIndex = entries.findIndex((item) => item.key === entry.key);
|
|
228
|
+
if (anchorIndex >= 0 && entryIndex >= 0) {
|
|
229
|
+
const start = Math.min(anchorIndex, entryIndex);
|
|
230
|
+
const end = Math.max(anchorIndex, entryIndex);
|
|
231
|
+
this.selectionModel(side).set([.../* @__PURE__ */ new Set([...current, ...entries.slice(start, end + 1).map((item) => item.key)])]);
|
|
232
|
+
}
|
|
233
|
+
} else {
|
|
234
|
+
this.selectionAnchor(side).set(entry.key);
|
|
235
|
+
this.selectionModel(side).set(current.includes(entry.key) ? current.filter((key) => key !== entry.key) : [...current, entry.key]);
|
|
236
|
+
}
|
|
237
|
+
this.emitSelection(side, originalEvent);
|
|
238
|
+
}
|
|
239
|
+
handleItemDoubleClick(side, entry, originalEvent) {
|
|
240
|
+
if (!this.transferOnDoubleClick() || this.disabled()) return;
|
|
241
|
+
this.transferKeys(side === "source" ? "to-target" : "to-source", [entry.key], originalEvent);
|
|
242
|
+
}
|
|
243
|
+
handleDragStart(side, entry, originalEvent) {
|
|
244
|
+
if (!this.dragDrop() || this.disabled()) {
|
|
245
|
+
originalEvent.preventDefault();
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
let keys = this.selection(side);
|
|
249
|
+
if (!keys.includes(entry.key)) {
|
|
250
|
+
keys = [entry.key];
|
|
251
|
+
this.selectionModel(side).set(keys);
|
|
252
|
+
this.emitSelection(side, originalEvent);
|
|
253
|
+
}
|
|
254
|
+
this.activeKey(side).set(entry.key);
|
|
255
|
+
this.dragState.set({
|
|
256
|
+
side,
|
|
257
|
+
item: entry.item,
|
|
258
|
+
key: entry.key,
|
|
259
|
+
keys
|
|
260
|
+
});
|
|
261
|
+
originalEvent.dataTransfer?.setData("text/plain", entry.key);
|
|
262
|
+
if (originalEvent.dataTransfer) originalEvent.dataTransfer.effectAllowed = "move";
|
|
263
|
+
this.dragStarted.emit({
|
|
264
|
+
originalEvent,
|
|
265
|
+
side,
|
|
266
|
+
item: entry.item,
|
|
267
|
+
key: entry.key,
|
|
268
|
+
selectedKeys: keys
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
handleItemDragOver(side, beforeKey, originalEvent) {
|
|
272
|
+
if (!this.dragState() || this.disabled()) return;
|
|
273
|
+
originalEvent.preventDefault();
|
|
274
|
+
originalEvent.stopPropagation();
|
|
275
|
+
if (originalEvent.dataTransfer) originalEvent.dataTransfer.dropEffect = "move";
|
|
276
|
+
this.dropTarget.set({
|
|
277
|
+
side,
|
|
278
|
+
beforeKey
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
handleViewportDragOver(side, originalEvent) {
|
|
282
|
+
if (!this.dragState() || this.disabled()) return;
|
|
283
|
+
originalEvent.preventDefault();
|
|
284
|
+
if (originalEvent.dataTransfer) originalEvent.dataTransfer.dropEffect = "move";
|
|
285
|
+
this.dropTarget.set({
|
|
286
|
+
side,
|
|
287
|
+
beforeKey: null
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
handleDrop(side, beforeKey, originalEvent) {
|
|
291
|
+
const state = this.dragState();
|
|
292
|
+
if (!state || this.disabled()) return;
|
|
293
|
+
originalEvent.preventDefault();
|
|
294
|
+
originalEvent.stopPropagation();
|
|
295
|
+
if (state.side === side) {
|
|
296
|
+
if (!beforeKey || !state.keys.includes(beforeKey)) this.reorderKeysBefore(side, state.keys, beforeKey, originalEvent);
|
|
297
|
+
} else this.transferKeys(state.side === "source" ? "to-target" : "to-source", state.keys, originalEvent, beforeKey);
|
|
298
|
+
this.dropTarget.set(null);
|
|
299
|
+
}
|
|
300
|
+
handleDragEnd(originalEvent) {
|
|
301
|
+
const state = this.dragState();
|
|
302
|
+
if (state) this.dragEnded.emit({
|
|
303
|
+
originalEvent,
|
|
304
|
+
side: state.side,
|
|
305
|
+
item: state.item,
|
|
306
|
+
key: state.key,
|
|
307
|
+
selectedKeys: state.keys
|
|
308
|
+
});
|
|
309
|
+
this.dragState.set(null);
|
|
310
|
+
this.dropTarget.set(null);
|
|
311
|
+
}
|
|
312
|
+
handleListKeydown(side, event) {
|
|
313
|
+
if (this.disabled()) return;
|
|
314
|
+
if (event.altKey) {
|
|
315
|
+
if (event.key === "ArrowRight" && side === "source") {
|
|
316
|
+
event.preventDefault();
|
|
317
|
+
this.moveSelectedToTarget(event);
|
|
318
|
+
} else if (event.key === "ArrowLeft" && side === "target") {
|
|
319
|
+
event.preventDefault();
|
|
320
|
+
this.moveSelectedToSource(event);
|
|
321
|
+
} else if (event.key === "ArrowUp") {
|
|
322
|
+
event.preventDefault();
|
|
323
|
+
this.moveSelectedUp(side, event);
|
|
324
|
+
} else if (event.key === "ArrowDown") {
|
|
325
|
+
event.preventDefault();
|
|
326
|
+
this.moveSelectedDown(side, event);
|
|
327
|
+
} else if (event.key === "Home") {
|
|
328
|
+
event.preventDefault();
|
|
329
|
+
this.moveSelectedToTop(side, event);
|
|
330
|
+
} else if (event.key === "End") {
|
|
331
|
+
event.preventDefault();
|
|
332
|
+
this.moveSelectedToBottom(side, event);
|
|
333
|
+
}
|
|
334
|
+
return;
|
|
335
|
+
}
|
|
336
|
+
if ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === "a") {
|
|
337
|
+
event.preventDefault();
|
|
338
|
+
const keys = this.filteredEntries(side).map((entry) => entry.key);
|
|
339
|
+
this.selectionModel(side).set([.../* @__PURE__ */ new Set([...this.selection(side), ...keys])]);
|
|
340
|
+
this.emitSelection(side, event);
|
|
341
|
+
return;
|
|
342
|
+
}
|
|
343
|
+
if (event.key === "ArrowDown" || event.key === "ArrowUp") {
|
|
344
|
+
event.preventDefault();
|
|
345
|
+
this.moveActive(side, event.key === "ArrowDown" ? 1 : -1);
|
|
346
|
+
} else if (event.key === "Home" || event.key === "End") {
|
|
347
|
+
event.preventDefault();
|
|
348
|
+
this.moveActiveToEdge(side, event.key === "Home" ? "start" : "end");
|
|
349
|
+
} else if (event.key === "Enter" || event.key === " ") {
|
|
350
|
+
event.preventDefault();
|
|
351
|
+
this.toggleActive(side, event);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
canTransfer(direction, all) {
|
|
355
|
+
if (this.disabled()) return false;
|
|
356
|
+
const side = direction === "to-target" ? "source" : "target";
|
|
357
|
+
if (!(all ? this.collection(side).length : this.selection(side).length)) return false;
|
|
358
|
+
return direction !== "to-target" || this.availableTargetSlots() > 0;
|
|
359
|
+
}
|
|
360
|
+
canReorder(side, position) {
|
|
361
|
+
if (this.disabled()) return false;
|
|
362
|
+
const indexes = this.selectedIndexes(side);
|
|
363
|
+
if (!indexes.length) return false;
|
|
364
|
+
return position === "top" || position === "up" ? Math.min(...indexes) > 0 : Math.max(...indexes) < this.collection(side).length - 1;
|
|
365
|
+
}
|
|
366
|
+
moveSelectedToTarget(originalEvent = null) {
|
|
367
|
+
this.transfer("to-target", false, originalEvent);
|
|
368
|
+
}
|
|
369
|
+
moveAllToTarget(originalEvent = null) {
|
|
370
|
+
this.transfer("to-target", true, originalEvent);
|
|
371
|
+
}
|
|
372
|
+
moveSelectedToSource(originalEvent = null) {
|
|
373
|
+
this.transfer("to-source", false, originalEvent);
|
|
374
|
+
}
|
|
375
|
+
moveAllToSource(originalEvent = null) {
|
|
376
|
+
this.transfer("to-source", true, originalEvent);
|
|
377
|
+
}
|
|
378
|
+
moveSelectedUp(side, originalEvent = null) {
|
|
379
|
+
if (!this.canReorder(side, "up")) return;
|
|
380
|
+
this.reorderByStep(side, -1, originalEvent);
|
|
381
|
+
}
|
|
382
|
+
moveSelectedDown(side, originalEvent = null) {
|
|
383
|
+
if (!this.canReorder(side, "down")) return;
|
|
384
|
+
this.reorderByStep(side, 1, originalEvent);
|
|
385
|
+
}
|
|
386
|
+
moveSelectedToTop(side, originalEvent = null) {
|
|
387
|
+
if (!this.canReorder(side, "top")) return;
|
|
388
|
+
this.reorderToEdge(side, "top", originalEvent);
|
|
389
|
+
}
|
|
390
|
+
moveSelectedToBottom(side, originalEvent = null) {
|
|
391
|
+
if (!this.canReorder(side, "bottom")) return;
|
|
392
|
+
this.reorderToEdge(side, "bottom", originalEvent);
|
|
393
|
+
}
|
|
394
|
+
clearFilters() {
|
|
395
|
+
this.sourceFilter.set("");
|
|
396
|
+
this.targetFilter.set("");
|
|
397
|
+
}
|
|
398
|
+
createEntries(side, items) {
|
|
399
|
+
return items.map((item, index) => ({
|
|
400
|
+
item,
|
|
401
|
+
key: this.itemKey(item, index),
|
|
402
|
+
index,
|
|
403
|
+
optionId: `${this.componentId}-${side}-option-${index}`
|
|
404
|
+
}));
|
|
405
|
+
}
|
|
406
|
+
filterEntries(entries, filter) {
|
|
407
|
+
const query = filter.trim().toLocaleLowerCase();
|
|
408
|
+
if (!query) return entries;
|
|
409
|
+
return entries.filter((entry) => this.filterProperties().some((property) => {
|
|
410
|
+
const value = this.propertyValue(entry.item, property);
|
|
411
|
+
if (value == null) return false;
|
|
412
|
+
const candidate = String(value).toLocaleLowerCase();
|
|
413
|
+
return this.filterMatchMode() === "startsWith" ? candidate.startsWith(query) : candidate.includes(query);
|
|
414
|
+
}));
|
|
415
|
+
}
|
|
416
|
+
itemKey(item, index) {
|
|
417
|
+
const value = this.propertyValue(item, this.dataKey());
|
|
418
|
+
return value == null ? String(index) : String(value);
|
|
419
|
+
}
|
|
420
|
+
selection(side) {
|
|
421
|
+
return side === "source" ? this.sourceSelectedKeys() : this.targetSelectedKeys();
|
|
422
|
+
}
|
|
423
|
+
selectionModel(side) {
|
|
424
|
+
return side === "source" ? this.sourceSelectedKeys : this.targetSelectedKeys;
|
|
425
|
+
}
|
|
426
|
+
filterModel(side) {
|
|
427
|
+
return side === "source" ? this.sourceFilter : this.targetFilter;
|
|
428
|
+
}
|
|
429
|
+
activeKey(side) {
|
|
430
|
+
return side === "source" ? this.activeSourceKey : this.activeTargetKey;
|
|
431
|
+
}
|
|
432
|
+
selectionAnchor(side) {
|
|
433
|
+
return side === "source" ? this.sourceSelectionAnchor : this.targetSelectionAnchor;
|
|
434
|
+
}
|
|
435
|
+
moveActive(side, direction) {
|
|
436
|
+
const entries = this.filteredEntries(side);
|
|
437
|
+
if (!entries.length) return;
|
|
438
|
+
const currentIndex = entries.findIndex((entry) => entry.key === this.activeKey(side)());
|
|
439
|
+
const nextIndex = currentIndex < 0 ? direction === 1 ? 0 : entries.length - 1 : Math.max(0, Math.min(entries.length - 1, currentIndex + direction));
|
|
440
|
+
this.activeKey(side).set(entries[nextIndex]?.key ?? null);
|
|
441
|
+
}
|
|
442
|
+
moveActiveToEdge(side, edge) {
|
|
443
|
+
const entries = this.filteredEntries(side);
|
|
444
|
+
const entry = edge === "start" ? entries[0] : entries[entries.length - 1];
|
|
445
|
+
this.activeKey(side).set(entry?.key ?? null);
|
|
446
|
+
}
|
|
447
|
+
toggleActive(side, originalEvent) {
|
|
448
|
+
const entries = this.filteredEntries(side);
|
|
449
|
+
const activeKey = this.activeKey(side)() ?? entries[0]?.key;
|
|
450
|
+
if (!activeKey) return;
|
|
451
|
+
this.activeKey(side).set(activeKey);
|
|
452
|
+
const selected = this.selection(side);
|
|
453
|
+
this.selectionModel(side).set(selected.includes(activeKey) ? selected.filter((key) => key !== activeKey) : [...selected, activeKey]);
|
|
454
|
+
this.selectionAnchor(side).set(activeKey);
|
|
455
|
+
this.emitSelection(side, originalEvent);
|
|
456
|
+
}
|
|
457
|
+
transfer(direction, all, originalEvent) {
|
|
458
|
+
if (!this.canTransfer(direction, all)) return;
|
|
459
|
+
const fromSide = direction === "to-target" ? "source" : "target";
|
|
460
|
+
const entries = all ? this.collection(fromSide).map((item, index) => ({
|
|
461
|
+
item,
|
|
462
|
+
key: this.itemKey(item, index)
|
|
463
|
+
})) : this.collection(fromSide).map((item, index) => ({
|
|
464
|
+
item,
|
|
465
|
+
key: this.itemKey(item, index)
|
|
466
|
+
})).filter((entry) => this.selection(fromSide).includes(entry.key));
|
|
467
|
+
const allowedEntries = direction === "to-target" ? entries.slice(0, this.availableTargetSlots()) : entries;
|
|
468
|
+
this.transferKeys(direction, allowedEntries.map((entry) => entry.key), originalEvent);
|
|
469
|
+
}
|
|
470
|
+
transferKeys(direction, keys, originalEvent, beforeKey = null) {
|
|
471
|
+
if (this.disabled() || !keys.length) return;
|
|
472
|
+
const fromSide = direction === "to-target" ? "source" : "target";
|
|
473
|
+
const keySet = new Set(keys);
|
|
474
|
+
const fromEntries = this.collection(fromSide).map((item, index) => ({
|
|
475
|
+
item,
|
|
476
|
+
key: this.itemKey(item, index)
|
|
477
|
+
}));
|
|
478
|
+
let movedEntries = fromEntries.filter((entry) => keySet.has(entry.key));
|
|
479
|
+
if (direction === "to-target") movedEntries = movedEntries.slice(0, this.availableTargetSlots());
|
|
480
|
+
if (!movedEntries.length) return;
|
|
481
|
+
const movedKeys = new Set(movedEntries.map((entry) => entry.key));
|
|
482
|
+
const moved = movedEntries.map((entry) => entry.item);
|
|
483
|
+
const remaining = fromEntries.filter((entry) => !movedKeys.has(entry.key)).map((entry) => entry.item);
|
|
484
|
+
const destination = direction === "to-target" ? this.target() : this.source();
|
|
485
|
+
const destinationEntries = destination.map((item, index) => ({
|
|
486
|
+
item,
|
|
487
|
+
key: this.itemKey(item, index)
|
|
488
|
+
}));
|
|
489
|
+
const requestedIndex = beforeKey == null ? destinationEntries.length : destinationEntries.findIndex((entry) => entry.key === beforeKey);
|
|
490
|
+
const insertionIndex = requestedIndex < 0 ? destinationEntries.length : requestedIndex;
|
|
491
|
+
const nextDestination = [
|
|
492
|
+
...destination.slice(0, insertionIndex),
|
|
493
|
+
...moved,
|
|
494
|
+
...destination.slice(insertionIndex)
|
|
495
|
+
];
|
|
496
|
+
if (direction === "to-target") {
|
|
497
|
+
this.source.set(remaining);
|
|
498
|
+
this.target.set(nextDestination);
|
|
499
|
+
this.sourceSelectedKeys.set(this.sourceSelectedKeys().filter((key) => !movedKeys.has(key)));
|
|
500
|
+
this.activeSourceKey.set(null);
|
|
501
|
+
} else {
|
|
502
|
+
this.target.set(remaining);
|
|
503
|
+
this.source.set(nextDestination);
|
|
504
|
+
this.targetSelectedKeys.set(this.targetSelectedKeys().filter((key) => !movedKeys.has(key)));
|
|
505
|
+
this.activeTargetKey.set(null);
|
|
506
|
+
}
|
|
507
|
+
const event = {
|
|
508
|
+
originalEvent,
|
|
509
|
+
direction,
|
|
510
|
+
items: moved,
|
|
511
|
+
source: this.source(),
|
|
512
|
+
target: this.target()
|
|
513
|
+
};
|
|
514
|
+
this.transferred.emit(event);
|
|
515
|
+
if (direction === "to-target") this.movedToTarget.emit(event);
|
|
516
|
+
else this.movedToSource.emit(event);
|
|
517
|
+
this.announcement.set(`${moved.length} item${moved.length === 1 ? "" : "s"} moved to ${direction === "to-target" ? this.targetHeader() : this.sourceHeader()}.`);
|
|
518
|
+
}
|
|
519
|
+
availableTargetSlots() {
|
|
520
|
+
const limit = this.targetLimit();
|
|
521
|
+
return limit == null ? Number.MAX_SAFE_INTEGER : Math.max(0, limit - this.target().length);
|
|
522
|
+
}
|
|
523
|
+
selectedIndexes(side) {
|
|
524
|
+
const selected = new Set(this.selection(side));
|
|
525
|
+
return this.collection(side).map((item, index) => selected.has(this.itemKey(item, index)) ? index : -1).filter((index) => index >= 0);
|
|
526
|
+
}
|
|
527
|
+
reorderKeysBefore(side, keys, beforeKey, originalEvent) {
|
|
528
|
+
const keySet = new Set(keys);
|
|
529
|
+
const entries = this.collection(side).map((item, index) => ({
|
|
530
|
+
item,
|
|
531
|
+
key: this.itemKey(item, index)
|
|
532
|
+
}));
|
|
533
|
+
const moving = entries.filter((entry) => keySet.has(entry.key));
|
|
534
|
+
if (!moving.length) return;
|
|
535
|
+
const remaining = entries.filter((entry) => !keySet.has(entry.key));
|
|
536
|
+
const requestedIndex = beforeKey == null ? remaining.length : remaining.findIndex((entry) => entry.key === beforeKey);
|
|
537
|
+
const insertionIndex = requestedIndex < 0 ? remaining.length : requestedIndex;
|
|
538
|
+
const next = [
|
|
539
|
+
...remaining.slice(0, insertionIndex),
|
|
540
|
+
...moving,
|
|
541
|
+
...remaining.slice(insertionIndex)
|
|
542
|
+
].map((entry) => entry.item);
|
|
543
|
+
this.setReordered(side, next, originalEvent);
|
|
544
|
+
}
|
|
545
|
+
reorderByStep(side, direction, originalEvent) {
|
|
546
|
+
const selected = new Set(this.selection(side));
|
|
547
|
+
const next = [...this.collection(side)];
|
|
548
|
+
const indexes = direction === -1 ? this.selectedIndexes(side) : [...this.selectedIndexes(side)].sort((left, right) => right - left);
|
|
549
|
+
for (const index of indexes) {
|
|
550
|
+
const targetIndex = index + direction;
|
|
551
|
+
if (targetIndex < 0 || targetIndex >= next.length) continue;
|
|
552
|
+
if (selected.has(this.itemKey(next[targetIndex], targetIndex))) continue;
|
|
553
|
+
[next[index], next[targetIndex]] = [next[targetIndex], next[index]];
|
|
554
|
+
}
|
|
555
|
+
this.setReordered(side, next, originalEvent);
|
|
556
|
+
}
|
|
557
|
+
reorderToEdge(side, edge, originalEvent) {
|
|
558
|
+
const selected = new Set(this.selection(side));
|
|
559
|
+
const chosen = this.collection(side).filter((item, index) => selected.has(this.itemKey(item, index)));
|
|
560
|
+
const remaining = this.collection(side).filter((item, index) => !selected.has(this.itemKey(item, index)));
|
|
561
|
+
this.setReordered(side, edge === "top" ? [...chosen, ...remaining] : [...remaining, ...chosen], originalEvent);
|
|
562
|
+
}
|
|
563
|
+
setReordered(side, items, originalEvent) {
|
|
564
|
+
if (side === "source") this.source.set(items);
|
|
565
|
+
else this.target.set(items);
|
|
566
|
+
const event = {
|
|
567
|
+
originalEvent,
|
|
568
|
+
side,
|
|
569
|
+
items,
|
|
570
|
+
selectedKeys: this.selection(side)
|
|
571
|
+
};
|
|
572
|
+
this.reordered.emit(event);
|
|
573
|
+
if (side === "source") this.sourceReordered.emit(event);
|
|
574
|
+
else this.targetReordered.emit(event);
|
|
575
|
+
this.announcement.set(`Selected ${this.paneHeader(side)} items reordered.`);
|
|
576
|
+
}
|
|
577
|
+
emitSelection(side, originalEvent) {
|
|
578
|
+
const selected = new Set(this.selection(side));
|
|
579
|
+
this.selectionChanged.emit({
|
|
580
|
+
originalEvent,
|
|
581
|
+
side,
|
|
582
|
+
selectedKeys: this.selection(side),
|
|
583
|
+
selectedItems: this.collection(side).filter((item, index) => selected.has(this.itemKey(item, index)))
|
|
584
|
+
});
|
|
585
|
+
}
|
|
586
|
+
propertyValue(item, property) {
|
|
587
|
+
return Object.prototype.hasOwnProperty.call(item, property) ? item[property] : void 0;
|
|
588
|
+
}
|
|
589
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
590
|
+
minVersion: "12.0.0",
|
|
591
|
+
version: "22.2.2",
|
|
592
|
+
ngImport: i0,
|
|
593
|
+
type: AerisPickList,
|
|
594
|
+
deps: [],
|
|
595
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
596
|
+
});
|
|
597
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
598
|
+
minVersion: "17.0.0",
|
|
599
|
+
version: "22.2.2",
|
|
600
|
+
type: AerisPickList,
|
|
601
|
+
isStandalone: true,
|
|
602
|
+
selector: "aeris-pick-list",
|
|
603
|
+
inputs: {
|
|
604
|
+
source: {
|
|
605
|
+
classPropertyName: "source",
|
|
606
|
+
publicName: "source",
|
|
607
|
+
isSignal: true,
|
|
608
|
+
isRequired: false,
|
|
609
|
+
transformFunction: null
|
|
610
|
+
},
|
|
611
|
+
target: {
|
|
612
|
+
classPropertyName: "target",
|
|
613
|
+
publicName: "target",
|
|
614
|
+
isSignal: true,
|
|
615
|
+
isRequired: false,
|
|
616
|
+
transformFunction: null
|
|
617
|
+
},
|
|
618
|
+
sourceSelectedKeys: {
|
|
619
|
+
classPropertyName: "sourceSelectedKeys",
|
|
620
|
+
publicName: "sourceSelectedKeys",
|
|
621
|
+
isSignal: true,
|
|
622
|
+
isRequired: false,
|
|
623
|
+
transformFunction: null
|
|
624
|
+
},
|
|
625
|
+
targetSelectedKeys: {
|
|
626
|
+
classPropertyName: "targetSelectedKeys",
|
|
627
|
+
publicName: "targetSelectedKeys",
|
|
628
|
+
isSignal: true,
|
|
629
|
+
isRequired: false,
|
|
630
|
+
transformFunction: null
|
|
631
|
+
},
|
|
632
|
+
sourceFilter: {
|
|
633
|
+
classPropertyName: "sourceFilter",
|
|
634
|
+
publicName: "sourceFilter",
|
|
635
|
+
isSignal: true,
|
|
636
|
+
isRequired: false,
|
|
637
|
+
transformFunction: null
|
|
638
|
+
},
|
|
639
|
+
targetFilter: {
|
|
640
|
+
classPropertyName: "targetFilter",
|
|
641
|
+
publicName: "targetFilter",
|
|
642
|
+
isSignal: true,
|
|
643
|
+
isRequired: false,
|
|
644
|
+
transformFunction: null
|
|
645
|
+
},
|
|
646
|
+
optionLabel: {
|
|
647
|
+
classPropertyName: "optionLabel",
|
|
648
|
+
publicName: "optionLabel",
|
|
649
|
+
isSignal: true,
|
|
650
|
+
isRequired: false,
|
|
651
|
+
transformFunction: null
|
|
652
|
+
},
|
|
653
|
+
dataKey: {
|
|
654
|
+
classPropertyName: "dataKey",
|
|
655
|
+
publicName: "dataKey",
|
|
656
|
+
isSignal: true,
|
|
657
|
+
isRequired: false,
|
|
658
|
+
transformFunction: null
|
|
659
|
+
},
|
|
660
|
+
filterBy: {
|
|
661
|
+
classPropertyName: "filterBy",
|
|
662
|
+
publicName: "filterBy",
|
|
663
|
+
isSignal: true,
|
|
664
|
+
isRequired: false,
|
|
665
|
+
transformFunction: null
|
|
666
|
+
},
|
|
667
|
+
filterMatchMode: {
|
|
668
|
+
classPropertyName: "filterMatchMode",
|
|
669
|
+
publicName: "filterMatchMode",
|
|
670
|
+
isSignal: true,
|
|
671
|
+
isRequired: false,
|
|
672
|
+
transformFunction: null
|
|
673
|
+
},
|
|
674
|
+
sourceHeader: {
|
|
675
|
+
classPropertyName: "sourceHeader",
|
|
676
|
+
publicName: "sourceHeader",
|
|
677
|
+
isSignal: true,
|
|
678
|
+
isRequired: false,
|
|
679
|
+
transformFunction: null
|
|
680
|
+
},
|
|
681
|
+
targetHeader: {
|
|
682
|
+
classPropertyName: "targetHeader",
|
|
683
|
+
publicName: "targetHeader",
|
|
684
|
+
isSignal: true,
|
|
685
|
+
isRequired: false,
|
|
686
|
+
transformFunction: null
|
|
687
|
+
},
|
|
688
|
+
sourceAriaLabel: {
|
|
689
|
+
classPropertyName: "sourceAriaLabel",
|
|
690
|
+
publicName: "sourceAriaLabel",
|
|
691
|
+
isSignal: true,
|
|
692
|
+
isRequired: false,
|
|
693
|
+
transformFunction: null
|
|
694
|
+
},
|
|
695
|
+
targetAriaLabel: {
|
|
696
|
+
classPropertyName: "targetAriaLabel",
|
|
697
|
+
publicName: "targetAriaLabel",
|
|
698
|
+
isSignal: true,
|
|
699
|
+
isRequired: false,
|
|
700
|
+
transformFunction: null
|
|
701
|
+
},
|
|
702
|
+
ariaLabel: {
|
|
703
|
+
classPropertyName: "ariaLabel",
|
|
704
|
+
publicName: "ariaLabel",
|
|
705
|
+
isSignal: true,
|
|
706
|
+
isRequired: false,
|
|
707
|
+
transformFunction: null
|
|
708
|
+
},
|
|
709
|
+
sourceFilterPlaceholder: {
|
|
710
|
+
classPropertyName: "sourceFilterPlaceholder",
|
|
711
|
+
publicName: "sourceFilterPlaceholder",
|
|
712
|
+
isSignal: true,
|
|
713
|
+
isRequired: false,
|
|
714
|
+
transformFunction: null
|
|
715
|
+
},
|
|
716
|
+
targetFilterPlaceholder: {
|
|
717
|
+
classPropertyName: "targetFilterPlaceholder",
|
|
718
|
+
publicName: "targetFilterPlaceholder",
|
|
719
|
+
isSignal: true,
|
|
720
|
+
isRequired: false,
|
|
721
|
+
transformFunction: null
|
|
722
|
+
},
|
|
723
|
+
sourceFilterAriaLabel: {
|
|
724
|
+
classPropertyName: "sourceFilterAriaLabel",
|
|
725
|
+
publicName: "sourceFilterAriaLabel",
|
|
726
|
+
isSignal: true,
|
|
727
|
+
isRequired: false,
|
|
728
|
+
transformFunction: null
|
|
729
|
+
},
|
|
730
|
+
targetFilterAriaLabel: {
|
|
731
|
+
classPropertyName: "targetFilterAriaLabel",
|
|
732
|
+
publicName: "targetFilterAriaLabel",
|
|
733
|
+
isSignal: true,
|
|
734
|
+
isRequired: false,
|
|
735
|
+
transformFunction: null
|
|
736
|
+
},
|
|
737
|
+
sourceEmptyMessage: {
|
|
738
|
+
classPropertyName: "sourceEmptyMessage",
|
|
739
|
+
publicName: "sourceEmptyMessage",
|
|
740
|
+
isSignal: true,
|
|
741
|
+
isRequired: false,
|
|
742
|
+
transformFunction: null
|
|
743
|
+
},
|
|
744
|
+
targetEmptyMessage: {
|
|
745
|
+
classPropertyName: "targetEmptyMessage",
|
|
746
|
+
publicName: "targetEmptyMessage",
|
|
747
|
+
isSignal: true,
|
|
748
|
+
isRequired: false,
|
|
749
|
+
transformFunction: null
|
|
750
|
+
},
|
|
751
|
+
sourceFilterEmptyMessage: {
|
|
752
|
+
classPropertyName: "sourceFilterEmptyMessage",
|
|
753
|
+
publicName: "sourceFilterEmptyMessage",
|
|
754
|
+
isSignal: true,
|
|
755
|
+
isRequired: false,
|
|
756
|
+
transformFunction: null
|
|
757
|
+
},
|
|
758
|
+
targetFilterEmptyMessage: {
|
|
759
|
+
classPropertyName: "targetFilterEmptyMessage",
|
|
760
|
+
publicName: "targetFilterEmptyMessage",
|
|
761
|
+
isSignal: true,
|
|
762
|
+
isRequired: false,
|
|
763
|
+
transformFunction: null
|
|
764
|
+
},
|
|
765
|
+
showFilter: {
|
|
766
|
+
classPropertyName: "showFilter",
|
|
767
|
+
publicName: "showFilter",
|
|
768
|
+
isSignal: true,
|
|
769
|
+
isRequired: false,
|
|
770
|
+
transformFunction: null
|
|
771
|
+
},
|
|
772
|
+
showSourceControls: {
|
|
773
|
+
classPropertyName: "showSourceControls",
|
|
774
|
+
publicName: "showSourceControls",
|
|
775
|
+
isSignal: true,
|
|
776
|
+
isRequired: false,
|
|
777
|
+
transformFunction: null
|
|
778
|
+
},
|
|
779
|
+
showTargetControls: {
|
|
780
|
+
classPropertyName: "showTargetControls",
|
|
781
|
+
publicName: "showTargetControls",
|
|
782
|
+
isSignal: true,
|
|
783
|
+
isRequired: false,
|
|
784
|
+
transformFunction: null
|
|
785
|
+
},
|
|
786
|
+
showTransferControls: {
|
|
787
|
+
classPropertyName: "showTransferControls",
|
|
788
|
+
publicName: "showTransferControls",
|
|
789
|
+
isSignal: true,
|
|
790
|
+
isRequired: false,
|
|
791
|
+
transformFunction: null
|
|
792
|
+
},
|
|
793
|
+
transferOnDoubleClick: {
|
|
794
|
+
classPropertyName: "transferOnDoubleClick",
|
|
795
|
+
publicName: "transferOnDoubleClick",
|
|
796
|
+
isSignal: true,
|
|
797
|
+
isRequired: false,
|
|
798
|
+
transformFunction: null
|
|
799
|
+
},
|
|
800
|
+
dragDrop: {
|
|
801
|
+
classPropertyName: "dragDrop",
|
|
802
|
+
publicName: "dragDrop",
|
|
803
|
+
isSignal: true,
|
|
804
|
+
isRequired: false,
|
|
805
|
+
transformFunction: null
|
|
806
|
+
},
|
|
807
|
+
disabled: {
|
|
808
|
+
classPropertyName: "disabled",
|
|
809
|
+
publicName: "disabled",
|
|
810
|
+
isSignal: true,
|
|
811
|
+
isRequired: false,
|
|
812
|
+
transformFunction: null
|
|
813
|
+
},
|
|
814
|
+
fluid: {
|
|
815
|
+
classPropertyName: "fluid",
|
|
816
|
+
publicName: "fluid",
|
|
817
|
+
isSignal: true,
|
|
818
|
+
isRequired: false,
|
|
819
|
+
transformFunction: null
|
|
820
|
+
},
|
|
821
|
+
targetLimit: {
|
|
822
|
+
classPropertyName: "targetLimit",
|
|
823
|
+
publicName: "targetLimit",
|
|
824
|
+
isSignal: true,
|
|
825
|
+
isRequired: false,
|
|
826
|
+
transformFunction: null
|
|
827
|
+
},
|
|
828
|
+
moveToTargetAriaLabel: {
|
|
829
|
+
classPropertyName: "moveToTargetAriaLabel",
|
|
830
|
+
publicName: "moveToTargetAriaLabel",
|
|
831
|
+
isSignal: true,
|
|
832
|
+
isRequired: false,
|
|
833
|
+
transformFunction: null
|
|
834
|
+
},
|
|
835
|
+
moveAllToTargetAriaLabel: {
|
|
836
|
+
classPropertyName: "moveAllToTargetAriaLabel",
|
|
837
|
+
publicName: "moveAllToTargetAriaLabel",
|
|
838
|
+
isSignal: true,
|
|
839
|
+
isRequired: false,
|
|
840
|
+
transformFunction: null
|
|
841
|
+
},
|
|
842
|
+
moveToSourceAriaLabel: {
|
|
843
|
+
classPropertyName: "moveToSourceAriaLabel",
|
|
844
|
+
publicName: "moveToSourceAriaLabel",
|
|
845
|
+
isSignal: true,
|
|
846
|
+
isRequired: false,
|
|
847
|
+
transformFunction: null
|
|
848
|
+
},
|
|
849
|
+
moveAllToSourceAriaLabel: {
|
|
850
|
+
classPropertyName: "moveAllToSourceAriaLabel",
|
|
851
|
+
publicName: "moveAllToSourceAriaLabel",
|
|
852
|
+
isSignal: true,
|
|
853
|
+
isRequired: false,
|
|
854
|
+
transformFunction: null
|
|
855
|
+
}
|
|
856
|
+
},
|
|
857
|
+
outputs: {
|
|
858
|
+
source: "sourceChange",
|
|
859
|
+
target: "targetChange",
|
|
860
|
+
sourceSelectedKeys: "sourceSelectedKeysChange",
|
|
861
|
+
targetSelectedKeys: "targetSelectedKeysChange",
|
|
862
|
+
sourceFilter: "sourceFilterChange",
|
|
863
|
+
targetFilter: "targetFilterChange",
|
|
864
|
+
selectionChanged: "selectionChanged",
|
|
865
|
+
transferred: "transferred",
|
|
866
|
+
movedToTarget: "movedToTarget",
|
|
867
|
+
movedToSource: "movedToSource",
|
|
868
|
+
reordered: "reordered",
|
|
869
|
+
sourceReordered: "sourceReordered",
|
|
870
|
+
targetReordered: "targetReordered",
|
|
871
|
+
filterChanged: "filterChanged",
|
|
872
|
+
dragStarted: "dragStarted",
|
|
873
|
+
dragEnded: "dragEnded"
|
|
874
|
+
},
|
|
875
|
+
queries: [{
|
|
876
|
+
propertyName: "itemTemplate",
|
|
877
|
+
first: true,
|
|
878
|
+
predicate: AerisPickListItemTemplate,
|
|
879
|
+
descendants: true,
|
|
880
|
+
isSignal: true
|
|
881
|
+
}, {
|
|
882
|
+
propertyName: "emptyTemplate",
|
|
883
|
+
first: true,
|
|
884
|
+
predicate: AerisPickListEmptyTemplate,
|
|
885
|
+
descendants: true,
|
|
886
|
+
isSignal: true
|
|
887
|
+
}],
|
|
888
|
+
ngImport: i0,
|
|
889
|
+
template: `
|
|
645
890
|
<div
|
|
646
891
|
class="aeris-pick-list"
|
|
647
892
|
role="group"
|
|
@@ -780,11 +1025,32 @@ class AerisPickList {
|
|
|
780
1025
|
<ng-container [ngTemplateOutlet]="pane" [ngTemplateOutletContext]="{ $implicit: 'target' }" />
|
|
781
1026
|
<span class="aeris-pick-list__visually-hidden" role="status" aria-live="polite">{{ announcement() }}</span>
|
|
782
1027
|
</div>
|
|
783
|
-
`,
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
1028
|
+
`,
|
|
1029
|
+
isInline: true,
|
|
1030
|
+
styles: [":host{display:block;min-width:0}.aeris-pick-list{width:max-content;max-width:100%;display:grid;grid-template-columns:minmax(15rem,1fr) auto minmax(15rem,1fr);gap:var(--aeris-pick-list-gap, calc(var(--aeris-density-gap, .5rem) + .375rem));align-items:stretch;color:var(--aeris-text, #111111)}.aeris-pick-list[data-fluid=true]{width:100%}.aeris-pick-list__pane{min-width:0;display:flex;flex-direction:column;border:1px solid var(--aeris-pick-list-border, var(--aeris-border));border-radius:var(--aeris-pick-list-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-pick-list-background, var(--aeris-surface, #fff));overflow:hidden}.aeris-pick-list__header{min-height:calc(var(--aeris-item-height, 2.5rem) + .5rem);display:flex;align-items:center;justify-content:space-between;gap:calc(var(--aeris-density-gap, .5rem) * 2);padding:var(--aeris-pick-list-header-padding, var(--aeris-item-padding-y, .5rem) var(--aeris-item-padding-x, .75rem));border-bottom:1px solid var(--aeris-border);background:var(--aeris-surface-2, #f3f3f3)}.aeris-pick-list__header strong{font-size:var(--aeris-font-size-lg, .875rem)}.aeris-pick-list__header span{min-width:1.5rem;min-height:1.5rem;display:inline-grid;place-items:center;padding-inline:.375rem;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-surface, #fff);color:var(--aeris-text-2, #454545);font-size:var(--aeris-font-size-xs, .6875rem);font-weight:var(--aeris-font-weight-bold, 700)}.aeris-pick-list__filter{position:relative;display:block;padding:var(--aeris-item-padding-y, .5rem);border-bottom:1px solid var(--aeris-border)}.aeris-pick-list__filter input{width:100%;height:var(--aeris-pick-list-filter-height, var(--aeris-control-height, 2.625rem));padding:0 var(--aeris-control-padding-x, .75rem) 0 calc(var(--aeris-control-padding-x, .75rem) + 1.375rem);border:1px solid var(--aeris-border, #efefef);border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:var(--aeris-surface, #fff);color:var(--aeris-text, #111111);font:inherit;font-size:var(--aeris-font-size-md, .8125rem)}.aeris-pick-list__filter input::placeholder{color:var(--aeris-text-2, #454545);opacity:.75}.aeris-pick-list__filter input:focus{border-color:var(--aeris-control-focus-border, var(--aeris-focus, #111111));outline:0;box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-focus-ring-color, var(--aeris-focus-ring-color, transparent))}.aeris-pick-list__search-icon{position:absolute;z-index:1;top:50%;left:1.375rem;width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);background:var(--aeris-text-2, #454545);transform:translateY(-50%);pointer-events:none;-webkit-mask:var(--aeris-icon-search) center/100% 100% no-repeat;mask:var(--aeris-icon-search) center/100% 100% no-repeat}.aeris-pick-list__pane-body{width:100%;min-height:var(--aeris-pick-list-min-height, 16rem);max-height:var(--aeris-pick-list-max-height, 22rem);display:grid;flex:1 1 auto;grid-template-columns:auto minmax(0,1fr);align-items:stretch;overflow:hidden}.aeris-pick-list__pane-body[data-side=target]{grid-template-columns:minmax(0,1fr) auto}.aeris-pick-list__viewport{min-width:0;min-height:0;padding:var(--aeris-overlay-padding, calc(var(--aeris-density-gap, .5rem) * .75));overflow:auto}.aeris-pick-list__viewport:only-child{grid-column:1/-1}.aeris-pick-list__viewport:focus-visible{outline:0;box-shadow:inset 0 0 0 3px color-mix(in srgb,var(--aeris-focus, #111111) 22%,transparent)}.aeris-pick-list__item{position:relative;width:100%;min-height:var(--aeris-pick-list-item-min-height, var(--aeris-item-height, 2.5rem));display:flex;align-items:center;gap:calc(var(--aeris-density-gap, .5rem) + .25rem);padding:var(--aeris-pick-list-item-padding, var(--aeris-item-padding-y, .5rem) var(--aeris-item-padding-x, .75rem));border:1px solid transparent;border-radius:var(--aeris-pick-list-item-radius, var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem)));background:transparent;color:var(--aeris-text, #111111);font-size:var(--aeris-item-font-size, .875rem);cursor:pointer;-webkit-user-select:none;user-select:none;transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),transform var(--aeris-motion-normal, .15s) var(--aeris-ease-enter, ease-out)}.aeris-pick-list__item[draggable=true]{cursor:grab}.aeris-pick-list__item[draggable=true]:active{cursor:grabbing}@media(hover:hover){.aeris-pick-list__item:hover{background:var(--aeris-interactive-hover, var(--aeris-surface-2, #f3f3f3))}}.aeris-pick-list__item[data-selected=true]{border-color:color-mix(in srgb,var(--aeris-primary, #111111) 44%,var(--aeris-border, #efefef));background:var(--aeris-primary-soft, #eef2e6);color:var(--aeris-text, #111111)}.aeris-pick-list__item[data-active=true]{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--aeris-focus, #111111) 44%,transparent)}.aeris-pick-list__item[data-dragging=true]{opacity:.48;transform:scale(.985)}.aeris-pick-list__item[data-drop-target=true]:before{position:absolute;z-index:1;top:-.2rem;right:.25rem;left:.25rem;height:2px;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-primary, #111111);content:\"\"}.aeris-pick-list__empty{min-height:10rem;display:grid;place-items:center;padding:calc(var(--aeris-item-padding-y, .5rem) * 2) calc(var(--aeris-item-padding-x, .75rem) * 1.35);color:var(--aeris-text-muted, #6d7068);font-size:var(--aeris-font-size-md, .8125rem);text-align:center}.aeris-pick-list__reorder-controls,.aeris-pick-list__transfer-controls{display:grid;align-content:center;gap:calc(var(--aeris-density-gap, .5rem) * .75)}.aeris-pick-list__reorder-controls{align-self:stretch;padding:var(--aeris-pick-list-controls-padding, var(--aeris-item-padding-y, .5rem));border-right:1px solid var(--aeris-border);background:color-mix(in srgb,var(--aeris-surface-2, #f3f3f3) 54%,transparent)}.aeris-pick-list__pane-body[data-side=target] .aeris-pick-list__reorder-controls{border-right:0;border-left:1px solid var(--aeris-border)}.aeris-pick-list__transfer-controls{align-self:stretch;justify-items:center}.aeris-pick-list__reorder-controls button,.aeris-pick-list__transfer-controls button{width:max(2rem,var(--aeris-control-height, 2.625rem) - .5rem);height:max(2rem,var(--aeris-control-height, 2.625rem) - .5rem);display:grid;place-items:center;padding:0;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:var(--aeris-surface, #fff);color:var(--aeris-text, #111111);cursor:pointer}@media(hover:hover){.aeris-pick-list__reorder-controls button:not(:disabled):hover,.aeris-pick-list__transfer-controls button:not(:disabled):hover{border-color:var(--aeris-focus, #111111);background:var(--aeris-surface-2, #f3f3f3)}}.aeris-pick-list__reorder-controls button:focus-visible,.aeris-pick-list__transfer-controls button:focus-visible{outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-focus, #111111) 24%,transparent)}.aeris-pick-list__reorder-controls button:disabled,.aeris-pick-list__transfer-controls button:disabled{opacity:.42;cursor:not-allowed}.aeris-pick-list__reorder-controls svg,.aeris-pick-list__transfer-controls svg{width:1rem;height:1rem;display:block;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.aeris-pick-list[data-disabled=true]{opacity:var(--aeris-disabled-opacity, .52)}.aeris-pick-list__visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:52rem){.aeris-pick-list{grid-template-columns:minmax(0,1fr)}.aeris-pick-list__transfer-controls{grid-template-columns:repeat(4,auto);justify-content:center}.aeris-pick-list__transfer-controls svg{transform:rotate(90deg)}}@media(max-width:34rem){.aeris-pick-list__pane-body,.aeris-pick-list__pane-body[data-side=target]{min-height:0;max-height:none;grid-template-columns:minmax(0,1fr);overflow:visible}.aeris-pick-list__viewport{min-height:var(--aeris-pick-list-min-height, 16rem);max-height:var(--aeris-pick-list-max-height, 22rem)}.aeris-pick-list__reorder-controls,.aeris-pick-list__pane-body[data-side=target] .aeris-pick-list__reorder-controls{grid-row:1;grid-template-columns:repeat(4,auto);justify-content:start;border-right:0;border-left:0;border-bottom:1px solid var(--aeris-border)}}@media(prefers-reduced-motion:reduce){.aeris-pick-list__item{scroll-behavior:auto;transition:none}.aeris-pick-list__item[data-dragging=true]{transform:none}}@media(pointer:coarse){input:not([type=checkbox]):not([type=radio]),textarea{font-size:var(--aeris-mobile-input-font-size, 1rem)}}\n"],
|
|
1031
|
+
dependencies: [{
|
|
1032
|
+
kind: "directive",
|
|
1033
|
+
type: NgTemplateOutlet,
|
|
1034
|
+
selector: "[ngTemplateOutlet]",
|
|
1035
|
+
inputs: [
|
|
1036
|
+
"ngTemplateOutletContext",
|
|
1037
|
+
"ngTemplateOutlet",
|
|
1038
|
+
"ngTemplateOutletInjector"
|
|
1039
|
+
]
|
|
1040
|
+
}]
|
|
1041
|
+
});
|
|
1042
|
+
};
|
|
1043
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1044
|
+
minVersion: "12.0.0",
|
|
1045
|
+
version: "22.2.2",
|
|
1046
|
+
ngImport: i0,
|
|
1047
|
+
type: AerisPickList,
|
|
1048
|
+
decorators: [{
|
|
1049
|
+
type: Component,
|
|
1050
|
+
args: [{
|
|
1051
|
+
selector: "aeris-pick-list",
|
|
1052
|
+
imports: [NgTemplateOutlet],
|
|
1053
|
+
template: `
|
|
788
1054
|
<div
|
|
789
1055
|
class="aeris-pick-list"
|
|
790
1056
|
role="group"
|
|
@@ -923,17 +1189,372 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
923
1189
|
<ng-container [ngTemplateOutlet]="pane" [ngTemplateOutletContext]="{ $implicit: 'target' }" />
|
|
924
1190
|
<span class="aeris-pick-list__visually-hidden" role="status" aria-live="polite">{{ announcement() }}</span>
|
|
925
1191
|
</div>
|
|
926
|
-
`,
|
|
927
|
-
|
|
1192
|
+
`,
|
|
1193
|
+
styles: [":host{display:block;min-width:0}.aeris-pick-list{width:max-content;max-width:100%;display:grid;grid-template-columns:minmax(15rem,1fr) auto minmax(15rem,1fr);gap:var(--aeris-pick-list-gap, calc(var(--aeris-density-gap, .5rem) + .375rem));align-items:stretch;color:var(--aeris-text, #111111)}.aeris-pick-list[data-fluid=true]{width:100%}.aeris-pick-list__pane{min-width:0;display:flex;flex-direction:column;border:1px solid var(--aeris-pick-list-border, var(--aeris-border));border-radius:var(--aeris-pick-list-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-pick-list-background, var(--aeris-surface, #fff));overflow:hidden}.aeris-pick-list__header{min-height:calc(var(--aeris-item-height, 2.5rem) + .5rem);display:flex;align-items:center;justify-content:space-between;gap:calc(var(--aeris-density-gap, .5rem) * 2);padding:var(--aeris-pick-list-header-padding, var(--aeris-item-padding-y, .5rem) var(--aeris-item-padding-x, .75rem));border-bottom:1px solid var(--aeris-border);background:var(--aeris-surface-2, #f3f3f3)}.aeris-pick-list__header strong{font-size:var(--aeris-font-size-lg, .875rem)}.aeris-pick-list__header span{min-width:1.5rem;min-height:1.5rem;display:inline-grid;place-items:center;padding-inline:.375rem;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-surface, #fff);color:var(--aeris-text-2, #454545);font-size:var(--aeris-font-size-xs, .6875rem);font-weight:var(--aeris-font-weight-bold, 700)}.aeris-pick-list__filter{position:relative;display:block;padding:var(--aeris-item-padding-y, .5rem);border-bottom:1px solid var(--aeris-border)}.aeris-pick-list__filter input{width:100%;height:var(--aeris-pick-list-filter-height, var(--aeris-control-height, 2.625rem));padding:0 var(--aeris-control-padding-x, .75rem) 0 calc(var(--aeris-control-padding-x, .75rem) + 1.375rem);border:1px solid var(--aeris-border, #efefef);border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:var(--aeris-surface, #fff);color:var(--aeris-text, #111111);font:inherit;font-size:var(--aeris-font-size-md, .8125rem)}.aeris-pick-list__filter input::placeholder{color:var(--aeris-text-2, #454545);opacity:.75}.aeris-pick-list__filter input:focus{border-color:var(--aeris-control-focus-border, var(--aeris-focus, #111111));outline:0;box-shadow:0 0 0 var(--aeris-focus-ring-width, 3px) var(--aeris-control-focus-ring-color, var(--aeris-focus-ring-color, transparent))}.aeris-pick-list__search-icon{position:absolute;z-index:1;top:50%;left:1.375rem;width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);background:var(--aeris-text-2, #454545);transform:translateY(-50%);pointer-events:none;-webkit-mask:var(--aeris-icon-search) center/100% 100% no-repeat;mask:var(--aeris-icon-search) center/100% 100% no-repeat}.aeris-pick-list__pane-body{width:100%;min-height:var(--aeris-pick-list-min-height, 16rem);max-height:var(--aeris-pick-list-max-height, 22rem);display:grid;flex:1 1 auto;grid-template-columns:auto minmax(0,1fr);align-items:stretch;overflow:hidden}.aeris-pick-list__pane-body[data-side=target]{grid-template-columns:minmax(0,1fr) auto}.aeris-pick-list__viewport{min-width:0;min-height:0;padding:var(--aeris-overlay-padding, calc(var(--aeris-density-gap, .5rem) * .75));overflow:auto}.aeris-pick-list__viewport:only-child{grid-column:1/-1}.aeris-pick-list__viewport:focus-visible{outline:0;box-shadow:inset 0 0 0 3px color-mix(in srgb,var(--aeris-focus, #111111) 22%,transparent)}.aeris-pick-list__item{position:relative;width:100%;min-height:var(--aeris-pick-list-item-min-height, var(--aeris-item-height, 2.5rem));display:flex;align-items:center;gap:calc(var(--aeris-density-gap, .5rem) + .25rem);padding:var(--aeris-pick-list-item-padding, var(--aeris-item-padding-y, .5rem) var(--aeris-item-padding-x, .75rem));border:1px solid transparent;border-radius:var(--aeris-pick-list-item-radius, var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem)));background:transparent;color:var(--aeris-text, #111111);font-size:var(--aeris-item-font-size, .875rem);cursor:pointer;-webkit-user-select:none;user-select:none;transition:border-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),opacity var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),transform var(--aeris-motion-normal, .15s) var(--aeris-ease-enter, ease-out)}.aeris-pick-list__item[draggable=true]{cursor:grab}.aeris-pick-list__item[draggable=true]:active{cursor:grabbing}@media(hover:hover){.aeris-pick-list__item:hover{background:var(--aeris-interactive-hover, var(--aeris-surface-2, #f3f3f3))}}.aeris-pick-list__item[data-selected=true]{border-color:color-mix(in srgb,var(--aeris-primary, #111111) 44%,var(--aeris-border, #efefef));background:var(--aeris-primary-soft, #eef2e6);color:var(--aeris-text, #111111)}.aeris-pick-list__item[data-active=true]{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--aeris-focus, #111111) 44%,transparent)}.aeris-pick-list__item[data-dragging=true]{opacity:.48;transform:scale(.985)}.aeris-pick-list__item[data-drop-target=true]:before{position:absolute;z-index:1;top:-.2rem;right:.25rem;left:.25rem;height:2px;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-primary, #111111);content:\"\"}.aeris-pick-list__empty{min-height:10rem;display:grid;place-items:center;padding:calc(var(--aeris-item-padding-y, .5rem) * 2) calc(var(--aeris-item-padding-x, .75rem) * 1.35);color:var(--aeris-text-muted, #6d7068);font-size:var(--aeris-font-size-md, .8125rem);text-align:center}.aeris-pick-list__reorder-controls,.aeris-pick-list__transfer-controls{display:grid;align-content:center;gap:calc(var(--aeris-density-gap, .5rem) * .75)}.aeris-pick-list__reorder-controls{align-self:stretch;padding:var(--aeris-pick-list-controls-padding, var(--aeris-item-padding-y, .5rem));border-right:1px solid var(--aeris-border);background:color-mix(in srgb,var(--aeris-surface-2, #f3f3f3) 54%,transparent)}.aeris-pick-list__pane-body[data-side=target] .aeris-pick-list__reorder-controls{border-right:0;border-left:1px solid var(--aeris-border)}.aeris-pick-list__transfer-controls{align-self:stretch;justify-items:center}.aeris-pick-list__reorder-controls button,.aeris-pick-list__transfer-controls button{width:max(2rem,var(--aeris-control-height, 2.625rem) - .5rem);height:max(2rem,var(--aeris-control-height, 2.625rem) - .5rem);display:grid;place-items:center;padding:0;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:var(--aeris-surface, #fff);color:var(--aeris-text, #111111);cursor:pointer}@media(hover:hover){.aeris-pick-list__reorder-controls button:not(:disabled):hover,.aeris-pick-list__transfer-controls button:not(:disabled):hover{border-color:var(--aeris-focus, #111111);background:var(--aeris-surface-2, #f3f3f3)}}.aeris-pick-list__reorder-controls button:focus-visible,.aeris-pick-list__transfer-controls button:focus-visible{outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-focus, #111111) 24%,transparent)}.aeris-pick-list__reorder-controls button:disabled,.aeris-pick-list__transfer-controls button:disabled{opacity:.42;cursor:not-allowed}.aeris-pick-list__reorder-controls svg,.aeris-pick-list__transfer-controls svg{width:1rem;height:1rem;display:block;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.aeris-pick-list[data-disabled=true]{opacity:var(--aeris-disabled-opacity, .52)}.aeris-pick-list__visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:52rem){.aeris-pick-list{grid-template-columns:minmax(0,1fr)}.aeris-pick-list__transfer-controls{grid-template-columns:repeat(4,auto);justify-content:center}.aeris-pick-list__transfer-controls svg{transform:rotate(90deg)}}@media(max-width:34rem){.aeris-pick-list__pane-body,.aeris-pick-list__pane-body[data-side=target]{min-height:0;max-height:none;grid-template-columns:minmax(0,1fr);overflow:visible}.aeris-pick-list__viewport{min-height:var(--aeris-pick-list-min-height, 16rem);max-height:var(--aeris-pick-list-max-height, 22rem)}.aeris-pick-list__reorder-controls,.aeris-pick-list__pane-body[data-side=target] .aeris-pick-list__reorder-controls{grid-row:1;grid-template-columns:repeat(4,auto);justify-content:start;border-right:0;border-left:0;border-bottom:1px solid var(--aeris-border)}}@media(prefers-reduced-motion:reduce){.aeris-pick-list__item{scroll-behavior:auto;transition:none}.aeris-pick-list__item[data-dragging=true]{transform:none}}@media(pointer:coarse){input:not([type=checkbox]):not([type=radio]),textarea{font-size:var(--aeris-mobile-input-font-size, 1rem)}}\n"]
|
|
1194
|
+
}]
|
|
1195
|
+
}],
|
|
1196
|
+
propDecorators: {
|
|
1197
|
+
source: [{
|
|
1198
|
+
type: i0.Input,
|
|
1199
|
+
args: [{
|
|
1200
|
+
isSignal: true,
|
|
1201
|
+
alias: "source",
|
|
1202
|
+
required: false
|
|
1203
|
+
}]
|
|
1204
|
+
}, {
|
|
1205
|
+
type: i0.Output,
|
|
1206
|
+
args: ["sourceChange"]
|
|
1207
|
+
}],
|
|
1208
|
+
target: [{
|
|
1209
|
+
type: i0.Input,
|
|
1210
|
+
args: [{
|
|
1211
|
+
isSignal: true,
|
|
1212
|
+
alias: "target",
|
|
1213
|
+
required: false
|
|
1214
|
+
}]
|
|
1215
|
+
}, {
|
|
1216
|
+
type: i0.Output,
|
|
1217
|
+
args: ["targetChange"]
|
|
1218
|
+
}],
|
|
1219
|
+
sourceSelectedKeys: [{
|
|
1220
|
+
type: i0.Input,
|
|
1221
|
+
args: [{
|
|
1222
|
+
isSignal: true,
|
|
1223
|
+
alias: "sourceSelectedKeys",
|
|
1224
|
+
required: false
|
|
1225
|
+
}]
|
|
1226
|
+
}, {
|
|
1227
|
+
type: i0.Output,
|
|
1228
|
+
args: ["sourceSelectedKeysChange"]
|
|
1229
|
+
}],
|
|
1230
|
+
targetSelectedKeys: [{
|
|
1231
|
+
type: i0.Input,
|
|
1232
|
+
args: [{
|
|
1233
|
+
isSignal: true,
|
|
1234
|
+
alias: "targetSelectedKeys",
|
|
1235
|
+
required: false
|
|
1236
|
+
}]
|
|
1237
|
+
}, {
|
|
1238
|
+
type: i0.Output,
|
|
1239
|
+
args: ["targetSelectedKeysChange"]
|
|
1240
|
+
}],
|
|
1241
|
+
sourceFilter: [{
|
|
1242
|
+
type: i0.Input,
|
|
1243
|
+
args: [{
|
|
1244
|
+
isSignal: true,
|
|
1245
|
+
alias: "sourceFilter",
|
|
1246
|
+
required: false
|
|
1247
|
+
}]
|
|
1248
|
+
}, {
|
|
1249
|
+
type: i0.Output,
|
|
1250
|
+
args: ["sourceFilterChange"]
|
|
1251
|
+
}],
|
|
1252
|
+
targetFilter: [{
|
|
1253
|
+
type: i0.Input,
|
|
1254
|
+
args: [{
|
|
1255
|
+
isSignal: true,
|
|
1256
|
+
alias: "targetFilter",
|
|
1257
|
+
required: false
|
|
1258
|
+
}]
|
|
1259
|
+
}, {
|
|
1260
|
+
type: i0.Output,
|
|
1261
|
+
args: ["targetFilterChange"]
|
|
1262
|
+
}],
|
|
1263
|
+
optionLabel: [{
|
|
1264
|
+
type: i0.Input,
|
|
1265
|
+
args: [{
|
|
1266
|
+
isSignal: true,
|
|
1267
|
+
alias: "optionLabel",
|
|
1268
|
+
required: false
|
|
1269
|
+
}]
|
|
1270
|
+
}],
|
|
1271
|
+
dataKey: [{
|
|
1272
|
+
type: i0.Input,
|
|
1273
|
+
args: [{
|
|
1274
|
+
isSignal: true,
|
|
1275
|
+
alias: "dataKey",
|
|
1276
|
+
required: false
|
|
1277
|
+
}]
|
|
1278
|
+
}],
|
|
1279
|
+
filterBy: [{
|
|
1280
|
+
type: i0.Input,
|
|
1281
|
+
args: [{
|
|
1282
|
+
isSignal: true,
|
|
1283
|
+
alias: "filterBy",
|
|
1284
|
+
required: false
|
|
1285
|
+
}]
|
|
1286
|
+
}],
|
|
1287
|
+
filterMatchMode: [{
|
|
1288
|
+
type: i0.Input,
|
|
1289
|
+
args: [{
|
|
1290
|
+
isSignal: true,
|
|
1291
|
+
alias: "filterMatchMode",
|
|
1292
|
+
required: false
|
|
1293
|
+
}]
|
|
1294
|
+
}],
|
|
1295
|
+
sourceHeader: [{
|
|
1296
|
+
type: i0.Input,
|
|
1297
|
+
args: [{
|
|
1298
|
+
isSignal: true,
|
|
1299
|
+
alias: "sourceHeader",
|
|
1300
|
+
required: false
|
|
1301
|
+
}]
|
|
1302
|
+
}],
|
|
1303
|
+
targetHeader: [{
|
|
1304
|
+
type: i0.Input,
|
|
1305
|
+
args: [{
|
|
1306
|
+
isSignal: true,
|
|
1307
|
+
alias: "targetHeader",
|
|
1308
|
+
required: false
|
|
1309
|
+
}]
|
|
1310
|
+
}],
|
|
1311
|
+
sourceAriaLabel: [{
|
|
1312
|
+
type: i0.Input,
|
|
1313
|
+
args: [{
|
|
1314
|
+
isSignal: true,
|
|
1315
|
+
alias: "sourceAriaLabel",
|
|
1316
|
+
required: false
|
|
1317
|
+
}]
|
|
1318
|
+
}],
|
|
1319
|
+
targetAriaLabel: [{
|
|
1320
|
+
type: i0.Input,
|
|
1321
|
+
args: [{
|
|
1322
|
+
isSignal: true,
|
|
1323
|
+
alias: "targetAriaLabel",
|
|
1324
|
+
required: false
|
|
1325
|
+
}]
|
|
1326
|
+
}],
|
|
1327
|
+
ariaLabel: [{
|
|
1328
|
+
type: i0.Input,
|
|
1329
|
+
args: [{
|
|
1330
|
+
isSignal: true,
|
|
1331
|
+
alias: "ariaLabel",
|
|
1332
|
+
required: false
|
|
1333
|
+
}]
|
|
1334
|
+
}],
|
|
1335
|
+
sourceFilterPlaceholder: [{
|
|
1336
|
+
type: i0.Input,
|
|
1337
|
+
args: [{
|
|
1338
|
+
isSignal: true,
|
|
1339
|
+
alias: "sourceFilterPlaceholder",
|
|
1340
|
+
required: false
|
|
1341
|
+
}]
|
|
1342
|
+
}],
|
|
1343
|
+
targetFilterPlaceholder: [{
|
|
1344
|
+
type: i0.Input,
|
|
1345
|
+
args: [{
|
|
1346
|
+
isSignal: true,
|
|
1347
|
+
alias: "targetFilterPlaceholder",
|
|
1348
|
+
required: false
|
|
1349
|
+
}]
|
|
1350
|
+
}],
|
|
1351
|
+
sourceFilterAriaLabel: [{
|
|
1352
|
+
type: i0.Input,
|
|
1353
|
+
args: [{
|
|
1354
|
+
isSignal: true,
|
|
1355
|
+
alias: "sourceFilterAriaLabel",
|
|
1356
|
+
required: false
|
|
1357
|
+
}]
|
|
1358
|
+
}],
|
|
1359
|
+
targetFilterAriaLabel: [{
|
|
1360
|
+
type: i0.Input,
|
|
1361
|
+
args: [{
|
|
1362
|
+
isSignal: true,
|
|
1363
|
+
alias: "targetFilterAriaLabel",
|
|
1364
|
+
required: false
|
|
1365
|
+
}]
|
|
1366
|
+
}],
|
|
1367
|
+
sourceEmptyMessage: [{
|
|
1368
|
+
type: i0.Input,
|
|
1369
|
+
args: [{
|
|
1370
|
+
isSignal: true,
|
|
1371
|
+
alias: "sourceEmptyMessage",
|
|
1372
|
+
required: false
|
|
1373
|
+
}]
|
|
1374
|
+
}],
|
|
1375
|
+
targetEmptyMessage: [{
|
|
1376
|
+
type: i0.Input,
|
|
1377
|
+
args: [{
|
|
1378
|
+
isSignal: true,
|
|
1379
|
+
alias: "targetEmptyMessage",
|
|
1380
|
+
required: false
|
|
1381
|
+
}]
|
|
1382
|
+
}],
|
|
1383
|
+
sourceFilterEmptyMessage: [{
|
|
1384
|
+
type: i0.Input,
|
|
1385
|
+
args: [{
|
|
1386
|
+
isSignal: true,
|
|
1387
|
+
alias: "sourceFilterEmptyMessage",
|
|
1388
|
+
required: false
|
|
1389
|
+
}]
|
|
1390
|
+
}],
|
|
1391
|
+
targetFilterEmptyMessage: [{
|
|
1392
|
+
type: i0.Input,
|
|
1393
|
+
args: [{
|
|
1394
|
+
isSignal: true,
|
|
1395
|
+
alias: "targetFilterEmptyMessage",
|
|
1396
|
+
required: false
|
|
1397
|
+
}]
|
|
1398
|
+
}],
|
|
1399
|
+
showFilter: [{
|
|
1400
|
+
type: i0.Input,
|
|
1401
|
+
args: [{
|
|
1402
|
+
isSignal: true,
|
|
1403
|
+
alias: "showFilter",
|
|
1404
|
+
required: false
|
|
1405
|
+
}]
|
|
1406
|
+
}],
|
|
1407
|
+
showSourceControls: [{
|
|
1408
|
+
type: i0.Input,
|
|
1409
|
+
args: [{
|
|
1410
|
+
isSignal: true,
|
|
1411
|
+
alias: "showSourceControls",
|
|
1412
|
+
required: false
|
|
1413
|
+
}]
|
|
1414
|
+
}],
|
|
1415
|
+
showTargetControls: [{
|
|
1416
|
+
type: i0.Input,
|
|
1417
|
+
args: [{
|
|
1418
|
+
isSignal: true,
|
|
1419
|
+
alias: "showTargetControls",
|
|
1420
|
+
required: false
|
|
1421
|
+
}]
|
|
1422
|
+
}],
|
|
1423
|
+
showTransferControls: [{
|
|
1424
|
+
type: i0.Input,
|
|
1425
|
+
args: [{
|
|
1426
|
+
isSignal: true,
|
|
1427
|
+
alias: "showTransferControls",
|
|
1428
|
+
required: false
|
|
1429
|
+
}]
|
|
1430
|
+
}],
|
|
1431
|
+
transferOnDoubleClick: [{
|
|
1432
|
+
type: i0.Input,
|
|
1433
|
+
args: [{
|
|
1434
|
+
isSignal: true,
|
|
1435
|
+
alias: "transferOnDoubleClick",
|
|
1436
|
+
required: false
|
|
1437
|
+
}]
|
|
1438
|
+
}],
|
|
1439
|
+
dragDrop: [{
|
|
1440
|
+
type: i0.Input,
|
|
1441
|
+
args: [{
|
|
1442
|
+
isSignal: true,
|
|
1443
|
+
alias: "dragDrop",
|
|
1444
|
+
required: false
|
|
1445
|
+
}]
|
|
1446
|
+
}],
|
|
1447
|
+
disabled: [{
|
|
1448
|
+
type: i0.Input,
|
|
1449
|
+
args: [{
|
|
1450
|
+
isSignal: true,
|
|
1451
|
+
alias: "disabled",
|
|
1452
|
+
required: false
|
|
1453
|
+
}]
|
|
1454
|
+
}],
|
|
1455
|
+
fluid: [{
|
|
1456
|
+
type: i0.Input,
|
|
1457
|
+
args: [{
|
|
1458
|
+
isSignal: true,
|
|
1459
|
+
alias: "fluid",
|
|
1460
|
+
required: false
|
|
1461
|
+
}]
|
|
1462
|
+
}],
|
|
1463
|
+
targetLimit: [{
|
|
1464
|
+
type: i0.Input,
|
|
1465
|
+
args: [{
|
|
1466
|
+
isSignal: true,
|
|
1467
|
+
alias: "targetLimit",
|
|
1468
|
+
required: false
|
|
1469
|
+
}]
|
|
1470
|
+
}],
|
|
1471
|
+
moveToTargetAriaLabel: [{
|
|
1472
|
+
type: i0.Input,
|
|
1473
|
+
args: [{
|
|
1474
|
+
isSignal: true,
|
|
1475
|
+
alias: "moveToTargetAriaLabel",
|
|
1476
|
+
required: false
|
|
1477
|
+
}]
|
|
1478
|
+
}],
|
|
1479
|
+
moveAllToTargetAriaLabel: [{
|
|
1480
|
+
type: i0.Input,
|
|
1481
|
+
args: [{
|
|
1482
|
+
isSignal: true,
|
|
1483
|
+
alias: "moveAllToTargetAriaLabel",
|
|
1484
|
+
required: false
|
|
1485
|
+
}]
|
|
1486
|
+
}],
|
|
1487
|
+
moveToSourceAriaLabel: [{
|
|
1488
|
+
type: i0.Input,
|
|
1489
|
+
args: [{
|
|
1490
|
+
isSignal: true,
|
|
1491
|
+
alias: "moveToSourceAriaLabel",
|
|
1492
|
+
required: false
|
|
1493
|
+
}]
|
|
1494
|
+
}],
|
|
1495
|
+
moveAllToSourceAriaLabel: [{
|
|
1496
|
+
type: i0.Input,
|
|
1497
|
+
args: [{
|
|
1498
|
+
isSignal: true,
|
|
1499
|
+
alias: "moveAllToSourceAriaLabel",
|
|
1500
|
+
required: false
|
|
1501
|
+
}]
|
|
1502
|
+
}],
|
|
1503
|
+
selectionChanged: [{
|
|
1504
|
+
type: i0.Output,
|
|
1505
|
+
args: ["selectionChanged"]
|
|
1506
|
+
}],
|
|
1507
|
+
transferred: [{
|
|
1508
|
+
type: i0.Output,
|
|
1509
|
+
args: ["transferred"]
|
|
1510
|
+
}],
|
|
1511
|
+
movedToTarget: [{
|
|
1512
|
+
type: i0.Output,
|
|
1513
|
+
args: ["movedToTarget"]
|
|
1514
|
+
}],
|
|
1515
|
+
movedToSource: [{
|
|
1516
|
+
type: i0.Output,
|
|
1517
|
+
args: ["movedToSource"]
|
|
1518
|
+
}],
|
|
1519
|
+
reordered: [{
|
|
1520
|
+
type: i0.Output,
|
|
1521
|
+
args: ["reordered"]
|
|
1522
|
+
}],
|
|
1523
|
+
sourceReordered: [{
|
|
1524
|
+
type: i0.Output,
|
|
1525
|
+
args: ["sourceReordered"]
|
|
1526
|
+
}],
|
|
1527
|
+
targetReordered: [{
|
|
1528
|
+
type: i0.Output,
|
|
1529
|
+
args: ["targetReordered"]
|
|
1530
|
+
}],
|
|
1531
|
+
filterChanged: [{
|
|
1532
|
+
type: i0.Output,
|
|
1533
|
+
args: ["filterChanged"]
|
|
1534
|
+
}],
|
|
1535
|
+
dragStarted: [{
|
|
1536
|
+
type: i0.Output,
|
|
1537
|
+
args: ["dragStarted"]
|
|
1538
|
+
}],
|
|
1539
|
+
dragEnded: [{
|
|
1540
|
+
type: i0.Output,
|
|
1541
|
+
args: ["dragEnded"]
|
|
1542
|
+
}],
|
|
1543
|
+
itemTemplate: [{
|
|
1544
|
+
type: i0.ContentChild,
|
|
1545
|
+
args: [i0.forwardRef(() => AerisPickListItemTemplate), { isSignal: true }]
|
|
1546
|
+
}],
|
|
1547
|
+
emptyTemplate: [{
|
|
1548
|
+
type: i0.ContentChild,
|
|
1549
|
+
args: [i0.forwardRef(() => AerisPickListEmptyTemplate), { isSignal: true }]
|
|
1550
|
+
}]
|
|
1551
|
+
}
|
|
1552
|
+
});
|
|
928
1553
|
const AerisPickListModule = [
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
1554
|
+
AerisPickList,
|
|
1555
|
+
AerisPickListItemTemplate,
|
|
1556
|
+
AerisPickListEmptyTemplate
|
|
932
1557
|
];
|
|
933
|
-
|
|
934
|
-
/**
|
|
935
|
-
* Generated bundle index. Do not edit.
|
|
936
|
-
*/
|
|
937
|
-
|
|
938
1558
|
export { AerisPickList, AerisPickListEmptyTemplate, AerisPickListItemTemplate, AerisPickListModule };
|
|
939
|
-
|
|
1559
|
+
|
|
1560
|
+
//# sourceMappingURL=aeris-ui-core-pick-list.mjs.map
|