PageSourceSearch

https://kantankabuka.com/_next/static/chunks/pages/biz/report_setting-8c53333bb9c1cafc.js

js kantankabuka.com collected 2026-10-06 13:46:45 UTC 13,020 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9875],{87733:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/biz/report_setting",function(){return s(15211)}])},20056:function(e,t,s){"use strict";var n=s(11527),a=s(92852),r=s(99216);t.Z=e=>{let{label:t,startContent:s,endContent:i,size:l="md",classes:c="",disabled:d,href:o,onClick:x}=e,m=l,p="text-sm sm:text-base",u="h-6 w-6 hidden sm:inline-block";return"xs"===l&&(p="text-xs sm:text-sm",u="h-5 w-5 hidden sm:inline-block",m="sm"),(0,n.jsx)(a.A,{className:(0,r.cn)("rounded-md",c,p),onPress:()=>{o&&window.open(o,"_blank"),x&&x()},isDisabled:d,disableRipple:!0,disableAnimation:!0,startContent:s&&(0,n.jsx)(s,{className:u}),endContent:i&&(0,n.jsx)(i,{className:u}),size:m,children:t})}},74975:function(e,t,s){"use strict";var n=s(11527),a=s(50959),r=s(20056),i=s(83660),l=s(99216);t.Z=e=>{let{isOpen:t,close:s,onConfirm:c,children:d,confirmLabel:o="はい",cancelLabel:x="いいえ",confirmButtonClassName:m,cancelButtonClassName:p,buttonGroupClassName:u}=e,[h,b]=(0,a.useState)(!1),confirmHandler=async()=>{b(!0);try{await c()}catch(e){b(!1)}};return(0,a.useEffect)(()=>{t&&b(!1)},[t]),(0,n.jsx)(i.Z,{isOpen:t,onOpenChange:s,placement:"top",positionClassName:"!mt-[37vh]",baseClassName:"sm:max-w-[760px]",children:(0,n.jsxs)("div",{className:(0,l.cn)("p-4 sm:px-8 sm:pb-14 sm:pt-14"),children:[(0,n.jsx)("div",{className:"justify-center sm:flex sm:items-start",children:(0,n.jsx)("div",{className:"text-center sm:mt-0 sm:px-4 sm:text-left",children:d})}),(0,n.jsx)("div",{className:"mt-4 sm:mt-8",children:(0,n.jsxs)("div",{className:(0,l.cn)("flex justify-center gap-6",u),children:[(0,n.jsx)(r.Z,{label:x,size:"lg",classes:(0,l.cn)("w-[180px] border-2 border-mainblue bg-white text-mainblue sm:w-[240px]",p),onClick:s}),(0,n.jsx)(r.Z,{label:h?"処理中":o,size:"lg",classes:(0,l.cn)("w-[180px] bg-mainblue text-white sm:w-[240px]",h&&"opacity-50",m),onClick:confirmHandler,disabled:h})]})})]})})}},83660:function(e,t,s){"use strict";var n=s(11527),a=s(41202),r=s(91920),i=s(99130),l=s(5928),c=s(56795);t.Z=e=>{let t,{isOpen:s,onOpenChange:d,size:o="lg",placement:x="center",color:m="white",border:p="",hideCloseButton:u=!1,closeButton:h={node:(0,n.jsx)("div",{className:"h-8 w-8",children:(0,n.jsx)(a.Z,{className:"h-8 w-8 text-gray-500"})}),wrapperClass:"hidden sm:block hover:!bg-transparent hover:!opacity-80"},children:b,baseClassName:f,positionClassName:j,isDismissable:g=!0,isKeyboardDismissDisabled:N=!1,scrollBehavior:w="normal",backdropClassName:y,ariaLabel:v}=e,C="bg-".concat(m),Z="";"middle-top"===x?(t="top",Z="!mt-60"):t=x;let k=j||Z;return(0,n.jsx)(r.R,{isOpen:s,onOpenChange:d,size:o,placement:t,radius:"sm",isDismissable:g,isKeyboardDismissDisabled:N,scrollBehavior:w,hideCloseButton:u,"aria-label":v,closeButton:h.node,classNames:{body:(0,i.cn)("p-0"),backdrop:(0,i.cn)("bg-gray-500/40",y),base:(0,i.cn)(C,p,k,f),closeButton:h.wrapperClass},motionProps:{variants:{enter:{scale:[.95,1],opacity:1,transition:{duration:.1,ease:"easeOut"}},exit:{scale:[1,.95],opacity:0,transition:{duration:.1,ease:"easeIn"}}}},children:(0,n.jsx)(l.A,{children:e=>(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(c.I,{children:b})})})})}},73165:function(e,t,s){"use strict";var n=s(11527),a=s(66581),r=s.n(a),i=s(92270),l=s(50959),c=s(25609),d=s(16452),o=s(91199),x=s(83938),m=s(75572),p=s(8284),u=s(59356);t.Z=e=>{let{requiredEmailVerification:t,availableRoles:s,requiredPayment:a=!1,requiredClient:h=!1,blockTransferPayment:b=!1,children:f}=e,j=(0,i.useRouter)(),{user:g,authChecking:N}=(0,o.a)(),{subscription:w,loadingSubscription:y}=(0,p.mU)(),{currentClient:v,loadingCurrentClient:C}=(0,x.ec)(),Z=!!g&&g.emailVerified,{paymentCard:k,isLoading:_}=(0,m.Y9)(Z),S="my-4 text-center text-2xl text-bluetext",z="my-4 text-center text-lg text-bluetext";return((0,l.useEffect)(()=>{h&&!C&&(v||j.push("/biz/clients"))},[j,h,C,v]),N)?(0,n.jsxs)(d.Z,{children:[(0,n.jsx)("p",{children:"認証確認中..."}),(0,n.jsx)(c.Z,{})]}):N||g?N||!g||g&&(!t||g.emailVerified)?b&&w&&w.isTransfer?(0,n.jsx)(d.Z,{children:(0,n.jsx)("p",{className:S,children:"こちらのページは現在ご利用いただけません。"})}):!N&&g&&g&&(!t||g.emailVerified)&&!(g&&s.includes(g.corporateSetting.role))?(0,n.jsxs)(d.Z,{children:[(0,n.jsx)("p",{className:S,children:"閲覧に必要な権限がありません。"}),(0,n.jsx)("p",{className:S,children:"管理者に問い合わせてください。"})]}):a&&(y||_||!w)?(0,n.jsxs)(d.Z,{children:[(0,n.jsx)("p",{children:"プラン内容を確認中..."}),(0,n.jsx)(c.Z,{})]}):a&&(0,u.z)(w,k)?(0,n.jsxs)(d.Z,{children:[(0,n.jsx)("p",{className:S,children:"無料トライアル期間が終了しました。"}),(0,n.jsxs)("p",{className:z,children:["継続して利用する場合は、",(0,n.jsx)(r(),{href:"/biz/payment",className:"underline",children:"こちら"}),"からクレジットカードを登録することで、これまでのデータを引継ぐことができます。"]})]}):a&&(0,u.n)(w,k)?(0,n.jsxs)(d.Z,{children:[(0,n.jsx)("p",{className:S,children:"お支払いが確認できないため利用することができません"}),(0,n.jsxs)("p",{className:z,children:[(0,n.jsx)(r(),{href:"/biz/payment",className:"underline",children:"こちら"}),"から有効なカードを登録してプランの再開をする必要があります。"]})]}):(0,n.jsx)(n.Fragment,{children:f}):(0,n.jsxs)(d.Z,{children:[(0,n.jsx)("p",{className:S,children:"メールアドレスの認証が必要です。"}),(0,n.jsxs)("p",{className:z,children:["※",(0,n.jsx)(r(),{href:"/biz/mypage",className:"underline",children:"こちら"}),"から認証メールの再送信が可能です。"]})]}):(0,n.jsxs)(d.Z,{children:[(0,n.jsx)("p",{className:S,children:"ログインが必要です。"}),(0,n.jsxs)("p",{className:z,children:["※ログインは",(0,n.jsx)(r(),{href:"/biz/login",className:"underline",children:"こちら"}),"から。"]})]})}},15211:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return report_setting}});var n=s(11527),a=s(82862),r=s.n(a),i=s(50959),l=s(20056),c=s(74975),d=s(9075),o=s(83938),x=s(33228),m=s(73165),p=s(40519),u=s(48336);let useReportSetting=()=>{let{customFetch:e}=(0,p.Z)(),getReportNote=async()=>{let t=await e("".concat(u.s,"corporate/report_note"),{method:"GET"});return t.json()},updateReportNote=async t=>{let s={method:"PATCH",body:JSON.stringify({reportNote:t})};return await e("".concat(u.s,"corporate/report_note"),s)};return{getReportNote,updateReportNote}};var h=s(99216);let b="・類似業種比準価額の計算について、非経常的な配当金額・非経常的な利益金額・受取配当等の益金不算入額・受取配当等の所得税額・直前期末の翌日から課税時期までの間に配当の効力や株式の割当て等の効力が発生した場合の比準価額の修正は考慮しておりません。\n・純資産価額の計算について、資産及び負債は全て帳簿価額により評価しております。相続税評価額との評価差額に対する法人税等相当額の控除は行っておりません。\n・株価推移シミュレーションは各年の「1株当たりの年配当金額」はゼロ、「1株当りの年利益金額」は予測損益から修正損益を加減して計算しております。「1株当たりの純資産価額」は予測損益及び修正損益の合計額から法人税等を控除して計算しております。法人税等の税率は、次の所得区分に応じて設定しております。400万円以下: 21.37%、400万円超~800万円以下: 23.17%、800万円超~: 33.58%\nãƒ
1»ãã®ä»–計算の前提条件は「かんたん株価試算HP」をご参照下さい。\n・本レポートは、株価を簡易的に把握することを目的としております。本レポートが貴社の意図に合致したものであるかは、専ら貴社の責任においてご判断ください。",getVisibleLineCount=(e,t)=>{let s=window.getComputedStyle(e),n=parseFloat(s.paddingTop),a=parseFloat(s.paddingBottom),r=e.scrollHeight-n-a;return Math.floor(r/t)};var report_setting=()=>{let{currentClient:e}=(0,o.ec)(),{updateReportNote:t,getReportNote:s}=useReportSetting(),[a,p]=(0,i.useState)(""),[u,f]=(0,i.useState)(!1),[j,g]=(0,i.useState)(""),[N,w]=(0,i.useState)(!1),[y,v]=(0,i.useState)(!1),{accessToken:C,isInitialized:Z}=(0,x.Gu)();(0,i.useEffect)(()=>{if(!Z)return;if(!C){p(b);return}let fetchNote=async()=>{try{let e=await s(),t=(null==e?void 0:e.reportNote)===void 0?b:e.reportNote;p(t)}catch(e){p(b)}};fetchNote()},[Z,C]);let handleSubmit=async()=>{f(!0);try{let e=await t(a);if(!e)throw Error("保存失敗");p(a),w(!0),setTimeout(()=>{w(!1)},3e3)}catch(e){console.error(e)}finally{f(!1)}};return(0,n.jsx)(d.Z,{title:"レポート設定",hasSubHeader:!!e,bannerUnderSubHeader:N&&(0,n.jsx)("div",{className:(0,h.cn)("animate-fade-in-out fixed h-[58px] w-full items-center border-b border-[#D0D7DF] bg-[#F2F7FC] text-center text-base leading-[58px] text-darkbluetext",e?"top-[154px]":"top-[96px]"),children:"レポート設定を更新しました。"}),children:(0,n.jsx)(m.Z,{requiredEmailVerification:!0,availableRoles:["admin"],requiredPayment:!0,children:(0,n.jsx)("div",{className:"mx-auto max-w-[1160px] items-center justify-center py-[50px]",children:(0,n.jsxs)("div",{className:"flex flex-col items-center gap-[40px] rounded-[1px] border border-gray-300 bg-white px-4 py-6 shadow-lg sm:px-[150px] sm:py-[50px]",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-center text-xl font-bold text-darkbluetext sm:text-3xl",children:"レポート設定"}),(0,n.jsxs)("p",{className:"mt-[50px] text-center text-base font-medium leading-[160%] tracking-wider text-v2-gray-600 sm:text-base",children:["保存した内容は、これから出力される全てのメンバーのレポートに反映されます。",(0,n.jsx)("br",{}),"既に出力しているレポートには反映されません。"]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"mb-1 text-base font-medium leading-[24px] text-darkbluetext",children:"補足説明"}),(0,n.jsxs)("p",{className:"mb-2 text-sm font-medium leading-[100%] tracking-widest text-[#8F95A8]",children:["レポート出力する際に、下部に補足説明を表示することができます。",(0,n.jsx)("br",{}),"20行以内で入力してください。"]}),(0,n.jsxs)("div",{className:"flex w-full flex-col items-start sm:flex-row sm:gap-[44px]",children:[(0,n.jsxs)("div",{className:"text-sm text-v2-gray-600 sm:text-base",children:[(0,n.jsx)("textarea",{className:"h-[460px] w-[554px] resize-none rounded border border-mainblue p-2 text-base leading-[22.4px] text-black",value:a,onChange:e=>{let t=e.target.value;if(p(t),j){let t=e.target,s=getVisibleLineCount(t,22.4);s<=20&&g("")}},placeholder:"補足文を入力してください"}),j&&(0,n.jsx)("p",{className:"mt-2 text-sm text-red-500",children:j}),(0,n.jsx)(l.Z,{label:"初期の説明文に戻す",size:"sm",classes:"mt-2 h-9 w-[190px] items-center rounded-sm border border-[#558CDE] px-4 text-center text-[#558CDE] bg-white tracking-widest font-medium",onClick:()=>{p(b),g("")},disabled:u})]}),(0,n.jsx)("div",{className:"shrink-0",children:(0,n.jsx)(r(),{src:"/img/biz/report-setting.png",alt:"レポート設定",width:260,height:372})})]})]}),(0,n.jsx)(l.Z,{label:"更新する",size:"lg",classes:"mt-4 h-[58px] w-[262px] rounded-[10px] bg-[#558CDE] px-4 py-2 text-lg text-white font-bold tracking-widest",onClick:()=>{let e=document.querySelector("textarea");if(!e)return;let t=getVisibleLineCount(e,22.4);if(t>20){g("".concat(20,"行以内で入力してください"));return}g(""),v(!0)},disabled:u}),(0,n.jsx)(c.Z,{isOpen:y,close:()=>v(!1),onConfirm:async()=>{await handleSubmit(),v(!1)},confirmLabel:"更新する",cancelLabel:"キャンセル",confirmButtonClassName:"bg-mainblue sm:w-[258px] sm:h-[46px]",cancelButtonClassName:"bg-white text-mainblue sm:w-[258px] sm:h-[46px]",buttonGroupClassName:"gap-[80px]",children:(0,n.jsx)("p",{className:"text-center text-base text-black sm:text-lg",children:"全てのメンバーのレポートに反映されますが、更新しますか?"})})]})})})})}},56795:function(e,t,s){"use strict";s.d(t,{I:function(){return o}});var n=s(10506),a=s(50959),r=s(79017),i=s(38102),l=s(67851),c=s(11527),d=(0,r.Gp)((e,t)=>{let{as:s,children:r,className:d,...o}=e,{slots:x,classNames:m,bodyId:p,setBodyMounted:u}=(0,n.v)(),h=(0,i.gy)(t),b=s||"div";return(0,a.useEffect)(()=>(u(!0),()=>u(!1)),[u]),(0,c.jsx)(b,{ref:h,className:x.body({class:(0,l.W)(null==m?void 0:m.body,d)}),id:p,...o,children:r})});d.displayName="NextUI.ModalBody";var o=d},99130:function(e,t,s){"use strict";s.d(t,{cn:function(){return cn}});var n=s(10847),a=s(45924),r=(0,s(51297).q)(n.B);function cn(...e){return r((0,a.Z)(e))}}},function(e){e.O(0,[6581,8291,7044,2341,4539,6082,8643,7471,9075,9774,2888,179],function(){return e(e.s=87733)}),_N_E=e.O()}]);

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.