@fragiola/primitives-angular 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +67 -0
- package/LICENSE +21 -0
- package/README.md +54 -2
- package/fesm2022/fragiola-primitives-angular-accordion.mjs +567 -0
- package/fesm2022/fragiola-primitives-angular-accordion.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-alert-dialog.mjs +562 -0
- package/fesm2022/fragiola-primitives-angular-alert-dialog.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-aspect-ratio.mjs +79 -0
- package/fesm2022/fragiola-primitives-angular-aspect-ratio.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-async-list.mjs +44 -0
- package/fesm2022/fragiola-primitives-angular-async-list.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-autocomplete-virtual.mjs +243 -0
- package/fesm2022/fragiola-primitives-angular-autocomplete-virtual.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-autocomplete.mjs +1751 -0
- package/fesm2022/fragiola-primitives-angular-autocomplete.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-avatar.mjs +308 -0
- package/fesm2022/fragiola-primitives-angular-avatar.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-breadcrumbs.mjs +355 -0
- package/fesm2022/fragiola-primitives-angular-breadcrumbs.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-button.mjs +156 -0
- package/fesm2022/fragiola-primitives-angular-button.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-calendar-preset.mjs +126 -0
- package/fesm2022/fragiola-primitives-angular-calendar-preset.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-calendar-view.mjs +289 -0
- package/fesm2022/fragiola-primitives-angular-calendar-view.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-calendar.mjs +1222 -0
- package/fesm2022/fragiola-primitives-angular-calendar.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-carousel.mjs +1031 -0
- package/fesm2022/fragiola-primitives-angular-carousel.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-cascade-select.mjs +1391 -0
- package/fesm2022/fragiola-primitives-angular-cascade-select.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-checkbox-group.mjs +221 -0
- package/fesm2022/fragiola-primitives-angular-checkbox-group.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-checkbox.mjs +474 -0
- package/fesm2022/fragiola-primitives-angular-checkbox.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-clipboard.mjs +389 -0
- package/fesm2022/fragiola-primitives-angular-clipboard.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-collapsible.mjs +314 -0
- package/fesm2022/fragiola-primitives-angular-collapsible.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-color-area.mjs +609 -0
- package/fesm2022/fragiola-primitives-angular-color-area.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-color-field.mjs +675 -0
- package/fesm2022/fragiola-primitives-angular-color-field.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-color-picker-popover.mjs +572 -0
- package/fesm2022/fragiola-primitives-angular-color-picker-popover.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-color-picker.mjs +528 -0
- package/fesm2022/fragiola-primitives-angular-color-picker.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-color-slider.mjs +868 -0
- package/fesm2022/fragiola-primitives-angular-color-slider.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-color-swatch-picker.mjs +503 -0
- package/fesm2022/fragiola-primitives-angular-color-swatch-picker.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-color-swatch.mjs +141 -0
- package/fesm2022/fragiola-primitives-angular-color-swatch.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-color-wheel.mjs +554 -0
- package/fesm2022/fragiola-primitives-angular-color-wheel.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-combobox-virtual.mjs +247 -0
- package/fesm2022/fragiola-primitives-angular-combobox-virtual.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-combobox.mjs +2083 -0
- package/fesm2022/fragiola-primitives-angular-combobox.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-command-virtual.mjs +263 -0
- package/fesm2022/fragiola-primitives-angular-command-virtual.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-command.mjs +977 -0
- package/fesm2022/fragiola-primitives-angular-command.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-context-menu.mjs +1012 -0
- package/fesm2022/fragiola-primitives-angular-context-menu.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-date-field.mjs +1030 -0
- package/fesm2022/fragiola-primitives-angular-date-field.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-date-picker-input.mjs +511 -0
- package/fesm2022/fragiola-primitives-angular-date-picker-input.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-date-picker.mjs +991 -0
- package/fesm2022/fragiola-primitives-angular-date-picker.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-date-range-field.mjs +847 -0
- package/fesm2022/fragiola-primitives-angular-date-range-field.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-date-range-picker-input.mjs +260 -0
- package/fesm2022/fragiola-primitives-angular-date-range-picker-input.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-date-range-picker.mjs +128 -0
- package/fesm2022/fragiola-primitives-angular-date-range-picker.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-dialog.mjs +1076 -0
- package/fesm2022/fragiola-primitives-angular-dialog.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-direction.mjs +82 -0
- package/fesm2022/fragiola-primitives-angular-direction.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-drawer.mjs +890 -0
- package/fesm2022/fragiola-primitives-angular-drawer.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-drop-zone.mjs +189 -0
- package/fesm2022/fragiola-primitives-angular-drop-zone.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-editable.mjs +955 -0
- package/fesm2022/fragiola-primitives-angular-editable.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-field.mjs +929 -0
- package/fesm2022/fragiola-primitives-angular-field.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-fieldset.mjs +164 -0
- package/fesm2022/fragiola-primitives-angular-fieldset.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-file-upload.mjs +1370 -0
- package/fesm2022/fragiola-primitives-angular-file-upload.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-form.mjs +162 -0
- package/fesm2022/fragiola-primitives-angular-form.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-hover-card.mjs +906 -0
- package/fesm2022/fragiola-primitives-angular-hover-card.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-internal.mjs +980 -0
- package/fesm2022/fragiola-primitives-angular-internal.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-label.mjs +65 -0
- package/fesm2022/fragiola-primitives-angular-label.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-link.mjs +109 -0
- package/fesm2022/fragiola-primitives-angular-link.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-listbox-virtual.mjs +657 -0
- package/fesm2022/fragiola-primitives-angular-listbox-virtual.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-listbox.mjs +851 -0
- package/fesm2022/fragiola-primitives-angular-listbox.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-menu.mjs +2258 -0
- package/fesm2022/fragiola-primitives-angular-menu.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-menubar.mjs +303 -0
- package/fesm2022/fragiola-primitives-angular-menubar.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-meter.mjs +410 -0
- package/fesm2022/fragiola-primitives-angular-meter.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-month-calendar.mjs +1066 -0
- package/fesm2022/fragiola-primitives-angular-month-calendar.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-month-picker.mjs +514 -0
- package/fesm2022/fragiola-primitives-angular-month-picker.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-month-range-calendar.mjs +163 -0
- package/fesm2022/fragiola-primitives-angular-month-range-calendar.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-month-range-picker.mjs +177 -0
- package/fesm2022/fragiola-primitives-angular-month-range-picker.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-multiple-calendar.mjs +216 -0
- package/fesm2022/fragiola-primitives-angular-multiple-calendar.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-navigation-menu.mjs +1413 -0
- package/fesm2022/fragiola-primitives-angular-navigation-menu.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-number-field.mjs +1210 -0
- package/fesm2022/fragiola-primitives-angular-number-field.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-otp-field.mjs +751 -0
- package/fesm2022/fragiola-primitives-angular-otp-field.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-pagination.mjs +758 -0
- package/fesm2022/fragiola-primitives-angular-pagination.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-password-input.mjs +542 -0
- package/fesm2022/fragiola-primitives-angular-password-input.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-popover.mjs +1011 -0
- package/fesm2022/fragiola-primitives-angular-popover.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-progress.mjs +472 -0
- package/fesm2022/fragiola-primitives-angular-progress.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-radio-group.mjs +321 -0
- package/fesm2022/fragiola-primitives-angular-radio-group.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-radio.mjs +273 -0
- package/fesm2022/fragiola-primitives-angular-radio.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-range-calendar.mjs +108 -0
- package/fesm2022/fragiola-primitives-angular-range-calendar.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-rating.mjs +643 -0
- package/fesm2022/fragiola-primitives-angular-rating.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-render.mjs +1 -0
- package/fesm2022/fragiola-primitives-angular-scroll-area.mjs +553 -0
- package/fesm2022/fragiola-primitives-angular-scroll-area.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-search-field.mjs +487 -0
- package/fesm2022/fragiola-primitives-angular-search-field.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-segmented-control.mjs +762 -0
- package/fesm2022/fragiola-primitives-angular-segmented-control.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-select-virtual.mjs +246 -0
- package/fesm2022/fragiola-primitives-angular-select-virtual.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-select.mjs +1433 -0
- package/fesm2022/fragiola-primitives-angular-select.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-separator.mjs +102 -0
- package/fesm2022/fragiola-primitives-angular-separator.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-slider.mjs +1090 -0
- package/fesm2022/fragiola-primitives-angular-slider.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-steps.mjs +819 -0
- package/fesm2022/fragiola-primitives-angular-steps.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-switch.mjs +422 -0
- package/fesm2022/fragiola-primitives-angular-switch.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-tabs.mjs +726 -0
- package/fesm2022/fragiola-primitives-angular-tabs.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-tag-group.mjs +768 -0
- package/fesm2022/fragiola-primitives-angular-tag-group.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-tags-input.mjs +1126 -0
- package/fesm2022/fragiola-primitives-angular-tags-input.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-time-field.mjs +187 -0
- package/fesm2022/fragiola-primitives-angular-time-field.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-time-range-field.mjs +188 -0
- package/fesm2022/fragiola-primitives-angular-time-range-field.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-toast.mjs +744 -0
- package/fesm2022/fragiola-primitives-angular-toast.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-toggle-group.mjs +245 -0
- package/fesm2022/fragiola-primitives-angular-toggle-group.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-toggle.mjs +229 -0
- package/fesm2022/fragiola-primitives-angular-toggle.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-toolbar.mjs +623 -0
- package/fesm2022/fragiola-primitives-angular-toolbar.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-tooltip.mjs +975 -0
- package/fesm2022/fragiola-primitives-angular-tooltip.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-year-calendar.mjs +163 -0
- package/fesm2022/fragiola-primitives-angular-year-calendar.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-year-picker.mjs +177 -0
- package/fesm2022/fragiola-primitives-angular-year-picker.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-year-range-calendar.mjs +163 -0
- package/fesm2022/fragiola-primitives-angular-year-range-calendar.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular-year-range-picker.mjs +177 -0
- package/fesm2022/fragiola-primitives-angular-year-range-picker.mjs.map +1 -0
- package/fesm2022/fragiola-primitives-angular.mjs +94 -0
- package/package.json +437 -3
- package/types/fragiola-primitives-angular-accordion.d.ts +154 -0
- package/types/fragiola-primitives-angular-alert-dialog.d.ts +176 -0
- package/types/fragiola-primitives-angular-aspect-ratio.d.ts +25 -0
- package/types/fragiola-primitives-angular-async-list.d.ts +32 -0
- package/types/fragiola-primitives-angular-autocomplete-virtual.d.ts +82 -0
- package/types/fragiola-primitives-angular-autocomplete.d.ts +496 -0
- package/types/fragiola-primitives-angular-avatar.d.ts +94 -0
- package/types/fragiola-primitives-angular-breadcrumbs.d.ts +62 -0
- package/types/fragiola-primitives-angular-button.d.ts +66 -0
- package/types/fragiola-primitives-angular-calendar-preset.d.ts +35 -0
- package/types/fragiola-primitives-angular-calendar-view.d.ts +80 -0
- package/types/fragiola-primitives-angular-calendar.d.ts +414 -0
- package/types/fragiola-primitives-angular-carousel.d.ts +300 -0
- package/types/fragiola-primitives-angular-cascade-select.d.ts +404 -0
- package/types/fragiola-primitives-angular-checkbox-group.d.ts +74 -0
- package/types/fragiola-primitives-angular-checkbox.d.ts +111 -0
- package/types/fragiola-primitives-angular-clipboard.d.ts +106 -0
- package/types/fragiola-primitives-angular-collapsible.d.ts +88 -0
- package/types/fragiola-primitives-angular-color-area.d.ts +174 -0
- package/types/fragiola-primitives-angular-color-field.d.ts +174 -0
- package/types/fragiola-primitives-angular-color-picker-popover.d.ts +180 -0
- package/types/fragiola-primitives-angular-color-picker.d.ts +137 -0
- package/types/fragiola-primitives-angular-color-slider.d.ts +228 -0
- package/types/fragiola-primitives-angular-color-swatch-picker.d.ts +146 -0
- package/types/fragiola-primitives-angular-color-swatch.d.ts +43 -0
- package/types/fragiola-primitives-angular-color-wheel.d.ts +144 -0
- package/types/fragiola-primitives-angular-combobox-virtual.d.ts +84 -0
- package/types/fragiola-primitives-angular-combobox.d.ts +582 -0
- package/types/fragiola-primitives-angular-command-virtual.d.ts +93 -0
- package/types/fragiola-primitives-angular-command.d.ts +283 -0
- package/types/fragiola-primitives-angular-context-menu.d.ts +278 -0
- package/types/fragiola-primitives-angular-date-field.d.ts +486 -0
- package/types/fragiola-primitives-angular-date-picker-input.d.ts +139 -0
- package/types/fragiola-primitives-angular-date-picker.d.ts +331 -0
- package/types/fragiola-primitives-angular-date-range-field.d.ts +333 -0
- package/types/fragiola-primitives-angular-date-range-picker-input.d.ts +89 -0
- package/types/fragiola-primitives-angular-date-range-picker.d.ts +35 -0
- package/types/fragiola-primitives-angular-dialog.d.ts +359 -0
- package/types/fragiola-primitives-angular-direction.d.ts +31 -0
- package/types/fragiola-primitives-angular-drawer.d.ts +242 -0
- package/types/fragiola-primitives-angular-drop-zone.d.ts +68 -0
- package/types/fragiola-primitives-angular-editable.d.ts +219 -0
- package/types/fragiola-primitives-angular-field.d.ts +397 -0
- package/types/fragiola-primitives-angular-fieldset.d.ts +47 -0
- package/types/fragiola-primitives-angular-file-upload.d.ts +351 -0
- package/types/fragiola-primitives-angular-form.d.ts +44 -0
- package/types/fragiola-primitives-angular-hover-card.d.ts +279 -0
- package/types/fragiola-primitives-angular-internal.d.ts +695 -0
- package/types/fragiola-primitives-angular-label.d.ts +14 -0
- package/types/fragiola-primitives-angular-link.d.ts +33 -0
- package/types/fragiola-primitives-angular-listbox-virtual.d.ts +193 -0
- package/types/fragiola-primitives-angular-listbox.d.ts +237 -0
- package/types/fragiola-primitives-angular-menu.d.ts +758 -0
- package/types/fragiola-primitives-angular-menubar.d.ts +76 -0
- package/types/fragiola-primitives-angular-meter.d.ts +117 -0
- package/types/fragiola-primitives-angular-month-calendar.d.ts +380 -0
- package/types/fragiola-primitives-angular-month-picker.d.ts +183 -0
- package/types/fragiola-primitives-angular-month-range-calendar.d.ts +54 -0
- package/types/fragiola-primitives-angular-month-range-picker.d.ts +56 -0
- package/types/fragiola-primitives-angular-multiple-calendar.d.ts +73 -0
- package/types/fragiola-primitives-angular-navigation-menu.d.ts +355 -0
- package/types/fragiola-primitives-angular-number-field.d.ts +305 -0
- package/types/fragiola-primitives-angular-otp-field.d.ts +210 -0
- package/types/fragiola-primitives-angular-pagination.d.ts +239 -0
- package/types/fragiola-primitives-angular-password-input.d.ts +149 -0
- package/types/fragiola-primitives-angular-popover.d.ts +303 -0
- package/types/fragiola-primitives-angular-progress.d.ts +126 -0
- package/types/fragiola-primitives-angular-radio-group.d.ts +123 -0
- package/types/fragiola-primitives-angular-radio.d.ts +67 -0
- package/types/fragiola-primitives-angular-range-calendar.d.ts +33 -0
- package/types/fragiola-primitives-angular-rating.d.ts +195 -0
- package/types/fragiola-primitives-angular-render.d.ts +2 -0
- package/types/fragiola-primitives-angular-scroll-area.d.ts +134 -0
- package/types/fragiola-primitives-angular-search-field.d.ts +129 -0
- package/types/fragiola-primitives-angular-segmented-control.d.ts +232 -0
- package/types/fragiola-primitives-angular-select-virtual.d.ts +81 -0
- package/types/fragiola-primitives-angular-select.d.ts +403 -0
- package/types/fragiola-primitives-angular-separator.d.ts +32 -0
- package/types/fragiola-primitives-angular-slider.d.ts +297 -0
- package/types/fragiola-primitives-angular-steps.d.ts +194 -0
- package/types/fragiola-primitives-angular-switch.d.ts +102 -0
- package/types/fragiola-primitives-angular-tabs.d.ts +215 -0
- package/types/fragiola-primitives-angular-tag-group.d.ts +232 -0
- package/types/fragiola-primitives-angular-tags-input.d.ts +318 -0
- package/types/fragiola-primitives-angular-time-field.d.ts +63 -0
- package/types/fragiola-primitives-angular-time-range-field.d.ts +65 -0
- package/types/fragiola-primitives-angular-toast.d.ts +196 -0
- package/types/fragiola-primitives-angular-toggle-group.d.ts +89 -0
- package/types/fragiola-primitives-angular-toggle.d.ts +86 -0
- package/types/fragiola-primitives-angular-toolbar.d.ts +187 -0
- package/types/fragiola-primitives-angular-tooltip.d.ts +330 -0
- package/types/fragiola-primitives-angular-year-calendar.d.ts +54 -0
- package/types/fragiola-primitives-angular-year-picker.d.ts +56 -0
- package/types/fragiola-primitives-angular-year-range-calendar.d.ts +54 -0
- package/types/fragiola-primitives-angular-year-range-picker.d.ts +56 -0
- package/types/fragiola-primitives-angular.d.ts +94 -0
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
import { CommandEntry, CommandFilter, CommandFilter as CommandFilter$1 } from "@fragiola/primitives/command";
|
|
2
|
+
import { ChangeDetails, ChangeReason, ValueChangeEvent, ValueChangeEvent as ValueChangeEvent$1 } from "@fragiola/primitives-angular/internal";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { OnInit, Signal } from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* A polite live region, always rendered; its children only while no Item is shown and nothing
|
|
7
|
+
* loads, once mounted (spec/command.md): `<div commandEmpty>No results.</div>`. The element stays
|
|
8
|
+
* and the directive takes its child nodes out, keeping them until the list is empty again.
|
|
9
|
+
*/
|
|
10
|
+
export declare class CommandEmpty {
|
|
11
|
+
private readonly root;
|
|
12
|
+
private readonly shown;
|
|
13
|
+
constructor();
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandEmpty, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CommandEmpty, "[commandEmpty]", never, {}, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A `group` of Items, named by its GroupLabel, hidden while it shows none (spec/command.md):
|
|
19
|
+
* `<div commandGroup>`.
|
|
20
|
+
*/
|
|
21
|
+
export declare class CommandGroup {
|
|
22
|
+
/** Its GroupLabel's id. */
|
|
23
|
+
readonly labelId: string;
|
|
24
|
+
/** Its Items' hidden states. */
|
|
25
|
+
private readonly members;
|
|
26
|
+
readonly state: Signal<{
|
|
27
|
+
hidden: boolean;
|
|
28
|
+
}>;
|
|
29
|
+
/** An Item of the group: its hidden state, until it leaves. */
|
|
30
|
+
register(hidden: Signal<boolean>): () => void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandGroup, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CommandGroup, "[commandGroup]", ["commandGroup"], {}, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
/** Names its Group: `<div commandGroupLabel>`. */
|
|
35
|
+
export declare class CommandGroupLabel {
|
|
36
|
+
protected readonly group: CommandGroup;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandGroupLabel, never>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CommandGroupLabel, "[commandGroupLabel]", never, {}, {}, never, never, true, never>;
|
|
39
|
+
}
|
|
40
|
+
/** What `(itemSelect)` emits: the Item's value and the event that ran it. */
|
|
41
|
+
interface CommandSelectEvent {
|
|
42
|
+
value: string;
|
|
43
|
+
event: Event;
|
|
44
|
+
}
|
|
45
|
+
/** A rendered Item, as the Root knows it: its inputs, read when needed. */
|
|
46
|
+
interface CommandItemInfo {
|
|
47
|
+
value: Signal<string>;
|
|
48
|
+
keywords: Signal<readonly string[]>;
|
|
49
|
+
disabled: Signal<boolean>;
|
|
50
|
+
forceMount: Signal<boolean>;
|
|
51
|
+
id: string;
|
|
52
|
+
/** Runs the action (`itemSelect`). */
|
|
53
|
+
run: (event: Event) => void;
|
|
54
|
+
}
|
|
55
|
+
interface CommandRootState {
|
|
56
|
+
loading: boolean;
|
|
57
|
+
/** The current page (the last of `pages`), `null` on the root page. */
|
|
58
|
+
page: string | null;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* A command palette (spec/command.md): the text, the highlight and the pages, on the consumer's
|
|
62
|
+
* element: `<div commandRoot [(inputValue)]="text" [(pages)]="pages">`.
|
|
63
|
+
*/
|
|
64
|
+
export declare class CommandRoot {
|
|
65
|
+
/** The bound text (`[(inputValue)]`); `search()` is the current one. */
|
|
66
|
+
readonly boundInputValue: import("@angular/core").InputSignal<string | undefined>;
|
|
67
|
+
readonly inputValueChange: import("@angular/core").OutputEmitterRef<string>;
|
|
68
|
+
/** The text at first (default `""`). */
|
|
69
|
+
readonly defaultInputValue: import("@angular/core").InputSignal<string | undefined>;
|
|
70
|
+
readonly inputValueChangeDetails: import("@angular/core").OutputEmitterRef<ValueChangeEvent$1<string>>;
|
|
71
|
+
/** An Item's score for the text (default `commandScore`); `null` turns filtering off. */
|
|
72
|
+
readonly filter: import("@angular/core").InputSignal<CommandFilter$1 | null | undefined>;
|
|
73
|
+
/** The bound stack of page keys (`[(pages)]`), the last the current page. */
|
|
74
|
+
readonly boundPages: import("@angular/core").InputSignal<readonly string[] | undefined>;
|
|
75
|
+
readonly pagesChange: import("@angular/core").OutputEmitterRef<string[]>;
|
|
76
|
+
/** The pages at first (default `[]`). */
|
|
77
|
+
readonly defaultPages: import("@angular/core").InputSignal<readonly string[] | undefined>;
|
|
78
|
+
readonly pagesChangeDetails: import("@angular/core").OutputEmitterRef<ValueChangeEvent$1<string[]>>;
|
|
79
|
+
/** Results are loading (default `false`). */
|
|
80
|
+
readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
81
|
+
/** The arrow keys wrap (default `true`). */
|
|
82
|
+
readonly loopFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
83
|
+
private readonly text;
|
|
84
|
+
/** The text. */
|
|
85
|
+
readonly search: Signal<string>;
|
|
86
|
+
private readonly stack;
|
|
87
|
+
/** The stack of page keys. */
|
|
88
|
+
readonly pages: Signal<readonly string[]>;
|
|
89
|
+
/** The filter in use: `commandScore` unless the consumer's, `null` for none. */
|
|
90
|
+
readonly resolvedFilter: Signal<CommandFilter$1 | null>;
|
|
91
|
+
/** The highlighted Item's value. */
|
|
92
|
+
readonly highlighted: import("@angular/core").WritableSignal<string | null>;
|
|
93
|
+
/** The shown Items, `null` before the Root rendered in the browser. */
|
|
94
|
+
readonly shownCount: import("@angular/core").WritableSignal<number | null>;
|
|
95
|
+
private readonly registered;
|
|
96
|
+
/** Counts the Items' mounts and unmounts. */
|
|
97
|
+
readonly version: import("@angular/core").WritableSignal<number>;
|
|
98
|
+
readonly list: import("@angular/core").WritableSignal<HTMLElement | null>;
|
|
99
|
+
readonly listId: string;
|
|
100
|
+
readonly host: HTMLElement;
|
|
101
|
+
private readonly flush;
|
|
102
|
+
private readonly pageKey;
|
|
103
|
+
readonly state: Signal<CommandRootState>;
|
|
104
|
+
constructor();
|
|
105
|
+
/** The shown Items, in the list's order. */
|
|
106
|
+
shownItems(): CommandItemInfo[];
|
|
107
|
+
/** Every registered Item (the Input's `aria-activedescendant`). */
|
|
108
|
+
items(): IterableIterator<CommandItemInfo>;
|
|
109
|
+
registerItem(element: HTMLElement, info: CommandItemInfo): () => void;
|
|
110
|
+
/** Types `text` (spec/command.md, "Keyboard": typing), rendered at once. */
|
|
111
|
+
type(text: string, event: Event): void;
|
|
112
|
+
/** Highlights an Item (or none), rendered at once. */
|
|
113
|
+
highlight(value: string | null): void;
|
|
114
|
+
/** Back to the previous page (Backspace on an empty Input). */
|
|
115
|
+
back(event: Event): void;
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandRoot, never>;
|
|
117
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CommandRoot, "[commandRoot]", ["commandRoot"], {
|
|
118
|
+
"boundInputValue": {
|
|
119
|
+
"alias": "inputValue";
|
|
120
|
+
"required": false;
|
|
121
|
+
"isSignal": true;
|
|
122
|
+
};
|
|
123
|
+
"defaultInputValue": {
|
|
124
|
+
"alias": "defaultInputValue";
|
|
125
|
+
"required": false;
|
|
126
|
+
"isSignal": true;
|
|
127
|
+
};
|
|
128
|
+
"filter": {
|
|
129
|
+
"alias": "filter";
|
|
130
|
+
"required": false;
|
|
131
|
+
"isSignal": true;
|
|
132
|
+
};
|
|
133
|
+
"boundPages": {
|
|
134
|
+
"alias": "pages";
|
|
135
|
+
"required": false;
|
|
136
|
+
"isSignal": true;
|
|
137
|
+
};
|
|
138
|
+
"defaultPages": {
|
|
139
|
+
"alias": "defaultPages";
|
|
140
|
+
"required": false;
|
|
141
|
+
"isSignal": true;
|
|
142
|
+
};
|
|
143
|
+
"loading": {
|
|
144
|
+
"alias": "loading";
|
|
145
|
+
"required": false;
|
|
146
|
+
"isSignal": true;
|
|
147
|
+
};
|
|
148
|
+
"loopFocus": {
|
|
149
|
+
"alias": "loopFocus";
|
|
150
|
+
"required": false;
|
|
151
|
+
"isSignal": true;
|
|
152
|
+
};
|
|
153
|
+
}, {
|
|
154
|
+
"inputValueChange": "inputValueChange";
|
|
155
|
+
"inputValueChangeDetails": "inputValueChangeDetails";
|
|
156
|
+
"pagesChange": "pagesChange";
|
|
157
|
+
"pagesChangeDetails": "pagesChangeDetails";
|
|
158
|
+
}, never, never, true, never>;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* The `combobox`: `<input commandInput aria-label="Command">`. It keeps DOM focus, filters the
|
|
162
|
+
* Items as it is typed in and moves the highlight, announced with `aria-activedescendant`
|
|
163
|
+
* (spec/command.md, "Keyboard").
|
|
164
|
+
*/
|
|
165
|
+
export declare class CommandInput {
|
|
166
|
+
protected readonly root: CommandRoot;
|
|
167
|
+
/** The highlighted Item's id. */
|
|
168
|
+
protected readonly activeId: import("@angular/core").Signal<string | null>;
|
|
169
|
+
protected onInput(event: Event): void;
|
|
170
|
+
protected onKeyDown(event: KeyboardEvent): void;
|
|
171
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandInput, never>;
|
|
172
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CommandInput, "input[commandInput]", ["commandInput"], {}, {}, never, never, true, never>;
|
|
173
|
+
}
|
|
174
|
+
interface CommandItemState {
|
|
175
|
+
highlighted: boolean;
|
|
176
|
+
disabled: boolean;
|
|
177
|
+
/** It does not match the text: rendered `hidden`. */
|
|
178
|
+
hidden: boolean;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* An `option`: an action, hidden while it does not match the text (spec/command.md):
|
|
182
|
+
* `<div commandItem value="Calendar" (itemSelect)="run($event.value)">`.
|
|
183
|
+
*/
|
|
184
|
+
export declare class CommandItem implements OnInit {
|
|
185
|
+
private readonly root;
|
|
186
|
+
/** The text the filter scores, and the Item's identity in the Command. */
|
|
187
|
+
readonly value: import("@angular/core").InputSignal<string>;
|
|
188
|
+
/** More texts the filter scores. */
|
|
189
|
+
readonly keywords: import("@angular/core").InputSignal<readonly string[]>;
|
|
190
|
+
/** Highlighted by the arrows, never run. */
|
|
191
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
192
|
+
/** Always shown, whatever the text. */
|
|
193
|
+
readonly forceMount: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
194
|
+
/** Runs the action (Enter, a press). */
|
|
195
|
+
readonly itemSelect: import("@angular/core").OutputEmitterRef<CommandSelectEvent>;
|
|
196
|
+
protected readonly id: string;
|
|
197
|
+
/** It does not match the text. */
|
|
198
|
+
readonly hidden: import("@angular/core").Signal<boolean>;
|
|
199
|
+
readonly state: import("@angular/core").Signal<CommandItemState>;
|
|
200
|
+
protected readonly data: import("@angular/core").Signal<Record<"highlighted" | "disabled", string | null>>;
|
|
201
|
+
private readonly host;
|
|
202
|
+
private readonly group;
|
|
203
|
+
private readonly destroyRef;
|
|
204
|
+
constructor();
|
|
205
|
+
ngOnInit(): void;
|
|
206
|
+
protected onPointerMove(): void;
|
|
207
|
+
protected onClick(event: MouseEvent): void;
|
|
208
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandItem, never>;
|
|
209
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CommandItem, "[commandItem]", ["commandItem"], {
|
|
210
|
+
"value": {
|
|
211
|
+
"alias": "value";
|
|
212
|
+
"required": true;
|
|
213
|
+
"isSignal": true;
|
|
214
|
+
};
|
|
215
|
+
"keywords": {
|
|
216
|
+
"alias": "keywords";
|
|
217
|
+
"required": false;
|
|
218
|
+
"isSignal": true;
|
|
219
|
+
};
|
|
220
|
+
"disabled": {
|
|
221
|
+
"alias": "disabled";
|
|
222
|
+
"required": false;
|
|
223
|
+
"isSignal": true;
|
|
224
|
+
};
|
|
225
|
+
"forceMount": {
|
|
226
|
+
"alias": "forceMount";
|
|
227
|
+
"required": false;
|
|
228
|
+
"isSignal": true;
|
|
229
|
+
};
|
|
230
|
+
}, {
|
|
231
|
+
"itemSelect": "itemSelect";
|
|
232
|
+
}, never, never, true, never>;
|
|
233
|
+
}
|
|
234
|
+
interface CommandListState {
|
|
235
|
+
empty: boolean;
|
|
236
|
+
loading: boolean;
|
|
237
|
+
}
|
|
238
|
+
/** The `listbox` of Items, always displayed (spec/command.md): `<div commandList>`. */
|
|
239
|
+
export declare class CommandList {
|
|
240
|
+
protected readonly root: CommandRoot;
|
|
241
|
+
readonly state: import("@angular/core").Signal<CommandListState>;
|
|
242
|
+
protected readonly data: import("@angular/core").Signal<Record<keyof CommandListState, string | null>>;
|
|
243
|
+
constructor();
|
|
244
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandList, never>;
|
|
245
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CommandList, "[commandList]", ["commandList"], {}, {}, never, never, true, never>;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* A polite live region, always rendered; its children only while the Root is `loading`
|
|
249
|
+
* (spec/command.md): `<div commandLoading>Loading…</div>`.
|
|
250
|
+
*/
|
|
251
|
+
export declare class CommandLoading {
|
|
252
|
+
private readonly root;
|
|
253
|
+
constructor();
|
|
254
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandLoading, never>;
|
|
255
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CommandLoading, "[commandLoading]", never, {}, {}, never, never, true, never>;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Between groups, hidden while there is text (the groups it separates may be hidden); no role of
|
|
259
|
+
* its own (a `listbox` owns only groups and options): `<div commandSeparator>`.
|
|
260
|
+
*/
|
|
261
|
+
export declare class CommandSeparator {
|
|
262
|
+
private readonly root;
|
|
263
|
+
/** Shown while there is text too. */
|
|
264
|
+
readonly forceMount: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
265
|
+
readonly state: import("@angular/core").Signal<{
|
|
266
|
+
hidden: boolean;
|
|
267
|
+
}>;
|
|
268
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandSeparator, never>;
|
|
269
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CommandSeparator, "[commandSeparator]", ["commandSeparator"], {
|
|
270
|
+
"forceMount": {
|
|
271
|
+
"alias": "forceMount";
|
|
272
|
+
"required": false;
|
|
273
|
+
"isSignal": true;
|
|
274
|
+
};
|
|
275
|
+
}, {}, never, never, true, never>;
|
|
276
|
+
}
|
|
277
|
+
/** The part hook of the enclosing `[commandRoot]`: its state, its text and its pages. */
|
|
278
|
+
export declare function injectCommand(): {
|
|
279
|
+
state: Signal<CommandRootState>;
|
|
280
|
+
inputValue: Signal<string>;
|
|
281
|
+
pages: Signal<readonly string[]>;
|
|
282
|
+
};
|
|
283
|
+
export type { ChangeDetails, ChangeReason, CommandEntry, CommandFilter, CommandItemInfo, CommandItemState, CommandListState, CommandRootState, CommandSelectEvent, ValueChangeEvent };
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { Align, Side } from "@fragiola/primitives/positioning";
|
|
2
|
+
import { ChangeDetails, ChangeReason, ChangeReason as ChangeReason$1, OpenChangeDetails, OpenChangeEvent, OpenChangeEvent as OpenChangeEvent$1, OverlayActions, OverlayPortalOptions, OverlayPortalOptions as OverlayPortalOptions$1, ValueChangeEvent } from "@fragiola/primitives-angular/internal";
|
|
3
|
+
import { MenuCheckableItemState as ContextMenuCheckableItemState, MenuCheckboxItem, MenuCheckboxItemIndicator, MenuCheckboxItemState as ContextMenuCheckboxItemState, MenuComponent, MenuGroup, MenuGroupLabel, MenuItem, MenuItemState as ContextMenuItemState, MenuPopup, MenuPopupState as ContextMenuPopupState, MenuPositioner, MenuPositionerState as ContextMenuPositionerState, MenuRadioGroup, MenuRadioItem, MenuRadioItemIndicator, MenuRadioItemState as ContextMenuRadioItemState, MenuRootBase, MenuSeparator, MenuState as ContextMenuState, MenuSubmenuTrigger, MenuSubmenuTriggerState as ContextMenuSubmenuTriggerState } from "@fragiola/primitives-angular/menu";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* A `menuitemcheckbox`, Menu's CheckboxItem: `<div contextMenuCheckboxItem [(checked)]="shown">`.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ContextMenuCheckboxItem extends MenuCheckboxItem {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuCheckboxItem, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuCheckboxItem, "[contextMenuCheckboxItem]", ["contextMenuCheckboxItem"], {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Marks a checked CheckboxItem, Menu's CheckboxItemIndicator; structural:
|
|
14
|
+
* `<span *contextMenuCheckboxItemIndicator>✓</span>`, or `*contextMenuCheckboxItemIndicator="{ keepMounted: true }"`.
|
|
15
|
+
*/
|
|
16
|
+
export declare class ContextMenuCheckboxItemIndicator extends MenuCheckboxItemIndicator {
|
|
17
|
+
/** `keepMounted`: rendered while the item is unchecked too (default `false`). */
|
|
18
|
+
readonly options: import("@angular/core").InputSignalWithTransform<{
|
|
19
|
+
keepMounted: boolean;
|
|
20
|
+
}, unknown>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuCheckboxItemIndicator, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuCheckboxItemIndicator, "[contextMenuCheckboxItemIndicator]", ["contextMenuCheckboxItemIndicator"], {
|
|
23
|
+
"options": {
|
|
24
|
+
"alias": "contextMenuCheckboxItemIndicator";
|
|
25
|
+
"required": false;
|
|
26
|
+
"isSignal": true;
|
|
27
|
+
};
|
|
28
|
+
}, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Groups items under its GroupLabel, Menu's Group: `<div contextMenuGroup>`.
|
|
32
|
+
*/
|
|
33
|
+
export declare class ContextMenuGroup extends MenuGroup {
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuGroup, never>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuGroup, "[contextMenuGroup]", ["contextMenuGroup"], {}, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Names its Group, Menu's GroupLabel: `<div contextMenuGroupLabel>`.
|
|
39
|
+
*/
|
|
40
|
+
export declare class ContextMenuGroupLabel extends MenuGroupLabel {
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuGroupLabel, never>;
|
|
42
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuGroupLabel, "[contextMenuGroupLabel]", ["contextMenuGroupLabel"], {}, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* An action, Menu's Item: `<div contextMenuItem (click)="...">`.
|
|
46
|
+
*/
|
|
47
|
+
export declare class ContextMenuItem extends MenuItem {
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuItem, never>;
|
|
49
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuItem, "[contextMenuItem]", ["contextMenuItem"], {}, {}, never, never, true, never>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* One level of the context menu, Menu's Popup: roving focus, typeahead, Escape per level. Name
|
|
53
|
+
* the root level with `aria-label`: no button names it. `<div contextMenuPopup aria-label="File
|
|
54
|
+
* actions">`.
|
|
55
|
+
*/
|
|
56
|
+
export declare class ContextMenuPopup extends MenuPopup {
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuPopup, never>;
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuPopup, "[contextMenuPopup]", ["contextMenuPopup"], {}, {}, never, never, true, never>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Menu's Portal: moves a context menu level's positioner to the end of `body` while it is open or
|
|
62
|
+
* closing: `<ng-container *contextMenuPortal>`, or `*contextMenuPortal="{ keepMounted: true }"`.
|
|
63
|
+
*/
|
|
64
|
+
export declare class ContextMenuPortal {
|
|
65
|
+
/**
|
|
66
|
+
* `container` (default: `document.body`), `keepMounted` (default `false`: rendered, hidden, while
|
|
67
|
+
* closed); an element: the container alone (`*contextMenuPortal="element"`).
|
|
68
|
+
*/
|
|
69
|
+
readonly options: import("@angular/core").InputSignalWithTransform<OverlayPortalOptions$1, unknown>;
|
|
70
|
+
constructor();
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuPortal, never>;
|
|
72
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuPortal, "[contextMenuPortal]", never, {
|
|
73
|
+
"options": {
|
|
74
|
+
"alias": "contextMenuPortal";
|
|
75
|
+
"required": false;
|
|
76
|
+
"isSignal": true;
|
|
77
|
+
};
|
|
78
|
+
}, {}, never, never, true, never>;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Places the context menu at the pointer (or at the focused element, from the keyboard), Menu's
|
|
82
|
+
* Positioner; a submenu at the end side of its submenu trigger. `<div contextMenuPositioner>`.
|
|
83
|
+
*/
|
|
84
|
+
export declare class ContextMenuPositioner extends MenuPositioner {
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuPositioner, never>;
|
|
86
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuPositioner, "[contextMenuPositioner]", ["contextMenuPositioner"], {}, {}, never, never, true, never>;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* A `group` of RadioItems holding their value, Menu's RadioGroup: `<div contextMenuRadioGroup
|
|
90
|
+
* [(value)]="sort">`.
|
|
91
|
+
*/
|
|
92
|
+
export declare class ContextMenuRadioGroup extends MenuRadioGroup {
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuRadioGroup, never>;
|
|
94
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuRadioGroup, "[contextMenuRadioGroup]", ["contextMenuRadioGroup"], {}, {}, never, never, true, never>;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* A `menuitemradio`, Menu's RadioItem: `<div contextMenuRadioItem value="name">`.
|
|
98
|
+
*/
|
|
99
|
+
export declare class ContextMenuRadioItem extends MenuRadioItem {
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuRadioItem, never>;
|
|
101
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuRadioItem, "[contextMenuRadioItem]", ["contextMenuRadioItem"], {}, {}, never, never, true, never>;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Marks a checked RadioItem, Menu's RadioItemIndicator; structural:
|
|
105
|
+
* `<span *contextMenuRadioItemIndicator>•</span>`, or `*contextMenuRadioItemIndicator="{ keepMounted: true }"`.
|
|
106
|
+
*/
|
|
107
|
+
export declare class ContextMenuRadioItemIndicator extends MenuRadioItemIndicator {
|
|
108
|
+
/** `keepMounted`: rendered while the item is unchecked too (default `false`). */
|
|
109
|
+
readonly options: import("@angular/core").InputSignalWithTransform<{
|
|
110
|
+
keepMounted: boolean;
|
|
111
|
+
}, unknown>;
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuRadioItemIndicator, never>;
|
|
113
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuRadioItemIndicator, "[contextMenuRadioItemIndicator]", ["contextMenuRadioItemIndicator"], {
|
|
114
|
+
"options": {
|
|
115
|
+
"alias": "contextMenuRadioItemIndicator";
|
|
116
|
+
"required": false;
|
|
117
|
+
"isSignal": true;
|
|
118
|
+
};
|
|
119
|
+
}, {}, never, never, true, never>;
|
|
120
|
+
}
|
|
121
|
+
/** A point in the viewport's (client) coordinates. */
|
|
122
|
+
interface ContextMenuPoint {
|
|
123
|
+
x: number;
|
|
124
|
+
y: number;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Holds the state of a context menu's root level (spec/context-menu.md); adds nothing to its
|
|
128
|
+
* element: `<ng-container contextMenuRoot [(open)]="open">`. Its parts are Menu's directives
|
|
129
|
+
* under their own selectors, named `context-menu-*`; its trigger is an area
|
|
130
|
+
* (`[contextMenuTrigger]`). `close()` and `unmount()` are its actions (`#menu="contextMenuRoot"`).
|
|
131
|
+
*/
|
|
132
|
+
export declare class ContextMenuRoot extends MenuRootBase {
|
|
133
|
+
readonly open: import("@angular/core").InputSignal<boolean | undefined>;
|
|
134
|
+
readonly openChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
135
|
+
readonly defaultOpen: import("@angular/core").InputSignal<boolean>;
|
|
136
|
+
/** Arrow keys wrap at the ends (default `true`). */
|
|
137
|
+
readonly loopFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
138
|
+
/**
|
|
139
|
+
* Locks the page's scroll and blocks the pointer outside the menu while it is open (default
|
|
140
|
+
* `false`: the APG menu button is non-modal; spec/menu.md, "Modal"). A submenu follows its
|
|
141
|
+
* root menu's.
|
|
142
|
+
*/
|
|
143
|
+
readonly modal: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
144
|
+
/** Every requested change with its details, before it happens (`details.cancel()` keeps it). */
|
|
145
|
+
readonly openChangeDetails: import("@angular/core").OutputEmitterRef<OpenChangeEvent$1<import("@fragiola/primitives-angular/internal").OpenChangeDetails>>;
|
|
146
|
+
/** An opening's or a closing's transition has finished (spec/README.md, "Lifecycle"). */
|
|
147
|
+
readonly openChangeComplete: import("@angular/core").OutputEmitterRef<boolean>;
|
|
148
|
+
/** The area opens nothing, and the browser's own menu shows (default `false`). */
|
|
149
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
150
|
+
private opener;
|
|
151
|
+
get component(): MenuComponent;
|
|
152
|
+
/** The element focused when the menu opened, while it can take focus back. */
|
|
153
|
+
returnTarget(): HTMLElement | null;
|
|
154
|
+
/**
|
|
155
|
+
* Opens the menu at a point (a right-click, a long press) or anchored to an element (the
|
|
156
|
+
* keyboard), from the trigger area, highlighting the first item or none.
|
|
157
|
+
*/
|
|
158
|
+
openAt(at: ContextMenuPoint | Element, reason: ChangeReason$1, event: Event, area: HTMLElement, highlight: "first" | null): void;
|
|
159
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuRoot, never>;
|
|
160
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuRoot, "[contextMenuRoot]", ["contextMenuRoot"], {
|
|
161
|
+
"open": {
|
|
162
|
+
"alias": "open";
|
|
163
|
+
"required": false;
|
|
164
|
+
"isSignal": true;
|
|
165
|
+
};
|
|
166
|
+
"defaultOpen": {
|
|
167
|
+
"alias": "defaultOpen";
|
|
168
|
+
"required": false;
|
|
169
|
+
"isSignal": true;
|
|
170
|
+
};
|
|
171
|
+
"loopFocus": {
|
|
172
|
+
"alias": "loopFocus";
|
|
173
|
+
"required": false;
|
|
174
|
+
"isSignal": true;
|
|
175
|
+
};
|
|
176
|
+
"modal": {
|
|
177
|
+
"alias": "modal";
|
|
178
|
+
"required": false;
|
|
179
|
+
"isSignal": true;
|
|
180
|
+
};
|
|
181
|
+
"disabled": {
|
|
182
|
+
"alias": "disabled";
|
|
183
|
+
"required": false;
|
|
184
|
+
"isSignal": true;
|
|
185
|
+
};
|
|
186
|
+
}, {
|
|
187
|
+
"openChange": "openChange";
|
|
188
|
+
"openChangeDetails": "openChangeDetails";
|
|
189
|
+
"openChangeComplete": "openChangeComplete";
|
|
190
|
+
}, never, never, true, never>;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Separates items, Menu's Separator: `<div contextMenuSeparator>`.
|
|
194
|
+
*/
|
|
195
|
+
export declare class ContextMenuSeparator extends MenuSeparator {
|
|
196
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuSeparator, never>;
|
|
197
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuSeparator, "[contextMenuSeparator]", ["contextMenuSeparator"], {}, {}, never, never, true, never>;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Holds the state of a nested level of the context menu, Menu's SubmenuRoot:
|
|
201
|
+
* `<ng-container contextMenuSubmenuRoot>`, its trigger a `contextMenuSubmenuTrigger` item of the
|
|
202
|
+
* parent level. `close()` and `unmount()` are its actions (`#submenu="contextMenuSubmenuRoot"`).
|
|
203
|
+
*/
|
|
204
|
+
export declare class ContextMenuSubmenuRoot extends MenuRootBase {
|
|
205
|
+
readonly open: import("@angular/core").InputSignal<boolean | undefined>;
|
|
206
|
+
readonly openChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
207
|
+
readonly defaultOpen: import("@angular/core").InputSignal<boolean>;
|
|
208
|
+
/** Arrow keys wrap at the ends (default `true`). */
|
|
209
|
+
readonly loopFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
210
|
+
/**
|
|
211
|
+
* Locks the page's scroll and blocks the pointer outside the menu while it is open (default
|
|
212
|
+
* `false`: the APG menu button is non-modal; spec/menu.md, "Modal"). A submenu follows its
|
|
213
|
+
* root menu's.
|
|
214
|
+
*/
|
|
215
|
+
readonly modal: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
216
|
+
/** Every requested change with its details, before it happens (`details.cancel()` keeps it). */
|
|
217
|
+
readonly openChangeDetails: import("@angular/core").OutputEmitterRef<OpenChangeEvent$1<import("@fragiola/primitives-angular/internal").OpenChangeDetails>>;
|
|
218
|
+
/** An opening's or a closing's transition has finished (spec/README.md, "Lifecycle"). */
|
|
219
|
+
readonly openChangeComplete: import("@angular/core").OutputEmitterRef<boolean>;
|
|
220
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuSubmenuRoot, never>;
|
|
221
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuSubmenuRoot, "[contextMenuSubmenuRoot]", ["contextMenuSubmenuRoot"], {
|
|
222
|
+
"open": {
|
|
223
|
+
"alias": "open";
|
|
224
|
+
"required": false;
|
|
225
|
+
"isSignal": true;
|
|
226
|
+
};
|
|
227
|
+
"defaultOpen": {
|
|
228
|
+
"alias": "defaultOpen";
|
|
229
|
+
"required": false;
|
|
230
|
+
"isSignal": true;
|
|
231
|
+
};
|
|
232
|
+
"loopFocus": {
|
|
233
|
+
"alias": "loopFocus";
|
|
234
|
+
"required": false;
|
|
235
|
+
"isSignal": true;
|
|
236
|
+
};
|
|
237
|
+
"modal": {
|
|
238
|
+
"alias": "modal";
|
|
239
|
+
"required": false;
|
|
240
|
+
"isSignal": true;
|
|
241
|
+
};
|
|
242
|
+
}, {
|
|
243
|
+
"openChange": "openChange";
|
|
244
|
+
"openChangeDetails": "openChangeDetails";
|
|
245
|
+
"openChangeComplete": "openChangeComplete";
|
|
246
|
+
}, never, never, true, never>;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* An item that opens its submenu, Menu's SubmenuTrigger, inside the `[contextMenuSubmenuRoot]`:
|
|
250
|
+
* `<div contextMenuSubmenuTrigger>`.
|
|
251
|
+
*/
|
|
252
|
+
export declare class ContextMenuSubmenuTrigger extends MenuSubmenuTrigger {
|
|
253
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuSubmenuTrigger, never>;
|
|
254
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuSubmenuTrigger, "[contextMenuSubmenuTrigger]", ["contextMenuSubmenuTrigger"], {}, {}, never, never, true, never>;
|
|
255
|
+
}
|
|
256
|
+
interface ContextMenuTriggerState {
|
|
257
|
+
open: boolean;
|
|
258
|
+
disabled: boolean;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* The area a right-click, a touch long press, or the `ContextMenu` key and Shift+F10 open the
|
|
262
|
+
* menu from (spec/context-menu.md): no button, no role. `<div contextMenuTrigger>`.
|
|
263
|
+
*/
|
|
264
|
+
export declare class ContextMenuTrigger {
|
|
265
|
+
private readonly root;
|
|
266
|
+
private readonly host;
|
|
267
|
+
private keyboardAt;
|
|
268
|
+
readonly state: import("@angular/core").Signal<ContextMenuTriggerState>;
|
|
269
|
+
protected readonly data: import("@angular/core").Signal<Record<keyof ContextMenuTriggerState, string | null>>;
|
|
270
|
+
constructor();
|
|
271
|
+
private inArea;
|
|
272
|
+
protected onContextMenu(event: MouseEvent): void;
|
|
273
|
+
protected onKeyDown(event: KeyboardEvent): void;
|
|
274
|
+
protected onKeyUp(event: KeyboardEvent): void;
|
|
275
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuTrigger, never>;
|
|
276
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuTrigger, "[contextMenuTrigger]", ["contextMenuTrigger"], {}, {}, never, never, true, never>;
|
|
277
|
+
}
|
|
278
|
+
export type { Align, ChangeDetails, ChangeReason, ContextMenuCheckableItemState, ContextMenuCheckboxItemState, ContextMenuItemState, ContextMenuPoint, ContextMenuPopupState, ContextMenuPositionerState, ContextMenuRadioItemState, ContextMenuState, ContextMenuSubmenuTriggerState, ContextMenuTriggerState, OpenChangeDetails, OpenChangeEvent, OverlayActions, OverlayPortalOptions, Side, ValueChangeEvent };
|