@lucca-front/ng 21.3.1 → 21.4.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 +23 -16
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-activity-feed.mjs +27 -18
- package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +42 -42
- 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-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs +5 -4
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +12 -9
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +19 -11
- package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +13 -8
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +90 -57
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +21 -12
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +11 -7
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-code.mjs +3 -3
- package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-color.mjs +9 -6
- package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +41 -25
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-container.mjs +7 -5
- package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-api.mjs +17 -13
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-department.mjs +22 -14
- package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +21 -15
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +12 -9
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +9 -6
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +48 -33
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +103 -77
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +19 -17
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +92 -58
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +45 -43
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +183 -101
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +26 -25
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +51 -42
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +7 -5
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +42 -41
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +49 -29
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-error-page.mjs +9 -6
- package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +36 -35
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +17 -10
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +81 -48
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +74 -46
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +9 -6
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +88 -53
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +5 -4
- package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-label.mjs +15 -9
- package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form.mjs +3 -3
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +58 -58
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +33 -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 +123 -78
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +209 -125
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +23 -13
- package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-grid.mjs +24 -15
- package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs +25 -14
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-text.mjs +7 -5
- package/fesm2022/lucca-front-ng-highlight-text.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +33 -21
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs +13 -8
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +62 -46
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +9 -6
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +23 -22
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +8 -7
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +25 -17
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +14 -10
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs +7 -5
- 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-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +5 -4
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +24 -23
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +84 -60
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +5 -4
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number-format.mjs +14 -10
- 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 +17 -10
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +136 -132
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +11 -7
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +13 -8
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +9 -6
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +17 -17
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +33 -21
- 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 -5
- package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-stepper.mjs +16 -11
- package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +27 -15
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +18 -15
- 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 +7 -5
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +9 -8
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +18 -12
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +10 -8
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +14 -14
- 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 +23 -18
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +62 -43
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +16 -11
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon.mjs +11 -7
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +10 -8
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +9 -6
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-table-of-content.mjs +8 -7
- package/fesm2022/lucca-front-ng-table-of-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +15 -9
- 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 +137 -78
- 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 +16 -13
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +39 -28
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +20 -13
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +22 -20
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +94 -77
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +32 -22
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +8 -8
- package/schematics/action-icon/index.js +34 -1
- package/schematics/action-icon/migration.spec.js +36 -3
- package/schematics/alignment-utilities/migration.spec.js +36 -3
- package/schematics/cdn-urls/migration.spec.js +36 -3
- package/schematics/class-prefix/migration.spec.js +36 -3
- package/schematics/color-text/migration.spec.js +36 -3
- package/schematics/component-path/migration.spec.js +36 -3
- package/schematics/deprecated-resolver/migration.spec.js +35 -2
- package/schematics/empty-state-title/migration.spec.js +35 -2
- package/schematics/lib/css-mapper.js +36 -3
- package/schematics/lib/lf-schematic-context.js +34 -1
- package/schematics/lib/local-deps/postcss.js +34 -1
- package/schematics/lib/migration-test.js +5 -2
- package/schematics/lu-button/migration.spec.js +34 -1
- package/schematics/lu-container/migration.spec.js +34 -1
- package/schematics/lu-grid/migration.spec.js +34 -1
- package/schematics/lu-icon/migration.spec.js +34 -1
- package/schematics/lu-loading/migration.spec.js +34 -1
- package/schematics/lu-select/migration.spec.js +34 -1
- package/schematics/lu-text-input/migration.spec.js +34 -1
- package/schematics/new-icons/index.js +35 -2
- package/schematics/new-icons/migration.spec.js +36 -3
- package/schematics/palettes/migration.spec.js +36 -3
- package/schematics/tokens-radius/migration.spec.js +36 -3
- package/schematics/tokens-spacing/migration.spec.js +36 -3
- package/schematics/tokens-typo/migration.spec.js +36 -3
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +3 -3
|
@@ -5,10 +5,10 @@ class AppLayoutComponent {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
this.mobileNavSideBottom = input(false, { ...(ngDevMode ? { debugName: "mobileNavSideBottom" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
7
7
|
}
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: AppLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.4", type: AppLayoutComponent, isStandalone: true, selector: "lu-app-layout", inputs: { mobileNavSideBottom: { classPropertyName: "mobileNavSideBottom", publicName: "mobileNavSideBottom", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.mod-mobileNavSideBottom": "mobileNavSideBottom()" }, classAttribute: "appLayout" }, ngImport: i0, template: "<div class=\"appLayout-banner\"><ng-content select=\"[appLayoutBanner]\" /></div>\n<div class=\"appLayout-navSide\"><ng-content select=\"[appLayoutNavSide]\" /></div>\n<div class=\"appLayout-main\"><ng-content /></div>\n", styles: ["@layer components{.appLayout{--components-appLayout-blockSize: 100dvh;--components-appLayout-inlineSize: 100%;--components-appLayout-navSide-overflowX: hidden;--components-appLayout-navSide-overflowY: auto;--components-appLayout-gridTemplate: \"banner \" var(--commons-banner-height) \"navSide\" auto \"main \" 1fr}@media screen{.appLayout{block-size:var(--components-appLayout-blockSize)}}.appLayout{inline-size:var(--components-appLayout-inlineSize);grid-template:var(--components-appLayout-gridTemplate);display:grid;isolation:isolate}.appLayout-banner{grid-area:banner}.appLayout-banner:empty{display:none}.appLayout-navSide{min-inline-size:0;grid-area:navSide;overflow-x:var(--components-appLayout-navSide-overflowX);overflow-y:var(--components-appLayout-navSide-overflowY)}.appLayout-navSide:focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:-4px}.appLayout-navSide:empty{display:none}.appLayout-main{grid-area:main;overflow:auto}.appLayout-main:focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:-4px}@media(min-width:50em){.appLayout{--components-appLayout-gridTemplate: \"banner banner\" var(--commons-banner-height) \"navSide main \" 1fr / auto 1fr}}}@layer mods{@media not all and (min-width:50em){.appLayout.mod-mobileNavSideBottom{--components-appLayout-gridTemplate: \"banner \" var(--commons-banner-height) \"main\" 1fr \"navSide\" auto;--components-appLayout-navSide-overflowX: visible;--components-appLayout-navSide-overflowY: visible}}.appLayout:has(.appLayout-banner:empty),.appLayout:not(:has(.appLayout-banner)){--commons-banner-height: 0px}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: AppLayoutComponent, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'lu-app-layout', encapsulation: ViewEncapsulation.None, host: {
|
|
14
14
|
class: 'appLayout',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-app-layout.mjs","sources":["../../../packages/ng/app-layout/app-layout.component.ts","../../../packages/ng/app-layout/app-layout.component.html","../../../packages/ng/app-layout/lucca-front-ng-app-layout.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-app-layout',\n\tstyleUrl: './app-layout.component.scss',\n\ttemplateUrl: './app-layout.component.html',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'appLayout',\n\t\t'[class.mod-mobileNavSideBottom]': 'mobileNavSideBottom()',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AppLayoutComponent {\n\treadonly mobileNavSideBottom = input(false, { transform: booleanAttribute });\n}\n","<div class=\"appLayout-banner\"><ng-content select=\"[appLayoutBanner]\" /></div>\n<div class=\"appLayout-navSide\"><ng-content select=\"[appLayoutNavSide]\" /></div>\n<div class=\"appLayout-main\"><ng-content /></div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAaa,kBAAkB,CAAA;AAX/B,IAAA,WAAA,GAAA;QAYU,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAAC,KAAK,2FAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAC5E,IAAA
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-app-layout.mjs","sources":["../../../packages/ng/app-layout/app-layout.component.ts","../../../packages/ng/app-layout/app-layout.component.html","../../../packages/ng/app-layout/lucca-front-ng-app-layout.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-app-layout',\n\tstyleUrl: './app-layout.component.scss',\n\ttemplateUrl: './app-layout.component.html',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'appLayout',\n\t\t'[class.mod-mobileNavSideBottom]': 'mobileNavSideBottom()',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AppLayoutComponent {\n\treadonly mobileNavSideBottom = input(false, { transform: booleanAttribute });\n}\n","<div class=\"appLayout-banner\"><ng-content select=\"[appLayoutBanner]\" /></div>\n<div class=\"appLayout-navSide\"><ng-content select=\"[appLayoutNavSide]\" /></div>\n<div class=\"appLayout-main\"><ng-content /></div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAaa,kBAAkB,CAAA;AAX/B,IAAA,WAAA,GAAA;QAYU,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAAC,KAAK,2FAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAC5E,IAAA;8GAFY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,wWCb/B,8NAGA,EAAA,MAAA,EAAA,CAAA,8nDAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FDUa,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAX9B,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,eAAe,EAAA,aAAA,EAGV,iBAAiB,CAAC,IAAI,EAAA,IAAA,EAC/B;AACL,wBAAA,KAAK,EAAE,WAAW;AAClB,wBAAA,iCAAiC,EAAE,uBAAuB;qBAC1D,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8NAAA,EAAA,MAAA,EAAA,CAAA,8nDAAA,CAAA,EAAA;;;AEXhD;;AAEG;;;;"}
|
|
@@ -41,17 +41,18 @@ const luBoxTranslations = Translations;
|
|
|
41
41
|
|
|
42
42
|
class BoxComponent {
|
|
43
43
|
constructor() {
|
|
44
|
-
this.intl = input(...intlInputOptions(LU_BOX_TRANSLATIONS),
|
|
44
|
+
this.intl = input(...intlInputOptions(LU_BOX_TRANSLATIONS), /* @ts-ignore */
|
|
45
|
+
...(ngDevMode ? [{ debugName: "intl" }] : /* istanbul ignore next */ []));
|
|
45
46
|
this.toggle = input(false, { ...(ngDevMode ? { debugName: "toggle" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
46
47
|
this.neutral = input(false, { ...(ngDevMode ? { debugName: "neutral" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
47
48
|
this.killable = input(false, { ...(ngDevMode ? { debugName: "killable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
48
49
|
this.withArrow = input(false, { ...(ngDevMode ? { debugName: "withArrow" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
49
50
|
this.killed = output();
|
|
50
51
|
}
|
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
52
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: BoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
53
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.4", type: BoxComponent, isStandalone: true, selector: "lu-box", inputs: { intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null }, toggle: { classPropertyName: "toggle", publicName: "toggle", isSignal: true, isRequired: false, transformFunction: null }, neutral: { classPropertyName: "neutral", publicName: "neutral", isSignal: true, isRequired: false, transformFunction: null }, killable: { classPropertyName: "killable", publicName: "killable", isSignal: true, isRequired: false, transformFunction: null }, withArrow: { classPropertyName: "withArrow", publicName: "withArrow", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { killed: "killed" }, host: { properties: { "class.mod-toggle": "toggle()", "class.mod-neutral": "neutral()", "class.mod-withArrow": "withArrow()" }, classAttribute: "box" }, ngImport: i0, template: "@if (killable()) {\n\t<div class=\"box-close\">\n\t\t<button luButton=\"ghost\" type=\"button\" (click)=\"killed.emit()\">\n\t\t\t<lu-icon icon=\"signClose\" [alt]=\"intl().close\" />\n\t\t</button>\n\t</div>\n}\n<ng-content />\n", styles: ["@layer components{.box{--components-box-background: var(--pr-t-elevation-surface-raised);--components-box-margin: 0 0 var(--pr-t-spacings-200);--components-box-padding: var(--pr-t-spacings-300);--components-box-borderRadius: var(--pr-t-border-radius-structure);--components-box-toggle-arrow-size: .8rem;--components-box-toggle-arrow-left: 2.5rem;border-radius:var(--components-box-borderRadius);padding:var(--components-box-padding);background-color:var(--components-box-background, var(--pr-t-elevation-surface-raised));display:block;position:relative}.box-close{position:absolute;font-size:var(--pr-t-font-body-M-fontSize);inset-inline-end:var(--pr-t-spacings-50);inset-block-start:var(--pr-t-spacings-50);z-index:1}}@layer mods{.box.mod-neutral,.box.mod-grey{--components-box-background: var(--palettes-neutral-25)}.box.mod-withArrow{--components-box-padding: var(--pr-t-spacings-200);--components-box-borderRadius: var(--pr-t-border-radius-small) var(--pr-t-border-radius-structure) var(--pr-t-border-radius-structure)}.box.mod-withArrow .box-arrow{--components-box-arrow-bottom: 100%;--components-box-arrow-left: var(--pr-t-spacings-75)}.box.mod-toggle{margin-block-start:var(--components-box-toggle-arrow-size)}.box.mod-toggle:before{inset-inline-start:var(--components-box-toggle-arrow-left);border-color:transparent;border-style:solid;border-width:var(--components-box-toggle-arrow-size);border-block-end-color:var(--components-box-background, var(--pr-t-elevation-surface-raised));border-block-start:0;block-size:0;inset-block-end:100%;inline-size:0;position:absolute;content:\"\"}}@layer components{.box-arrow{--components-box-arrow-background: var(--pr-t-elevation-surface-raised);--components-box-arrow-left: 0;--components-box-arrow-bottom: 0;background-color:var(--components-box-arrow-background);margin-block:0;margin-inline:var(--pr-t-spacings-50);inline-size:12px;block-size:8px;clip-path:path(\"M4.66415 0.494638C5.43093 -0.164881 6.56907 -0.164879 7.33586 0.49464L12 8H0L4.66415 0.494638Z\");position:absolute;inset-block-end:var(--components-box-arrow-bottom);inset-inline-start:var(--components-box-arrow-left)}.box-arrow.mod-neutral,.box-arrow.mod-grey{--components-box-arrow-background: var(--palettes-neutral-25)}}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "lu-icon, pr-icon", inputs: ["icon", "alt", "size", "color", "AI"] }, { kind: "component", type: ButtonComponent, selector: "button[luButton], a[luButton], span[luButton], button[prButton], a[prButton], span[prButton]", inputs: ["size", "block", "disabled", "critical", "delete", "disclosure", "palette", "state", "luButton", "prButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
53
54
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: BoxComponent, decorators: [{
|
|
55
56
|
type: Component,
|
|
56
57
|
args: [{ selector: 'lu-box', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [IconComponent, ButtonComponent], host: {
|
|
57
58
|
class: 'box',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-box.mjs","sources":["../../../packages/ng/box/translations.ts","../../../packages/ng/box/box.translate.ts","../../../packages/ng/box/box.component.ts","../../../packages/ng/box/box.component.html","../../../packages/ng/box/lucca-front-ng-box.ts"],"sourcesContent":["export const Translations = {\n\tpl: {\n\t\tclose: 'Close',\n\t},\n\t'nl-BE': {\n\t\tclose: 'Sluiten',\n\t},\n\tfr: {\n\t\tclose: 'Fermer',\n\t},\n\tde: {\n\t\tclose: 'Schließen',\n\t},\n\ten: {\n\t\tclose: 'Close',\n\t},\n\tes: {\n\t\tclose: 'Cerrar',\n\t},\n\tit: {\n\t\tclose: 'Chiudere',\n\t},\n\tnl: {\n\t\tclose: 'Sluiten',\n\t},\n\tpt: {\n\t\tclose: 'Fechar',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_BOX_TRANSLATIONS = new InjectionToken('LuBoxTranslations', {\n\tfactory: () => luBoxTranslations,\n});\n\nexport interface LuBoxLabel {\n\tclose: string;\n}\n\nexport const luBoxTranslations: LuTranslation<LuBoxLabel> = Translations;\n","import { booleanAttribute, ChangeDetectionStrategy, Component, input, output, ViewEncapsulation } from '@angular/core';\nimport { ButtonComponent } from '@lucca-front/ng/button';\nimport { intlInputOptions } from '@lucca-front/ng/core';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { LU_BOX_TRANSLATIONS } from './box.translate';\n\n@Component({\n\tselector: 'lu-box',\n\ttemplateUrl: './box.component.html',\n\tstyleUrl: './box.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [IconComponent, ButtonComponent],\n\thost: {\n\t\tclass: 'box',\n\t\t'[class.mod-toggle]': 'toggle()',\n\t\t'[class.mod-neutral]': 'neutral()',\n\t\t'[class.mod-withArrow]': 'withArrow()',\n\t},\n})\nexport class BoxComponent {\n\treadonly intl = input(...intlInputOptions(LU_BOX_TRANSLATIONS));\n\n\treadonly toggle = input(false, { transform: booleanAttribute });\n\n\treadonly neutral = input(false, { transform: booleanAttribute });\n\n\treadonly killable = input(false, { transform: booleanAttribute });\n\n\treadonly withArrow = input(false, { transform: booleanAttribute });\n\n\treadonly killed = output();\n}\n","@if (killable()) {\n\t<div class=\"box-close\">\n\t\t<button luButton=\"ghost\" type=\"button\" (click)=\"killed.emit()\">\n\t\t\t<lu-icon icon=\"signClose\" [alt]=\"intl().close\" />\n\t\t</button>\n\t</div>\n}\n<ng-content />\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAAO,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,OAAO;AACd,KAAA;AACD,IAAA,OAAO,EAAE;AACR,QAAA,KAAK,EAAE,SAAS;AAChB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,WAAW;AAClB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,OAAO;AACd,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,UAAU;AACjB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,SAAS;AAChB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;CACD;;ACxBM,MAAM,mBAAmB,GAAG,IAAI,cAAc,CAAC,mBAAmB,EAAE;AAC1E,IAAA,OAAO,EAAE,MAAM,iBAAiB;AAChC,CAAA,CAAC;AAMK,MAAM,iBAAiB,GAA8B,YAAY;;MCQ3D,YAAY,CAAA;AAdzB,IAAA,WAAA,GAAA;
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-box.mjs","sources":["../../../packages/ng/box/translations.ts","../../../packages/ng/box/box.translate.ts","../../../packages/ng/box/box.component.ts","../../../packages/ng/box/box.component.html","../../../packages/ng/box/lucca-front-ng-box.ts"],"sourcesContent":["export const Translations = {\n\tpl: {\n\t\tclose: 'Close',\n\t},\n\t'nl-BE': {\n\t\tclose: 'Sluiten',\n\t},\n\tfr: {\n\t\tclose: 'Fermer',\n\t},\n\tde: {\n\t\tclose: 'Schließen',\n\t},\n\ten: {\n\t\tclose: 'Close',\n\t},\n\tes: {\n\t\tclose: 'Cerrar',\n\t},\n\tit: {\n\t\tclose: 'Chiudere',\n\t},\n\tnl: {\n\t\tclose: 'Sluiten',\n\t},\n\tpt: {\n\t\tclose: 'Fechar',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_BOX_TRANSLATIONS = new InjectionToken('LuBoxTranslations', {\n\tfactory: () => luBoxTranslations,\n});\n\nexport interface LuBoxLabel {\n\tclose: string;\n}\n\nexport const luBoxTranslations: LuTranslation<LuBoxLabel> = Translations;\n","import { booleanAttribute, ChangeDetectionStrategy, Component, input, output, ViewEncapsulation } from '@angular/core';\nimport { ButtonComponent } from '@lucca-front/ng/button';\nimport { intlInputOptions } from '@lucca-front/ng/core';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { LU_BOX_TRANSLATIONS } from './box.translate';\n\n@Component({\n\tselector: 'lu-box',\n\ttemplateUrl: './box.component.html',\n\tstyleUrl: './box.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [IconComponent, ButtonComponent],\n\thost: {\n\t\tclass: 'box',\n\t\t'[class.mod-toggle]': 'toggle()',\n\t\t'[class.mod-neutral]': 'neutral()',\n\t\t'[class.mod-withArrow]': 'withArrow()',\n\t},\n})\nexport class BoxComponent {\n\treadonly intl = input(...intlInputOptions(LU_BOX_TRANSLATIONS));\n\n\treadonly toggle = input(false, { transform: booleanAttribute });\n\n\treadonly neutral = input(false, { transform: booleanAttribute });\n\n\treadonly killable = input(false, { transform: booleanAttribute });\n\n\treadonly withArrow = input(false, { transform: booleanAttribute });\n\n\treadonly killed = output();\n}\n","@if (killable()) {\n\t<div class=\"box-close\">\n\t\t<button luButton=\"ghost\" type=\"button\" (click)=\"killed.emit()\">\n\t\t\t<lu-icon icon=\"signClose\" [alt]=\"intl().close\" />\n\t\t</button>\n\t</div>\n}\n<ng-content />\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAAO,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,OAAO;AACd,KAAA;AACD,IAAA,OAAO,EAAE;AACR,QAAA,KAAK,EAAE,SAAS;AAChB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,WAAW;AAClB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,OAAO;AACd,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,UAAU;AACjB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,SAAS;AAChB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;CACD;;ACxBM,MAAM,mBAAmB,GAAG,IAAI,cAAc,CAAC,mBAAmB,EAAE;AAC1E,IAAA,OAAO,EAAE,MAAM,iBAAiB;AAChC,CAAA,CAAC;AAMK,MAAM,iBAAiB,GAA8B,YAAY;;MCQ3D,YAAY,CAAA;AAdzB,IAAA,WAAA,GAAA;AAeU,QAAA,IAAA,CAAA,I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KAAK;AACZ,wBAAA,oBAAoB,EAAE,UAAU;AAChC,wBAAA,qBAAqB,EAAE,WAAW;AAClC,wBAAA,uBAAuB,EAAE,aAAa;AACtC,qBAAA,EAAA,QAAA,EAAA,uOAAA,EAAA,MAAA,EAAA,CAAA,msEAAA,CAAA,EAAA;;;AElBF;;AAEG;;;;"}
|
|
@@ -7,10 +7,10 @@ class BreadcrumbsLinkDirective {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
this.template = inject(TemplateRef);
|
|
9
9
|
}
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: BreadcrumbsLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.4", type: BreadcrumbsLinkDirective, isStandalone: true, selector: "[luBreadcrumbsLink]", ngImport: i0 }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: BreadcrumbsLinkDirective, decorators: [{
|
|
14
14
|
type: Directive,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: '[luBreadcrumbsLink]',
|
|
@@ -55,16 +55,19 @@ const luBreadcrumbsTranslations = Translations;
|
|
|
55
55
|
let nextId = 0;
|
|
56
56
|
class BreadcrumbsComponent {
|
|
57
57
|
constructor() {
|
|
58
|
-
this.intl = input(...intlInputOptions(LU_BREADCRUMBS_TRANSLATIONS),
|
|
58
|
+
this.intl = input(...intlInputOptions(LU_BREADCRUMBS_TRANSLATIONS), /* @ts-ignore */
|
|
59
|
+
...(ngDevMode ? [{ debugName: "intl" }] : /* istanbul ignore next */ []));
|
|
59
60
|
this.disableCompact = input(false, { ...(ngDevMode ? { debugName: "disableCompact" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
60
|
-
this.links = contentChildren(BreadcrumbsLinkDirective,
|
|
61
|
-
|
|
61
|
+
this.links = contentChildren(BreadcrumbsLinkDirective, /* @ts-ignore */
|
|
62
|
+
...(ngDevMode ? [{ debugName: "links" }] : /* istanbul ignore next */ []));
|
|
63
|
+
this.isCompact = computed(() => this.links().length <= 2 && !this.disableCompact(), /* @ts-ignore */
|
|
64
|
+
...(ngDevMode ? [{ debugName: "isCompact" }] : /* istanbul ignore next */ []));
|
|
62
65
|
this.id = `breadcrumbs-title-${nextId++}`;
|
|
63
66
|
}
|
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
65
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
67
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: BreadcrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
68
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.4", type: BreadcrumbsComponent, isStandalone: true, selector: "lu-breadcrumbs", inputs: { intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null }, disableCompact: { classPropertyName: "disableCompact", publicName: "disableCompact", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "isCompact() ? \"presentation\" : \"nav\"", "class.mod-compact": "isCompact()", "attr.aria-describedby": "id" }, classAttribute: "breadcrumbs" }, queries: [{ propertyName: "links", predicate: BreadcrumbsLinkDirective, isSignal: true }], ngImport: i0, template: "<p [attr.id]=\"id\" class=\"pr-u-mask\">{{ intl().breadcrumbs }}</p>\n<ol class=\"breadcrumbs-list\">\n\t@for (link of links(); track $index) {\n\t\t<li class=\"breadcrumbs-list-item\">\n\t\t\t<ng-container *ngTemplateOutlet=\"link.template\" />\n\t\t</li>\n\t}\n</ol>\n", styles: ["@charset \"UTF-8\";@layer components{.breadcrumbs{display:block}.breadcrumbs-list{display:flex;flex-wrap:wrap;list-style-type:none;margin:0;padding:0}.breadcrumbs-list-item{font:var(--pr-t-font-body-S);align-items:center;display:flex}.breadcrumbs-list-item:not(:first-child):before{--icon-content: \"\\e926\";font-weight:var(--pr-t-font-fontWeight-regular);display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:var(--icon-fontFamily);content:var(--icon-content)/\"\";-webkit-font-smoothing:antialiased;text-transform:none;color:var(--palettes-neutral-700);font-size:var(--pr-t-font-body-XS-lineHeight);padding-block:0;padding-inline:var(--pr-t-spacings-50)}.breadcrumbs-list-item-action,.breadcrumbs-list-item>a{color:var(--pr-t-color-text-subtle);transition-duration:var(--commons-animations-durations-fast);transition-property:color;text-decoration:none;background-color:transparent;margin:0;padding:0;border:0;cursor:pointer}.breadcrumbs-list-item-action:before,.breadcrumbs-list-item>a:before{color:var(--palettes-neutral-700)}.breadcrumbs-list-item-action:hover,.breadcrumbs-list-item>a:hover{color:var(--pr-t-color-text-subtle);text-decoration:underline}.breadcrumbs-list-item-action:focus-visible,.breadcrumbs-list-item>a:focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px;border-radius:var(--pr-t-border-radius-default)}}@layer mods{.breadcrumbs.mod-compact .breadcrumbs-list-item:nth-last-child(2):first-child:last-child,.breadcrumbs.mod-compact .breadcrumbs-list-item:nth-last-child(2):first-child+.breadcrumbs-list-item:last-child{border:0;clip-path:rect(1px 1px 1px 1px);margin:-1px;overflow:hidden;padding:0;position:absolute;block-size:1px;inline-size:1px;white-space:nowrap;contain:paint}.breadcrumbs.mod-compact .breadcrumbs-list-item:nth-last-child(2):first-child:first-child .breadcrumbs-list-item-action:before,.breadcrumbs.mod-compact .breadcrumbs-list-item:nth-last-child(2):first-child:first-child .breadcrumbs-list-item>a:before,.breadcrumbs.mod-compact .breadcrumbs-list-item:nth-last-child(2):first-child+.breadcrumbs-list-item:first-child .breadcrumbs-list-item-action:before,.breadcrumbs.mod-compact .breadcrumbs-list-item:nth-last-child(2):first-child+.breadcrumbs-list-item:first-child .breadcrumbs-list-item>a:before{--icon-content: \"\\e9b4\";font-weight:var(--pr-t-font-fontWeight-regular);display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:var(--icon-fontFamily);content:var(--icon-content)/\"\";-webkit-font-smoothing:antialiased;text-transform:none;padding-inline-end:var(--pr-t-spacings-50);font-size:var(--pr-t-font-body-XS-lineHeight);line-height:var(--pr-t-font-body-S-lineHeight);text-decoration:none;vertical-align:top}}@layer mods{.breadcrumbs-list-item-action.active,.breadcrumbs-list-item-action.is-active,.breadcrumbs-list-item-action[aria-current=page],.breadcrumbs-list-item>a.active,.breadcrumbs-list-item>a.is-active,.breadcrumbs-list-item>a[aria-current=page]{font-weight:var(--pr-t-font-fontWeight-semibold);text-decoration:none;cursor:default}.breadcrumbs-list-item-action.active:hover,.breadcrumbs-list-item-action.is-active:hover,.breadcrumbs-list-item-action[aria-current=page]:hover,.breadcrumbs-list-item>a.active:hover,.breadcrumbs-list-item>a.is-active:hover,.breadcrumbs-list-item>a[aria-current=page]:hover{outline:none}.breadcrumbs-list-item-action.active,.breadcrumbs-list-item-action.active:hover,.breadcrumbs-list-item-action.active:focus-visible,.breadcrumbs-list-item-action.is-active,.breadcrumbs-list-item-action.is-active:hover,.breadcrumbs-list-item-action.is-active:focus-visible,.breadcrumbs-list-item-action[aria-current=page],.breadcrumbs-list-item-action[aria-current=page]:hover,.breadcrumbs-list-item-action[aria-current=page]:focus-visible,.breadcrumbs-list-item>a.active,.breadcrumbs-list-item>a.active:hover,.breadcrumbs-list-item>a.active:focus-visible,.breadcrumbs-list-item>a.is-active,.breadcrumbs-list-item>a.is-active:hover,.breadcrumbs-list-item>a.is-active:focus-visible,.breadcrumbs-list-item>a[aria-current=page],.breadcrumbs-list-item>a[aria-current=page]:hover,.breadcrumbs-list-item>a[aria-current=page]:focus-visible{outline:none;color:var(--palettes-neutral-700)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
66
69
|
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: BreadcrumbsComponent, decorators: [{
|
|
68
71
|
type: Component,
|
|
69
72
|
args: [{ selector: 'lu-breadcrumbs', encapsulation: ViewEncapsulation.None, imports: [NgTemplateOutlet], host: {
|
|
70
73
|
class: 'breadcrumbs',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-breadcrumbs.mjs","sources":["../../../packages/ng/breadcrumbs/breadcrumbs-link.directive.ts","../../../packages/ng/breadcrumbs/translations.ts","../../../packages/ng/breadcrumbs/breadcrumbs.translate.ts","../../../packages/ng/breadcrumbs/breadcrumbs.component.ts","../../../packages/ng/breadcrumbs/breadcrumbs.component.html","../../../packages/ng/breadcrumbs/lucca-front-ng-breadcrumbs.ts"],"sourcesContent":["import { Directive, inject, TemplateRef } from '@angular/core';\n\n@Directive({\n\tselector: '[luBreadcrumbsLink]',\n})\nexport class BreadcrumbsLinkDirective {\n\tpublic template = inject(TemplateRef);\n}\n","export const Translations = {\n\ten: {\n\t\tbreadcrumbs: 'Breadcrumb navigation',\n\t},\n\tde: {\n\t\tbreadcrumbs: 'Roter Faden',\n\t},\n\tfr: {\n\t\tbreadcrumbs: 'Fil d’Ariane',\n\t},\n\tit: {\n\t\tbreadcrumbs: 'Filo di Arianna',\n\t},\n\tnl: {\n\t\tbreadcrumbs: 'Navigatiepad',\n\t},\n\t'nl-BE': {\n\t\tbreadcrumbs: 'Navigatiepad',\n\t},\n\tes: {\n\t\tbreadcrumbs: 'Hilo de Ariadna',\n\t},\n\tpt: {\n\t\tbreadcrumbs: 'Trilho de navegação',\n\t},\n\tpl: {\n\t\tbreadcrumbs: 'Ścieżka nawigacyjna',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_BREADCRUMBS_TRANSLATIONS = new InjectionToken('LuBreadcrumbsTranslations', {\n\tfactory: () => luBreadcrumbsTranslations,\n});\n\nexport interface LuBreadcrumbsLabel {\n\tbreadcrumbs: string;\n}\n\nexport const luBreadcrumbsTranslations: LuTranslation<LuBreadcrumbsLabel> = Translations;\n","import { NgTemplateOutlet } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, contentChildren, input, ViewEncapsulation } from '@angular/core';\nimport { intlInputOptions } from '@lucca-front/ng/core';\nimport { BreadcrumbsLinkDirective } from './breadcrumbs-link.directive';\nimport { LU_BREADCRUMBS_TRANSLATIONS } from './breadcrumbs.translate';\n\nlet nextId = 0;\n\n@Component({\n\tselector: 'lu-breadcrumbs',\n\tstyleUrl: './breadcrumbs.component.scss',\n\ttemplateUrl: './breadcrumbs.component.html',\n\tencapsulation: ViewEncapsulation.None,\n\timports: [NgTemplateOutlet],\n\thost: {\n\t\tclass: 'breadcrumbs',\n\t\t'[attr.role]': 'isCompact() ? \"presentation\" : \"nav\"',\n\t\t'[class.mod-compact]': 'isCompact()',\n\t\t'[attr.aria-describedby]': 'id',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BreadcrumbsComponent {\n\treadonly intl = input(...intlInputOptions(LU_BREADCRUMBS_TRANSLATIONS));\n\n\treadonly disableCompact = input(false, { transform: booleanAttribute });\n\n\treadonly links = contentChildren(BreadcrumbsLinkDirective);\n\n\treadonly isCompact = computed(() => this.links().length <= 2 && !this.disableCompact());\n\n\treadonly id = `breadcrumbs-title-${nextId++}`;\n}\n","<p [attr.id]=\"id\" class=\"pr-u-mask\">{{ intl().breadcrumbs }}</p>\n<ol class=\"breadcrumbs-list\">\n\t@for (link of links(); track $index) {\n\t\t<li class=\"breadcrumbs-list-item\">\n\t\t\t<ng-container *ngTemplateOutlet=\"link.template\" />\n\t\t</li>\n\t}\n</ol>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAKa,wBAAwB,CAAA;AAHrC,IAAA,WAAA,GAAA;AAIQ,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,WAAW,CAAC;AACrC,IAAA
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-breadcrumbs.mjs","sources":["../../../packages/ng/breadcrumbs/breadcrumbs-link.directive.ts","../../../packages/ng/breadcrumbs/translations.ts","../../../packages/ng/breadcrumbs/breadcrumbs.translate.ts","../../../packages/ng/breadcrumbs/breadcrumbs.component.ts","../../../packages/ng/breadcrumbs/breadcrumbs.component.html","../../../packages/ng/breadcrumbs/lucca-front-ng-breadcrumbs.ts"],"sourcesContent":["import { Directive, inject, TemplateRef } from '@angular/core';\n\n@Directive({\n\tselector: '[luBreadcrumbsLink]',\n})\nexport class BreadcrumbsLinkDirective {\n\tpublic template = inject(TemplateRef);\n}\n","export const Translations = {\n\ten: {\n\t\tbreadcrumbs: 'Breadcrumb navigation',\n\t},\n\tde: {\n\t\tbreadcrumbs: 'Roter Faden',\n\t},\n\tfr: {\n\t\tbreadcrumbs: 'Fil d’Ariane',\n\t},\n\tit: {\n\t\tbreadcrumbs: 'Filo di Arianna',\n\t},\n\tnl: {\n\t\tbreadcrumbs: 'Navigatiepad',\n\t},\n\t'nl-BE': {\n\t\tbreadcrumbs: 'Navigatiepad',\n\t},\n\tes: {\n\t\tbreadcrumbs: 'Hilo de Ariadna',\n\t},\n\tpt: {\n\t\tbreadcrumbs: 'Trilho de navegação',\n\t},\n\tpl: {\n\t\tbreadcrumbs: 'Ścieżka nawigacyjna',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_BREADCRUMBS_TRANSLATIONS = new InjectionToken('LuBreadcrumbsTranslations', {\n\tfactory: () => luBreadcrumbsTranslations,\n});\n\nexport interface LuBreadcrumbsLabel {\n\tbreadcrumbs: string;\n}\n\nexport const luBreadcrumbsTranslations: LuTranslation<LuBreadcrumbsLabel> = Translations;\n","import { NgTemplateOutlet } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, contentChildren, input, ViewEncapsulation } from '@angular/core';\nimport { intlInputOptions } from '@lucca-front/ng/core';\nimport { BreadcrumbsLinkDirective } from './breadcrumbs-link.directive';\nimport { LU_BREADCRUMBS_TRANSLATIONS } from './breadcrumbs.translate';\n\nlet nextId = 0;\n\n@Component({\n\tselector: 'lu-breadcrumbs',\n\tstyleUrl: './breadcrumbs.component.scss',\n\ttemplateUrl: './breadcrumbs.component.html',\n\tencapsulation: ViewEncapsulation.None,\n\timports: [NgTemplateOutlet],\n\thost: {\n\t\tclass: 'breadcrumbs',\n\t\t'[attr.role]': 'isCompact() ? \"presentation\" : \"nav\"',\n\t\t'[class.mod-compact]': 'isCompact()',\n\t\t'[attr.aria-describedby]': 'id',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BreadcrumbsComponent {\n\treadonly intl = input(...intlInputOptions(LU_BREADCRUMBS_TRANSLATIONS));\n\n\treadonly disableCompact = input(false, { transform: booleanAttribute });\n\n\treadonly links = contentChildren(BreadcrumbsLinkDirective);\n\n\treadonly isCompact = computed(() => this.links().length <= 2 && !this.disableCompact());\n\n\treadonly id = `breadcrumbs-title-${nextId++}`;\n}\n","<p [attr.id]=\"id\" class=\"pr-u-mask\">{{ intl().breadcrumbs }}</p>\n<ol class=\"breadcrumbs-list\">\n\t@for (link of links(); track $index) {\n\t\t<li class=\"breadcrumbs-list-item\">\n\t\t\t<ng-container *ngTemplateOutlet=\"link.template\" />\n\t\t</li>\n\t}\n</ol>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAKa,wBAAwB,CAAA;AAHrC,IAAA,WAAA,GAAA;AAIQ,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,WAAW,CAAC;AACrC,IAAA;8GAFY,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAHpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,iBAAA;;;ACJM,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;AACH,QAAA,WAAW,EAAE,uBAAuB;AACpC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,WAAW,EAAE,aAAa;AAC1B,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,WAAW,EAAE,cAAc;AAC3B,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,WAAW,EAAE,iBAAiB;AAC9B,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,WAAW,EAAE,cAAc;AAC3B,KAAA;AACD,IAAA,OAAO,EAAE;AACR,QAAA,WAAW,EAAE,cAAc;AAC3B,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,WAAW,EAAE,iBAAiB;AAC9B,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,WAAW,EAAE,qBAAqB;AAClC,KAAA;AACD,IAAA,EAA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@@ const BUBBLE_ICON_DIRECTION = ['top', 'bottom', 'left', 'right', 'random'];
|
|
|
10
10
|
|
|
11
11
|
class BubbleIconComponent {
|
|
12
12
|
constructor() {
|
|
13
|
-
this.icon = input.required(
|
|
14
|
-
|
|
15
|
-
this.
|
|
16
|
-
|
|
17
|
-
this.
|
|
18
|
-
|
|
19
|
-
this.
|
|
13
|
+
this.icon = input.required(/* @ts-ignore */
|
|
14
|
+
...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
15
|
+
this.alt = input(null, /* @ts-ignore */
|
|
16
|
+
...(ngDevMode ? [{ debugName: "alt" }] : /* istanbul ignore next */ []));
|
|
17
|
+
this.size = input('M', /* @ts-ignore */
|
|
18
|
+
...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
19
|
+
this.palette = input('product', /* @ts-ignore */
|
|
20
|
+
...(ngDevMode ? [{ debugName: "palette" }] : /* istanbul ignore next */ []));
|
|
21
|
+
this.paletteClass = computed(() => ({ [`palette-${this.palette()}`]: !!this.palette() }), /* @ts-ignore */
|
|
22
|
+
...(ngDevMode ? [{ debugName: "paletteClass" }] : /* istanbul ignore next */ []));
|
|
23
|
+
this.bubbleDirection = input('random', /* @ts-ignore */
|
|
24
|
+
...(ngDevMode ? [{ debugName: "bubbleDirection" }] : /* istanbul ignore next */ []));
|
|
25
|
+
this.randomNumber = signal(Math.floor(Math.random() * 4) + 1, /* @ts-ignore */
|
|
26
|
+
...(ngDevMode ? [{ debugName: "randomNumber" }] : /* istanbul ignore next */ []));
|
|
20
27
|
this.direction = computed(() => {
|
|
21
28
|
switch (this.bubbleDirection()) {
|
|
22
29
|
case 'left':
|
|
@@ -30,12 +37,13 @@ class BubbleIconComponent {
|
|
|
30
37
|
default:
|
|
31
38
|
return this.randomNumber();
|
|
32
39
|
}
|
|
33
|
-
},
|
|
40
|
+
}, /* @ts-ignore */
|
|
41
|
+
...(ngDevMode ? [{ debugName: "direction" }] : /* istanbul ignore next */ []));
|
|
34
42
|
}
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
43
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: BubbleIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
44
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.4", type: BubbleIconComponent, isStandalone: true, selector: "lu-bubble-icon", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: true, transformFunction: null }, alt: { classPropertyName: "alt", publicName: "alt", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, palette: { classPropertyName: "palette", publicName: "palette", isSignal: true, isRequired: false, transformFunction: null }, bubbleDirection: { classPropertyName: "bubbleDirection", publicName: "bubbleDirection", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "paletteClass()", "class.mod-left": "direction() === 1", "class.mod-right": "direction() === 2", "class.mod-top": "direction() === 3", "class.mod-bottom": "direction() === 4", "class.mod-XS": "size() === \"XS\"", "class.mod-S": "size() === \"S\"", "class.mod-L": "size() === \"L\"" }, classAttribute: "bubbleIcon" }, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" class=\"bubbleIcon-bubble\">\n\t<path\n\t\tclass=\"bubbleIcon-bubble-pathInline\"\n\t\td=\"M8.02234 5.62248C18.6681.122 39.722-6.44995 39.9931 13.4051c.146 10.9657-1.8566 32.8782-21.3314 24.8746C-1.892 29.8346-5.51213 12.491 8.02234 5.62248\"\n\t/>\n\t<path\n\t\tclass=\"bubbleIcon-bubble-pathBlock\"\n\t\td=\"M2.25264 16.3895C8.11117 6.4042 21.9332-9.59108 32.4637 7.57789c5.8129 9.48391 15.5505 29.55471-4.5465 32.07901C6.70786 42.3228-5.2602 28.9757 2.25264 16.3895\"\n\t/>\n</svg>\n<span class=\"bubbleIcon-icon\">\n\t<lu-icon [icon]=\"icon()\" [alt]=\"alt()\" />\n</span>\n", styles: ["@layer components{.bubbleIcon{--components-bubbleIcon-size: var(--pr-t-spacings-500);--components-bubbleIcon-color: var(--palettes-700, var(--palettes-product-700));--components-bubbleIcon-bubble-path-fill: var(--palettes-100, var(--palettes-product-100));--components-bubbleIcon-bubble-pathBlock-display: none;--components-bubbleIcon-bubble-pathInline-display: inherit;--components-bubbleIcon-bubble-scale: 1;--components-bubbleIcon-icon-insetOffset: 1px;--components-bubbleIcon-icon-insetBlockStart: auto;--components-bubbleIcon-icon-insetBlockEnd: auto;--components-bubbleIcon-icon-insetInlineStart: auto;--components-bubbleIcon-icon-insetInlineEnd: auto;color:var(--components-bubbleIcon-color);inline-size:var(--components-bubbleIcon-size);block-size:var(--components-bubbleIcon-size);display:inline-grid}.bubbleIcon-icon,.bubbleIcon-bubble{grid-column-start:1;grid-row-start:1}.bubbleIcon-bubble{scale:var(--components-bubbleIcon-bubble-scale);inline-size:100%;block-size:100%}.bubbleIcon-bubble-pathBlock,.bubbleIcon-bubble-pathInline{fill:var(--components-bubbleIcon-bubble-path-fill)}.bubbleIcon-bubble-pathBlock{display:var(--components-bubbleIcon-bubble-pathBlock-display)}.bubbleIcon-bubble-pathInline{display:var(--components-bubbleIcon-bubble-pathInline-display)}.bubbleIcon-icon{display:flex;isolation:isolate;position:relative;inset-block-start:var(--components-bubbleIcon-icon-insetBlockStart);inset-block-end:var(--components-bubbleIcon-icon-insetBlockEnd);inset-inline-start:var(--components-bubbleIcon-icon-insetInlineStart);inset-inline-end:var(--components-bubbleIcon-icon-insetInlineEnd)}.bubbleIcon-icon lu-icon,.bubbleIcon-icon .lucca-icon{margin:auto}.bubbleIcon-icon lu-icon .lucca-icon,.bubbleIcon-icon .lucca-icon .lucca-icon{margin:0}}@layer mods{.bubbleIcon.mod-XS{--components-bubbleIcon-size: var(--pr-t-spacings-300)}.bubbleIcon.mod-XS .lucca-icon{--icon-size: 1rem}.bubbleIcon.mod-S{--components-bubbleIcon-size: var(--pr-t-spacings-400)}.bubbleIcon.mod-S .lucca-icon{--icon-size: 1.25rem}.bubbleIcon.mod-L{--components-bubbleIcon-size: var(--pr-t-spacings-600)}.bubbleIcon.mod-L .lucca-icon{--icon-size: 1.75rem}.bubbleIcon.is-success{--palettes-text: var(--palettes-success-text);--palettes-0: var(--palettes-success-0);--palettes-25: var(--palettes-success-25);--palettes-50: var(--palettes-success-50);--palettes-100: var(--palettes-success-100);--palettes-200: var(--palettes-success-200);--palettes-300: var(--palettes-success-300);--palettes-400: var(--palettes-success-400);--palettes-500: var(--palettes-success-500);--palettes-600: var(--palettes-success-600);--palettes-700: var(--palettes-success-700);--palettes-800: var(--palettes-success-800);--palettes-900: var(--palettes-success-900)}.bubbleIcon.is-critical{--palettes-text: var(--palettes-critical-text);--palettes-0: var(--palettes-critical-0);--palettes-25: var(--palettes-critical-25);--palettes-50: var(--palettes-critical-50);--palettes-100: var(--palettes-critical-100);--palettes-200: var(--palettes-critical-200);--palettes-300: var(--palettes-critical-300);--palettes-400: var(--palettes-critical-400);--palettes-500: var(--palettes-critical-500);--palettes-600: var(--palettes-critical-600);--palettes-700: var(--palettes-critical-700);--palettes-800: var(--palettes-critical-800);--palettes-900: var(--palettes-critical-900)}.bubbleIcon.is-warning{--palettes-text: var(--palettes-warning-text);--palettes-0: var(--palettes-warning-0);--palettes-25: var(--palettes-warning-25);--palettes-50: var(--palettes-warning-50);--palettes-100: var(--palettes-warning-100);--palettes-200: var(--palettes-warning-200);--palettes-300: var(--palettes-warning-300);--palettes-400: var(--palettes-warning-400);--palettes-500: var(--palettes-warning-500);--palettes-600: var(--palettes-warning-600);--palettes-700: var(--palettes-warning-700);--palettes-800: var(--palettes-warning-800);--palettes-900: var(--palettes-warning-900)}.bubbleIcon.mod-top{--components-bubbleIcon-icon-insetBlockStart: var(--components-bubbleIcon-icon-insetOffset);--components-bubbleIcon-bubble-pathBlock-display: inherit;--components-bubbleIcon-bubble-pathInline-display: none}.bubbleIcon.mod-bottom{--components-bubbleIcon-icon-insetBlockEnd: var(--components-bubbleIcon-icon-insetOffset);--components-bubbleIcon-bubble-pathBlock-display: inherit;--components-bubbleIcon-bubble-pathInline-display: none;--components-bubbleIcon-bubble-scale: -1 -1}.bubbleIcon.mod-left{--components-bubbleIcon-icon-insetInlineStart: var(--components-bubbleIcon-icon-insetOffset)}.bubbleIcon.mod-right{--components-bubbleIcon-icon-insetInlineEnd: var(--components-bubbleIcon-icon-insetOffset);--components-bubbleIcon-bubble-scale: -1 -1}}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "lu-icon, pr-icon", inputs: ["icon", "alt", "size", "color", "AI"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
37
45
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: BubbleIconComponent, decorators: [{
|
|
39
47
|
type: Component,
|
|
40
48
|
args: [{ selector: 'lu-bubble-icon', encapsulation: ViewEncapsulation.None, host: {
|
|
41
49
|
class: 'bubbleIcon',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-bubble-icon.mjs","sources":["../../../packages/ng/bubble-icon/bubble-icon.type.ts","../../../packages/ng/bubble-icon/bubble-icon.component.ts","../../../packages/ng/bubble-icon/bubble-icon.component.html","../../../packages/ng/bubble-icon/lucca-front-ng-bubble-icon.ts"],"sourcesContent":["/**\n * Available BubbleIconComponent Types\n */\n\nexport const BUBBLE_ICON_SIZE = ['XS', 'S', 'M', 'L'] as const;\nexport type BubbleIconSize = (typeof BUBBLE_ICON_SIZE)[number];\n\nexport const BUBBLE_ICON_DIRECTION = ['top', 'bottom', 'left', 'right', 'random'] as const;\nexport type BubbleIconDirection = (typeof BUBBLE_ICON_DIRECTION)[number];\n","import { ChangeDetectionStrategy, Component, computed, input, signal, ViewEncapsulation } from '@angular/core';\nimport { LuccaIcon } from '@lucca-front/icons';\nimport { DecorativePalette, Palette } from '@lucca-front/ng/core';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { BubbleIconSize } from './bubble-icon.type';\n\n@Component({\n\tselector: 'lu-bubble-icon',\n\ttemplateUrl: './bubble-icon.component.html',\n\tstyleUrl: './bubble-icon.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'bubbleIcon',\n\t\t'[class]': 'paletteClass()',\n\t\t'[class.mod-left]': 'direction() === 1',\n\t\t'[class.mod-right]': 'direction() === 2',\n\t\t'[class.mod-top]': 'direction() === 3',\n\t\t'[class.mod-bottom]': 'direction() === 4',\n\t\t'[class.mod-XS]': 'size() === \"XS\"',\n\t\t'[class.mod-S]': 'size() === \"S\"',\n\t\t'[class.mod-L]': 'size() === \"L\"',\n\t},\n\timports: [IconComponent],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BubbleIconComponent {\n\treadonly icon = input.required<LuccaIcon>();\n\treadonly alt = input<string | null>(null);\n\treadonly size = input<BubbleIconSize>('M');\n\n\treadonly palette = input<Palette | DecorativePalette>('product');\n\treadonly paletteClass = computed(() => ({ [`palette-${this.palette()}`]: !!this.palette() }));\n\n\treadonly bubbleDirection = input<'top' | 'bottom' | 'left' | 'right' | 'random'>('random');\n\n\treadonly randomNumber = signal<number>(Math.floor(Math.random() * 4) + 1);\n\n\treadonly direction = computed(() => {\n\t\tswitch (this.bubbleDirection()) {\n\t\t\tcase 'left':\n\t\t\t\treturn 1;\n\t\t\tcase 'right':\n\t\t\t\treturn 2;\n\t\t\tcase 'top':\n\t\t\t\treturn 3;\n\t\t\tcase 'bottom':\n\t\t\t\treturn 4;\n\t\t\tdefault:\n\t\t\t\treturn this.randomNumber();\n\t\t}\n\t});\n}\n","<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" class=\"bubbleIcon-bubble\">\n\t<path\n\t\tclass=\"bubbleIcon-bubble-pathInline\"\n\t\td=\"M8.02234 5.62248C18.6681.122 39.722-6.44995 39.9931 13.4051c.146 10.9657-1.8566 32.8782-21.3314 24.8746C-1.892 29.8346-5.51213 12.491 8.02234 5.62248\"\n\t/>\n\t<path\n\t\tclass=\"bubbleIcon-bubble-pathBlock\"\n\t\td=\"M2.25264 16.3895C8.11117 6.4042 21.9332-9.59108 32.4637 7.57789c5.8129 9.48391 15.5505 29.55471-4.5465 32.07901C6.70786 42.3228-5.2602 28.9757 2.25264 16.3895\"\n\t/>\n</svg>\n<span class=\"bubbleIcon-icon\">\n\t<lu-icon [icon]=\"icon()\" [alt]=\"alt()\" />\n</span>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAAA;;AAEG;AAEI,MAAM,gBAAgB,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG;AAG7C,MAAM,qBAAqB,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ;;MCkBnE,mBAAmB,CAAA;AAnBhC,IAAA,WAAA,GAAA;
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-bubble-icon.mjs","sources":["../../../packages/ng/bubble-icon/bubble-icon.type.ts","../../../packages/ng/bubble-icon/bubble-icon.component.ts","../../../packages/ng/bubble-icon/bubble-icon.component.html","../../../packages/ng/bubble-icon/lucca-front-ng-bubble-icon.ts"],"sourcesContent":["/**\n * Available BubbleIconComponent Types\n */\n\nexport const BUBBLE_ICON_SIZE = ['XS', 'S', 'M', 'L'] as const;\nexport type BubbleIconSize = (typeof BUBBLE_ICON_SIZE)[number];\n\nexport const BUBBLE_ICON_DIRECTION = ['top', 'bottom', 'left', 'right', 'random'] as const;\nexport type BubbleIconDirection = (typeof BUBBLE_ICON_DIRECTION)[number];\n","import { ChangeDetectionStrategy, Component, computed, input, signal, ViewEncapsulation } from '@angular/core';\nimport { LuccaIcon } from '@lucca-front/icons';\nimport { DecorativePalette, Palette } from '@lucca-front/ng/core';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { BubbleIconSize } from './bubble-icon.type';\n\n@Component({\n\tselector: 'lu-bubble-icon',\n\ttemplateUrl: './bubble-icon.component.html',\n\tstyleUrl: './bubble-icon.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'bubbleIcon',\n\t\t'[class]': 'paletteClass()',\n\t\t'[class.mod-left]': 'direction() === 1',\n\t\t'[class.mod-right]': 'direction() === 2',\n\t\t'[class.mod-top]': 'direction() === 3',\n\t\t'[class.mod-bottom]': 'direction() === 4',\n\t\t'[class.mod-XS]': 'size() === \"XS\"',\n\t\t'[class.mod-S]': 'size() === \"S\"',\n\t\t'[class.mod-L]': 'size() === \"L\"',\n\t},\n\timports: [IconComponent],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BubbleIconComponent {\n\treadonly icon = input.required<LuccaIcon>();\n\treadonly alt = input<string | null>(null);\n\treadonly size = input<BubbleIconSize>('M');\n\n\treadonly palette = input<Palette | DecorativePalette>('product');\n\treadonly paletteClass = computed(() => ({ [`palette-${this.palette()}`]: !!this.palette() }));\n\n\treadonly bubbleDirection = input<'top' | 'bottom' | 'left' | 'right' | 'random'>('random');\n\n\treadonly randomNumber = signal<number>(Math.floor(Math.random() * 4) + 1);\n\n\treadonly direction = computed(() => {\n\t\tswitch (this.bubbleDirection()) {\n\t\t\tcase 'left':\n\t\t\t\treturn 1;\n\t\t\tcase 'right':\n\t\t\t\treturn 2;\n\t\t\tcase 'top':\n\t\t\t\treturn 3;\n\t\t\tcase 'bottom':\n\t\t\t\treturn 4;\n\t\t\tdefault:\n\t\t\t\treturn this.randomNumber();\n\t\t}\n\t});\n}\n","<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" class=\"bubbleIcon-bubble\">\n\t<path\n\t\tclass=\"bubbleIcon-bubble-pathInline\"\n\t\td=\"M8.02234 5.62248C18.6681.122 39.722-6.44995 39.9931 13.4051c.146 10.9657-1.8566 32.8782-21.3314 24.8746C-1.892 29.8346-5.51213 12.491 8.02234 5.62248\"\n\t/>\n\t<path\n\t\tclass=\"bubbleIcon-bubble-pathBlock\"\n\t\td=\"M2.25264 16.3895C8.11117 6.4042 21.9332-9.59108 32.4637 7.57789c5.8129 9.48391 15.5505 29.55471-4.5465 32.07901C6.70786 42.3228-5.2602 28.9757 2.25264 16.3895\"\n\t/>\n</svg>\n<span class=\"bubbleIcon-icon\">\n\t<lu-icon [icon]=\"icon()\" [alt]=\"alt()\" />\n</span>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAAA;;AAEG;AAEI,MAAM,gBAAgB,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG;AAG7C,MAAM,qBAAqB,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ;;MCkBnE,mBAAmB,CAAA;AAnBhC,IAAA,WAAA,GAAA;QAoBU,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ;iFAAa;QAClC,IAAA,CAAA,GAAG,GAAG,KAAK,CAAgB,IAAI;gFAAC;QAChC,IAAA,CAAA,IAAI,GAAG,KAAK,CAAiB,GAAG;iFAAC;QAEjC,IAAA,CAAA,OAAO,GAAG,KAAK,CAA8B,SAAS;oFAAC;QACvD,IAAA,CAAA,YAAY,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAA,QAAA,EAAW,IAAI,CAAC,OAAO,EAAE,CAAA,CAAE,GAAG,CAAC,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,gBAAgB;AAC3B,wBAAA,kBAAkB,EAAE,mBAAmB;AACvC,wBAAA,mBAAmB,EAAE,mBAAmB;AACxC,wBAAA,iBAAiB,EAAE,mBAAmB;AACtC,wBAAA,oBAAoB,EAAE,mBAAmB;AACzC,wBAAA,gBAAgB,EAAE,iBAAiB;AACnC,wBAAA,eAAe,EAAE,gBAAgB;AACjC,wBAAA,eAAe,EAAE,gBAAgB;AACjC,qBAAA,EAAA,OAAA,EACQ,CAAC,aAAa,CAAC,EAAA,eAAA,EACP,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,+pBAAA,EAAA,MAAA,EAAA,CAAA,8lJAAA,CAAA,EAAA;;;AEvBhD;;AAEG;;;;"}
|
|
@@ -117,22 +117,27 @@ class BubbleIllustrationComponent {
|
|
|
117
117
|
this.domain = 'https://cdn.lucca.fr';
|
|
118
118
|
this.path = '/transverse/prisme/visuals/bubble-illustration/';
|
|
119
119
|
this.extension = '.svg';
|
|
120
|
-
this.illustration = input.required(
|
|
121
|
-
|
|
122
|
-
this.
|
|
120
|
+
this.illustration = input.required(/* @ts-ignore */
|
|
121
|
+
...(ngDevMode ? [{ debugName: "illustration" }] : /* istanbul ignore next */ []));
|
|
122
|
+
this.palette = input('product', /* @ts-ignore */
|
|
123
|
+
...(ngDevMode ? [{ debugName: "palette" }] : /* istanbul ignore next */ []));
|
|
124
|
+
this.size = input('M', /* @ts-ignore */
|
|
125
|
+
...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
123
126
|
this.action = input(false, { ...(ngDevMode ? { debugName: "action" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
124
127
|
this.illustrationUrl = computed(() => {
|
|
125
128
|
if (this.illustration().startsWith('https://') || this.illustration().startsWith('/')) {
|
|
126
129
|
return this.illustration();
|
|
127
130
|
}
|
|
128
131
|
return `${this.domain}${this.path}${this.illustration()}${this.extension}`;
|
|
129
|
-
},
|
|
130
|
-
|
|
132
|
+
}, /* @ts-ignore */
|
|
133
|
+
...(ngDevMode ? [{ debugName: "illustrationUrl" }] : /* istanbul ignore next */ []));
|
|
134
|
+
this.paletteClass = computed(() => ({ [`palette-${this.palette()}`]: !!this.palette() }), /* @ts-ignore */
|
|
135
|
+
...(ngDevMode ? [{ debugName: "paletteClass" }] : /* istanbul ignore next */ []));
|
|
131
136
|
}
|
|
132
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
133
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
137
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: BubbleIllustrationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
138
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.4", type: BubbleIllustrationComponent, isStandalone: true, selector: "lu-bubble-illustration", inputs: { illustration: { classPropertyName: "illustration", publicName: "illustration", isSignal: true, isRequired: true, transformFunction: null }, palette: { classPropertyName: "palette", publicName: "palette", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, action: { classPropertyName: "action", publicName: "action", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div\n\tclass=\"bubbleIllustration\"\n\t[class]=\"paletteClass()\"\n\t[class.mod-S]=\"size() === 'S'\"\n\t[class.mod-L]=\"size() === 'L'\"\n\t[class.mod-action]=\"action()\"\n\taria-hidden=\"true\"\n\t[innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"\n></div>\n", styles: ["@layer components{.bubbleIllustration{--components-bubbleIllustration-action-display: block;--components-bubbleIllustration-size: var(--pr-t-spacings-500);display:inline-block;inline-size:var(--components-bubbleIllustration-size);block-size:var(--components-bubbleIllustration-size)}.bubbleIllustration svg{display:block;inline-size:100%;block-size:100%}.bubbleIllustration-action{display:var(--components-bubbleIllustration-action-display)}}@layer mods{.bubbleIllustration.mod-S{--components-bubbleIllustration-size: var(--pr-t-spacings-400)}.bubbleIllustration.mod-L{--components-bubbleIllustration-size: var(--pr-t-spacings-600)}.bubbleIllustration.is-success{--palettes-text: var(--palettes-success-text);--palettes-0: var(--palettes-success-0);--palettes-25: var(--palettes-success-25);--palettes-50: var(--palettes-success-50);--palettes-100: var(--palettes-success-100);--palettes-200: var(--palettes-success-200);--palettes-300: var(--palettes-success-300);--palettes-400: var(--palettes-success-400);--palettes-500: var(--palettes-success-500);--palettes-600: var(--palettes-success-600);--palettes-700: var(--palettes-success-700);--palettes-800: var(--palettes-success-800);--palettes-900: var(--palettes-success-900)}.bubbleIllustration.is-critical{--palettes-text: var(--palettes-critical-text);--palettes-0: var(--palettes-critical-0);--palettes-25: var(--palettes-critical-25);--palettes-50: var(--palettes-critical-50);--palettes-100: var(--palettes-critical-100);--palettes-200: var(--palettes-critical-200);--palettes-300: var(--palettes-critical-300);--palettes-400: var(--palettes-critical-400);--palettes-500: var(--palettes-critical-500);--palettes-600: var(--palettes-critical-600);--palettes-700: var(--palettes-critical-700);--palettes-800: var(--palettes-critical-800);--palettes-900: var(--palettes-critical-900)}.bubbleIllustration.is-warning{--palettes-text: var(--palettes-warning-text);--palettes-0: var(--palettes-warning-0);--palettes-25: var(--palettes-warning-25);--palettes-50: var(--palettes-warning-50);--palettes-100: var(--palettes-warning-100);--palettes-200: var(--palettes-warning-200);--palettes-300: var(--palettes-warning-300);--palettes-400: var(--palettes-warning-400);--palettes-500: var(--palettes-warning-500);--palettes-600: var(--palettes-warning-600);--palettes-700: var(--palettes-warning-700);--palettes-800: var(--palettes-warning-800);--palettes-900: var(--palettes-warning-900)}.bubbleIllustration:not(.mod-action){--components-bubbleIllustration-action-display: none}}lu-bubble-illustration{display:contents}\n"], dependencies: [{ kind: "pipe", type: LuSafeExternalSvgPipe, name: "luSafeExternalSvg" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
134
139
|
}
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.4", ngImport: i0, type: BubbleIllustrationComponent, decorators: [{
|
|
136
141
|
type: Component,
|
|
137
142
|
args: [{ selector: 'lu-bubble-illustration', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [LuSafeExternalSvgPipe], template: "<div\n\tclass=\"bubbleIllustration\"\n\t[class]=\"paletteClass()\"\n\t[class.mod-S]=\"size() === 'S'\"\n\t[class.mod-L]=\"size() === 'L'\"\n\t[class.mod-action]=\"action()\"\n\taria-hidden=\"true\"\n\t[innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"\n></div>\n", styles: ["@layer components{.bubbleIllustration{--components-bubbleIllustration-action-display: block;--components-bubbleIllustration-size: var(--pr-t-spacings-500);display:inline-block;inline-size:var(--components-bubbleIllustration-size);block-size:var(--components-bubbleIllustration-size)}.bubbleIllustration svg{display:block;inline-size:100%;block-size:100%}.bubbleIllustration-action{display:var(--components-bubbleIllustration-action-display)}}@layer mods{.bubbleIllustration.mod-S{--components-bubbleIllustration-size: var(--pr-t-spacings-400)}.bubbleIllustration.mod-L{--components-bubbleIllustration-size: var(--pr-t-spacings-600)}.bubbleIllustration.is-success{--palettes-text: var(--palettes-success-text);--palettes-0: var(--palettes-success-0);--palettes-25: var(--palettes-success-25);--palettes-50: var(--palettes-success-50);--palettes-100: var(--palettes-success-100);--palettes-200: var(--palettes-success-200);--palettes-300: var(--palettes-success-300);--palettes-400: var(--palettes-success-400);--palettes-500: var(--palettes-success-500);--palettes-600: var(--palettes-success-600);--palettes-700: var(--palettes-success-700);--palettes-800: var(--palettes-success-800);--palettes-900: var(--palettes-success-900)}.bubbleIllustration.is-critical{--palettes-text: var(--palettes-critical-text);--palettes-0: var(--palettes-critical-0);--palettes-25: var(--palettes-critical-25);--palettes-50: var(--palettes-critical-50);--palettes-100: var(--palettes-critical-100);--palettes-200: var(--palettes-critical-200);--palettes-300: var(--palettes-critical-300);--palettes-400: var(--palettes-critical-400);--palettes-500: var(--palettes-critical-500);--palettes-600: var(--palettes-critical-600);--palettes-700: var(--palettes-critical-700);--palettes-800: var(--palettes-critical-800);--palettes-900: var(--palettes-critical-900)}.bubbleIllustration.is-warning{--palettes-text: var(--palettes-warning-text);--palettes-0: var(--palettes-warning-0);--palettes-25: var(--palettes-warning-25);--palettes-50: var(--palettes-warning-50);--palettes-100: var(--palettes-warning-100);--palettes-200: var(--palettes-warning-200);--palettes-300: var(--palettes-warning-300);--palettes-400: var(--palettes-warning-400);--palettes-500: var(--palettes-warning-500);--palettes-600: var(--palettes-warning-600);--palettes-700: var(--palettes-warning-700);--palettes-800: var(--palettes-warning-800);--palettes-900: var(--palettes-warning-900)}.bubbleIllustration:not(.mod-action){--components-bubbleIllustration-action-display: none}}lu-bubble-illustration{display:contents}\n"] }]
|
|
138
143
|
}], propDecorators: { illustration: [{ type: i0.Input, args: [{ isSignal: true, alias: "illustration", required: true }] }], palette: [{ type: i0.Input, args: [{ isSignal: true, alias: "palette", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], action: [{ type: i0.Input, args: [{ isSignal: true, alias: "action", required: false }] }] } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-bubble-illustration.mjs","sources":["../../../packages/ng/bubble-illustration/bubble-illustration.ts","../../../packages/ng/bubble-illustration/bubble-illustration.type.ts","../../../packages/ng/bubble-illustration/bubble-illustration.component.ts","../../../packages/ng/bubble-illustration/bubble-illustration.component.html","../../../packages/ng/bubble-illustration/lucca-front-ng-bubble-illustration.ts"],"sourcesContent":["export const BUBBLE_ILLUSTRATION = [\n\t'moodAngry',\n\t'moodBored',\n\t'moodHappy',\n\t'moodJoyful',\n\t'moodMoody',\n\t'moodSad',\n\t'moodShoked',\n\t'moodSly',\n\t'moodSmirking',\n\t'moodSurprised',\n\t'absence',\n\t'anniversary',\n\t'awardRibbon',\n\t'banknote',\n\t'battery',\n\t'bell',\n\t'binders',\n\t'biscuit',\n\t'bookmark',\n\t'books',\n\t'bronzeMedal',\n\t'building',\n\t'bulb',\n\t'calculator',\n\t'calendar',\n\t'camera',\n\t'charts',\n\t'chat',\n\t'checkmark',\n\t'chemistry',\n\t'clipboard',\n\t'clock',\n\t'coffee',\n\t'cup',\n\t'diamond',\n\t'equity',\n\t'error',\n\t'export',\n\t'file',\n\t'fish',\n\t'folder',\n\t'gear',\n\t'gift',\n\t'goldMedal',\n\t'graduate',\n\t'growth',\n\t'hearth',\n\t'home',\n\t'hourglass',\n\t'import',\n\t'invoice',\n\t'jigsaw',\n\t'link',\n\t'lock',\n\t'magnifyingGlass',\n\t'mail',\n\t'map',\n\t'mapPin',\n\t'medical',\n\t'megaphone',\n\t'mix',\n\t'mobile',\n\t'multipleReceipts',\n\t'newbie',\n\t'newsFeed',\n\t'office',\n\t'outside',\n\t'paint',\n\t'paperplane',\n\t'party',\n\t'paymentCards',\n\t'payslip',\n\t'pen',\n\t'percent',\n\t'phone',\n\t'picture',\n\t'polaroid',\n\t'receipt',\n\t'recruit',\n\t'reload',\n\t'restaurant',\n\t'rocket',\n\t'save',\n\t'screwdriver',\n\t'security',\n\t'silverMedal',\n\t'sliders',\n\t'speed',\n\t'stopwatch',\n\t'subjects',\n\t'survey',\n\t'target',\n\t'tasklist',\n\t'temperature',\n\t'thumbtack',\n\t'thumbUp',\n\t'timer',\n\t'trash',\n\t'userID',\n\t'video',\n\t'warning',\n\t'widget',\n] as const;\n\nexport type BubbleIllustration = (typeof BUBBLE_ILLUSTRATION)[number];\n","/**\n * Available BubbleIllustrationComponent Types\n */\n\nexport const BUBBLE_ILLUSTRATION_SIZE = ['S', 'M', 'L'] as const;\nexport type BubbleIllustrationSize = (typeof BUBBLE_ILLUSTRATION_SIZE)[number];\n","import { booleanAttribute, ChangeDetectionStrategy, Component, computed, input, ViewEncapsulation } from '@angular/core';\nimport { DecorativePalette, Palette } from '@lucca-front/ng/core';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { BubbleIllustration } from './bubble-illustration';\nimport { BubbleIllustrationSize } from './bubble-illustration.type';\n\n@Component({\n\tselector: 'lu-bubble-illustration',\n\ttemplateUrl: './bubble-illustration.component.html',\n\tstyleUrl: './bubble-illustration.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [LuSafeExternalSvgPipe],\n})\nexport class BubbleIllustrationComponent {\n\treadonly domain = 'https://cdn.lucca.fr';\n\treadonly path = '/transverse/prisme/visuals/bubble-illustration/';\n\treadonly extension = '.svg';\n\n\treadonly illustration = input.required<BubbleIllustration | string>();\n\n\treadonly palette = input<Palette | DecorativePalette>('product');\n\n\treadonly size = input<BubbleIllustrationSize>('M');\n\n\treadonly action = input(false, { transform: booleanAttribute });\n\n\treadonly illustrationUrl = computed(() => {\n\t\tif (this.illustration().startsWith('https://') || this.illustration().startsWith('/')) {\n\t\t\treturn this.illustration();\n\t\t}\n\t\treturn `${this.domain}${this.path}${this.illustration()}${this.extension}`;\n\t});\n\n\treadonly paletteClass = computed(() => ({ [`palette-${this.palette()}`]: !!this.palette() }));\n}\n","<div\n\tclass=\"bubbleIllustration\"\n\t[class]=\"paletteClass()\"\n\t[class.mod-S]=\"size() === 'S'\"\n\t[class.mod-L]=\"size() === 'L'\"\n\t[class.mod-action]=\"action()\"\n\taria-hidden=\"true\"\n\t[innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"\n></div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAAO,MAAM,mBAAmB,GAAG;IAClC,WAAW;IACX,WAAW;IACX,WAAW;IACX,YAAY;IACZ,WAAW;IACX,SAAS;IACT,YAAY;IACZ,SAAS;IACT,cAAc;IACd,eAA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AiD;QACxD,IAAA,CAAA,SAAS,GAAG,MAAM;
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-bubble-illustration.mjs","sources":["../../../packages/ng/bubble-illustration/bubble-illustration.ts","../../../packages/ng/bubble-illustration/bubble-illustration.type.ts","../../../packages/ng/bubble-illustration/bubble-illustration.component.ts","../../../packages/ng/bubble-illustration/bubble-illustration.component.html","../../../packages/ng/bubble-illustration/lucca-front-ng-bubble-illustration.ts"],"sourcesContent":["export const BUBBLE_ILLUSTRATION = [\n\t'moodAngry',\n\t'moodBored',\n\t'moodHappy',\n\t'moodJoyful',\n\t'moodMoody',\n\t'moodSad',\n\t'moodShoked',\n\t'moodSly',\n\t'moodSmirking',\n\t'moodSurprised',\n\t'absence',\n\t'anniversary',\n\t'awardRibbon',\n\t'banknote',\n\t'battery',\n\t'bell',\n\t'binders',\n\t'biscuit',\n\t'bookmark',\n\t'books',\n\t'bronzeMedal',\n\t'building',\n\t'bulb',\n\t'calculator',\n\t'calendar',\n\t'camera',\n\t'charts',\n\t'chat',\n\t'checkmark',\n\t'chemistry',\n\t'clipboard',\n\t'clock',\n\t'coffee',\n\t'cup',\n\t'diamond',\n\t'equity',\n\t'error',\n\t'export',\n\t'file',\n\t'fish',\n\t'folder',\n\t'gear',\n\t'gift',\n\t'goldMedal',\n\t'graduate',\n\t'growth',\n\t'hearth',\n\t'home',\n\t'hourglass',\n\t'import',\n\t'invoice',\n\t'jigsaw',\n\t'link',\n\t'lock',\n\t'magnifyingGlass',\n\t'mail',\n\t'map',\n\t'mapPin',\n\t'medical',\n\t'megaphone',\n\t'mix',\n\t'mobile',\n\t'multipleReceipts',\n\t'newbie',\n\t'newsFeed',\n\t'office',\n\t'outside',\n\t'paint',\n\t'paperplane',\n\t'party',\n\t'paymentCards',\n\t'payslip',\n\t'pen',\n\t'percent',\n\t'phone',\n\t'picture',\n\t'polaroid',\n\t'receipt',\n\t'recruit',\n\t'reload',\n\t'restaurant',\n\t'rocket',\n\t'save',\n\t'screwdriver',\n\t'security',\n\t'silverMedal',\n\t'sliders',\n\t'speed',\n\t'stopwatch',\n\t'subjects',\n\t'survey',\n\t'target',\n\t'tasklist',\n\t'temperature',\n\t'thumbtack',\n\t'thumbUp',\n\t'timer',\n\t'trash',\n\t'userID',\n\t'video',\n\t'warning',\n\t'widget',\n] as const;\n\nexport type BubbleIllustration = (typeof BUBBLE_ILLUSTRATION)[number];\n","/**\n * Available BubbleIllustrationComponent Types\n */\n\nexport const BUBBLE_ILLUSTRATION_SIZE = ['S', 'M', 'L'] as const;\nexport type BubbleIllustrationSize = (typeof BUBBLE_ILLUSTRATION_SIZE)[number];\n","import { booleanAttribute, ChangeDetectionStrategy, Component, computed, input, ViewEncapsulation } from '@angular/core';\nimport { DecorativePalette, Palette } from '@lucca-front/ng/core';\nimport { LuSafeExternalSvgPipe } from '@lucca-front/ng/safe-content';\nimport { BubbleIllustration } from './bubble-illustration';\nimport { BubbleIllustrationSize } from './bubble-illustration.type';\n\n@Component({\n\tselector: 'lu-bubble-illustration',\n\ttemplateUrl: './bubble-illustration.component.html',\n\tstyleUrl: './bubble-illustration.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\timports: [LuSafeExternalSvgPipe],\n})\nexport class BubbleIllustrationComponent {\n\treadonly domain = 'https://cdn.lucca.fr';\n\treadonly path = '/transverse/prisme/visuals/bubble-illustration/';\n\treadonly extension = '.svg';\n\n\treadonly illustration = input.required<BubbleIllustration | string>();\n\n\treadonly palette = input<Palette | DecorativePalette>('product');\n\n\treadonly size = input<BubbleIllustrationSize>('M');\n\n\treadonly action = input(false, { transform: booleanAttribute });\n\n\treadonly illustrationUrl = computed(() => {\n\t\tif (this.illustration().startsWith('https://') || this.illustration().startsWith('/')) {\n\t\t\treturn this.illustration();\n\t\t}\n\t\treturn `${this.domain}${this.path}${this.illustration()}${this.extension}`;\n\t});\n\n\treadonly paletteClass = computed(() => ({ [`palette-${this.palette()}`]: !!this.palette() }));\n}\n","<div\n\tclass=\"bubbleIllustration\"\n\t[class]=\"paletteClass()\"\n\t[class.mod-S]=\"size() === 'S'\"\n\t[class.mod-L]=\"size() === 'L'\"\n\t[class.mod-action]=\"action()\"\n\taria-hidden=\"true\"\n\t[innerHtml]=\"illustrationUrl() | luSafeExternalSvg\"\n></div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAAO,MAAM,mBAAmB,GAAG;IAClC,WAAW;IACX,WAAW;IACX,WAAW;IACX,YAAY;IACZ,WAAW;IACX,SAAS;IACT,YAAY;IACZ,SAAS;IACT,cAAc;IACd,eAAe;IACf,SAAS;IACT,aAAa;IACb,aAAa;IACb,UAAU;IACV,SAAS;IACT,MAAM;IACN,SAAS;IACT,SAAS;IACT,UAAU;IACV,OAAO;IACP,aAAa;IACb,UAAU;IACV,MAAM;IACN,YAAY;IACZ,UAAU;IACV,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,WAAW;IACX,WAAW;IACX,WAAW;IACX,OAAO;IACP,QAAQ;IACR,KAAK;IACL,SAAS;IACT,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,MAAM;IACN,MAAM;IACN,QAAQ;IACR,MAAM;IACN,MAAM;IACN,WAAW;IACX,UAAU;IACV,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,WAAW;IACX,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,MAAM;IACN,MAAM;IACN,iBAAiB;IACjB,MAAM;IACN,KAAK;IACL,QAAQ;IACR,SAAS;IACT,WAAW;IACX,KAAK;IACL,QAAQ;IACR,kBAAkB;IAClB,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,SAAS;IACT,OAAO;IACP,YAAY;IACZ,OAAO;IACP,cAAc;IACd,SAAS;IACT,KAAK;IACL,SAAS;IACT,OAAO;IACP,SAAS;IACT,UAAU;IACV,SAAS;IACT,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,QAAQ;IACR,MAAM;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