Liferay.Loader.define("portal-workflow-kaleo-designer-web@5.0.115/designer/js/definition-builder/diagram-builder/components/sidebar/sections/timers/TimerScale",["module","exports","require","@frontend-taglib-clay$clayui/form","liferay!frontend-js-react-web$react"],(function(e,a,r){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var t=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=_getRequireWildcardCache();if(a&&a.has(e))return a.get(e);var r={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){var n=t?Object.getOwnPropertyDescriptor(e,l):null;n&&(n.get||n.set)?Object.defineProperty(r,l,n):r[l]=e[l]}r.default=e,a&&a.set(e,r);return r}(r("@frontend-taglib-clay$clayui/form")),l=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r("liferay!frontend-js-react-web$react"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}const e=[{label:Liferay.Language.get("second"),scale:"second"},{label:Liferay.Language.get("minute"),scale:"minute"},{label:Liferay.Language.get("hour"),scale:"hour"},{label:Liferay.Language.get("day"),scale:"day"},{label:Liferay.Language.get("week"),scale:"week"},{label:Liferay.Language.get("month"),scale:"month"},{label:Liferay.Language.get("year"),scale:"year"}];var _default=({setTimerScale:a,timerScale:r})=>l.default.createElement(t.default.Group,{className:"mb-0"},l.default.createElement(t.ClaySelect,{"aria-label":"Select",defaultValue:r,id:"scale",onChange:({target:e})=>{(e=>{a(e.value)})(e)}},e.map((e=>l.default.createElement(t.ClaySelect.Option,{key:e.scale,label:e.label,value:e.scale})))));a.default=_default}}));
//# sourceMappingURL=TimerScale.js.map