1"use strict";(self.webpackChunkszerzi_front=self.webpackChunkszerzi_front||[]).push([[4743],{25161:(K,S,a)=>{a.d(S,{W:()=>T});var t=a(5111),n=a(94650),o=a(83092),O=a(36895),L=a(24006),N=a(66616),M=a(47044),e=a(73679),F=a(36704),P=a(6497),z=a(14685),A=a(37570),R=a(4636),V=a(53891),v=a(94452),x=a(20246),y=a(32925),f=a(79991);const u=function(E){return{"readOnlyInput background-white":E}};function d(E,h){if(1&E&&(n._UZ(0,"nz-time-picker",7),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.ALo(4,"translate"),n.ALo(5,"translate")),2&E){const l=n.oxw(2);n.ekj("ant-zorro-input-error",l.parentForm.controls[l.fieldName].touched&&(l.parentForm.controls[l.fieldName].hasError("required")||l.parentForm.controls[l.fieldName].hasError("error")))("ant-zorro-input-warning",l.parentForm.controls[l.fieldName].touched&&l.parentForm.controls[l.fieldName].hasError("warning")),n.Q6J("id",l.fieldName)("nzPlaceHolder",l.field.specification.field.placeholder?n.lcZ(1,11,"CLIENT.CONTRACTS.FIELD.PLACEHOLDER_PREFIX")+l.field.specification.field.placeholder:null)("formControlName",l.fieldName)("nzFormat",l.V1Settings.timeFormat)("nzDisabled",!(l.isContractEditable&&l.isCustomClauseConfirmed)||!l.isLawyer&&l.expertSegment)("nzTooltipTitle",!l.isLawyer&&l.expertSegment?n.lcZ(2,13,"CLIENT.CONTRACTS.SEGMENT.EXPERT.WARNING"):l.isContractEditable?null:l.isEditedByOther?n.lcZ(3,15,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER")+(l.isOwned?" "+n.lcZ(4,17,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER_HINT"):""):n.lcZ(5,19,"CLIENT.CONTRACTS.FIELD.PERMISSION.WARNING"))("ngClass",n.VKq(21,u,!(l.isContractEditable&&l.isCustomClauseConfirmed)||!l.isLawyer&&l.expertSegment))}}function _(E,h){if(1&E&&(n.TgZ(0,"div"),n._UZ(1,"app-time-range-picker",8),n.ALo(2,"translate"),n.ALo(3,"translate"),n.ALo(4,"translate"),n.ALo(5,"translate"),n.ALo(6,"translate"),n.qZA()),2&E){const l=n.oxw(2);n.xp6(1),n.ekj("ant-zorro-input-error",l.parentForm.controls[l.fieldName].touched&&(l.parentForm.controls[l.fieldName].hasError("required")||l.parentForm.controls[l.fieldName].hasError("error")))("ant-zorro-input-warning",l.parentForm.controls[l.fieldName].touched&&l.parentForm.controls[l.fieldName].hasError("warning")),n.Q6J("id",l.fieldName)("nzTooltipTitle",!l.isLawyer&&l.expertSegment?n.lcZ(2,15,"CLIENT.CONTRACTS.SEGMENT.EXPERT.WARNING"):l.isCustomClauseConfirmed?l.isContractEditable?null:l.isEditedByOther?n.lcZ(4,19,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER")+(l.isOwned?" "+n.lcZ(5,21,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER_HINT"):""):n.lcZ(6,23,"CLIENT.CONTRACTS.FIELD.PERMISSION.WARNING"):n.lcZ(3,17,"CLIENT.CONTRACTS.SEGMENT.CUSTOM_CLAUSE.CONFIRM_NEEDED"))("field",l.field)("fieldName",l.fieldName)("parentForm",l.parentForm)("isContractEditable",l.isContractEditable)("isLawyer",l.isLawyer)("expertSegment",l.expertSegment)("isCustomClauseConfirmed",l.isCustomClauseConfirmed)("nzFormat",l.V1Settings.timeFormat)("progressLanguage",l.progressLanguage)}}function g(E,h){if(1&E){const l=n.EpF();n.TgZ(0,"button",9),n.NdJ("nzOnConfirm",function(){n.CHM(l);const D=n.oxw(2);return n.KtG(D.isContractEditable&&D.isCustomClauseConfirmed&&(D.isLawyer||!D.expertSegment)?D.contractFormService.deleteFieldValue(D.parentForm,D.fieldName):null)}),n.ALo(1,"translate"),n.ALo(2,"translate"),n.ALo(3,"translate"),n.ALo(4,"translate"),n._uU(5),n.ALo(6,"translate"),n.qZA()}if(2&E){const l=n.oxw(2);n.s9C("nzPopconfirmTitle",l.isCustomClause?n.lcZ(1,5,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.CUSTOM_CLAUSE_TITLE"):n.lcZ(2,7,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.TITLE")),n.s9C("nzCancelText",n.lcZ(3,9,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.CANCEL")),n.s9C("nzOkText",n.lcZ(4,11,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.OK")),n.Q6J("nzCondition",!(l.isContractEditable&&l.isCustomClauseConfirmed)||!l.isLawyer&&l.expertSegment),n.xp6(5),n.hij(" ",n.lcZ(6,13,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE")," ")}}function r(E,h){if(1&E&&(n._UZ(0,"app-v1-field-validation",10),n.ALo(1,"definiteArticle")),2&E){const l=h.$implicit,m=n.oxw(2);n.Q6J("control",l)("name",n.lcZ(1,4,m.fieldDisplayName))("validationText",m.field.specification.field.validation?m.field.specification.field.validation.text:null)("progressLanguage",m.progressLanguage)}}function p(E,h){if(1&E&&(n.TgZ(0,"app-v1-field",1)(1,"nz-form-control",2),n.YNc(2,d,6,23,"nz-time-picker",3),n.YNc(3,_,7,25,"div",4),n.YNc(4,g,7,15,"button",5),n.qZA(),n.YNc(5,r,2,6,"ng-template",null,6,n.W1O),n.qZA()),2&E){const l=n.MAs(6),m=n.oxw();n.Q6J("field",m.field)("formGroup",m.parentForm)("progressLanguage",m.progressLanguage)("progressID",m.progressID)("contractTitle",m.contractTitle)("fieldName",m.fieldName)("parentForm",m.parentForm)("isLawyer",m.isLawyer)("expertSegment",m.expertSegment)("formWidth",m.formWidth)("matchmakingCategory",m.matchmakingCategory)("isOwned",m.isOwned),n.xp6(1),n.Q6J("nzValidateStatus",m.parentForm.controls[m.fieldName])("nzErrorTip",l)("nzWarningTip",l),n.xp6(1),n.Q6J("ngIf",!m.field.specification.field.range),n.xp6(1),n.Q6J("ngIf",m.field.specification.field.range),n.xp6(1),n.Q6J("ngIf",!m.field.specification.required&&m.parentForm.controls[m.fieldName].value&&(m.isLawyer||!m.expertSegment))}}let T=(()=>{class E{constructor(l){this.contractFormService=l,this.V1Settings=t.L}ngOnInit(){this.field&&this.field.displayElements.name&&(this.fieldDisplayName=this.contractFormService.parseMarkdownText(this.field.displayElements.name))}}return E.\u0275fac=function(l){return new(l||E)(n.Y36(o.R))},E.\u0275cmp=n.Xpm({type:E,selectors:[["app-v1-field-time"]],inputs:{field:"field",fieldName:"fieldName",parentForm:"parentForm",isContractEditable:"isContractEditable",isEditedByOther:"isEditedByOther",isOwned:"isOwned",isLawyer:"isLawyer",expertSegment:"expertSegment",isCustomClause:"isCustomClause",isCustomClauseConfirmed:"isCustomClauseConfirmed",progressLanguage:"progressLanguage",progressID:"progressID",contractTitle:"contractTitle",formWidth:"formWidth",matchmakingCategory:"matchmakingCategory"},decls:1,vars:1,consts:[[3,"field","formGroup","progressLanguage","progressID","contractTitle","fieldName","parentForm","isLawyer","expertSegment","formWidth","matchmakingCategory","isOwned",4,"ngIf"],[3,"field","formGroup","progressLanguage","progressID","contractTitle","fieldName","parentForm","isLawyer","expertSegment","formWidth","matchmakingCategory","isOwned"],[3,"nzValidateStatus","nzErrorTip","nzWarningTip"],["input-backslash-replace","","class","w-100","nz-tooltip","","nzTooltipPlacement","top",3,"id","nzPlaceHolder","formControlName","nzFormat","nzDisabled","nzTooltipTitle","ant-zorro-input-error","ant-zorro-input-warning","ngClass",4,"ngIf"],[4,"ngIf"],["nz-button","","nzType","link","nz-popconfirm","","nzPopconfirmPlacement","bottom","class","change-options link-like-button","style","float: right",3,"nzPopconfirmTitle","nzCondition","nzCancelText","nzOkText","nzOnConfirm",4,"ngIf"],["errorTemplate",""],["input-backslash-replace","","nz-tooltip","","nzTooltipPlacement","top",1,"w-100",3,"id","nzPlaceHolder","formControlName","nzFormat","nzDisabled","nzTooltipTitle","ngClass"],["nz-tooltip","","nzTooltipPlacement","top",3,"id","nzTooltipTitle","field","fieldName","parentForm","isContractEditable","isLawyer","expertSegment","isCustomClauseConfirmed","nzFormat","progressLanguage"],["nz-button","","nzType","link","nz-popconfirm","","nzPopconfirmPlacement","bottom",1,"change-options","link-like-button",2,"float","right",3,"nzPopconfirmTitle","nzCondition","nzCancelText","nzOkText","nzOnConfirm"],[3,"control","name","validationText","progressLanguage"]],template:function(l,m){1&l&&n.YNc(0,p,7,18,"app-v1-field",0),2&l&&n.Q6J("ngIf",m.field)},dependencies:[O.mk,O.O5,L.JJ,L.JL,L.sg,L.u,N.ix,M.w,e.t3,F.Fd,P.JW,z.m4,A.SY,R.X,V.$,v.f,x.q,y.X$,f.Y],styles:['@charset "UTF-8";[_nghost-%COMP%] nz-time-picker{min-width:-moz-fit-content!important;min-width:fit-content!important}']}),E})()},53891:(K,S,a)=>{a.d(S,{$:()=>U});var t=a(97582),n=a(18683),o=a(17009),O=a(40700),L=a(44224),N=a(37570),M=a(5963),e=a(94650),F=a(81664),P=a(83092),z=a(75489),A=a(36895),R=a(6018),V=a(47044),v=a(73679),x=a(36704),y=a(47423),f=a(32925),u=a(45144),d=a(79991),_=a(7463),g=a(5233); 2/* 3 * @license 4 * Szerzi UG (haftungsbeschränkt) CONFIDENTIAL 5 * Unpublished Copyright (c) 2021 Szerzi UG (haftungsbeschränkt), All Rights Reserved. 6 *
7 * NOTICE: All information contained herein is, and remains the property of Szerzi UG (haftungsbeschränkt) 8 * The intellectual and technical concepts contained herein are proprietary to Szerzi UG (haftungsbeschränkt) 9 * and may be covered by E.U. and Foreign Patents, patents in process, and are protected by 10 * trade secret or copyright law. 11 * 12 * Dissemination of this information or reproduction of this material is strictly forbidden 13 * unless prior written permission is obtained from Szerzi UG (haftungsbeschränkt). Access to the source code 14 * obtained herein is hereby forbidden to anyone except current Szerzi UG (haftungsbeschränkt) employees, 15 * managers or contractors who have executed Confidentiality and Non-disclosure agreements 16 * explicitly covering such access. 17 * 18 * The copyright notice above does not evidence any actual or intended publication or disclosure 19 * of this source code, which includes information that is confidential and/or proprietary, 20 * and is a trade secret, of Szerzi UG (haftungsbeschränkt) ANY REPRODUCTION, MODIFICATION, DISTRIBUTION, 21 * PUBLIC PERFORMANCE, OR PUBLIC DISPLAY OF OR THROUGH USE OF THIS SOURCE CODE WITHOUT THE 22 * EXPRESS WRITTEN CONSENT OF Szerzi UG (haftungsbeschränkt) IS STRICTLY PROHIBITED, AND IN VIOLATION OF 23 * APPLICABLE LAWS AND INTERNATIONAL TREATIES. THE RECEIPT OR POSSESSION OF THIS SOURCE CODE 24 * AND/OR RELATED INFORMATION DOES NOT CONVEY OR IMPLY ANY RIGHTS TO REPRODUCE, DISCLOSE OR 25 * DISTRIBUTE ITS CONTENTS, OR TO MANUFACTURE, USE, OR SELL ANYTHING THAT IT MAY DESCRIBE, 26 * IN WHOLE OR IN PART. 27 */const r=["labelDiv"];function p(s,c){1&s&&(e.TgZ(0,"span",10),e._UZ(1,"br"),e._uU(2),e.ALo(3,"translate"),e.qZA()),2&s&&(e.xp6(2),e.hij(" ",e.lcZ(3,1,"CLIENT.CONTRACTS.FIELD.OPTIONAL")," "))}function T(s,c){if(1&s&&e._UZ(0,"app-geocode-indicatior",11),2&s){const i=e.oxw(2);e.Q6J("geocodeStatus",i.geocodeStatus)("size","small")}}function E(s,c){1&s&&e.GkF(0,14)}function h(s,c){if(1&s&&(e.TgZ(0,"div",12),e.YNc(1,E,1,0,"ng-container",13),e.qZA()),2&s){e.oxw();const i=e.MAs(23);e.xp6(1),e.Q6J("ngTemplateOutlet",i)}}function l(s,c){if(1&s&&e._UZ(0,"app-geocode-indicatior",17),2&s){const i=e.oxw(3);e.Q6J("geocodeStatus",i.geocodeStatus)}}function m(s,c){1&s&&e.GkF(0,14)}const D=function(s,c,i){return{"col-sm-12 col-lg-3":s,helpDivPadding:c,"col-sm-5":i}};function Z(s,c){if(1&s&&(e.TgZ(0,"div",15),e.YNc(1,l,1,1,"app-geocode-indicatior",16),e.YNc(2,m,1,0,"ng-container",13),e.qZA()),2&s){e.oxw();const i=e.MAs(23),C=e.oxw();e.Q6J("ngClass",e.kEZ(3,D,C.field.specification.kind!==C.V1SpecificationKind.Checkbox,C.fieldGeocodeDataType&&C.filledDataType===C.fieldGeocodeDataType||C.fieldHelp&&C.field.specification.kind!==C.V1SpecificationKind.Confirm,C.field.specification.kind===C.V1SpecificationKind.Checkbox)),e.xp6(1),e.Q6J("ngIf",C.fieldGeocodeDataType&&C.filledDataType===C.fieldGeocodeDataType),e.xp6(1),e.Q6J("ngTemplateOutlet",i)}}function W(s,c){if(1&s&&(e.TgZ(0,"span",20)(1,"span",21),e._UZ(2,"span",22),e.ALo(3,"safe"),e.ALo(4,"hyphen"),e.ALo(5,"definiteArticle"),e.qZA()()),2&s){const i=e.oxw(3);e.xp6(2),e.Q6J("innerHTML",e.xi3(3,1,e.xi3(4,4,e.lcZ(5,7,i.fieldHelp),i.progressLanguage),"html"),e.oJD)}}function b(s,c){if(1&s&&(e._UZ(0,"span",3),e.ALo(1,"safe"),e.ALo(2,"hyphen"),e.ALo(3,"definiteArticle")),2&s){const i=e.oxw(4);e.Q6J("innerHTML",e.xi3(1,1,e.xi3(2,4,e.lcZ(3,7,i.fieldDescription),i.progressLanguage),"html"),e.oJD)}}function w(s,c){if(1&s){const i=e.EpF();e.TgZ(0,"button",23),e.NdJ("click",function(){e.CHM(i);const I=e.oxw(3);return e.KtG(I.modalService.contractInformationModal(I.fieldDisplayName,I.fieldDescription,I.contractTitle,I.isOwned?I.progressID:void 0,I.contractTitle,!1,!1,I.matchmakingCategory))}),e.TgZ(1,"span",21),e._UZ(2,"span",22),e.ALo(3,"safe"),e.ALo(4,"hyphen"),e.ALo(5,"definiteArticle"),e._UZ(6,"i",24),e.YNc(7,b,4,9,"ng-template",null,25,e.W1O),e.qZA()()}if(2&s){const i=e.MAs(8),C=e.oxw(3);e.xp6(2),e.Q6J("innerHTML",e.xi3(3,2,e.xi3(4,5,e.lcZ(5,8,C.fieldHelp),C.progressLanguage),"html"),e.oJD),e.xp6(4),e.Q6J("nzTooltipTitle",i)}}function B(s,c){if(1&s&&(e.YNc(0,W,6,9,"span",18),e.YNc(1,w,9,10,"button",19)),2&s){const i=e.oxw(2);e.Q6J("ngIf",i.fieldHelp&&!i.fieldDescription&&i.field.specification.kind!==i.V1SpecificationKind.Confirm),e.xp6(1),e.Q6J("ngIf",i.fieldHelp&&i.fieldDescription&&i.field.specification.kind!==i.V1SpecificationKind.Confirm)}}const k=function(s,c,i,C,I,H){return{"col-sm-4 col-lg-3":s,"col-sm-5":c,"w-100":i,textAlignLeft:C,"code-box-description":I,citySearch:H}},J=function(s,c,i){return[s,c,0,170,i]},Q=function(s,c,i,C){return{"col-sm-8 col-lg-6":s,"col-sm-7":c,"col
27-sm-2":i,"w-100":C}};function Y(s,c){if(1&s&&(e.TgZ(0,"nz-form-item")(1,"nz-form-label",1),e.ALo(2,"as"),e.ALo(3,"as"),e.ALo(4,"as"),e.TgZ(5,"div",null,2),e._UZ(7,"span",3),e.ALo(8,"safe"),e.ALo(9,"hyphen"),e.ALo(10,"definiteArticle"),e.YNc(11,p,4,3,"span",4),e.qZA(),e.YNc(12,T,1,2,"app-geocode-indicatior",5),e.qZA(),e.YNc(13,h,2,1,"div",6),e.ALo(14,"as"),e.TgZ(15,"div",7),e.ALo(16,"as"),e.ALo(17,"as"),e.ALo(18,"translate"),e.Hsn(19),e.qZA(),e.YNc(20,Z,3,7,"div",8),e.ALo(21,"as"),e.YNc(22,B,2,2,"ng-template",null,9,e.W1O),e.qZA()),2&s){const i=e.oxw();e.xp6(1),e.Q6J("nzXs",24)("nzFor",i.fieldName)("nzRequired",i.field.specification.required&&i.field.specification.kind!==i.V1SpecificationKind.Confirm)("ngClass",e.HTZ(47,k,i.field.specification.kind!==i.V1SpecificationKind.Confirm&&i.field.specification.kind!==i.V1SpecificationKind.Checkbox&&!(i.field.specification.kind===i.V1SpecificationKind.Selection&&e.xi3(2,13,i.field.specification.field,i.V1Selection).flavor===i.V1SelectionFlavor.Panel),i.field.specification.kind===i.V1SpecificationKind.Confirm&&i.field.displayElements.name.length<100||i.field.specification.kind===i.V1SpecificationKind.Checkbox,i.field.specification.kind===i.V1SpecificationKind.Confirm&&i.field.displayElements.name.length>=100,i.field.specification.kind===i.V1SpecificationKind.Selection&&e.xi3(3,16,i.field.specification.field,i.V1Selection).flavor===i.V1SelectionFlavor.Panel||i.field.specification.kind===i.V1SpecificationKind.Confirm&&i.field.displayElements.name.length>=100,i.field.specification.kind===i.V1SpecificationKind.Confirm||i.field.specification.kind===i.V1SpecificationKind.Selection&&e.xi3(4,19,i.field.specification.field,i.V1Selection).flavor===i.V1SelectionFlavor.Panel,i.fieldGeocodeDataType&&i.filledDataType===i.fieldGeocodeDataType)),e.xp6(6),e.Q6J("innerHTML",e.xi3(8,22,e.G7q(9,25,e.kEZ(54,J,e.lcZ(10,31,i.fieldDisplayName),i.progressLanguage,i.labelWidth)),"html"),e.oJD),e.xp6(4),e.Q6J("ngIf",!i.field.specification.required&&i.field.specification.kind!==i.V1SpecificationKind.Confirm),e.xp6(1),e.Q6J("ngIf",i.fieldGeocodeDataType&&i.filledDataType===i.fieldGeocodeDataType),e.xp6(1),e.Q6J("ngIf",i.field.specification.kind===i.V1SpecificationKind.Selection&&e.xi3(14,33,i.field.specification.field,i.V1Selection).flavor===i.V1SelectionFlavor.Panel),e.xp6(2),e.Q6J("ngClass",e.l5B(58,Q,i.field.specification.kind!==i.V1SpecificationKind.Confirm&&i.field.specification.kind!==i.V1SpecificationKind.Checkbox&&!(i.field.specification.kind===i.V1SpecificationKind.Selection&&e.xi3(16,36,i.field.specification.field,i.V1Selection).flavor===i.V1SelectionFlavor.Panel),i.field.specification.kind===i.V1SpecificationKind.Confirm&&i.field.displayElements.name.length<100,i.field.specification.kind===i.V1SpecificationKind.Checkbox,i.field.specification.kind===i.V1SpecificationKind.Confirm&&i.field.displayElements.name.length>=100||i.field.specification.kind===i.V1SpecificationKind.Selection&&e.xi3(17,39,i.field.specification.field,i.V1Selection).flavor===i.V1SelectionFlavor.Panel))("nzTooltipTitle",i.isDemo&&i.stepSixSegmentOne&&i.stepSixSegmentOne.fields&&i.stepSixSegmentOne.fields.length>0&&i.stepSixSegmentOne.fields[0]===i.field?e.lcZ(18,42,"LANDING.DEMOS.CONTRACT.START_HERE_TOOLTIP"):null)("nzTooltipTrigger",null)("nzTooltipVisible",i.demoTooltipVisible),e.xp6(5),e.Q6J("ngIf",!(i.field.specification.kind===i.V1SpecificationKind.Selection&&e.xi3(21,44,i.field.specification.field,i.V1Selection).flavor===i.V1SelectionFlavor.Panel))}}let U=class{constructor(c,i,C){this.modalService=c,this.contractFormService=i,this.eventService=C,this.RegExp=RegExp,this.V1SpecificationKind=o.J3,this.V1SelectionFlavor=n.k1,this.Array=Array,this.filledDataType=null,this.stepSixSegmentOne=O.sT,this.demoTooltipVisible=!1,this.demoTooltipEnabled=!0,this.V1Selection=n.qz}ngOnInit(){this.field&&this.field.displayElements.name&&(this.fieldDisplayName=this.contractFormService.parseMarkdownText(this.field.displayElements.name)),this.field&&this.field.displayElements.help&&(this.fieldHelp=this.contractFormService.parseMarkdownText(this.field.displayElements.help)),this.field&&this.field.displayElements.description&&(this.fieldDescription=this.contractFormService.parseMarkdownText(this.field.displayElements.description))}ngAfterViewInit(){this.isDemo&&(this.eventService.demoContractScrolled.pipe((0,L.t)(this)).subscribe(c=>this.checkTooltip(c)),window.addEventListener("click",c=>this.demoTooltipVisibleChange(c))),(0,M.H)(0).pipe((0,L.t)(this)).subscribe(c=>{this.labelDiv&&(this.labelWidth=this.labelDiv.nativeElement.clientWidth)})}ngOnChanges(c){c.formWidth&&this.labelDiv&&(this.labelWidth=this.labelDiv.nativeElement.clientWidth)}ngOnDestroy(){window.removeEventListener("click",c=>this.demoTooltipVisibleChange(c))}checkTooltip(c){const i=document.getElementById(this.field.variable);if(i){const C=i.getBoundingClientRect();this.demoTooltipVisible=this.demoTooltipEnabled&&window.scrollX<C.top&&C.top<window.innerHeight,this.nzTooltipDirective&&this.nzTooltipDirective.updatePosition()}}demoTooltipVisibleChange(c){this.demoTooltipVisible&&(this.demoTooltipVisible=!1,this.demoTooltipEnabled=!1)}onLabelResize(c){this.labelWidth=c.newRect.width}};U.\u0275fac=function(c){return new(c||U)(e.Y36(F.Z),e.Y36(P.R),e.Y36(z.P))},U.\u0275cmp=e.Xpm({type:U,selectors:[["app-v1-field"]],viewQuery:function(c,i){if(1&c&&(e.Gf(N.SY,5),e.Gf(r,5)),2&c){let C;e.iGM(C=e.CRH())&&(i.nzTooltipDirective=C.first),e.iGM(C=e.CRH())&&(i.labelDiv=C.first)}},inputs:{field:"field",fieldName:"fieldName",parentForm:"parentForm",progressLanguage:"progressLanguage",progressID:"progressID",contractTitle:"contractTitle",isLawyer:"isLawyer",expertSegment:"expertSegment",fieldGeocodeDataType:"fieldGeocodeDataType",geocodeStatus:"geocodeStatus",filledDataType:"filledDataType",isDemo:"isDemo",formWidth:"formWidth",matchmakingCategory:"matchmakingCategory",isOwned:"isOwned"},features:[e.TTD],ngContentSelectors:["*"],decls:1,vars:1,consts:[[4,"ngIf"],["nzNoColon","",1,"field-label","p-t-10",3,"nzXs","nzFor","nzRequired","ngClass"],["labelDiv",""],[1,"listWithMargin","descriptionContent",3,"innerHTML"],["class","optionalLabel",4,"ngIf"],["class","m-l-auto",3,"geocodeStatus","size",4,"ngIf"],["class","w-100 code-box-description p-t-0",4,"ngIf"],["nz-tooltip","","nzTooltipPlacement","topLeft",1,"col-xs-12",3,"ngClass","nzTooltipTitle","nzTooltipTrigger","nzTooltipVisible"],["class","col-xs-12",3,"ngClass",4,"ngIf"],["helpTemplate",""],[1,"optionalLabel"],[1,"m-l-auto",3,"geocodeStatus","size"],[1,"w-100","code-box-description","p-t-0"],["class","template",4,"ngTemplateOutlet"],[1,"template"],[1,"col-xs-12",3,"ngClass"],[3,"geocodeStatus",4,"ngIf"],[3,"geocodeStatus"],["class","hideOverflow",4,"ngIf"],["nzType","link","class","hideOverflow link-like-button text-left background-color-unset border-0 color-primary",3,"click",4,"ngIf"],[1,"hideOverflow"],[1,"helpSpan"],[1,"helpTextSpan","listWithMargin","descriptionContent","word-break-break-word",3,"innerHTML"],["nzType","link",1,"hideOverflow","link-like-button","text-left","background-color-unset","border-0","color-primary",3,"click"],["nz-icon","","nz-tooltip","","nzType","question-circle","nzTheme","outline",1,"helpQuestionMark",3,"nzTooltipTitle"],["fieldDescriptionTemplate",""]],template:function(c,i){1&c&&(e.F$t(),e.YNc(0,Y,24,63,"nz-form-item",0)),2&c&&e.Q6J("ngIf",i.field&&(i.isLawyer||!i.expertSegment||i.parentForm&&i.parentForm.controls[i.fieldName]&&i.parentForm.controls[i.fieldName].value&&(!i.Array.isArray(i.parentForm.controls[i.fieldName].value)||i.parentForm.controls[i.fieldName].value.length>0&&i.parentForm.controls[i.fieldName].value[0]&&i.parentForm.controls[i.fieldName].value[0].control)))},dependencies:[A.mk,A.O5,A.tP,R.X,V.w,v.t3,v.SK,x.Nx,x.iK,y.Ls,N.SY,f.X$,u.j,d.Y,_.N,g.y],styles:['@charset "UTF-8";nz-form-label.field-label[_ngcontent-%COMP%]{white-space:normal;white-space:initial;text-align:right}nz-form-label.field-label[_ngcontent-%COMP%]:not(.code-box-description){padding-left:9px;padding-right:9px} nz-form-label.field-label>label{height:auto} nz-form-label.field-label>label:after{margin:0}@media (max-width: 575.98px){nz-form-label.field-label[_ngcontent-%COMP%]{text-align:left}}.textAlignLeft[_ngcontent-%COMP%]{text-align:left!important}.helpSpan[_ngcontent-%COMP%]{white-space:nowrap}.helpTextSpan[_ngcontent-%COMP%]{white-space:normal;font-weight:lighter;font-size:small}.helpQuestionMark[_ngcontent-%COMP%]{vertical-align:0;margin-left:5px}.hideOverflow[_ngcontent-%COMP%]{text-overflow:clip;overflow:hidden}@media (max-width: 991.98px){.helpDivPadding[_ngcontent-%COMP%]{padding-top:9px}}']}),U=(0,t.gn)([(0,L.c)()],U)},6350:(K,S,a)=>{a.d(S,{a:()=>d});var t=a(94650),n=a(37340),o=a(83092),O=a(36895),L=a(66616),N=a(47044),M=a(21811),e=a(47423),F=a(6497),P=a(37570),z=a(32925); 28/* 29 * @license 30 * Szerzi UG (haftungsbeschränkt) CONFIDENTIAL 31 * Unpublished Copyright (c) 2021 Szerzi UG (haftungsbeschränkt), All Rights Reserved. 32 *
33 * NOTICE: All information contained herein is, and remains the property of Szerzi UG (haftungsbeschränkt) 34 * The intellectual and technical concepts contained herein are proprietary to Szerzi UG (haftungsbeschränkt) 35 * and may be covered by E.U. and Foreign Patents, patents in process, and are protected by 36 * trade secret or copyright law. 37 * 38 * Dissemination of this information or reproduction of this material is strictly forbidden 39 * unless prior written permission is obtained from Szerzi UG (haftungsbeschränkt). Access to the source code 40 * obtained herein is hereby forbidden to anyone except current Szerzi UG (haftungsbeschränkt) employees, 41 * managers or contractors who have executed Confidentiality and Non-disclosure agreements 42 * explicitly covering such access. 43 * 44 * The copyright notice above does not evidence any actual or intended publication or disclosure 45 * of this source code, which includes information that is confidential and/or proprietary, 46 * and is a trade secret, of Szerzi UG (haftungsbeschränkt) ANY REPRODUCTION, MODIFICATION, DISTRIBUTION, 47 * PUBLIC PERFORMANCE, OR PUBLIC DISPLAY OF OR THROUGH USE OF THIS SOURCE CODE WITHOUT THE 48 * EXPRESS WRITTEN CONSENT OF Szerzi UG (haftungsbeschränkt) IS STRICTLY PROHIBITED, AND IN VIOLATION OF 49 * APPLICABLE LAWS AND INTERNATIONAL TREATIES. THE RECEIPT OR POSSESSION OF THIS SOURCE CODE 50 * AND/OR RELATED INFORMATION DOES NOT CONVEY OR IMPLY ANY RIGHTS TO REPRODUCE, DISCLOSE OR 51 * DISTRIBUTE ITS CONTENTS, OR TO MANUFACTURE, USE, OR SELL ANYTHING THAT IT MAY DESCRIBE, 52 * IN WHOLE OR IN PART. 53 */function A(_,g){1&_&&t.GkF(0,7)}function R(_,g){if(1&_){const r=t.EpF();t.TgZ(0,"i",8),t.NdJ("click",function(){t.CHM(r);const T=t.oxw().index,E=t.oxw();return t.KtG(E.removeField(T))}),t.ALo(1,"translate"),t.ALo(2,"translate"),t.ALo(3,"translate"),t.ALo(4,"translate"),t.ALo(5,"translate"),t.qZA()}if(2&_){const r=t.oxw(2);t.Q6J("nzTooltipTitle",!r.isLawyer&&r.expertSegment?t.lcZ(1,1,"CLIENT.CONTRACTS.SEGMENT.EXPERT.WARNING"):r.isCustomClauseConfirmed?r.isContractEditable?null:r.isEditedByOther?t.lcZ(3,5,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER")+(r.isOwned?" "+t.lcZ(4,7,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER_HINT"):""):t.lcZ(5,9,"CLIENT.CONTRACTS.FIELD.PERMISSION.WARNING"):t.lcZ(2,3,"CLIENT.CONTRACTS.SEGMENT.CUSTOM_CLAUSE.CONFIRM_NEEDED"))}}const V=function(_){return{reduceWidth:_}},v=function(_,g,r){return{control:_,index:g,placeholder:r}};function x(_,g){if(1&_&&(t.TgZ(0,"div",3)(1,"div",4),t.YNc(2,A,1,0,"ng-container",5),t.qZA(),t.YNc(3,R,6,11,"i",6),t.qZA()),2&_){const r=g.$implicit,p=g.index,T=t.oxw();t.Q6J("@inOutAnimationItem",void 0),t.xp6(1),t.Q6J("ngClass",t.VKq(5,V,T.parentForm.controls[T.fieldName].controls.length>1)),t.xp6(1),t.Q6J("ngTemplateOutlet",T.template)("ngTemplateOutletContext",t.kEZ(7,v,r,p,T.field.specification.field.placeholder?T.field.specification.field.placeholder:"")),t.xp6(1),t.Q6J("ngIf",T.parentForm.controls[T.fieldName].controls.length>1&&(!T.field.specification.field.multipliable.least||T.parentForm.controls[T.fieldName].controls.length>T.field.specification.field.multipliable.least)&&!T.field.specification.field.multipliable.exactly)}}function y(_,g){if(1&_){const r=t.EpF();t.TgZ(0,"button",9),t.NdJ("nzOnConfirm",function(){t.CHM(r);const T=t.oxw();return t.KtG(T.isContractEditable&&T.isCustomClauseConfirmed&&(T.isLawyer||!T.expertSegment)?T.v1ContractFormService.deleteFieldValue(T.parentForm,T.fieldName):null)}),t.ALo(1,"translate"),t.ALo(2,"translate"),t.ALo(3,"translate"),t.ALo(4,"translate"),t._uU(5),t.ALo(6,"translate"),t.qZA()}if(2&_){const r=t.oxw();t.s9C("nzPopconfirmTitle",r.isCustomClause?t.lcZ(1,5,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.CUSTOM_CLAUSE_TITLE"):t.lcZ(2,7,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.TITLE")),t.s9C("nzCancelText",t.lcZ(3,9,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.CANCEL")),t.s9C("nzOkText",t.lcZ(4,11,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.OK")),t.Q6J("nzCondition",!(r.isContractEditable&&r.isCustomClauseConfirmed)||!r.isLawyer&&r.expertSegment),t.xp6(5),t.hij(" ",t.lcZ(6,13,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE"),"\n")}}const f=function(_){return{"cursor-default":_}};function u(_,g){if(1&_){const r=t.EpF();t.TgZ(0,"div",10),t.ALo(1,"translate"),t.ALo(2,"translate"),t.ALo(3,"translate"),t.ALo(4,"translate"),t.ALo(5,"translate"),t.TgZ(6,"button",11),t.NdJ("click",function(){t.CHM(r);const T=t.oxw();return t.KtG(T.addField())}),t._UZ(7,"i",12),t._uU(8),t.ALo(9,"translate"),t.qZA()()}if(2&_){const r=t.oxw();t.Q6J("nzTooltipTitle",!r.isLawyer&&r.expertSegment?t.lcZ(1,4,"CLIENT.CONTRACTS.SEGMENT.EXPERT.WARNING"):r.isCustomClauseConfirmed?r.isContractEditable?null:r.
53isEditedByOther?t.lcZ(3,8,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER")+(r.isOwned?" "+t.lcZ(4,10,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER_HINT"):""):t.lcZ(5,12,"CLIENT.CONTRACTS.FIELD.PERMISSION.WARNING"):t.lcZ(2,6,"CLIENT.CONTRACTS.SEGMENT.CUSTOM_CLAUSE.CONFIRM_NEEDED")),t.xp6(6),t.Q6J("disabled",!(r.isContractEditable&&r.isCustomClauseConfirmed)||!r.isLawyer&&r.expertSegment)("ngClass",t.VKq(16,f,!(r.isContractEditable&&r.isCustomClauseConfirmed)||!r.isLawyer&&r.expertSegment)),t.xp6(2),t.hij(" ",t.lcZ(9,14,"CLIENT.CONTRACTS.FIELD.MULTIPLE.ADD")," ")}}let d=(()=>{class _{constructor(r){this.v1ContractFormService=r,this.addedField=new t.vpe,this.removedField=new t.vpe,this.defaultMost=100}addField(){this.parentForm.controls[this.fieldName].push(this.v1ContractFormService.stepFieldFormGroup(this.field,null)),this.addedField.emit(this.parentForm.controls[this.fieldName].length-1)}removeField(r){this.isContractEditable&&this.isCustomClauseConfirmed&&(this.isLawyer||!this.expertSegment)&&this.parentForm.controls[this.fieldName].removeAt(r),this.removedField.emit(r)}}return _.\u0275fac=function(r){return new(r||_)(t.Y36(o.R))},_.\u0275cmp=t.Xpm({type:_,selectors:[["app-v1-multiple-field"]],inputs:{field:"field",fieldName:"fieldName",parentForm:"parentForm",template:"template",isContractEditable:"isContractEditable",isEditedByOther:"isEditedByOther",isOwned:"isOwned",isCustomClause:"isCustomClause",isCustomClauseConfirmed:"isCustomClauseConfirmed",isLawyer:"isLawyer",expertSegment:"expertSegment"},outputs:{addedField:"addedField",removedField:"removedField"},decls:3,vars:3,consts:[["class","display-inline-flex p-b-10 position-relative w-100",4,"ngFor","ngForOf"],["nz-button","","nzType","link","nz-popconfirm","","nzPopconfirmPlacement","bottom","class","change-options link-like-button","style","float: right",3,"nzPopconfirmTitle","nzCondition","nzCancelText","nzOkText","nzOnConfirm",4,"ngIf"],["nz-tooltip","","nzTooltipPlacement","top","class","text-center w-100",3,"nzTooltipTitle",4,"ngIf"],[1,"display-inline-flex","p-b-10","position-relative","w-100"],[1,"w-100",3,"ngClass"],["class","template",4,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-icon","","nzType","minus-circle-o","class","remover-button","nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle","click",4,"ngIf"],[1,"template"],["nz-icon","","nzType","minus-circle-o","nz-tooltip","","nzTooltipPlacement","top",1,"remover-button",3,"nzTooltipTitle","click"],["nz-button","","nzType","link","nz-popconfirm","","nzPopconfirmPlacement","bottom",1,"change-options","link-like-button",2,"float","right",3,"nzPopconfirmTitle","nzCondition","nzCancelText","nzOkText","nzOnConfirm"],["nz-tooltip","","nzTooltipPlacement","top",1,"text-center","w-100",3,"nzTooltipTitle"],["nz-button","","nzType","dashed",1,"add-button",3,"disabled","ngClass","click"],["nz-icon","","nzType","plus"]],template:function(r,p){1&r&&(t.YNc(0,x,4,11,"div",0),t.YNc(1,y,7,15,"button",1),t.YNc(2,u,10,18,"div",2)),2&r&&(t.Q6J("ngForOf",p.parentForm.controls[p.fieldName].controls),t.xp6(1),t.Q6J("ngIf",!p.field.specification.required&&p.parentForm.controls[p.fieldName].value&&(p.parentForm.controls[p.fieldName].value.length>0&&p.parentForm.controls[p.fieldName].value[0]&&p.parentForm.controls[p.fieldName].value[0].control||p.parentForm.controls[p.fieldName].value.length>1)&&(p.isLawyer||!p.expertSegment)),t.xp6(1),t.Q6J("ngIf",(p.field.specification.field.multipliable.unlimited&&p.parentForm.controls[p.fieldName].controls.length<p.defaultMost||(!p.field.specification.field.multipliable.most&&p.parentForm.controls[p.fieldName].controls.length<p.defaultMost||p.parentForm.controls[p.fieldName].controls.length<p.field.specification.field.multipliable.most)&&!p.field.specification.field.multipliable.exactly)&&(p.isLawyer||!p.expertSegment)))},dependencies:[O.mk,O.sg,O.O5,O.tP,L.ix,N.w,M.dQ,e.Ls,F.JW,P.SY,z.X$],styles:['@charset "UTF-8";i.remover-button[_ngcontent-%COMP%]{display:inline-flex;position:absolute;right:0;transform:translateY(50%);font-size:20px;padding:0 10px;cursor:pointer}.reduceWidth[_ngcontent-%COMP%]{width:calc(100% - 40px)!important}'],data:{animation:[(0,n.X$)("inOutAnimationItem",[(0,n.eR)(":enter",[(0,n.oB)({opacity:0,transform:"translateY(-100%)"}),(0,n.jt)("0.3s ease-out",(0,n.oB)({opacity:1,transform:"translateY(0)"}))]),(0,n.eR)(":leave",[(0,n.oB)({opacity:1,transform:"translateY(0)"}),(0,n.jt)("0.3s ease-in",(0,n.oB)({opacity:0,transform:"translateY(-100%)"}))])])]}}),_})()},94452:(K,S,a)=>{a.d(S,{f:()=>y});var t=a(18683),n=a(17009),o=a(94650),O=a(36895),L=a(32925),N=a(45144),M=a(79991),e=a(7463);const F=function(f){return{name:f}};function P(f,u){if(1&f&&(o.TgZ(0,"span",3),o._uU(1),o.ALo(2,"hyphen"),o.ALo(3,"translate"),o.qZA()),2&f){const d=o.oxw(2);o.xp6(1),o.Oqu(o.xi3(2,1,o.xi3(3,4,"CLIENT.CONTRACTS.FIELD.VALIDATION.REQUIRED",o.VKq(7,F,d.name.toLowerCase())),d.progressLanguage))}}const z=function(f){return{buttonText:f}};function A(f,u){if(1&f&&(o.TgZ(0,"span",4),o._uU(1),o.ALo(2,"hyphen"),o.ALo(3,"translate"),o.ALo(4,"as"),o.ALo(5,"as"),o.ALo(6,"translate"),o.qZA()),2&f){const d=o.oxw(2);o.xp6(1),o.hij(" ",o.xi3(2,1,o.xi3(3,4,"CLIENT.CONTRACTS.FIELD.CONFIRM.REQUIRED",o.VKq(15,z,o.xi3(4,7,d.field.specification.field,d.V1Confirm).button?o.xi3(5,10,d.field.specification.field,d.V1Confirm).button:o.lcZ(6,13,"CLIENT.CONTRACTS.FIELD.CONFIRM.UNDERSTAND"))),d.progressLanguage)," ")}}function R(f,u){if(1&f&&(o.ynx(0),o.YNc(1,P,4,9,"span",1),o.YNc(2,A,7,17,"span",2),o.BQk()),2&f){const d=o.oxw();o.xp6(1),o.Q6J("ngIf",!d.field||d.field.specification.kind!==d.V1SpecificationKind.Confirm),o.xp6(1),o.Q6J("ngIf",d.field&&d.field.specification.kind===d.V1SpecificationKind.Confirm)}}function V(f,u){if(1&f&&(o.ynx(0),o.TgZ(1,"span"),o._uU(2),o.ALo(3,"hyphen"),o.ALo(4,"definiteArticle"),o.qZA(),o.BQk()),2&f){const d=o.oxw();o.xp6(1),o.ekj("text-danger",d.control.hasError("error"))("text-warning",d.control.hasError("warning"))("text-info",d.control.hasError("info")),o.xp6(1),o.hij(" ",o.xi3(3,7,o.lcZ(4,10,d.validationText),d.progressLanguage)," ")}}const v=function(f){return{names:f}};function x(f,u){if(1&f&&(o.ynx(0),o.TgZ(1,"span"),o._uU(2),o.ALo(3,"hyphen"),o.ALo(4,"translate"),o.qZA(),o.BQk()),2&f){const d=o.oxw();o.xp6(1),o.ekj("text-danger",d.control.hasError("error"))("text-warning",d.control.hasError("warning"))("text-info",d.control.hasError("info")),o.xp6(1),o.hij(" ",o.xi3(3,7,o.xi3(4,10,"CLIENT.CONTRACTS.FIELD.VALIDATION.ONE_IS_REQUIRED",o.VKq(13,v,d.control.errors.requiredFieldNames.join(", "))),d.progressLanguage)," ")}}let y=(()=>{class f{constructor(){this.V1SpecificationKind=n.J3,this.V1Confirm=t.Im}}return f.\u0275fac=function(d){return new(d||f)},f.\u0275cmp=o.Xpm({type:f,selectors:[["app-v1-field-validation"]],inputs:{control:"control",name:"name",validationText:"validationText",progressLanguage:"progressLanguage",field:"field"},decls:3,vars:3,consts:[[4,"ngIf"],["class","text-danger listWithMargin",4,"ngIf"],["class","text-danger",4,"ngIf"],[1,"text-danger","listWithMargin"],[1,"text-danger"]],template:function(d,_){1&d&&(o.YNc(0,R,3,2,"ng-container",0),o.YNc(1,V,5,12,"ng-container",0),o.YNc(2,x,5,15,"ng-container",0)),2&d&&(o.Q6J("ngIf",_.control.hasError("required")),o.xp6(1),o.Q6J("ngIf",_.control.hasError("expression")),o.xp6(1),o.Q6J("ngIf",_.control.hasError("oneIsRequired")))},dependencies:[O.O5,L.X$,N.j,M.Y,e.N],encapsulation:2}),f})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.