@industry-theme/backlogmd-kanban-panel 1.0.28 → 1.0.30
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/panels/KanbanPanel.stories.d.ts.map +1 -1
- package/dist/panels/kanban/components/TaskCard.d.ts +1 -2
- package/dist/panels/kanban/components/TaskCard.d.ts.map +1 -1
- package/dist/panels/kanban/mocks/mockData.d.ts +18 -6
- package/dist/panels/kanban/mocks/mockData.d.ts.map +1 -1
- package/dist/panels.bundle.js +40 -162
- package/dist/panels.bundle.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KanbanPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/KanbanPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"KanbanPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/KanbanPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAe5D,QAAA,MAAM,IAAI;;;;;;;;;;;;CAkB0B,CAAC;AAErC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAqKnC,eAAO,MAAM,UAAU,EAAE,KA0BxB,CAAC;AAKF,eAAO,MAAM,YAAY,EAAE,KAc1B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAc5B,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Task } from '@backlog-md/core';
|
|
3
|
-
interface TaskCardProps {
|
|
3
|
+
export interface TaskCardProps {
|
|
4
4
|
task: Task;
|
|
5
5
|
onClick?: (task: Task) => void;
|
|
6
6
|
isDragOverlay?: boolean;
|
|
7
7
|
isSelected?: boolean;
|
|
8
8
|
}
|
|
9
9
|
export declare const TaskCard: React.FC<TaskCardProps>;
|
|
10
|
-
export {};
|
|
11
10
|
//# sourceMappingURL=TaskCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskCard.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/components/TaskCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,
|
|
1
|
+
{"version":3,"file":"TaskCard.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/components/TaskCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAyL5C,CAAC"}
|
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mock Data Generator for Kanban Panel Testing
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* for testing
|
|
4
|
+
* Provides raw markdown file contents from the Backlog.md CLI project.
|
|
5
|
+
* These are passed to Core for parsing, testing the actual extraction logic.
|
|
6
6
|
*/
|
|
7
7
|
import type { Task } from '@backlog-md/core';
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* Raw markdown file contents from Backlog.md project
|
|
10
|
+
* The Core instance will parse these to extract description, acceptance criteria, etc.
|
|
11
|
+
*/
|
|
12
|
+
export declare const rawTaskMarkdownFiles: Record<string, string>;
|
|
13
|
+
/**
|
|
14
|
+
* Get file paths for all mock task files
|
|
15
|
+
*/
|
|
16
|
+
export declare function getMockTaskFilePaths(): string[];
|
|
17
|
+
/**
|
|
18
|
+
* Get raw markdown content for a file path
|
|
19
|
+
*/
|
|
20
|
+
export declare function getMockFileContent(filePath: string): string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Legacy function - returns empty array since we now use raw markdown
|
|
23
|
+
* @deprecated Use rawTaskMarkdownFiles directly
|
|
11
24
|
*/
|
|
12
25
|
export declare function generateMockTasks(): Task[];
|
|
13
26
|
/**
|
|
@@ -30,7 +43,7 @@ export declare function getMockPanelConfig(): {
|
|
|
30
43
|
enableEdit: boolean;
|
|
31
44
|
enableCreate: boolean;
|
|
32
45
|
};
|
|
33
|
-
/** Mock milestone data structure
|
|
46
|
+
/** Mock milestone data structure */
|
|
34
47
|
export interface MockMilestone {
|
|
35
48
|
id: string;
|
|
36
49
|
title: string;
|
|
@@ -41,7 +54,6 @@ export interface MockMilestone {
|
|
|
41
54
|
}
|
|
42
55
|
/**
|
|
43
56
|
* Generate mock milestones for testing the milestone view
|
|
44
|
-
* Note: Milestone files must be named m-{number}.md (e.g., m-0.md, m-1.md)
|
|
45
57
|
*/
|
|
46
58
|
export declare function generateMockMilestones(): MockMilestone[];
|
|
47
59
|
//# sourceMappingURL=mockData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mockData.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/mocks/mockData.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"mockData.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/mocks/mockData.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAgavD,CAAC;AAEF;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,EAAE,CAE/C;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAEvE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,EAAE,CAG1C;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,EAAE,CAE7C;AAED;;GAEG;AACH,wBAAgB,kBAAkB;;;;;;;;;;;;EAcjC;AAED,oCAAoC;AACpC,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,aAAa,EAAE,CAmCxD"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -4225,15 +4225,24 @@ function parseAcceptanceCriteria(content2) {
|
|
|
4225
4225
|
return criteria;
|
|
4226
4226
|
}
|
|
4227
4227
|
function extractDescription(content2, title) {
|
|
4228
|
+
const descriptionSection = extractSection(content2, "Description");
|
|
4229
|
+
if (descriptionSection) {
|
|
4230
|
+
return stripHtmlComments(descriptionSection).trim();
|
|
4231
|
+
}
|
|
4228
4232
|
let body = content2;
|
|
4229
4233
|
if (title) {
|
|
4230
|
-
body = body.replace(new RegExp(`^#\\s+${escapeRegex(title)}\\s
|
|
4234
|
+
body = body.replace(new RegExp(`^#\\s+${escapeRegex(title)}\\s*\\n?`, "m"), "");
|
|
4235
|
+
}
|
|
4236
|
+
const firstSectionMatch = body.match(/^##\s+/m);
|
|
4237
|
+
if (firstSectionMatch && firstSectionMatch.index !== void 0) {
|
|
4238
|
+
body = body.slice(0, firstSectionMatch.index);
|
|
4231
4239
|
}
|
|
4232
|
-
body = body
|
|
4233
|
-
body = body.replace(/^##\s+Implementation Plan[\s\S]*?(?=^##|$)/m, "");
|
|
4234
|
-
body = body.replace(/^##\s+Implementation Notes[\s\S]*?(?=^##|$)/m, "");
|
|
4240
|
+
body = stripHtmlComments(body);
|
|
4235
4241
|
return body.trim();
|
|
4236
4242
|
}
|
|
4243
|
+
function stripHtmlComments(content2) {
|
|
4244
|
+
return content2.replace(/<!--[\s\S]*?-->/g, "").trim();
|
|
4245
|
+
}
|
|
4237
4246
|
function extractIdFromPath(filePath) {
|
|
4238
4247
|
const filename = filePath.split("/").pop() || "";
|
|
4239
4248
|
const match = filename.match(/^(?:task-)?(\d+(?:\.\d+)?)\s*-/);
|
|
@@ -6150,17 +6159,17 @@ const TaskCard = ({
|
|
|
6150
6159
|
case "medium":
|
|
6151
6160
|
return theme2.colors.warning;
|
|
6152
6161
|
case "low":
|
|
6153
|
-
return theme2.colors.
|
|
6162
|
+
return theme2.colors.primary;
|
|
6154
6163
|
default:
|
|
6155
|
-
return theme2.colors.
|
|
6164
|
+
return theme2.colors.primary;
|
|
6156
6165
|
}
|
|
6157
6166
|
};
|
|
6158
6167
|
const style2 = {
|
|
6159
6168
|
flexShrink: 0,
|
|
6160
|
-
background:
|
|
6169
|
+
background: theme2.colors.surface,
|
|
6161
6170
|
borderRadius: theme2.radii[2],
|
|
6162
6171
|
padding: "12px",
|
|
6163
|
-
border: `1px solid ${
|
|
6172
|
+
border: `1px solid ${theme2.colors.border}`,
|
|
6164
6173
|
borderLeft: `4px solid ${getPriorityColor(task.priority)}`,
|
|
6165
6174
|
cursor: isDragOverlay ? "grabbing" : "grab",
|
|
6166
6175
|
transition: isDragging ? "none" : "all 0.2s ease",
|
|
@@ -6170,10 +6179,6 @@ const TaskCard = ({
|
|
|
6170
6179
|
// When dragging, the original card stays in place but becomes a placeholder
|
|
6171
6180
|
// The DragOverlay handles the visual movement
|
|
6172
6181
|
opacity: isDragging ? 0.4 : 1,
|
|
6173
|
-
// Selected card styling
|
|
6174
|
-
...isSelected && !isDragOverlay && {
|
|
6175
|
-
boxShadow: `0 0 0 1px ${theme2.colors.primary}`
|
|
6176
|
-
},
|
|
6177
6182
|
// Overlay card styling
|
|
6178
6183
|
...isDragOverlay && {
|
|
6179
6184
|
boxShadow: `0 8px 16px rgba(0, 0, 0, 0.15)`,
|
|
@@ -6198,14 +6203,20 @@ const TaskCard = ({
|
|
|
6198
6203
|
...attributes,
|
|
6199
6204
|
onMouseEnter: (e) => {
|
|
6200
6205
|
if (!isDragging && !isDragOverlay) {
|
|
6201
|
-
e.currentTarget.
|
|
6202
|
-
|
|
6206
|
+
const desc = e.currentTarget.querySelector("p");
|
|
6207
|
+
if (desc) {
|
|
6208
|
+
desc.style.maxHeight = "20em";
|
|
6209
|
+
}
|
|
6210
|
+
e.currentTarget.style.borderLeft = `4px solid ${getPriorityColor(task.priority)}`;
|
|
6203
6211
|
}
|
|
6204
6212
|
},
|
|
6205
6213
|
onMouseLeave: (e) => {
|
|
6206
6214
|
if (!isDragging && !isDragOverlay) {
|
|
6207
|
-
e.currentTarget.
|
|
6208
|
-
|
|
6215
|
+
const desc = e.currentTarget.querySelector("p");
|
|
6216
|
+
if (desc) {
|
|
6217
|
+
desc.style.maxHeight = "2.8em";
|
|
6218
|
+
}
|
|
6219
|
+
e.currentTarget.style.borderLeft = `4px solid ${getPriorityColor(task.priority)}`;
|
|
6209
6220
|
}
|
|
6210
6221
|
},
|
|
6211
6222
|
children: [
|
|
@@ -6215,7 +6226,7 @@ const TaskCard = ({
|
|
|
6215
6226
|
style: {
|
|
6216
6227
|
margin: "0 0 8px 0",
|
|
6217
6228
|
fontSize: theme2.fontSizes[2],
|
|
6218
|
-
color: theme2.colors.text,
|
|
6229
|
+
color: isSelected ? getPriorityColor(task.priority) : theme2.colors.text,
|
|
6219
6230
|
fontWeight: theme2.fontWeights.medium
|
|
6220
6231
|
},
|
|
6221
6232
|
children: displayTitle
|
|
@@ -6229,11 +6240,10 @@ const TaskCard = ({
|
|
|
6229
6240
|
fontSize: theme2.fontSizes[1],
|
|
6230
6241
|
color: theme2.colors.textSecondary,
|
|
6231
6242
|
overflow: "hidden",
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
lineHeight: "1.4"
|
|
6243
|
+
lineHeight: "1.4",
|
|
6244
|
+
maxHeight: "2.8em",
|
|
6245
|
+
// 2 lines (1.4 * 2)
|
|
6246
|
+
transition: "max-height 0.3s ease"
|
|
6237
6247
|
},
|
|
6238
6248
|
children: task.description
|
|
6239
6249
|
}
|
|
@@ -50739,8 +50749,7 @@ var IndustryMarkdownSlide = React2__default.memo(function IndustryMarkdownSlide2
|
|
|
50739
50749
|
}, [enableKeyboardScrolling, isVisible, slideIndex, scrollConfig]);
|
|
50740
50750
|
useEffect(() => {
|
|
50741
50751
|
if (autoFocusOnVisible && isVisible && slideRef.current) {
|
|
50742
|
-
|
|
50743
|
-
slideRef.current.focus();
|
|
50752
|
+
slideRef.current.focus({ preventScroll: true });
|
|
50744
50753
|
}
|
|
50745
50754
|
}, [autoFocusOnVisible, isVisible]);
|
|
50746
50755
|
const openPlaceholderModal = (placeholders, promptContent) => {
|
|
@@ -52707,12 +52716,8 @@ var Vt;
|
|
|
52707
52716
|
})();
|
|
52708
52717
|
var DocumentView = ({
|
|
52709
52718
|
content: content2,
|
|
52710
|
-
showSegmented = false,
|
|
52711
52719
|
onCheckboxChange,
|
|
52712
|
-
onSectionClick,
|
|
52713
52720
|
maxWidth = "900px",
|
|
52714
|
-
showSectionHeaders = true,
|
|
52715
|
-
showSeparators = true,
|
|
52716
52721
|
slideIdPrefix = "document",
|
|
52717
52722
|
enableHtmlPopout = true,
|
|
52718
52723
|
enableKeyboardScrolling = true,
|
|
@@ -52726,90 +52731,7 @@ var DocumentView = ({
|
|
|
52726
52731
|
transparentBackground = false
|
|
52727
52732
|
}) => {
|
|
52728
52733
|
const containerRef = useRef(null);
|
|
52729
|
-
const sectionRefs = useRef([]);
|
|
52730
52734
|
const backgroundColor = transparentBackground ? "transparent" : theme2.colors.background;
|
|
52731
|
-
const scrollToSection = useCallback((sectionIndex) => {
|
|
52732
|
-
var _a;
|
|
52733
|
-
if (sectionRefs.current[sectionIndex]) {
|
|
52734
|
-
(_a = sectionRefs.current[sectionIndex]) == null ? void 0 : _a.scrollIntoView({
|
|
52735
|
-
behavior: "smooth",
|
|
52736
|
-
block: "start"
|
|
52737
|
-
});
|
|
52738
|
-
}
|
|
52739
|
-
}, []);
|
|
52740
|
-
const handleSectionClick = useCallback((index2) => {
|
|
52741
|
-
scrollToSection(index2);
|
|
52742
|
-
onSectionClick == null ? void 0 : onSectionClick(index2);
|
|
52743
|
-
}, [scrollToSection, onSectionClick]);
|
|
52744
|
-
if (typeof content2 === "string") {
|
|
52745
|
-
return /* @__PURE__ */ React2__default.createElement("div", {
|
|
52746
|
-
ref: containerRef,
|
|
52747
|
-
style: {
|
|
52748
|
-
height: "100%",
|
|
52749
|
-
overflow: "auto",
|
|
52750
|
-
backgroundColor
|
|
52751
|
-
}
|
|
52752
|
-
}, /* @__PURE__ */ React2__default.createElement("div", {
|
|
52753
|
-
style: {
|
|
52754
|
-
maxWidth: typeof maxWidth === "number" ? `${maxWidth}px` : maxWidth,
|
|
52755
|
-
margin: "0 auto",
|
|
52756
|
-
height: "100%"
|
|
52757
|
-
}
|
|
52758
|
-
}, /* @__PURE__ */ React2__default.createElement(IndustryMarkdownSlide, {
|
|
52759
|
-
content: content2,
|
|
52760
|
-
slideIdPrefix,
|
|
52761
|
-
slideIndex: 0,
|
|
52762
|
-
isVisible: true,
|
|
52763
|
-
theme: theme2,
|
|
52764
|
-
onCheckboxChange,
|
|
52765
|
-
enableHtmlPopout,
|
|
52766
|
-
enableKeyboardScrolling,
|
|
52767
|
-
autoFocusOnVisible,
|
|
52768
|
-
onLinkClick,
|
|
52769
|
-
handleRunBashCommand,
|
|
52770
|
-
fontSizeScale,
|
|
52771
|
-
handlePromptCopy,
|
|
52772
|
-
repositoryInfo,
|
|
52773
|
-
transparentBackground
|
|
52774
|
-
})));
|
|
52775
|
-
}
|
|
52776
|
-
if (!showSegmented) {
|
|
52777
|
-
const fullContent = content2.join(`
|
|
52778
|
-
|
|
52779
|
-
---
|
|
52780
|
-
|
|
52781
|
-
`);
|
|
52782
|
-
return /* @__PURE__ */ React2__default.createElement("div", {
|
|
52783
|
-
ref: containerRef,
|
|
52784
|
-
style: {
|
|
52785
|
-
height: "100%",
|
|
52786
|
-
overflow: "auto",
|
|
52787
|
-
backgroundColor
|
|
52788
|
-
}
|
|
52789
|
-
}, /* @__PURE__ */ React2__default.createElement("div", {
|
|
52790
|
-
style: {
|
|
52791
|
-
maxWidth: typeof maxWidth === "number" ? `${maxWidth}px` : maxWidth,
|
|
52792
|
-
margin: "0 auto",
|
|
52793
|
-
height: "100%"
|
|
52794
|
-
}
|
|
52795
|
-
}, /* @__PURE__ */ React2__default.createElement(IndustryMarkdownSlide, {
|
|
52796
|
-
content: fullContent,
|
|
52797
|
-
slideIdPrefix,
|
|
52798
|
-
slideIndex: 0,
|
|
52799
|
-
isVisible: true,
|
|
52800
|
-
theme: theme2,
|
|
52801
|
-
onCheckboxChange,
|
|
52802
|
-
enableHtmlPopout,
|
|
52803
|
-
enableKeyboardScrolling,
|
|
52804
|
-
autoFocusOnVisible,
|
|
52805
|
-
onLinkClick,
|
|
52806
|
-
handleRunBashCommand,
|
|
52807
|
-
fontSizeScale,
|
|
52808
|
-
handlePromptCopy,
|
|
52809
|
-
repositoryInfo,
|
|
52810
|
-
transparentBackground
|
|
52811
|
-
})));
|
|
52812
|
-
}
|
|
52813
52735
|
return /* @__PURE__ */ React2__default.createElement("div", {
|
|
52814
52736
|
ref: containerRef,
|
|
52815
52737
|
style: {
|
|
@@ -52820,49 +52742,13 @@ var DocumentView = ({
|
|
|
52820
52742
|
}, /* @__PURE__ */ React2__default.createElement("div", {
|
|
52821
52743
|
style: {
|
|
52822
52744
|
maxWidth: typeof maxWidth === "number" ? `${maxWidth}px` : maxWidth,
|
|
52823
|
-
margin: "0 auto"
|
|
52824
|
-
|
|
52825
|
-
}, content2.map((slideContent, index2) => /* @__PURE__ */ React2__default.createElement("div", {
|
|
52826
|
-
key: index2,
|
|
52827
|
-
ref: (el) => {
|
|
52828
|
-
if (el)
|
|
52829
|
-
sectionRefs.current[index2] = el;
|
|
52830
|
-
},
|
|
52831
|
-
style: {
|
|
52832
|
-
marginBottom: index2 < content2.length - 1 ? "48px" : "0",
|
|
52833
|
-
scrollMarginTop: "20px"
|
|
52745
|
+
margin: "0 auto",
|
|
52746
|
+
height: "100%"
|
|
52834
52747
|
}
|
|
52835
|
-
},
|
|
52836
|
-
|
|
52837
|
-
|
|
52838
|
-
|
|
52839
|
-
alignItems: "center",
|
|
52840
|
-
justifyContent: "space-between",
|
|
52841
|
-
marginBottom: "16px",
|
|
52842
|
-
paddingBottom: "8px",
|
|
52843
|
-
borderBottom: `1px solid ${theme2.colors.border}`,
|
|
52844
|
-
opacity: 0.7,
|
|
52845
|
-
cursor: "pointer",
|
|
52846
|
-
transition: "opacity 0.2s ease"
|
|
52847
|
-
},
|
|
52848
|
-
onMouseOver: (e2) => {
|
|
52849
|
-
e2.currentTarget.style.opacity = "1";
|
|
52850
|
-
},
|
|
52851
|
-
onMouseOut: (e2) => {
|
|
52852
|
-
e2.currentTarget.style.opacity = "0.7";
|
|
52853
|
-
}
|
|
52854
|
-
}, /* @__PURE__ */ React2__default.createElement("span", {
|
|
52855
|
-
style: {
|
|
52856
|
-
fontSize: "11px",
|
|
52857
|
-
fontWeight: 600,
|
|
52858
|
-
color: theme2.colors.textSecondary,
|
|
52859
|
-
textTransform: "uppercase",
|
|
52860
|
-
letterSpacing: "0.5px"
|
|
52861
|
-
}
|
|
52862
|
-
}, "Section ", index2 + 1, " of ", content2.length)), /* @__PURE__ */ React2__default.createElement(IndustryMarkdownSlide, {
|
|
52863
|
-
content: slideContent,
|
|
52864
|
-
slideIdPrefix: `${slideIdPrefix}-${index2}`,
|
|
52865
|
-
slideIndex: index2,
|
|
52748
|
+
}, /* @__PURE__ */ React2__default.createElement(IndustryMarkdownSlide, {
|
|
52749
|
+
content: content2,
|
|
52750
|
+
slideIdPrefix,
|
|
52751
|
+
slideIndex: 0,
|
|
52866
52752
|
isVisible: true,
|
|
52867
52753
|
theme: theme2,
|
|
52868
52754
|
onCheckboxChange,
|
|
@@ -52875,15 +52761,7 @@ var DocumentView = ({
|
|
|
52875
52761
|
handlePromptCopy,
|
|
52876
52762
|
repositoryInfo,
|
|
52877
52763
|
transparentBackground
|
|
52878
|
-
})
|
|
52879
|
-
style: {
|
|
52880
|
-
marginTop: "32px",
|
|
52881
|
-
marginBottom: "32px",
|
|
52882
|
-
height: "1px",
|
|
52883
|
-
backgroundColor: theme2.colors.border,
|
|
52884
|
-
opacity: 0.3
|
|
52885
|
-
}
|
|
52886
|
-
})))));
|
|
52764
|
+
})));
|
|
52887
52765
|
};
|
|
52888
52766
|
function getTaskBodyMarkdown(task, options = {}) {
|
|
52889
52767
|
const { includeTitle = false } = options;
|