@ahoo-wang/wow-view-engine 9.8.0 → 9.9.0
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 +21 -1029
- package/README.zh-CN.md +21 -1024
- package/dist/{actions-DDwX_NYM.js → actions-C0tWfkL5.js} +2611 -2103
- package/dist/actions-C0tWfkL5.js.map +1 -0
- package/dist/analysis/buckets.d.ts +20 -0
- package/dist/analysis/buckets.d.ts.map +1 -1
- package/dist/analysis/capability.d.ts +13 -0
- package/dist/analysis/capability.d.ts.map +1 -1
- package/dist/analysis/cartesian.d.ts +6 -0
- package/dist/analysis/cartesian.d.ts.map +1 -1
- package/dist/analysis/chart.d.ts +17 -2
- package/dist/analysis/chart.d.ts.map +1 -1
- package/dist/analysis/chartRows.d.ts.map +1 -1
- package/dist/analysis/chartShapes.d.ts +2 -2
- package/dist/analysis/chartShapes.d.ts.map +1 -1
- package/dist/analysis/compile.d.ts.map +1 -1
- package/dist/analysis/derived.d.ts +21 -5
- package/dist/analysis/derived.d.ts.map +1 -1
- package/dist/analysis/drill.d.ts.map +1 -1
- package/dist/analysis/familyRules.d.ts.map +1 -1
- package/dist/analysis/index.d.ts +3 -1
- package/dist/analysis/index.d.ts.map +1 -1
- package/dist/analysis/metricCard.d.ts +11 -3
- package/dist/analysis/metricCard.d.ts.map +1 -1
- package/dist/analysis/project.d.ts +9 -0
- package/dist/analysis/project.d.ts.map +1 -1
- package/dist/analysis/serverLines.d.ts +54 -0
- package/dist/analysis/serverLines.d.ts.map +1 -0
- package/dist/analysis/splitOther.d.ts.map +1 -1
- package/dist/analysis/timeAxis.d.ts +10 -0
- package/dist/analysis/timeAxis.d.ts.map +1 -1
- package/dist/analysis/timeCharts.d.ts.map +1 -1
- package/dist/analysis/top.d.ts +22 -0
- package/dist/analysis/top.d.ts.map +1 -0
- package/dist/analysis/validate.d.ts +2 -1
- package/dist/analysis/validate.d.ts.map +1 -1
- package/dist/analysis/validateGroups.d.ts.map +1 -1
- package/dist/analysis/validateShape.d.ts.map +1 -1
- package/dist/analysis/validateTop.d.ts +17 -0
- package/dist/analysis/validateTop.d.ts.map +1 -0
- package/dist/capabilities/analysis.d.ts.map +1 -1
- package/dist/capabilities/open.d.ts.map +1 -1
- package/dist/{clickDraft-DVzI9buA.js → clickDraft-CHI2bGry.js} +16 -16
- package/dist/{clickDraft-DVzI9buA.js.map → clickDraft-CHI2bGry.js.map} +1 -1
- package/dist/dashboard/layout.d.ts +19 -1
- package/dist/dashboard/layout.d.ts.map +1 -1
- package/dist/filter/compile.d.ts +13 -0
- package/dist/filter/compile.d.ts.map +1 -1
- package/dist/filter/kinds/boolean.d.ts.map +1 -1
- package/dist/index.d.ts +9 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +218 -100
- package/dist/index.js.map +1 -1
- package/dist/model/analysis.d.ts +33 -3
- package/dist/model/analysis.d.ts.map +1 -1
- package/dist/model/chart.d.ts +15 -2
- package/dist/model/chart.d.ts.map +1 -1
- package/dist/model/definition.d.ts +21 -1
- package/dist/model/definition.d.ts.map +1 -1
- package/dist/model/field.d.ts +4 -1
- package/dist/model/field.d.ts.map +1 -1
- package/dist/model/record.d.ts +44 -4
- package/dist/model/record.d.ts.map +1 -1
- package/dist/react/analysisEditing.d.ts +2 -1
- package/dist/react/analysisEditing.d.ts.map +1 -1
- package/dist/react/analysisFields.d.ts.map +1 -1
- package/dist/react/index.d.ts +3 -1
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/manager/wording.d.ts +22 -0
- package/dist/react/manager/wording.d.ts.map +1 -0
- package/dist/react/recordLayout.d.ts +23 -0
- package/dist/react/recordLayout.d.ts.map +1 -0
- package/dist/react/useAnalysisEditor.d.ts +19 -1
- package/dist/react/useAnalysisEditor.d.ts.map +1 -1
- package/dist/react/useAnalysisResult.d.ts.map +1 -1
- package/dist/react/useRecordKanban.d.ts +32 -0
- package/dist/react/useRecordKanban.d.ts.map +1 -0
- package/dist/react/useRecordTable.d.ts.map +1 -1
- package/dist/react/useReshape.d.ts.map +1 -1
- package/dist/react/useSaveCommands.d.ts +32 -0
- package/dist/react/useSaveCommands.d.ts.map +1 -1
- package/dist/react/useViewList.d.ts +6 -0
- package/dist/react/useViewList.d.ts.map +1 -1
- package/dist/react/useViewManager.d.ts +7 -0
- package/dist/react/useViewManager.d.ts.map +1 -1
- package/dist/react/useWorkbench.d.ts.map +1 -1
- package/dist/react/workbench/leaveGuard.d.ts +18 -1
- package/dist/react/workbench/leaveGuard.d.ts.map +1 -1
- package/dist/react-CNRANfkk.js +3810 -0
- package/dist/react-CNRANfkk.js.map +1 -0
- package/dist/react.js +3 -3
- package/dist/record/compile.d.ts +12 -5
- package/dist/record/compile.d.ts.map +1 -1
- package/dist/record/defaults.d.ts.map +1 -1
- package/dist/record/index.d.ts +1 -0
- package/dist/record/index.d.ts.map +1 -1
- package/dist/record/kanban.d.ts +96 -0
- package/dist/record/kanban.d.ts.map +1 -0
- package/dist/record/project.d.ts +34 -1
- package/dist/record/project.d.ts.map +1 -1
- package/dist/record/validate.d.ts.map +1 -1
- package/dist/runtime/actions.d.ts +19 -0
- package/dist/runtime/actions.d.ts.map +1 -1
- package/dist/runtime/capabilities.d.ts +5 -1
- package/dist/runtime/capabilities.d.ts.map +1 -1
- package/dist/runtime/dashboard/children.d.ts.map +1 -1
- package/dist/runtime/datasetResources.d.ts +124 -0
- package/dist/runtime/datasetResources.d.ts.map +1 -0
- package/dist/runtime/define/defineDataset.d.ts +37 -0
- package/dist/runtime/define/defineDataset.d.ts.map +1 -0
- package/dist/runtime/definitions.d.ts +17 -1
- package/dist/runtime/definitions.d.ts.map +1 -1
- package/dist/runtime/execute.d.ts.map +1 -1
- package/dist/runtime/failure/failures.d.ts.map +1 -1
- package/dist/runtime/failure/unavailable.d.ts +2 -1
- package/dist/runtime/failure/unavailable.d.ts.map +1 -1
- package/dist/runtime/instanceWrites.d.ts +39 -0
- package/dist/runtime/instanceWrites.d.ts.map +1 -0
- package/dist/runtime/kanban.d.ts +22 -0
- package/dist/runtime/kanban.d.ts.map +1 -0
- package/dist/runtime/recordRuntime.d.ts +7 -0
- package/dist/runtime/recordRuntime.d.ts.map +1 -1
- package/dist/runtime/resources.d.ts +36 -0
- package/dist/runtime/resources.d.ts.map +1 -1
- package/dist/runtime/restyle.d.ts +8 -1
- package/dist/runtime/restyle.d.ts.map +1 -1
- package/dist/runtime/runtimeStore.d.ts +6 -0
- package/dist/runtime/runtimeStore.d.ts.map +1 -1
- package/dist/runtime/storedViews.d.ts.map +1 -1
- package/dist/runtime/summaries.d.ts +1 -0
- package/dist/runtime/summaries.d.ts.map +1 -1
- package/dist/runtime/validateFields.d.ts.map +1 -1
- package/dist/runtime/viewEngine.d.ts +21 -0
- package/dist/runtime/viewEngine.d.ts.map +1 -1
- package/dist/runtime/viewRuntime.d.ts.map +1 -1
- package/dist/runtime/viewRuntimeTypes.d.ts +7 -0
- package/dist/runtime/viewRuntimeTypes.d.ts.map +1 -1
- package/dist/store/MemoryViewStore.d.ts +8 -0
- package/dist/store/MemoryViewStore.d.ts.map +1 -1
- package/dist/store/ViewStore.d.ts +15 -0
- package/dist/store/ViewStore.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/testing/aggregate.d.ts.map +1 -1
- package/dist/testing.js +307 -301
- package/dist/testing.js.map +1 -1
- package/dist/ui/ViewHost.d.ts +10 -1
- package/dist/ui/ViewHost.d.ts.map +1 -1
- package/dist/ui/actions/kanbanMove.d.ts +13 -0
- package/dist/ui/actions/kanbanMove.d.ts.map +1 -0
- package/dist/ui/analysis/AnalysisToolbar.d.ts.map +1 -1
- package/dist/ui/analysis/ChartOptions.d.ts +3 -1
- package/dist/ui/analysis/ChartOptions.d.ts.map +1 -1
- package/dist/ui/analysis/ChartPicker.d.ts.map +1 -1
- package/dist/ui/analysis/DataTab.d.ts.map +1 -1
- package/dist/ui/analysis/DerivedLines.d.ts +9 -0
- package/dist/ui/analysis/DerivedLines.d.ts.map +1 -0
- package/dist/ui/analysis/ReferenceOptions.d.ts.map +1 -1
- package/dist/ui/analysis/ResultSlot.d.ts.map +1 -1
- package/dist/ui/analysis/TopRow.d.ts +40 -0
- package/dist/ui/analysis/TopRow.d.ts.map +1 -0
- package/dist/ui/analysis/VisualizationPanel.d.ts +3 -1
- package/dist/ui/analysis/VisualizationPanel.d.ts.map +1 -1
- package/dist/ui/analysis/cartesianSpec.d.ts +13 -0
- package/dist/ui/analysis/cartesianSpec.d.ts.map +1 -0
- package/dist/ui/analysis/optionControls.d.ts +27 -1
- package/dist/ui/analysis/optionControls.d.ts.map +1 -1
- package/dist/ui/analysis/tableColumns.d.ts +2 -1
- package/dist/ui/analysis/tableColumns.d.ts.map +1 -1
- package/dist/ui/charts/Heatmap.d.ts.map +1 -1
- package/dist/ui/charts/MetricCard.d.ts.map +1 -1
- package/dist/ui/charts/Profiles.d.ts.map +1 -1
- package/dist/ui/charts/cartesianFit.d.ts +2 -2
- package/dist/ui/charts/cartesianFit.d.ts.map +1 -1
- package/dist/ui/charts/cartesianMarks.d.ts.map +1 -1
- package/dist/ui/charts/cartesianTooltip.d.ts.map +1 -1
- package/dist/ui/charts/family.d.ts.map +1 -1
- package/dist/ui/charts/markWords.d.ts +5 -0
- package/dist/ui/charts/markWords.d.ts.map +1 -1
- package/dist/ui/charts/periodSpan.d.ts.map +1 -1
- package/dist/ui/charts/profileOption.d.ts +8 -0
- package/dist/ui/charts/profileOption.d.ts.map +1 -1
- package/dist/ui/charts/timeOption.d.ts.map +1 -1
- package/dist/ui/dashboard/DashboardPanel.d.ts.map +1 -1
- package/dist/ui/dashboard/PanelBodies.d.ts +1 -1
- package/dist/ui/dashboard/PanelBodies.d.ts.map +1 -1
- package/dist/ui/dashboard/history.d.ts.map +1 -1
- package/dist/ui/embed/EmbeddedRecord.d.ts.map +1 -1
- package/dist/ui/filter/FieldChecklist.d.ts.map +1 -1
- package/dist/ui/filter/inputs/date.d.ts.map +1 -1
- package/dist/ui/filter/inputs/daterange.d.ts +27 -0
- package/dist/ui/filter/inputs/daterange.d.ts.map +1 -1
- package/dist/ui/filter/inputs/select.d.ts +4 -1
- package/dist/ui/filter/inputs/select.d.ts.map +1 -1
- package/dist/ui/index.d.ts +2 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/kit/OutcomeActions.d.ts.map +1 -1
- package/dist/ui/kit/badges.d.ts.map +1 -1
- package/dist/ui/kit/dragPlugins.d.ts +15 -0
- package/dist/ui/kit/dragPlugins.d.ts.map +1 -1
- package/dist/ui/kit/summary.d.ts.map +1 -1
- package/dist/ui/kit/surfaceKeys.d.ts +24 -0
- package/dist/ui/kit/surfaceKeys.d.ts.map +1 -0
- package/dist/ui/kit/variants.d.ts +10 -10
- package/dist/ui/manage/DatasetWordingForm.d.ts +22 -0
- package/dist/ui/manage/DatasetWordingForm.d.ts.map +1 -0
- package/dist/ui/manage/ViewManager.d.ts.map +1 -1
- package/dist/ui/messages/analysis.d.ts +40 -0
- package/dist/ui/messages/analysis.d.ts.map +1 -1
- package/dist/ui/messages/definition.d.ts +2 -0
- package/dist/ui/messages/definition.d.ts.map +1 -1
- package/dist/ui/messages/en.d.ts +107 -2
- package/dist/ui/messages/en.d.ts.map +1 -1
- package/dist/ui/messages/header.d.ts +11 -0
- package/dist/ui/messages/header.d.ts.map +1 -1
- package/dist/ui/messages/manage.d.ts +13 -0
- package/dist/ui/messages/manage.d.ts.map +1 -1
- package/dist/ui/messages/record.d.ts +23 -0
- package/dist/ui/messages/record.d.ts.map +1 -1
- package/dist/ui/messages/save.d.ts +3 -0
- package/dist/ui/messages/save.d.ts.map +1 -1
- package/dist/ui/messages/status.d.ts +7 -1
- package/dist/ui/messages/status.d.ts.map +1 -1
- package/dist/ui/messages/view.d.ts +8 -1
- package/dist/ui/messages/view.d.ts.map +1 -1
- package/dist/ui/messages/zh-CN.d.ts.map +1 -1
- package/dist/ui/record/CardSettings.d.ts +8 -2
- package/dist/ui/record/CardSettings.d.ts.map +1 -1
- package/dist/ui/record/RecordCard.d.ts +30 -0
- package/dist/ui/record/RecordCard.d.ts.map +1 -0
- package/dist/ui/record/RecordCards.d.ts.map +1 -1
- package/dist/ui/record/RecordDetail.d.ts +7 -1
- package/dist/ui/record/RecordDetail.d.ts.map +1 -1
- package/dist/ui/record/RecordKanban.d.ts +48 -0
- package/dist/ui/record/RecordKanban.d.ts.map +1 -0
- package/dist/ui/record/issueNames.d.ts.map +1 -1
- package/dist/ui/record/kanbanDrag.d.ts +115 -0
- package/dist/ui/record/kanbanDrag.d.ts.map +1 -0
- package/dist/ui/record/openRows.d.ts +1 -1
- package/dist/ui/record/openRows.d.ts.map +1 -1
- package/dist/ui/record/queryAnnouncement.d.ts.map +1 -1
- package/dist/ui/workbench/AddToDashboardDialog.d.ts +18 -0
- package/dist/ui/workbench/AddToDashboardDialog.d.ts.map +1 -0
- package/dist/ui/workbench/AnalysisParts.d.ts.map +1 -1
- package/dist/ui/workbench/LeaveGuard.d.ts.map +1 -1
- package/dist/ui/workbench/MoreViewActions.d.ts +25 -0
- package/dist/ui/workbench/MoreViewActions.d.ts.map +1 -0
- package/dist/ui/workbench/RecordParts.d.ts.map +1 -1
- package/dist/ui/workbench/ResultToolbar.d.ts +8 -2
- package/dist/ui/workbench/ResultToolbar.d.ts.map +1 -1
- package/dist/ui/workbench/SaveActions.d.ts.map +1 -1
- package/dist/ui/workbench/SearchBox.d.ts.map +1 -1
- package/dist/ui/workbench/ViewEngineProvider.d.ts +5 -1
- package/dist/ui/workbench/ViewEngineProvider.d.ts.map +1 -1
- package/dist/ui/workbench/address.d.ts.map +1 -1
- package/dist/ui/workbench/configRemedy.d.ts +1 -1
- package/dist/ui/workbench/configRemedy.d.ts.map +1 -1
- package/dist/ui/workbench/describeConfig.d.ts.map +1 -1
- package/dist/ui.js +12826 -11023
- package/dist/ui.js.map +1 -1
- package/dist/{viewRuntimeTypes-DSFYiS5g.js → viewRuntimeTypes-CCAMk8vM.js} +1475 -1360
- package/dist/viewRuntimeTypes-CCAMk8vM.js.map +1 -0
- package/package.json +6 -6
- package/dist/actions-DDwX_NYM.js.map +0 -1
- package/dist/react-Bk_WxJCP.js +0 -3618
- package/dist/react-Bk_WxJCP.js.map +0 -1
- package/dist/viewRuntimeTypes-DSFYiS5g.js.map +0 -1
|
@@ -22,6 +22,12 @@ interface RecordDetailProps {
|
|
|
22
22
|
title?(row: RecordRow): string | undefined;
|
|
23
23
|
/** Told of a host section that threw, as the workbench's other parts are. */
|
|
24
24
|
onRenderFailure?: RenderFailureHandler;
|
|
25
|
+
/**
|
|
26
|
+
* The page the record was opened from, in its order (R2-97): with it the
|
|
27
|
+
* header steps to the record before or after — buttons, and K/J — without
|
|
28
|
+
* closing the panel. A record not on it (opened by a link) has no steps.
|
|
29
|
+
*/
|
|
30
|
+
rows?: readonly RecordRow[];
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* One record read whole, beside the list it was opened from (production
|
|
@@ -41,6 +47,6 @@ interface RecordDetailProps {
|
|
|
41
47
|
* record is not there, that the reader may not see it, or that it could not
|
|
42
48
|
* be read, with a way to try again.
|
|
43
49
|
*/
|
|
44
|
-
export declare function RecordDetail({ detail, actions, sections: hostSections, render, title: titleOf, onRenderFailure, }: RecordDetailProps): import('react').JSX.Element;
|
|
50
|
+
export declare function RecordDetail({ detail, actions, sections: hostSections, render, title: titleOf, onRenderFailure, rows, }: RecordDetailProps): import('react').JSX.Element;
|
|
45
51
|
export {};
|
|
46
52
|
//# sourceMappingURL=RecordDetail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordDetail.d.ts","sourceRoot":"","sources":["../../../src/ui/record/RecordDetail.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"RecordDetail.d.ts","sourceRoot":"","sources":["../../../src/ui/record/RecordDetail.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAiBtD,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EACV,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAc9B,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,0BAA0B,CAAC;AASlC,UAAU,iBAAiB;IACzB,MAAM,EAAE,sBAAsB,CAAC;IAC/B,8EAA8E;IAC9E,OAAO,CAAC,CAAC,GAAG,EAAE,SAAS,GAAG,SAAS,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,GAAG,SAAS,mBAAmB,EAAE,CAAC;IAC1D;;;;OAIG;IACH,MAAM,CAAC,CAAC,GAAG,EAAE,SAAS,GAAG,SAAS,CAAC;IACnC,4DAA4D;IAC5D,KAAK,CAAC,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IAC3C,6EAA6E;IAC7E,eAAe,CAAC,EAAE,oBAAoB,CAAC;IACvC;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;CAC7B;AAgBD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,YAAY,CAAC,EAC3B,MAAM,EACN,OAAO,EACP,QAAQ,EAAE,YAAY,EACtB,MAAM,EACN,KAAK,EAAE,OAAO,EACd,eAAe,EACf,IAAI,GACL,EAAE,iBAAiB,+BAqLnB"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { RecordKanbanController, RecordTableController } from '../../react/index.js';
|
|
2
|
+
import { RecordRow } from '../../record/index.js';
|
|
3
|
+
import { EmptyWayOut } from './emptyWayOut.js';
|
|
4
|
+
import { KanbanMove } from './kanbanDrag.js';
|
|
5
|
+
import { RecordCell } from './RecordTable.js';
|
|
6
|
+
import type * as React from 'react';
|
|
7
|
+
export interface RecordKanbanProps {
|
|
8
|
+
/** The cards, rows and status: the same controller the cards draw from. */
|
|
9
|
+
table: RecordTableController;
|
|
10
|
+
/** The lanes (`useRecordKanban`). */
|
|
11
|
+
kanban: RecordKanbanController;
|
|
12
|
+
/** Renders one value of a card; see `RecordCardsProps.renderCell`. */
|
|
13
|
+
renderCell?(cell: RecordCell): React.ReactNode;
|
|
14
|
+
/** What a host offers on one card, at its foot. */
|
|
15
|
+
rowActions?(row: RecordRow): React.ReactNode;
|
|
16
|
+
/** Opens a card's detail: a press, or Enter/Space on the card. */
|
|
17
|
+
onOpen?(row: RecordRow): void;
|
|
18
|
+
/** The empty result's wording, when the host has its own. */
|
|
19
|
+
emptyTitle?: string;
|
|
20
|
+
emptyDescription?: string;
|
|
21
|
+
/** Which way out an empty result offers; see `RecordTable`. */
|
|
22
|
+
emptyWayOut?: EmptyWayOut;
|
|
23
|
+
/** The one way out of an empty result; see `EmptyResult`. */
|
|
24
|
+
onEmptyAction?(): void;
|
|
25
|
+
/**
|
|
26
|
+
* Moving a card to another lane by dragging it (`KanbanMove`): the host's
|
|
27
|
+
* declared action that sets the lane field. Left out, cards stay put.
|
|
28
|
+
*/
|
|
29
|
+
move?: KanbanMove;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The result as lanes, one per stage (D83): the lane field's options in the
|
|
33
|
+
* definition's order, each a named region holding its cards — the very
|
|
34
|
+
* cards the card layout draws — with its count, its summaries and, while it
|
|
35
|
+
* has more, a「加载更多」of its own.
|
|
36
|
+
*
|
|
37
|
+
* The lanes stand in one row that scrolls sideways, at every width: wrapped,
|
|
38
|
+
* a stage would no longer stand beside the one before it. An empty stage is
|
|
39
|
+
* drawn and says so — that it is empty is the reading — while the「其他」lane
|
|
40
|
+
* is drawn only when it holds a card, since it is no stage.
|
|
41
|
+
*
|
|
42
|
+
* It keeps the cards' three gates. No pick boxes; a card moves to another
|
|
43
|
+
* lane by being dragged there where the host declared a move (`move`), and
|
|
44
|
+
* is drawn there at once, until the read after the command shows where it
|
|
45
|
+
* really is.
|
|
46
|
+
*/
|
|
47
|
+
export declare function RecordKanban({ table, kanban, renderCell, rowActions, onOpen, emptyTitle, emptyDescription, emptyWayOut, onEmptyAction, move, }: RecordKanbanProps): React.JSX.Element | null;
|
|
48
|
+
//# sourceMappingURL=RecordKanban.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordKanban.d.ts","sourceRoot":"","sources":["../../../src/ui/record/RecordKanban.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EACV,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAkB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAMvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGpD,OAAO,EAOL,KAAK,UAAU,EAChB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAWnD,MAAM,WAAW,iBAAiB;IAChC,2EAA2E;IAC3E,KAAK,EAAE,qBAAqB,CAAC;IAC7B,qCAAqC;IACrC,MAAM,EAAE,sBAAsB,CAAC;IAC/B,sEAAsE;IACtE,UAAU,CAAC,CAAC,IAAI,EAAE,UAAU,GAAG,KAAK,CAAC,SAAS,CAAC;IAC/C,mDAAmD;IACnD,UAAU,CAAC,CAAC,GAAG,EAAE,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;IAC7C,kEAAkE;IAClE,MAAM,CAAC,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI,CAAC;IAC9B,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,+DAA+D;IAC/D,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,6DAA6D;IAC7D,aAAa,CAAC,IAAI,IAAI,CAAC;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,MAAM,EACN,UAAU,EACV,UAAU,EACV,MAAM,EACN,UAAU,EACV,gBAAgB,EAChB,WAAmB,EACnB,aAAa,EACb,IAAI,GACL,EAAE,iBAAiB,4BA+DnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issueNames.d.ts","sourceRoot":"","sources":["../../../src/ui/record/issueNames.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,eAAe,EACf,KAAK,EACL,YAAY,EACb,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,6EAA6E;AAC7E,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,YAAY,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"issueNames.d.ts","sourceRoot":"","sources":["../../../src/ui/record/issueNames.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,eAAe,EACf,KAAK,EACL,YAAY,EACb,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,6EAA6E;AAC7E,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,YAAY,EAAE,UAAU,CAIzD,CAAC;AAKF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,SAAS,eAAe,EAAE,EAClC,QAAQ,EAAE,iBAAiB,GAC1B,CAAC,KAAK,EAAE,KAAK,KAAK,KAAK,CA6CzB"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { RecordKey } from '../../model/index.js';
|
|
2
|
+
import { RecordLaneView, RecordRow } from '../../record/index.js';
|
|
3
|
+
import type * as React from 'react';
|
|
4
|
+
/**
|
|
5
|
+
* Moving a kanban's card to another lane (D83): the host's declared action
|
|
6
|
+
* that sets the lane field (`RecordAction.moves`), as a record surface binds
|
|
7
|
+
* it — its rule asked for a lane, its run through the surface's runner, which
|
|
8
|
+
* asks first where it says so, runs, says how it went and reads the view
|
|
9
|
+
* again. Without it the cards stay where they are.
|
|
10
|
+
*/
|
|
11
|
+
export interface KanbanMove {
|
|
12
|
+
/** Whether this card may go to the lane of `value`: `true`, or why not. */
|
|
13
|
+
can(row: RecordRow, value: string | number): true | string;
|
|
14
|
+
/** Moves it: the action, with the lane's value as its input. */
|
|
15
|
+
run(row: RecordRow, value: string | number): void;
|
|
16
|
+
/**
|
|
17
|
+
* A move is on its way — asked and waiting for an answer, or running —
|
|
18
|
+
* so the card dropped stays drawn in the lane it was dropped on.
|
|
19
|
+
*/
|
|
20
|
+
busy: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A card drawn in the lane it was dropped on before the source says it is
|
|
24
|
+
* there; `useDroppedCard` says for how long.
|
|
25
|
+
*/
|
|
26
|
+
export interface DroppedCard {
|
|
27
|
+
key: RecordKey;
|
|
28
|
+
from: string;
|
|
29
|
+
to: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The card a drop moved, held in its new lane until the board shows the
|
|
33
|
+
* move itself (D83): while the move is busy — a refresh landing meanwhile
|
|
34
|
+
* still reads the old stage, and would draw the card back where it was —
|
|
35
|
+
* and then while a read is on its way (`reading`), which is the one the
|
|
36
|
+
* command asks for after it writes. A move refused or called off with
|
|
37
|
+
* nothing being read lets the card go back at once; once let go, a later
|
|
38
|
+
* read does not bring it back.
|
|
39
|
+
*/
|
|
40
|
+
export declare function useDroppedCard(busy: boolean, reading: boolean): [DroppedCard | null, (card: DroppedCard) => void];
|
|
41
|
+
/** A card's id among the drag's sources: lanes are the targets. */
|
|
42
|
+
export declare function cardDragId(key: RecordKey): string;
|
|
43
|
+
/**
|
|
44
|
+
* The lanes with a dropped card drawn at the top of the lane it went to, and
|
|
45
|
+
* each lane's count moved with it. The lanes as they were when the card is
|
|
46
|
+
* no longer in its lane (a refresh landed meanwhile) or either lane is gone.
|
|
47
|
+
*/
|
|
48
|
+
export declare function withDroppedCard(lanes: readonly RecordLaneView[], dropped: DroppedCard | null): readonly RecordLaneView[];
|
|
49
|
+
/**
|
|
50
|
+
* The board's drag, always there so a lane can ask what is dragged (without
|
|
51
|
+
* a move nothing is: every card is disabled): a pointer picks a card up and drops it on a lane
|
|
52
|
+
* (`pointerDrag` — the keyboard's way is the card's menu). A drop is a move
|
|
53
|
+
* only onto another lane of an option, and only where `move.can` says yes;
|
|
54
|
+
* anything else puts the card back.
|
|
55
|
+
*/
|
|
56
|
+
export declare function KanbanDrag({ move, lanes, onDrop, children, }: {
|
|
57
|
+
move: KanbanMove | undefined;
|
|
58
|
+
lanes: readonly RecordLaneView[];
|
|
59
|
+
onDrop(row: RecordRow, from: string, to: RecordLaneView): void;
|
|
60
|
+
children: React.ReactNode;
|
|
61
|
+
}): React.JSX.Element;
|
|
62
|
+
/**
|
|
63
|
+
* What a finished drag moves, read off the ids it ended between: the card,
|
|
64
|
+
* the lane it came from and the lane it was dropped on — or `null` when it
|
|
65
|
+
* is no move: nothing to move with, no card or no lane under it, the lane it
|
|
66
|
+
* came from, the「其他」lane, or one the move's rule refuses.
|
|
67
|
+
*/
|
|
68
|
+
export declare function dropOf(lanes: readonly RecordLaneView[], source: string | number | null, target: string | number | null, move: KanbanMove | undefined): {
|
|
69
|
+
row: RecordRow;
|
|
70
|
+
from: string;
|
|
71
|
+
to: RecordLaneView;
|
|
72
|
+
} | null;
|
|
73
|
+
/**
|
|
74
|
+
* How a lane stands to the card being dragged (`source`, its drag id):
|
|
75
|
+
* `true` when the card may land here, the rule's reason when it may not
|
|
76
|
+
* (empty for the「其他」lane, which takes no card), and `null` when nothing
|
|
77
|
+
* is dragged, there is no move, or this is the lane the card came from.
|
|
78
|
+
*/
|
|
79
|
+
export declare function laneStanding(lane: RecordLaneView, lanes: readonly RecordLaneView[], source: string | number | null, move: KanbanMove | undefined): true | string | null;
|
|
80
|
+
/**
|
|
81
|
+
* One card a pointer can pick up. Wrapped rather than handed a ref: the card
|
|
82
|
+
* is the one the card layout draws too, and knows nothing of dragging.
|
|
83
|
+
*
|
|
84
|
+
* The library moves this very element under the pointer (`data-dnd-dragging`)
|
|
85
|
+
* and leaves a hidden copy in its place (`data-dnd-placeholder`). The card in
|
|
86
|
+
* hand stays opaque — a faded one let the cards under it read through — and
|
|
87
|
+
* is lifted: a tilt and a deep shadow, which the library's own `!important`
|
|
88
|
+
* translate and transform leave free, and an edge in the primary colour — a
|
|
89
|
+
* shadow alone all but vanishes on a dark surface, among cards its colour. Its place stays as a
|
|
90
|
+
* dashed slot of its size, drawn by the copy's `::before`, which can be
|
|
91
|
+
* visible inside a hidden parent: where it came from, and that it can go back.
|
|
92
|
+
*/
|
|
93
|
+
export declare function DraggableCard({ id, disabled, children, }: {
|
|
94
|
+
id: string;
|
|
95
|
+
disabled: boolean;
|
|
96
|
+
children: React.ReactNode;
|
|
97
|
+
}): React.JSX.Element;
|
|
98
|
+
/** Where a lane stands while a card is dragged. */
|
|
99
|
+
export interface LaneDrop {
|
|
100
|
+
/**
|
|
101
|
+
* `open`: the card may be dropped here; `shut`: it may not, `reason` says
|
|
102
|
+
* why; `null`: nothing is dragged, or this is the lane it came from.
|
|
103
|
+
*/
|
|
104
|
+
state: 'open' | 'shut' | null;
|
|
105
|
+
reason: string | null;
|
|
106
|
+
/** The pointer is over it, and it is open. */
|
|
107
|
+
over: boolean;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* A lane as a drop target: open to the card being dragged where the move's
|
|
111
|
+
* rule takes this lane, shut with the rule's reason where not. The「其他」
|
|
112
|
+
* lane is never one — it is no stage a card can be put in.
|
|
113
|
+
*/
|
|
114
|
+
export declare function useLaneDrop(lane: RecordLaneView, lanes: readonly RecordLaneView[], move: KanbanMove | undefined): [(element: Element | null) => void, LaneDrop];
|
|
115
|
+
//# sourceMappingURL=kanbanDrag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kanbanDrag.d.ts","sourceRoot":"","sources":["../../../src/ui/record/kanbanDrag.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAQpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGvE;;;;;;GAMG;AACH,MAAM,WAAW,UAAU;IACzB,2EAA2E;IAC3E,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,MAAM,CAAC;IAC3D,gEAAgE;IAChE,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAClD;;;OAGG;IACH,IAAI,EAAE,OAAO,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,SAAS,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,EACb,OAAO,EAAE,OAAO,GACf,CAAC,WAAW,GAAG,IAAI,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC,CAKnD;AAED,mEAAmE;AACnE,wBAAgB,UAAU,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,CAEjD;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,SAAS,cAAc,EAAE,EAChC,OAAO,EAAE,WAAW,GAAG,IAAI,GAC1B,SAAS,cAAc,EAAE,CAqB3B;AAED;;;;;;GAMG;AAC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AG,IAAI,CAAC;IACtB,8CAA8C;IAC9C,IAAI,EAAE,OAAO,CAAC;CACf;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,cAAc,EACpB,KAAK,EAAE,SAAS,cAAc,EAAE,EAChC,IAAI,EAAE,UAAU,GAAG,SAAS,GAC3B,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,EAAE,QAAQ,CAAC,CAiB/C"}
|
|
@@ -22,7 +22,7 @@ interface OpenRows {
|
|
|
22
22
|
/** The props that make one row open. */
|
|
23
23
|
row(row: RecordRow): OpenRowProps;
|
|
24
24
|
}
|
|
25
|
-
interface OpenRowProps {
|
|
25
|
+
export interface OpenRowProps {
|
|
26
26
|
'data-openable'?: '';
|
|
27
27
|
/**
|
|
28
28
|
* The row's key, as text: where the detail hands focus back when it
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openRows.d.ts","sourceRoot":"","sources":["../../../src/ui/record/openRows.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGnD;;;;;;;;;;;;;;GAcG;AACH,UAAU,QAAQ;IAChB,mEAAmE;IACnE,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,wCAAwC;IACxC,GAAG,CAAC,GAAG,EAAE,SAAS,GAAG,YAAY,CAAC;CACnC;AAED,
|
|
1
|
+
{"version":3,"file":"openRows.d.ts","sourceRoot":"","sources":["../../../src/ui/record/openRows.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,k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AK,EAAE,qBAAqB,EAC5B,QAAQ,EAAE,iBAAiB;AAC3B;;;;GAIG;AACH,UAAU,CAAC,EAAE,MAAM,GAClB,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"queryAnnouncement.d.ts","sourceRoot":"","sources":["../../../src/ui/record/queryAnnouncement.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,qBAAqB,EAC5B,QAAQ,EAAE,iBAAiB;AAC3B;;;;GAIG;AACH,UAAU,CAAC,EAAE,MAAM,GAClB,MAAM,GAAG,IAAI,CA2Bf;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,qBAAqB,EAC5B,QAAQ,EAAE,iBAAiB,EAC3B,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,KAAK,GAAG,OAAO,CAAC;AAC1C,0EAA0E;AAC1E,UAAU,CAAC,EAAE,MAAM,GAClB,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CA6BxB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BoardChoice, SaveCommands } from '../../react/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* 「放进仪表盘…」 (R2-98): the boards this reader may change, and a press on
|
|
4
|
+
* one puts the open view on it as one more panel (`addToDashboard`) — the
|
|
5
|
+
* board's own save, at the first free place of its first tab. The boards
|
|
6
|
+
* are read as the dialog opens; one that cannot take the view says why in
|
|
7
|
+
* the dialog, which stays open for another pick.
|
|
8
|
+
*/
|
|
9
|
+
export declare function AddToDashboardDialog({ open, onOpenChange, commands, title, onAdded, }: {
|
|
10
|
+
open: boolean;
|
|
11
|
+
onOpenChange(open: boolean): void;
|
|
12
|
+
commands: Required<Pick<SaveCommands, 'boards' | 'addToDashboard'>> & Pick<SaveCommands, 'state'>;
|
|
13
|
+
/** The open view's title, in the heading. */
|
|
14
|
+
title: string;
|
|
15
|
+
/** Told the board it went on, once it landed. */
|
|
16
|
+
onAdded(board: BoardChoice): void;
|
|
17
|
+
}): import('react').JSX.Element;
|
|
18
|
+
//# sourceMappingURL=AddToDashboardDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddToDashboardDialog.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/AddToDashboardDialog.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AActE;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,OAAO,GACR,EAAE;IACD,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IAClC,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,YAAY,EAAE,QAAQ,GAAG,gBAAgB,CAAC,CAAC,GACjE,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IAC9B,6CAA6C;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,OAAO,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;CACnC,+BAkGA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisParts.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/AnalysisParts.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAEV,kBAAkB,EAClB,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAK1D,OAAO,EAIL,K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sourceRoot":"","sources":["../../../src/ui/workbench/LeaveGuard.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"LeaveGuard.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/LeaveGuard.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAevD,MAAM,WAAW,gBAAgB;IAC/B,4EAA4E;IAC5E,KAAK,EAAE,UAAU,CAAC;IAClB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,gBAAgB,+BA4CzE"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SaveCommands } from '../../react/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* 「更多视图操作」 beside the save button: what else is done to the open
|
|
4
|
+
* view, where the reader is, rather than in 「管理视图」 (R2-98).
|
|
5
|
+
*
|
|
6
|
+
* - **另存为**, where a save in place is also offered (`saveAs`).
|
|
7
|
+
* - **设为共享/设为个人**, the move to the other audience the manager's row
|
|
8
|
+
* offers, where this reader may make it (`can.changeAudience`). Said once
|
|
9
|
+
* it lands, in the manager's words; a refusal is the view's outcome, on
|
|
10
|
+
* its band.
|
|
11
|
+
* - **复制链接**, where a router puts the view in the address: the page's
|
|
12
|
+
* own address, which is what opens it for someone else.
|
|
13
|
+
*
|
|
14
|
+
* Nothing here runs while a write is in flight or an outcome is unsettled
|
|
15
|
+
* (`stopped`): a move taken under a save would be undone by it.
|
|
16
|
+
*/
|
|
17
|
+
export declare function MoreViewActions({ commands, title, stopped, onSaveAs, }: {
|
|
18
|
+
commands: SaveCommands;
|
|
19
|
+
/** The view's title, as the line said after a move names it. */
|
|
20
|
+
title: string;
|
|
21
|
+
stopped: boolean;
|
|
22
|
+
/** Opens 另存为; absent where the menu does not offer it. */
|
|
23
|
+
onSaveAs?(): void;
|
|
24
|
+
}): import('react').JSX.Element | null;
|
|
25
|
+
//# sourceMappingURL=MoreViewActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoreViewActions.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/MoreViewActions.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAgBzD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,KAAK,EACL,OAAO,EACP,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,YAAY,CAAC;IACvB,gEAAgE;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,0DAA0D;IAC1D,QAAQ,CAAC,IAAI,IAAI,CAAC;CACnB,sCAiIA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordParts.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/RecordParts.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,
|
|
1
|
+
{"version":3,"file":"RecordParts.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/RecordParts.tsx"],"names":[],"mappings":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EACf,QAAQ,GACT,EAAE,gBAAgB,aA4TlB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldDefinition, FieldGroupDefinition } from '../../model/index.js';
|
|
2
|
-
import { RecordTableController } from '../../react/index.js';
|
|
2
|
+
import { RecordKanbanController, RecordTableController } from '../../react/index.js';
|
|
3
3
|
import { RecordViewRuntime } from '../../runtime/index.js';
|
|
4
4
|
import { ReleasedPins } from '../record/pinCap.js';
|
|
5
5
|
import { ExportWindowProps } from '../kit/ExportDialog.js';
|
|
@@ -61,6 +61,12 @@ export interface ResultToolbarProps {
|
|
|
61
61
|
* whose actions are commands against the view they act in.
|
|
62
62
|
*/
|
|
63
63
|
runtime: RecordViewRuntime;
|
|
64
|
+
/**
|
|
65
|
+
* The kanban's lanes (`useRecordKanban`, D83): under the kanban the
|
|
66
|
+
* arrangement button sets them beside the cards. Left out, it sets the
|
|
67
|
+
* cards alone.
|
|
68
|
+
*/
|
|
69
|
+
kanban?: RecordKanbanController;
|
|
64
70
|
}
|
|
65
71
|
/**
|
|
66
72
|
* The bar above the result: what is selected on the left, how the result is
|
|
@@ -105,5 +111,5 @@ export interface ResultToolbarProps {
|
|
|
105
111
|
* 317px bar however it wraps — but they are three grouped lines rather than
|
|
106
112
|
* three scattered ones.
|
|
107
113
|
*/
|
|
108
|
-
export declare function ResultToolbar({ table, fields, fieldGroups, rowKey, released, bulkActions, exporter, features, runtime, }: ResultToolbarProps): React.JSX.Element;
|
|
114
|
+
export declare function ResultToolbar({ table, fields, fieldGroups, rowKey, released, bulkActions, exporter, features, runtime, kanban, }: ResultToolbarProps): React.JSX.Element;
|
|
109
115
|
//# sourceMappingURL=ResultToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResultToolbar.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/ResultToolbar.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,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3B;;;;OAIG;IACH,MAAM,CAAC,EAAE,sBAAsB,CAAC;CACjC;AAQD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,MAAM,EACN,WAAW,EACX,MAAM,EACN,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,MAAM,GACP,EAAE,kBAAkB,qBAoMpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaveActions.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/SaveActions.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SaveActions.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/SaveActions.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAsBzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAQ5D;;;;;;;;GAQG;AACH,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAC5C,kBAAkB,EAClB,SAAS,GAAG,WAAW,CACxB;IACC,QAAQ,EAAE,YAAY,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,KAAK,EACL,OAAO,EACP,SAAS,EACT,aAAqB,GACtB,EAAE,gBAAgB,sCAqNlB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,SAAS,EACT,UAAU,GACX,EAAE;IACD,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IAClC,SAAS,IAAI,IAAI,CAAC;IAClB,2FAA2F;IAC3F,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,+BAmCA;AA6DD;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,QAAgB,GACjB,EAAE;IACD,QAAQ,EAAE,YAAY,CAAC;IACvB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,+BAsCA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBox.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/SearchBox.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"SearchBox.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/SearchBox.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAYhE;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,mBAAmB,CAAA;CAAE,+BA0DpE"}
|
|
@@ -43,6 +43,8 @@ interface ViewEngineProviderProps {
|
|
|
43
43
|
bindings?: readonly ViewBinding[];
|
|
44
44
|
/** The host's router; the outer provider's when left out. */
|
|
45
45
|
router?: ViewRouter;
|
|
46
|
+
/** Boards kept in the search too; the outer provider's when left out. */
|
|
47
|
+
boardsInAddress?: boolean;
|
|
46
48
|
/** The record open in the address; the outer provider's when left out. */
|
|
47
49
|
detail?: RecordDetailControl;
|
|
48
50
|
/** Set by `ViewHost`: what is under it has a host above. */
|
|
@@ -64,7 +66,7 @@ interface ViewEngineProviderProps {
|
|
|
64
66
|
* runtimes, no query run again. The provider that names an engine checks
|
|
65
67
|
* its words for the keys they lack (`ViewEngine.setText`).
|
|
66
68
|
*/
|
|
67
|
-
export declare function ViewEngineProvider({ engine: own, locale, messages, navigate, bindings, router, detail, hosted, children, }: ViewEngineProviderProps): import('react').JSX.Element;
|
|
69
|
+
export declare function ViewEngineProvider({ engine: own, locale, messages, navigate, bindings, router, boardsInAddress, detail, hosted, children, }: ViewEngineProviderProps): import('react').JSX.Element;
|
|
68
70
|
/**
|
|
69
71
|
* The engine a surface draws: its own, else its provider's. A surface with
|
|
70
72
|
* neither is a host's mistake, said as one.
|
|
@@ -88,6 +90,8 @@ export declare function useRoutedNavigate(own?: (to: ViewNavigation) => void): (
|
|
|
88
90
|
export declare function useBindings(): (definitionId: string) => ViewBinding | undefined;
|
|
89
91
|
/** The host's router, from the `ViewHost` above; `undefined` without one. */
|
|
90
92
|
export declare function useViewRouter(): ViewRouter | undefined;
|
|
93
|
+
/** Whether the `ViewHost` above keeps boards in the search too. */
|
|
94
|
+
export declare function useBoardsInAddress(): boolean;
|
|
91
95
|
/** Whether a `ViewHost` is above. */
|
|
92
96
|
export declare function useHosted(): boolean;
|
|
93
97
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewEngineProvider.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/ViewEngineProvider.tsx"],"names":[],"mappings":"AAaA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAOhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,UAAU,EAChB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"ViewEngineProvider.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/ViewEngineProvider.tsx"],"names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,UAAU,CAQtD;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,cAAc,KAAK,IAAI,GACjC,CAAC,CAAC,EAAE,EAAE,cAAc,KAAK,IAAI,CAAC,GAAG,SAAS,CAU5C;AAED;;;;GAIG;AACH,wBAAgB,WAAW,IAAI,CAC7B,YAAY,EAAE,MAAM,KACjB,WAAW,GAAG,SAAS,CAmB3B;AAED,6EAA6E;AAC7E,wBAAgB,aAAa,IAAI,UAAU,GAAG,SAAS,CAEtD;AAED,mEAAmE;AACnE,wBAAgB,kBAAkB,IAAI,OAAO,CAE5C;AAED,qCAAqC;AACrC,wBAAgB,SAAS,IAAI,OAAO,CAEnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/address.ts"],"names":[],"mappings":"AA+BA,OAAO,EAGL,KAAK,gBAAgB,EAEtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EACV,eAAe,EAGf,UAAU,EACX,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/address.ts"],"names":[],"mappings":"AA+BA,OAAO,EAGL,KAAK,gBAAgB,EAEtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EACV,eAAe,EAGf,UAAU,EACX,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAoEhE;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,UAAU,GAC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C,CAgEH;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,UAAU,GAAG,SAAS,GAC7B,mBAAmB,GAAG,SAAS,CAoBjC"}
|
|
@@ -9,7 +9,7 @@ import { Issue } from '../../model/index.js';
|
|
|
9
9
|
* - `layout` — a layout the definition no longer offers: one press switches
|
|
10
10
|
* to one it does;
|
|
11
11
|
* - `sort` — the sort settings;
|
|
12
|
-
* - `card` — the card settings;
|
|
12
|
+
* - `card` — the card settings, which under a kanban hold its lanes too;
|
|
13
13
|
* - `columns` — the column settings, which hold the columns and their
|
|
14
14
|
* summaries.
|
|
15
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configRemedy.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/configRemedy.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;;;;;;;;;;;GAaG;AACH,KAAK,YAAY,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"configRemedy.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/configRemedy.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;;;;;;;;;;;GAaG;AACH,KAAK,YAAY,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AAazE;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,KAAK,EAAE,GAAG,YAAY,GAAG,IAAI,CAQ1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describeConfig.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/describeConfig.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"describeConfig.d.ts","sourceRoot":"","sources":["../../../src/ui/workbench/describeConfig.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,iBAAiB,GAC1B,MAAM,CAyCR"}
|