@carefirst/library 1.0.2 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,9 +11,9 @@ export class PageComponent {
11
11
  inputCenterV = false;
12
12
  inputDark = false;
13
13
  ngOnChanges(changes) {
14
- this.inputCenterH = checkTruthAttribute(changes, 'centerH');
15
- this.inputCenterV = checkTruthAttribute(changes, 'centerV');
16
- this.inputDark = checkTruthAttribute(changes, 'dark');
14
+ this.inputCenterH = checkTruthAttribute(changes, 'centerH', this.inputCenterH);
15
+ this.inputCenterV = checkTruthAttribute(changes, 'centerV', this.inputCenterV);
16
+ this.inputDark = checkTruthAttribute(changes, 'dark', this.inputDark);
17
17
  }
18
18
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
19
19
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PageComponent, selector: "cf-page", inputs: { centerH: "centerH", centerV: "centerV", dark: "dark" }, usesOnChanges: true, ngImport: i0, template: "<ion-content class=\"ion-page cf-page\" [ngClass]=\"{ 'bg-dark': inputDark }\">\n <div class=\"page center-v center-h\" [ngClass]=\"{ 'center-h': inputCenterH, 'center-v': inputCenterV }\">\n <ng-content></ng-content>\n </div>\n</ion-content>\n", styles: ["ion-content.cf-page::part(scroll){padding-inline:var(--cf-page-inline-padding, 16px);background-color:var(--cf-app-background-light)}ion-content.cf-page.bg-dark::part(scroll){background-color:var(--cf-app-background-dark)}ion-content.cf-page>div.page{height:100%;max-width:var(--cf-page-max-width, 1300px);margin-inline:auto;overflow:hidden}ion-content.cf-page>div.page.center-h,ion-content.cf-page>div.page.center-v{display:flex;flex-direction:column}ion-content.cf-page>div.page.center-h{align-items:center;text-align:center}ion-content.cf-page>div.page.center-v{justify-content:center}\n"], dependencies: [{ kind: "component", type: i1.IonContent, selector: "ion-content", inputs: ["color", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
@@ -28,4 +28,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
28
28
  }], dark: [{
29
29
  type: Input
30
30
  }] } });
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYXJlZmlyc3QvbGlicmFyeS9zcmMvbGliL2NvbXBvbmVudHMvcGFnZS9wYWdlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NhcmVmaXJzdC9saWJyYXJ5L3NyYy9saWIvY29tcG9uZW50cy9wYWdlL3BhZ2UuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQXNDLE1BQU0sZUFBZSxDQUFDO0FBQ3JGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDRCQUE0QixDQUFDOzs7O0FBT2pFLE1BQU0sT0FBTyxhQUFhO0lBQ2YsT0FBTyxDQUFnQztJQUN2QyxPQUFPLENBQWdDO0lBQ3ZDLElBQUksQ0FBZ0M7SUFHN0MsWUFBWSxHQUFHLEtBQUssQ0FBQztJQUNyQixZQUFZLEdBQUcsS0FBSyxDQUFDO0lBQ3JCLFNBQVMsR0FBRyxLQUFLLENBQUM7SUFPbEIsV0FBVyxDQUFDLE9BQXNCO1FBQ2hDLElBQUksQ0FBQyxZQUFZLEdBQUcsbUJBQW1CLENBQUMsT0FBTyxFQUFFLFNBQVMsQ0FBQyxDQUFDO1FBQzVELElBQUksQ0FBQyxZQUFZLEdBQUcsbUJBQW1CLENBQUMsT0FBTyxFQ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IG9uIGlucHV0IGNoYW5nZXNcbiAgICogQHJldHVybnMgICAgICAge3ZvaWR9XG4gICAqL1xuICBuZ09uQ2hhbmdlcyhjaGFuZ2VzOiBTaW1wbGVDaGFuZ2VzKTogdm9pZCB7XG4gICAgLy8tLS0gQ2VudGVyIEhcbiAgICB0aGlzLmlucHV0Q2VudGVySCA9IGNoZWNrVHJ1dGhBdHRyaWJ1dGUoY2hhbmdlcywgJ2NlbnRlckgnLCB0aGlzLmlucHV0Q2VudGVySCk7XG4gICAgLy8tLS0gQ2VudGVyIFZcbiAgICB0aGlzLmlucHV0Q2VudGVyViA9IGNoZWNrVHJ1dGhBdHRyaWJ1dGUoY2hhbmdlcywgJ2NlbnRlclYnLCB0aGlzLmlucHV0Q2VudGVyVik7XG4gICAgLy8tLS0gRGFya1xuICAgIHRoaXMuaW5wdXREYXJrID0gY2hlY2tUcnV0aEF0dHJpYnV0ZShjaGFuZ2VzLCAnZGFyaycsIHRoaXMuaW5wdXREYXJrKTtcbiAgfVxufVxuIiwiPGlvbi1jb250ZW50IGNsYXNzPVwiaW9uLXBhZ2UgY2YtcGFnZVwiIFtuZ0NsYXNzXT1cInsgJ2JnLWRhcmsnOiBpbnB1dERhcmsgfVwiPlxuICA8ZGl2IGNsYXNzPVwicGFnZSBjZW50ZXItdiBjZW50ZXItaFwiIFtuZ0NsYXNzXT1cInsgJ2NlbnRlci1oJzogaW5wdXRDZW50ZXJILCAnY2VudGVyLXYnOiBpbnB1dENlbnRlclYgfVwiPlxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgPC9kaXY+XG48L2lvbi1jb250ZW50PlxuIl19
@@ -10,9 +10,9 @@ export class SpacerComponent {
10
10
  inputMobile = undefined;
11
11
  inputDesktop = undefined;
12
12
  ngOnChanges(changes) {
13
- this.inputDefault = validateNumberValue(changes, 'default');
14
- this.inputMobile = validateNumberValue(changes, 'mobile');
15
- this.inputDesktop = validateNumberValue(changes, 'desktop');
13
+ this.inputDefault = validateNumberValue(changes, 'default', this.inputDefault);
14
+ this.inputMobile = validateNumberValue(changes, 'mobile', this.inputMobile);
15
+ this.inputDesktop = validateNumberValue(changes, 'desktop', this.inputDesktop);
16
16
  }
17
17
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
18
18
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SpacerComponent, selector: "cf-spacer", inputs: { default: "default", mobile: "mobile", desktop: "desktop" }, usesOnChanges: true, ngImport: i0, template: "<div\n [ngClass]=\"[\n inputDefault ? 'spacer-' + inputDefault : '',\n inputMobile ? 'mobile-spacer-' + inputMobile : '',\n inputDesktop ? 'desktop-spacer-' + inputDesktop : ''\n ]\">\n</div>\n", styles: ["div.spacer-4{height:4px}div.spacer-8{height:8px}div.spacer-12{height:12px}div.spacer-16{height:16px}div.spacer-24{height:24px}div.spacer-32{height:32px}div.spacer-38{height:38px}div.spacer-48{height:48px}div.spacer-72{height:72px}@media not (min-width: 768px){div.mobile-spacer-4{height:4px}div.mobile-spacer-8{height:8px}div.mobile-spacer-12{height:12px}div.mobile-spacer-16{height:16px}div.mobile-spacer-24{height:24px}div.mobile-spacer-32{height:32px}div.mobile-spacer-38{height:38px}div.mobile-spacer-48{height:48px}div.mobile-spacer-72{height:72px}}@media (min-width: 768px){div.desktop-spacer-4{height:4px}div.desktop-spacer-8{height:8px}div.desktop-spacer-12{height:12px}div.desktop-spacer-16{height:16px}div.desktop-spacer-24{height:24px}div.desktop-spacer-32{height:32px}div.desktop-spacer-38{height:38px}div.desktop-spacer-48{height:48px}div.desktop-spacer-72{height:72px}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
@@ -27,4 +27,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
27
27
  }], deskt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lsZVxuICAgIHRoaXMuaW5wdXRNb2JpbGUgPSB2YWxpZGF0ZU51bWJlclZhbHVlKGNoYW5nZXMsICdtb2JpbGUnLCB0aGlzLmlucHV0TW9iaWxlKTtcbiAgICAvLy0tLSBEZXNrdG9wXG4gICAgdGhpcy5pbnB1dERlc2t0b3AgPSB2YWxpZGF0ZU51bWJlclZhbHVlKGNoYW5nZXMsICdkZXNrdG9wJywgdGhpcy5pbnB1dERlc2t0b3ApO1xuICB9XG59XG4iLCI8ZGl2XG4gIFtuZ0NsYXNzXT1cIltcbiAgICBpbnB1dERlZmF1bHQgPyAnc3BhY2VyLScgKyBpbnB1dERlZmF1bHQgOiAnJyxcbiAgICBpbnB1dE1vYmlsZSA/ICdtb2JpbGUtc3BhY2VyLScgKyBpbnB1dE1vYmlsZSA6ICcnLFxuICAgIGlucHV0RGVza3RvcCA/ICdkZXNrdG9wLXNwYWNlci0nICsgaW5wdXREZXNrdG9wIDogJydcbiAgXVwiPlxuPC9kaXY+XG4iXX0=
@@ -1,4 +1,6 @@
1
- export function checkTruthAttribute(changes, attribute) {
1
+ export function checkTruthAttribute(changes, attribute, curVal) {
2
+ if (!(attribute in changes))
3
+ return curVal;
2
4
  const valueChanged = changes[attribute]?.currentValue;
3
5
  if (typeof valueChanged === 'boolean') {
4
6
  return valueChanged;
@@ -8,14 +10,18 @@ export function checkTruthAttribute(changes, attribute) {
8
10
  }
9
11
  return false;
10
12
  }
11
- export function validateStringValue(changes, attribute, options) {
13
+ export function validateStringValue(changes, attribute, options, curVal) {
14
+ if (!(attribute in changes))
15
+ return curVal;
12
16
  const valueChanged = changes[attribute]?.currentValue;
13
17
  if (valueChanged && options.includes(valueChanged)) {
14
18
  return valueChanged;
15
19
  }
16
20
  return undefined;
17
21
  }
18
- export function validateNumberValue(changes, attribute) {
22
+ export function validateNumberValue(changes, attribute, curVal) {
23
+ if (!(attribute in changes))
24
+ return curVal;
19
25
  const valueChanged = changes[attribute]?.currentValue;
20
26
  if (typeof valueChanged === 'number' && valueChanged >= 0) {
21
27
  return valueChanged;
@@ -25,4 +31,4 @@ export function validateNumberValue(changes, attribute) {
25
31
  }
26
32
  return undefined;
27
33
  }
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0cmlidXRlLnV0aWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYXJlZmlyc3QvbGlicmFyeS9zcmMvbGliL3V0aWxzL2F0dHJpYnV0ZS51dGlsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCQSxNQUFNLFVBQVUsbUJBQW1CLENBQUMsT0FBc0IsRUFBRSxTQUFpQjtJQUMzRSxNQUFNLFlBQVksR0FBRyxPQUFPLENBQUMsU0FBUyxDQUFDLEVBQUUsWUFBWSxDQUFDO0lBQ3RELElBQUksT0FBTyxZQUFZLEtBQUssU0FBUyxFQUFFO1FBQ3JDLE9BQU8sWUFBWSxDQUFDO0tBQ3JCO1NBQU0sSUFBSSxPQUFPLFlBQVksS0FBSyxRQUFRLElBQUksQ0FBQyxNQUFNLEVBQUUsRUFBRSxDQUFDLENBQUMsUUFBUSxDQUFDLFlBQVksQ0FBQyxFQUFFO1FBQ2xGLE9BQU8sSUFBSSxDQUFDO0tBQ2I7SUFDRCxPQUFPLEtBQUssQ0FBQztBQUNmLENBQUM7QUFVRCxNQUFNLFVBQVUsbUJBQW1CLENBQUksT0FBc0IsRUFBRSxTQUFpQixFQUFFLE9BQVk7SUFDNUYsTUFBTSxZQUFZLEdBQUcsT0FBTyxDQUFDLFNBQVMsQ0FBQyxFQUFFLFlBQVksQ0FBQztJQUN0RCxJQUFJLFlBQVksSUFBSSxPQUFPLENBQUMsUUFBUSxDQUFDLFlBQVksQ0FBQyxFQUFFO1FBQ2xELE9BQU8sWUFBaUIsQ0FBQztLQUMxQjtJQUNELE9BQU8sU0FBUyxDQUFDO0FBQ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