1 2import{a as $,b as P}from"./_oschunk-JPW6KANE.js";import"./_oschunk-QYGPESSY.js";import{a as S}from"./_oschunk-JIJ6BPXK.js";import{c as N,d as y}from"./_oschunk-PZH2HHCM.js";import"./_oschunk-5UVZMAQA.js";import"./_oschunk-O2XPGWXT.js";import{H as A,I as L,J as k,K as B,b as F,f as M}from"./_oschunk-7Q3KHZHS.js";import{a as J,j as l,l as I,m as W,q as D}from"./_oschunk-YDDY22NB.js";import{Pa as b}from"./_oschunk-BXWG5YIO.js";import{a as x}from"./_oschunk-YA42W5JD.js";import{H as g,L as v,a as n,c as K,j as f,q as p,u as _,w as E}from"./_oschunk-G4YYL6FC.js";var z={};{let t=class t extends g.BaseViewController{constructor(e,a,c){super(e,a,c,z);var R=this.controller;this.clientActionProxies={},this.dataFetchDependenciesOriginal={},this.dataFetchDependentsGraph={},this.shouldSendClientVarsToDataSources=!0}get dataFetchActionNames(){return this.hasOwnProperty("_dataFetchActionNames")||(this._dataFetchActionNames=[]),this._dataFetchActionNames}set dataFetchActionNames(e){this._dataFetchActionNames=e}get onInitializeEventHandler(){return this.hasOwnProperty("_onInitializeEventHandler")||(this._onInitializeEventHandler=null),this._onInitializeEventHandler}set onInitializeEventHandler(e){this._onInitializeEventHandler=e}get onReadyEventHandler(){return this.hasOwnProperty("_onReadyEventHandler")||(this._onReadyEventHandler=null),this._onReadyEventHandler}set onReadyEventHandler(e){this._onReadyEventHandler=e}get onRenderEventHandler(){return this.hasOwnProperty("_onRenderEventHandler")||(this._onRenderEventHandler=null),this._onRenderEventHandler}set onRenderEventHandler(e){this._onRenderEventHandler=e}get onDestroyEventHandler(){return this.hasOwnProperty("_onDestroyEventHandler")||(this._onDestroyEventHandler=null),this._onDestroyEventHandler}set onDestroyEventHandler(e){this._onDestroyEventHandler=e}get onParametersChangedEventHandler(){return this.hasOwnProperty("_onParametersChangedEventHandler")||(this._onParametersChangedEventHandler=null),this._onParametersChangedEventHandler}set onParametersChangedEventHandler(e){this._onParametersChangedEventHandler=e}get onSyncStartEventHandler(){return this.hasOwnProperty("_onSyncStartEventHandler")||(this._onSyncStartEventHandler=null),this._onSyncStartEventHandler}set onSyncStartEventHandler(e){this._onSyncStartEventHandler=e}get onSyncCompleteEventHandler(){return this.hasOwnProperty("_onSyncCompleteEventHandler")||(this._onSyncCompleteEventHandler=null),this._onSyncCompleteEventHandler}set onSyncCompleteEventHandler(e){this._onSyncCompleteEventHandler=e}get onSyncErrorEventHandler(){return this.hasOwnProperty("_onSyncErrorEventHandler")||(this._onSyncErrorEventHandler=null),this._onSyncErrorEventHandler}set onSyncErrorEventHandler(e){this._onSyncErrorEventHandler=e}get handleError(){return this.hasOwnProperty("_handleError")||(this._handleError=function(e){return S.handleError(e,this.callContext())}),this._handleError}set handleError(e){this._handleError=e}static checkPermissions(){}getDefaultTimeout(){return b.defaultTimeout}};n(t,"ControllerInner");let r=t;G=r}var G,H=new g.ControllerFactory(G,x);var d=K(J());var O=class O extends _.GenericRecord{static attributesToDeclare(){return[].concat(_.GenericRecord.attributesToDeclare.call(this))}};n(O,"VariablesRecord");var h=O;h.init();var V=class V extends v.BaseWidgetRecordMap{static getWidgetsType(){return{}}};n(V,"WidgetsRecord");var C=V,s=class s extends v.VariablelessViewModel{static getVariablesRecordConstructor(){return h}
2static getWidgetsRecordConstructor(){return C}static get hasValidationWidgets(){return s._hasValidationWidgetsValue===void 0&&(s._hasValidationWidgetsValue=N.hasValidationWidgets||$.hasValidationWidgets),s._hasValidationWidgetsValue}setInputs(t){}};n(s,"Model");var m=s;m._hasValidationWidgetsValue=void 0;var w=new v.ModelFactory(m);var Y=n(function(){var r=W(function(t){var T=t.model,e=t.controller,a=t.controller.idService,c=e.validationService,R=e.callContext(),U={props:t,validateWidget:n(function(o){t.validateWidget(t,o)},"validateWidget")},i=T,u=I();return(0,d.createElement)("div",t.rootNodeProperties,(0,d.createElement)(y,{getOwnerSpan:n(function(){return u.getChildSpan("render")},"getOwnerSpan"),getOwnerDisposeSpan:n(function(){return u.getChildSpan("destroy")},"getOwnerDisposeSpan"),inputs:{},events:{_handleError:n(function(o){e.handleError(o)},"_handleError")},_validationProps:{validationService:c},_idProps:{service:a,uuid:"0",alias:"1"},_widgetRecordProvider:i,placeholders:{header:l.PlaceholderContent.Empty,breadcrumbs:l.PlaceholderContent.Empty,title:l.PlaceholderContent.Empty,actions:l.PlaceholderContent.Empty,mainContent:new l.PlaceholderContent(function(){return[(0,d.createElement)(P,{getOwnerSpan:n(function(){return u.getChildSpan("render")},"getOwnerSpan"),getOwnerDisposeSpan:n(function(){return u.getChildSpan("destroy")},"getOwnerDisposeSpan"),inputs:{},events:{_handleError:n(function(o){e.handleError(o)},"_handleError")},_validationProps:{validationService:c},_idProps:{service:a,uuid:"1",alias:"2"},_widgetRecordProvider:i,_dependencies:[]}),(0,d.createElement)(M,{align:0,animate:!1,extendedProperties:{style:"text-align: center;"},style:"margin-top-m",visible:!0,_idProps:{service:a,uuid:"2"},_widgetRecordProvider:i},D(E.getUserId().toString()===E.nullTextIdentifier(),!1,this,function(){return[(0,d.createElement)(F,{enabled:!0,isDefault:!1,onClick:n(function(){try{p.navigateTo(p.generateScreenURL("PortalVoluntario","LoginFlow",{}),f.createTransition(f.TransitionAnimation.Default),null,!0)}catch(o){if(o.name!=="RedirectOccurredException")throw o}},"onClick"),style:"btn btn-primary",visible:!0,_idProps:{service:a,uuid:"3"},_widgetRecordProvider:i},"Login")]},function(){return[]}))]})},_dependencies:[]}))},{topLevelComponent:!0,getAttributes:n(function(){return{codeFunction:"TokenInvalido",functionKey:"b20ac509-413f-4957-a0b7-b3eef97f5c73",functionOwnerName:"PortalVoluntario",functionOwnerKey:"4c030bc7-e2dd-4b94-94ab-a16416ea46cf",screen:""}},"getAttributes"),displayName:"Common.TokenInvalido",modelFactory:w,controllerFactory:H,getTitle:n(function(t){var T=t.model,e=t.controller,a=t.controller.idService,c=e.validationService,R=e.callContext(),U={props:t,validateWidget:n(function(i){t.validateWidget(t,i)},"validateWidget")};return"Token inv\xE1lido"},"getTitle"),iconLibrary:A,iconMappings:L,iconWeightMappings:k,iconSizeMappings:B});return r.getCssDependencies=function(){return["css/font-awesome.min.css","css/OutSystemsReactWidgets.css","css/OutSystemsUI.OutSystemsUI.css","css/PortalVoluntario.PortaldoVoluntarioWebsite.css","css/PortalVoluntario.PortaldoVoluntarioWebsite.extra.css"]},r.getJsDependencies=function(){return[]},r.getBlocks=function(){return[y,P]},r},"componentFactory"),Z=Y();export{H as controllerModule,w as modelModule,Z as viewModule,S as webFlowControllerModule};
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.