@lucca-front/ng 21.3.0-rc.5 → 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 +3 -3
- package/fesm2022/lucca-front-ng-activity-feed.mjs +12 -17
- package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +122 -202
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-app-layout.mjs +3 -3
- package/fesm2022/lucca-front-ng-box.mjs +3 -3
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +6 -6
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +4 -10
- package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +5 -10
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +36 -36
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +4 -10
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +9 -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 +4 -9
- package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +12 -17
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-container.mjs +4 -9
- package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-api.mjs +29 -45
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-department.mjs +13 -11
- package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +9 -9
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +6 -6
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +3 -3
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +42 -42
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +204 -270
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +37 -21
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +61 -60
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +144 -164
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +147 -150
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +26 -24
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +92 -68
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +7 -14
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +69 -72
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +15 -20
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-error-page.mjs +4 -9
- package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +81 -115
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +5 -10
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +33 -52
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +41 -24
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +4 -10
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +43 -64
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +4 -9
- package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-label.mjs +4 -9
- package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form.mjs +6 -9
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +60 -59
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +53 -53
- 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 +18 -16
- 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 +9 -8
- 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 +8 -6
- 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 +64 -57
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +51 -109
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +3 -3
- package/fesm2022/lucca-front-ng-grid.mjs +9 -21
- package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs +5 -27
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +15 -160
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +38 -44
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +4 -11
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +28 -26
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +6 -6
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +10 -15
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +8 -8
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs +4 -9
- package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-main-layout.mjs +6 -6
- 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 +36 -40
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +174 -203
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-number-format.mjs +22 -25
- 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-numeric-badge.mjs +4 -9
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +159 -162
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +3 -3
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +5 -10
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +5 -5
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +144 -255
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +41 -69
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup.mjs +11 -11
- package/fesm2022/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-bar.mjs +4 -9
- package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-stepper.mjs +7 -12
- package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +5 -10
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +13 -19
- 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-scroll-box.mjs +3 -3
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +7 -7
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +8 -14
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +6 -6
- package/fesm2022/lucca-front-ng-select.mjs +92 -138
- 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 +43 -41
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +28 -50
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +6 -6
- package/fesm2022/lucca-front-ng-software-icon.mjs +25 -29
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +6 -6
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +4 -9
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-table-of-content.mjs +6 -6
- package/fesm2022/lucca-front-ng-tag.mjs +5 -10
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-text-flow.mjs +4 -4
- package/fesm2022/lucca-front-ng-text-flow.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +68 -316
- 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 +11 -11
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +17 -17
- package/fesm2022/lucca-front-ng-tree-select.mjs +17 -16
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +27 -32
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +139 -195
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +12 -12
- package/package.json +5 -13
- package/schematics/lib/local-deps/package-lock.json +79 -17
- package/schematics/lib/local-deps/package.json +1 -1
- package/schematics/palettes/index.js +1 -12
- package/src/components/_picker.scss +1 -2
- package/types/lucca-front-ng-activity-feed.d.ts +1 -8
- package/types/lucca-front-ng-api.d.ts +75 -81
- package/types/lucca-front-ng-bubble-icon.d.ts +1 -10
- package/types/lucca-front-ng-bubble-illustration.d.ts +4 -10
- package/types/lucca-front-ng-callout.d.ts +12 -20
- package/types/lucca-front-ng-chip.d.ts +1 -10
- package/types/lucca-front-ng-clear.d.ts +6 -11
- package/types/lucca-front-ng-color.d.ts +1 -8
- package/types/lucca-front-ng-comment.d.ts +1 -8
- package/types/lucca-front-ng-container.d.ts +1 -8
- package/types/lucca-front-ng-core-select-api.d.ts +28 -28
- package/types/lucca-front-ng-core-select-department.d.ts +10 -10
- package/types/lucca-front-ng-core-select-establishment.d.ts +12 -12
- package/types/lucca-front-ng-core-select-job-qualification.d.ts +6 -6
- package/types/lucca-front-ng-core-select-occupation-category.d.ts +6 -6
- package/types/lucca-front-ng-core-select-user.d.ts +20 -21
- package/types/lucca-front-ng-core-select.d.ts +186 -185
- package/types/lucca-front-ng-core.d.ts +16 -10
- package/types/lucca-front-ng-data-table.d.ts +41 -52
- package/types/lucca-front-ng-date.d.ts +30 -28
- package/types/lucca-front-ng-date2.d.ts +98 -106
- package/types/lucca-front-ng-department.d.ts +2 -2
- package/types/lucca-front-ng-dialog.d.ts +13 -13
- package/types/lucca-front-ng-divider.d.ts +2 -9
- package/types/lucca-front-ng-dropdown.d.ts +5 -4
- package/types/lucca-front-ng-empty-state.d.ts +7 -15
- package/types/lucca-front-ng-error-page.d.ts +4 -9
- package/types/lucca-front-ng-establishment.d.ts +26 -27
- package/types/lucca-front-ng-fancy-box.d.ts +1 -8
- package/types/lucca-front-ng-file-upload.d.ts +24 -39
- package/types/lucca-front-ng-filter-pills.d.ts +37 -32
- package/types/lucca-front-ng-footer.d.ts +2 -11
- package/types/lucca-front-ng-form-field.d.ts +27 -45
- package/types/lucca-front-ng-form-header.d.ts +1 -8
- package/types/lucca-front-ng-form-label.d.ts +1 -8
- package/types/lucca-front-ng-form.d.ts +0 -2
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +19 -26
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +15 -14
- package/types/lucca-front-ng-forms.d.ts +54 -95
- package/types/lucca-front-ng-grid.d.ts +8 -23
- package/types/lucca-front-ng-highlight-data.d.ts +1 -16
- package/types/lucca-front-ng-horizontal-navigation.d.ts +3 -40
- package/types/lucca-front-ng-index-table.d.ts +40 -49
- package/types/lucca-front-ng-inline-message.d.ts +4 -11
- package/types/lucca-front-ng-input.d.ts +8 -8
- package/types/lucca-front-ng-link.d.ts +4 -4
- package/types/lucca-front-ng-listbox.d.ts +1 -8
- package/types/lucca-front-ng-loading.d.ts +1 -8
- package/types/lucca-front-ng-mobile-push.d.ts +1 -1
- package/types/lucca-front-ng-modal.d.ts +12 -12
- package/types/lucca-front-ng-multi-select.d.ts +55 -58
- package/types/lucca-front-ng-number-format.d.ts +2 -2
- package/types/lucca-front-ng-numeric-badge.d.ts +1 -8
- package/types/lucca-front-ng-option.d.ts +26 -26
- package/types/lucca-front-ng-page-header.d.ts +1 -1
- package/types/lucca-front-ng-pagination.d.ts +1 -8
- package/types/lucca-front-ng-popover.d.ts +53 -47
- package/types/lucca-front-ng-popover2.d.ts +33 -31
- package/types/lucca-front-ng-popup.d.ts +8 -8
- package/types/lucca-front-ng-progress-bar.d.ts +1 -8
- package/types/lucca-front-ng-progress-stepper.d.ts +1 -8
- package/types/lucca-front-ng-read-more.d.ts +7 -14
- package/types/lucca-front-ng-resource-card.d.ts +1 -10
- package/types/lucca-front-ng-scroll-box.d.ts +3 -3
- package/types/lucca-front-ng-segmented-control-tabs.d.ts +1 -3
- package/types/lucca-front-ng-segmented-control.d.ts +2 -4
- package/types/lucca-front-ng-select.d.ts +34 -32
- package/types/lucca-front-ng-sidepanel.d.ts +1 -1
- package/types/lucca-front-ng-simple-select.d.ts +16 -17
- package/types/lucca-front-ng-skeleton.d.ts +10 -26
- package/types/lucca-front-ng-software-icon.d.ts +5 -10
- package/types/lucca-front-ng-sortable-list.d.ts +8 -8
- package/types/lucca-front-ng-status-badge.d.ts +1 -8
- package/types/lucca-front-ng-tag.d.ts +1 -8
- package/types/lucca-front-ng-time.d.ts +25 -103
- package/types/lucca-front-ng-title.d.ts +5 -5
- package/types/lucca-front-ng-toast.d.ts +1 -1
- package/types/lucca-front-ng-tree-select.d.ts +11 -11
- package/types/lucca-front-ng-user-popover.d.ts +10 -9
- package/types/lucca-front-ng-user.d.ts +31 -45
- package/fesm2022/lucca-front-ng-highlight-text.mjs +0 -26
- package/fesm2022/lucca-front-ng-highlight-text.mjs.map +0 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs +0 -119
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +0 -1
- package/schematics/package.json +0 -3
- package/types/lucca-front-ng-highlight-text.d.ts +0 -12
- package/types/lucca-front-ng-impersonation.d.ts +0 -33
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ModelSignal, ElementRef, InjectionToken
|
|
2
|
+
import { ModelSignal, ElementRef, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _lucca_front_ng_time from '@lucca-front/ng/time';
|
|
4
|
-
import { ControlValueAccessor
|
|
5
|
-
import * as _lucca_front_ng_core from '@lucca-front/ng/core';
|
|
4
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
6
5
|
import { LuTranslation } from '@lucca-front/ng/core';
|
|
7
6
|
|
|
8
|
-
/**
|
|
9
|
-
* Available BasePickerComponent sizes
|
|
10
|
-
*/
|
|
11
|
-
declare const BASE_PICKER_SIZE: readonly ["S", "M"];
|
|
12
|
-
type BasePickerSize = (typeof BASE_PICKER_SIZE)[number];
|
|
13
|
-
|
|
14
7
|
type ISO8601Duration = `${string}P${string}`;
|
|
15
8
|
type ISO8601Time = `${string}:${string}:${string}`;
|
|
16
9
|
|
|
@@ -20,7 +13,7 @@ declare class TimePickerPartComponent {
|
|
|
20
13
|
private locale;
|
|
21
14
|
readonly label: _angular_core.InputSignal<string>;
|
|
22
15
|
readonly decimalConf: _angular_core.InputSignal<string>;
|
|
23
|
-
value: ModelSignal<number | '––'>;
|
|
16
|
+
readonly value: ModelSignal<number | '––'>;
|
|
24
17
|
readonly display: _angular_core.InputSignal<number | "––">;
|
|
25
18
|
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
26
19
|
readonly autoWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -31,17 +24,16 @@ declare class TimePickerPartComponent {
|
|
|
31
24
|
readonly focused: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
32
25
|
readonly maxDigits: _angular_core.InputSignal<number>;
|
|
33
26
|
readonly showZero: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
34
|
-
digitNumber: ModelSignal<number>;
|
|
35
|
-
isValueSet: ModelSignal<boolean>;
|
|
27
|
+
readonly digitNumber: ModelSignal<number>;
|
|
28
|
+
readonly isValueSet: ModelSignal<boolean>;
|
|
36
29
|
prevRequest: _angular_core.OutputEmitterRef<void>;
|
|
37
30
|
nextRequest: _angular_core.OutputEmitterRef<void>;
|
|
38
|
-
nonDigitKeyPressed: _angular_core.OutputEmitterRef<void>;
|
|
39
31
|
inputControlClick: _angular_core.OutputEmitterRef<PickerControlDirection>;
|
|
40
32
|
touched: _angular_core.OutputEmitterRef<void>;
|
|
41
|
-
timePickerInput
|
|
42
|
-
valueLabel: _angular_core.Signal<string | number>;
|
|
33
|
+
readonly timePickerInput: _angular_core.Signal<ElementRef<HTMLInputElement>>;
|
|
34
|
+
readonly valueLabel: _angular_core.Signal<string | number>;
|
|
43
35
|
readonly currentValue: _angular_core.Signal<number | "––">;
|
|
44
|
-
|
|
36
|
+
protected inputId: string;
|
|
45
37
|
constructor(locale: string);
|
|
46
38
|
arrowKeyPressed(event: KeyboardEvent, isUpArrow: boolean): void;
|
|
47
39
|
keysInputHandler(event: Event): void;
|
|
@@ -53,24 +45,24 @@ declare class TimePickerPartComponent {
|
|
|
53
45
|
moveRequest(event: Event, direction: 'prev' | 'next'): void;
|
|
54
46
|
focus(): void;
|
|
55
47
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimePickerPartComponent, never>;
|
|
56
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerPartComponent, "lu-time-picker-part", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "decimalConf": { "alias": "decimalConf"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "display": { "alias": "display"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "autoWidth": { "alias": "autoWidth"; "required": false; "isSignal": true; }; "displayArrows": { "alias": "displayArrows"; "required": false; "isSignal": true; }; "isReadonly": { "alias": "isReadonly"; "required": false; "isSignal": true; }; "hideValue": { "alias": "hideValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focused": { "alias": "focused"; "required": false; "isSignal": true; }; "maxDigits": { "alias": "maxDigits"; "required": false; "isSignal": true; }; "showZero": { "alias": "showZero"; "required": false; "isSignal": true; }; "digitNumber": { "alias": "digitNumber"; "required": false; "isSignal": true; }; "isValueSet": { "alias": "isValueSet"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "digitNumber": "digitNumberChange"; "isValueSet": "isValueSetChange"; "prevRequest": "prevRequest"; "nextRequest": "nextRequest"; "
|
|
48
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerPartComponent, "lu-time-picker-part", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "decimalConf": { "alias": "decimalConf"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "display": { "alias": "display"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "autoWidth": { "alias": "autoWidth"; "required": false; "isSignal": true; }; "displayArrows": { "alias": "displayArrows"; "required": false; "isSignal": true; }; "isReadonly": { "alias": "isReadonly"; "required": false; "isSignal": true; }; "hideValue": { "alias": "hideValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focused": { "alias": "focused"; "required": false; "isSignal": true; }; "maxDigits": { "alias": "maxDigits"; "required": false; "isSignal": true; }; "showZero": { "alias": "showZero"; "required": false; "isSignal": true; }; "digitNumber": { "alias": "digitNumber"; "required": false; "isSignal": true; }; "isValueSet": { "alias": "isValueSet"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "digitNumber": "digitNumberChange"; "isValueSet": "isValueSetChange"; "prevRequest": "prevRequest"; "nextRequest": "nextRequest"; "inputControlClick": "inputControlClick"; "touched": "touched"; }, never, never, true, never>;
|
|
57
49
|
}
|
|
58
50
|
|
|
59
51
|
declare abstract class BasePickerComponent implements ControlValueAccessor {
|
|
60
52
|
onChange: (value: ISO8601Time | ISO8601Duration) => void;
|
|
61
53
|
onTouched: () => void;
|
|
62
|
-
step: _angular_core.InputSignal<`${string}P${string}`>;
|
|
63
|
-
disabled: _angular_core.ModelSignal<boolean>;
|
|
64
|
-
size: _angular_core.InputSignal<"S" | "M">;
|
|
65
|
-
hoursPart: _angular_core.Signal<TimePickerPartComponent>;
|
|
66
|
-
minutesPart: _angular_core.Signal<TimePickerPartComponent>;
|
|
67
|
-
protected hoursIncrement: _angular_core.Signal<number>;
|
|
68
|
-
protected minutesIncrement: _angular_core.Signal<number>;
|
|
54
|
+
readonly step: _angular_core.InputSignal<`${string}P${string}`>;
|
|
55
|
+
readonly disabled: _angular_core.ModelSignal<boolean>;
|
|
56
|
+
readonly size: _angular_core.InputSignal<"S" | "M">;
|
|
57
|
+
readonly hoursPart: _angular_core.Signal<TimePickerPartComponent>;
|
|
58
|
+
readonly minutesPart: _angular_core.Signal<TimePickerPartComponent>;
|
|
59
|
+
protected readonly hoursIncrement: _angular_core.Signal<number>;
|
|
60
|
+
protected readonly minutesIncrement: _angular_core.Signal<number>;
|
|
69
61
|
registerOnChange(fn: () => void): void;
|
|
70
62
|
registerOnTouched(fn: () => void): void;
|
|
71
63
|
abstract writeValue(value: ISO8601Time | ISO8601Duration): void;
|
|
72
64
|
abstract getHoursIncrement(): number;
|
|
73
|
-
abstract getMinutesIncrement(): number;
|
|
65
|
+
abstract getMinutesIncrement(): number | null;
|
|
74
66
|
protected focusPart(type: 'hours' | 'minutes'): void;
|
|
75
67
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BasePickerComponent, never>;
|
|
76
68
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BasePickerComponent, "ng-component", never, { "step": { "alias": "step"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; }, never, never, true, never>;
|
|
@@ -89,13 +81,12 @@ type DurationChangeEvent = {
|
|
|
89
81
|
|
|
90
82
|
declare class DurationPickerComponent extends BasePickerComponent {
|
|
91
83
|
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_time.DurationPickerTranslations, Partial<_lucca_front_ng_time.DurationPickerTranslations>>;
|
|
92
|
-
value: _angular_core.ModelSignal<`${string}P${string}`>;
|
|
84
|
+
readonly value: _angular_core.ModelSignal<`${string}P${string}`>;
|
|
93
85
|
readonly max: _angular_core.InputSignal<`${string}P${string}`>;
|
|
94
86
|
readonly displayArrows: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
95
87
|
readonly label: _angular_core.InputSignal<string>;
|
|
96
88
|
readonly hideZeroValue: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
97
89
|
readonly durationChange: _angular_core.OutputEmitterRef<DurationChangeEvent>;
|
|
98
|
-
keyPressed: _angular_core.WritableSignal<boolean>;
|
|
99
90
|
protected readonly hours: _angular_core.Signal<number>;
|
|
100
91
|
protected readonly minutes: _angular_core.Signal<number>;
|
|
101
92
|
protected readonly shouldHideValue: _angular_core.Signal<boolean>;
|
|
@@ -105,13 +96,12 @@ declare class DurationPickerComponent extends BasePickerComponent {
|
|
|
105
96
|
timePicker: boolean;
|
|
106
97
|
'mod-stepper': boolean;
|
|
107
98
|
'mod-stepperHover': boolean;
|
|
108
|
-
'pr-u-animatedShake': boolean;
|
|
109
99
|
}>;
|
|
110
100
|
protected readonly fieldsetSuffixClasses: _angular_core.Signal<{
|
|
111
101
|
'timePicker-fieldset-groupSeparator': boolean;
|
|
112
102
|
'pr-u-visibilityHidden': boolean;
|
|
113
103
|
}>;
|
|
114
|
-
protected separator: _angular_core.Signal<string>;
|
|
104
|
+
protected readonly separator: _angular_core.Signal<string>;
|
|
115
105
|
protected hoursDecimalConf: string;
|
|
116
106
|
writeValue(value: ISO8601Duration): void;
|
|
117
107
|
setDisabledState?(isDisabled: boolean): void;
|
|
@@ -148,24 +138,18 @@ type TimeChangeEvent = {
|
|
|
148
138
|
});
|
|
149
139
|
|
|
150
140
|
declare class TimePickerComponent extends BasePickerComponent {
|
|
151
|
-
#private;
|
|
152
141
|
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_time.TimePickerTranslations, Partial<_lucca_front_ng_time.TimePickerTranslations>>;
|
|
153
142
|
protected localeId: string;
|
|
154
143
|
readonly idSuffix: number;
|
|
155
144
|
readonly anteMeridiemRef: _angular_core.Signal<ElementRef<HTMLInputElement>>;
|
|
156
145
|
readonly postMeridiemRef: _angular_core.Signal<ElementRef<HTMLInputElement>>;
|
|
157
|
-
value: _angular_core.ModelSignal<`${string}:${string}:${string}`>;
|
|
146
|
+
readonly value: _angular_core.ModelSignal<`${string}:${string}:${string}`>;
|
|
158
147
|
readonly max: _angular_core.InputSignal<`${string}:${string}:${string}`>;
|
|
159
148
|
readonly displayArrows: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
160
149
|
readonly forceMeridiemDisplay: _angular_core.InputSignal<boolean>;
|
|
161
|
-
keyPressed: _angular_core.WritableSignal<boolean>;
|
|
162
150
|
readonly enableMeridiemDisplay: _angular_core.Signal<boolean>;
|
|
163
151
|
readonly label: _angular_core.InputSignal<string>;
|
|
164
152
|
readonly timeChange: _angular_core.OutputEmitterRef<TimeChangeEvent>;
|
|
165
|
-
readonly prevPicker: _angular_core.OutputEmitterRef<void>;
|
|
166
|
-
readonly nextPicker: _angular_core.OutputEmitterRef<void>;
|
|
167
|
-
readonly nonDigitKeyPressed: _angular_core.OutputEmitterRef<void>;
|
|
168
|
-
readonly touched: _angular_core.OutputEmitterRef<void>;
|
|
169
153
|
protected readonly hoursDisplay: _angular_core.Signal<number | "––">;
|
|
170
154
|
protected readonly minutesDisplay: _angular_core.Signal<number | "––">;
|
|
171
155
|
protected readonly hours: _angular_core.Signal<number>;
|
|
@@ -175,15 +159,12 @@ declare class TimePickerComponent extends BasePickerComponent {
|
|
|
175
159
|
timePicker: boolean;
|
|
176
160
|
'mod-stepper': boolean;
|
|
177
161
|
'mod-stepperHover': boolean;
|
|
178
|
-
'pr-u-animatedShake': boolean;
|
|
179
162
|
}>;
|
|
180
|
-
protected separator: _angular_core.Signal<string>;
|
|
163
|
+
protected readonly separator: _angular_core.Signal<string>;
|
|
181
164
|
protected hoursDecimalConf: string;
|
|
182
165
|
protected readonly maxHours: _angular_core.Signal<number>;
|
|
183
166
|
protected readonly ampmDisplay: _angular_core.Signal<"AM" | "PM">;
|
|
184
|
-
|
|
185
|
-
get firstTimePickerInputId(): string | undefined;
|
|
186
|
-
focusPart(type: 'hours' | 'minutes' | 'meridiem'): void;
|
|
167
|
+
protected focusPart(type: 'hours' | 'minutes' | 'meridiem'): void;
|
|
187
168
|
writeValue(value: ISO8601Time): void;
|
|
188
169
|
setDisabledState?(isDisabled: boolean): void;
|
|
189
170
|
protected hoursInputHandler(value: number | '––'): void;
|
|
@@ -196,9 +177,8 @@ declare class TimePickerComponent extends BasePickerComponent {
|
|
|
196
177
|
protected inputControlClickHandler(part: 'hours' | 'minutes', direction: PickerControlDirection): void;
|
|
197
178
|
focus(): void;
|
|
198
179
|
switchMeridiem(newValue: 'AM' | 'PM'): void;
|
|
199
|
-
nonDigitKeyPressedHandler(): void;
|
|
200
180
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
201
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "lu-time-picker", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "displayArrows": { "alias": "displayArrows"; "required": false; "isSignal": true; }; "forceMeridiemDisplay": { "alias": "forceMeridiemDisplay"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "timeChange": "timeChange";
|
|
181
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "lu-time-picker", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "displayArrows": { "alias": "displayArrows"; "required": false; "isSignal": true; }; "forceMeridiemDisplay": { "alias": "forceMeridiemDisplay"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "timeChange": "timeChange"; }, never, never, true, never>;
|
|
202
182
|
}
|
|
203
183
|
|
|
204
184
|
declare const LU_TIME_PICKER_TRANSLATIONS: InjectionToken<LuTranslation<TimePickerTranslations>>;
|
|
@@ -209,63 +189,5 @@ type TimePickerTranslations = {
|
|
|
209
189
|
};
|
|
210
190
|
declare const luTimePickerTranslations: LuTranslation<TimePickerTranslations>;
|
|
211
191
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
end?: ISO8601Time;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
declare class TimeRangePickerComponent implements ControlValueAccessor, OnInit, Validator {
|
|
218
|
-
#private;
|
|
219
|
-
readonly value: _angular_core.WritableSignal<TimeRangePickerRange>;
|
|
220
|
-
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_time.TimeRangePickerTranslations, Partial<_lucca_front_ng_time.TimeRangePickerTranslations>>;
|
|
221
|
-
readonly displayArrows: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
222
|
-
readonly forceMeridiemDisplay: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
223
|
-
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
224
|
-
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
225
|
-
readonly size: _angular_core.InputSignal<"S" | "M">;
|
|
226
|
-
readonly max: _angular_core.InputSignal<`${string}:${string}:${string}`>;
|
|
227
|
-
readonly step: _angular_core.InputSignal<`${string}P${string}`>;
|
|
228
|
-
keyPressed: _angular_core.WritableSignal<boolean>;
|
|
229
|
-
readonly startValue: _angular_core.Signal<`${string}:${string}:${string}`>;
|
|
230
|
-
readonly endValue: _angular_core.Signal<`${string}:${string}:${string}`>;
|
|
231
|
-
readonly formFieldLabel: _angular_core.Signal<_lucca_front_ng_core.PortalContent>;
|
|
232
|
-
readonly isLocaleFr: _angular_core.Signal<boolean>;
|
|
233
|
-
DEFAULT_TIME_VALUE: string;
|
|
234
|
-
constructor();
|
|
235
|
-
ngOnInit(): void;
|
|
236
|
-
validate(control: AbstractControl<TimeRangePickerRange | null>): ValidationErrors | null;
|
|
237
|
-
writeValue(value: TimeRangePickerRange | null): void;
|
|
238
|
-
registerOnChange(fn: (value: TimeRangePickerRange | null) => void): void;
|
|
239
|
-
registerOnTouched(fn: () => void): void;
|
|
240
|
-
setDisabledState(isDisabled: boolean): void;
|
|
241
|
-
onStartChange(start: ISO8601Time): void;
|
|
242
|
-
onEndChange(end: ISO8601Time): void;
|
|
243
|
-
onTouched(): void;
|
|
244
|
-
partToFocus(): 'meridiem' | 'minutes';
|
|
245
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimeRangePickerComponent, never>;
|
|
246
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimeRangePickerComponent, "lu-time-range-picker", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "displayArrows": { "alias": "displayArrows"; "required": false; "isSignal": true; }; "forceMeridiemDisplay": { "alias": "forceMeridiemDisplay"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
declare const LU_TIME_RANGE_PICKER_TRANSLATIONS: InjectionToken<LuTranslation<TimeRangePickerTranslations>>;
|
|
250
|
-
type TimeRangePickerTranslations = {
|
|
251
|
-
timeRangePickerStart: string;
|
|
252
|
-
timeRangePickerEnd: string;
|
|
253
|
-
timeRangePickerFrom: string;
|
|
254
|
-
timeRangePickerAt: string;
|
|
255
|
-
};
|
|
256
|
-
declare const luTimeRangePickerTranslations: LuTranslation<TimeRangePickerTranslations>;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* Available TimeRangePicker Types
|
|
260
|
-
*/
|
|
261
|
-
declare const TIME_RANGE_PICKER_SIZE: readonly ["S", "M"];
|
|
262
|
-
type TimeRangePickerSize = (typeof TIME_RANGE_PICKER_SIZE)[number];
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Validator that checks if the end time is before the start time
|
|
266
|
-
* Returns an error object `endTimeBeforeStartTime: true` if the end time is before the start time
|
|
267
|
-
*/
|
|
268
|
-
declare function endTimeBeforeStartTimeValidator(): ValidatorFn;
|
|
269
|
-
|
|
270
|
-
export { BASE_PICKER_SIZE, DurationPickerComponent, LU_DURATION_PICKER_TRANSLATIONS, LU_TIME_PICKER_TRANSLATIONS, LU_TIME_RANGE_PICKER_TRANSLATIONS, TIME_RANGE_PICKER_SIZE, TimePickerComponent, TimeRangePickerComponent, endTimeBeforeStartTimeValidator, luDurationPickerTranslations, luTimePickerTranslations, luTimeRangePickerTranslations };
|
|
271
|
-
export type { BasePickerSize, DurationPickerTranslations, ISO8601Duration, ISO8601Time, TimePickerTranslations, TimeRangePickerRange, TimeRangePickerSize, TimeRangePickerTranslations };
|
|
192
|
+
export { DurationPickerComponent, LU_DURATION_PICKER_TRANSLATIONS, LU_TIME_PICKER_TRANSLATIONS, TimePickerComponent, luDurationPickerTranslations, luTimePickerTranslations };
|
|
193
|
+
export type { DurationPickerTranslations, ISO8601Duration, ISO8601Time, TimePickerTranslations };
|
|
@@ -36,8 +36,8 @@ declare class LuTitleService {
|
|
|
36
36
|
private title;
|
|
37
37
|
private translateService;
|
|
38
38
|
private titlePartsSubject;
|
|
39
|
-
titleParts$: rxjs.Observable<(string | ObservableInput<string>)[]>;
|
|
40
|
-
title$: rxjs.Observable<string>;
|
|
39
|
+
readonly titleParts$: rxjs.Observable<(string | ObservableInput<string>)[]>;
|
|
40
|
+
readonly title$: rxjs.Observable<string>;
|
|
41
41
|
constructor(router: Router, title: Title, translateService: ILuTitleTranslateService);
|
|
42
42
|
init(applicationNameTranslationKey: string): void;
|
|
43
43
|
prependTitle(title: string | ObservableInput<string>): void;
|
|
@@ -59,10 +59,10 @@ declare class LuTitleStrategy extends TitleStrategy {
|
|
|
59
59
|
private translateService;
|
|
60
60
|
private appTitle;
|
|
61
61
|
private namingStrategy;
|
|
62
|
-
private luccaTitle$;
|
|
62
|
+
private readonly luccaTitle$;
|
|
63
63
|
private titlePartsSubject;
|
|
64
|
-
titleParts$: Observable<(string | ObservableInput<string>)[]>;
|
|
65
|
-
title$: Observable<string>;
|
|
64
|
+
readonly titleParts$: Observable<(string | ObservableInput<string>)[]>;
|
|
65
|
+
readonly title$: Observable<string>;
|
|
66
66
|
constructor();
|
|
67
67
|
updateTitle(routerState: RouterStateSnapshot): void;
|
|
68
68
|
prependTitle(title: string | ObservableInput<string>): void;
|
|
@@ -54,7 +54,7 @@ declare class LuToastsModule {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
declare class LuToastsService {
|
|
57
|
-
toasts$: BehaviorSubject<LuToast[]>;
|
|
57
|
+
readonly toasts$: BehaviorSubject<LuToast[]>;
|
|
58
58
|
addToast(toastInput: LuToastInput): LuToast;
|
|
59
59
|
removeToast(toast: LuToast): void;
|
|
60
60
|
isOnlyDismissibleManually({ duration }: LuToastInput): boolean;
|
|
@@ -4,8 +4,8 @@ import { TreeGenerator, TreeNode, TreeGroupingFn, ALuSelectInputComponent, ɵCor
|
|
|
4
4
|
|
|
5
5
|
declare class TreeSelectDirective<T, V> implements TreeGenerator<T, TreeNode<T>> {
|
|
6
6
|
#private;
|
|
7
|
-
groupingFnInput: _angular_core.InputSignal<TreeGroupingFn<T>>;
|
|
8
|
-
groupingFn: _angular_core.WritableSignal<TreeGroupingFn<T>>;
|
|
7
|
+
readonly groupingFnInput: _angular_core.InputSignal<TreeGroupingFn<T>>;
|
|
8
|
+
readonly groupingFn: _angular_core.WritableSignal<TreeGroupingFn<T>>;
|
|
9
9
|
constructor();
|
|
10
10
|
generateTrees(items: T[]): TreeNode<T>[];
|
|
11
11
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeSelectDirective<any, any>, never>;
|
|
@@ -13,18 +13,18 @@ declare class TreeSelectDirective<T, V> implements TreeGenerator<T, TreeNode<T>>
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
declare class TreeBranchComponent<T> {
|
|
16
|
-
selectInputComponent: ALuSelectInputComponent<any, any>;
|
|
17
|
-
rootOptionRef: _angular_core.Signal<_CoreSelectPanelElement<T>>;
|
|
18
|
-
branch: _angular_core.InputSignal<TreeNode<T>>;
|
|
19
|
-
optionTpl: _angular_core.InputSignal<Type<unknown> | TemplateRef<LuOptionContext<T>>>;
|
|
20
|
-
optionIndex: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
21
|
-
optionComparer: _angular_core.InputSignal<LuOptionComparer<T>>;
|
|
22
|
-
selectedOptions: _angular_core.InputSignal<T[]>;
|
|
16
|
+
readonly selectInputComponent: ALuSelectInputComponent<any, any>;
|
|
17
|
+
readonly rootOptionRef: _angular_core.Signal<_CoreSelectPanelElement<T>>;
|
|
18
|
+
readonly branch: _angular_core.InputSignal<TreeNode<T>>;
|
|
19
|
+
readonly optionTpl: _angular_core.InputSignal<Type<unknown> | TemplateRef<LuOptionContext<T>>>;
|
|
20
|
+
readonly optionIndex: _angular_core.InputSignalWithTransform<string, string | number>;
|
|
21
|
+
readonly optionComparer: _angular_core.InputSignal<LuOptionComparer<T>>;
|
|
22
|
+
readonly selectedOptions: _angular_core.InputSignal<T[]>;
|
|
23
23
|
toggleOne: _angular_core.OutputEmitterRef<T>;
|
|
24
24
|
selectMany: _angular_core.OutputEmitterRef<T[]>;
|
|
25
25
|
unselectMany: _angular_core.OutputEmitterRef<T[]>;
|
|
26
|
-
simpleMode: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
27
|
-
depth: _angular_core.InputSignal<number>;
|
|
26
|
+
readonly simpleMode: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
27
|
+
readonly depth: _angular_core.InputSignal<number>;
|
|
28
28
|
constructor();
|
|
29
29
|
toggle(branchData: TreeNode<T>): void;
|
|
30
30
|
selectOnlyChildren(branchData: TreeNode<T>): void;
|
|
@@ -46,12 +46,12 @@ interface LuUserPopover {
|
|
|
46
46
|
declare class LuUserPopoverComponent {
|
|
47
47
|
#private;
|
|
48
48
|
luUser: Signal<ILuUser>;
|
|
49
|
-
intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_user_popover.LuPopupEmployeeTranslations, Partial<_lucca_front_ng_user_popover.LuPopupEmployeeTranslations>>;
|
|
49
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_user_popover.LuPopupEmployeeTranslations, Partial<_lucca_front_ng_user_popover.LuPopupEmployeeTranslations>>;
|
|
50
50
|
skeletonWidths: string[];
|
|
51
|
-
employee$: Observable<LuUserPopover>;
|
|
52
|
-
userPictureDisplay$: Observable<"img" | "initials">;
|
|
53
|
-
userPictureHref$: Observable<string>;
|
|
54
|
-
userInitials$: Observable<{
|
|
51
|
+
readonly employee$: Observable<LuUserPopover>;
|
|
52
|
+
readonly userPictureDisplay$: Observable<"img" | "initials">;
|
|
53
|
+
readonly userPictureHref$: Observable<string>;
|
|
54
|
+
readonly userInitials$: Observable<{
|
|
55
55
|
initials: string;
|
|
56
56
|
color: number;
|
|
57
57
|
}>;
|
|
@@ -90,15 +90,16 @@ declare const USER_POPOVER_IS_ACTIVATED: InjectionToken<Observable<boolean>>;
|
|
|
90
90
|
declare function provideLuUserPopover(): _angular_core.EnvironmentProviders;
|
|
91
91
|
|
|
92
92
|
declare class LuUserPopoverDirective extends PopoverDirective {
|
|
93
|
-
luUserPopover: _angular_core.InputSignal<ILuUser>;
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
readonly luUserPopover: _angular_core.InputSignal<ILuUser>;
|
|
94
|
+
readonly luUserPopoverDisabled: _angular_core.InputSignal<boolean>;
|
|
95
|
+
readonly luPopoverDisabled: _angular_core.WritableSignal<boolean>;
|
|
96
|
+
readonly additionalProviders: {
|
|
96
97
|
provide: _angular_core.InjectionToken<_angular_core.Signal<ILuUser>>;
|
|
97
98
|
useValue: _angular_core.InputSignal<ILuUser>;
|
|
98
99
|
}[];
|
|
99
100
|
constructor();
|
|
100
101
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuUserPopoverDirective, never>;
|
|
101
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuUserPopoverDirective, "[luUserPopover]", ["LuUserPopoverDirective"], { "luUserPopover": { "alias": "luUserPopover"; "required": true; "isSignal": true; }; "luUserPopoverDisabled": { "alias": "luUserPopoverDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
102
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuUserPopoverDirective, "[luUserPopover]", ["LuUserPopoverDirective"], { "luUserPopover": { "alias": "luUserPopover"; "required": true; "isSignal": true; }; "luUserPopoverDisabled": { "alias": "luUserPopoverDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
102
103
|
}
|
|
103
104
|
|
|
104
105
|
export { LU_POPUP_EMPLOYEE_TRANSLATIONS, LU_USER_POPOVER_USER, LuUserPopoverComponent, LuUserPopoverDirective, USER_POPOVER_IS_ACTIVATED, luPopupEmployeeTranslations, provideLuUserPopover };
|
|
@@ -78,12 +78,6 @@ declare class LuUserDisplayModule {
|
|
|
78
78
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuUserDisplayModule>;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
/**
|
|
82
|
-
* Available LuUserTileComponent Sizes
|
|
83
|
-
*/
|
|
84
|
-
declare const USER_TILE_SIZE: readonly ["L", "M", "S", "XS"];
|
|
85
|
-
type UserTileSize = (typeof USER_TILE_SIZE)[number];
|
|
86
|
-
|
|
87
81
|
interface LuUserTileUserInput {
|
|
88
82
|
picture?: {
|
|
89
83
|
href: string;
|
|
@@ -114,7 +108,7 @@ declare class LuUserTileComponent {
|
|
|
114
108
|
/**
|
|
115
109
|
* Which size should the user tile be? Defaults to medium
|
|
116
110
|
*/
|
|
117
|
-
readonly size: i0.InputSignal<"L" | "
|
|
111
|
+
readonly size: i0.InputSignal<"L" | "XS" | "S" | "M">;
|
|
118
112
|
readonly displayPictureFormat: i0.Signal<_lucca_front_ng_user.LuDisplayInitials>;
|
|
119
113
|
constructor();
|
|
120
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserTileComponent, never>;
|
|
@@ -130,12 +124,6 @@ declare class LuUserTileModule {
|
|
|
130
124
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuUserTileModule>;
|
|
131
125
|
}
|
|
132
126
|
|
|
133
|
-
/**
|
|
134
|
-
* Available LuUserPictureComponent Sizes
|
|
135
|
-
*/
|
|
136
|
-
declare const USER_PICTURE_SIZE: readonly ["XS", "S", "M", "L", "XL", "XXL", "XXXL"];
|
|
137
|
-
type UserPictureSize = (typeof USER_PICTURE_SIZE)[number];
|
|
138
|
-
|
|
139
127
|
interface LuUserPictureUserInput {
|
|
140
128
|
picture?: {
|
|
141
129
|
href: string;
|
|
@@ -156,9 +144,7 @@ declare class LuUserPictureComponent {
|
|
|
156
144
|
readonly displayFormat: i0.InputSignal<LuDisplayInitials>;
|
|
157
145
|
readonly user: i0.InputSignal<LuUserPictureUserInput>;
|
|
158
146
|
readonly AI: i0.InputSignalWithTransform<boolean, unknown>;
|
|
159
|
-
readonly
|
|
160
|
-
readonly softRounded: i0.InputSignalWithTransform<boolean, unknown>;
|
|
161
|
-
readonly size: i0.InputSignal<"L" | "M" | "S" | "XS" | "XL" | "XXL" | "XXXL">;
|
|
147
|
+
readonly size: i0.InputSignal<"L" | "XS" | "S" | "M" | "XL" | "XXL" | "XXXL">;
|
|
162
148
|
/**
|
|
163
149
|
* Image loading attribute
|
|
164
150
|
* It is set to 'lazy' by default
|
|
@@ -177,7 +163,7 @@ declare class LuUserPictureComponent {
|
|
|
177
163
|
}>;
|
|
178
164
|
pictureError(): void;
|
|
179
165
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserPictureComponent, never>;
|
|
180
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; "
|
|
166
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "imageLoadingAttribute": { "alias": "imageLoadingAttribute"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
181
167
|
}
|
|
182
168
|
|
|
183
169
|
/**
|
|
@@ -211,7 +197,6 @@ declare class LuUserSelectInputComponent<U extends ILuUser = ILuUser> extends AL
|
|
|
211
197
|
protected _viewContainerRef: ViewContainerRef;
|
|
212
198
|
protected _renderer: Renderer2;
|
|
213
199
|
searchFormat: LuDisplayFullname;
|
|
214
|
-
set inputPlaceholder(p: string);
|
|
215
200
|
fields: string;
|
|
216
201
|
filters: string[];
|
|
217
202
|
orderBy: string;
|
|
@@ -221,10 +206,10 @@ declare class LuUserSelectInputComponent<U extends ILuUser = ILuUser> extends AL
|
|
|
221
206
|
disablePrincipal: boolean;
|
|
222
207
|
clue: string;
|
|
223
208
|
byId: LuOptionComparer<U>;
|
|
224
|
-
intl: i0.InputSignalWithTransform<_lucca_front_ng_user.ILuUserSelectInputLabel, Partial<_lucca_front_ng_user.ILuUserSelectInputLabel>>;
|
|
209
|
+
readonly intl: i0.InputSignalWithTransform<_lucca_front_ng_user.ILuUserSelectInputLabel, Partial<_lucca_front_ng_user.ILuUserSelectInputLabel>>;
|
|
225
210
|
constructor(_changeDetectorRef: ChangeDetectorRef, _overlay: Overlay, _elementRef: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _renderer: Renderer2);
|
|
226
211
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserSelectInputComponent<any>, never>;
|
|
227
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserSelectInputComponent<any>, "lu-user-select", never, { "
|
|
212
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserSelectInputComponent<any>, "lu-user-select", never, { "fields": { "alias": "fields"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "appInstanceId": { "alias": "appInstanceId"; "required": false; }; "operations": { "alias": "operations"; "required": false; }; "enableFormerEmployees": { "alias": "enableFormerEmployees"; "required": false; }; "disablePrincipal": { "alias": "disablePrincipal"; "required": false; }; "intl": { "alias": "intl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
228
213
|
}
|
|
229
214
|
|
|
230
215
|
/**
|
|
@@ -259,27 +244,27 @@ declare class LuUserV3Service<U extends ILuUser = ILuUser> extends LuApiV3Servic
|
|
|
259
244
|
}
|
|
260
245
|
|
|
261
246
|
declare class LuUserPagedSearcherComponent<U extends ILuUser = ILuUser> implements OnInit, OnDestroy, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuOnCloseSubscriber {
|
|
247
|
+
#private;
|
|
262
248
|
private _service;
|
|
263
249
|
private _subs;
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
enableFormerEmployees: boolean
|
|
272
|
-
clueChange:
|
|
250
|
+
readonly searchInput: i0.Signal<ElementRef<HTMLInputElement>>;
|
|
251
|
+
readonly intl: i0.InputSignalWithTransform<_lucca_front_ng_user.ILuUserSearcherLabel, Partial<_lucca_front_ng_user.ILuUserSearcherLabel>>;
|
|
252
|
+
readonly fields: i0.InputSignal<string>;
|
|
253
|
+
readonly filters: i0.InputSignal<string[]>;
|
|
254
|
+
readonly orderBy: i0.InputSignal<string>;
|
|
255
|
+
readonly appInstanceId: i0.InputSignal<string | number>;
|
|
256
|
+
readonly operations: i0.InputSignal<number[]>;
|
|
257
|
+
readonly enableFormerEmployees: i0.InputSignal<boolean>;
|
|
258
|
+
readonly clueChange: i0.OutputEmitterRef<string>;
|
|
273
259
|
form: FormGroup;
|
|
274
|
-
outOptions$: Subject<U[]>;
|
|
260
|
+
readonly outOptions$: Subject<U[]>;
|
|
275
261
|
loading$: Observable<boolean>;
|
|
276
262
|
empty$: Observable<boolean>;
|
|
277
263
|
private _loading;
|
|
278
|
-
private _isOpened$;
|
|
279
|
-
private _page$;
|
|
264
|
+
private readonly _isOpened$;
|
|
265
|
+
private readonly _page$;
|
|
280
266
|
private _isLastPage;
|
|
281
267
|
private _options;
|
|
282
|
-
intl: i0.InputSignalWithTransform<_lucca_front_ng_user.ILuUserSearcherLabel, Partial<_lucca_front_ng_user.ILuUserSearcherLabel>>;
|
|
283
268
|
constructor(hostService: LuUserV3Service<U>, selfService: LuUserV3Service<U>);
|
|
284
269
|
ngOnInit(): void;
|
|
285
270
|
ngOnDestroy(): void;
|
|
@@ -288,7 +273,7 @@ declare class LuUserPagedSearcherComponent<U extends ILuUser = ILuUser> implemen
|
|
|
288
273
|
onClose(): void;
|
|
289
274
|
reset(): void;
|
|
290
275
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserPagedSearcherComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
|
|
291
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPagedSearcherComponent<any>, "lu-user-paged-searcher", never, { "
|
|
276
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPagedSearcherComponent<any>, "lu-user-paged-searcher", never, { "intl": { "alias": "intl"; "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; }; "appInstanceId": { "alias": "appInstanceId"; "required": false; "isSignal": true; }; "operations": { "alias": "operations"; "required": false; "isSignal": true; }; "enableFormerEmployees": { "alias": "enableFormerEmployees"; "required": false; "isSignal": true; }; }, { "clueChange": "clueChange"; }, never, never, true, never>;
|
|
292
277
|
}
|
|
293
278
|
|
|
294
279
|
/**
|
|
@@ -330,14 +315,15 @@ declare class LuUserHomonymsComponent<U extends ILuUser = ILuUser> implements IL
|
|
|
330
315
|
}
|
|
331
316
|
|
|
332
317
|
declare class LuUserMeOptionDirective<U extends ILuUser = ILuUser> implements ILuOptionOperator<U> {
|
|
318
|
+
#private;
|
|
333
319
|
private _vcr;
|
|
334
320
|
private _templateRef;
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
321
|
+
readonly luUserMeOptionFields: i0.InputSignal<string>;
|
|
322
|
+
readonly luUserMeOptionFilters: i0.InputSignal<string[]>;
|
|
323
|
+
readonly luUserMeOptionOrderBy: i0.InputSignal<string>;
|
|
324
|
+
readonly luUserMeOptionAppInstanceId: i0.InputSignal<string | number>;
|
|
325
|
+
readonly luUserMeOptionOperations: i0.InputSignal<number[]>;
|
|
326
|
+
readonly luUserMeOptionClue: i0.InputSignal<string>;
|
|
341
327
|
set inOptions$(in$: Observable<U[]>);
|
|
342
328
|
outOptions$: Observable<U[]>;
|
|
343
329
|
private _service;
|
|
@@ -345,13 +331,13 @@ declare class LuUserMeOptionDirective<U extends ILuUser = ILuUser> implements IL
|
|
|
345
331
|
constructor(hostService: LuUserV3Service<U>, selfService: LuUserV3Service<U>, _vcr: ViewContainerRef, _templateRef: TemplateRef<{
|
|
346
332
|
$implicit: U;
|
|
347
333
|
}>);
|
|
348
|
-
me:
|
|
349
|
-
private meDisplayed$;
|
|
334
|
+
me: U | undefined;
|
|
335
|
+
private readonly meDisplayed$;
|
|
350
336
|
onOpen(): void;
|
|
351
337
|
displayMe(): void;
|
|
352
338
|
hideMe(): void;
|
|
353
339
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserMeOptionDirective<any>, [{ optional: true; skipSelf: true; }, { self: true; }, null, null]>;
|
|
354
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LuUserMeOptionDirective<any>, "[luUserMeOption]", never, { "luUserMeOptionFields": { "alias": "luUserMeOptionFields"; "required": false; }; "luUserMeOptionFilters": { "alias": "luUserMeOptionFilters"; "required": false; }; "luUserMeOptionOrderBy": { "alias": "luUserMeOptionOrderBy"; "required": false; }; "luUserMeOptionAppInstanceId": { "alias": "luUserMeOptionAppInstanceId"; "required": false; }; "luUserMeOptionOperations": { "alias": "luUserMeOptionOperations"; "required": false; }; "luUserMeOptionClue": { "alias": "luUserMeOptionClue"; "required": false; }; }, {}, never, never, true, never>;
|
|
340
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuUserMeOptionDirective<any>, "[luUserMeOption]", never, { "luUserMeOptionFields": { "alias": "luUserMeOptionFields"; "required": false; "isSignal": true; }; "luUserMeOptionFilters": { "alias": "luUserMeOptionFilters"; "required": false; "isSignal": true; }; "luUserMeOptionOrderBy": { "alias": "luUserMeOptionOrderBy"; "required": false; "isSignal": true; }; "luUserMeOptionAppInstanceId": { "alias": "luUserMeOptionAppInstanceId"; "required": false; "isSignal": true; }; "luUserMeOptionOperations": { "alias": "luUserMeOptionOperations"; "required": false; "isSignal": true; }; "luUserMeOptionClue": { "alias": "luUserMeOptionClue"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
355
341
|
}
|
|
356
342
|
|
|
357
343
|
/**
|
|
@@ -394,5 +380,5 @@ declare class LuUserModule {
|
|
|
394
380
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuUserModule>;
|
|
395
381
|
}
|
|
396
382
|
|
|
397
|
-
export { ALuUserHomonymsService, ALuUserService, LU_DEFAULT_DISPLAY_POLICY, LU_USER_SEARCHER_TRANSLATIONS, LU_USER_SELECT_INPUT_TRANSLATIONS, LuDisplayFullname, LuDisplayHybrid, LuDisplayInitials, LuUserDisplayModule, LuUserDisplayPipe, LuUserHomonymsComponent, LuUserHomonymsService, LuUserMeOptionDirective, LuUserMeOptionModule, LuUserModule, LuUserPagedSearcherComponent, LuUserPictureComponent, LuUserPictureModule, LuUserSearcherModule, LuUserSelectInputComponent, LuUserSelectInputModule, LuUserSelectModule, LuUserTileComponent, LuUserTileModule, LuUserV3Service,
|
|
398
|
-
export type { ILuUser, ILuUserHomonymsService, ILuUserSearcherLabel, ILuUserSelectInputLabel, ILuUserService, LuDisplayFormat, LuUserDisplayInput, LuUserDisplayMultipleOptions, LuUserDisplaySingleOptions, LuUserPictureUserInput, LuUserTileUserInput
|
|
383
|
+
export { ALuUserHomonymsService, ALuUserService, LU_DEFAULT_DISPLAY_POLICY, LU_USER_SEARCHER_TRANSLATIONS, LU_USER_SELECT_INPUT_TRANSLATIONS, LuDisplayFullname, LuDisplayHybrid, LuDisplayInitials, LuUserDisplayModule, LuUserDisplayPipe, LuUserHomonymsComponent, LuUserHomonymsService, LuUserMeOptionDirective, LuUserMeOptionModule, LuUserModule, LuUserPagedSearcherComponent, LuUserPictureComponent, LuUserPictureModule, LuUserSearcherModule, LuUserSelectInputComponent, LuUserSelectInputModule, LuUserSelectModule, LuUserTileComponent, LuUserTileModule, LuUserV3Service, luUserDisplay, luUserSearcherTranslations, luUserSelectInputTranslations, luUsersDisplay };
|
|
384
|
+
export type { ILuUser, ILuUserHomonymsService, ILuUserSearcherLabel, ILuUserSelectInputLabel, ILuUserService, LuDisplayFormat, LuUserDisplayInput, LuUserDisplayMultipleOptions, LuUserDisplaySingleOptions, LuUserPictureUserInput, LuUserTileUserInput };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, computed, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
class HighlightTextComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.palette = input('product', ...(ngDevMode ? [{ debugName: "palette" }] : /* istanbul ignore next */ []));
|
|
7
|
-
this.paletteClass = computed(() => ({ [`palette-${this.palette()}`]: !!this.palette() }), ...(ngDevMode ? [{ debugName: "paletteClass" }] : /* istanbul ignore next */ []));
|
|
8
|
-
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: HighlightTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.15", type: HighlightTextComponent, isStandalone: true, selector: "lu-highlight-text", inputs: { palette: { classPropertyName: "palette", publicName: "palette", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "strong" }, properties: { "class": "paletteClass()" }, classAttribute: "highlightText" }, ngImport: i0, template: '<ng-content />', isInline: true, styles: ["@layer components{.highlightText{--components-highlightText-backgroundColor: var(--palettes-300, var(--palettes-product-300));--components-highlightText-backgroundDiameter: .25em;--components-highlightText-backgroundBlockSize: .5em;--components-highlightText-backgroundRadius: calc(var(--components-highlightText-backgroundDiameter) / 2);--components-highlightText-backgroundStart: var(--components-highlightText-backgroundRadius);--components-highlightText-backgroundEnd: calc(100% - var(--components-highlightText-backgroundRadius));padding-inline:.125em;margin-inline:-.125em;background-repeat:no-repeat;-webkit-box-decoration-break:clone;box-decoration-break:clone;font-weight:inherit;background-image:linear-gradient(var(--components-highlightText-backgroundColor)),linear-gradient(var(--components-highlightText-backgroundColor)),radial-gradient(var(--components-highlightText-backgroundDiameter) circle at var(--components-highlightText-backgroundStart) var(--components-highlightText-backgroundEnd),var(--components-highlightText-backgroundColor) calc(50% - 1px),transparent 50%),radial-gradient(var(--components-highlightText-backgroundDiameter) circle at var(--components-highlightText-backgroundEnd) var(--components-highlightText-backgroundEnd),var(--components-highlightText-backgroundColor) calc(50% - 1px),transparent 50%),radial-gradient(var(--components-highlightText-backgroundDiameter) circle at var(--components-highlightText-backgroundStart) calc(100% - var(--components-highlightText-backgroundBlockSize) + var(--components-highlightText-backgroundRadius)),var(--components-highlightText-backgroundColor) calc(50% - 1px),transparent 50%),radial-gradient(var(--components-highlightText-backgroundDiameter) circle at var(--components-highlightText-backgroundEnd) calc(100% - var(--components-highlightText-backgroundBlockSize) + var(--components-highlightText-backgroundRadius)),var(--components-highlightText-backgroundColor) calc(50% - 1px),transparent 50%);background-size:100% calc(var(--components-highlightText-backgroundBlockSize) - var(--components-highlightText-backgroundDiameter)),calc(100% - var(--components-highlightText-backgroundDiameter)) var(--components-highlightText-backgroundBlockSize),100% 100%,100% 100%,100% 100%,100% 100%;background-position:50% calc(100% - var(--components-highlightText-backgroundRadius)),50% 100%,0 0,0 0,0 0,0 0}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
11
|
-
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: HighlightTextComponent, decorators: [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{ selector: 'lu-highlight-text', template: '<ng-content />', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
15
|
-
role: 'strong',
|
|
16
|
-
class: 'highlightText',
|
|
17
|
-
'[class]': 'paletteClass()',
|
|
18
|
-
}, styles: ["@layer components{.highlightText{--components-highlightText-backgroundColor: var(--palettes-300, var(--palettes-product-300));--components-highlightText-backgroundDiameter: .25em;--components-highlightText-backgroundBlockSize: .5em;--components-highlightText-backgroundRadius: calc(var(--components-highlightText-backgroundDiameter) / 2);--components-highlightText-backgroundStart: var(--components-highlightText-backgroundRadius);--components-highlightText-backgroundEnd: calc(100% - var(--components-highlightText-backgroundRadius));padding-inline:.125em;margin-inline:-.125em;background-repeat:no-repeat;-webkit-box-decoration-break:clone;box-decoration-break:clone;font-weight:inherit;background-image:linear-gradient(var(--components-highlightText-backgroundColor)),linear-gradient(var(--components-highlightText-backgroundColor)),radial-gradient(var(--components-highlightText-backgroundDiameter) circle at var(--components-highlightText-backgroundStart) var(--components-highlightText-backgroundEnd),var(--components-highlightText-backgroundColor) calc(50% - 1px),transparent 50%),radial-gradient(var(--components-highlightText-backgroundDiameter) circle at var(--components-highlightText-backgroundEnd) var(--components-highlightText-backgroundEnd),var(--components-highlightText-backgroundColor) calc(50% - 1px),transparent 50%),radial-gradient(var(--components-highlightText-backgroundDiameter) circle at var(--components-highlightText-backgroundStart) calc(100% - var(--components-highlightText-backgroundBlockSize) + var(--components-highlightText-backgroundRadius)),var(--components-highlightText-backgroundColor) calc(50% - 1px),transparent 50%),radial-gradient(var(--components-highlightText-backgroundDiameter) circle at var(--components-highlightText-backgroundEnd) calc(100% - var(--components-highlightText-backgroundBlockSize) + var(--components-highlightText-backgroundRadius)),var(--components-highlightText-backgroundColor) calc(50% - 1px),transparent 50%);background-size:100% calc(var(--components-highlightText-backgroundBlockSize) - var(--components-highlightText-backgroundDiameter)),calc(100% - var(--components-highlightText-backgroundDiameter)) var(--components-highlightText-backgroundBlockSize),100% 100%,100% 100%,100% 100%,100% 100%;background-position:50% calc(100% - var(--components-highlightText-backgroundRadius)),50% 100%,0 0,0 0,0 0,0 0}}\n"] }]
|
|
19
|
-
}], propDecorators: { palette: [{ type: i0.Input, args: [{ isSignal: true, alias: "palette", required: false }] }] } });
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Generated bundle index. Do not edit.
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
export { HighlightTextComponent };
|
|
26
|
-
//# sourceMappingURL=lucca-front-ng-highlight-text.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-highlight-text.mjs","sources":["../../../packages/ng/highlight-text/highlight-text.component.ts","../../../packages/ng/highlight-text/lucca-front-ng-highlight-text.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input, ViewEncapsulation } from '@angular/core';\nimport { DecorativePalette, Palette } from '@lucca/prisme/core';\n\n@Component({\n\tselector: 'lu-highlight-text',\n\ttemplate: '<ng-content />',\n\tstyleUrl: './highlight-text.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\trole: 'strong',\n\t\tclass: 'highlightText',\n\t\t'[class]': 'paletteClass()',\n\t},\n})\nexport class HighlightTextComponent {\n\treadonly palette = input<Palette | DecorativePalette>('product');\n\treadonly paletteClass = computed(() => ({ [`palette-${this.palette()}`]: !!this.palette() }));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAea,sBAAsB,CAAA;AAZnC,IAAA,WAAA,GAAA;AAaU,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAA8B,SAAS,8EAAC;QACvD,IAAA,CAAA,YAAY,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAA,QAAA,EAAW,IAAI,CAAC,OAAO,EAAE,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,cAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAC;AAC7F,IAAA;+GAHY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,+UAVxB,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,g1EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAUd,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAZlC,SAAS;+BACC,mBAAmB,EAAA,QAAA,EACnB,gBAAgB,EAAA,aAAA,EAEX,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACL,wBAAA,IAAI,EAAE,QAAQ;AACd,wBAAA,KAAK,EAAE,eAAe;AACtB,wBAAA,SAAS,EAAE,gBAAgB;AAC3B,qBAAA,EAAA,MAAA,EAAA,CAAA,g1EAAA,CAAA,EAAA;;;ACbF;;AAEG;;;;"}
|