@lluc_llull/ui-lib 0.33.10 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-asymmetric-media.mjs +85 -28
- package/fesm2022/lluc_llull-ui-lib-content-asymmetric-media.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-category-progress.mjs +81 -30
- package/fesm2022/lluc_llull-ui-lib-content-category-progress.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-columns-media-stacked.mjs +90 -34
- package/fesm2022/lluc_llull-ui-lib-content-columns-media-stacked.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-contact-minimal.mjs +109 -37
- package/fesm2022/lluc_llull-ui-lib-content-contact-minimal.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-content-document.mjs +58 -26
- package/fesm2022/lluc_llull-ui-lib-content-content-document.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-hero-section.mjs +139 -110
- package/fesm2022/lluc_llull-ui-lib-content-hero-section.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-media-intro.mjs +91 -34
- package/fesm2022/lluc_llull-ui-lib-content-media-intro.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-media-split.mjs +118 -76
- package/fesm2022/lluc_llull-ui-lib-content-media-split.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-mosaic-grid.mjs +99 -44
- package/fesm2022/lluc_llull-ui-lib-content-mosaic-grid.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-mosaic-parallax.mjs +109 -57
- package/fesm2022/lluc_llull-ui-lib-content-mosaic-parallax.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-section-intro.mjs +100 -37
- package/fesm2022/lluc_llull-ui-lib-content-section-intro.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-split-previewer.mjs +133 -61
- package/fesm2022/lluc_llull-ui-lib-content-split-previewer.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-split-showcase.mjs +99 -37
- package/fesm2022/lluc_llull-ui-lib-content-split-showcase.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content-stacked-rows.mjs +61 -29
- package/fesm2022/lluc_llull-ui-lib-content-stacked-rows.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-content.mjs +1286 -502
- package/fesm2022/lluc_llull-ui-lib-content.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-directives.mjs +383 -262
- package/fesm2022/lluc_llull-ui-lib-directives.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-effects.mjs +187 -150
- package/fesm2022/lluc_llull-ui-lib-effects.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-enums.mjs +8 -12
- package/fesm2022/lluc_llull-ui-lib-enums.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-feedback-404.mjs +97 -34
- package/fesm2022/lluc_llull-ui-lib-feedback-404.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-feedback.mjs +97 -34
- package/fesm2022/lluc_llull-ui-lib-feedback.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-footers-columns-footer.mjs +65 -27
- package/fesm2022/lluc_llull-ui-lib-footers-columns-footer.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-footers-legal-footer.mjs +74 -37
- package/fesm2022/lluc_llull-ui-lib-footers-legal-footer.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-footers-links-footer.mjs +59 -24
- package/fesm2022/lluc_llull-ui-lib-footers-links-footer.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-footers-social-footer.mjs +95 -32
- package/fesm2022/lluc_llull-ui-lib-footers-social-footer.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-footers-visual-footer.mjs +84 -45
- package/fesm2022/lluc_llull-ui-lib-footers-visual-footer.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-footers.mjs +354 -125
- package/fesm2022/lluc_llull-ui-lib-footers.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-headers-header-clear.mjs +153 -78
- package/fesm2022/lluc_llull-ui-lib-headers-header-clear.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-headers-header-mobile.mjs +153 -78
- package/fesm2022/lluc_llull-ui-lib-headers-header-mobile.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-headers.mjs +296 -142
- package/fesm2022/lluc_llull-ui-lib-headers.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-interfaces.mjs +0 -4
- package/fesm2022/lluc_llull-ui-lib-mapper.mjs +242 -264
- package/fesm2022/lluc_llull-ui-lib-mapper.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-modals.mjs +163 -65
- package/fesm2022/lluc_llull-ui-lib-modals.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-screen-sizer.mjs +106 -97
- package/fesm2022/lluc_llull-ui-lib-screen-sizer.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-shared.mjs +279 -148
- package/fesm2022/lluc_llull-ui-lib-shared.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-sliders.mjs +72 -52
- package/fesm2022/lluc_llull-ui-lib-sliders.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-theme.mjs +78 -80
- package/fesm2022/lluc_llull-ui-lib-theme.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib-utils.mjs +42 -64
- package/fesm2022/lluc_llull-ui-lib-utils.mjs.map +1 -1
- package/fesm2022/lluc_llull-ui-lib.mjs +42 -27
- package/fesm2022/lluc_llull-ui-lib.mjs.map +1 -1
- package/package.json +86 -85
- package/types/lluc_llull-ui-lib-content-asymmetric-media.d.ts +21 -0
- package/types/lluc_llull-ui-lib-content-category-progress.d.ts +34 -0
- package/types/lluc_llull-ui-lib-content-columns-media-stacked.d.ts +33 -0
- package/types/lluc_llull-ui-lib-content-contact-minimal.d.ts +39 -0
- package/types/lluc_llull-ui-lib-content-content-document.d.ts +24 -0
- package/types/lluc_llull-ui-lib-content-hero-section.d.ts +62 -0
- package/types/lluc_llull-ui-lib-content-media-intro.d.ts +33 -0
- package/types/lluc_llull-ui-lib-content-media-split.d.ts +36 -0
- package/types/lluc_llull-ui-lib-content-mosaic-grid.d.ts +27 -0
- package/types/lluc_llull-ui-lib-content-mosaic-parallax.d.ts +35 -0
- package/types/lluc_llull-ui-lib-content-section-intro.d.ts +33 -0
- package/types/lluc_llull-ui-lib-content-split-previewer.d.ts +47 -0
- package/types/lluc_llull-ui-lib-content-split-showcase.d.ts +43 -0
- package/types/lluc_llull-ui-lib-content-stacked-rows.d.ts +30 -0
- package/types/lluc_llull-ui-lib-content.d.ts +471 -0
- package/types/lluc_llull-ui-lib-directives.d.ts +93 -0
- package/types/lluc_llull-ui-lib-effects.d.ts +50 -0
- package/types/lluc_llull-ui-lib-enums.d.ts +7 -0
- package/types/lluc_llull-ui-lib-feedback-404.d.ts +33 -0
- package/types/lluc_llull-ui-lib-feedback.d.ts +33 -0
- package/types/lluc_llull-ui-lib-footers-columns-footer.d.ts +30 -0
- package/types/lluc_llull-ui-lib-footers-legal-footer.d.ts +40 -0
- package/types/lluc_llull-ui-lib-footers-links-footer.d.ts +15 -0
- package/types/lluc_llull-ui-lib-footers-social-footer.d.ts +27 -0
- package/types/lluc_llull-ui-lib-footers-visual-footer.d.ts +57 -0
- package/types/lluc_llull-ui-lib-footers.d.ts +161 -0
- package/types/lluc_llull-ui-lib-headers-header-clear.d.ts +68 -0
- package/types/lluc_llull-ui-lib-headers-header-mobile.d.ts +68 -0
- package/types/lluc_llull-ui-lib-headers.d.ts +132 -0
- package/types/lluc_llull-ui-lib-interfaces.d.ts +92 -0
- package/types/lluc_llull-ui-lib-mapper.d.ts +40 -0
- package/types/lluc_llull-ui-lib-modals.d.ts +47 -0
- package/types/lluc_llull-ui-lib-screen-sizer.d.ts +34 -0
- package/types/lluc_llull-ui-lib-shared.d.ts +99 -0
- package/types/lluc_llull-ui-lib-sliders.d.ts +17 -0
- package/types/lluc_llull-ui-lib-theme.d.ts +16 -0
- package/{utils/utils.d.ts → types/lluc_llull-ui-lib-utils.d.ts} +2 -2
- package/types/lluc_llull-ui-lib.d.ts +5 -0
- package/content/asymmetric-media/asymmetric-media.component.d.ts +0 -8
- package/content/asymmetric-media/asymmetric-media.interface.d.ts +0 -5
- package/content/asymmetric-media/index.d.ts +0 -2
- package/content/category-progress/category-progress.component.d.ts +0 -16
- package/content/category-progress/category-progress.interface.d.ts +0 -6
- package/content/category-progress/index.d.ts +0 -2
- package/content/columns-media-stacked/columns-media-stacked.component.d.ts +0 -10
- package/content/columns-media-stacked/columns-media-stacked.interface.d.ts +0 -7
- package/content/columns-media-stacked/index.d.ts +0 -2
- package/content/contact-minimal/contact-minimal.component.d.ts +0 -11
- package/content/contact-minimal/contact-minimal.interface.d.ts +0 -8
- package/content/contact-minimal/index.d.ts +0 -2
- package/content/content-document/content-document.component.d.ts +0 -11
- package/content/content-document/content-document.interface.d.ts +0 -5
- package/content/content-document/index.d.ts +0 -2
- package/content/hero-section/hero-section.component.d.ts +0 -19
- package/content/hero-section/hero-section.interface.d.ts +0 -11
- package/content/hero-section/hero-section.stories.d.ts +0 -7
- package/content/hero-section/index.d.ts +0 -3
- package/content/index.d.ts +0 -14
- package/content/media-intro/index.d.ts +0 -2
- package/content/media-intro/media-intro.component.d.ts +0 -10
- package/content/media-intro/media-intro.interface.d.ts +0 -7
- package/content/media-split/index.d.ts +0 -2
- package/content/media-split/media-split.component.d.ts +0 -18
- package/content/media-split/media-split.interface.d.ts +0 -6
- package/content/mosaic-grid/index.d.ts +0 -2
- package/content/mosaic-grid/mosaic-grid.component.d.ts +0 -14
- package/content/mosaic-grid/mosaic-grid.interface.d.ts +0 -5
- package/content/mosaic-parallax/index.d.ts +0 -2
- package/content/mosaic-parallax/mosaic-parallax.component.d.ts +0 -17
- package/content/mosaic-parallax/mosaic-parallax.interface.d.ts +0 -6
- package/content/section-intro/index.d.ts +0 -2
- package/content/section-intro/section-intro.component.d.ts +0 -11
- package/content/section-intro/section-intro.interface.d.ts +0 -2
- package/content/split-previewer/index.d.ts +0 -2
- package/content/split-previewer/split-previewer.component.d.ts +0 -24
- package/content/split-previewer/split-previewer.interface.d.ts +0 -8
- package/content/split-showcase/index.d.ts +0 -2
- package/content/split-showcase/split-showcase.component.d.ts +0 -15
- package/content/split-showcase/split-showcase.interface.d.ts +0 -9
- package/content/stacked-rows/index.d.ts +0 -2
- package/content/stacked-rows/stacked-rows.component.d.ts +0 -12
- package/content/stacked-rows/stacked-rows.interface.d.ts +0 -6
- package/directives/header-scroll.directive.d.ts +0 -8
- package/directives/highlight.directive.d.ts +0 -14
- package/directives/index.d.ts +0 -4
- package/directives/link-type.directive.d.ts +0 -26
- package/directives/scroll-reveal.directive.d.ts +0 -15
- package/effects/dynamic-background/dynamic-background.component.d.ts +0 -27
- package/effects/dynamic-background/effects/dynamic-effect.interface.d.ts +0 -6
- package/effects/dynamic-background/effects/effect-registry.d.ts +0 -3
- package/effects/dynamic-background/effects/sphere-deform/sphere-deform.effect.d.ts +0 -13
- package/effects/dynamic-background/index.d.ts +0 -1
- package/effects/index.d.ts +0 -1
- package/enums/index.d.ts +0 -1
- package/enums/link-type.enum.d.ts +0 -7
- package/feedback/404/404.component.d.ts +0 -10
- package/feedback/404/404.inteface.d.ts +0 -7
- package/feedback/404/index.d.ts +0 -2
- package/feedback/index.d.ts +0 -1
- package/fesm2022/lluc_llull-ui-lib-interfaces.mjs.map +0 -1
- package/footers/columns-footer/columns-footer.component.d.ts +0 -17
- package/footers/columns-footer/columns-footer.interface.d.ts +0 -5
- package/footers/columns-footer/index.d.ts +0 -2
- package/footers/index.d.ts +0 -5
- package/footers/legal-footer/index.d.ts +0 -2
- package/footers/legal-footer/legal-footer.component.d.ts +0 -12
- package/footers/legal-footer/legal-footer.interface.d.ts +0 -9
- package/footers/links-footer/index.d.ts +0 -2
- package/footers/links-footer/links-footer.component.d.ts +0 -7
- package/footers/links-footer/links-footer.interface.d.ts +0 -4
- package/footers/social-footer/index.d.ts +0 -2
- package/footers/social-footer/social-footer.component.d.ts +0 -9
- package/footers/social-footer/social-footer.interface.d.ts +0 -6
- package/footers/visual-footer/index.d.ts +0 -2
- package/footers/visual-footer/visual-footer.component.d.ts +0 -14
- package/footers/visual-footer/visual-footer.interface.d.ts +0 -11
- package/headers/header-clear/header-clear.component.d.ts +0 -28
- package/headers/header-clear/header-clear.interface.d.ts +0 -9
- package/headers/header-clear/index.d.ts +0 -2
- package/headers/header-mobile/header-mobile.component.d.ts +0 -28
- package/headers/header-mobile/header-mobile.interface.d.ts +0 -9
- package/headers/header-mobile/index.d.ts +0 -2
- package/headers/index.d.ts +0 -2
- package/index.d.ts +0 -5
- package/interfaces/index.d.ts +0 -8
- package/interfaces/page-config.interface.d.ts +0 -22
- package/interfaces/site-config.interface.d.ts +0 -21
- package/interfaces/ui-lib-address.interface.d.ts +0 -7
- package/interfaces/ui-lib-button.interface.d.ts +0 -7
- package/interfaces/ui-lib-image.interface.d.ts +0 -10
- package/interfaces/ui-lib-lang-item.interface.d.ts +0 -5
- package/interfaces/ui-lib-nav-items.interface.d.ts +0 -17
- package/interfaces/ui-lib-texts.interface.d.ts +0 -6
- package/lib/ui-lib.component.d.ts +0 -5
- package/mapper/cdn.token.d.ts +0 -2
- package/mapper/cloudinary.token.d.ts +0 -2
- package/mapper/component-mappers/404.mapper.d.ts +0 -2
- package/mapper/component-mappers/asymmetric-media.mapper.d.ts +0 -2
- package/mapper/component-mappers/category-progress.mapper.d.ts +0 -2
- package/mapper/component-mappers/columns-footer.mapper.d.ts +0 -2
- package/mapper/component-mappers/columns-media-stacked.mapper.d.ts +0 -2
- package/mapper/component-mappers/contact-minimal.mapper.d.ts +0 -2
- package/mapper/component-mappers/content-document.mapper.d.ts +0 -2
- package/mapper/component-mappers/header-clear.mapper.d.ts +0 -2
- package/mapper/component-mappers/hero-section.mapper.d.ts +0 -2
- package/mapper/component-mappers/index.d.ts +0 -24
- package/mapper/component-mappers/lang-modal.mapper.d.ts +0 -2
- package/mapper/component-mappers/legal-footer.mapper.d.ts +0 -2
- package/mapper/component-mappers/links-footer.mapper.d.ts +0 -2
- package/mapper/component-mappers/media-intro.mapper.d.ts +0 -2
- package/mapper/component-mappers/media-split.mapper.d.ts +0 -2
- package/mapper/component-mappers/mosaic-grid.mapper.d.ts +0 -2
- package/mapper/component-mappers/mosaic-parallax.mapper.d.ts +0 -2
- package/mapper/component-mappers/nav-modal.mapper.d.ts +0 -3
- package/mapper/component-mappers/section-intro.mapper.d.ts +0 -2
- package/mapper/component-mappers/social-footer.mapper.d.ts +0 -2
- package/mapper/component-mappers/split-previewer.mapper.d.ts +0 -2
- package/mapper/component-mappers/split-showcase.mapper.d.ts +0 -2
- package/mapper/component-mappers/stacked-rows.mapper.d.ts +0 -2
- package/mapper/component-mappers/types.d.ts +0 -1
- package/mapper/component-mappers/visual-footer.mapper.d.ts +0 -2
- package/mapper/index.d.ts +0 -4
- package/mapper/mapper.service.d.ts +0 -10
- package/modals/index.d.ts +0 -2
- package/modals/lang-modal/index.d.ts +0 -2
- package/modals/lang-modal/lang-modal.component.d.ts +0 -18
- package/modals/lang-modal/lang-modal.interface.d.ts +0 -2
- package/modals/nav-modal/index.d.ts +0 -2
- package/modals/nav-modal/nav-modal.component.d.ts +0 -11
- package/modals/nav-modal/nav-modal.interface.d.ts +0 -5
- package/public-api.d.ts +0 -1
- package/screen-sizer/index.d.ts +0 -1
- package/screen-sizer/screen-sizer.service.d.ts +0 -34
- package/shared/index.d.ts +0 -2
- package/shared/ui-icon/index.d.ts +0 -3
- package/shared/ui-icon/ui-icon.component.d.ts +0 -15
- package/shared/ui-icon/ui-icon.interface.d.ts +0 -5
- package/shared/ui-icon/ui-icon.mock.d.ts +0 -8
- package/shared/ui-image/index.d.ts +0 -1
- package/shared/ui-image/ui-image.component.d.ts +0 -21
- package/sliders/index.d.ts +0 -1
- package/sliders/swiper.directive.d.ts +0 -12
- package/theme/index.d.ts +0 -1
- package/theme/theme.service.d.ts +0 -16
- package/utils/index.d.ts +0 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ After building your library with `ng build ui-lib`, go to the dist folder `cd di
|
|
|
17
17
|
|
|
18
18
|
## Running unit tests
|
|
19
19
|
|
|
20
|
-
Run `ng test ui-lib` to execute the unit tests via
|
|
20
|
+
Run `ng test ui-lib` to execute the unit tests via Vitest.
|
|
21
21
|
|
|
22
22
|
## Further help
|
|
23
23
|
|
|
@@ -1,29 +1,86 @@
|
|
|
1
|
-
import { CommonModule } from
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
import { ScrollRevealDirective } from
|
|
5
|
-
import { UiImageComponent } from
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
import { CommonModule } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { ChangeDetectionStrategy, Component, Input } from "@angular/core";
|
|
4
|
+
import { ScrollRevealDirective } from "@lluc_llull/ui-lib/directives";
|
|
5
|
+
import { UiImageComponent } from "@lluc_llull/ui-lib/shared";
|
|
6
|
+
var AsymmetricMediaComponent = class AsymmetricMediaComponent {
|
|
7
|
+
media;
|
|
8
|
+
direction = "right";
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
10
|
+
minVersion: "12.0.0",
|
|
11
|
+
version: "22.2.4",
|
|
12
|
+
ngImport: i0,
|
|
13
|
+
type: AsymmetricMediaComponent,
|
|
14
|
+
deps: [],
|
|
15
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
16
|
+
});
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
18
|
+
minVersion: "17.0.0",
|
|
19
|
+
version: "22.2.4",
|
|
20
|
+
type: AsymmetricMediaComponent,
|
|
21
|
+
isStandalone: true,
|
|
22
|
+
selector: "lib-asymmetric-media",
|
|
23
|
+
inputs: {
|
|
24
|
+
media: "media",
|
|
25
|
+
direction: "direction"
|
|
26
|
+
},
|
|
27
|
+
host: { styleAttribute: "display: contents" },
|
|
28
|
+
ngImport: i0,
|
|
29
|
+
template: "<div \n class=\"asymmetric-media main-grid col-span-full md:col-span-12 md:col-start-1\" \n scrollReveal\n>\n @if(media && media.length > 0) {\n <div class=\"asymmetric-media__items main-grid col-span-full md:col-span-12 md:col-start-1\">\n @if(direction === 'left') {\n <div class=\"asymmetric-media__items--small col-span-full md:col-span-4 md:col-start-1\">\n @if (media[0]!.publicId) {\n <ui-image [publicId]=\"media[0]!.publicId!\" [eager]=\"true\" class=\"asymmetric-media-img\"></ui-image>\n } @else {\n <img [src]=\"media[0]!.url\" [alt]=\"media[0]!.alt\" class=\"asymmetric-media-img\" loading=\"eager\" />\n }\n </div>\n <div class=\"asymmetric-media__items--big col-span-full md:col-span-8 md:col-start-5\">\n @if (media[1]!.publicId) {\n <ui-image [publicId]=\"media[1]!.publicId!\" [eager]=\"true\" class=\"asymmetric-media-img\"></ui-image>\n } @else {\n <img [src]=\"media[1]!.url\" [alt]=\"media[1]!.alt\" class=\"asymmetric-media-img\" loading=\"eager\" />\n }\n </div>\n }\n @if(direction === 'right') {\n <div class=\"asymmetric-media__items--small col-span-full md:col-span-8 md:col-start-1\">\n @if (media[0]!.publicId) {\n <ui-image [publicId]=\"media[0]!.publicId!\" [eager]=\"true\" class=\"asymmetric-media-img\"></ui-image>\n } @else {\n <img [src]=\"media[0]!.url\" [alt]=\"media[0]!.alt\" class=\"asymmetric-media-img\" loading=\"eager\" />\n }\n </div>\n <div class=\"asymmetric-media__items--big col-span-full md:col-span-4 md:col-start-9\">\n @if (media[1]!.publicId) {\n <ui-image [publicId]=\"media[1]!.publicId!\" [eager]=\"true\" class=\"asymmetric-media-img\"></ui-image>\n } @else {\n <img [src]=\"media[1]!.url\" [alt]=\"media[1]!.alt\" class=\"asymmetric-media-img\" loading=\"eager\" />\n }\n </div>\n }\n </div>\n }\n</div>\n",
|
|
30
|
+
styles: [".asymmetric-media{background-color:var(--content-bg-dark);margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%);padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%);padding-block:10rem 1rem}.asymmetric-media__items{align-items:center}\n"],
|
|
31
|
+
dependencies: [
|
|
32
|
+
{
|
|
33
|
+
kind: "ngmodule",
|
|
34
|
+
type: CommonModule
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
kind: "component",
|
|
38
|
+
type: UiImageComponent,
|
|
39
|
+
selector: "ui-image",
|
|
40
|
+
inputs: [
|
|
41
|
+
"publicId",
|
|
42
|
+
"cloudName",
|
|
43
|
+
"transformations",
|
|
44
|
+
"eager",
|
|
45
|
+
"width",
|
|
46
|
+
"height"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
kind: "directive",
|
|
51
|
+
type: ScrollRevealDirective,
|
|
52
|
+
selector: "[scrollReveal]",
|
|
53
|
+
inputs: ["distance", "duration"]
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
60
|
+
minVersion: "12.0.0",
|
|
61
|
+
version: "22.2.4",
|
|
62
|
+
ngImport: i0,
|
|
63
|
+
type: AsymmetricMediaComponent,
|
|
64
|
+
decorators: [{
|
|
65
|
+
type: Component,
|
|
66
|
+
args: [{
|
|
67
|
+
selector: "lib-asymmetric-media",
|
|
68
|
+
imports: [
|
|
69
|
+
CommonModule,
|
|
70
|
+
UiImageComponent,
|
|
71
|
+
ScrollRevealDirective
|
|
72
|
+
],
|
|
73
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
74
|
+
host: { style: "display: contents" },
|
|
75
|
+
template: "<div \n class=\"asymmetric-media main-grid col-span-full md:col-span-12 md:col-start-1\" \n scrollReveal\n>\n @if(media && media.length > 0) {\n <div class=\"asymmetric-media__items main-grid col-span-full md:col-span-12 md:col-start-1\">\n @if(direction === 'left') {\n <div class=\"asymmetric-media__items--small col-span-full md:col-span-4 md:col-start-1\">\n @if (media[0]!.publicId) {\n <ui-image [publicId]=\"media[0]!.publicId!\" [eager]=\"true\" class=\"asymmetric-media-img\"></ui-image>\n } @else {\n <img [src]=\"media[0]!.url\" [alt]=\"media[0]!.alt\" class=\"asymmetric-media-img\" loading=\"eager\" />\n }\n </div>\n <div class=\"asymmetric-media__items--big col-span-full md:col-span-8 md:col-start-5\">\n @if (media[1]!.publicId) {\n <ui-image [publicId]=\"media[1]!.publicId!\" [eager]=\"true\" class=\"asymmetric-media-img\"></ui-image>\n } @else {\n <img [src]=\"media[1]!.url\" [alt]=\"media[1]!.alt\" class=\"asymmetric-media-img\" loading=\"eager\" />\n }\n </div>\n }\n @if(direction === 'right') {\n <div class=\"asymmetric-media__items--small col-span-full md:col-span-8 md:col-start-1\">\n @if (media[0]!.publicId) {\n <ui-image [publicId]=\"media[0]!.publicId!\" [eager]=\"true\" class=\"asymmetric-media-img\"></ui-image>\n } @else {\n <img [src]=\"media[0]!.url\" [alt]=\"media[0]!.alt\" class=\"asymmetric-media-img\" loading=\"eager\" />\n }\n </div>\n <div class=\"asymmetric-media__items--big col-span-full md:col-span-4 md:col-start-9\">\n @if (media[1]!.publicId) {\n <ui-image [publicId]=\"media[1]!.publicId!\" [eager]=\"true\" class=\"asymmetric-media-img\"></ui-image>\n } @else {\n <img [src]=\"media[1]!.url\" [alt]=\"media[1]!.alt\" class=\"asymmetric-media-img\" loading=\"eager\" />\n }\n </div>\n }\n </div>\n }\n</div>\n",
|
|
76
|
+
styles: [".asymmetric-media{background-color:var(--content-bg-dark);margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%);padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%);padding-block:10rem 1rem}.asymmetric-media__items{align-items:center}\n"]
|
|
77
|
+
}]
|
|
78
|
+
}],
|
|
79
|
+
propDecorators: {
|
|
80
|
+
media: [{ type: Input }],
|
|
81
|
+
direction: [{ type: Input }]
|
|
82
|
+
}
|
|
83
|
+
});
|
|
28
84
|
export { AsymmetricMediaComponent };
|
|
29
|
-
|
|
85
|
+
|
|
86
|
+
//# sourceMappingURL=lluc_llull-ui-lib-content-asymmetric-media.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lluc_llull-ui-lib-content-asymmetric-media.mjs","sources":["../../../projects/ui-lib/content/asymmetric-media/asymmetric-media.component.ts","../../../projects/ui-lib/content/asymmetric-media/asymmetric-media.component.html"
|
|
1
|
+
{"version":3,"file":"lluc_llull-ui-lib-content-asymmetric-media.mjs","names":[],"sources":["../../../projects/ui-lib/content/asymmetric-media/asymmetric-media.component.ts","../../../projects/ui-lib/content/asymmetric-media/asymmetric-media.component.html"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { ScrollRevealDirective } from '@lluc_llull/ui-lib/directives';\nimport { UiLibImageI } from '@lluc_llull/ui-lib/interfaces';\nimport { UiImageComponent } from '@lluc_llull/ui-lib/shared';\n\n@Component({\n selector: 'lib-asymmetric-media',\n imports: [CommonModule, UiImageComponent, ScrollRevealDirective],\n templateUrl: './asymmetric-media.component.html',\n styleUrl: './asymmetric-media.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n style: 'display: contents',\n },\n})\nexport class AsymmetricMediaComponent {\n @Input() media?: UiLibImageI[];\n @Input() direction: 'left' | 'right' = 'right';\n}\n","<div \n class=\"asymmetric-media main-grid col-span-full md:col-span-12 md:col-start-1\" \n scrollReveal\n>\n @if(media && media.length > 0) {\n <div class=\"asymmetric-media__items main-grid col-span-full md:col-span-12 md:col-start-1\">\n @if(direction === 'left') {\n <div class=\"asymmetric-media__items--small col-span-full md:col-span-4 md:col-start-1\">\n @if (media[0]!.publicId) {\n <ui-image [publicId]=\"media[0]!.publicId!\" [eager]=\"true\" class=\"asymmetric-media-img\"></ui-image>\n } @else {\n <img [src]=\"media[0]!.url\" [alt]=\"media[0]!.alt\" class=\"asymmetric-media-img\" loading=\"eager\" />\n }\n </div>\n <div class=\"asymmetric-media__items--big col-span-full md:col-span-8 md:col-start-5\">\n @if (media[1]!.publicId) {\n <ui-image [publicId]=\"media[1]!.publicId!\" [eager]=\"true\" class=\"asymmetric-media-img\"></ui-image>\n } @else {\n <img [src]=\"media[1]!.url\" [alt]=\"media[1]!.alt\" class=\"asymmetric-media-img\" loading=\"eager\" />\n }\n </div>\n }\n @if(direction === 'right') {\n <div class=\"asymmetric-media__items--small col-span-full md:col-span-8 md:col-start-1\">\n @if (media[0]!.publicId) {\n <ui-image [publicId]=\"media[0]!.publicId!\" [eager]=\"true\" class=\"asymmetric-media-img\"></ui-image>\n } @else {\n <img [src]=\"media[0]!.url\" [alt]=\"media[0]!.alt\" class=\"asymmetric-media-img\" loading=\"eager\" />\n }\n </div>\n <div class=\"asymmetric-media__items--big col-span-full md:col-span-4 md:col-start-9\">\n @if (media[1]!.publicId) {\n <ui-image [publicId]=\"media[1]!.publicId!\" [eager]=\"true\" class=\"asymmetric-media-img\"></ui-image>\n } @else {\n <img [src]=\"media[1]!.url\" [alt]=\"media[1]!.alt\" class=\"asymmetric-media-img\" loading=\"eager\" />\n }\n </div>\n }\n </div>\n }\n</div>\n"],"mappings":";;;;;AAgBA,IAAa,2BAAb,MAAa,yBAAwB;CAC1B;CACA,YAA8B;CAF5B,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAwB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAxB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAwB,cAAA;EAAA,UAAA;EAAA,QAAA;GAAA,OAAA;GAAA,WAAA;EAAA;EAAA,MAAA,EAAA,gBAAA,oBAAA;EAAA,UAAA;EAAA,UChBrC;EAyCA,QAAA,CAAA,6PAAA;EAAA,cAAA;GAAA;IAAA,MAAA;IAAA,MDjCY;GAAY;GAAA;IAAA,MAAA;IAAA,MAAE;IAAgB,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAqB,UAAA;IAAA,QAAA,CAAA,YAAA,UAAA;GAAA;EAAA;EAAA,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAQpD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAwB,YAAA,CAAA;EAVpC,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAsB,SACvB;IAAC;IAAc;IAAkB;GAAqB;GAAC,iBAG/C,wBAAwB;GAAM,MACzC,EACF,OAAO,oBACV;GAAA,UAAA;GAAA,QAAA,CAAA,6PAAA;EAAA,CAAA;;;E,UAGA,MAAA,M;E,cACA,MAAA,M"}
|
|
@@ -1,31 +1,82 @@
|
|
|
1
|
-
import { CommonModule } from
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
import { HighlightDirective, ScrollRevealDirective } from
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
import { CommonModule } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { ChangeDetectionStrategy, Component, Input } from "@angular/core";
|
|
4
|
+
import { HighlightDirective, ScrollRevealDirective } from "@lluc_llull/ui-lib/directives";
|
|
5
|
+
var CategoryProgressComponent = class CategoryProgressComponent {
|
|
6
|
+
pretitle;
|
|
7
|
+
title;
|
|
8
|
+
categories;
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
10
|
+
minVersion: "12.0.0",
|
|
11
|
+
version: "22.2.4",
|
|
12
|
+
ngImport: i0,
|
|
13
|
+
type: CategoryProgressComponent,
|
|
14
|
+
deps: [],
|
|
15
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
16
|
+
});
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
18
|
+
minVersion: "17.0.0",
|
|
19
|
+
version: "22.2.4",
|
|
20
|
+
type: CategoryProgressComponent,
|
|
21
|
+
isStandalone: true,
|
|
22
|
+
selector: "lib-category-progress",
|
|
23
|
+
inputs: {
|
|
24
|
+
pretitle: "pretitle",
|
|
25
|
+
title: "title",
|
|
26
|
+
categories: "categories"
|
|
27
|
+
},
|
|
28
|
+
host: { styleAttribute: "display: contents" },
|
|
29
|
+
ngImport: i0,
|
|
30
|
+
template: "<div class=\"category-progress col-span-full md:col-span-12 md:col-start-1\" scrollReveal>\n @if (pretitle) {\n <h3 class=\"pretitle\">{{ pretitle }}</h3>\n }\n @if (title) {\n <h2 class=\"title\">{{ title }}</h2>\n }\n <div class=\"progress-grid\">\n @for (category of categories; track $index) {\n <div class=\"category\">\n <h3 class=\"subtitle\" [highlight]=\"'#FFFFFF'\">{{ category.title }}</h3>\n\n @for (item of category.items; track $index) {\n <div class=\"item\">\n <div class=\"item-info\">\n <span class=\"label\">{{ item.label }}</span>\n <span class=\"value\">{{ item.value }}%</span>\n </div>\n\n <div class=\"bar\">\n <div class=\"fill\" [style.width.%]=\"item.value\"></div>\n </div>\n </div>\n }\n </div>\n }\n </div>\n</div>\n",
|
|
31
|
+
styles: [".category-progress{text-align:start;align-items:start}.title{text-transform:uppercase}.progress-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.category{display:flex;flex-direction:column;gap:1.5rem}.category-title{font-weight:600;font-size:1.1rem}.subtitle{font-size:1.8rem;width:fit-content}.item{margin-bottom:0rem}.item .item-info{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.5rem}.item .label,.item .value{font-size:1.3rem;margin-bottom:0;display:inline-block}.item .bar{background-color:var(--progress-bg);height:2px;border-radius:3px;overflow:hidden}.item .bar .fill{background-color:var(--progress-color);height:100%;width:0;transition:width .3s ease}\n"],
|
|
32
|
+
dependencies: [
|
|
33
|
+
{
|
|
34
|
+
kind: "ngmodule",
|
|
35
|
+
type: CommonModule
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
kind: "directive",
|
|
39
|
+
type: HighlightDirective,
|
|
40
|
+
selector: "[highlight]",
|
|
41
|
+
inputs: ["highlight", "highlightThickness"]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
kind: "directive",
|
|
45
|
+
type: ScrollRevealDirective,
|
|
46
|
+
selector: "[scrollReveal]",
|
|
47
|
+
inputs: ["distance", "duration"]
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
54
|
+
minVersion: "12.0.0",
|
|
55
|
+
version: "22.2.4",
|
|
56
|
+
ngImport: i0,
|
|
57
|
+
type: CategoryProgressComponent,
|
|
58
|
+
decorators: [{
|
|
59
|
+
type: Component,
|
|
60
|
+
args: [{
|
|
61
|
+
selector: "lib-category-progress",
|
|
62
|
+
standalone: true,
|
|
63
|
+
imports: [
|
|
64
|
+
CommonModule,
|
|
65
|
+
HighlightDirective,
|
|
66
|
+
ScrollRevealDirective
|
|
67
|
+
],
|
|
68
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
69
|
+
host: { style: "display: contents" },
|
|
70
|
+
template: "<div class=\"category-progress col-span-full md:col-span-12 md:col-start-1\" scrollReveal>\n @if (pretitle) {\n <h3 class=\"pretitle\">{{ pretitle }}</h3>\n }\n @if (title) {\n <h2 class=\"title\">{{ title }}</h2>\n }\n <div class=\"progress-grid\">\n @for (category of categories; track $index) {\n <div class=\"category\">\n <h3 class=\"subtitle\" [highlight]=\"'#FFFFFF'\">{{ category.title }}</h3>\n\n @for (item of category.items; track $index) {\n <div class=\"item\">\n <div class=\"item-info\">\n <span class=\"label\">{{ item.label }}</span>\n <span class=\"value\">{{ item.value }}%</span>\n </div>\n\n <div class=\"bar\">\n <div class=\"fill\" [style.width.%]=\"item.value\"></div>\n </div>\n </div>\n }\n </div>\n }\n </div>\n</div>\n",
|
|
71
|
+
styles: [".category-progress{text-align:start;align-items:start}.title{text-transform:uppercase}.progress-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.category{display:flex;flex-direction:column;gap:1.5rem}.category-title{font-weight:600;font-size:1.1rem}.subtitle{font-size:1.8rem;width:fit-content}.item{margin-bottom:0rem}.item .item-info{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.5rem}.item .label,.item .value{font-size:1.3rem;margin-bottom:0;display:inline-block}.item .bar{background-color:var(--progress-bg);height:2px;border-radius:3px;overflow:hidden}.item .bar .fill{background-color:var(--progress-color);height:100%;width:0;transition:width .3s ease}\n"]
|
|
72
|
+
}]
|
|
73
|
+
}],
|
|
74
|
+
propDecorators: {
|
|
75
|
+
pretitle: [{ type: Input }],
|
|
76
|
+
title: [{ type: Input }],
|
|
77
|
+
categories: [{ type: Input }]
|
|
78
|
+
}
|
|
79
|
+
});
|
|
30
80
|
export { CategoryProgressComponent };
|
|
31
|
-
|
|
81
|
+
|
|
82
|
+
//# sourceMappingURL=lluc_llull-ui-lib-content-category-progress.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lluc_llull-ui-lib-content-category-progress.mjs","sources":["../../../projects/ui-lib/content/category-progress/category-progress.component.ts","../../../projects/ui-lib/content/category-progress/category-progress.component.html"
|
|
1
|
+
{"version":3,"file":"lluc_llull-ui-lib-content-category-progress.mjs","names":[],"sources":["../../../projects/ui-lib/content/category-progress/category-progress.component.ts","../../../projects/ui-lib/content/category-progress/category-progress.component.html"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { HighlightDirective, ScrollRevealDirective } from '@lluc_llull/ui-lib/directives';\n\n@Component({\n selector: 'lib-category-progress',\n standalone: true,\n imports: [CommonModule, HighlightDirective, ScrollRevealDirective],\n templateUrl: './category-progress.component.html',\n styleUrl: './category-progress.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n style: 'display: contents',\n },\n})\nexport class CategoryProgressComponent {\n @Input() pretitle?: string;\n @Input() title?: string;\n @Input() categories?: ProgressCategoryI[];\n}\n\nexport interface ProgressItemI {\n label: string;\n value: number;\n}\n\nexport interface ProgressCategoryI {\n title: string;\n items: ProgressItemI[];\n}\n","<div class=\"category-progress col-span-full md:col-span-12 md:col-start-1\" scrollReveal>\n @if (pretitle) {\n <h3 class=\"pretitle\">{{ pretitle }}</h3>\n }\n @if (title) {\n <h2 class=\"title\">{{ title }}</h2>\n }\n <div class=\"progress-grid\">\n @for (category of categories; track $index) {\n <div class=\"category\">\n <h3 class=\"subtitle\" [highlight]=\"'#FFFFFF'\">{{ category.title }}</h3>\n\n @for (item of category.items; track $index) {\n <div class=\"item\">\n <div class=\"item-info\">\n <span class=\"label\">{{ item.label }}</span>\n <span class=\"value\">{{ item.value }}%</span>\n </div>\n\n <div class=\"bar\">\n <div class=\"fill\" [style.width.%]=\"item.value\"></div>\n </div>\n </div>\n }\n </div>\n }\n </div>\n</div>\n"],"mappings":";;;;AAeA,IAAa,4BAAb,MAAa,0BAAyB;CACzB;CACA;CACA;CAHA,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAyB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAzB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAyB,cAAA;EAAA,UAAA;EAAA,QAAA;GAAA,UAAA;GAAA,OAAA;GAAA,YAAA;EAAA;EAAA,MAAA,EAAA,gBAAA,oBAAA;EAAA,UAAA;EAAA,UCftC;EA4BA,QAAA,CAAA,8tBAAA;EAAA,cAAA;GAAA;IAAA,MAAA;IAAA,MDrBc;GAAY;GAAA;IAAA,MAAA;IAAA,MAAE;IAAkB,UAAA;IAAA,QAAA,CAAA,aAAA,oBAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAqB,UAAA;IAAA,QAAA,CAAA,YAAA,UAAA;GAAA;EAAA;EAAA,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAQxD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAyB,YAAA,CAAA;EAXrC,MAAA;EACa,MAAA,CAAA;GAAA,UAAA;GAAuB,YACrB;GAAI,SACP;IAAC;IAAc;IAAoB;GAAqB;GAAC,iBAGjD,wBAAwB;GAAM,MACzC,EACF,OAAO,oBACV;GAAA,UAAA;GAAA,QAAA,CAAA,8tBAAA;EAAA,CAAA;;;E,aAGA,MAAA,M;E,UACA,MAAA,M;E,eACA,MAAA,M"}
|
|
@@ -1,35 +1,91 @@
|
|
|
1
|
-
import { CommonModule } from
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
import { ScrollRevealDirective } from
|
|
5
|
-
import { UiImageComponent } from
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
1
|
+
import { CommonModule } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { ChangeDetectionStrategy, Component, Input } from "@angular/core";
|
|
4
|
+
import { ScrollRevealDirective } from "@lluc_llull/ui-lib/directives";
|
|
5
|
+
import { UiImageComponent } from "@lluc_llull/ui-lib/shared";
|
|
6
|
+
var ColumnsMediaStackedComponent = class ColumnsMediaStackedComponent {
|
|
7
|
+
leftColumn;
|
|
8
|
+
rightColumn;
|
|
9
|
+
direction = "right";
|
|
10
|
+
image;
|
|
11
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
12
|
+
minVersion: "12.0.0",
|
|
13
|
+
version: "22.2.4",
|
|
14
|
+
ngImport: i0,
|
|
15
|
+
type: ColumnsMediaStackedComponent,
|
|
16
|
+
deps: [],
|
|
17
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
18
|
+
});
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
20
|
+
minVersion: "17.0.0",
|
|
21
|
+
version: "22.2.4",
|
|
22
|
+
type: ColumnsMediaStackedComponent,
|
|
23
|
+
isStandalone: true,
|
|
24
|
+
selector: "lib-columns-media-stacked",
|
|
25
|
+
inputs: {
|
|
26
|
+
leftColumn: "leftColumn",
|
|
27
|
+
rightColumn: "rightColumn",
|
|
28
|
+
direction: "direction",
|
|
29
|
+
image: "image"
|
|
30
|
+
},
|
|
31
|
+
host: { styleAttribute: "display: contents" },
|
|
32
|
+
ngImport: i0,
|
|
33
|
+
template: "<div class=\"columns-media-stacked main-grid col-span-full\" scrollReveal>\n <div class=\"columns-media-stacked__content main-grid col-span-full\">\n @if(leftColumn) {\n <p \n class=\"columns-media-stacked__content-column col-span-full md:col-span-4\"\n [class.md:col-start-1]=\"direction === 'left'\"\n [class.md:col-start-5]=\"direction === 'right'\"\n [innerHTML]=\"leftColumn\"\n > \n </p>\n }\n @if(rightColumn) {\n <p \n class=\"columns-media-stacked__content-column col-span-full md:col-span-4\"\n [class.md:col-start-5]=\"direction === 'left'\"\n [class.md:col-start-9]=\"direction === 'right'\"\n [innerHTML]=\"rightColumn\"\n > \n </p>\n }\n </div>\n @if(image) {\n <div \n class=\"columns-media-stacked__image col-span-full md:col-span-10\"\n [class.md:col-start-1]=\"direction === 'left'\"\n [class.md:col-start-3]=\"direction === 'right'\"\n >\n @if (image.publicId) {\n <ui-image [publicId]=\"image.publicId\" [eager]=\"true\" class=\"media-intro-img\"></ui-image>\n } @else {\n <img [src]=\"image.url\" [alt]=\"image.alt\" class=\"media-intro-img\" loading=\"eager\" />\n }\n </div>\n }\n</div>\n",
|
|
34
|
+
styles: [""],
|
|
35
|
+
dependencies: [
|
|
36
|
+
{
|
|
37
|
+
kind: "ngmodule",
|
|
38
|
+
type: CommonModule
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
kind: "directive",
|
|
42
|
+
type: ScrollRevealDirective,
|
|
43
|
+
selector: "[scrollReveal]",
|
|
44
|
+
inputs: ["distance", "duration"]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
kind: "component",
|
|
48
|
+
type: UiImageComponent,
|
|
49
|
+
selector: "ui-image",
|
|
50
|
+
inputs: [
|
|
51
|
+
"publicId",
|
|
52
|
+
"cloudName",
|
|
53
|
+
"transformations",
|
|
54
|
+
"eager",
|
|
55
|
+
"width",
|
|
56
|
+
"height"
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
64
|
+
minVersion: "12.0.0",
|
|
65
|
+
version: "22.2.4",
|
|
66
|
+
ngImport: i0,
|
|
67
|
+
type: ColumnsMediaStackedComponent,
|
|
68
|
+
decorators: [{
|
|
69
|
+
type: Component,
|
|
70
|
+
args: [{
|
|
71
|
+
selector: "lib-columns-media-stacked",
|
|
72
|
+
imports: [
|
|
73
|
+
CommonModule,
|
|
74
|
+
ScrollRevealDirective,
|
|
75
|
+
UiImageComponent
|
|
76
|
+
],
|
|
77
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
78
|
+
host: { style: "display: contents" },
|
|
79
|
+
template: "<div class=\"columns-media-stacked main-grid col-span-full\" scrollReveal>\n <div class=\"columns-media-stacked__content main-grid col-span-full\">\n @if(leftColumn) {\n <p \n class=\"columns-media-stacked__content-column col-span-full md:col-span-4\"\n [class.md:col-start-1]=\"direction === 'left'\"\n [class.md:col-start-5]=\"direction === 'right'\"\n [innerHTML]=\"leftColumn\"\n > \n </p>\n }\n @if(rightColumn) {\n <p \n class=\"columns-media-stacked__content-column col-span-full md:col-span-4\"\n [class.md:col-start-5]=\"direction === 'left'\"\n [class.md:col-start-9]=\"direction === 'right'\"\n [innerHTML]=\"rightColumn\"\n > \n </p>\n }\n </div>\n @if(image) {\n <div \n class=\"columns-media-stacked__image col-span-full md:col-span-10\"\n [class.md:col-start-1]=\"direction === 'left'\"\n [class.md:col-start-3]=\"direction === 'right'\"\n >\n @if (image.publicId) {\n <ui-image [publicId]=\"image.publicId\" [eager]=\"true\" class=\"media-intro-img\"></ui-image>\n } @else {\n <img [src]=\"image.url\" [alt]=\"image.alt\" class=\"media-intro-img\" loading=\"eager\" />\n }\n </div>\n }\n</div>\n"
|
|
80
|
+
}]
|
|
81
|
+
}],
|
|
82
|
+
propDecorators: {
|
|
83
|
+
leftColumn: [{ type: Input }],
|
|
84
|
+
rightColumn: [{ type: Input }],
|
|
85
|
+
direction: [{ type: Input }],
|
|
86
|
+
image: [{ type: Input }]
|
|
87
|
+
}
|
|
88
|
+
});
|
|
34
89
|
export { ColumnsMediaStackedComponent };
|
|
35
|
-
|
|
90
|
+
|
|
91
|
+
//# sourceMappingURL=lluc_llull-ui-lib-content-columns-media-stacked.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lluc_llull-ui-lib-content-columns-media-stacked.mjs","sources":["../../../projects/ui-lib/content/columns-media-stacked/columns-media-stacked.component.ts","../../../projects/ui-lib/content/columns-media-stacked/columns-media-stacked.component.html"
|
|
1
|
+
{"version":3,"file":"lluc_llull-ui-lib-content-columns-media-stacked.mjs","names":[],"sources":["../../../projects/ui-lib/content/columns-media-stacked/columns-media-stacked.component.ts","../../../projects/ui-lib/content/columns-media-stacked/columns-media-stacked.component.html"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { ScrollRevealDirective } from '@lluc_llull/ui-lib/directives';\nimport { UiLibImageI } from '@lluc_llull/ui-lib/interfaces';\nimport { UiImageComponent } from '@lluc_llull/ui-lib/shared';\n\n@Component({\n selector: 'lib-columns-media-stacked',\n imports: [CommonModule, ScrollRevealDirective, UiImageComponent],\n templateUrl: './columns-media-stacked.component.html',\n styleUrl: './columns-media-stacked.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n style: 'display: contents',\n },\n})\nexport class ColumnsMediaStackedComponent {\n @Input() leftColumn?: string;\n @Input() rightColumn?: string;\n @Input() direction: 'left' | 'right' = 'right';\n @Input() image?: UiLibImageI;\n}\n","<div class=\"columns-media-stacked main-grid col-span-full\" scrollReveal>\n <div class=\"columns-media-stacked__content main-grid col-span-full\">\n @if(leftColumn) {\n <p \n class=\"columns-media-stacked__content-column col-span-full md:col-span-4\"\n [class.md:col-start-1]=\"direction === 'left'\"\n [class.md:col-start-5]=\"direction === 'right'\"\n [innerHTML]=\"leftColumn\"\n > \n </p>\n }\n @if(rightColumn) {\n <p \n class=\"columns-media-stacked__content-column col-span-full md:col-span-4\"\n [class.md:col-start-5]=\"direction === 'left'\"\n [class.md:col-start-9]=\"direction === 'right'\"\n [innerHTML]=\"rightColumn\"\n > \n </p>\n }\n </div>\n @if(image) {\n <div \n class=\"columns-media-stacked__image col-span-full md:col-span-10\"\n [class.md:col-start-1]=\"direction === 'left'\"\n [class.md:col-start-3]=\"direction === 'right'\"\n >\n @if (image.publicId) {\n <ui-image [publicId]=\"image.publicId\" [eager]=\"true\" class=\"media-intro-img\"></ui-image>\n } @else {\n <img [src]=\"image.url\" [alt]=\"image.alt\" class=\"media-intro-img\" loading=\"eager\" />\n }\n </div>\n }\n</div>\n"],"mappings":";;;;;AAgBA,IAAa,+BAAb,MAAa,6BAA4B;CAC9B;CACA;CACA,YAA8B;CAC9B;CAJE,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAA4B,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAA5B,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAA4B,cAAA;EAAA,UAAA;EAAA,QAAA;GAAA,YAAA;GAAA,aAAA;GAAA,WAAA;GAAA,OAAA;EAAA;EAAA,MAAA,EAAA,gBAAA,oBAAA;EAAA,UAAA;EAAA,UChBzC;EAmCA,QAAA,CAAA,EAAA;EAAA,cAAA;GAAA;IAAA,MAAA;IAAA,MD3BY;GAAY;GAAA;IAAA,MAAA;IAAA,MAAE;IAAqB,UAAA;IAAA,QAAA,CAAA,YAAA,UAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAgB,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA;EAAA;EAAA,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAQpD,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA4B,YAAA,CAAA;EAVxC,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAA2B,SAC5B;IAAC;IAAc;IAAuB;GAAgB;GAAC,iBAG/C,wBAAwB;GAAM,MACzC,EACF,OAAO,oBACV;GAAA,UAAA;EAAA,CAAA;;;E,eAGA,MAAA,M;E,gBACA,MAAA,M;E,cACA,MAAA,M;E,UACA,MAAA,M"}
|