@petercjl/omni-desktop-app 0.1.7 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/INSTALL.md +9 -0
- package/README.md +4 -4
- package/UPDATE.md +7 -0
- package/app/assets/{CartesianChart-acGhtLrw.js → CartesianChart-CP7p2vlm.js} +4 -4
- package/app/assets/{CollaborationWorkspace-DAWo2Vol.js → CollaborationWorkspace-Cnp5PNn_.js} +6 -6
- package/app/assets/CollaborationWorkspace-D7ttfUjn.css +1 -0
- package/app/assets/CompetitorAnalysis-Cujy_a2L.js +1 -0
- package/app/assets/CompetitorAnalysis-h1zdt0F2.css +1 -0
- package/app/assets/EmptyState-CUHuNsaV.js +1 -0
- package/app/assets/ErrorBarContext-BJE5-ljg.js +1 -0
- package/app/assets/{EvidenceSourceGuide-qBsaH1fx.js → EvidenceSourceGuide-B1AJCZm2.js} +1 -1
- package/app/assets/FavoritePicker-XD1a_uOa.js +1 -0
- package/app/assets/Favorites-B5_fdEvZ.js +1 -0
- package/app/assets/{HelpTip-X4GpEnvk.js → HelpTip-BqRBO41J.js} +1 -1
- package/app/assets/LineChart-Ckvg5wfQ.js +4 -0
- package/app/assets/Opportunities-BvH64-dz.js +1 -0
- package/app/assets/{ProgressiveRows-DPZqhsXV.js → ProgressiveRows-NojOUgmr.js} +1 -1
- package/app/assets/ShopLayoutPage-CCrRwaAx.js +1 -0
- package/app/assets/TrendChart-BF4JgwxH.js +1 -0
- package/app/assets/arrow-down-B1nil3T4.js +1 -0
- package/app/assets/arrow-left-BhFSpYzK.js +1 -0
- package/app/assets/arrow-up-right-IBQoN72x.js +1 -0
- package/app/assets/book-open-Cqdn6s-H.js +1 -0
- package/app/assets/chart-column-DCwNhXki.js +1 -0
- package/app/assets/{chart-no-axes-combined-dFluBLOV.js → chart-no-axes-combined-DVgKs36j.js} +1 -1
- package/app/assets/check-DBnlZFEo.js +1 -0
- package/app/assets/chevron-down-DO6RUQm8.js +1 -0
- package/app/assets/chevron-right-e65CaeL6.js +1 -0
- package/app/assets/{clock-3-DpvJxor3.js → clock-3-CDHtQwAe.js} +1 -1
- package/app/assets/competitor-analysis-D6eM9ugQ.js +1 -0
- package/app/assets/components-B5Xyjfpi.js +2 -0
- package/app/assets/{download-BQwcTDwB.js → download-DfM49VvV.js} +1 -1
- package/app/assets/entry-Bq7tA83b.js +1 -0
- package/app/assets/entry-BryQeuNT.css +1 -0
- package/app/assets/entry-CMur_AE7.css +1 -0
- package/app/assets/entry-DC4oDjzU.js +2 -0
- package/app/assets/entry-DM64sJfS.js +1 -0
- package/app/assets/entry-DbqMDIJi.js +1 -0
- package/app/assets/entry-N8bfKXTF.js +2 -0
- package/app/assets/entry-kAWoaIsV.js +2 -0
- package/app/assets/favorites.module-CHYv-Z8y.js +1 -0
- package/app/assets/{file-text-DF8-c_Tb.js → file-text-DKAT5fzJ.js} +1 -1
- package/app/assets/getRadiusAndStrokeWidthFromDot-bv_ksZ7y.js +1 -0
- package/app/assets/{grid-2x2-BNdV1X54.js → grid-2x2-DB6zRPIV.js} +1 -1
- package/app/assets/index-BgJNmU0Z.css +1 -0
- package/app/assets/index-DLSVWUSu.js +10 -0
- package/app/assets/{layers-BY0DtVnH.js → layers-CjsT_HGi.js} +1 -1
- package/app/assets/layout-dashboard-sgUrlApv.js +1 -0
- package/app/assets/{link-2-B7GAWapc.js → link-2-VLti-YG9.js} +1 -1
- package/app/assets/{list-DrSHrHvT.js → list-Dfzc0sXQ.js} +1 -1
- package/app/assets/market-SuD7x_Hf.css +1 -0
- package/app/assets/market.module-VpU4XmGg.js +1 -0
- package/app/assets/module-host-DNtiV4gZ.js +1 -0
- package/app/assets/orbit-CrQs6cpl.js +1 -0
- package/app/assets/play-BxTFlaQX.js +1 -0
- package/app/assets/plus-D78h7lrw.js +1 -0
- package/app/assets/products-B5vjXM_b.js +1 -0
- package/app/assets/project-public-CgW1u7BI.js +4 -0
- package/app/assets/project-public-DWTt808B.js +1 -0
- package/app/assets/public-C-PBMVOQ.js +1 -0
- package/app/assets/{refresh-cw-BZ6-gKfF.js → refresh-cw-CxbRf97c.js} +1 -1
- package/app/assets/search-DFdSppzm.js +1 -0
- package/app/assets/triangle-alert-C7qiylOf.js +1 -0
- package/app/assets/{ui-public-BPe2GJZ-.css → ui-public-DHoRDp5_.css} +1 -1
- package/app/assets/ui-public-Dt5dHt-8.js +1 -0
- package/app/assets/workbench-DIKJZNJQ.js +2 -0
- package/app/assets/workbench-Db45mF6t.css +1 -0
- package/app/assets/workspace-view-state-D0ujRczW.js +1 -0
- package/app/desktop/main.mjs +7719 -0
- package/app/desktop/preload.cjs +30 -0
- package/app/index.html +2 -2
- package/app/package.json +1 -0
- package/app/public/omni-icon.png +0 -0
- package/app/tools/bootstrap.bin +0 -0
- package/app/tools/omni-desktop.mjs +526 -0
- package/package.json +7 -2
- package/release.json +1 -1
- package/release.sig +1 -1
- package/app/assets/CollaborationWorkspace-DHP4cb-p.css +0 -1
- package/app/assets/EmptyState-BgcduNtk.js +0 -1
- package/app/assets/Favorites-C3gPJxbl.js +0 -1
- package/app/assets/LineChart-CyiCaQMM.js +0 -4
- package/app/assets/Opportunities-DDR6jMz5.js +0 -1
- package/app/assets/ShopLayoutPage-7lNMFD1W.js +0 -1
- package/app/assets/TrendChart-ClEBAnKO.js +0 -1
- package/app/assets/activity-idEO2qnr.js +0 -1
- package/app/assets/arrow-left-rfprDrQc.js +0 -1
- package/app/assets/arrow-up-right-Bp3gzP7v.js +0 -1
- package/app/assets/check-DokC3Ug0.js +0 -1
- package/app/assets/chevron-down-CHQKhw_4.js +0 -1
- package/app/assets/chevron-right-2HEa4oQb.js +0 -1
- package/app/assets/components-zDEQpnyp.js +0 -2
- package/app/assets/entry-BNiO6CiP.js +0 -2
- package/app/assets/entry-BleRLT_W.js +0 -1
- package/app/assets/entry-CO870j9p.css +0 -1
- package/app/assets/entry-CYsrxe4a.js +0 -2
- package/app/assets/entry-D2FD-KFx.js +0 -1
- package/app/assets/entry-DAnTlYgL.js +0 -1
- package/app/assets/entry-DSEbJ79v.js +0 -2
- package/app/assets/entry-OPB3MGoc.css +0 -1
- package/app/assets/git-branch-CMQGDByc.js +0 -1
- package/app/assets/index-7NKGenq7.css +0 -1
- package/app/assets/index-BBySSIJT.js +0 -10
- package/app/assets/market-B2oImfqS.css +0 -1
- package/app/assets/market.module-BXeOH_ee.js +0 -1
- package/app/assets/module-host-BHOsDk69.js +0 -1
- package/app/assets/package-C_xD77DO.js +0 -1
- package/app/assets/pin-BEsLCHJL.js +0 -1
- package/app/assets/plus-C301wuGJ.js +0 -1
- package/app/assets/products-CfPFkCnk.js +0 -1
- package/app/assets/project-public-CYza4XVS.js +0 -4
- package/app/assets/project-public-DqjxO6ad.js +0 -1
- package/app/assets/public-DoBzMSlG.js +0 -1
- package/app/assets/ui-public-CX7L8QF_.js +0 -1
- package/app/assets/use-favorites-ChTJGQkB.js +0 -1
- package/app/assets/workbench-13XxpUuA.css +0 -1
- package/app/assets/workbench-BCuh9Nyq.js +0 -2
- package/app/assets/workspace-view-state-CYNxOsyc.js +0 -1
- /package/app/assets/{api-DP_rt0Zx.js → api-KZa8CR8X.js} +0 -0
- /package/app/assets/{use-favorites-_eKBQGeF.css → favorites-_eKBQGeF.css} +0 -0
- /package/app/assets/{format-jsGSJ1GL.js → format-DL7i7_eV.js} +0 -0
- /package/app/assets/{graphicalItemSelectors-GhHIivGe.js → graphicalItemSelectors-CJfZ6cht.js} +0 -0
- /package/app/assets/{group--adLvfC6.js → group-Ed305HyG.js} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./project-public-DqjxO6ad.js","./index-BBySSIJT.js","./index-7NKGenq7.css","./CartesianChart-acGhtLrw.js","./LineChart-CyiCaQMM.js","./EvidenceSourceGuide-qBsaH1fx.js","./HelpTip-X4GpEnvk.js","./HelpTip-BsHPhMNf.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{n as e}from"./clock-3-DpvJxor3.js";import{t}from"./chevron-right-2HEa4oQb.js";import{i as n,n as r,r as i,t as a}from"./products-CfPFkCnk.js";import{t as o}from"./layers-BY0DtVnH.js";import{t as s}from"./refresh-cw-BZ6-gKfF.js";import{n as c,r as l}from"./workspace-view-state-CYNxOsyc.js";import{_ as u,a as d,d as f,m as p,o as m,s as h,t as g}from"./index-BBySSIJT.js";import{n as _}from"./module-host-BHOsDk69.js";import"./public-DoBzMSlG.js";import{t as v}from"./group--adLvfC6.js";var y=f(`settings-2`,[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]),b=u(p(),1);async function x(e){let t=await e(`/growth-center`);if(!t||!Array.isArray(t.products)||typeof t.updatedAt!=`string`||t.products.some(e=>!e||typeof e.key!=`string`||typeof e.itemId!=`string`||typeof e.project!=`string`||!Array.isArray(e.series)||e.series.some(e=>!e||!Array.isArray(e.points))))throw Error(`商品资料返回格式异常`);return t}function S(e){let[t,n]=(0,b.useState)(null),[r,i]=(0,b.useState)(``),[a,o]=(0,b.useState)(!0),s=(0,b.useRef)(0),c=(0,b.useRef)(!1),l=(0,b.useCallback)(()=>{let t=++s.current;return x(e).then(e=>c.current&&s.current===t?(n(e),i(``),!0):!1).catch(e=>(c.current&&s.current===t&&(n(null),i(e instanceof Error?e.message:`商品资料读取失败`)),!1)).finally(()=>{c.current&&s.current===t&&o(!1)})},[e]),u=(0,b.useCallback)(()=>(o(!0),i(``),l()),[l]);return(0,b.useEffect)(()=>(c.current=!0,l(),()=>{c.current=!1}),[l]),{data:t,error:r,loading:a,refresh:u}}var C=[{id:`test`,n:`03`,name:`新品测试`,caption:`运营策略 · 测试`,color:`#74c6ff`,goal:`少量投入,找到有人喜欢的商品`,cadence:`推广每天看 · 商品每5天看`,rule:`同品类、同属性、同材质一起测。对照店里第二梯队头部商品:低的继续跑,中的进入孵化候选,高的进一步评估。`,action:`查看点击、加购表现,筛选候选商品。`},{id:`incubate`,n:`02`,name:`持续孵化`,caption:`运营策略 · 培养`,color:`var(--omni-chart-secondary,#b99aff)`,goal:`培养潜力款,让成熟商品赚钱`,cadence:`新品每5天看 · 老品每7天看`,rule:`新商品看加购率与转化率;成熟商品看付费占比。低的放大,高的调整计划或暂停,同时优化主图、视频等。`,action:`区分赚钱款与潜力款,安排下一轮优化。`},{id:`scale`,n:`01`,name:`重点推广`,caption:`运营策略 · 放大`,color:`var(--omni-chart-teal,#44cdb5)`,goal:`集中资源,持续增加付款人数`,cadence:`推广每30–60分钟看 · 商品每天看`,rule:`拉新看点击成本、加购成本;收割看点击成本、成交成本。调整差计划,把预算分配给同类好计划;没有合适计划就新建测试。`,action:`查看广告计划,按老师给企业制定的标准处理。`}],w={unassigned:`待分组`,test:`新品测试`,incubate:`持续孵化`,scale:`重点推广`},T={simulated:`模拟数据`,"declared-real":`来源标注真实`,unverified:`来源待核实`},E=e=>typeof e==`number`?e.toLocaleString(`zh-CN`,{maximumFractionDigits:2}):`—`;function D(e,t){return e.filter(e=>t===`stored-demo`?e.mode===`simulated`:e.mode!==`simulated`)}function O(e,t,n){let r=n.trim().toLowerCase();return e.filter(e=>(t===`all`||e.tier===t)&&`${e.itemId} ${e.projectName} ${e.title||``} ${e.shopName||``}`.toLowerCase().includes(r))}function k(e,t){return e.find(e=>e.key===t)||e[0]}var A=m();function j({series:e}){if(!e?.points.length)return(0,A.jsx)(`div`,{className:`gw-chart-empty`,children:`选择商品后,查看已有数据趋势。`});let t=e.points.slice(-30),n=t.flatMap(e=>e.value===null?[]:[e.value]),r=n.length?Math.min(...n):0,i=n.length?Math.max(...n):1,a=(e,n)=>[32+n*636/Math.max(1,t.length-1),150-((e.value??r)-r)/(i-r||1)*115],o=null,s=[];return t.forEach((t,n)=>{if(t.value===null){o=null;return}let[r,i]=a(t,n);o&&Date.parse(t.date)-Date.parse(o.date)===864e5&&s.push((0,A.jsx)(`line`,{x1:o.x,y1:o.y,x2:r,y2:i},`l`+n)),s.push((0,A.jsx)(`circle`,{cx:r,cy:i,r:`3`,children:(0,A.jsxs)(`title`,{children:[t.date,`:`,E(t.value),` `,e.unit]})},`p`+n)),o={x:r,y:i,date:t.date}}),(0,A.jsxs)(`div`,{className:`gw-chart`,children:[(0,A.jsxs)(`svg`,{viewBox:`0 0 700 185`,role:`img`,"aria-label":`${e.name}最近${t.length}个归档日期的趋势,缺失日期不连线`,children:[(0,A.jsx)(`defs`,{children:(0,A.jsxs)(`linearGradient`,{id:`product-chart-bg`,x1:`0`,x2:`0`,y1:`0`,y2:`1`,children:[(0,A.jsx)(`stop`,{stopColor:`#4cd5af`,stopOpacity:`.1`}),(0,A.jsx)(`stop`,{offset:`1`,stopColor:`#4cd5af`,stopOpacity:`0`})]})}),(0,A.jsx)(`rect`,{x:`30`,y:`20`,width:`640`,height:`145`,fill:`url(#product-chart-bg)`}),[35,92,150].map(e=>(0,A.jsx)(`line`,{x1:`30`,x2:`670`,y1:e,y2:e,className:`grid`},e)),(0,A.jsx)(`g`,{className:`plot`,children:s}),(0,A.jsx)(`text`,{x:`32`,y:`178`,children:t[0]?.date}),(0,A.jsx)(`text`,{x:`668`,y:`178`,textAnchor:`end`,children:t.at(-1)?.date}),(0,A.jsxs)(`text`,{x:`32`,y:`16`,children:[E(i),` `,e.unit]})]}),(0,A.jsx)(`span`,{children:`最近最多30个归档日期 · 缺失不补零 · 不同日期不汇总`})]})}function M({product:t,metricKey:n,onMetric:r,onGroup:i,onTask:o,onOpen:s}){if(!t)return(0,A.jsx)(`div`,{className:`gw-empty`,children:`选择商品查看趋势与后续操作。`});let c=t.series.find(e=>e.key===n)||t.series.find(e=>e.metric===`buyers`)||t.series[0],l=C.find(e=>e.id===t.tier);return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)(`div`,{className:`gw-selected-product`,children:[(0,A.jsxs)(`div`,{children:[(0,A.jsx)(a,{product:t}),(0,A.jsx)(`span`,{className:`gw-tag `+t.tier,children:w[t.tier]})]}),(0,A.jsxs)(`button`,{onClick:()=>i(t),children:[(0,A.jsx)(y,{size:14}),`分组`]})]}),(0,A.jsxs)(`div`,{className:`gw-metric-selector`,children:[(0,A.jsx)(`select`,{"aria-label":`商品趋势指标`,value:c?.key||``,onChange:e=>r(e.target.value),children:t.series.map(e=>(0,A.jsxs)(`option`,{value:e.key,children:[e.name,` · `,e.unit||`原始单位`]},e.key))}),(0,A.jsxs)(`strong`,{children:[E(c?.points.at(-1)?.value),(0,A.jsx)(`small`,{children:c?.unit})]}),(0,A.jsxs)(`span`,{children:[`最后统计日:`,c?.points.at(-1)?.date||`—`]})]}),(0,A.jsx)(j,{series:c}),(0,A.jsxs)(`details`,{className:`gw-points`,children:[(0,A.jsx)(`summary`,{children:`查看每日原值与来源`}),(0,A.jsx)(`div`,{className:`gw-table-scroll`,children:(0,A.jsxs)(`table`,{children:[(0,A.jsx)(`thead`,{children:(0,A.jsxs)(`tr`,{children:[(0,A.jsx)(`th`,{children:`日期`}),(0,A.jsx)(`th`,{children:`原值`}),(0,A.jsx)(`th`,{children:`来源`})]})}),(0,A.jsx)(`tbody`,{children:c?.points.slice(-30).map(e=>(0,A.jsxs)(`tr`,{children:[(0,A.jsx)(`td`,{children:e.date}),(0,A.jsx)(`td`,{children:E(e.value)}),(0,A.jsx)(`td`,{children:(0,A.jsx)(`a`,{href:`/api/workbench/`+t.project+`/file/`+e.fileId,children:`原始归档`})})]},e.date))})]})})]}),(0,A.jsxs)(`div`,{className:`gw-next`,children:[(0,A.jsx)(`span`,{children:`NEXT / 下一步`}),(0,A.jsx)(`h3`,{children:l?.action||`先选择这个商品的运营策略`}),(0,A.jsxs)(`p`,{children:[l?.cadence||`分组后查看对应检查频率和处理办法。`,t.note&&` · `+t.note]}),(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`button`,{onClick:()=>o(t),children:`查看当前任务`}),(0,A.jsxs)(`button`,{className:`gw-primary`,onClick:()=>s(t.project,{tab:`monitor`,itemId:t.itemId}),children:[`查看监控与取数 `,(0,A.jsx)(e,{size:13})]}),(0,A.jsx)(`button`,{onClick:()=>s(t.project,{tab:`optimization`,itemId:t.itemId}),children:`商品优化`})]})]}),(0,A.jsx)(`p`,{className:`gw-detail-note`,children:`展示本项目归档的商品指标。点击率、加购率、计划成本等尚未汇入此表;请到来源数据中核对。`})]})}function N({section:e,onSection:u}){let d=_(),{data:f,error:p,loading:m,refresh:h}=S(d.api),[g,y]=c(`products.scope`,`real`),[x,E]=c(`products.query`,``),[j,N]=c(`products.key`,``),[P,F]=c(`products.metric`,``),[I,L]=(0,b.useState)(``),[R,z]=(0,b.useState)(null),[B,V]=(0,b.useState)(null),H=(0,b.useRef)(null),U=e===`all`||w[e]?e:`all`,W=D(f?.products||[],g),G=O(W,U,x),K=k(G,j);function q(e){N(e.key),F(``),L(``)}function J(e,t){if(t===`work`){V(e);return}t===`data`?(u(`all`),E(``),q(e),requestAnimationFrame(()=>{H.current?.scrollIntoView({behavior:`smooth`,block:`start`}),H.current?.focus({preventScroll:!0})})):d.onOpen(e.project,{tab:t,itemId:e.itemId})}return(0,A.jsx)(`div`,{className:`products-module`,children:(0,A.jsx)(`div`,{className:`gw`,children:(0,A.jsxs)(`div`,{className:`gw-body`,children:[(0,A.jsxs)(`header`,{className:`gw-header`,children:[(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`small`,{children:`商品 / 商品看板`}),(0,A.jsx)(`h1`,{children:`从测试到重点推广`})]}),(0,A.jsxs)(`div`,{className:`gw-header-actions`,children:[(0,A.jsxs)(`span`,{children:[(0,A.jsx)(`i`,{className:`gw-dot`}),g===`stored-demo`?`模拟归档 · 非真实经营`:`归档数据 · 非实时`]}),(0,A.jsxs)(`button`,{onClick:()=>void h(),disabled:m,children:[(0,A.jsx)(s,{size:14}),m?`读取中`:`刷新数据`]})]})]}),(0,A.jsxs)(`div`,{className:`gw-scope`,children:[(0,A.jsx)(`div`,{children:[[`real`,`非模拟资料`],[`stored-demo`,`模拟资料`]].map(([e,t])=>(0,A.jsx)(`button`,{"aria-pressed":g===e,onClick:()=>{y(e),N(``),z(null),V(null),L(``)},children:t},e))}),(0,A.jsx)(`span`,{children:f?`${new Date(f.updatedAt).toLocaleString(`zh-CN`)} 读取归档`:m?`正在读取归档…`:`商品资料未就绪`})]}),p&&(0,A.jsxs)(`p`,{role:`alert`,className:`gw-message`,children:[p,` `,(0,A.jsx)(`button`,{onClick:()=>void h(),children:`重试`})]}),I&&(0,A.jsx)(`p`,{role:`status`,className:`gw-message`,children:I}),(0,A.jsx)(n,{products:W,tiers:C,ready:!!f&&!m,onAction:J,onAssign:(e,t)=>z({product:e,suggestedTier:t})}),B&&(0,A.jsx)(i,{product:B,onOpen:d.onOpen,onClose:()=>V(null)}),R&&(0,A.jsx)(r,{...R,products:W,onDirty:d.onDirty,onBusy:d.onBusy,onClose:()=>z(null),onSave:async(e,t,n,r)=>{await v(d.api,e,t,n,r),L(await h()?`分组已保存,看板已更新。`:`分组已保存,但看板读取失败,请刷新后查看。`)}}),(0,A.jsxs)(`div`,{className:`gw-operating`,children:[(0,A.jsxs)(`section`,{className:`gw-panel gw-products`,children:[(0,A.jsxs)(`div`,{className:`gw-section-title`,children:[(0,A.jsx)(`h2`,{children:`商品工作清单`}),(0,A.jsxs)(`span`,{children:[G.length,` 个观察对象`]})]}),(0,A.jsxs)(`div`,{className:`gw-filters`,children:[(0,A.jsxs)(`label`,{children:[(0,A.jsx)(l,{size:14}),(0,A.jsx)(`input`,{"aria-label":`搜索经营商品`,placeholder:`搜索商品ID或项目`,value:x,onChange:e=>E(e.target.value)})]}),(0,A.jsxs)(`select`,{"aria-label":`商品运营分组`,value:U,onChange:e=>{u(e.target.value),N(``)},children:[(0,A.jsx)(`option`,{value:`all`,children:`全部运营分组`}),Object.entries(w).map(([e,t])=>(0,A.jsx)(`option`,{value:e,children:t},e))]})]}),U!==`all`&&(0,A.jsxs)(`div`,{className:`gw-rule`,children:[(0,A.jsx)(`b`,{children:w[U]}),(0,A.jsx)(`p`,{children:C.find(e=>e.id===U)?.rule||`选择商品后确认分组。归档记录不能直接证明商品属于哪个梯队。`})]}),(0,A.jsx)(`div`,{className:`gw-table-scroll`,children:(0,A.jsxs)(`table`,{children:[(0,A.jsx)(`thead`,{children:(0,A.jsxs)(`tr`,{children:[(0,A.jsx)(`th`,{children:`商品 / 所属项目`}),(0,A.jsx)(`th`,{children:`当前运营分组`}),(0,A.jsx)(`th`,{children:`已有指标`}),(0,A.jsx)(`th`,{children:`操作`})]})}),(0,A.jsx)(`tbody`,{children:G.map(e=>(0,A.jsxs)(`tr`,{className:K?.key===e.key?`selected`:``,children:[(0,A.jsxs)(`td`,{children:[(0,A.jsx)(a,{product:e}),(0,A.jsx)(`em`,{children:T[e.mode]})]}),(0,A.jsx)(`td`,{children:(0,A.jsx)(`span`,{className:`gw-tag `+e.tier,children:w[e.tier]})}),(0,A.jsxs)(`td`,{children:[e.series.length,` 项`,(0,A.jsx)(`small`,{children:e.series.map(e=>e.name).slice(0,2).join(` / `)})]}),(0,A.jsx)(`td`,{children:(0,A.jsxs)(`button`,{"aria-label":`查看商品 `+e.itemId+` `+e.projectName,onClick:()=>q(e),children:[`查看 `,(0,A.jsx)(t,{size:12})]})})]},e.key))})]})}),!G.length&&(0,A.jsxs)(`div`,{className:`gw-empty`,children:[(0,A.jsx)(o,{size:29}),(0,A.jsx)(`b`,{children:p?`商品资料读取失败`:m?`正在读取商品…`:x?`没有匹配的商品`:`这个分组还没有商品`}),(0,A.jsx)(`p`,{children:`切换到“待分组”确认商品运营分组,或从项目监控中归档商品数据。`}),(0,A.jsx)(`button`,{onClick:()=>{E(``),u(`unassigned`)},children:`查看待分组`}),(0,A.jsx)(`button`,{onClick:()=>d.onModule(`projects`),children:`进入项目执行`})]})]}),(0,A.jsxs)(`section`,{ref:H,tabIndex:-1,className:`gw-panel gw-product-detail`,children:[(0,A.jsxs)(`div`,{className:`gw-section-title`,children:[(0,A.jsx)(`h2`,{children:`商品数据与下一步`}),(0,A.jsx)(`span`,{children:`点表格切换`})]}),(0,A.jsx)(M,{product:K,metricKey:P,onMetric:F,onGroup:e=>z({product:e}),onTask:V,onOpen:d.onOpen})]})]}),(0,A.jsx)(`p`,{className:`gw-detail-note`,children:`这里的“新品测试、持续孵化、重点推广”是人工保存的运营策略,不是按全店支付销售额贡献、访客和支付买家核验的第一、二、三梯队。切换分组不会自动投放或改变经营梯队。`}),(0,A.jsxs)(`footer`,{className:`gw-footer`,children:[(0,A.jsx)(`span`,{children:`规则来源:店铺链接 AI 自动化孵化与打爆`}),(0,A.jsxs)(`details`,{children:[(0,A.jsx)(`summary`,{children:`检查频率与执行状态说明`}),(0,A.jsx)(`p`,{children:`运营策略卡片展示原方案的建议检查频率,不表示调度已启用。老师结合企业数据制定具体判断标准;本页支持归档查询、趋势查看和分组保存。广告计划的建立、暂停及预算调整尚未在本页接通。`})]})]})]})})})}function P(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}function F(e){return typeof e==`string`&&!!e.trim()}function I(e){if(e==null||e===``)return null;let t=typeof e==`number`?e:typeof e==`string`?Number(e):NaN;if(!Number.isFinite(t)||t<0)throw Error(`商品价格格式异常`);return t}async function L(e){async function t(t){let n=await fetch(`/v1/enterprise/`+t,{signal:e,cache:`no-store`});if(!n.ok)throw Error(n.status===401?`登录已失效,请重新登录`:n.status===403?`当前账号没有店铺商品读取权限`:`店铺商品读取失败,请重试`);if(!n.headers.get(`content-type`)?.includes(`application/json`))throw Error(`店铺商品服务尚未接入`);return n.json()}let[n,r]=await Promise.all([t(`products`),t(`shops`)]);if(!P(n)||!Array.isArray(n.products)||!Array.isArray(n.listings)||!P(r)||!Array.isArray(r.shops))throw Error(`店铺商品返回格式异常`);let i=new Map;for(let e of n.products){if(!P(e)||!F(e.product_id)||!F(e.project_id)||!F(e.name))throw Error(`商品关联项目格式异常`);i.set(e.product_id,{id:e.project_id,name:e.name})}let a=new Map;for(let e of r.shops){if(!P(e)||!F(e.id)||!F(e.name)||![`real`,`simulated`,`unverified`].includes(String(e.mode)))throw Error(`店铺资料格式异常`);a.set(e.id,{name:e.name,mode:e.mode===`real`?`declared-real`:e.mode})}let o=[],s=new Set;for(let e of n.listings){if(!P(e)||!F(e.id)||!F(e.product_id)||!F(e.shop_id)||!F(e.platform_item_id)||typeof e.title!=`string`)throw Error(`店铺商品记录不完整`);let t=a.get(e.shop_id),n=i.get(e.product_id);if(!t)continue;if(!n)throw Error(`店铺商品关联项目缺失,请刷新重试`);let r=JSON.stringify([e.shop_id,e.platform_item_id]);if(s.has(r))throw Error(`店铺商品身份重复,请核对资料`);s.add(r),o.push({key:e.id,itemId:e.platform_item_id,title:e.title,image:typeof e.image_data_url==`string`?e.image_data_url:void 0,shopId:e.shop_id,shopName:t.name,project:n.id,projectName:n.name,mode:t.mode,category:typeof e.category==`string`?e.category:void 0,price:I(e.price)})}return o}function R(){let[e,t]=(0,b.useState)(null),[n,r]=(0,b.useState)(``),[i,a]=(0,b.useState)(!0),o=(0,b.useRef)(null),s=(0,b.useCallback)(()=>{o.current?.abort();let e=new AbortController;return o.current=e,L(e.signal).then(n=>{e.signal.aborted||(t(n),r(``))}).catch(n=>{e.signal.aborted||(t(null),r(n instanceof Error?n.message:`店铺商品读取失败`))}).finally(()=>{e.signal.aborted||a(!1)})},[]),c=(0,b.useCallback)(()=>(a(!0),r(``),s()),[s]);return(0,b.useEffect)(()=>(s(),()=>o.current?.abort()),[s]),{data:e,error:n,loading:i,refresh:c}}function z(e,t,n,r=``){return e.filter(e=>(!r||e.shopId===r)&&(n===`stored-demo`?e.mode===`simulated`:e.mode!==`simulated`)).map(e=>({...e,archives:t.filter(t=>t.project===e.project&&t.itemId===e.itemId&&t.shopIds?.length===1&&t.shopIds[0]===e.shopId&&(n===`stored-demo`?t.mode===`simulated`:t.mode!==`simulated`))}))}function B(e){let t=e.archives.length===1?e.archives[0]:void 0,n=t?.series.flatMap(e=>e.points.map(e=>e.date)).sort().at(-1)||``;function r(e,r){let i=t?.series.filter(t=>e.includes(t.metric)&&r.includes(t.unit))||[];if(i.length!==1)return null;let a=i[0].points.find(e=>e.date===n);return typeof a?.value==`number`&&Number.isFinite(a.value)?a.value:null}return{date:n,paid:r([`paid`,`revenue`],[`元`,`CNY`]),uv:r([`visitors`,`uv`],[`人`]),buyers:r([`buyers`],[`人`])}}function V(e,t,n){let r=t.trim().toLowerCase();return e.filter(e=>`${e.itemId} ${e.title} ${e.shopName} ${e.projectName} ${e.category||``}`.toLowerCase().includes(r)&&(n===`all`||(e.archives.length===1?e.archives[0].tier:e.archives.length===0?`unassigned`:``)===n))}var H=20;function U(){let e=_(),n=d(),u=R(),f=S(e.api),[p,m]=c(`products.scope`,`real`),[g,y]=c(`products.query`,``),[x,C]=c(`products.shopTier`,`all`),[D,O]=c(`products.key`,``),[k,j]=c(`products.metric`,``),[N,P]=(0,b.useState)(1),[F,I]=(0,b.useState)(``),[L,U]=(0,b.useState)(null),[W,G]=(0,b.useState)(null),K=(0,b.useRef)(null),q=z(u.data||[],f.data?.products||[],p,n?.selected),J=f.error||f.loading?`all`:x,Y=V(q,g,J),X=Math.max(1,Math.ceil(Y.length/H)),Z=Math.min(N,X),Q=f.data?.products.find(e=>e.key===D&&(p===`stored-demo`?e.mode===`simulated`:e.mode!==`simulated`)),$=q.filter(e=>e.archives.some(e=>e.series.some(e=>e.points.length))).length,ee=u.loading||f.loading;function te(e){O(e.key),j(``),requestAnimationFrame(()=>{K.current?.scrollIntoView({behavior:`smooth`,block:`start`}),K.current?.focus({preventScroll:!0})})}return(0,A.jsx)(`div`,{className:`products-module`,children:(0,A.jsx)(`div`,{className:`gw shop-catalog`,children:(0,A.jsxs)(`div`,{className:`gw-body`,children:[(0,A.jsxs)(`header`,{className:`gw-header`,children:[(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`small`,{children:`商品 / 全部商品`}),(0,A.jsx)(`h1`,{children:`店铺商品`}),(0,A.jsx)(`p`,{children:`查看店铺内已建档的商品与经营数据,再安排测试、孵化和推广。`})]}),(0,A.jsxs)(`div`,{className:`gw-header-actions`,children:[(0,A.jsxs)(`span`,{children:[(0,A.jsx)(`i`,{className:`gw-dot`}),`店铺建档与归档数据 · 非实时`]}),(0,A.jsxs)(`button`,{disabled:ee,onClick:()=>{u.refresh(),f.refresh()},children:[(0,A.jsx)(s,{size:14}),ee?`读取中`:`刷新数据`]})]})]}),(0,A.jsxs)(`div`,{className:`gw-scope`,children:[(0,A.jsx)(`div`,{children:[[`real`,`非模拟资料`],[`stored-demo`,`模拟资料`]].map(([e,t])=>(0,A.jsx)(`button`,{"aria-pressed":p===e,onClick:()=>{m(e),P(1),O(``),U(null),G(null),I(``)},children:t},e))}),(0,A.jsx)(`span`,{children:n?.shops.find(e=>e.id===n.selected)?.name||`全部授权店铺`})]}),u.error&&(0,A.jsxs)(`p`,{className:`gw-message`,role:`alert`,children:[u.error,` `,(0,A.jsx)(`button`,{onClick:()=>void u.refresh(),children:`重试店铺商品`})]}),f.error&&(0,A.jsxs)(`p`,{className:`gw-message`,role:`alert`,children:[`经营指标暂不可用:`,f.error,` `,(0,A.jsx)(`button`,{onClick:()=>void f.refresh(),children:`重试经营指标`})]}),F&&(0,A.jsx)(`p`,{className:`gw-message`,role:`status`,children:F}),(0,A.jsxs)(`section`,{className:`gw-panel shop-catalog-list`,"aria-label":`店铺商品列表`,children:[(0,A.jsxs)(`div`,{className:`gw-section-title`,children:[(0,A.jsx)(`h2`,{children:`全部商品`}),(0,A.jsx)(`span`,{children:u.loading?`正在读取商品…`:u.error?`商品总数暂不可用`:`当前范围 ${q.length} 个已建档商品`})]}),!u.error&&u.data&&(0,A.jsxs)(`div`,{className:`shop-catalog-summary`,children:[(0,A.jsxs)(`span`,{children:[`已有经营归档 `,(0,A.jsx)(`b`,{children:f.error||f.loading?`—`:$})]}),(0,A.jsxs)(`span`,{children:[`待补充经营数据 `,(0,A.jsx)(`b`,{children:f.error||f.loading?`—`:q.length-$})]}),(0,A.jsx)(`span`,{children:`未归档的指标显示“—”`})]}),(0,A.jsxs)(`div`,{className:`gw-filters`,children:[(0,A.jsxs)(`label`,{children:[(0,A.jsx)(l,{size:15}),(0,A.jsx)(`input`,{"aria-label":`搜索店铺商品`,placeholder:`搜索商品名称、ID、店铺、类目或项目`,value:g,onChange:e=>{y(e.target.value),P(1)}})]}),(0,A.jsxs)(`select`,{"aria-label":`筛选店铺商品分组`,value:J,disabled:f.loading||!!f.error,onChange:e=>{C(e.target.value),P(1)},children:[(0,A.jsx)(`option`,{value:`all`,children:`全部运营分组`}),Object.entries(w).map(([e,t])=>(0,A.jsx)(`option`,{value:e,children:t},e))]})]}),(0,A.jsx)(`div`,{className:`gw-table-scroll`,children:(0,A.jsxs)(`table`,{children:[(0,A.jsx)(`thead`,{children:(0,A.jsxs)(`tr`,{children:[(0,A.jsx)(`th`,{children:`商品 / 店铺`}),(0,A.jsx)(`th`,{children:`建档价格(元)`}),(0,A.jsx)(`th`,{children:`访客数`}),(0,A.jsx)(`th`,{children:`支付买家数`}),(0,A.jsx)(`th`,{children:`支付销售额(元)`}),(0,A.jsx)(`th`,{children:`统计日期`}),(0,A.jsx)(`th`,{children:`运营分组`}),(0,A.jsx)(`th`,{children:`操作`})]})}),(0,A.jsx)(`tbody`,{children:Y.slice((Z-1)*H,Z*H).map(n=>{let r=B(n),i=n.archives.length===1?n.archives[0]:void 0;return(0,A.jsxs)(`tr`,{className:i?.key===Q?.key&&i?`selected`:``,children:[(0,A.jsxs)(`td`,{children:[(0,A.jsx)(a,{product:n}),(0,A.jsxs)(`small`,{children:[n.category||`类目未录入`,` · `,n.projectName]}),(0,A.jsx)(`em`,{children:T[n.mode]})]}),(0,A.jsx)(`td`,{children:E(n.price)}),(0,A.jsx)(`td`,{children:E(r.uv)}),(0,A.jsx)(`td`,{children:E(r.buyers)}),(0,A.jsx)(`td`,{children:E(r.paid)}),(0,A.jsxs)(`td`,{children:[r.date||`—`,(0,A.jsx)(`small`,{children:f.loading?`读取指标中`:f.error?`指标读取失败`:n.archives.length>1?`多份归档,分别查看`:r.date?T[i.mode]:`暂无经营数据`})]}),(0,A.jsx)(`td`,{children:f.error||f.loading?`—`:n.archives.length>1?`分组待核对`:(0,A.jsx)(`span`,{className:`gw-tag `+(i?.tier||`unassigned`),children:w[i?.tier||`unassigned`]})}),(0,A.jsx)(`td`,{children:n.archives.length?n.archives.map(e=>(0,A.jsxs)(`button`,{"aria-label":`查看商品 ${n.itemId} ${n.shopName} ${T[e.mode]}`,onClick:()=>te(e),children:[n.archives.length>1?T[e.mode]:`查看数据`,(0,A.jsx)(t,{size:12})]},e.key)):(0,A.jsxs)(`button`,{disabled:f.loading||!!f.error,onClick:()=>e.onOpen(n.project,{tab:`monitor`,itemId:n.itemId}),children:[f.loading?`读取中`:f.error?`指标不可用`:`补充数据`,(0,A.jsx)(t,{size:12})]})})]},n.key)})})]})}),!Y.length&&(0,A.jsxs)(`div`,{className:`gw-empty`,role:`status`,children:[(0,A.jsx)(o,{size:29}),(0,A.jsx)(`b`,{children:u.error?`店铺商品读取失败`:u.loading?`正在读取店铺商品…`:g||J!==`all`?`没有匹配的商品`:`当前范围还没有已建档商品`}),(0,A.jsx)(`p`,{children:u.error?`请重试,或检查账号与数据服务连接。`:u.loading?`正在读取当前授权范围的商品目录。`:g||J!==`all`?`调整搜索或运营分组筛选后再查看。`:`请先关联店铺商品。已关联商品即使没有经营归档,也会显示在这里。`}),!u.loading&&!u.error&&(g||J!==`all`)&&(0,A.jsx)(`button`,{onClick:()=>{y(``),C(`all`),P(1)},children:`清除筛选`})]}),Y.length>0&&(0,A.jsxs)(`div`,{className:`shop-catalog-pagination`,children:[(0,A.jsxs)(`span`,{children:[`筛选结果 `,Y.length,` 个 · 第 `,Z,` / `,X,` 页`]}),(0,A.jsx)(`button`,{disabled:Z<=1,onClick:()=>P(Z-1),children:`上一页`}),(0,A.jsx)(`button`,{disabled:Z>=X,onClick:()=>P(Z+1),children:`下一页`})]})]}),(0,A.jsx)(`p`,{className:`gw-detail-note`,children:`仅显示当前授权店铺已建档商品,尚不代表平台全店商品已同步。经营指标按每个商品的最新归档统计日展示,不同商品日期可能不同;缺值不补零,多店合并归档不分摊到单店。`}),Q&&(0,A.jsxs)(`section`,{ref:K,tabIndex:-1,className:`gw-panel gw-product-detail shop-catalog-detail`,children:[(0,A.jsxs)(`div`,{className:`gw-section-title`,children:[(0,A.jsx)(`h2`,{children:`商品数据与下一步`}),(0,A.jsx)(`button`,{"aria-label":`关闭商品详情`,onClick:()=>O(``),children:(0,A.jsx)(h,{size:15})})]}),(0,A.jsx)(M,{product:Q,metricKey:k,onMetric:j,onGroup:U,onTask:G,onOpen:e.onOpen})]}),W&&(0,A.jsx)(i,{product:W,onOpen:e.onOpen,onClose:()=>G(null)}),L&&(0,A.jsx)(r,{product:L,products:(f.data?.products||[]).filter(e=>p===`stored-demo`?e.mode===`simulated`:e.mode!==`simulated`),onDirty:e.onDirty,onBusy:e.onBusy,onClose:()=>U(null),onSave:async(t,n,r,i)=>{await v(e.api,t,n,r,i),I(await f.refresh()?`分组已保存,商品数据已更新。`:`分组已保存,但数据读取失败,请刷新后查看。`)}})]})})})}var W=(0,b.lazy)(()=>g(()=>import(`./project-public-DqjxO6ad.js`),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url));function G({section:e,onSection:t,project:n}){return n?(0,A.jsx)(b.Suspense,{fallback:(0,A.jsx)(`p`,{role:`status`,children:`正在打开商品工具…`}),children:(0,A.jsx)(W,{section:e,project:n})}):e===`all`?(0,A.jsx)(U,{}):(0,A.jsx)(N,{section:e,onSection:t})}export{G as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._home_fjsdx_1{max-width:1600px;color:var(--omni-text,var(--omni-paint-ink-dbe8f5,#dbe8f5));margin:0 auto}._top_fjsdx_2{justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px;display:flex}._home_fjsdx_1 h1{letter-spacing:.5px;margin:8px 0;font-size:27px}._home_fjsdx_1 p{color:var(--omni-muted,var(--omni-paint-ink-91abc5,#91abc5));margin:6px 0;font-size:12px;line-height:1.8}._eyebrow_fjsdx_5{color:var(--omni-accent,var(--omni-paint-ink-61d6f1,#61d6f1));letter-spacing:1.3px;font-size:11px}._home_fjsdx_1 button{font:inherit;color:var(--omni-text,var(--omni-paint-ink-dbe8f5,#dbe8f5));border:1px solid var(--omni-line,var(--omni-paint-line-294468,#294468));text-align:left;cursor:pointer;background:0 0;border-radius:6px;align-items:center;gap:8px;padding:8px 12px;font-size:12px;display:inline-flex}._home_fjsdx_1 button:hover{border-color:var(--omni-accent,var(--omni-paint-line-61d6f1,#61d6f1));background:var(--omni-field,var(--omni-paint-surface-10243c,#10243c))}._home_fjsdx_1 button:focus-visible{outline:2px solid var(--omni-accent,var(--omni-paint-line-61d6f1,#61d6f1));outline-offset:3px}._search_fjsdx_9{border:1px solid var(--omni-line,var(--omni-paint-line-294468,#294468));background:var(--omni-field,var(--omni-paint-surface-10243c,#10243c));border-radius:8px;align-items:center;gap:10px;width:320px;max-width:100%;margin:0;padding:0 12px;display:flex}._home_fjsdx_1 ._search_fjsdx_9 input{min-width:0;color:inherit;background:0 0;border:0;outline:0;margin:0;padding:10px 0;font-size:12px}._resume_fjsdx_11{border:1px solid var(--omni-line,var(--omni-paint-line-315775,#315775));background:linear-gradient(110deg,var(--omni-panel,var(--omni-paint-surface-173650,#173650)),var(--omni-bg,var(--omni-paint-surface-0a1729,#0a1729)));border-radius:12px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding:22px 26px;display:flex}._home_fjsdx_1 h2{margin:0 0 12px;font-size:15px;font-weight:600}._resume_fjsdx_11 h2{margin:8px 0;font-size:20px}._resume_fjsdx_11>button{background:var(--omni-panel,var(--omni-paint-surface-173650,#173650));flex-shrink:0}._grid_fjsdx_15{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px;display:grid}._panel_fjsdx_16{border:1px solid var(--omni-line,var(--omni-paint-line-294468,#294468));background:var(--omni-panel,var(--omni-paint-surface-102239,#102239));border-radius:10px;min-width:0;padding:20px 22px}._heading_fjsdx_17{justify-content:space-between;align-items:center;gap:14px;margin-bottom:8px;display:flex}._heading_fjsdx_17 h2{margin:0}._heading_fjsdx_17>span{color:var(--omni-muted,var(--omni-paint-ink-91abc5,#91abc5));font-size:11px}._heading_fjsdx_17>button{padding:5px 8px;font-size:11px}._home_fjsdx_1 ._row_fjsdx_21{border:0;border-bottom:1px solid var(--omni-line,var(--omni-paint-line-294468,#294468));border-radius:0;justify-content:space-between;align-items:center;gap:14px;width:100%;padding:13px 0;display:flex}._row_fjsdx_21>span{min-width:0}._row_fjsdx_21 b{overflow-wrap:anywhere;font-size:12px;font-weight:500}._row_fjsdx_21 small,._visit_fjsdx_22 small{color:var(--omni-muted,var(--omni-paint-ink-91abc5,#91abc5));margin-top:5px;font-size:11px;line-height:1.6;display:block}._row_fjsdx_21 svg{color:var(--omni-muted,var(--omni-paint-ink-91abc5,#91abc5));flex-shrink:0}._home_fjsdx_1 ._empty_fjsdx_24{color:var(--omni-muted,var(--omni-paint-ink-91abc5,#91abc5));padding:18px 0;font-size:12px}._shortcuts_fjsdx_25{grid-template-columns:1fr 1fr;gap:10px;display:grid}._shortcuts_fjsdx_25 button{gap:10px;padding:13px}._shortcuts_fjsdx_25 svg:first-child{color:var(--omni-accent,var(--omni-paint-ink-61d6f1,#61d6f1))}._shortcuts_fjsdx_25 svg:last-child{margin-left:auto}._visit_fjsdx_22{border-bottom:1px solid var(--omni-line,var(--omni-paint-line-294468,#294468));align-items:center;gap:8px;display:flex}._visit_fjsdx_22>button:first-child{border:0;flex:1;min-width:0;padding:14px 0}._visit_fjsdx_22 span{flex:1;min-width:0}._visit_fjsdx_22 b{overflow-wrap:anywhere;font-size:12px;font-weight:500}._visit_fjsdx_22>button:last-child{padding:7px}._visit_fjsdx_22 button[aria-pressed=true]{color:var(--omni-accent,var(--omni-paint-ink-61d6f1,#61d6f1))}._error_fjsdx_29{border:1px solid var(--omni-paint-line-a57b48,#a57b48);color:var(--omni-paint-danger-e3bb83,#e3bb83);border-radius:8px;justify-content:space-between;align-items:center;margin:12px 0;padding:12px 16px;font-size:12px;display:flex}@media (width<=1100px){._top_fjsdx_2{flex-direction:column;align-items:flex-start;gap:12px}._grid_fjsdx_15{grid-template-columns:1fr}._search_fjsdx_9{width:100%}}@media (width<=650px){._resume_fjsdx_11{flex-direction:column;align-items:flex-start;padding:18px}._panel_fjsdx_16{padding:16px}._home_fjsdx_1 h1{font-size:23px}}:root[data-omni-theme=light]{--omni-paint-ink-dbe8f5:#252831;--omni-paint-ink-91abc5:#626e80;--omni-paint-ink-61d6f1:#626e80;--omni-paint-line-294468:#dde1eb;--omni-paint-line-61d6f1:#dde1eb;--omni-paint-surface-10243c:#fff;--omni-paint-line-315775:#dde1eb;--omni-paint-surface-173650:#fff;--omni-paint-surface-0a1729:#f5f6fa;--omni-paint-surface-102239:#fff;--omni-paint-line-a57b48:#dde1eb;--omni-paint-danger-e3bb83:#b83a4a}:root[data-omni-theme=dark]{--omni-paint-ink-dbe8f5:#dceaf7;--omni-paint-ink-91abc5:#91a9bd;--omni-paint-ink-61d6f1:#91a9bd;--omni-paint-line-294468:#2c435b;--omni-paint-line-61d6f1:#2c435b;--omni-paint-surface-10243c:#102235;--omni-paint-line-315775:#2c435b;--omni-paint-surface-173650:#102235;--omni-paint-surface-0a1729:#0b1727;--omni-paint-surface-102239:#102235;--omni-paint-line-a57b48:#2c435b;--omni-paint-danger-e3bb83:#ff8996}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as e}from"./index-BBySSIJT.js";var t=e(`chart-column`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M18 17V9`,key:`2bz60n`}],[`path`,{d:`M13 17V5`,key:`1frdt8`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]]),n=e(`git-branch`,[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]);export{t as n,n as t};
|