@carefirst/library 6.3.5 → 6.4.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.
@@ -1150,6 +1150,7 @@ class BadgeComponent {
1150
1150
  type = 'primary';
1151
1151
  icon;
1152
1152
  emoji;
1153
+ 'extra-small';
1153
1154
  small;
1154
1155
  large;
1155
1156
  stretch;
@@ -1158,6 +1159,7 @@ class BadgeComponent {
1158
1159
  inputIcon = undefined;
1159
1160
  inputEmoji = undefined;
1160
1161
  fontsize = 10;
1162
+ inputExtraSmall = false;
1161
1163
  inputSmall = false;
1162
1164
  inputLarge = false;
1163
1165
  inputStretch = false;
@@ -1173,6 +1175,10 @@ class BadgeComponent {
1173
1175
  this.inputIcon = validateStringValue(changes, 'icon', iconsC.slice(), this.inputIcon);
1174
1176
  //--- Emoji
1175
1177
  this.inputEmoji = validateStringValue(changes, 'emoji', emojisC.slice(), this.inputEmoji);
1178
+ //--- Extra Small Badge
1179
+ this.inputExtraSmall = checkTruthAttribute(changes, 'extra-small', this.inputExtraSmall);
1180
+ if (this.inputExtraSmall)
1181
+ this.fontsize = 8;
1176
1182
  //--- Small Badge
1177
1183
  this.inputSmall = checkTruthAttribute(changes, 'small', this.inputSmall);
1178
1184
  if (this.inputSmall)
@@ -1185,17 +1191,19 @@ class BadgeComponent {
1185
1191
  this.inputStretch = checkTruthAttribute(changes, 'stretch', this.inputStretch);
1186
1192
  }
1187
1193
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1188
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.9", type: BadgeComponent, isStandalone: false, selector: "cf-badge", inputs: { type: "type", icon: "icon", emoji: "emoji", small: "small", large: "large", stretch: "stretch" }, usesOnChanges: true, ngImport: i0, template: "<div [className]=\"'cf-badge-' + inputType\" [ngClass]=\"{ small: inputSmall, large: inputLarge, stretch: inputStretch }\">\n @if (inputType !== 'feedback-busy') {\n @if (inputIcon) {\n <cf-icon [icon]=\"inputIcon\" [height]=\"fontsize\"></cf-icon>\n } @else if (inputEmoji) {\n <cf-emoji [emoji]=\"inputEmoji\" [height]=\"fontsize\"></cf-emoji>\n }\n }\n @if (inputType === 'feedback-busy') {\n <cf-spinner primaryColor size=\"12\"></cf-spinner>\n }\n <p><ng-content></ng-content></p>\n</div>\n", styles: ["div[class^=cf-badge-]{--cf-badge-background: var(--cf-app-color-primary);--cf-badge-text-color: var(--cf-app-text-color-light);--cf-svg-overwrite-stroke-color: var(--cf-badge-text-color);display:flex;flex-direction:row;gap:1rem;justify-content:center;align-items:center;padding:0px 1.6rem;border-radius:2rem;width:fit-content;background:var(--cf-badge-background);height:3.4rem}div[class^=cf-badge-]>p{width:fit-content;font-size:1.2rem;font-weight:500;font-style:normal;line-height:auto;color:var(--cf-badge-text-color)}div[class^=cf-badge-].small{height:2.8rem}div[class^=cf-badge-].small>p{font-size:1rem}div[class^=cf-badge-].large{height:4rem}div[class^=cf-badge-].large>p{font-size:1.6rem}div[class^=cf-badge-].stretch{width:100%}div.cf-badge-feedback-primary{--cf-badge-background: var(--cf-app-color-primary);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-white{--cf-badge-background: #fff;--cf-badge-text-color: var(--cf-app-text-color-default)}div.cf-badge-success{--cf-badge-background: var(--cf-app-system-color-success-100);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-alert{--cf-badge-background: var(--cf-app-system-color-error-100);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-accent{--cf-badge-background: var(--cf-app-color-accent);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-warning{--cf-badge-background: var(--cf-app-system-color-warning-100);--cf-badge-text-color: var(--cf-app-text-color-default)}div.cf-badge-disabled{--cf-badge-background: var(--cf-app-system-color-grey-disabled);--cf-badge-text-color: var(--cf-app-text-color-grey)}div.cf-badge-feedback-success{--cf-badge-background: var(--cf-app-system-color-success-25);--cf-badge-text-color: var(--cf-app-system-color-success-100)}div.cf-badge-feedback-error{--cf-badge-background: var(--cf-app-system-color-error-25);--cf-badge-text-color: var(--cf-app-system-color-error-100)}div.cf-badge-feedback-warning,div.cf-badge-feedback-busy{--cf-badge-background: var(--cf-app-system-color-warning-25);--cf-badge-text-color: var(--cf-app-system-color-warning-100)}div.cf-badge-feedback-busy ion-spinner{height:1.2rem;width:1.2rem}div.cf-badge-feedback-accent{--cf-badge-background: var(--cf-app-color-accent-25);--cf-badge-text-color: var(--cf-app-color-accent)}div.cf-badge-feedback-disabled{--cf-badge-background: #fff;--cf-badge-text-color: color-mix(in srgb, var(--cf-app-system-color-grey-disabled) 85%, var(--cf-app-color-white))}div.cf-badge-custom-color{--cf-badge-background: var(--custom-color, var(--cf-app-color-primary));--cf-badge-text-color: var(--custom-color-text, var(--cf-app-text-color-light))}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconComponent, selector: "cf-icon", inputs: ["icon", "height", "heightMobile", "heightDesktop", "iconColor", "iconColorCustom"] }, { kind: "component", type: EmojiComponent, selector: "cf-emoji", inputs: ["emoji", "height", "heightMobile", "heightDesktop"] }, { kind: "component", type: SpinnerComponent, selector: "cf-spinner", inputs: ["size", "primaryColor"] }] });
1194
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.9", type: BadgeComponent, isStandalone: false, selector: "cf-badge", inputs: { type: "type", icon: "icon", emoji: "emoji", "extra-small": "extra-small", small: "small", large: "large", stretch: "stretch" }, usesOnChanges: true, ngImport: i0, template: "<div\n [className]=\"'cf-badge-' + inputType\"\n [ngClass]=\"{\n 'extra-small': inputExtraSmall,\n 'cf-button-text-extra-small': inputExtraSmall,\n small: inputSmall,\n 'cf-button-text-small': inputSmall,\n large: inputLarge,\n 'cf-button-text-large': inputLarge,\n stretch: inputStretch,\n }\">\n @if (inputType !== 'feedback-busy') {\n @if (inputIcon) {\n <cf-icon [icon]=\"inputIcon\" [height]=\"fontsize\"></cf-icon>\n } @else if (inputEmoji) {\n <cf-emoji [emoji]=\"inputEmoji\" [height]=\"fontsize\"></cf-emoji>\n }\n }\n @if (inputType === 'feedback-busy') {\n <cf-spinner primaryColor [size]=\"inputExtraSmall ? '8' : '12'\"></cf-spinner>\n }\n <p><ng-content></ng-content></p>\n</div>\n", styles: ["div[class^=cf-badge-]{--cf-badge-background: var(--cf-app-color-primary);--cf-badge-text-color: var(--cf-app-text-color-light);--cf-svg-overwrite-stroke-color: var(--cf-badge-text-color);display:flex;flex-direction:row;gap:1rem;justify-content:center;align-items:center;padding:0px 1.6rem;border-radius:2rem;width:fit-content;background:var(--cf-badge-background);height:3.4rem}div[class^=cf-badge-]>p{color:var(--cf-badge-text-color)}div[class^=cf-badge-].extra-small{padding:0px 1.2rem;height:2.1rem}div[class^=cf-badge-].small{height:2.8rem}div[class^=cf-badge-].large{height:4rem}div[class^=cf-badge-].stretch{width:100%}div.cf-badge-feedback-primary{--cf-badge-background: var(--cf-app-color-primary);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-white{--cf-badge-background: var(--cf-app-background-light);--cf-badge-text-color: var(--cf-app-text-color-default)}div.cf-badge-success{--cf-badge-background: var(--cf-app-system-color-success-100);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-alert{--cf-badge-background: var(--cf-app-system-color-error-100);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-accent{--cf-badge-background: var(--cf-app-color-accent);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-warning{--cf-badge-background: var(--cf-app-system-color-warning-100);--cf-badge-text-color: var(--cf-app-text-color-default)}div.cf-badge-disabled{--cf-badge-background: var(--cf-app-system-color-grey-disabled);--cf-badge-text-color: var(--cf-app-text-color-grey)}div.cf-badge-feedback-success{--cf-badge-background: var(--cf-app-system-color-success-25);--cf-badge-text-color: var(--cf-app-system-color-success-100)}div.cf-badge-feedback-error{--cf-badge-background: var(--cf-app-system-color-error-25);--cf-badge-text-color: var(--cf-app-system-color-error-100)}div.cf-badge-feedback-warning,div.cf-badge-feedback-busy{--cf-badge-background: var(--cf-app-system-color-warning-25);--cf-badge-text-color: var(--cf-app-system-color-warning-100)}div.cf-badge-feedback-busy ion-spinner{height:1.2rem;width:1.2rem}div.cf-badge-feedback-accent{--cf-badge-background: var(--cf-app-color-accent-25);--cf-badge-text-color: var(--cf-app-color-accent)}div.cf-badge-feedback-disabled{--cf-badge-background: var(--cf-app-background-light);--cf-badge-text-color: var(--cf-app-system-color-grey-disabled)}div.cf-badge-custom-color{--cf-badge-background: var(--custom-color, var(--cf-app-color-primary));--cf-badge-text-color: var(--custom-color-text, var(--cf-app-text-color-light))}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconComponent, selector: "cf-icon", inputs: ["icon", "height", "heightMobile", "heightDesktop", "iconColor", "iconColorCustom"] }, { kind: "component", type: EmojiComponent, selector: "cf-emoji", inputs: ["emoji", "height", "heightMobile", "heightDesktop"] }, { kind: "component", type: SpinnerComponent, selector: "cf-spinner", inputs: ["size", "primaryColor"] }] });
1189
1195
  }
1190
1196
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: BadgeComponent, decorators: [{
1191
1197
  type: Component,
1192
- args: [{ selector: 'cf-badge', standalone: false, template: "<div [className]=\"'cf-badge-' + inputType\" [ngClass]=\"{ small: inputSmall, large: inputLarge, stretch: inputStretch }\">\n @if (inputType !== 'feedback-busy') {\n @if (inputIcon) {\n <cf-icon [icon]=\"inputIcon\" [height]=\"fontsize\"></cf-icon>\n } @else if (inputEmoji) {\n <cf-emoji [emoji]=\"inputEmoji\" [height]=\"fontsize\"></cf-emoji>\n }\n }\n @if (inputType === 'feedback-busy') {\n <cf-spinner primaryColor size=\"12\"></cf-spinner>\n }\n <p><ng-content></ng-content></p>\n</div>\n", styles: ["div[class^=cf-badge-]{--cf-badge-background: var(--cf-app-color-primary);--cf-badge-text-color: var(--cf-app-text-color-light);--cf-svg-overwrite-stroke-color: var(--cf-badge-text-color);display:flex;flex-direction:row;gap:1rem;justify-content:center;align-items:center;padding:0px 1.6rem;border-radius:2rem;width:fit-content;background:var(--cf-badge-background);height:3.4rem}div[class^=cf-badge-]>p{width:fit-content;font-size:1.2rem;font-weight:500;font-style:normal;line-height:auto;color:var(--cf-badge-text-color)}div[class^=cf-badge-].small{height:2.8rem}div[class^=cf-badge-].small>p{font-size:1rem}div[class^=cf-badge-].large{height:4rem}div[class^=cf-badge-].large>p{font-size:1.6rem}div[class^=cf-badge-].stretch{width:100%}div.cf-badge-feedback-primary{--cf-badge-background: var(--cf-app-color-primary);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-white{--cf-badge-background: #fff;--cf-badge-text-color: var(--cf-app-text-color-default)}div.cf-badge-success{--cf-badge-background: var(--cf-app-system-color-success-100);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-alert{--cf-badge-background: var(--cf-app-system-color-error-100);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-accent{--cf-badge-background: var(--cf-app-color-accent);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-warning{--cf-badge-background: var(--cf-app-system-color-warning-100);--cf-badge-text-color: var(--cf-app-text-color-default)}div.cf-badge-disabled{--cf-badge-background: var(--cf-app-system-color-grey-disabled);--cf-badge-text-color: var(--cf-app-text-color-grey)}div.cf-badge-feedback-success{--cf-badge-background: var(--cf-app-system-color-success-25);--cf-badge-text-color: var(--cf-app-system-color-success-100)}div.cf-badge-feedback-error{--cf-badge-background: var(--cf-app-system-color-error-25);--cf-badge-text-color: var(--cf-app-system-color-error-100)}div.cf-badge-feedback-warning,div.cf-badge-feedback-busy{--cf-badge-background: var(--cf-app-system-color-warning-25);--cf-badge-text-color: var(--cf-app-system-color-warning-100)}div.cf-badge-feedback-busy ion-spinner{height:1.2rem;width:1.2rem}div.cf-badge-feedback-accent{--cf-badge-background: var(--cf-app-color-accent-25);--cf-badge-text-color: var(--cf-app-color-accent)}div.cf-badge-feedback-disabled{--cf-badge-background: #fff;--cf-badge-text-color: color-mix(in srgb, var(--cf-app-system-color-grey-disabled) 85%, var(--cf-app-color-white))}div.cf-badge-custom-color{--cf-badge-background: var(--custom-color, var(--cf-app-color-primary));--cf-badge-text-color: var(--custom-color-text, var(--cf-app-text-color-light))}\n"] }]
1198
+ args: [{ selector: 'cf-badge', standalone: false, template: "<div\n [className]=\"'cf-badge-' + inputType\"\n [ngClass]=\"{\n 'extra-small': inputExtraSmall,\n 'cf-button-text-extra-small': inputExtraSmall,\n small: inputSmall,\n 'cf-button-text-small': inputSmall,\n large: inputLarge,\n 'cf-button-text-large': inputLarge,\n stretch: inputStretch,\n }\">\n @if (inputType !== 'feedback-busy') {\n @if (inputIcon) {\n <cf-icon [icon]=\"inputIcon\" [height]=\"fontsize\"></cf-icon>\n } @else if (inputEmoji) {\n <cf-emoji [emoji]=\"inputEmoji\" [height]=\"fontsize\"></cf-emoji>\n }\n }\n @if (inputType === 'feedback-busy') {\n <cf-spinner primaryColor [size]=\"inputExtraSmall ? '8' : '12'\"></cf-spinner>\n }\n <p><ng-content></ng-content></p>\n</div>\n", styles: ["div[class^=cf-badge-]{--cf-badge-background: var(--cf-app-color-primary);--cf-badge-text-color: var(--cf-app-text-color-light);--cf-svg-overwrite-stroke-color: var(--cf-badge-text-color);display:flex;flex-direction:row;gap:1rem;justify-content:center;align-items:center;padding:0px 1.6rem;border-radius:2rem;width:fit-content;background:var(--cf-badge-background);height:3.4rem}div[class^=cf-badge-]>p{color:var(--cf-badge-text-color)}div[class^=cf-badge-].extra-small{padding:0px 1.2rem;height:2.1rem}div[class^=cf-badge-].small{height:2.8rem}div[class^=cf-badge-].large{height:4rem}div[class^=cf-badge-].stretch{width:100%}div.cf-badge-feedback-primary{--cf-badge-background: var(--cf-app-color-primary);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-white{--cf-badge-background: var(--cf-app-background-light);--cf-badge-text-color: var(--cf-app-text-color-default)}div.cf-badge-success{--cf-badge-background: var(--cf-app-system-color-success-100);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-alert{--cf-badge-background: var(--cf-app-system-color-error-100);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-accent{--cf-badge-background: var(--cf-app-color-accent);--cf-badge-text-color: var(--cf-app-text-color-light)}div.cf-badge-warning{--cf-badge-background: var(--cf-app-system-color-warning-100);--cf-badge-text-color: var(--cf-app-text-color-default)}div.cf-badge-disabled{--cf-badge-background: var(--cf-app-system-color-grey-disabled);--cf-badge-text-color: var(--cf-app-text-color-grey)}div.cf-badge-feedback-success{--cf-badge-background: var(--cf-app-system-color-success-25);--cf-badge-text-color: var(--cf-app-system-color-success-100)}div.cf-badge-feedback-error{--cf-badge-background: var(--cf-app-system-color-error-25);--cf-badge-text-color: var(--cf-app-system-color-error-100)}div.cf-badge-feedback-warning,div.cf-badge-feedback-busy{--cf-badge-background: var(--cf-app-system-color-warning-25);--cf-badge-text-color: var(--cf-app-system-color-warning-100)}div.cf-badge-feedback-busy ion-spinner{height:1.2rem;width:1.2rem}div.cf-badge-feedback-accent{--cf-badge-background: var(--cf-app-color-accent-25);--cf-badge-text-color: var(--cf-app-color-accent)}div.cf-badge-feedback-disabled{--cf-badge-background: var(--cf-app-background-light);--cf-badge-text-color: var(--cf-app-system-color-grey-disabled)}div.cf-badge-custom-color{--cf-badge-background: var(--custom-color, var(--cf-app-color-primary));--cf-badge-text-color: var(--custom-color-text, var(--cf-app-text-color-light))}\n"] }]
1193
1199
  }], propDecorators: { type: [{
1194
1200
  type: Input
1195
1201
  }], icon: [{
1196
1202
  type: Input
1197
1203
  }], emoji: [{
1198
1204
  type: Input
1205
+ }], "extra-small": [{
1206
+ type: Input
1199
1207
  }], small: [{
1200
1208
  type: Input
1201
1209
  }], large: [{
@@ -2013,11 +2021,11 @@ class PageComponent {
2013
2021
  this.inputStickyButtonOn = checkTruthAttribute(changes, 'stickyButtonOn', this.inputStickyButtonOn);
2014
2022
  }
2015
2023
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: PageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2016
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.9", type: PageComponent, isStandalone: false, selector: "cf-page", inputs: { centerH: "centerH", centerV: "centerV", headerInheritanceOff: "headerInheritanceOff", stickyHeaderOff: "stickyHeaderOff", dark: "dark", noScroll: "noScroll", devMode: "devMode", buttonsVertical: "buttonsVertical", stickyButtonOn: "stickyButtonOn", noStickyButtonFade: "noStickyButtonFade" }, outputs: { scrollEvent: "scrollEvent" }, usesOnChanges: true, ngImport: i0, template: "<ion-content\n scrollEvents=\"true\"\n class=\"ion-page cf-page\"\n [ngClass]=\"{ 'bg-dark': inputDark, 'no-scroll': inputNoScroll, 'dev-mode': inputDevMode }\"\n (ionScroll)=\"scrollEvent.emit($event)\">\n <div id=\"page-setup\" [ngClass]=\"{ 'center-v': inputCenterV }\">\n <!-- Header -->\n <div\n id=\"header\"\n [ngClass]=\"{\n 'center-h': inputCenterH && !inputHeaderInheritanceOff,\n 'center-v': inputCenterV && !inputHeaderInheritanceOff,\n 'sticky-header-off': inputStickyHeaderOff,\n 'ion-no-border': true,\n }\">\n <div class=\"header-content content-base\">\n <ng-content select=\"[cf-page-header]\"></ng-content>\n </div>\n </div>\n <!-- Content and Buttons -->\n <div id=\"device-spacing\" [ngClass]=\"{ 'center-h': inputCenterH, 'center-v': inputCenterV }\">\n <div class=\"content content-base\">\n <ng-content></ng-content>\n </div>\n <div id=\"page-buttons\">\n <div class=\"content content-base\" [ngClass]=\"{ 'vertical-buttons': inputButtonsVertical }\">\n <ng-content select=\"[cf-page-buttons]\"></ng-content>\n </div>\n </div>\n </div>\n <!-- Footer -->\n <div id=\"footer\">\n <div class=\"content content-base\">\n <ng-content select=\"[cf-page-footer]\"></ng-content>\n </div>\n </div>\n <!-- Sticky-buttons -->\n @if (inputStickyButtonOn) {\n <div id=\"sticky-buttons\">\n <div id=\"overlay\" [ngClass]=\"{ off: inputNoStickyButtonFade }\"> </div>\n <div id=\"buttons-container-background\">\n <div id=\"buttons-container\">\n <div class=\"content content-base\" [ngClass]=\"{ 'vertical-buttons': inputButtonsVertical }\">\n <ng-content select=\"[cf-page-sticky-buttons]\"></ng-content>\n </div>\n </div>\n </div>\n </div>\n }\n </div>\n</ion-content>\n", styles: ["ion-content.cf-page{--page-background-color: var(--cf-page-main-bg-color, var(--cf-app-color-white))}ion-content.cf-page.bg-dark{--page-background-color: var(--cf-app-background-dark)}ion-content.cf-page::part(scroll){background-color:var(--page-background-color);-ms-overflow-style:none;scrollbar-width:none}ion-content.cf-page::part(scroll)::-webkit-scrollbar{display:none}ion-content.cf-page.no-scroll::part(scroll){overflow:hidden}ion-content.cf-page{--main-page-block-padding: 24px}@media (min-width: 768px){ion-content.cf-page{--main-page-block-padding: 48px}}ion-content.cf-page .content-base{display:flex;flex-direction:column}ion-content.cf-page .content-base>*{max-width:100%}ion-content.cf-page #page-setup{position:relative;width:100%;min-height:100%;height:fit-content;flex-direction:column;display:flex}ion-content.cf-page #page-setup>*{width:100%;padding-inline:var(--cf-page-inline-padding, 16px)}@media (min-width: 768px){ion-content.cf-page #page-setup>*{padding-inline:var(--cf-page-inline-padding, 72px)}}ion-content.cf-page #page-setup .content{width:100%;max-width:var(--cf-page-mobile-max-width, 100%)}@media (min-width: 768px){ion-content.cf-page #page-setup .content{max-width:var(--cf-page-desktop-max-width, 1300px)}}ion-content.cf-page #page-setup #header{display:flex;flex-direction:column;align-items:center;position:sticky;top:0;z-index:10;background-color:var(--page-background-color)}ion-content.cf-page #page-setup #header .header-content{width:100%;max-width:var(--cf-page-mobile-header-max-width, var(--cf-page-mobile-max-width, 100%))}@media (min-width: 768px){ion-content.cf-page #page-setup #header .header-content{max-width:var(--cf-page-desktop-header-max-width, var(--cf-page-desktop-max-width, 1300px))}}ion-content.cf-page #page-setup #header.sticky-header-off{position:relative}ion-content.cf-page #page-setup #device-spacing{flex-grow:1;display:flex;flex-direction:column}ion-content.cf-page #page-setup #device-spacing>.content:first-child{flex-grow:1;width:min(var(--cf-page-content-mobile-max-width, 100%),100%)}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing>.content:first-child{flex-grow:0;width:min(var(--cf-page-content-desktop-max-width, 100%),100%)}}ion-content.cf-page #page-setup #device-spacing #page-buttons{width:100%;max-width:var(--cf-page-mobile-max-width, 100%)}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing #page-buttons{max-width:var(--cf-page-desktop-max-width, 1300px)}}ion-content.cf-page #page-setup #device-spacing #page-buttons>.content{justify-content:center;align-items:center;flex-wrap:nowrap;gap:16px;width:min(var(--cf-page-content-mobile-max-width, 100%),100%);margin-inline:auto}ion-content.cf-page #page-setup #device-spacing #page-buttons>.content:not(:empty){padding-bottom:var(--main-page-block-padding)}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing #page-buttons>.content{flex-direction:row;width:min(var(--cf-page-content-desktop-max-width, 100%),100%)}}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing #page-buttons>.vertical-buttons{flex-direction:column;align-items:center}}ion-content.cf-page #page-setup #header.center-h,ion-content.cf-page #page-setup #device-spacing.center-h,ion-content.cf-page #page-setup #device-spacing.center-h>.content{align-items:center;text-align:center}ion-content.cf-page #page-setup #header.center-v,ion-content.cf-page #page-setup #device-spacing.center-v,ion-content.cf-page #page-setup #device-spacing.center-v>.content{justify-content:center}ion-content.cf-page #page-setup #footer{display:flex;flex-direction:column;align-items:center;background-color:var(--cf-page-footer-bg-color, transparent)}ion-content.cf-page #page-setup #sticky-buttons{--fade-height: var(--cf-page-sticky-button-fade-height, 48px);display:flex;flex-direction:column;align-items:center;position:sticky;bottom:0;z-index:10;background-color:transparent;margin-inline:auto;padding-inline:0px}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background{background-color:var(--page-background-color);width:100%;display:flex;flex-direction:column;align-items:center;margin-top:var(--fade-height);padding-inline:var(--cf-page-inline-padding, 16px)}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background{padding-inline:var(--cf-page-inline-padding, 72px)}}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container{padding-top:12px;width:100%;max-width:var(--cf-page-mobile-max-width, 100%)}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container{max-width:var(--cf-page-desktop-max-width, 1300px)}}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.content{justify-content:center;align-items:center;flex-wrap:nowrap;gap:16px;width:min(var(--cf-page-content-mobile-max-width, 100%),100%);margin-inline:auto}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.content:not(:empty){padding-bottom:var(--main-page-block-padding)}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.content{flex-direction:row;width:min(var(--cf-page-content-desktop-max-width, 100%),100%)}}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.vertical-buttons{flex-direction:column;align-items:center}}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container{padding-top:24px}}ion-content.cf-page #page-setup #sticky-buttons #overlay{width:100%;height:var(--fade-height);position:absolute;background-image:linear-gradient(to bottom,transparent,var(--page-background-color) 80%)}ion-content.cf-page #page-setup #sticky-buttons #overlay.off{background-color:var(--page-background-color)}#page-setup.center-v{justify-content:center}ion-content.cf-page.dev-mode #page-setup{background-color:#0ff}ion-content.cf-page.dev-mode #page-setup #header{background-color:#00f}ion-content.cf-page.dev-mode #page-setup .header-content{background-color:#ff0}ion-content.cf-page.dev-mode #page-setup .content{background-color:green}ion-content.cf-page.dev-mode #page-setup #page-buttons>.content{background-color:tomato}ion-content.cf-page.dev-mode #page-setup #footer{background-color:brown}ion-content.cf-page.dev-mode #page-setup #sticky-buttons #buttons-container-background{background-color:#7fff00}\n"], dependencies: [{ kind: "component", type: i1.IonContent, selector: "ion-content", inputs: ["color", "fixedSlotPlacement", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
2024
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.9", type: PageComponent, isStandalone: false, selector: "cf-page", inputs: { centerH: "centerH", centerV: "centerV", headerInheritanceOff: "headerInheritanceOff", stickyHeaderOff: "stickyHeaderOff", dark: "dark", noScroll: "noScroll", devMode: "devMode", buttonsVertical: "buttonsVertical", stickyButtonOn: "stickyButtonOn", noStickyButtonFade: "noStickyButtonFade" }, outputs: { scrollEvent: "scrollEvent" }, usesOnChanges: true, ngImport: i0, template: "<ion-content\n scrollEvents=\"true\"\n class=\"ion-page cf-page\"\n [ngClass]=\"{ 'bg-dark': inputDark, 'no-scroll': inputNoScroll, 'dev-mode': inputDevMode }\"\n (ionScroll)=\"scrollEvent.emit($event)\">\n <div id=\"page-setup\" [ngClass]=\"{ 'center-v': inputCenterV }\">\n <!-- Header -->\n <div\n id=\"header\"\n [ngClass]=\"{\n 'center-h': inputCenterH && !inputHeaderInheritanceOff,\n 'center-v': inputCenterV && !inputHeaderInheritanceOff,\n 'sticky-header-off': inputStickyHeaderOff,\n 'ion-no-border': true,\n }\">\n <div class=\"header-content content-base\">\n <ng-content select=\"[cf-page-header]\"></ng-content>\n </div>\n </div>\n <!-- Content and Buttons -->\n <div id=\"device-spacing\" [ngClass]=\"{ 'center-h': inputCenterH, 'center-v': inputCenterV }\">\n <div class=\"content content-base\">\n <ng-content></ng-content>\n </div>\n <div id=\"page-buttons\">\n <div class=\"content content-base\" [ngClass]=\"{ 'vertical-buttons': inputButtonsVertical }\">\n <ng-content select=\"[cf-page-buttons]\"></ng-content>\n </div>\n </div>\n </div>\n <!-- Footer -->\n <div id=\"footer\">\n <div class=\"content content-base\">\n <ng-content select=\"[cf-page-footer]\"></ng-content>\n </div>\n </div>\n <!-- Sticky-buttons -->\n @if (inputStickyButtonOn) {\n <div id=\"sticky-buttons\">\n <div id=\"overlay\" [ngClass]=\"{ off: inputNoStickyButtonFade }\"> </div>\n <div id=\"buttons-container-background\">\n <div id=\"buttons-container\">\n <div class=\"content content-base\" [ngClass]=\"{ 'vertical-buttons': inputButtonsVertical }\">\n <ng-content select=\"[cf-page-sticky-buttons]\"></ng-content>\n </div>\n </div>\n </div>\n </div>\n }\n </div>\n</ion-content>\n", styles: ["ion-content.cf-page{--page-background-color: var(--cf-page-main-bg-color, var(--cf-app-background-light))}ion-content.cf-page.bg-dark{--page-background-color: var(--cf-app-background-dark)}ion-content.cf-page::part(scroll){background-color:var(--page-background-color);-ms-overflow-style:none;scrollbar-width:none}ion-content.cf-page::part(scroll)::-webkit-scrollbar{display:none}ion-content.cf-page.no-scroll::part(scroll){overflow:hidden}ion-content.cf-page{--main-page-block-padding: 24px}@media (min-width: 768px){ion-content.cf-page{--main-page-block-padding: 48px}}ion-content.cf-page .content-base{display:flex;flex-direction:column}ion-content.cf-page .content-base>*{max-width:100%}ion-content.cf-page #page-setup{position:relative;width:100%;min-height:100%;height:fit-content;flex-direction:column;display:flex}ion-content.cf-page #page-setup>*{width:100%;padding-inline:var(--cf-page-inline-padding, 16px)}@media (min-width: 768px){ion-content.cf-page #page-setup>*{padding-inline:var(--cf-page-inline-padding, 72px)}}ion-content.cf-page #page-setup .content{width:100%;max-width:var(--cf-page-mobile-max-width, 100%)}@media (min-width: 768px){ion-content.cf-page #page-setup .content{max-width:var(--cf-page-desktop-max-width, 1300px)}}ion-content.cf-page #page-setup #header{display:flex;flex-direction:column;align-items:center;position:sticky;top:0;z-index:10;background-color:var(--page-background-color)}ion-content.cf-page #page-setup #header .header-content{width:100%;max-width:var(--cf-page-mobile-header-max-width, var(--cf-page-mobile-max-width, 100%))}@media (min-width: 768px){ion-content.cf-page #page-setup #header .header-content{max-width:var(--cf-page-desktop-header-max-width, var(--cf-page-desktop-max-width, 1300px))}}ion-content.cf-page #page-setup #header.sticky-header-off{position:relative}ion-content.cf-page #page-setup #device-spacing{flex-grow:1;display:flex;flex-direction:column}ion-content.cf-page #page-setup #device-spacing>.content:first-child{flex-grow:1;width:min(var(--cf-page-content-mobile-max-width, 100%),100%)}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing>.content:first-child{flex-grow:0;width:min(var(--cf-page-content-desktop-max-width, 100%),100%)}}ion-content.cf-page #page-setup #device-spacing #page-buttons{width:100%;max-width:var(--cf-page-mobile-max-width, 100%)}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing #page-buttons{max-width:var(--cf-page-desktop-max-width, 1300px)}}ion-content.cf-page #page-setup #device-spacing #page-buttons>.content{justify-content:center;align-items:center;flex-wrap:nowrap;gap:16px;width:min(var(--cf-page-content-mobile-max-width, 100%),100%);margin-inline:auto}ion-content.cf-page #page-setup #device-spacing #page-buttons>.content:not(:empty){padding-bottom:var(--main-page-block-padding)}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing #page-buttons>.content{flex-direction:row;width:min(var(--cf-page-content-desktop-max-width, 100%),100%)}}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing #page-buttons>.vertical-buttons{flex-direction:column;align-items:center}}ion-content.cf-page #page-setup #header.center-h,ion-content.cf-page #page-setup #device-spacing.center-h,ion-content.cf-page #page-setup #device-spacing.center-h>.content{align-items:center;text-align:center}ion-content.cf-page #page-setup #header.center-v,ion-content.cf-page #page-setup #device-spacing.center-v,ion-content.cf-page #page-setup #device-spacing.center-v>.content{justify-content:center}ion-content.cf-page #page-setup #footer{display:flex;flex-direction:column;align-items:center;background-color:var(--cf-page-footer-bg-color, transparent)}ion-content.cf-page #page-setup #sticky-buttons{--fade-height: var(--cf-page-sticky-button-fade-height, 48px);display:flex;flex-direction:column;align-items:center;position:sticky;bottom:0;z-index:10;background-color:transparent;margin-inline:auto;padding-inline:0px}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background{background-color:var(--page-background-color);width:100%;display:flex;flex-direction:column;align-items:center;margin-top:var(--fade-height);padding-inline:var(--cf-page-inline-padding, 16px)}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background{padding-inline:var(--cf-page-inline-padding, 72px)}}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container{padding-top:12px;width:100%;max-width:var(--cf-page-mobile-max-width, 100%)}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container{max-width:var(--cf-page-desktop-max-width, 1300px)}}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.content{justify-content:center;align-items:center;flex-wrap:nowrap;gap:16px;width:min(var(--cf-page-content-mobile-max-width, 100%),100%);margin-inline:auto}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.content:not(:empty){padding-bottom:var(--main-page-block-padding)}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.content{flex-direction:row;width:min(var(--cf-page-content-desktop-max-width, 100%),100%)}}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.vertical-buttons{flex-direction:column;align-items:center}}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container{padding-top:24px}}ion-content.cf-page #page-setup #sticky-buttons #overlay{width:100%;height:var(--fade-height);position:absolute;background-image:linear-gradient(to bottom,transparent,var(--page-background-color) 80%)}ion-content.cf-page #page-setup #sticky-buttons #overlay.off{background-color:var(--page-background-color)}#page-setup.center-v{justify-content:center}ion-content.cf-page.dev-mode #page-setup{background-color:#0ff}ion-content.cf-page.dev-mode #page-setup #header{background-color:#00f}ion-content.cf-page.dev-mode #page-setup .header-content{background-color:#ff0}ion-content.cf-page.dev-mode #page-setup .content{background-color:green}ion-content.cf-page.dev-mode #page-setup #page-buttons>.content{background-color:tomato}ion-content.cf-page.dev-mode #page-setup #footer{background-color:brown}ion-content.cf-page.dev-mode #page-setup #sticky-buttons #buttons-container-background{background-color:#7fff00}\n"], dependencies: [{ kind: "component", type: i1.IonContent, selector: "ion-content", inputs: ["color", "fixedSlotPlacement", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
2017
2025
  }
2018
2026
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: PageComponent, decorators: [{
2019
2027
  type: Component,
2020
- args: [{ selector: 'cf-page', standalone: false, template: "<ion-content\n scrollEvents=\"true\"\n class=\"ion-page cf-page\"\n [ngClass]=\"{ 'bg-dark': inputDark, 'no-scroll': inputNoScroll, 'dev-mode': inputDevMode }\"\n (ionScroll)=\"scrollEvent.emit($event)\">\n <div id=\"page-setup\" [ngClass]=\"{ 'center-v': inputCenterV }\">\n <!-- Header -->\n <div\n id=\"header\"\n [ngClass]=\"{\n 'center-h': inputCenterH && !inputHeaderInheritanceOff,\n 'center-v': inputCenterV && !inputHeaderInheritanceOff,\n 'sticky-header-off': inputStickyHeaderOff,\n 'ion-no-border': true,\n }\">\n <div class=\"header-content content-base\">\n <ng-content select=\"[cf-page-header]\"></ng-content>\n </div>\n </div>\n <!-- Content and Buttons -->\n <div id=\"device-spacing\" [ngClass]=\"{ 'center-h': inputCenterH, 'center-v': inputCenterV }\">\n <div class=\"content content-base\">\n <ng-content></ng-content>\n </div>\n <div id=\"page-buttons\">\n <div class=\"content content-base\" [ngClass]=\"{ 'vertical-buttons': inputButtonsVertical }\">\n <ng-content select=\"[cf-page-buttons]\"></ng-content>\n </div>\n </div>\n </div>\n <!-- Footer -->\n <div id=\"footer\">\n <div class=\"content content-base\">\n <ng-content select=\"[cf-page-footer]\"></ng-content>\n </div>\n </div>\n <!-- Sticky-buttons -->\n @if (inputStickyButtonOn) {\n <div id=\"sticky-buttons\">\n <div id=\"overlay\" [ngClass]=\"{ off: inputNoStickyButtonFade }\"> </div>\n <div id=\"buttons-container-background\">\n <div id=\"buttons-container\">\n <div class=\"content content-base\" [ngClass]=\"{ 'vertical-buttons': inputButtonsVertical }\">\n <ng-content select=\"[cf-page-sticky-buttons]\"></ng-content>\n </div>\n </div>\n </div>\n </div>\n }\n </div>\n</ion-content>\n", styles: ["ion-content.cf-page{--page-background-color: var(--cf-page-main-bg-color, var(--cf-app-color-white))}ion-content.cf-page.bg-dark{--page-background-color: var(--cf-app-background-dark)}ion-content.cf-page::part(scroll){background-color:var(--page-background-color);-ms-overflow-style:none;scrollbar-width:none}ion-content.cf-page::part(scroll)::-webkit-scrollbar{display:none}ion-content.cf-page.no-scroll::part(scroll){overflow:hidden}ion-content.cf-page{--main-page-block-padding: 24px}@media (min-width: 768px){ion-content.cf-page{--main-page-block-padding: 48px}}ion-content.cf-page .content-base{display:flex;flex-direction:column}ion-content.cf-page .content-base>*{max-width:100%}ion-content.cf-page #page-setup{position:relative;width:100%;min-height:100%;height:fit-content;flex-direction:column;display:flex}ion-content.cf-page #page-setup>*{width:100%;padding-inline:var(--cf-page-inline-padding, 16px)}@media (min-width: 768px){ion-content.cf-page #page-setup>*{padding-inline:var(--cf-page-inline-padding, 72px)}}ion-content.cf-page #page-setup .content{width:100%;max-width:var(--cf-page-mobile-max-width, 100%)}@media (min-width: 768px){ion-content.cf-page #page-setup .content{max-width:var(--cf-page-desktop-max-width, 1300px)}}ion-content.cf-page #page-setup #header{display:flex;flex-direction:column;align-items:center;position:sticky;top:0;z-index:10;background-color:var(--page-background-color)}ion-content.cf-page #page-setup #header .header-content{width:100%;max-width:var(--cf-page-mobile-header-max-width, var(--cf-page-mobile-max-width, 100%))}@media (min-width: 768px){ion-content.cf-page #page-setup #header .header-content{max-width:var(--cf-page-desktop-header-max-width, var(--cf-page-desktop-max-width, 1300px))}}ion-content.cf-page #page-setup #header.sticky-header-off{position:relative}ion-content.cf-page #page-setup #device-spacing{flex-grow:1;display:flex;flex-direction:column}ion-content.cf-page #page-setup #device-spacing>.content:first-child{flex-grow:1;width:min(var(--cf-page-content-mobile-max-width, 100%),100%)}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing>.content:first-child{flex-grow:0;width:min(var(--cf-page-content-desktop-max-width, 100%),100%)}}ion-content.cf-page #page-setup #device-spacing #page-buttons{width:100%;max-width:var(--cf-page-mobile-max-width, 100%)}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing #page-buttons{max-width:var(--cf-page-desktop-max-width, 1300px)}}ion-content.cf-page #page-setup #device-spacing #page-buttons>.content{justify-content:center;align-items:center;flex-wrap:nowrap;gap:16px;width:min(var(--cf-page-content-mobile-max-width, 100%),100%);margin-inline:auto}ion-content.cf-page #page-setup #device-spacing #page-buttons>.content:not(:empty){padding-bottom:var(--main-page-block-padding)}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing #page-buttons>.content{flex-direction:row;width:min(var(--cf-page-content-desktop-max-width, 100%),100%)}}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing #page-buttons>.vertical-buttons{flex-direction:column;align-items:center}}ion-content.cf-page #page-setup #header.center-h,ion-content.cf-page #page-setup #device-spacing.center-h,ion-content.cf-page #page-setup #device-spacing.center-h>.content{align-items:center;text-align:center}ion-content.cf-page #page-setup #header.center-v,ion-content.cf-page #page-setup #device-spacing.center-v,ion-content.cf-page #page-setup #device-spacing.center-v>.content{justify-content:center}ion-content.cf-page #page-setup #footer{display:flex;flex-direction:column;align-items:center;background-color:var(--cf-page-footer-bg-color, transparent)}ion-content.cf-page #page-setup #sticky-buttons{--fade-height: var(--cf-page-sticky-button-fade-height, 48px);display:flex;flex-direction:column;align-items:center;position:sticky;bottom:0;z-index:10;background-color:transparent;margin-inline:auto;padding-inline:0px}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background{background-color:var(--page-background-color);width:100%;display:flex;flex-direction:column;align-items:center;margin-top:var(--fade-height);padding-inline:var(--cf-page-inline-padding, 16px)}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background{padding-inline:var(--cf-page-inline-padding, 72px)}}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container{padding-top:12px;width:100%;max-width:var(--cf-page-mobile-max-width, 100%)}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container{max-width:var(--cf-page-desktop-max-width, 1300px)}}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.content{justify-content:center;align-items:center;flex-wrap:nowrap;gap:16px;width:min(var(--cf-page-content-mobile-max-width, 100%),100%);margin-inline:auto}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.content:not(:empty){padding-bottom:var(--main-page-block-padding)}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.content{flex-direction:row;width:min(var(--cf-page-content-desktop-max-width, 100%),100%)}}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.vertical-buttons{flex-direction:column;align-items:center}}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container{padding-top:24px}}ion-content.cf-page #page-setup #sticky-buttons #overlay{width:100%;height:var(--fade-height);position:absolute;background-image:linear-gradient(to bottom,transparent,var(--page-background-color) 80%)}ion-content.cf-page #page-setup #sticky-buttons #overlay.off{background-color:var(--page-background-color)}#page-setup.center-v{justify-content:center}ion-content.cf-page.dev-mode #page-setup{background-color:#0ff}ion-content.cf-page.dev-mode #page-setup #header{background-color:#00f}ion-content.cf-page.dev-mode #page-setup .header-content{background-color:#ff0}ion-content.cf-page.dev-mode #page-setup .content{background-color:green}ion-content.cf-page.dev-mode #page-setup #page-buttons>.content{background-color:tomato}ion-content.cf-page.dev-mode #page-setup #footer{background-color:brown}ion-content.cf-page.dev-mode #page-setup #sticky-buttons #buttons-container-background{background-color:#7fff00}\n"] }]
2028
+ args: [{ selector: 'cf-page', standalone: false, template: "<ion-content\n scrollEvents=\"true\"\n class=\"ion-page cf-page\"\n [ngClass]=\"{ 'bg-dark': inputDark, 'no-scroll': inputNoScroll, 'dev-mode': inputDevMode }\"\n (ionScroll)=\"scrollEvent.emit($event)\">\n <div id=\"page-setup\" [ngClass]=\"{ 'center-v': inputCenterV }\">\n <!-- Header -->\n <div\n id=\"header\"\n [ngClass]=\"{\n 'center-h': inputCenterH && !inputHeaderInheritanceOff,\n 'center-v': inputCenterV && !inputHeaderInheritanceOff,\n 'sticky-header-off': inputStickyHeaderOff,\n 'ion-no-border': true,\n }\">\n <div class=\"header-content content-base\">\n <ng-content select=\"[cf-page-header]\"></ng-content>\n </div>\n </div>\n <!-- Content and Buttons -->\n <div id=\"device-spacing\" [ngClass]=\"{ 'center-h': inputCenterH, 'center-v': inputCenterV }\">\n <div class=\"content content-base\">\n <ng-content></ng-content>\n </div>\n <div id=\"page-buttons\">\n <div class=\"content content-base\" [ngClass]=\"{ 'vertical-buttons': inputButtonsVertical }\">\n <ng-content select=\"[cf-page-buttons]\"></ng-content>\n </div>\n </div>\n </div>\n <!-- Footer -->\n <div id=\"footer\">\n <div class=\"content content-base\">\n <ng-content select=\"[cf-page-footer]\"></ng-content>\n </div>\n </div>\n <!-- Sticky-buttons -->\n @if (inputStickyButtonOn) {\n <div id=\"sticky-buttons\">\n <div id=\"overlay\" [ngClass]=\"{ off: inputNoStickyButtonFade }\"> </div>\n <div id=\"buttons-container-background\">\n <div id=\"buttons-container\">\n <div class=\"content content-base\" [ngClass]=\"{ 'vertical-buttons': inputButtonsVertical }\">\n <ng-content select=\"[cf-page-sticky-buttons]\"></ng-content>\n </div>\n </div>\n </div>\n </div>\n }\n </div>\n</ion-content>\n", styles: ["ion-content.cf-page{--page-background-color: var(--cf-page-main-bg-color, var(--cf-app-background-light))}ion-content.cf-page.bg-dark{--page-background-color: var(--cf-app-background-dark)}ion-content.cf-page::part(scroll){background-color:var(--page-background-color);-ms-overflow-style:none;scrollbar-width:none}ion-content.cf-page::part(scroll)::-webkit-scrollbar{display:none}ion-content.cf-page.no-scroll::part(scroll){overflow:hidden}ion-content.cf-page{--main-page-block-padding: 24px}@media (min-width: 768px){ion-content.cf-page{--main-page-block-padding: 48px}}ion-content.cf-page .content-base{display:flex;flex-direction:column}ion-content.cf-page .content-base>*{max-width:100%}ion-content.cf-page #page-setup{position:relative;width:100%;min-height:100%;height:fit-content;flex-direction:column;display:flex}ion-content.cf-page #page-setup>*{width:100%;padding-inline:var(--cf-page-inline-padding, 16px)}@media (min-width: 768px){ion-content.cf-page #page-setup>*{padding-inline:var(--cf-page-inline-padding, 72px)}}ion-content.cf-page #page-setup .content{width:100%;max-width:var(--cf-page-mobile-max-width, 100%)}@media (min-width: 768px){ion-content.cf-page #page-setup .content{max-width:var(--cf-page-desktop-max-width, 1300px)}}ion-content.cf-page #page-setup #header{display:flex;flex-direction:column;align-items:center;position:sticky;top:0;z-index:10;background-color:var(--page-background-color)}ion-content.cf-page #page-setup #header .header-content{width:100%;max-width:var(--cf-page-mobile-header-max-width, var(--cf-page-mobile-max-width, 100%))}@media (min-width: 768px){ion-content.cf-page #page-setup #header .header-content{max-width:var(--cf-page-desktop-header-max-width, var(--cf-page-desktop-max-width, 1300px))}}ion-content.cf-page #page-setup #header.sticky-header-off{position:relative}ion-content.cf-page #page-setup #device-spacing{flex-grow:1;display:flex;flex-direction:column}ion-content.cf-page #page-setup #device-spacing>.content:first-child{flex-grow:1;width:min(var(--cf-page-content-mobile-max-width, 100%),100%)}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing>.content:first-child{flex-grow:0;width:min(var(--cf-page-content-desktop-max-width, 100%),100%)}}ion-content.cf-page #page-setup #device-spacing #page-buttons{width:100%;max-width:var(--cf-page-mobile-max-width, 100%)}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing #page-buttons{max-width:var(--cf-page-desktop-max-width, 1300px)}}ion-content.cf-page #page-setup #device-spacing #page-buttons>.content{justify-content:center;align-items:center;flex-wrap:nowrap;gap:16px;width:min(var(--cf-page-content-mobile-max-width, 100%),100%);margin-inline:auto}ion-content.cf-page #page-setup #device-spacing #page-buttons>.content:not(:empty){padding-bottom:var(--main-page-block-padding)}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing #page-buttons>.content{flex-direction:row;width:min(var(--cf-page-content-desktop-max-width, 100%),100%)}}@media (min-width: 768px){ion-content.cf-page #page-setup #device-spacing #page-buttons>.vertical-buttons{flex-direction:column;align-items:center}}ion-content.cf-page #page-setup #header.center-h,ion-content.cf-page #page-setup #device-spacing.center-h,ion-content.cf-page #page-setup #device-spacing.center-h>.content{align-items:center;text-align:center}ion-content.cf-page #page-setup #header.center-v,ion-content.cf-page #page-setup #device-spacing.center-v,ion-content.cf-page #page-setup #device-spacing.center-v>.content{justify-content:center}ion-content.cf-page #page-setup #footer{display:flex;flex-direction:column;align-items:center;background-color:var(--cf-page-footer-bg-color, transparent)}ion-content.cf-page #page-setup #sticky-buttons{--fade-height: var(--cf-page-sticky-button-fade-height, 48px);display:flex;flex-direction:column;align-items:center;position:sticky;bottom:0;z-index:10;background-color:transparent;margin-inline:auto;padding-inline:0px}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background{background-color:var(--page-background-color);width:100%;display:flex;flex-direction:column;align-items:center;margin-top:var(--fade-height);padding-inline:var(--cf-page-inline-padding, 16px)}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background{padding-inline:var(--cf-page-inline-padding, 72px)}}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container{padding-top:12px;width:100%;max-width:var(--cf-page-mobile-max-width, 100%)}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container{max-width:var(--cf-page-desktop-max-width, 1300px)}}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.content{justify-content:center;align-items:center;flex-wrap:nowrap;gap:16px;width:min(var(--cf-page-content-mobile-max-width, 100%),100%);margin-inline:auto}ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.content:not(:empty){padding-bottom:var(--main-page-block-padding)}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.content{flex-direction:row;width:min(var(--cf-page-content-desktop-max-width, 100%),100%)}}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container>.vertical-buttons{flex-direction:column;align-items:center}}@media (min-width: 768px){ion-content.cf-page #page-setup #sticky-buttons #buttons-container-background #buttons-container{padding-top:24px}}ion-content.cf-page #page-setup #sticky-buttons #overlay{width:100%;height:var(--fade-height);position:absolute;background-image:linear-gradient(to bottom,transparent,var(--page-background-color) 80%)}ion-content.cf-page #page-setup #sticky-buttons #overlay.off{background-color:var(--page-background-color)}#page-setup.center-v{justify-content:center}ion-content.cf-page.dev-mode #page-setup{background-color:#0ff}ion-content.cf-page.dev-mode #page-setup #header{background-color:#00f}ion-content.cf-page.dev-mode #page-setup .header-content{background-color:#ff0}ion-content.cf-page.dev-mode #page-setup .content{background-color:green}ion-content.cf-page.dev-mode #page-setup #page-buttons>.content{background-color:tomato}ion-content.cf-page.dev-mode #page-setup #footer{background-color:brown}ion-content.cf-page.dev-mode #page-setup #sticky-buttons #buttons-container-background{background-color:#7fff00}\n"] }]
2021
2029
  }], propDecorators: { centerH: [{
2022
2030
  type: Input
2023
2031
  }], centerV: [{