PageSourceSearch

https://apps.3dplans.com/Projects/scripts/OutSystemsReactWidgets.js?JJ3HMAa6vv2p99ezZWdwzQ

js 3dplans.com collected 2026-09-28 06:36:42 UTC 88,792 bytes, 5 lines download raw bytes

1define("OutSystems/ReactWidgets/AdvancedHtml",["require","exports","tslib","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AdvancedHtml=void 0;var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.render=function(){var t=o.createElement.bind(null,this.props.tag);if(t){var e={"data-advancedhtml":""};return this.fillWithBuiltinProperties(e),t(e,this.props.children)}return null},e=i.__decorate([n.WidgetSpec],e)}(n.Widget);e.AdvancedHtml=r}),define("OutSystems/ReactWidgets/Button",["require","exports","tslib","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Button=void 0;var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.handleClick=function(t){var e=this;t.preventDefault(),t.stopPropagation();var i=this.props.onClick,n=function(){return null===i||void 0===i?void 0:i()};if(this.props.confirmationMessage&&this.props.confirmationMessage.length){var o=navigator.notification;o?o.confirm(this.props.confirmationMessage,function(t){1===t&&e.executeWithActiveClassOn(n)},""):window.confirm(this.props.confirmationMessage)&&this.executeWithActiveClassOn(n)}else this.executeWithActiveClassOn(n)},e.prototype.render=function(){var t=this,e={"data-button":"",className:this.props.style,type:this.props.isDefault?"submit":"button",disabled:!this.props.enabled,onClick:function(e){return t.handleClick(e)}};return this.fillWithBuiltinProperties(e),r.createElement(n.HtmlTags.button,e,this.props.children)},e=i.__decorate([o.WidgetSpec],e)}(o.Widget);e.Button=s}),define("OutSystems/ReactWidgets/AbstractButtonGroup",["require","exports","tslib","OutSystems/ClientRuntime/DataTypes","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractButtonGroup=void 0;var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.selectedValue=null,e.selectedElementId=null,e}return i.__extends(e,t),e.prototype.syncSelectedValueWithProps=function(){var t=this;this.selectedValue=null;var e=!1;r.Children.forEach(this.props.children,function(i){e=e||i&&i.props&&(0,n.equals)(t.props.variable.value,i.props.value)}),this.selectedValue=e?this.props.variable.value:null},e.prototype.componentDidMount=function(){this.syncSelectedValueWithProps()},e.prototype.componentDidUpdate=function(){this.syncSelectedValueWithProps()},e.prototype.updateValue=function(t){var e=this;(0,n.equals)(this.props.variable.value,t)||(this.selectedValue=t,this.props.variable.value=t,this.props.onChange&&this.executeAfterPaint(function(){e.props.onChange()}))},Object.defineProperty(e.prototype,"variable",{get:function(){return this.props.variable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"htmlElement",{get:function(){return this.getHTMLNode()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMandatory",{get:function(){return this.props.mandatory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValue",{get:function(){return this.selectedValue},enumerable:!1,configurable:!0}),e.prototype.render=function(){var t,e=this,o=this.getDataAttribute(),s=r.Children.map(this.props.children,function(t,o){if(t&&t.props&&(t=r.cloneElement(t,i.__assign({isSelected:(0,n.equals)(e.props.variable.value,t.props.value),enabled:t.props.enabled&&e.props.enabled,updateValueInParent:function(t){e.updateValue(t)},key:o},e.getAdditionalPropsToChild())),(0,n.equals)(e.props.variable.value,t.props.value))){var s=t.props._idProps;e.selectedElementId=s.service.getId(s.name)}return t}),a=(t={},t[o]="",t.className=this.props.style,t.role="radiogroup",t["aria-activedescendant"]=this.selectedElementId,t);return this.fillWithBuiltinProperties(a),r.createElement("div",i.__assign({},a),r.createElement("div",null,s),this.createValidationElement())},e}(o.InputWithVariableWidget);e.AbstractButtonGroup=s}),define("OutSystems/ReactWidgets/ButtonGroup",["require","exports","tslib","OutSystems/ReactView/Widget","./AbstractButtonGroup"],function(t,e,
1i,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ButtonGroup=void 0;var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.getAdditionalPropsToChild=function(){return{}},e.prototype.getDataAttribute=function(){return"data-button-group"},e=i.__decorate([n.WidgetSpec],e)}(o.AbstractButtonGroup);e.ButtonGroup=r}),define("OutSystems/ReactWidgets/ButtonGroupItem",["require","exports","tslib","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ButtonGroupItem=void 0;var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.handleClick=function(t){var e=this;this.executeWithActiveClassOn(function(){return e.props.updateValueInParent(e.props.value)})},e.prototype.render=function(){var t=this,e={"data-button-group-item":"",className:this.props.style+(this.props.isSelected?" button-group-selected-item":""),disabled:!this.props.enabled,"aria-checked":"".concat(this.props.isSelected),role:"radio",onClick:function(e){return t.handleClick(e)}};return this.fillWithBuiltinProperties(e),o.createElement("button",i.__assign({},e),this.props.children)},e=i.__decorate([n.WidgetSpec],e)}(n.Widget);e.ButtonGroupItem=r}),define("OutSystems/ReactWidgets/Checkbox",["require","exports","tslib","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Checkbox=void 0;var s=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.state={value:e.variable.value},n}return i.__extends(e,t),e.prototype.onChange=function(t){var e=this,i=t.target;this.props.variable.value=i.checked,this.setState({value:i.checked},function(){e.props.onChange&&e.executeAfterPaint(function(){e.executeWithActiveClassOn(function(){return e.props.onChange()})})})},Object.defineProperty(e.prototype,"htmlElement",{get:function(){return this.getHTMLNode()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValue",{get:function(){return this.htmlElement.checked},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValueValidity",{get:function(){return this.htmlElement.validity},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"variable",{get:function(){return this.props.variable},enumerable:!1,configurable:!0}),e.prototype.updateValue=function(t){this.setState({value:t})},e.prototype.UNSAFE_componentWillReceiveProps=function(t){this.props.variable.value!==t.variable.value&&this.updateValue(t.variable.value)},e.prototype.render=function(){var t=this,e={"data-checkbox":"",className:this.props.style,disabled:!this.props.enabled,type:"checkbox",onChange:function(e){return t.onChange(e)},onClick:function(t){return t.stopPropagation()},checked:this.state.value};return this.fillWithBuiltinProperties(e),r.createElement(n.HtmlTags.span,null,r.createElement(n.HtmlTags.input,i.__assign({},e)),this.createValidationElement())},e=i.__decorate([o.WidgetSpec],e)}(o.InputWithVariableWidget);e.Checkbox=s}),define("OutSystems/ReactWidgets/RadioGroup",["require","exports","tslib","OutSystems/ReactView/Widget","./AbstractButtonGroup"],function(t,e,i,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RadioGroup=void 0;var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.getAdditionalPropsToChild=function(){return{groupName:this.getId()}},e.prototype.getDataAttribute=function(){return"data-radio-group"},e=i.__decorate([n.WidgetSpec],e)}(o.AbstractButtonGroup);e.RadioGroup=r}),define("OutSystems/ReactWidgets/RadioButton",["require","exports","tslib","OutSystems/ClientRuntime/DataConversion","OutSystems/ClientRuntime/DataTypes","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o,r,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RadioButton=void 0;var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.handleClick=function(){var t=this;
1this.executeWithActiveClassOn(function(){return t.props.updateValueInParent(t.props.value)})},e.prototype.render=function(){var t=this,e=this.getId()+"-input",r={"data-radio-button":""},a={type:"radio",id:e,className:this.props.style,name:this.props.groupName,value:n.JSConversions.convertTo(this.props.value,o.DataTypes.Text),hidden:!this.props.visible,disabled:!this.props.enabled,checked:this.props.isSelected,onChange:function(){return t.handleClick()}},l={htmlFor:e};return this.fillWithBuiltinProperties(r),s.createElement("div",i.__assign({},r),s.createElement("input",i.__assign({},a)),s.createElement("label",i.__assign({},l),this.props.children))},e=i.__decorate([r.WidgetSpec],e)}(r.Widget);e.RadioButton=a}),define("OutSystems/ReactWidgets/Container",["require","exports","tslib","OutSystems/ReactView/AnimatedGroup","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/ScrollExtensions","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o,r,s,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Container=void 0;var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}i.__extends(e,t),n=e,e.toHtmlAlign=function(t){switch(t){case 2:return"center";case 1:return"left";case 3:return"right";case 0:default:return}},e.prototype.serializeCustomStateProperties=function(){return r.serializeScrollProperties(this.getHTMLNode())},e.prototype.loadCustomStateProperties=function(t){r.loadScrollProperties(this.getHTMLNode(),t)},Object.defineProperty(e.prototype,"skipRenderWhenHidden",{get:function(){return!1},enumerable:!1,configurable:!0}),e.prototype.render=function(){var t=null;if(this.props.visible){var e={textAlign:n.toHtmlAlign(this.props.align),cursor:this.props.extendedEvents&&this.props.extendedEvents.onClick?"pointer":void 0},i={"data-container":"",className:this.props.style,style:e};this.fillWithBuiltinProperties(i),t=a.createElement(o.HtmlTags.div,i,this.props.children)}return t};var n;return e=n=i.__decorate([s.WidgetSpec],e)}(s.Widget);e.Container=l}),function(){"use strict";function t(){for(var i=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var r=typeof o;if("string"===r||"number"===r)i.push(o);else if(Array.isArray(o)&&o.length){var s=t.apply(null,o);s&&i.push(s)}else if("object"===r)for(var a in o)e.call(o,a)&&o[a]&&i.push(a)}}return i.join(" ")}var e={}.hasOwnProperty;"undefined"!=typeof module&&module.exports?(t.default=t,module.exports=t):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return t}):window.classNames=t}(),define("OutSystems/ReactWidgets/Utils",["require","exports"],function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KeyboardKey=e.debounce=void 0;var i=function(t,e,i){void 0===e&&(e=300),void 0===i&&(i=!1);var n;return function(){for(var o=this,r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];i&&!n&&t.apply(this,r),"number"==typeof n&&clearTimeout(n),n=setTimeout(function(){n=null,i||t.apply(o,r)},e)}};e.debounce=i;var n;!function(t){t.ENTER_KEY="Enter",t.ESCAPE_KEY="Escape",t.SPACE_KEY=" ",t.ARROW_UP="ArrowUp",t.ARROW_DOWN="ArrowDown",t.TAB_KEY="Tab"}(n||(e.KeyboardKey=n={}))}),define("OutSystems/ReactWidgets/DropdownCustom",["require","exports","tslib","classnames","OutSystems/ClientRuntime/DataConversion","OutSystems/ClientRuntime/DataTypes","OutSystems/ReactView/Widget","react","./Utils"],function(t,e,i,n,o,r,s,a,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DropdownCustom=void 0;var p=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.selectedValue=null,n.state={listVisible:!1,position:{left:"0px",top:"0px",width:"0px",height:"0px"}},n}i.__extends(e,t),p=e,e.prototype.select=function(t){this.variable.value===t?this.hide():(this.variable.value=t,this.selectedValue=t,this.setState({listVisible:!1}),this.props.onChange&&this.props.onChange())},Object.defineProperty(e.prototype,"variable",{get:function(){return this.props.variable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"htmlElement",{get:function(){return this.element}
1,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMandatory",{get:function(){return this.props.mandatory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValue",{get:function(){return this.isValueInList(this.selectedValue)?this.selectedValue:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValueValidity",{get:function(){return{valid:this.isValueInList(this.selectedValue),badInput:!1}},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){this.setVariable(),this.element=this.getHTMLNode(),this.updateState(),this.scrollIntoSelectedElement()},e.prototype.componentDidUpdate=function(){this.setVariable(),this.updateState(),this.scrollIntoSelectedElement(),this.focusCorrectElement()},e.prototype.isValueInList=function(t){if(this.props.list&&this.props.list.length>0)for(var e=0;e<this.props.list.length;e++){var i=this.props.values(this.props.list.getItem(e));if((0,r.equals)(i,t))return!0}return!1},e.prototype.setVariable=function(){if(this.props.list&&this.props.list.length>0){if(!this.isValueInList(this.variable.value))if(this.isEmptyValueDefined())this.selectedValue=this.variable.value;else{var t=this.props.values(this.props.list.getItem(0));(0,r.equals)(t,this.variable.value)||(this.variable.value=t,this.selectedValue=t,this.props.onChange&&this.props.onChange())}}},e.prototype.show=function(){this.offsetLeft=this.htmlElement.getBoundingClientRect().left,this.setState({listVisible:!0})},e.prototype.hide=function(t){void 0===t&&(t=null),t&&t.stopPropagation(),this.setState({listVisible:!1})},e.prototype.updateState=function(){var t=this.getHTMLNode(),e=t.childNodes[0],i=e.childNodes[0],n=t.childNodes[1];if(n||(t.classList.remove(p.DropdownExpandedDown),t.classList.remove(p.DropdownExpandedUp),t.classList.remove(p.DropdownExpanded)),t&&e&&n&&i){var o={left:"",top:"",width:"",height:""},r=i.getBoundingClientRect(),s=e.getBoundingClientRect(),a=window.pageYOffset,l=window.pageXOffset,u=Math.round(r.left+l),c=Math.round(r.right+l),d=Math.round(s.top+a),h=Math.round(s.bottom+a),f=n.getBoundingClientRect(),g=Math.round(f.height),m=Math.round(f.width),y=a+window.innerHeight,v=(u+c)/2,b=void 0,w=void 0;window.innerWidth<=p.SmartphonePortraitWidth?(b=window.innerWidth-2*p.PopupBoxMargin,o.width=Math.round(b)+"px",w=l+p.PopupBoxMargin):(b=m,w=this.state.listVisible?this.offsetLeft:Math.max(l,v-b/2));var S,C=void 0,P=document.querySelector("[data-popup]"),E=P?P.getBoundingClientRect():null,R=E?E.top:a;d-R>y-h?(t.classList.add(p.DropdownExpanded,p.DropdownExpandedUp),t.classList.remove(p.DropdownExpandedDown),(S=d-g)<R-p.PopupBoxMargin&&(S=R+p.PopupBoxMargin,C=d-R-p.PopupBoxMargin,o.height=Math.round(C)+"px")):(t.classList.add(p.DropdownExpanded,p.DropdownExpandedDown),t.classList.remove(p.DropdownExpandedUp),(S=h)+g>y-p.PopupBoxMargin&&(C=y-h-p.PopupBoxMargin,o.height=Math.round(C)+"px")),o.left=Math.round(w)+"px",o.top=Math.round(S)+"px",(this.state.position.left!==o.left||this.state.position.top!==o.top||this.state.position.width!==o.width||this.state.position.height!==o.height&&""!==o.height)&&this.setState({position:o})}},e.prototype.isEmptyValueDefined=function(){return this.props.emptyValue&&this.props.emptyValue.length>0},e.prototype.prepareDropdownContainerAttributes=function(){var t=this,e={"data-dropdown":"",className:p.DropdownContainer+" "+this.props.style,onKeyDown:function(e){if(t.state.listVisible)switch(e.key){case l.KeyboardKey.ENTER_KEY:case l.KeyboardKey.SPACE_KEY:e.stopPropagation();if(!t.getHTMLNode().querySelector(".".concat(p.DropdownPopUpRow))){var i=o.JSConversions.convertTo(null,t.variable.type);t.selectedValue=i,t.setState({listVisible:!1}),t.focusClosedDropdown()}break;case l.KeyboardKey.ARROW_DOWN:t.navigateList("down");break;case l.KeyboardKey.ARROW_UP:t.navigateList("up");break;default:t.hide(),t.focusClosedDropdown()}else e.key!==l.KeyboardKey.ENTER_KEY&&e.key!==l.KeyboardKey.SPACE_KEY||(e.stopPropagation(),t.props.enabled&&t.show())}};return this.fillWithBuiltinProperties(e),e},e.prototype.focusCorrectElement=function(){if(this.state.listVisible){var t=this.getHTMLNode().childNodes[1];if(t){var e=t.getElementsByClassName(p.DropdownPopUpRow)[0],i=t.getElementsByClassName(p.DropdownPopUpRowSelected)[0];i?i.focus():e&&e.focus()}}}
1,e.prototype.focusClosedDropdown=function(){var t=this.getHTMLNode(),e=t.getElementsByClassName(p.DropdownDisplay)[0];null===e||void 0===e||e.focus()},e.prototype.navigateList=function(t){var e=this.getHTMLNode().childNodes[1];if(e){var i=e.getElementsByClassName(p.DropdownPopUpRowSelected)[0],n=null;i?(i.focus(),n="down"===t?i.nextElementSibling:i.previousElementSibling):n=e.getElementsByClassName(p.DropdownPopUpRow)[0],n&&(null===i||void 0===i||i.classList.remove(p.DropdownPopUpRowSelected),n.classList.add(p.DropdownPopUpRowSelected),n.tabIndex=0,n.focus())}},e.prototype.prepareDropdownDisplayAttributes=function(){var t=this;return{className:p.DropdownDisplay+(this.props.enabled?"":" "+p.DropdownDisabled),tabIndex:0,onClick:function(e){e.stopPropagation(),t.props.enabled&&t.show()}}},e.prototype.renderEmptyValue=function(){var t,e=this,r=null,s=null;if(this.isEmptyValueDefined()){var u=this.isValueInList(this.variable.value),c=a.createElement("span",null,this.props.emptyValue),d={className:n(p.DropdownPopUpRow,p.DropdownEmptyValueRow,(t={},t[p.DropdownPopUpRowSelected]=!u,t)),tabIndex:0,onClick:function(t){var i=o.JSConversions.convertTo(null,e.variable.type);e.variable.value=i,e.selectedValue=i,e.props.onChange&&e.props.onChange(),e.setState({listVisible:!1})},onKeyDown:function(t){if(t.key===l.KeyboardKey.ENTER_KEY||t.key===l.KeyboardKey.SPACE_KEY){t.stopPropagation();var i=o.JSConversions.convertTo(null,e.variable.type);e.variable.value=i,e.selectedValue=i,e.setState({listVisible:!1})}}};s=a.createElement("div",i.__assign({},d),c),u||(r=c)}return{selectedElement:r,emptyValueItem:s}},e.prototype.renderDropdownList=function(t){var e=this,n=null,o=null,s={className:p.DropdownList,style:this.state.position};return n=a.createElement("div",i.__assign({},s),a.createElement("div",{className:p.ScrollableList+" "+p.ScrollableListWithScroll},t,this.props.placeholders.content.render(this,this.props.list,function(t,n){var s=null;s=e.props.values(e.props.list.getItem(n));var u={onClick:function(t){return e.select(s)},className:p.DropdownPopUpRow,onKeyDown:function(t){t.key!==l.KeyboardKey.ENTER_KEY&&t.key!==l.KeyboardKey.SPACE_KEY||(t.stopPropagation(),e.select(s),e.focusClosedDropdown())}};return(0,r.equals)(s,e.variable.value)&&(o=t,e.selectedValue=e.variable.value,u.className=u.className+" "+p.DropdownPopUpRowSelected,u.tabIndex=0),a.createElement("div",i.__assign({},u),t)}))),{list:n,selectedElement:o}},e.prototype.scrollIntoSelectedElement=function(){var t=this.getHTMLNode().childNodes[1];if(t){var e=t.getElementsByClassName(p.DropdownPopUpRowSelected)[0];if(e){var i=this.getScrollParent(e,t);if(t===i||t.contains(i)){var n=e.offsetTop,o=i.offsetTop;i.scrollTop=n-o}}}},e.prototype.getScrollParent=function(t,e){return null===t?null:t.scrollHeight>t.clientHeight?t:t===e?null:this.getScrollParent(t.parentElement,e)},e.prototype.renderDropdownBackground=function(){var t=this;if(this.state.listVisible){var e={width:"100%",height:"100%",position:"fixed",top:"0px",left:"0px"};return a.createElement("div",{className:p.DropdownBackgroundWindow,style:e,onClick:function(e){return t.hide(e)}})}return null},e.prototype.render=function(){var t=this.renderEmptyValue(),e=this.renderDropdownList(t?t.emptyValueItem:null),n=this.prepareDropdownDisplayAttributes(),o=a.createElement("div",i.__assign({},n),a.createElement("div",{className:p.DropdownDisplayContent},e.selectedElement?e.selectedElement:t?t.selectedElement:null));return a.createElement("div",i.__assign({},this.prepareDropdownContainerAttributes()),o,this.state.listVisible?e.list:null,this.renderDropdownBackground(),this.createValidationElement())};var p;return e.SmartphonePortraitWidth=420,e.PopupBoxMargin=10,e.DropdownList="dropdown-list",e.DropdownContainer="dropdown-container",e.DropdownDisplay="dropdown-display",e.DropdownDisplayContent="dropdown-display-content",e.DropdownDisabled="dropdown-disabled",e.DropdownPopUpRow="dropdown-popup-row",e.DropdownPopUpRowSelected="dropdown-popup-row-selected",e.DropdownEmptyValueRow="drowpdown-empty-value-row",e.DropdownBackgroundWindow="dropdown-background-window",e.ScrollableList="scrollable-list",e.ScrollableListWithScroll="scrollable-list-with-scroll",e.DropdownExpanded="dropdown-expanded",e.DropdownExpandedUp="dropdown-expanded-up",e.DropdownExpandedDown="dropdown-expanded-down",e=p=i.__decorate([s.WidgetSpec],e)}(s.InputWithVariableWidget);e.DropdownCustom=p}),define("OutSystems/ReactWidgets/DropdownNative",["require","exports","tslib","OutSystems/ClientRuntime/DataConversion","OutSystems/ClientRuntime/DataTypes","OutSystems/ReactView/Widget","react"],function(t,e,
1i,n,o,r,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DropdownNative=void 0;var a=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.selectedValue=null,n}i.__extends(e,t),a=e,Object.defineProperty(e.prototype,"variable",{get:function(){return this.props.variable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMandatory",{get:function(){return this.props.mandatory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValue",{get:function(){return this.isValueInList(this.selectedValue)?this.selectedValue:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValueValidity",{get:function(){return{valid:this.isValueInList(this.selectedValue),badInput:!1}},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){this.setVariable()},e.prototype.componentDidUpdate=function(){this.setVariable()},e.prototype.isValueInList=function(t){if(this.props.list&&this.props.list.length>0)for(var e=0;e<this.props.list.length;e++){var i=this.props.values(this.props.list.getItem(e));if((0,o.equals)(i,t))return!0}return!1},e.prototype.setVariable=function(){if(this.props.list&&this.props.list.length>0){if(!this.isValueInList(this.variable.value))if(this.isEmptyValueDefined())this.selectedValue=this.variable.value;else{var t=this.props.values(this.props.list.getItem(0));(0,o.equals)(t,this.variable.value)||(this.variable.value=t,this.selectedValue=t,this.props.onChange&&this.props.onChange())}}},e.prototype.isEmptyValueDefined=function(){return this.props.emptyValue&&this.props.emptyValue.length>0},e.prototype.getSelectedValueAndOptions=function(){var t=0,e=[];if(this.isEmptyValueDefined()&&(t=a.EmptyValue,e.push(s.createElement("option",{key:a.EmptyValue,value:a.EmptyValue},this.props.emptyValue))),this.props.list&&this.props.list.length>0)for(var i=0;i<this.props.list.length;i++){var r=this.props.list.getItem(i);(0,o.equals)(this.variable.value,this.props.values(r))&&(t=i,this.selectedValue=this.variable.value);var l=n.JSConversions.convertTo(this.props.labels(r),o.DataTypes.Text);e.push(s.createElement("option",{key:i,value:i},l))}return{selectedValue:t,options:e}},e.prototype.handleChange=function(t){var e=parseInt(t.target.value,10),i=e>=0?this.props.values(this.props.list.getItem(e)):n.JSConversions.convertTo(null,this.variable.type);this.variable.value=i,this.selectedValue=i,this.props.onChange&&this.props.onChange()},e.applyToChild=function(t){var e;return((null===(e=t.extendedProperties)||void 0===e?void 0:e[a.ApplyToChildAttr])||"").split(",").map(function(t){return t.trim()})},e.prototype.render=function(){var t={id:this.getId()+"-container",className:a.DropdownContainer+(this.props.enabled?"":" "+a.DropdownDisabled),"data-dropdown":""},e={className:a.DropdownDisplay+" "+this.props.style,onChange:this.handleChange.bind(this),disabled:!this.props.enabled,required:this.props.mandatory,"aria-disabled":!this.props.enabled},n=a.applyToChild(this.props),o=a.AttrToExclude.map(function(t){return t.toLowerCase()}),r=n.indexOf("*")>-1?Object.keys(this.props.extendedProperties||{}):n;this.fillWithBuiltinProperties(t),r.push(a.TabIndexAttr),r.forEach(function(i){var n=i.toLowerCase();o.indexOf(n)>-1||!t[i]||(e[i]=t[i],delete t[i])});var l=this.getSelectedValueAndOptions(),p=l.selectedValue,u=l.options,c=t.style;return s.createElement("div",i.__assign({},t,{style:void 0}),s.createElement("select",i.__assign({},e,{id:this.getId(),style:c,value:p}),u),this.createValidationElement())};var a;return e.DropdownContainer="dropdown-container",e.DropdownDisplay="dropdown-display",e.DropdownDisabled="dropdown-disabled",e.EmptyValue=-1,e.TabIndexAttr="tabIndex",e.ApplyToChildAttr="apply-to-child",e.StyleAttr="style",e.ClassAttr="className",e.AttrToExclude=[a.StyleAttr,a.ClassAttr],e=a=i.__decorate([r.WidgetSpec],e)}(r.InputWithVariableWidget);e.DropdownNative=a}),define("OutSystems/ReactWidgets/Dropdown",["require","exports","tslib","OutSystems/ReactView/Widget","react","./DropdownCustom","./DropdownNative"],function(t,e,i,n,o,r,s){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.Dropdown=void 0;var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.render=function(){return 1===this.props.dropdownMode?o.createElement(r.DropdownCustom,i.__assign({},this.props)):o.createElement(s.DropdownNative,i.__assign({},this.props))},e=i.__decorate([n.WidgetSpec],e)}(n.InputWithVariableWidget);e.Dropdown=a}),define("OutSystems/ReactWidgets/Expression",["require","exports","tslib","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Expression=void 0;var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.render=function(){var t={"data-expression":"",className:this.props.style};return this.fillWithBuiltinProperties(t),r.createElement(n.HtmlTags.span,t,this.props.value)},e=i.__decorate([o.WidgetSpec],e)}(o.Widget);e.Expression=s}),define("OutSystems/ReactWidgets/List",["require","exports","tslib","@outsystems/virtualized-list","OutSystems/ClientRuntime/Flow","OutSystems/ClientRuntime/ObjectExtensions","OutSystems/ClientRuntime/Settings","OutSystems/ReactView/AnimatedGroup","OutSystems/ReactView/ScrollExtensions","OutSystems/ReactView/Widget","prop-types","react"],function(t,e,i,n,o,r,s,a,l,p,u,c){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.List=void 0;var d=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.previousListLength=0,n.shouldLoadState=!1,n.isScrollEndingEventHandlerRunning=!1,n.scrollViewerRef=c.createRef(),n.isVirtualizationEnabled=a.shouldVirtualizeList(e),n.shouldLoadState=t.prototype.getScreenStateCache.call(n).shouldLoad,n}i.__extends(e,t),a=e,e.prototype.serializeCustomStateProperties=function(){var t=this.getScrollHostInfo(),e=l.getScrollInfo(t.scrollHost);return{top:e.scroll.y,left:e.scroll.x}},e.prototype.loadCustomStateProperties=function(t){var e=t,i=this.getScrollViewer();if(i)i.scrollToOffset(e.left,e.top);else{var n=this.getScrollHostInfo().scrollHost;l.setScrollOffset(n,e.left,e.top)}},e.prototype.getInfiniteScrollThreshold=function(){if(void 0===this.infiniteScrollThreshold&&(this.infiniteScrollThreshold=2e3,this.props.extendedProperties)){var t=this.props.extendedProperties[a.InfiniteScrollThresholdName];void 0!==t&&(this.infiniteScrollThreshold=parseInt(t,10))}return this.infiniteScrollThreshold},e.prototype.getScreenStateCache=function(){var e=t.prototype.getScreenStateCache.call(this);return{navigationKey:e.navigationKey,shouldSave:e.shouldSave,shouldLoad:this.isVirtualizationEnabled?this.shouldLoadState:e.shouldLoad,state:e.state}},e.prototype.getChildContext=function(){var t=this;return{ancestorGenerationNode:this._generationNode,getScreenStateCache:function(){return t.getScreenStateCache()},locale:this.context.locale}},e.prototype.getScrollHostInfo=function(){return this.scrollHostInfo||(this.scrollHostInfo=l.getScrollHostInfo(this.getHTMLNode())),this.scrollHostInfo},e.shouldVirtualizeList=function(t){return!t.extendedProperties||"true"!==(t.extendedProperties["disable-virtualization"]+"").toLowerCase()},e.prototype.componentDidMount=function(){var t=this;this.props.onScrollEnding&&this.executeAfterPaint(function(){if(!t.isDisposed){t.scrollHandler=function(){return t.tryFireScrollEndingEvent()},t.deferredScrollHandler=function(){return t.tryFireScrollEndingEvent(!0)};var e=t.getScrollHostInfo().scrollHost;e.addEventListener("scroll",t.scrollHandler),e.addEventListener("resize",t.scrollHandler),window.addEventListener("orientationchange",t.deferredScrollHandler)}}),this.storeListLength()},e.prototype.componentDidUpdate=function(){this.props.onScrollEnding&&this.previousListLength!==this.props.source.length&&this.tryFireScrollEndingEvent(),this.storeListLength()},e.prototype.UNSAFE_componentWillUpdate=function(t,e){this.isVirtualizationEnabled=a.shouldVirtualizeList(t)},e.prototype.storeListLength=function(){0!==this.props.source_dataFetchStatus&&this.props.source.length>0&&(this.previousListLength=this.props.source.length)},e.prototype.componentWillUnmount=function(){if(this.scrollHandler){var t=this.getScrollHostInfo().scrollHost;t.removeEventListener("scroll",this.scrollHandler),t.removeEventListener("resize",this.scrollHandler)}this.deferredScrollHandler&&window.removeEventListener("orientationchange",this.deferredScrollHandler),this.scrollHostInfo=null},e.prototype.tryFireScrollEndingEvent=function(t){if(void 0===t&&(t=!1),!this.isScrollEndingEventHandlerRunning){var e=this.getInfiniteScrollThreshold(),i=this.getScrollHostInfo(),n=l.getScrollInfo(i.scrollHost);n.scroll.y>0&&n.scroll.y>this.lastScrollTop||t?n.scroll.height<=n.scroll.y+n.viewport.height+e&&this.executeScrollEndingEventHandler():(n.scroll.x>0&&n.scroll.x>this.lastScrollLeft||t)&&n.scroll.width<=n.scroll.x+n.viewport.width+e&&this.executeScrollEndingEventHandler(),this.lastScrollTop=n.scroll.y,this.lastScrollLeft=n.scroll.x}},e.prototype.executeScrollEndingEventHandler=function(){var t=this;this.isScrollEndingEventHandlerRunning=!0,o.tryFinally(this.props.onScrollEnding,function(){t.isScrollEndingEventHandlerRunning=!1})},e.prototype.renderListItems=function(t,e){return this.props.source.length>0?this.props.placeholders.content.render(this,this.props.source,null,t,e,(0,s.getEnvParams)().PreserveListItemReactKey):null},e.prototype.getScrollViewer=function(){return this.scrollViewerRef.current},e.prototype.shouldSuspendAnimations=function(){if(1!==Math.abs(this.previousListLength-this.props.source.length))return!0;
1if(this.isVirtualizationEnabled){var t=this.getScrollViewer();return!t||!t.isInitialized||t.isScrolling}return!1},e.prototype.renderListWrapper=function(t,e){return c.createFactory(this.props.tag)(t,e)},e.prototype.render=function(){var t=this,e="";switch(this.props.source_dataFetchStatus){case 0:e=" list-loading";break;case 2:e=" list-error"}var i={"data-list":"","data-virtualization-disabled":this.isVirtualizationEnabled?null:"","data-animation-disabled":this.props.animateItems?null:"",className:this.props.style+e};if(this.fillWithBuiltinProperties(i),this.isVirtualizationEnabled){var o=void 0,l=void 0;this.props.extendedProperties&&(o=parseInt(this.props.extendedProperties[a.ViewportSafetyMarginBefore],10),
2l=parseInt(this.props.extendedProperties[a.ViewportSafetyMarginAfter],10));var p={renderWrapper:function(e){return t.renderListWrapper(i,e)},renderItems:function(e,i){return t.renderListItems(e,i)},length:this.props.source.length,ref:this.scrollViewerRef,viewportSafetyMarginBefore:o||null,viewportSafetyMarginAfter:l||null,initializationCompleted:function(){t.shouldLoadState=!1},enableFixStackDirection:(0,s.getEnvParams)().EnableFixVirtualizationStackDetection};return c.createElement(n.VirtualizedScrollViewer,r.assign({},i,p))}return this.renderListWrapper(i,this.renderListItems())};var a;return e.InfiniteScrollThresholdName="infinite-scroll-threshold",e.ViewportSafetyMarginBefore="virtualization-threshold-before",e.ViewportSafetyMarginAfter="virtualization-threshold-after",e.childContextTypes=r.assign({getScreenStateCache:u.func},p.Widget.childContextTypes),e=a=i.__decorate([p.WidgetSpec],e)}(p.Widget);e.List=d}),define("OutSystems/ReactWidgets/Swipeable",["require","exports","tslib","OutSystems/ClientRuntime/ObjectExtensions","OutSystems/ReactView/HtmlTags","prop-types","react"],function(t,e,i,n,o,r,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Swipeable=void 0;var a=function(t){function e(e){var i=t.call(this,e)||this;return i.defaultState={x:null,y:null,swiping:!1,start:0},i.calculatePos=function(t){var e=t.changedTouches[0].clientX,n=t.changedTouches[0].clientY,o=i.state.x-e,r=i.state.y-n;return{deltaX:o,deltaY:r,absX:Math.abs(o),absY:Math.abs(r)}},i.touchStart=function(t){t.touches.length>1||i.setState({start:Date.now(),x:t.touches[0].clientX,y:t.touches[0].clientY,swiping:!1})},i.touchMove=function(t){if(i.state.x&&i.state.y&&!(t.touches.length>1)){var e=!1,n=i.calculatePos(t);Math.abs(n.deltaX)>Math.abs(n.deltaY)&&t.preventDefault(),n.absX<i.props.delta&&n.absY<i.props.delta||(i.props.onSwiping&&i.props.onSwiping(t,n.deltaX,n.deltaY,n.absX,n.absY),n.absX>n.absY?n.deltaX>0?i.props.onSwipingLeft&&(i.props.onSwipingLeft(t,n.absX,i.state.x),e=!0):i.props.onSwipingRight&&(i.props.onSwipingRight(t,n.absX,i.state.x),e=!0):n.deltaY>0?i.props.onSwipingUp&&(i.props.onSwipingUp(t,n.absY),e=!0):i.props.onSwipingDown&&(i.props.onSwipingDown(t,n.absY),e=!0),i.setState({swiping:!0}),e&&t.preventDefault())}},i.touchEnd=function(t){if(i.state.swiping){var e=i.calculatePos(t),n=Date.now()-i.state.start,o=Math.sqrt(e.absX*e.absX+e.absY*e.absY)/n,r=o>i.props.flickThreshold;i.props.onSwiped&&i.props.onSwiped(t,e.deltaX,e.deltaY,r),e.absX>e.absY?e.deltaX>0?i.props.onSwipedLeft&&i.props.onSwipedLeft(t,e.deltaX,r):i.props.onSwipedRight&&i.props.onSwipedRight(t,e.deltaX,r):e.deltaY>0?i.props.onSwipedUp&&i.props.onSwipedUp(t,e.deltaY,r):i.props.onSwipedDown&&i.props.onSwipedDown(t,e.deltaY,r)}i.setState(i.defaultState)},i.state=i.defaultState,i}return i.__extends(e,t),e.prototype.render=function(){var t=n.assign({},this.props,{onTouchStart:this.touchStart,onTouchMove:this.touchMove,onTouchEnd:this.touchEnd});return delete t.onSwiped,delete t.onSwiping,delete t.onSwipingUp,delete t.onSwipingRight,delete t.onSwipingDown,delete t.onSwipingLeft,delete t.onSwipedUp,delete t.onSwipedRight,delete t.onSwipedDown,delete t.onSwipedLeft,delete t.flickThreshold,delete t.delta,s.createElement(o.HtmlTags.div,t,this.props.children)},e.propTypes={onSwiped:r.func,onSwiping:r.func,onSwipingUp:r.func,onSwipingRight:r.func,onSwipingDown:r.func,onSwipingLeft:r.func,onSwipedUp:r.func,onSwipedRight:r.func,onSwipedDown:r.func,onSwipedLeft:r.func,flickthreshold:r.number,delta:r.number},e.defaultProps={flickthreshold:.6,delta:10},e}(s.Component);e.Swipeable=a}),define("OutSystems/ReactWidgets/ListItem",["require","exports","tslib","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/Widget","react","./Swipeable"],function(t,e,
2i,n,o,r,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ListItem=e.ListItemSwipeable=e.ListItemBasic=e.SwipeActions=void 0;var a;!function(t){!function(t){t[t.RightVisible=0]="RightVisible",t[t.RightAction=1]="RightAction",t[t.LeftVisible=2]="LeftVisible",t[t.LeftAction=3]="LeftAction"}(t.Actions||(t.Actions={}));!function(t){t[t.Left=0]="Left",t[t.Right=1]="Right"}(t.Directions||(t.Directions={}))}(a||(e.SwipeActions=a={}));var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.render=function(){var t={"data-list-item":"","data-not-scrollable":"",onClick:this.props.containerClick,className:this.props.classProperty};return this.props.fillWithParentProperties(t),r.createElement(n.HtmlTags.div,t,this.props.placeholderContent.render())},e}(r.Component);e.ListItemBasic=l;var p=function(t){function e(i,n){var o,s=t.call(this,i,n)||this;return s.leftRef=r.createRef(),s.rightRef=r.createRef(),s.swipeRef=r.createRef(),s.touchWindowEventListener=function(t){s.unregisterTouchWindowEventListener(),s.animate()},s.handleTouch=function(t){s.propagateTouch||t.stopPropagation()},s.registerTouchWindowEventListener=function(){s.propagateTouch=!1,window.addEventListener(e.TouchStartEvent,s.touchWindowEventListener)},s.unregisterTouchWindowEventListener=function(){s.propagateTouch=!0,window.removeEventListener(e.TouchStartEvent,s.touchWindowEventListener)},s.onSwipingLeft=function(t,e,i){s.handleSwiping(!1,t,e,i)},s.onSwipingRight=function(t,e,i){s.handleSwiping(!0,t,e,i)},s.onSwiped=function(){var t=!1,e=!1;switch(s.setState({showRightButtons:!1,showLeftButtons:!1}),s.state.action){case a.Actions.RightVisible:s.registerTouchWindowEventListener(),t=!0;break;case a.Actions.LeftVisible:s.registerTouchWindowEventListener(),e=!0;break;case a.Actions.LeftAction:var i=s.leftRef.current.children[0];i&&(s.timeoutClickHandle=setTimeout(function(){return i.click()},s.props.animationTimeout));break;case a.Actions.RightAction:var n=s.rightRef.current.children;if(n.length>0){var o=n[n.length-1];o&&(s.timeoutClickHandle=setTimeout(function(){return o.click()},s.props.animationTimeout))}}s.setState({deltaPixels:0,action:null,showRightButtons:t,showLeftButtons:e,swipingLeft:!1,swipingRight:!1,animating:!0,animatingFullSwipeRight:s.state.action===a.Actions.LeftAction,animatingFullSwipeLeft:s.state.action===a.Actions.RightAction}),s.startAnimationTimeout()},s.handleActionContainerClick=function(t){s.animate(),t.stopPropagation()},s.handleContentClick=function(t){s.state.showRightButtons||s.state.showLeftButtons||s.state.animating||s.props.containerClick(t)},s.state={deltaPixels:0,showRightButtons:!1,showLeftButtons:!1,swipingLeft:!1,swipingRight:!1,animating:!1,action:null,callActionWhenSwipingFarRight:!1,callActionWhenSwipingFarLeft:!1,lastContainerClass:"",shouldRenderActions:null!==(o=i.isExpandedInWebEditor)&&void 0!==o&&o,animatingFullSwipeRight:!1,animatingFullSwipeLeft:!1},s.propagateTouch=!0,s.actionsMaxWidth=0,s.leftPlaceholderCache=null,s.rightPlaceholderCache=null,s.contentPlaceholderCache=null,s}return i.__extends(e,t),e.prototype.startAnimationTimeout=function(){var t=this;this.clearAnimationTimeout(),this.animationTimeoutHandle=setTimeout(function(){t.setState({animating:!1,action:null,animatingFullSwipeRight:!1,animatingFullSwipeLeft:!1,shouldRenderActions:t.state.showLeftButtons||t.state.showRightButtons})},this.props.animationTimeout)},e.prototype.clearAnimationTimeout=function(){this.animationTimeoutHandle&&clearTimeout(this.animationTimeoutHandle)},e.prototype.clearClickTimeout=function(){this.timeoutClickHandle&&clearTimeout(this.timeoutClickHandle)},e.prototype.UNSAFE_componentWillReceiveProps=function(t){var e;this.leftPlaceholderCache=null,this.rightPlaceholderCache=null,this.contentPlaceholderCache=null,this.props.isExpandedInWebEditor!==t.isExpandedInWebEditor&&this.setState({shouldRenderActions:null!==(e=t.isExpandedInWebEditor)&&void 0!==e?e:this.state.shouldRenderActions})},e.prototype.componentDidMount=function(){if(this.props.extendedProperties){var t=this.props.extendedProperties[e.SwipeLeftEdgeThresholdExtended],i=this.props.extendedProperties[e.SwipeRightEdgeThresholdExtended];t&&(this.swipeLeftEdgeThreshold=parseInt(t,10)),i&&(this.swipeRightEdgeThreshold=parseInt(i,10))}},e.prototype.componentDidUpdate=function(){this.state.lastContainerClass!==this.lastContainerClass&&this.setState({lastContainerClass:this.lastContainerClass})},e.prototype.componentWillUnmount=function(){this.clearAnimationTimeout(),this.clearClickTimeout(),this.unregisterTouchWindowEventListener()},e.prototype.updateElementCachedInfo=function(){var t=this.swipeRef.current;if(!this.actionsMaxWidth){var i=t.querySelector("[data-list-item-action]");i&&(this.actionsMaxWidth=parseInt(window.getComputedStyle(i,null).getPropertyValue("max-width"),10))}this.leftActionsCount=t.getElementsByClassName(e.LeftActions)[0].getElementsByTagName(e.Button).length,this.rightActionsCount=t.getElementsByClassName(e.RightActions)[0].getElementsByTagName(e.Button).length,this.contentWidth=t.querySelector("[data-list-item-content]").clientWidth,e.deviceWidth=window.innerWidth||document.documentElement.clientWidth},e.prototype.showFullSwipe=function(){return this.state.action===a.Actions.LeftAction||this.state.action===a.Actions.RightAction||this.state.animatingFullSwipeLeft||this.state.animatingFullSwipeRight},e.prototype.getSwipeLeftEdgeThreshold=function(){return this.swipeLeftEdgeThreshold?this.swipeLeftEdgeThreshold:e.
2SwipeLeftEdgeDefaultThreshold},e.prototype.getSwipeRightEdgeThreshold=function(){return this.swipeRightEdgeThreshold?this.swipeRightEdgeThreshold:e.SwipeRightEdgeDefaultThreshold},e.prototype.getSwipeThresholdToTriggerAction=function(t){return this.state.showLeftButtons||this.state.showRightButtons?.75*this.actionsMaxWidth:t===a.Directions.Right?this.actionsMaxWidth*(Math.min(2,this.leftActionsCount)+.75):this.actionsMaxWidth*(Math.min(2,this.rightActionsCount)+.75)},e.prototype.handleSwiping=function(t,i,n,o){this.updateElementCachedInfo(),this.setState({shouldRenderActions:!0});var r=t?a.Directions.Right:a.Directions.Left;if(!this.swipingHandleStylesAndDelta(n,r,o)){var s=null;n>this.props.visibilityThreshold&&(s=t?a.Actions.LeftVisible:a.Actions.RightVisible);(t?this.props.callActionWhenSwipingFarRight:this.props.callActionWhenSwipingFarLeft)&&n>this.getSwipeThresholdToTriggerAction(r)&&(s=t?a.Actions.LeftAction:a.Actions.RightAction);var l=n-e.SwipeStartThreshold;this.setState({deltaPixels:t?l:-l,action:s,swipingLeft:!t,swipingRight:t})}},e.prototype.getActionsPlaceholderStyle=function(t){var e=!t,i=e?this.leftActionsCount:this.rightActionsCount,n=e&&this.state.swipingRight||t&&this.state.swipingLeft,o=e&&this.state.showLeftButtons||t&&this.state.showRightButtons||this.props.isExpandedInWebEditor,r=e&&this.state.animatingFullSwipeRight||t&&this.state.animatingFullSwipeLeft;if(n){var s=0;return o&&!this.state.animating&&(s=i*this.actionsMaxWidth),{width:Math.abs(this.state.deltaPixels)+s+"px"}}return o?{width:this.props.isExpandedInWebEditor?"auto":i*this.actionsMaxWidth+"px"}:r?{width:this.contentWidth+"px"}:null},e.prototype.swipingHandleStylesAndDelta=function(t,e,i){return!!this.shouldAbort(e,i)||(this.tryAnimate(e),!1)},e.prototype.shouldAbort=function(t,i){if(t===a.Directions.Right){if(i<this.getSwipeRightEdgeThreshold())return!0}else if(i>e.deviceWidth-this.getSwipeLeftEdgeThreshold())return!0;return!!this.state.animating||(t===a.Directions.Right?!this.leftActionsCount&&!this.state.showRightButtons||this.state.showLeftButtons&&!this.props.callActionWhenSwipingFarRight:!this.rightActionsCount&&!this.state.showLeftButtons||this.state.showRightButtons&&!this.props.callActionWhenSwipingFarLeft)},e.prototype.tryAnimate=function(t){(t===a.Directions.Right&&this.state.showRightButtons||t===a.Directions.Left&&this.state.showLeftButtons)&&this.animate()},e.prototype.animate=function(){this.setState({showLeftButtons:!1,showRightButtons:!1,animating:!0}),this.startAnimationTimeout()},e.prototype.getContainerClass=function(){if(this.state.animating)return this.state.lastContainerClass;return this.state.showRightButtons?e.FloatRight:this.state.showLeftButtons?e.FloatLeft:this.state.deltaPixels<0?e.FloatRight:e.FloatLeft},e.prototype.getRenderedLeftPlaceholder=function(){return this.state.shouldRenderActions?(null===this.leftPlaceholderCache&&(this.leftPlaceholderCache=this.props.placeholderLeftActions.render()),this.leftPlaceholderCache):null},e.prototype.getRenderedRightPlaceholder=function(){return this.state.shouldRenderActions?(null===this.rightPlaceholderCache&&(this.rightPlaceholderCache=this.props.placeholderRightActions.render()),this.rightPlaceholderCache):null},e.prototype.getRenderedContentPlaceholder=function(){return null===this.contentPlaceholderCache&&(this.contentPlaceholderCache=this.props.placeholderContent.render()),this.contentPlaceholderCache},e.prototype.render=function(){this.lastContainerClass=this.getContainerClass();var t=e.Container+(this.showFullSwipe()?" "+e.FullSwipe:"");this.state.animating&&(t+=" "+e.Animating),this.state.showRightButtons&&(t+=" "+e.ShowRightButtons),this.state.showLeftButtons&&(t+=" "+e.ShowLeftButtons);var o={"data-list-item-content":"","data-not-scrollable":"",className:this.props.classProperty,onSwipingLeft:this.onSwipingLeft,onClick:this.handleContentClick,onSwipingRight:this.onSwipingRight,delta:e.SwipeStartThreshold,onSwiped:this.onSwiped};this.props.fillWithParentProperties(o);var a=o.ref;o.ref=null;var l={"data-list-item":"","data-not-scrollable":"",ref:a},p={className:e.LeftActions,style:this.getActionsPlaceholderStyle(!1),onClick:this.handleActionContainerClick},u={className:e.RightActions,style:this.getActionsPlaceholderStyle(!0),onClick:this.handleActionContainerClick};return r.createElement(n.HtmlTags.div,l,r.createElement(n.HtmlTags.div,{className:t+" "+this.lastContainerClass,ref:this.swipeRef,onTouchStart:this.handleTouch},r.createElement(n.HtmlTags.div,i.__assign(i.__assign(i.__assign({},p),this.props.extraActionsProperties),{ref:this.leftRef}),this.getRenderedLeftPlaceholder()),r.createElement(s.Swipeable,o,this.getRenderedContentPlaceholder()),r.createElement(n.HtmlTags.div,i.__assign(i.__assign(i.__assign({},u),this.props.extraActionsProperties),{ref:this.rightRef}),this.getRenderedRightPlaceholder())))},e.TouchStartEvent="touchstart",e.Button="button",e.Container="list-item-container",e.LeftActions="list-item-left-actions",e.RightActions="list-item-right-actions",e.FloatRight="list-item-float-right",e.FloatLeft="list-item-float-left",e.FullSwipe="list-item-full-swipe",e.Animating="list-item-animating",e.ShowRightButtons="list-item-show-right-buttons",e.ShowLeftButtons="list-item-show-left-buttons",e.SwipeStartThreshold=15,e.SwipeLeftEdgeThresholdExtended="list-item-swipe-left-edge-threshold",e.SwipeRightEdgeThresholdExtended="list-item-swipe-right-edge-threshold",e.SwipeLeftEdgeDefaultThreshold=15,e.SwipeRightEdgeDefaultThreshold=15,e}(r.Component);e.ListItemSwipeable=p;var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handleClick=function(t){e.props.onClick&&(t.stopPropagation(),e.executeWithActiveClassOn(function(){return e.props.onClick()}))},e}return i.__extends(e,t),e.prototype.swipeableActionsExtraProperties=function(){return{}},e.prototype.render=function(){var t,e=this,i=this.props.placeholders.leftActions===o.PlaceholderContent.Empty,n=this.props.placeholders.rightActions===o.PlaceholderContent.Empty;return i&&n?r.createElement(l,{containerClick:this.handleClick,placeholderContent:this.props.placeholders.content,fillWithParentProperties:function(t){return e.fillWithBuiltinProperties(t)},classProperty:this.props.style},null):r.createElement(p,{extendedProperties:this.props.extendedProperties,visibilityThreshold:35,animationTimeout:400,placeholderContent:this.props.placeholders.content,placeholderLeftActions:this.props.placeholders.leftActions,placeholderRightActions:this.props.placeholders.rightActions,callActionWhenSwipingFarRight:this.props.triggerActionOnFullSwipeRight,callActionWhenSwipingFarLeft:this.props.triggerActionOnFullSwipeLeft,isExpandedInWebEditor:null!==(t=this.props.expandedInWebEditor)&&void 0!==t&&t,containerClick:this.handleClick,fillWithParentProperties:function(t){return e.fillWithBuiltinProperties(t)},classProperty:this.props.style,extraActionsProperties:this.swipeableActionsExtraProperties()},null)},e=i.__decorate([o.WidgetSpec],e)}(o.Widget);e.ListItem=u}),define("OutSystems/ReactWidgets/ListItemAction",["require","exports","tslib","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/Widget","react"],function(t,e,
2i,n,o,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ListItemAction=void 0;var s=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.disableSpamProtect=n.disableSpamProtection(e),n}return i.__extends(e,t),e.prototype.handleClick=function(t){var e=this;this.alreadyTriggered&&!this.disableSpamProtect||(this.executeWithActiveClassOn(function(){return e.props.onClick()}),this.alreadyTriggered=!0)},e.prototype.render=function(){var t=this,e={"data-list-item-action":"",className:this.props.style,onClick:function(e){return t.handleClick(e)}};return this.fillWithBuiltinProperties(e),r.createElement(n.HtmlTags.button,e,this.props.children)},e.prototype.disableSpamProtection=function(t){return!!t.extendedProperties&&"true"!==(t.extendedProperties["disable-spam-protection"]+"").toLowerCase()},e=i.__decorate([o.WidgetSpec],e)}(o.Widget);e.ListItemAction=s}),define("OutSystems/ReactWidgets/TableRecords",["require","exports","tslib","OutSystems/ClientRuntime/ObjectExtensions","OutSystems/ClientRuntime/Settings","OutSystems/ReactView/Widget","prop-types","react"],function(t,e,i,n,o,r,s,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TableRecords=void 0;var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={sortAttribute:""},e}return i.__extends(e,t),e.prototype.setDataHeaderInRowCells=function(){for(var t,e=this.body?this.body.children:[],i=this.header?this.header.getElementsByTagName("th"):[],n=0;n<i.length;n++)for(var o=i[n],r=0;r<e.length;r++){var s=e[r];null===(t=s.children[n])||void 0===t||t.setAttribute("data-header",o.innerText)}},e.prototype.componentDidMount=function(){this.setDataHeaderInRowCells()},e.prototype.componentDidUpdate=function(){this.setDataHeaderInRowCells()},e.prototype.renderHeader=function(){var t=this,e={className:this.props.styleHeader};return this.props.showHeader?a.createElement("thead",{ref:function(e){return t.header=e}},a.createElement("tr",i.__assign({},e),this.props.placeholders.headerRow.render())):null},e.prototype.renderRows=function(){var t=this,e={className:this.props.styleRow};return this.props.source.length>0?a.createElement("tbody",{ref:function(e){return t.body=e}},this.props.placeholders.row.render(this,this.props.source,function(t,n){return a.createElement("tr",i.__assign({},e),t)},void 0,void 0,(0,o.getEnvParams)().PreserveListItemReactKey)):null},e.prototype.onSort=function(t){this.setState({sortAttribute:t}),this.props.onSort(t)},e.prototype.getChildContext=function(){var e=this,i=t.prototype.getChildContext.call(this);return this.props.onSort&&(i.onTableRecordsSort=function(t){return e.onSort(t)},i.tableRecordsCurrentSortAttribute=this.state.sortAttribute),i},e.prototype.render=function(){var t={className:this.props.style,role:"grid"};return this.fillWithBuiltinProperties(t),a.createElement("table",i.__assign({},t),this.renderHeader(),this.renderRows())},e.childContextTypes=n.assign({onTableRecordsSort:s.func,tableRecordsCurrentSortAttribute:s.string},r.Widget.childContextTypes),e=i.__decorate([r.WidgetSpec],e)}(r.Widget);e.TableRecords=l}),define("OutSystems/ReactWidgets/HeaderCell",["require","exports","tslib","OutSystems/ClientRuntime/ObjectExtensions","OutSystems/ReactView/Widget","prop-types","react"],function(t,e,i,n,o,r,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HeaderCell=void 0;var a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handleInteractive=function(t){t.preventDefault(),t.stopPropagation(),e.executeWithActiveClassOn(function(){return e.onSort(e.props.sortAttribute)})},e}return i.__extends(e,t),Object.defineProperty(e.prototype,"onSort",{get:function(){return this.context.onTableRecordsSort},enumerable:!1,configurable:!0}),e.prototype.shouldComponentUpdate=function(e,i,n){return this.context.tableRecordsCurrentSortAttribute!==n.tableRecordsCurrentSortAttribute||t.prototype.shouldComponentUpdate.call(this,e,i,n)},e.prototype.render=function(){var t,e=this,n=this.props.style||"",o={className:"sortable-icon"};"sortable"!==this.props.style&&this.props.sortAttribute&&(n+=" sortable",t=s.createElement("div",i.__assign({},o)));var r=this.context;"sorted"!==this.props.style&&r&&this.props.sortAttribute&&this.props.sortAttribute===r.tableRecordsCurrentSortAttribute&&(n+=" sorted"),n=n.trim();var a={className:n,tabIndex:0};if(this.onSort&&this.props.sortAttribute){a.onClick=this.handleInteractive,a.onKeyDown=function(t){return 13===t.keyCode&&e.handleInteractive(t)}}return this.fillWithBuiltinProperties(a),s.createElement("th",i.__assign({},a),this.props.children,t)},e.contextTypes=n.assign({onTableRecordsSort:r.func,tableRecordsCurrentSortAttribute:r.string},o.Widget.contextTypes),e=i.__decorate([o.WidgetSpec],e)}(o.Widget);e.HeaderCell=a}),define("OutSystems/ReactWidgets/RowCell",["require","exports","tslib","OutSystems/ReactView/Widget","react"],function(t,e,
2i,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RowCell=void 0;var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.render=function(){var t={className:this.props.style};return this.fillWithBuiltinProperties(t),o.createElement("td",i.__assign({},t),this.props.children)},e=i.__decorate([n.WidgetSpec],e)}(n.Widget);e.RowCell=r}),define("OutSystems/ReactWidgets/Form",["require","exports","tslib","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Form=void 0;var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),Object.defineProperty(e.prototype,"isValidationAggregator",{get:function(){return!0},enumerable:!1,configurable:!0}),e.prototype.render=function(){var t,e,n={"data-form":"",action:null!==(e=null===(t=this.props.extendedProperties)||void 0===t?void 0:t.action)&&void 0!==e?e:"",noValidate:!0,className:this.props.style,onSubmit:function(t){return t.preventDefault()}};return this.fillWithBuiltinProperties(n),o.createElement("form",i.__assign({},n),this.props.children)},e=i.__decorate([n.WidgetSpec],e)}(n.ValidationWidget);e.Form=r}),define("OutSystems/ReactWidgets/Icon",["require","exports","tslib","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Icon=void 0;var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.render=function(){var t="";switch(this.props.iconSize){case 0:t="1x";break;case 1:t="2x";break;case 2:t="3x";break;case 3:t="4x";break;default:t="1x"}var e={"data-icon":"",className:(this.props.style?this.props.style:"")+" fa fa-"+this.props.icon+" fa-"+t};return this.fillWithBuiltinProperties(e),r.createElement(n.HtmlTags.i,e)},e=i.__decorate([o.WidgetSpec],e)}(o.Widget);e.Icon=s}),define("OutSystems/ReactWidgets/Image",["require","exports","tslib","OutSystems/ClientRuntime/ApplicationInfo","OutSystems/ClientRuntime/Settings","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o,r,s,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Image=e.ImageCache=void 0;var l;!function(t){function e(){var e=Date.now(),i=t.GC_HIGH_PRESSURE<r;t.map.forEach(function(t,n,o){t.referenceCount<=0&&(i||t.expireDate<e)&&(URL.revokeObjectURL(t.cachedObjectURL),o.delete(n),r-=t.size)})}function i(i){var n=i.content,o=t.map.get(n);void 0!==o&&(o.referenceCount--,o.expireDate=Date.now()+t.TTL,t.map.set(n,o),t.GC_HIGH_PRESSURE<r&&e())}function n(e){var i=e.content,n=t.map.get(i);if(!i)return null;if(void 0===n){var o=e.toBlob();if(!o)return null;n={expireDate:0,referenceCount:0,cachedObjectURL:URL.createObjectURL(o),size:o.size},r+=n.size}return n.referenceCount++,t.map.set(i,n),n.cachedObjectURL}t.TTL=12e4,t.GC_INTERVAL=1e4,t.GC_HIGH_PRESSURE=52428800,t.map=new Map,t.gc=e,t.intervalFunction=function(){return(0,o.getEnvParams)().EnforceUnsafeEval?void 0:t.gc},t.interval=setInterval(t.intervalFunction(),t.GC_INTERVAL);var r=0;t.releaseURL=i,t.requestURL=n}(l||(e.ImageCache=l={}));var p=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.state={objectURL:null,hasError:!1},n}i.__extends(e,t),o=e,e.prototype.loadBinary=function(t){var e=this,i=this.props.imageContent.content;t.loadContent().then(function(n){var o=n.content;if(!e.state.objectURL||o!==i){var r=l.requestURL(t);e.setState({objectURL:r,hasError:!1})}})},e.prototype.UNSAFE_componentWillMount=function(){o.isBinary(this.props)&&this.loadBinary(this.props.imageContent)},e.prototype.UNSAFE_componentWillReceiveProps=function(t){o.isBinary(t)?t.imageContent.fastEquals(this.props.imageContent)||(l.releaseURL(this.props.imageContent),this.loadBinary(t.imageContent)):this.setState({hasError:!1})},e.isBinary=function(t){return 2===t.type&&t.imageContent&&!t.imageContent.url},e.prototype.componentWillUnmount=function(){o.isBinary(this.props)&&l.releaseURL(this.props.imageContent)},e.getBinaryImgAbsoluteURL=function(t){return t?new RegExp("^(blob:)?(?:[a-z]+:)?//|^/","i").test(t)?t:"/".concat(n.getBasePath(),"/").concat(t).replace(new RegExp("/(/)+","g"),"/"):t},e.prototype.prepareImageAttributes=function(){var t=this,e={"data-image":"",className:this.props.style,src:""};if(this.state.hasError)e.src=o.getBinaryImgAbsoluteURL(this.props.defaultImage);else{switch(this.props.type){case 1:e.src=this.props.url;break;case 2:this.state.objectURL?e.src=this.state.objectURL:this.props.imageContent&&this.props.imageContent.hasContent()?e.src=o.getBinaryImgAbsoluteURL(this.props.imageContent.url):e.src=o.getBinaryImgAbsoluteURL(this.props.defaultImage);break;default:e.src=this.props.image}e.onError=function(){t.props.defaultImage&&t.setState({hasError:!0})}}return this.fillWithBuiltinProperties(e),e},e.prototype.render=function(){return a.createElement(r.HtmlTags.img,this.prepareImageAttributes())};var o;return e=o=i.__decorate([s.WidgetSpec],e)}(s.Widget);e.Image=p}),define("OutSystems/ReactWidgets/Throttling",["require","exports"],function(t,e){"use strict";
2Object.defineProperty(e,"__esModule",{value:!0}),e.Throttling=void 0;var i=function(){function t(){this.last=0}return t.prototype.dispose=function(){clearTimeout(this.deferTimerHandle),this.timeoutFunction&&this.timeoutFunction()},t.prototype.throttle=function(e,i){var n=this;void 0===i&&(i=t.DefaultThrottlingInterval);var o=(new Date).valueOf();this.last&&o<this.last+i?(clearTimeout(this.deferTimerHandle),this.timeoutFunction=function(){n.last=o,n.timeoutFunction=null,e()},this.deferTimerHandle=setTimeout(this.timeoutFunction,i)):(this.last=o,e())},t.DefaultThrottlingInterval=200,t.CustomThrottlingRuntimeAttribute="data-throttlemilliseconds",t.CustomThrottlingProperty="onchange-throttle-milliseconds",t}();e.Throttling=i}),define("OutSystems/ReactWidgets/Input",["require","exports","tslib","OutSystems/ClientRuntime/DataConversion","OutSystems/ClientRuntime/DataTypes","OutSystems/ReactView/Widget","react","./Throttling"],function(t,e,i,n,o,r,s,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Input=void 0;var l=function(t){function e(e,i){var n=t.call(this,e,i)||this;if(n.props.extendedProperties){var o=n.props.extendedProperties[a.Throttling.CustomThrottlingProperty];void 0!==o&&(n.throttleValue=parseInt(o,10))}return n.ShowDefaultValue=l.getShowDefaultValue(e),n.state={value:n.convertFromModel(e.variable.value)},n.throttling=new a.Throttling,n}i.__extends(e,t),l=e,e.getShowDefaultValue=function(t){if(t.extendedProperties){var e=t.extendedProperties[l.ShowDefaultValueProperty];if(void 0!==e)return"true"===e.toLowerCase()}return!1},e.prototype.getCorrectDatePartForType=function(t,e){switch(this.props.inputType){case 5:return t.toString("yyyy-MM-ddTHH:mm");case 4:return t.toString("yyyy-MM-dd");case 3:return t.toString("HH:mm")}throw new Error("A correct datetime type is required")},e.prototype.convertFromModel=function(t){switch(this.props.inputType){case 5:case 4:case 3:return l.isNullDate(t)&&!this.ShowDefaultValue?"":this.getCorrectDatePartForType(t,this.props.inputType);case 2:return 0!==parseFloat(t)||this.ShowDefaultValue?t:"";default:return t}},e.isNullDate=function(t){return t.equals(o.DateTime.defaultValue)},Object.defineProperty(e.prototype,"isMandatory",{get:function(){return this.props.mandatory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"variable",{get:function(){return this.props.variable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"htmlElement",{get:function(){return this.getHTMLNode()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValue",{get:function(){return this.htmlElement.value},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValueValidity",{get:function(){return this.htmlElement.validity},enumerable:!1,configurable:!0}),e.prototype.onChange=function(t){var e,i=this,n=t.target;5===this.props.inputType&&(null===(e=this.inputedValueValidity)||void 0===e?void 0:e.stepMismatch)&&(n.value=n.value.substr(0,16)),this.variable.value=n.value,this.setState({value:n.value}),this.props.onChange&&this.throttling.throttle(function(){return i.props.onChange()},this.throttleValue)},e.prototype.preparePromptForBrowsersThatDontSupportHTML5=function(t){var e=this.htmlElement;switch(t){case 4:e.placeholder=o.Constants.FORMAT.defaultDateTimeFormat.dateFormat;break;case 3:e.placeholder=o.Constants.FORMAT.defaultDateTimeFormat.timeFormat;break;case 5:e.placeholder=o.Constants.FORMAT.defaultDateTimeFormat.dateTimeFormat}},e.prototype.componentDidMount=function(){var t=this.props.inputType;if(void 0===l.supportsHTML5Inputs){this.htmlElement.type!==l.toInputHtmlType(t)?l.supportsHTML5Inputs=!1:l.supportsHTML5Inputs=!0}void 0!==this.props.prompt||4!==t&&5!==t&&3!==t||l.supportsHTML5Inputs||this.preparePromptForBrowsersThatDontSupportHTML5(t)},e.prototype.UNSAFE_componentWillReceiveProps=function(t){var e=this.getHTMLNode(),i=t.variable.value.valueOf().toString(),o=n.JSConversions.convertTo(e.value,this.variable.type).valueOf().toString(),r=o===i,s=l.getShowDefaultValue(t);(this.shouldUpdateValue(t.variable)&&!r||s!==this.ShowDefaultValue)&&(this.ShowDefaultValue=s,this.updateV
2alue(t.variable.value))},e.prototype.componentWillUnmount=function(){this.throttling.dispose()},e.prototype.updateValue=function(t){this.setState({value:this.convertFromModel(t)})},e.toInputHtmlType=function(t){switch(t){case 0:return"text";case 1:return"password";case 2:return"number";case 3:return"time";case 4:return"date";case 5:return"datetime-local";case 6:return"tel";case 7:return"email";case 8:return"search";default:return""}},e.prototype.shouldUseDefaultProperty=function(t){return!this.props.extendedProperties||!this.props.extendedProperties.hasOwnProperty(t)},e.prototype.render=function(){var t=this,e=i.__assign({"data-input":"",className:this.props.style,disabled:!this.props.enabled,required:this.props.mandatory,type:l.toInputHtmlType(this.props.inputType),placeholder:this.props.prompt,onChange:function(e){return t.onChange(e)},value:this.state.value.toString(),"aria-required":this.props.mandatory},this.hasValidationMessage()?{"aria-describedby":this.getId()+l.DescribedBySuffix}:{});switch(this.throttleValue!==a.Throttling.DefaultThrottlingInterval&&(e[a.Throttling.CustomThrottlingRuntimeAttribute]=this.throttleValue),
3this.ShowDefaultValue!==l.ShowDefaultValueDefault&&(e[l.ShowDefaultValueRuntimeAttribute]=this.ShowDefaultValue),this.props.inputType){case 2:switch(this.props.variable.type){case o.DataTypes.Integer:this.shouldUseDefaultProperty("pattern")&&(e.pattern="[0-9]*"),e.max=o.Constants.MAX_INTEGER_VALUE;break;case o.DataTypes.LongInteger:this.shouldUseDefaultProperty("pattern")&&(e.pattern="[0-9]*"),e.max=o.Constants.MAX_LONGINTEGER_VALUE.toString();break;case o.DataTypes.Currency:case o.DataTypes.Decimal:this.shouldUseDefaultProperty("pattern")&&(e.pattern="[0-9]+.[0-9]*"),this.shouldUseDefaultProperty("step")&&(e.step="any")}break;case 3:case 5:case 4:break;default:this.props.maxLength>0&&(e.maxLength=this.props.maxLength)}this.fillWithBuiltinProperties(e),delete e[a.Throttling.CustomThrottlingProperty];var n={className:"input-"+e.type};return s.createElement("span",i.__assign({},n),s.createElement("input",i.__assign({},e)),this.createValidationElement())};var l;return e.ShowDefaultValueDefault=!1,e.ShowDefaultValueRuntimeAttribute="data-show-default-value",e.ShowDefaultValueProperty="show-default-value",e.supportsHTML5Inputs=void 0,e=l=i.__decorate([r.WidgetSpec],e)}(r.InputWithVariableWidget);e.Input=l}),define("OutSystems/ReactWidgets/Label",["require","exports","tslib","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Label=void 0;var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.render=function(){var t={"data-label":"",className:this.props.style,htmlFor:this.getSiblingWidgetId(this.props.targetWidget)};return this.props.mandatory&&(t.className=(void 0===t.className?"":t.className+" ")+"mandatory"),this.props.gridProperties&&this.props.gridProperties.width&&(t.className=(void 0===t.className?"":t.className+" ")+"OSInline"),this.fillWithBuiltinProperties(t),r.createElement(n.HtmlTags.label,t,this.props.children)},e=i.__decorate([o.WidgetSpec],e)}(o.Widget);e.Label=s}),define("OutSystems/ReactWidgets/Link",["require","exports","tslib","OutSystems/ClientRuntime/Navigation","OutSystems/ReactView/Widget","query-string","react","react-router-dom"],function(t,e,i,n,o,r,s,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Link=void 0;var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handleClickForAction=function(t){t.preventDefault(),t.stopPropagation();var i=e.props.onClick,n=function(){return e.executeWithActiveClassOn(function(){return null===i||void 0===i?void 0:i()})};if(e.props.confirmationMessage&&e.props.confirmationMessage.length){var o=navigator.notification;o?o.confirm(e.props.confirmationMessage,function(t){1===t&&n()},""):window.confirm(e.props.confirmationMessage)&&n()}else n()},e.handleClickForUrl=function(t){t.stopPropagation()},e}return i.__extends(e,t),e.prototype.render=function(){var t,e=this.props,o=e.url,l=e.enabled,p=e.style,u=e.transition,c=e.children,d={"data-link":"",className:p,disabled:!l,href:void 0};
3if(l)if(o){d.onClick=this.handleClickForUrl;var h=n.getUrlInfo(o);if(h.isInternal)return d.to={pathname:h.path,search:Object.keys(null!==(t=h.queryParams)&&void 0!==t?t:{}).length>0?"?".concat(r.stringify(h.queryParams,{sort:!1})):"",state:{transition:u}},d.activeClassName="active",d.isActive=function(t,e){return!!t&&(t.isExact&&d.to.search===e.search)},this.fillWithBuiltinProperties(d),s.createElement(a.NavLink,i.__assign({},d),c);d.href=o}else d.onClick=this.handleClickForAction,d.href="#";return this.fillWithBuiltinProperties(d),s.createElement("a",i.__assign({},d),c)},e=i.__decorate([o.WidgetSpec],e)}(o.Widget);e.Link=l}),define("OutSystems/ReactWidgets/Popup",["require","exports","tslib","OutSystems/ReactView/Portal","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Popup=void 0;var s=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.updateMainContainerAriaHiddenAttr(),n.focusFirstFocusableElement=n.focusFirstFocusableElement.bind(n),n.state={value:e.showPopup},n}i.__extends(e,t),s=e,e.prototype.componentWillUnmount=function(){this.disableScroll(!1),this.updateMainContainerAriaHiddenAttr()},e.prototype.UNSAFE_componentWillMount=function(){this.disableScroll(this.props.showPopup)},e.prototype.UNSAFE_componentWillUpdate=function(t){this.disableScroll(t.showPopup)},e.prototype.componentDidUpdate=function(){var t=this;this.updateMainContainerAriaHiddenAttr(),this.props.showPopup!==this.state.value&&this.setState({value:this.props.showPopup},function(){t.focusFirstFocusableElement()})},e.prototype.disableScroll=function(t){t?document.documentElement.classList.add(s.DisableScrollClass):document.documentElement.classList.remove(s.DisableScrollClass)},e.prototype.updateMainContainerAriaHiddenAttr=function(){this.props.showPopup?document.getElementById("reactContainer").setAttribute("aria-hidden","true"):0===document.getElementsByClassName("popup-backdrop").length&&document.getElementById("reactContainer").removeAttribute("aria-hidden")},e.prototype.focusFirstFocusableElement=function(){if(this.props.showPopup){var t=this.getHTMLNode();if(t){var e=t.querySelector("input, button, textarea, select, a");e&&e.focus()}}},e.prototype.render=function(){if(this.props.showPopup){var t={"data-
3popup":"",className:"popup-dialog "+this.props.style,role:"dialog","aria-modal":!0};return this.fillWithBuiltinProperties(t),r.createElement(n.Portal,null,r.createElement("div",{onClick:function(t){return t.stopPropagation()},onTouchMove:function(t){return t.stopPropagation()},className:"popup-backdrop","data-popup-backdrop":""},r.createElement("div",i.__assign({},t),r.createElement("div",{className:"popup-content"},this.props.children))))}return null};var s;return e.DisableScrollClass="popup-disable-scroll",e=s=i.__decorate([o.WidgetSpec],e)}(o.Widget);e.Popup=s}),define("OutSystems/ReactWidgets/Placeholder",["require","exports","tslib","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/ScrollExtensions","OutSystems/ReactView/Widget","OutSystems/ReactView/WidgetHelpers","react"],function(t,e,i,n,o,r,s,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Placeholder=void 0;var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}i.__extends(e,t),l=e,e.toHtmlAlign=function(t){switch(t){case 2:return"center";case 1:return"left";case 3:return"right";default:return}},e.prototype.hasOrWillHaveChildren=function(t){return!0},e.prototype.serializeCustomStateProperties=function(){return o.serializeScrollProperties(this.getHTMLNode())},e.prototype.loadCustomStateProperties=function(t){o.loadScrollProperties(this.getHTMLNode(),t)},e.prototype.render=function(){var t={textAlign:l.toHtmlAlign(this.props.align),minHeight:this.props.height,cursor:this.props.extendedEvents&&this.props.extendedEvents.onClick?"pointer":void 0},e={className:this.props.style,style:t};return this.fillWithBuiltinProperties(e),a.createElement(n.HtmlTags.div,e,(0,s.wrapElements)(this.props.content.render()))};var l;return e=l=i.__decorate([r.WidgetSpec],e)}(r.Widget);e.Placeholder=l}),define("OutSystems/ReactWidgets/Popover",["require","exports","tslib","OutSystems/ReactView/Widget","react","react-dom","./Utils"],function(t,e,i,n,o,r,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Popover=e.IPopoverAnchorState=void 0;var a;!function(t){t[t.Start=0]="Start",t[t.Middle=1]="Middle",t[t.End=2]="End"}(a||(e.IPopoverAnchorState=a={}));var l=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.bottomPlaceholderRef=o.createRef(),n.anchorRef=o.createRef(),n.verticalAnchor=null,n.horizontalAnchor=null,n.screenContainer="screen-container",n.getCoords=function(){var t=n.anchorRef.current.getBoundingClientRect(),e=n.bottomPlaceholderRef.current.getBoundingClientRect(),i=n.horizontalAnchor,o=n.verticalAnchor,r=t.left+t.width/2-e.width/2+"px",s="",l=t.top+"px",p="";return null!==i&&null!==o&&(i===a.Start?r=t.left+"px":i===a.End&&(r="",s=window.innerWidth-t.right+"px"),o===a.End&&(l="",p=window.innerHeight-t.bottom+"px")),{newLeft:r,newRight:s,newTop:l,newBottom:p}},n.updateCoords=function(){var t=n.getCoords(),e=t.newLeft,i=t.newRight,o=t.newTop,r=t.newBottom,s=n.state.coords,a=s.left,l=s.right,p=s.top,u=s.bottom;a===e&&l===i&&p===o&&u===r||n.setState({coords:{left:e,right:i,top:o,bottom:r}})},n.debouncedUpdateCoords=(0,s.debounce)(n.updateCoords),n.outerOnClickHander=function(t){n.isElementInsidePopover(t.target)||(n.unregisterEvents(),n.horizontalAnchor=null,n.verticalAnchor=null,n.setState({expanded:!1,anchored:!1}))},n.focusFirstFocusableElement=n.focusFirstFocusableElement.bind(n),n.state={expanded:!1,coords:{left:"",top:"",right:"",bottom:""},anchored:!1,popoverParent:null},n.prevExpanded=n.state.expanded,n}return i.__extends(e,t),e.prototype.show=function(t){t.stopPropagation(),this.registerEvents(),this.setState({expanded:!0})},e.prototype.hide=function(t){t.stopPropagation(),this.unregisterEvents(),this.horizontalAnchor=null,this.verticalAnchor=null,this.setState({expanded:!1,anchored:!1})},e.prototype.registerEvents=function(){document.addEventListener("click",this.outerOnClickHander,{capture:!0}),window.addEventListener("resize",this.debouncedUpdateCoords),window.addEventListener("scroll",this.updateCoords,{capture:!0})},e.prototype.unregisterEvents=function(){document.removeEventListener("click",this.outerOnClickHander,{capture:!0}),window.removeEventListener("resize",this.debouncedUpdateCoords),window.removeEventListener("scroll",this.updateCoords,{capture:!0})},e.prototype.isElementInsidePopover=function(t){var e=this.bottomPlaceholderRef.current;return e&&t&&(t===e||e.contains(t))},e.prototype.adjustPositionBasedOnViewport=function(){if(this.state.expanded){var t=this.bottomPlaceholderRef.current;if(this.state.anchored){if(null===this.horizontalAnchor&&null===this.verticalAnchor){var e=a.Middle,i=a.Start,n=t.getBoundingClientRect();n.left<0?e=a.Start:n.right>window.innerWidth&&(e=a.End),n.bottom>window.innerHeight&&(i=a.End),this.horizontalAnchor=e,this.verticalAnchor=i}}else{var o=this.getCoords(),r=o.newLeft,s=o.newRight,l=o.newTop,p=o.newBottom;this.setState({coords:{left:r,right:s,top:l,bottom:p},anchored:!0})}this.updateCoords()}},e.prototype.componentDidUpdate=function(){this.adjustPositionBasedOnViewport(),this.state.expanded!==this.prevExpanded&&(this.prevExpanded=this.state.expanded,this.focusFirstFocusableElement())},e.prototype.setParentComponent=function(){var t=this,e=this.anchorRef.current;Array.from(document.getElementsByClassName(this.screenContainer)).forEac
3h(function(i){i.contains(e)?t.setState({popoverParent:i}):t.setState({popoverParent:e.parentElement})})},e.prototype.componentDidMount=function(){this.setParentComponent(),this.adjustPositionBasedOnViewport()},e.prototype.componentWillUnmount=function(){this.unregisterEvents()},e.prototype.preparePopoverAttributes=function(){var t={"data-popover":"",className:this.props.style};return this.fillWithBuiltinProperties(t),this.state.expanded&&(t.className+=" popover-expanded"),t},e.prototype.preparePopoverTopPlaceholderAttributes=function(){var t=this;return{className:"popover-top",onClick:function(e){return t.show(e)},onKeyDown:function(e){e.key===s.KeyboardKey.ENTER_KEY||e.key===s.KeyboardKey.SPACE_KEY?t.show(e):t.state.expanded&&e.key===s.KeyboardKey.ESCAPE_KEY&&t.hide(e)},tabIndex:0,ref:this.anchorRef}},e.prototype.preparePopoverBottomPlaceholderAnchorAttributes=function(){var t=this.state.coords,e=t.left,i=t.top,n=t.right,o=t.bottom,r=this.bottomPlaceholderRef.current;return{"data-popover":"",style:{position:"fixed",width:"max-content",left:e,top:i,right:n,bottom:o,zIndex:r?getComputedStyle(r.firstElementChild)["z-index"]:""},className:this.props.style,ref:this.bottomPlaceholderRef}},e.prototype.preparePopoverBottomPlaceholderAttributes=function(){var t=this;return{className:"popover-bottom ",style:{width:this.props.popoverWidth?this.props.popoverWidth+"px":""},onClick:function(e){return t.hide(e)},onKeyDown:function(e){e.key===s.KeyboardKey.ESCAPE_KEY&&t.hide(e)}}},e.prototype.focusFirstFocusableElement=function(){if(this.state.expanded){var t=this.bottomPlaceholderRef.current;if(t){var e=t.querySelector("input, button, textarea, select, a");e&&e.focus()}}},e.prototype.render=function(){var t=o.createElement("div",i.__assign({},this.preparePopoverTopPlaceholderAttributes()),this.props.placeholders.topContent.render()),e=this.state.expanded?o.createElement("div",i.__assign({},this.preparePopoverBottomPlaceholderAnchorAttributes()),o.createElement("div",i.__assign({},this.preparePopoverBottomPlaceholderAttributes()),this.props.placeholders.bottomContent.render())):null;return o.createElement("div",i.__assign({},this.preparePopoverAttributes()),t,this.state.popoverParent?(0,r.createPortal)(e,this.state.popoverParent):null)},e=i.__decorate([n.WidgetSpec],e)}(n.Widget);e.Popover=l}),define("OutSystems/ReactWidgets/Switch",["require","exports","tslib","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/Widget","react"],function(t,e,i,n,o,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Switch=void 0;var s=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.state={value:e.variable.value},n}return i.__extends(e,t),e.prototype.onChange=function(t){var e=this,i=t.target;this.props.variable.value=i.checked,this.setState({value:i.checked},function(){e.props.onChange&&e.executeAfterPaint(function(){e.executeWithActiveClassOn(function(){return e.props.onChange()})})})},Object.defineProperty(e.prototype,"htmlElement",{get:function(){return this.getHTMLNode()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValue",{get:function(){return this.htmlElement.checked},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValueValidity",{get:function(){return this.htmlElement.validity},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"variable",{get:function(){return this.props.variable},enumerable:!1,configurable:!0}),e.prototype.updateValue=function(t){this.setState({value:t})},e.prototype.UNSAFE_componentWillReceiveProps=function(t){this.props.variable.value!==t.variable.value&&this.updateValue(t.variable.value)},e.prototype.render=function(){var t=this,e={"data-switch":"",className:this.props.style,disabled:!this.props.enabled,type:"checkbox",onChange:function(e){return t.onChange(e)},checked:this.state.value};return this.fillWithBuiltinProperties(e),r.createElement(n.HtmlTags.span,null,r.createElement(n.HtmlTags.input,e),this.createValidationElement())},e=i.__decorate([o.WidgetSpec],e)}(o.InputWithVariableWidget);e.Switch=s}),define("OutSystems/ReactWidgets/Text",["require","exports","tslib","OutSystems/ClientRuntime/ObjectExtensions","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/Widget","react"],function(t,e,
3i,n,o,r,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Text=void 0;var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.render=function(){var t={className:this.props.style};return this.fillWithBuiltinProperties(t),s.createElement.apply(s,i.__spreadArray([o.HtmlTags.span,t],this.props.text,!1))},e.prototype.shouldComponentUpdate=function(e,i,o){return!n.arrayShallowEquals(this.props.text,e.text)||t.prototype.shouldComponentUpdate.call(this,e,i,o)},e=i.__decorate([r.WidgetSpec],e)}(r.Widget);e.Text=a}),define("OutSystems/ReactWidgets/TextArea",["require","exports","tslib","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/Widget","react","./Throttling"],function(t,e,i,n,o,r,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextArea=void 0;var a=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.state={value:""},n.throttling=new s.Throttling,n}return i.__extends(e,t),e.prototype.onChange=function(t){var e=this,i=t.target;this.variable.value=i.value,this.setState({value:i.value}),this.props.onChange&&this.throttling.throttle(function(){return e.props.onChange()},this.throttleValue)},Object.defineProperty(e.prototype,"htmlElement",{get:function(){return this.getHTMLNode()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValue",{get:function(){return this.htmlElement.value},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValueValidity",{get:function(){return this.htmlElement.validity},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMandatory",{get:function(){return this.props.mandatory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"variable",{get:function(){return this.props.variable},enumerable:!1,configurable:!0}),e.prototype.componentDidMount=function(){if(this.updateValue(this.props.variable.value),this.props.extendedProperties){var t=this.props.extendedProperties[s.Throttling.CustomThrottlingProperty];void 0!==t&&(this.throttleValue=parseInt(t,10))}},e.prototype.updateValue=function(t){this.setState({value:t})},e.prototype.UNSAFE_componentWillReceiveProps=function(t){this.props.variable.value!==t.variable.value&&this.updateValue(t.variable.value)},e.prototype.componentWillUnmount=function(){this.throttling.dispose()},e.prototype.render=function(){var t=this,e={"data-textarea":"",className:this.props.style,disabled:!this.props.enabled,required:this.props.mandatory,rows:this.props.textLines,placeholder:this.props.prompt,onChange:function(e){return t.onChange(e)},value:this.state.value.toString()};return this.props.maxLength>0&&(e.maxLength=this.props.maxLength),this.fillWithBuiltinProperties(e),delete e[s.Throttling.CustomThrottlingProperty],r.createElement(n.HtmlTags.span,null,r.createElement(n.HtmlTags.textarea,e),this.createValidationElement())},e=i.__decorate([o.WidgetSpec],e)}(o.InputWithVariableWidget);e.TextArea=a}),define("OutSystems/ReactWidgets/Upload",["require","exports","tslib","OutSystems/ClientRuntime/DataTypes","OutSystems/ClientRuntime/NativeHelper","OutSystems/ReactView/HtmlTags","OutSystems/ReactView/Widget","react","./Utils"],function(t,e,i,n,o,r,s,a,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Upload=void 0;var p=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.hiddenInputRef=a.createRef(),n.state={filename:null,value:null},n}i.__extends(e,t),p=e,Object.defineProperty(e.prototype,"isMandatory",{get:function(){return this.props.mandatory},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"variable",{get:function(){return this.props.fileContent},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hiddenInput",{get:function(){return this.hiddenInputRef.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValue",{get:function(){return this.variable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"inputedValueValidity",{get:function(){return this.hiddenInput.validity},enumerable:!1,configurable:!0}),e.prototype.getAcceptProperty=function(){var t;switch(this.props.accept){case 0:t="image/*";break;case 1:t="video/*";break;default:t=""}return t},e.prototype.handleFileSelect=function(t){var e,i=this,o=null===(e=t.target.files)||void 0===e?void 0:e[0],r=null===o||void 0===o?void 0:o.name,s=this.state.filename;if(o&&r&&s!==r){var a=new FileReader;a.onload=function(t){var e=t.target.result,o=e.indexOf(";base64,"),s=e.substring(o+8),a=new n.BinaryData(s);i.props.fileName&&(i.props.fileName.value=r),i.variable.value=a,i.setState({filename:r,value:a}),i.props.onChange&&i.props.onChange()},a.readAsDataURL(o)}},e.prototype.UNSAFE_componentWillReceiveProps=function(t){var e;
3this.shouldUpdateValue(t.fileContent)&&this.updateValue(null===(e=t.fileName)||void 0===e?void 0:e.value,t.fileContent.value)},e.prototype.updateValue=function(t,e){this.setState({filename:t,value:e}),null===e.content&&this.hiddenInputRef.current&&(this.hiddenInputRef.current.value="")},e.prototype.render=function(){var t=this,e=this.getAcceptProperty(),i={display:"none"},n={type:"file",accept:e,style:i,onChange:function(e){return t.handleFileSelect(e)},ref:this.hiddenInputRef,required:this.props.mandatory},o=this.props.extendedProperties;if(o)for(var s in o)this.shouldIncludeOnExtendedProperty(s)&&(n[s]=o[s]);var p={"data-upload":"",className:this.props.style,onKeyDown:function(e){e.key!==l.KeyboardKey.ENTER_KEY&&e.key!==l.KeyboardKey.SPACE_KEY||t.hiddenInputRef.current.click()},tabIndex:0};this.variable.value.hasContent()&&(p.className+=" uploaded"),this.fillWithBuiltinProperties(p);var u={className:"upload-"+n.type},c=a.createElement(r.HtmlTags.label,p,a.createElement(r.HtmlTags.input,n),this.props.children);return a.createElement(r.HtmlTags.span,u,c,this.createValidationElement())},e.prototype.shouldIncludeOnExtendedProperty=function(t){if("style"===t)return!1;if(t===p.Capture&&o.isRunningOnNative()){var e=window;if(e.device&&"android"===e.device.platform.toLowerCase()&&/^[7-9](\..*)?$/.test(e.device.version))return!1}return!0};var p;return e.Capture="capture",e=p=i.__decorate([s.WidgetSpec],e)}(s.InputWithVariableWidget);e.Upload=p}),define("OutSystems/ReactWidgets/Main",["require","exports","OutSystems/ClientRuntime/VersionDefinition","./AdvancedHtml","./Button","./ButtonGroup","./ButtonGroupItem","./Checkbox","./RadioGroup","./RadioButton","./Container","./Dropdown","./Expression","./List","./ListItem","./ListItemAction","./TableRecords","./HeaderCell","./RowCell","./Form","./Icon","./Image","./Input","./Label","./Link","./Popup","./Placeholder","./Popover","./Switch","./Text","./TextArea","./Upload"],function(t,e,i,n,o,r,s,a,l,p,u,c,d,h,f,g,m,y,v,b,w,S,C,P,E,R,x,_,T,A,O,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Version=e.Upload=e.TextArea=e.Text=e.Switch=e.Popover=e.Placeholder=e.Popup=e.Link=e.Label=e.Input=e.Image=e.Icon=e.Form=e.RowCell=e.HeaderCell=e.TableRecords=e.ListItemAction=e.ListItem=e.List=e.Expression=e.Dropdown=e.Container=e.RadioButton=e.RadioGroup=e.Checkbox=e.ButtonGroupItem=e.ButtonGroup=e.Button=e.AdvancedHtml=void 0,Object.defineProperty(e,"AdvancedHtml",{enumerable:!0,get:function(){return n.AdvancedHtml}}),Object.defineProperty(e,"Button",{enumerable:!0,get:function(){return o.Button}}),Object.defineProperty(e,"ButtonGroup",{enumerable:!0,get:function(){return r.ButtonGroup}}),Object.defineProperty(e,"ButtonGroupItem",{enumerable:!0,get:function(){return s.ButtonGroupItem}}),Object.defineProperty(e,"Checkbox",{enumerable:!0,get:function(){return a.Checkbox}}),Object.defineProperty(e,"RadioGroup",{enumerable:!0,get:function(){return l.RadioGroup}}),Object.defineProperty(e,"RadioButton",{enumerable:!0,get:function(){return p.RadioButton}}),Object.defineProperty(e,"Container",{enumerable:!0,get:function(){return u.Container}}),Object.defineProperty(e,"Dropdown",{enumerable:!0,get:function(){return c.Dropdown}}),Object.defineProperty(e,"Expression",{enumerable:!0,get:function(){return d.Expression}}),Object.defineProperty(e,"List",{enumerable:!0,get:function(){return h.List}}),Object.defineProperty(e,"ListItem",{enumerable:!0,get:function(){return f.ListItem}}),Object.defineProperty(e,"ListItemAction",{enumerable:!0,get:function(){return g.ListItemAction}}),Object.defineProperty(e,"TableRecords",{enumerable:!0,get:function(){return m.TableRecords}}),Object.defineProperty(e,"HeaderCell",{enumerable:!0,get:function(){return y.HeaderCell}}),Object.defineProperty(e,"RowCell",{enumerable:!0,get:function(){return v.RowCell}}),Object.defineProperty(e,"Form",{enumerable:!0,get:function(){return b.Form}}),Object.defineProperty(e,"Icon",{enumerable:!0,get:function(){return w.Icon}}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return S.Image}}),Object.defineProperty(e,"Input",{enumerable:!0,get:function(){return C.Input}}),Object.defineProperty(e,"Label",{enumerable:!0,get:function(){return P.Label}}),Object.defineProperty(e,"Link",{enumerable:!0,get:function(){return E.Link}}),Object.defineProperty(e,"Popup",{enumerable:!0,get:function(){return R.Popup}}),Object.defineProperty(e,"Placeholder",{enumerable:!0,get:function(){return x.Placeholder}}),Object.defineProperty(e,"Popover",{enumerable:!0,get:function(){return _.Popover}}),Object.defineProperty(e,"Switch",{enumerable:!0,get:function(){return T.Switch}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return A.Text}}
3),Object.defineProperty(e,"TextArea",{enumerable:!0,get:function(){return O.TextArea}}),Object.defineProperty(e,"Upload",{enumerable:!0,get:function(){return L.Upload}}),e.Version="3.30.0",i.registerPackage("client-runtime-widgets",e.Version)});
4// All licensing information regarding this source code can be found in the LICENSES.txt file.
5//# sourceMappingURL=OutSystemsReactWidgets.js.map?ts=1731667305481

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.