@vis3/kit 1.2.4-alpha.1 → 1.2.4-alpha.2
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/dist/index.mjs +2 -2
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -88696,11 +88696,11 @@ function a9e({ className: t, name: e, value: r, extraTail: n, titleExtra: i }) {
|
|
|
88696
88696
|
columns: s,
|
|
88697
88697
|
pagination: u,
|
|
88698
88698
|
dataSource: l,
|
|
88699
|
-
footer: () => /* @__PURE__ */ Re("div", { children: [
|
|
88699
|
+
footer: o?.total_rows ? () => /* @__PURE__ */ Re("div", { children: [
|
|
88700
88700
|
"共",
|
|
88701
88701
|
o.total_rows,
|
|
88702
88702
|
"行"
|
|
88703
|
-
] })
|
|
88703
|
+
] }) : void 0
|
|
88704
88704
|
}
|
|
88705
88705
|
)
|
|
88706
88706
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -422,7 +422,7 @@ ${c||""}`)}}),r?.tool_call_id&&o.push(`Tool call id: ${r.tool_call_id}`);const s
|
|
|
422
422
|
display: flex;
|
|
423
423
|
gap: 0.5rem;
|
|
424
424
|
align-items: center;
|
|
425
|
-
`;function j7e({className:t,name:e,value:r,extraTail:n,titleExtra:i}){const a=W.useRef(null),o=W.useMemo(()=>{if(typeof r=="object")return r;if(typeof r=="string")try{return JSON.parse(r)}catch{return{}}return{}},[r]),s=W.useMemo(()=>o?.schema?.map(c=>({dataIndex:c.name,title:I.jsxs("div",{children:[c.name,I.jsx("br",{}),I.jsx(xe.Tag,{children:c.type})]}),type:c.type,key:c.name})),[o]),l=W.useMemo(()=>o.rows,[o]),u=W.useMemo(()=>({pageSize:20,hideOnSinglePage:!0}),[o]);return I.jsx(R1,{ref:a,className:t,titleExtra:i,name:e,extra:I.jsxs(B7e,{children:[I.jsx(Y1,{elementRef:a}),n]}),children:I.jsx(xe.Table,{size:"small",columns:s,pagination:u,dataSource:l,footer:()=>I.jsxs("div",{children:["共",o.total_rows,"行"]})})})}const F7e=be.div`
|
|
425
|
+
`;function j7e({className:t,name:e,value:r,extraTail:n,titleExtra:i}){const a=W.useRef(null),o=W.useMemo(()=>{if(typeof r=="object")return r;if(typeof r=="string")try{return JSON.parse(r)}catch{return{}}return{}},[r]),s=W.useMemo(()=>o?.schema?.map(c=>({dataIndex:c.name,title:I.jsxs("div",{children:[c.name,I.jsx("br",{}),I.jsx(xe.Tag,{children:c.type})]}),type:c.type,key:c.name})),[o]),l=W.useMemo(()=>o.rows,[o]),u=W.useMemo(()=>({pageSize:20,hideOnSinglePage:!0}),[o]);return I.jsx(R1,{ref:a,className:t,titleExtra:i,name:e,extra:I.jsxs(B7e,{children:[I.jsx(Y1,{elementRef:a}),n]}),children:I.jsx(xe.Table,{size:"small",columns:s,pagination:u,dataSource:l,footer:o?.total_rows?()=>I.jsxs("div",{children:["共",o.total_rows,"行"]}):void 0})})}const F7e=be.div`
|
|
426
426
|
display: flex;
|
|
427
427
|
gap: 0.5rem;
|
|
428
428
|
align-items: center;
|