@hyalo/angular 0.0.0-stage → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +95 -0
- package/LICENSE +21 -0
- package/README.md +45 -2
- package/fesm2022/hyalo-angular-accordion.mjs +230 -0
- package/fesm2022/hyalo-angular-accordion.mjs.map +1 -0
- package/fesm2022/hyalo-angular-alert.mjs +171 -0
- package/fesm2022/hyalo-angular-alert.mjs.map +1 -0
- package/fesm2022/hyalo-angular-aspect-ratio.mjs +64 -0
- package/fesm2022/hyalo-angular-aspect-ratio.mjs.map +1 -0
- package/fesm2022/hyalo-angular-avatar.mjs +169 -0
- package/fesm2022/hyalo-angular-avatar.mjs.map +1 -0
- package/fesm2022/hyalo-angular-badge.mjs +268 -0
- package/fesm2022/hyalo-angular-badge.mjs.map +1 -0
- package/fesm2022/hyalo-angular-bento.mjs +132 -0
- package/fesm2022/hyalo-angular-bento.mjs.map +1 -0
- package/fesm2022/hyalo-angular-blocks.mjs +985 -0
- package/fesm2022/hyalo-angular-blocks.mjs.map +1 -0
- package/fesm2022/hyalo-angular-border-beam.mjs +73 -0
- package/fesm2022/hyalo-angular-border-beam.mjs.map +1 -0
- package/fesm2022/hyalo-angular-breadcrumb.mjs +77 -0
- package/fesm2022/hyalo-angular-breadcrumb.mjs.map +1 -0
- package/fesm2022/hyalo-angular-button-group.mjs +90 -0
- package/fesm2022/hyalo-angular-button-group.mjs.map +1 -0
- package/fesm2022/hyalo-angular-button.mjs +204 -0
- package/fesm2022/hyalo-angular-button.mjs.map +1 -0
- package/fesm2022/hyalo-angular-card.mjs +221 -0
- package/fesm2022/hyalo-angular-card.mjs.map +1 -0
- package/fesm2022/hyalo-angular-carousel.mjs +709 -0
- package/fesm2022/hyalo-angular-carousel.mjs.map +1 -0
- package/fesm2022/hyalo-angular-chapter-nav.mjs +336 -0
- package/fesm2022/hyalo-angular-chapter-nav.mjs.map +1 -0
- package/fesm2022/hyalo-angular-chart-engine-DSJop6He.mjs +5 -0
- package/fesm2022/hyalo-angular-chart-engine-DSJop6He.mjs.map +1 -0
- package/fesm2022/hyalo-angular-chart.mjs +391 -0
- package/fesm2022/hyalo-angular-chart.mjs.map +1 -0
- package/fesm2022/hyalo-angular-choice.mjs +789 -0
- package/fesm2022/hyalo-angular-choice.mjs.map +1 -0
- package/fesm2022/hyalo-angular-code-block-highlight-B20d5C76.mjs +40 -0
- package/fesm2022/hyalo-angular-code-block-highlight-B20d5C76.mjs.map +1 -0
- package/fesm2022/hyalo-angular-code-block.mjs +161 -0
- package/fesm2022/hyalo-angular-code-block.mjs.map +1 -0
- package/fesm2022/hyalo-angular-command.mjs +193 -0
- package/fesm2022/hyalo-angular-command.mjs.map +1 -0
- package/fesm2022/hyalo-angular-copy.mjs +138 -0
- package/fesm2022/hyalo-angular-copy.mjs.map +1 -0
- package/fesm2022/hyalo-angular-core.mjs +424 -0
- package/fesm2022/hyalo-angular-core.mjs.map +1 -0
- package/fesm2022/hyalo-angular-description-list.mjs +57 -0
- package/fesm2022/hyalo-angular-description-list.mjs.map +1 -0
- package/fesm2022/hyalo-angular-dialog.mjs +600 -0
- package/fesm2022/hyalo-angular-dialog.mjs.map +1 -0
- package/fesm2022/hyalo-angular-divider.mjs +66 -0
- package/fesm2022/hyalo-angular-divider.mjs.map +1 -0
- package/fesm2022/hyalo-angular-empty-state.mjs +123 -0
- package/fesm2022/hyalo-angular-empty-state.mjs.map +1 -0
- package/fesm2022/hyalo-angular-field.mjs +344 -0
- package/fesm2022/hyalo-angular-field.mjs.map +1 -0
- package/fesm2022/hyalo-angular-filter.mjs +309 -0
- package/fesm2022/hyalo-angular-filter.mjs.map +1 -0
- package/fesm2022/hyalo-angular-hotspot.mjs +225 -0
- package/fesm2022/hyalo-angular-hotspot.mjs.map +1 -0
- package/fesm2022/hyalo-angular-hover-card.mjs +233 -0
- package/fesm2022/hyalo-angular-hover-card.mjs.map +1 -0
- package/fesm2022/hyalo-angular-icon.mjs +385 -0
- package/fesm2022/hyalo-angular-icon.mjs.map +1 -0
- package/fesm2022/hyalo-angular-image-compare.mjs +168 -0
- package/fesm2022/hyalo-angular-image-compare.mjs.map +1 -0
- package/fesm2022/hyalo-angular-interaction.mjs +446 -0
- package/fesm2022/hyalo-angular-interaction.mjs.map +1 -0
- package/fesm2022/hyalo-angular-kbd.mjs +41 -0
- package/fesm2022/hyalo-angular-kbd.mjs.map +1 -0
- package/fesm2022/hyalo-angular-lightbox.mjs +228 -0
- package/fesm2022/hyalo-angular-lightbox.mjs.map +1 -0
- package/fesm2022/hyalo-angular-link.mjs +42 -0
- package/fesm2022/hyalo-angular-link.mjs.map +1 -0
- package/fesm2022/hyalo-angular-list.mjs +131 -0
- package/fesm2022/hyalo-angular-list.mjs.map +1 -0
- package/fesm2022/hyalo-angular-marquee.mjs +197 -0
- package/fesm2022/hyalo-angular-marquee.mjs.map +1 -0
- package/fesm2022/hyalo-angular-menu.mjs +423 -0
- package/fesm2022/hyalo-angular-menu.mjs.map +1 -0
- package/fesm2022/hyalo-angular-mesh.mjs +126 -0
- package/fesm2022/hyalo-angular-mesh.mjs.map +1 -0
- package/fesm2022/hyalo-angular-motion.mjs +620 -0
- package/fesm2022/hyalo-angular-motion.mjs.map +1 -0
- package/fesm2022/hyalo-angular-navbar.mjs +343 -0
- package/fesm2022/hyalo-angular-navbar.mjs.map +1 -0
- package/fesm2022/hyalo-angular-navigation-menu.mjs +222 -0
- package/fesm2022/hyalo-angular-navigation-menu.mjs.map +1 -0
- package/fesm2022/hyalo-angular-number-ticker.mjs +174 -0
- package/fesm2022/hyalo-angular-number-ticker.mjs.map +1 -0
- package/fesm2022/hyalo-angular-overlay.mjs +163 -0
- package/fesm2022/hyalo-angular-overlay.mjs.map +1 -0
- package/fesm2022/hyalo-angular-pagination.mjs +187 -0
- package/fesm2022/hyalo-angular-pagination.mjs.map +1 -0
- package/fesm2022/hyalo-angular-popover-overlay-kit-6wPwnxln.mjs +3 -0
- package/fesm2022/hyalo-angular-popover.mjs +516 -0
- package/fesm2022/hyalo-angular-popover.mjs.map +1 -0
- package/fesm2022/hyalo-angular-progress.mjs +209 -0
- package/fesm2022/hyalo-angular-progress.mjs.map +1 -0
- package/fesm2022/hyalo-angular-progressive-blur.mjs +73 -0
- package/fesm2022/hyalo-angular-progressive-blur.mjs.map +1 -0
- package/fesm2022/hyalo-angular-refraction-renderer-5ZA-kfsA.mjs +186 -0
- package/fesm2022/hyalo-angular-refraction-renderer-5ZA-kfsA.mjs.map +1 -0
- package/fesm2022/hyalo-angular-refraction.mjs +178 -0
- package/fesm2022/hyalo-angular-refraction.mjs.map +1 -0
- package/fesm2022/hyalo-angular-scroll-area.mjs +93 -0
- package/fesm2022/hyalo-angular-scroll-area.mjs.map +1 -0
- package/fesm2022/hyalo-angular-scroll-to-top.mjs +127 -0
- package/fesm2022/hyalo-angular-scroll-to-top.mjs.map +1 -0
- package/fesm2022/hyalo-angular-segmented.mjs +223 -0
- package/fesm2022/hyalo-angular-segmented.mjs.map +1 -0
- package/fesm2022/hyalo-angular-select.mjs +561 -0
- package/fesm2022/hyalo-angular-select.mjs.map +1 -0
- package/fesm2022/hyalo-angular-sidebar.mjs +241 -0
- package/fesm2022/hyalo-angular-sidebar.mjs.map +1 -0
- package/fesm2022/hyalo-angular-skeleton.mjs +131 -0
- package/fesm2022/hyalo-angular-skeleton.mjs.map +1 -0
- package/fesm2022/hyalo-angular-sparkline.mjs +110 -0
- package/fesm2022/hyalo-angular-sparkline.mjs.map +1 -0
- package/fesm2022/hyalo-angular-split-text.mjs +126 -0
- package/fesm2022/hyalo-angular-split-text.mjs.map +1 -0
- package/fesm2022/hyalo-angular-stat.mjs +193 -0
- package/fesm2022/hyalo-angular-stat.mjs.map +1 -0
- package/fesm2022/hyalo-angular-stepper.mjs +254 -0
- package/fesm2022/hyalo-angular-stepper.mjs.map +1 -0
- package/fesm2022/hyalo-angular-table.mjs +335 -0
- package/fesm2022/hyalo-angular-table.mjs.map +1 -0
- package/fesm2022/hyalo-angular-tabs.mjs +324 -0
- package/fesm2022/hyalo-angular-tabs.mjs.map +1 -0
- package/fesm2022/hyalo-angular-theme.mjs +94 -0
- package/fesm2022/hyalo-angular-theme.mjs.map +1 -0
- package/fesm2022/hyalo-angular-timeline.mjs +157 -0
- package/fesm2022/hyalo-angular-timeline.mjs.map +1 -0
- package/fesm2022/hyalo-angular-toast.mjs +323 -0
- package/fesm2022/hyalo-angular-toast.mjs.map +1 -0
- package/fesm2022/hyalo-angular.mjs +2 -0
- package/package.json +329 -3
- package/styles/hyalo-core.css +25 -0
- package/styles/hyalo.css +17 -0
- package/styles/overlays/dialog.css +9 -0
- package/styles/overlays/popover.css +9 -0
- package/styles/overlays/select.css +9 -0
- package/styles/overlays/toast.css +8 -0
- package/styles/palettes/aurora.css +47 -0
- package/styles/palettes/ember.css +47 -0
- package/styles/palettes/graphite.css +47 -0
- package/styles/palettes/ocean.css +47 -0
- package/styles/palettes/orchid.css +47 -0
- package/styles/palettes/rose.css +47 -0
- package/styles/parts/card.css +49 -0
- package/styles/parts/dialog.css +116 -0
- package/styles/parts/drawer.css +124 -0
- package/styles/parts/field.css +44 -0
- package/styles/parts/glass.css +139 -0
- package/styles/parts/motion.css +101 -0
- package/styles/parts/navbar.css +55 -0
- package/styles/parts/popover.css +27 -0
- package/styles/parts/presence.css +55 -0
- package/styles/parts/reset.css +42 -0
- package/styles/parts/select.css +46 -0
- package/styles/parts/themes.css +105 -0
- package/styles/parts/toast.css +128 -0
- package/styles/parts/tokens.css +151 -0
- package/styles/parts/typography.css +81 -0
- package/types/hyalo-angular-accordion.d.ts +74 -0
- package/types/hyalo-angular-alert.d.ts +47 -0
- package/types/hyalo-angular-aspect-ratio.d.ts +13 -0
- package/types/hyalo-angular-avatar.d.ts +39 -0
- package/types/hyalo-angular-badge.d.ts +82 -0
- package/types/hyalo-angular-bento.d.ts +25 -0
- package/types/hyalo-angular-blocks.d.ts +272 -0
- package/types/hyalo-angular-border-beam.d.ts +15 -0
- package/types/hyalo-angular-breadcrumb.d.ts +22 -0
- package/types/hyalo-angular-button-group.d.ts +19 -0
- package/types/hyalo-angular-button.d.ts +89 -0
- package/types/hyalo-angular-card.d.ts +61 -0
- package/types/hyalo-angular-carousel.d.ts +147 -0
- package/types/hyalo-angular-chapter-nav.d.ts +79 -0
- package/types/hyalo-angular-chart.d.ts +90 -0
- package/types/hyalo-angular-choice.d.ts +259 -0
- package/types/hyalo-angular-code-block.d.ts +46 -0
- package/types/hyalo-angular-command.d.ts +41 -0
- package/types/hyalo-angular-copy.d.ts +39 -0
- package/types/hyalo-angular-core.d.ts +210 -0
- package/types/hyalo-angular-description-list.d.ts +16 -0
- package/types/hyalo-angular-dialog.d.ts +171 -0
- package/types/hyalo-angular-divider.d.ts +12 -0
- package/types/hyalo-angular-empty-state.d.ts +30 -0
- package/types/hyalo-angular-field.d.ts +141 -0
- package/types/hyalo-angular-filter.d.ts +122 -0
- package/types/hyalo-angular-hotspot.d.ts +70 -0
- package/types/hyalo-angular-hover-card.d.ts +47 -0
- package/types/hyalo-angular-icon.d.ts +122 -0
- package/types/hyalo-angular-image-compare.d.ts +55 -0
- package/types/hyalo-angular-interaction.d.ts +131 -0
- package/types/hyalo-angular-kbd.d.ts +5 -0
- package/types/hyalo-angular-lightbox.d.ts +67 -0
- package/types/hyalo-angular-link.d.ts +5 -0
- package/types/hyalo-angular-list.d.ts +30 -0
- package/types/hyalo-angular-marquee.d.ts +48 -0
- package/types/hyalo-angular-menu.d.ts +105 -0
- package/types/hyalo-angular-mesh.d.ts +36 -0
- package/types/hyalo-angular-motion.d.ts +218 -0
- package/types/hyalo-angular-navbar.d.ts +110 -0
- package/types/hyalo-angular-navigation-menu.d.ts +47 -0
- package/types/hyalo-angular-number-ticker.d.ts +52 -0
- package/types/hyalo-angular-overlay.d.ts +40 -0
- package/types/hyalo-angular-pagination.d.ts +59 -0
- package/types/hyalo-angular-popover.d.ts +152 -0
- package/types/hyalo-angular-progress.d.ts +46 -0
- package/types/hyalo-angular-progressive-blur.d.ts +14 -0
- package/types/hyalo-angular-refraction.d.ts +46 -0
- package/types/hyalo-angular-scroll-area.d.ts +18 -0
- package/types/hyalo-angular-scroll-to-top.d.ts +31 -0
- package/types/hyalo-angular-segmented.d.ts +79 -0
- package/types/hyalo-angular-select.d.ts +176 -0
- package/types/hyalo-angular-sidebar.d.ts +57 -0
- package/types/hyalo-angular-skeleton.d.ts +34 -0
- package/types/hyalo-angular-sparkline.d.ts +19 -0
- package/types/hyalo-angular-split-text.d.ts +24 -0
- package/types/hyalo-angular-stat.d.ts +56 -0
- package/types/hyalo-angular-stepper.d.ts +63 -0
- package/types/hyalo-angular-table.d.ts +125 -0
- package/types/hyalo-angular-tabs.d.ts +102 -0
- package/types/hyalo-angular-theme.d.ts +46 -0
- package/types/hyalo-angular-timeline.d.ts +36 -0
- package/types/hyalo-angular-toast.d.ts +79 -0
- package/types/hyalo-angular.d.ts +2 -0
|
@@ -0,0 +1,985 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, input, model } from "@angular/core";
|
|
3
|
+
import { HyButton } from "@hyalo/angular/button";
|
|
4
|
+
import { HyCard } from "@hyalo/angular/card";
|
|
5
|
+
import { HyNumberTicker } from "@hyalo/angular/number-ticker";
|
|
6
|
+
import { HyStat } from "@hyalo/angular/stat";
|
|
7
|
+
import { HyFilterBar } from "@hyalo/angular/filter";
|
|
8
|
+
var HyHeroBlock = class HyHeroBlock {
|
|
9
|
+
eyebrow = input("", ...ngDevMode ? [{ debugName: "eyebrow" }] : /* istanbul ignore next */ []);
|
|
10
|
+
heading = input.required(...ngDevMode ? [{ debugName: "heading" }] : /* istanbul ignore next */ []);
|
|
11
|
+
description = input("", ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
|
|
12
|
+
actionHref = input("", ...ngDevMode ? [{ debugName: "actionHref" }] : /* istanbul ignore next */ []);
|
|
13
|
+
actionLabel = input("Get started", ...ngDevMode ? [{ debugName: "actionLabel" }] : /* istanbul ignore next */ []);
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
15
|
+
minVersion: "12.0.0",
|
|
16
|
+
version: "22.2.3",
|
|
17
|
+
ngImport: i0,
|
|
18
|
+
type: HyHeroBlock,
|
|
19
|
+
deps: [],
|
|
20
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
21
|
+
});
|
|
22
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
23
|
+
minVersion: "17.0.0",
|
|
24
|
+
version: "22.2.3",
|
|
25
|
+
type: HyHeroBlock,
|
|
26
|
+
isStandalone: true,
|
|
27
|
+
selector: "hy-hero-block",
|
|
28
|
+
inputs: {
|
|
29
|
+
eyebrow: {
|
|
30
|
+
classPropertyName: "eyebrow",
|
|
31
|
+
publicName: "eyebrow",
|
|
32
|
+
isSignal: true,
|
|
33
|
+
isRequired: false,
|
|
34
|
+
transformFunction: null
|
|
35
|
+
},
|
|
36
|
+
heading: {
|
|
37
|
+
classPropertyName: "heading",
|
|
38
|
+
publicName: "heading",
|
|
39
|
+
isSignal: true,
|
|
40
|
+
isRequired: true,
|
|
41
|
+
transformFunction: null
|
|
42
|
+
},
|
|
43
|
+
description: {
|
|
44
|
+
classPropertyName: "description",
|
|
45
|
+
publicName: "description",
|
|
46
|
+
isSignal: true,
|
|
47
|
+
isRequired: false,
|
|
48
|
+
transformFunction: null
|
|
49
|
+
},
|
|
50
|
+
actionHref: {
|
|
51
|
+
classPropertyName: "actionHref",
|
|
52
|
+
publicName: "actionHref",
|
|
53
|
+
isSignal: true,
|
|
54
|
+
isRequired: false,
|
|
55
|
+
transformFunction: null
|
|
56
|
+
},
|
|
57
|
+
actionLabel: {
|
|
58
|
+
classPropertyName: "actionLabel",
|
|
59
|
+
publicName: "actionLabel",
|
|
60
|
+
isSignal: true,
|
|
61
|
+
isRequired: false,
|
|
62
|
+
transformFunction: null
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
ngImport: i0,
|
|
66
|
+
template: "<section>\n <div>\n <p class=\"eyebrow\">{{ eyebrow() }}</p>\n <h2>{{ heading() }}</h2>\n <p>{{ description() }}</p>\n <div class=\"actions\">\n @if (actionHref()) {\n <a hyButton [href]=\"actionHref()\">{{ actionLabel() }}</a>\n }\n <ng-content select=\"[hyBlockActions]\" />\n </div>\n </div>\n <div class=\"stage\"><ng-content select=\"[hyBlockMedia]\" /></div>\n</section>\n",
|
|
67
|
+
styles: [":host{display:block}section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(1.5rem,5vw,5rem);padding-block:clamp(2rem,6vw,6rem)}h2{font-size:clamp(2rem,5vw,4rem);line-height:1.1;margin:.5rem 0;max-inline-size:16ch}p{line-height:1.7;color:var(--hy-ink-2)}.eyebrow{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase}.actions{display:flex;flex-wrap:wrap;gap:.75rem}.stage{min-inline-size:0}@media(max-width:48rem){section{grid-template-columns:1fr}}\n"],
|
|
68
|
+
dependencies: [{
|
|
69
|
+
kind: "component",
|
|
70
|
+
type: HyButton,
|
|
71
|
+
selector: "button[hyButton], a[hyButton]",
|
|
72
|
+
inputs: [
|
|
73
|
+
"variant",
|
|
74
|
+
"size",
|
|
75
|
+
"tone",
|
|
76
|
+
"iconOnly",
|
|
77
|
+
"loading",
|
|
78
|
+
"disabled"
|
|
79
|
+
]
|
|
80
|
+
}],
|
|
81
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
82
|
+
});
|
|
83
|
+
};
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
85
|
+
minVersion: "12.0.0",
|
|
86
|
+
version: "22.2.3",
|
|
87
|
+
ngImport: i0,
|
|
88
|
+
type: HyHeroBlock,
|
|
89
|
+
decorators: [{
|
|
90
|
+
type: Component,
|
|
91
|
+
args: [{
|
|
92
|
+
selector: "hy-hero-block",
|
|
93
|
+
imports: [HyButton],
|
|
94
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
95
|
+
template: "<section>\n <div>\n <p class=\"eyebrow\">{{ eyebrow() }}</p>\n <h2>{{ heading() }}</h2>\n <p>{{ description() }}</p>\n <div class=\"actions\">\n @if (actionHref()) {\n <a hyButton [href]=\"actionHref()\">{{ actionLabel() }}</a>\n }\n <ng-content select=\"[hyBlockActions]\" />\n </div>\n </div>\n <div class=\"stage\"><ng-content select=\"[hyBlockMedia]\" /></div>\n</section>\n",
|
|
96
|
+
styles: [":host{display:block}section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(1.5rem,5vw,5rem);padding-block:clamp(2rem,6vw,6rem)}h2{font-size:clamp(2rem,5vw,4rem);line-height:1.1;margin:.5rem 0;max-inline-size:16ch}p{line-height:1.7;color:var(--hy-ink-2)}.eyebrow{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase}.actions{display:flex;flex-wrap:wrap;gap:.75rem}.stage{min-inline-size:0}@media(max-width:48rem){section{grid-template-columns:1fr}}\n"]
|
|
97
|
+
}]
|
|
98
|
+
}],
|
|
99
|
+
propDecorators: {
|
|
100
|
+
eyebrow: [{
|
|
101
|
+
type: i0.Input,
|
|
102
|
+
args: [{
|
|
103
|
+
isSignal: true,
|
|
104
|
+
alias: "eyebrow",
|
|
105
|
+
required: false
|
|
106
|
+
}]
|
|
107
|
+
}],
|
|
108
|
+
heading: [{
|
|
109
|
+
type: i0.Input,
|
|
110
|
+
args: [{
|
|
111
|
+
isSignal: true,
|
|
112
|
+
alias: "heading",
|
|
113
|
+
required: true
|
|
114
|
+
}]
|
|
115
|
+
}],
|
|
116
|
+
description: [{
|
|
117
|
+
type: i0.Input,
|
|
118
|
+
args: [{
|
|
119
|
+
isSignal: true,
|
|
120
|
+
alias: "description",
|
|
121
|
+
required: false
|
|
122
|
+
}]
|
|
123
|
+
}],
|
|
124
|
+
actionHref: [{
|
|
125
|
+
type: i0.Input,
|
|
126
|
+
args: [{
|
|
127
|
+
isSignal: true,
|
|
128
|
+
alias: "actionHref",
|
|
129
|
+
required: false
|
|
130
|
+
}]
|
|
131
|
+
}],
|
|
132
|
+
actionLabel: [{
|
|
133
|
+
type: i0.Input,
|
|
134
|
+
args: [{
|
|
135
|
+
isSignal: true,
|
|
136
|
+
alias: "actionLabel",
|
|
137
|
+
required: false
|
|
138
|
+
}]
|
|
139
|
+
}]
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
var HyPricingBlock = class HyPricingBlock {
|
|
143
|
+
heading = input("Plans for your next chapter", ...ngDevMode ? [{ debugName: "heading" }] : /* istanbul ignore next */ []);
|
|
144
|
+
plans = input.required(...ngDevMode ? [{ debugName: "plans" }] : /* istanbul ignore next */ []);
|
|
145
|
+
billing = model("monthly", ...ngDevMode ? [{ debugName: "billing" }] : /* istanbul ignore next */ []);
|
|
146
|
+
locale = input(...ngDevMode ? [void 0, { debugName: "locale" }] : /* istanbul ignore next */ []);
|
|
147
|
+
currencyFormat = input({
|
|
148
|
+
style: "currency",
|
|
149
|
+
currency: "USD",
|
|
150
|
+
maximumFractionDigits: 0
|
|
151
|
+
}, ...ngDevMode ? [{ debugName: "currencyFormat" }] : /* istanbul ignore next */ []);
|
|
152
|
+
monthlyLabel = input("Monthly", ...ngDevMode ? [{ debugName: "monthlyLabel" }] : /* istanbul ignore next */ []);
|
|
153
|
+
annualLabel = input("Annual", ...ngDevMode ? [{ debugName: "annualLabel" }] : /* istanbul ignore next */ []);
|
|
154
|
+
billingLabel = input("Billing period", ...ngDevMode ? [{ debugName: "billingLabel" }] : /* istanbul ignore next */ []);
|
|
155
|
+
actionLabel = input("Choose", ...ngDevMode ? [{ debugName: "actionLabel" }] : /* istanbul ignore next */ []);
|
|
156
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
157
|
+
minVersion: "12.0.0",
|
|
158
|
+
version: "22.2.3",
|
|
159
|
+
ngImport: i0,
|
|
160
|
+
type: HyPricingBlock,
|
|
161
|
+
deps: [],
|
|
162
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
163
|
+
});
|
|
164
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
165
|
+
minVersion: "17.0.0",
|
|
166
|
+
version: "22.2.3",
|
|
167
|
+
type: HyPricingBlock,
|
|
168
|
+
isStandalone: true,
|
|
169
|
+
selector: "hy-pricing-block",
|
|
170
|
+
inputs: {
|
|
171
|
+
heading: {
|
|
172
|
+
classPropertyName: "heading",
|
|
173
|
+
publicName: "heading",
|
|
174
|
+
isSignal: true,
|
|
175
|
+
isRequired: false,
|
|
176
|
+
transformFunction: null
|
|
177
|
+
},
|
|
178
|
+
plans: {
|
|
179
|
+
classPropertyName: "plans",
|
|
180
|
+
publicName: "plans",
|
|
181
|
+
isSignal: true,
|
|
182
|
+
isRequired: true,
|
|
183
|
+
transformFunction: null
|
|
184
|
+
},
|
|
185
|
+
billing: {
|
|
186
|
+
classPropertyName: "billing",
|
|
187
|
+
publicName: "billing",
|
|
188
|
+
isSignal: true,
|
|
189
|
+
isRequired: false,
|
|
190
|
+
transformFunction: null
|
|
191
|
+
},
|
|
192
|
+
locale: {
|
|
193
|
+
classPropertyName: "locale",
|
|
194
|
+
publicName: "locale",
|
|
195
|
+
isSignal: true,
|
|
196
|
+
isRequired: false,
|
|
197
|
+
transformFunction: null
|
|
198
|
+
},
|
|
199
|
+
currencyFormat: {
|
|
200
|
+
classPropertyName: "currencyFormat",
|
|
201
|
+
publicName: "currencyFormat",
|
|
202
|
+
isSignal: true,
|
|
203
|
+
isRequired: false,
|
|
204
|
+
transformFunction: null
|
|
205
|
+
},
|
|
206
|
+
monthlyLabel: {
|
|
207
|
+
classPropertyName: "monthlyLabel",
|
|
208
|
+
publicName: "monthlyLabel",
|
|
209
|
+
isSignal: true,
|
|
210
|
+
isRequired: false,
|
|
211
|
+
transformFunction: null
|
|
212
|
+
},
|
|
213
|
+
annualLabel: {
|
|
214
|
+
classPropertyName: "annualLabel",
|
|
215
|
+
publicName: "annualLabel",
|
|
216
|
+
isSignal: true,
|
|
217
|
+
isRequired: false,
|
|
218
|
+
transformFunction: null
|
|
219
|
+
},
|
|
220
|
+
billingLabel: {
|
|
221
|
+
classPropertyName: "billingLabel",
|
|
222
|
+
publicName: "billingLabel",
|
|
223
|
+
isSignal: true,
|
|
224
|
+
isRequired: false,
|
|
225
|
+
transformFunction: null
|
|
226
|
+
},
|
|
227
|
+
actionLabel: {
|
|
228
|
+
classPropertyName: "actionLabel",
|
|
229
|
+
publicName: "actionLabel",
|
|
230
|
+
isSignal: true,
|
|
231
|
+
isRequired: false,
|
|
232
|
+
transformFunction: null
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
outputs: { billing: "billingChange" },
|
|
236
|
+
ngImport: i0,
|
|
237
|
+
template: "<section>\n <h2>{{ heading() }}</h2>\n <div class=\"billing\" role=\"group\" [attr.aria-label]=\"billingLabel()\">\n <button\n type=\"button\"\n [attr.aria-pressed]=\"billing() === 'monthly'\"\n (click)=\"billing.set('monthly')\"\n >\n {{ monthlyLabel() }}</button\n ><button\n type=\"button\"\n [attr.aria-pressed]=\"billing() === 'annual'\"\n (click)=\"billing.set('annual')\"\n >\n {{ annualLabel() }}\n </button>\n </div>\n <div class=\"plans\">\n @for (plan of plans(); track plan.id) {\n <hy-card material=\"tinted\" [class.featured]=\"plan.featured\"\n ><h3>{{ plan.name }}</h3>\n <p>{{ plan.description }}</p>\n <strong\n ><hy-number-ticker\n [value]=\"billing() === 'monthly' ? plan.monthly : plan.annual\"\n [locale]=\"locale()\"\n [format]=\"currencyFormat()\"\n /></strong>\n <p>{{ billing() === 'monthly' ? monthlyLabel() : annualLabel() }}</p>\n <ul>\n @for (feature of plan.features; track feature) {\n <li>{{ feature }}</li>\n }\n </ul>\n <a hyButton [href]=\"plan.href\">{{ actionLabel() }} {{ plan.name }}</a></hy-card\n >\n }\n </div>\n</section>\n",
|
|
238
|
+
styles: [":host{display:block}h2{font-size:clamp(1.5rem,3vw,2.5rem)}.billing{display:flex;gap:.5rem;margin-block:1rem}.plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:1rem}hy-card{padding:1.5rem}.featured{outline:2px solid var(--hy-primary)}strong{font-size:2rem}p,li{color:var(--hy-ink-2);line-height:1.7}button{min-block-size:44px;font:inherit;background:var(--hy-surface-1);color:var(--hy-ink);border:1px solid var(--hy-line);border-radius:var(--hy-radius-s);padding:.5rem 1rem;cursor:pointer}button[aria-pressed=true]{background:var(--hy-primary-wash)}button:focus-visible{outline:2px solid var(--hy-primary);outline-offset:2px}\n"],
|
|
239
|
+
dependencies: [
|
|
240
|
+
{
|
|
241
|
+
kind: "component",
|
|
242
|
+
type: HyCard,
|
|
243
|
+
selector: "hy-card",
|
|
244
|
+
inputs: ["padding"]
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
kind: "component",
|
|
248
|
+
type: HyButton,
|
|
249
|
+
selector: "button[hyButton], a[hyButton]",
|
|
250
|
+
inputs: [
|
|
251
|
+
"variant",
|
|
252
|
+
"size",
|
|
253
|
+
"tone",
|
|
254
|
+
"iconOnly",
|
|
255
|
+
"loading",
|
|
256
|
+
"disabled"
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
kind: "component",
|
|
261
|
+
type: HyNumberTicker,
|
|
262
|
+
selector: "hy-number-ticker",
|
|
263
|
+
inputs: [
|
|
264
|
+
"value",
|
|
265
|
+
"locale",
|
|
266
|
+
"format",
|
|
267
|
+
"animate",
|
|
268
|
+
"prefix",
|
|
269
|
+
"suffix"
|
|
270
|
+
]
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
274
|
+
});
|
|
275
|
+
};
|
|
276
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
277
|
+
minVersion: "12.0.0",
|
|
278
|
+
version: "22.2.3",
|
|
279
|
+
ngImport: i0,
|
|
280
|
+
type: HyPricingBlock,
|
|
281
|
+
decorators: [{
|
|
282
|
+
type: Component,
|
|
283
|
+
args: [{
|
|
284
|
+
selector: "hy-pricing-block",
|
|
285
|
+
imports: [
|
|
286
|
+
HyCard,
|
|
287
|
+
HyButton,
|
|
288
|
+
HyNumberTicker
|
|
289
|
+
],
|
|
290
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
291
|
+
template: "<section>\n <h2>{{ heading() }}</h2>\n <div class=\"billing\" role=\"group\" [attr.aria-label]=\"billingLabel()\">\n <button\n type=\"button\"\n [attr.aria-pressed]=\"billing() === 'monthly'\"\n (click)=\"billing.set('monthly')\"\n >\n {{ monthlyLabel() }}</button\n ><button\n type=\"button\"\n [attr.aria-pressed]=\"billing() === 'annual'\"\n (click)=\"billing.set('annual')\"\n >\n {{ annualLabel() }}\n </button>\n </div>\n <div class=\"plans\">\n @for (plan of plans(); track plan.id) {\n <hy-card material=\"tinted\" [class.featured]=\"plan.featured\"\n ><h3>{{ plan.name }}</h3>\n <p>{{ plan.description }}</p>\n <strong\n ><hy-number-ticker\n [value]=\"billing() === 'monthly' ? plan.monthly : plan.annual\"\n [locale]=\"locale()\"\n [format]=\"currencyFormat()\"\n /></strong>\n <p>{{ billing() === 'monthly' ? monthlyLabel() : annualLabel() }}</p>\n <ul>\n @for (feature of plan.features; track feature) {\n <li>{{ feature }}</li>\n }\n </ul>\n <a hyButton [href]=\"plan.href\">{{ actionLabel() }} {{ plan.name }}</a></hy-card\n >\n }\n </div>\n</section>\n",
|
|
292
|
+
styles: [":host{display:block}h2{font-size:clamp(1.5rem,3vw,2.5rem)}.billing{display:flex;gap:.5rem;margin-block:1rem}.plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:1rem}hy-card{padding:1.5rem}.featured{outline:2px solid var(--hy-primary)}strong{font-size:2rem}p,li{color:var(--hy-ink-2);line-height:1.7}button{min-block-size:44px;font:inherit;background:var(--hy-surface-1);color:var(--hy-ink);border:1px solid var(--hy-line);border-radius:var(--hy-radius-s);padding:.5rem 1rem;cursor:pointer}button[aria-pressed=true]{background:var(--hy-primary-wash)}button:focus-visible{outline:2px solid var(--hy-primary);outline-offset:2px}\n"]
|
|
293
|
+
}]
|
|
294
|
+
}],
|
|
295
|
+
propDecorators: {
|
|
296
|
+
heading: [{
|
|
297
|
+
type: i0.Input,
|
|
298
|
+
args: [{
|
|
299
|
+
isSignal: true,
|
|
300
|
+
alias: "heading",
|
|
301
|
+
required: false
|
|
302
|
+
}]
|
|
303
|
+
}],
|
|
304
|
+
plans: [{
|
|
305
|
+
type: i0.Input,
|
|
306
|
+
args: [{
|
|
307
|
+
isSignal: true,
|
|
308
|
+
alias: "plans",
|
|
309
|
+
required: true
|
|
310
|
+
}]
|
|
311
|
+
}],
|
|
312
|
+
billing: [{
|
|
313
|
+
type: i0.Input,
|
|
314
|
+
args: [{
|
|
315
|
+
isSignal: true,
|
|
316
|
+
alias: "billing",
|
|
317
|
+
required: false
|
|
318
|
+
}]
|
|
319
|
+
}, {
|
|
320
|
+
type: i0.Output,
|
|
321
|
+
args: ["billingChange"]
|
|
322
|
+
}],
|
|
323
|
+
locale: [{
|
|
324
|
+
type: i0.Input,
|
|
325
|
+
args: [{
|
|
326
|
+
isSignal: true,
|
|
327
|
+
alias: "locale",
|
|
328
|
+
required: false
|
|
329
|
+
}]
|
|
330
|
+
}],
|
|
331
|
+
currencyFormat: [{
|
|
332
|
+
type: i0.Input,
|
|
333
|
+
args: [{
|
|
334
|
+
isSignal: true,
|
|
335
|
+
alias: "currencyFormat",
|
|
336
|
+
required: false
|
|
337
|
+
}]
|
|
338
|
+
}],
|
|
339
|
+
monthlyLabel: [{
|
|
340
|
+
type: i0.Input,
|
|
341
|
+
args: [{
|
|
342
|
+
isSignal: true,
|
|
343
|
+
alias: "monthlyLabel",
|
|
344
|
+
required: false
|
|
345
|
+
}]
|
|
346
|
+
}],
|
|
347
|
+
annualLabel: [{
|
|
348
|
+
type: i0.Input,
|
|
349
|
+
args: [{
|
|
350
|
+
isSignal: true,
|
|
351
|
+
alias: "annualLabel",
|
|
352
|
+
required: false
|
|
353
|
+
}]
|
|
354
|
+
}],
|
|
355
|
+
billingLabel: [{
|
|
356
|
+
type: i0.Input,
|
|
357
|
+
args: [{
|
|
358
|
+
isSignal: true,
|
|
359
|
+
alias: "billingLabel",
|
|
360
|
+
required: false
|
|
361
|
+
}]
|
|
362
|
+
}],
|
|
363
|
+
actionLabel: [{
|
|
364
|
+
type: i0.Input,
|
|
365
|
+
args: [{
|
|
366
|
+
isSignal: true,
|
|
367
|
+
alias: "actionLabel",
|
|
368
|
+
required: false
|
|
369
|
+
}]
|
|
370
|
+
}]
|
|
371
|
+
}
|
|
372
|
+
});
|
|
373
|
+
var HyFeatureBlock = class HyFeatureBlock {
|
|
374
|
+
heading = input("Built for the way you work", ...ngDevMode ? [{ debugName: "heading" }] : /* istanbul ignore next */ []);
|
|
375
|
+
features = input.required(...ngDevMode ? [{ debugName: "features" }] : /* istanbul ignore next */ []);
|
|
376
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
377
|
+
minVersion: "12.0.0",
|
|
378
|
+
version: "22.2.3",
|
|
379
|
+
ngImport: i0,
|
|
380
|
+
type: HyFeatureBlock,
|
|
381
|
+
deps: [],
|
|
382
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
383
|
+
});
|
|
384
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
385
|
+
minVersion: "17.0.0",
|
|
386
|
+
version: "22.2.3",
|
|
387
|
+
type: HyFeatureBlock,
|
|
388
|
+
isStandalone: true,
|
|
389
|
+
selector: "hy-feature-block",
|
|
390
|
+
inputs: {
|
|
391
|
+
heading: {
|
|
392
|
+
classPropertyName: "heading",
|
|
393
|
+
publicName: "heading",
|
|
394
|
+
isSignal: true,
|
|
395
|
+
isRequired: false,
|
|
396
|
+
transformFunction: null
|
|
397
|
+
},
|
|
398
|
+
features: {
|
|
399
|
+
classPropertyName: "features",
|
|
400
|
+
publicName: "features",
|
|
401
|
+
isSignal: true,
|
|
402
|
+
isRequired: true,
|
|
403
|
+
transformFunction: null
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
ngImport: i0,
|
|
407
|
+
template: "<section>\n <h2>{{ heading() }}</h2>\n <div class=\"grid\">\n @for (feature of features(); track feature.id) {\n <hy-card material=\"tinted\"\n ><h3>{{ feature.title }}</h3>\n <p>{{ feature.description }}</p></hy-card\n >\n }\n <ng-content />\n </div>\n</section>\n",
|
|
408
|
+
styles: [":host{display:block}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}hy-card{padding:1.5rem}hy-card:first-child{grid-column:span 2}p{line-height:1.7;color:var(--hy-ink-2)}@media(max-width:40rem){.grid{grid-template-columns:1fr}hy-card:first-child{grid-column:auto}}\n"],
|
|
409
|
+
dependencies: [{
|
|
410
|
+
kind: "component",
|
|
411
|
+
type: HyCard,
|
|
412
|
+
selector: "hy-card",
|
|
413
|
+
inputs: ["padding"]
|
|
414
|
+
}],
|
|
415
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
416
|
+
});
|
|
417
|
+
};
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
419
|
+
minVersion: "12.0.0",
|
|
420
|
+
version: "22.2.3",
|
|
421
|
+
ngImport: i0,
|
|
422
|
+
type: HyFeatureBlock,
|
|
423
|
+
decorators: [{
|
|
424
|
+
type: Component,
|
|
425
|
+
args: [{
|
|
426
|
+
selector: "hy-feature-block",
|
|
427
|
+
imports: [HyCard],
|
|
428
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
429
|
+
template: "<section>\n <h2>{{ heading() }}</h2>\n <div class=\"grid\">\n @for (feature of features(); track feature.id) {\n <hy-card material=\"tinted\"\n ><h3>{{ feature.title }}</h3>\n <p>{{ feature.description }}</p></hy-card\n >\n }\n <ng-content />\n </div>\n</section>\n",
|
|
430
|
+
styles: [":host{display:block}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}hy-card{padding:1.5rem}hy-card:first-child{grid-column:span 2}p{line-height:1.7;color:var(--hy-ink-2)}@media(max-width:40rem){.grid{grid-template-columns:1fr}hy-card:first-child{grid-column:auto}}\n"]
|
|
431
|
+
}]
|
|
432
|
+
}],
|
|
433
|
+
propDecorators: {
|
|
434
|
+
heading: [{
|
|
435
|
+
type: i0.Input,
|
|
436
|
+
args: [{
|
|
437
|
+
isSignal: true,
|
|
438
|
+
alias: "heading",
|
|
439
|
+
required: false
|
|
440
|
+
}]
|
|
441
|
+
}],
|
|
442
|
+
features: [{
|
|
443
|
+
type: i0.Input,
|
|
444
|
+
args: [{
|
|
445
|
+
isSignal: true,
|
|
446
|
+
alias: "features",
|
|
447
|
+
required: true
|
|
448
|
+
}]
|
|
449
|
+
}]
|
|
450
|
+
}
|
|
451
|
+
});
|
|
452
|
+
var HyTestimonialsBlock = class HyTestimonialsBlock {
|
|
453
|
+
heading = input("Trusted by thoughtful teams", ...ngDevMode ? [{ debugName: "heading" }] : /* istanbul ignore next */ []);
|
|
454
|
+
items = input.required(...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
455
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
456
|
+
minVersion: "12.0.0",
|
|
457
|
+
version: "22.2.3",
|
|
458
|
+
ngImport: i0,
|
|
459
|
+
type: HyTestimonialsBlock,
|
|
460
|
+
deps: [],
|
|
461
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
462
|
+
});
|
|
463
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
464
|
+
minVersion: "17.0.0",
|
|
465
|
+
version: "22.2.3",
|
|
466
|
+
type: HyTestimonialsBlock,
|
|
467
|
+
isStandalone: true,
|
|
468
|
+
selector: "hy-testimonials-block",
|
|
469
|
+
inputs: {
|
|
470
|
+
heading: {
|
|
471
|
+
classPropertyName: "heading",
|
|
472
|
+
publicName: "heading",
|
|
473
|
+
isSignal: true,
|
|
474
|
+
isRequired: false,
|
|
475
|
+
transformFunction: null
|
|
476
|
+
},
|
|
477
|
+
items: {
|
|
478
|
+
classPropertyName: "items",
|
|
479
|
+
publicName: "items",
|
|
480
|
+
isSignal: true,
|
|
481
|
+
isRequired: true,
|
|
482
|
+
transformFunction: null
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
ngImport: i0,
|
|
486
|
+
template: "<section>\n <h2>{{ heading() }}</h2>\n <div class=\"wall\">\n @for (item of items(); track item.id) {\n <hy-card material=\"tinted\"\n ><figure>\n <blockquote>{{ item.quote }}</blockquote>\n <figcaption>\n <strong>{{ item.author }}</strong\n ><span>{{ item.role }}</span>\n </figcaption>\n </figure></hy-card\n >\n }\n </div>\n</section>\n",
|
|
487
|
+
styles: [":host{display:block}.wall{columns:18rem;column-gap:1rem}hy-card{display:block;break-inside:avoid;margin-block-end:1rem;padding:1.5rem}figure,blockquote{margin:0}blockquote{line-height:1.8}figcaption{display:grid;gap:.25rem;margin-block-start:1.5rem}span{font-size:.875rem;color:var(--hy-ink-2)}\n"],
|
|
488
|
+
dependencies: [{
|
|
489
|
+
kind: "component",
|
|
490
|
+
type: HyCard,
|
|
491
|
+
selector: "hy-card",
|
|
492
|
+
inputs: ["padding"]
|
|
493
|
+
}],
|
|
494
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
495
|
+
});
|
|
496
|
+
};
|
|
497
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
498
|
+
minVersion: "12.0.0",
|
|
499
|
+
version: "22.2.3",
|
|
500
|
+
ngImport: i0,
|
|
501
|
+
type: HyTestimonialsBlock,
|
|
502
|
+
decorators: [{
|
|
503
|
+
type: Component,
|
|
504
|
+
args: [{
|
|
505
|
+
selector: "hy-testimonials-block",
|
|
506
|
+
imports: [HyCard],
|
|
507
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
508
|
+
template: "<section>\n <h2>{{ heading() }}</h2>\n <div class=\"wall\">\n @for (item of items(); track item.id) {\n <hy-card material=\"tinted\"\n ><figure>\n <blockquote>{{ item.quote }}</blockquote>\n <figcaption>\n <strong>{{ item.author }}</strong\n ><span>{{ item.role }}</span>\n </figcaption>\n </figure></hy-card\n >\n }\n </div>\n</section>\n",
|
|
509
|
+
styles: [":host{display:block}.wall{columns:18rem;column-gap:1rem}hy-card{display:block;break-inside:avoid;margin-block-end:1rem;padding:1.5rem}figure,blockquote{margin:0}blockquote{line-height:1.8}figcaption{display:grid;gap:.25rem;margin-block-start:1.5rem}span{font-size:.875rem;color:var(--hy-ink-2)}\n"]
|
|
510
|
+
}]
|
|
511
|
+
}],
|
|
512
|
+
propDecorators: {
|
|
513
|
+
heading: [{
|
|
514
|
+
type: i0.Input,
|
|
515
|
+
args: [{
|
|
516
|
+
isSignal: true,
|
|
517
|
+
alias: "heading",
|
|
518
|
+
required: false
|
|
519
|
+
}]
|
|
520
|
+
}],
|
|
521
|
+
items: [{
|
|
522
|
+
type: i0.Input,
|
|
523
|
+
args: [{
|
|
524
|
+
isSignal: true,
|
|
525
|
+
alias: "items",
|
|
526
|
+
required: true
|
|
527
|
+
}]
|
|
528
|
+
}]
|
|
529
|
+
}
|
|
530
|
+
});
|
|
531
|
+
var HyProductBlock = class HyProductBlock {
|
|
532
|
+
category = input("", ...ngDevMode ? [{ debugName: "category" }] : /* istanbul ignore next */ []);
|
|
533
|
+
heading = input.required(...ngDevMode ? [{ debugName: "heading" }] : /* istanbul ignore next */ []);
|
|
534
|
+
description = input("", ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
|
|
535
|
+
price = input.required(...ngDevMode ? [{ debugName: "price" }] : /* istanbul ignore next */ []);
|
|
536
|
+
actionHref = input.required(...ngDevMode ? [{ debugName: "actionHref" }] : /* istanbul ignore next */ []);
|
|
537
|
+
actionLabel = input("View product", ...ngDevMode ? [{ debugName: "actionLabel" }] : /* istanbul ignore next */ []);
|
|
538
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
539
|
+
minVersion: "12.0.0",
|
|
540
|
+
version: "22.2.3",
|
|
541
|
+
ngImport: i0,
|
|
542
|
+
type: HyProductBlock,
|
|
543
|
+
deps: [],
|
|
544
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
545
|
+
});
|
|
546
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
547
|
+
minVersion: "17.1.0",
|
|
548
|
+
version: "22.2.3",
|
|
549
|
+
type: HyProductBlock,
|
|
550
|
+
isStandalone: true,
|
|
551
|
+
selector: "hy-product-block",
|
|
552
|
+
inputs: {
|
|
553
|
+
category: {
|
|
554
|
+
classPropertyName: "category",
|
|
555
|
+
publicName: "category",
|
|
556
|
+
isSignal: true,
|
|
557
|
+
isRequired: false,
|
|
558
|
+
transformFunction: null
|
|
559
|
+
},
|
|
560
|
+
heading: {
|
|
561
|
+
classPropertyName: "heading",
|
|
562
|
+
publicName: "heading",
|
|
563
|
+
isSignal: true,
|
|
564
|
+
isRequired: true,
|
|
565
|
+
transformFunction: null
|
|
566
|
+
},
|
|
567
|
+
description: {
|
|
568
|
+
classPropertyName: "description",
|
|
569
|
+
publicName: "description",
|
|
570
|
+
isSignal: true,
|
|
571
|
+
isRequired: false,
|
|
572
|
+
transformFunction: null
|
|
573
|
+
},
|
|
574
|
+
price: {
|
|
575
|
+
classPropertyName: "price",
|
|
576
|
+
publicName: "price",
|
|
577
|
+
isSignal: true,
|
|
578
|
+
isRequired: true,
|
|
579
|
+
transformFunction: null
|
|
580
|
+
},
|
|
581
|
+
actionHref: {
|
|
582
|
+
classPropertyName: "actionHref",
|
|
583
|
+
publicName: "actionHref",
|
|
584
|
+
isSignal: true,
|
|
585
|
+
isRequired: true,
|
|
586
|
+
transformFunction: null
|
|
587
|
+
},
|
|
588
|
+
actionLabel: {
|
|
589
|
+
classPropertyName: "actionLabel",
|
|
590
|
+
publicName: "actionLabel",
|
|
591
|
+
isSignal: true,
|
|
592
|
+
isRequired: false,
|
|
593
|
+
transformFunction: null
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
ngImport: i0,
|
|
597
|
+
template: "<section>\n <div class=\"media\"><ng-content select=\"[hyBlockMedia]\" /></div>\n <div>\n <p>{{ category() }}</p>\n <h2>{{ heading() }}</h2>\n <p>{{ description() }}</p>\n <strong>{{ price() }}</strong>\n <div class=\"choices\"><ng-content select=\"[hyBlockOptions]\" /></div>\n <a hyButton [href]=\"actionHref()\">{{ actionLabel() }}</a\n ><ng-content />\n </div>\n</section>\n",
|
|
598
|
+
styles: [":host{display:block}section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:2rem}.media{min-inline-size:0}h2{font-size:clamp(1.75rem,4vw,3rem)}p{color:var(--hy-ink-2);line-height:1.8}.choices{margin-block:1.5rem}strong{font-size:1.5rem}@media(max-width:48rem){section{grid-template-columns:1fr}}\n"],
|
|
599
|
+
dependencies: [{
|
|
600
|
+
kind: "component",
|
|
601
|
+
type: HyButton,
|
|
602
|
+
selector: "button[hyButton], a[hyButton]",
|
|
603
|
+
inputs: [
|
|
604
|
+
"variant",
|
|
605
|
+
"size",
|
|
606
|
+
"tone",
|
|
607
|
+
"iconOnly",
|
|
608
|
+
"loading",
|
|
609
|
+
"disabled"
|
|
610
|
+
]
|
|
611
|
+
}],
|
|
612
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
613
|
+
});
|
|
614
|
+
};
|
|
615
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
616
|
+
minVersion: "12.0.0",
|
|
617
|
+
version: "22.2.3",
|
|
618
|
+
ngImport: i0,
|
|
619
|
+
type: HyProductBlock,
|
|
620
|
+
decorators: [{
|
|
621
|
+
type: Component,
|
|
622
|
+
args: [{
|
|
623
|
+
selector: "hy-product-block",
|
|
624
|
+
imports: [HyButton],
|
|
625
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
626
|
+
template: "<section>\n <div class=\"media\"><ng-content select=\"[hyBlockMedia]\" /></div>\n <div>\n <p>{{ category() }}</p>\n <h2>{{ heading() }}</h2>\n <p>{{ description() }}</p>\n <strong>{{ price() }}</strong>\n <div class=\"choices\"><ng-content select=\"[hyBlockOptions]\" /></div>\n <a hyButton [href]=\"actionHref()\">{{ actionLabel() }}</a\n ><ng-content />\n </div>\n</section>\n",
|
|
627
|
+
styles: [":host{display:block}section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:2rem}.media{min-inline-size:0}h2{font-size:clamp(1.75rem,4vw,3rem)}p{color:var(--hy-ink-2);line-height:1.8}.choices{margin-block:1.5rem}strong{font-size:1.5rem}@media(max-width:48rem){section{grid-template-columns:1fr}}\n"]
|
|
628
|
+
}]
|
|
629
|
+
}],
|
|
630
|
+
propDecorators: {
|
|
631
|
+
category: [{
|
|
632
|
+
type: i0.Input,
|
|
633
|
+
args: [{
|
|
634
|
+
isSignal: true,
|
|
635
|
+
alias: "category",
|
|
636
|
+
required: false
|
|
637
|
+
}]
|
|
638
|
+
}],
|
|
639
|
+
heading: [{
|
|
640
|
+
type: i0.Input,
|
|
641
|
+
args: [{
|
|
642
|
+
isSignal: true,
|
|
643
|
+
alias: "heading",
|
|
644
|
+
required: true
|
|
645
|
+
}]
|
|
646
|
+
}],
|
|
647
|
+
description: [{
|
|
648
|
+
type: i0.Input,
|
|
649
|
+
args: [{
|
|
650
|
+
isSignal: true,
|
|
651
|
+
alias: "description",
|
|
652
|
+
required: false
|
|
653
|
+
}]
|
|
654
|
+
}],
|
|
655
|
+
price: [{
|
|
656
|
+
type: i0.Input,
|
|
657
|
+
args: [{
|
|
658
|
+
isSignal: true,
|
|
659
|
+
alias: "price",
|
|
660
|
+
required: true
|
|
661
|
+
}]
|
|
662
|
+
}],
|
|
663
|
+
actionHref: [{
|
|
664
|
+
type: i0.Input,
|
|
665
|
+
args: [{
|
|
666
|
+
isSignal: true,
|
|
667
|
+
alias: "actionHref",
|
|
668
|
+
required: true
|
|
669
|
+
}]
|
|
670
|
+
}],
|
|
671
|
+
actionLabel: [{
|
|
672
|
+
type: i0.Input,
|
|
673
|
+
args: [{
|
|
674
|
+
isSignal: true,
|
|
675
|
+
alias: "actionLabel",
|
|
676
|
+
required: false
|
|
677
|
+
}]
|
|
678
|
+
}]
|
|
679
|
+
}
|
|
680
|
+
});
|
|
681
|
+
var HyDashboardBlock = class HyDashboardBlock {
|
|
682
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
683
|
+
minVersion: "12.0.0",
|
|
684
|
+
version: "22.2.3",
|
|
685
|
+
ngImport: i0,
|
|
686
|
+
type: HyDashboardBlock,
|
|
687
|
+
deps: [],
|
|
688
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
689
|
+
});
|
|
690
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
691
|
+
minVersion: "14.0.0",
|
|
692
|
+
version: "22.2.3",
|
|
693
|
+
type: HyDashboardBlock,
|
|
694
|
+
isStandalone: true,
|
|
695
|
+
selector: "hy-dashboard-block",
|
|
696
|
+
ngImport: i0,
|
|
697
|
+
template: "<div class=\"shell\">\n <aside><ng-content select=\"[hyBlockSidebar]\" /></aside>\n <div class=\"main\">\n <header><ng-content select=\"[hyBlockToolbar]\" /></header>\n <ng-content />\n </div>\n</div>\n",
|
|
698
|
+
styles: [":host{display:block}.shell{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1.5rem}.main{min-inline-size:0}header{position:sticky;inset-block-start:0;z-index:1;background:var(--hy-surface-1);padding-block:.75rem}@media(max-width:40rem){.shell{grid-template-columns:1fr}aside{overflow:auto}}\n"],
|
|
699
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
700
|
+
});
|
|
701
|
+
};
|
|
702
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
703
|
+
minVersion: "12.0.0",
|
|
704
|
+
version: "22.2.3",
|
|
705
|
+
ngImport: i0,
|
|
706
|
+
type: HyDashboardBlock,
|
|
707
|
+
decorators: [{
|
|
708
|
+
type: Component,
|
|
709
|
+
args: [{
|
|
710
|
+
selector: "hy-dashboard-block",
|
|
711
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
712
|
+
template: "<div class=\"shell\">\n <aside><ng-content select=\"[hyBlockSidebar]\" /></aside>\n <div class=\"main\">\n <header><ng-content select=\"[hyBlockToolbar]\" /></header>\n <ng-content />\n </div>\n</div>\n",
|
|
713
|
+
styles: [":host{display:block}.shell{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1.5rem}.main{min-inline-size:0}header{position:sticky;inset-block-start:0;z-index:1;background:var(--hy-surface-1);padding-block:.75rem}@media(max-width:40rem){.shell{grid-template-columns:1fr}aside{overflow:auto}}\n"]
|
|
714
|
+
}]
|
|
715
|
+
}]
|
|
716
|
+
});
|
|
717
|
+
var HyKpiStripBlock = class HyKpiStripBlock {
|
|
718
|
+
items = input.required(...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
719
|
+
locale = input(...ngDevMode ? [void 0, { debugName: "locale" }] : /* istanbul ignore next */ []);
|
|
720
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
721
|
+
minVersion: "12.0.0",
|
|
722
|
+
version: "22.2.3",
|
|
723
|
+
ngImport: i0,
|
|
724
|
+
type: HyKpiStripBlock,
|
|
725
|
+
deps: [],
|
|
726
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
727
|
+
});
|
|
728
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
729
|
+
minVersion: "17.0.0",
|
|
730
|
+
version: "22.2.3",
|
|
731
|
+
type: HyKpiStripBlock,
|
|
732
|
+
isStandalone: true,
|
|
733
|
+
selector: "hy-kpi-strip-block",
|
|
734
|
+
inputs: {
|
|
735
|
+
items: {
|
|
736
|
+
classPropertyName: "items",
|
|
737
|
+
publicName: "items",
|
|
738
|
+
isSignal: true,
|
|
739
|
+
isRequired: true,
|
|
740
|
+
transformFunction: null
|
|
741
|
+
},
|
|
742
|
+
locale: {
|
|
743
|
+
classPropertyName: "locale",
|
|
744
|
+
publicName: "locale",
|
|
745
|
+
isSignal: true,
|
|
746
|
+
isRequired: false,
|
|
747
|
+
transformFunction: null
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
ngImport: i0,
|
|
751
|
+
template: "<div class=\"strip\">\n @for (item of items(); track item.id) {\n <hy-stat\n [label]=\"item.label\"\n [value]=\"item.value\"\n [trend]=\"item.trend ?? ''\"\n [prefix]=\"item.prefix ?? ''\"\n [suffix]=\"item.suffix ?? ''\"\n [locale]=\"locale()\"\n />\n }\n</div>\n",
|
|
752
|
+
styles: [":host{display:block}.strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1rem}\n"],
|
|
753
|
+
dependencies: [{
|
|
754
|
+
kind: "component",
|
|
755
|
+
type: HyStat,
|
|
756
|
+
selector: "hy-stat",
|
|
757
|
+
inputs: [
|
|
758
|
+
"value",
|
|
759
|
+
"label",
|
|
760
|
+
"trend",
|
|
761
|
+
"locale",
|
|
762
|
+
"format",
|
|
763
|
+
"animate",
|
|
764
|
+
"prefix",
|
|
765
|
+
"suffix"
|
|
766
|
+
]
|
|
767
|
+
}],
|
|
768
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
769
|
+
});
|
|
770
|
+
};
|
|
771
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
772
|
+
minVersion: "12.0.0",
|
|
773
|
+
version: "22.2.3",
|
|
774
|
+
ngImport: i0,
|
|
775
|
+
type: HyKpiStripBlock,
|
|
776
|
+
decorators: [{
|
|
777
|
+
type: Component,
|
|
778
|
+
args: [{
|
|
779
|
+
selector: "hy-kpi-strip-block",
|
|
780
|
+
imports: [HyStat],
|
|
781
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
782
|
+
template: "<div class=\"strip\">\n @for (item of items(); track item.id) {\n <hy-stat\n [label]=\"item.label\"\n [value]=\"item.value\"\n [trend]=\"item.trend ?? ''\"\n [prefix]=\"item.prefix ?? ''\"\n [suffix]=\"item.suffix ?? ''\"\n [locale]=\"locale()\"\n />\n }\n</div>\n",
|
|
783
|
+
styles: [":host{display:block}.strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1rem}\n"]
|
|
784
|
+
}]
|
|
785
|
+
}],
|
|
786
|
+
propDecorators: {
|
|
787
|
+
items: [{
|
|
788
|
+
type: i0.Input,
|
|
789
|
+
args: [{
|
|
790
|
+
isSignal: true,
|
|
791
|
+
alias: "items",
|
|
792
|
+
required: true
|
|
793
|
+
}]
|
|
794
|
+
}],
|
|
795
|
+
locale: [{
|
|
796
|
+
type: i0.Input,
|
|
797
|
+
args: [{
|
|
798
|
+
isSignal: true,
|
|
799
|
+
alias: "locale",
|
|
800
|
+
required: false
|
|
801
|
+
}]
|
|
802
|
+
}]
|
|
803
|
+
}
|
|
804
|
+
});
|
|
805
|
+
var HyActivityBlock = class HyActivityBlock {
|
|
806
|
+
heading = input("Recent activity", ...ngDevMode ? [{ debugName: "heading" }] : /* istanbul ignore next */ []);
|
|
807
|
+
items = input.required(...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
808
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
809
|
+
minVersion: "12.0.0",
|
|
810
|
+
version: "22.2.3",
|
|
811
|
+
ngImport: i0,
|
|
812
|
+
type: HyActivityBlock,
|
|
813
|
+
deps: [],
|
|
814
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
815
|
+
});
|
|
816
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
817
|
+
minVersion: "17.0.0",
|
|
818
|
+
version: "22.2.3",
|
|
819
|
+
type: HyActivityBlock,
|
|
820
|
+
isStandalone: true,
|
|
821
|
+
selector: "hy-activity-block",
|
|
822
|
+
inputs: {
|
|
823
|
+
heading: {
|
|
824
|
+
classPropertyName: "heading",
|
|
825
|
+
publicName: "heading",
|
|
826
|
+
isSignal: true,
|
|
827
|
+
isRequired: false,
|
|
828
|
+
transformFunction: null
|
|
829
|
+
},
|
|
830
|
+
items: {
|
|
831
|
+
classPropertyName: "items",
|
|
832
|
+
publicName: "items",
|
|
833
|
+
isSignal: true,
|
|
834
|
+
isRequired: true,
|
|
835
|
+
transformFunction: null
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
ngImport: i0,
|
|
839
|
+
template: "<section>\n <h2>{{ heading() }}</h2>\n <ol>\n @for (item of items(); track item.id) {\n <li>\n <div>\n <strong>{{ item.heading }}</strong>\n <p>{{ item.description }}</p>\n </div>\n <time [attr.datetime]=\"item.dateTime\">{{ item.time }}</time>\n </li>\n }\n </ol>\n <ng-content />\n</section>\n",
|
|
840
|
+
styles: [":host{display:block}ol{list-style:none;padding:0}li{display:flex;justify-content:space-between;gap:1rem;padding-block:1rem;border-block-end:1px solid var(--hy-line)}p,time{color:var(--hy-ink-2);font-size:.875rem}p{margin-block:.5rem 0}time{white-space:nowrap}\n"],
|
|
841
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
842
|
+
});
|
|
843
|
+
};
|
|
844
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
845
|
+
minVersion: "12.0.0",
|
|
846
|
+
version: "22.2.3",
|
|
847
|
+
ngImport: i0,
|
|
848
|
+
type: HyActivityBlock,
|
|
849
|
+
decorators: [{
|
|
850
|
+
type: Component,
|
|
851
|
+
args: [{
|
|
852
|
+
selector: "hy-activity-block",
|
|
853
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
854
|
+
template: "<section>\n <h2>{{ heading() }}</h2>\n <ol>\n @for (item of items(); track item.id) {\n <li>\n <div>\n <strong>{{ item.heading }}</strong>\n <p>{{ item.description }}</p>\n </div>\n <time [attr.datetime]=\"item.dateTime\">{{ item.time }}</time>\n </li>\n }\n </ol>\n <ng-content />\n</section>\n",
|
|
855
|
+
styles: [":host{display:block}ol{list-style:none;padding:0}li{display:flex;justify-content:space-between;gap:1rem;padding-block:1rem;border-block-end:1px solid var(--hy-line)}p,time{color:var(--hy-ink-2);font-size:.875rem}p{margin-block:.5rem 0}time{white-space:nowrap}\n"]
|
|
856
|
+
}]
|
|
857
|
+
}],
|
|
858
|
+
propDecorators: {
|
|
859
|
+
heading: [{
|
|
860
|
+
type: i0.Input,
|
|
861
|
+
args: [{
|
|
862
|
+
isSignal: true,
|
|
863
|
+
alias: "heading",
|
|
864
|
+
required: false
|
|
865
|
+
}]
|
|
866
|
+
}],
|
|
867
|
+
items: [{
|
|
868
|
+
type: i0.Input,
|
|
869
|
+
args: [{
|
|
870
|
+
isSignal: true,
|
|
871
|
+
alias: "items",
|
|
872
|
+
required: true
|
|
873
|
+
}]
|
|
874
|
+
}]
|
|
875
|
+
}
|
|
876
|
+
});
|
|
877
|
+
var HyFilterToolbarBlock = class HyFilterToolbarBlock {
|
|
878
|
+
fields = input.required(...ngDevMode ? [{ debugName: "fields" }] : /* istanbul ignore next */ []);
|
|
879
|
+
clauses = model([], ...ngDevMode ? [{ debugName: "clauses" }] : /* istanbul ignore next */ []);
|
|
880
|
+
label = input("Filter results", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
881
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
882
|
+
minVersion: "12.0.0",
|
|
883
|
+
version: "22.2.3",
|
|
884
|
+
ngImport: i0,
|
|
885
|
+
type: HyFilterToolbarBlock,
|
|
886
|
+
deps: [],
|
|
887
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
888
|
+
});
|
|
889
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
890
|
+
minVersion: "17.1.0",
|
|
891
|
+
version: "22.2.3",
|
|
892
|
+
type: HyFilterToolbarBlock,
|
|
893
|
+
isStandalone: true,
|
|
894
|
+
selector: "hy-filter-toolbar-block",
|
|
895
|
+
inputs: {
|
|
896
|
+
fields: {
|
|
897
|
+
classPropertyName: "fields",
|
|
898
|
+
publicName: "fields",
|
|
899
|
+
isSignal: true,
|
|
900
|
+
isRequired: true,
|
|
901
|
+
transformFunction: null
|
|
902
|
+
},
|
|
903
|
+
clauses: {
|
|
904
|
+
classPropertyName: "clauses",
|
|
905
|
+
publicName: "clauses",
|
|
906
|
+
isSignal: true,
|
|
907
|
+
isRequired: false,
|
|
908
|
+
transformFunction: null
|
|
909
|
+
},
|
|
910
|
+
label: {
|
|
911
|
+
classPropertyName: "label",
|
|
912
|
+
publicName: "label",
|
|
913
|
+
isSignal: true,
|
|
914
|
+
isRequired: false,
|
|
915
|
+
transformFunction: null
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
outputs: { clauses: "clausesChange" },
|
|
919
|
+
ngImport: i0,
|
|
920
|
+
template: "<hy-filter-bar\n [fields]=\"fields()\"\n [clauses]=\"clauses()\"\n (clausesChange)=\"clauses.set($event)\"\n [label]=\"label()\"\n ><ng-content\n/></hy-filter-bar>\n",
|
|
921
|
+
dependencies: [{
|
|
922
|
+
kind: "component",
|
|
923
|
+
type: HyFilterBar,
|
|
924
|
+
selector: "hy-filter-bar",
|
|
925
|
+
inputs: [
|
|
926
|
+
"fields",
|
|
927
|
+
"clauses",
|
|
928
|
+
"label",
|
|
929
|
+
"clearLabel",
|
|
930
|
+
"removeLabel",
|
|
931
|
+
"anyLabel",
|
|
932
|
+
"activeLabel"
|
|
933
|
+
],
|
|
934
|
+
outputs: ["clausesChange"]
|
|
935
|
+
}],
|
|
936
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
937
|
+
});
|
|
938
|
+
};
|
|
939
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
940
|
+
minVersion: "12.0.0",
|
|
941
|
+
version: "22.2.3",
|
|
942
|
+
ngImport: i0,
|
|
943
|
+
type: HyFilterToolbarBlock,
|
|
944
|
+
decorators: [{
|
|
945
|
+
type: Component,
|
|
946
|
+
args: [{
|
|
947
|
+
selector: "hy-filter-toolbar-block",
|
|
948
|
+
imports: [HyFilterBar],
|
|
949
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
950
|
+
template: "<hy-filter-bar\n [fields]=\"fields()\"\n [clauses]=\"clauses()\"\n (clausesChange)=\"clauses.set($event)\"\n [label]=\"label()\"\n ><ng-content\n/></hy-filter-bar>\n"
|
|
951
|
+
}]
|
|
952
|
+
}],
|
|
953
|
+
propDecorators: {
|
|
954
|
+
fields: [{
|
|
955
|
+
type: i0.Input,
|
|
956
|
+
args: [{
|
|
957
|
+
isSignal: true,
|
|
958
|
+
alias: "fields",
|
|
959
|
+
required: true
|
|
960
|
+
}]
|
|
961
|
+
}],
|
|
962
|
+
clauses: [{
|
|
963
|
+
type: i0.Input,
|
|
964
|
+
args: [{
|
|
965
|
+
isSignal: true,
|
|
966
|
+
alias: "clauses",
|
|
967
|
+
required: false
|
|
968
|
+
}]
|
|
969
|
+
}, {
|
|
970
|
+
type: i0.Output,
|
|
971
|
+
args: ["clausesChange"]
|
|
972
|
+
}],
|
|
973
|
+
label: [{
|
|
974
|
+
type: i0.Input,
|
|
975
|
+
args: [{
|
|
976
|
+
isSignal: true,
|
|
977
|
+
alias: "label",
|
|
978
|
+
required: false
|
|
979
|
+
}]
|
|
980
|
+
}]
|
|
981
|
+
}
|
|
982
|
+
});
|
|
983
|
+
export { HyActivityBlock, HyDashboardBlock, HyFeatureBlock, HyFilterToolbarBlock, HyHeroBlock, HyKpiStripBlock, HyPricingBlock, HyProductBlock, HyTestimonialsBlock };
|
|
984
|
+
|
|
985
|
+
//# sourceMappingURL=hyalo-angular-blocks.mjs.map
|