@8sheets/data-grid 1.1.0 → 1.1.1
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/README.md +1 -1
- package/api/serialize.js +1 -1
- package/calc/adjust.js +1 -1
- package/calc/compile.js +1 -1
- package/calc/engine.js +1 -1
- package/calc/functions/array.js +1 -1
- package/calc/functions/database.js +1 -1
- package/calc/functions/date.js +1 -1
- package/calc/functions/financial.js +1 -1
- package/calc/functions/helpers.js +1 -1
- package/calc/functions/info.js +1 -1
- package/calc/functions/logical.js +1 -1
- package/calc/functions/lookup.js +1 -1
- package/calc/functions/math.js +1 -1
- package/calc/functions/stat.js +1 -1
- package/calc/functions/text.js +1 -1
- package/calc/parser.js +3 -3
- package/calc/values.js +1 -1
- package/calcx/async.js +1 -1
- package/calcx/functions/dynamic.js +1 -1
- package/calcx/functions/ets.js +1 -1
- package/calcx/functions/misc.js +1 -1
- package/cells/axis-ops.js +1 -1
- package/cells/cf-engine.js +1 -1
- package/cells/outline-column.js +1 -1
- package/cells/panes.js +1 -1
- package/cells/rich-runs.js +2 -2
- package/cells/rich-values.js +1 -1
- package/celltypes/cell-types.js +2 -2
- package/celltypes/dropdowns.js +3 -2
- package/celltypes/file-cell.js +2 -2
- package/celltypes/range-template.js +2 -2
- package/core/cell-type-rules.js +1 -0
- package/core/changes.js +1 -1
- package/core/cond-format.js +1 -1
- package/core/input.js +1 -1
- package/core/numfmt.js +1 -1
- package/core/region-input.js +1 -1
- package/core/sheet.js +1 -1
- package/core/sparse.js +1 -1
- package/core/structure.js +1 -1
- package/core/validation-ranges.js +1 -0
- package/core/workbook.js +1 -1
- package/datasheets/manager.js +1 -1
- package/i18n/en/cells.js +1 -1
- package/i18n/en/misc.js +1 -1
- package/i18n/pl/cells.js +1 -1
- package/i18n/pl/misc.js +1 -1
- package/io/client.js +1 -1
- package/io/plan.js +1 -1
- package/io/xlsx-read.js +1 -1
- package/io/xlsx-write.js +1 -1
- package/io/xml-scan.js +2 -1
- package/io/zip-reader.js +1 -1
- package/package.json +1 -1
- package/pivot/engine.js +1 -1
- package/pivot/xml.js +2 -2
- package/print/render-page.js +3 -3
- package/slicers/format.js +2 -2
- package/slicers/structured.js +1 -1
- package/table-view/labels-de.js +1 -1
- package/table-view/labels-es.js +1 -1
- package/table-view/labels-fr.js +1 -1
- package/table-view/labels-ja.js +1 -1
- package/table-view/labels.js +1 -1
- package/table-view/version.js +1 -1
- package/ui/protection-ui.js +1 -1
package/print/render-page.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{readingDirection as
|
|
2
|
-
`)){let r="";for(const h of t.split(/(?<=\s)/)){const d=r+h;for(r!==""&&this.width(d.trimEnd())>s?(o.push(r.trimEnd()),r=h):r=d;this.width(r.trimEnd())>s&&r.length>1;){let T=r.length-1;for(;T>1&&this.width(r.slice(0,T))>s;)T--;o.push(r.slice(0,T)),r=r.slice(T)}}o.push(r.trimEnd())}return this.wrapCache.size>4096&&this.wrapCache.clear(),this.wrapCache.set(p,o),o}wrapped(i,l,s,p,o,t,r,h,d){const{ctx:T}=this,a=this.wrapLines(J(l),i,t-h*2),w=Math.round(d*1.26),u=a.length*w,b=l.vAlign??"bottom";let C;b==="top"?C=o:b==="center"?C=o+(r-u)/2:C=o+r-u,T.save(),T.beginPath(),T.rect(p,o,t,r),T.clip(),T.textAlign=s==="center"?"center":s==="right"?"right":"left";const F=s==="center"?p+t/2:s==="right"?p+t-h:p+h;for(let k=0;k<a.length;k++){const P=C+k*w+Math.round(w*.8);P+w<o||P-w>o+r||T.fillText(a[k],F,P)}T.restore(),T.textAlign="left"}rotated(i,l,s,p,o,t){const{ctx:r}=this;r.save(),r.beginPath(),r.rect(s,p,o,t),r.clip(),r.translate(s+o/2,p+t/2);const h=l.rotation;if(r.textAlign="center",h===255){const d=l.fontSize*1.1,T=-((i.length-1)*d)/2;for(let a=0;a<i.length;a++)r.fillText(i[a],0,T+a*d)}else{const d=h>90?90-h:h;r.rotate(-d*Math.PI/180),r.fillText(i,0,l.fontSize*.35)}r.restore(),r.textAlign="left"}side(i,l,s,p,o){if(!i)return;const{ctx:t}=this,r=
|
|
3
|
-
`).forEach((t,r)=>{r>0&&l.push([]),t&&l[l.length-1].push({...s,text:t})});return l}function
|
|
1
|
+
import{hasCellTypes as q}from"../core/cell-type-rules.js";import{readingDirection as at,visualOrder as ht,wrapsByAlign as dt}from"../cells/text-layout.js";import{gradientPatches as Q}from"../cells/paint.js";import{paintWatermarks as ut}from"../shapes/watermark.js";import{BOOL as mt,CHUNK_BITS as tt,CHUNK_MASK as H,EMPTY as K,ERR as et,ERRORS as gt,KIND_MASK as U,NUM as W,STR as v,FORMULA as nt,SPILL as ot}from"../core/sheet.js";import{isBarcodeText as bt,paintBarcodeValue as pt}from"../celltypes/barcode.js";import{printCellType as it,printEmptyTypedCells as wt}from"../celltypes/cell-types.js";import{FILL_MARK as st,fitGeneral as kt,formatGeneral as yt,getFormatter as V}from"../core/numfmt.js";import{colName as Tt}from"../core/address.js";import{cssFont as E}from"../core/styles.js";import{CondFormats as xt}from"../core/cond-format.js";import{drawCfIcon as St,iconSide as Dt,monoContext as At,paintCfBar as Ot}from"../cells/cf-paint.js";import{sparklineIndex as Rt}from"../core/sparklines.js";import{paintSparkline as Ft}from"../sparklines/excel-paint.js";import{isSparklineText as Pt,paintSparklineValue as Ct}from"../sparklines/paint.js";import{paintSparkRulesOnPage as Mt,sparkRuleHidesValue as It}from"../sparklines/rule.js";import{preparePicturesForPrint as zt}from"../sparklines/print.js";import{tableColors as Nt,tablesOf as vt}from"../core/tables.js";import{paintCustomTable as Lt}from"../slicers/custom-styles.js";import{resolveColor as Wt}from"../io/xlsx-styles.js";import{parseHeaderFooter as Ht}from"./page-setup.js";const Et=2,Bt=6,_t=32,Y="#000000",$=.25,j=10,Gt={hair:.25,thin:.5,dotted:.5,dashed:.5,dashDot:.5,dashDotDot:.5,medium:1,mediumDashed:1,mediumDashDot:1,mediumDashDotDot:1,slantDashDot:1,thick:1.5,double:.5},Xt={hair:[.5,.75],dotted:[.5,1.5],dashed:[3,1.5],dashDot:[3,1.5,.75,1.5],dashDotDot:[3,1.5,.75,1.5,.75,1.5],mediumDashed:[4,2],mediumDashDot:[4,2,1,2],mediumDashDotDot:[4,2,1,2,1,2],slantDashDot:[4,1,1,1]},rt=new WeakMap;function J(e){let i=rt.get(e);return i===void 0&&(i=E(e,e.fontSize),rt.set(e,i)),i}function Kt(e,i,l,s){switch(i){case W:return s.numFmt==="General"?yt(l):V(s.numFmt).number(l,e.dateOffset);case v:{const p=e.strings.get(l);return s.numFmt==="General"||s.numFmt==="@"?p:V(s.numFmt).text(p)}case mt:return l?"TRUE":"FALSE";case et:return gt[l]??"#N/A";default:return""}}class Ut{constructor(i,l,s,p){this.ctx=i,this.book=l,this.sheet=s,this.styles=l.styles.list,this.mono=p.blackAndWhite,this.errors=p.errors,this.cfFrame=null,this.tables=null,this.font="",this.ink="",this.wrapCache=new Map,this.reachX=null}style(i,l){return this.styles[this.sheet.style(i,l)]??this.styles[0]}textStyle(i,l,s,p,o){let t=this.style(i,l);const r=this.cfFrame===null?void 0:this.cfFrame.get(i*16384+l);if(r!==void 0){if(r.icon&&this.icon(r.icon,s,p,o,t),r.hideValue)return null;(r.color||r.numFmt!==void 0||r.bold!==void 0||r.italic!==void 0||r.underline!==void 0||r.strike!==void 0)&&(t={...t,color:r.color??t.color,numFmt:r.numFmt??t.numFmt,bold:r.bold??t.bold,italic:r.italic??t.italic,underline:r.underline??t.underline,strike:r.strike??t.strike})}if(this.tables!==null)for(const h of this.tables){if(i<h.r0||i>h.r1||l<h.c0||l>h.c1||!h._colors)continue;const d=h._colors.format(h,i,l);t={...t,color:t.color??d.color,bold:t.bold||d.bold===!0,italic:t.italic||d.italic===!0},d.underline&&!t.underline&&(t.underline=d.underline),d.strike&&(t.strike=!0);break}return t}icon(i,l,s,p,o){const t=Dt(p,1,o.fontSize),r=o.vAlign==="top"?s+1:o.vAlign==="center"?s+(p-t)/2:s+p-t-1;St(this.mono?At(this.ctx):this.ctx,i.name,i.level,l+1,r,t),this.ink=""}setFont(i){this.font!==i&&(this.ctx.font=i,this.font=i)}setInk(i){this.ink!==i&&(this.ctx.fillStyle=i,this.ink=i)}reset(){this.font="",this.ink=""}width(i){return this.ctx.measureText(i).width}richLine(i,l,s,p,o,t,r,h,d){const{ctx:T}=this,a=[];let w=0,u=0;l.forEach((k,P)=>{const x=l[P+1]?.at??i.length;if(x<=k.at)return;const D={...s,fontName:k.name??s.fontName,fontSize:k.sz??s.fontSize,bold:k.b??s.bold,italic:k.i??s.italic},I=J(D);this.setFont(I);const N=i.slice(k.at,x).replace(/\n/g," "),M=T.measureText(N).width;a.push({piece:N,font:I,ink:k.color??s.color??"#000000",pw:M}),w+=M,u=Math.max(u,D.fontSize)});const b=s.vAlign??"bottom",C=b==="top"?t+u*1.05:b==="center"?t+(h+u*.72)/2:t+h-3;let F=p==="right"?o+r-d-w:p==="center"||p==="centerContinuous"?o+(r-w)/2:o+d;T.textAlign="left";for(const k of a)this.setFont(k.font),this.setInk(k.ink),T.fillText(k.piece,F,C),F+=k.pw}text(i,l,s,p,o,t,r,h,d,T=!1){const{ctx:a,sheet:w}=this,u=this.reachX===null?this.textStyle(i,l,o,t,h):this.style(i,l);if(u===null)return;if(q(w)&&this.reachX===null&&it(a,this.book,w,i,l,o,t,r,h)){this.reset();return}if(s===W&&p===0&&w.hideZeros)return;if(u.ext?.pad){const[c,y,R,z]=u.ext.pad;o+=z,t+=c,r=Math.max(0,r-z-y),h=Math.max(0,h-c-R)}let b=Kt(this.book,s,p,u);if(s===et&&this.errors!=="displayed"&&(b=this.errors==="blank"?"":this.errors==="dash"?"--":"#N/A"),b===""||s===v&&bt(b)&&(w.kind(i,l)&(nt|ot))!==0&&pt(a,b,o,t,r,h,1)||s===v&&Pt(b)&&(w.kind(i,l)&(nt|ot))!==0&&Ct(a,b,o,t,r,h,1,{ink:u.color??"#000000",snap:!1,mono:this.mono})||w.sparkRules!==null&&It(w,i,l))return;const C=J(u);this.setFont(C);let F=u.color??"#000000";s===W&&u.numFmt!=="General"&&(F=V(u.numFmt).color(p)??F),this.setInk(this.mono?"#000000":F);const k=Et,P=s===v?at(u.readingOrder,b):null;s===v&&!("direction"in a)&&(b=ht(b,P==="rtl")),P==="rtl"&&"direction"in a?(a.direction="rtl",this.pendingDirection=!0):this.pendingDirection&&(a.direction="ltr",this.pendingDirection=!1);const x=u.hAlign??(s===W||P==="rtl"?"right":s===v?"left":"center");if(x==="centerContinuous")for(let c=l+1;(w.kind(i,c)&15)===0&&w.mergeAt(i,c)===null&&this.book.styles.get(w.style(i,c)).hAlign==="centerContinuous";c++)r+=w.cols.sizeOf(c);const D=r-k*2,I=u.fontSize;if(this.reachX!==null&&(u.rotation!==0||u.wrap))return;if(u.rotation!==0){this.rotated(b,u,o,t,r,h);return}if(u.wrap||dt(u)){this.wrapped(b,u,x,o,t,r,h,k,I);return}const N=s===v?this.book.strings.rich?.get(p):void 0;if(N!==void 0&&!this.mono){this.richLine(b,N,u,x,o,t,r,h,k);return}const M=u.vAlign??"bottom";let O;if(M==="top"?O=t+I*1.05:M==="center"?O=t+(h+I*.72)/2:O=t+h-3,b.indexOf(st)>=0){if(this.reachX!==null)return;const c=b.split(st),y=c[0],R=c[1]??" ",z=c.slice(2).join("");a.textAlign="left",y&&a.fillText(y,o+k,O);const L=this.width(y),G=this.width(z);if(R!==" "){const X=this.width(R)||1,Z=Math.floor((D-L-G)/X);Z>0&&a.fillText(R.repeat(Z),o+k+L,O)}a.textAlign="right",z&&a.fillText(z,o+r-k,O),a.textAlign="left";return}let S=this.width(b);if(S>D&&s===W&&(u.numFmt==="General"&&(b=kt(p,c=>this.width(c)<=D),S=this.width(b)),S>D)){const c=this.width("#")||1;b="#".repeat(Math.max(1,Math.floor(D/c))),S=c*b.length}let A=!1;if(u.shrink&&S>D&&D>0&&(this.setFont(E(u,I*(D/S))),S=D,A=!0),u.indent>0){const c=u.indent*Bt;x==="left"?(o+=c,r-=c):x==="right"&&(r-=c)}let n,f=!1,g=o,m=o+r;if(x==="center"||x==="centerContinuous")n=o+(r-S)/2;else if(x==="right")n=o+r-k-S;else if(x==="fill"){const c=Math.max(1,Math.floor(D/(S||1)));b=b.repeat(c),S*=c,n=o+k}else n=o+k;if(this.reachX!==null&&n+S<=this.reachX){A&&this.setFont(C);return}if(S>D||n<o+k)if(T)f=!0;else if(s===v){if(n+S>m){let c=l+1,y=m;for(;y<n+S&&c<=d.c1&&(w.kind(i,c)&15)===0&&w.mergeAt(i,c)===null;)y+=w.cols.sizeOf(c),c++;m=y}if(n<g){let c=l-1,y=g;for(;y>n&&c>=d.c0&&(w.kind(i,c)&15)===0&&w.mergeAt(i,c)===null;)y-=w.cols.sizeOf(c),c--;g=y}f=n+S>m||n<g}else f=!0;a.textAlign="left",f?(a.save(),a.beginPath(),a.rect(g,t,m-g,h),a.clip(),a.fillText(b,n,O),this.decorate(u,n,O,S,I),a.restore()):(a.fillText(b,n,O),(u.underline!==0||u.strike)&&this.decorate(u,n,O,S,I)),A&&this.setFont(C)}decorate(i,l,s,p,o){const{ctx:t}=this,r=Math.max(.5,o/14);if(i.underline!==0){const h=s+o*.14;t.fillRect(l,h,p,r),i.underline===2&&t.fillRect(l,h+r*2,p,r)}i.strike&&t.fillRect(l,s-o*.3,p,r)}wrapLines(i,l,s){const p=`${i}|${Math.round(s)}|${l}`;let o=this.wrapCache.get(p);if(o!==void 0)return o;o=[];for(const t of l.split(`
|
|
2
|
+
`)){let r="";for(const h of t.split(/(?<=\s)/)){const d=r+h;for(r!==""&&this.width(d.trimEnd())>s?(o.push(r.trimEnd()),r=h):r=d;this.width(r.trimEnd())>s&&r.length>1;){let T=r.length-1;for(;T>1&&this.width(r.slice(0,T))>s;)T--;o.push(r.slice(0,T)),r=r.slice(T)}}o.push(r.trimEnd())}return this.wrapCache.size>4096&&this.wrapCache.clear(),this.wrapCache.set(p,o),o}wrapped(i,l,s,p,o,t,r,h,d){const{ctx:T}=this,a=this.wrapLines(J(l),i,t-h*2),w=Math.round(d*1.26),u=a.length*w,b=l.vAlign??"bottom";let C;b==="top"?C=o:b==="center"?C=o+(r-u)/2:C=o+r-u,T.save(),T.beginPath(),T.rect(p,o,t,r),T.clip(),T.textAlign=s==="center"?"center":s==="right"?"right":"left";const F=s==="center"?p+t/2:s==="right"?p+t-h:p+h;for(let k=0;k<a.length;k++){const P=C+k*w+Math.round(w*.8);P+w<o||P-w>o+r||T.fillText(a[k],F,P)}T.restore(),T.textAlign="left"}rotated(i,l,s,p,o,t){const{ctx:r}=this;r.save(),r.beginPath(),r.rect(s,p,o,t),r.clip(),r.translate(s+o/2,p+t/2);const h=l.rotation;if(r.textAlign="center",h===255){const d=l.fontSize*1.1,T=-((i.length-1)*d)/2;for(let a=0;a<i.length;a++)r.fillText(i[a],0,T+a*d)}else{const d=h>90?90-h:h;r.rotate(-d*Math.PI/180),r.fillText(i,0,l.fontSize*.35)}r.restore(),r.textAlign="left"}side(i,l,s,p,o){if(!i)return;const{ctx:t}=this,r=Gt[i.style]??.5;if(t.strokeStyle=this.mono?"#000000":i.color??"#000000",t.lineWidth=r,t.setLineDash(Xt[i.style]??[]),t.beginPath(),i.style==="double"){const h=s===o?0:.75,d=s===o?.75:0;t.moveTo(l-h,s-d),t.lineTo(p-h,o-d),t.moveTo(l+h,s+d),t.lineTo(p+h,o+d)}else t.moveTo(l,s),t.lineTo(p,o);t.stroke()}}function lt(e,i,l){const s=new Float64Array(l-i+2);let p=0;for(let o=i;o<=l;o++)s[o-i]=p,p+=e.sizeOf(o);return s[l-i+1]=p,s}function B(e,i,l,s,p){const{ctx:o,sheet:t}=e,{x:r,y:h,r0:d,r1:T,c0:a,c1:w}=i,u=lt(t.cols,a,w),b=lt(t.rows,d,T),C=w-a+1,F=T-d+1,k=u[C],P=b[F];if(k<=0||P<=0)return;if(o.save(),o.beginPath(),o.rect(r,h,k,P),o.clip(),e.reset(),l){o.strokeStyle=Y,o.lineWidth=$,o.setLineDash([]),o.beginPath();for(let n=0;n<=C;n++)n>0&&u[n]===u[n-1]||(o.moveTo(r+u[n],h),o.lineTo(r+u[n],h+P));for(let n=0;n<=F;n++)n>0&&b[n]===b[n-1]||(o.moveTo(r,h+b[n]),o.lineTo(r+k,h+b[n]));o.stroke()}const x=t.mergesInRows(d,T).filter(n=>n.c1>=a&&n.c0<=w),D=x.length>0,I=t.rowStyles!==null||t.colStyles!==null,N=e.styles[0].fill===null&&e.styles[0].borders===null;e.tables=null;const{book:M}=e;if(M.engine&&M.engine.tables.size>0){const n=vt(M,t);n.length>0&&(e.tables=n);for(const f of n){if(f.r1<d||f.r0>T||f.c1<a||f.c0>w)continue;const g=Nt(f.styleName,M.theme);g&&(f._colors=g,Lt(o,f,g,{ra:d,rb:T,ca:a,cb:w,xs:u,ys:b,ox:r,oy:h,line:.5,noFill:e.mono,setInk:m=>e.setInk(e.mono?"#000000":m)}))}}let O=null;for(let n=a;n<=w;n++){const f=u[n-a+1]-u[n-a];if(f===0)continue;const g=t.columns[n];if(!(g===void 0&&!I&&N))for(let m=d;m<=T;m++){if(!I&&N){const R=g[m>>>tt];if(R===void 0||R.styles===null){m|=H;continue}if(R.styles[m&H]===0)continue}const c=b[m-d+1]-b[m-d];if(c===0)continue;const y=e.style(m,n);y.fill===null&&y.borders===null||D&&t.mergeAt(m,n)!==null||(y.fill!==null&&!e.mono&&(y.gradient?Q(y.gradient,r+u[n-a],h+b[m-d],f,c,(R,z,L,G,X)=>{e.setInk(R),o.fillRect(z,L,G,X)}):(e.setInk(ft(y)),o.fillRect(r+u[n-a],h+b[m-d],f,c))),y.borders!==null&&(O??=[]).push(m,n,y.borders))}}const S=n=>{const f=r+t.cols.offsetOf(n.c0)-t.cols.offsetOf(a),g=h+t.rows.offsetOf(n.r0)-t.rows.offsetOf(d);return{x:f,y:g,w:t.cols.offsetOf(n.c1+1)-t.cols.offsetOf(n.c0),h:t.rows.offsetOf(n.r1+1)-t.rows.offsetOf(n.r0)}};for(const n of x){const f=S(n),g=e.style(n.r0,n.c0);(l||g.fill!==null&&!e.mono)&&(g.gradient&&!e.mono?Q(g.gradient,f.x,f.y,f.w,f.h,(m,c,y,R,z)=>{e.setInk(m),o.fillRect(c,y,R,z)}):(e.setInk(g.fill!==null&&!e.mono?ft(g):"#ffffff"),o.fillRect(f.x,f.y,f.w,f.h))),l&&(o.strokeStyle=Y,o.lineWidth=$,o.setLineDash([]),o.strokeRect(f.x,f.y,f.w,f.h))}if(e.cfFrame=null,t.cf&&t.cf.length>0){t.cfEval||(t.cfEval=new xt(M,t,f=>Wt(f,M.theme??[])));const n=new Map;e.cfFrame=n;for(let f=a;f<=w;f++){const g=u[f-a+1]-u[f-a];for(let m=d;m<=T;m++){const c=t.cfEval.at(m,f);if(c===null)continue;n.set(m*16384+f,c);const y=r+u[f-a],R=h+b[m-d],z=b[m-d+1]-b[m-d];c.noFill&&!e.mono&&(e.setInk("#FFFFFF"),o.fillRect(y,R,g,z)),c.fill&&!e.mono&&(e.setInk(c.fill),o.fillRect(y,R,g,z)),c.bar&&!e.mono&&(Ot(o,c.bar,y,R,g,z,1,!1,!0),e.ink=""),c.borders&&(O??=[]).push(m,f,c.borders)}}}if(O!==null)for(let n=0;n<O.length;n+=3){const f=O[n],g=O[n+1],m=O[n+2],c=r+u[g-a],y=r+u[g-a+1],R=h+b[f-d],z=h+b[f-d+1];e.side(m.t,c,R,y,R),e.side(m.b,c,z,y,z),e.side(m.l,c,R,c,z),e.side(m.r,y,R,y,z),m.d&&m.down&&e.side(m.d,c,R,y,z),m.d&&m.up&&e.side(m.d,c,z,y,R)}for(const n of x){const f=S(n);for(let g=n.c0;g<=n.c1;g++){const m=t.cols.sizeOf(g),c=f.x+t.cols.offsetOf(g)-t.cols.offsetOf(n.c0),y=e.style(n.r0,g).borders;y?.t&&e.side(y.t,c,f.y,c+m,f.y);const R=e.style(n.r1,g).borders;R?.b&&e.side(R.b,c,f.y+f.h,c+m,f.y+f.h)}for(let g=n.r0;g<=n.r1;g++){const m=t.rows.sizeOf(g),c=f.y+t.rows.offsetOf(g)-t.rows.offsetOf(n.r0),y=e.style(g,n.c0).borders;y?.l&&e.side(y.l,f.x,c,f.x,c+m);const R=e.style(g,n.c1).borders;R?.r&&e.side(R.r,f.x+f.w,c,f.x+f.w,c+m)}}if(t.sparklines&&t.sparklines.length>0&&M.engine)for(const[n,f]of Rt(t)){const g=Math.floor(n/16384),m=n-g*16384;g<d||g>T||m<a||m>w||Ft(o,M.engine,t,f,g,m,r+u[m-a],h+b[g-d],u[m-a+1]-u[m-a],b[g-d+1]-b[g-d],1,{snap:!1,mono:e.mono})}t.sparkRules!==null&&Mt(o,M,t,{r0:d,r1:T,c0:a,c1:w,xs:u,ys:b,ox:r,oy:h,mono:e.mono}),e.reset(),o.textBaseline="alphabetic",o.textAlign="left";const A={c0:a,c1:w};for(let n=a;n<=w;n++){const f=r+u[n-a],g=u[n-a+1]-u[n-a];if(g===0)continue;const m=t.columns[n];if(m!==void 0)for(let c=d;c<=T;c++){const y=m[c>>>tt];if(y===void 0){c|=H;continue}const R=c&H,z=y.kinds[R]&U;if(z===K||D&&t.mergeAt(c,n)!==null)continue;const L=b[c-d+1]-b[c-d];L!==0&&e.text(c,n,z,y.values[R],f,h+b[c-d],g,L,A)}}if(s<a)for(let n=d;n<=T;n++){const f=b[n-d+1]-b[n-d];if(f===0||t.kind(n,a)!==0)continue;let g=0;for(let m=a-1;m>=Math.max(s,a-_t);m--){g+=t.cols.sizeOf(m);const c=t.kind(n,m)&U;if(c!==K){c===v&&t.mergeAt(n,m)===null&&(e.reachX=r,e.text(n,m,c,t.value(n,m),r-g,h+b[n-d],t.cols.sizeOf(m),f,A),e.reachX=null);break}}}for(const n of x){const f=t.kind(n.r0,n.c0)&U;if(f===K)continue;const g=S(n);e.text(n.r0,n.c0,f,t.value(n.r0,n.c0),g.x,g.y,g.w,g.h,A,!0)}q(t)&&wt(e.book,t,d,T,a,w,(n,f)=>{it(e.ctx,e.book,t,n,f,r+u[f-a],h+b[n-d],u[f-a+1]-u[f-a],b[n-d+1]-b[n-d]),e.reset()}),p&&(e.reset(),p(i),e.reset()),o.restore(),e.reset()}function Vt(e,i,l){const{ctx:s,sheet:p}=e,{headingW:o,headingH:t,titleW:r,titleH:h}=i,d=r+i.bodyW,T=h+i.bodyH;s.strokeStyle=Y,s.lineWidth=$,s.setLineDash([]),e.reset(),s.font=l,s.textBaseline="alphabetic",s.textAlign="center",e.setInk("#000000");const a=3;s.strokeRect(0,0,o+d,t),s.strokeRect(0,0,o,t+T);const w=(b,C,F)=>{let k=F;for(let P=b;P<=C;P++){const x=p.cols.sizeOf(P);x>0&&(s.beginPath(),s.moveTo(k+x,0),s.lineTo(k+x,t),s.stroke(),s.fillText(Tt(P),k+x/2,t-a)),k+=x}},u=(b,C,F)=>{let k=F;for(let P=b;P<=C;P++){const x=p.rows.sizeOf(P);x>0&&(s.beginPath(),s.moveTo(0,k+x),s.lineTo(o,k+x),s.stroke(),s.fillText(String(P+1),o/2,k+x-a)),k+=x}};i.titleCols&&w(i.titleCols.c0,i.titleCols.c1,o),w(i.c0,i.c1,o+r),i.titleRows&&u(i.titleRows.r0,i.titleRows.r1,t),u(i.r0,i.r1,t+h),s.textAlign="left"}const _=new Map;function Yt(e){let i=_.get(e);return i===void 0&&(i=Ht(e),_.size>256&&_.clear(),_.set(e,i)),i}function $t(e,i){switch(e.field){case"page":return String(i.pageNumber+(e.offset??0));case"pages":return String(i.totalPages);case"date":return i.now.toLocaleDateString(i.locale);case"time":return i.now.toLocaleTimeString(i.locale,{hour:"2-digit",minute:"2-digit"});case"file":return i.fileName;case"sheet":return i.sheetName;case"path":return i.filePath;default:return""}}function jt(e,i){const l=[[]];for(const s of e)(s.field?$t(s,i):s.text).split(`
|
|
3
|
+
`).forEach((t,r)=>{r>0&&l.push([]),t&&l[l.length-1].push({...s,text:t})});return l}function Jt(e,i,l,s,p,o=null){const{setup:t,paper:r}=i,h=t.margins,d=s.pageNumber%2===0,T=x=>t.differentFirst&&s.sheetPage===0?x.first:t.differentOddEven&&d?x.even:x.odd,a=T(t.header),w=T(t.footer);if(!a&&!w)return;const u=s.defaultStyle,b=(t.alignWithMargins?h.left:.7)*72,C=r.width-(t.alignWithMargins?h.right:.7)*72;e.save(),e.textBaseline="alphabetic",e.textAlign="left";const F=(x,D,I,N)=>{const M=x.map(A=>{const n=(A.size??j)*p*(A.script!==0?.66:1),f=E({...u,fontName:A.font??u.fontName,bold:A.bold,italic:A.italic},n);return e.font=f,{run:A,size:n,font:f,width:e.measureText(A.text).width}});let O=0;for(const A of M)O+=A.width;let S=I==="center"?D-O/2:I==="right"?D-O:D;for(const{run:A,size:n,font:f,width:g}of M){e.font=f;const m=t.blackAndWhite?"#000000":A.color??"#000000";e.fillStyle=m;const c=N-(A.script===1?n*.5:A.script===-1?-n*.2:0);e.fillText(A.text,S,c);const y=Math.max(.4,n/14);A.underline&&(e.fillRect(S,c+n*.14,g,y),A.underline===2&&e.fillRect(S,c+n*.14+y*2,g,y)),A.strike&&e.fillRect(S,c-n*.3,g,y),S+=g}},k=x=>{let D=j;return x.length>0&&(D=Math.max(...x.map(I=>I.size??j))),D*p*1.2},P=(x,D,I,N)=>{if(x.length===0)return;const M=jt(x,s);if(N){let O=h.header*72;for(const S of M){const A=k(S);F(S,D,I,O+A*.8),O+=A}}else{let O=r.height-h.footer*72;for(let S=M.length-1;S>=0;S--){const A=k(M[S]);F(M[S],D,I,O-A*.2),O-=A}}};for(const[x,D]of[[a,!0],[w,!1]]){if(!x)continue;const I=Yt(x),N=o?.[D?"header":"footer"];N!=="L"&&P(I.left,b,"left",D),N!=="C"&&P(I.center,r.width/2,"center",D),N!=="R"&&P(I.right,C,"right",D)}e.restore()}function Zt(e,i){e.translate((i.paperW-2*i.originX)/i.scale,0),e.scale(-1,1);const l=Object.prototype.hasOwnProperty.call(e,"fillText"),s=e.fillText;return e.fillText=function(o,t,r){const h=e.measureText(o).width,d=e.textAlign,T=d==="right"||d==="end"?t-h:d==="center"?t-h/2:t;e.save(),e.scale(-1,1),e.textAlign="left",s.call(e,o,-T-h,r),e.restore()},()=>{l?e.fillText=s:delete e.fillText}}function ct(e,i,l,s={}){const{book:p,sheet:o,setup:t}=i,r=p.styles.list[0];e.save(),s.background!==!1&&(e.fillStyle="#ffffff",e.fillRect(0,0,l.paperW,l.paperH)),ut(e,o,l,s.sheetPage??l.index,t);const h={pageNumber:s.pageNumber??l.index+1,totalPages:s.totalPages??i.pageCount,sheetPage:s.sheetPage??l.index,fileName:s.fileName??p.fileName??"",filePath:s.filePath??"",sheetName:o.name,now:s.now??new Date,locale:s.locale,defaultStyle:r};Jt(e,i,l,h,t.scaleWithDoc?l.scale:1),e.save(),e.translate(l.originX,l.originY),e.scale(l.scale,l.scale);const d=o.rtl===!0?Zt(e,l):null,T=new Ut(e,p,o,t),{headingW:a,headingH:w,titleW:u,titleH:b,titleRows:C,titleCols:F,r0:k,r1:P,c0:x,c1:D,area:I}=l,N=t.gridLines&&!t.draft;t.headings&&Vt(T,l,E(r,r.fontSize));const M=s.objectPainters??null,O=M&&M.length>0?n=>{const f=n.x-o.cols.offsetOf(n.c0),g=n.y-o.rows.offsetOf(n.r0),m={printing:!0,dpr:1,zoom:1,hx:n.x,hy:n.y,cssW:n.x+o.cols.offsetOf(n.c1+1)-o.cols.offsetOf(n.c0),cssH:n.y+o.rows.offsetOf(n.r1+1)-o.rows.offsetOf(n.r0),toScreen:(c,y)=>({x:f+c,y:g+y}),sheet:o};for(const c of M)c(e,m)}:null;if(l.chartBox){if(M){const n={printing:!0,dpr:1,zoom:1,hx:0,hy:0,cssW:l.bodyW,cssH:l.bodyH,toScreen:(f,g)=>({x:f,y:g}),sheet:o,chartBox:l.chartBox};for(const f of M)f(e,n)}e.restore(),e.restore();return}const S=a+u,A=w+b;B(T,{x:S,y:A,r0:k,r1:P,c0:x,c1:D},N,I.c0,O),C&&B(T,{x:S,y:w,r0:C.r0,r1:C.r1,c0:x,c1:D},N,I.c0,O),F&&B(T,{x:a,y:A,r0:k,r1:P,c0:F.c0,c1:F.c1},N,F.c0,O),C&&F&&B(T,{x:a,y:w,r0:C.r0,r1:C.r1,c0:F.c0,c1:F.c1},N,F.c0,O),d?.(),e.restore(),e.restore()}function Te(e,i,l,{pxPerPt:s=2,...p}={}){const o=i.at(l);if(o===null)return null;const{page:t,pagination:r}=o;e.width=Math.max(1,Math.round(t.paperW*s)),e.height=Math.max(1,Math.round(t.paperH*s));const h=e.getContext("2d",{alpha:!1});return h.setTransform(s,0,0,s,0,0),ct(h,r,t,{pageNumber:o.pageNumber,totalPages:o.totalPages,sheetPage:o.sheetPage,...p}),o}const qt=()=>new Promise(e=>setTimeout(e,0)),Qt={gray0625:.0625,gray125:.125,lightGray:.25,mediumGray:.5,darkGray:.75,lightHorizontal:.25,lightVertical:.25,lightDown:.25,lightUp:.25,lightGrid:.44,lightTrellis:.5,darkHorizontal:.5,darkVertical:.5,darkDown:.5,darkUp:.5,darkGrid:.5,darkTrellis:.75};function ft(e){if(!e.pattern)return e.fill;const i=Qt[e.pattern.type]??.5,l=s=>{const p=parseInt(e.pattern.fg.slice(s,s+2),16),o=parseInt(e.fill.slice(s,s+2),16);return Math.round(p*i+o*(1-i)).toString(16).padStart(2,"0")};return`#${l(1)}${l(3)}${l(5)}`}async function xe(e,i,l={}){const{title:s,author:p,subject:o,fonts:t,compress:r,signal:h,onProgress:d,...T}=l,[{PdfWriter:a}]=await Promise.all([import("./pdf.js"),zt(e)]),w=new a(i,{title:s,author:p,subject:o,fonts:t,compress:r}),u=T.now??new Date;let b=performance.now();for(let C=0;C<e.pageCount;C++){h?.throwIfAborted();const F=e.at(C),{page:k,pagination:P}=F,x=w.beginPage(k.paperW,k.paperH);ct(x,P,k,{...T,now:u,background:!1,pageNumber:F.pageNumber,totalPages:F.totalPages,sheetPage:F.sheetPage}),await w.endPage(),d?.(C+1,e.pageCount),performance.now()-b>12&&(await qt(),b=performance.now())}return await w.finish(),{pages:w.pageCount,bytes:w.offset,missing:[...w.missing],fontWarnings:w.fontWarnings}}export{Kt as displayText,Jt as paintHeaderFooter,Te as renderJobPageToCanvas,ct as renderPage,xe as writeJobPdf};
|
package/slicers/format.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{parseNode as p}from"../pivot/xml.js";import{xmlAttr as
|
|
2
|
-
`,C=D,d=t=>Object.entries(t).filter(([,i])=>i!=null).map(([i,e])=>` ${i}="${C(e)}"`).join(""),x=(t,i)=>t?.c?.find(e=>e.n===i)??null,v=(t,i)=>t?t.c.filter(e=>e.n===i):[],$=t=>t.slice(t.indexOf(":")+1),f=(t,i)=>t===void 0?i:t==="1"||t==="true";function R(t){const i=d({name:t.name,"xr10:uid":t.uid??void 0,sourceName:t.sourceName,...t.extra??{}}),e=`${b}<slicerCacheDefinition xmlns="${a.x14}" xmlns:mc="${a.mc}" mc:Ignorable="x xr10" xmlns:x="${a.main}" xmlns:xr10="${a.xr10}"${i}>`,n={sortOrder:t.sortOrder&&t.sortOrder!=="ascending"?t.sortOrder:void 0,customListSort:t.customListSort===!1?"0":void 0,crossFilter:t.crossFilter&&t.crossFilter!=="showItemsWithDataAtTop"?t.crossFilter:void 0},r=[];let o="";if(t.kind==="table")r.push(`<x:ext uri="${h.tableSlicerCache}" xmlns:x15="${a.x15}"><x15:tableSlicerCache${d({tableId:t.tableId,column:t.column,...n})}/></x:ext>`);else{const l=(t.pivotTables??[]).map(m=>`<pivotTable${d({tabId:m.tabId,name:m.name})}/>`).join("");o+=`<pivotTables>${l}</pivotTables>`;const c=(t.items??[]).map(m=>`<i${d({x:m.x,s:m.s?"1":void 0,nd:m.nd?"1":void 0})}/>`).join(""),s={pivotCacheId:t.pivotCacheId,...n,showMissing:t.showMissing===!1?"0":void 0};o+=`<data><tabular${d(s)}><items count="${(t.items??[]).length}">${c}</items></tabular></data>`}t.hideNoData&&r.push(`<x:ext uri="${h.hideNoData}" xmlns:x15="${a.x15}"><x15:slicerCacheHideItemsWithNoData/></x:ext>`);for(const l of t.rawExt??[])r.push(l);return`${e}${o}${r.length?`<extLst>${r.join("")}</extLst>`:""}</slicerCacheDefinition>`}function k(t){const i=e=>{const n={name:e.name,"xr10:uid":e.uid??void 0,cache:e.cache,caption:e.caption,startItem:e.startItem?e.startItem:void 0,columnCount:e.columnCount&&e.columnCount!==1?e.columnCount:void 0,showCaption:e.showCaption===!1?"0":void 0,level:e.level?e.level:void 0,style:e.style&&e.style!=="SlicerStyleLight1"?e.style:void 0,lockedPosition:e.lockedPosition?"1":void 0,rowHeight:e.rowHeight??241300,...e.extra??{}};return`<slicer${d(n)}/>`};return`${b}<slicers xmlns="${a.x14}" xmlns:mc="${a.mc}" mc:Ignorable="x xr10" xmlns:x="${a.main}" xmlns:xr10="${a.xr10}">${t.map(i).join("")}</slicers>`}function H(t){const i=(t.pivotTables??[]).map(r=>`<pivotTable${d({tabId:r.tabId,name:r.name})}/>`).join(""),e=(r,o)=>o?`<${r}${d({startDate:o.start,endDate:o.end})}/>`:"",n=d({singleRangeFilterState:t.singleRange===!1?"0":void 0,minimalRefreshVersion:t.minimalRefreshVersion??6,lastRefreshVersion:t.lastRefreshVersion??6,pivotCacheId:t.pivotCacheId,filterType:t.selection?"dateBetween":"unknown",filterId:t.selection?t.filterId:void 0,filterTabId:t.selection?t.filterTabId:void 0,filterPivotName:t.selection?t.filterPivotName:void 0});return`${b}<timelineCacheDefinition xmlns="${a.x15}" xmlns:x15="${a.x15}" xmlns:mc="${a.mc}" mc:Ignorable="xr10" xmlns:xr10="${a.xr10}"${d({name:t.name,"xr10:uid":t.uid??void 0,sourceName:t.sourceName,...t.extra??{}})}><pivotTables>${i}</pivotTables><state${n}>${e("selection",t.selection)}${e("bounds",t.bounds)}</state></timelineCacheDefinition>`}function X(t){const i=e=>`<timeline${d({name:e.name,"xr10:uid":e.uid??void 0,cache:e.cache,caption:e.caption,showHeader:e.showHeader===!1?"0":void 0,showSelectionLabel:e.showSelectionLabel===!1?"0":void 0,showTimeLevel:e.showTimeLevel===!1?"0":void 0,showHorizontalScrollbar:e.showHorizontalScrollbar===!1?"0":void 0,level:e.level??2,selectionLevel:e.selectionLevel??e.level??2,scrollPosition:e.scrollPosition??void 0,style:e.style&&e.style!=="TimeSlicerStyleLight1"?e.style:void 0,...e.extra??{}})}/>`;return`${b}<timelines xmlns="${a.x15}" xmlns:mc="${a.mc}" mc:Ignorable="x xr10" xmlns:x="${a.main}" xmlns:xr10="${a.xr10}">${t.map(i).join("")}</timelines>`}const S={pivot:{choice:`xmlns:a14="${a.a14}" Requires="a14"`,uri:a.sle,inner:t=>`<sle:slicer xmlns:sle="${a.sle}" name="${C(t)}"/>`},table:{choice:`xmlns:sle15="${a.sle15}" Requires="sle15"`,uri:a.sle,inner:t=>`<sle:slicer xmlns:sle="${a.sle}" name="${C(t)}"/>`},timeline:{choice:`xmlns:tsle="${a.tsle}" Requires="tsle"`,uri:a.tsle,inner:t=>`<tsle:timeslicer xmlns:tsle="${a.tsle}" name="${C(t)}"/>`}},T={pivot:"This shape represents a slicer. Slicers are supported in Excel 2010 or later.",table:"This shape represents a table slicer. Table slicers are supported in Excel 2013 or later.",timeline:"Timeline: Works in Excel 2013 or higher. Do not move or resize."};function M({kind:t,name:i,id:e,from:n,to:r,cx:o=1828800,cy:l=2524125}){const c=S[t],s=(m,u)=>`<xdr:${m}><xdr:col>${u.col}</xdr:col><xdr:colOff>${u.colOff}</xdr:colOff><xdr:row>${u.row}</xdr:row><xdr:rowOff>${u.rowOff}</xdr:rowOff></xdr:${m}>`;return`<xdr:twoCellAnchor editAs="absolute">${s("from",n)}${s("to",r)}<mc:AlternateContent xmlns:mc="${a.mc}"><mc:Choice ${c.choice}><xdr:graphicFrame macro=""><xdr:nvGraphicFramePr><xdr:cNvPr id="${e}" name="${C(i)}"/><xdr:cNvGraphicFramePr/></xdr:nvGraphicFramePr><xdr:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/></xdr:xfrm><a:graphic><a:graphicData uri="${c.uri}">${c.inner(i)}</a:graphicData></a:graphic></xdr:graphicFrame></mc:Choice><mc:Fallback xmlns=""><xdr:sp macro="" textlink=""><xdr:nvSpPr><xdr:cNvPr id="0" name=""/><xdr:cNvSpPr><a:spLocks noTextEdit="1"/></xdr:cNvSpPr></xdr:nvSpPr><xdr:spPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="${o}" cy="${l}"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:prstClr val="white"/></a:solidFill><a:ln w="1"><a:solidFill><a:prstClr val="green"/></a:solidFill></a:ln></xdr:spPr><xdr:txBody><a:bodyPr vertOverflow="clip" horzOverflow="clip"/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" sz="1100"/><a:t>${T[t]}</a:t></a:r></a:p></xdr:txBody></xdr:sp></mc:Fallback></mc:AlternateContent><xdr:clientData/></xdr:twoCellAnchor>`}const j=t=>`${b}<xdr:wsDr xmlns:xdr="${a.xdr}" xmlns:a="${a.a}">${t}</xdr:wsDr>`,g=/<xdr:(twoCellAnchor|oneCellAnchor|absoluteAnchor)\b[\s\S]*?<\/xdr:\1>/g,I=/<(?:\w+:)?(slicer|timeslicer)\b[^>]*\bname="([^"]*)"/;function z(t){const i=[];for(const e of t.matchAll(g)){const n=e[0];if(!/drawing\/20(?:10|12)\/(?:time)?slicer/.test(n))continue;const r=I.exec(n);if(!r)continue;const o=l=>{const c=new RegExp(`<xdr:${l}>\\s*<xdr:col>(\\d+)</xdr:col>\\s*<xdr:colOff>(-?\\d+)</xdr:colOff>\\s*<xdr:row>(\\d+)</xdr:row>\\s*<xdr:rowOff>(-?\\d+)</xdr:rowOff>`).exec(n);return c?{col:Number(c[1]),colOff:Number(c[2]),row:Number(c[3]),rowOff:Number(c[4])}:null};i.push({kind:r[1]==="timeslicer"?"timeline":/Requires="sle15"/.test(n)?"table":"pivot",name:w(r[2]),id:Number(/<xdr:cNvPr\b[^>]*\bid="(\d+)"/.exec(n)?.[1]??0),from:o("from"),to:o("to"),raw:n})}return i}function V(t,{upsert:i=[],remove:e=[]}){const n=new Map(i.map(s=>[s.name,s.xml])),r=new Set(e),o=new Set;let l=t.replace(g,s=>{if(!/drawing\/20(?:10|12)\/(?:time)?slicer/.test(s))return s;const m=I.exec(s);if(!m)return s;const u=w(m[2]);return r.has(u)?"":n.has(u)?(o.add(u),n.get(u)):s});const c=i.filter(s=>!o.has(s.name)).map(s=>s.xml).join("");return c&&(l=l.replace(/<\/(\w+:)?wsDr>\s*$/,s=>`${c}${s}`)),l}const F=new Set(["name","xr10:uid","cache","caption","startItem","columnCount","showCaption","level","style","lockedPosition","rowHeight"]),A=new Set(["name","xr10:uid","cache","caption","showHeader","showSelectionLabel","showTimeLevel","showHorizontalScrollbar","level","selectionLevel","scrollPosition","style"]),N=(t,i)=>{const e={};for(const[n,r]of Object.entries(t))!i.has(n)&&!n.startsWith("xmlns")&&n!=="mc:Ignorable"&&(e[n]=r);return e};function W(t){const i=p(t),e={name:i.a.name,sourceName:i.a.sourceName,uid:i.a["xr10:uid"]??null,kind:"pivot",sortOrder:"ascending",customListSort:!0,crossFilter:"showItemsWithDataAtTop",showMissing:!0,hideNoData:!1,pivotTables:[],items:[],pivotCacheId:null,tableId:null,column:null},n=o=>{o.sortOrder&&(e.sortOrder=o.sortOrder),e.customListSort=f(o.customListSort,!0),o.crossFilter&&(e.crossFilter=o.crossFilter)};for(const o of v(x(i,"pivotTables"),"pivotTable"))e.pivotTables.push({tabId:Number(o.a.tabId),name:o.a.name});const r=x(x(i,"data"),"tabular");if(r){e.pivotCacheId=Number(r.a.pivotCacheId),n(r.a),e.showMissing=f(r.a.showMissing,!0);for(const o of v(x(r,"items"),"i"))e.items.push({x:Number(o.a.x),s:f(o.a.s,!1),nd:f(o.a.nd,!1)})}for(const o of x(i,"extLst")?.c??[])if($(o.n)==="ext")if(o.a.uri===h.tableSlicerCache){const l=o.c.find(c=>$(c.n)==="tableSlicerCache");l&&(e.kind="table",e.tableId=Number(l.a.tableId),e.column=Number(l.a.column),n(l.a))}else o.a.uri===h.hideNoData&&(e.hideNoData=!0);return e}function _(t){const i=p(t);return v(i,"slicer").map(e=>({name:e.a.name,uid:e.a["xr10:uid"]??null,cache:e.a.cache,caption:e.a.caption??e.a.name,startItem:Number(e.a.startItem??0),columnCount:Number(e.a.columnCount??1),showCaption:f(e.a.showCaption,!0),level:Number(e.a.level??0),style:e.a.style??"SlicerStyleLight1",lockedPosition:f(e.a.lockedPosition,!1),rowHeight:Number(e.a.rowHeight??241300),extra:N(e.a,F)}))}function G(t){const i=p(t),e=x(i,"state"),n=r=>{const o=x(e,r);return o?{start:o.a.startDate,end:o.a.endDate}:null};return{name:i.a.name,sourceName:i.a.sourceName,uid:i.a["xr10:uid"]??null,pivotTables:v(x(i,"pivotTables"),"pivotTable").map(r=>({tabId:Number(r.a.tabId),name:r.a.name})),singleRange:f(e?.a.singleRangeFilterState,!0),minimalRefreshVersion:Number(e?.a.minimalRefreshVersion??6),lastRefreshVersion:Number(e?.a.lastRefreshVersion??6),pivotCacheId:Number(e?.a.pivotCacheId??0),filterType:e?.a.filterType??"unknown",filterId:e?.a.filterId!==void 0?Number(e.a.filterId):null,filterTabId:e?.a.filterTabId!==void 0?Number(e.a.filterTabId):null,filterPivotName:e?.a.filterPivotName??null,selection:n("selection"),bounds:n("bounds")}}function q(t){const i=p(t);return v(i,"timeline").map(e=>({name:e.a.name,uid:e.a["xr10:uid"]??null,cache:e.a.cache,caption:e.a.caption??e.a.name,showHeader:f(e.a.showHeader,!0),showSelectionLabel:f(e.a.showSelectionLabel,!0),showTimeLevel:f(e.a.showTimeLevel,!0),showHorizontalScrollbar:f(e.a.showHorizontalScrollbar,!0),level:Number(e.a.level??2),selectionLevel:Number(e.a.selectionLevel??e.a.level??2),scrollPosition:e.a.scrollPosition??null,style:e.a.style??"TimeSlicerStyleLight1",extra:N(e.a,A)}))}function K(t){const i=p(t);for(const e of x(i,"extLst")?.c??[]){if(e.a.uri!==h.pivotCacheId)continue;const n=e.c.find(r=>$(r.n)==="pivotCacheDefinition");if(n?.a.pivotCacheId!==void 0)return Number(n.a.pivotCacheId)}return null}function U(t,i){const e=`<ext uri="${h.pivotCacheId}" xmlns:x14="${a.x14}"><x14:pivotCacheDefinition pivotCacheId="${i}"/></ext>`;return t.includes(h.pivotCacheId)?t.replace(/(<x14:pivotCacheDefinition\b[^>]*\bpivotCacheId=")\d+/,`$1${i}`):/<extLst>/.test(t)?t.replace(/<extLst>/,`<extLst>${e}`):t.replace("</pivotCacheDefinition>",`<extLst>${e}</extLst></pivotCacheDefinition>`)}import{isoToSerial as Y,serialToIso as Z}from"../pivot/xml.js";export{O as CT,h as EXT,a as NS,P as REL,b as XML_HEAD,M as frameXml,Y as isoToSerial,j as newDrawingXml,z as parseFrames,W as parseSlicerCacheXml,_ as parseSlicersXml,G as parseTimelineCacheXml,q as parseTimelinesXml,V as patchDrawingFrames,K as pivotCacheExtId,Z as serialToIso,U as setPivotCacheExtId,R as slicerCacheXml,k as slicersXml,B as tabPlaceholder,H as timelineCacheXml,X as timelinesXml};
|
|
1
|
+
import{parseNode as p}from"../pivot/xml.js";import{xmlAttr as A}from"../io/xml-escape.js";import{unescapeXstring as I}from"../io/xml-scan.js";const a={main:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",x14:"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main",x15:"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main",xr10:"http://schemas.microsoft.com/office/spreadsheetml/2016/revision10",xdr:"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing",a:"http://schemas.openxmlformats.org/drawingml/2006/main",a14:"http://schemas.microsoft.com/office/drawing/2010/main",sle:"http://schemas.microsoft.com/office/drawing/2010/slicer",sle15:"http://schemas.microsoft.com/office/drawing/2012/slicer",tsle:"http://schemas.microsoft.com/office/drawing/2012/timeslicer"},k={slicerCache:"http://schemas.microsoft.com/office/2007/relationships/slicerCache",slicer:"http://schemas.microsoft.com/office/2007/relationships/slicer",timelineCache:"http://schemas.microsoft.com/office/2011/relationships/timelineCache",timeline:"http://schemas.microsoft.com/office/2011/relationships/timeline",drawing:`${a.r}/drawing`},H={slicerCache:"application/vnd.ms-excel.slicerCache+xml",slicer:"application/vnd.ms-excel.slicer+xml",timelineCache:"application/vnd.ms-excel.timelineCache+xml",timeline:"application/vnd.ms-excel.timeline+xml",drawing:"application/vnd.openxmlformats-officedocument.drawing+xml"},h={wbPivotSlicerCaches:"{BBE1A952-AA13-448e-AADC-164F8A28A991}",wbTableSlicerCaches:"{46BE6895-7355-4a93-B00E-2C351335B9C9}",wbTimelineCaches:"{D0CA8CA8-9F24-4464-BF8E-62219DCF47F9}",wsPivotSlicers:"{A8765BA9-456A-4dab-B4F3-ACF838C121DE}",wsTableSlicers:"{3A4CF648-6AED-40f4-86FF-DC5316D8AED3}",wsTimelines:"{7E03D99C-DC04-49d9-9315-930204A7B6E9}",tableSlicerCache:"{2F2917AC-EB37-4324-AD4E-5DD8C200BD13}",hideNoData:"{470722E0-AACD-4C17-9CDC-17EF765DBC7E}",pivotCacheId:"{725AE2AE-9491-48be-B2B4-4EB974FC3084}",slicerStyles:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}",timelineStyles:"{9260A510-F301-46a8-8635-F512D64BE5F5}"},X=t=>`@@TAB${t}@@`,b=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
2
|
+
`,C=A,u=t=>Object.entries(t).filter(([,i])=>i!=null).map(([i,e])=>` ${i}="${C(e)}"`).join(""),f=(t,i)=>t?.c?.find(e=>e.n===i)??null,v=(t,i)=>t?t.c.filter(e=>e.n===i):[],$=t=>t.slice(t.indexOf(":")+1),x=(t,i)=>t===void 0?i:t==="1"||t==="true";function M(t){const i=u({name:t.name,"xr10:uid":t.uid??void 0,sourceName:t.sourceName,...t.extra??{}}),e=`${b}<slicerCacheDefinition xmlns="${a.x14}" xmlns:mc="${a.mc}" mc:Ignorable="x xr10" xmlns:x="${a.main}" xmlns:xr10="${a.xr10}"${i}>`,n={sortOrder:t.sortOrder&&t.sortOrder!=="ascending"?t.sortOrder:void 0,customListSort:t.customListSort===!1?"0":void 0,crossFilter:t.crossFilter&&t.crossFilter!=="showItemsWithDataAtTop"?t.crossFilter:void 0},r=[];let o="";if(t.kind==="table")r.push(`<x:ext uri="${h.tableSlicerCache}" xmlns:x15="${a.x15}"><x15:tableSlicerCache${u({tableId:t.tableId,column:t.column,...n})}/></x:ext>`);else{const l=(t.pivotTables??[]).map(c=>`<pivotTable${u({tabId:c.tabId,name:c.name})}/>`).join("");o+=`<pivotTables>${l}</pivotTables>`;const m=(t.items??[]).map(c=>`<i${u({x:c.x,s:c.s?"1":void 0,nd:c.nd?"1":void 0})}/>`).join(""),s={pivotCacheId:t.pivotCacheId,...n,showMissing:t.showMissing===!1?"0":void 0};o+=`<data><tabular${u(s)}><items count="${(t.items??[]).length}">${m}</items></tabular></data>`}t.hideNoData&&r.push(`<x:ext uri="${h.hideNoData}" xmlns:x15="${a.x15}"><x15:slicerCacheHideItemsWithNoData/></x:ext>`);for(const l of t.rawExt??[])r.push(l);return`${e}${o}${r.length?`<extLst>${r.join("")}</extLst>`:""}</slicerCacheDefinition>`}function j(t){const i=e=>{const n={name:e.name,"xr10:uid":e.uid??void 0,cache:e.cache,caption:e.caption,startItem:e.startItem?e.startItem:void 0,columnCount:e.columnCount&&e.columnCount!==1?e.columnCount:void 0,showCaption:e.showCaption===!1?"0":void 0,level:e.level?e.level:void 0,style:e.style&&e.style!=="SlicerStyleLight1"?e.style:void 0,lockedPosition:e.lockedPosition?"1":void 0,rowHeight:e.rowHeight??241300,...e.extra??{}};return`<slicer${u(n)}/>`};return`${b}<slicers xmlns="${a.x14}" xmlns:mc="${a.mc}" mc:Ignorable="x xr10" xmlns:x="${a.main}" xmlns:xr10="${a.xr10}">${t.map(i).join("")}</slicers>`}function z(t){const i=(t.pivotTables??[]).map(r=>`<pivotTable${u({tabId:r.tabId,name:r.name})}/>`).join(""),e=(r,o)=>o?`<${r}${u({startDate:o.start,endDate:o.end})}/>`:"",n=u({singleRangeFilterState:t.singleRange===!1?"0":void 0,minimalRefreshVersion:t.minimalRefreshVersion??6,lastRefreshVersion:t.lastRefreshVersion??6,pivotCacheId:t.pivotCacheId,filterType:t.selection?"dateBetween":"unknown",filterId:t.selection?t.filterId:void 0,filterTabId:t.selection?t.filterTabId:void 0,filterPivotName:t.selection?t.filterPivotName:void 0});return`${b}<timelineCacheDefinition xmlns="${a.x15}" xmlns:x15="${a.x15}" xmlns:mc="${a.mc}" mc:Ignorable="xr10" xmlns:xr10="${a.xr10}"${u({name:t.name,"xr10:uid":t.uid??void 0,sourceName:t.sourceName,...t.extra??{}})}><pivotTables>${i}</pivotTables><state${n}>${e("selection",t.selection)}${e("bounds",t.bounds)}</state></timelineCacheDefinition>`}function V(t){const i=e=>`<timeline${u({name:e.name,"xr10:uid":e.uid??void 0,cache:e.cache,caption:e.caption,showHeader:e.showHeader===!1?"0":void 0,showSelectionLabel:e.showSelectionLabel===!1?"0":void 0,showTimeLevel:e.showTimeLevel===!1?"0":void 0,showHorizontalScrollbar:e.showHorizontalScrollbar===!1?"0":void 0,level:e.level??2,selectionLevel:e.selectionLevel??e.level??2,scrollPosition:e.scrollPosition??void 0,style:e.style&&e.style!=="TimeSlicerStyleLight1"?e.style:void 0,...e.extra??{}})}/>`;return`${b}<timelines xmlns="${a.x15}" xmlns:mc="${a.mc}" mc:Ignorable="x xr10" xmlns:x="${a.main}" xmlns:xr10="${a.xr10}">${t.map(i).join("")}</timelines>`}const E={pivot:{choice:`xmlns:a14="${a.a14}" Requires="a14"`,uri:a.sle,inner:t=>`<sle:slicer xmlns:sle="${a.sle}" name="${C(t)}"/>`},table:{choice:`xmlns:sle15="${a.sle15}" Requires="sle15"`,uri:a.sle,inner:t=>`<sle:slicer xmlns:sle="${a.sle}" name="${C(t)}"/>`},timeline:{choice:`xmlns:tsle="${a.tsle}" Requires="tsle"`,uri:a.tsle,inner:t=>`<tsle:timeslicer xmlns:tsle="${a.tsle}" name="${C(t)}"/>`}},L={pivot:"This shape represents a slicer. Slicers are supported in Excel 2010 or later.",table:"This shape represents a table slicer. Table slicers are supported in Excel 2013 or later.",timeline:"Timeline: Works in Excel 2013 or higher. Do not move or resize."};function W({kind:t,name:i,id:e,from:n,to:r,cx:o=1828800,cy:l=2524125}){const m=E[t],s=(c,d)=>`<xdr:${c}><xdr:col>${d.col}</xdr:col><xdr:colOff>${d.colOff}</xdr:colOff><xdr:row>${d.row}</xdr:row><xdr:rowOff>${d.rowOff}</xdr:rowOff></xdr:${c}>`;return`<xdr:twoCellAnchor editAs="absolute">${s("from",n)}${s("to",r)}<mc:AlternateContent xmlns:mc="${a.mc}"><mc:Choice ${m.choice}><xdr:graphicFrame macro=""><xdr:nvGraphicFramePr><xdr:cNvPr id="${e}" name="${C(i)}"/><xdr:cNvGraphicFramePr/></xdr:nvGraphicFramePr><xdr:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/></xdr:xfrm><a:graphic><a:graphicData uri="${m.uri}">${m.inner(i)}</a:graphicData></a:graphic></xdr:graphicFrame></mc:Choice><mc:Fallback xmlns=""><xdr:sp macro="" textlink=""><xdr:nvSpPr><xdr:cNvPr id="0" name=""/><xdr:cNvSpPr><a:spLocks noTextEdit="1"/></xdr:cNvSpPr></xdr:nvSpPr><xdr:spPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="${o}" cy="${l}"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:prstClr val="white"/></a:solidFill><a:ln w="1"><a:solidFill><a:prstClr val="green"/></a:solidFill></a:ln></xdr:spPr><xdr:txBody><a:bodyPr vertOverflow="clip" horzOverflow="clip"/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" sz="1100"/><a:t>${L[t]}</a:t></a:r></a:p></xdr:txBody></xdr:sp></mc:Fallback></mc:AlternateContent><xdr:clientData/></xdr:twoCellAnchor>`}const _=t=>`${b}<xdr:wsDr xmlns:xdr="${a.xdr}" xmlns:a="${a.a}">${t}</xdr:wsDr>`,D=/<xdr:(twoCellAnchor|oneCellAnchor|absoluteAnchor)\b[\s\S]*?<\/xdr:\1>/g,S=/<(?:\w+:)?(slicer|timeslicer)\b[^>]*\bname="([^"]*)"/;function G(t){const i=[];for(const e of t.matchAll(D)){const n=e[0];if(!/drawing\/20(?:10|12)\/(?:time)?slicer/.test(n))continue;const r=S.exec(n);if(!r)continue;const o=m=>{const s=new RegExp(`<xdr:${m}>\\s*<xdr:col>(\\d+)</xdr:col>\\s*<xdr:colOff>(-?\\d+)</xdr:colOff>\\s*<xdr:row>(\\d+)</xdr:row>\\s*<xdr:rowOff>(-?\\d+)</xdr:rowOff>`).exec(n);return s?{col:Number(s[1]),colOff:Number(s[2]),row:Number(s[3]),rowOff:Number(s[4])}:null},l=(m,s,c)=>{const d=new RegExp(`<xdr:${m}\\b[^>]*>`).exec(n)?.[0];if(d===void 0)return null;const w=F=>Number(new RegExp(`\\b${F}="(-?\\d+)"`).exec(d)?.[1]),g=w(s),N=w(c);return Number.isFinite(g)&&Number.isFinite(N)?{[s]:g,[c]:N}:null};i.push({kind:r[1]==="timeslicer"?"timeline":/Requires="sle15"/.test(n)?"table":"pivot",name:I(r[2]),id:Number(/<xdr:cNvPr\b[^>]*\bid="(\d+)"/.exec(n)?.[1]??0),from:o("from"),to:o("to"),pos:e[1]==="absoluteAnchor"?l("pos","x","y"):null,ext:e[1]==="twoCellAnchor"?null:l("ext","cx","cy"),raw:n})}return i}function q(t,{upsert:i=[],remove:e=[]}){const n=new Map(i.map(s=>[s.name,s.xml])),r=new Set(e),o=new Set;let l=t.replace(D,s=>{if(!/drawing\/20(?:10|12)\/(?:time)?slicer/.test(s))return s;const c=S.exec(s);if(!c)return s;const d=I(c[2]);return r.has(d)?"":n.has(d)?(o.add(d),n.get(d)):s});const m=i.filter(s=>!o.has(s.name)).map(s=>s.xml).join("");return m&&(l=l.replace(/<\/(\w+:)?wsDr>\s*$/,s=>`${m}${s}`)),l}const y=new Set(["name","xr10:uid","cache","caption","startItem","columnCount","showCaption","level","style","lockedPosition","rowHeight"]),P=new Set(["name","xr10:uid","cache","caption","showHeader","showSelectionLabel","showTimeLevel","showHorizontalScrollbar","level","selectionLevel","scrollPosition","style"]),T=(t,i)=>{const e={};for(const[n,r]of Object.entries(t))!i.has(n)&&!n.startsWith("xmlns")&&n!=="mc:Ignorable"&&(e[n]=r);return e};function K(t){const i=p(t),e={name:i.a.name,sourceName:i.a.sourceName,uid:i.a["xr10:uid"]??null,kind:"pivot",sortOrder:"ascending",customListSort:!0,crossFilter:"showItemsWithDataAtTop",showMissing:!0,hideNoData:!1,pivotTables:[],items:[],pivotCacheId:null,tableId:null,column:null},n=o=>{o.sortOrder&&(e.sortOrder=o.sortOrder),e.customListSort=x(o.customListSort,!0),o.crossFilter&&(e.crossFilter=o.crossFilter)};for(const o of v(f(i,"pivotTables"),"pivotTable"))e.pivotTables.push({tabId:Number(o.a.tabId),name:o.a.name});const r=f(f(i,"data"),"tabular");if(r){e.pivotCacheId=Number(r.a.pivotCacheId),n(r.a),e.showMissing=x(r.a.showMissing,!0);for(const o of v(f(r,"items"),"i"))e.items.push({x:Number(o.a.x),s:x(o.a.s,!1),nd:x(o.a.nd,!1)})}for(const o of f(i,"extLst")?.c??[])if($(o.n)==="ext")if(o.a.uri===h.tableSlicerCache){const l=o.c.find(m=>$(m.n)==="tableSlicerCache");l&&(e.kind="table",e.tableId=Number(l.a.tableId),e.column=Number(l.a.column),n(l.a))}else o.a.uri===h.hideNoData&&(e.hideNoData=!0);return e}function U(t){const i=p(t);return v(i,"slicer").map(e=>({name:e.a.name,uid:e.a["xr10:uid"]??null,cache:e.a.cache,caption:e.a.caption??e.a.name,startItem:Number(e.a.startItem??0),columnCount:Number(e.a.columnCount??1),showCaption:x(e.a.showCaption,!0),level:Number(e.a.level??0),style:e.a.style??"SlicerStyleLight1",lockedPosition:x(e.a.lockedPosition,!1),rowHeight:Number(e.a.rowHeight??241300),extra:T(e.a,y)}))}function J(t){const i=p(t),e=f(i,"state"),n=r=>{const o=f(e,r);return o?{start:o.a.startDate,end:o.a.endDate}:null};return{name:i.a.name,sourceName:i.a.sourceName,uid:i.a["xr10:uid"]??null,pivotTables:v(f(i,"pivotTables"),"pivotTable").map(r=>({tabId:Number(r.a.tabId),name:r.a.name})),singleRange:x(e?.a.singleRangeFilterState,!0),minimalRefreshVersion:Number(e?.a.minimalRefreshVersion??6),lastRefreshVersion:Number(e?.a.lastRefreshVersion??6),pivotCacheId:Number(e?.a.pivotCacheId??0),filterType:e?.a.filterType??"unknown",filterId:e?.a.filterId!==void 0?Number(e.a.filterId):null,filterTabId:e?.a.filterTabId!==void 0?Number(e.a.filterTabId):null,filterPivotName:e?.a.filterPivotName??null,selection:n("selection"),bounds:n("bounds")}}function Q(t){const i=p(t);return v(i,"timeline").map(e=>({name:e.a.name,uid:e.a["xr10:uid"]??null,cache:e.a.cache,caption:e.a.caption??e.a.name,showHeader:x(e.a.showHeader,!0),showSelectionLabel:x(e.a.showSelectionLabel,!0),showTimeLevel:x(e.a.showTimeLevel,!0),showHorizontalScrollbar:x(e.a.showHorizontalScrollbar,!0),level:Number(e.a.level??2),selectionLevel:Number(e.a.selectionLevel??e.a.level??2),scrollPosition:e.a.scrollPosition??null,style:e.a.style??"TimeSlicerStyleLight1",extra:T(e.a,P)}))}function Y(t){const i=p(t);for(const e of f(i,"extLst")?.c??[]){if(e.a.uri!==h.pivotCacheId)continue;const n=e.c.find(r=>$(r.n)==="pivotCacheDefinition");if(n?.a.pivotCacheId!==void 0)return Number(n.a.pivotCacheId)}return null}function Z(t,i){const e=`<ext uri="${h.pivotCacheId}" xmlns:x14="${a.x14}"><x14:pivotCacheDefinition pivotCacheId="${i}"/></ext>`;return t.includes(h.pivotCacheId)?t.replace(/(<x14:pivotCacheDefinition\b[^>]*\bpivotCacheId=")\d+/,`$1${i}`):/<extLst>/.test(t)?t.replace(/<extLst>/,`<extLst>${e}`):t.replace("</pivotCacheDefinition>",`<extLst>${e}</extLst></pivotCacheDefinition>`)}import{isoToSerial as ie,serialToIso as oe}from"../pivot/xml.js";export{H as CT,h as EXT,a as NS,k as REL,b as XML_HEAD,W as frameXml,ie as isoToSerial,_ as newDrawingXml,G as parseFrames,K as parseSlicerCacheXml,U as parseSlicersXml,J as parseTimelineCacheXml,Q as parseTimelinesXml,q as patchDrawingFrames,Y as pivotCacheExtId,oe as serialToIso,Z as setPivotCacheExtId,M as slicerCacheXml,j as slicersXml,X as tabPlaceholder,z as timelineCacheXml,V as timelinesXml};
|
package/slicers/structured.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function C(t,h,r){const{r0:s,c0:a,r1:o,c1:e,headerRows:n,totalsRows:d,columns:A}=t,T=s+n,E=o-d;let f=h.slice(1,-1),g=!1;f.trimStart()[0]==="@"&&(g=!0,f=f.trimStart().slice(1));const L=[];if(f.trim()!=="")if(f.trimStart()[0]==="["){const c=/\[((?:[^\]']|'.)*)\]/g;let l;for(;(l=c.exec(f))!==null;)L.push(l[1].replace(/'(.)/g,"$1"))}else L.push(f.replace(/'(.)/g,"$1"));const u=new Set,p=[];for(const c of L){const l=c.toUpperCase(),i=l.trim();if(i==="#ALL"||i==="#DATA"||i==="#HEADERS"||i==="#TOTALS"||i==="#THIS ROW"){u.add(i),i==="#THIS ROW"&&(g=!0);continue}let R=A.findIndex(w=>w.toUpperCase()===l);if(R<0&&(R=A.findIndex(w=>w.toUpperCase()===i)),R<0)return"REF";p.push(a+R)}let m=T,S=E;if(u.has("#ALL"))m=s,S=o;else{const c=u.has("#HEADERS"),l=u.has("#TOTALS"),i=u.has("#DATA");if(c&&n===0||l&&d===0||c&&l&&!i)return"REF";(c||l||i)&&(m=c?s:i?T:o,S=l?o:i?E:s)}const U=p.length?Math.min(...p):a,b=p.length?Math.max(...p):e;if(g){if(r<T||r>E)return"VALUE";m=r,S=r}return{top:m,left:U,bottom:S,right:b}}function D(t,h){if(!h||h.size===0)return t;let r="",s=0;const a=t.length;for(;s<a;){const o=t[s];if(o==='"'||o==="'"){let e=s+1;for(;e<a;){if(t[e]===o){if(t[e+1]!==o)break;e++}e++}r+=t.slice(s,e+1),s=e+1}else if(o==="["){let e=0,n=s;for(;n<a;n++)if(t[n]==="'")n++;else if(t[n]==="[")e++;else if(t[n]==="]"&&--e===0)break;r+=t.slice(s,n+1),s=n+1}else if(/[A-Za-z_\\]/.test(o)){let e=s+1;for(;e<a&&/[A-Za-z0-9_.\\]/.test(t[e]);)e++;const n=t.slice(s,e),d=r[r.length-1],A=h.has(n.toUpperCase())&&t[e]!=="["&&t[e]!=="("&&t[e]!=="!"&&d!=="!";r+=A?`${n}[]`:n,s=e}else r+=o,s++}return r}export{D as expandBareTables,C as resolveStructuredSpec};
|
package/table-view/labels-de.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e={"Autosize column":"Spaltenbreite anpassen","Drag to resize, double-click to fit":"Zum Ändern der Breite ziehen, zum Anpassen doppelklicken",Dismiss:"Hinweis schließen","Filter row":"Filterzeile","Clear column filters":"Spaltenfilter löschen","Greater than or equal":"Größer oder gleich","Less than or equal":"Kleiner oder gleich","Open a row with its arrow to see the order lines. One order opens at a time and scrolls with the records.":"Öffnen Sie eine Zeile mit ihrem Pfeil, um die Bestellpositionen zu sehen. Es ist jeweils eine Bestellung geöffnet, die mit den Datensätzen mitscrollt.","Tick rows, or the header box for every match. Drag across cells and press Ctrl+C to copy them. Export offers the selected rows.":"Aktivieren Sie Zeilen oder das Kästchen in der Kopfzeile für alle Treffer. Ziehen Sie über Zellen und drücken Sie Ctrl+C, um sie zu kopieren. Beim Exportieren werden die ausgewählten Zeilen angeboten.",Quantity:"Menge",Price:"Preis",Amount:"Betrag",Total:"Gesamt","Order lines":"Bestellpositionen","Order no.":"Bestell-Nr.",Product:"Produkt","Expand details":"Details erweitern","Collapse details":"Details reduzieren","Conditional formatting":"Bedingte Formatierung","Data bar":"Datenbalken","Colour scale":"Farbskala","Green fill":"Grüne Füllung","Red fill":"Rote Füllung","Amber fill":"Gelbe Füllung","Blue fill":"Blaue Füllung","Bold text":"Fetter Text",Custom:"Benutzerdefiniert","No rules":"Keine Regeln",Style:"Stil",Rule:"Regel","Add rule":"Regel hinzufügen","Clear rules":"Regeln löschen","Drag a header edge to resize it and double-click to fit, drag a header to move it. Bars, colour scales and the totals row cover every matching record.":"Ziehen Sie den Rand einer Spaltenüberschrift, um die Breite zu ändern, doppelklicken Sie, um sie anzupassen, und ziehen Sie eine Überschrift, um die Spalte zu verschieben. Balken, Farbskalen und die Summenzeile umfassen alle passenden Datensätze.",Totals:"Summen","No total":"Keine Summe","Select all matching records":"Alle passenden Datensätze auswählen","Select record":"Datensatz auswählen",selected:"ausgewählt","All matching selected":"Alle Treffer ausgewählt","All matching selected except":"Alle Treffer ausgewählt außer","Clear selection":"Auswahl aufheben","All matching records":"Alle passenden Datensätze","Selected records":"Ausgewählte Datensätze",Records:"Datensätze","Select records to export first.":"Wählen Sie zuerst die zu exportierenden Datensätze aus.","This source cannot export selected records.":"Diese Quelle kann ausgewählte Datensätze nicht exportieren.","Row selection is off for this table.":"Die Zeilenauswahl ist für diese Tabelle deaktiviert.","Wait for the records to load.":"Warten Sie, bis die Datensätze geladen sind.","Search “East”, open a column menu to sort, filter, group or pin, and select cells to see their sum.":"Suchen Sie nach “East”, öffnen Sie ein Spaltenmenü, um zu sortieren, zu filtern, zu gruppieren oder anzuheften, und wählen Sie Zellen aus, um ihre Summe zu sehen.","One million orders generated off the main thread. Type “>30” under Units or a name under Customer, sort or group: the work runs in a Worker.":"Eine Million Bestellungen, außerhalb des Hauptthreads erzeugt. Geben Sie “>30” unter Units oder einen Namen unter Customer ein, sortieren oder gruppieren Sie: Die Arbeit läuft in einem Worker.","Rows arrive in blocks of 100 from a simulated server with 150–400 ms latency and an unknown total. Scroll quickly, then sort or search.":"Zeilen kommen in Blöcken zu 100 von einem simulierten Server mit 150–400 ms Latenz und unbekannter Gesamtzahl. Scrollen Sie schnell, dann sortieren oder suchen Sie.","An editable copy: double-click a cell or press Enter to edit, Ctrl+Z to undo. Units must be a whole number from 1 to 500.":"Eine bearbeitbare Kopie: Doppelklicken Sie auf eine Zelle oder drücken Sie Enter zum Bearbeiten, Ctrl+Z zum Rückgängigmachen. Units muss eine ganze Zahl von 1 bis 500 sein.","The sales records as a pivot by region and product, with its chart. Choose Back to records to return.":"Die Verkaufsdatensätze als Pivot-Tabelle nach Region und Produkt, mit Diagramm. Wählen Sie Zurück zu den Datensätzen, um zurückzukehren.","Choose East, West, North or South.":"Wählen Sie East, West, North oder South.","Units must be a whole number from 1 to 500.":"Units muss eine ganze Zahl von 1 bis 500 sein.","Shift-click to sort by another column":"Shift+Klick, um nach einer weiteren Spalte zu sortieren","Selected cells":"Ausgewählte Zellen","System theme":"Systemdesign","Light theme":"Helles Design","Dark theme":"Dunkles Design","Custom theme":"Benutzerdefiniertes Design",Theme:"Design","Column menu":"Spaltenmenü","Sort ascending":"Aufsteigend sortieren","Sort descending":"Absteigend sortieren","Clear sort":"Sortierung löschen","Hide column":"Spalte ausblenden","is one of":"ist eines von","Clear all":"Alle löschen",Unpin:"Lösen",Ungroup:"Gruppierung aufheben","The data changed. Reopen the record before editing.":"Die Daten haben sich geändert. Öffnen Sie den Datensatz vor dem Bearbeiten erneut.",Rows:"Zeilen",Chart:"Diagramm",Pivot:"Pivot-Tabelle","Back to records":"Zurück zu den Datensätzen","Top 20 by absolute value":"Top 20 nach Absolutwert","Choose different row and column fields.":"Wählen Sie unterschiedliche Zeilen- und Spaltenfelder.","Pick values":"Werte auswählen","No values":"Keine Werte","Back to workbook":"Zurück zur Arbeitsmappe","Read columns as text":"Spalten als Text lesen",Delimiter:"Trennzeichen",Automatic:"Automatisch","Reimport CSV":"CSV erneut importieren","Add record":"Datensatz hinzufügen","Remove record":"Datensatz entfernen",Width:"Breite",Share:"Teilen","Share link":"Freigabelink","Copy link":"Link kopieren","Revoke link":"Link widerrufen","Publish filtered copy":"Gefilterte Kopie veröffentlichen","Prepare file":"Datei vorbereiten","This share link has expired or was revoked.":"Dieser Freigabelink ist abgelaufen oder wurde widerrufen.",Pages:"Seiten",Scroll:"Bildlauf","Table view":"Tabellenansicht","Open file":"Datei öffnen","Open workbook":"Arbeitsmappe öffnen","Sales example":"Verkaufsbeispiel","Open a table":"Tabelle öffnen","Choose a CSV or Excel file to explore its records.":"Wählen Sie eine CSV- oder Excel-Datei, um ihre Datensätze zu durchsuchen.","Search records":"Datensätze durchsuchen",Filter:"Filter",Group:"Gruppieren",Columns:"Spalten",Views:"Ansichten",Export:"Exportieren",Sort:"Sortieren",Apply:"Übernehmen",Cancel:"Abbrechen",Close:"Schließen",Field:"Feld",Condition:"Bedingung",Value:"Wert",Contains:"Enthält",Equals:"Ist gleich","Greater than":"Größer als","Less than":"Kleiner als","Is blank":"Ist leer","Starts with":"Beginnt mit","Not equal":"Ist nicht gleich",Between:"Zwischen","Second value":"Zweiter Wert","Is not blank":"Ist nicht leer",Ascending:"Aufsteigend",Descending:"Absteigend",Remove:"Entfernen","Reset view":"Ansicht zurücksetzen",None:"Keine",Summary:"Zusammenfassung",Sum:"Summe",Average:"Mittelwert",Minimum:"Minimum",Maximum:"Maximum",Count:"Anzahl",Distinct:"Eindeutige Anzahl",Visible:"Sichtbar",Pin:"Anheften","Move up":"Nach oben","Move down":"Nach unten","Save view":"Ansicht speichern","View name":"Ansichtsname",Restore:"Wiederherstellen","Record details":"Datensatzdetails",Details:"Details",Previous:"Zurück",Next:"Weiter",Page:"Seite",of:"von",records:"Datensätzen","Export results":"Ergebnisse exportieren","No matching records":"Keine passenden Datensätze","Clear filters":"Filter löschen","Loading…":"Wird geladen…","A new version of 8sheets is ready.":"Eine neue Version von 8sheets ist verfügbar.",Reload:"Neu laden",Later:"Später","Reload and lose your unsaved edits?":"Neu laden und nicht gespeicherte Änderungen verlieren?","8sheets was updated in another tab. Save your work, then reload to use the new version.":"8sheets wurde in einem anderen Tab aktualisiert. Speichern Sie Ihre Arbeit und laden Sie dann neu, um die neue Version zu verwenden.",Opening:"Wird geöffnet:","Preparing records":"Datensätze werden vorbereitet","Loading records":"Datensätze werden geladen","Building pivot":"Pivot-Tabelle wird erstellt","Generating records":"Datensätze werden generiert","Records read":"Gelesene Datensätze","Cancelling…":"Wird abgebrochen…","Loading cancelled.":"Laden abgebrochen.",Loaded:"Geladen","No data":"Keine Daten",Table:"Tabelle",Source:"Quelle",Range:"Bereich","First row contains headers":"Erste Zeile enthält Überschriften","Edit copy":"Kopie bearbeiten","Editing copy":"Kopie wird bearbeitet","Save changes":"Änderungen speichern",Undo:"Rückgängig",Redo:"Wiederholen","Calculated field":"Berechnetes Feld",Formula:"Formel",Name:"Name",Add:"Hinzufügen","Group by":"Gruppieren nach","Sort by":"Sortieren nach","Add group":"Gruppe hinzufügen","Add sort":"Sortierung hinzufügen",Order:"Reihenfolge","Use Tab to separate fields and a new line for each record.":"Trennen Sie Felder mit Tab und jeden Datensatz mit einer neuen Zeile.","Paste rows":"Zeilen einfügen","Starting field":"Startfeld","Changes live in this copy until exported.":"Änderungen bleiben bis zum Export in dieser Kopie.","Choose at least one visible column.":"Wählen Sie mindestens eine sichtbare Spalte.","No saved views":"Keine gespeicherten Ansichten","Rows per page":"Zeilen pro Seite","Choose source":"Quelle auswählen",Format:"Format","Copy row":"Zeile kopieren",Copied:"Kopiert",Download:"Herunterladen","Local file":"Lokale Datei","View settings":"Ansichtseinstellungen","Saved views":"Gespeicherte Ansichten","Paste exceeds the available records or columns.":"Die eingefügten Daten überschreiten die verfügbaren Datensätze oder Spalten.","Editing is disabled for this view.":"Die Bearbeitung ist für diese Ansicht deaktiviert.","Save or discard your local edits before replacing this table. Continue?":"Speichern oder verwerfen Sie Ihre lokalen Änderungen, bevor Sie diese Tabelle ersetzen. Fortfahren?","Select a value":"Wert auswählen","No table loaded":"Keine Tabelle geladen",Filters:"Filter",Print:"Drucken","Fill down":"Nach unten ausfüllen","Number of records":"Anzahl der Datensätze","Original workbook":"Ursprüngliche Arbeitsmappe",Edit:"Bearbeiten",Reset:"Zurücksetzen",Saved:"Gespeichert","Choose a range inside the source.":"Wählen Sie einen Bereich innerhalb der Quelle.","Choose an unused column name and a formula.":"Wählen Sie einen nicht verwendeten Spaltennamen und eine Formel.","This view is read-only.":"Diese Ansicht ist schreibgeschützt.","This file contains no visible data.":"Diese Datei enthält keine sichtbaren Daten.","This field is read-only.":"Dieses Feld ist schreibgeschützt.","Field unavailable.":"Feld nicht verfügbar.","Record unavailable.":"Datensatz nicht verfügbar.","Invalid column.":"Ungültige Spalte.","This source is read-only.":"Diese Quelle ist schreibgeschützt.","This field or record is read-only.":"Dieses Feld oder dieser Datensatz ist schreibgeschützt.","Use the record editor for this source.":"Verwenden Sie für diese Quelle den Datensatz-Editor.","The selection changed. Open Table view again.":"Die Auswahl hat sich geändert. Öffnen Sie die Tabellenansicht erneut.","The result exceeds the XLSX row limit or the format is unsupported.":"Das Ergebnis überschreitet das XLSX-Zeilenlimit, oder das Format wird nicht unterstützt.","The pivot exceeds the worksheet dimensions.":"Die Pivot-Tabelle überschreitet die Abmessungen des Arbeitsblatts.","File sharing is unavailable on this device.":"Dateifreigabe ist auf diesem Gerät nicht verfügbar.","Allow opening the workbook in a new tab.":"Erlauben Sie das Öffnen der Arbeitsmappe in einem neuen Tab.","The example could not be opened.":"Das Beispiel konnte nicht geöffnet werden.","Invalid snapshot address.":"Ungültige Snapshot-Adresse.","Invalid table response.":"Ungültige Tabellenantwort.","Table view closed.":"Tabellenansicht geschlossen.","Add condition":"Bedingung hinzufügen","Add value":"Wert hinzufügen",Ask:"Fragen","Ask for a view in your own words":"Beschreiben Sie die gewünschte Ansicht in eigenen Worten","Chart the selected cells":"Diagramm aus ausgewählten Zellen","Chart type":"Diagrammtyp","Close find":"Suche schließen",Column:"Säule","Column name":"Spaltenname",Comfortable:"Komfortabel",Compact:"Kompakt","Copy with headings":"Mit Überschriften kopieren","Done.":"Fertig.","Download SVG":"SVG herunterladen","Draw the numbers in the cell, or the values of these fields:":"Zahlen aus der Zelle oder die Werte dieser Felder darstellen:","Each record goes under the record whose key its parent field holds. Or give a field with an outline level instead.":"Jeder Datensatz wird unter dem Datensatz eingeordnet, dessen Schlüssel in seinem übergeordneten Feld steht. Oder geben Sie stattdessen ein Feld mit einer Gliederungsebene an.",Find:"Suchen","Find in cells":"In Zellen suchen","For example: revenue by region for 2026, largest first":"Zum Beispiel: Umsatz nach Region für 2026, größter zuerst",Hide:"Ausblenden","Hide blanks":"Leere ausblenden",Index:"Index",Join:"Verknüpfung","Keep the layout: groups, totals, widths and formatting":"Layout beibehalten: Gruppen, Summen, Breiten und Formatierung","Key field":"Schlüsselfeld","Level field":"Ebenenfeld",Line:"Linie","Match all conditions":"Alle Bedingungen erfüllen","Match any condition":"Eine beliebige Bedingung erfüllen","Next match":"Nächster Treffer","No calculation":"Keine Berechnung",Normal:"Normal","% of column total":"% des Spaltengesamtergebnisses","% of grand total":"% des Gesamtergebnisses","% of row total":"% des Zeilengesamtergebnisses","Parent field":"Übergeordnetes Feld",Paste:"Einfügen","Pin row to bottom":"Zeile unten anheften","Pin row to top":"Zeile oben anheften","Previous match":"Vorheriger Treffer","Rank, largest first":"Rangfolge, größter zuerst","Rank, smallest first":"Rangfolge, kleinster zuerst","Remove condition":"Bedingung entfernen","Remove group":"Gruppe entfernen","Rename column":"Spalte umbenennen","Row height":"Zeilenhöhe","Running total":"Laufende Summe",Search:"Suchen","Show as tree":"Als Baumstruktur anzeigen","Show only":"Nur anzeigen","Show only blanks":"Nur leere anzeigen","Show records that":"Datensätze anzeigen, die","Show values as":"Werte anzeigen als",Sparkline:"Sparkline","Then by":"Dann nach","Thinking…":"Denke nach…",Type:"Typ","Unpin row":"Zeile lösen",Values:"Werte","Win/loss":"Gewinn/Verlust",Tree:"Baumstruktur",Pinned:"Angeheftet",row:"Zeile",rows:"Zeilen","any of":"mindestens eine","all of":"alle","is none of":"ist keines von",Copy:"Kopieren","Copy cells":"Zellen kopieren",Expand:"Erweitern",Collapse:"Reduzieren","Remove records":"Datensätze entfernen","Show as tree…":"Als Baumstruktur anzeigen…","Drop here to group by this column":"Hier ablegen, um nach dieser Spalte zu gruppieren","Drag to move":"Zum Verschieben ziehen","Move record":"Datensatz verschieben","Drag to fill":"Zum Ausfüllen ziehen","No matches":"Keine Treffer",matches:"Treffer","Choose a value from the list.":"Wählen Sie einen Wert aus der Liste.",OK:"OK",Bar:"Balken",Pie:"Kreis","Clear the sort and the groups to move records.":"Heben Sie Sortierung und Gruppen auf, um Datensätze zu verschieben.","Unpin the rows before moving them.":"Lösen Sie die Zeilen, bevor Sie sie verschieben.","Remove sparkline":"Sparkline entfernen","Remove tree":"Baumstruktur entfernen","Choose the key field and the parent field.":"Wählen Sie das Schlüsselfeld und das übergeordnete Feld.","The answer could not be applied.":"Die Antwort konnte nicht angewendet werden.","Choose a row field and a value.":"Wählen Sie ein Zeilenfeld und einen Wert.","Select cells with numbers to chart them.":"Wählen Sie Zellen mit Zahlen aus, um ein Diagramm zu erstellen.","A tree needs a parent field, or a level field.":"Eine Baumstruktur benötigt ein übergeordnetes Feld oder ein Ebenenfeld.","A tree needs a key field that its parent field refers to.":"Eine Baumstruktur benötigt ein Schlüsselfeld, auf das ihr übergeordnetes Feld verweist.","Find needs local records; search the server source instead.":"Suchen erfordert lokale Datensätze; durchsuchen Sie stattdessen die Serverquelle.","This source cannot pin rows.":"Diese Quelle kann keine Zeilen anheften.","Asking needs the assistant option.":"Fragen erfordert die Option assistant.","Select cells first.":"Wählen Sie zuerst Zellen aus.",'Pin rows to "top" or "bottom".':'Heften Sie Zeilen an "top" oder "bottom" an.',"The records are not shown as a tree.":"Die Datensätze werden nicht als Baumstruktur angezeigt.","Does not contain":"Enthält nicht","Ends with":"Endet mit","Not between":"Nicht zwischen",Top:"Obere",Bottom:"Untere","Above average":"Über dem Durchschnitt","Below average":"Unter dem Durchschnitt",Today:"Heute",Yesterday:"Gestern",Tomorrow:"Morgen","This week":"Diese Woche","This month":"Dieser Monat","Last month":"Letzter Monat","This year":"Dieses Jahr","Last year":"Letztes Jahr","A company as a tree: open and close managers with their arrows. Salaries roll up to each manager. Edit an office from its list, a start date in the picker, skills as several choices.":"Ein Unternehmen als Baumstruktur: Öffnen und schließen Sie Vorgesetzte mit ihren Pfeilen. Gehälter werden bei jedem Vorgesetzten summiert. Wählen Sie ein Büro aus seiner Liste, ein Startdatum in der Datumsauswahl und Fähigkeiten als Mehrfachauswahl.","Prices change twice a second and the changed cells flash. Right-click a cell for its menu, drag a row by its grip, pin a row to the top, or press Ctrl+F to find a product.":"Die Preise ändern sich zweimal pro Sekunde, und geänderte Zellen blinken auf. Klicken Sie mit der rechten Maustaste auf eine Zelle für ihr Menü, ziehen Sie eine Zeile an ihrem Griff, heften Sie eine Zeile oben an oder drücken Sie Ctrl+F, um ein Produkt zu suchen.","Also kept":"Bleiben ebenfalls"};export{e as default};
|
|
1
|
+
var e={"Autosize column":"Spaltenbreite anpassen","Drag to resize, double-click to fit":"Zum Ändern der Breite ziehen, zum Anpassen doppelklicken",Dismiss:"Hinweis schließen","Filter row":"Filterzeile","Clear column filters":"Spaltenfilter löschen","Greater than or equal":"Größer oder gleich","Less than or equal":"Kleiner oder gleich","Open a row with its arrow to see the order lines. One order opens at a time and scrolls with the records.":"Öffnen Sie eine Zeile mit ihrem Pfeil, um die Bestellpositionen zu sehen. Es ist jeweils eine Bestellung geöffnet, die mit den Datensätzen mitscrollt.","Tick rows, or the header box for every match. Drag across cells and press Ctrl+C to copy them. Export offers the selected rows.":"Aktivieren Sie Zeilen oder das Kästchen in der Kopfzeile für alle Treffer. Ziehen Sie über Zellen und drücken Sie Ctrl+C, um sie zu kopieren. Beim Exportieren werden die ausgewählten Zeilen angeboten.",Quantity:"Menge",Price:"Preis",Amount:"Betrag",Total:"Gesamt","Order lines":"Bestellpositionen","Order no.":"Bestell-Nr.",Product:"Produkt","Expand details":"Details erweitern","Collapse details":"Details reduzieren","Conditional formatting":"Bedingte Formatierung","Data bar":"Datenbalken","Colour scale":"Farbskala","Green fill":"Grüne Füllung","Red fill":"Rote Füllung","Amber fill":"Gelbe Füllung","Blue fill":"Blaue Füllung","Bold text":"Fetter Text",Custom:"Benutzerdefiniert","No rules":"Keine Regeln",Style:"Stil",Rule:"Regel","Add rule":"Regel hinzufügen","Clear rules":"Regeln löschen","Drag a header edge to resize it and double-click to fit, drag a header to move it. Bars, colour scales and the totals row cover every matching record.":"Ziehen Sie den Rand einer Spaltenüberschrift, um die Breite zu ändern, doppelklicken Sie, um sie anzupassen, und ziehen Sie eine Überschrift, um die Spalte zu verschieben. Balken, Farbskalen und die Summenzeile umfassen alle passenden Datensätze.",Totals:"Summen","No total":"Keine Summe","Select all matching records":"Alle passenden Datensätze auswählen","Select record":"Datensatz auswählen",selected:"ausgewählt","All matching selected":"Alle Treffer ausgewählt","All matching selected except":"Alle Treffer ausgewählt außer","Clear selection":"Auswahl aufheben","All matching records":"Alle passenden Datensätze","Selected records":"Ausgewählte Datensätze",Records:"Datensätze","Select records to export first.":"Wählen Sie zuerst die zu exportierenden Datensätze aus.","This source cannot export selected records.":"Diese Quelle kann ausgewählte Datensätze nicht exportieren.","Row selection is off for this table.":"Die Zeilenauswahl ist für diese Tabelle deaktiviert.","Wait for the records to load.":"Warten Sie, bis die Datensätze geladen sind.","Search “East”, open a column menu to sort, filter, group or pin, and select cells to see their sum.":"Suchen Sie nach “East”, öffnen Sie ein Spaltenmenü, um zu sortieren, zu filtern, zu gruppieren oder anzuheften, und wählen Sie Zellen aus, um ihre Summe zu sehen.","One million orders generated off the main thread. Type “>30” under Units or a name under Customer, sort or group: the work runs in a Worker.":"Eine Million Bestellungen, außerhalb des Hauptthreads erzeugt. Geben Sie “>30” unter Units oder einen Namen unter Customer ein, sortieren oder gruppieren Sie: Die Arbeit läuft in einem Worker.","Rows arrive in blocks of 100 from a simulated server with 150–400 ms latency and an unknown total. Scroll quickly, then sort or search.":"Zeilen kommen in Blöcken zu 100 von einem simulierten Server mit 150–400 ms Latenz und unbekannter Gesamtzahl. Scrollen Sie schnell, dann sortieren oder suchen Sie.","An editable copy: double-click a cell or press Enter to edit, Ctrl+Z to undo. Units must be a whole number from 1 to 500.":"Eine bearbeitbare Kopie: Doppelklicken Sie auf eine Zelle oder drücken Sie Enter zum Bearbeiten, Ctrl+Z zum Rückgängigmachen. Units muss eine ganze Zahl von 1 bis 500 sein.","Choose East, West, North or South.":"Wählen Sie East, West, North oder South.","Units must be a whole number from 1 to 500.":"Units muss eine ganze Zahl von 1 bis 500 sein.","Shift-click to sort by another column":"Shift+Klick, um nach einer weiteren Spalte zu sortieren","Selected cells":"Ausgewählte Zellen","System theme":"Systemdesign","Light theme":"Helles Design","Dark theme":"Dunkles Design","Custom theme":"Benutzerdefiniertes Design",Theme:"Design","Column menu":"Spaltenmenü","Sort ascending":"Aufsteigend sortieren","Sort descending":"Absteigend sortieren","Clear sort":"Sortierung löschen","Hide column":"Spalte ausblenden","is one of":"ist eines von","Clear all":"Alle löschen",Unpin:"Lösen",Ungroup:"Gruppierung aufheben","The data changed. Reopen the record before editing.":"Die Daten haben sich geändert. Öffnen Sie den Datensatz vor dem Bearbeiten erneut.",Rows:"Zeilen",Chart:"Diagramm",Pivot:"Pivot-Tabelle","Back to records":"Zurück zu den Datensätzen","Top 20 by absolute value":"Top 20 nach Absolutwert","Choose different row and column fields.":"Wählen Sie unterschiedliche Zeilen- und Spaltenfelder.","Pick values":"Werte auswählen","No values":"Keine Werte","Back to workbook":"Zurück zur Arbeitsmappe","Read columns as text":"Spalten als Text lesen",Delimiter:"Trennzeichen",Automatic:"Automatisch","Reimport CSV":"CSV erneut importieren","Add record":"Datensatz hinzufügen","Remove record":"Datensatz entfernen",Width:"Breite",Share:"Teilen","Share link":"Freigabelink","Copy link":"Link kopieren","Revoke link":"Link widerrufen","Publish filtered copy":"Gefilterte Kopie veröffentlichen","Prepare file":"Datei vorbereiten","This share link has expired or was revoked.":"Dieser Freigabelink ist abgelaufen oder wurde widerrufen.",Pages:"Seiten",Scroll:"Bildlauf","Table view":"Tabellenansicht","Open file":"Datei öffnen","Open workbook":"Arbeitsmappe öffnen","Sales example":"Verkaufsbeispiel","Open a table":"Tabelle öffnen","Choose a CSV or Excel file to explore its records.":"Wählen Sie eine CSV- oder Excel-Datei, um ihre Datensätze zu durchsuchen.","Search records":"Datensätze durchsuchen",Filter:"Filter",Group:"Gruppieren",Columns:"Spalten",Views:"Ansichten",Export:"Exportieren",Sort:"Sortieren",Apply:"Übernehmen",Cancel:"Abbrechen",Close:"Schließen",Field:"Feld",Condition:"Bedingung",Value:"Wert",Contains:"Enthält",Equals:"Ist gleich","Greater than":"Größer als","Less than":"Kleiner als","Is blank":"Ist leer","Starts with":"Beginnt mit","Not equal":"Ist nicht gleich",Between:"Zwischen","Second value":"Zweiter Wert","Is not blank":"Ist nicht leer",Ascending:"Aufsteigend",Descending:"Absteigend",Remove:"Entfernen","Reset view":"Ansicht zurücksetzen",None:"Keine",Summary:"Zusammenfassung",Sum:"Summe",Average:"Mittelwert",Minimum:"Minimum",Maximum:"Maximum",Count:"Anzahl",Distinct:"Eindeutige Anzahl",Visible:"Sichtbar",Pin:"Anheften","Move up":"Nach oben","Move down":"Nach unten","Save view":"Ansicht speichern","View name":"Ansichtsname",Restore:"Wiederherstellen","Record details":"Datensatzdetails",Details:"Details",Previous:"Zurück",Next:"Weiter",Page:"Seite",of:"von",records:"Datensätzen","Export results":"Ergebnisse exportieren","No matching records":"Keine passenden Datensätze","Clear filters":"Filter löschen","Loading…":"Wird geladen…","A new version of 8sheets is ready.":"Eine neue Version von 8sheets ist verfügbar.",Reload:"Neu laden",Later:"Später","Reload and lose your unsaved edits?":"Neu laden und nicht gespeicherte Änderungen verlieren?","8sheets was updated in another tab. Save your work, then reload to use the new version.":"8sheets wurde in einem anderen Tab aktualisiert. Speichern Sie Ihre Arbeit und laden Sie dann neu, um die neue Version zu verwenden.",Opening:"Wird geöffnet:","Preparing records":"Datensätze werden vorbereitet","Loading records":"Datensätze werden geladen","Building pivot":"Pivot-Tabelle wird erstellt","Generating records":"Datensätze werden generiert","Records read":"Gelesene Datensätze","Cancelling…":"Wird abgebrochen…","Loading cancelled.":"Laden abgebrochen.",Loaded:"Geladen","No data":"Keine Daten",Table:"Tabelle",Source:"Quelle",Range:"Bereich","First row contains headers":"Erste Zeile enthält Überschriften","Edit copy":"Kopie bearbeiten","Editing copy":"Kopie wird bearbeitet","Save changes":"Änderungen speichern",Undo:"Rückgängig",Redo:"Wiederholen","Calculated field":"Berechnetes Feld",Formula:"Formel",Name:"Name",Add:"Hinzufügen","Group by":"Gruppieren nach","Sort by":"Sortieren nach","Add group":"Gruppe hinzufügen","Add sort":"Sortierung hinzufügen",Order:"Reihenfolge","Use Tab to separate fields and a new line for each record.":"Trennen Sie Felder mit Tab und jeden Datensatz mit einer neuen Zeile.","Paste rows":"Zeilen einfügen","Starting field":"Startfeld","Changes live in this copy until exported.":"Änderungen bleiben bis zum Export in dieser Kopie.","Choose at least one visible column.":"Wählen Sie mindestens eine sichtbare Spalte.","No saved views":"Keine gespeicherten Ansichten","Rows per page":"Zeilen pro Seite","Choose source":"Quelle auswählen",Format:"Format","Copy row":"Zeile kopieren",Copied:"Kopiert",Download:"Herunterladen","Local file":"Lokale Datei","View settings":"Ansichtseinstellungen","Saved views":"Gespeicherte Ansichten","Paste exceeds the available records or columns.":"Die eingefügten Daten überschreiten die verfügbaren Datensätze oder Spalten.","Editing is disabled for this view.":"Die Bearbeitung ist für diese Ansicht deaktiviert.","Save or discard your local edits before replacing this table. Continue?":"Speichern oder verwerfen Sie Ihre lokalen Änderungen, bevor Sie diese Tabelle ersetzen. Fortfahren?","Select a value":"Wert auswählen","No table loaded":"Keine Tabelle geladen",Filters:"Filter",Print:"Drucken","Fill down":"Nach unten ausfüllen","Number of records":"Anzahl der Datensätze","Original workbook":"Ursprüngliche Arbeitsmappe",Edit:"Bearbeiten",Reset:"Zurücksetzen",Saved:"Gespeichert","Choose a range inside the source.":"Wählen Sie einen Bereich innerhalb der Quelle.","Choose an unused column name and a formula.":"Wählen Sie einen nicht verwendeten Spaltennamen und eine Formel.","This view is read-only.":"Diese Ansicht ist schreibgeschützt.","This file contains no visible data.":"Diese Datei enthält keine sichtbaren Daten.","This field is read-only.":"Dieses Feld ist schreibgeschützt.","Field unavailable.":"Feld nicht verfügbar.","Record unavailable.":"Datensatz nicht verfügbar.","Invalid column.":"Ungültige Spalte.","This source is read-only.":"Diese Quelle ist schreibgeschützt.","This field or record is read-only.":"Dieses Feld oder dieser Datensatz ist schreibgeschützt.","Use the record editor for this source.":"Verwenden Sie für diese Quelle den Datensatz-Editor.","The selection changed. Open Table view again.":"Die Auswahl hat sich geändert. Öffnen Sie die Tabellenansicht erneut.","The result exceeds the XLSX row limit or the format is unsupported.":"Das Ergebnis überschreitet das XLSX-Zeilenlimit, oder das Format wird nicht unterstützt.","The pivot exceeds the worksheet dimensions.":"Die Pivot-Tabelle überschreitet die Abmessungen des Arbeitsblatts.","File sharing is unavailable on this device.":"Dateifreigabe ist auf diesem Gerät nicht verfügbar.","Allow opening the workbook in a new tab.":"Erlauben Sie das Öffnen der Arbeitsmappe in einem neuen Tab.","The example could not be opened.":"Das Beispiel konnte nicht geöffnet werden.","Invalid snapshot address.":"Ungültige Snapshot-Adresse.","Invalid table response.":"Ungültige Tabellenantwort.","Table view closed.":"Tabellenansicht geschlossen.","Add condition":"Bedingung hinzufügen","Add value":"Wert hinzufügen",Ask:"Fragen","Ask for a view in your own words":"Beschreiben Sie die gewünschte Ansicht in eigenen Worten","Chart the selected cells":"Diagramm aus ausgewählten Zellen","Chart type":"Diagrammtyp","Close find":"Suche schließen",Column:"Säule","Column name":"Spaltenname",Comfortable:"Komfortabel",Compact:"Kompakt","Copy with headings":"Mit Überschriften kopieren","Done.":"Fertig.","Download SVG":"SVG herunterladen","Draw the numbers in the cell, or the values of these fields:":"Zahlen aus der Zelle oder die Werte dieser Felder darstellen:","Each record goes under the record whose key its parent field holds. Or give a field with an outline level instead.":"Jeder Datensatz wird unter dem Datensatz eingeordnet, dessen Schlüssel in seinem übergeordneten Feld steht. Oder geben Sie stattdessen ein Feld mit einer Gliederungsebene an.",Find:"Suchen","Find in cells":"In Zellen suchen","For example: revenue by region for 2026, largest first":"Zum Beispiel: Umsatz nach Region für 2026, größter zuerst",Hide:"Ausblenden","Hide blanks":"Leere ausblenden",Index:"Index",Join:"Verknüpfung","Keep the layout: groups, totals, widths and formatting":"Layout beibehalten: Gruppen, Summen, Breiten und Formatierung","Key field":"Schlüsselfeld","Level field":"Ebenenfeld",Line:"Linie","Match all conditions":"Alle Bedingungen erfüllen","Match any condition":"Eine beliebige Bedingung erfüllen","Next match":"Nächster Treffer","No calculation":"Keine Berechnung",Normal:"Normal","% of column total":"% des Spaltengesamtergebnisses","% of grand total":"% des Gesamtergebnisses","% of row total":"% des Zeilengesamtergebnisses","Parent field":"Übergeordnetes Feld",Paste:"Einfügen","Pin row to bottom":"Zeile unten anheften","Pin row to top":"Zeile oben anheften","Previous match":"Vorheriger Treffer","Rank, largest first":"Rangfolge, größter zuerst","Rank, smallest first":"Rangfolge, kleinster zuerst","Remove condition":"Bedingung entfernen","Remove group":"Gruppe entfernen","Rename column":"Spalte umbenennen","Row height":"Zeilenhöhe","Running total":"Laufende Summe",Search:"Suchen","Show as tree":"Als Baumstruktur anzeigen","Show only":"Nur anzeigen","Show only blanks":"Nur leere anzeigen","Show records that":"Datensätze anzeigen, die","Show values as":"Werte anzeigen als",Sparkline:"Sparkline","Then by":"Dann nach","Thinking…":"Denke nach…",Type:"Typ","Unpin row":"Zeile lösen",Values:"Werte","Win/loss":"Gewinn/Verlust",Tree:"Baumstruktur",Pinned:"Angeheftet",row:"Zeile",rows:"Zeilen","any of":"mindestens eine","all of":"alle","is none of":"ist keines von",Copy:"Kopieren","Copy cells":"Zellen kopieren",Expand:"Erweitern",Collapse:"Reduzieren","Remove records":"Datensätze entfernen","Show as tree…":"Als Baumstruktur anzeigen…","Drop here to group by this column":"Hier ablegen, um nach dieser Spalte zu gruppieren","Drag to move":"Zum Verschieben ziehen","Move record":"Datensatz verschieben","Drag to fill":"Zum Ausfüllen ziehen","No matches":"Keine Treffer",matches:"Treffer","Choose a value from the list.":"Wählen Sie einen Wert aus der Liste.",OK:"OK",Bar:"Balken",Pie:"Kreis","Clear the sort and the groups to move records.":"Heben Sie Sortierung und Gruppen auf, um Datensätze zu verschieben.","Unpin the rows before moving them.":"Lösen Sie die Zeilen, bevor Sie sie verschieben.","Remove sparkline":"Sparkline entfernen","Remove tree":"Baumstruktur entfernen","Choose the key field and the parent field.":"Wählen Sie das Schlüsselfeld und das übergeordnete Feld.","The answer could not be applied.":"Die Antwort konnte nicht angewendet werden.","Choose a row field and a value.":"Wählen Sie ein Zeilenfeld und einen Wert.","Select cells with numbers to chart them.":"Wählen Sie Zellen mit Zahlen aus, um ein Diagramm zu erstellen.","A tree needs a parent field, or a level field.":"Eine Baumstruktur benötigt ein übergeordnetes Feld oder ein Ebenenfeld.","A tree needs a key field that its parent field refers to.":"Eine Baumstruktur benötigt ein Schlüsselfeld, auf das ihr übergeordnetes Feld verweist.","Find needs local records; search the server source instead.":"Suchen erfordert lokale Datensätze; durchsuchen Sie stattdessen die Serverquelle.","This source cannot pin rows.":"Diese Quelle kann keine Zeilen anheften.","Asking needs the assistant option.":"Fragen erfordert die Option assistant.","Select cells first.":"Wählen Sie zuerst Zellen aus.",'Pin rows to "top" or "bottom".':'Heften Sie Zeilen an "top" oder "bottom" an.',"The records are not shown as a tree.":"Die Datensätze werden nicht als Baumstruktur angezeigt.","Does not contain":"Enthält nicht","Ends with":"Endet mit","Not between":"Nicht zwischen",Top:"Obere",Bottom:"Untere","Above average":"Über dem Durchschnitt","Below average":"Unter dem Durchschnitt",Today:"Heute",Yesterday:"Gestern",Tomorrow:"Morgen","This week":"Diese Woche","This month":"Dieser Monat","Last month":"Letzter Monat","This year":"Dieses Jahr","Last year":"Letztes Jahr","A company as a tree: open and close managers with their arrows. Salaries roll up to each manager. Edit an office from its list, a start date in the picker, skills as several choices.":"Ein Unternehmen als Baumstruktur: Öffnen und schließen Sie Vorgesetzte mit ihren Pfeilen. Gehälter werden bei jedem Vorgesetzten summiert. Wählen Sie ein Büro aus seiner Liste, ein Startdatum in der Datumsauswahl und Fähigkeiten als Mehrfachauswahl.","Prices change twice a second and the changed cells flash. Right-click a cell for its menu, drag a row by its grip, pin a row to the top, or press Ctrl+F to find a product.":"Die Preise ändern sich zweimal pro Sekunde, und geänderte Zellen blinken auf. Klicken Sie mit der rechten Maustaste auf eine Zelle für ihr Menü, ziehen Sie eine Zeile an ihrem Griff, heften Sie eine Zeile oben an oder drücken Sie Ctrl+F, um ein Produkt zu suchen.","Orders as a pivot: regions and channels down, product categories across, revenue and units sold. Change the fields in the pivot panel, or choose Back to records.":"Bestellungen als Pivot: Regionen und Kanäle in den Zeilen, Produktkategorien in den Spalten, Umsatz und verkaufte Einheiten. Ändern Sie die Felder im Pivot-Bereich oder wählen Sie „Zurück zu den Datensätzen“.","The filter keeps East orders, or orders above 1,000 of fewer than 5 units: open Filter to see and change its groups. The Find bar marks “Harbor” in every matching record without narrowing them; press Enter for the next one.":"Der Filter behält Bestellungen aus East oder Bestellungen über 1.000 mit weniger als 5 Einheiten: Öffnen Sie „Filter“, um seine Gruppen zu sehen und zu ändern. Die Suchleiste markiert „Harbor“ in jedem passenden Datensatz, ohne sie einzuschränken; Enter springt zum nächsten.","Orders grouped by region, with header bands, a totals row, data bars and a colour scale. Choose Export, then XLSX or PDF with “Keep the layout”, and open the file to see the same view.":"Bestellungen nach Region gruppiert, mit Spaltengruppen, Summenzeile, Datenbalken und Farbskala. Wählen Sie „Exportieren“, dann XLSX oder PDF mit „Layout beibehalten“, und öffnen Sie die Datei, um dieselbe Ansicht zu sehen.","Choose Ask and describe a view, such as “East revenue by product, largest first”. In this example a few lines of keyword matching stand in for the language model your server would ask.":"Wählen Sie „Fragen“ und beschreiben Sie eine Ansicht, etwa „East revenue by product, largest first“. In diesem Beispiel ersetzen wenige Zeilen Stichwortsuche das Sprachmodell, das Ihr Server fragen würde.","This example understands a region (East, West, North, South), “by” a field, and “largest” or “smallest” with Revenue, Units, Price or Date.":"Dieses Beispiel versteht eine Region (East, West, North, South), „by“ mit einem Feld und „largest“ oder „smallest“ mit Revenue, Units, Price oder Date.","Also kept":"Bleiben ebenfalls"};export{e as default};
|
package/table-view/labels-es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e={"Autosize column":"Autoajustar columna","Drag to resize, double-click to fit":"Arrastre para cambiar el tamaño; haga doble clic para autoajustar",Dismiss:"Descartar","Filter row":"Fila de filtros","Clear column filters":"Borrar filtros de columnas","Greater than or equal":"Mayor o igual que","Less than or equal":"Menor o igual que","Open a row with its arrow to see the order lines. One order opens at a time and scrolls with the records.":"Expanda una fila con su flecha para ver las líneas del pedido. Solo se abre un pedido a la vez y se desplaza con los registros.","Tick rows, or the header box for every match. Drag across cells and press Ctrl+C to copy them. Export offers the selected rows.":"Marque filas, o la casilla del encabezado para todas las coincidencias. Arrastre sobre las celdas y presione Ctrl+C para copiarlas. Exportar ofrece las filas seleccionadas.",Quantity:"Cantidad",Price:"Precio",Amount:"Importe",Total:"Total","Order lines":"Líneas del pedido","Order no.":"N.º de pedido",Product:"Producto","Expand details":"Expandir detalles","Collapse details":"Contraer detalles","Conditional formatting":"Formato condicional","Data bar":"Barra de datos","Colour scale":"Escala de color","Green fill":"Relleno verde","Red fill":"Relleno rojo","Amber fill":"Relleno ámbar","Blue fill":"Relleno azul","Bold text":"Texto en negrita",Custom:"Personalizado","No rules":"Sin reglas",Style:"Estilo",Rule:"Regla","Add rule":"Agregar regla","Clear rules":"Borrar reglas","Drag a header edge to resize it and double-click to fit, drag a header to move it. Bars, colour scales and the totals row cover every matching record.":"Arrastre el borde de un encabezado para cambiar el tamaño y haga doble clic para autoajustar; arrastre un encabezado para moverlo. Las barras, las escalas de color y la fila de totales abarcan todos los registros coincidentes.",Totals:"Totales","No total":"Sin total","Select all matching records":"Seleccionar todos los registros coincidentes","Select record":"Seleccionar registro",selected:"seleccionados","All matching selected":"Todos los coincidentes seleccionados","All matching selected except":"Todos los coincidentes seleccionados excepto","Clear selection":"Borrar selección","All matching records":"Todos los registros coincidentes","Selected records":"Registros seleccionados",Records:"Registros","Select records to export first.":"Seleccione primero los registros que quiere exportar.","This source cannot export selected records.":"Este origen no puede exportar los registros seleccionados.","Row selection is off for this table.":"La selección de filas está desactivada en esta tabla.","Wait for the records to load.":"Espere a que se carguen los registros.","Search “East”, open a column menu to sort, filter, group or pin, and select cells to see their sum.":"Busque “East”, abra el menú de una columna para ordenar, filtrar, agrupar o anclar, y seleccione celdas para ver su suma.","One million orders generated off the main thread. Type “>30” under Units or a name under Customer, sort or group: the work runs in a Worker.":"Un millón de pedidos generados fuera del subproceso principal. Escriba “>30” bajo Units o un nombre bajo Customer, ordene o agrupe: el trabajo se ejecuta en un Worker.","Rows arrive in blocks of 100 from a simulated server with 150–400 ms latency and an unknown total. Scroll quickly, then sort or search.":"Las filas llegan en bloques de 100 desde un servidor simulado con una latencia de 150–400 ms y un total desconocido. Desplácese rápidamente y luego ordene o busque.","An editable copy: double-click a cell or press Enter to edit, Ctrl+Z to undo. Units must be a whole number from 1 to 500.":"Una copia editable: haga doble clic en una celda o presione Enter para editar, Ctrl+Z para deshacer. Units debe ser un número entero de 1 a 500.","The sales records as a pivot by region and product, with its chart. Choose Back to records to return.":"Los registros de ventas como tabla dinámica por región y producto, con su gráfico. Elija Volver a los registros para regresar.","Choose East, West, North or South.":"Elija East, West, North o South.","Units must be a whole number from 1 to 500.":"Units debe ser un número entero de 1 a 500.","Shift-click to sort by another column":"Mayús+clic para ordenar por otra columna","Selected cells":"Celdas seleccionadas","System theme":"Tema del sistema","Light theme":"Tema claro","Dark theme":"Tema oscuro","Custom theme":"Tema personalizado",Theme:"Tema","Column menu":"Menú de columna","Sort ascending":"Ordenar de forma ascendente","Sort descending":"Ordenar de forma descendente","Clear sort":"Borrar orden","Hide column":"Ocultar columna","is one of":"es uno de","Clear all":"Borrar todo",Unpin:"Desanclar",Ungroup:"Desagrupar","The data changed. Reopen the record before editing.":"Los datos cambiaron. Vuelva a abrir el registro antes de editarlo.",Rows:"Filas",Chart:"Gráfico",Pivot:"Tabla dinámica","Back to records":"Volver a los registros","Top 20 by absolute value":"20 principales por valor absoluto","Choose different row and column fields.":"Elija campos distintos para filas y columnas.","Pick values":"Elegir valores","No values":"Sin valores","Back to workbook":"Volver al libro","Read columns as text":"Leer columnas como texto",Delimiter:"Delimitador",Automatic:"Automático","Reimport CSV":"Volver a importar CSV","Add record":"Agregar registro","Remove record":"Quitar registro",Width:"Ancho",Share:"Compartir","Share link":"Vínculo para compartir","Copy link":"Copiar vínculo","Revoke link":"Revocar vínculo","Publish filtered copy":"Publicar copia filtrada","Prepare file":"Preparar archivo","This share link has expired or was revoked.":"Este vínculo para compartir expiró o se revocó.",Pages:"Páginas",Scroll:"Desplazamiento","Table view":"Vista de tabla","Open file":"Abrir archivo","Open workbook":"Abrir libro","Sales example":"Ejemplo de ventas","Open a table":"Abrir una tabla","Choose a CSV or Excel file to explore its records.":"Elija un archivo CSV o de Excel para explorar sus registros.","Search records":"Buscar registros",Filter:"Filtrar",Group:"Agrupar",Columns:"Columnas",Views:"Vistas",Export:"Exportar",Sort:"Ordenar",Apply:"Aplicar",Cancel:"Cancelar",Close:"Cerrar",Field:"Campo",Condition:"Condición",Value:"Valor",Contains:"Contiene",Equals:"Es igual a","Greater than":"Mayor que","Less than":"Menor que","Is blank":"Está vacío","Starts with":"Comienza por","Not equal":"No es igual a",Between:"Entre","Second value":"Segundo valor","Is not blank":"No está vacío",Ascending:"Ascendente",Descending:"Descendente",Remove:"Quitar","Reset view":"Restablecer vista",None:"Ninguno",Summary:"Resumen",Sum:"Suma",Average:"Promedio",Minimum:"Mínimo",Maximum:"Máximo",Count:"Recuento",Distinct:"Únicos",Visible:"Visible",Pin:"Anclar","Move up":"Subir","Move down":"Bajar","Save view":"Guardar vista","View name":"Nombre de la vista",Restore:"Restaurar","Record details":"Detalles del registro",Details:"Detalles",Previous:"Anterior",Next:"Siguiente",Page:"Página",of:"de",records:"registros","Export results":"Exportar resultados","No matching records":"No hay registros coincidentes","Clear filters":"Borrar filtros","Loading…":"Cargando…","A new version of 8sheets is ready.":"Hay una nueva versión de 8sheets disponible.",Reload:"Recargar",Later:"Más tarde","Reload and lose your unsaved edits?":"¿Recargar y perder los cambios sin guardar?","8sheets was updated in another tab. Save your work, then reload to use the new version.":"8sheets se actualizó en otra pestaña. Guarde su trabajo y luego recargue para usar la nueva versión.",Opening:"Abriendo","Preparing records":"Preparando registros","Loading records":"Cargando registros","Building pivot":"Creando tabla dinámica","Generating records":"Generando registros","Records read":"Registros leídos","Cancelling…":"Cancelando…","Loading cancelled.":"Carga cancelada.",Loaded:"Cargado","No data":"Sin datos",Table:"Tabla",Source:"Origen",Range:"Rango","First row contains headers":"La primera fila contiene encabezados","Edit copy":"Editar copia","Editing copy":"Editando copia","Save changes":"Guardar cambios",Undo:"Deshacer",Redo:"Rehacer","Calculated field":"Campo calculado",Formula:"Fórmula",Name:"Nombre",Add:"Agregar","Group by":"Agrupar por","Sort by":"Ordenar por","Add group":"Agregar grupo","Add sort":"Agregar orden",Order:"Criterio de ordenación","Use Tab to separate fields and a new line for each record.":"Use Tab para separar los campos y una línea nueva para cada registro.","Paste rows":"Pegar filas","Starting field":"Campo inicial","Changes live in this copy until exported.":"Los cambios permanecen en esta copia hasta que se exporte.","Choose at least one visible column.":"Elija al menos una columna visible.","No saved views":"No hay vistas guardadas","Rows per page":"Filas por página","Choose source":"Elegir origen",Format:"Formato","Copy row":"Copiar fila",Copied:"Copiado",Download:"Descargar","Local file":"Archivo local","View settings":"Configuración de la vista","Saved views":"Vistas guardadas","Paste exceeds the available records or columns.":"Lo que se pega supera los registros o columnas disponibles.","Editing is disabled for this view.":"La edición está deshabilitada en esta vista.","Save or discard your local edits before replacing this table. Continue?":"Guarde o descarte sus cambios locales antes de reemplazar esta tabla. ¿Desea continuar?","Select a value":"Seleccione un valor","No table loaded":"No hay ninguna tabla cargada",Filters:"Filtros",Print:"Imprimir","Fill down":"Rellenar hacia abajo","Number of records":"Número de registros","Original workbook":"Libro original",Edit:"Editar",Reset:"Restablecer",Saved:"Guardado","Choose a range inside the source.":"Elija un rango dentro del origen.","Choose an unused column name and a formula.":"Elija un nombre de columna no usado y una fórmula.","This view is read-only.":"Esta vista es de solo lectura.","This file contains no visible data.":"Este archivo no contiene datos visibles.","This field is read-only.":"Este campo es de solo lectura.","Field unavailable.":"Campo no disponible.","Record unavailable.":"Registro no disponible.","Invalid column.":"Columna no válida.","This source is read-only.":"Este origen es de solo lectura.","This field or record is read-only.":"Este campo o registro es de solo lectura.","Use the record editor for this source.":"Use el editor de registros para este origen.","The selection changed. Open Table view again.":"La selección cambió. Vuelva a abrir Vista de tabla.","The result exceeds the XLSX row limit or the format is unsupported.":"El resultado supera el límite de filas de XLSX o el formato no es compatible.","The pivot exceeds the worksheet dimensions.":"La tabla dinámica supera las dimensiones de la hoja de cálculo.","File sharing is unavailable on this device.":"El uso compartido de archivos no está disponible en este dispositivo.","Allow opening the workbook in a new tab.":"Permita abrir el libro en una pestaña nueva.","The example could not be opened.":"No se pudo abrir el ejemplo.","Invalid snapshot address.":"Dirección de instantánea no válida.","Invalid table response.":"Respuesta de tabla no válida.","Table view closed.":"Vista de tabla cerrada.","Add condition":"Agregar condición","Add value":"Agregar valor",Ask:"Preguntar","Ask for a view in your own words":"Pida una vista con sus propias palabras","Chart the selected cells":"Crear gráfico de las celdas seleccionadas","Chart type":"Tipo de gráfico","Close find":"Cerrar búsqueda",Column:"Columna","Column name":"Nombre de columna",Comfortable:"Amplio",Compact:"Compacto","Copy with headings":"Copiar con encabezados","Done.":"Listo.","Download SVG":"Descargar SVG","Draw the numbers in the cell, or the values of these fields:":"Dibujar los números de la celda o los valores de estos campos:","Each record goes under the record whose key its parent field holds. Or give a field with an outline level instead.":"Cada registro se coloca bajo el registro cuya clave contiene su campo primario. O bien, indique en su lugar un campo con un nivel de esquema.",Find:"Buscar","Find in cells":"Buscar en celdas","For example: revenue by region for 2026, largest first":"Por ejemplo: ingresos por región en 2026, de mayor a menor",Hide:"Ocultar","Hide blanks":"Ocultar vacíos",Index:"Índice",Join:"Combinación","Keep the layout: groups, totals, widths and formatting":"Mantener el diseño: grupos, totales, anchos y formato","Key field":"Campo clave","Level field":"Campo de nivel",Line:"Línea","Match all conditions":"Cumplen todas las condiciones","Match any condition":"Cumplen alguna condición","Next match":"Coincidencia siguiente","No calculation":"Sin cálculo",Normal:"Normal","% of column total":"% del total de columna","% of grand total":"% del total general","% of row total":"% del total de fila","Parent field":"Campo primario",Paste:"Pegar","Pin row to bottom":"Anclar fila abajo","Pin row to top":"Anclar fila arriba","Previous match":"Coincidencia anterior","Rank, largest first":"Clasificación de mayor a menor","Rank, smallest first":"Clasificación de menor a mayor","Remove condition":"Quitar condición","Remove group":"Quitar grupo","Rename column":"Cambiar nombre de columna","Row height":"Alto de fila","Running total":"Total acumulado",Search:"Buscar","Show as tree":"Mostrar como árbol","Show only":"Mostrar solo","Show only blanks":"Mostrar solo vacíos","Show records that":"Mostrar registros que","Show values as":"Mostrar valores como",Sparkline:"Minigráfico","Then by":"Luego por","Thinking…":"Pensando…",Type:"Tipo","Unpin row":"Desanclar fila",Values:"Valores","Win/loss":"Ganancia/pérdida",Tree:"Árbol",Pinned:"Anclados",row:"fila",rows:"filas","any of":"cualquiera de","all of":"todos","is none of":"no es ninguno de",Copy:"Copiar","Copy cells":"Copiar celdas",Expand:"Expandir",Collapse:"Contraer","Remove records":"Quitar registros","Show as tree…":"Mostrar como árbol…","Drop here to group by this column":"Suelte aquí para agrupar por esta columna","Drag to move":"Arrastre para mover","Move record":"Mover registro","Drag to fill":"Arrastre para rellenar","No matches":"Sin coincidencias",matches:"coincidencias","Choose a value from the list.":"Elija un valor de la lista.",OK:"Aceptar",Bar:"Barra",Pie:"Circular","Clear the sort and the groups to move records.":"Borre el orden y los grupos para mover registros.","Unpin the rows before moving them.":"Desancle las filas antes de moverlas.","Remove sparkline":"Quitar minigráfico","Remove tree":"Quitar árbol","Choose the key field and the parent field.":"Elija el campo clave y el campo primario.","The answer could not be applied.":"No se pudo aplicar la respuesta.","Choose a row field and a value.":"Elija un campo de fila y un valor.","Select cells with numbers to chart them.":"Seleccione celdas con números para crear un gráfico.","A tree needs a parent field, or a level field.":"Un árbol necesita un campo primario o un campo de nivel.","A tree needs a key field that its parent field refers to.":"Un árbol necesita un campo clave al que haga referencia su campo primario.","Find needs local records; search the server source instead.":"Buscar necesita registros locales; en su lugar, busque en el origen del servidor.","This source cannot pin rows.":"Este origen no puede anclar filas.","Asking needs the assistant option.":"Preguntar requiere la opción assistant.","Select cells first.":"Seleccione primero las celdas.",'Pin rows to "top" or "bottom".':'Ancle las filas a "top" o "bottom".',"The records are not shown as a tree.":"Los registros no se muestran como árbol.","Does not contain":"No contiene","Ends with":"Termina en","Not between":"No está entre",Top:"Superiores",Bottom:"Inferiores","Above average":"Por encima del promedio","Below average":"Por debajo del promedio",Today:"Hoy",Yesterday:"Ayer",Tomorrow:"Mañana","This week":"Esta semana","This month":"Este mes","Last month":"Mes pasado","This year":"Este año","Last year":"Año pasado","A company as a tree: open and close managers with their arrows. Salaries roll up to each manager. Edit an office from its list, a start date in the picker, skills as several choices.":"Una empresa como árbol: expanda y contraiga a los responsables con sus flechas. Los salarios se suman en cada responsable. Edite una oficina desde su lista, una fecha de inicio en el selector y las habilidades como varias opciones.","Prices change twice a second and the changed cells flash. Right-click a cell for its menu, drag a row by its grip, pin a row to the top, or press Ctrl+F to find a product.":"Los precios cambian dos veces por segundo y las celdas modificadas parpadean. Haga clic con el botón derecho en una celda para ver su menú, arrastre una fila por su controlador, ancle una fila arriba o presione Ctrl+F para buscar un producto.","Also kept":"También se mantienen"};export{e as default};
|
|
1
|
+
var e={"Autosize column":"Autoajustar columna","Drag to resize, double-click to fit":"Arrastre para cambiar el tamaño; haga doble clic para autoajustar",Dismiss:"Descartar","Filter row":"Fila de filtros","Clear column filters":"Borrar filtros de columnas","Greater than or equal":"Mayor o igual que","Less than or equal":"Menor o igual que","Open a row with its arrow to see the order lines. One order opens at a time and scrolls with the records.":"Expanda una fila con su flecha para ver las líneas del pedido. Solo se abre un pedido a la vez y se desplaza con los registros.","Tick rows, or the header box for every match. Drag across cells and press Ctrl+C to copy them. Export offers the selected rows.":"Marque filas, o la casilla del encabezado para todas las coincidencias. Arrastre sobre las celdas y presione Ctrl+C para copiarlas. Exportar ofrece las filas seleccionadas.",Quantity:"Cantidad",Price:"Precio",Amount:"Importe",Total:"Total","Order lines":"Líneas del pedido","Order no.":"N.º de pedido",Product:"Producto","Expand details":"Expandir detalles","Collapse details":"Contraer detalles","Conditional formatting":"Formato condicional","Data bar":"Barra de datos","Colour scale":"Escala de color","Green fill":"Relleno verde","Red fill":"Relleno rojo","Amber fill":"Relleno ámbar","Blue fill":"Relleno azul","Bold text":"Texto en negrita",Custom:"Personalizado","No rules":"Sin reglas",Style:"Estilo",Rule:"Regla","Add rule":"Agregar regla","Clear rules":"Borrar reglas","Drag a header edge to resize it and double-click to fit, drag a header to move it. Bars, colour scales and the totals row cover every matching record.":"Arrastre el borde de un encabezado para cambiar el tamaño y haga doble clic para autoajustar; arrastre un encabezado para moverlo. Las barras, las escalas de color y la fila de totales abarcan todos los registros coincidentes.",Totals:"Totales","No total":"Sin total","Select all matching records":"Seleccionar todos los registros coincidentes","Select record":"Seleccionar registro",selected:"seleccionados","All matching selected":"Todos los coincidentes seleccionados","All matching selected except":"Todos los coincidentes seleccionados excepto","Clear selection":"Borrar selección","All matching records":"Todos los registros coincidentes","Selected records":"Registros seleccionados",Records:"Registros","Select records to export first.":"Seleccione primero los registros que quiere exportar.","This source cannot export selected records.":"Este origen no puede exportar los registros seleccionados.","Row selection is off for this table.":"La selección de filas está desactivada en esta tabla.","Wait for the records to load.":"Espere a que se carguen los registros.","Search “East”, open a column menu to sort, filter, group or pin, and select cells to see their sum.":"Busque “East”, abra el menú de una columna para ordenar, filtrar, agrupar o anclar, y seleccione celdas para ver su suma.","One million orders generated off the main thread. Type “>30” under Units or a name under Customer, sort or group: the work runs in a Worker.":"Un millón de pedidos generados fuera del subproceso principal. Escriba “>30” bajo Units o un nombre bajo Customer, ordene o agrupe: el trabajo se ejecuta en un Worker.","Rows arrive in blocks of 100 from a simulated server with 150–400 ms latency and an unknown total. Scroll quickly, then sort or search.":"Las filas llegan en bloques de 100 desde un servidor simulado con una latencia de 150–400 ms y un total desconocido. Desplácese rápidamente y luego ordene o busque.","An editable copy: double-click a cell or press Enter to edit, Ctrl+Z to undo. Units must be a whole number from 1 to 500.":"Una copia editable: haga doble clic en una celda o presione Enter para editar, Ctrl+Z para deshacer. Units debe ser un número entero de 1 a 500.","Choose East, West, North or South.":"Elija East, West, North o South.","Units must be a whole number from 1 to 500.":"Units debe ser un número entero de 1 a 500.","Shift-click to sort by another column":"Mayús+clic para ordenar por otra columna","Selected cells":"Celdas seleccionadas","System theme":"Tema del sistema","Light theme":"Tema claro","Dark theme":"Tema oscuro","Custom theme":"Tema personalizado",Theme:"Tema","Column menu":"Menú de columna","Sort ascending":"Ordenar de forma ascendente","Sort descending":"Ordenar de forma descendente","Clear sort":"Borrar orden","Hide column":"Ocultar columna","is one of":"es uno de","Clear all":"Borrar todo",Unpin:"Desanclar",Ungroup:"Desagrupar","The data changed. Reopen the record before editing.":"Los datos cambiaron. Vuelva a abrir el registro antes de editarlo.",Rows:"Filas",Chart:"Gráfico",Pivot:"Tabla dinámica","Back to records":"Volver a los registros","Top 20 by absolute value":"20 principales por valor absoluto","Choose different row and column fields.":"Elija campos distintos para filas y columnas.","Pick values":"Elegir valores","No values":"Sin valores","Back to workbook":"Volver al libro","Read columns as text":"Leer columnas como texto",Delimiter:"Delimitador",Automatic:"Automático","Reimport CSV":"Volver a importar CSV","Add record":"Agregar registro","Remove record":"Quitar registro",Width:"Ancho",Share:"Compartir","Share link":"Vínculo para compartir","Copy link":"Copiar vínculo","Revoke link":"Revocar vínculo","Publish filtered copy":"Publicar copia filtrada","Prepare file":"Preparar archivo","This share link has expired or was revoked.":"Este vínculo para compartir expiró o se revocó.",Pages:"Páginas",Scroll:"Desplazamiento","Table view":"Vista de tabla","Open file":"Abrir archivo","Open workbook":"Abrir libro","Sales example":"Ejemplo de ventas","Open a table":"Abrir una tabla","Choose a CSV or Excel file to explore its records.":"Elija un archivo CSV o de Excel para explorar sus registros.","Search records":"Buscar registros",Filter:"Filtrar",Group:"Agrupar",Columns:"Columnas",Views:"Vistas",Export:"Exportar",Sort:"Ordenar",Apply:"Aplicar",Cancel:"Cancelar",Close:"Cerrar",Field:"Campo",Condition:"Condición",Value:"Valor",Contains:"Contiene",Equals:"Es igual a","Greater than":"Mayor que","Less than":"Menor que","Is blank":"Está vacío","Starts with":"Comienza por","Not equal":"No es igual a",Between:"Entre","Second value":"Segundo valor","Is not blank":"No está vacío",Ascending:"Ascendente",Descending:"Descendente",Remove:"Quitar","Reset view":"Restablecer vista",None:"Ninguno",Summary:"Resumen",Sum:"Suma",Average:"Promedio",Minimum:"Mínimo",Maximum:"Máximo",Count:"Recuento",Distinct:"Únicos",Visible:"Visible",Pin:"Anclar","Move up":"Subir","Move down":"Bajar","Save view":"Guardar vista","View name":"Nombre de la vista",Restore:"Restaurar","Record details":"Detalles del registro",Details:"Detalles",Previous:"Anterior",Next:"Siguiente",Page:"Página",of:"de",records:"registros","Export results":"Exportar resultados","No matching records":"No hay registros coincidentes","Clear filters":"Borrar filtros","Loading…":"Cargando…","A new version of 8sheets is ready.":"Hay una nueva versión de 8sheets disponible.",Reload:"Recargar",Later:"Más tarde","Reload and lose your unsaved edits?":"¿Recargar y perder los cambios sin guardar?","8sheets was updated in another tab. Save your work, then reload to use the new version.":"8sheets se actualizó en otra pestaña. Guarde su trabajo y luego recargue para usar la nueva versión.",Opening:"Abriendo","Preparing records":"Preparando registros","Loading records":"Cargando registros","Building pivot":"Creando tabla dinámica","Generating records":"Generando registros","Records read":"Registros leídos","Cancelling…":"Cancelando…","Loading cancelled.":"Carga cancelada.",Loaded:"Cargado","No data":"Sin datos",Table:"Tabla",Source:"Origen",Range:"Rango","First row contains headers":"La primera fila contiene encabezados","Edit copy":"Editar copia","Editing copy":"Editando copia","Save changes":"Guardar cambios",Undo:"Deshacer",Redo:"Rehacer","Calculated field":"Campo calculado",Formula:"Fórmula",Name:"Nombre",Add:"Agregar","Group by":"Agrupar por","Sort by":"Ordenar por","Add group":"Agregar grupo","Add sort":"Agregar orden",Order:"Criterio de ordenación","Use Tab to separate fields and a new line for each record.":"Use Tab para separar los campos y una línea nueva para cada registro.","Paste rows":"Pegar filas","Starting field":"Campo inicial","Changes live in this copy until exported.":"Los cambios permanecen en esta copia hasta que se exporte.","Choose at least one visible column.":"Elija al menos una columna visible.","No saved views":"No hay vistas guardadas","Rows per page":"Filas por página","Choose source":"Elegir origen",Format:"Formato","Copy row":"Copiar fila",Copied:"Copiado",Download:"Descargar","Local file":"Archivo local","View settings":"Configuración de la vista","Saved views":"Vistas guardadas","Paste exceeds the available records or columns.":"Lo que se pega supera los registros o columnas disponibles.","Editing is disabled for this view.":"La edición está deshabilitada en esta vista.","Save or discard your local edits before replacing this table. Continue?":"Guarde o descarte sus cambios locales antes de reemplazar esta tabla. ¿Desea continuar?","Select a value":"Seleccione un valor","No table loaded":"No hay ninguna tabla cargada",Filters:"Filtros",Print:"Imprimir","Fill down":"Rellenar hacia abajo","Number of records":"Número de registros","Original workbook":"Libro original",Edit:"Editar",Reset:"Restablecer",Saved:"Guardado","Choose a range inside the source.":"Elija un rango dentro del origen.","Choose an unused column name and a formula.":"Elija un nombre de columna no usado y una fórmula.","This view is read-only.":"Esta vista es de solo lectura.","This file contains no visible data.":"Este archivo no contiene datos visibles.","This field is read-only.":"Este campo es de solo lectura.","Field unavailable.":"Campo no disponible.","Record unavailable.":"Registro no disponible.","Invalid column.":"Columna no válida.","This source is read-only.":"Este origen es de solo lectura.","This field or record is read-only.":"Este campo o registro es de solo lectura.","Use the record editor for this source.":"Use el editor de registros para este origen.","The selection changed. Open Table view again.":"La selección cambió. Vuelva a abrir Vista de tabla.","The result exceeds the XLSX row limit or the format is unsupported.":"El resultado supera el límite de filas de XLSX o el formato no es compatible.","The pivot exceeds the worksheet dimensions.":"La tabla dinámica supera las dimensiones de la hoja de cálculo.","File sharing is unavailable on this device.":"El uso compartido de archivos no está disponible en este dispositivo.","Allow opening the workbook in a new tab.":"Permita abrir el libro en una pestaña nueva.","The example could not be opened.":"No se pudo abrir el ejemplo.","Invalid snapshot address.":"Dirección de instantánea no válida.","Invalid table response.":"Respuesta de tabla no válida.","Table view closed.":"Vista de tabla cerrada.","Add condition":"Agregar condición","Add value":"Agregar valor",Ask:"Preguntar","Ask for a view in your own words":"Pida una vista con sus propias palabras","Chart the selected cells":"Crear gráfico de las celdas seleccionadas","Chart type":"Tipo de gráfico","Close find":"Cerrar búsqueda",Column:"Columna","Column name":"Nombre de columna",Comfortable:"Amplio",Compact:"Compacto","Copy with headings":"Copiar con encabezados","Done.":"Listo.","Download SVG":"Descargar SVG","Draw the numbers in the cell, or the values of these fields:":"Dibujar los números de la celda o los valores de estos campos:","Each record goes under the record whose key its parent field holds. Or give a field with an outline level instead.":"Cada registro se coloca bajo el registro cuya clave contiene su campo primario. O bien, indique en su lugar un campo con un nivel de esquema.",Find:"Buscar","Find in cells":"Buscar en celdas","For example: revenue by region for 2026, largest first":"Por ejemplo: ingresos por región en 2026, de mayor a menor",Hide:"Ocultar","Hide blanks":"Ocultar vacíos",Index:"Índice",Join:"Combinación","Keep the layout: groups, totals, widths and formatting":"Mantener el diseño: grupos, totales, anchos y formato","Key field":"Campo clave","Level field":"Campo de nivel",Line:"Línea","Match all conditions":"Cumplen todas las condiciones","Match any condition":"Cumplen alguna condición","Next match":"Coincidencia siguiente","No calculation":"Sin cálculo",Normal:"Normal","% of column total":"% del total de columna","% of grand total":"% del total general","% of row total":"% del total de fila","Parent field":"Campo primario",Paste:"Pegar","Pin row to bottom":"Anclar fila abajo","Pin row to top":"Anclar fila arriba","Previous match":"Coincidencia anterior","Rank, largest first":"Clasificación de mayor a menor","Rank, smallest first":"Clasificación de menor a mayor","Remove condition":"Quitar condición","Remove group":"Quitar grupo","Rename column":"Cambiar nombre de columna","Row height":"Alto de fila","Running total":"Total acumulado",Search:"Buscar","Show as tree":"Mostrar como árbol","Show only":"Mostrar solo","Show only blanks":"Mostrar solo vacíos","Show records that":"Mostrar registros que","Show values as":"Mostrar valores como",Sparkline:"Minigráfico","Then by":"Luego por","Thinking…":"Pensando…",Type:"Tipo","Unpin row":"Desanclar fila",Values:"Valores","Win/loss":"Ganancia/pérdida",Tree:"Árbol",Pinned:"Anclados",row:"fila",rows:"filas","any of":"cualquiera de","all of":"todos","is none of":"no es ninguno de",Copy:"Copiar","Copy cells":"Copiar celdas",Expand:"Expandir",Collapse:"Contraer","Remove records":"Quitar registros","Show as tree…":"Mostrar como árbol…","Drop here to group by this column":"Suelte aquí para agrupar por esta columna","Drag to move":"Arrastre para mover","Move record":"Mover registro","Drag to fill":"Arrastre para rellenar","No matches":"Sin coincidencias",matches:"coincidencias","Choose a value from the list.":"Elija un valor de la lista.",OK:"Aceptar",Bar:"Barra",Pie:"Circular","Clear the sort and the groups to move records.":"Borre el orden y los grupos para mover registros.","Unpin the rows before moving them.":"Desancle las filas antes de moverlas.","Remove sparkline":"Quitar minigráfico","Remove tree":"Quitar árbol","Choose the key field and the parent field.":"Elija el campo clave y el campo primario.","The answer could not be applied.":"No se pudo aplicar la respuesta.","Choose a row field and a value.":"Elija un campo de fila y un valor.","Select cells with numbers to chart them.":"Seleccione celdas con números para crear un gráfico.","A tree needs a parent field, or a level field.":"Un árbol necesita un campo primario o un campo de nivel.","A tree needs a key field that its parent field refers to.":"Un árbol necesita un campo clave al que haga referencia su campo primario.","Find needs local records; search the server source instead.":"Buscar necesita registros locales; en su lugar, busque en el origen del servidor.","This source cannot pin rows.":"Este origen no puede anclar filas.","Asking needs the assistant option.":"Preguntar requiere la opción assistant.","Select cells first.":"Seleccione primero las celdas.",'Pin rows to "top" or "bottom".':'Ancle las filas a "top" o "bottom".',"The records are not shown as a tree.":"Los registros no se muestran como árbol.","Does not contain":"No contiene","Ends with":"Termina en","Not between":"No está entre",Top:"Superiores",Bottom:"Inferiores","Above average":"Por encima del promedio","Below average":"Por debajo del promedio",Today:"Hoy",Yesterday:"Ayer",Tomorrow:"Mañana","This week":"Esta semana","This month":"Este mes","Last month":"Mes pasado","This year":"Este año","Last year":"Año pasado","A company as a tree: open and close managers with their arrows. Salaries roll up to each manager. Edit an office from its list, a start date in the picker, skills as several choices.":"Una empresa como árbol: expanda y contraiga a los responsables con sus flechas. Los salarios se suman en cada responsable. Edite una oficina desde su lista, una fecha de inicio en el selector y las habilidades como varias opciones.","Prices change twice a second and the changed cells flash. Right-click a cell for its menu, drag a row by its grip, pin a row to the top, or press Ctrl+F to find a product.":"Los precios cambian dos veces por segundo y las celdas modificadas parpadean. Haga clic con el botón derecho en una celda para ver su menú, arrastre una fila por su controlador, ancle una fila arriba o presione Ctrl+F para buscar un producto.","Orders as a pivot: regions and channels down, product categories across, revenue and units sold. Change the fields in the pivot panel, or choose Back to records.":"Los pedidos como tabla dinámica: regiones y canales en filas, categorías de producto en columnas, ingresos y unidades vendidas. Cambie los campos en el panel de la tabla dinámica o elija Volver a los registros.","The filter keeps East orders, or orders above 1,000 of fewer than 5 units: open Filter to see and change its groups. The Find bar marks “Harbor” in every matching record without narrowing them; press Enter for the next one.":"El filtro conserva los pedidos de East, o los de más de 1.000 con menos de 5 unidades: abra Filtrar para ver y cambiar sus grupos. La barra Buscar marca «Harbor» en cada registro coincidente sin reducirlos; Intro pasa al siguiente.","Orders grouped by region, with header bands, a totals row, data bars and a colour scale. Choose Export, then XLSX or PDF with “Keep the layout”, and open the file to see the same view.":"Pedidos agrupados por región, con bandas de columnas, una fila de totales, barras de datos y una escala de colores. Elija Exportar, luego XLSX o PDF con «Conservar el diseño», y abra el archivo para ver la misma vista.","Choose Ask and describe a view, such as “East revenue by product, largest first”. In this example a few lines of keyword matching stand in for the language model your server would ask.":"Elija Preguntar y describa una vista, por ejemplo «East revenue by product, largest first». En este ejemplo, unas pocas líneas de coincidencia de palabras clave sustituyen al modelo de lenguaje que consultaría su servidor.","This example understands a region (East, West, North, South), “by” a field, and “largest” or “smallest” with Revenue, Units, Price or Date.":"Este ejemplo entiende una región (East, West, North, South), «by» seguido de un campo, y «largest» o «smallest» con Revenue, Units, Price o Date.","Also kept":"También se mantienen"};export{e as default};
|