dev-process-kit 0.2.1 → 0.3.0-beta.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.
- package/README.md +178 -60
- package/dist/boards.js +1 -0
- package/dist/chunks/shared-BX1EnRfr.js +1 -0
- package/dist/chunks/shared-C-M2Nfmu.js +686 -0
- package/dist/chunks/shared-Cas88qVh.js +2165 -0
- package/dist/chunks/{shared-DeXM1v86.js → shared-Cejw83eH.js} +21 -29
- package/dist/chunks/shared-CfVpKPRY.js +1844 -0
- package/dist/chunks/shared-CnPCm4bJ.js +31 -0
- package/dist/chunks/shared-D1iBuYZV.js +6208 -0
- package/dist/chunks/shared-D7VtCoY6.js +3586 -0
- package/dist/chunks/{shared-zZF1zU0o.js → shared-DHVDag3x.js} +25 -56
- package/dist/chunks/shared-DdpMqkAH.js +4928 -0
- package/dist/chunks/shared-EYOAbLSo.js +1 -0
- package/dist/chunks/shared-TrlnHjrJ.js +1 -0
- package/dist/chunks/shared-a9QCZpxj.js +574 -0
- package/dist/chunks/shared-df9XN7ns.js +904 -0
- package/dist/chunks/shared-dnY35u9q.js +2530 -0
- package/dist/chunks/shared-e9ia12Uz.js +1636 -0
- package/dist/chunks/shared-qk9TB_UM.js +705 -0
- package/dist/components.js +1 -1
- package/dist/index.js +1 -1
- package/dist/views/delegation-poker.js +1 -0
- package/dist/views/plain.js +1 -0
- package/dist/views/prototype.js +1 -0
- package/dist/views/slides.js +1 -0
- package/dist/views/task-board.js +1 -0
- package/dist/views/usm.js +1 -0
- package/package.json +8 -10
- package/dist/chunks/shared-B5lBiq5s.js +0 -1
- package/dist/chunks/shared-BjyoXjSO.js +0 -1
- package/dist/chunks/shared-C-d71uRP.js +0 -573
- package/dist/chunks/shared-C5n6LBUz.js +0 -1105
- package/dist/chunks/shared-CAWKGcWJ.js +0 -1053
- package/dist/chunks/shared-CdZhkPto.js +0 -1
- package/dist/chunks/shared-DB_C1Mdu.js +0 -1
- package/dist/chunks/shared-DDOpqbVL.js +0 -49
- package/dist/chunks/shared-DehzCTC2.js +0 -1616
- package/dist/chunks/shared-Dfj6O0K4.js +0 -2774
- package/dist/chunks/shared-DiFAX1_p.js +0 -3780
- package/dist/chunks/shared-DkPo0jX3.js +0 -4214
- package/dist/chunks/shared-GL2Z98Cz.js +0 -4206
- package/dist/chunks/shared-cMhjZGRs.js +0 -301
- package/dist/templates/delegation-poker.js +0 -1
- package/dist/templates/event-storming.js +0 -1
- package/dist/templates/example-mapping.js +0 -1
- package/dist/templates/plain.js +0 -1
- package/dist/templates/prototype.js +0 -1
- package/dist/templates/slides.js +0 -1
- package/dist/templates/task-board.js +0 -1
- package/dist/templates/usm.js +0 -1
- package/dist/templates/whiteboard.js +0 -1
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
import{p as I,au as E,ak as R,al as C,ai as $,bn as W,bo as J,bp as k,bq as K,C as Y,br as T,bs as y,V as D,bt as S,bu as L,bv as m,bw as A,bx as Q,by as G,ae as Z,P as _,bz as X,ag as ee,bA as te,bB as N,a0 as ae,b0 as g,a2 as ie,T as se,bC as oe,aa as ne,ax as re,bD as de,bE as P,bF as O,bG as le,a3 as v,J as pe,a4 as f,bH as ce,bI as he,bJ as ue,bK as be,A as ge,bL as me}from"./shared-DiFAX1_p.js";const fe=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5"}],["path",{d:"M10 9H8"}],["path",{d:"M16 13H8"}],["path",{d:"M16 17H8"}]],ve=[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1"}]],ke=[["path",{d:"M13 5h8"}],["path",{d:"M13 12h8"}],["path",{d:"M13 19h8"}],["path",{d:"m3 17 2 2 4-4"}],["path",{d:"m3 7 2 2 4-4"}]],ye=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z"}],["path",{d:"M15 5.764v15"}],["path",{d:"M9 3.236v15"}]],Ae=[["path",{d:"M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8"}],["path",{d:"M10 19v-3.96 3.15"}],["path",{d:"M7 19h5"}],["rect",{width:"6",height:"10",x:"16",y:"12",rx:"2"}]],xe=[["path",{d:"m18 13-.654-4.736a4 4 0 00-2.756-3.266l-9.163-2.9a2 2 0 00-2.017.493l-.82.819a2 2 0 00-.492 2.017l2.9 9.163a4 4 0 003.266 2.756L13 18"}],["path",{d:"M18.648 12.352a1.205 1.205 0 011.704 0l1.296 1.296a1.205 1.205 0 010 1.704l-6.296 6.296a1.205 1.205 0 01-1.704 0l-1.296-1.296a1.205 1.205 0 010-1.704z"}],["path",{d:"m3 3 6.586 6.586"}],["circle",{cx:"11",cy:"11",r:"2"}]],we=[["path",{d:"M2 3h20"}],["path",{d:"M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3"}],["path",{d:"m7 21 5-5 5 5"}]],$e=[["path",{d:"M12 18v4"}],["path",{d:"M2 14.499a5.5 5.5 0 0 0 9.591 3.675.6.6 0 0 1 .818.001A5.5 5.5 0 0 0 22 14.5c0-2.29-1.5-4-3-5.5l-5.492-5.312a2 2 0 0 0-3-.02L5 8.999c-1.5 1.5-3 3.2-3 5.5"}]],Oe=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],["path",{d:"M8 7v7"}],["path",{d:"M12 7v4"}],["path",{d:"M16 7v9"}]],Be=[["path",{d:"M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z"}],["path",{d:"M15 3v5a1 1 0 0 0 1 1h5"}]],j=R($(),W(J)),x={ADD_BOARD:I("ADD_BOARD","page",E({board:j,template:R($(),C(1)),label:R($(),C(1))}),{mode:"append"}),REMOVE_BOARD:I("REMOVE_BOARD","page",E({board:j}),{mode:"append"})},Me="## How to apply",Ee=(n,e)=>{const t=new Map;for(const i of e){const l=k(i.target)?.board;if(l===void 0||K(i))continue;const p=t.get(l)??{changes:0,comments:0};i.type===Y?p.comments+=1:p.changes+=1,t.set(l,p)}return[`## Boards (${n.length})`,"","This page is a `<dpk-page>` holding several templates as boards. Every target ending in `@<board>` belongs to that board: apply it to the `dpk-template-*` child with that `board` attribute, against its own base JSON and action vocabulary, with the qualifier removed. `page:page` is the page as a whole.","",'`ADD_BOARD` on `page:page` asks for a new child `<dpk-template-<template> board="<board>" label="<label>">` whose base JSON is built from the actions on `@<board>`; `REMOVE_BOARD` asks to take that child out, with everything the draft says about it.',"","A question `grill:<id>@<board>` comes from the `data-dpk-grill` block of that board; one without a qualifier comes from the page's own block. Settle each in the board (or page) it was asked of, writing its id back into that block (`history` included) with the qualifier removed.","",...n.map(i=>{const l=t.get(i.id)??{changes:0,comments:0};return`- \`${i.id}\` \u2014 ${i.label} (\`${i.definition.name}\`): ${l.changes} change(s), ${l.comments} comment(s)`}),""]},Re=(n,e)=>{const t=n.indexOf(Me),i=`${e.join(`
|
|
2
|
-
`)}
|
|
3
|
-
`;return t<0?`${n}
|
|
4
|
-
${i}`:`${n.slice(0,t)}${i}${n.slice(t)}`},Te=E({title:ee($())}),De={schema:X(),mode:"append",targetType:"unknown"},Se="page",_e=(n,e)=>{if(!e.has(n))return n;let t=2;for(;e.has(`${n}-${t}`);)t+=1;return`${n}-${t}`},Pe=n=>{const e=n.messages,t=a=>n.catalog().find(o=>o.name===a),i=(a,o)=>{const s=a.layout.find(h=>h.id===o);if(s===void 0||!Object.hasOwn(a.boards,o))return;const r=n.boards().find(h=>h.id===o)?.definition??t(s.template);return r===void 0?void 0:{id:o,label:s.label,definition:r}},l=a=>a.layout.flatMap(o=>{const s=i(a,o.id);return s===void 0?[]:[s]}),p=(a,o)=>{const s=k(o);return s===null?null:{...s,spec:i(a,s.board)}},d=(a,o)=>({...a,target:o}),c=(a,o,s)=>({...a,boards:{...a.boards,[o]:s}}),u=(a,o)=>{const s=l(a);return s.find(r=>r.id===o[m])??s[0]},w=(a,o)=>({title:a.type==="comment"?e.comment:a.type,targetLabel:o,tone:a.type==="comment"?"comment":"meta"}),q=a=>{const o=n.base();return{title:a,layout:o.layout,boards:o.boards}},F=(a,o)=>{const s=_(x,o);if(s===null)return null;const{board:r}=s.payload,h=a.layout.some(b=>b.id===r);if(s.type==="ADD_BOARD"){const b=t(s.payload.template);if(h||b===void 0)return null;const V=b.emptyBase();return{...a,layout:[...a.layout,{id:r,template:b.name,label:s.payload.label}],boards:{...a.boards,[r]:V}}}return h?{...a,layout:a.layout.filter(b=>b.id!==r),boards:Object.fromEntries(Object.entries(a.boards).filter(([b])=>b!==r))}:null},z=a=>{const o=_(x,a);if(o===null)return w(a,e.wholePage);if(o.type==="ADD_BOARD"){const r=t(o.payload.template)?.label??o.payload.template;return{title:e.boardAdded,targetLabel:`${o.payload.label} (${r})`,tone:"create"}}const s=n.base().layout.find(r=>r.id===o.payload.board)?.label;return{title:e.boardRemoved,targetLabel:s??o.payload.board,tone:"delete"}};return{name:Se,label:e.label,parseBase:a=>q(Z(Te,a).title??e.untitled),emptyBase:()=>q(e.untitled),get actions(){return Object.fromEntries([...n.boards().flatMap(a=>Object.entries(a.definition.actions)),...Object.entries(x)])},actionFor:(a,o)=>{if(o===void 0||A(o))return G(x,a);const s=k(o);if(s===null)return;const r=n.boards().find(h=>h.id===s.board);return r===void 0?De:G(r.definition.actions,a)},apply:(a,o)=>{if(A(o.target))return F(a,o);const s=p(a,o.target);if(s?.spec===void 0)return null;const r=s.spec.definition.apply(a.boards[s.board],d(o,s.target));return r===null?null:c(a,s.board,r)},canonicalState:a=>({...a,boards:Object.fromEntries(Object.entries(a.boards).map(([o,s])=>{const r=i(a,o)?.definition;return[o,r?.canonicalState?r.canonicalState(s):s]}))}),canonicalTarget:(a,o)=>{const s=p(a,o),r=s?.spec?.definition;return s===null||r?.canonicalTarget===void 0?o:Q(r.canonicalTarget(a.boards[s.board],s.target),s.board)},hasTarget:(a,o)=>{if(A(o))return!0;const s=p(a,o);return s?.spec===void 0?!1:s.spec.definition.hasTarget(a.boards[s.board],s.target)},pageTargetExists:(a,o)=>A(o)||p(a,o)?.spec!==void 0,describe:(a,o,s)=>{if(A(a.target))return a.type==="comment"?w(a,e.wholePage):z(a);const r=p(o,a.target);if(r===null)return w(a,D(a.target));if(r.spec===void 0)return w(a,e.missingBoard(r.board));const h=r.spec.definition.describe(d(a,r.target),o.boards[r.board],s?.boards[r.board]);return{...h,targetLabel:`${r.spec.label} \u203A ${h.targetLabel}`}},serialize:a=>{const o=k(a.target),s=o===null?void 0:n.boards().find(r=>r.id===o.board);return o===null||s===void 0?`${a.type} ${D(a.target)} ${JSON.stringify(a.payload)}`:`${s.definition.serialize(d(a,o.target))} @${o.board}`},resolveNavigation:(a,o)=>{const s=u(a,o),r=s===void 0?{}:{[m]:s.id};for(const h of l(a)){const b=h.definition.resolveNavigation(a.boards[h.id],T(o,h.id));Object.assign(r,L(h.id,b))}return r},navigationFor:(a,o)=>{const s=p(a,o);if(s?.spec===void 0)return null;const r=s.spec.definition.navigationFor?.(a.boards[s.board],s.target)??null;return{[m]:s.board,...L(s.board,r??{})}},commentTargets:(a,o)=>[{value:D(S),label:e.wholePage,group:e.pageGroup},...l(a).flatMap(s=>s.definition.commentTargets(a.boards[s.id],T(o,s.id)).map(r=>({value:y(r.value,s.id),label:r.label,group:r.group===void 0?s.label:`${s.label} \xB7 ${r.group}`})))],currentTarget:(a,o)=>{const s=u(a,o);if(s===void 0)return null;const r=s.definition.currentTarget?.(a.boards[s.id],T(o,s.id));return r==null?{value:y(`page:${s.definition.name}`,s.id),label:s.label}:{...r,value:y(r.value,s.id),label:`${s.label} \u203A ${r.label}`}},title:a=>a.title}},H=(n,e)=>({...n,id:y(n.id,e),ref:y(n.ref,e)}),qe=(n,e)=>{const t=Math.max(n.length,...e.map(({grill:i})=>i.rounds.length));return Array.from({length:t},(i,l)=>({label:n[l]?.label??e.map(({grill:d})=>d.rounds[l]?.label).find(d=>d!==void 0)??`v${l+1}`,questions:[...n[l]?.questions??[],...e.flatMap(({board:d,grill:c})=>(c.rounds[l]?.questions??[]).map(u=>H(u,d)))]}))},Ie=(n,e)=>{const t=e.filter(({grill:i})=>i.questions.length>0||i.rounds.length>0);return t.length===0?n:{questions:[...n.questions,...t.flatMap(({board:i,grill:l})=>l.questions.map(p=>H(p,i)))],rounds:qe(n.rounds,t)}},Ce=(n,e)=>e===null||n.includes(te)?[n]:[y(n,e),n],Le=n=>{let e=n;for(;e!==null;){const t=N(e);if(t!==null)return t;const i=e.getRootNode();e=e.parentElement??(i instanceof ShadowRoot?i.host:null)}return null},B=ae({en:{label:"Page",wholePage:"Whole page",boards:"Boards",pageGroup:"Page",comment:"Comment",missingBoard:n=>`Board "${n}" (no longer on the page)`,untitled:"Untitled page",addBoard:"Add a board",removeBoard:n=>`Remove board "${n}"`,boardAdded:"Board added",boardRemoved:"Board removed"},ja:{label:"\u30DA\u30FC\u30B8",wholePage:"\u30DA\u30FC\u30B8\u5168\u4F53",boards:"\u30DC\u30FC\u30C9",pageGroup:"\u30DA\u30FC\u30B8",comment:"\u30B3\u30E1\u30F3\u30C8",missingBoard:n=>`\u30DC\u30FC\u30C9\u300C${n}\u300D\uFF08\u30DA\u30FC\u30B8\u304B\u3089\u7121\u304F\u306A\u308A\u307E\u3057\u305F\uFF09`,untitled:"\u7121\u984C\u306E\u30DA\u30FC\u30B8",addBoard:"\u30DC\u30FC\u30C9\u3092\u8FFD\u52A0",removeBoard:n=>`\u30DC\u30FC\u30C9\u300C${n}\u300D\u3092\u524A\u9664`,boardAdded:"\u30DC\u30FC\u30C9\u3092\u8FFD\u52A0",boardRemoved:"\u30DC\u30FC\u30C9\u3092\u524A\u9664"}}),Ge=n=>n instanceof HTMLElement&&"definition"in n&&"api"in n&&N(n)!==null,Ne=n=>typeof n=="object"&&n!==null&&"name"in n&&"emptyBase"in n,je=`:scope > script[type="application/json"][${le}]`,U=(n,e)=>n.flatMap(t=>{if(t.target.type===me)return[];const i=k(t.target);return i?.board===e?[{...t,target:i.target}]:[]}),He=n=>{try{return n.matches(":popover-open")}catch{return!1}},Ue=g(ve),M="dpk-page-add-menu",Fe={width:260,height:420},ze=ie`
|
|
5
|
-
.dpk-main {
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.dpk-main-body {
|
|
10
|
-
display: flex;
|
|
11
|
-
flex: 1 1 0%;
|
|
12
|
-
min-height: 0;
|
|
13
|
-
padding: 0;
|
|
14
|
-
animation: none;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.dpk-page {
|
|
18
|
-
flex: 1 1 auto;
|
|
19
|
-
display: grid;
|
|
20
|
-
grid-template-columns: auto minmax(0, 1fr);
|
|
21
|
-
min-width: 0;
|
|
22
|
-
min-height: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.dpk-page-rail {
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
align-items: center;
|
|
29
|
-
gap: 4px;
|
|
30
|
-
padding: 6px 4px;
|
|
31
|
-
border-right: 1px solid var(--dpk-rule);
|
|
32
|
-
background: var(--dpk-paper-sunken);
|
|
33
|
-
overflow-y: auto;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.dpk-page-tabs {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
gap: 2px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.dpk-page-tab-item {
|
|
43
|
-
position: relative;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.dpk-page-tab {
|
|
47
|
-
position: relative;
|
|
48
|
-
display: flex;
|
|
49
|
-
flex-direction: column;
|
|
50
|
-
align-items: center;
|
|
51
|
-
gap: 3px;
|
|
52
|
-
width: 52px;
|
|
53
|
-
padding: 6px 2px 5px;
|
|
54
|
-
border: 1px solid transparent;
|
|
55
|
-
border-radius: var(--dpk-radius);
|
|
56
|
-
background: transparent;
|
|
57
|
-
color: var(--dpk-ink-soft);
|
|
58
|
-
font: 600 10px / 1.2 var(--dpk-body);
|
|
59
|
-
overflow-wrap: anywhere;
|
|
60
|
-
text-align: center;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
transition:
|
|
63
|
-
background 160ms var(--dpk-ease),
|
|
64
|
-
color 160ms var(--dpk-ease);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.dpk-page-tab-icon {
|
|
68
|
-
display: grid;
|
|
69
|
-
place-items: center;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.dpk-page-tab-icon svg {
|
|
73
|
-
width: 22px;
|
|
74
|
-
height: 22px;
|
|
75
|
-
stroke-width: 1.75;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.dpk-page-tab:hover {
|
|
79
|
-
background: var(--dpk-paper-raised);
|
|
80
|
-
color: var(--dpk-ink);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.dpk-page-tab[aria-selected='true'] {
|
|
84
|
-
border-color: var(--dpk-rule-strong);
|
|
85
|
-
background: var(--dpk-paper-raised);
|
|
86
|
-
color: var(--dpk-accent);
|
|
87
|
-
box-shadow: var(--dpk-shadow-xs);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.dpk-page-tab:focus-visible,
|
|
91
|
-
.dpk-page-tab-remove:focus-visible,
|
|
92
|
-
.dpk-page-add:focus-visible {
|
|
93
|
-
outline: 2px solid var(--dpk-focus);
|
|
94
|
-
outline-offset: 2px;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.dpk-page-tab-count {
|
|
98
|
-
position: absolute;
|
|
99
|
-
top: -3px;
|
|
100
|
-
right: -3px;
|
|
101
|
-
min-width: 16px;
|
|
102
|
-
height: 16px;
|
|
103
|
-
padding: 0 4px;
|
|
104
|
-
border: 2px solid var(--dpk-paper-sunken);
|
|
105
|
-
border-radius: 999px;
|
|
106
|
-
background: var(--dpk-accent);
|
|
107
|
-
color: var(--dpk-accent-ink);
|
|
108
|
-
font-size: 9px;
|
|
109
|
-
line-height: 12px;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/* Shown on the board under the pointer or keyboard focus, opposite its count. */
|
|
113
|
-
.dpk-page-tab-remove {
|
|
114
|
-
position: absolute;
|
|
115
|
-
top: -3px;
|
|
116
|
-
left: -3px;
|
|
117
|
-
display: grid;
|
|
118
|
-
place-items: center;
|
|
119
|
-
width: 18px;
|
|
120
|
-
height: 18px;
|
|
121
|
-
padding: 0;
|
|
122
|
-
border: 1px solid var(--dpk-rule-strong);
|
|
123
|
-
border-radius: 999px;
|
|
124
|
-
background: var(--dpk-paper-raised);
|
|
125
|
-
color: var(--dpk-ink-soft);
|
|
126
|
-
cursor: pointer;
|
|
127
|
-
opacity: 0;
|
|
128
|
-
transition: opacity 120ms var(--dpk-ease);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.dpk-page-tab-remove svg {
|
|
132
|
-
width: 11px;
|
|
133
|
-
height: 11px;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.dpk-page-tab-remove:hover {
|
|
137
|
-
color: var(--dpk-danger, var(--dpk-ink));
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.dpk-page-tab-item:hover > .dpk-page-tab-remove,
|
|
141
|
-
.dpk-page-tab-item:focus-within > .dpk-page-tab-remove {
|
|
142
|
-
opacity: 1;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.dpk-page-add {
|
|
146
|
-
display: grid;
|
|
147
|
-
place-items: center;
|
|
148
|
-
width: 32px;
|
|
149
|
-
height: 32px;
|
|
150
|
-
margin-top: 2px;
|
|
151
|
-
padding: 0;
|
|
152
|
-
border: 1px dashed var(--dpk-rule-strong);
|
|
153
|
-
border-radius: var(--dpk-radius);
|
|
154
|
-
background: transparent;
|
|
155
|
-
color: var(--dpk-ink-soft);
|
|
156
|
-
cursor: pointer;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.dpk-page-add:hover,
|
|
160
|
-
.dpk-page-add[aria-expanded='true'] {
|
|
161
|
-
border-style: solid;
|
|
162
|
-
background: var(--dpk-paper-raised);
|
|
163
|
-
color: var(--dpk-ink);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.dpk-page-add svg {
|
|
167
|
-
width: 16px;
|
|
168
|
-
height: 16px;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.dpk-page-add-option .dpk-settings-check svg {
|
|
172
|
-
width: 16px;
|
|
173
|
-
height: 16px;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/* The header reads "title / board ⚙": the title keeps its width and the board follows it. */
|
|
177
|
-
.dpk-title {
|
|
178
|
-
flex: 0 1 auto;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.dpk-header-slot {
|
|
182
|
-
flex: 1 1 0%;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.dpk-page-heading {
|
|
186
|
-
display: flex;
|
|
187
|
-
align-items: center;
|
|
188
|
-
gap: 6px;
|
|
189
|
-
min-width: 0;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.dpk-page-crumb {
|
|
193
|
-
display: inline-flex;
|
|
194
|
-
align-items: center;
|
|
195
|
-
gap: 6px;
|
|
196
|
-
min-width: 0;
|
|
197
|
-
color: var(--dpk-ink-soft);
|
|
198
|
-
font-size: 13px;
|
|
199
|
-
font-weight: 600;
|
|
200
|
-
white-space: nowrap;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.dpk-page-crumb::before {
|
|
204
|
-
content: '/';
|
|
205
|
-
color: var(--dpk-rule-strong);
|
|
206
|
-
font-weight: 400;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.dpk-page-crumb svg {
|
|
210
|
-
width: 15px;
|
|
211
|
-
height: 15px;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.dpk-page-boards {
|
|
215
|
-
display: grid;
|
|
216
|
-
min-width: 0;
|
|
217
|
-
min-height: 0;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
::slotted(*) {
|
|
221
|
-
min-width: 0;
|
|
222
|
-
min-height: 0;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
/* Important: the page's own CSS often gives a template display: block. */
|
|
226
|
-
::slotted([hidden]) {
|
|
227
|
-
display: none !important;
|
|
228
|
-
}
|
|
229
|
-
`;class Ve extends se{static{this.styles=[oe,ze]}#n=!1;#a=!1;#r="";#b="";#d=new WeakMap;#i=new WeakMap;#g=new Map;#m;#t=!1;#A=new ne(this);constructor(){super(),new re(this,{open:()=>this.#t,closesOn:e=>!e.some(t=>t instanceof Element&&(t.id===M||t.matches(".dpk-page-add"))),ownsEscape:()=>!0,dismiss:()=>this.#u(!1)})}boardTemplates(){return[]}definitionFor(e){return Pe({boards:()=>this.#x(),base:()=>this.#l(),catalog:()=>this.#p(),messages:B(e)})}connectedCallback(){super.connectedCallback(),this.api.ready.then(()=>{this.#a=!0,this.#r=this.#o(this.#s()),this.requestUpdate()})}get[de](){if(this.#a)return this.#m??={locale:()=>this.locale,theme:()=>this.dataset.theme,navigation:()=>this.navigation,boardIds:()=>new Set(this.#e().map(e=>e.board??"")),dispatch:e=>this.dispatch(e),dispatchBatch:e=>this.dispatchBatch(e),editComment:(e,t)=>this.editComment(e,t),removeAction:e=>this.removeAction(e),clearActions:()=>this.clearActions(),navigate:(e,t)=>this.navigate(e,t),hashFor:e=>this.hashFor(e),requestComment:e=>this.requestComment(e)},this.#m}#e(){return Array.from(this.children).filter(Ge)}#s(){return this.#e().filter(e=>!e.hasAttribute(P))}#f(e){return e.getAttribute("label")??e.definition.label}#l(){const e=this.#s();return{layout:e.map(t=>({id:t.board??"",template:t.definition.name,label:this.#f(t)})),boards:Object.fromEntries(e.map(t=>[t.board??"",t.api.base]))}}#o(e){return e.map(t=>t.board??"").join(" ")}#x(){return this.#e().map(e=>({id:e.board??"",label:this.#f(e),definition:e.definition}))}#p(){const e=this.locale,t=this.#g.get(e);if(t!==void 0)return t;const i=this.boardTemplates(),l=i.flatMap(({name:p})=>{const d=`dpk-template-${p}`;if(customElements.get(d)===void 0)return[];const c=document.createElement(d);c.setAttribute("lang",e);const u="definition"in c?c.definition:void 0;return Ne(u)?[u]:[]});return l.length===i.length&&this.#g.set(e,l),l}#c(e){return this.#e().find(t=>t.board===e.id)?.definition??this.#p().find(t=>t.name===e.template)}#h(e){return this.boardTemplates().find(t=>t.name===e)?.icon??Ue}pendingStart(){return this.#n?null:this.#v().then(()=>{this.#n=!0;for(const e of this.#e())this.#i.set(e,!0)})}#v(){const e=new Set(Array.from(this.children).filter(t=>t.hasAttribute(O)).map(t=>t.localName));return Promise.all(Array.from(e,t=>customElements.whenDefined(t))).then(()=>Promise.all(this.#e().map(t=>t.api.ready))).then(()=>{})}#w(){this.#a&&this.#v().then(()=>{const e=this.#o(this.#s());e!==this.#r&&(this.#r=e,this.#d=new WeakMap,this.controller.setBase({...this.controller.base,...this.#l()}),this.refreshGrill())})}scriptOf(e){return this.querySelector(`:scope > ${e}`)}readGrill(){const e=super.readGrill(),t=this.#k();return this.#b=this.#o(t),Ie(e,t.map(i=>{const l=i.board??"";return{board:l,grill:this.parseGrillScript(i.querySelector(je),`@${l}`)}}))}#k(){const e=this.#s();if(!this.#a)return e;const t=new Set(this.api.state.layout.map(i=>i.id));return e.filter(i=>t.has(i.board??""))}grillRefsOf(e,t){return Ce(t,Le(e))}hasSidebarContent(){return!1}hasFooterContent(){return this.querySelector(':scope > [slot="footer"]')!==null}buildBrief(e){const t=e.state.layout.flatMap(i=>{const l=this.#c(i);return l===void 0?[]:[{id:i.id,label:i.label,definition:l}]});return Re(super.buildBrief(e),Ee(t,e.actions))}templateIdentity(){const e=this.#a?this.#y(this.api.state,this.navigation):void 0;return(e===void 0?void 0:this.#c(e))??super.templateIdentity()}#y(e,t){return e.layout.find(i=>i.id===t[m])}renderRegions(e){const t=B(this.locale),i=e.state.layout,l=this.#y(e.state,e.navigation),p=this.#p();return{sidebarHidden:!0,header:l===void 0?v:this.#$(e,l),main:f`<div class="dpk-page">
|
|
230
|
-
<nav class="dpk-page-rail" aria-label=${t.boards}>
|
|
231
|
-
<div
|
|
232
|
-
class="dpk-page-tabs"
|
|
233
|
-
role="tablist"
|
|
234
|
-
aria-orientation="vertical"
|
|
235
|
-
@keydown=${d=>this.#R(d,i)}
|
|
236
|
-
>
|
|
237
|
-
${i.map(d=>this.#O(d,d.id===l?.id,U(e.actions,d.id).length,i.length))}
|
|
238
|
-
</div>
|
|
239
|
-
${p.length===0?v:f`<button
|
|
240
|
-
class="dpk-page-add"
|
|
241
|
-
type="button"
|
|
242
|
-
aria-label=${t.addBoard}
|
|
243
|
-
title=${t.addBoard}
|
|
244
|
-
aria-haspopup="menu"
|
|
245
|
-
aria-controls=${M}
|
|
246
|
-
aria-expanded=${this.#t?"true":"false"}
|
|
247
|
-
@click=${()=>this.#u(!this.#t)}
|
|
248
|
-
>
|
|
249
|
-
${pe()}
|
|
250
|
-
</button>`}
|
|
251
|
-
${this.#t?this.#B(p):v}
|
|
252
|
-
</nav>
|
|
253
|
-
<div class="dpk-page-boards"><slot @slotchange=${()=>this.#w()}></slot></div>
|
|
254
|
-
</div>`}}#$(e,t){const i=this.#e().find(u=>u.board===t.id),l=i?.definition.settings?.(e.state.boards[t.id]),p=i!==void 0&&l!==void 0&&l.items.length>0,d=ce(this.locale),c={toggle:()=>{this.settingsOpen=!this.settingsOpen},flip:u=>{i?.api.dispatch(u)}};return f`<div class="dpk-page-heading ${he}">
|
|
255
|
-
<span class="dpk-page-crumb">${this.#h(t.template)()} ${t.label}</span>
|
|
256
|
-
${p?ue(this.settingsOpen,d,c):v}
|
|
257
|
-
${p&&this.settingsOpen?be(l,d,c):v}
|
|
258
|
-
</div>`}#O(e,t,i,l){const p=B(this.locale),d=this.#c(e)?.label??e.template;return f`<div class="dpk-page-tab-item" role="presentation">
|
|
259
|
-
<button
|
|
260
|
-
class="dpk-page-tab"
|
|
261
|
-
type="button"
|
|
262
|
-
role="tab"
|
|
263
|
-
data-board=${e.id}
|
|
264
|
-
aria-selected=${t?"true":"false"}
|
|
265
|
-
tabindex=${t?0:-1}
|
|
266
|
-
title=${`${e.label} \xB7 ${d}`}
|
|
267
|
-
@click=${()=>this.navigate({[m]:e.id})}
|
|
268
|
-
>
|
|
269
|
-
<span class="dpk-page-tab-icon">${this.#h(e.template)()}</span>
|
|
270
|
-
<span class="dpk-page-tab-label">${e.label}</span>
|
|
271
|
-
${i>0?f`<span class="dpk-page-tab-count">${i}</span>`:v}
|
|
272
|
-
</button>
|
|
273
|
-
${l>1?f`<button
|
|
274
|
-
class="dpk-page-tab-remove"
|
|
275
|
-
type="button"
|
|
276
|
-
data-board=${e.id}
|
|
277
|
-
tabindex="-1"
|
|
278
|
-
aria-label=${p.removeBoard(e.label)}
|
|
279
|
-
title=${p.removeBoard(e.label)}
|
|
280
|
-
@click=${()=>this.#E(e.id)}
|
|
281
|
-
>
|
|
282
|
-
${ge()}
|
|
283
|
-
</button>`:v}
|
|
284
|
-
</div>`}#B(e){const t=B(this.locale);return f`<div
|
|
285
|
-
id=${M}
|
|
286
|
-
class="dpk-settings dpk-page-add-menu"
|
|
287
|
-
popover="manual"
|
|
288
|
-
role="menu"
|
|
289
|
-
aria-label=${t.addBoard}
|
|
290
|
-
>
|
|
291
|
-
${e.map(i=>f`<button
|
|
292
|
-
class="dpk-settings-option dpk-page-add-option"
|
|
293
|
-
type="button"
|
|
294
|
-
role="menuitem"
|
|
295
|
-
data-template=${i.name}
|
|
296
|
-
@click=${()=>this.#M(i)}
|
|
297
|
-
>
|
|
298
|
-
<span class="dpk-settings-check" aria-hidden="true">${this.#h(i.name)()}</span>
|
|
299
|
-
<span class="dpk-settings-text"><span class="dpk-settings-name">${i.label}</span></span>
|
|
300
|
-
</button>`)}
|
|
301
|
-
</div>`}#u(e){this.#t!==e&&(this.#t=e,this.requestUpdate())}#M(e){this.#u(!1);const t=new Set([...this.api.state.layout.map(p=>p.id),...Array.from(this.children,p=>p.getAttribute(O)??"")]),i=_e(e.name,t);this.dispatch({type:"ADD_BOARD",target:S,payload:{board:i,template:e.name,label:e.label}}).ok&&this.navigate({[m]:i})}#E(e){const t=this.controller.actions,i=t.find(p=>{if(!A(p.target))return!1;const d=_(x,p);return d?.type==="ADD_BOARD"&&d.payload.board===e}),l=this.#l().layout.some(p=>p.id===e);if(i===void 0||l){this.dispatch({type:"REMOVE_BOARD",target:S,payload:{board:e}});return}for(const p of t)k(p.target)?.board===e&&this.removeAction(p.id);this.removeAction(i.id)}#R(e,t){const i=t.findIndex(c=>c.id===this.navigation[m]),l=t.length-1,p=e.key==="ArrowDown"?Math.min(l,i+1):e.key==="ArrowUp"?Math.max(0,i-1):e.key==="Home"?0:e.key==="End"?l:null,d=p===null?void 0:t[p];d!==void 0&&(e.preventDefault(),this.navigate({[m]:d.id}),this.updateComplete.then(()=>this.renderRoot.querySelector(`.dpk-page-tab[data-board="${d.id}"]`)?.focus()))}updated(){super.updated(),this.#T(),this.#D()}#T(){const e=this.renderRoot.querySelector(`#${M}`),t=this.renderRoot.querySelector(".dpk-page-add");!e||!t||He(e)||this.#A.open(e,t,Fe,{placement:"right-end"})}#D(){if(!this.#n)return;const e=this.api.state.layout,t=new Set(e.map(d=>d.id));this.#o(this.#k())!==this.#b&&this.refreshGrill();for(const d of this.#e())d.hasAttribute(P)&&!t.has(d.board??"")&&d.remove();const i=new Set(Array.from(this.children,d=>d.getAttribute(O)));for(const d of e)i.has(d.id)||this.#S(d);const l=this.controller.actions,p=this.navigation[m];for(const d of this.#e()){const c=d.board??"";d.hidden=c!==p||!t.has(c),this.#_(d)&&(this.#d.get(d)!==l&&(this.#d.set(d,l),d.controller.replaceActions(U(l,c))),d.requestUpdate())}}#S(e){const t=`dpk-template-${e.template}`;if(customElements.get(t)===void 0)return;const i=document.createElement(t);i.setAttribute(O,e.id),i.setAttribute("label",e.label),i.setAttribute(P,""),i.hidden=!0,this.append(i)}#_(e){const t=this.#i.get(e);return t!==void 0?t:(this.#i.set(e,!1),e.api.ready.then(()=>{this.#i.set(e,!0),this.requestUpdate()}),!1)}}const We=[{name:"usm",icon:g(ye)},{name:"event-storming",icon:g(Be)},{name:"example-mapping",icon:g(ke)},{name:"prototype",icon:g(Ae)},{name:"task-board",icon:g(Oe)},{name:"delegation-poker",icon:g($e)},{name:"whiteboard",icon:g(xe)},{name:"slides",icon:g(we)},{name:"plain",icon:g(fe)}];class Je extends Ve{boardTemplates(){return We}}const Ke=()=>{customElements.get("dpk-page")||customElements.define("dpk-page",Je)};export{Ke as d};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as e,q as a,r as s}from"../chunks/shared-DiFAX1_p.js";import{C as t,a as o,D as n,b as r,c as i,E as m,v as l,M as c,T as p,W as d,d as f,e as g,f as A,g as E,h as y,i as T,j as C,k as D,l as S,m as I,n as P,o as k,p as M,t as N,u as O,w as h,x as u,y as R,z as v,A as K,B as w,F as _,G as b,H as B,I as F,J as G,K as H,L as V,N as W,O as j,P as x,Q as z,R as L,S as U,U as Y,V as q,X as J,Y as Q,Z as X}from"../chunks/shared-DiFAX1_p.js";import{d as Z}from"../chunks/shared-cMhjZGRs.js";import{d as $}from"../chunks/shared-DeXM1v86.js";import{i as ee}from"../chunks/shared-DeXM1v86.js";e({entry:"templates/delegation-poker.js",templates:["delegation-poker"],register:()=>{a(),s(),$(),Z()}});export{t as COMMENT_ACTION,o as COMMENT_DESCRIPTOR,n as DpkComponentCommentPanel,r as DpkComponentInlineEdit,i as DraftController,m as EMPTY_NAVIGATION,l as FRAMEWORK_VERSION,c as MemoryDraftStorage,p as TemplateElement,d as WebStorageDraftStorage,f as appendAction,g as assertNever,A as buildAgentBrief,E as commentActionSchema,y as commentBody,T as commentTargetKey,C as controls,D as createActionId,S as createEntityId,I as dedupeKeyOf,P as defaultStorage,k as defaultStorageKey,M as defineAction,ee as delegationPoker,N as derive,O as draftActionEnvelopeSchema,h as entityDedupeKey,u as formatHash,R as iconArrowDown,v as iconArrowUp,K as iconClose,w as iconComment,_ as iconGrip,b as iconLink,B as iconMove,F as iconPencil,G as iconPlus,H as iconTrash,V as liveActions,W as parseHash,j as parseTargetRef,x as parseTemplateAction,z as patchNavigation,L as payloadFor,U as serializeDraft,Y as slugify,q as targetRef,J as targetSchema,Q as toTarget,X as tokens};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,q as e,r as t}from"../chunks/shared-DiFAX1_p.js";import{C as s,a as o,D as n,b as r,c as i,E as m,v as c,M as p,T as l,W as f,d,e as g,f as E,g as A,h as y,i as S,j as T,k as C,l as v,m as D,n as I,o as M,p as N,t as O,u as h,w as u,x as P,y as R,z as K,A as k,B as w,F as _,G as b,H as B,I as F,J as G,K as H,L as V,N as W,O as j,P as x,Q as z,R as L,S as U,U as Y,V as q,X as J,Y as Q,Z as X}from"../chunks/shared-DiFAX1_p.js";import{d as Z}from"../chunks/shared-cMhjZGRs.js";import{d as $}from"../chunks/shared-CAWKGcWJ.js";import{i as aa}from"../chunks/shared-CAWKGcWJ.js";a({entry:"templates/event-storming.js",templates:["event-storming"],register:()=>{e(),t(),$(),Z()}});export{s as COMMENT_ACTION,o as COMMENT_DESCRIPTOR,n as DpkComponentCommentPanel,r as DpkComponentInlineEdit,i as DraftController,m as EMPTY_NAVIGATION,c as FRAMEWORK_VERSION,p as MemoryDraftStorage,l as TemplateElement,f as WebStorageDraftStorage,d as appendAction,g as assertNever,E as buildAgentBrief,A as commentActionSchema,y as commentBody,S as commentTargetKey,T as controls,C as createActionId,v as createEntityId,D as dedupeKeyOf,I as defaultStorage,M as defaultStorageKey,N as defineAction,O as derive,h as draftActionEnvelopeSchema,u as entityDedupeKey,aa as eventStorming,P as formatHash,R as iconArrowDown,K as iconArrowUp,k as iconClose,w as iconComment,_ as iconGrip,b as iconLink,B as iconMove,F as iconPencil,G as iconPlus,H as iconTrash,V as liveActions,W as parseHash,j as parseTargetRef,x as parseTemplateAction,z as patchNavigation,L as payloadFor,U as serializeDraft,Y as slugify,q as targetRef,J as targetSchema,Q as toTarget,X as tokens};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,q as e,r as s}from"../chunks/shared-DiFAX1_p.js";import{C as t,a as o,D as n,b as r,c as i,E as m,v as p,M as l,T as c,W as f,d,e as g,f as E,g as A,h as y,i as T,j as C,k as M,l as S,m as D,n as I,o as N,p as O,t as h,u,w as P,x as R,y as v,z as x,A as K,B as k,F as w,G as _,H as b,I as B,J as F,K as G,L as H,N as V,O as W,P as j,Q as z,R as L,S as U,U as Y,V as q,X as J,Y as Q,Z as X}from"../chunks/shared-DiFAX1_p.js";import{d as Z}from"../chunks/shared-cMhjZGRs.js";import{d as $}from"../chunks/shared-C-d71uRP.js";import{i as aa}from"../chunks/shared-C-d71uRP.js";a({entry:"templates/example-mapping.js",templates:["example-mapping"],register:()=>{e(),s(),$(),Z()}});export{t as COMMENT_ACTION,o as COMMENT_DESCRIPTOR,n as DpkComponentCommentPanel,r as DpkComponentInlineEdit,i as DraftController,m as EMPTY_NAVIGATION,p as FRAMEWORK_VERSION,l as MemoryDraftStorage,c as TemplateElement,f as WebStorageDraftStorage,d as appendAction,g as assertNever,E as buildAgentBrief,A as commentActionSchema,y as commentBody,T as commentTargetKey,C as controls,M as createActionId,S as createEntityId,D as dedupeKeyOf,I as defaultStorage,N as defaultStorageKey,O as defineAction,h as derive,u as draftActionEnvelopeSchema,P as entityDedupeKey,aa as exampleMapping,R as formatHash,v as iconArrowDown,x as iconArrowUp,K as iconClose,k as iconComment,w as iconGrip,_ as iconLink,b as iconMove,B as iconPencil,F as iconPlus,G as iconTrash,H as liveActions,V as parseHash,W as parseTargetRef,j as parseTemplateAction,z as patchNavigation,L as payloadFor,U as serializeDraft,Y as slugify,q as targetRef,J as targetSchema,Q as toTarget,X as tokens};
|
package/dist/templates/plain.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,q as e,r as s}from"../chunks/shared-DiFAX1_p.js";import{C as t,a as o,D as n,b as r,c as i,E as m,v as l,M as p,T as c,W as f,d,e as g,f as A,g as E,h as y,i as T,j as C,k as S,l as D,m as I,n as M,o as N,p as O,t as P,u as h,w as u,x as R,y as v,z as K,A as k,B as w,F as _,G as b,H as B,I as F,J as G,K as H,L as V,N as W,O as j,P as x,Q as z,R as L,S as U,U as Y,V as q,X as J,Y as Q,Z as X}from"../chunks/shared-DiFAX1_p.js";import{d as Z}from"../chunks/shared-cMhjZGRs.js";import{d as $}from"../chunks/shared-CdZhkPto.js";import{i as aa}from"../chunks/shared-CdZhkPto.js";a({entry:"templates/plain.js",templates:["plain"],register:()=>{e(),s(),$(),Z()}});export{t as COMMENT_ACTION,o as COMMENT_DESCRIPTOR,n as DpkComponentCommentPanel,r as DpkComponentInlineEdit,i as DraftController,m as EMPTY_NAVIGATION,l as FRAMEWORK_VERSION,p as MemoryDraftStorage,c as TemplateElement,f as WebStorageDraftStorage,d as appendAction,g as assertNever,A as buildAgentBrief,E as commentActionSchema,y as commentBody,T as commentTargetKey,C as controls,S as createActionId,D as createEntityId,I as dedupeKeyOf,M as defaultStorage,N as defaultStorageKey,O as defineAction,P as derive,h as draftActionEnvelopeSchema,u as entityDedupeKey,R as formatHash,v as iconArrowDown,K as iconArrowUp,k as iconClose,w as iconComment,_ as iconGrip,b as iconLink,B as iconMove,F as iconPencil,G as iconPlus,H as iconTrash,V as liveActions,W as parseHash,j as parseTargetRef,x as parseTemplateAction,z as patchNavigation,L as payloadFor,aa as plain,U as serializeDraft,Y as slugify,q as targetRef,J as targetSchema,Q as toTarget,X as tokens};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,q as e,r as t}from"../chunks/shared-DiFAX1_p.js";import{C as s,a as o,D as r,b as n,c as i,E as m,v as p,M as c,T as l,W as f,d,e as y,f as g,g as A,h as E,i as T,j as C,k as S,l as D,m as I,n as M,o as N,p as O,t as P,u as h,w as u,x as R,y as v,z as K,A as k,B as w,F as _,G as b,H as B,I as F,J as G,K as H,L as V,N as W,O as j,P as x,Q as z,R as L,S as U,U as Y,V as q,X as J,Y as Q,Z as X}from"../chunks/shared-DiFAX1_p.js";import{d as Z}from"../chunks/shared-cMhjZGRs.js";import{d as $}from"../chunks/shared-Dfj6O0K4.js";import{i as aa}from"../chunks/shared-Dfj6O0K4.js";a({entry:"templates/prototype.js",templates:["prototype"],register:()=>{e(),t(),$(),Z()}});export{s as COMMENT_ACTION,o as COMMENT_DESCRIPTOR,r as DpkComponentCommentPanel,n as DpkComponentInlineEdit,i as DraftController,m as EMPTY_NAVIGATION,p as FRAMEWORK_VERSION,c as MemoryDraftStorage,l as TemplateElement,f as WebStorageDraftStorage,d as appendAction,y as assertNever,g as buildAgentBrief,A as commentActionSchema,E as commentBody,T as commentTargetKey,C as controls,S as createActionId,D as createEntityId,I as dedupeKeyOf,M as defaultStorage,N as defaultStorageKey,O as defineAction,P as derive,h as draftActionEnvelopeSchema,u as entityDedupeKey,R as formatHash,v as iconArrowDown,K as iconArrowUp,k as iconClose,w as iconComment,_ as iconGrip,b as iconLink,B as iconMove,F as iconPencil,G as iconPlus,H as iconTrash,V as liveActions,W as parseHash,j as parseTargetRef,x as parseTemplateAction,z as patchNavigation,L as payloadFor,aa as prototype,U as serializeDraft,Y as slugify,q as targetRef,J as targetSchema,Q as toTarget,X as tokens};
|
package/dist/templates/slides.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,q as e,r as s}from"../chunks/shared-DiFAX1_p.js";import{C as t,a as o,D as n,b as r,c as i,E as m,v as l,M as c,T as d,W as p,d as f,e as g,f as A,g as E,h as y,i as T,j as C,k as S,l as D,m as I,n as M,o as N,p as O,t as h,u,w as P,x as R,y as v,z as K,A as k,B as w,F as _,G as b,H as B,I as F,J as G,K as H,L as V,N as W,O as j,P as x,Q as z,R as L,S as U,U as Y,V as q,X as J,Y as Q,Z as X}from"../chunks/shared-DiFAX1_p.js";import{d as Z}from"../chunks/shared-cMhjZGRs.js";import{d as $}from"../chunks/shared-zZF1zU0o.js";import{i as aa}from"../chunks/shared-zZF1zU0o.js";a({entry:"templates/slides.js",templates:["slides"],register:()=>{e(),s(),$(),Z()}});export{t as COMMENT_ACTION,o as COMMENT_DESCRIPTOR,n as DpkComponentCommentPanel,r as DpkComponentInlineEdit,i as DraftController,m as EMPTY_NAVIGATION,l as FRAMEWORK_VERSION,c as MemoryDraftStorage,d as TemplateElement,p as WebStorageDraftStorage,f as appendAction,g as assertNever,A as buildAgentBrief,E as commentActionSchema,y as commentBody,T as commentTargetKey,C as controls,S as createActionId,D as createEntityId,I as dedupeKeyOf,M as defaultStorage,N as defaultStorageKey,O as defineAction,h as derive,u as draftActionEnvelopeSchema,P as entityDedupeKey,R as formatHash,v as iconArrowDown,K as iconArrowUp,k as iconClose,w as iconComment,_ as iconGrip,b as iconLink,B as iconMove,F as iconPencil,G as iconPlus,H as iconTrash,V as liveActions,W as parseHash,j as parseTargetRef,x as parseTemplateAction,z as patchNavigation,L as payloadFor,U as serializeDraft,aa as slides,Y as slugify,q as targetRef,J as targetSchema,Q as toTarget,X as tokens};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,q as e,r as s}from"../chunks/shared-DiFAX1_p.js";import{C as t,a as o,D as r,b as n,c as i,E as m,v as c,M as d,T as p,W as l,d as f,e as g,f as A,g as E,h as T,i as y,j as C,k as S,l as D,m as I,n as k,o as M,p as N,t as O,u as h,w as u,x as P,y as R,z as v,A as K,B as b,F as B,G as w,H as _,I as F,J as G,K as H,L as V,N as W,O as j,P as x,Q as z,R as L,S as U,U as Y,V as q,X as J,Y as Q,Z as X}from"../chunks/shared-DiFAX1_p.js";import{d as Z}from"../chunks/shared-cMhjZGRs.js";import{d as $}from"../chunks/shared-DehzCTC2.js";import{i as aa}from"../chunks/shared-DehzCTC2.js";a({entry:"templates/task-board.js",templates:["task-board"],register:()=>{e(),s(),$(),Z()}});export{t as COMMENT_ACTION,o as COMMENT_DESCRIPTOR,r as DpkComponentCommentPanel,n as DpkComponentInlineEdit,i as DraftController,m as EMPTY_NAVIGATION,c as FRAMEWORK_VERSION,d as MemoryDraftStorage,p as TemplateElement,l as WebStorageDraftStorage,f as appendAction,g as assertNever,A as buildAgentBrief,E as commentActionSchema,T as commentBody,y as commentTargetKey,C as controls,S as createActionId,D as createEntityId,I as dedupeKeyOf,k as defaultStorage,M as defaultStorageKey,N as defineAction,O as derive,h as draftActionEnvelopeSchema,u as entityDedupeKey,P as formatHash,R as iconArrowDown,v as iconArrowUp,K as iconClose,b as iconComment,B as iconGrip,w as iconLink,_ as iconMove,F as iconPencil,G as iconPlus,H as iconTrash,V as liveActions,W as parseHash,j as parseTargetRef,x as parseTemplateAction,z as patchNavigation,L as payloadFor,U as serializeDraft,Y as slugify,q as targetRef,J as targetSchema,aa as taskBoard,Q as toTarget,X as tokens};
|
package/dist/templates/usm.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,q as e,r as s}from"../chunks/shared-DiFAX1_p.js";import{C as t,a as o,D as n,b as r,c as i,E as m,v as c,M as p,T as l,W as f,d,e as g,f as A,g as E,h as y,i as T,j as C,k as u,l as S,m as D,n as I,o as M,p as N,t as O,u as h,w as P,x as R,y as v,z as K,A as k,B as w,F as _,G as b,H as B,I as F,J as G,K as H,L as U,N as V,O as W,P as j,Q as x,R as z,S as L,U as Y,V as q,X as J,Y as Q,Z as X}from"../chunks/shared-DiFAX1_p.js";import{d as Z}from"../chunks/shared-cMhjZGRs.js";import{d as $}from"../chunks/shared-DkPo0jX3.js";import{i as aa}from"../chunks/shared-DkPo0jX3.js";a({entry:"templates/usm.js",templates:["usm"],register:()=>{e(),s(),$(),Z()}});export{t as COMMENT_ACTION,o as COMMENT_DESCRIPTOR,n as DpkComponentCommentPanel,r as DpkComponentInlineEdit,i as DraftController,m as EMPTY_NAVIGATION,c as FRAMEWORK_VERSION,p as MemoryDraftStorage,l as TemplateElement,f as WebStorageDraftStorage,d as appendAction,g as assertNever,A as buildAgentBrief,E as commentActionSchema,y as commentBody,T as commentTargetKey,C as controls,u as createActionId,S as createEntityId,D as dedupeKeyOf,I as defaultStorage,M as defaultStorageKey,N as defineAction,O as derive,h as draftActionEnvelopeSchema,P as entityDedupeKey,R as formatHash,v as iconArrowDown,K as iconArrowUp,k as iconClose,w as iconComment,_ as iconGrip,b as iconLink,B as iconMove,F as iconPencil,G as iconPlus,H as iconTrash,U as liveActions,V as parseHash,W as parseTargetRef,j as parseTemplateAction,x as patchNavigation,z as payloadFor,L as serializeDraft,Y as slugify,q as targetRef,J as targetSchema,Q as toTarget,X as tokens,aa as usm};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,q as e,r as s}from"../chunks/shared-DiFAX1_p.js";import{C as t,a as o,D as r,b as n,c as i,E as m,v as c,M as d,T as p,W as l,d as f,e as g,f as A,g as E,h as y,i as T,j as h,k as C,l as S,m as D,n as I,o as M,p as N,t as O,u,w as P,x as R,y as b,z as v,A as w,B as K,F as k,G as W,H as _,I as B,J as F,K as G,L as H,N as V,O as j,P as x,Q as z,R as L,S as U,U as Y,V as q,X as J,Y as Q,Z as X}from"../chunks/shared-DiFAX1_p.js";import{d as Z}from"../chunks/shared-cMhjZGRs.js";import{d as $}from"../chunks/shared-C5n6LBUz.js";import{i as aa}from"../chunks/shared-C5n6LBUz.js";a({entry:"templates/whiteboard.js",templates:["whiteboard"],register:()=>{e(),s(),$(),Z()}});export{t as COMMENT_ACTION,o as COMMENT_DESCRIPTOR,r as DpkComponentCommentPanel,n as DpkComponentInlineEdit,i as DraftController,m as EMPTY_NAVIGATION,c as FRAMEWORK_VERSION,d as MemoryDraftStorage,p as TemplateElement,l as WebStorageDraftStorage,f as appendAction,g as assertNever,A as buildAgentBrief,E as commentActionSchema,y as commentBody,T as commentTargetKey,h as controls,C as createActionId,S as createEntityId,D as dedupeKeyOf,I as defaultStorage,M as defaultStorageKey,N as defineAction,O as derive,u as draftActionEnvelopeSchema,P as entityDedupeKey,R as formatHash,b as iconArrowDown,v as iconArrowUp,w as iconClose,K as iconComment,k as iconGrip,W as iconLink,_ as iconMove,B as iconPencil,F as iconPlus,G as iconTrash,H as liveActions,V as parseHash,j as parseTargetRef,x as parseTemplateAction,z as patchNavigation,L as payloadFor,U as serializeDraft,Y as slugify,q as targetRef,J as targetSchema,Q as toTarget,X as tokens,aa as whiteboard};
|