@lucca-front/ng 22.0.0-rc.1 → 22.0.0-rc.2
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/fesm2022/lucca-front-ng-a11y.mjs +4 -4
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-activity-feed.mjs +18 -18
- package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +121 -196
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-app-layout.mjs +4 -4
- package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs +7 -7
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +10 -10
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +11 -11
- package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +9 -9
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +75 -71
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +15 -15
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +14 -15
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-code.mjs +4 -4
- package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-color.mjs +7 -7
- package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +30 -30
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-container.mjs +7 -7
- package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-api.mjs +33 -49
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-department.mjs +21 -15
- package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +15 -15
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +9 -9
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +6 -6
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +39 -39
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +212 -306
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +30 -19
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +74 -74
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +138 -162
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +142 -154
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +27 -25
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +77 -46
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +11 -13
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +72 -75
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +35 -35
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-error-page.mjs +8 -8
- package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +80 -114
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +10 -10
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +63 -64
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +60 -70
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +10 -10
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +74 -76
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +4 -4
- package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-label.mjs +12 -12
- package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form.mjs +5 -5
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +59 -58
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +20 -20
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +3 -3
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +6 -6
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +93 -91
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +146 -145
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +19 -19
- package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-grid.mjs +23 -23
- package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs +16 -16
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +11 -11
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +60 -60
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +7 -7
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +24 -23
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +12 -12
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +26 -26
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +19 -19
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs +8 -8
- package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-main-layout.mjs +9 -9
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +4 -4
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +32 -36
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +150 -173
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +4 -4
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number-format.mjs +17 -21
- package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number.mjs +7 -7
- package/fesm2022/lucca-front-ng-number.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +12 -12
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +158 -165
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +9 -9
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +12 -11
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +7 -7
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +138 -253
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +50 -78
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup.mjs +10 -10
- package/fesm2022/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-bar.mjs +7 -7
- package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-stepper.mjs +12 -12
- package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +17 -17
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +21 -21
- package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
- package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll-box.mjs +6 -6
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +8 -8
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +16 -16
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +13 -13
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +88 -135
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +31 -30
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +54 -50
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +84 -0
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-software-icon.mjs +23 -12
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +14 -14
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +7 -7
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-table-of-content.mjs +7 -7
- package/fesm2022/lucca-front-ng-table-of-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +12 -12
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-text-flow.mjs +3 -3
- package/fesm2022/lucca-front-ng-text-flow.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +75 -76
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +10 -10
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +13 -13
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +187 -130
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +16 -16
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +29 -33
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +133 -167
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +27 -27
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +11 -5
- package/types/lucca-front-ng-api.d.ts +62 -62
- package/types/lucca-front-ng-callout.d.ts +6 -2
- package/types/lucca-front-ng-clear.d.ts +3 -2
- package/types/lucca-front-ng-core-select-api.d.ts +23 -23
- package/types/lucca-front-ng-core-select-department.d.ts +4 -0
- package/types/lucca-front-ng-core-select-user.d.ts +1 -1
- package/types/lucca-front-ng-core-select.d.ts +142 -141
- package/types/lucca-front-ng-core.d.ts +8 -3
- package/types/lucca-front-ng-date.d.ts +28 -26
- package/types/lucca-front-ng-dialog.d.ts +13 -2
- package/types/lucca-front-ng-divider.d.ts +1 -1
- package/types/lucca-front-ng-dropdown.d.ts +5 -4
- package/types/lucca-front-ng-establishment.d.ts +18 -19
- package/types/lucca-front-ng-file-upload.d.ts +4 -3
- package/types/lucca-front-ng-filter-pills.d.ts +4 -4
- package/types/lucca-front-ng-form-field.d.ts +6 -6
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +1 -0
- package/types/lucca-front-ng-forms.d.ts +25 -14
- package/types/lucca-front-ng-input.d.ts +1 -1
- package/types/lucca-front-ng-modal.d.ts +2 -2
- package/types/lucca-front-ng-multi-select.d.ts +37 -38
- package/types/lucca-front-ng-option.d.ts +12 -12
- package/types/lucca-front-ng-popover.d.ts +52 -46
- package/types/lucca-front-ng-popover2.d.ts +13 -11
- package/types/lucca-front-ng-select.d.ts +30 -28
- package/types/lucca-front-ng-simple-select.d.ts +4 -3
- package/types/lucca-front-ng-skeleton.d.ts +5 -1
- package/types/lucca-front-ng-software-icon-wrapper.d.ts +31 -0
- package/types/lucca-front-ng-software-icon.d.ts +10 -4
- package/types/lucca-front-ng-time.d.ts +2 -1
- package/types/lucca-front-ng-tooltip.d.ts +2 -2
- package/types/lucca-front-ng-user-popover.d.ts +4 -3
- package/types/lucca-front-ng-user.d.ts +20 -20
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-vertical-navigation.mjs","sources":["../../../packages/ng/vertical-navigation/link/vertical-navigation-link.component.ts","../../../packages/ng/vertical-navigation/link/vertical-navigation-link.component.html","../../../packages/ng/vertical-navigation/group/vertical-navigation-group.component.ts","../../../packages/ng/vertical-navigation/group/vertical-navigation-group.component.html","../../../packages/ng/vertical-navigation/vertical-navigation.component.ts","../../../packages/ng/vertical-navigation/vertical-navigation.component.html","../../../packages/ng/vertical-navigation/item/vertical-navigation-item.component.ts","../../../packages/ng/vertical-navigation/item/vertical-navigation-item.component.html","../../../packages/ng/vertical-navigation/lucca-front-ng-vertical-navigation.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, input, ViewEncapsulation } from '@angular/core';\nimport { LuccaIcon } from '@lucca-front/icons';\nimport { IconComponent } from '@lucca-front/ng/icon';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'span[luVerticalNavigationLink], a[luVerticalNavigationLink]',\n\ttemplateUrl: './vertical-navigation-link.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [IconComponent],\n\thost: {\n\t\tclass: 'verticalNavigation-list-item-link',\n\t\t'[attr.role]': 'disabled() ? \"presentation\" : null',\n\t\t'[attr.tabindex]': 'disabled() ? -1 : null',\n\t},\n})\nexport class VerticalNavigationLinkComponent {\n\t/**\n\t * adds an icon to the vertical navigation link\n\t */\n\treadonly icon = input<LuccaIcon | null>(null);\n\n\t/**\n\t * Disabled the vertical navigation link\n\t */\n\treadonly disabled = input(false, { transform: booleanAttribute });\n}\n","@if (icon()) {\n\t<lu-icon class=\"verticalNavigation-list-item-link-icon\" [icon]=\"icon()\" />\n}\n<ng-content />\n","import { booleanAttribute, ChangeDetectionStrategy, Component, input, model, ViewEncapsulation } from '@angular/core';\nimport { LuccaIcon } from '@lucca-front/icons';\nimport { PortalContent, PortalDirective } from '@lucca-front/ng/core';\nimport { IconComponent } from '@lucca-front/ng/icon';\n\n@Component({\n\tselector: 'lu-vertical-navigation-group',\n\ttemplateUrl: './vertical-navigation-group.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [IconComponent, PortalDirective],\n\thost: {\n\t\trole: 'listitem',\n\t\tclass: 'verticalNavigation-list-item',\n\t\t'[class.is-disabled]': 'disabled()',\n\t},\n})\nexport class VerticalNavigationGroupComponent {\n\t/**\n\t * Changes the text displayed by the vertical navigation group\n\t */\n\treadonly label = input.required<PortalContent>();\n\n\t/**\n\t * Adds an icon to the vertical navigation group\n\t */\n\treadonly icon = input<LuccaIcon | null>(null);\n\n\t/**\n\t * Disabled the vertical navigation group\n\t */\n\treadonly disabled = input(false, { transform: booleanAttribute });\n\n\treadonly expanded = model(true);\n\n\ttoggleExpanded() {\n\t\tthis.expanded.set(!this.expanded());\n\t}\n}\n","<button\n\ttype=\"button\"\n\tclass=\"verticalNavigation-list-item-link\"\n\t[attr.aria-expanded]=\"expanded()\"\n\t(click)=\"toggleExpanded()\"\n\t[disabled]=\"disabled()\"\n>\n\t@if (icon()) {\n\t\t<lu-icon class=\"verticalNavigation-list-item-link-icon\" [icon]=\"icon()\" />\n\t}\n\t<ng-container *luPortal=\"label()\" /><span\n\t\taria-hidden=\"true\"\n\t\tclass=\"lucca-icon icon-arrowChevronBottom verticalNavigation-list-item-link-arrow\"\n\t></span>\n</button>\n<ul class=\"verticalNavigation-list mod-child\">\n\t<ng-content />\n</ul>\n","import { ChangeDetectionStrategy, Component, computed, contentChildren, input, ViewEncapsulation } from '@angular/core';\nimport { PortalContent, PortalDirective } from '@lucca-front/ng/core';\nimport { VerticalNavigationGroupComponent } from './group/vertical-navigation-group.component';\nimport { VerticalNavigationLinkComponent } from './link/vertical-navigation-link.component';\n\n@Component({\n\tselector: 'lu-vertical-navigation',\n\ttemplateUrl: './vertical-navigation.component.html',\n\tstyleUrl: './vertical-navigation.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [PortalDirective],\n\thost: {\n\t\tclass: 'verticalNavigation',\n\t\t'[class.mod-iconless]': 'isIconless()',\n\t},\n})\nexport class VerticalNavigationComponent {\n\t/**\n\t * Changes the heading title displayed by the vertical navigation\n\t */\n\treadonly heading = input.required<PortalContent>();\n\n\t/**\n\t * Defines aria level for heading title\n\t */\n\treadonly level = input<number>(3);\n\n\treadonly verticalNavigationGroup = contentChildren(VerticalNavigationGroupComponent, { descendants: true });\n\treadonly verticalNavigationLinks = contentChildren(VerticalNavigationLinkComponent, { descendants: true });\n\n\treadonly isIconless = computed(\n\t\t() => !this.verticalNavigationGroup().filter((verticalGroup) => verticalGroup?.icon()).length || !this.verticalNavigationLinks().filter((verticalLink) => verticalLink?.icon()).length,\n\t);\n}\n","<div role=\"heading\" [attr.aria-level]=\"level()\" class=\"verticalNavigation-sectionTitle\">\n\t<ng-container *luPortal=\"heading()\" />\n</div>\n<ul class=\"verticalNavigation-list\">\n\t<ng-content />\n</ul>\n","import { booleanAttribute, ChangeDetectionStrategy, Component, input, model, ViewEncapsulation } from '@angular/core';\nimport { LuccaIcon } from '@lucca-front/icons';\n\n@Component({\n\tselector: 'lu-vertical-navigation-item',\n\ttemplateUrl: './vertical-navigation-item.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\trole: 'listitem',\n\t\tclass: 'verticalNavigation-list-item',\n\t\t'[class.is-disabled]': 'disabled()',\n\t},\n})\nexport class VerticalNavigationItemComponent {\n\t/**\n\t * Changes the text displayed by the vertical navigation item\n\t */\n\treadonly label = input<string | null>(null);\n\n\t/**\n\t * Adds an icon to the vertical navigation item\n\t */\n\treadonly icon = input<LuccaIcon | null>(null);\n\n\t/**\n\t * Disabled the vertical navigation item\n\t */\n\treadonly disabled = input(false, { transform: booleanAttribute });\n\n\treadonly expanded = model(true);\n\n\ttoggleExpanded() {\n\t\tthis.expanded.set(!this.expanded());\n\t}\n}\n","<ng-content />\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAiBa,+BAA+B,CAAA;AAb5C,IAAA,WAAA,GAAA;AAcC;;AAEG;AACM,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAmB,IAAI,gDAAC;AAE7C;;AAEG;QACM,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,qDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AACjE,IAAA;8GAVY,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA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C,wBAAA,qBAAqB,EAAE,YAAY;AACnC,qBAAA,EAAA,QAAA,EAAA,kBAAA,EAAA;;;AEZF;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-vertical-navigation.mjs","sources":["../../../packages/ng/vertical-navigation/link/vertical-navigation-link.component.ts","../../../packages/ng/vertical-navigation/link/vertical-navigation-link.component.html","../../../packages/ng/vertical-navigation/group/vertical-navigation-group.component.ts","../../../packages/ng/vertical-navigation/group/vertical-navigation-group.component.html","../../../packages/ng/vertical-navigation/vertical-navigation.component.ts","../../../packages/ng/vertical-navigation/vertical-navigation.component.html","../../../packages/ng/vertical-navigation/item/vertical-navigation-item.component.ts","../../../packages/ng/vertical-navigation/item/vertical-navigation-item.component.html","../../../packages/ng/vertical-navigation/lucca-front-ng-vertical-navigation.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, input, ViewEncapsulation } from '@angular/core';\nimport { LuccaIcon } from '@lucca-front/icons';\nimport { IconComponent } from '@lucca-front/ng/icon';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'span[luVerticalNavigationLink], a[luVerticalNavigationLink]',\n\ttemplateUrl: './vertical-navigation-link.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [IconComponent],\n\thost: {\n\t\tclass: 'verticalNavigation-list-item-link',\n\t\t'[attr.role]': 'disabled() ? \"presentation\" : null',\n\t\t'[attr.tabindex]': 'disabled() ? -1 : null',\n\t},\n})\nexport class VerticalNavigationLinkComponent {\n\t/**\n\t * adds an icon to the vertical navigation link\n\t */\n\treadonly icon = input<LuccaIcon | null>(null);\n\n\t/**\n\t * Disabled the vertical navigation link\n\t */\n\treadonly disabled = input(false, { transform: booleanAttribute });\n}\n","@if (icon()) {\n\t<lu-icon class=\"verticalNavigation-list-item-link-icon\" [icon]=\"icon()\" />\n}\n<ng-content />\n","import { booleanAttribute, ChangeDetectionStrategy, Component, input, model, ViewEncapsulation } from '@angular/core';\nimport { LuccaIcon } from '@lucca-front/icons';\nimport { PortalContent, PortalDirective } from '@lucca-front/ng/core';\nimport { IconComponent } from '@lucca-front/ng/icon';\n\n@Component({\n\tselector: 'lu-vertical-navigation-group',\n\ttemplateUrl: './vertical-navigation-group.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [IconComponent, PortalDirective],\n\thost: {\n\t\trole: 'listitem',\n\t\tclass: 'verticalNavigation-list-item',\n\t\t'[class.is-disabled]': 'disabled()',\n\t},\n})\nexport class VerticalNavigationGroupComponent {\n\t/**\n\t * Changes the text displayed by the vertical navigation group\n\t */\n\treadonly label = input.required<PortalContent>();\n\n\t/**\n\t * Adds an icon to the vertical navigation group\n\t */\n\treadonly icon = input<LuccaIcon | null>(null);\n\n\t/**\n\t * Disabled the vertical navigation group\n\t */\n\treadonly disabled = input(false, { transform: booleanAttribute });\n\n\treadonly expanded = model(true);\n\n\ttoggleExpanded() {\n\t\tthis.expanded.set(!this.expanded());\n\t}\n}\n","<button\n\ttype=\"button\"\n\tclass=\"verticalNavigation-list-item-link\"\n\t[attr.aria-expanded]=\"expanded()\"\n\t(click)=\"toggleExpanded()\"\n\t[disabled]=\"disabled()\"\n>\n\t@if (icon()) {\n\t\t<lu-icon class=\"verticalNavigation-list-item-link-icon\" [icon]=\"icon()\" />\n\t}\n\t<ng-container *luPortal=\"label()\" /><span\n\t\taria-hidden=\"true\"\n\t\tclass=\"lucca-icon icon-arrowChevronBottom verticalNavigation-list-item-link-arrow\"\n\t></span>\n</button>\n<ul class=\"verticalNavigation-list mod-child\">\n\t<ng-content />\n</ul>\n","import { ChangeDetectionStrategy, Component, computed, contentChildren, input, ViewEncapsulation } from '@angular/core';\nimport { PortalContent, PortalDirective } from '@lucca-front/ng/core';\nimport { VerticalNavigationGroupComponent } from './group/vertical-navigation-group.component';\nimport { VerticalNavigationLinkComponent } from './link/vertical-navigation-link.component';\n\n@Component({\n\tselector: 'lu-vertical-navigation',\n\ttemplateUrl: './vertical-navigation.component.html',\n\tstyleUrl: './vertical-navigation.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [PortalDirective],\n\thost: {\n\t\tclass: 'verticalNavigation',\n\t\t'[class.mod-iconless]': 'isIconless()',\n\t},\n})\nexport class VerticalNavigationComponent {\n\t/**\n\t * Changes the heading title displayed by the vertical navigation\n\t */\n\treadonly heading = input.required<PortalContent>();\n\n\t/**\n\t * Defines aria level for heading title\n\t */\n\treadonly level = input<number>(3);\n\n\treadonly verticalNavigationGroup = contentChildren(VerticalNavigationGroupComponent, { descendants: true });\n\treadonly verticalNavigationLinks = contentChildren(VerticalNavigationLinkComponent, { descendants: true });\n\n\treadonly isIconless = computed(\n\t\t() => !this.verticalNavigationGroup().filter((verticalGroup) => verticalGroup?.icon()).length || !this.verticalNavigationLinks().filter((verticalLink) => verticalLink?.icon()).length,\n\t);\n}\n","<div role=\"heading\" [attr.aria-level]=\"level()\" class=\"verticalNavigation-sectionTitle\">\n\t<ng-container *luPortal=\"heading()\" />\n</div>\n<ul class=\"verticalNavigation-list\">\n\t<ng-content />\n</ul>\n","import { booleanAttribute, ChangeDetectionStrategy, Component, input, model, ViewEncapsulation } from '@angular/core';\nimport { LuccaIcon } from '@lucca-front/icons';\n\n@Component({\n\tselector: 'lu-vertical-navigation-item',\n\ttemplateUrl: './vertical-navigation-item.component.html',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\trole: 'listitem',\n\t\tclass: 'verticalNavigation-list-item',\n\t\t'[class.is-disabled]': 'disabled()',\n\t},\n})\nexport class VerticalNavigationItemComponent {\n\t/**\n\t * Changes the text displayed by the vertical navigation item\n\t */\n\treadonly label = input<string | null>(null);\n\n\t/**\n\t * Adds an icon to the vertical navigation item\n\t */\n\treadonly icon = input<LuccaIcon | null>(null);\n\n\t/**\n\t * Disabled the vertical navigation item\n\t */\n\treadonly disabled = input(false, { transform: booleanAttribute });\n\n\treadonly expanded = model(true);\n\n\ttoggleExpanded() {\n\t\tthis.expanded.set(!this.expanded());\n\t}\n}\n","<ng-content />\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAiBa,+BAA+B,CAAA;AAb5C,IAAA,WAAA,GAAA;AAcC;;AAEG;AACM,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAmB,IAAI,2EAAC;AAE7C;;AAEG;QACM,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AACjE,IAAA;+GAVY,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAA/B,+BAA+B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,6DAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,sCAAA,EAAA,eAAA,EAAA,wBAAA,EAAA,EAAA,cAAA,EAAA,mCAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECjB5C,uHAIA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDMW,aAAa,EAAA,QAAA,EAAA,kBAAA,EAAA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AAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA/B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,+BAA+B,4wBCd5C,kBACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FDaa,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAX3C,SAAS;+BACC,6BAA6B,EAAA,eAAA,EAEtB,uBAAuB,CAAC,MAAM,iBAChC,iBAAiB,CAAC,IAAI,EAAA,IAAA,EAC/B;AACL,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,KAAK,EAAE,8BAA8B;AACrC,wBAAA,qBAAqB,EAAE,YAAY;AACnC,qBAAA,EAAA,QAAA,EAAA,kBAAA,EAAA;;;AEZF;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/ng",
|
|
3
|
-
"version": "22.0.0-rc.
|
|
3
|
+
"version": "22.0.0-rc.2",
|
|
4
4
|
"description": "A library of icons made by the team @Lucca",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/LuccaSA/lucca-front.git"
|
|
7
|
+
"url": "git+https://github.com/LuccaSA/lucca-front.git",
|
|
8
|
+
"directory": "packages/ng"
|
|
8
9
|
},
|
|
9
10
|
"schematics": "./schematics/collection.json",
|
|
10
11
|
"ng-update": {
|
|
@@ -27,9 +28,9 @@
|
|
|
27
28
|
"@angular/core": "^21.0.0",
|
|
28
29
|
"@angular/cdk": "^21.0.0",
|
|
29
30
|
"@angular/animations": "^21.0.0",
|
|
30
|
-
"@lucca-front/icons": "22.0.0-rc.
|
|
31
|
-
"@lucca-front/scss": "22.0.0-rc.
|
|
32
|
-
"@lucca/prisme": "22.0.0-rc.
|
|
31
|
+
"@lucca-front/icons": "22.0.0-rc.2",
|
|
32
|
+
"@lucca-front/scss": "22.0.0-rc.2",
|
|
33
|
+
"@lucca/prisme": "22.0.0-rc.2",
|
|
33
34
|
"@types/dompurify": "^3.0.0",
|
|
34
35
|
"isomorphic-dompurify": "^2.17.0",
|
|
35
36
|
"date-fns": "^3.6.0",
|
|
@@ -468,6 +469,10 @@
|
|
|
468
469
|
"types": "./types/lucca-front-ng-software-icon.d.ts",
|
|
469
470
|
"default": "./fesm2022/lucca-front-ng-software-icon.mjs"
|
|
470
471
|
},
|
|
472
|
+
"./software-icon-wrapper": {
|
|
473
|
+
"types": "./types/lucca-front-ng-software-icon-wrapper.d.ts",
|
|
474
|
+
"default": "./fesm2022/lucca-front-ng-software-icon-wrapper.mjs"
|
|
475
|
+
},
|
|
471
476
|
"./sortable-list": {
|
|
472
477
|
"types": "./types/lucca-front-ng-sortable-list.d.ts",
|
|
473
478
|
"default": "./fesm2022/lucca-front-ng-sortable-list.mjs"
|
|
@@ -522,6 +527,7 @@
|
|
|
522
527
|
}
|
|
523
528
|
},
|
|
524
529
|
"sideEffects": false,
|
|
530
|
+
"type": "module",
|
|
525
531
|
"dependencies": {
|
|
526
532
|
"tslib": "^2.3.0"
|
|
527
533
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnInit, ElementRef, AfterViewInit, ChangeDetectorRef, ViewContainerRef, Renderer2 } from '@angular/core';
|
|
3
3
|
import { ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber } from '@lucca-front/ng/core';
|
|
4
4
|
import { ILuOptionOperator, LuOptionPickerAdvancedComponent, ILuOptionItem, LuOptionComparer } from '@lucca-front/ng/option';
|
|
@@ -54,8 +54,8 @@ declare class LuApiV3Service<T extends ILuApiItem = ILuApiItem> extends ALuApiSe
|
|
|
54
54
|
searchPaged(clue: string, page: number, filters?: string[]): Observable<T[]>;
|
|
55
55
|
protected _get(url: string): Observable<T[]>;
|
|
56
56
|
protected _clueFilter(clue: string): string;
|
|
57
|
-
static ɵfac:
|
|
58
|
-
static ɵprov:
|
|
57
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiV3Service<any>, never>;
|
|
58
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<LuApiV3Service<any>>;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
declare class LuApiV4Service<T extends ILuApiItem = ILuApiItem> extends ALuApiService<T> {
|
|
@@ -73,8 +73,8 @@ declare class LuApiV4Service<T extends ILuApiItem = ILuApiItem> extends ALuApiSe
|
|
|
73
73
|
searchAll(clue?: string, filters?: string[]): Observable<T[]>;
|
|
74
74
|
searchPaged(clue?: string, page?: number, filters?: string[]): Observable<T[]>;
|
|
75
75
|
count(): Observable<number>;
|
|
76
|
-
static ɵfac:
|
|
77
|
-
static ɵprov:
|
|
76
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiV4Service<any>, never>;
|
|
77
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<LuApiV4Service<any>>;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
declare class LuApiHybridService<T extends ILuApiItem = ILuApiItem> extends ALuApiService<T> {
|
|
@@ -94,8 +94,8 @@ declare class LuApiHybridService<T extends ILuApiItem = ILuApiItem> extends ALuA
|
|
|
94
94
|
getPaged(page: number, filters?: string[]): Observable<T[]>;
|
|
95
95
|
searchAll(clue: string, filters?: string[]): Observable<T[]>;
|
|
96
96
|
searchPaged(clue: string, page: number, filters?: string[]): Observable<T[]>;
|
|
97
|
-
static ɵfac:
|
|
98
|
-
static ɵprov:
|
|
97
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiHybridService<any>, never>;
|
|
98
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<LuApiHybridService<any>>;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
type ILuApiOptionFeeder<T extends ILuApiItem = ILuApiItem> = ILuOptionOperator<T>;
|
|
@@ -111,15 +111,15 @@ declare abstract class ALuApiOptionFeeder<T extends ILuApiItem = ILuApiItem, S e
|
|
|
111
111
|
|
|
112
112
|
declare class LuApiFeederComponent<T extends ILuApiItem = ILuApiItem> extends ALuApiOptionFeeder<T, LuApiHybridService<T>> implements ILuOptionOperator<T>, ILuOnOpenSubscriber {
|
|
113
113
|
readonly outOptions$: BehaviorSubject<T[]>;
|
|
114
|
+
readonly standard: _angular_core.InputSignal<"v3" | "v4">;
|
|
115
|
+
readonly api: _angular_core.InputSignal<string>;
|
|
116
|
+
readonly fields: _angular_core.InputSignal<string>;
|
|
117
|
+
readonly filters: _angular_core.InputSignal<string[]>;
|
|
118
|
+
readonly orderBy: _angular_core.InputSignal<string>;
|
|
119
|
+
readonly sort: _angular_core.InputSignal<string>;
|
|
114
120
|
constructor(hostService: LuApiHybridService<T>, selfService: LuApiHybridService<T>);
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
set fields(fields: string);
|
|
118
|
-
set filters(filters: string[]);
|
|
119
|
-
set orderBy(orderBy: string);
|
|
120
|
-
set sort(sort: string);
|
|
121
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuApiFeederComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
|
|
122
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuApiFeederComponent<any>, "lu-api-feeder", never, { "standard": { "alias": "standard"; "required": false; }; "api": { "alias": "api"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; }, {}, never, never, true, never>;
|
|
121
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiFeederComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
|
|
122
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuApiFeederComponent<any>, "lu-api-feeder", never, { "standard": { "alias": "standard"; "required": false; "isSignal": true; }; "api": { "alias": "api"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "orderBy": { "alias": "orderBy"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
type ILuApiOptionSearcher<T extends ILuApiItem = ILuApiItem> = ILuApiOptionFeeder<T>;
|
|
@@ -154,38 +154,38 @@ declare abstract class ALuApiOptionPagedSearcher<T extends ILuApiItem = ILuApiIt
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
declare class LuApiSearcherComponent<T extends ILuApiItem = ILuApiItem> extends ALuApiOptionSearcher<T, LuApiHybridService<T>> implements OnInit {
|
|
157
|
-
readonly searchInput: ElementRef<HTMLElement
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
debounceTime: number
|
|
157
|
+
readonly searchInput: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
158
|
+
readonly standard: _angular_core.InputSignal<"v3" | "v4">;
|
|
159
|
+
readonly api: _angular_core.InputSignal<string>;
|
|
160
|
+
readonly fields: _angular_core.InputSignal<string>;
|
|
161
|
+
readonly filters: _angular_core.InputSignal<string[]>;
|
|
162
|
+
readonly orderBy: _angular_core.InputSignal<string>;
|
|
163
|
+
readonly sort: _angular_core.InputSignal<string>;
|
|
164
|
+
readonly debounceTime: _angular_core.InputSignal<number>;
|
|
165
165
|
clueControl: FormControl;
|
|
166
166
|
constructor(hostService: LuApiHybridService<T>, selfService: LuApiHybridService<T>);
|
|
167
167
|
ngOnInit(): void;
|
|
168
168
|
onOpen(): void;
|
|
169
169
|
resetClue(): void;
|
|
170
|
-
static ɵfac:
|
|
171
|
-
static ɵcmp:
|
|
170
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiSearcherComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
|
|
171
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuApiSearcherComponent<any>, "lu-api-searcher", never, { "standard": { "alias": "standard"; "required": false; "isSignal": true; }; "api": { "alias": "api"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "orderBy": { "alias": "orderBy"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
172
172
|
}
|
|
173
173
|
declare class LuApiPagedSearcherComponent<T extends ILuApiItem = ILuApiItem> extends ALuApiOptionPagedSearcher<T, LuApiHybridService<T>> implements OnInit {
|
|
174
|
-
readonly searchInput: ElementRef<HTMLElement
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
debounceTime: number
|
|
174
|
+
readonly searchInput: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
175
|
+
readonly standard: _angular_core.InputSignal<"v3" | "v4">;
|
|
176
|
+
readonly api: _angular_core.InputSignal<string>;
|
|
177
|
+
readonly fields: _angular_core.InputSignal<string>;
|
|
178
|
+
readonly filters: _angular_core.InputSignal<string[]>;
|
|
179
|
+
readonly orderBy: _angular_core.InputSignal<string>;
|
|
180
|
+
readonly sort: _angular_core.InputSignal<string>;
|
|
181
|
+
readonly debounceTime: _angular_core.InputSignal<number>;
|
|
182
182
|
clueControl: FormControl;
|
|
183
183
|
constructor(hostService: LuApiHybridService<T>, selfService: LuApiHybridService<T>);
|
|
184
184
|
ngOnInit(): void;
|
|
185
185
|
onOpen(): void;
|
|
186
186
|
resetClue(): void;
|
|
187
|
-
static ɵfac:
|
|
188
|
-
static ɵcmp:
|
|
187
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiPagedSearcherComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
|
|
188
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuApiPagedSearcherComponent<any>, "lu-api-paged-searcher", never, { "standard": { "alias": "standard"; "required": false; "isSignal": true; }; "api": { "alias": "api"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "orderBy": { "alias": "orderBy"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
declare enum Strategy {
|
|
@@ -217,15 +217,15 @@ declare abstract class ALuApiOptionPager<T extends ILuApiItem = ILuApiItem, S ex
|
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
declare class LuApiPagerComponent<T extends ILuApiItem = ILuApiItem> extends ALuApiOptionPager<T, LuApiHybridService<T>> implements ILuOptionOperator<T>, OnInit, ILuOnScrollBottomSubscriber, ILuOnOpenSubscriber {
|
|
220
|
+
readonly standard: _angular_core.InputSignal<"v3" | "v4">;
|
|
221
|
+
readonly api: _angular_core.InputSignal<string>;
|
|
222
|
+
readonly fields: _angular_core.InputSignal<string>;
|
|
223
|
+
readonly filters: _angular_core.InputSignal<string[]>;
|
|
224
|
+
readonly orderBy: _angular_core.InputSignal<string>;
|
|
220
225
|
constructor(hostService: LuApiHybridService<T>, selfService: LuApiHybridService<T>);
|
|
221
|
-
set standard(standard: 'v3' | 'v4');
|
|
222
|
-
set api(api: string);
|
|
223
|
-
set fields(fields: string);
|
|
224
|
-
set filters(filters: string[]);
|
|
225
|
-
set orderBy(orderBy: string);
|
|
226
226
|
ngOnInit(): void;
|
|
227
|
-
static ɵfac:
|
|
228
|
-
static ɵcmp:
|
|
227
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiPagerComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
|
|
228
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuApiPagerComponent<any>, "lu-api-pager", never, { "standard": { "alias": "standard"; "required": false; "isSignal": true; }; "api": { "alias": "api"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "orderBy": { "alias": "orderBy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
declare class LuApiSelectInputComponent<T extends ILuApiItem = ILuApiItem> extends ALuSelectInputComponent<T, LuOptionPickerAdvancedComponent<T, ILuOptionItem<T>>> implements ControlValueAccessor, AfterViewInit {
|
|
@@ -234,61 +234,61 @@ declare class LuApiSelectInputComponent<T extends ILuApiItem = ILuApiItem> exten
|
|
|
234
234
|
protected _elementRef: ElementRef<HTMLElement>;
|
|
235
235
|
protected _viewContainerRef: ViewContainerRef;
|
|
236
236
|
protected _renderer: Renderer2;
|
|
237
|
-
standard:
|
|
238
|
-
api: string
|
|
237
|
+
readonly standard: _angular_core.InputSignal<"v3" | "v4">;
|
|
238
|
+
readonly api: _angular_core.InputSignal<string>;
|
|
239
239
|
/**
|
|
240
240
|
* only works with standard="v3"
|
|
241
241
|
*/
|
|
242
|
-
fields: string
|
|
243
|
-
filters: string[]
|
|
242
|
+
readonly fields: _angular_core.InputSignal<string>;
|
|
243
|
+
readonly filters: _angular_core.InputSignal<string[]>;
|
|
244
244
|
/**
|
|
245
245
|
* only works with standard="v3", otherwise use sort
|
|
246
246
|
*/
|
|
247
|
-
orderBy: string
|
|
247
|
+
readonly orderBy: _angular_core.InputSignal<string>;
|
|
248
248
|
/**
|
|
249
249
|
* only works with standard="v4", otherwise use orderBy
|
|
250
250
|
*/
|
|
251
|
-
sort: string
|
|
251
|
+
readonly sort: _angular_core.InputSignal<string>;
|
|
252
252
|
byId: LuOptionComparer<T>;
|
|
253
253
|
constructor(_changeDetectorRef: ChangeDetectorRef, _overlay: Overlay, _elementRef: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _renderer: Renderer2);
|
|
254
|
-
static ɵfac:
|
|
255
|
-
static ɵcmp:
|
|
254
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiSelectInputComponent<any>, never>;
|
|
255
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuApiSelectInputComponent<any>, "lu-api-select", never, { "standard": { "alias": "standard"; "required": false; "isSignal": true; }; "api": { "alias": "api"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "orderBy": { "alias": "orderBy"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
/**
|
|
259
259
|
* @deprecated use `LuApiFeederComponent, LuApiPagedSearcherComponent, LuApiSearcherComponent, LuApiPagerComponent, LuApiSelectInputComponent` instead
|
|
260
260
|
*/
|
|
261
261
|
declare class LuApiSelectModule {
|
|
262
|
-
static ɵfac:
|
|
263
|
-
static ɵmod:
|
|
264
|
-
static ɵinj:
|
|
262
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiSelectModule, never>;
|
|
263
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuApiSelectModule, never, [typeof LuApiFeederComponent, typeof LuApiPagedSearcherComponent, typeof LuApiSearcherComponent, typeof LuApiPagerComponent, typeof LuApiSelectInputComponent], [typeof LuApiFeederComponent, typeof LuApiPagedSearcherComponent, typeof LuApiSearcherComponent, typeof LuApiPagerComponent, typeof LuApiSelectInputComponent]>;
|
|
264
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuApiSelectModule>;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
268
|
* @deprecated use `LuApiFeederComponent, LuApiPagedSearcherComponent, LuApiSearcherComponent, LuApiPagerComponent, LuApiSelectInputComponent` instead
|
|
269
269
|
*/
|
|
270
270
|
declare class LuApiModule {
|
|
271
|
-
static ɵfac:
|
|
272
|
-
static ɵmod:
|
|
273
|
-
static ɵinj:
|
|
271
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiModule, never>;
|
|
272
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuApiModule, never, [typeof LuApiSelectModule], [typeof LuApiSelectModule]>;
|
|
273
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuApiModule>;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
277
|
* @deprecated use `LuApiPagedSearcherComponent, LuApiSearcherComponent` instead
|
|
278
278
|
*/
|
|
279
279
|
declare class LuApiSearcherModule {
|
|
280
|
-
static ɵfac:
|
|
281
|
-
static ɵmod:
|
|
282
|
-
static ɵinj:
|
|
280
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiSearcherModule, never>;
|
|
281
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuApiSearcherModule, never, [typeof LuApiPagedSearcherComponent, typeof LuApiSearcherComponent], [typeof LuApiPagedSearcherComponent, typeof LuApiSearcherComponent]>;
|
|
282
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuApiSearcherModule>;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
286
|
* @deprecated use `LuApiSelectInputComponent` instead
|
|
287
287
|
*/
|
|
288
288
|
declare class LuApiSelectInputModule {
|
|
289
|
-
static ɵfac:
|
|
290
|
-
static ɵmod:
|
|
291
|
-
static ɵinj:
|
|
289
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiSelectInputModule, never>;
|
|
290
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuApiSelectInputModule, never, [typeof LuApiSelectInputComponent], [typeof LuApiSelectInputComponent]>;
|
|
291
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuApiSelectInputModule>;
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
export { ALuApiOptionFeeder, ALuApiOptionPagedSearcher, ALuApiOptionPager, ALuApiOptionSearcher, ALuApiService, LuApiFeederComponent, LuApiHybridService, LuApiModule, LuApiPagedSearcherComponent, LuApiPagerComponent, LuApiSearcherComponent, LuApiSearcherModule, LuApiSelectInputComponent, LuApiSelectInputModule, LuApiSelectModule, LuApiV3Service, LuApiV4Service };
|
|
@@ -93,7 +93,7 @@ declare class CalloutPopoverComponent {
|
|
|
93
93
|
/**
|
|
94
94
|
* Label (visual only) to put inside the button, often used to show just a number
|
|
95
95
|
*/
|
|
96
|
-
readonly buttonLabel: _angular_core.InputSignal<string>;
|
|
96
|
+
readonly buttonLabel: _angular_core.InputSignal<string | number>;
|
|
97
97
|
/**
|
|
98
98
|
* Alternative for the button
|
|
99
99
|
*/
|
|
@@ -135,6 +135,10 @@ declare class CalloutPopoverComponent {
|
|
|
135
135
|
* Defines custom callout popover open position override popoverPosition
|
|
136
136
|
*/
|
|
137
137
|
readonly customPopoverPositions: _angular_core.InputSignal<ConnectionPositionPair[]>;
|
|
138
|
+
/**
|
|
139
|
+
* Disable callout popover apparition
|
|
140
|
+
*/
|
|
141
|
+
readonly popoverDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
138
142
|
readonly feedbackItems: _angular_core.Signal<readonly CalloutFeedbackItemComponent[]>;
|
|
139
143
|
readonly contentSize: _angular_core.Signal<"M" | "S">;
|
|
140
144
|
readonly calloutOverlayClasses: _angular_core.Signal<{
|
|
@@ -148,7 +152,7 @@ declare class CalloutPopoverComponent {
|
|
|
148
152
|
[x: string]: boolean;
|
|
149
153
|
}>;
|
|
150
154
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalloutPopoverComponent, never>;
|
|
151
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalloutPopoverComponent, "lu-callout-popover", never, { "openDelay": { "alias": "openDelay"; "required": false; "isSignal": true; }; "closeDelay": { "alias": "closeDelay"; "required": false; "isSignal": true; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; "isSignal": true; }; "buttonAlt": { "alias": "buttonAlt"; "required": false; "isSignal": true; }; "headingHiddenIfSingleItem": { "alias": "headingHiddenIfSingleItem"; "required": false; "isSignal": true; }; "popoverTrigger": { "alias": "popoverTrigger"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "popoverPosition": { "alias": "popoverPosition"; "required": false; "isSignal": true; }; "customPopoverPositions": { "alias": "customPopoverPositions"; "required": false; "isSignal": true; }; }, {}, ["feedbackItems"], ["*"], true, never>;
|
|
155
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalloutPopoverComponent, "lu-callout-popover", never, { "openDelay": { "alias": "openDelay"; "required": false; "isSignal": true; }; "closeDelay": { "alias": "closeDelay"; "required": false; "isSignal": true; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; "isSignal": true; }; "buttonAlt": { "alias": "buttonAlt"; "required": false; "isSignal": true; }; "headingHiddenIfSingleItem": { "alias": "headingHiddenIfSingleItem"; "required": false; "isSignal": true; }; "popoverTrigger": { "alias": "popoverTrigger"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "popoverPosition": { "alias": "popoverPosition"; "required": false; "isSignal": true; }; "customPopoverPositions": { "alias": "customPopoverPositions"; "required": false; "isSignal": true; }; "popoverDisabled": { "alias": "popoverDisabled"; "required": false; "isSignal": true; }; }, {}, ["feedbackItems"], ["*"], true, never>;
|
|
152
156
|
}
|
|
153
157
|
|
|
154
158
|
declare const CalloutStates: readonly ["success", "warning", "error"];
|
|
@@ -32,15 +32,16 @@ declare class ClearComponent<T> extends ALuClear<T> implements ILuClear<T> {
|
|
|
32
32
|
* Change the clear colors for use on a dark background
|
|
33
33
|
*/
|
|
34
34
|
readonly inverted: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
35
|
+
readonly onClear: EventEmitter<T>;
|
|
35
36
|
/**
|
|
36
37
|
* Emit event when button clear is click
|
|
37
38
|
*/
|
|
38
|
-
|
|
39
|
+
protected readonly onClearOutput: _angular_core.OutputRef<T>;
|
|
39
40
|
readonly contentRef: _angular_core.Signal<readonly ElementRef<any>[]>;
|
|
40
41
|
constructor();
|
|
41
42
|
clear($event: Event): void;
|
|
42
43
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClearComponent<any>, never>;
|
|
43
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClearComponent<any>, "lu-clear", ["luClearer"], { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; }, { "
|
|
44
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClearComponent<any>, "lu-clear", ["luClearer"], { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; }, { "onClearOutput": "onClear"; }, ["contentRef"], ["*"], true, never>;
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
export { ALuClear, ClearComponent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
3
|
import { HttpClient } from '@angular/common/http';
|
|
2
4
|
import { ILuApiItem } from '@lucca-front/ng/api';
|
|
3
5
|
import { ALuSelectInputComponent, LuOptionComparer, CoreSelectApiTotalCountProvider } from '@lucca-front/ng/core-select';
|
|
4
|
-
import { Subject, Observable
|
|
5
|
-
import * as i0 from '@angular/core';
|
|
6
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
6
|
+
import { Subject, Observable } from 'rxjs';
|
|
7
7
|
|
|
8
8
|
declare const LU_SELECT_MAGIC_PAGE_SIZE = 20;
|
|
9
|
-
declare abstract class ALuCoreSelectApiDirective<TOption, TParams = Record<string, string | number | boolean
|
|
9
|
+
declare abstract class ALuCoreSelectApiDirective<TOption, TParams = Record<string, string | number | boolean> | null> implements OnDestroy, OnInit {
|
|
10
10
|
protected readonly destroy$: Subject<void>;
|
|
11
11
|
protected pageSize: number;
|
|
12
12
|
protected debounceDuration: number;
|
|
@@ -36,20 +36,20 @@ declare abstract class ALuCoreSelectApiDirective<TOption, TParams = Record<strin
|
|
|
36
36
|
isLastPage: boolean;
|
|
37
37
|
}>;
|
|
38
38
|
ngOnDestroy(): void;
|
|
39
|
-
static ɵfac:
|
|
40
|
-
static ɵdir:
|
|
39
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ALuCoreSelectApiDirective<any, any>, never>;
|
|
40
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ALuCoreSelectApiDirective<any, any>, never, never, {}, {}, never, never, true, never>;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
declare class LuCoreSelectApiV3Directive<T extends ILuApiItem> extends ALuCoreSelectApiDirective<T> implements CoreSelectApiTotalCountProvider {
|
|
44
|
-
set apiV3(value: string);
|
|
45
|
-
set fields(value: string);
|
|
46
|
-
set orderBy(value: string | null);
|
|
47
|
-
set filters(value: Record<string, string | number | boolean>);
|
|
48
|
-
protected readonly url$: ReplaySubject<string>;
|
|
49
|
-
protected readonly fields$: BehaviorSubject<string>;
|
|
50
|
-
protected readonly orderBy$: BehaviorSubject<string>;
|
|
51
|
-
protected readonly filters$: BehaviorSubject<Record<string, string | number | boolean>>;
|
|
52
44
|
protected httpClient: HttpClient;
|
|
45
|
+
readonly apiV3: _angular_core.InputSignal<string>;
|
|
46
|
+
readonly fields: _angular_core.InputSignal<string>;
|
|
47
|
+
readonly orderBy: _angular_core.InputSignal<string>;
|
|
48
|
+
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
|
|
49
|
+
protected readonly url$: Observable<string>;
|
|
50
|
+
protected readonly fields$: Observable<string>;
|
|
51
|
+
protected readonly orderBy$: Observable<string>;
|
|
52
|
+
protected readonly filters$: Observable<Record<string, string | number | boolean>>;
|
|
53
53
|
protected params$: Observable<{
|
|
54
54
|
name?: string;
|
|
55
55
|
orderBy?: string;
|
|
@@ -58,23 +58,23 @@ declare class LuCoreSelectApiV3Directive<T extends ILuApiItem> extends ALuCoreSe
|
|
|
58
58
|
totalCount$: Observable<number>;
|
|
59
59
|
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
60
60
|
protected optionKey: (option: T) => number;
|
|
61
|
-
static ɵfac:
|
|
62
|
-
static ɵdir:
|
|
61
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectApiV3Directive<any>, never>;
|
|
62
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectApiV3Directive<any>, "lu-simple-select[apiV3],lu-multi-select[apiV3]", never, { "apiV3": { "alias": "apiV3"; "required": true; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "orderBy": { "alias": "orderBy"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
declare class LuCoreSelectApiV4Directive<T extends ILuApiItem> extends ALuCoreSelectApiDirective<T> implements CoreSelectApiTotalCountProvider {
|
|
66
|
-
readonly apiV4:
|
|
67
|
-
readonly sort:
|
|
68
|
-
readonly filters:
|
|
69
|
-
readonly searchDelimiter:
|
|
66
|
+
readonly apiV4: _angular_core.ModelSignal<string>;
|
|
67
|
+
readonly sort: _angular_core.InputSignal<string>;
|
|
68
|
+
readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
|
|
69
|
+
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
70
70
|
protected httpClient: HttpClient;
|
|
71
|
-
protected readonly clue:
|
|
71
|
+
protected readonly clue: _angular_core.Signal<string>;
|
|
72
72
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
73
73
|
readonly totalCount$: Observable<number>;
|
|
74
74
|
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
75
75
|
protected optionKey: (option: T) => number;
|
|
76
|
-
static ɵfac:
|
|
77
|
-
static ɵdir:
|
|
76
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectApiV4Directive<any>, never>;
|
|
77
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectApiV4Directive<any>, "lu-simple-select[apiV4],lu-multi-select[apiV4]", never, { "apiV4": { "alias": "apiV4"; "required": true; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "searchDelimiter": { "alias": "searchDelimiter"; "required": false; "isSignal": true; }; }, { "apiV4": "apiV4Change"; }, never, never, true, never>;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
export { ALuCoreSelectApiDirective, LU_SELECT_MAGIC_PAGE_SIZE, LuCoreSelectApiV3Directive, LuCoreSelectApiV4Directive };
|
|
@@ -27,6 +27,10 @@ declare class LuCoreSelectDepartmentsDirective<T extends ILuDepartment = ILuDepa
|
|
|
27
27
|
readonly searchDelimiter: _angular_core.InputSignal<string>;
|
|
28
28
|
ngOnInit(): void;
|
|
29
29
|
protected buildOptions(): Observable<TreeNode<T>[]>;
|
|
30
|
+
protected getOptionsPage(params: Record<string, string | number | boolean> | null, page: number): Observable<{
|
|
31
|
+
items: TreeNode<T>[];
|
|
32
|
+
isLastPage: boolean;
|
|
33
|
+
}>;
|
|
30
34
|
protected getOptions(params: Record<string, string | number | boolean> | null): Observable<TreeNode<T>[]>;
|
|
31
35
|
trim(options: TreeNode<T>[], clue: string): TreeNode<T>[];
|
|
32
36
|
protected readonly params$: Observable<Record<string, string | number | boolean>>;
|
|
@@ -73,7 +73,7 @@ declare class LuCoreSelectUserOptionDirective<T extends LuCoreSelectUser = LuCor
|
|
|
73
73
|
#private;
|
|
74
74
|
readonly usersDirective: _angular_core.InputSignal<LuCoreSelectUsersDirective<T>>;
|
|
75
75
|
constructor();
|
|
76
|
-
static ngTemplateContextGuard<T extends LuCoreSelectUser>(_dir: LuCoreSelectUserOptionDirective<T>,
|
|
76
|
+
static ngTemplateContextGuard<T extends LuCoreSelectUser>(_dir: LuCoreSelectUserOptionDirective<T>, _ctx: unknown): _ctx is {
|
|
77
77
|
$implicit: T;
|
|
78
78
|
};
|
|
79
79
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectUserOptionDirective<any>, never>;
|