@svgrid/enterprise 3.1.60 → 3.1.61

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.
@@ -76332,7 +76332,7 @@ ${st}
76332
76332
  .st-home a { color: var(--sg-accent, #6366f1); font-weight: 600; }
76333
76333
  @keyframes st-home-spin { to { transform: rotate(360deg); } }
76334
76334
  </style>
76335
- `}}function s2e(a){for(let p of a)G4(p);let i=new Map(a.map(p=>[p.name,p])),l=a.map(p=>{let f=kpr(p,i);return{schema:Ppr(p,f),infos:f}});return{entries:l,seed:Cpr(l)}}function rur(a,i={}){let{entries:l,seed:p}=s2e(a),{file:f,needs:g}=Ypr(l,p,i.sources,i.supabaseConn,i.serverMemory),_=[Opr(l),f];(g.supabase||i.supabaseAuth)&&!g.supabaseUrl&&(i.supabaseConn?.url||i.supabaseConn?.key)&&(g.supabaseUrl=i.supabaseConn.url,g.supabaseKey=i.supabaseConn.key),(g.supabase||i.supabaseAuth)&&_.push(Zpr(g));for(let S of g.sqlRoutes)_.push(Upr(S.schema,S.table,S.dialect,{access:i.accessEnabled,audit:i.auditEnabled,screenIds:i.screensByEntity?.get(S.schema.name)??[],triggers:i.triggers?.[S.schema.name],dbSchema:S.dbSchema,tenantField:i.tenantField&&i.tenantScoped?.(S.schema.name)!==!1?i.tenantField:void 0}));if(g.memoryRoutes.length){_.push(Hpr(g.memoryRoutes));for(let S of g.memoryRoutes)_.push(Vpr(S.schema,{access:i.accessEnabled,audit:i.auditEnabled,screenIds:i.screensByEntity?.get(S.schema.name)??[],triggers:i.triggers?.[S.schema.name],tenantField:i.tenantField&&i.tenantScoped?.(S.schema.name)!==!1?i.tenantField:void 0}))}return{files:_,prepared:l.map(S=>S.schema)}}var nur="3.1.60",our="3.0.38",sb=(a,i)=>a.some(l=>l.config.kind===i),qit=a=>`activeTab_${a.replace(/[^a-zA-Z0-9_$]/g,"_")}`,XZ=(a,i)=>`${a}-${i}`,Kit=a=>`accOpen_${a.replace(/[^a-zA-Z0-9_$]/g,"_")}`,JZ=(a,i)=>`${a}-s${i}`,YZ=a=>`md_${a.replace(/[^a-zA-Z0-9]/g,"_")}_rows`;function aur(a){switch(a.type){case"number":{let i=a.decimals;return i==null?"{ type: 'number' }":`{ type: 'number', options: { minimumFractionDigits: ${i}, maximumFractionDigits: ${i} } }`}case"currency":return`{ type: 'currency', currency: ${cu(a.currency||"USD")} }`;case"percent":{let i=["type: 'percent'"];return a.valueIsPercentPoints&&i.push("valueIsPercentPoints: true"),a.decimals!=null&&i.push(`options: { minimumFractionDigits: ${a.decimals}, maximumFractionDigits: ${a.decimals} }`),`{ ${i.join(", ")} }`}case"date":case"datetime":return a.pattern?`{ type: '${a.type}', pattern: ${cu(a.pattern)} }`:`{ type: '${a.type}' }`}}function iur(a,i,l,p){if(i.config.kind!=="grid")return`schemaToColumns(${a})`;let f=i.config,g=i.id.replace(/-/g,"_"),_=f.columns.filter(be=>be.show),S=new Set(_.map(be=>be.field)),A=new Set,k=_.map(be=>{let Be=p?.get(be.field);return{c:be,col:Be&&!S.has(Be)?Be:be.field}}).filter(be=>!A.has(be.col)&&!!A.add(be.col)),L=f.editing==="inline"?"":", editable: false";if(k.length===0)return L?`schemaToColumns(${a}).map((c) => ({ ...c${L} }))`:`schemaToColumns(${a})`;let F=k.map(be=>`'${be.col}'`),ee=k.map(({c:be,col:Be})=>{let Ue=[];return be.header&&Ue.push(`header: ${JSON.stringify(be.header)}`),be.width!=null&&Ue.push(`width: ${be.width}`),be.align&&Ue.push(`align: '${be.align}'`),be.aggregate&&Ue.push(`aggregate: '${be.aggregate}'`),f.treeData&&be.field===f.treeData.labelField&&l?Ue.push(`cell: (ctx: CellContext<${l}>) => renderSnippet(treeCell_${g}, { value: ctx.getValue(), row: ctx.row.original })`):be.cellType&&l?Ue.push(`cell: (ctx: CellContext<${l}>) => renderSnippet(${est(g,be.field)}, { value: ctx.getValue() })`):be.format&&Ue.push(`format: ${aur(be.format)}`),Ue.length?`'${Be}': { ${Ue.join(", ")} }`:null}).filter(be=>!!be),J=ee.length?` const ov: Record<string, Partial<(typeof all)[number]>> = { ${ee.join(", ")} };`:"",te=ee.length?", ...(ov[String(c.field)] ?? {})":"",Ie=`[${F.join(", ")}].map((f) => all.find((c) => c.field === f)).filter((c): c is (typeof all)[number] => !!c)`;return`(() => { const all = schemaToColumns(${a});${J} return ${L||te?`${Ie}.map((c) => ({ ...c${L}${te} }))`:Ie} })()`}function eW(a,i){let l=[`grid-column: span ${yM(a)}`,"min-width: 0"];i&&l.push(i);let p=vit(a.style);return p&&l.push(p),`style="${l.join("; ")}"`}var sur=a=>a&&a.replace(/[^#a-zA-Z0-9(),.%\s_-]/g,"").slice(0,40)||"var(--sg-accent)";function z8(a,i){let l=[i,LH(a)].filter(Boolean).join(" ");return l?` class="${l}"`:""}function ofe(a){let i=WZ(a.className);return i?` ${i}`:""}function lur(a){let i=iR(a);if(i==="grid"){let l=qDe(a),p=l.maxWidth?` max-width: ${l.maxWidth}px; margin-inline: auto;`:"";return` .st-screen { grid-template-columns: repeat(12, 1fr); gap: ${l.rowGap}px ${l.colGap}px; align-items: ${l.align};${p} }
76335
+ `}}function s2e(a){for(let p of a)G4(p);let i=new Map(a.map(p=>[p.name,p])),l=a.map(p=>{let f=kpr(p,i);return{schema:Ppr(p,f),infos:f}});return{entries:l,seed:Cpr(l)}}function rur(a,i={}){let{entries:l,seed:p}=s2e(a),{file:f,needs:g}=Ypr(l,p,i.sources,i.supabaseConn,i.serverMemory),_=[Opr(l),f];(g.supabase||i.supabaseAuth)&&!g.supabaseUrl&&(i.supabaseConn?.url||i.supabaseConn?.key)&&(g.supabaseUrl=i.supabaseConn.url,g.supabaseKey=i.supabaseConn.key),(g.supabase||i.supabaseAuth)&&_.push(Zpr(g));for(let S of g.sqlRoutes)_.push(Upr(S.schema,S.table,S.dialect,{access:i.accessEnabled,audit:i.auditEnabled,screenIds:i.screensByEntity?.get(S.schema.name)??[],triggers:i.triggers?.[S.schema.name],dbSchema:S.dbSchema,tenantField:i.tenantField&&i.tenantScoped?.(S.schema.name)!==!1?i.tenantField:void 0}));if(g.memoryRoutes.length){_.push(Hpr(g.memoryRoutes));for(let S of g.memoryRoutes)_.push(Vpr(S.schema,{access:i.accessEnabled,audit:i.auditEnabled,screenIds:i.screensByEntity?.get(S.schema.name)??[],triggers:i.triggers?.[S.schema.name],tenantField:i.tenantField&&i.tenantScoped?.(S.schema.name)!==!1?i.tenantField:void 0}))}return{files:_,prepared:l.map(S=>S.schema)}}var nur="3.1.61",our="3.0.39",sb=(a,i)=>a.some(l=>l.config.kind===i),qit=a=>`activeTab_${a.replace(/[^a-zA-Z0-9_$]/g,"_")}`,XZ=(a,i)=>`${a}-${i}`,Kit=a=>`accOpen_${a.replace(/[^a-zA-Z0-9_$]/g,"_")}`,JZ=(a,i)=>`${a}-s${i}`,YZ=a=>`md_${a.replace(/[^a-zA-Z0-9]/g,"_")}_rows`;function aur(a){switch(a.type){case"number":{let i=a.decimals;return i==null?"{ type: 'number' }":`{ type: 'number', options: { minimumFractionDigits: ${i}, maximumFractionDigits: ${i} } }`}case"currency":return`{ type: 'currency', currency: ${cu(a.currency||"USD")} }`;case"percent":{let i=["type: 'percent'"];return a.valueIsPercentPoints&&i.push("valueIsPercentPoints: true"),a.decimals!=null&&i.push(`options: { minimumFractionDigits: ${a.decimals}, maximumFractionDigits: ${a.decimals} }`),`{ ${i.join(", ")} }`}case"date":case"datetime":return a.pattern?`{ type: '${a.type}', pattern: ${cu(a.pattern)} }`:`{ type: '${a.type}' }`}}function iur(a,i,l,p){if(i.config.kind!=="grid")return`schemaToColumns(${a})`;let f=i.config,g=i.id.replace(/-/g,"_"),_=f.columns.filter(be=>be.show),S=new Set(_.map(be=>be.field)),A=new Set,k=_.map(be=>{let Be=p?.get(be.field);return{c:be,col:Be&&!S.has(Be)?Be:be.field}}).filter(be=>!A.has(be.col)&&!!A.add(be.col)),L=f.editing==="inline"?"":", editable: false";if(k.length===0)return L?`schemaToColumns(${a}).map((c) => ({ ...c${L} }))`:`schemaToColumns(${a})`;let F=k.map(be=>`'${be.col}'`),ee=k.map(({c:be,col:Be})=>{let Ue=[];return be.header&&Ue.push(`header: ${JSON.stringify(be.header)}`),be.width!=null&&Ue.push(`width: ${be.width}`),be.align&&Ue.push(`align: '${be.align}'`),be.aggregate&&Ue.push(`aggregate: '${be.aggregate}'`),f.treeData&&be.field===f.treeData.labelField&&l?Ue.push(`cell: (ctx: CellContext<${l}>) => renderSnippet(treeCell_${g}, { value: ctx.getValue(), row: ctx.row.original })`):be.cellType&&l?Ue.push(`cell: (ctx: CellContext<${l}>) => renderSnippet(${est(g,be.field)}, { value: ctx.getValue() })`):be.format&&Ue.push(`format: ${aur(be.format)}`),Ue.length?`'${Be}': { ${Ue.join(", ")} }`:null}).filter(be=>!!be),J=ee.length?` const ov: Record<string, Partial<(typeof all)[number]>> = { ${ee.join(", ")} };`:"",te=ee.length?", ...(ov[String(c.field)] ?? {})":"",Ie=`[${F.join(", ")}].map((f) => all.find((c) => c.field === f)).filter((c): c is (typeof all)[number] => !!c)`;return`(() => { const all = schemaToColumns(${a});${J} return ${L||te?`${Ie}.map((c) => ({ ...c${L}${te} }))`:Ie} })()`}function eW(a,i){let l=[`grid-column: span ${yM(a)}`,"min-width: 0"];i&&l.push(i);let p=vit(a.style);return p&&l.push(p),`style="${l.join("; ")}"`}var sur=a=>a&&a.replace(/[^#a-zA-Z0-9(),.%\s_-]/g,"").slice(0,40)||"var(--sg-accent)";function z8(a,i){let l=[i,LH(a)].filter(Boolean).join(" ");return l?` class="${l}"`:""}function ofe(a){let i=WZ(a.className);return i?` ${i}`:""}function lur(a){let i=iR(a);if(i==="grid"){let l=qDe(a),p=l.maxWidth?` max-width: ${l.maxWidth}px; margin-inline: auto;`:"";return` .st-screen { grid-template-columns: repeat(12, 1fr); gap: ${l.rowGap}px ${l.colGap}px; align-items: ${l.align};${p} }
76336
76336
  @media (max-width: ${l.mobileBreakpoint}px) { .st-screen { grid-template-columns: 1fr; gap: 12px; } }
76337
76337
  `}if(i==="stack"){let l=que(a),p=l.maxWidth?` max-width: ${l.maxWidth}px;${l.align==="center"?" margin-inline: auto;":""}`:"",f=l.minHeight?`
76338
76338
  .st-stack > * { min-height: ${l.minHeight}px; }`:"",g=l.dividers?`
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>SvGrid Studio - Designer</title>
7
- <script type="module" crossorigin src="./assets/index-BC3lgv-R.js"></script>
7
+ <script type="module" crossorigin src="./assets/index-BpMDBdMi.js"></script>
8
8
  <link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-Dd_uD5pT.js">
9
9
  <link rel="modulepreload" crossorigin href="./assets/index-client-CwjHmKgT.js">
10
10
  <link rel="modulepreload" crossorigin href="./assets/disclose-version-xihTtKlq.js">
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import{tick,untrack}from"svelte";import{SvPopover,menuFocus}from"@svgrid/grid";import{conditionCount,isGroup,isComplete}from"./filter-model";import{dataRows,fieldColumns,gridOf,groupLeaves,leafFilter,primaryIdOf}from"./grid-access";import{barcodeScanSupported,scanBarcode}from"./barcode-scan";import{findFieldUser,getCurrentUser,getLinkedTable,linkedRows}from"./sources.svelte";import{PLAIN_STATE,applyColor,applyGanttSettings,applyView,boardConfig,captureView,galleryConfig,colorSettingOf,newViewId,viewTypeInfo}from"./view-model";import{groupRules,userSorts}from"./viewbar/sort-state";import{recordHeightOf,syncGroupRowHeight}from"./row-height";import HideFieldsPanel from"./viewbar/HideFieldsPanel.svelte";import FilterPanel from"./viewbar/FilterPanel.svelte";import SortPanel from"./viewbar/SortPanel.svelte";import ColorPanel from"./viewbar/ColorPanel.svelte";import{cellRulesOf,setCellRules}from"./cell-colors.svelte";import ChartPanel from"./viewbar/ChartPanel.svelte";import GanttPanel from"./viewbar/GanttPanel.svelte";import ListPanel from"./viewbar/ListPanel.svelte";import FormBuilder from"./viewbar/FormBuilder.svelte";import ViewsMenu from"./viewbar/ViewsMenu.svelte";import RecordView from"./RecordView.svelte";import{closeRecord,getRecordRequest,closeFieldEditor,getFieldEditorRequest,getDeleteFieldRequest,askDeleteField,openRecord}from"./editor-request.svelte";import FieldEditor from"./FieldEditor.svelte";import DeleteFieldConfirm from"./DeleteFieldConfirm.svelte";import DeleteRecordConfirm from"./DeleteRecordConfirm.svelte";import{askDeleteRecord,getDeleteRecordRequest}from"./record-delete.svelte";import{clearBarRequest,getBarRequest,registerBar}from"./bar-request.svelte";import{bm,bmCount}from"./messages.svelte";let{api,views=$bindable([{id:"grid",name:bm("viewbar.defaultViewName"),type:"grid"}]),activeView=$bindable(""),onViewsChange,onViewRemoved,viewTypes,automations=null,changed=null,lockViews=true,manageViews=true,viewList=true,rowHeights,host=null,tableId}=$props();let barEl=$state(null);$effect(()=>{const el=barEl;const into=host;if(!el||!into)return;const home=document.createComment("");el.before(home);into.appendChild(el);return()=>{if(home.parentNode){home.after(el);home.remove()}else el.remove()}});const heights=$derived(rowHeights??[{label:bm("viewbar.rowShort"),height:34},{label:bm("viewbar.rowMedium"),height:56},{label:bm("viewbar.rowTall"),height:88},{label:bm("viewbar.rowExtraTall"),height:128}]);const ctrl=$derived(api?gridOf(api):void 0);const me=$derived(getCurrentUser()?.id);const visible=$derived(views.filter(v=>!v.personal||!me||v.personal===me));const active=$derived(visible.find(v=>v.id===activeView)??visible[0]??views[0]);const locked=$derived(!!active?.locked);let lockedDirty=$state(false);let lockedBaseline=null;const lockTitle=$derived.by(()=>{const by=active?.lockedBy?findFieldUser(active.lockedBy)?.name:void 0;return by?bm("viewbar.lockedTitleBy",{name:by}):bm("viewbar.lockedTitle")});const types=$derived(viewTypes??["grid","kanban","calendar","gantt"]);const linkNames=(table,value)=>{const t=getLinkedTable(table);return t?linkedRows(t,value).map(r=>String(r[t.primaryField]??"")):[]};const primaryField=$derived.by(()=>{if(!ctrl)return void 0;const id=primaryIdOf(ctrl);return fieldColumns(ctrl).find(c=>c.id===id)?.field});let appliedId=null;let appliedKey="";let applying=false;let showSeq=0;let showing=null;let viewShown=$state(0);let takingUp=false;const keyOf=v=>JSON.stringify(v);function setViews(next){views=next;const shown=next.find(v=>v.id===appliedId);if(shown)appliedKey=keyOf(shown);onViewsChange?.(next)}async function ready(t){if(t==="kanban")(await import("../board")).enableBoardView();else if(t==="calendar"||t==="timeline")(await import("../scheduler")).enableSchedulerView();else if(t==="gallery")(await import("../gallery")).enableGalleryView();else if(t==="gantt")(await import("../gantt")).enableGanttView()}async function show(view){const seq=showSeq+=1;appliedId=view.id;appliedKey=keyOf(view);applying=true;lockedDirty=false;lockedBaseline=null;const another=showing!==view.id;showing=view.id;if(another)ctrl?.props.baseFeed?.forgetCount?.();await ready(view.type);if(seq!==showSeq)return;applying=false;if(!ctrl)return;if(another){lastServerCount=null;takingUp=true;ctrl.props.rowModel?.letRowsGo?.();viewShown+=1;setTimeout(()=>{takingUp=false;viewShown+=1})}applyView(ctrl,api,view,{primaryField,linkNames});colorSetting=view.color??colorSettingOf(ctrl)}const capture=v=>captureView(ctrl,api,{...v,color:$state.snapshot(colorSetting)});const keptViews=()=>views.map(v=>v.id===active?.id&&!v.locked?capture(v):v);function switchTo(id){viewsOpen=false;if(!ctrl||!active||id===active.id)return;const next=keptViews();const target=next.find(v=>v.id===id);if(!target)return;setViews(next);activeView=id;void show(target)}function create(partial){if(!ctrl||!active)return;const select=columns.find(c=>c.fieldType==="singleSelect");const timed=partial.type==="calendar"||partial.type==="timeline"||partial.type==="gantt";const view={...partial,id:newViewId(),state:{...PLAIN_STATE},color:timed&&select?{mode:"field",field:select.field}:{mode:"none"}};const next=[...keptViews(),view];setViews(next);activeView=view.id;void show(view);viewsOpen=false}function duplicate(id){if(!ctrl)return;const src=id===active?.id&&!active.locked?capture(active):views.find(v=>v.id===id);if(!src)return;const{locked:_locked,lockedBy:_by,...open}=JSON.parse(JSON.stringify(src));const copy={...open,id:newViewId(),name:bm("viewbar.viewCopy",{name:src.name}),...!manageViews&&me?{personal:me}:{}};const at=views.findIndex(v=>v.id===id);const next=[...views];next.splice(at+1,0,copy);setViews(next)}function remove(id){if(views.length<2||views.find(v=>v.id===id)?.locked)return;const at=views.findIndex(v=>v.id===id);const gone=id===active?.id?capture(views[at]):views[at];const next=views.filter(v=>v.id!==id);setViews(next);if(gone)onViewRemoved?.(gone,at);if(id===active?.id){const first=next.find(v=>!v.personal||!me||v.personal===me)??next[0];activeView=first.id;void show(first)}}function toggleLock(id){if(!lockViews)return;setViews(views.map(v=>{if(v.id!==id)return v;if(v.locked){const{locked:_locked,lockedBy:_by,...open}=v;return open}const kept=v.id===active?.id?capture(v):v;return{...kept,locked:true,...me?{lockedBy:me}:{}}}));lockedDirty=false;lockedBaseline=null}function resetLocked(){if(active)void show(active)}const rename=(id,name)=>setViews(views.map(v=>v.id===id?{...v,name}:v));const setSection=(id,section)=>setViews(views.map(v=>{if(v.id!==id)return v;const{section:_was,...rest}=v;return section?{...rest,section:section.slice(0,60)}:rest}));function setGantt(next){if(!ctrl||!active)return;const updated={...active,...next};setViews(views.map(v=>v.id===active.id?updated:v));applyGanttSettings(ctrl,api,updated,primaryField)}const NO_CHART={kind:"bar",x:""};const setChart=chart=>setViews(views.map(v=>v.id===active?.id?{...v,chart}:v));const setList=next=>setViews(views.map(v=>v.id===active?.id?{...v,...next}:v));const setForm=next=>setViews(views.map(v=>v.id===active?.id?{...v,...next}:v));let formOpen=$state(false);$effect(()=>{if(!ctrl||!active)return;const view=active;const key=keyOf(view);untrack(()=>{if(!activeView)activeView=view.id;if(view.id===appliedId&&key===appliedKey)return;if(appliedId===null&&!(view.state||view.type!=="grid"||view.color||view.cellColors?.length||view.rowHeight!=null)){appliedId=view.id;appliedKey=key;return}void show(view)})});$effect(()=>{if(!ctrl||!active)return;const snapshot=JSON.stringify([ctrl.gridStateVersion,api.getState(),recordHeightOf(api.getOption("rowHeight")),effectiveColor,cellRules]);const view=active;const timer=setTimeout(()=>{untrack(()=>{if(applying||view.id!==appliedId||keyOf(view)!==appliedKey)return;const kept=capture(view);const before=JSON.stringify([view.state,view.rowHeight,view.color,view.cellColors??[]]);const after=JSON.stringify([kept.state,kept.rowHeight,kept.color,kept.cellColors??[]]);if(view.locked){const{expanded:_open,...shown}=kept.state??{};const now=JSON.stringify([shown,kept.rowHeight,kept.color,kept.cellColors??[]]);if(lockedBaseline===null)lockedBaseline=now;else lockedDirty=now!==lockedBaseline}else if(before!==after)setViews(views.map(v=>v.id===view.id?kept:v))})},400);void snapshot;return()=>clearTimeout(timer)});let viewsOpen=$state(false);let panel=$state(null);function setPanel(p,open){if(open)panel=p;else if(panel===p)panel=null}$effect(()=>{if(ctrl)return registerBar(ctrl)});$effect(()=>{const r=getBarRequest();if(!r||r.ctrl!==ctrl)return;untrack(()=>{if(!locked)panel=r.panel;clearBarRequest()})});let colorSetting=$state({mode:"none"});$effect(()=>{if(ctrl)untrack(()=>colorSetting=active?.color??colorSettingOf(ctrl))});function setColor(s){colorSetting=s;if(ctrl)applyColor(ctrl,s,linkNames);if(ctrl&&active&&(active.type==="calendar"||active.type==="timeline"||active.type==="gantt")){const updated={...active,color:$state.snapshot(s)};setViews(views.map(v=>v.id===active.id?updated:v));applyGanttSettings(ctrl,api,updated,primaryField)}}const columns=$derived(ctrl?fieldColumns(ctrl):[]);const hiddenCount=$derived(columns.filter(c=>!c.visible).length);const filter=$derived.by(()=>{const f=ctrl?.advancedFilter;return f?.kind==="fieldFilter"?f:null});const filterCount=$derived(conditionCount(filter));const filterLabel=$derived.by(()=>{if(!filter||!filterCount)return bm("viewbar.filter");const ids=new Set;for(const c of filter.conditions)for(const x of isGroup(c)?c.conditions:[c])if(isComplete(x))ids.add(x.column);if(ids.size===1){const header=columns.find(c=>ids.has(c.id))?.header;return header!=null?bm("viewbar.filteredBy",{field:header}):bmCount("viewbar.filteredByFields",1)}return bmCount("viewbar.filteredByFields",ids.size)});const groupCount=$derived(ctrl?groupRules(ctrl).length:0);const sortCount=$derived(ctrl?userSorts(ctrl).length:0);const effectiveColor=$derived(ctrl?colorSettingOf(ctrl,colorSetting):colorSetting);const colorLabel=$derived.by(()=>{if(effectiveColor.mode==="field"){const header=columns.find(c=>c.field===effectiveColor.field)?.header;return header!=null?bm("viewbar.coloredBy",{field:header}):bm("viewbar.color")}if(effectiveColor.mode==="conditions"&&effectiveColor.rules.length)return bm("viewbar.coloredByConditions");return cellRules.length?bm("viewbar.coloredCells"):bm("viewbar.color")});const cellRules=$derived(ctrl?cellRulesOf(ctrl):[]);function setCells(next){if(ctrl)setCellRules(ctrl,next)}const rowHeight=$derived(recordHeightOf(api?.getOption?.("rowHeight"))??0);let heightOpen=$state(false);const shownHeight=$derived(heights.some(h=>h.height===rowHeight)?rowHeight:heights[0]?.height);$effect(()=>{const grouped=groupCount>0;void rowHeight;void ctrl?.props?.rowModel;untrack(()=>syncGroupRowHeight(ctrl,api,grouped))});let lastServerCount=null;const records=$derived.by(()=>{void viewShown;if(!ctrl)return 0;if(ctrl.props.baseFeed&&!ctrl.props.rowModel&&active?.type!=="form")return ctrl.props.baseFeed.knownCount();const model=ctrl.props.rowModel;if(model?.getState){void ctrl.allRows;const own=takingUp?null:model.recordCount?.()??model.getState().rowCount;if(own!=null)lastServerCount=own;return lastServerCount}const all=ctrl.allRows??[];const trees=all.filter(r=>(r.depth??0)===0&&r.__treeRow);if(trees.length)return trees.reduce((n,r)=>n+(r.treeRecords??1+(r.leafCount??0)),0);const tops=all.filter(r=>(r.depth??0)===0&&!r.__treeRow&&typeof r.getCanExpand==="function"&&r.getCanExpand()&&r.leafCount!=null);if(!groupCount||!tops.length)return api.getDisplayedRows().length;const keep=leafFilter(ctrl);return keep?tops.reduce((n,r)=>n+groupLeaves(r,keep).length,0):tops.reduce((n,r)=>n+(r.leafCount??0),0)});let searching=$state(false);const quickSearch=$derived(active?.type!=="grid"||!!ctrl?.props?.rowModel||!!ctrl?.props?.basePhone);async function openSearch(){if(quickSearch){searching=true;return}ctrl.findOpen=true;await tick();const root=ctrl.scrollContainer?.closest(".sv-grid-root");for(let tries=0;tries<40;tries+=1){const box=root?.querySelector(".sv-grid-find-input");if(box)return box.focus();await new Promise(r=>setTimeout(r,25))}}function focusBox(node){node.focus()}const showFocused=e=>e.target.scrollIntoView?.({block:"nearest",inline:"nearest"});let searchButton=$state(null);const canScan=$derived(quickSearch&&barcodeScanSupported());async function scanToFind(){const code=await scanBarcode();if(!code||!ctrl)return;ctrl.globalFilter=code;searching=true;await tick();await new Promise(r=>setTimeout(r,60));const found=dataRows(ctrl);if(found.length===1)openRecord({ctrl,rowId:found[0].id})}let galleryKey="";$effect(()=>{if(!ctrl||active?.type!=="gallery"){galleryKey="";return}const view=active;const cfg=galleryConfig(ctrl,api,view);const key=JSON.stringify([cfg.coverField,cfg.titleField,cfg.cardFields]);if(key===galleryKey)return;galleryKey=key;untrack(()=>api.setOption("gallery",cfg))});let boardKey="";$effect(()=>{if(!ctrl||active?.type!=="kanban"){boardKey="";return}const cfg=boardConfig(ctrl,api,active);if(!cfg)return;const key=JSON.stringify([cfg.groupBy,cfg.titleField,cfg.cardFields,cfg.virtualized,cfg.lanes.map(l=>[l.title,l.color])]);if(key===boardKey)return;boardKey=key;untrack(()=>api.setOption("board",cfg))});const noHeader=$derived.by(()=>{const t=active?.type;return t==="kanban"||t==="calendar"||t==="timeline"||t==="gantt"||t==="gallery"||!!api?.getOption?.("gallery")});const record=$derived.by(()=>{const r=getRecordRequest();return r&&ctrl&&r.ctrl===ctrl&&noHeader?r:null});const fieldEditing=$derived.by(()=>{const r=getFieldEditorRequest();return r&&ctrl&&r.ctrl===ctrl&&noHeader?r:null});const fieldDeleting=$derived.by(()=>{const r=getDeleteFieldRequest();return r&&ctrl&&r.ctrl===ctrl&&noHeader?r:null});$effect(()=>{if(ctrl&&getFieldEditorRequest()?.ctrl===ctrl)untrack(()=>panel=null)});const deleting=$derived.by(()=>{const r=getDeleteRecordRequest();return r&&ctrl&&r.ctrl===ctrl&&noHeader?r:null});const has=$derived.by(()=>{const t=active?.type??"grid";if(t==="form")return new Set(manageViews?["form"]:[]);if(t==="dashboard")return new Set;if(t==="grid")return new Set(["hide","filter","group","sort","color","height"]);if(t==="chart")return new Set(["filter","chart"]);if(t==="gantt"||t==="timeline")return new Set(["hide","filter","sort","color","gantt"]);if(t==="calendar")return new Set(["hide","filter","sort","color"]);if(t==="list")return new Set(["hide","filter","group","sort","list"]);if(t==="inbox")return new Set(["hide","filter","sort","list"]);return new Set(["hide","filter","sort"])});const bare=$derived(!viewList&&!locked&&!changed&&!automations&&has.size===0);const ICON={hide:"M3 3l18 18M10.6 10.6a2 2 0 0 0 2.8 2.8M9.9 5.1A9.8 9.8 0 0 1 12 5c5 0 9 5 10 7a13.4 13.4 0 0 1-3 3.9M6.6 6.6A13.5 13.5 0 0 0 2 12c1 2 5 7 10 7a9.6 9.6 0 0 0 4.4-1.1",filter:"M4 5h16l-6 7v6l-4 2v-8z",group:"M4 5h16M4 10h10M4 15h16M4 20h10",sort:"M7 4v16M3 16l4 4 4-4M17 20V4M13 8l4-4 4 4",color:"M12 3l6 7a6.5 6.5 0 1 1-12 0l6-7z",chart:"M4 20h16M6 20V11M11 20V5M16 20v-7",gantt:"M4 5h9M7 10h11M10 15h8M4 20h16",height:"M4 6h16M4 12h16M4 18h16M20 3v18",search:"M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14zM20 20l-4-4",chevron:"M6 9l6 6 6-6",bolt:"M13 3L5 14h6l-1 7 8-11h-6z",lock:"M6 11h12v9H6zM8 11V8a4 4 0 0 1 8 0v3",person:"M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4 21a8 8 0 0 1 16 0"};
2
+ import{tick,untrack}from"svelte";import{SvPopover,menuFocus}from"@svgrid/grid";import{conditionCount,isGroup,isComplete}from"./filter-model";import{dataRows,fieldColumns,gridOf,groupLeaves,leafFilter,primaryIdOf}from"./grid-access";import{barcodeScanSupported,scanBarcode}from"./barcode-scan";import{findFieldUser,getCurrentUser,getLinkedTable,linkedRows}from"./sources.svelte";import{PLAIN_STATE,applyColor,applyGanttSettings,applyView,boardConfig,captureView,galleryConfig,colorSettingOf,newViewId,viewTypeInfo}from"./view-model";import{groupRules,userSorts}from"./viewbar/sort-state";import{recordHeightOf,syncGroupRowHeight}from"./row-height";import HideFieldsPanel from"./viewbar/HideFieldsPanel.svelte";import FilterPanel from"./viewbar/FilterPanel.svelte";import SortPanel from"./viewbar/SortPanel.svelte";import ColorPanel from"./viewbar/ColorPanel.svelte";import{cellRulesOf,setCellRules}from"./cell-colors.svelte";import ChartPanel from"./viewbar/ChartPanel.svelte";import GanttPanel from"./viewbar/GanttPanel.svelte";import ListPanel from"./viewbar/ListPanel.svelte";import BoardPanel from"./viewbar/BoardPanel.svelte";import FormBuilder from"./viewbar/FormBuilder.svelte";import ViewsMenu from"./viewbar/ViewsMenu.svelte";import RecordView from"./RecordView.svelte";import{closeRecord,getRecordRequest,closeFieldEditor,getFieldEditorRequest,getDeleteFieldRequest,askDeleteField,openRecord}from"./editor-request.svelte";import FieldEditor from"./FieldEditor.svelte";import DeleteFieldConfirm from"./DeleteFieldConfirm.svelte";import DeleteRecordConfirm from"./DeleteRecordConfirm.svelte";import{askDeleteRecord,getDeleteRecordRequest}from"./record-delete.svelte";import{clearBarRequest,getBarRequest,registerBar}from"./bar-request.svelte";import{bm,bmCount}from"./messages.svelte";let{api,views=$bindable([{id:"grid",name:bm("viewbar.defaultViewName"),type:"grid"}]),activeView=$bindable(""),onViewsChange,onViewRemoved,viewTypes,automations=null,changed=null,lockViews=true,manageViews=true,viewList=true,rowHeights,host=null,tableId}=$props();let barEl=$state(null);$effect(()=>{const el=barEl;const into=host;if(!el||!into)return;const home=document.createComment("");el.before(home);into.appendChild(el);return()=>{if(home.parentNode){home.after(el);home.remove()}else el.remove()}});const heights=$derived(rowHeights??[{label:bm("viewbar.rowShort"),height:34},{label:bm("viewbar.rowMedium"),height:56},{label:bm("viewbar.rowTall"),height:88},{label:bm("viewbar.rowExtraTall"),height:128}]);const ctrl=$derived(api?gridOf(api):void 0);const me=$derived(getCurrentUser()?.id);const visible=$derived(views.filter(v=>!v.personal||!me||v.personal===me));const active=$derived(visible.find(v=>v.id===activeView)??visible[0]??views[0]);const locked=$derived(!!active?.locked);let lockedDirty=$state(false);let lockedBaseline=null;const lockTitle=$derived.by(()=>{const by=active?.lockedBy?findFieldUser(active.lockedBy)?.name:void 0;return by?bm("viewbar.lockedTitleBy",{name:by}):bm("viewbar.lockedTitle")});const types=$derived(viewTypes??["grid","kanban","calendar","gantt"]);const linkNames=(table,value)=>{const t=getLinkedTable(table);return t?linkedRows(t,value).map(r=>String(r[t.primaryField]??"")):[]};const primaryField=$derived.by(()=>{if(!ctrl)return void 0;const id=primaryIdOf(ctrl);return fieldColumns(ctrl).find(c=>c.id===id)?.field});let appliedId=null;let appliedKey="";let applying=false;let showSeq=0;let showing=null;let viewShown=$state(0);let takingUp=false;const keyOf=v=>JSON.stringify(v);function setViews(next){views=next;const shown=next.find(v=>v.id===appliedId);if(shown)appliedKey=keyOf(shown);onViewsChange?.(next)}async function ready(t){if(t==="kanban")(await import("../board")).enableBoardView();else if(t==="calendar"||t==="timeline")(await import("../scheduler")).enableSchedulerView();else if(t==="gallery")(await import("../gallery")).enableGalleryView();else if(t==="gantt")(await import("../gantt")).enableGanttView()}async function show(view){const seq=showSeq+=1;appliedId=view.id;appliedKey=keyOf(view);applying=true;lockedDirty=false;lockedBaseline=null;const another=showing!==view.id;showing=view.id;if(another)ctrl?.props.baseFeed?.forgetCount?.();await ready(view.type);if(seq!==showSeq)return;applying=false;if(!ctrl)return;if(another){lastServerCount=null;takingUp=true;ctrl.props.rowModel?.letRowsGo?.();viewShown+=1;setTimeout(()=>{takingUp=false;viewShown+=1})}applyView(ctrl,api,view,{primaryField,linkNames});colorSetting=view.color??colorSettingOf(ctrl)}const capture=v=>captureView(ctrl,api,{...v,color:$state.snapshot(colorSetting)});const keptViews=()=>views.map(v=>v.id===active?.id&&!v.locked?capture(v):v);function switchTo(id){viewsOpen=false;if(!ctrl||!active||id===active.id)return;const next=keptViews();const target=next.find(v=>v.id===id);if(!target)return;setViews(next);activeView=id;void show(target)}function create(partial){if(!ctrl||!active)return;const select=columns.find(c=>c.fieldType==="singleSelect");const timed=partial.type==="calendar"||partial.type==="timeline"||partial.type==="gantt";const view={...partial,id:newViewId(),state:{...PLAIN_STATE},color:timed&&select?{mode:"field",field:select.field}:{mode:"none"}};const next=[...keptViews(),view];setViews(next);activeView=view.id;void show(view);viewsOpen=false}function duplicate(id){if(!ctrl)return;const src=id===active?.id&&!active.locked?capture(active):views.find(v=>v.id===id);if(!src)return;const{locked:_locked,lockedBy:_by,...open}=JSON.parse(JSON.stringify(src));const copy={...open,id:newViewId(),name:bm("viewbar.viewCopy",{name:src.name}),...!manageViews&&me?{personal:me}:{}};const at=views.findIndex(v=>v.id===id);const next=[...views];next.splice(at+1,0,copy);setViews(next)}function remove(id){if(views.length<2||views.find(v=>v.id===id)?.locked)return;const at=views.findIndex(v=>v.id===id);const gone=id===active?.id?capture(views[at]):views[at];const next=views.filter(v=>v.id!==id);setViews(next);if(gone)onViewRemoved?.(gone,at);if(id===active?.id){const first=next.find(v=>!v.personal||!me||v.personal===me)??next[0];activeView=first.id;void show(first)}}function toggleLock(id){if(!lockViews)return;setViews(views.map(v=>{if(v.id!==id)return v;if(v.locked){const{locked:_locked,lockedBy:_by,...open}=v;return open}const kept=v.id===active?.id?capture(v):v;return{...kept,locked:true,...me?{lockedBy:me}:{}}}));lockedDirty=false;lockedBaseline=null}function resetLocked(){if(active)void show(active)}const rename=(id,name)=>setViews(views.map(v=>v.id===id?{...v,name}:v));const setSection=(id,section)=>setViews(views.map(v=>{if(v.id!==id)return v;const{section:_was,...rest}=v;return section?{...rest,section:section.slice(0,60)}:rest}));function setGantt(next){if(!ctrl||!active)return;const updated={...active,...next};setViews(views.map(v=>v.id===active.id?updated:v));applyGanttSettings(ctrl,api,updated,primaryField)}const NO_CHART={kind:"bar",x:""};const setChart=chart=>setViews(views.map(v=>v.id===active?.id?{...v,chart}:v));const setList=next=>setViews(views.map(v=>v.id===active?.id?{...v,...next}:v));const setBoard=next=>setViews(views.map(v=>v.id===active?.id?{...v,...next}:v));const setForm=next=>setViews(views.map(v=>v.id===active?.id?{...v,...next}:v));let formOpen=$state(false);$effect(()=>{if(!ctrl||!active)return;const view=active;const key=keyOf(view);untrack(()=>{if(!activeView)activeView=view.id;if(view.id===appliedId&&key===appliedKey)return;if(appliedId===null&&!(view.state||view.type!=="grid"||view.color||view.cellColors?.length||view.rowHeight!=null)){appliedId=view.id;appliedKey=key;return}void show(view)})});$effect(()=>{if(!ctrl||!active)return;const snapshot=JSON.stringify([ctrl.gridStateVersion,api.getState(),recordHeightOf(api.getOption("rowHeight")),effectiveColor,cellRules]);const view=active;const timer=setTimeout(()=>{untrack(()=>{if(applying||view.id!==appliedId||keyOf(view)!==appliedKey)return;const kept=capture(view);const before=JSON.stringify([view.state,view.rowHeight,view.color,view.cellColors??[]]);const after=JSON.stringify([kept.state,kept.rowHeight,kept.color,kept.cellColors??[]]);if(view.locked){const{expanded:_open,...shown}=kept.state??{};const now=JSON.stringify([shown,kept.rowHeight,kept.color,kept.cellColors??[]]);if(lockedBaseline===null)lockedBaseline=now;else lockedDirty=now!==lockedBaseline}else if(before!==after)setViews(views.map(v=>v.id===view.id?kept:v))})},400);void snapshot;return()=>clearTimeout(timer)});let viewsOpen=$state(false);let panel=$state(null);function setPanel(p,open){if(open)panel=p;else if(panel===p)panel=null}$effect(()=>{if(ctrl)return registerBar(ctrl)});$effect(()=>{const r=getBarRequest();if(!r||r.ctrl!==ctrl)return;untrack(()=>{if(!locked)panel=r.panel;clearBarRequest()})});let colorSetting=$state({mode:"none"});$effect(()=>{if(ctrl)untrack(()=>colorSetting=active?.color??colorSettingOf(ctrl))});function setColor(s){colorSetting=s;if(ctrl)applyColor(ctrl,s,linkNames);if(ctrl&&active&&(active.type==="calendar"||active.type==="timeline"||active.type==="gantt")){const updated={...active,color:$state.snapshot(s)};setViews(views.map(v=>v.id===active.id?updated:v));applyGanttSettings(ctrl,api,updated,primaryField)}}const columns=$derived(ctrl?fieldColumns(ctrl):[]);const hiddenCount=$derived(columns.filter(c=>!c.visible).length);const filter=$derived.by(()=>{const f=ctrl?.advancedFilter;return f?.kind==="fieldFilter"?f:null});const filterCount=$derived(conditionCount(filter));const filterLabel=$derived.by(()=>{if(!filter||!filterCount)return bm("viewbar.filter");const ids=new Set;for(const c of filter.conditions)for(const x of isGroup(c)?c.conditions:[c])if(isComplete(x))ids.add(x.column);if(ids.size===1){const header=columns.find(c=>ids.has(c.id))?.header;return header!=null?bm("viewbar.filteredBy",{field:header}):bmCount("viewbar.filteredByFields",1)}return bmCount("viewbar.filteredByFields",ids.size)});const groupCount=$derived(ctrl?groupRules(ctrl).length:0);const sortCount=$derived(ctrl?userSorts(ctrl).length:0);const effectiveColor=$derived(ctrl?colorSettingOf(ctrl,colorSetting):colorSetting);const colorLabel=$derived.by(()=>{if(effectiveColor.mode==="field"){const header=columns.find(c=>c.field===effectiveColor.field)?.header;return header!=null?bm("viewbar.coloredBy",{field:header}):bm("viewbar.color")}if(effectiveColor.mode==="conditions"&&effectiveColor.rules.length)return bm("viewbar.coloredByConditions");return cellRules.length?bm("viewbar.coloredCells"):bm("viewbar.color")});const cellRules=$derived(ctrl?cellRulesOf(ctrl):[]);function setCells(next){if(ctrl)setCellRules(ctrl,next)}const rowHeight=$derived(recordHeightOf(api?.getOption?.("rowHeight"))??0);let heightOpen=$state(false);const shownHeight=$derived(heights.some(h=>h.height===rowHeight)?rowHeight:heights[0]?.height);$effect(()=>{const grouped=groupCount>0;void rowHeight;void ctrl?.props?.rowModel;untrack(()=>syncGroupRowHeight(ctrl,api,grouped))});let lastServerCount=null;const records=$derived.by(()=>{void viewShown;if(!ctrl)return 0;if(ctrl.props.baseFeed&&!ctrl.props.rowModel&&active?.type!=="form")return ctrl.props.baseFeed.knownCount();const model=ctrl.props.rowModel;if(model?.getState){void ctrl.allRows;const own=takingUp?null:model.recordCount?.()??model.getState().rowCount;if(own!=null)lastServerCount=own;return lastServerCount}const all=ctrl.allRows??[];const trees=all.filter(r=>(r.depth??0)===0&&r.__treeRow);if(trees.length)return trees.reduce((n,r)=>n+(r.treeRecords??1+(r.leafCount??0)),0);const tops=all.filter(r=>(r.depth??0)===0&&!r.__treeRow&&typeof r.getCanExpand==="function"&&r.getCanExpand()&&r.leafCount!=null);if(!groupCount||!tops.length)return api.getDisplayedRows().length;const keep=leafFilter(ctrl);return keep?tops.reduce((n,r)=>n+groupLeaves(r,keep).length,0):tops.reduce((n,r)=>n+(r.leafCount??0),0)});let searching=$state(false);const quickSearch=$derived(active?.type!=="grid"||!!ctrl?.props?.rowModel||!!ctrl?.props?.basePhone);async function openSearch(){if(quickSearch){searching=true;return}ctrl.findOpen=true;await tick();const root=ctrl.scrollContainer?.closest(".sv-grid-root");for(let tries=0;tries<40;tries+=1){const box=root?.querySelector(".sv-grid-find-input");if(box)return box.focus();await new Promise(r=>setTimeout(r,25))}}function focusBox(node){node.focus()}const showFocused=e=>e.target.scrollIntoView?.({block:"nearest",inline:"nearest"});let searchButton=$state(null);const canScan=$derived(quickSearch&&barcodeScanSupported());async function scanToFind(){const code=await scanBarcode();if(!code||!ctrl)return;ctrl.globalFilter=code;searching=true;await tick();await new Promise(r=>setTimeout(r,60));const found=dataRows(ctrl);if(found.length===1)openRecord({ctrl,rowId:found[0].id})}let galleryKey="";$effect(()=>{if(!ctrl||active?.type!=="gallery"){galleryKey="";return}const view=active;const cfg=galleryConfig(ctrl,api,view);const key=JSON.stringify([cfg.coverField,cfg.titleField,cfg.cardFields]);if(key===galleryKey)return;galleryKey=key;untrack(()=>api.setOption("gallery",cfg))});let boardKey="";$effect(()=>{if(!ctrl||active?.type!=="kanban"){boardKey="";return}const cfg=boardConfig(ctrl,api,active);if(!cfg)return;const key=JSON.stringify([cfg.groupBy,cfg.titleField,cfg.cardFields,cfg.virtualized,cfg.lanes.map(l=>[l.title,l.color,l.wipLimit]),cfg.swimlaneBy,cfg.swimlanes,cfg.dueField,cfg.ageField,cfg.flagField,cfg.facets]);if(key===boardKey)return;boardKey=key;untrack(()=>api.setOption("board",cfg))});const noHeader=$derived.by(()=>{const t=active?.type;return t==="kanban"||t==="calendar"||t==="timeline"||t==="gantt"||t==="gallery"||!!api?.getOption?.("gallery")});const record=$derived.by(()=>{const r=getRecordRequest();return r&&ctrl&&r.ctrl===ctrl&&noHeader?r:null});const fieldEditing=$derived.by(()=>{const r=getFieldEditorRequest();return r&&ctrl&&r.ctrl===ctrl&&noHeader?r:null});const fieldDeleting=$derived.by(()=>{const r=getDeleteFieldRequest();return r&&ctrl&&r.ctrl===ctrl&&noHeader?r:null});$effect(()=>{if(ctrl&&getFieldEditorRequest()?.ctrl===ctrl)untrack(()=>panel=null)});const deleting=$derived.by(()=>{const r=getDeleteRecordRequest();return r&&ctrl&&r.ctrl===ctrl&&noHeader?r:null});const has=$derived.by(()=>{const t=active?.type??"grid";if(t==="form")return new Set(manageViews?["form"]:[]);if(t==="dashboard")return new Set;if(t==="grid")return new Set(["hide","filter","group","sort","color","height"]);if(t==="chart")return new Set(["filter","chart"]);if(t==="gantt"||t==="timeline")return new Set(["hide","filter","sort","color","gantt"]);if(t==="calendar")return new Set(["hide","filter","sort","color"]);if(t==="list")return new Set(["hide","filter","group","sort","list"]);if(t==="inbox")return new Set(["hide","filter","sort","list"]);if(t==="kanban")return new Set(["hide","filter","sort","board"]);return new Set(["hide","filter","sort"])});const bare=$derived(!viewList&&!locked&&!changed&&!automations&&has.size===0);const ICON={hide:"M3 3l18 18M10.6 10.6a2 2 0 0 0 2.8 2.8M9.9 5.1A9.8 9.8 0 0 1 12 5c5 0 9 5 10 7a13.4 13.4 0 0 1-3 3.9M6.6 6.6A13.5 13.5 0 0 0 2 12c1 2 5 7 10 7a9.6 9.6 0 0 0 4.4-1.1",filter:"M4 5h16l-6 7v6l-4 2v-8z",group:"M4 5h16M4 10h10M4 15h16M4 20h10",sort:"M7 4v16M3 16l4 4 4-4M17 20V4M13 8l4-4 4 4",color:"M12 3l6 7a6.5 6.5 0 1 1-12 0l6-7z",chart:"M4 20h16M6 20V11M11 20V5M16 20v-7",gantt:"M4 5h9M7 10h11M10 15h8M4 20h16",height:"M4 6h16M4 12h16M4 18h16M20 3v18",search:"M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14zM20 20l-4-4",chevron:"M6 9l6 6 6-6",bolt:"M13 3L5 14h6l-1 7 8-11h-6z",lock:"M6 11h12v9H6zM8 11V8a4 4 0 0 1 8 0v3",person:"M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4 21a8 8 0 0 1 16 0"};
3
3
  </script>
4
4
 
5
5
  {#snippet glyph(path: string, size = 15)}
@@ -122,6 +122,15 @@ import{tick,untrack}from"svelte";import{SvPopover,menuFocus}from"@svgrid/grid";i
122
122
  <ListPanel {ctrl} view={settings} inbox={settings.type === 'inbox'} onChange={setList} />
123
123
  </SvPopover>
124
124
  {/if}
125
+ {#if has.has('board') && active}
126
+ {@const settings = active}
127
+ <SvPopover open={panel === 'board'} onOpenChange={(o) => setPanel('board', o)} arrow={false} placement="bottom-start" ariaLabel={bm('viewbar.customizeBoard')}>
128
+ {#snippet anchor()}
129
+ <button type="button" disabled={locked} title={locked ? lockTitle : undefined} class="sv-fvb-btn" aria-haspopup="dialog" aria-expanded={panel === 'board'}>{@render glyph(viewTypeInfo('kanban').icon)}<span>{bm('viewbar.customizeBoard')}</span></button>
130
+ {/snippet}
131
+ <BoardPanel {ctrl} view={settings} onChange={setBoard} />
132
+ </SvPopover>
133
+ {/if}
125
134
  {#if has.has('form')}
126
135
  <button type="button" disabled={locked} title={locked ? lockTitle : undefined} class="sv-fvb-btn" aria-haspopup="dialog" aria-expanded={formOpen} onclick={() => (formOpen = true)}>{@render glyph(viewTypeInfo('form').icon)}<span>{bm('viewbar.customizeForm')}</span></button>
127
136
  {/if}
@@ -4,7 +4,7 @@
4
4
  * the grid's bar to show its Filter panel; without a bar the item is not
5
5
  * offered.
6
6
  */
7
- export type BarPanel = 'hide' | 'filter' | 'group' | 'sort' | 'color' | 'chart' | 'gantt' | 'list';
7
+ export type BarPanel = 'hide' | 'filter' | 'group' | 'sort' | 'color' | 'chart' | 'gantt' | 'list' | 'board';
8
8
  /** A bar mounted over this grid; the returned function unregisters it. */
9
9
  export declare function registerBar(ctrl: object): () => void;
10
10
  export declare const hasBar: (ctrl: unknown) => boolean;
@@ -1 +1 @@
1
- import{fieldFilterColumns as h}from"./filter-model.js";import{bm as c}from"./messages.svelte.js";const u=(s,e)=>{const l=s;return l?.kind==="fieldFilter"&&h(l).includes(e)};function p(s,e,l){const t=[],i=s.state??{};s.stackBy===e&&t.push("shell.usesStack"),(s.dateField===e||s.endField===e)&&t.push("shell.usesDates"),(s.progressField===e||s.dependencyField===e)&&t.push("shell.usesBars"),s.coverField===e&&t.push("shell.usesCover"),(s.chart?.x===e||s.chart?.y===e)&&t.push("shell.usesChart"),u(i.advancedFilter,e)&&t.push("shell.usesFilter"),i.sorting?.some(o=>o.id===e)&&t.push("shell.usesSort"),i.grouping?.includes(e)&&t.push("shell.usesGroup");const n=s.color;return(n?.mode==="field"&&n.field===l||n?.mode==="conditions"&&n.rules.some(o=>o.condition.column===e))&&t.push("shell.usesColor"),(s.formFields?.includes(e)||s.formRequired?.includes(e)||Object.values(s.formConditions??{}).some(o=>u(o,e)))&&t.push("shell.usesForm"),(s.listFields?.includes(e)||s.inboxDateField===e)&&t.push("shell.usesList"),s.dashboard?.some(o=>o.field===e||o.sortBy===e||o.detail===e||o.chart?.x===e||o.chart?.y===e||u(o.filter,e))&&t.push("shell.usesTile"),t}function m(s,e){const l=s.trigger;return l.type==="recordUpdated"&&l.fields?.includes(e)||l.type==="button"&&l.field===e||u(s.condition,e)?!0:s.actions.some(t=>(t.type==="updateRecord"||t.type==="createRecord")&&e in t.values||t.type==="highlight"&&t.fields?.includes(e))}export function fieldUses(s,e){if(!e)return[];const l=String(e.id??e.field??""),t=String(e.field??l),i=s?.props?.baseViews?.()??[],n=s?.props?.baseAutomations?.()??[],o=i.flatMap(r=>{const a=p(r,l,t);return a.length?[c("shell.usesView",{name:r.name,uses:a.map(f=>c(f)).join(", ")})]:[]});for(const r of n)m(r,l)&&o.push(c("shell.usesAutomation",{name:r.name}));return o}
1
+ import{fieldFilterColumns as h}from"./filter-model.js";import{bm as c}from"./messages.svelte.js";const r=(s,e)=>{const o=s;return o?.kind==="fieldFilter"&&h(o).includes(e)};function p(s,e,o){const l=[],i=s.state??{};s.stackBy===e&&l.push("shell.usesStack"),(s.dateField===e||s.endField===e)&&l.push("shell.usesDates"),(s.progressField===e||s.dependencyField===e)&&l.push("shell.usesBars"),s.coverField===e&&l.push("shell.usesCover"),(s.chart?.x===e||s.chart?.y===e)&&l.push("shell.usesChart"),r(i.advancedFilter,e)&&l.push("shell.usesFilter"),i.sorting?.some(t=>t.id===e)&&l.push("shell.usesSort"),i.grouping?.includes(e)&&l.push("shell.usesGroup");const n=s.color;return(n?.mode==="field"&&n.field===o||n?.mode==="conditions"&&n.rules.some(t=>t.condition.column===e))&&l.push("shell.usesColor"),(s.formFields?.includes(e)||s.formRequired?.includes(e)||Object.values(s.formConditions??{}).some(t=>r(t,e)))&&l.push("shell.usesForm"),(s.listFields?.includes(e)||s.inboxDateField===e)&&l.push("shell.usesList"),(s.swimlaneBy===e||s.cardFields?.includes(e)||s.dueField===e||s.fadeField===e||s.blockedField===e||s.quickFilters?.includes(e))&&l.push("shell.usesBoard"),s.dashboard?.some(t=>t.field===e||t.sortBy===e||t.detail===e||t.chart?.x===e||t.chart?.y===e||r(t.filter,e))&&l.push("shell.usesTile"),l}function d(s,e){const o=s.trigger;return o.type==="recordUpdated"&&o.fields?.includes(e)||o.type==="button"&&o.field===e||r(s.condition,e)?!0:s.actions.some(l=>(l.type==="updateRecord"||l.type==="createRecord")&&e in l.values||l.type==="highlight"&&l.fields?.includes(e))}export function fieldUses(s,e){if(!e)return[];const o=String(e.id??e.field??""),l=String(e.field??o),i=s?.props?.baseViews?.()??[],n=s?.props?.baseAutomations?.()??[],t=i.flatMap(u=>{const a=p(u,o,l);return a.length?[c("shell.usesView",{name:u.name,uses:a.map(f=>c(f)).join(", ")})]:[]});for(const u of n)d(u,o)&&t.push(c("shell.usesAutomation",{name:u.name}));return t}
@@ -422,6 +422,7 @@ export declare const SHELL_MESSAGES: {
422
422
  readonly 'shell.usesDates': "places its records by it, and shows as a plain grid without it";
423
423
  readonly 'shell.usesBars': "draws its bars with it";
424
424
  readonly 'shell.usesCover': "shows it as the card cover";
425
+ readonly 'shell.usesBoard': "shows it on its cards";
425
426
  readonly 'shell.usesChart': "charts it";
426
427
  readonly 'shell.usesFilter': "filters by it";
427
428
  readonly 'shell.usesSort': "sorts by it";
@@ -1 +1 @@
1
- export const SHELL_MESSAGES={"shell.records.one":"{count} record","shell.records.other":"{count} records","shell.tables.one":"{count} table","shell.tables.other":"{count} tables","shell.items.one":"{count} item","shell.items.other":"{count} items","shell.loadingRecords":"Loading records…","shell.deleteTableOnServer":"It leaves this base. Its records stay in the database.","shell.converting":"Converting {done} of {total} records…","shell.writingOptions":"Updating {done} records…","shell.convertTitle":"Convert the stored values?","shell.convertBody":"{name} holds {count} records in the database. Convert their values to the new type, or change the field only and leave them as they are?","shell.convertValues":"Convert the values","shell.convertKeep":"Change the field only","shell.exporting":"Exporting {done} of {total} records…","shell.copying":"Copying {done} of {total} records…","shell.reading":"Reading {done} of {total} records…","shell.saving":"Saving…","shell.allSaved":"All changes saved","shell.notSaved":"Not saved: {message}","shell.savingSlow":"Still saving: the server has not answered yet","shell.tryAgain":"Try again","shell.dismissStatus":"Dismiss","shell.failSave":"Could not save {field} of {record}. {reason}","shell.failSaveTyped":"Could not save {field} of {record}. {reason} You entered: {value}","shell.failSaveRecord":"Could not save {record}. {reason}","shell.failAdd":"Could not add {record}. {reason}","shell.failAddMany":"Could not add {records}. {reason}","shell.failDelete":"Could not delete {record}. {reason} It is still in the table.","shell.failDeleteMany":"Could not delete {records}. {reason} They are still in the table.","shell.failPurge":"Could not delete {record} forever. {reason} It is still in the trash.","shell.failPurgeMany":"Could not delete {records} forever. {reason} They are still in the trash.","shell.undoLeftAway":"{records} left out: someone deleted them. If they are restored, they keep the edit.","shell.failLinkGone":"The record {record} linked to was deleted forever, so this link cannot come back.","shell.linkToTrash":"The record you linked to is in the trash. The link stays empty until someone restores it.","shell.failPurgeHalf":"Could not delete {record} forever. {reason} It stopped half way, so its links may be gone and it cannot be restored. Press Delete forever again to finish.","shell.failPurgeHalfMany":"Could not delete {records} forever. {reason} It stopped half way, so their links may be gone and they cannot be restored. Press Delete forever again to finish.","shell.purgeUnderWay":"{record} cannot be restored: someone has started to delete it forever. If it stays in the trash, that delete did not finish, and Delete forever will finish it.","shell.purgeUnderWayMany":"{records} cannot be restored: someone has started to delete them forever. If they stay in the trash, that delete did not finish, and Delete forever will finish it.","shell.cannotRestorePurging":"A delete forever of this record did not finish. Its links may be gone, so it cannot be restored. Delete it forever to finish.","shell.purgeCameBack":"{record} was not deleted: someone restored it first.","shell.purgeCameBackMany":"{records} were not deleted: someone restored them first.","shell.undoPurged":"{record} was deleted forever, so it cannot come back.","shell.undoPurgedMany":"{records} were deleted forever, so they cannot come back.","shell.failRestore":"Could not put {record} back. {reason} It is still in the trash.","shell.failRestoreMany":"Could not put {records} back. {reason} They are still in the trash.","shell.failMany":"{count} changes could not be saved. {reason}","shell.why.offline":"The server could not be reached.","shell.why.noAnswer":"The server did not answer, so it may not have been stored.","shell.why.required":"This field needs a value.","shell.why.duplicate":"Another record already has this value.","shell.why.notAccepted":"The database does not accept this value.","shell.why.idTooLong":"Record ids need {need} characters; this table's id column holds {holds}. Ask whoever runs the database to make it wider.","shell.why.linked":"Other records depend on it.","shell.why.linkedCircle":"These records link to each other in a circle, and this database checks each link as it deletes, so they were not deleted. Empty the link of one of them first.","shell.why.linkRefused":"The linked record is not there, or you may not link to it. Pick another.","shell.why.noPermission":"You do not have permission to do this.","shell.why.gone":"This record no longer exists.","shell.why.notDeleted":"The database kept it, so you may not have permission.","shell.why.noRead":"The server did not answer.","shell.why.readError":"The server answered with an error. Whoever runs it can see why in its log.","shell.why.linkMissing":"The record it points to is not there.","shell.why.linkMissingField":"The record {field} points to is not there.","shell.why.linkMissingFields":"The record that {fields} point to is not there.","shell.why.serverError":"The server answered with an error. Whoever runs it can see why in its log.","shell.why.unknown":"No reason came with the error that this page may show. Whoever runs the database can see it in its log.","shell.why.said":"The server said: {said}","shell.why.readSaid":"The server answered with an error: {said}","shell.couldNotLoad":"Could not load {table}: {message}","shell.loadFailedTitle":"Could not load {table}","shell.loadTryAgain":"Try again","shell.loadTrying":"Trying again…","shell.couldNotSave":"Could not save {table}: {message}","shell.trashSaveFailed":"Could not save the trash: {message}","shell.trashReadFailed":"Could not read the trash: {message}","shell.deleted":"Deleted {what}","shell.restored":"Restored {what}","shell.theField":"the field {name}","shell.theTable":"the table {name}","shell.theView":"the view {name}","shell.stepDeleteView":"delete view {name}","shell.aField":"a field","shell.importedNewTable":"Imported {records} into a new table, {name}","shell.importedInto":"Imported {records} into {table}","shell.importedIntoFallback":"the table","shell.stepCellEdit":"cell edit","shell.stepCells.one":"{count} cell","shell.stepCells.other":"{count} cells","shell.stepResize":"resize","shell.stepMoveField":"move field","shell.stepAddRecord":"add record","shell.stepMoveRecord":"move record","shell.undoRecordStays":"Someone has changed this record since, so it stays. Delete it if it should go.","shell.undoCellStays.one":"Someone has changed this cell since, so it keeps their value.","shell.undoCellStays.other":"Someone has changed {count} of these cells since, so they keep their values.","shell.undoCellsKept.one":"Someone has changed 1 of these cells since, so it keeps their value.","shell.undoCellsKept.other":"Someone has changed {count} of these cells since, so they keep their values.","shell.undoRecordsKept.one":"Someone has changed 1 of these records since, so it keeps their value.","shell.undoRecordsKept.other":"Someone has changed {count} of these records since, so they keep their values.","shell.undoCannotCheck":"The database could not be reached to check this cell, so nothing was changed. Try again in a moment.","shell.undoStillSaving":"This record is still saving, so nothing was changed. Try again once it has saved.","shell.undoRunning":"Undo is still running.","shell.redoRunning":"Redo is still running.","shell.undoStopped":"Undo stopped: {done} of {total} records were put back. Undo again to put back the rest.","shell.redoStopped":"Redo stopped: {done} of {total} records were changed again. Redo again to do the rest.","shell.undoCellsStopped":"Undo stopped: {done} of {total} cells were put back. Undo again to put back the rest.","shell.redoCellsStopped":"Redo stopped: {done} of {total} cells were changed again. Redo again to do the rest.","shell.undoAddStopped":"Undo stopped: {done} of {total} new records were taken out. Undo again to take out the rest.","shell.redoAddStopped":"Redo stopped: {done} of {total} records were added again. Redo again to add the rest.","shell.redoDeleteStopped":"Redo stopped: {done} of {total} records were deleted again. The rest stay, and Undo brings back those it deleted.","shell.undoRecordGone":"This record has been deleted, so nothing was changed.","shell.retryChanged.one":"This cell has changed since, so it keeps its new value.","shell.retryChanged.other":"{count} cells have changed since, so they keep their new values.","shell.retryGone.one":"The record has been deleted, so this was not saved.","shell.retryGone.other":"{count} records have been deleted, so these were not saved.","shell.retryGoneTyped":'The record has been deleted, so "{value}" was not saved.',"shell.retryUnread":"The record could not be read to check it, so nothing was saved.","shell.deleteCannotRead":"The database could not be read, so these records were not deleted. Try again in a moment.","shell.pasteLeftOut.one":'"{text}" does not fit {field}, so that cell keeps its value.',"shell.pasteLeftOut.other":"{count} values do not fit their fields, so those cells keep their values.","shell.pasteLoading":"The view is still loading, so nothing was pasted. Paste again when the rows are shown.","shell.formulaInField":"In a base, a formula is a field of its own: it works out a value for every record at once.","shell.formulaMakeField":"Make a formula field","shell.formulaIsSummary":"The summary bar under the table works this out for {field}, and keeps it up to date as records change.","shell.formulaShowSummary":"Show it for {field}","shell.sumShown":"The sum of {field} is in the summary bar under the table. It keeps up as records change.","shell.sumNotNumbers":"{field} does not hold numbers, so there is nothing to add up. Select a number field and press Alt+= again.","shell.sumNoBar":"A base adds up a field in the summary bar under the table, and this view does not show one.","shell.totalRecord":"No total record needed: the summary bar under the table adds up each number field, and keeps up as records change.","shell.totalShowSums":"Show the sums","shell.formatInBase":"A base keeps no bold or colors typed into cells, so every screen reads the same data. Color rows or cells by what they hold with Color in the toolbar.","shell.formatOpenColor":"Open Color","shell.pasteNoField.one":"One column of the paste had no field to go in, so it was left out.","shell.pasteNoField.other":"{count} columns of the paste had no field to go in, so they were left out.","shell.pasteNamesLeftOut":"The first line holds the names of the fields, so it is not pasted as a record.","shell.pasteFieldsTitle.one":"Add a field for this paste?","shell.pasteFieldsTitle.other":"Add {count} fields for this paste?","shell.pasteFieldsBody.one":"The paste has one more column than the table has from here. Add a field for it:","shell.pasteFieldsBody.other":"The paste has {count} more columns than the table has from here. Add a field for each:","shell.pasteFirstLineNames":"The first line holds the names of the fields","shell.pasteWithout":"Paste without them","shell.pasteAddFields.one":"Add the field and paste","shell.pasteAddFields.other":"Add {count} fields and paste","shell.pasteNewTitle":"New records","shell.pasteNewAsk":"This paste runs past the last record. Add {records}?","shell.pasteNewConfirm":"Add records","shell.pasteNewPart":"{done} of {total} new records were added.","shell.rangeLoading":"The view is still loading, so nothing was changed. Try again when the rows are shown.","shell.rangeMovedPaste":'Records moved while this was read. Nothing was changed. Try again pastes from "{name}" down over the rows as they are now.',"shell.rangeMovedValue":'Records moved while this was read. Nothing was changed. Try again puts the value in from "{name}" down over the rows as they are now.',"shell.rangeMovedClear":'Records moved while this was read. Nothing was changed. Try again clears from "{name}" down over the rows as they are now.',"shell.rangeMovedFill":'Records moved while this was read. Nothing was changed. Try again fills from "{name}" down over the rows as they are now.',"shell.rangeMovedSelect":"Records moved while this was read. Nothing was changed. Select the cells again.","shell.rangeAnchorGone":'"{name}" is no longer among the rows shown, so nothing was changed. Select the cells again.',"shell.rangeAgainShort.one":'Only {count} row is below "{name}" now, fewer rows than the first try covered ({covered}), so nothing was changed. Select the cells again.',"shell.rangeAgainShort.other":'Only {count} rows are below "{name}" now, fewer rows than the first try covered ({covered}), so nothing was changed. Select the cells again.',"shell.copyAgainShort.one":'Only {count} row is below "{name}" now, fewer rows than the first try covered ({covered}), so nothing was copied. Select the cells again.',"shell.copyAgainShort.other":'Only {count} rows are below "{name}" now, fewer rows than the first try covered ({covered}), so nothing was copied. Select the cells again.',"shell.rangeAgainCovers":'From "{name}" down over {count} rows, selected in the view.',"shell.rangeElsewhere":"That view is no longer open, so nothing was changed.","shell.rangeViewChanged":"The view has changed since, so nothing was changed.","shell.copyElsewhere":"That view is no longer open, so nothing was copied.","shell.copyViewChanged":"The view has changed since, so nothing was copied.","shell.rangeDraftsLeft.one":"1 new record is not stored yet, so it was left out. Change it on its own row.","shell.rangeDraftsLeft.other":"{count} new records are not stored yet, so they were left out. Change them on their own rows.","shell.rangeMoveRefused":"A move can only use rows that are on screen, and {records} of this one are not loaded, so nothing moved. Copy and paste reach them.","shell.copyTitle":"Copy","shell.copyReading":"Reading the selection: {done} rows so far","shell.copyTooBig":"This selection is {cells} cells, more than the {limit} a copy can hold, so nothing was copied. Download this view instead: it holds every record.","shell.copyMovedFrom":'Records moved while this was read. Nothing was copied. Try again copies from "{name}" down over the rows as they are now.',"shell.copyMovedSelect":"Records moved while this was read. Nothing was copied. Select the cells again.","shell.copyAnchorGone":'"{name}" is no longer among the rows shown, so nothing was copied. Select the cells again.',"shell.copyFailed":"Could not read the selection, so nothing was copied: {message}","shell.copyDone":"Copied {count} rows","shell.copyReady":"{count} rows are ready. The browser needs one more click to put them on the clipboard.","shell.copyButton":"Copy","shell.copyRefused":"The browser would not put this much on the clipboard. Download this view instead.","shell.cutRefused":"The browser would not put the cells on the clipboard, so nothing was cut.","shell.cutMoved":"The selection changed before the cells reached the clipboard, so nothing was cleared.","shell.stepPasteRecords":"paste {records}","shell.stepBulkEdit":"edit {records}","shell.bulkReading":"Reading the selection: {done} records so far","shell.bulkFailed":"Could not read the selection, so nothing was changed: {message}","shell.bulkTitle":"Edit records","shell.bulkAsk":"Change {count}?","shell.bulkRuns":"Also run automations: up to {count} runs","shell.bulkRunsTime":"They run one at a time in this tab after the save: about {time} at {rate} a second. Runs left when the tab closes do not happen.","shell.bulkRunsTab":"They run one at a time in this tab after the save. Runs left when the tab closes do not happen.","shell.runsLine":"Running automations: {done} of {total}","shell.runsLineLeft":"Running automations: {done} of {total}, about {time} left","shell.runsStop":"Stop","shell.runsDone":"Automations ran on {total} changes.","shell.runsStopped":"Stopped: {done} of {total} automation runs are done. The other {left} will not run.","shell.timeSeconds":"less than a minute","shell.timeMinutes.one":"1 minute","shell.timeMinutes.other":"{count} minutes","shell.timeHours.one":"1 hour","shell.timeHours.other":"{count} hours","shell.bulkAskNoUndo":"That is too many to undo: once changed, they cannot be changed back from here.","shell.bulkConfirm":"Change records","shell.bulkWriting":"Saving {done} of {total} records...","shell.cellsWriting":"Saving {done} of {total} cells...","shell.bulkDone":"Changed {done} of {total} records","shell.bulkStopped":"Stopped: {done} of {total} records were changed.","shell.bulkFailedPart":"{done} of {total} records were changed, then the save stopped. {reason}","shell.bulkFailedUnsure":"At least {done} of {total} records were changed, then the save stopped and the database could not be read to check the last block. {reason}","shell.bulkUndoLeft":"Undo takes these back.","shell.bulkNoUndoLeft":"That is too many to undo.","shell.failSaveMany":"Could not save {records}. {reason}","shell.stepDeleteRecords":"delete {records}","shell.addColumnFailed":"The column for {field} was not added: {error}","shell.addColumnYourself":"{field} needs a column in {table} before it can store values. Add it to the database: {sql}","shell.duplicateNeedsColumn":"A copy of {field} needs a column of its own in {table}, and the base cannot add one there, so nothing was copied. Add the column to the database first: {sql}","shell.deleting":"Deleting {done} of {total} records...","shell.deleteNoTrash":"That is too many for the trash: they cannot be restored.","shell.scanDrift":"Records changed while this view was being read, so its count may be out by a few.","shell.noSqlSort":"This database cannot work out {fields}, so the view does not sort or total on it.","shell.noSqlView":"This database cannot work out {fields}, so the view cannot filter or group on it. Take it out of the filter or the grouping.","shell.deleteGroupShort":"The group {key} read back {read} records of {size}, so what was left out of the selection cannot be told apart. Nothing was deleted.","shell.deleteGroupUnknown":"How many records the group {key} holds is not known here, so what was left out of the selection cannot be told apart. Nothing was deleted. Tick what should go instead.","shell.deleteTitle":"Delete records","shell.deleteReading":"Finding the records to delete: {done} read...","shell.deleteAsk":"Delete {count}?","shell.deleteAskTrash":"They go to the trash, and undo brings them back.","shell.deleteNothing":"None of the selected records are there any more.","shell.deleteStop":"Stop","shell.deleteCancel":"Cancel","shell.deleteConfirm":"Delete","shell.deleteDone":"Deleted {done} of {total} records","shell.deleteFailed":"Could not read the selection, so nothing was deleted: {message}","shell.columnExists":"The column {column} already exists in {table}, so {field} was stored as {name}.","shell.stepAddField":"add field {name}","shell.stepChangeField":"change field {name}","shell.stepDeleteField":"delete field {name}","shell.stepAddTable":"add table {name}","shell.stepRenameTable":"rename table to {name}","shell.stepDuplicateTable":"duplicate table {name}","shell.stepDeleteTable":"delete table {name}","shell.stepRestore":"restore from the trash","shell.stepImportTable":"import {name}","shell.stepImportRecords":"import {records}","shell.tablesLabel":"Tables","shell.tableName":"Table name","shell.tableActions":"Table actions","shell.tableOptions":"{name} table options","shell.renameTable":"Rename table","shell.duplicateTable":"Duplicate table","shell.importRecordsFromFile":"Import records from a file","shell.keepOneTable":"A base keeps at least one table","shell.deleteTable":"Delete table","shell.allTables":"All tables","shell.importAsTable":"Import a file as a table","shell.importAsTableTitle":"A CSV, TSV, Excel or JSON file as a new table, with a field type for each column","shell.downloadCsv":"Download this view as CSV","shell.downloadExcel":"Download this view as Excel","shell.downloadViewTitle":"The records and fields this view shows, as they read on screen","shell.exportNothing":"This view has no records to download.","shell.excelNeedsZip":"This app cannot write Excel files yet: it needs the jszip package. Ask whoever runs it to install jszip.","shell.exportFailed":"Could not make the file. Try again.","shell.downloadSql":"Download as SQL","shell.downloadFiles":"Download the files (ZIP)","shell.downloadFilesTitle":"Every file this view shows, in a folder for each group, or for each record","shell.exportNoFiles":"This view shows no files.","shell.downloadSqlTitle":"The tables, links, records, views and automations, ready for Postgres or Supabase","shell.addTable":"Add table","shell.addTableWays":"More ways to add a table","shell.blankTable":"Blank table","shell.viewOnly":"View only","shell.viewOnlyTitle":"You can look at these tables but not change them","shell.undo":"Undo","shell.undoStep":"Undo {step}","shell.undoStepTitle":"Undo {step} (Ctrl+Z)","shell.nothingToUndo":"Nothing to undo","shell.redo":"Redo","shell.redoStep":"Redo {step}","shell.redoStepTitle":"Redo {step} (Ctrl+Shift+Z)","shell.nothingToRedo":"Nothing to redo","shell.trashButton":"Trash, {items}","shell.trashTitle":"Deleted records, fields and tables","shell.deleteNamed":"Delete {name}?","shell.deleteTableRecords.one":"Its {count} record goes with it, and so do its views.","shell.deleteTableRecords.other":"Its {count} records go with it, and so do its views.","shell.deleteTableLinks":"These fields of other tables link to it, or read a link to it, and are deleted too:","shell.readsLink":"{table}: {field} (reads {link})","shell.cancel":"Cancel","shell.searchAllTables":"Search all tables","shell.searchResults":"Search results","shell.searchRecords":"Records","shell.searchMore":"{count} more in {table}","shell.searchNone":"No records match.","shell.searchFoot":"{records} in {tables}","shell.trash":"Trash","shell.trashShow":"Show","shell.trashAll":"All","shell.trashRecords":"Records","shell.trashFields":"Fields","shell.trashTables":"Tables","shell.trashViews":"Views","shell.findInTrash":"Find in trash","shell.trashEmpty":"The trash is empty. Deleted records, fields and tables come here.","shell.trashEmptyDays":"The trash is empty. Deleted records, fields and tables come here and stay {days} days.","shell.trashNoMatch":"Nothing in the trash matches.","shell.trashItems":"Deleted items","shell.kindRecord":"Record","shell.kindView":"View","shell.kindField":"Field","shell.kindTable":"Table","shell.trashIn":"{kind} in {table}","shell.trashTableRecords.one":"{kind}, {count} record","shell.trashTableRecords.other":"{kind}, {count} records","shell.trashDeletedTable":"{name} (deleted)","shell.trashADeletedTable":"a deleted table","shell.trashBy":"by","shell.agoNow":"just now","shell.agoMinutes":"{n} min ago","shell.agoHours":"{n} h ago","shell.agoYesterday":"yesterday","shell.agoDays":"{n} days ago","shell.restore":"Restore","shell.restoreItem":"Restore {name}","shell.restoreAll":"Restore all","shell.restoreThese":"Restore these","shell.deleteForever":"Delete forever","shell.deleteItemForever":"Delete {name} forever","shell.deleteCountForever":"Delete {count} forever","shell.keepThem":"Keep them","shell.keepIt":"Keep it","shell.deleteAskForever":"Delete this forever? It cannot be undone.","shell.emptyTrash":"Empty trash","shell.trashNoteDays":"Items are deleted for good after {days} days.","shell.trashNoteKeep":"Items stay until the trash is emptied.","shell.trashNotePage":"Items stay until this page is closed or reloaded.","shell.trashNoteMarked":"Records stay in their table until they are deleted forever. Fields, views and tables stay until this page is closed or reloaded.","shell.trashClosed":"Deleted records are listed for people who may delete. Ask whoever runs this base if you need one back.","shell.trashEmptyMarked":"The trash is empty. Deleted records stay in their table and come here. Deleted fields, views and tables stay until this page is closed or reloaded.","shell.trashMore":"Showing the latest {shown} of {total} deleted records.","shell.trashEmptyPage":"The trash is empty. Deleted records, fields and tables come here and stay until this page is closed or reloaded.","shell.unnamedRecord":"Untitled record","shell.fieldFallback":"Field","shell.cannotRestoreTable":"A table with its id is in the base","shell.cannotRestoreNoTable":"Its table was deleted: restore the table first","shell.cannotRestoreRecord":"The record is in its table","shell.cannotRestoreField":"A field with its id is in the table","shell.importNewTitle":"Import a file as a new table","shell.importIntoTitle":"Import records into {table}","shell.thisTable":"this table","shell.importChoose":"Choose a CSV or Excel file","shell.importReading":"Reading the file…","shell.importDrop":"Drop a file here, or click to choose one","shell.importFormats":"CSV, TSV, Excel (.xlsx) or JSON. The first row names the columns.","shell.importNoRecords":"The file has a header row and no records.","shell.importBinary":"This file is not text. Choose a CSV, TSV, Excel (.xlsx) or JSON file.","shell.importNeedsZip":"This app cannot read Excel files yet: it needs the jszip package. Ask whoever runs it to install jszip, or import the file as CSV.","shell.importBadExcel":"This file could not be read as an Excel workbook. Open it in Excel and save it again as .xlsx.","shell.importBadJson":'This file could not be read as JSON. It needs to be a list of records: [{ "name": "Ana" }, ...].',"shell.importSeparator":"Separator","shell.importEncoding":"Encoding","shell.importComma":"Comma","shell.importSemicolon":"Semicolon","shell.importTab":"Tab","shell.importPipe":"Pipe","shell.importWarnEncoding":"This file is not UTF-8, so it was read as {encoding}. If letters look wrong, choose another encoding above.","shell.importWarnUnclosed.one":"A quote on line {line} is never closed. It was kept as text, and the rows after it were read as usual. Check that row after the import.","shell.importWarnUnclosed.other":"{count} quotes are never closed, the first on line {line}. They were kept as text, and the rows after them were read as usual. Check those rows after the import.","shell.importWarnStray.one":"A quote on line {line} is in an unusual place and was kept as text. Check that row after the import.","shell.importWarnStray.other":"{count} lines have a quote in an unusual place, the first on line {line}. They were kept as text. Check those rows after the import.","shell.importWarnLong.one":"The row on line {line} has more cells than the header row. The extra cells are in columns of their own below.","shell.importWarnLong.other":"{count} rows have more cells than the header row, the first on line {line}. The extra cells are in columns of their own below.","shell.importWarnShort.one":"The row on line {line} has fewer cells than the header row. Its missing cells stay empty.","shell.importWarnShort.other":"{count} rows have fewer cells than the header row, the first on line {line}. Their missing cells stay empty.","shell.importWarnLost.one":"1 value does not fit the field it goes to and would be left empty. Change that field type or skip the column to keep it.","shell.importWarnLost.other":"{count} values do not fit the fields they go to and would be left empty. Change those field types or skip the columns to keep them.","shell.importWarnUnmatched.one":"1 cell names a person or a record that was not found, so that name is not imported.","shell.importWarnUnmatched.other":"{count} cells name a person or a record that was not found, so those names are not imported.","shell.importWarnRepeated.one":"1 record has the same name as a record already in this table. Importing adds it as a second record.","shell.importWarnRepeated.other":"{count} records have the same name as records already in this table. Importing adds them as second records.","shell.importSummary.one":"{file}: {count} record, {columns} columns","shell.importSummary.other":"{file}: {count} records, {columns} columns","shell.importAnother":"Choose another file","shell.importInto":"Import into","shell.importModeNew":"A new table","shell.importModeAppend":"Add records to {table}","shell.theShownTable":"the shown table","shell.importColumn":"Column","shell.importFieldType":"Field type","shell.importFirstValues":"First values","shell.importFileColumn":"Column in the file","shell.importGoesTo":"Goes to field","shell.importNamesRecords":"names the records","shell.importFieldTypeOf":"Field type of {name}","shell.importFieldFor":"Field for {name}","shell.importSkip":"Skip this column","shell.importNoMapping":"No column goes to a field yet.","shell.importButton.one":"Import {count} record","shell.importButton.other":"Import {count} records","shell.importFieldName":"Field {n}","shell.importedName":"Imported","shell.importedRecordName":"Imported {n}","shell.deleteRecordTitle":"Delete record?","shell.deleteRecordNamed":"{name} is deleted, and its links from other records go with it.","shell.deleteRecordUnnamed":"This record is deleted, and its links from other records go with it.","shell.deleteRecord":"Delete record","shell.fieldLinksTo":"{name} links to {table}.","shell.anotherTable":"another table","shell.fieldLinkBack":"The field there that links back, {name}, is deleted with it.","shell.fieldLinksGo":"The links between the records go too.","shell.fieldReaders":"These fields read it and are deleted too: {fields}.","shell.fieldDeleted":"{name} and its values are deleted.","shell.fieldFormulas":"These formulas read it and will show #ERROR: {fields}.","shell.deleteField":"Delete field","shell.fieldUses":"Used by:","shell.usesView":"{name}: {uses}","shell.usesAutomation":"Automation {name}: it no longer reads or writes this field","shell.usesStack":"stacks its cards by it, and shows as a plain grid without it","shell.usesDates":"places its records by it, and shows as a plain grid without it","shell.usesBars":"draws its bars with it","shell.usesCover":"shows it as the card cover","shell.usesChart":"charts it","shell.usesFilter":"filters by it","shell.usesSort":"sorts by it","shell.usesGroup":"groups by it","shell.usesColor":"colors records by it","shell.usesForm":"asks for it","shell.usesList":"lists it","shell.usesTile":"a tile reads it","shell.cellChanged":"{field} changed to {value}","shell.cellCleared":"{field} cleared","shell.cellsChanged.one":"{count} cell changed","shell.cellsChanged.other":"{count} cells changed","shell.undoneStep":"Undone: {step}","shell.redoneStep":"Redone: {step}","shell.summarize":"Summarize","shell.summarizeField":"Summarize {field}","shell.summaryChange":"{summary} {value}, change summary","shell.summaryCount.one":"{count} record, summarize {field}","shell.summaryCount.other":"{count} records, summarize {field}","shell.recordsWord.one":"record","shell.recordsWord.other":"records","shell.summaryMenu":"Summary","shell.summary.none":"None","shell.summary.empty":"Empty","shell.summary.filled":"Filled","shell.summary.unique":"Unique","shell.summary.percentEmpty":"Percent empty","shell.summary.percentFilled":"Percent filled","shell.summary.sum":"Sum","shell.summary.avg":"Average","shell.summary.median":"Median","shell.summary.min":"Min","shell.summary.max":"Max","shell.summary.range":"Range","shell.summary.checked":"Checked","shell.summary.unchecked":"Unchecked","shell.summary.percentChecked":"Percent checked","shell.summary.earliest":"Earliest date","shell.summary.latest":"Latest date","shell.summary.dateRange":"Date range (days)","shell.searchKey":"Ctrl K","shell.tabHint":"Tab moves between cells. Press Esc, then Tab, to leave the grid.","shell.menuExpand":"Expand record","shell.menuSelect":"Select record","shell.menuDeselect":"Deselect record","shell.recordActions":"Actions for row {row}","shell.menuComment":"Comment","shell.menuInsertAbove":"Insert record above","shell.menuInsertBelow":"Insert record below","shell.menuAddSubtask":"Add subtask","shell.subtasks":"Subtasks","shell.treeNoLoop":"A record cannot go under itself or one of its own subtasks.","shell.treeMovedUnder":"{name} is now under {parent}","shell.treeMovedTop":"{name} is now at the top level","shell.menuDuplicate":"Duplicate record","shell.addField":"Add a field","shell.addRow":"Add row","shell.addRecord":"Add record","shell.groupEmpty":"Empty","shell.groupAdd":"Add a record to this group","shell.groupAddTo":"Add a record to {field} {value}","shell.groupColumn":"Group","shell.someoneElse":"Someone else","shell.unseenAdded":"{who} added this record {ago}","shell.unseenChanged":"{who} changed this record {ago}","shell.selectRow":"Select row {row}","shell.selectAllRows":"Select all rows","shell.expandRow":"Expand row","shell.expandRowN":"Expand row {row}","shell.comments.one":"{count} comment","shell.comments.other":"{count} comments","shell.commentsOnRow.one":"{count} comment on row {row}","shell.commentsOnRow.other":"{count} comments on row {row}","shell.changedBy":"{count} changed by {who}","shell.changedBySomeone":"someone else","shell.changedByOthers":"others","shell.dashboardRecords":"Records"};
1
+ export const SHELL_MESSAGES={"shell.records.one":"{count} record","shell.records.other":"{count} records","shell.tables.one":"{count} table","shell.tables.other":"{count} tables","shell.items.one":"{count} item","shell.items.other":"{count} items","shell.loadingRecords":"Loading records…","shell.deleteTableOnServer":"It leaves this base. Its records stay in the database.","shell.converting":"Converting {done} of {total} records…","shell.writingOptions":"Updating {done} records…","shell.convertTitle":"Convert the stored values?","shell.convertBody":"{name} holds {count} records in the database. Convert their values to the new type, or change the field only and leave them as they are?","shell.convertValues":"Convert the values","shell.convertKeep":"Change the field only","shell.exporting":"Exporting {done} of {total} records…","shell.copying":"Copying {done} of {total} records…","shell.reading":"Reading {done} of {total} records…","shell.saving":"Saving…","shell.allSaved":"All changes saved","shell.notSaved":"Not saved: {message}","shell.savingSlow":"Still saving: the server has not answered yet","shell.tryAgain":"Try again","shell.dismissStatus":"Dismiss","shell.failSave":"Could not save {field} of {record}. {reason}","shell.failSaveTyped":"Could not save {field} of {record}. {reason} You entered: {value}","shell.failSaveRecord":"Could not save {record}. {reason}","shell.failAdd":"Could not add {record}. {reason}","shell.failAddMany":"Could not add {records}. {reason}","shell.failDelete":"Could not delete {record}. {reason} It is still in the table.","shell.failDeleteMany":"Could not delete {records}. {reason} They are still in the table.","shell.failPurge":"Could not delete {record} forever. {reason} It is still in the trash.","shell.failPurgeMany":"Could not delete {records} forever. {reason} They are still in the trash.","shell.undoLeftAway":"{records} left out: someone deleted them. If they are restored, they keep the edit.","shell.failLinkGone":"The record {record} linked to was deleted forever, so this link cannot come back.","shell.linkToTrash":"The record you linked to is in the trash. The link stays empty until someone restores it.","shell.failPurgeHalf":"Could not delete {record} forever. {reason} It stopped half way, so its links may be gone and it cannot be restored. Press Delete forever again to finish.","shell.failPurgeHalfMany":"Could not delete {records} forever. {reason} It stopped half way, so their links may be gone and they cannot be restored. Press Delete forever again to finish.","shell.purgeUnderWay":"{record} cannot be restored: someone has started to delete it forever. If it stays in the trash, that delete did not finish, and Delete forever will finish it.","shell.purgeUnderWayMany":"{records} cannot be restored: someone has started to delete them forever. If they stay in the trash, that delete did not finish, and Delete forever will finish it.","shell.cannotRestorePurging":"A delete forever of this record did not finish. Its links may be gone, so it cannot be restored. Delete it forever to finish.","shell.purgeCameBack":"{record} was not deleted: someone restored it first.","shell.purgeCameBackMany":"{records} were not deleted: someone restored them first.","shell.undoPurged":"{record} was deleted forever, so it cannot come back.","shell.undoPurgedMany":"{records} were deleted forever, so they cannot come back.","shell.failRestore":"Could not put {record} back. {reason} It is still in the trash.","shell.failRestoreMany":"Could not put {records} back. {reason} They are still in the trash.","shell.failMany":"{count} changes could not be saved. {reason}","shell.why.offline":"The server could not be reached.","shell.why.noAnswer":"The server did not answer, so it may not have been stored.","shell.why.required":"This field needs a value.","shell.why.duplicate":"Another record already has this value.","shell.why.notAccepted":"The database does not accept this value.","shell.why.idTooLong":"Record ids need {need} characters; this table's id column holds {holds}. Ask whoever runs the database to make it wider.","shell.why.linked":"Other records depend on it.","shell.why.linkedCircle":"These records link to each other in a circle, and this database checks each link as it deletes, so they were not deleted. Empty the link of one of them first.","shell.why.linkRefused":"The linked record is not there, or you may not link to it. Pick another.","shell.why.noPermission":"You do not have permission to do this.","shell.why.gone":"This record no longer exists.","shell.why.notDeleted":"The database kept it, so you may not have permission.","shell.why.noRead":"The server did not answer.","shell.why.readError":"The server answered with an error. Whoever runs it can see why in its log.","shell.why.linkMissing":"The record it points to is not there.","shell.why.linkMissingField":"The record {field} points to is not there.","shell.why.linkMissingFields":"The record that {fields} point to is not there.","shell.why.serverError":"The server answered with an error. Whoever runs it can see why in its log.","shell.why.unknown":"No reason came with the error that this page may show. Whoever runs the database can see it in its log.","shell.why.said":"The server said: {said}","shell.why.readSaid":"The server answered with an error: {said}","shell.couldNotLoad":"Could not load {table}: {message}","shell.loadFailedTitle":"Could not load {table}","shell.loadTryAgain":"Try again","shell.loadTrying":"Trying again…","shell.couldNotSave":"Could not save {table}: {message}","shell.trashSaveFailed":"Could not save the trash: {message}","shell.trashReadFailed":"Could not read the trash: {message}","shell.deleted":"Deleted {what}","shell.restored":"Restored {what}","shell.theField":"the field {name}","shell.theTable":"the table {name}","shell.theView":"the view {name}","shell.stepDeleteView":"delete view {name}","shell.aField":"a field","shell.importedNewTable":"Imported {records} into a new table, {name}","shell.importedInto":"Imported {records} into {table}","shell.importedIntoFallback":"the table","shell.stepCellEdit":"cell edit","shell.stepCells.one":"{count} cell","shell.stepCells.other":"{count} cells","shell.stepResize":"resize","shell.stepMoveField":"move field","shell.stepAddRecord":"add record","shell.stepMoveRecord":"move record","shell.undoRecordStays":"Someone has changed this record since, so it stays. Delete it if it should go.","shell.undoCellStays.one":"Someone has changed this cell since, so it keeps their value.","shell.undoCellStays.other":"Someone has changed {count} of these cells since, so they keep their values.","shell.undoCellsKept.one":"Someone has changed 1 of these cells since, so it keeps their value.","shell.undoCellsKept.other":"Someone has changed {count} of these cells since, so they keep their values.","shell.undoRecordsKept.one":"Someone has changed 1 of these records since, so it keeps their value.","shell.undoRecordsKept.other":"Someone has changed {count} of these records since, so they keep their values.","shell.undoCannotCheck":"The database could not be reached to check this cell, so nothing was changed. Try again in a moment.","shell.undoStillSaving":"This record is still saving, so nothing was changed. Try again once it has saved.","shell.undoRunning":"Undo is still running.","shell.redoRunning":"Redo is still running.","shell.undoStopped":"Undo stopped: {done} of {total} records were put back. Undo again to put back the rest.","shell.redoStopped":"Redo stopped: {done} of {total} records were changed again. Redo again to do the rest.","shell.undoCellsStopped":"Undo stopped: {done} of {total} cells were put back. Undo again to put back the rest.","shell.redoCellsStopped":"Redo stopped: {done} of {total} cells were changed again. Redo again to do the rest.","shell.undoAddStopped":"Undo stopped: {done} of {total} new records were taken out. Undo again to take out the rest.","shell.redoAddStopped":"Redo stopped: {done} of {total} records were added again. Redo again to add the rest.","shell.redoDeleteStopped":"Redo stopped: {done} of {total} records were deleted again. The rest stay, and Undo brings back those it deleted.","shell.undoRecordGone":"This record has been deleted, so nothing was changed.","shell.retryChanged.one":"This cell has changed since, so it keeps its new value.","shell.retryChanged.other":"{count} cells have changed since, so they keep their new values.","shell.retryGone.one":"The record has been deleted, so this was not saved.","shell.retryGone.other":"{count} records have been deleted, so these were not saved.","shell.retryGoneTyped":'The record has been deleted, so "{value}" was not saved.',"shell.retryUnread":"The record could not be read to check it, so nothing was saved.","shell.deleteCannotRead":"The database could not be read, so these records were not deleted. Try again in a moment.","shell.pasteLeftOut.one":'"{text}" does not fit {field}, so that cell keeps its value.',"shell.pasteLeftOut.other":"{count} values do not fit their fields, so those cells keep their values.","shell.pasteLoading":"The view is still loading, so nothing was pasted. Paste again when the rows are shown.","shell.formulaInField":"In a base, a formula is a field of its own: it works out a value for every record at once.","shell.formulaMakeField":"Make a formula field","shell.formulaIsSummary":"The summary bar under the table works this out for {field}, and keeps it up to date as records change.","shell.formulaShowSummary":"Show it for {field}","shell.sumShown":"The sum of {field} is in the summary bar under the table. It keeps up as records change.","shell.sumNotNumbers":"{field} does not hold numbers, so there is nothing to add up. Select a number field and press Alt+= again.","shell.sumNoBar":"A base adds up a field in the summary bar under the table, and this view does not show one.","shell.totalRecord":"No total record needed: the summary bar under the table adds up each number field, and keeps up as records change.","shell.totalShowSums":"Show the sums","shell.formatInBase":"A base keeps no bold or colors typed into cells, so every screen reads the same data. Color rows or cells by what they hold with Color in the toolbar.","shell.formatOpenColor":"Open Color","shell.pasteNoField.one":"One column of the paste had no field to go in, so it was left out.","shell.pasteNoField.other":"{count} columns of the paste had no field to go in, so they were left out.","shell.pasteNamesLeftOut":"The first line holds the names of the fields, so it is not pasted as a record.","shell.pasteFieldsTitle.one":"Add a field for this paste?","shell.pasteFieldsTitle.other":"Add {count} fields for this paste?","shell.pasteFieldsBody.one":"The paste has one more column than the table has from here. Add a field for it:","shell.pasteFieldsBody.other":"The paste has {count} more columns than the table has from here. Add a field for each:","shell.pasteFirstLineNames":"The first line holds the names of the fields","shell.pasteWithout":"Paste without them","shell.pasteAddFields.one":"Add the field and paste","shell.pasteAddFields.other":"Add {count} fields and paste","shell.pasteNewTitle":"New records","shell.pasteNewAsk":"This paste runs past the last record. Add {records}?","shell.pasteNewConfirm":"Add records","shell.pasteNewPart":"{done} of {total} new records were added.","shell.rangeLoading":"The view is still loading, so nothing was changed. Try again when the rows are shown.","shell.rangeMovedPaste":'Records moved while this was read. Nothing was changed. Try again pastes from "{name}" down over the rows as they are now.',"shell.rangeMovedValue":'Records moved while this was read. Nothing was changed. Try again puts the value in from "{name}" down over the rows as they are now.',"shell.rangeMovedClear":'Records moved while this was read. Nothing was changed. Try again clears from "{name}" down over the rows as they are now.',"shell.rangeMovedFill":'Records moved while this was read. Nothing was changed. Try again fills from "{name}" down over the rows as they are now.',"shell.rangeMovedSelect":"Records moved while this was read. Nothing was changed. Select the cells again.","shell.rangeAnchorGone":'"{name}" is no longer among the rows shown, so nothing was changed. Select the cells again.',"shell.rangeAgainShort.one":'Only {count} row is below "{name}" now, fewer rows than the first try covered ({covered}), so nothing was changed. Select the cells again.',"shell.rangeAgainShort.other":'Only {count} rows are below "{name}" now, fewer rows than the first try covered ({covered}), so nothing was changed. Select the cells again.',"shell.copyAgainShort.one":'Only {count} row is below "{name}" now, fewer rows than the first try covered ({covered}), so nothing was copied. Select the cells again.',"shell.copyAgainShort.other":'Only {count} rows are below "{name}" now, fewer rows than the first try covered ({covered}), so nothing was copied. Select the cells again.',"shell.rangeAgainCovers":'From "{name}" down over {count} rows, selected in the view.',"shell.rangeElsewhere":"That view is no longer open, so nothing was changed.","shell.rangeViewChanged":"The view has changed since, so nothing was changed.","shell.copyElsewhere":"That view is no longer open, so nothing was copied.","shell.copyViewChanged":"The view has changed since, so nothing was copied.","shell.rangeDraftsLeft.one":"1 new record is not stored yet, so it was left out. Change it on its own row.","shell.rangeDraftsLeft.other":"{count} new records are not stored yet, so they were left out. Change them on their own rows.","shell.rangeMoveRefused":"A move can only use rows that are on screen, and {records} of this one are not loaded, so nothing moved. Copy and paste reach them.","shell.copyTitle":"Copy","shell.copyReading":"Reading the selection: {done} rows so far","shell.copyTooBig":"This selection is {cells} cells, more than the {limit} a copy can hold, so nothing was copied. Download this view instead: it holds every record.","shell.copyMovedFrom":'Records moved while this was read. Nothing was copied. Try again copies from "{name}" down over the rows as they are now.',"shell.copyMovedSelect":"Records moved while this was read. Nothing was copied. Select the cells again.","shell.copyAnchorGone":'"{name}" is no longer among the rows shown, so nothing was copied. Select the cells again.',"shell.copyFailed":"Could not read the selection, so nothing was copied: {message}","shell.copyDone":"Copied {count} rows","shell.copyReady":"{count} rows are ready. The browser needs one more click to put them on the clipboard.","shell.copyButton":"Copy","shell.copyRefused":"The browser would not put this much on the clipboard. Download this view instead.","shell.cutRefused":"The browser would not put the cells on the clipboard, so nothing was cut.","shell.cutMoved":"The selection changed before the cells reached the clipboard, so nothing was cleared.","shell.stepPasteRecords":"paste {records}","shell.stepBulkEdit":"edit {records}","shell.bulkReading":"Reading the selection: {done} records so far","shell.bulkFailed":"Could not read the selection, so nothing was changed: {message}","shell.bulkTitle":"Edit records","shell.bulkAsk":"Change {count}?","shell.bulkRuns":"Also run automations: up to {count} runs","shell.bulkRunsTime":"They run one at a time in this tab after the save: about {time} at {rate} a second. Runs left when the tab closes do not happen.","shell.bulkRunsTab":"They run one at a time in this tab after the save. Runs left when the tab closes do not happen.","shell.runsLine":"Running automations: {done} of {total}","shell.runsLineLeft":"Running automations: {done} of {total}, about {time} left","shell.runsStop":"Stop","shell.runsDone":"Automations ran on {total} changes.","shell.runsStopped":"Stopped: {done} of {total} automation runs are done. The other {left} will not run.","shell.timeSeconds":"less than a minute","shell.timeMinutes.one":"1 minute","shell.timeMinutes.other":"{count} minutes","shell.timeHours.one":"1 hour","shell.timeHours.other":"{count} hours","shell.bulkAskNoUndo":"That is too many to undo: once changed, they cannot be changed back from here.","shell.bulkConfirm":"Change records","shell.bulkWriting":"Saving {done} of {total} records...","shell.cellsWriting":"Saving {done} of {total} cells...","shell.bulkDone":"Changed {done} of {total} records","shell.bulkStopped":"Stopped: {done} of {total} records were changed.","shell.bulkFailedPart":"{done} of {total} records were changed, then the save stopped. {reason}","shell.bulkFailedUnsure":"At least {done} of {total} records were changed, then the save stopped and the database could not be read to check the last block. {reason}","shell.bulkUndoLeft":"Undo takes these back.","shell.bulkNoUndoLeft":"That is too many to undo.","shell.failSaveMany":"Could not save {records}. {reason}","shell.stepDeleteRecords":"delete {records}","shell.addColumnFailed":"The column for {field} was not added: {error}","shell.addColumnYourself":"{field} needs a column in {table} before it can store values. Add it to the database: {sql}","shell.duplicateNeedsColumn":"A copy of {field} needs a column of its own in {table}, and the base cannot add one there, so nothing was copied. Add the column to the database first: {sql}","shell.deleting":"Deleting {done} of {total} records...","shell.deleteNoTrash":"That is too many for the trash: they cannot be restored.","shell.scanDrift":"Records changed while this view was being read, so its count may be out by a few.","shell.noSqlSort":"This database cannot work out {fields}, so the view does not sort or total on it.","shell.noSqlView":"This database cannot work out {fields}, so the view cannot filter or group on it. Take it out of the filter or the grouping.","shell.deleteGroupShort":"The group {key} read back {read} records of {size}, so what was left out of the selection cannot be told apart. Nothing was deleted.","shell.deleteGroupUnknown":"How many records the group {key} holds is not known here, so what was left out of the selection cannot be told apart. Nothing was deleted. Tick what should go instead.","shell.deleteTitle":"Delete records","shell.deleteReading":"Finding the records to delete: {done} read...","shell.deleteAsk":"Delete {count}?","shell.deleteAskTrash":"They go to the trash, and undo brings them back.","shell.deleteNothing":"None of the selected records are there any more.","shell.deleteStop":"Stop","shell.deleteCancel":"Cancel","shell.deleteConfirm":"Delete","shell.deleteDone":"Deleted {done} of {total} records","shell.deleteFailed":"Could not read the selection, so nothing was deleted: {message}","shell.columnExists":"The column {column} already exists in {table}, so {field} was stored as {name}.","shell.stepAddField":"add field {name}","shell.stepChangeField":"change field {name}","shell.stepDeleteField":"delete field {name}","shell.stepAddTable":"add table {name}","shell.stepRenameTable":"rename table to {name}","shell.stepDuplicateTable":"duplicate table {name}","shell.stepDeleteTable":"delete table {name}","shell.stepRestore":"restore from the trash","shell.stepImportTable":"import {name}","shell.stepImportRecords":"import {records}","shell.tablesLabel":"Tables","shell.tableName":"Table name","shell.tableActions":"Table actions","shell.tableOptions":"{name} table options","shell.renameTable":"Rename table","shell.duplicateTable":"Duplicate table","shell.importRecordsFromFile":"Import records from a file","shell.keepOneTable":"A base keeps at least one table","shell.deleteTable":"Delete table","shell.allTables":"All tables","shell.importAsTable":"Import a file as a table","shell.importAsTableTitle":"A CSV, TSV, Excel or JSON file as a new table, with a field type for each column","shell.downloadCsv":"Download this view as CSV","shell.downloadExcel":"Download this view as Excel","shell.downloadViewTitle":"The records and fields this view shows, as they read on screen","shell.exportNothing":"This view has no records to download.","shell.excelNeedsZip":"This app cannot write Excel files yet: it needs the jszip package. Ask whoever runs it to install jszip.","shell.exportFailed":"Could not make the file. Try again.","shell.downloadSql":"Download as SQL","shell.downloadFiles":"Download the files (ZIP)","shell.downloadFilesTitle":"Every file this view shows, in a folder for each group, or for each record","shell.exportNoFiles":"This view shows no files.","shell.downloadSqlTitle":"The tables, links, records, views and automations, ready for Postgres or Supabase","shell.addTable":"Add table","shell.addTableWays":"More ways to add a table","shell.blankTable":"Blank table","shell.viewOnly":"View only","shell.viewOnlyTitle":"You can look at these tables but not change them","shell.undo":"Undo","shell.undoStep":"Undo {step}","shell.undoStepTitle":"Undo {step} (Ctrl+Z)","shell.nothingToUndo":"Nothing to undo","shell.redo":"Redo","shell.redoStep":"Redo {step}","shell.redoStepTitle":"Redo {step} (Ctrl+Shift+Z)","shell.nothingToRedo":"Nothing to redo","shell.trashButton":"Trash, {items}","shell.trashTitle":"Deleted records, fields and tables","shell.deleteNamed":"Delete {name}?","shell.deleteTableRecords.one":"Its {count} record goes with it, and so do its views.","shell.deleteTableRecords.other":"Its {count} records go with it, and so do its views.","shell.deleteTableLinks":"These fields of other tables link to it, or read a link to it, and are deleted too:","shell.readsLink":"{table}: {field} (reads {link})","shell.cancel":"Cancel","shell.searchAllTables":"Search all tables","shell.searchResults":"Search results","shell.searchRecords":"Records","shell.searchMore":"{count} more in {table}","shell.searchNone":"No records match.","shell.searchFoot":"{records} in {tables}","shell.trash":"Trash","shell.trashShow":"Show","shell.trashAll":"All","shell.trashRecords":"Records","shell.trashFields":"Fields","shell.trashTables":"Tables","shell.trashViews":"Views","shell.findInTrash":"Find in trash","shell.trashEmpty":"The trash is empty. Deleted records, fields and tables come here.","shell.trashEmptyDays":"The trash is empty. Deleted records, fields and tables come here and stay {days} days.","shell.trashNoMatch":"Nothing in the trash matches.","shell.trashItems":"Deleted items","shell.kindRecord":"Record","shell.kindView":"View","shell.kindField":"Field","shell.kindTable":"Table","shell.trashIn":"{kind} in {table}","shell.trashTableRecords.one":"{kind}, {count} record","shell.trashTableRecords.other":"{kind}, {count} records","shell.trashDeletedTable":"{name} (deleted)","shell.trashADeletedTable":"a deleted table","shell.trashBy":"by","shell.agoNow":"just now","shell.agoMinutes":"{n} min ago","shell.agoHours":"{n} h ago","shell.agoYesterday":"yesterday","shell.agoDays":"{n} days ago","shell.restore":"Restore","shell.restoreItem":"Restore {name}","shell.restoreAll":"Restore all","shell.restoreThese":"Restore these","shell.deleteForever":"Delete forever","shell.deleteItemForever":"Delete {name} forever","shell.deleteCountForever":"Delete {count} forever","shell.keepThem":"Keep them","shell.keepIt":"Keep it","shell.deleteAskForever":"Delete this forever? It cannot be undone.","shell.emptyTrash":"Empty trash","shell.trashNoteDays":"Items are deleted for good after {days} days.","shell.trashNoteKeep":"Items stay until the trash is emptied.","shell.trashNotePage":"Items stay until this page is closed or reloaded.","shell.trashNoteMarked":"Records stay in their table until they are deleted forever. Fields, views and tables stay until this page is closed or reloaded.","shell.trashClosed":"Deleted records are listed for people who may delete. Ask whoever runs this base if you need one back.","shell.trashEmptyMarked":"The trash is empty. Deleted records stay in their table and come here. Deleted fields, views and tables stay until this page is closed or reloaded.","shell.trashMore":"Showing the latest {shown} of {total} deleted records.","shell.trashEmptyPage":"The trash is empty. Deleted records, fields and tables come here and stay until this page is closed or reloaded.","shell.unnamedRecord":"Untitled record","shell.fieldFallback":"Field","shell.cannotRestoreTable":"A table with its id is in the base","shell.cannotRestoreNoTable":"Its table was deleted: restore the table first","shell.cannotRestoreRecord":"The record is in its table","shell.cannotRestoreField":"A field with its id is in the table","shell.importNewTitle":"Import a file as a new table","shell.importIntoTitle":"Import records into {table}","shell.thisTable":"this table","shell.importChoose":"Choose a CSV or Excel file","shell.importReading":"Reading the file…","shell.importDrop":"Drop a file here, or click to choose one","shell.importFormats":"CSV, TSV, Excel (.xlsx) or JSON. The first row names the columns.","shell.importNoRecords":"The file has a header row and no records.","shell.importBinary":"This file is not text. Choose a CSV, TSV, Excel (.xlsx) or JSON file.","shell.importNeedsZip":"This app cannot read Excel files yet: it needs the jszip package. Ask whoever runs it to install jszip, or import the file as CSV.","shell.importBadExcel":"This file could not be read as an Excel workbook. Open it in Excel and save it again as .xlsx.","shell.importBadJson":'This file could not be read as JSON. It needs to be a list of records: [{ "name": "Ana" }, ...].',"shell.importSeparator":"Separator","shell.importEncoding":"Encoding","shell.importComma":"Comma","shell.importSemicolon":"Semicolon","shell.importTab":"Tab","shell.importPipe":"Pipe","shell.importWarnEncoding":"This file is not UTF-8, so it was read as {encoding}. If letters look wrong, choose another encoding above.","shell.importWarnUnclosed.one":"A quote on line {line} is never closed. It was kept as text, and the rows after it were read as usual. Check that row after the import.","shell.importWarnUnclosed.other":"{count} quotes are never closed, the first on line {line}. They were kept as text, and the rows after them were read as usual. Check those rows after the import.","shell.importWarnStray.one":"A quote on line {line} is in an unusual place and was kept as text. Check that row after the import.","shell.importWarnStray.other":"{count} lines have a quote in an unusual place, the first on line {line}. They were kept as text. Check those rows after the import.","shell.importWarnLong.one":"The row on line {line} has more cells than the header row. The extra cells are in columns of their own below.","shell.importWarnLong.other":"{count} rows have more cells than the header row, the first on line {line}. The extra cells are in columns of their own below.","shell.importWarnShort.one":"The row on line {line} has fewer cells than the header row. Its missing cells stay empty.","shell.importWarnShort.other":"{count} rows have fewer cells than the header row, the first on line {line}. Their missing cells stay empty.","shell.importWarnLost.one":"1 value does not fit the field it goes to and would be left empty. Change that field type or skip the column to keep it.","shell.importWarnLost.other":"{count} values do not fit the fields they go to and would be left empty. Change those field types or skip the columns to keep them.","shell.importWarnUnmatched.one":"1 cell names a person or a record that was not found, so that name is not imported.","shell.importWarnUnmatched.other":"{count} cells name a person or a record that was not found, so those names are not imported.","shell.importWarnRepeated.one":"1 record has the same name as a record already in this table. Importing adds it as a second record.","shell.importWarnRepeated.other":"{count} records have the same name as records already in this table. Importing adds them as second records.","shell.importSummary.one":"{file}: {count} record, {columns} columns","shell.importSummary.other":"{file}: {count} records, {columns} columns","shell.importAnother":"Choose another file","shell.importInto":"Import into","shell.importModeNew":"A new table","shell.importModeAppend":"Add records to {table}","shell.theShownTable":"the shown table","shell.importColumn":"Column","shell.importFieldType":"Field type","shell.importFirstValues":"First values","shell.importFileColumn":"Column in the file","shell.importGoesTo":"Goes to field","shell.importNamesRecords":"names the records","shell.importFieldTypeOf":"Field type of {name}","shell.importFieldFor":"Field for {name}","shell.importSkip":"Skip this column","shell.importNoMapping":"No column goes to a field yet.","shell.importButton.one":"Import {count} record","shell.importButton.other":"Import {count} records","shell.importFieldName":"Field {n}","shell.importedName":"Imported","shell.importedRecordName":"Imported {n}","shell.deleteRecordTitle":"Delete record?","shell.deleteRecordNamed":"{name} is deleted, and its links from other records go with it.","shell.deleteRecordUnnamed":"This record is deleted, and its links from other records go with it.","shell.deleteRecord":"Delete record","shell.fieldLinksTo":"{name} links to {table}.","shell.anotherTable":"another table","shell.fieldLinkBack":"The field there that links back, {name}, is deleted with it.","shell.fieldLinksGo":"The links between the records go too.","shell.fieldReaders":"These fields read it and are deleted too: {fields}.","shell.fieldDeleted":"{name} and its values are deleted.","shell.fieldFormulas":"These formulas read it and will show #ERROR: {fields}.","shell.deleteField":"Delete field","shell.fieldUses":"Used by:","shell.usesView":"{name}: {uses}","shell.usesAutomation":"Automation {name}: it no longer reads or writes this field","shell.usesStack":"stacks its cards by it, and shows as a plain grid without it","shell.usesDates":"places its records by it, and shows as a plain grid without it","shell.usesBars":"draws its bars with it","shell.usesCover":"shows it as the card cover","shell.usesBoard":"shows it on its cards","shell.usesChart":"charts it","shell.usesFilter":"filters by it","shell.usesSort":"sorts by it","shell.usesGroup":"groups by it","shell.usesColor":"colors records by it","shell.usesForm":"asks for it","shell.usesList":"lists it","shell.usesTile":"a tile reads it","shell.cellChanged":"{field} changed to {value}","shell.cellCleared":"{field} cleared","shell.cellsChanged.one":"{count} cell changed","shell.cellsChanged.other":"{count} cells changed","shell.undoneStep":"Undone: {step}","shell.redoneStep":"Redone: {step}","shell.summarize":"Summarize","shell.summarizeField":"Summarize {field}","shell.summaryChange":"{summary} {value}, change summary","shell.summaryCount.one":"{count} record, summarize {field}","shell.summaryCount.other":"{count} records, summarize {field}","shell.recordsWord.one":"record","shell.recordsWord.other":"records","shell.summaryMenu":"Summary","shell.summary.none":"None","shell.summary.empty":"Empty","shell.summary.filled":"Filled","shell.summary.unique":"Unique","shell.summary.percentEmpty":"Percent empty","shell.summary.percentFilled":"Percent filled","shell.summary.sum":"Sum","shell.summary.avg":"Average","shell.summary.median":"Median","shell.summary.min":"Min","shell.summary.max":"Max","shell.summary.range":"Range","shell.summary.checked":"Checked","shell.summary.unchecked":"Unchecked","shell.summary.percentChecked":"Percent checked","shell.summary.earliest":"Earliest date","shell.summary.latest":"Latest date","shell.summary.dateRange":"Date range (days)","shell.searchKey":"Ctrl K","shell.tabHint":"Tab moves between cells. Press Esc, then Tab, to leave the grid.","shell.menuExpand":"Expand record","shell.menuSelect":"Select record","shell.menuDeselect":"Deselect record","shell.recordActions":"Actions for row {row}","shell.menuComment":"Comment","shell.menuInsertAbove":"Insert record above","shell.menuInsertBelow":"Insert record below","shell.menuAddSubtask":"Add subtask","shell.subtasks":"Subtasks","shell.treeNoLoop":"A record cannot go under itself or one of its own subtasks.","shell.treeMovedUnder":"{name} is now under {parent}","shell.treeMovedTop":"{name} is now at the top level","shell.menuDuplicate":"Duplicate record","shell.addField":"Add a field","shell.addRow":"Add row","shell.addRecord":"Add record","shell.groupEmpty":"Empty","shell.groupAdd":"Add a record to this group","shell.groupAddTo":"Add a record to {field} {value}","shell.groupColumn":"Group","shell.someoneElse":"Someone else","shell.unseenAdded":"{who} added this record {ago}","shell.unseenChanged":"{who} changed this record {ago}","shell.selectRow":"Select row {row}","shell.selectAllRows":"Select all rows","shell.expandRow":"Expand row","shell.expandRowN":"Expand row {row}","shell.comments.one":"{count} comment","shell.comments.other":"{count} comments","shell.commentsOnRow.one":"{count} comment on row {row}","shell.commentsOnRow.other":"{count} comments on row {row}","shell.changedBy":"{count} changed by {who}","shell.changedBySomeone":"someone else","shell.changedByOthers":"others","shell.dashboardRecords":"Records"};
@@ -165,6 +165,16 @@ export declare const VIEWBAR_MESSAGES: {
165
165
  readonly 'viewbar.customizeGantt': "Customize Gantt";
166
166
  readonly 'viewbar.customizeList': "Customize list";
167
167
  readonly 'viewbar.customizeInbox': "Customize inbox";
168
+ readonly 'viewbar.customizeBoard': "Customize board";
169
+ readonly 'viewbar.boardRowsBy': "Rows by";
170
+ readonly 'viewbar.boardDue': "Due date";
171
+ readonly 'viewbar.boardFade': "Fade cards by";
172
+ readonly 'viewbar.boardFadeHint': "Cards fade a little more each week after this date. Pick a Last modified time field to fade the ones nobody has changed.";
173
+ readonly 'viewbar.boardBlocked': "Blocked when";
174
+ readonly 'viewbar.boardOnCards': "On the cards (up to {count})";
175
+ readonly 'viewbar.boardQuickFilters': "Quick filters above the board";
176
+ readonly 'viewbar.boardLimits': "Most cards in a column";
177
+ readonly 'viewbar.boardNoLimit': "No limit";
168
178
  readonly 'viewbar.rowHeight': "Row height";
169
179
  readonly 'viewbar.markAllSeen': "Mark all as seen";
170
180
  readonly 'viewbar.automations': "Automations";
@@ -1 +1 @@
1
- export const VIEWBAR_MESSAGES={"viewbar.board.board":"Board","viewbar.board.addCard":"+ Add a card","viewbar.board.addCardTo":"Add card to {lane}","viewbar.board.cardTitle":"Card title...","viewbar.board.noCards":"No cards","viewbar.board.cardActions":"Card actions","viewbar.board.clearFilters":"Clear filters","viewbar.board.blocked":"Blocked","viewbar.board.age":"Age","viewbar.board.comments":"Comments","viewbar.board.writeComment":"Write a comment...","viewbar.board.deleteComment":"Delete comment","viewbar.board.addSubtask":"Add subtask...","viewbar.board.rename":"Double-click, Enter, or F2 to rename","viewbar.board.cancel":"Cancel","viewbar.board.save":"Save","viewbar.board.grabbed":"Grabbed {card}. Use arrow keys to move, Space to drop, Escape to cancel.","viewbar.board.dropped":"Dropped {card} in {lane}.","viewbar.formMoved":"{field} moved to place {place} of {total}.","viewbar.board.movedTo":"Moved to {lane}.","viewbar.board.movedUp":"Moved up.","viewbar.board.movedDown":"Moved down.","viewbar.board.movedPosition":"Moved {lane} to position {position} of {total}.","viewbar.board.cancelled":"Cancelled.","viewbar.board.wipLimit":"{lane} is at its WIP limit ({limit}).","viewbar.board.cannotMove":"Cards can't be moved here.","viewbar.board.cardBlocked":"{card} is blocked and can't be moved.","viewbar.board.selected":"Selected {card}. {count} selected.","viewbar.board.deselected":"Deselected {card}. {count} selected.","viewbar.moveField":"Move {name}","viewbar.moveFieldHint":"Drag, or press the up and down arrows","viewbar.fieldMoved":"{name} moved to place {place} of {count}","viewbar.calendar.month":"Month","viewbar.calendar.week":"Week","viewbar.calendar.day":"Day","viewbar.calendar.agenda":"Agenda","viewbar.calendar.timelineDay":"Day","viewbar.calendar.timelineWeek":"Week","viewbar.calendar.timelineMonth":"Month","viewbar.calendar.timelineYear":"Year","viewbar.calendar.today":"Today","viewbar.calendar.previous":"Previous","viewbar.calendar.next":"Next","viewbar.calendar.allDay":"all day","viewbar.calendar.more":"+{count} more","viewbar.calendar.noEvents":"No events in this range.","viewbar.calendar.eventsColumn":"Events","viewbar.calendar.edit":"Edit","viewbar.calendar.duplicate":"Duplicate","viewbar.calendar.delete":"Delete","viewbar.calendar.moveGrabbed":"{title} picked up. Arrow keys move it, Space puts it down, Escape cancels.","viewbar.gantt.expandAll":"Expand all","viewbar.gantt.collapseAll":"Collapse all","viewbar.gantt.expandTask":"Expand {title}","viewbar.gantt.collapseTask":"Collapse {title}","viewbar.gantt.zoomIn":"Zoom in","viewbar.gantt.zoomOut":"Zoom out","viewbar.gantt.zoomDay":"day","viewbar.gantt.zoomWeek":"week","viewbar.gantt.zoomMonth":"month","viewbar.gantt.zoomQuarter":"quarter","viewbar.gantt.zoomYear":"year","viewbar.gantt.tableLabel":"Records","viewbar.gantt.chartLabel":"Gantt bars","viewbar.gantt.resizeTable":"Resize the record table","viewbar.gantt.days":"Days","viewbar.gantt.progress":"Progress","viewbar.gantt.slack":"Slack","viewbar.gantt.start":"Start","viewbar.gantt.finish":"Finish","viewbar.gantt.progressPercent":"Progress %","viewbar.gantt.task":"Record","viewbar.gantt.milestone":"Milestone","viewbar.gantt.day":"{count} day","viewbar.gantt.daysCount":"{count} days","viewbar.gantt.open":"Open","viewbar.gantt.openTask":"Open {title}","viewbar.gantt.edit":"Edit","viewbar.gantt.addSubtask":"Add subtask","viewbar.gantt.delete":"Delete","viewbar.gantt.deleteTask":"Delete record","viewbar.gantt.removeLink":"Remove link: {from} to {to}","viewbar.gantt.taskActions":"Record actions","viewbar.gantt.save":"Save","viewbar.gantt.cancel":"Cancel","viewbar.gantt.onBaseline":"On the baseline","viewbar.gantt.laterThanBaseline":"{count} days later than baseline","viewbar.gantt.aheadOfBaseline":"{count} days ahead of baseline","viewbar.gantt.dragProgress":"Drag to set progress","viewbar.gantt.linkFromStart":"Drag to link from the start","viewbar.gantt.linkFromFinish":"Drag to link from the finish","viewbar.gantt.workingDays":"{count} working days, {progress}%","viewbar.gantt.onCriticalPath":"On the critical path","viewbar.gantt.daysOfSlack":"{count} days of slack","viewbar.gantt.notMet":"not met","viewbar.gantt.peak":"peak {peak} / {capacity}","viewbar.gantt.loadOf":"{label}: {load} of {capacity}","viewbar.gantt.moveGrabbed":"{title} picked up. Arrow keys move it, Space puts it down, Escape cancels.","viewbar.gantt.moveDone":"{title} moved to {range}.","viewbar.gantt.moveCancelled":"Move cancelled.","viewbar.gantt.resized":"{title} now ends {date}.","viewbar.gantt.progressSet":"{title} at {progress}%.","viewbar.gantt.upcoming":"{title}, upcoming {date}","viewbar.calendar.moveDone":"{title} moved to {place}.","viewbar.calendar.moveCancelled":"Move cancelled.","viewbar.calendar.moveBlocked":"That time is not free.","viewbar.calendar.scopeEdit":"Edit recurring event","viewbar.calendar.scopeDelete":"Delete recurring event","viewbar.calendar.scopeOccurrence":"This event","viewbar.calendar.scopeFollowing":"This and following","viewbar.calendar.scopeSeries":"All events","viewbar.calendar.upcoming":"{name}, upcoming","viewbar.sortToOrder":"Sort this view by a number field to keep the order of its cards","viewbar.viewSettings":"View settings","viewbar.views":"Views","viewbar.defaultViewName":"Grid view","viewbar.viewCopy":"{name} copy","viewbar.rowShort":"Short","viewbar.rowMedium":"Medium","viewbar.rowTall":"Tall","viewbar.rowExtraTall":"Extra tall","viewbar.lockedTitle":"This view is locked: its settings stay as saved","viewbar.lockedTitleBy":"This view is locked by {name}: its settings stay as saved","viewbar.locked":"Locked","viewbar.lockedNotSaved":"Locked, not saved","viewbar.reset":"Reset","viewbar.personalTitle":"A personal view: only you see it","viewbar.personal":"Personal","viewbar.hideFields":"Hide fields","viewbar.hiddenFields.one":"{count} hidden field","viewbar.hiddenFields.other":"{count} hidden fields","viewbar.filter":"Filter","viewbar.filteredBy":"Filtered by {field}","viewbar.filteredByFields.one":"Filtered by {count} field","viewbar.filteredByFields.other":"Filtered by {count} fields","viewbar.group":"Group","viewbar.groupedBy.one":"Grouped by {count} field","viewbar.groupedBy.other":"Grouped by {count} fields","viewbar.sort":"Sort","viewbar.sortedBy.one":"Sorted by {count} field","viewbar.sortedBy.other":"Sorted by {count} fields","viewbar.color":"Color","viewbar.coloredBy":"Colored by {field}","viewbar.coloredByAField":"Colored by field","viewbar.coloredByConditions":"Colored by conditions","viewbar.customizeChart":"Customize chart","viewbar.customizeForm":"Customize form","viewbar.formTitle":"Title","viewbar.formDescription":"Line under the title","viewbar.formButton":"Button text","viewbar.formFields":"Fields the form asks for","viewbar.formRequiredColumn":"Required","viewbar.formAsk":"Ask for {field}","viewbar.formRequire":"{field} is required","viewbar.formMoveUp":"Move {field} up","viewbar.formMoveDown":"Move {field} down","viewbar.customizeTimeline":"Customize timeline","viewbar.customizeGantt":"Customize Gantt","viewbar.customizeList":"Customize list","viewbar.customizeInbox":"Customize inbox","viewbar.rowHeight":"Row height","viewbar.markAllSeen":"Mark all as seen","viewbar.automations":"Automations","viewbar.automationCount.one":"{count} automation","viewbar.automationCount.other":"{count} automations","viewbar.records.one":"{count} record","viewbar.records.other":"{count} records","viewbar.findRecord":"Find a record","viewbar.search":"Search","viewbar.scanToFind":"Scan a code to find its record","viewbar.searchShortcut":"Search (Ctrl+F)","viewbar.myViews":"My views","viewbar.section":"Section","viewbar.moveToSection":"Move {name} to a section","viewbar.sectionOf":"Section of {name}","viewbar.sectionPlaceholder":"A section, or empty for none","viewbar.newView":"New {type} view","viewbar.name":"Name","viewbar.stackBy":"Stack records by","viewbar.startDate":"Start date","viewbar.dateField":"Date field","viewbar.endDate":"End date","viewbar.none":"None","viewbar.progress":"Progress","viewbar.dependsOn":"Depends on","viewbar.chartType":"Chart type","viewbar.groupBy":"Group by","viewbar.value":"Value","viewbar.numberOfRecords":"Number of records","viewbar.sumOf":"Sum of {field}","viewbar.averageOf":"Average of {field}","viewbar.newestFirstBy":"Newest first by","viewbar.viewsSort":"The view's sort","viewbar.coverImage":"Cover image","viewbar.personalCheck":"Personal view: only I see it","viewbar.cancel":"Cancel","viewbar.createView":"Create view","viewbar.viewName":"View name","viewbar.rename":"Rename","viewbar.renameView":"Rename {name}","viewbar.duplicate":"Duplicate","viewbar.duplicateView":"Duplicate {name}","viewbar.lockView":"Lock {name}","viewbar.unlockView":"Unlock {name}","viewbar.lockHint":"Lock: keep its settings as they are now","viewbar.unlockHint":"Unlock: anyone can change its settings","viewbar.delete":"Delete","viewbar.deleteView":"Delete {name}","viewbar.create":"Create","viewbar.createPersonal":"Create a personal view","viewbar.needsSelect":"Needs a single select field","viewbar.needsGroupField":"Needs a field to group by","viewbar.needsDate":"Needs a date field","viewbar.typeGrid":"Grid","viewbar.typeKanban":"Kanban","viewbar.typeCalendar":"Calendar","viewbar.typeTimeline":"Timeline","viewbar.typeGantt":"Gantt","viewbar.deleteViewAsk":"Delete {name}?","viewbar.typeGallery":"Gallery","viewbar.typeChart":"Chart","viewbar.typeForm":"Form","viewbar.typeList":"List","viewbar.typeInbox":"Inbox","viewbar.typeTree":"Tree","viewbar.typePivot":"Pivot","viewbar.parent":"Parent","viewbar.treeNeedsParent":"A tree needs a link to this table that names each record's parent.","viewbar.treeNeedsAll":"A tree needs every record at once, and this table is read a part at a time.","viewbar.pivotRows":"Rows","viewbar.pivotCols":"Columns","viewbar.pivotValues":"Values","viewbar.pivotAddRow":"Add a field","viewbar.pivotNoCols":"None","viewbar.pivotCount":"Count of records","viewbar.pivotSum":"Sum of {field}","viewbar.pivotAvg":"Average of {field}","viewbar.pivotMin":"Smallest {field}","viewbar.pivotMax":"Largest {field}","viewbar.pivotRemove":"Remove {field}","viewbar.pivotEmpty":"No records to add up.","viewbar.pivotLoaded":"Adds up the {count} records loaded in the page; the table has {total}.","viewbar.pivotTotal":"Total","viewbar.typeDashboard":"Dashboard","viewbar.sortFirstLast":"first → last","viewbar.sortLastFirst":"last → first","viewbar.sortDoneUp":"0% → 100% done","viewbar.sortDoneDown":"100% → 0% done","viewbar.sortHueUp":"red → pink","viewbar.sortHueDown":"pink → red","viewbar.sortAZ":"A → Z","viewbar.sortZA":"Z → A","viewbar.uncategorized":"Uncategorized","viewbar.expandRecord":"Expand record","viewbar.comment":"Comment","viewbar.moveTo":"Move to","viewbar.empty":"Empty","viewbar.duplicateRecord":"Duplicate record","viewbar.deleteRecord":"Delete record","viewbar.filterTitle":"In this view, show records","viewbar.filterEmpty":"No filter conditions are applied to this view","viewbar.where":"Where","viewbar.joinWith":"Join conditions with","viewbar.field":"Field","viewbar.fields":"Fields","viewbar.operator":"Operator","viewbar.removeCondition":"Remove condition","viewbar.addCondition":"+ Add condition","viewbar.addConditionGroup":"+ Add condition group","viewbar.sortBy":"Sort by","viewbar.direction":"Direction","viewbar.removeGroup":"Remove group","viewbar.removeSort":"Remove sort","viewbar.addSubgroup":"+ Add subgroup","viewbar.addSort":"+ Add another sort","viewbar.findField":"Find a field","viewbar.primaryAlwaysShown":"The primary field is always shown","viewbar.hideAll":"Hide all","viewbar.showAll":"Show all","viewbar.editFieldNamed":"Edit the field {name}","viewbar.colorRows":"Color rows","viewbar.selectField":"Select field","viewbar.conditions":"Conditions","viewbar.colorBySelect":"Color records the same as a single select field","viewbar.colorByConditions":"Color records that match a condition; the first match wins","viewbar.notColored":"Rows are not colored","viewbar.colorTabRows":"Rows","viewbar.colorTabCells":"Cells","viewbar.colorCellsHelp":"Color a field's cell while its value matches a condition. For one field, the first match wins.","viewbar.noCellColors":"No cells are colored","viewbar.addCellRule":"Add a rule","viewbar.coloredCells":"Colored cells","viewbar.highlightByHand":"Mark records by hand","viewbar.highlightByHandHelp":"Adds a Highlight field and colors each row by the color picked in it.","viewbar.highlightField":"Highlight","viewbar.chart":"Chart","viewbar.type":"Type","viewbar.chooseField":"Choose a field","viewbar.combine":"Combine","viewbar.sum":"Sum","viewbar.average":"Average","viewbar.timeline":"Timeline","viewbar.gantt":"Gantt","viewbar.laneBy":"Lanes by","viewbar.noneMilestone":"None (a milestone)","viewbar.ganttHint":"Arrows between records come from a link field to this same table.","viewbar.under":"Under {field}","viewbar.theName":"the name","viewbar.backToFirstThree":"Back to the first three shown","viewbar.me":"Me","viewbar.selectOption":"Select an option","viewbar.values":"Values","viewbar.noOptions":"No options","viewbar.span":"Span","viewbar.days":"Days","viewbar.day":"Day","viewbar.date":"Date","viewbar.enterValue":"Enter a value","viewbar.timePlaceholder":"9:30 am","viewbar.dayExactDate":"exact date","viewbar.spanPastNumberOfDays":"the past number of days","viewbar.spanNextNumberOfDays":"the next number of days","viewbar.opContains":"contains","viewbar.opDoesNotContain":"does not contain","viewbar.opIs":"is","viewbar.opIsNot":"is not","viewbar.opIsEmpty":"is empty","viewbar.opIsNotEmpty":"is not empty","viewbar.opIsAnyOf":"is any of","viewbar.opIsNoneOf":"is none of","viewbar.opHasAnyOf":"has any of","viewbar.opHasAllOf":"has all of","viewbar.opIsExactly":"is exactly","viewbar.opHasNoneOf":"has none of","viewbar.opIsBefore":"is before","viewbar.opIsAfter":"is after","viewbar.opIsOnOrBefore":"is on or before","viewbar.opIsOnOrAfter":"is on or after","viewbar.opIsWithin":"is within","viewbar.opIsAtOrBefore":"is at or before","viewbar.opIsAtOrAfter":"is at or after","viewbar.opFileNameContains":"file name contains","viewbar.opIsComplete":"is complete","viewbar.opIsNotComplete":"is not complete","viewbar.opDoneAtLeast":"% done ≥","viewbar.opDoneUnder":"% done <","viewbar.opHasItemContaining":"has an item containing","viewbar.dayToday":"today","viewbar.dayTomorrow":"tomorrow","viewbar.dayYesterday":"yesterday","viewbar.dayOneWeekAgo":"one week ago","viewbar.dayOneWeekFromNow":"one week from now","viewbar.dayOneMonthAgo":"one month ago","viewbar.dayOneMonthFromNow":"one month from now","viewbar.spanPastWeek":"the past week","viewbar.spanPastMonth":"the past month","viewbar.spanPastYear":"the past year","viewbar.spanNextWeek":"the next week","viewbar.spanNextMonth":"the next month","viewbar.spanNextYear":"the next year","viewbar.spanPastDays":"the past {days} days","viewbar.spanNextDays":"the next {days} days","viewbar.valueChecked":"checked","viewbar.valueUnchecked":"unchecked","viewbar.valueMe":"me","viewbar.conjAnd":"and","viewbar.conjOr":"or","viewbar.everyRecord":"every record","viewbar.untitled":"Untitled","viewbar.noRecordsInView":"No records. The view's filter may hide them all.","viewbar.groupLabel":"Group","viewbar.groupAria":"{field}: {value}","viewbar.changedTitle":"Changed by someone else","viewbar.changedSr":"Changed: ","viewbar.unread.one":"{count} unread","viewbar.unread.other":"{count} unread","viewbar.allRead":"All read","viewbar.markAllRead":"Mark all read","viewbar.recordsList":"Records","viewbar.selectedCard":"Selected","viewbar.record":"Record","viewbar.unreadSr":"Unread: ","viewbar.backToList":"Back to the list","viewbar.back":"Back","viewbar.previousRecord":"Previous record","viewbar.previousHint":"Previous (k)","viewbar.nextRecord":"Next record","viewbar.nextHint":"Next (j)","viewbar.expand":"Expand","viewbar.latestChanges":"Latest changes","viewbar.changedTo":"to","viewbar.byAutomation":"Automation: {name}","viewbar.someone":"Someone","viewbar.someoneElse":"Someone else","viewbar.you":"You","viewbar.addedRecord":"added this record","viewbar.changedField":"changed {field}","viewbar.cleared":"(cleared)","viewbar.comments.one":"{count} comment","viewbar.comments.other":"{count} comments","viewbar.addComment":"Add a comment","viewbar.pickRecord":"Pick a record to read it here. j and k move through the list.","viewbar.chartNoRecords":"No records to chart. The view's filter may hide them all.","viewbar.chartChooseField":"Choose a field to chart in Customize chart.","viewbar.chartBar":"Bar","viewbar.chartBarH":"Horizontal bar","viewbar.chartLine":"Line","viewbar.chartPie":"Pie","viewbar.chartDonut":"Donut","viewbar.chartChecked":"Checked","viewbar.chartUnchecked":"Unchecked","viewbar.chartRecords":"Records","viewbar.chartMonth":"{month} {year}","viewbar.monthJan":"Jan","viewbar.monthFeb":"Feb","viewbar.monthMar":"Mar","viewbar.monthApr":"Apr","viewbar.monthMay":"May","viewbar.monthJun":"Jun","viewbar.monthJul":"Jul","viewbar.monthAug":"Aug","viewbar.monthSep":"Sep","viewbar.monthOct":"Oct","viewbar.monthNov":"Nov","viewbar.monthDec":"Dec","viewbar.addTile":"Add tile","viewbar.addATile":"Add a tile","viewbar.dragTileHint":"Drag a tile to move it.","viewbar.done":"Done","viewbar.editDashboard":"Edit dashboard","viewbar.noTiles":"This dashboard has no tiles yet.","viewbar.dashboardTiles":"Dashboard tiles","viewbar.noRecordsMatch":"No records match.","viewbar.noRecordsYet":"No records yet.","viewbar.noRecordsToChart":"No records to chart.","viewbar.partOf":"{part} of {whole}","viewbar.openRecords.one":"Open the {count} record","viewbar.openRecords.other":"Open the {count} records","viewbar.tileSize":"Size of {title}","viewbar.moveTileEarlier":"Move {title} earlier","viewbar.moveEarlier":"Move earlier","viewbar.moveTileLater":"Move {title} later","viewbar.moveLater":"Move later","viewbar.editTileNamed":"Edit {title}","viewbar.editTile":"Edit tile","viewbar.removeTileNamed":"Remove {title}","viewbar.removeTile":"Remove tile","viewbar.removeTileAsk":"Remove this tile?","viewbar.removeTileYes":"Remove {title}","viewbar.tileRemoved":"{title} removed.","viewbar.tileMoved":"{title} moved to place {place} of {total}.","viewbar.shows":"Shows","viewbar.table":"Table","viewbar.deletedTable":"A deleted table","viewbar.ofField":"Of field","viewbar.caption":"Caption","viewbar.captionPlaceholder":"Target $500,000","viewbar.asEntered":"As entered","viewbar.lowToHigh":"Low to high","viewbar.highToLow":"High to low","viewbar.showBeside":"Show beside the name","viewbar.theSortField":"The sort field","viewbar.tileRecords":"Records","viewbar.progressHint":"Shows how many of the table's records match the filter below.","viewbar.doneWhen":"Done when","viewbar.progressEmpty":"Add the condition a record has to match to count as done.","viewbar.recordsEmpty":"Every record of the table. Add a condition to narrow it.","viewbar.title":"Title","viewbar.titlePlaceholder":"Named after what it shows","viewbar.size":"Size","viewbar.save":"Save","viewbar.inTable":"{count} in {table}","viewbar.openNamed":"Open {name}","viewbar.firstOf":"The first {shown} of {count}.","viewbar.tileNumber":"Number","viewbar.tileList":"List","viewbar.tileText":"Text","viewbar.tileButton":"Button","viewbar.tileTextLabel":"Text","viewbar.tileTextHint":"A line starting with # is a heading. **Bold**, and links as [words](https://...).","viewbar.tileTextEmpty":"Edit the tile to write its text.","viewbar.tileButtonLabel":"Label","viewbar.tileButtonUrl":"Opens","viewbar.tileButtonUrlHint":"An address starting with https://, http://, mailto: or /.","viewbar.tileButtonEmpty":"Edit the tile to say where it goes.","viewbar.tileButtonDefault":"Open","viewbar.tileImage":"Image","viewbar.tileDivider":"Divider","viewbar.tilePicker":"Record picker","viewbar.tileImageUrl":"Image address","viewbar.tileImageUrlHint":"An address starting with https://, http:// or /.","viewbar.tileImageAlt":"What it shows","viewbar.tileImageAltPlaceholder":"Said to people who cannot see it","viewbar.tileImageFit":"Fit","viewbar.tileImageContain":"Whole image","viewbar.tileImageCover":"Fill the tile","viewbar.tileImageEmpty":"Edit the tile to give it an image.","viewbar.tileDividerHint":"A line across the dashboard, with its title over it: a new section starts.","viewbar.tilePickerFields":"Fields shown","viewbar.tilePickerHint":"People pick a record here; tiles narrowed by this picker then count only the records linked to it.","viewbar.tilePickerChoose":"Choose a record","viewbar.tilePickerAll":"Every record","viewbar.tilePickerNone":"No records to choose from.","viewbar.tilePickerFirst":"The first {count} records are listed.","viewbar.tilePickerOpen":"Open the record","viewbar.tilePickerPick":"Pick a record to see it here.","viewbar.narrowedBy":"Narrowed by","viewbar.narrowNone":"No record picker","viewbar.narrowOption":"{picker}: records whose {field} is the one picked","viewbar.sizeSmall":"Small","viewbar.sizeWide":"Wide","viewbar.sizeLarge":"Large","viewbar.smallest":"Smallest","viewbar.largest":"Largest","viewbar.chooseFieldToAddUp":"Choose a field to add up.","viewbar.noValues":"No values","viewbar.unnamedRecord":"Untitled record","viewbar.tileTableGone":"The table this tile reads is gone. Edit the tile to pick another.","viewbar.chooseFieldToGroup":"Choose a field to group the records by.","viewbar.tile":"Tile","viewbar.titleTotal":"Total {field}","viewbar.titleAverage":"Average {field}","viewbar.titleSmallest":"Smallest {field}","viewbar.titleLargest":"Largest {field}","viewbar.titleBy":"{value} by {field}"};
1
+ export const VIEWBAR_MESSAGES={"viewbar.board.board":"Board","viewbar.board.addCard":"+ Add a card","viewbar.board.addCardTo":"Add card to {lane}","viewbar.board.cardTitle":"Card title...","viewbar.board.noCards":"No cards","viewbar.board.cardActions":"Card actions","viewbar.board.clearFilters":"Clear filters","viewbar.board.blocked":"Blocked","viewbar.board.age":"Age","viewbar.board.comments":"Comments","viewbar.board.writeComment":"Write a comment...","viewbar.board.deleteComment":"Delete comment","viewbar.board.addSubtask":"Add subtask...","viewbar.board.rename":"Double-click, Enter, or F2 to rename","viewbar.board.cancel":"Cancel","viewbar.board.save":"Save","viewbar.board.grabbed":"Grabbed {card}. Use arrow keys to move, Space to drop, Escape to cancel.","viewbar.board.dropped":"Dropped {card} in {lane}.","viewbar.formMoved":"{field} moved to place {place} of {total}.","viewbar.board.movedTo":"Moved to {lane}.","viewbar.board.movedUp":"Moved up.","viewbar.board.movedDown":"Moved down.","viewbar.board.movedPosition":"Moved {lane} to position {position} of {total}.","viewbar.board.cancelled":"Cancelled.","viewbar.board.wipLimit":"{lane} is at its WIP limit ({limit}).","viewbar.board.cannotMove":"Cards can't be moved here.","viewbar.board.cardBlocked":"{card} is blocked and can't be moved.","viewbar.board.selected":"Selected {card}. {count} selected.","viewbar.board.deselected":"Deselected {card}. {count} selected.","viewbar.moveField":"Move {name}","viewbar.moveFieldHint":"Drag, or press the up and down arrows","viewbar.fieldMoved":"{name} moved to place {place} of {count}","viewbar.calendar.month":"Month","viewbar.calendar.week":"Week","viewbar.calendar.day":"Day","viewbar.calendar.agenda":"Agenda","viewbar.calendar.timelineDay":"Day","viewbar.calendar.timelineWeek":"Week","viewbar.calendar.timelineMonth":"Month","viewbar.calendar.timelineYear":"Year","viewbar.calendar.today":"Today","viewbar.calendar.previous":"Previous","viewbar.calendar.next":"Next","viewbar.calendar.allDay":"all day","viewbar.calendar.more":"+{count} more","viewbar.calendar.noEvents":"No events in this range.","viewbar.calendar.eventsColumn":"Events","viewbar.calendar.edit":"Edit","viewbar.calendar.duplicate":"Duplicate","viewbar.calendar.delete":"Delete","viewbar.calendar.moveGrabbed":"{title} picked up. Arrow keys move it, Space puts it down, Escape cancels.","viewbar.gantt.expandAll":"Expand all","viewbar.gantt.collapseAll":"Collapse all","viewbar.gantt.expandTask":"Expand {title}","viewbar.gantt.collapseTask":"Collapse {title}","viewbar.gantt.zoomIn":"Zoom in","viewbar.gantt.zoomOut":"Zoom out","viewbar.gantt.zoomDay":"day","viewbar.gantt.zoomWeek":"week","viewbar.gantt.zoomMonth":"month","viewbar.gantt.zoomQuarter":"quarter","viewbar.gantt.zoomYear":"year","viewbar.gantt.tableLabel":"Records","viewbar.gantt.chartLabel":"Gantt bars","viewbar.gantt.resizeTable":"Resize the record table","viewbar.gantt.days":"Days","viewbar.gantt.progress":"Progress","viewbar.gantt.slack":"Slack","viewbar.gantt.start":"Start","viewbar.gantt.finish":"Finish","viewbar.gantt.progressPercent":"Progress %","viewbar.gantt.task":"Record","viewbar.gantt.milestone":"Milestone","viewbar.gantt.day":"{count} day","viewbar.gantt.daysCount":"{count} days","viewbar.gantt.open":"Open","viewbar.gantt.openTask":"Open {title}","viewbar.gantt.edit":"Edit","viewbar.gantt.addSubtask":"Add subtask","viewbar.gantt.delete":"Delete","viewbar.gantt.deleteTask":"Delete record","viewbar.gantt.removeLink":"Remove link: {from} to {to}","viewbar.gantt.taskActions":"Record actions","viewbar.gantt.save":"Save","viewbar.gantt.cancel":"Cancel","viewbar.gantt.onBaseline":"On the baseline","viewbar.gantt.laterThanBaseline":"{count} days later than baseline","viewbar.gantt.aheadOfBaseline":"{count} days ahead of baseline","viewbar.gantt.dragProgress":"Drag to set progress","viewbar.gantt.linkFromStart":"Drag to link from the start","viewbar.gantt.linkFromFinish":"Drag to link from the finish","viewbar.gantt.workingDays":"{count} working days, {progress}%","viewbar.gantt.onCriticalPath":"On the critical path","viewbar.gantt.daysOfSlack":"{count} days of slack","viewbar.gantt.notMet":"not met","viewbar.gantt.peak":"peak {peak} / {capacity}","viewbar.gantt.loadOf":"{label}: {load} of {capacity}","viewbar.gantt.moveGrabbed":"{title} picked up. Arrow keys move it, Space puts it down, Escape cancels.","viewbar.gantt.moveDone":"{title} moved to {range}.","viewbar.gantt.moveCancelled":"Move cancelled.","viewbar.gantt.resized":"{title} now ends {date}.","viewbar.gantt.progressSet":"{title} at {progress}%.","viewbar.gantt.upcoming":"{title}, upcoming {date}","viewbar.calendar.moveDone":"{title} moved to {place}.","viewbar.calendar.moveCancelled":"Move cancelled.","viewbar.calendar.moveBlocked":"That time is not free.","viewbar.calendar.scopeEdit":"Edit recurring event","viewbar.calendar.scopeDelete":"Delete recurring event","viewbar.calendar.scopeOccurrence":"This event","viewbar.calendar.scopeFollowing":"This and following","viewbar.calendar.scopeSeries":"All events","viewbar.calendar.upcoming":"{name}, upcoming","viewbar.sortToOrder":"Sort this view by a number field to keep the order of its cards","viewbar.viewSettings":"View settings","viewbar.views":"Views","viewbar.defaultViewName":"Grid view","viewbar.viewCopy":"{name} copy","viewbar.rowShort":"Short","viewbar.rowMedium":"Medium","viewbar.rowTall":"Tall","viewbar.rowExtraTall":"Extra tall","viewbar.lockedTitle":"This view is locked: its settings stay as saved","viewbar.lockedTitleBy":"This view is locked by {name}: its settings stay as saved","viewbar.locked":"Locked","viewbar.lockedNotSaved":"Locked, not saved","viewbar.reset":"Reset","viewbar.personalTitle":"A personal view: only you see it","viewbar.personal":"Personal","viewbar.hideFields":"Hide fields","viewbar.hiddenFields.one":"{count} hidden field","viewbar.hiddenFields.other":"{count} hidden fields","viewbar.filter":"Filter","viewbar.filteredBy":"Filtered by {field}","viewbar.filteredByFields.one":"Filtered by {count} field","viewbar.filteredByFields.other":"Filtered by {count} fields","viewbar.group":"Group","viewbar.groupedBy.one":"Grouped by {count} field","viewbar.groupedBy.other":"Grouped by {count} fields","viewbar.sort":"Sort","viewbar.sortedBy.one":"Sorted by {count} field","viewbar.sortedBy.other":"Sorted by {count} fields","viewbar.color":"Color","viewbar.coloredBy":"Colored by {field}","viewbar.coloredByAField":"Colored by field","viewbar.coloredByConditions":"Colored by conditions","viewbar.customizeChart":"Customize chart","viewbar.customizeForm":"Customize form","viewbar.formTitle":"Title","viewbar.formDescription":"Line under the title","viewbar.formButton":"Button text","viewbar.formFields":"Fields the form asks for","viewbar.formRequiredColumn":"Required","viewbar.formAsk":"Ask for {field}","viewbar.formRequire":"{field} is required","viewbar.formMoveUp":"Move {field} up","viewbar.formMoveDown":"Move {field} down","viewbar.customizeTimeline":"Customize timeline","viewbar.customizeGantt":"Customize Gantt","viewbar.customizeList":"Customize list","viewbar.customizeInbox":"Customize inbox","viewbar.customizeBoard":"Customize board","viewbar.boardRowsBy":"Rows by","viewbar.boardDue":"Due date","viewbar.boardFade":"Fade cards by","viewbar.boardFadeHint":"Cards fade a little more each week after this date. Pick a Last modified time field to fade the ones nobody has changed.","viewbar.boardBlocked":"Blocked when","viewbar.boardOnCards":"On the cards (up to {count})","viewbar.boardQuickFilters":"Quick filters above the board","viewbar.boardLimits":"Most cards in a column","viewbar.boardNoLimit":"No limit","viewbar.rowHeight":"Row height","viewbar.markAllSeen":"Mark all as seen","viewbar.automations":"Automations","viewbar.automationCount.one":"{count} automation","viewbar.automationCount.other":"{count} automations","viewbar.records.one":"{count} record","viewbar.records.other":"{count} records","viewbar.findRecord":"Find a record","viewbar.search":"Search","viewbar.scanToFind":"Scan a code to find its record","viewbar.searchShortcut":"Search (Ctrl+F)","viewbar.myViews":"My views","viewbar.section":"Section","viewbar.moveToSection":"Move {name} to a section","viewbar.sectionOf":"Section of {name}","viewbar.sectionPlaceholder":"A section, or empty for none","viewbar.newView":"New {type} view","viewbar.name":"Name","viewbar.stackBy":"Stack records by","viewbar.startDate":"Start date","viewbar.dateField":"Date field","viewbar.endDate":"End date","viewbar.none":"None","viewbar.progress":"Progress","viewbar.dependsOn":"Depends on","viewbar.chartType":"Chart type","viewbar.groupBy":"Group by","viewbar.value":"Value","viewbar.numberOfRecords":"Number of records","viewbar.sumOf":"Sum of {field}","viewbar.averageOf":"Average of {field}","viewbar.newestFirstBy":"Newest first by","viewbar.viewsSort":"The view's sort","viewbar.coverImage":"Cover image","viewbar.personalCheck":"Personal view: only I see it","viewbar.cancel":"Cancel","viewbar.createView":"Create view","viewbar.viewName":"View name","viewbar.rename":"Rename","viewbar.renameView":"Rename {name}","viewbar.duplicate":"Duplicate","viewbar.duplicateView":"Duplicate {name}","viewbar.lockView":"Lock {name}","viewbar.unlockView":"Unlock {name}","viewbar.lockHint":"Lock: keep its settings as they are now","viewbar.unlockHint":"Unlock: anyone can change its settings","viewbar.delete":"Delete","viewbar.deleteView":"Delete {name}","viewbar.create":"Create","viewbar.createPersonal":"Create a personal view","viewbar.needsSelect":"Needs a single select field","viewbar.needsGroupField":"Needs a field to group by","viewbar.needsDate":"Needs a date field","viewbar.typeGrid":"Grid","viewbar.typeKanban":"Kanban","viewbar.typeCalendar":"Calendar","viewbar.typeTimeline":"Timeline","viewbar.typeGantt":"Gantt","viewbar.deleteViewAsk":"Delete {name}?","viewbar.typeGallery":"Gallery","viewbar.typeChart":"Chart","viewbar.typeForm":"Form","viewbar.typeList":"List","viewbar.typeInbox":"Inbox","viewbar.typeTree":"Tree","viewbar.typePivot":"Pivot","viewbar.parent":"Parent","viewbar.treeNeedsParent":"A tree needs a link to this table that names each record's parent.","viewbar.treeNeedsAll":"A tree needs every record at once, and this table is read a part at a time.","viewbar.pivotRows":"Rows","viewbar.pivotCols":"Columns","viewbar.pivotValues":"Values","viewbar.pivotAddRow":"Add a field","viewbar.pivotNoCols":"None","viewbar.pivotCount":"Count of records","viewbar.pivotSum":"Sum of {field}","viewbar.pivotAvg":"Average of {field}","viewbar.pivotMin":"Smallest {field}","viewbar.pivotMax":"Largest {field}","viewbar.pivotRemove":"Remove {field}","viewbar.pivotEmpty":"No records to add up.","viewbar.pivotLoaded":"Adds up the {count} records loaded in the page; the table has {total}.","viewbar.pivotTotal":"Total","viewbar.typeDashboard":"Dashboard","viewbar.sortFirstLast":"first → last","viewbar.sortLastFirst":"last → first","viewbar.sortDoneUp":"0% → 100% done","viewbar.sortDoneDown":"100% → 0% done","viewbar.sortHueUp":"red → pink","viewbar.sortHueDown":"pink → red","viewbar.sortAZ":"A → Z","viewbar.sortZA":"Z → A","viewbar.uncategorized":"Uncategorized","viewbar.expandRecord":"Expand record","viewbar.comment":"Comment","viewbar.moveTo":"Move to","viewbar.empty":"Empty","viewbar.duplicateRecord":"Duplicate record","viewbar.deleteRecord":"Delete record","viewbar.filterTitle":"In this view, show records","viewbar.filterEmpty":"No filter conditions are applied to this view","viewbar.where":"Where","viewbar.joinWith":"Join conditions with","viewbar.field":"Field","viewbar.fields":"Fields","viewbar.operator":"Operator","viewbar.removeCondition":"Remove condition","viewbar.addCondition":"+ Add condition","viewbar.addConditionGroup":"+ Add condition group","viewbar.sortBy":"Sort by","viewbar.direction":"Direction","viewbar.removeGroup":"Remove group","viewbar.removeSort":"Remove sort","viewbar.addSubgroup":"+ Add subgroup","viewbar.addSort":"+ Add another sort","viewbar.findField":"Find a field","viewbar.primaryAlwaysShown":"The primary field is always shown","viewbar.hideAll":"Hide all","viewbar.showAll":"Show all","viewbar.editFieldNamed":"Edit the field {name}","viewbar.colorRows":"Color rows","viewbar.selectField":"Select field","viewbar.conditions":"Conditions","viewbar.colorBySelect":"Color records the same as a single select field","viewbar.colorByConditions":"Color records that match a condition; the first match wins","viewbar.notColored":"Rows are not colored","viewbar.colorTabRows":"Rows","viewbar.colorTabCells":"Cells","viewbar.colorCellsHelp":"Color a field's cell while its value matches a condition. For one field, the first match wins.","viewbar.noCellColors":"No cells are colored","viewbar.addCellRule":"Add a rule","viewbar.coloredCells":"Colored cells","viewbar.highlightByHand":"Mark records by hand","viewbar.highlightByHandHelp":"Adds a Highlight field and colors each row by the color picked in it.","viewbar.highlightField":"Highlight","viewbar.chart":"Chart","viewbar.type":"Type","viewbar.chooseField":"Choose a field","viewbar.combine":"Combine","viewbar.sum":"Sum","viewbar.average":"Average","viewbar.timeline":"Timeline","viewbar.gantt":"Gantt","viewbar.laneBy":"Lanes by","viewbar.noneMilestone":"None (a milestone)","viewbar.ganttHint":"Arrows between records come from a link field to this same table.","viewbar.under":"Under {field}","viewbar.theName":"the name","viewbar.backToFirstThree":"Back to the first three shown","viewbar.me":"Me","viewbar.selectOption":"Select an option","viewbar.values":"Values","viewbar.noOptions":"No options","viewbar.span":"Span","viewbar.days":"Days","viewbar.day":"Day","viewbar.date":"Date","viewbar.enterValue":"Enter a value","viewbar.timePlaceholder":"9:30 am","viewbar.dayExactDate":"exact date","viewbar.spanPastNumberOfDays":"the past number of days","viewbar.spanNextNumberOfDays":"the next number of days","viewbar.opContains":"contains","viewbar.opDoesNotContain":"does not contain","viewbar.opIs":"is","viewbar.opIsNot":"is not","viewbar.opIsEmpty":"is empty","viewbar.opIsNotEmpty":"is not empty","viewbar.opIsAnyOf":"is any of","viewbar.opIsNoneOf":"is none of","viewbar.opHasAnyOf":"has any of","viewbar.opHasAllOf":"has all of","viewbar.opIsExactly":"is exactly","viewbar.opHasNoneOf":"has none of","viewbar.opIsBefore":"is before","viewbar.opIsAfter":"is after","viewbar.opIsOnOrBefore":"is on or before","viewbar.opIsOnOrAfter":"is on or after","viewbar.opIsWithin":"is within","viewbar.opIsAtOrBefore":"is at or before","viewbar.opIsAtOrAfter":"is at or after","viewbar.opFileNameContains":"file name contains","viewbar.opIsComplete":"is complete","viewbar.opIsNotComplete":"is not complete","viewbar.opDoneAtLeast":"% done ≥","viewbar.opDoneUnder":"% done <","viewbar.opHasItemContaining":"has an item containing","viewbar.dayToday":"today","viewbar.dayTomorrow":"tomorrow","viewbar.dayYesterday":"yesterday","viewbar.dayOneWeekAgo":"one week ago","viewbar.dayOneWeekFromNow":"one week from now","viewbar.dayOneMonthAgo":"one month ago","viewbar.dayOneMonthFromNow":"one month from now","viewbar.spanPastWeek":"the past week","viewbar.spanPastMonth":"the past month","viewbar.spanPastYear":"the past year","viewbar.spanNextWeek":"the next week","viewbar.spanNextMonth":"the next month","viewbar.spanNextYear":"the next year","viewbar.spanPastDays":"the past {days} days","viewbar.spanNextDays":"the next {days} days","viewbar.valueChecked":"checked","viewbar.valueUnchecked":"unchecked","viewbar.valueMe":"me","viewbar.conjAnd":"and","viewbar.conjOr":"or","viewbar.everyRecord":"every record","viewbar.untitled":"Untitled","viewbar.noRecordsInView":"No records. The view's filter may hide them all.","viewbar.groupLabel":"Group","viewbar.groupAria":"{field}: {value}","viewbar.changedTitle":"Changed by someone else","viewbar.changedSr":"Changed: ","viewbar.unread.one":"{count} unread","viewbar.unread.other":"{count} unread","viewbar.allRead":"All read","viewbar.markAllRead":"Mark all read","viewbar.recordsList":"Records","viewbar.selectedCard":"Selected","viewbar.record":"Record","viewbar.unreadSr":"Unread: ","viewbar.backToList":"Back to the list","viewbar.back":"Back","viewbar.previousRecord":"Previous record","viewbar.previousHint":"Previous (k)","viewbar.nextRecord":"Next record","viewbar.nextHint":"Next (j)","viewbar.expand":"Expand","viewbar.latestChanges":"Latest changes","viewbar.changedTo":"to","viewbar.byAutomation":"Automation: {name}","viewbar.someone":"Someone","viewbar.someoneElse":"Someone else","viewbar.you":"You","viewbar.addedRecord":"added this record","viewbar.changedField":"changed {field}","viewbar.cleared":"(cleared)","viewbar.comments.one":"{count} comment","viewbar.comments.other":"{count} comments","viewbar.addComment":"Add a comment","viewbar.pickRecord":"Pick a record to read it here. j and k move through the list.","viewbar.chartNoRecords":"No records to chart. The view's filter may hide them all.","viewbar.chartChooseField":"Choose a field to chart in Customize chart.","viewbar.chartBar":"Bar","viewbar.chartBarH":"Horizontal bar","viewbar.chartLine":"Line","viewbar.chartPie":"Pie","viewbar.chartDonut":"Donut","viewbar.chartChecked":"Checked","viewbar.chartUnchecked":"Unchecked","viewbar.chartRecords":"Records","viewbar.chartMonth":"{month} {year}","viewbar.monthJan":"Jan","viewbar.monthFeb":"Feb","viewbar.monthMar":"Mar","viewbar.monthApr":"Apr","viewbar.monthMay":"May","viewbar.monthJun":"Jun","viewbar.monthJul":"Jul","viewbar.monthAug":"Aug","viewbar.monthSep":"Sep","viewbar.monthOct":"Oct","viewbar.monthNov":"Nov","viewbar.monthDec":"Dec","viewbar.addTile":"Add tile","viewbar.addATile":"Add a tile","viewbar.dragTileHint":"Drag a tile to move it.","viewbar.done":"Done","viewbar.editDashboard":"Edit dashboard","viewbar.noTiles":"This dashboard has no tiles yet.","viewbar.dashboardTiles":"Dashboard tiles","viewbar.noRecordsMatch":"No records match.","viewbar.noRecordsYet":"No records yet.","viewbar.noRecordsToChart":"No records to chart.","viewbar.partOf":"{part} of {whole}","viewbar.openRecords.one":"Open the {count} record","viewbar.openRecords.other":"Open the {count} records","viewbar.tileSize":"Size of {title}","viewbar.moveTileEarlier":"Move {title} earlier","viewbar.moveEarlier":"Move earlier","viewbar.moveTileLater":"Move {title} later","viewbar.moveLater":"Move later","viewbar.editTileNamed":"Edit {title}","viewbar.editTile":"Edit tile","viewbar.removeTileNamed":"Remove {title}","viewbar.removeTile":"Remove tile","viewbar.removeTileAsk":"Remove this tile?","viewbar.removeTileYes":"Remove {title}","viewbar.tileRemoved":"{title} removed.","viewbar.tileMoved":"{title} moved to place {place} of {total}.","viewbar.shows":"Shows","viewbar.table":"Table","viewbar.deletedTable":"A deleted table","viewbar.ofField":"Of field","viewbar.caption":"Caption","viewbar.captionPlaceholder":"Target $500,000","viewbar.asEntered":"As entered","viewbar.lowToHigh":"Low to high","viewbar.highToLow":"High to low","viewbar.showBeside":"Show beside the name","viewbar.theSortField":"The sort field","viewbar.tileRecords":"Records","viewbar.progressHint":"Shows how many of the table's records match the filter below.","viewbar.doneWhen":"Done when","viewbar.progressEmpty":"Add the condition a record has to match to count as done.","viewbar.recordsEmpty":"Every record of the table. Add a condition to narrow it.","viewbar.title":"Title","viewbar.titlePlaceholder":"Named after what it shows","viewbar.size":"Size","viewbar.save":"Save","viewbar.inTable":"{count} in {table}","viewbar.openNamed":"Open {name}","viewbar.firstOf":"The first {shown} of {count}.","viewbar.tileNumber":"Number","viewbar.tileList":"List","viewbar.tileText":"Text","viewbar.tileButton":"Button","viewbar.tileTextLabel":"Text","viewbar.tileTextHint":"A line starting with # is a heading. **Bold**, and links as [words](https://...).","viewbar.tileTextEmpty":"Edit the tile to write its text.","viewbar.tileButtonLabel":"Label","viewbar.tileButtonUrl":"Opens","viewbar.tileButtonUrlHint":"An address starting with https://, http://, mailto: or /.","viewbar.tileButtonEmpty":"Edit the tile to say where it goes.","viewbar.tileButtonDefault":"Open","viewbar.tileImage":"Image","viewbar.tileDivider":"Divider","viewbar.tilePicker":"Record picker","viewbar.tileImageUrl":"Image address","viewbar.tileImageUrlHint":"An address starting with https://, http:// or /.","viewbar.tileImageAlt":"What it shows","viewbar.tileImageAltPlaceholder":"Said to people who cannot see it","viewbar.tileImageFit":"Fit","viewbar.tileImageContain":"Whole image","viewbar.tileImageCover":"Fill the tile","viewbar.tileImageEmpty":"Edit the tile to give it an image.","viewbar.tileDividerHint":"A line across the dashboard, with its title over it: a new section starts.","viewbar.tilePickerFields":"Fields shown","viewbar.tilePickerHint":"People pick a record here; tiles narrowed by this picker then count only the records linked to it.","viewbar.tilePickerChoose":"Choose a record","viewbar.tilePickerAll":"Every record","viewbar.tilePickerNone":"No records to choose from.","viewbar.tilePickerFirst":"The first {count} records are listed.","viewbar.tilePickerOpen":"Open the record","viewbar.tilePickerPick":"Pick a record to see it here.","viewbar.narrowedBy":"Narrowed by","viewbar.narrowNone":"No record picker","viewbar.narrowOption":"{picker}: records whose {field} is the one picked","viewbar.sizeSmall":"Small","viewbar.sizeWide":"Wide","viewbar.sizeLarge":"Large","viewbar.smallest":"Smallest","viewbar.largest":"Largest","viewbar.chooseFieldToAddUp":"Choose a field to add up.","viewbar.noValues":"No values","viewbar.unnamedRecord":"Untitled record","viewbar.tileTableGone":"The table this tile reads is gone. Edit the tile to pick another.","viewbar.chooseFieldToGroup":"Choose a field to group the records by.","viewbar.tile":"Tile","viewbar.titleTotal":"Total {field}","viewbar.titleAverage":"Average {field}","viewbar.titleSmallest":"Smallest {field}","viewbar.titleLargest":"Largest {field}","viewbar.titleBy":"{value} by {field}"};
@@ -1234,6 +1234,16 @@ export declare const BASE_MESSAGES: {
1234
1234
  readonly 'viewbar.customizeGantt': "Customize Gantt";
1235
1235
  readonly 'viewbar.customizeList': "Customize list";
1236
1236
  readonly 'viewbar.customizeInbox': "Customize inbox";
1237
+ readonly 'viewbar.customizeBoard': "Customize board";
1238
+ readonly 'viewbar.boardRowsBy': "Rows by";
1239
+ readonly 'viewbar.boardDue': "Due date";
1240
+ readonly 'viewbar.boardFade': "Fade cards by";
1241
+ readonly 'viewbar.boardFadeHint': "Cards fade a little more each week after this date. Pick a Last modified time field to fade the ones nobody has changed.";
1242
+ readonly 'viewbar.boardBlocked': "Blocked when";
1243
+ readonly 'viewbar.boardOnCards': "On the cards (up to {count})";
1244
+ readonly 'viewbar.boardQuickFilters': "Quick filters above the board";
1245
+ readonly 'viewbar.boardLimits': "Most cards in a column";
1246
+ readonly 'viewbar.boardNoLimit': "No limit";
1237
1247
  readonly 'viewbar.rowHeight': "Row height";
1238
1248
  readonly 'viewbar.markAllSeen': "Mark all as seen";
1239
1249
  readonly 'viewbar.automations': "Automations";
@@ -2016,6 +2026,7 @@ export declare const BASE_MESSAGES: {
2016
2026
  readonly 'shell.usesDates': "places its records by it, and shows as a plain grid without it";
2017
2027
  readonly 'shell.usesBars': "draws its bars with it";
2018
2028
  readonly 'shell.usesCover': "shows it as the card cover";
2029
+ readonly 'shell.usesBoard': "shows it on its cards";
2019
2030
  readonly 'shell.usesChart': "charts it";
2020
2031
  readonly 'shell.usesFilter': "filters by it";
2021
2032
  readonly 'shell.usesSort': "sorts by it";