Liferay.Loader.define("portal-workflow-kaleo-designer-web@5.0.83/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,t){var r;window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=i();if(a&&a.has(e))return a.get(e);var t={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){var n=r?Object.getOwnPropertyDescriptor(e,l):null;n&&(n.get||n.set)?Object.defineProperty(t,l,n):t[l]=e[l]}t.default=e,a&&a.set(e,t);return t}(t("@frontend-taglib-clay$clayui/form")),n=(r=t("liferay!frontend-js-react-web$react"))&&r.__esModule?r:{default:r};function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){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 o=({setTimerScale:a,timerScale:t})=>n.default.createElement(l.default.Group,{className:"mb-0"},n.default.createElement(l.ClaySelect,{"aria-label":"Select",defaultValue:t,id:"scale",onChange:({target:e})=>{(e=>{a(e.value)})(e)}},e.map((e=>n.default.createElement(l.ClaySelect.Option,{key:e.scale,label:e.label,value:e.scale})))));a.default=o}}));
//# sourceMappingURL=TimerScale.js.map