@sectile/vue 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- import{defineComponent,h,shallowRef,watch}from'vue';import{createSpatialLayout,spatialLayoutStrategy}from'@sectile/virtual/spatial-layout';import{}from'@sectile/dom/virtual';import{VirtualizerContent,VirtualizerRoot}from'./internal/virtual-core.js';import{prepareVirtualList,updatePreparedVirtualList}from'./internal/virtual-collection-model.js';import{createHighLevelVirtualExpose,renderHighLevelItems}from'./internal/virtual-collection.js';const VirtualSpatialRuntime=/* @__PURE__ */defineComponent({name:'SectileVirtualSpatial',inheritAttrs:false,props:{items:{type:Array,required:true},getKey:{type:Function,required:true},getRect:{type:Function,required:true},getZIndex:{type:[Number,Function],default:0},measureSize:{type:Boolean,default:true},overscan:{type:[Number,Object],default:240},maxItems:{type:Number,default:1_000_000},initialViewport:{type:Object,default:undefined},as:{type:String,default:'div'},contentAs:{type:String,default:'div'},itemAs:{type:String,default:'div'},itemAttributes:{type:Function,default:undefined}},emits:{stateChange:_state=>true,planChange:_plan=>true,error:_error=>true},slots:Object,setup(props,{attrs,emit,expose,slots}){const initialViewport=props.initialViewport===undefined?undefined:Object.freeze({...props.initialViewport});const prepared=shallowRef(prepareVirtualList(props.items,props.getKey,props.maxItems));const initialState=createVirtualSpatialState(prepared.value,props.items,props);const root=shallowRef();const measure=props.measureSize?({element,placement,state})=>{const bounds=element.getBoundingClientRect();if(bounds.width<=0||bounds.height<=0)return null;const current=state.items.at(placement.index);if(current===undefined)return null;if(current.rect.width===bounds.width&&current.rect.height===bounds.height)return null;return Object.freeze({id:placement.id,rect:Object.freeze({x:current.rect.x,y:current.rect.y,width:bounds.width,height:bounds.height})})}:undefined;watch(()=>[props.items,props.getKey,props.getRect,props.getZIndex],(current,previous)=>{const exposed=root.value;if(exposed===undefined)return;const next=updatePreparedVirtualList(prepared.value,props.items,props.getKey);const state=exposed.state;const resolverChanged=current[2]!==previous[2]||current[3]!==previous[3];const valuePatch=next.valueChange===null?null:Object.freeze({index:next.valueChange.index,deleteCount:next.valueChange.count,inserted:Object.freeze(next.domain.ids.slice(next.valueChange.index,next.valueChange.index+next.valueChange.count))});const collectionPatch=next.change??valuePatch;const result=resolverChanged||collectionPatch===null?resolverChanged?exposed.mutate(Object.freeze({type:'replace',items:preserveSpatialMeasurements(createSpatialItems(next,props.items,props),state,props.measureSize)})):null:exposed.mutate(Object.freeze({type:'patch',patch:Object.freeze({type:'splice',index:collectionPatch.index,deleteCount:collectionPatch.deleteCount,inserted:collectionPatch.inserted}),inserted:preserveSpatialMeasurements(createSpatialItemsRange(next,props.items,props,collectionPatch.index,collectionPatch.inserted.length),state,props.measureSize)}));if(result===null){prepared.value=next;return}if(result.ok)prepared.value=next},{flush:'post'});expose(createHighLevelVirtualExpose(root,initialState));return()=>h(VirtualizerRoot,{...attrs,ref:root,defaultState:initialState,strategy:spatialLayoutStrategy,overscan:props.overscan,...initialViewport===undefined?{}:{initialViewport},...measure===undefined?{}:{measure},as:props.as,'data-virtual-layout':'virtual-spatial',onStateChange:state=>emit('stateChange',state),onPlanChange:plan=>emit('planChange',plan),onError:error=>emit('error',error)},{default:({placements})=>h(VirtualizerContent,{as:props.contentAs},{default:()=>renderHighLevelItems('virtual-spatial',placements,prepared.value,props.items,props.itemAs,props.itemAttributes,props.measureSize?'none':'both',(value,key,index,placement)=>{const spatialPlacement=placement;return slots['default']?.({value,key,index,placement:spatialPlacement,zIndex:spatialPlacement.zIndex})},slots['empty'])})})}});export const VirtualSpatial=VirtualSpatialRuntime;function createVirtualSpatialState(prepared,items,props){return createSpatialLayout(createSpatialItems(prepared,items,props),{maxItems:props.maxItems,domain:prepared.domain})}function createSpatialItems(prepared,items,props){return createSpatialItemsRange(prepared,items,props,0,prepared.domain.size)}function createSpatialItemsRange(prepared,items,props,start,count){return Object.freeze(Array.from({length:count},(_unused,localIndex)=>{const index=start+localIndex;return Object.freeze({id:prepared.domain.at(index),rect:Object.freeze({...props.getRect(items[index],index)}),zIndex:typeof props.getZIndex==='number'?props.getZIndex:props.getZIndex(items[index],index)})}))}function preserveSpatialMeasurements(items,state,preserve){if(!preserve)return items;return Object.freeze(items.map(item=>{const previousIndex=state.domain.indexOf(item.id);const previous=previousIndex===null?undefined:state.items.at(previousIndex);return previous===undefined?item:Object.freeze({...item,rect:Object.freeze({...item.rect,width:previous.rect.width,height:previous.rect.height})})}))}
1
+ import{defineComponent,h,shallowRef,watch}from'vue';import{createSpatialLayout,spatialLayoutStrategy}from'@sectile/virtual/spatial-layout';import{}from'@sectile/dom/virtual';import{VirtualizerContent,VirtualizerRoot}from'./internal/virtual-core.js';import{prepareVirtualList,updatePreparedVirtualList}from'./internal/virtual-collection-model.js';import{createHighLevelVirtualExpose,renderHighLevelItems}from'./internal/virtual-collection.js';const VirtualSpatialRuntime=/* @__PURE__ */defineComponent({name:'SectileVirtualSpatial',inheritAttrs:false,props:{items:{type:Array,required:true},getKey:{type:Function,required:true},getRect:{type:Function,required:true},getZIndex:{type:[Number,Function],default:0},measureSize:{type:Boolean,default:true},overscan:{type:[Number,Object],default:240},maxItems:{type:Number,default:1_000_000},initialViewport:{type:Object,default:undefined},as:{type:String,default:'div'},contentAs:{type:String,default:'div'},itemAs:{type:String,default:'div'},itemAttributes:{type:Function,default:undefined}},emits:{stateChange:_state=>true,planChange:_plan=>true,error:_error=>true},slots:Object,setup(props,{attrs,emit,expose,slots}){const initialViewport=props.initialViewport===undefined?undefined:Object.freeze({...props.initialViewport});const prepared=shallowRef(prepareVirtualList(props.items,props.getKey,props.maxItems));const initialState=createVirtualSpatialState(prepared.value,props.items,props);const root=shallowRef();const measure=props.measureSize?({element,placement,state})=>{const bounds=element.getBoundingClientRect();if(bounds.width<=0||bounds.height<=0)return null;const current=state.items.at(placement.index);if(current===undefined)return null;if(current.rect.width===bounds.width&&current.rect.height===bounds.height)return null;return Object.freeze({id:placement.id,rect:Object.freeze({x:current.rect.x,y:current.rect.y,width:bounds.width,height:bounds.height})})}:undefined;watch(()=>[props.items,props.getKey,props.getRect,props.getZIndex],(current,previous)=>{const exposed=root.value;if(exposed===undefined)return;const next=updatePreparedVirtualList(prepared.value,props.items,props.getKey);const state=exposed.state;const resolverChanged=current[2]!==previous[2]||current[3]!==previous[3];const valuePatch=next.valueChange===null?null:Object.freeze({index:next.valueChange.index,deleteCount:next.valueChange.count,inserted:Object.freeze(next.domain.ids.slice(next.valueChange.index,next.valueChange.index+next.valueChange.count))});const collectionPatch=next.change??valuePatch;const result=resolverChanged||collectionPatch===null?resolverChanged?exposed.mutate(Object.freeze({type:'replace',items:preserveSpatialMeasurements(createSpatialItems(next,props.items,props),state,props.measureSize)})):null:exposed.mutate(Object.freeze({type:'patch',patch:Object.freeze({type:'splice',index:collectionPatch.index,deleteCount:collectionPatch.deleteCount,inserted:collectionPatch.inserted}),inserted:preserveSpatialMeasurements(createSpatialItemsRange(next,props.items,props,collectionPatch.index,collectionPatch.inserted.length),state,props.measureSize)}));if(result===null){prepared.value=next;return}if(result.ok)prepared.value=next},{flush:'post'});expose(createHighLevelVirtualExpose(root,initialState));return()=>h(VirtualizerRoot,{...attrs,ref:root,defaultState:initialState,strategy:spatialLayoutStrategy,overscan:props.overscan,...initialViewport===undefined?{}:{initialViewport},...measure===undefined?{}:{measure},as:props.as,'data-virtual-layout':'virtual-spatial',onStateChange:state=>emit('stateChange',state),onPlanChange:plan=>emit('planChange',plan),onError:error=>emit('error',error)},{default:({placements})=>h(VirtualizerContent,{as:props.contentAs},{default:()=>renderHighLevelItems('virtual-spatial',placements,prepared.value,props.items,props.itemAs,props.itemAttributes,props.measureSize?'none':'both',(value,key,index,placement)=>{const spatialPlacement=placement;return slots['default']?.({value,key,index,placement:spatialPlacement,zIndex:spatialPlacement.zIndex})},slots['empty'])})})}});export const VirtualSpatial=VirtualSpatialRuntime;function createVirtualSpatialState(prepared,items,props){return createSpatialLayout(createSpatialItems(prepared,items,props),{maxItems:props.maxItems,domain:prepared.domain})}function createSpatialItems(prepared,items,props){return createSpatialItemsRange(prepared,items,props,0,prepared.domain.size)}function createSpatialItemsRange(prepared,items,props,start,count){const spatialItems=Array(count);for(let localIndex=0;localIndex<count;localIndex+=1){const index=start+localIndex;spatialItems[localIndex]={id:prepared.domain.at(index),rect:props.getRect(items[index],index),zIndex:typeof props.getZIndex==='number'?props.getZIndex:props.getZIndex(items[index],index)}}return spatialItems}function preserveSpatialMeasurements(items,state,preserve){if(!preserve)return items;return items.map(item=>{const previousIndex=state.domain.indexOf(item.id);const previous=previousIndex===null?undefined:state.items.at(previousIndex);return previous===undefined?item:{...item,rect:{...item.rect,width:previous.rect.width,height:previous.rect.height}}})}
2
2
  //# sourceMappingURL=virtual-spatial.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"virtual-spatial.js","names":["defineComponent","h","shallowRef","watch","createSpatialLayout","spatialLayoutStrategy","VirtualizerContent","VirtualizerRoot","prepareVirtualList","updatePreparedVirtualList","createHighLevelVirtualExpose","renderHighLevelItems","VirtualSpatialRuntime","name","inheritAttrs","props","items","type","Array","required","getKey","Function","getRect","getZIndex","Number","default","measureSize","Boolean","overscan","Object","maxItems","initialViewport","undefined","as","String","contentAs","itemAs","itemAttributes","emits","stateChange","_state","planChange","_plan","error","_error","slots","setup","attrs","emit","expose","freeze","prepared","initialState","createVirtualSpatialState","value","root","measure","element","placement","state","bounds","getBoundingClientRect","width","height","current","at","index","rect","id","x","y","previous","exposed","next","resolverChanged","valuePatch","valueChange","deleteCount","count","inserted","domain","ids","slice","collectionPatch","change","result","mutate","preserveSpatialMeasurements","createSpatialItems","patch","createSpatialItemsRange","length","ok","flush","ref","defaultState","strategy","onStateChange","onPlanChange","plan","onError","placements","key","spatialPlacement","zIndex","VirtualSpatial","size","start","from","_unused","localIndex","preserve","map","item","previousIndex","indexOf"],"sources":["../src/virtual-spatial.ts"],"mappings":"OAASA,gBAAiBC,EAAGC,WAAYC,UAAqI,aACrKC,oBAAqBC,0BAA8I,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,CACrEe,SAAUf,MAAMe,SAChBkD,OAAQ7B,SAAS6B,QAErB,CAGA,SAASQ,mBACPrC,SACAnC,MACAD,OAKA,OAAO2E,wBAAwBvC,SAAUnC,MAAOD,MAAO,EAAGoC,SAAS6B,OAAO0B,KAC5E,CAEA,SAAShB,wBACPvC,SACAnC,MACAD,MAIA4F,MACA7B,OAEA,OAAOjD,OAAOqB,OAAOhC,MAAM0F,KAAK,CAAEjB,OAAQb,OAAS,CAAC+B,QAASC,cAC3D,MAAM5C,MAAQyC,MAAQG,WACtB,OAAOjF,OAAOqB,OAAO,CACnBkB,GAAIjB,SAAS6B,OAAOf,GAAGC,OACvBC,KAAMtC,OAAOqB,OAAO,IAAKnC,MAAMO,QAAQN,MAAMkD,OAAQA,SACrDsC,cAAezF,MAAMQ,YAAc,SAC/BR,MAAMQ,UACNR,MAAMQ,UAAUP,MAAMkD,OAAQA,WAGxC,CAEA,SAASqB,4BACPvE,MACA2C,MACAoD,UAEA,IAAKA,SAAU,OAAO/F,MACtB,OAAOa,OAAOqB,OAAOlC,MAAMgG,IAAKC,OAC9B,MAAMC,cAAgBvD,MAAMqB,OAAOmC,QAAQF,KAAK7C,IAChD,MAAMG,SAAW2C,gBAAkB,KAAOlF,UAAY2B,MAAM3C,MAAMiD,GAAGiD,eACrE,OAAO3C,WAAavC,UAChBiF,KACApF,OAAOqB,OAAO,IACT+D,KACH9C,KAAMtC,OAAOqB,OAAO,IACf+D,KAAK9C,KACRL,MAAOS,SAASJ,KAAKL,MACrBC,OAAQQ,SAASJ,KAAKJ,aAIlC","ignoreList":[]}
1
+ {"version":3,"file":"virtual-spatial.js","names":["defineComponent","h","shallowRef","watch","createSpatialLayout","spatialLayoutStrategy","VirtualizerContent","VirtualizerRoot","prepareVirtualList","updatePreparedVirtualList","createHighLevelVirtualExpose","renderHighLevelItems","VirtualSpatialRuntime","name","inheritAttrs","props","items","type","Array","required","getKey","Function","getRect","getZIndex","Number","default","measureSize","Boolean","overscan","Object","maxItems","initialViewport","undefined","as","String","contentAs","itemAs","itemAttributes","emits","stateChange","_state","planChange","_plan","error","_error","slots","setup","attrs","emit","expose","freeze","prepared","initialState","createVirtualSpatialState","value","root","measure","element","placement","state","bounds","getBoundingClientRect","width","height","current","at","index","rect","id","x","y","previous","exposed","next","resolverChanged","valuePatch","valueChange","deleteCount","count","inserted","domain","ids","slice","collectionPatch","change","result","mutate","preserveSpatialMeasurements","createSpatialItems","patch","createSpatialItemsRange","length","ok","flush","ref","defaultState","strategy","onStateChange","onPlanChange","plan","onError","placements","key","spatialPlacement","zIndex","VirtualSpatial","size","start","spatialItems","localIndex","preserve","map","item","previousIndex","indexOf"],"sources":["../src/virtual-spatial.ts"],"mappings":"OAASA,gBAAiBC,EAAGC,WAAYC,UAAqI,aACrKC,oBAAqBC,0BAA8I,8CACJ,8BAC/JC,mBAAoBC,oBAAkF,oCACtGC,mBAAoBC,8BAAwH,gDAE5IC,6BAA8BC,yBAA6D,mCA4CpG,MAAMC,qCAAwCZ,gBAAgB,CAC5Da,KAAM,wBACNC,aAAc,MACdC,MAAO,CACLC,MAAO,CAAEC,KAAMC,MAAkDC,SAAU,MAC3EC,OAAQ,CAAEH,KAAMI,SAAuDF,SAAU,MACjFG,QAAS,CAAEL,KAAMI,SAA2DF,SAAU,MACtFI,UAAW,CAAEN,KAAM,CAACO,OAAQH,UAA8DI,QAAS,GACnGC,YAAa,CAAET,KAAMU,QAASF,QAAS,MACvCG,SAAU,CAAEX,KAAM,CAACO,OAAQK,QAAsDJ,QAAS,KAC1FK,SAAU,CAAEb,KAAMO,OAAQC,QAAS,WACnCM,gBAAiB,CAAEd,KAAMY,OAAiCJ,QAASO,WACnEC,GAAI,CAAEhB,KAAMiB,OAAQT,QAAS,OAC7BU,UAAW,CAAElB,KAAMiB,OAAQT,QAAS,OACpCW,OAAQ,CAAEnB,KAAMiB,OAAQT,QAAS,OACjCY,eAAgB,CAAEpB,KAAMI,SAA0DI,QAASO,YAE7FM,MAAO,CACLC,YAAcC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,gBAAkB,KAAOjF,UAAY2B,MAAM3C,MAAMiD,GAAGgD,eACrE,OAAO1C,WAAavC,UAChBgF,KACA,IACKA,KACH7C,KAAM,IACD6C,KAAK7C,KACRL,MAAOS,SAASJ,KAAKL,MACrBC,OAAQQ,SAASJ,KAAKJ,UAIlC","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sectile/vue",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Headless Vue components for Sectile DOM interaction semantics.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -409,15 +409,15 @@
409
409
  "./package.json": "./package.json"
410
410
  },
411
411
  "dependencies": {
412
- "@sectile/dom": "0.11.0",
413
- "@sectile/core": "0.11.0"
412
+ "@sectile/core": "0.11.1",
413
+ "@sectile/dom": "0.11.1"
414
414
  },
415
415
  "peerDependencies": {
416
416
  "vue": "^3.5.0",
417
- "@sectile/form": "0.11.0",
418
- "@sectile/tabular": "0.11.0",
419
- "@sectile/virtual": "0.11.0",
420
- "@sectile/temporal": "0.11.0"
417
+ "@sectile/form": "0.11.1",
418
+ "@sectile/tabular": "0.11.1",
419
+ "@sectile/temporal": "0.11.1",
420
+ "@sectile/virtual": "0.11.1"
421
421
  },
422
422
  "peerDependenciesMeta": {
423
423
  "@sectile/form": {
@@ -441,10 +441,10 @@
441
441
  "vite": "5.4.21",
442
442
  "vue": "^3.5.0",
443
443
  "vue-tsc": "^3.0.6",
444
- "@sectile/form": "0.11.0",
445
- "@sectile/tabular": "0.11.0",
446
- "@sectile/virtual": "0.11.0",
447
- "@sectile/temporal": "0.11.0"
444
+ "@sectile/form": "0.11.1",
445
+ "@sectile/tabular": "0.11.1",
446
+ "@sectile/virtual": "0.11.1",
447
+ "@sectile/temporal": "0.11.1"
448
448
  },
449
449
  "scripts": {
450
450
  "build": "node scripts/build.mjs production",