dev-process-kit 0.3.2 → 0.3.3

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.
Files changed (32) hide show
  1. package/dist/boards.js +1 -1
  2. package/dist/chunks/{shared-C4EqS9Lp.js → shared-8-7i0SJv.js} +16 -16
  3. package/dist/chunks/shared-B3gYWxeF.js +1 -0
  4. package/dist/chunks/{shared-nrgnwzCU.js → shared-BAlmAjut.js} +2 -2
  5. package/dist/chunks/{shared-BBTySCXK.js → shared-C9Mo56gs.js} +13 -13
  6. package/dist/chunks/{shared-BblP0eEY.js → shared-CLrs15X7.js} +1 -1
  7. package/dist/chunks/{shared-C5wXNKl3.js → shared-CMe6_Sdn.js} +1 -1
  8. package/dist/chunks/shared-CVEzSR4J.js +3 -0
  9. package/dist/chunks/{shared-bP-1q7ZQ.js → shared-CkaifYF3.js} +9 -9
  10. package/dist/chunks/{shared-bQPXht-t.js → shared-ComyWGLL.js} +2 -2
  11. package/dist/chunks/{shared-7Yki1uKI.js → shared-D-lFQPYy.js} +37 -37
  12. package/dist/chunks/{shared-DlZJHHpN.js → shared-D7lvvzdN.js} +349 -303
  13. package/dist/chunks/shared-DIYD6Tuj.js +1 -0
  14. package/dist/chunks/{shared-Bu1HuBxn.js → shared-DTIEx3lM.js} +22 -22
  15. package/dist/chunks/{shared-Cbm3cQ8l.js → shared-DpOLnWXG.js} +62 -62
  16. package/dist/chunks/{shared-DPD_tBh8.js → shared-DstEY0ER.js} +1 -1
  17. package/dist/chunks/{shared-BPVvO01I.js → shared-DvpWdbzP.js} +20 -20
  18. package/dist/chunks/shared-MI4Xe0aq.js +1868 -0
  19. package/dist/chunks/{shared-UH4xqvj9.js → shared-ZjHQZcxc.js} +135 -135
  20. package/dist/components.js +1 -1
  21. package/dist/index.js +1 -1
  22. package/dist/sync.js +1 -0
  23. package/dist/views/delegation-poker.js +1 -1
  24. package/dist/views/plain.js +1 -1
  25. package/dist/views/prototype.js +1 -1
  26. package/dist/views/slides.js +1 -1
  27. package/dist/views/task-board.js +1 -1
  28. package/dist/views/usm.js +1 -1
  29. package/package.json +2 -1
  30. package/dist/chunks/shared-C44CU0VV.js +0 -1868
  31. package/dist/chunks/shared-hhwSHdS3.js +0 -1
  32. package/dist/chunks/shared-pYjptMZ1.js +0 -1
@@ -1 +0,0 @@
1
- import{ai as r}from"./shared-DlZJHHpN.js";const t=o=>o??r;export{t as o};
@@ -1 +0,0 @@
1
- import{a5 as S,au as T,av as s,aw as o,aa as _,ac as l,aM as x,ax as B,ay as E,S as $,V as j}from"./shared-DlZJHHpN.js";const r=S({en:{wholePage:"Whole page",sectionGroup:"Section"},ja:{wholePage:"\u30DA\u30FC\u30B8\u5168\u4F53",sectionGroup:"\u30BB\u30AF\u30B7\u30E7\u30F3"}}),k=s({id:x,title:B(l(),E(1))}),c=s({title:o(l(),""),sections:o(_(k),[])}),p=t=>{const e=T(c,t),i=new Set;for(const a of e.sections){if(i.has(a.id))throw new Error(`duplicate section id: ${a.id}`);i.add(a.id)}return{title:e.title,sections:e.sections}},d=()=>({title:"",sections:[]}),n=(t,e)=>t.sections.find(i=>i.id===e),u=t=>t.title===""?"Plain":t.title,g=(t,e,i)=>{switch(i.type){case"section":return n(e,i.id)?.title??i.id;case"page":return t.wholePage;default:return i.id}},m=(t,e,i)=>({title:e.type,targetLabel:g(t,i,e.target),tone:"meta"}),f=t=>`${t.type} ${$(t.target)} ${JSON.stringify(t.payload)}`,w=(t,e)=>e.sections.map(i=>({value:`section:${i.id}`,label:i.title,group:t.sectionGroup})),y=(t,e)=>e,h=(t,e)=>{switch(e.type){case"section":return n(t,e.id)!==void 0;case"page":return!0;default:return!1}},P=t=>{const e=r(t);return{kind:"view",name:"plain",label:"Plain",addable:!1,parseBase:p,emptyBase:d,actions:{},apply:()=>null,hasTarget:h,describe:(i,a)=>m(e,i,a),serialize:f,resolveNavigation:y,commentTargets:i=>w(e,i),title:u}};class b extends j{definitionFor(e){return P(e)}renderRegions(e){return{}}}const v=()=>{customElements.get("dpk-view-plain")||customElements.define("dpk-view-plain",b)},M=Object.freeze(Object.defineProperty({__proto__:null,DpkViewPlain:b,definePlainElement:v,describePlainAction:m,emptyPlainBase:d,findSection:n,parsePlainBase:p,plainBaseSchema:c,plainCommentTargets:w,plainDefinitionFor:P,plainHasTarget:h,plainMessages:r,plainTargetLabel:g,plainTitle:u,resolvePlainNavigation:y,serializePlainAction:f},Symbol.toStringTag,{value:"Module"}));export{v as d,M as i};