dev-process-kit 0.4.3 → 0.4.4

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 (38) hide show
  1. package/README.md +1 -0
  2. package/dist/boards.js +1 -1
  3. package/dist/chunks/shared-B3ddPOb7.js +1 -0
  4. package/dist/chunks/shared-BEcs-9nd.js +6077 -0
  5. package/dist/chunks/{shared-BugVP_yn.js → shared-BIODquqM.js} +4 -4
  6. package/dist/chunks/{shared-tq8QsPTt.js → shared-BZ0Y7lDS.js} +41 -41
  7. package/dist/chunks/{shared-DJCdfkg-.js → shared-BncKaYRX.js} +1 -1
  8. package/dist/chunks/{shared-0HXwrPVn.js → shared-BqjrIOYm.js} +1 -1
  9. package/dist/chunks/shared-CaQMHNzp.js +3 -0
  10. package/dist/chunks/shared-Cd0znWBB.js +3545 -0
  11. package/dist/chunks/shared-Cuc_13rI.js +7378 -0
  12. package/dist/chunks/shared-D2yn0bY8.js +1883 -0
  13. package/dist/chunks/{shared-CeNV36-9.js → shared-D5_ZJTgh.js} +53 -53
  14. package/dist/chunks/shared-DDIKBRRU.js +1 -0
  15. package/dist/chunks/{shared-CxTKp5CX.js → shared-DbfVyq_3.js} +1 -1
  16. package/dist/chunks/{shared-D3Xm9wF8.js → shared-Dha4GwGq.js} +2 -2
  17. package/dist/chunks/shared-GVsZCCAa.js +4954 -0
  18. package/dist/chunks/{shared-CyOyXHQO.js → shared-IlpAgOtF.js} +1 -1
  19. package/dist/chunks/{shared-qLSu7C5m.js → shared-M5nBQyzE.js} +11 -11
  20. package/dist/chunks/{shared-BSEt0fN6.js → shared-lNnnWUPH.js} +14 -14
  21. package/dist/components.js +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/sync.js +1 -1
  24. package/dist/views/delegation-poker.js +1 -1
  25. package/dist/views/plain.js +1 -1
  26. package/dist/views/prototype.js +1 -1
  27. package/dist/views/slides.js +1 -1
  28. package/dist/views/task-board.js +1 -1
  29. package/dist/views/usm.js +1 -1
  30. package/package.json +1 -1
  31. package/dist/chunks/shared-B2F5LY6f.js +0 -1883
  32. package/dist/chunks/shared-B7MDu9J_.js +0 -6912
  33. package/dist/chunks/shared-C1sWnXGY.js +0 -1
  34. package/dist/chunks/shared-C2_qMOyi.js +0 -1
  35. package/dist/chunks/shared-CjWMknuE.js +0 -3645
  36. package/dist/chunks/shared-DCnxYUIB.js +0 -3
  37. package/dist/chunks/shared-DE09J93T.js +0 -5625
  38. package/dist/chunks/shared-Dxf3BUk6.js +0 -4192
@@ -1 +0,0 @@
1
- import{a5 as r}from"./shared-DE09J93T.js";const t=o=>o??r;export{t as o};
@@ -1 +0,0 @@
1
- import{_ as S,L as T,V as _}from"./shared-DE09J93T.js";import{m as j,q as a,k as o,h as k,j as l,C as B,v as E,w as $}from"./shared-DCnxYUIB.js";const r=S({en:{wholePage:"Whole page",sectionGroup:"Section"},ja:{wholePage:"\u30DA\u30FC\u30B8\u5168\u4F53",sectionGroup:"\u30BB\u30AF\u30B7\u30E7\u30F3"}}),x=a({id:B,title:E(l(),$(1))}),c=a({title:o(l(),""),sections:o(k(x),[])}),p=t=>{const e=j(c,t),i=new Set;for(const n of e.sections){if(i.has(n.id))throw new Error(`duplicate section id: ${n.id}`);i.add(n.id)}return{title:e.title,sections:e.sections}},d=()=>({title:"",sections:[]}),s=(t,e)=>t.sections.find(i=>i.id===e),m=t=>t.title===""?"Plain":t.title,u=(t,e,i)=>{switch(i.type){case"section":return s(e,i.id)?.title??i.id;case"page":return t.wholePage;default:return i.id}},g=(t,e,i)=>({title:e.type,targetLabel:u(t,i,e.target),tone:"meta"}),f=t=>`${t.type} ${T(t.target)} ${JSON.stringify(t.payload)}`,h=(t,e)=>e.sections.map(i=>({value:`section:${i.id}`,label:i.title,group:t.sectionGroup})),w=(t,e)=>e,y=(t,e)=>{switch(e.type){case"section":return s(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:y,describe:(i,n)=>g(e,i,n),serialize:f,resolveNavigation:w,commentTargets:i=>h(e,i),title:m}};class b extends _{definitionFor(e){return P(e)}renderRegions(e){return{}}}const v=()=>{customElements.get("dpk-view-plain")||customElements.define("dpk-view-plain",b)},L=Object.freeze(Object.defineProperty({__proto__:null,DpkViewPlain:b,definePlainElement:v,describePlainAction:g,emptyPlainBase:d,findSection:s,parsePlainBase:p,plainBaseSchema:c,plainCommentTargets:h,plainDefinitionFor:P,plainHasTarget:y,plainMessages:r,plainTargetLabel:u,plainTitle:m,resolvePlainNavigation:w,serializePlainAction:f},Symbol.toStringTag,{value:"Module"}));export{v as d,L as i};