@marimo-team/islands 0.15.1 → 0.15.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.
- package/dist/{ConnectedDataExplorerComponent-DIy_POzQ.js → ConnectedDataExplorerComponent-DfvW3rBn.js} +323 -328
- package/dist/{ImageComparisonComponent-4ehfWTqN.js → ImageComparisonComponent-XaJshw7d.js} +13 -13
- package/dist/{_baseUniq-Duh9chhg.js → _baseUniq-dN9WKF9m.js} +67 -67
- package/dist/any-language-editor-CpFniVi-.js +27 -0
- package/dist/{arc-BXrety1g.js → arc-BOhn-m2C.js} +1 -1
- package/dist/{architectureDiagram-KFL7JDKH-3xVup6Z2.js → architectureDiagram-W76B3OCA-Bpg85ZKv.js} +144 -144
- package/dist/assets/{worker-COGufAQn.js → worker-Y-Q4G-N2.js} +30 -26
- package/dist/asterisk-DS281yxp.js +271 -0
- package/dist/{blockDiagram-ZYB65J3Q-eEZ6LTIH.js → blockDiagram-QIGZ2CNN-DS1kOHlW.js} +10 -10
- package/dist/{c4Diagram-AAMF2YG6-BqjOo55d.js → c4Diagram-FPNF74CW-CyRVKssw.js} +8 -8
- package/dist/{channel-BkhHQVue.js → channel-BilGXox7.js} +1 -1
- package/dist/{chunk-ANTBXLJU-BkLYh6ot.js → chunk-4BX2VUAB-CZR39zCO.js} +1 -1
- package/dist/{chunk-WVR4S24B-DpdvazVp.js → chunk-55IACEB6-BIH-MYov.js} +1 -1
- package/dist/{chunk-GLLZNHP4-BGaltx6Q.js → chunk-FMBD7UC4-4PZXFZE8.js} +1 -1
- package/dist/{chunk-JBRWN2VN-BZ3JgjiU.js → chunk-K7UQS3LO-CEvWKznk.js} +117 -117
- package/dist/{chunk-NRVI72HA-XO3jKXGr.js → chunk-QN33PNHL-D5LO5Jq_.js} +1 -1
- package/dist/{chunk-FHKO5MBM-BqvR49qe.js → chunk-QZHKN3VN-6gwUonWI.js} +1 -1
- package/dist/{chunk-LXBSTHXV-CJgOmuuc.js → chunk-TVAH2DTR-3gm06QdU.js} +7 -7
- package/dist/{chunk-OMD6QJNC-1rwXYaVn.js → chunk-TZMSLE5B-Cm8Iy9bO.js} +1 -1
- package/dist/{classDiagram-v2-QTMF73CY-_BeLc0pY.js → classDiagram-KNZD7YFC-DC529O_z.js} +2 -2
- package/dist/{classDiagram-3BZAVTQC-_BeLc0pY.js → classDiagram-v2-RKCZMP56-DC529O_z.js} +2 -2
- package/dist/{clone-DhXjmfNH.js → clone-CLoRX3j6.js} +1 -1
- package/dist/cose-bilkent-S5V4N54A-qf5DlS6Y.js +2609 -0
- package/dist/{cytoscape.esm-BYnVVhJX.js → cytoscape.esm-DfdJODL8.js} +34 -34
- package/dist/{dagre-2BBEFEWP-DoebA2zc.js → dagre-5GWH7T2D-Ceocls0m.js} +6 -6
- package/dist/{data-grid-overlay-editor-DYmc5v9I.js → data-grid-overlay-editor-AqDS_UKe.js} +11 -11
- package/dist/{diagram-4IRLE6MV-CxnJ439S.js → diagram-N5W7TBWH-CP66oSiv.js} +59 -60
- package/dist/{diagram-RP2FKANI-C-v51IXB.js → diagram-QEK2KX5R-_YD4kxxi.js} +15 -15
- package/dist/{diagram-GUPCWM2R-B7MLfHE7.js → diagram-S2PKOQOG-Cnj8T-OP.js} +10 -10
- package/dist/dockerfile-Cm8cRYCN.js +194 -0
- package/dist/ebnf-DUPDuY4r.js +78 -0
- package/dist/{erDiagram-HZWUO2LU-Cv1Slpwd.js → erDiagram-AWTI2OKA-CGnvoHx6.js} +8 -8
- package/dist/fcl-CPC2WYrI.js +103 -0
- package/dist/{flowDiagram-THRYKUMA-CnjAkcKg.js → flowDiagram-PVAE7QVJ-DG-pr9R9.js} +9 -9
- package/dist/{ganttDiagram-WV7ZQ7D5-CRQQ5cqP.js → ganttDiagram-OWAHRB6G-JmChtxvn.js} +34 -34
- package/dist/{gitGraphDiagram-OJR772UL-a7Wl_pP8.js → gitGraphDiagram-NY62KEGX-D8wLfOPd.js} +4 -4
- package/dist/{glide-data-editor-DrSTYUHP.js → glide-data-editor-9nC3iCIZ.js} +33 -33
- package/dist/{graph-Dq4lx1WI.js → graph-CoRe7vAN.js} +3 -3
- package/dist/http-D9LttvKF.js +44 -0
- package/dist/{index-B_t2cVfJ.js → index-6qYeHHjQ.js} +33090 -32892
- package/dist/{index-BhnWrXVh.js → index-BpzLh4Qe.js} +7711 -7711
- package/dist/{index-DSAnCCyV.js → index-BthgsgYX.js} +6 -6
- package/dist/{index-pBmAzQJl.js → index-MCx5v1x0.js} +2 -2
- package/dist/index-jkm77Jrz.js +98 -0
- package/dist/{infoDiagram-6WOFNB3A-B4pr_cke.js → infoDiagram-STP46IZ2-BlXxvOrR.js} +2 -2
- package/dist/{journeyDiagram-FFXJYRFH-CF8H9tcV.js → journeyDiagram-BIP6EPQ6-CNRYs_Fc.js} +24 -26
- package/dist/{kanban-definition-KOZQBZVT-BYfBCo4W.js → kanban-definition-6OIFK2YF-B9HeMAuP.js} +14 -14
- package/dist/{layout-D8_YOjKz.js → layout-m2vOUiW1.js} +81 -81
- package/dist/{linear-Be5SurQB.js → linear-DU6Q5CX3.js} +35 -35
- package/dist/{main-8IC_V2L6.js → main-BD2KGFpU.js} +74594 -68034
- package/dist/main.js +1 -1
- package/dist/{mermaid-B4v-qVXz.js → mermaid-HVCtvbyx.js} +6160 -7493
- package/dist/min-DcGMA4e_.js +80 -0
- package/dist/mindmap-definition-Q6HEUPPD-BW8UmIDQ.js +785 -0
- package/dist/nginx-zDPm3Z74.js +89 -0
- package/dist/{number-overlay-editor-XASk1ikZ.js → number-overlay-editor-D8Hl0Syo.js} +19 -19
- package/dist/{pieDiagram-DBDJKBY4-DhPX65dy.js → pieDiagram-ADFJNKIX-Bg-3zg5U.js} +17 -17
- package/dist/{quadrantDiagram-YPSRARAO-BjPa8bg5.js → quadrantDiagram-LMRXKWRM-BO4IG6Yz.js} +6 -6
- package/dist/{react-plotly-C_6SNkG9.js → react-plotly-dkvHVuRb.js} +3577 -3577
- package/dist/{requirementDiagram-EGVEC5DT-CtN_U9bI.js → requirementDiagram-4UW4RH46-5sdTguSM.js} +7 -7
- package/dist/{sankeyDiagram-HRAUVNP4-DVi73SZP.js → sankeyDiagram-GR3RE2ED-Buhlv9OI.js} +5 -5
- package/dist/sequenceDiagram-C3RYC4MD-C3qsM2UP.js +2519 -0
- package/dist/{slides-component-ML7vxRcD.js → slides-component-D209A0-s.js} +66 -66
- package/dist/solr-BNlsLglM.js +41 -0
- package/dist/spreadsheet-C-cy4P5N.js +49 -0
- package/dist/{stateDiagram-UUKSUZ4H-qZ62tNIz.js → stateDiagram-KXAO66HF-CopJ7G6P.js} +5 -5
- package/dist/{stateDiagram-v2-EYPG3UTE-BZEyTMgl.js → stateDiagram-v2-UMBNRL4Z-CejL8AKf.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/tiddlywiki-5wqsXtSk.js +155 -0
- package/dist/tiki-__Kn3CeS.js +181 -0
- package/dist/{time-CZ2vTSO2.js → time-BwSBitlN.js} +58 -58
- package/dist/{timeline-definition-3HZDQTIS-DbWMwd1x.js → timeline-definition-XQNQX7LJ-DzMNTX-C.js} +10 -12
- package/dist/{timer-BYwnU4DF.js → timer-B0-z63CM.js} +16 -16
- package/dist/{treemap-75Q7IDZK-CocR-oAZ.js → treemap-75Q7IDZK-zeJG07dk.js} +14 -14
- package/dist/{vega-component-BrYek_kz.js → vega-component-CUkiTayd.js} +30 -30
- package/dist/{xychartDiagram-FDP5SA34-CYiUdiy5.js → xychartDiagram-6GGTOJPD-DiENNXMS.js} +7 -7
- package/package.json +39 -39
- package/src/__mocks__/notebook.ts +3 -0
- package/src/__mocks__/requests.ts +3 -0
- package/src/__tests__/__snapshots__/CellStatus.test.tsx.snap +12 -12
- package/src/__tests__/chat-utils.test.ts +26 -211
- package/src/components/ai/ai-model-dropdown.tsx +25 -9
- package/src/components/app-config/ai-config.tsx +7 -0
- package/src/components/chat/chat-components.tsx +71 -0
- package/src/components/chat/chat-panel.tsx +481 -291
- package/src/components/chat/chat-utils.ts +50 -0
- package/src/components/chat/markdown-renderer.tsx +3 -7
- package/src/components/chat/tool-call-accordion.tsx +5 -5
- package/src/components/datasources/__tests__/utils.test.ts +6 -0
- package/src/components/datasources/column-preview.tsx +1 -3
- package/src/components/editor/actions/useNotebookActions.tsx +1 -1
- package/src/components/editor/ai/add-cell-with-ai.tsx +20 -15
- package/src/components/editor/ai/ai-completion-editor.tsx +22 -3
- package/src/components/editor/ai/completion-handlers.tsx +2 -4
- package/src/components/editor/ai/completion-utils.ts +85 -11
- package/src/components/editor/alerts/startup-logs-alert.tsx +72 -0
- package/src/components/editor/chrome/panels/datasources-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/dependency-graph-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/documentation-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/error-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/file-explorer-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/logs-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/outline-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/packages-panel.tsx +4 -2
- package/src/components/editor/chrome/panels/scratchpad-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/secrets-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/snippets-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/tracing-panel.tsx +3 -1
- package/src/components/editor/chrome/panels/variable-panel.tsx +3 -1
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +38 -28
- package/src/components/editor/controls/command-palette-button.tsx +1 -1
- package/src/components/editor/controls/command-palette.tsx +5 -4
- package/src/components/editor/controls/state.ts +4 -0
- package/src/components/editor/package-alert.tsx +108 -58
- package/src/components/editor/renderers/CellArray.tsx +2 -0
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +0 -1
- package/src/components/pages/edit-page.tsx +7 -3
- package/src/core/ai/chat-utils.ts +26 -43
- package/src/core/ai/config.ts +1 -1
- package/src/core/ai/context/__tests__/registry.test.ts +277 -3
- package/src/core/ai/context/context.ts +11 -1
- package/src/core/ai/context/providers/__tests__/cell-output.test.ts +378 -0
- package/src/core/ai/context/providers/__tests__/error.test.ts +3 -2
- package/src/core/ai/context/providers/__tests__/file.test.ts +119 -0
- package/src/core/ai/context/providers/cell-output.ts +349 -0
- package/src/core/ai/context/providers/common.ts +5 -1
- package/src/core/ai/context/providers/file.ts +287 -0
- package/src/core/ai/context/registry.ts +79 -0
- package/src/core/ai/state.ts +22 -5
- package/src/core/alerts/state.ts +71 -3
- package/src/core/cells/cell.ts +2 -2
- package/src/core/cells/cells.ts +1 -1
- package/src/core/cells/logs.ts +1 -1
- package/src/core/cells/runs.ts +6 -5
- package/src/core/codemirror/ai/resources.ts +47 -5
- package/src/core/codemirror/ai/state.ts +12 -0
- package/src/core/codemirror/language/__tests__/sql.test.ts +45 -0
- package/src/core/codemirror/markdown/__tests__/commands.test.ts +1 -0
- package/src/core/codemirror/theme/dark.ts +1 -1
- package/src/core/config/capabilities.ts +1 -1
- package/src/core/datasets/__tests__/data-source.test.ts +24 -0
- package/src/core/errors/__tests__/errors.test.ts +2 -0
- package/src/core/islands/bridge.ts +1 -0
- package/src/core/islands/main.ts +1 -0
- package/src/core/kernel/messages.ts +12 -6
- package/src/core/layout/layout.ts +3 -3
- package/src/core/network/requests-network.ts +8 -0
- package/src/core/network/requests-static.ts +1 -0
- package/src/core/network/requests-toasting.ts +1 -0
- package/src/core/network/types.ts +4 -1
- package/src/core/wasm/bridge.ts +18 -2
- package/src/core/wasm/worker/bootstrap.ts +3 -1
- package/src/core/wasm/worker/getMarimoWheel.ts +3 -8
- package/src/core/wasm/worker/types.ts +3 -0
- package/src/core/websocket/useMarimoWebSocket.tsx +7 -1
- package/src/css/app/Cell.css +42 -21
- package/src/css/app/codemirror.css +5 -1
- package/src/css/globals.css +3 -0
- package/src/css/md.css +1 -1
- package/src/plugins/impl/MicrophonePlugin.tsx +2 -2
- package/src/plugins/impl/chat/ChatPlugin.tsx +2 -9
- package/src/plugins/impl/chat/chat-ui.tsx +129 -110
- package/src/plugins/impl/chat/types.ts +5 -8
- package/src/plugins/impl/code/__tests__/language.test.ts +15 -0
- package/src/plugins/impl/code/any-language-editor.tsx +11 -8
- package/src/plugins/layout/MimeRenderPlugin.tsx +3 -6
- package/src/stories/cell.stories.tsx +6 -0
- package/src/stories/layout/vertical/one-column.stories.tsx +215 -0
- package/src/theme/useTheme.ts +11 -6
- package/src/utils/__tests__/blob.test.ts +37 -0
- package/src/utils/arrays.ts +13 -0
- package/src/utils/fileToBase64.ts +21 -6
- package/src/utils/json/base64.ts +5 -2
- package/src/utils/numbers.ts +9 -7
- package/dist/any-language-editor-Cvakxnzg.js +0 -45
- package/dist/asn1-jKiBa2Ya.js +0 -95
- package/dist/clojure-CCKyeQKf.js +0 -800
- package/dist/css-BkF-NPzE.js +0 -1553
- package/dist/index-CfrpOVe5.js +0 -341
- package/dist/index-DIFrY2JV.js +0 -288
- package/dist/javascript-C2yteZeJ.js +0 -691
- package/dist/min-Q4QXsXWR.js +0 -80
- package/dist/mindmap-definition-LNHGMQRG-CebaDS3t.js +0 -3234
- package/dist/mllike-BSnXJBGA.js +0 -272
- package/dist/pug-CwAQJzGR.js +0 -248
- package/dist/python-BkR3uSy8.js +0 -313
- package/dist/rpm-IznJm2Xc.js +0 -57
- package/dist/sequenceDiagram-WFGC7UMF-C8jImRwI.js +0 -2284
- package/dist/ttcn-cfg-Bac_acMi.js +0 -88
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { y as me } from "./main-BD2KGFpU.js";
|
|
2
2
|
const d = (s) => s.flatMap(Oe), Oe = (s) => G(fe(s)).map(Le), Le = (s) => s.replace(/ +/g, " ").trim(), fe = (s) => ({
|
|
3
3
|
type: "mandatory_block",
|
|
4
4
|
items: q(s, 0)[0]
|
|
@@ -1468,7 +1468,7 @@ class Ze {
|
|
|
1468
1468
|
return {
|
|
1469
1469
|
type: n.CUSTOM_PARAMETER,
|
|
1470
1470
|
regex: M(i.regex),
|
|
1471
|
-
key: (E = i.key) !== null && E !== void 0 ? E : (l) => l
|
|
1471
|
+
key: (E = i.key) !== null && E !== void 0 ? E : ((l) => l)
|
|
1472
1472
|
};
|
|
1473
1473
|
})
|
|
1474
1474
|
]);
|
|
@@ -1523,7 +1523,7 @@ class rs {
|
|
|
1523
1523
|
}
|
|
1524
1524
|
var F = { exports: {} }, as = F.exports, ie;
|
|
1525
1525
|
function is() {
|
|
1526
|
-
return ie || (ie = 1, function(s) {
|
|
1526
|
+
return ie || (ie = 1, (function(s) {
|
|
1527
1527
|
(function(e, t) {
|
|
1528
1528
|
s.exports ? s.exports = t() : e.nearley = t();
|
|
1529
1529
|
})(as, function() {
|
|
@@ -1795,7 +1795,7 @@ function is() {
|
|
|
1795
1795
|
Rule: e
|
|
1796
1796
|
};
|
|
1797
1797
|
});
|
|
1798
|
-
}(F)), F.exports;
|
|
1798
|
+
})(F)), F.exports;
|
|
1799
1799
|
}
|
|
1800
1800
|
var ns = is();
|
|
1801
1801
|
const Es = /* @__PURE__ */ me(ns);
|
|
@@ -2143,12 +2143,12 @@ const A = new Ie((s) => []), b = ([[s]]) => s, m = (s) => ({
|
|
|
2143
2143
|
// A better way would be to allow <property_access> on the left side of array_subscript,
|
|
2144
2144
|
// but we currently can't do that because of another hack that requires
|
|
2145
2145
|
// %ARRAY_IDENTIFIER on the left side of <array_subscript>.
|
|
2146
|
-
([s, e, t, r, [o]]) => ({
|
|
2146
|
+
(([s, e, t, r, [o]]) => ({
|
|
2147
2147
|
type: _.property_access,
|
|
2148
2148
|
object: O(s, { trailing: e }),
|
|
2149
2149
|
operator: t.text,
|
|
2150
2150
|
property: O(o, { leading: r })
|
|
2151
|
-
})
|
|
2151
|
+
}))
|
|
2152
2152
|
)
|
|
2153
2153
|
},
|
|
2154
2154
|
{
|
|
@@ -179,14 +179,14 @@ function Y(n2, e, i, r, a, o) {
|
|
|
179
179
|
}
|
|
180
180
|
return u;
|
|
181
181
|
}
|
|
182
|
-
const $ = function n(e) {
|
|
182
|
+
const $ = (function n(e) {
|
|
183
183
|
function i(r, a, o, u, c) {
|
|
184
184
|
Y(e, r, a, o, u, c);
|
|
185
185
|
}
|
|
186
186
|
return i.ratio = function(r) {
|
|
187
187
|
return n((r = +r) > 1 ? r : 1);
|
|
188
188
|
}, i;
|
|
189
|
-
}(X);
|
|
189
|
+
})(X);
|
|
190
190
|
function en() {
|
|
191
191
|
var n2 = $, e = false, i = 1, r = 1, a = [0], o = _, u = _, c = _, s = _, v = _;
|
|
192
192
|
function h(t) {
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { b as g, c as P, h as q, p as l, d as c, e as i, f as R, t as r, g as p } from "./main-BD2KGFpU.js";
|
|
2
|
+
const b = 1, $ = 33, m = 34, v = 35, x = 36, d = /* @__PURE__ */ new p((O) => {
|
|
3
|
+
let e = O.pos;
|
|
4
|
+
for (; ; ) {
|
|
5
|
+
if (O.next == 10) {
|
|
6
|
+
O.advance();
|
|
7
|
+
break;
|
|
8
|
+
} else if (O.next == 123 && O.peek(1) == 123 || O.next < 0)
|
|
9
|
+
break;
|
|
10
|
+
O.advance();
|
|
11
|
+
}
|
|
12
|
+
O.pos > e && O.acceptToken(b);
|
|
13
|
+
});
|
|
14
|
+
function n(O, e, a) {
|
|
15
|
+
return new p((t) => {
|
|
16
|
+
let u = t.pos;
|
|
17
|
+
for (; t.next != O && t.next >= 0 && (a || t.next != 38 && (t.next != 123 || t.peek(1) != 123)); )
|
|
18
|
+
t.advance();
|
|
19
|
+
t.pos > u && t.acceptToken(e);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
const W = /* @__PURE__ */ n(39, $, false), C = /* @__PURE__ */ n(34, m, false), f = /* @__PURE__ */ n(39, v, true), T = /* @__PURE__ */ n(34, x, true), A = /* @__PURE__ */ c.deserialize({
|
|
23
|
+
version: 14,
|
|
24
|
+
states: "(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<<GrOOQO<<Gr<<GrOOQO1G/[1G/[OOOS-E6x-E6xOOQO1G.}1G.}OOOQ-E6y-E6yOOQOAN=^AN=^",
|
|
25
|
+
stateData: "&d~OvOS~OPROSQOVROWRO~OZTO[XO^VOaUOhWO~OR]OU^O~O[`O^aO~O[bO~O[cO~O[dO~ObeO~ObfO~ObgO~ORhO~O]kOwiO~O[lO~O_mO~OynOzoO~OysOztO~O[uO~O]wOwiO~O_yOwiO~OtzO~Os|O~OSQOV!OOW!OOr!OOy!QO~OSQOV!ROW!ROq!ROz!QO~O_!TOwiO~O]!UO~Oy!VO~Oz!VO~OSQOV!OOW!OOr!OOy!XO~OSQOV!ROW!ROq!ROz!XO~O]!ZO~O",
|
|
26
|
+
goto: "#dyPPPPPzPPPP!WPPPPP!WPP!Z!^!a!d!dP!g!j!m!p!v#Q#WPPPPPPPP#^SROSS!Os!PT!Rt!SRYPRqeR{nR}oRZPRqfR[PRqgQSOR_SQj`SvjxRxlQ!PsR!W!PQ!StR!Y!SQpeRrf",
|
|
27
|
+
nodeNames: "\u26A0 Text Content }} {{ Interpolation InterpolationContent Entity InvalidEntity Attribute BoundAttributeName [ Identifier ] ( ) ReferenceName # Is ExpressionAttributeValue AttributeInterpolation AttributeInterpolation EventName DirectiveName * StatementAttributeValue AttributeName AttributeValue",
|
|
28
|
+
maxTerm: 42,
|
|
29
|
+
nodeProps: [
|
|
30
|
+
["openedBy", 3, "{{", 15, "("],
|
|
31
|
+
["closedBy", 4, "}}", 14, ")"],
|
|
32
|
+
["isolate", -4, 5, 19, 25, 27, ""]
|
|
33
|
+
],
|
|
34
|
+
skippedNodes: [0],
|
|
35
|
+
repeatNodeCount: 4,
|
|
36
|
+
tokenData: "0r~RyOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mqr#rrs%jst&Qtv#rvw&hwx)zxy*byz*xz{+`{}#r}!O+v!O!P-]!P!Q#r!Q![+v![!]+v!]!_#r!_!`-s!`!c#r!c!}+v!}#O.Z#O#P#r#P#Q.q#Q#R#r#R#S+v#S#T#r#T#o+v#o#p/X#p#q#r#q#r0Z#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vQ#wTUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rQ$ZSO#q#r#r;'S#r;'S;=`$g<%lO#rQ$jP;=`<%l#rR$t[UQvPOX#rXY$mYZ$mZ]#r]^$m^p#rpq$mq#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR%qTyPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&XTaPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR&oXUQWPOp'[pq#rq!]'[!]!^#r!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R'aXUQOp'[pq#rq!]'[!]!^'|!^#q'[#q#r(d#r;'S'[;'S;=`)t<%lO'[R(TTVPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR(gXOp'[pq#rq!]'[!]!^'|!^#q'[#q#r)S#r;'S'[;'S;=`)t<%lO'[P)VUOp)Sq!])S!]!^)i!^;'S)S;'S;=`)n<%lO)SP)nOVPP)qP;=`<%l)SR)wP;=`<%l'[R*RTzPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR*iT^PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+PT_PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+gThPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR+}b[PUQO}#r}!O+v!O!Q#r!Q![+v![!]+v!]!c#r!c!}+v!}#R#r#R#S+v#S#T#r#T#o+v#o#q#r#q#r$W#r%W#r%W;'S+v;'S;:j-V;:j;=`$g<%lO+vR-YP;=`<%l+vR-dTwPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR-zTUQbPO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.bTZPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.xT]PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/^VUQO#o#r#o#p/s#p#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/zTSPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#r~0^TO#q#r#q#r0m#r;'S#r;'S;=`$g<%lO#r~0rOR~",
|
|
37
|
+
tokenizers: [d, W, C, f, T, 0, 1],
|
|
38
|
+
topRules: { Content: [0, 2], Attribute: [1, 9] },
|
|
39
|
+
tokenPrec: 0
|
|
40
|
+
}), V = /* @__PURE__ */ i.parser.configure({
|
|
41
|
+
top: "SingleExpression"
|
|
42
|
+
}), Q = /* @__PURE__ */ A.configure({
|
|
43
|
+
props: [
|
|
44
|
+
/* @__PURE__ */ R({
|
|
45
|
+
Text: r.content,
|
|
46
|
+
Is: r.definitionOperator,
|
|
47
|
+
AttributeName: r.attributeName,
|
|
48
|
+
"AttributeValue ExpressionAttributeValue StatementAttributeValue": r.attributeValue,
|
|
49
|
+
Entity: r.character,
|
|
50
|
+
InvalidEntity: r.invalid,
|
|
51
|
+
"BoundAttributeName/Identifier": r.attributeName,
|
|
52
|
+
"EventName/Identifier": /* @__PURE__ */ r.special(r.attributeName),
|
|
53
|
+
"ReferenceName/Identifier": r.variableName,
|
|
54
|
+
"DirectiveName/Identifier": r.keyword,
|
|
55
|
+
"{{ }}": r.brace,
|
|
56
|
+
"( )": r.paren,
|
|
57
|
+
"[ ]": r.bracket,
|
|
58
|
+
"# '*'": r.punctuation
|
|
59
|
+
})
|
|
60
|
+
]
|
|
61
|
+
}), o = { parser: V }, w = { parser: i.parser }, U = /* @__PURE__ */ Q.configure({
|
|
62
|
+
wrap: /* @__PURE__ */ l((O, e) => O.name == "InterpolationContent" ? o : null)
|
|
63
|
+
}), y = /* @__PURE__ */ Q.configure({
|
|
64
|
+
wrap: /* @__PURE__ */ l((O, e) => {
|
|
65
|
+
var a;
|
|
66
|
+
return O.name == "InterpolationContent" ? o : O.name != "AttributeInterpolation" ? null : ((a = O.node.parent) === null || a === void 0 ? void 0 : a.name) == "StatementAttributeValue" ? w : o;
|
|
67
|
+
}),
|
|
68
|
+
top: "Attribute"
|
|
69
|
+
}), E = { parser: U }, N = { parser: y }, s = /* @__PURE__ */ q({ selfClosingTags: true });
|
|
70
|
+
function S(O) {
|
|
71
|
+
return O.configure({ wrap: l(z) }, "angular");
|
|
72
|
+
}
|
|
73
|
+
const k = /* @__PURE__ */ S(s.language);
|
|
74
|
+
function z(O, e) {
|
|
75
|
+
switch (O.name) {
|
|
76
|
+
case "Attribute":
|
|
77
|
+
return /^[*#(\[]|\{\{/.test(e.read(O.from, O.to)) ? N : null;
|
|
78
|
+
case "Text":
|
|
79
|
+
return E;
|
|
80
|
+
}
|
|
81
|
+
return null;
|
|
82
|
+
}
|
|
83
|
+
function G(O = {}) {
|
|
84
|
+
let e = s;
|
|
85
|
+
if (O.base) {
|
|
86
|
+
if (O.base.language.name != "html" || !(O.base.language instanceof g))
|
|
87
|
+
throw new RangeError("The base option must be the result of calling html(...)");
|
|
88
|
+
e = O.base;
|
|
89
|
+
}
|
|
90
|
+
return new P(e.language == s.language ? k : S(e.language), [e.support, e.language.data.of({
|
|
91
|
+
closeBrackets: { brackets: ["[", "{", '"'] },
|
|
92
|
+
indentOnInput: /^\s*[\}\]]$/
|
|
93
|
+
})]);
|
|
94
|
+
}
|
|
95
|
+
export {
|
|
96
|
+
G as angular,
|
|
97
|
+
k as angularLanguage
|
|
98
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e, l as s, K as o, e as i, L as g } from "./mermaid-
|
|
2
|
-
import { p } from "./treemap-75Q7IDZK-
|
|
1
|
+
import { _ as e, l as s, K as o, e as i, L as g } from "./mermaid-HVCtvbyx.js";
|
|
2
|
+
import { p } from "./treemap-75Q7IDZK-zeJG07dk.js";
|
|
3
3
|
var v = {
|
|
4
4
|
parse: /* @__PURE__ */ e(async (r) => {
|
|
5
5
|
const a = await p("info", r);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as gt, g as lt, f as mt, d as xt } from "./chunk-
|
|
2
|
-
import { g as kt } from "./chunk-
|
|
3
|
-
import { _ as n, g as _t, s as vt, a as bt, b as wt, t as Tt, q as St, c as R, d as
|
|
4
|
-
import { d as et } from "./arc-
|
|
5
|
-
var U = function() {
|
|
1
|
+
import { a as gt, g as lt, f as mt, d as xt } from "./chunk-TZMSLE5B-Cm8Iy9bO.js";
|
|
2
|
+
import { g as kt } from "./chunk-FMBD7UC4-4PZXFZE8.js";
|
|
3
|
+
import { _ as n, g as _t, s as vt, a as bt, b as wt, t as Tt, q as St, c as R, d as X, e as $t, z as Mt } from "./mermaid-HVCtvbyx.js";
|
|
4
|
+
import { d as et } from "./arc-BOhn-m2C.js";
|
|
5
|
+
var U = (function() {
|
|
6
6
|
var t = /* @__PURE__ */ n(function(h, i, a, l) {
|
|
7
7
|
for (a = a || {}, l = h.length; l--; a[h[l]] = i) ;
|
|
8
8
|
return a;
|
|
@@ -80,13 +80,13 @@ var U = function() {
|
|
|
80
80
|
n(D, "lex");
|
|
81
81
|
for (var v, A, T, q, F = {}, N, M, tt, z; ; ) {
|
|
82
82
|
if (A = l[l.length - 1], this.defaultActions[A] ? T = this.defaultActions[A] : ((v === null || typeof v > "u") && (v = D()), T = b[A] && b[A][v]), typeof T > "u" || !T.length || !T[0]) {
|
|
83
|
-
var
|
|
83
|
+
var H = "";
|
|
84
84
|
z = [];
|
|
85
85
|
for (N in b[A])
|
|
86
86
|
this.terminals_[N] && N > dt && z.push("'" + this.terminals_[N] + "'");
|
|
87
|
-
_.showPosition ?
|
|
87
|
+
_.showPosition ? H = "Parse error on line " + (C + 1) + `:
|
|
88
88
|
` + _.showPosition() + `
|
|
89
|
-
Expecting ` + z.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" :
|
|
89
|
+
Expecting ` + z.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : H = "Parse error on line " + (C + 1) + ": Unexpected " + (v == Q ? "end of input" : "'" + (this.terminals_[v] || v) + "'"), this.parseError(H, {
|
|
90
90
|
text: _.match,
|
|
91
91
|
token: this.terminals_[v] || v,
|
|
92
92
|
line: _.yylineno,
|
|
@@ -127,7 +127,7 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : X = "
|
|
|
127
127
|
}
|
|
128
128
|
return true;
|
|
129
129
|
}, "parse")
|
|
130
|
-
}, m = /* @__PURE__ */ function() {
|
|
130
|
+
}, m = /* @__PURE__ */ (function() {
|
|
131
131
|
var h = {
|
|
132
132
|
EOF: 1,
|
|
133
133
|
parseError: /* @__PURE__ */ n(function(a, l) {
|
|
@@ -347,13 +347,13 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : X = "
|
|
|
347
347
|
conditions: { acc_descr_multiline: { rules: [12, 13], inclusive: false }, acc_descr: { rules: [10], inclusive: false }, acc_title: { rules: [8], inclusive: false }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 19], inclusive: true } }
|
|
348
348
|
};
|
|
349
349
|
return h;
|
|
350
|
-
}();
|
|
350
|
+
})();
|
|
351
351
|
g.lexer = m;
|
|
352
352
|
function x() {
|
|
353
353
|
this.yy = {};
|
|
354
354
|
}
|
|
355
355
|
return n(x, "Parser"), x.prototype = g, g.Parser = x, new x();
|
|
356
|
-
}();
|
|
356
|
+
})();
|
|
357
357
|
U.parser = U;
|
|
358
358
|
var Et = U, V = "", Z = [], L = [], B = [], Ct = /* @__PURE__ */ n(function() {
|
|
359
359
|
Z.length = 0, L.length = 0, V = "", B.length = 0, Mt();
|
|
@@ -599,9 +599,7 @@ var Et = U, V = "", Z = [], L = [], B = [], Ct = /* @__PURE__ */ n(function() {
|
|
|
599
599
|
);
|
|
600
600
|
}, "drawSection"), nt = -1, Ot = /* @__PURE__ */ n(function(t, e, s) {
|
|
601
601
|
const c = e.x + s.width / 2, r = t.append("g");
|
|
602
|
-
nt
|
|
603
|
-
const f = 300 + 5 * 30;
|
|
604
|
-
r.append("line").attr("id", "task" + nt).attr("x1", c).attr("y1", e.y).attr("x2", c).attr("y2", f).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Nt(r, {
|
|
602
|
+
nt++, r.append("line").attr("id", "task" + nt).attr("x1", c).attr("y1", e.y).attr("x2", c).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Nt(r, {
|
|
605
603
|
cx: c,
|
|
606
604
|
cy: 300 + (5 - e.score) * 30,
|
|
607
605
|
score: e.score
|
|
@@ -633,7 +631,7 @@ var Et = U, V = "", Z = [], L = [], B = [], Ct = /* @__PURE__ */ n(function() {
|
|
|
633
631
|
);
|
|
634
632
|
}, "drawTask"), Yt = /* @__PURE__ */ n(function(t, e) {
|
|
635
633
|
gt(t, e);
|
|
636
|
-
}, "drawBackgroundRect"), ht = /* @__PURE__ */ function() {
|
|
634
|
+
}, "drawBackgroundRect"), ht = /* @__PURE__ */ (function() {
|
|
637
635
|
function t(r, f, u, y, g, m, x, h) {
|
|
638
636
|
const i = f.append("text").attr("x", u + g / 2).attr("y", y + m / 2 + 5).style("font-color", h).style("text-anchor", "middle").text(r);
|
|
639
637
|
c(i, x);
|
|
@@ -659,7 +657,7 @@ var Et = U, V = "", Z = [], L = [], B = [], Ct = /* @__PURE__ */ n(function() {
|
|
|
659
657
|
return n(c, "_setTextAttrs"), function(r) {
|
|
660
658
|
return r.textPlacement === "fo" ? s : r.textPlacement === "old" ? t : e;
|
|
661
659
|
};
|
|
662
|
-
}(), qt = /* @__PURE__ */ n(function(t) {
|
|
660
|
+
})(), qt = /* @__PURE__ */ n(function(t) {
|
|
663
661
|
t.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
|
|
664
662
|
}, "initGraphics"), j = {
|
|
665
663
|
drawRect: J,
|
|
@@ -670,7 +668,7 @@ var Et = U, V = "", Z = [], L = [], B = [], Ct = /* @__PURE__ */ n(function() {
|
|
|
670
668
|
drawTask: Ot,
|
|
671
669
|
drawBackgroundRect: Yt,
|
|
672
670
|
initGraphics: qt
|
|
673
|
-
},
|
|
671
|
+
}, Ht = /* @__PURE__ */ n(function(t) {
|
|
674
672
|
Object.keys(t).forEach(function(s) {
|
|
675
673
|
$[s] = t[s];
|
|
676
674
|
});
|
|
@@ -724,11 +722,11 @@ function ut(t) {
|
|
|
724
722
|
});
|
|
725
723
|
}
|
|
726
724
|
n(ut, "drawActorLegend");
|
|
727
|
-
var $ = R().journey, P = 0,
|
|
725
|
+
var $ = R().journey, P = 0, Xt = /* @__PURE__ */ n(function(t, e, s, c) {
|
|
728
726
|
const r = R(), f = r.journey.titleColor, u = r.journey.titleFontSize, y = r.journey.titleFontFamily, g = r.securityLevel;
|
|
729
727
|
let m;
|
|
730
|
-
g === "sandbox" && (m =
|
|
731
|
-
const x = g === "sandbox" ?
|
|
728
|
+
g === "sandbox" && (m = X("#i" + e));
|
|
729
|
+
const x = g === "sandbox" ? X(m.nodes()[0].contentDocument.body) : X("body");
|
|
732
730
|
S.init();
|
|
733
731
|
const h = x.select("#" + e);
|
|
734
732
|
j.initGraphics(h);
|
|
@@ -741,7 +739,7 @@ var $ = R().journey, P = 0, Gt = /* @__PURE__ */ n(function(t, e, s, c) {
|
|
|
741
739
|
color: $.actorColours[d % $.actorColours.length],
|
|
742
740
|
position: d
|
|
743
741
|
}, d++;
|
|
744
|
-
}), ut(h), P = $.leftMargin + W, S.insert(0, 0, P, Object.keys(E).length * 50),
|
|
742
|
+
}), ut(h), P = $.leftMargin + W, S.insert(0, 0, P, Object.keys(E).length * 50), Gt(h, i, 0);
|
|
745
743
|
const p = S.getBounds();
|
|
746
744
|
a && h.append("text").text(a).attr("x", P).attr("font-size", u).attr("font-weight", "bold").attr("y", 25).attr("fill", f).attr("font-family", y);
|
|
747
745
|
const o = p.stopy - p.starty + 2 * $.diagramMarginY, b = P + p.stopx + 2 * $.diagramMarginX;
|
|
@@ -793,14 +791,14 @@ var $ = R().journey, P = 0, Gt = /* @__PURE__ */ n(function(t, e, s, c) {
|
|
|
793
791
|
getBounds: /* @__PURE__ */ n(function() {
|
|
794
792
|
return this.data;
|
|
795
793
|
}, "getBounds")
|
|
796
|
-
},
|
|
794
|
+
}, G = $.sectionFills, st = $.sectionColours, Gt = /* @__PURE__ */ n(function(t, e, s) {
|
|
797
795
|
const c = R().journey;
|
|
798
796
|
let r = "";
|
|
799
797
|
const f = c.height * 2 + c.diagramMarginY, u = s + f;
|
|
800
798
|
let y = 0, g = "#CCC", m = "black", x = 0;
|
|
801
799
|
for (const [h, i] of e.entries()) {
|
|
802
800
|
if (r !== i.section) {
|
|
803
|
-
g =
|
|
801
|
+
g = G[y % G.length], x = y % G.length, m = st[y % st.length];
|
|
804
802
|
let l = 0;
|
|
805
803
|
const d = i.section;
|
|
806
804
|
for (let o = h; o < e.length && e[o].section == d; o++)
|
|
@@ -817,11 +815,11 @@ var $ = R().journey, P = 0, Gt = /* @__PURE__ */ n(function(t, e, s, c) {
|
|
|
817
815
|
j.drawSection(t, p, c), r = i.section, y++;
|
|
818
816
|
}
|
|
819
817
|
const a = i.people.reduce((l, d) => (E[d] && (l[d] = E[d]), l), {});
|
|
820
|
-
i.x = h * c.taskMargin + h * c.width + P, i.y = u, i.width = c.diagramMarginX, i.height = c.diagramMarginY, i.colour = m, i.fill = g, i.num = x, i.actors = a, j.drawTask(t, i, c), S.insert(i.x, i.y, i.x + i.width + c.taskMargin,
|
|
818
|
+
i.x = h * c.taskMargin + h * c.width + P, i.y = u, i.width = c.diagramMarginX, i.height = c.diagramMarginY, i.colour = m, i.fill = g, i.num = x, i.actors = a, j.drawTask(t, i, c), S.insert(i.x, i.y, i.x + i.width + c.taskMargin, 450);
|
|
821
819
|
}
|
|
822
820
|
}, "drawTasks"), at = {
|
|
823
|
-
setConf:
|
|
824
|
-
draw:
|
|
821
|
+
setConf: Ht,
|
|
822
|
+
draw: Xt
|
|
825
823
|
}, Qt = {
|
|
826
824
|
parser: Et,
|
|
827
825
|
db: rt,
|
package/dist/{kanban-definition-KOZQBZVT-BYfBCo4W.js → kanban-definition-6OIFK2YF-B9HeMAuP.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
var $ = function() {
|
|
1
|
+
import { _ as o, l as te, c as U, K as fe, a0 as ye, a1 as be, a2 as me, V as _e, H as K, i as F, v as Ee, J as ke, W as Se, X as ce, Y as le } from "./mermaid-HVCtvbyx.js";
|
|
2
|
+
import { g as Ne } from "./chunk-FMBD7UC4-4PZXFZE8.js";
|
|
3
|
+
var $ = (function() {
|
|
4
4
|
var e = /* @__PURE__ */ o(function(O, i, n, r) {
|
|
5
5
|
for (n = n || {}, r = O.length; r--; n[O[r]] = i) ;
|
|
6
6
|
return n;
|
|
@@ -148,7 +148,7 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
148
148
|
}
|
|
149
149
|
return true;
|
|
150
150
|
}, "parse")
|
|
151
|
-
}, Y = /* @__PURE__ */ function() {
|
|
151
|
+
}, Y = /* @__PURE__ */ (function() {
|
|
152
152
|
var O = {
|
|
153
153
|
EOF: 1,
|
|
154
154
|
parseError: /* @__PURE__ */ o(function(n, r) {
|
|
@@ -422,13 +422,13 @@ Expecting ` + X.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
422
422
|
conditions: { shapeDataEndBracket: { rules: [], inclusive: false }, shapeDataStr: { rules: [2, 3], inclusive: false }, shapeData: { rules: [1, 4, 5], inclusive: false }, CLASS: { rules: [9, 10], inclusive: false }, ICON: { rules: [14, 15], inclusive: false }, NSTR2: { rules: [28, 29], inclusive: false }, NSTR: { rules: [31, 32], inclusive: false }, NODE: { rules: [27, 30, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42], inclusive: false }, INITIAL: { rules: [0, 6, 7, 8, 11, 12, 13, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26], inclusive: true } }
|
|
423
423
|
};
|
|
424
424
|
return O;
|
|
425
|
-
}();
|
|
425
|
+
})();
|
|
426
426
|
T.lexer = Y;
|
|
427
427
|
function B() {
|
|
428
428
|
this.yy = {};
|
|
429
429
|
}
|
|
430
430
|
return o(B, "Parser"), B.prototype = T, T.Parser = B, new B();
|
|
431
|
-
}();
|
|
431
|
+
})();
|
|
432
432
|
$.parser = $;
|
|
433
433
|
var xe = $, v = [], ne = [], ee = 0, ie = {}, ve = /* @__PURE__ */ o(() => {
|
|
434
434
|
v = [], ne = [], ee = 0, ie = {};
|
|
@@ -502,7 +502,7 @@ var xe = $, v = [], ne = [], ee = 0, ie = {}, ve = /* @__PURE__ */ o(() => {
|
|
|
502
502
|
` : I = `{
|
|
503
503
|
` + d + `
|
|
504
504
|
}`;
|
|
505
|
-
const g =
|
|
505
|
+
const g = Ee(I, { schema: ke });
|
|
506
506
|
if (g.shape && (g.shape !== g.shape.toLowerCase() || g.shape.includes("_")))
|
|
507
507
|
throw new Error(`No such shape: ${g.shape}. Shape names should be lowercase.`);
|
|
508
508
|
(g == null ? void 0 : g.shape) && g.shape === "kanbanItem" && (l.shape = g == null ? void 0 : g.shape), (g == null ? void 0 : g.label) && (l.label = g == null ? void 0 : g.label), (g == null ? void 0 : g.icon) && (l.icon = g == null ? void 0 : g.icon.toString()), (g == null ? void 0 : g.assigned) && (l.assigned = g == null ? void 0 : g.assigned.toString()), (g == null ? void 0 : g.ticket) && (l.ticket = g == null ? void 0 : g.ticket.toString()), (g == null ? void 0 : g.priority) && (l.priority = g == null ? void 0 : g.priority);
|
|
@@ -580,7 +580,7 @@ var xe = $, v = [], ne = [], ee = 0, ie = {}, ve = /* @__PURE__ */ o(() => {
|
|
|
580
580
|
` + e);
|
|
581
581
|
const E = s.db.getData(), b = U();
|
|
582
582
|
b.htmlLabels = false;
|
|
583
|
-
const l =
|
|
583
|
+
const l = fe(u), D = l.append("g");
|
|
584
584
|
D.attr("class", "sections");
|
|
585
585
|
const I = l.append("g");
|
|
586
586
|
I.attr("class", "items");
|
|
@@ -594,7 +594,7 @@ var xe = $, v = [], ne = [], ee = 0, ie = {}, ve = /* @__PURE__ */ o(() => {
|
|
|
594
594
|
for (const m of g) {
|
|
595
595
|
const A = ((_a = b == null ? void 0 : b.kanban) == null ? void 0 : _a.sectionWidth) || 200;
|
|
596
596
|
w = w + 1, m.x = A * w + (w - 1) * _ / 2, m.width = A, m.y = 0, m.height = A * 3, m.rx = 5, m.ry = 5, m.cssClasses = m.cssClasses + " section-" + w;
|
|
597
|
-
const L = await
|
|
597
|
+
const L = await ye(D, m);
|
|
598
598
|
N = Math.max(N, (_b = L == null ? void 0 : L.labelBBox) == null ? void 0 : _b.height), G.push(L);
|
|
599
599
|
}
|
|
600
600
|
let V = 0;
|
|
@@ -608,13 +608,13 @@ var xe = $, v = [], ne = [], ee = 0, ie = {}, ve = /* @__PURE__ */ o(() => {
|
|
|
608
608
|
if (i.isGroup)
|
|
609
609
|
throw new Error("Groups within groups are not allowed in Kanban diagrams");
|
|
610
610
|
i.x = m.x, i.width = L - 1.5 * _;
|
|
611
|
-
const r = (await
|
|
612
|
-
i.y = T + r.height / 2, await
|
|
611
|
+
const r = (await be(I, i, { config: b })).node().getBBox();
|
|
612
|
+
i.y = T + r.height / 2, await me(i), T = i.y + r.height / 2 + _ / 2;
|
|
613
613
|
}
|
|
614
614
|
const B = A.cluster.select("rect"), O = Math.max(T - H + 3 * _, 50) + (N - 25);
|
|
615
615
|
B.attr("height", O);
|
|
616
616
|
}
|
|
617
|
-
|
|
617
|
+
_e(
|
|
618
618
|
void 0,
|
|
619
619
|
l,
|
|
620
620
|
((_d = b.mindmap) == null ? void 0 : _d.padding) ?? K.kanban.padding,
|
|
@@ -625,7 +625,7 @@ var xe = $, v = [], ne = [], ee = 0, ie = {}, ve = /* @__PURE__ */ o(() => {
|
|
|
625
625
|
}, Fe = /* @__PURE__ */ o((e) => {
|
|
626
626
|
let u = "";
|
|
627
627
|
for (let s = 0; s < e.THEME_COLOR_LIMIT; s++)
|
|
628
|
-
e["lineColor" + s] = e["lineColor" + s] || e["cScaleInv" + s],
|
|
628
|
+
e["lineColor" + s] = e["lineColor" + s] || e["cScaleInv" + s], Se(e["lineColor" + s]) ? e["lineColor" + s] = ce(e["lineColor" + s], 20) : e["lineColor" + s] = le(e["lineColor" + s], 20);
|
|
629
629
|
const p = /* @__PURE__ */ o((s, d) => e.darkMode ? le(s, d) : ce(s, d), "adjuster");
|
|
630
630
|
for (let s = 0; s < e.THEME_COLOR_LIMIT; s++) {
|
|
631
631
|
const d = "" + (17 - 3 * s);
|
|
@@ -709,7 +709,7 @@ var xe = $, v = [], ne = [], ee = 0, ie = {}, ve = /* @__PURE__ */ o(() => {
|
|
|
709
709
|
dominant-baseline: middle;
|
|
710
710
|
text-align: center;
|
|
711
711
|
}
|
|
712
|
-
${
|
|
712
|
+
${Ne()}
|
|
713
713
|
`, "getStyles"), He = Ge, We = {
|
|
714
714
|
db: Ve,
|
|
715
715
|
renderer: je,
|