@idsoftsource/initial-process 2.2.7 → 2.2.9

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, signal, inject, Injectable, Optional, Inject, EventEmitter, Output, Input, Directive, forwardRef, NgModule, Component, computed, ViewChild, effect, ElementRef, Pipe } from '@angular/core';
2
+ import { InjectionToken, signal, inject, Injectable, Optional, Inject, EventEmitter, Output, Input, Directive, forwardRef, NgModule, ViewEncapsulation, Component, computed, ViewChild, effect, ElementRef, Pipe } from '@angular/core';
3
3
  import * as i11 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i8 from '@angular/forms';
@@ -1224,18 +1224,17 @@ class TermsConditionsComponent {
1224
1224
  .replace(/\\'/g, "'")
1225
1225
  .replace(/\{\{PrivacyAndTerms\?\.(\w+)\}\}/g, (_, key) => vars[key] ?? '')
1226
1226
  .replace(/\{\{(\w+)\}\}/g, (_, key) => vars[key] ?? '')
1227
- .replace(/\\n/g, '')
1228
- .replace(/(<br\s*\/?>\s*){2,}/gi, '<br>');
1227
+ .replace(/\\n/g, '');
1229
1228
  }
1230
1229
  isFilteredBrand() {
1231
1230
  return ['ID Claims', 'Mold Depot', 'Termite Depot'].includes(this.branding?.displayName);
1232
1231
  }
1233
1232
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TermsConditionsComponent, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
1234
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: TermsConditionsComponent, isStandalone: false, selector: "app-terms-conditions", inputs: { title: "title", branding: "branding", PrivacyAndTerms: "PrivacyAndTerms", sections: "sections" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"tc-wrapper\">\r\n <span class=\"tc-meta\"></span>\r\n\r\n <ng-container *ngFor=\"let section of parsedSections\">\r\n <div class=\"section-title\">Last Modified: {{section.versionName}}. {{section?.createdDate}}</div>\r\n <div [innerHTML]=\"section.content\"></div>\r\n <br><br>\r\n </ng-container>\r\n\r\n <div class=\"logo-section mt-5 text-center\">\r\n <img [src]=\"branding?.logo\" [alt]=\"branding?.displayName\" [class.filter]=\"isFilteredBrand()\" />\r\n </div>\r\n <div class=\"content\">\r\n <p>\r\n &copy;{{PrivacyAndTerms?.currentYear}} {{PrivacyAndTerms?.companyName}}.<br>\r\n Proprietary and Confidential Information. Strictly for use by {{PrivacyAndTerms?.companyName}} approved customers only.<br>\r\n Duplication or alteration is strictly prohibited without prior written consent.\r\n </p>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.tc-wrapper{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:14px;line-height:1.72;color:#374151;letter-spacing:.01em;padding:0 6px;word-spacing:.03em}.tc-meta{display:inline-block;font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#6b7280;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e2e8f0;width:100%}.section-title{display:block;font-size:14.5px;font-weight:700;color:#0f172a;letter-spacing:-.01em;line-height:1.35;margin-top:2px;margin-bottom:8px;padding-bottom:6px;border-bottom:2px solid #e2e8f0;text-decoration:none}.h{display:inline;color:#0f172a;font-weight:600;letter-spacing:.015em;line-height:1.9}.tc-list{list-style:none;padding-left:0;margin:12px 0 12px 4px}.tc-list li{position:relative;padding-left:20px;margin-bottom:8px;line-height:1.75}.tc-list li:before{content:\"\\203a\";position:absolute;left:0;top:0;color:#1e40af;font-weight:700;font-size:15px}.logo-section{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:48px;margin-bottom:0;overflow:visible;min-height:42px}.logo-section img{display:block;max-width:160px;height:auto;margin-bottom:16px;position:relative;z-index:2}.logo-section .filter{filter:brightness(.5)}.content{font-size:11.5px;line-height:1.7;text-align:center;color:#6b7280;letter-spacing:.01em;margin-top:10px;margin-bottom:32px}.privacy-policy-modal{background:#fff;padding:0 20px;max-width:650px;margin:auto;display:flex;flex-direction:column;align-items:center}.privacy-policy-modal .modal-footer{width:100%;display:flex;justify-content:center}.privacy-policy-modal .modal-footer .btn{padding:8px 25px;font-size:12px}\n"], dependencies: [{ kind: "directive", type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
1233
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: TermsConditionsComponent, isStandalone: false, selector: "app-terms-conditions", inputs: { title: "title", branding: "branding", PrivacyAndTerms: "PrivacyAndTerms", sections: "sections" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"tc-wrapper\">\r\n <span class=\"tc-meta\"></span>\r\n\r\n <ng-container *ngFor=\"let section of parsedSections\">\r\n <div class=\"section-title\">Last Modified: {{section.versionName}}. {{section?.createdDate}}</div>\r\n <div [innerHTML]=\"section.content\"></div>\r\n <br><br>\r\n </ng-container>\r\n\r\n <div class=\"logo-section mt-5 text-center\">\r\n <img [src]=\"branding?.logo\" [alt]=\"branding?.displayName\" [class.filter]=\"isFilteredBrand()\" />\r\n </div>\r\n <div class=\"content\">\r\n <p>\r\n &copy;{{PrivacyAndTerms?.currentYear}} {{PrivacyAndTerms?.companyName}}.<br>\r\n Proprietary and Confidential Information. Strictly for use by {{PrivacyAndTerms?.companyName}} approved customers only.<br>\r\n Duplication or alteration is strictly prohibited without prior written consent.\r\n </p>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.tc-wrapper{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:14px;line-height:1.72;color:#374151;letter-spacing:.01em;padding:0 6px;word-spacing:.03em}.tc-meta{display:inline-block;font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#6b7280;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e2e8f0;width:100%}.section-title{display:block;font-size:14.5px;font-weight:700;color:#0f172a;letter-spacing:-.01em;line-height:1.35;margin-top:2px;margin-bottom:8px;padding-bottom:6px;border-bottom:2px solid #e2e8f0;text-decoration:none}.h{display:inline;color:#0f172a;font-weight:600;letter-spacing:.015em;line-height:1.9}.tc-list{list-style:none;padding-left:0;margin:12px 0 12px 4px}.tc-list li{position:relative;padding-left:20px;margin-bottom:8px;line-height:1.75}.tc-list li:before{content:\"\\203a\";position:absolute;left:0;top:0;color:#1e40af;font-weight:700;font-size:15px}.logo-section{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:48px;margin-bottom:0;overflow:visible;min-height:42px}.logo-section img{display:block;max-width:160px;height:auto;margin-bottom:16px;position:relative;z-index:2}.logo-section .filter{filter:brightness(.5)}.content{font-size:11.5px;line-height:1.7;text-align:center;color:#6b7280;letter-spacing:.01em;margin-top:10px;margin-bottom:32px}.privacy-policy-modal{background:#fff;padding:0 20px;max-width:650px;margin:auto;display:flex;flex-direction:column;align-items:center}.privacy-policy-modal .modal-footer{width:100%;display:flex;justify-content:center}.privacy-policy-modal .modal-footer .btn{padding:8px 25px;font-size:12px}\n"], dependencies: [{ kind: "directive", type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None });
1235
1234
  }
1236
1235
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TermsConditionsComponent, decorators: [{
1237
1236
  type: Component,
1238
- args: [{ standalone: false, selector: 'app-terms-conditions', template: "<div class=\"tc-wrapper\">\r\n <span class=\"tc-meta\"></span>\r\n\r\n <ng-container *ngFor=\"let section of parsedSections\">\r\n <div class=\"section-title\">Last Modified: {{section.versionName}}. {{section?.createdDate}}</div>\r\n <div [innerHTML]=\"section.content\"></div>\r\n <br><br>\r\n </ng-container>\r\n\r\n <div class=\"logo-section mt-5 text-center\">\r\n <img [src]=\"branding?.logo\" [alt]=\"branding?.displayName\" [class.filter]=\"isFilteredBrand()\" />\r\n </div>\r\n <div class=\"content\">\r\n <p>\r\n &copy;{{PrivacyAndTerms?.currentYear}} {{PrivacyAndTerms?.companyName}}.<br>\r\n Proprietary and Confidential Information. Strictly for use by {{PrivacyAndTerms?.companyName}} approved customers only.<br>\r\n Duplication or alteration is strictly prohibited without prior written consent.\r\n </p>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.tc-wrapper{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:14px;line-height:1.72;color:#374151;letter-spacing:.01em;padding:0 6px;word-spacing:.03em}.tc-meta{display:inline-block;font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#6b7280;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e2e8f0;width:100%}.section-title{display:block;font-size:14.5px;font-weight:700;color:#0f172a;letter-spacing:-.01em;line-height:1.35;margin-top:2px;margin-bottom:8px;padding-bottom:6px;border-bottom:2px solid #e2e8f0;text-decoration:none}.h{display:inline;color:#0f172a;font-weight:600;letter-spacing:.015em;line-height:1.9}.tc-list{list-style:none;padding-left:0;margin:12px 0 12px 4px}.tc-list li{position:relative;padding-left:20px;margin-bottom:8px;line-height:1.75}.tc-list li:before{content:\"\\203a\";position:absolute;left:0;top:0;color:#1e40af;font-weight:700;font-size:15px}.logo-section{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:48px;margin-bottom:0;overflow:visible;min-height:42px}.logo-section img{display:block;max-width:160px;height:auto;margin-bottom:16px;position:relative;z-index:2}.logo-section .filter{filter:brightness(.5)}.content{font-size:11.5px;line-height:1.7;text-align:center;color:#6b7280;letter-spacing:.01em;margin-top:10px;margin-bottom:32px}.privacy-policy-modal{background:#fff;padding:0 20px;max-width:650px;margin:auto;display:flex;flex-direction:column;align-items:center}.privacy-policy-modal .modal-footer{width:100%;display:flex;justify-content:center}.privacy-policy-modal .modal-footer .btn{padding:8px 25px;font-size:12px}\n"] }]
1237
+ args: [{ standalone: false, selector: 'app-terms-conditions', encapsulation: ViewEncapsulation.None, template: "<div class=\"tc-wrapper\">\r\n <span class=\"tc-meta\"></span>\r\n\r\n <ng-container *ngFor=\"let section of parsedSections\">\r\n <div class=\"section-title\">Last Modified: {{section.versionName}}. {{section?.createdDate}}</div>\r\n <div [innerHTML]=\"section.content\"></div>\r\n <br><br>\r\n </ng-container>\r\n\r\n <div class=\"logo-section mt-5 text-center\">\r\n <img [src]=\"branding?.logo\" [alt]=\"branding?.displayName\" [class.filter]=\"isFilteredBrand()\" />\r\n </div>\r\n <div class=\"content\">\r\n <p>\r\n &copy;{{PrivacyAndTerms?.currentYear}} {{PrivacyAndTerms?.companyName}}.<br>\r\n Proprietary and Confidential Information. Strictly for use by {{PrivacyAndTerms?.companyName}} approved customers only.<br>\r\n Duplication or alteration is strictly prohibited without prior written consent.\r\n </p>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.tc-wrapper{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:14px;line-height:1.72;color:#374151;letter-spacing:.01em;padding:0 6px;word-spacing:.03em}.tc-meta{display:inline-block;font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#6b7280;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e2e8f0;width:100%}.section-title{display:block;font-size:14.5px;font-weight:700;color:#0f172a;letter-spacing:-.01em;line-height:1.35;margin-top:2px;margin-bottom:8px;padding-bottom:6px;border-bottom:2px solid #e2e8f0;text-decoration:none}.h{display:inline;color:#0f172a;font-weight:600;letter-spacing:.015em;line-height:1.9}.tc-list{list-style:none;padding-left:0;margin:12px 0 12px 4px}.tc-list li{position:relative;padding-left:20px;margin-bottom:8px;line-height:1.75}.tc-list li:before{content:\"\\203a\";position:absolute;left:0;top:0;color:#1e40af;font-weight:700;font-size:15px}.logo-section{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:48px;margin-bottom:0;overflow:visible;min-height:42px}.logo-section img{display:block;max-width:160px;height:auto;margin-bottom:16px;position:relative;z-index:2}.logo-section .filter{filter:brightness(.5)}.content{font-size:11.5px;line-height:1.7;text-align:center;color:#6b7280;letter-spacing:.01em;margin-top:10px;margin-bottom:32px}.privacy-policy-modal{background:#fff;padding:0 20px;max-width:650px;margin:auto;display:flex;flex-direction:column;align-items:center}.privacy-policy-modal .modal-footer{width:100%;display:flex;justify-content:center}.privacy-policy-modal .modal-footer .btn{padding:8px 25px;font-size:12px}\n"] }]
1239
1238
  }], ctorParameters: () => [{ type: i1$1.DomSanitizer }], propDecorators: { title: [{
1240
1239
  type: Input
1241
1240
  }], branding: [{