@toclocoinc/lattice-grid 1.66.0 → 1.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/angular/package.json +1 -1
- package/docs/API.html +87 -29
- package/docs/api-detail.html +40 -5
- package/lattice-grid.d.ts +20 -7
- package/lattice-grid.esm.min.js +35 -11
- package/lattice-grid.min.cjs +35 -11
- package/lattice-grid.min.js +35 -11
- package/modules/ai.d.ts +1 -1
- package/modules/ai.esm.min.js +3 -3
- package/modules/ai.min.cjs +3 -3
- package/modules/ai.min.js +3 -3
- package/modules/angular.d.ts +1 -1
- package/modules/angular.esm.min.js +3 -3
- package/modules/angular.min.cjs +3 -3
- package/modules/angular.min.js +3 -3
- package/modules/chart-alluvial.d.ts +1 -1
- package/modules/chart-alluvial.esm.min.js +1 -1
- package/modules/chart-alluvial.min.cjs +1 -1
- package/modules/chart-alluvial.min.js +1 -1
- package/modules/chart-arc.d.ts +1 -1
- package/modules/chart-arc.esm.min.js +1 -1
- package/modules/chart-arc.min.cjs +1 -1
- package/modules/chart-arc.min.js +1 -1
- package/modules/chart-bubblemap.d.ts +1 -1
- package/modules/chart-bubblemap.esm.min.js +1 -1
- package/modules/chart-bubblemap.min.cjs +1 -1
- package/modules/chart-bubblemap.min.js +1 -1
- package/modules/chart-bump.d.ts +1 -1
- package/modules/chart-bump.esm.min.js +1 -1
- package/modules/chart-bump.min.cjs +1 -1
- package/modules/chart-bump.min.js +1 -1
- package/modules/chart-calendar.d.ts +1 -1
- package/modules/chart-calendar.esm.min.js +1 -1
- package/modules/chart-calendar.min.cjs +1 -1
- package/modules/chart-calendar.min.js +1 -1
- package/modules/chart-decomposition.d.ts +1 -1
- package/modules/chart-decomposition.esm.min.js +1 -1
- package/modules/chart-decomposition.min.cjs +1 -1
- package/modules/chart-decomposition.min.js +1 -1
- package/modules/chart-diverging.d.ts +1 -1
- package/modules/chart-diverging.esm.min.js +1 -1
- package/modules/chart-diverging.min.cjs +1 -1
- package/modules/chart-diverging.min.js +1 -1
- package/modules/chart-dumbbell.d.ts +1 -1
- package/modules/chart-dumbbell.esm.min.js +1 -1
- package/modules/chart-dumbbell.min.cjs +1 -1
- package/modules/chart-dumbbell.min.js +1 -1
- package/modules/chart-fan.d.ts +1 -1
- package/modules/chart-fan.esm.min.js +1 -1
- package/modules/chart-fan.min.cjs +1 -1
- package/modules/chart-fan.min.js +1 -1
- package/modules/chart-hexbin.d.ts +1 -1
- package/modules/chart-hexbin.esm.min.js +1 -1
- package/modules/chart-hexbin.min.cjs +1 -1
- package/modules/chart-hexbin.min.js +1 -1
- package/modules/chart-hexmap.d.ts +1 -1
- package/modules/chart-hexmap.esm.min.js +1 -1
- package/modules/chart-hexmap.min.cjs +1 -1
- package/modules/chart-hexmap.min.js +1 -1
- package/modules/chart-icicle.d.ts +1 -1
- package/modules/chart-icicle.esm.min.js +1 -1
- package/modules/chart-icicle.min.cjs +1 -1
- package/modules/chart-icicle.min.js +1 -1
- package/modules/chart-markermap.d.ts +1 -1
- package/modules/chart-markermap.esm.min.js +1 -1
- package/modules/chart-markermap.min.cjs +1 -1
- package/modules/chart-markermap.min.js +1 -1
- package/modules/chart-parallel.d.ts +1 -1
- package/modules/chart-parallel.esm.min.js +1 -1
- package/modules/chart-parallel.min.cjs +1 -1
- package/modules/chart-parallel.min.js +1 -1
- package/modules/chart-ridgeline.d.ts +1 -1
- package/modules/chart-ridgeline.esm.min.js +1 -1
- package/modules/chart-ridgeline.min.cjs +1 -1
- package/modules/chart-ridgeline.min.js +1 -1
- package/modules/chart-roc.d.ts +1 -1
- package/modules/chart-roc.esm.min.js +1 -1
- package/modules/chart-roc.min.cjs +1 -1
- package/modules/chart-roc.min.js +1 -1
- package/modules/chart-slope.d.ts +1 -1
- package/modules/chart-slope.esm.min.js +1 -1
- package/modules/chart-slope.min.cjs +1 -1
- package/modules/chart-slope.min.js +1 -1
- package/modules/chart-splom.d.ts +1 -1
- package/modules/chart-splom.esm.min.js +1 -1
- package/modules/chart-splom.min.cjs +1 -1
- package/modules/chart-splom.min.js +1 -1
- package/modules/chart-waffle.d.ts +1 -1
- package/modules/chart-waffle.esm.min.js +1 -1
- package/modules/chart-waffle.min.cjs +1 -1
- package/modules/chart-waffle.min.js +1 -1
- package/modules/charts.d.ts +1 -1
- package/modules/charts.esm.min.js +1376 -1249
- package/modules/charts.min.cjs +1376 -1249
- package/modules/charts.min.js +1376 -1249
- package/modules/data-router.d.ts +8 -3
- package/modules/data-router.esm.min.js +229 -11
- package/modules/data-router.min.cjs +229 -11
- package/modules/data-router.min.js +229 -11
- package/modules/devtools.d.ts +1 -1
- package/modules/devtools.esm.min.js +1 -1
- package/modules/devtools.min.cjs +1 -1
- package/modules/devtools.min.js +1 -1
- package/modules/dhtmlx-compat.d.ts +1 -1
- package/modules/dhtmlx-compat.esm.min.js +3 -3
- package/modules/dhtmlx-compat.min.cjs +3 -3
- package/modules/dhtmlx-compat.min.js +3 -3
- package/modules/gantt.d.ts +8 -3
- package/modules/gantt.esm.min.js +56 -8
- package/modules/gantt.min.cjs +56 -8
- package/modules/gantt.min.js +56 -8
- package/modules/geo-europe-nuts.d.ts +1 -1
- package/modules/geo-europe-nuts.esm.min.js +1 -1
- package/modules/geo-uk.d.ts +1 -1
- package/modules/geo-uk.esm.min.js +1 -1
- package/modules/geo-us-states.d.ts +1 -1
- package/modules/geo-us-states.esm.min.js +1 -1
- package/modules/geo-world-110m.d.ts +1 -1
- package/modules/geo-world-110m.esm.min.js +1 -1
- package/modules/geo-world-50m.d.ts +1 -1
- package/modules/geo-world-50m.esm.min.js +1 -1
- package/modules/htmx.d.ts +1 -1
- package/modules/htmx.esm.min.js +35 -11
- package/modules/htmx.min.cjs +35 -11
- package/modules/htmx.min.js +35 -11
- package/modules/kanban.d.ts +10 -3
- package/modules/kanban.esm.min.js +24 -4
- package/modules/kanban.min.cjs +24 -4
- package/modules/kanban.min.js +24 -4
- package/modules/kpi.d.ts +35 -10
- package/modules/kpi.esm.min.js +55 -7
- package/modules/kpi.min.cjs +55 -7
- package/modules/kpi.min.js +55 -7
- package/modules/layout.d.ts +1 -1
- package/modules/layout.esm.min.js +3 -3
- package/modules/layout.min.cjs +3 -3
- package/modules/layout.min.js +3 -3
- package/modules/mock-socket.d.ts +1 -1
- package/modules/mock-socket.esm.min.js +1 -1
- package/modules/mock-socket.min.cjs +1 -1
- package/modules/mock-socket.min.js +1 -1
- package/modules/react.d.ts +1 -1
- package/modules/react.esm.min.js +3 -3
- package/modules/react.min.cjs +3 -3
- package/modules/react.min.js +3 -3
- package/modules/svelte.d.ts +1 -1
- package/modules/svelte.esm.min.js +3 -3
- package/modules/svelte.min.cjs +3 -3
- package/modules/svelte.min.js +3 -3
- package/modules/tabs.d.ts +1 -1
- package/modules/tabs.esm.min.js +13 -14
- package/modules/tabs.min.cjs +13 -14
- package/modules/tabs.min.js +13 -14
- package/modules/vue.d.ts +1 -1
- package/modules/vue.esm.min.js +3 -3
- package/modules/vue.min.cjs +3 -3
- package/modules/vue.min.js +3 -3
- package/modules/webcomponent.d.ts +1 -1
- package/modules/webcomponent.esm.min.js +35 -11
- package/modules/webcomponent.min.cjs +35 -11
- package/modules/webcomponent.min.js +35 -11
- package/package.json +1 -1
package/modules/gantt.min.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Lattice Grid 1.
|
|
2
|
+
* Lattice Grid 1.68.0, gantt module
|
|
3
3
|
* Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
|
|
4
4
|
* https://latticegrid.dev
|
|
5
5
|
*/
|
|
@@ -54,12 +54,12 @@ Object.defineProperty(__exports,"frameBatched",{enumerable:true,get:function(){r
|
|
|
54
54
|
Object.defineProperty(__exports,"settleDebounce",{enumerable:true,get:function(){return settleDebounce;}});
|
|
55
55
|
Object.defineProperty(__exports,"whenIdle",{enumerable:true,get:function(){return whenIdle;}});
|
|
56
56
|
Object.defineProperty(__exports,"uid",{enumerable:true,get:function(){return uid;}});
|
|
57
|
-
const STAMPED_VERSION="1.
|
|
57
|
+
const STAMPED_VERSION="1.68.0";
|
|
58
58
|
async function resolveVersion(){
|
|
59
59
|
if(STAMPED_VERSION!=='0.0.0-source')return STAMPED_VERSION;
|
|
60
60
|
return STAMPED_VERSION;
|
|
61
61
|
}
|
|
62
|
-
const VERSION="1.
|
|
62
|
+
const VERSION="1.68.0";
|
|
63
63
|
const warned=new Set();
|
|
64
64
|
const WARNED_LIMIT=2000;
|
|
65
65
|
function rememberWarned(key){
|
|
@@ -2408,6 +2408,8 @@ const STEPS=[1,2,2.5,5,10];
|
|
|
2408
2408
|
const MINUTE=60000;
|
|
2409
2409
|
const HOUR=3600000;
|
|
2410
2410
|
const DAY=86400000;
|
|
2411
|
+
const YEAR=365.25*DAY;
|
|
2412
|
+
const YEAR_COUNTS=[1,2,5,10,20,25,50,100];
|
|
2411
2413
|
const TIME_STEPS=[
|
|
2412
2414
|
1,5,10,25,50,100,250,500,
|
|
2413
2415
|
1000,5000,15000,30000,
|
|
@@ -2415,7 +2417,7 @@ MINUTE,5*MINUTE,15*MINUTE,30*MINUTE,
|
|
|
2415
2417
|
HOUR,3*HOUR,6*HOUR,12*HOUR,
|
|
2416
2418
|
DAY,2*DAY,7*DAY,14*DAY,
|
|
2417
2419
|
30*DAY,90*DAY,180*DAY,
|
|
2418
|
-
|
|
2420
|
+
...YEAR_COUNTS.map((years)=>years*YEAR),
|
|
2419
2421
|
];
|
|
2420
2422
|
function isNumber(v){
|
|
2421
2423
|
return typeof v==='number'&&Number.isFinite(v);
|
|
@@ -2501,12 +2503,35 @@ out.push(Math.abs(v)<step/1e6?0:Number(v.toPrecision(12)));
|
|
|
2501
2503
|
return out;
|
|
2502
2504
|
}
|
|
2503
2505
|
function timeStepFor(span,count=5){
|
|
2504
|
-
const
|
|
2505
|
-
|
|
2506
|
-
|
|
2506
|
+
const wanted=Math.max(1,count);
|
|
2507
|
+
const target=span/wanted;
|
|
2508
|
+
let picked=TIME_STEPS[TIME_STEPS.length-1];
|
|
2509
|
+
for(const candidate of TIME_STEPS){
|
|
2510
|
+
if(candidate>=target){picked=candidate;break;}
|
|
2511
|
+
}
|
|
2512
|
+
if(picked<YEAR)return picked;
|
|
2513
|
+
let best=picked;
|
|
2514
|
+
let bestDiff=Math.abs(span/picked-wanted);
|
|
2515
|
+
for(const candidate of TIME_STEPS){
|
|
2516
|
+
if(candidate<YEAR)continue;
|
|
2517
|
+
const diff=Math.abs(span/candidate-wanted);
|
|
2518
|
+
if(diff<bestDiff){bestDiff=diff;best=candidate;}
|
|
2519
|
+
}
|
|
2520
|
+
return best;
|
|
2521
|
+
}
|
|
2522
|
+
function calendarYearTicks(domain,years){
|
|
2523
|
+
const minYear=new Date(domain.min).getUTCFullYear();
|
|
2524
|
+
let year=Math.ceil(minYear/years)*years;
|
|
2525
|
+
if(Date.UTC(year,0,1)<domain.min)year+=years;
|
|
2526
|
+
const out=[];
|
|
2527
|
+
for(;Date.UTC(year,0,1)<=domain.max;year+=years){
|
|
2528
|
+
out.push(Date.UTC(year,0,1));
|
|
2529
|
+
}
|
|
2530
|
+
return out;
|
|
2507
2531
|
}
|
|
2508
2532
|
function timeTicks(domain,count=5){
|
|
2509
2533
|
const step=timeStepFor(domain.max-domain.min,count);
|
|
2534
|
+
if(step>=YEAR)return calendarYearTicks(domain,Math.round(step/YEAR));
|
|
2510
2535
|
const out=[];
|
|
2511
2536
|
const first=Math.ceil(domain.min/step)*step;
|
|
2512
2537
|
for(let t=first;t<=domain.max;t+=step)out.push(t);
|
|
@@ -4839,6 +4864,21 @@ Object.defineProperty(__exports,"importMSPDI",{enumerable:true,get:function(){re
|
|
|
4839
4864
|
Object.defineProperty(__exports,"exportMSPDI",{enumerable:true,get:function(){return __m4["exportMSPDI"];}});
|
|
4840
4865
|
Object.defineProperty(__exports,"computeEarnedValue",{enumerable:true,get:function(){return __m3["computeEarnedValue"];}});
|
|
4841
4866
|
const GANTT_STATE_VERSION=1;
|
|
4867
|
+
function rowKeyTypeName(v){
|
|
4868
|
+
if(Array.isArray(v))return'array';
|
|
4869
|
+
if(v===null)return'null';
|
|
4870
|
+
return typeof v;
|
|
4871
|
+
}
|
|
4872
|
+
function assertGanttRowKeyFn(fn){
|
|
4873
|
+
return(row)=>{
|
|
4874
|
+
const key=fn(row);
|
|
4875
|
+
if(typeof key==='string')return key;
|
|
4876
|
+
if(typeof key==='number'&&Number.isFinite(key))return key;
|
|
4877
|
+
throw new Error(
|
|
4878
|
+
`lattice-gantt: rowKey function must return a string or number; got ${rowKeyTypeName(key)}.`,
|
|
4879
|
+
);
|
|
4880
|
+
};
|
|
4881
|
+
}
|
|
4842
4882
|
function emitter(){
|
|
4843
4883
|
const map=new Map();
|
|
4844
4884
|
return{
|
|
@@ -4911,7 +4951,15 @@ const autoSchedule=!!opts.autoSchedule;
|
|
|
4911
4951
|
const grid=opts.grid??null;
|
|
4912
4952
|
const columns=opts.columns&&typeof opts.columns==='object'?{...opts.columns}:null;
|
|
4913
4953
|
const fields=isObject(opts.fields)?{...opts.fields}:{};
|
|
4914
|
-
|
|
4954
|
+
if(opts.rowKey!==undefined&&typeof opts.rowKey!=='function'
|
|
4955
|
+
&&!(typeof opts.rowKey==='string'&&opts.rowKey.length>0)){
|
|
4956
|
+
throw new Error(
|
|
4957
|
+
'lattice-gantt: rowKey must be a property name or a function; composite keys are not supported on tasks.',
|
|
4958
|
+
);
|
|
4959
|
+
}
|
|
4960
|
+
const rowKeySpec=typeof opts.rowKey==='function'
|
|
4961
|
+
?assertGanttRowKeyFn(opts.rowKey)
|
|
4962
|
+
:(opts.rowKey??(typeof fields.id==='string'?fields.id:'id'));
|
|
4915
4963
|
const keyOf=(row)=>String(typeof rowKeySpec==='function'?rowKeySpec(row):row[rowKeySpec]);
|
|
4916
4964
|
if(fields.id===undefined){
|
|
4917
4965
|
fields.id=(raw)=>{
|
package/modules/gantt.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Lattice Grid 1.
|
|
2
|
+
* Lattice Grid 1.68.0, gantt module
|
|
3
3
|
* Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
|
|
4
4
|
* https://latticegrid.dev
|
|
5
5
|
*/
|
|
@@ -54,12 +54,12 @@ Object.defineProperty(__exports,"frameBatched",{enumerable:true,get:function(){r
|
|
|
54
54
|
Object.defineProperty(__exports,"settleDebounce",{enumerable:true,get:function(){return settleDebounce;}});
|
|
55
55
|
Object.defineProperty(__exports,"whenIdle",{enumerable:true,get:function(){return whenIdle;}});
|
|
56
56
|
Object.defineProperty(__exports,"uid",{enumerable:true,get:function(){return uid;}});
|
|
57
|
-
const STAMPED_VERSION="1.
|
|
57
|
+
const STAMPED_VERSION="1.68.0";
|
|
58
58
|
async function resolveVersion(){
|
|
59
59
|
if(STAMPED_VERSION!=='0.0.0-source')return STAMPED_VERSION;
|
|
60
60
|
return STAMPED_VERSION;
|
|
61
61
|
}
|
|
62
|
-
const VERSION="1.
|
|
62
|
+
const VERSION="1.68.0";
|
|
63
63
|
const warned=new Set();
|
|
64
64
|
const WARNED_LIMIT=2000;
|
|
65
65
|
function rememberWarned(key){
|
|
@@ -2408,6 +2408,8 @@ const STEPS=[1,2,2.5,5,10];
|
|
|
2408
2408
|
const MINUTE=60000;
|
|
2409
2409
|
const HOUR=3600000;
|
|
2410
2410
|
const DAY=86400000;
|
|
2411
|
+
const YEAR=365.25*DAY;
|
|
2412
|
+
const YEAR_COUNTS=[1,2,5,10,20,25,50,100];
|
|
2411
2413
|
const TIME_STEPS=[
|
|
2412
2414
|
1,5,10,25,50,100,250,500,
|
|
2413
2415
|
1000,5000,15000,30000,
|
|
@@ -2415,7 +2417,7 @@ MINUTE,5*MINUTE,15*MINUTE,30*MINUTE,
|
|
|
2415
2417
|
HOUR,3*HOUR,6*HOUR,12*HOUR,
|
|
2416
2418
|
DAY,2*DAY,7*DAY,14*DAY,
|
|
2417
2419
|
30*DAY,90*DAY,180*DAY,
|
|
2418
|
-
|
|
2420
|
+
...YEAR_COUNTS.map((years)=>years*YEAR),
|
|
2419
2421
|
];
|
|
2420
2422
|
function isNumber(v){
|
|
2421
2423
|
return typeof v==='number'&&Number.isFinite(v);
|
|
@@ -2501,12 +2503,35 @@ out.push(Math.abs(v)<step/1e6?0:Number(v.toPrecision(12)));
|
|
|
2501
2503
|
return out;
|
|
2502
2504
|
}
|
|
2503
2505
|
function timeStepFor(span,count=5){
|
|
2504
|
-
const
|
|
2505
|
-
|
|
2506
|
-
|
|
2506
|
+
const wanted=Math.max(1,count);
|
|
2507
|
+
const target=span/wanted;
|
|
2508
|
+
let picked=TIME_STEPS[TIME_STEPS.length-1];
|
|
2509
|
+
for(const candidate of TIME_STEPS){
|
|
2510
|
+
if(candidate>=target){picked=candidate;break;}
|
|
2511
|
+
}
|
|
2512
|
+
if(picked<YEAR)return picked;
|
|
2513
|
+
let best=picked;
|
|
2514
|
+
let bestDiff=Math.abs(span/picked-wanted);
|
|
2515
|
+
for(const candidate of TIME_STEPS){
|
|
2516
|
+
if(candidate<YEAR)continue;
|
|
2517
|
+
const diff=Math.abs(span/candidate-wanted);
|
|
2518
|
+
if(diff<bestDiff){bestDiff=diff;best=candidate;}
|
|
2519
|
+
}
|
|
2520
|
+
return best;
|
|
2521
|
+
}
|
|
2522
|
+
function calendarYearTicks(domain,years){
|
|
2523
|
+
const minYear=new Date(domain.min).getUTCFullYear();
|
|
2524
|
+
let year=Math.ceil(minYear/years)*years;
|
|
2525
|
+
if(Date.UTC(year,0,1)<domain.min)year+=years;
|
|
2526
|
+
const out=[];
|
|
2527
|
+
for(;Date.UTC(year,0,1)<=domain.max;year+=years){
|
|
2528
|
+
out.push(Date.UTC(year,0,1));
|
|
2529
|
+
}
|
|
2530
|
+
return out;
|
|
2507
2531
|
}
|
|
2508
2532
|
function timeTicks(domain,count=5){
|
|
2509
2533
|
const step=timeStepFor(domain.max-domain.min,count);
|
|
2534
|
+
if(step>=YEAR)return calendarYearTicks(domain,Math.round(step/YEAR));
|
|
2510
2535
|
const out=[];
|
|
2511
2536
|
const first=Math.ceil(domain.min/step)*step;
|
|
2512
2537
|
for(let t=first;t<=domain.max;t+=step)out.push(t);
|
|
@@ -4839,6 +4864,21 @@ Object.defineProperty(__exports,"importMSPDI",{enumerable:true,get:function(){re
|
|
|
4839
4864
|
Object.defineProperty(__exports,"exportMSPDI",{enumerable:true,get:function(){return __m4["exportMSPDI"];}});
|
|
4840
4865
|
Object.defineProperty(__exports,"computeEarnedValue",{enumerable:true,get:function(){return __m3["computeEarnedValue"];}});
|
|
4841
4866
|
const GANTT_STATE_VERSION=1;
|
|
4867
|
+
function rowKeyTypeName(v){
|
|
4868
|
+
if(Array.isArray(v))return'array';
|
|
4869
|
+
if(v===null)return'null';
|
|
4870
|
+
return typeof v;
|
|
4871
|
+
}
|
|
4872
|
+
function assertGanttRowKeyFn(fn){
|
|
4873
|
+
return(row)=>{
|
|
4874
|
+
const key=fn(row);
|
|
4875
|
+
if(typeof key==='string')return key;
|
|
4876
|
+
if(typeof key==='number'&&Number.isFinite(key))return key;
|
|
4877
|
+
throw new Error(
|
|
4878
|
+
`lattice-gantt: rowKey function must return a string or number; got ${rowKeyTypeName(key)}.`,
|
|
4879
|
+
);
|
|
4880
|
+
};
|
|
4881
|
+
}
|
|
4842
4882
|
function emitter(){
|
|
4843
4883
|
const map=new Map();
|
|
4844
4884
|
return{
|
|
@@ -4911,7 +4951,15 @@ const autoSchedule=!!opts.autoSchedule;
|
|
|
4911
4951
|
const grid=opts.grid??null;
|
|
4912
4952
|
const columns=opts.columns&&typeof opts.columns==='object'?{...opts.columns}:null;
|
|
4913
4953
|
const fields=isObject(opts.fields)?{...opts.fields}:{};
|
|
4914
|
-
|
|
4954
|
+
if(opts.rowKey!==undefined&&typeof opts.rowKey!=='function'
|
|
4955
|
+
&&!(typeof opts.rowKey==='string'&&opts.rowKey.length>0)){
|
|
4956
|
+
throw new Error(
|
|
4957
|
+
'lattice-gantt: rowKey must be a property name or a function; composite keys are not supported on tasks.',
|
|
4958
|
+
);
|
|
4959
|
+
}
|
|
4960
|
+
const rowKeySpec=typeof opts.rowKey==='function'
|
|
4961
|
+
?assertGanttRowKeyFn(opts.rowKey)
|
|
4962
|
+
:(opts.rowKey??(typeof fields.id==='string'?fields.id:'id'));
|
|
4915
4963
|
const keyOf=(row)=>String(typeof rowKeySpec==='function'?rowKeySpec(row):row[rowKeySpec]);
|
|
4916
4964
|
if(fields.id===undefined){
|
|
4917
4965
|
fields.id=(raw)=>{
|
package/modules/geo-uk.d.ts
CHANGED
package/modules/htmx.d.ts
CHANGED