@12-apps/ui 6.1.0 → 6.3.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/components-catalog.md +8 -0
- package/dist/{chunk-35VGGLOC.js → chunk-CEKPLUQV.js} +2 -2
- package/dist/{chunk-35VGGLOC.js.map → chunk-CEKPLUQV.js.map} +1 -1
- package/dist/{chunk-62XQWGXU.js → chunk-MXPXKORR.js} +19 -17
- package/dist/chunk-MXPXKORR.js.map +1 -0
- package/dist/{chunk-7XLEWBKL.js → chunk-N554AFDB.js} +7 -10
- package/dist/chunk-N554AFDB.js.map +1 -0
- package/dist/{chunk-JDO7W4D4.js → chunk-R5ZQZSEQ.js} +2 -20
- package/dist/{chunk-JDO7W4D4.js.map → chunk-R5ZQZSEQ.js.map} +1 -1
- package/dist/{chunk-R4TYXKDD.js → chunk-TPQRIPCN.js} +52 -48
- package/dist/chunk-TPQRIPCN.js.map +1 -0
- package/dist/copy.js +1 -0
- package/dist/copy.js.map +1 -0
- package/dist/data-display/CardKit.js +277 -0
- package/dist/data-display/CardKit.js.map +1 -0
- package/dist/data-display/DataViews.js +664 -616
- package/dist/data-display/DataViews.js.map +1 -1
- package/dist/data-display/SectionOnboarding.js +3 -3
- package/dist/data-display/SectionOnboarding.js.map +1 -1
- package/dist/feedback/ConfirmAction.js +3 -5
- package/dist/form/CategorySelect.js +1 -1
- package/dist/form/CepField.js +1 -1
- package/dist/form/total-form.js +8 -4
- package/dist/form/total-form.js.map +1 -1
- package/dist/layout/ContentToolbar.js +1 -1
- package/dist/layout/TableFilter.js +1 -1
- package/dist/pt-BR.js +222 -0
- package/dist/pt-BR.js.map +1 -0
- package/dist/types/components/data-display/CardKit/CardKebab.d.ts +23 -0
- package/dist/types/components/data-display/CardKit/CardKebab.d.ts.map +1 -0
- package/dist/types/components/data-display/CardKit/CardKit.types.d.ts +55 -0
- package/dist/types/components/data-display/CardKit/CardKit.types.d.ts.map +1 -0
- package/dist/types/components/data-display/CardKit/card-actions-context.d.ts +51 -0
- package/dist/types/components/data-display/CardKit/card-actions-context.d.ts.map +1 -0
- package/dist/types/components/data-display/CardKit/index.d.ts +15 -0
- package/dist/types/components/data-display/CardKit/index.d.ts.map +1 -0
- package/dist/types/components/data-display/CardKit/list-card-parts.d.ts +60 -0
- package/dist/types/components/data-display/CardKit/list-card-parts.d.ts.map +1 -0
- package/dist/types/components/data-display/CardKit/row-actions-to-menu.d.ts +17 -0
- package/dist/types/components/data-display/CardKit/row-actions-to-menu.d.ts.map +1 -0
- package/dist/types/components/data-display/CardKit/use-remove-confirm.d.ts +65 -0
- package/dist/types/components/data-display/CardKit/use-remove-confirm.d.ts.map +1 -0
- package/dist/types/components/data-display/CardKit/use-row-confirm.d.ts +60 -0
- package/dist/types/components/data-display/CardKit/use-row-confirm.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/DataViewsBoard.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/DeleteViewDialog.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/ManageViewsDialog.d.ts +4 -1
- package/dist/types/components/data-display/DataViews/ManageViewsDialog.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/SaveViewModal.d.ts +0 -5
- package/dist/types/components/data-display/DataViews/SaveViewModal.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-card.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card-gutters.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-bar-controls.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-category-pill.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-columns-tab.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-copy-context.d.ts +17 -0
- package/dist/types/components/data-display/DataViews/data-views-copy-context.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/data-views-copy.d.ts +205 -0
- package/dist/types/components/data-display/DataViews/data-views-copy.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/data-views-display-panel.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-display-tabs.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-export.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-filter-panel.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-grid-helpers.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-more-fields.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-more-filters.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-range-pill.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-range-presets.d.ts +3 -2
- package/dist/types/components/data-display/DataViews/data-views-range-presets.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-scopes.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-search.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-select-all-strip.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-table-parts.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-view-nav.d.ts +1 -1
- package/dist/types/components/data-display/DataViews/data-views-view-nav.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/index.d.ts +2 -0
- package/dist/types/components/data-display/DataViews/index.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/save-view-preview.d.ts +10 -0
- package/dist/types/components/data-display/DataViews/save-view-preview.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/use-saved-views-controller.d.ts.map +1 -1
- package/dist/types/components/data-display/SectionOnboarding/SectionOnboarding.types.d.ts +6 -5
- package/dist/types/components/data-display/SectionOnboarding/SectionOnboarding.types.d.ts.map +1 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmAction.hooks.d.ts +1 -3
- package/dist/types/components/feedback/ConfirmAction/ConfirmAction.hooks.d.ts.map +1 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmAction.parts.d.ts +4 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmAction.parts.d.ts.map +1 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmAction.types.d.ts +9 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmAction.types.d.ts.map +1 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmButton.d.ts +2 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmButton.d.ts.map +1 -1
- package/dist/types/components/feedback/ConfirmAction/index.d.ts +2 -2
- package/dist/types/components/feedback/ConfirmAction/index.d.ts.map +1 -1
- package/dist/types/components/feedback/ConfirmAction/with-confirmation.d.ts +5 -1
- package/dist/types/components/feedback/ConfirmAction/with-confirmation.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanel.d.ts +4 -1
- package/dist/types/components/form/CategorySelect/CategoryPanel.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelFoot.d.ts +5 -2
- package/dist/types/components/form/CategorySelect/CategoryPanelFoot.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelHead.d.ts +5 -2
- package/dist/types/components/form/CategorySelect/CategoryPanelHead.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelList.d.ts +3 -0
- package/dist/types/components/form/CategorySelect/CategoryPanelList.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategorySelect.types.d.ts +5 -0
- package/dist/types/components/form/CategorySelect/CategorySelect.types.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryTrigger.d.ts +4 -1
- package/dist/types/components/form/CategorySelect/CategoryTrigger.d.ts.map +1 -1
- package/dist/types/components/form/CepField/CepField.d.ts +1 -1
- package/dist/types/components/form/CepField/CepField.d.ts.map +1 -1
- package/dist/types/components/form/CepField/CepField.types.d.ts +3 -0
- package/dist/types/components/form/CepField/CepField.types.d.ts.map +1 -1
- package/dist/types/components/form/total-form/Fields/CategoryField.d.ts +4 -1
- package/dist/types/components/form/total-form/Fields/CategoryField.d.ts.map +1 -1
- package/dist/types/components/form/total-form/Fields/CepField.d.ts +4 -1
- package/dist/types/components/form/total-form/Fields/CepField.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/ContentToolbar.types.d.ts +6 -1
- package/dist/types/components/layout/ContentToolbar/ContentToolbar.types.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/SavedViewsMenu.d.ts.map +1 -1
- package/dist/types/copy.d.ts +99 -0
- package/dist/types/copy.d.ts.map +1 -0
- package/dist/types/pt-BR.d.ts +28 -0
- package/dist/types/pt-BR.d.ts.map +1 -0
- package/dist/types/utils/export-rows.d.ts +31 -0
- package/dist/types/utils/export-rows.d.ts.map +1 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts.map +1 -1
- package/dist/utils.js +50 -0
- package/dist/utils.js.map +1 -1
- package/package.json +14 -2
- package/src/components/data-display/CardKit/CardKebab.tsx +43 -0
- package/src/components/data-display/CardKit/CardKit.md +87 -0
- package/src/components/data-display/CardKit/CardKit.types.ts +60 -0
- package/src/components/data-display/CardKit/card-actions-context.tsx +98 -0
- package/src/components/data-display/CardKit/index.ts +19 -0
- package/src/components/data-display/CardKit/list-card-parts.tsx +163 -0
- package/src/components/data-display/CardKit/row-actions-to-menu.ts +29 -0
- package/src/components/data-display/CardKit/use-remove-confirm.tsx +111 -0
- package/src/components/data-display/CardKit/use-row-confirm.tsx +96 -0
- package/src/components/data-display/DataViews/DataViewsBoard.tsx +7 -4
- package/src/components/data-display/DataViews/DeleteViewDialog.tsx +6 -4
- package/src/components/data-display/DataViews/ManageViewsDialog.tsx +26 -10
- package/src/components/data-display/DataViews/SaveViewModal.tsx +56 -90
- package/src/components/data-display/DataViews/base-card.tsx +3 -1
- package/src/components/data-display/DataViews/base-list-card-gutters.tsx +3 -1
- package/src/components/data-display/DataViews/data-views-bar-controls.tsx +8 -5
- package/src/components/data-display/DataViews/data-views-category-pill.tsx +6 -3
- package/src/components/data-display/DataViews/data-views-columns-tab.tsx +5 -3
- package/src/components/data-display/DataViews/data-views-copy-context.tsx +43 -0
- package/src/components/data-display/DataViews/data-views-copy.ts +214 -0
- package/src/components/data-display/DataViews/data-views-display-panel.tsx +15 -9
- package/src/components/data-display/DataViews/data-views-display-tabs.tsx +19 -29
- package/src/components/data-display/DataViews/data-views-export.tsx +9 -10
- package/src/components/data-display/DataViews/data-views-filter-panel.tsx +9 -5
- package/src/components/data-display/DataViews/data-views-grid-helpers.tsx +5 -2
- package/src/components/data-display/DataViews/data-views-more-fields.tsx +5 -3
- package/src/components/data-display/DataViews/data-views-more-filters.tsx +6 -3
- package/src/components/data-display/DataViews/data-views-range-pill.tsx +9 -5
- package/src/components/data-display/DataViews/data-views-range-presets.ts +7 -8
- package/src/components/data-display/DataViews/data-views-scopes.tsx +3 -1
- package/src/components/data-display/DataViews/data-views-search.tsx +7 -4
- package/src/components/data-display/DataViews/data-views-select-all-strip.tsx +5 -3
- package/src/components/data-display/DataViews/data-views-table-parts.tsx +7 -2
- package/src/components/data-display/DataViews/data-views-view-nav.tsx +22 -16
- package/src/components/data-display/DataViews/index.ts +20 -0
- package/src/components/data-display/DataViews/save-view-preview.tsx +78 -0
- package/src/components/data-display/DataViews/use-saved-views-controller.ts +3 -1
- package/src/components/data-display/SectionOnboarding/SectionOnboarding.tsx +3 -3
- package/src/components/data-display/SectionOnboarding/SectionOnboarding.types.ts +8 -7
- package/src/components/feedback/ConfirmAction/ConfirmAction.hooks.ts +2 -2
- package/src/components/feedback/ConfirmAction/ConfirmAction.parts.tsx +12 -5
- package/src/components/feedback/ConfirmAction/ConfirmAction.types.ts +9 -1
- package/src/components/feedback/ConfirmAction/ConfirmButton.tsx +12 -4
- package/src/components/feedback/ConfirmAction/index.ts +2 -2
- package/src/components/feedback/ConfirmAction/with-confirmation.tsx +4 -3
- package/src/components/form/CategorySelect/CategoryPanel.tsx +18 -6
- package/src/components/form/CategorySelect/CategoryPanelFoot.tsx +10 -5
- package/src/components/form/CategorySelect/CategoryPanelHead.tsx +8 -3
- package/src/components/form/CategorySelect/CategoryPanelList.tsx +17 -10
- package/src/components/form/CategorySelect/CategorySelect.tsx +3 -3
- package/src/components/form/CategorySelect/CategorySelect.types.ts +5 -0
- package/src/components/form/CategorySelect/CategoryTrigger.tsx +5 -1
- package/src/components/form/CepField/CepField.tsx +6 -9
- package/src/components/form/CepField/CepField.types.ts +3 -0
- package/src/components/form/total-form/Fields/CategoryField.tsx +5 -0
- package/src/components/form/total-form/Fields/CepField.tsx +5 -0
- package/src/components/layout/ContentToolbar/ContentToolbar.types.ts +6 -1
- package/src/components/layout/ContentToolbar/SavedViewsMenu.tsx +1 -21
- package/src/components/layout/TableFilter/TableFilter.tsx +1 -1
- package/src/copy.ts +103 -0
- package/src/pt-BR.ts +247 -0
- package/src/utils/export-rows.ts +95 -0
- package/src/utils/index.ts +1 -0
- package/dist/chunk-62XQWGXU.js.map +0 -1
- package/dist/chunk-7XLEWBKL.js.map +0 -1
- package/dist/chunk-R4TYXKDD.js.map +0 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { CardAspectRatio, DataViewCardSelection } from '../DataViews';
|
|
3
|
+
/**
|
|
4
|
+
* THE CARD KIT — what an admin list needs above `BaseCard`, and no more.
|
|
5
|
+
*
|
|
6
|
+
* `BaseCard` and `BaseListCard` deliberately say nothing about what goes inside
|
|
7
|
+
* them: the envelope is the library's and the design is the consumer's. That is
|
|
8
|
+
* the right call for a card component and exactly the wrong place for every
|
|
9
|
+
* entity in an admin app to invent its own kebab, its own two-column body, its
|
|
10
|
+
* own label/value pair and its own confirm-before-deleting. Those shapes are
|
|
11
|
+
* not per-entity decisions — they are the same shape repeated — so they live
|
|
12
|
+
* here once.
|
|
13
|
+
*
|
|
14
|
+
* The line this kit does NOT cross is the entity card itself. A "product card"
|
|
15
|
+
* or a "discount card" knows a domain, and a domain is the consumer's. What is
|
|
16
|
+
* here is the furniture such a card sits in.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Props every KIND CARD receives — the grid's `renderCard` contract, named.
|
|
20
|
+
*
|
|
21
|
+
* `row` is `Record<string, unknown>` rather than a generic on purpose: a grid
|
|
22
|
+
* renders rows of one shape and the renderer is registered per kind, so the
|
|
23
|
+
* cast happens once inside each card rather than threading a type parameter
|
|
24
|
+
* through the grid, the layout and the selection.
|
|
25
|
+
*/
|
|
26
|
+
export interface KindCardProps {
|
|
27
|
+
row: Record<string, unknown>;
|
|
28
|
+
selection: DataViewCardSelection;
|
|
29
|
+
/** Force a ratio (a uniform grid); defaults to the card's own. */
|
|
30
|
+
aspectRatio?: CardAspectRatio;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Props every kind LIST card receives — the "list" layout's counterpart.
|
|
34
|
+
*
|
|
35
|
+
* The same `(row, selection)` pair `renderListRow` hands over, and nothing
|
|
36
|
+
* more. No density: a row inside a list group takes the group's, so a card
|
|
37
|
+
* accepting one could only contradict its list. No `aspectRatio`: a full-width
|
|
38
|
+
* row has no ratio to force.
|
|
39
|
+
*/
|
|
40
|
+
export interface KindListCardProps {
|
|
41
|
+
row: Record<string, unknown>;
|
|
42
|
+
selection: DataViewCardSelection;
|
|
43
|
+
}
|
|
44
|
+
/** One labelled fact inside an expanded body. */
|
|
45
|
+
export interface CardFactProps {
|
|
46
|
+
label: string;
|
|
47
|
+
value: ReactNode;
|
|
48
|
+
}
|
|
49
|
+
/** One line of a money ledger. `info` tints a line that is not a plain cost. */
|
|
50
|
+
export interface CardLedgerLine {
|
|
51
|
+
label: string;
|
|
52
|
+
value: ReactNode;
|
|
53
|
+
tone?: 'default' | 'info';
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=CardKit.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardKit.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/CardKit/CardKit.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE3E;;;;;;;;;;;;;;GAcG;AAEH;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7B,SAAS,EAAE,qBAAqB,CAAC;IACjC,kEAAkE;IAClE,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7B,SAAS,EAAE,qBAAqB,CAAC;CAClC;AAED,iDAAiD;AACjD,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,gFAAgF;AAChF,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC3B"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { type JSX, type ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The ambient wiring a self-contained row/card menu needs, and nothing else.
|
|
4
|
+
*
|
|
5
|
+
* A menu that owns its own popups still needs three things it cannot know: the
|
|
6
|
+
* tenant it is acting inside, what to do after a write lands, and somewhere to
|
|
7
|
+
* put a failure. Passing those down through the grid, the layout and the card
|
|
8
|
+
* is four props of drilling per entity; holding them in context is one.
|
|
9
|
+
*
|
|
10
|
+
* Kept deliberately SMALL — it is not an edit-dialog host. A menu that read its
|
|
11
|
+
* dialogs from here would stop being portable, because the set of dialogs is
|
|
12
|
+
* per-entity. What it may read is the three facts below.
|
|
13
|
+
*
|
|
14
|
+
* The provider renders ONE shared error snackbar, which is the whole reason the
|
|
15
|
+
* error channel is here rather than per-menu: before it, every page carried its
|
|
16
|
+
* own error alert and every menu had to find its page's.
|
|
17
|
+
*/
|
|
18
|
+
interface CardActionsValue {
|
|
19
|
+
/** The tenant every action in this subtree acts inside. */
|
|
20
|
+
tenantSlug: string;
|
|
21
|
+
/** Re-read the list after a write. */
|
|
22
|
+
onRefresh: () => void;
|
|
23
|
+
/** Surface a failed action's message (the shared snackbar). */
|
|
24
|
+
notifyError: (message: string) => void;
|
|
25
|
+
}
|
|
26
|
+
export declare function CardActionsProvider({ tenantSlug, onRefresh, errorTitle, autoHideMs, children, }: {
|
|
27
|
+
tenantSlug: string;
|
|
28
|
+
onRefresh: () => void;
|
|
29
|
+
/**
|
|
30
|
+
* The snackbar's heading — required, no default.
|
|
31
|
+
*
|
|
32
|
+
* It is the one sentence this provider renders on its own, and a default
|
|
33
|
+
* would be the origin's language shipped as a finished-looking silence. The
|
|
34
|
+
* MESSAGE beside it comes from whatever failed, which is already the host's.
|
|
35
|
+
*/
|
|
36
|
+
errorTitle: string;
|
|
37
|
+
/** How long the snackbar stays up. */
|
|
38
|
+
autoHideMs?: number;
|
|
39
|
+
children: ReactNode;
|
|
40
|
+
}): JSX.Element;
|
|
41
|
+
/**
|
|
42
|
+
* Read the tenant + refresh + error wiring.
|
|
43
|
+
*
|
|
44
|
+
* THROWS outside a provider rather than answering a null object, deliberately:
|
|
45
|
+
* a menu whose `onRefresh` silently did nothing would leave the operator
|
|
46
|
+
* looking at a stale row after a delete that worked, which reads as the delete
|
|
47
|
+
* having failed. Failing at mount says where the provider is missing.
|
|
48
|
+
*/
|
|
49
|
+
export declare function useCardActions(): CardActionsValue;
|
|
50
|
+
export {};
|
|
51
|
+
//# sourceMappingURL=card-actions-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-actions-context.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/CardKit/card-actions-context.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoD,KAAK,GAAG,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMnG;;;;;;;;;;;;;;;GAeG;AACH,UAAU,gBAAgB;IACxB,2DAA2D;IAC3D,UAAU,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,+DAA+D;IAC/D,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAID,wBAAgB,mBAAmB,CAAC,EAClC,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAkB,EAClB,QAAQ,GACT,EAAE;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB;;;;;;OAMG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,GAAG,CAAC,OAAO,CA0Bd;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,IAAI,gBAAgB,CAMjD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@12-apps/ui/data-display/CardKit` — the furniture an admin list's cards and
|
|
3
|
+
* row menus sit in.
|
|
4
|
+
*
|
|
5
|
+
* See `./CardKit.types` for where the line falls: the envelope and the repeated
|
|
6
|
+
* shapes are here; the entity card that knows a domain is the consumer's.
|
|
7
|
+
*/
|
|
8
|
+
export { CardKebab } from './CardKebab';
|
|
9
|
+
export { CardActionsProvider, useCardActions } from './card-actions-context';
|
|
10
|
+
export { rowActionsToMenuItems } from './row-actions-to-menu';
|
|
11
|
+
export { BodyHeading, DetailColumns, Fact, Ledger, TagList } from './list-card-parts';
|
|
12
|
+
export { useRowConfirm, type RowConfirm, type RowConfirmCopy } from './use-row-confirm';
|
|
13
|
+
export { useRemoveConfirm, type CardWriteResult } from './use-remove-confirm';
|
|
14
|
+
export type { CardFactProps, CardLedgerLine, KindCardProps, KindListCardProps, } from './CardKit.types';
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/CardKit/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxF,OAAO,EAAE,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC9E,YAAY,EACV,aAAa,EACb,cAAc,EACd,aAAa,EACb,iBAAiB,GAClB,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { JSX, ReactNode } from 'react';
|
|
2
|
+
import type { CardFactProps, CardLedgerLine } from './CardKit.types';
|
|
3
|
+
/**
|
|
4
|
+
* THE SHARED FURNITURE OF AN EXPANDED LIST-CARD BODY.
|
|
5
|
+
*
|
|
6
|
+
* `BaseListCard` says nothing about what goes inside a row's expanded area — it
|
|
7
|
+
* spans the rails and stops, because the design belongs to the consumer. Right
|
|
8
|
+
* for the card; wrong as the place where every entity in an admin app invents
|
|
9
|
+
* its own two-column layout, its own label/value pair and its own ledger.
|
|
10
|
+
*
|
|
11
|
+
* So the four shapes that actually repeat live here, once. Nothing here knows a
|
|
12
|
+
* domain: they take `ReactNode` and lay it out.
|
|
13
|
+
*/
|
|
14
|
+
/** The expanded body's two-column split: detail on the left, a ledger right. */
|
|
15
|
+
export declare function DetailColumns({ left, right }: {
|
|
16
|
+
left: ReactNode;
|
|
17
|
+
right: ReactNode;
|
|
18
|
+
}): JSX.Element;
|
|
19
|
+
/**
|
|
20
|
+
* One labelled fact inside an expanded body.
|
|
21
|
+
*
|
|
22
|
+
* Horizontal, not stacked: the body is already a wide area with room for a
|
|
23
|
+
* label beside its value, and stacking them there would ape the summary rails
|
|
24
|
+
* above without their alignment.
|
|
25
|
+
*/
|
|
26
|
+
export declare function Fact({ label, value }: CardFactProps): JSX.Element;
|
|
27
|
+
/**
|
|
28
|
+
* A money ledger: rows of label/amount, then a ruled total.
|
|
29
|
+
*
|
|
30
|
+
* The total is separated by a RULE rather than by weight alone, because a
|
|
31
|
+
* subtotal and a total in one column with only bold between them is the classic
|
|
32
|
+
* misread — the eye lands on whichever number is larger.
|
|
33
|
+
*
|
|
34
|
+
* The figures arrive pre-formatted. This is a layout, and a component that
|
|
35
|
+
* formatted money would be choosing a locale on the consumer's behalf.
|
|
36
|
+
*/
|
|
37
|
+
export declare function Ledger({ lines, total, }: {
|
|
38
|
+
lines: CardLedgerLine[];
|
|
39
|
+
total: {
|
|
40
|
+
label: string;
|
|
41
|
+
value: ReactNode;
|
|
42
|
+
};
|
|
43
|
+
}): JSX.Element;
|
|
44
|
+
/** A heading inside the expanded body, for a section that needs naming. */
|
|
45
|
+
export declare function BodyHeading({ children }: {
|
|
46
|
+
children: ReactNode;
|
|
47
|
+
}): JSX.Element;
|
|
48
|
+
/**
|
|
49
|
+
* A wrapping run of small items — permission names, role names, target ids.
|
|
50
|
+
*
|
|
51
|
+
* The whole reason several entities earn a list card at all: a `string[]` has no
|
|
52
|
+
* honest table cell. Truncated to "3 items" it says nothing; printed in full it
|
|
53
|
+
* destroys the column. Here it simply wraps.
|
|
54
|
+
*/
|
|
55
|
+
export declare function TagList({ items, empty, }: {
|
|
56
|
+
items: readonly string[];
|
|
57
|
+
/** What to show for an empty run — the consumer's sentence, no default. */
|
|
58
|
+
empty: string;
|
|
59
|
+
}): JSX.Element;
|
|
60
|
+
//# sourceMappingURL=list-card-parts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-card-parts.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/CardKit/list-card-parts.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAErE;;;;;;;;;;GAUG;AAEH,gFAAgF;AAChF,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,SAAS,CAAA;CAAE,GAAG,GAAG,CAAC,OAAO,CAOjG;AAED;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,aAAa,GAAG,GAAG,CAAC,OAAO,CAWjE;AAED;;;;;;;;;GASG;AACH,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,KAAK,GACN,EAAE;IACD,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,SAAS,CAAA;KAAE,CAAC;CAC5C,GAAG,GAAG,CAAC,OAAO,CAqCd;AAED,2EAA2E;AAC3E,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,GAAG,CAAC,OAAO,CAe9E;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,KAAK,GACN,EAAE;IACD,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,2EAA2E;IAC3E,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,GAAG,CAAC,OAAO,CAyBd"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { DropdownMenuItem } from '../../navigation/DropdownMenu';
|
|
2
|
+
import type { RowAction } from '../DataViews';
|
|
3
|
+
/**
|
|
4
|
+
* Adapt a list of {@link RowAction}s into single-row kebab items.
|
|
5
|
+
*
|
|
6
|
+
* Applies each action's `isVisible` guard, resolves its per-row `rowLabel`
|
|
7
|
+
* override, carries its colour, and fires `onSelect([row])` on click.
|
|
8
|
+
*
|
|
9
|
+
* The point is that ONE definition drives both surfaces. An entity that already
|
|
10
|
+
* declares its per-row actions as `RowAction[]` — because the table's multi-
|
|
11
|
+
* select menu needs them — gets the card's kebab from the same array through
|
|
12
|
+
* `renderRowMenu` / `renderCard`, with no second list to keep in step. Two
|
|
13
|
+
* lists is how a "Duplicar" that appears in the table and not on the card
|
|
14
|
+
* happens, and nothing reports it.
|
|
15
|
+
*/
|
|
16
|
+
export declare function rowActionsToMenuItems<T extends Record<string, unknown>>(actions: RowAction<T>[], row: T): DropdownMenuItem[];
|
|
17
|
+
//# sourceMappingURL=row-actions-to-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-actions-to-menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/CardKit/row-actions-to-menu.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C;;;;;;;;;;;;GAYG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACrE,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,EACvB,GAAG,EAAE,CAAC,GACL,gBAAgB,EAAE,CASpB"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { ConfirmActionCopy } from "../../../copy";
|
|
2
|
+
import type { JSX } from 'react';
|
|
3
|
+
/** The `{ ok, error }` envelope a write action answers with. */
|
|
4
|
+
export interface CardWriteResult {
|
|
5
|
+
ok: boolean;
|
|
6
|
+
error?: string;
|
|
7
|
+
}
|
|
8
|
+
interface RemoveConfirmOptions {
|
|
9
|
+
/** The destructive write. Called ONLY after the operator confirms. */
|
|
10
|
+
write: () => Promise<CardWriteResult>;
|
|
11
|
+
/** The popup's question. */
|
|
12
|
+
title: string;
|
|
13
|
+
/** The row being removed, echoed into the popup so it names a thing. */
|
|
14
|
+
entityName: string;
|
|
15
|
+
/**
|
|
16
|
+
* What happens, and whether it can be walked back. Say which — the difference
|
|
17
|
+
* between a soft delete a recycle bin recovers and one nothing recovers is
|
|
18
|
+
* the whole content of the decision being asked for.
|
|
19
|
+
*/
|
|
20
|
+
description: string;
|
|
21
|
+
/** The confirm button's VERB. Required, never defaulted. */
|
|
22
|
+
confirmText: string;
|
|
23
|
+
/** Used when the write fails without a message of its own. */
|
|
24
|
+
fallbackError: string;
|
|
25
|
+
/** The dialog's own words. REQUIRED — this package ships no default copy. */
|
|
26
|
+
copy: ConfirmActionCopy;
|
|
27
|
+
dataTestId: string;
|
|
28
|
+
}
|
|
29
|
+
interface RemoveConfirm {
|
|
30
|
+
/** Hand this to the menu item's `onClick`: it opens the popup, nothing more. */
|
|
31
|
+
request: () => void;
|
|
32
|
+
/** Render alongside the trigger. */
|
|
33
|
+
dialog: JSX.Element;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The confirm-before-removing wiring every card/row menu repeats, in one place.
|
|
37
|
+
*
|
|
38
|
+
* It closes the three gaps a hand-rolled version keeps re-opening: the write
|
|
39
|
+
* leaves ONLY on confirm; a refusal is surfaced twice — inside the popup, where
|
|
40
|
+
* the operator is still deciding, and in the shared snackbar behind it — and a
|
|
41
|
+
* failed attempt leaves the popup OPEN to be retried instead of vanishing over
|
|
42
|
+
* a delete that never happened.
|
|
43
|
+
*
|
|
44
|
+
* The difference from {@link useRowConfirm} is which surface it serves: this one
|
|
45
|
+
* is for a SELF-CONTAINED menu that already sits inside a
|
|
46
|
+
* `CardActionsProvider`, so it reads the refresh and the error channel from
|
|
47
|
+
* context and answers the `{ ok, error }` envelope those actions use.
|
|
48
|
+
* `useRowConfirm` is for a grid whose actions are declared as `RowAction[]` and
|
|
49
|
+
* act on a selection.
|
|
50
|
+
*
|
|
51
|
+
* ```tsx
|
|
52
|
+
* const remove = useRemoveConfirm({
|
|
53
|
+
* write: () => deleteCategory({ tenantSlug, id: row.id }),
|
|
54
|
+
* title: copy.deleteTitle,
|
|
55
|
+
* entityName: row.name,
|
|
56
|
+
* description: copy.deleteDescription,
|
|
57
|
+
* confirmText: copy.delete,
|
|
58
|
+
* fallbackError: copy.deleteFailed,
|
|
59
|
+
* dataTestId: 'category-delete-confirm',
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare function useRemoveConfirm({ write, title, entityName, description, confirmText, fallbackError, dataTestId, copy, }: RemoveConfirmOptions): RemoveConfirm;
|
|
64
|
+
export {};
|
|
65
|
+
//# sourceMappingURL=use-remove-confirm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-remove-confirm.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/CardKit/use-remove-confirm.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAMjC,gEAAgE;AAChE,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,OAAO,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,oBAAoB;IAC5B,sEAAsE;IACtE,KAAK,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC;IACtC,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,wEAAwE;IACxE,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,WAAW,EAAE,MAAM,CAAC;IACpB,8DAA8D;IAC9D,aAAa,EAAE,MAAM,CAAC;IACtB,6EAA6E;IAC7E,IAAI,EAAE,iBAAiB,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,aAAa;IACrB,gFAAgF;IAChF,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,oCAAoC;IACpC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,KAAK,EACL,UAAU,EACV,WAAW,EACX,WAAW,EACX,aAAa,EACb,UAAU,EACV,IAAI,GACL,EAAE,oBAAoB,GAAG,aAAa,CA6BtC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { type JSX } from 'react';
|
|
2
|
+
import type { ConfirmActionCopy } from '../../../copy';
|
|
3
|
+
/**
|
|
4
|
+
* How the popup should read for the rows about to be acted on.
|
|
5
|
+
*
|
|
6
|
+
* Built from the SELECTION rather than from a single row, because the same
|
|
7
|
+
* guard covers a bulk action: "Delete 4 categories?" and "Delete the category
|
|
8
|
+
* Drinks?" are the same question asked of a different-sized selection — and an
|
|
9
|
+
* operator who multi-selected by mistake is exactly who this popup is for.
|
|
10
|
+
*/
|
|
11
|
+
export interface RowConfirmCopy {
|
|
12
|
+
title: string;
|
|
13
|
+
description: string;
|
|
14
|
+
/** Echoed into the popup; omit for a multi-row selection the title covers. */
|
|
15
|
+
entityName?: string;
|
|
16
|
+
/** The VERB. Required, never defaulted — see {@link useRowConfirm}. */
|
|
17
|
+
confirmText: string;
|
|
18
|
+
/** Override where the word "cancel" would mean the ACTION itself. */
|
|
19
|
+
cancelText?: string;
|
|
20
|
+
/** Require typing this before the confirm enables — for the unrecoverable few. */
|
|
21
|
+
typeToConfirm?: string;
|
|
22
|
+
}
|
|
23
|
+
interface RowConfirmOptions<T> {
|
|
24
|
+
/**
|
|
25
|
+
* The destructive write, over the whole selection. Called ONLY after the
|
|
26
|
+
* operator confirms; throw (or reject) to keep the popup open carrying the
|
|
27
|
+
* message.
|
|
28
|
+
*/
|
|
29
|
+
write: (rows: T[]) => Promise<unknown>;
|
|
30
|
+
/** The wording, given the selection. */
|
|
31
|
+
describe: (rows: T[]) => RowConfirmCopy;
|
|
32
|
+
dataTestId: string;
|
|
33
|
+
/** Shown when `write` fails without a message of its own. */
|
|
34
|
+
errorText: string;
|
|
35
|
+
/** The dialog's own words. REQUIRED — this package ships no default copy. */
|
|
36
|
+
copy: ConfirmActionCopy;
|
|
37
|
+
}
|
|
38
|
+
export interface RowConfirm<T> {
|
|
39
|
+
/** Hand this a grid action's `rows`: it opens the popup and writes nothing. */
|
|
40
|
+
request: (rows: T[]) => void;
|
|
41
|
+
/** Render next to the grid. */
|
|
42
|
+
dialog: JSX.Element | null;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Confirmation for a grid's `RowAction` — the per-row kebab entry and the
|
|
46
|
+
* multi-select actions menu both, since they run the same handler.
|
|
47
|
+
*
|
|
48
|
+
* The SELECTION is held while the popup is open, so the write sees exactly the
|
|
49
|
+
* rows the operator was looking at when they were asked. Re-reading the grid's
|
|
50
|
+
* live selection at confirm time is the bug this shape avoids: the list can
|
|
51
|
+
* refresh underneath an open dialog.
|
|
52
|
+
*
|
|
53
|
+
* `confirmText` is required and comes from `describe`, with no default. A verb
|
|
54
|
+
* defaulted in the origin's language reads as finished to the next adopter
|
|
55
|
+
* right up until an operator sees it — and `ConfirmOptions` already refuses to
|
|
56
|
+
* default one for the same reason.
|
|
57
|
+
*/
|
|
58
|
+
export declare function useRowConfirm<T>({ write, describe, dataTestId, errorText, copy, }: RowConfirmOptions<T>): RowConfirm<T>;
|
|
59
|
+
export {};
|
|
60
|
+
//# sourceMappingURL=use-row-confirm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-row-confirm.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/CardKit/use-row-confirm.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAGvD;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uEAAuE;IACvE,WAAW,EAAE,MAAM,CAAC;IACpB,qEAAqE;IACrE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,UAAU,iBAAiB,CAAC,CAAC;IAC3B;;;;OAIG;IACH,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACvC,wCAAwC;IACxC,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,cAAc,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,SAAS,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,IAAI,EAAE,iBAAiB,CAAC;CACzB;AAED,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,+EAA+E;IAC/E,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IAC7B,+BAA+B;IAC/B,MAAM,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;CAC5B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAC/B,KAAK,EACL,QAAQ,EACR,UAAU,EACV,SAAS,EACT,IAAI,GACL,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAwBtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataViewsBoard.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/DataViewsBoard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataViewsBoard.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/DataViewsBoard.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE;;;;;;;GAOG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC5D,2DAA2D;IAC3D,OAAO,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC;IAC1B,+EAA+E;IAC/E,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACtC,sFAAsF;IACtF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAKD,qFAAqF;AACrF,UAAU,cAAc,CAAC,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,CAAC,EAAE,CAAC;CACX;AAQD;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACzD,IAAI,EAAE,CAAC,EAAE,EACT,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,GACpB,cAAc,CAAC,CAAC,CAAC,EAAE,CAkBrB;AAiJD,UAAU,mBAAmB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC7D,8EAA8E;IAC9E,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IACtB,QAAQ,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,CAAC;IACtC,UAAU,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,SAAS,EAAE,qBAAqB,KAAK,KAAK,CAAC,SAAS,CAAC;IAC1E,WAAW,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAClC,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAC1C,kFAAkF;IAClF,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAOD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAChE,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,UAAU,GACX,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA2C5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteViewDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/DeleteViewDialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeleteViewDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/DeleteViewDialog.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,OAAO,EACP,SAAS;AACT,mEAAmE;AACnE,WAA4B,EAC5B,YAAqB,GACtB,EAAE;IACD,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAiD3B"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import type { ConfirmActionCopy } from "../../../copy";
|
|
1
2
|
import type { SavedViewSummary } from "./data-views-types";
|
|
2
3
|
interface ManageViewsDialogProps {
|
|
4
|
+
/** The confirm dialog's words. REQUIRED — this package ships no default copy. */
|
|
5
|
+
confirmCopy: ConfirmActionCopy;
|
|
3
6
|
open: boolean;
|
|
4
7
|
onClose: () => void;
|
|
5
8
|
views: SavedViewSummary[];
|
|
@@ -7,6 +10,6 @@ interface ManageViewsDialogProps {
|
|
|
7
10
|
onDelete: (view: SavedViewSummary) => void;
|
|
8
11
|
testIdPrefix?: string;
|
|
9
12
|
}
|
|
10
|
-
export declare function ManageViewsDialog({ open, onClose, views, onEdit, onDelete, testIdPrefix, }: ManageViewsDialogProps): React.JSX.Element;
|
|
13
|
+
export declare function ManageViewsDialog({ open, onClose, views, onEdit, onDelete, testIdPrefix, confirmCopy, }: ManageViewsDialogProps): React.JSX.Element;
|
|
11
14
|
export {};
|
|
12
15
|
//# sourceMappingURL=ManageViewsDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ManageViewsDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/ManageViewsDialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ManageViewsDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/ManageViewsDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AASvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,UAAU,sBAAsB;IAC9B,iFAAiF;IACjF,WAAW,EAAE,iBAAiB,CAAC;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,MAAM,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACzC,QAAQ,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AA2FD,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,OAAO,EACP,KAAK,EACL,MAAM,EACN,QAAQ,EACR,YAAsB,EACtB,WAAW,GACZ,EAAE,sBAAsB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAgC5C"}
|
|
@@ -19,11 +19,6 @@ interface SaveViewModalProps<T extends Record<string, unknown>> {
|
|
|
19
19
|
onSave: (payload: SaveViewPayload) => Promise<void> | void;
|
|
20
20
|
testIdPrefix?: string;
|
|
21
21
|
}
|
|
22
|
-
/**
|
|
23
|
-
* The "Salvar visão" modal (FUT-89): captures a name + description and the pin /
|
|
24
|
-
* share / default flags, and previews the filters, visible columns, and sort the
|
|
25
|
-
* view will store. Used for both create and edit.
|
|
26
|
-
*/
|
|
27
22
|
export declare function SaveViewModal<T extends Record<string, unknown>>({ open, onClose, currentState, fields, columns, editing, onSave, testIdPrefix, }: SaveViewModalProps<T>): React.JSX.Element;
|
|
28
23
|
export {};
|
|
29
24
|
//# sourceMappingURL=SaveViewModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaveViewModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/SaveViewModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SaveViewModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/SaveViewModal.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,oBAAoB,CAAC;AAE5B,wFAAwF;AACxF,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,kBAAkB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC5D,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,kDAAkD;IAClD,YAAY,EAAE,aAAa,CAAC;IAC5B,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;IAC/B,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7B,0FAA0F;IAC1F,OAAO,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAClC,MAAM,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC3D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAgOD,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC/D,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,MAAM,EACN,OAAO,EACP,OAAO,EACP,MAAM,EACN,YAAqB,GACtB,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAgE3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-card.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/base-card.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAavC,OAAO,EAML,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAsB,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"base-card.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/base-card.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAavC,OAAO,EAML,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAsB,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG9E,MAAM,WAAW,aAAc,SAAQ,gBAAgB;IACrD,oEAAoE;IACpE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iFAAiF;IACjF,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kFAAkF;IAClF,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,kDAAkD;IAClD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,2EAA2E;IAC3E,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAkPD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA8EhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-list-card-gutters.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/base-list-card-gutters.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAc,WAAW,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"base-list-card-gutters.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/base-list-card-gutters.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAc,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAwB5D,8EAA8E;AAC9E,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,OAAO,EACP,MAAM,GACP,EAAE;IACD,IAAI,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAkB3B;AAED,8EAA8E;AAC9E,wBAAgB,UAAU,CAAC,EACzB,UAAU,EACV,QAAQ,EACR,OAAO,EACP,cAAc,EACd,MAAM,GACP,EAAE;IACD,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAsB3B;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,YAAY,CAAC,EAC3B,UAAU,EACV,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,MAAM,GACP,EAAE;IACD,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,mEAAmE;IACnE,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAqC3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-views-bar-controls.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/data-views-bar-controls.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-views-bar-controls.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/data-views-bar-controls.tsx"],"names":[],"mappings":"AAmBA;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,EAC9B,UAAU,EACV,OAAO,EACP,YAAY,GACb,EAAE;IACD,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAkCpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,OAAO,EACP,YAAY,GACb,EAAE;IACD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA2BpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-views-category-pill.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/data-views-category-pill.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-views-category-pill.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/data-views-category-pill.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAgB,MAAM,oBAAoB,CAAC;AAE1E;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAC1B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,SAAS,MAAM,EAAE,EACzB,KAAK,EAAE,SAAS,MAAM,EAAE,EACxB,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,GACvE,IAAI,CASN;AASD,UAAU,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC1D,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;IAC3B,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACzE,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC7D,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,MAAe,GAChB,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAiCzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-views-columns-tab.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/data-views-columns-tab.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-views-columns-tab.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/data-views-columns-tab.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAI3D,UAAU,eAAe;IACvB,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,0EAA0E;IAC1E,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB;AAYD;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,KAAK,EACL,cAAc,EACd,QAAQ,EACR,SAAS,EACT,SAAS,EACT,OAAO,EACP,YAAY,GACb,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAsDrC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type JSX, type ReactNode } from "react";
|
|
2
|
+
import type { DataViewsCopy } from "./data-views-copy";
|
|
3
|
+
export declare function DataViewsCopyProvider({ copy, children, }: {
|
|
4
|
+
copy: DataViewsCopy;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}): JSX.Element;
|
|
7
|
+
/**
|
|
8
|
+
* The copy in scope.
|
|
9
|
+
*
|
|
10
|
+
* THROWS outside a provider rather than falling back. There is no meaningful
|
|
11
|
+
* empty answer: a saved-views dialog with no words is broken, and any default
|
|
12
|
+
* would be the origin host's Portuguese — which is the exact thing this config
|
|
13
|
+
* exists to stop being silent. Failing at the first render names the wiring
|
|
14
|
+
* mistake; blank buttons would hide it.
|
|
15
|
+
*/
|
|
16
|
+
export declare function useDataViewsCopy(): DataViewsCopy;
|
|
17
|
+
//# sourceMappingURL=data-views-copy-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-views-copy-context.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/data-views-copy-context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,GAAG,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAYvD,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,GAAG,CAAC,OAAO,CAEd;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,IAAI,aAAa,CAShD"}
|