PageSourceSearch

https://oncon.prossell.online/_next/static/chunks/8150-f740b7a659ca1321.js

js prossell.online collected 2026-10-05 18:46:17 UTC 13,353 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8150],{94629:function(e,t,n){n.d(t,{D:function(){return C}});var r=n(85893),i=n(96476),o=n(77773),a=n(31965),c=n(46842),l=n(1199),u=n(56903),s=n(67294),d=n(97375),f=n(1625),m=n(74231),p=n(81929),h=n(68527),v=n(15193),b=n(1358),y=n(82175),g=n(87935),j=n(8799),x=n(16117),T=(n(26101),n(74435));function S(e){var t;e.clickedDate?t={id:(0,f.k)(20),title:"\u5fdc\u52df\u7de0\u3081\u5207\u308a",eventType:"\u5fdc\u52df\u7de0\u3081\u5207\u308a",content:"",startTimestamp:e.clickedDate.date.getTime().toString(),endTimestamp:e.clickedDate.date.getTime().toString()}:e.clickedEvent&&(t="\u5fdc\u52df\u7de0\u3081\u5207\u308a"===e.clickedEvent.eventType?{id:e.clickedEvent.id,title:"\u5fdc\u52df\u7de0\u3081\u5207\u308a",eventType:"\u5fdc\u52df\u7de0\u3081\u5207\u308a",content:e.clickedEvent.content,startTimestamp:e.clickedEvent.startTimestamp,endTimestamp:e.clickedEvent.endTimestamp}:{id:e.clickedEvent.id,title:e.clickedEvent.title,eventType:e.clickedEvent.eventType,content:e.clickedEvent.content,startTimestamp:e.clickedEvent.startTimestamp,endTimestamp:e.clickedEvent.endTimestamp});var n=m.Z_().required("\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002"),i=m.Z_(),o=m.Z_().required("\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002"),a=m.Ry({eventType:o.oneOf(["\u5fdc\u52df\u7de0\u3081\u5207\u308a","\u958b\u4f1a\u5f0f","\u9589\u4f1a\u5f0f","\u305d\u306e\u4ed6"],"\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002"),title:n,content:n,startTimestamp:n,endTimestamp:m.Z_().when("eventType",{is:"\u5fdc\u52df\u7de0\u3081\u5207\u308a",then:i,otherwise:n})}),c=(0,f.k)(8);return(0,r.jsxs)(p.u_,{isOpen:e.isOpen,onClose:e.onClose,size:"4xl",children:[(0,r.jsx)(p.ZA,{}),(0,r.jsxs)(p.hz,{children:[(0,r.jsx)(p.xB,{children:"\u30a4\u30d9\u30f3\u30c8\u3092\u4f5c\u6210"}),(0,r.jsx)(p.ol,{}),(0,r.jsx)(p.fe,{children:(0,r.jsx)(y.J9,{initialValues:t,onSubmit:e.handleSubmit,validationSchema:a,validateOnMount:!0,children:function(n){return(0,r.jsxs)(h.gC,{width:"100%",as:"form",onSubmit:n.handleSubmit,children:[(0,r.jsx)(g.d,{width:"40rem",label:"\u30a4\u30d9\u30f3\u30c8\u30bf\u30a4\u30d7",placeholder:"\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044",optionList:["\u5fdc\u52df\u7de0\u3081\u5207\u308a","\u958b\u4f1a\u5f0f","\u9589\u4f1a\u5f0f","\u305d\u306e\u4ed6"],isRequired:!0,name:"eventType",isDisabled:!1,onChange:function(e){var t=e.target.value;["\u5fdc\u52df\u7de0\u3081\u5207\u308a","\u958b\u4f1a\u5f0f","\u9589\u4f1a\u5f0f"].includes(t)?n.setFieldValue("title",t):n.setFieldValue("title","")}}),(0,r.jsx)(j.N,{width:"40rem",isRequired:!0,enableLabel:!0,label:"\u30a4\u30d9\u30f3\u30c8\u30bf\u30a4\u30c8\u30eb",name:"title",isReadonly:["\u5fdc\u52df\u7de0\u3081\u5207\u308a","\u958b\u4f1a\u5f0f","\u9589\u4f1a\u5f0f"].includes(n.values.eventType)}),(0,r.jsx)(j.N,{width:"40rem",isRequired:!0,enableLabel:!0,label:"\u5185\u5bb9",name:"content",isReadonly:!1}),(0,r.jsxs)(h.Ug,{w:"40rem",children:[(0,r.jsx)(T.R,{width:"16rem",label:"\u5fdc\u52df\u7de0\u3081\u5207\u308a"===n.values.eventType?"\u7de0\u3081\u5207\u308a":"\u958b\u59cb",isRequired:!0,name:"startTimestamp",setFieldValueFromFormik:n.setFieldValue,initTimestamp:t.startTimestamp}),"\u5fdc\u52df\u7de0\u3081\u5207\u308a"===n.values.eventType||(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.LZ,{}),(0,r.jsx)(r.Fragment,{children:"\u301c"}),(0,r.jsx)(h.LZ,{}),(0,r.jsx)(T.R,{width:"16rem",label:"\u7d42\u4e86",isRequired:!0,name:"endTimestamp",setFieldValueFromFormik:n.setFieldValue,initTimestamp:t.endTimestamp})]})]}),e.clickedEvent&&(0,r.jsx)(v.zx,{colorScheme:"red",onClick:function(){e.handleDeleteEvent(e.clickedEvent.id),e.onClose()},children:"\u30a4\u30d9\u30f3\u30c8\u3092\u524a\u9664\u3059\u308b"}),(0,r.jsx)(b.TX,{children:(0,r.jsx)(x.T,{text:"this text will be hidden",id:c,onClick:function(){Object.keys(n.errors).forEach((function(e){return n.setFieldTouched(e,!0)})),0===Object.keys(n.errors).length&&e.onClose()}})})]})}})}),(0,r.jsxs)(p.mz,{children:[(0,r.jsx)(v.zx,{variant:"ghost",onClick:e.onClose,children:"\u30ad\u30e3\u30f3\u30bb\u30eb"}),(0,r.jsx)(v.zx,{colorScheme:"blue",ml:3,onClick:function(){document.getElementById(c).click()},children:"\u30a4\u30d9\u30f3\u30c8\u3092\u8ffd\u52a0"})]})]})]})}function w(e){return"".concat(e.getFullYear().toString().padStart(2,"0"),"-").concat((1+e.getMonth()).toString().padStart(2,"0"),"-").concat(e.getDate().toString().padStart(2,"0"),"T").concat(e.getHours().toString().padStart(2,"0"),":").concat(e.getMinutes().toString().padStart(2,"0"),":00")}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e){return function(e){if(Array.isArray(e))return k(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return k(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}
1function C(e){var t=(0,s.useState)(void 0),n=t[0],f=t[1],m=(0,s.useState)(void 0),p=m[0],h=m[1],v=(0,s.useState)([]),b=v[0],y=v[1],g=(0,s.useState)([]),j=g[0],x=g[1],T=(0,d.qY)(),k=T.isOpen,C=T.onOpen,P=T.onClose;return(0,s.useEffect)((function(){e.initEvents&&y(e.initEvents)}),[e.initEvents]),(0,s.useEffect)((function(){e.setFieldValue(e.name,b.map((function(e){return"\u5fdc\u52df\u7de0\u3081\u5207\u308a"===e.eventType?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){O(e,t,n[t])}))}return e}({},e,{endTimestamp:e.startTimestamp}):e}))),x(b.map((function(e){var t,n,r;"\u5fdc\u52df\u7de0\u3081\u5207\u308a"===e.eventType?(t="red",n="red",r="white"):["\u9589\u4f1a\u5f0f","\u958b\u4f1a\u5f0f"].includes(e.eventType)?(t="orange",n="orange",r="white"):(t="white",n="#8888FF",r="gray");var i=new Date;i.setTime(+e.startTimestamp);var o=new Date;o.setTime(+e.endTimestamp);var a=w(i),c=w(o);return{id:e.id,title:e.title,description:e.content,backgroundColor:t,borderColor:n,textColor:r,start:a,end:c,editable:!1}})))}),[b]),(0,s.useEffect)((function(){n&&C()}),[n]),(0,s.useEffect)((function(){p&&C()}),[p]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:(0,r.jsx)(i.ZPm,{allDaySlot:!1,headerToolbar:{start:"dayGridMonth timeGridWeek listWeek",end:"today prev next"},height:e.isDisabled?"85vh":"70vh",plugins:[o.ZP,c.ZP,l.ZP,u.Z],events:j,initialView:"timeGridWeek",locale:"ja",locales:a.Z,dateClick:function(t){e.isDisabled||f(t)},eventClick:function(t){e.isDisabled||h(b.filter((function(e){return e.id===t.event.id}))[0])}})}),(0,r.jsx)(S,{isOpen:k,onClose:function(){f(void 0),h(void 0),P()},clickedDate:n,clickedEvent:p,handleSubmit:function(e){y((function(t){return E(t.filter((function(t){return t.id!==e.id}))).concat([e])}))},handleDeleteEvent:function(e){y((function(t){return t.filter((function(t){return t.id!==e}))}))}})]})}},74435:function(e,t,n){n.d(t,{R:function(){return d}});var r=n(85893),i=n(68527),o=n(79762),a=n(46670),c=n(8660),l=n.n(c),u=(n(26101),n(67294)),s=n(39183).ja;function d(e){var t=(0,u.useState)(!1),n=t[0],c=t[1];(0,u.useEffect)((function(){c(!!e.initTimestamp)}),[e.initTimestamp]);var d=new Date;return e.initTimestamp&&d.setTime(+e.initTimestamp),(0,r.jsx)(i.kC,{direction:"column",borderBottomWidth:"1px",w:e.width,children:(0,r.jsxs)(o.NI,{isRequired:e.isRequired,children:[e.label&&(0,r.jsx)(o.lX,{fontSize:a.pc.jp.PS.fS,fontWeight:a.pc.jp.PS.fW,children:e.label}),(0,r.jsx)(l(),{inputProps:n?void 0:{value:"-----"},initialValue:d,locale:s,onChange:function(t){e.setFieldValueFromFormik(e.name,t.toDate().getTime()),c(!0)}})]})})}},8799:function(e,t,n){n.d(t,{N:function(){return m}});var r=n(85893),i=n(62878),o=n(68527),a=n(79762),c=n(46670),l=n(82175);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){s(e,t,n[t])}))}return e}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(l){c=!0,i=l}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e){var t=f((0,l.U$)({name:e.name}),1)[0],n=e.label,u=e.placeholder,s=e.isRequired,m=e.enableLabel,p=e.name,h=e.onChange,v=e.isReadonly,b=e.requireNormalFontLabel;return(0,r.jsx)(o.kC,{direction:"column",children:(0,r.jsxs)(a.NI,{isRequired:s,children:[m?(0,r.jsx)(o.xv,d({},e.labelProps,{children:(0,r.jsx)(a.lX,{fontSize:c.pc.jp.PS.fS,fontWeight:b?"normal":c.pc.jp.PS.fW,children:n})})):(0,r.jsx)(r.Fragment,{}),(0,r.jsxs)(o.Ug,{spacing:0,children:[e.prefix&&(0,r.jsx)(o.xv,{children:e.prefix}),(0,r.jsx)(i.gs,{isDisabled:v,name:p,onChange:h,inputProps:{bgColor:e.bgColor,type:e.isPassword?"password":void 0,placeholder:u,borderRadius:"none",borderTop:"none",borderLeft:"none",borderRight:"none",width:e.width,value:t.value}})]})]})})}},59312:function(e,t,n){n.d(t,{Ms:function(){return p},NM:function(){return s},XO:function(){return f}});var r=n(34051),i=n.n(r),o=n(96257);function a(e,t,n,r,i,o,a){try{var c=e[o](a),l=c.value}catch(u){return void n(u)}c.done?t(l):Promise.resolve(l).then(r,i)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function c(e){a(o,r,i,c,l,"next",e)}function l(e){a(o,r,i,c,l,"throw",e)}c(void 0)}))}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}function s(e){return d.apply(this,arguments)}function d(){return(d=c(i().mark((function e(t){var n,r,a;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,o.ad)(),r=(0,o.JU)(n,"oncon_automation_oncons/".concat(t)),e.next=4,(0,o.QT)(r);case 4:return a=e.sent,e.abrupt("return",u({id:a.id},a.data()));case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return m.apply(this,arguments)}function m(){return(m=c(i().mark((function e(t){var n,r,a;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,o.ad)(),r=(0,o.IO)((0,o.hJ)(n,"oncon_automation_oncons/"),(0,o.ar)("participantIDs","array-contains",t)),e.next=4,(0,o.PL)(r);case 4:return a=e.sent,e.abrupt("return",a.docs.map((function(e){return u({id:e.id},e.data())})));case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e){return h.apply(this,arguments)}function h(){return(h=c(i().mark((function e(t){var n,r,a;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,o.ad)(),r=(0,o.IO)((0,o.hJ)(n,"oncon_automation_oncons/"),(0,o.ar)("heldCompanyIDs","array-contains",t)),e.next=4,(0,o.PL)(r);case 4:return a=e.sent,e.abrupt("return",a.docs.map((function(e){return u({id:e.id},e.data())})));case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},48355:function(e,t,n){function r(e){return e.map((function(e){var t={};return t.id=e.id,t.eventType=e.eventType,t.title=e.title,t.content=e.content,t.startTimestamp=e.startTimestamp.toMillis().toString(),t.endTimestamp=e.endTimestamp.toMillis().toString(),t}))}n.d(t,{a:function(){return r}})},1625:function(e,t,n){function r(e,t){for(var n=null!==t&&void 0!==t?t:"abcdefghijklmnopqrstuvwxyzABCSEFGHIJKLMNOPQRSTUVWXYZ0123456789",r="",i=0;i<e;i++)r+=n[Math.floor(Math.random()*n.length)];return r}n.d(t,{k:function(){return r}})}}]);

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.