@alfadocs/ui-kit 1.118.0 → 1.120.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/dist/_chunks/{address-autocomplete-zLygkxFc.js → address-autocomplete-D2uNpxcE.js} +2 -2
- package/dist/_chunks/{address-fields-Dl1ALKhP.js → address-fields-BU65pA-V.js} +2 -2
- package/dist/_chunks/bill-line-table-DUMEHnQ4.js +1754 -0
- package/dist/_chunks/{calendar-appointment-editor-dialog-BEmBcb61.js → calendar-appointment-editor-dialog-rw02sXGw.js} +4 -4
- package/dist/_chunks/{compact-editor-fields-6sTWRLtf.js → compact-editor-fields-cP6yh7xv.js} +3 -3
- package/dist/_chunks/counts-BXtzNv_G.js +92 -0
- package/dist/_chunks/{data-grid-DiBSbN2Y.js → data-grid-Bbf8t4z3.js} +2 -2
- package/dist/_chunks/{default-tabs-CD285u0C.js → default-tabs-Cxkw1Ws0.js} +332 -368
- package/dist/_chunks/{document-scanner-5p-Uu8dy.js → document-scanner-CETscDea.js} +2 -2
- package/dist/_chunks/file-code-Cf-_gSzd.js +23 -0
- package/dist/_chunks/{file-manager-CV1_GtjC.js → file-manager-DNq-sEsy.js} +2 -2
- package/dist/_chunks/{file-upload-CxjCs7TX.js → file-upload-DQc0LsBM.js} +385 -311
- package/dist/_chunks/invoice-upload-list-CsFsRgbt.js +952 -0
- package/dist/_chunks/map-view-h6ngp2xi.js +1578 -0
- package/dist/_chunks/maps-MpMxTBov.js +63 -0
- package/dist/_chunks/maps-core-gate-DKx96CC_.js +1492 -0
- package/dist/_chunks/{notes-panel-CHR-Jv6N.js → notes-panel-BOwlTz2-.js} +2 -2
- package/dist/_chunks/package-plus-CTecQK3x.js +25 -0
- package/dist/_chunks/{practice-results-b3uchdBn.js → practice-results-yCresv86.js} +759 -750
- package/dist/_chunks/{public-footer-CB7ruuLI.js → public-footer-C8UIzqLJ.js} +326 -243
- package/dist/_chunks/{radiograph-panel.agent-9jwXlOXB.js → radiograph-panel.agent-Dcv16n7u.js} +2 -2
- package/dist/_chunks/{reserved.agent-V2Eqoabh.js → reserved.agent-DRSZ8UcL.js} +2 -2
- package/dist/_chunks/{rich-text-editor-CMPA5Wgy.js → rich-text-editor-BLEdXJ0l.js} +2 -2
- package/dist/_chunks/{signed-out-frame-bh7fn_Px.js → signed-out-frame-fUf7tqs3.js} +2 -2
- package/dist/_chunks/{task-editor-WdDCqbIL.js → task-editor-Czcx9B-3.js} +2 -2
- package/dist/_chunks/{toolbar-z8vXnpXz.js → toolbar-DoKcoE2q.js} +2 -2
- package/dist/_chunks/types-BrJRsnSG.js +291 -0
- package/dist/_chunks/warehouse-load-summary-D88M4Ii7.js +255 -0
- package/dist/agent-catalog.json +360 -14
- package/dist/agent-i18n/en.json +31 -2
- package/dist/browser-support.js +1 -1
- package/dist/components/_shared/warehouse-load/counts.d.ts +82 -0
- package/dist/components/_shared/warehouse-load/index.d.ts +4 -0
- package/dist/components/_shared/warehouse-load/maps.d.ts +67 -0
- package/dist/components/_shared/warehouse-load/types.d.ts +18 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/bill-line-table/bill-line-table.columns.d.ts +2 -0
- package/dist/components/bill-line-table/bill-line-table.header.d.ts +7 -0
- package/dist/components/bill-line-table/bill-line-table.model.d.ts +10 -1
- package/dist/components/bill-line-table/bill-line-table.types.d.ts +66 -1
- package/dist/components/bill-line-table/bill-line-table.variants.d.ts +12 -0
- package/dist/components/bill-line-table/index.d.ts +2 -2
- package/dist/components/bill-line-table/index.js +10 -8
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/data-grid/data-grid.variants.d.ts +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/file-upload/file-upload.d.ts +30 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/flag/flag-view.d.ts +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/invoice-upload/index.d.ts +5 -0
- package/dist/components/invoice-upload/index.js +7 -0
- package/dist/components/invoice-upload/invoice-upload.agent.d.ts +4 -0
- package/dist/components/invoice-upload/invoice-upload.d.ts +3 -0
- package/dist/components/invoice-upload/types.d.ts +72 -0
- package/dist/components/invoice-upload-list/cells.d.ts +36 -0
- package/dist/components/invoice-upload-list/columns.d.ts +14 -0
- package/dist/components/invoice-upload-list/handle.d.ts +18 -0
- package/dist/components/invoice-upload-list/index.d.ts +5 -0
- package/dist/components/invoice-upload-list/index.js +10 -0
- package/dist/components/invoice-upload-list/invoice-upload-list.agent.d.ts +4 -0
- package/dist/components/invoice-upload-list/invoice-upload-list.d.ts +10 -0
- package/dist/components/invoice-upload-list/invoice-upload-list.variants.d.ts +28 -0
- package/dist/components/invoice-upload-list/model.d.ts +40 -0
- package/dist/components/invoice-upload-list/types.d.ts +154 -0
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view-pin-geometry.d.ts +39 -0
- package/dist/components/map-view/map-view-pin.d.ts +15 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +8 -0
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +24 -0
- package/dist/components/public-header/public-header.d.ts +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/warehouse-load-summary/index.d.ts +4 -0
- package/dist/components/warehouse-load-summary/index.js +6 -0
- package/dist/components/warehouse-load-summary/model.d.ts +8 -0
- package/dist/components/warehouse-load-summary/types.d.ts +50 -0
- package/dist/components/warehouse-load-summary/warehouse-load-summary.agent.d.ts +4 -0
- package/dist/components/warehouse-load-summary/warehouse-load-summary.d.ts +7 -0
- package/dist/core.css +1 -1
- package/dist/i18n/locales/ar.d.ts +203 -0
- package/dist/i18n/locales/ar.js +197 -4
- package/dist/i18n/locales/de.d.ts +203 -0
- package/dist/i18n/locales/de.js +201 -4
- package/dist/i18n/locales/el.d.ts +203 -0
- package/dist/i18n/locales/el.js +201 -4
- package/dist/i18n/locales/en.d.ts +203 -0
- package/dist/i18n/locales/en.js +203 -0
- package/dist/i18n/locales/es.d.ts +203 -0
- package/dist/i18n/locales/es.js +199 -4
- package/dist/i18n/locales/fr.d.ts +203 -0
- package/dist/i18n/locales/fr.js +199 -4
- package/dist/i18n/locales/hi.d.ts +203 -0
- package/dist/i18n/locales/hi.js +197 -4
- package/dist/i18n/locales/it.d.ts +203 -0
- package/dist/i18n/locales/it.js +197 -4
- package/dist/i18n/locales/ja.d.ts +203 -0
- package/dist/i18n/locales/ja.js +197 -4
- package/dist/i18n/locales/nl.d.ts +203 -0
- package/dist/i18n/locales/nl.js +197 -4
- package/dist/i18n/locales/pl.d.ts +203 -0
- package/dist/i18n/locales/pl.js +197 -4
- package/dist/i18n/locales/pt.d.ts +203 -0
- package/dist/i18n/locales/pt.js +199 -4
- package/dist/i18n/locales/ro.d.ts +203 -0
- package/dist/i18n/locales/ro.js +197 -4
- package/dist/i18n/locales/ru.d.ts +203 -0
- package/dist/i18n/locales/ru.js +197 -4
- package/dist/i18n/locales/sq.d.ts +203 -0
- package/dist/i18n/locales/sq.js +199 -4
- package/dist/i18n/locales/sv.d.ts +203 -0
- package/dist/i18n/locales/sv.js +197 -4
- package/dist/i18n/locales/tr.d.ts +203 -0
- package/dist/i18n/locales/tr.js +197 -4
- package/dist/i18n/locales/zh.d.ts +203 -0
- package/dist/i18n/locales/zh.js +197 -4
- package/dist/index.js +1190 -1174
- package/dist/locales/ar.json +207 -4
- package/dist/locales/de.json +207 -4
- package/dist/locales/el.json +207 -4
- package/dist/locales/en.json +203 -0
- package/dist/locales/es.json +207 -4
- package/dist/locales/fr.json +207 -4
- package/dist/locales/hi.json +207 -4
- package/dist/locales/it.json +207 -4
- package/dist/locales/ja.json +207 -4
- package/dist/locales/nl.json +207 -4
- package/dist/locales/pl.json +207 -4
- package/dist/locales/pt.json +207 -4
- package/dist/locales/ro.json +207 -4
- package/dist/locales/ru.json +207 -4
- package/dist/locales/sq.json +207 -4
- package/dist/locales/sv.json +207 -4
- package/dist/locales/tr.json +207 -4
- package/dist/locales/zh.json +207 -4
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +16 -1
- package/dist/_chunks/bill-line-table-vCnVo7_a.js +0 -1565
- package/dist/_chunks/map-view-CHeGd94F.js +0 -1443
- package/dist/_chunks/maps-core-gate-C4dyo1ic.js +0 -1571
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/** Where one chosen file stands. The host owns it; InvoiceUpload only shows it. */
|
|
3
|
+
export type InvoiceUploadFileState = 'waiting' | 'reading' | 'read' | 'error';
|
|
4
|
+
/** One row of the host-controlled file list. */
|
|
5
|
+
export interface InvoiceUploadFile {
|
|
6
|
+
/** The id InvoiceUpload emitted for this file in `onFilesChosen`. */
|
|
7
|
+
id: string;
|
|
8
|
+
/** File name as chosen. Shown, never parsed. */
|
|
9
|
+
name: string;
|
|
10
|
+
/** Size in bytes. */
|
|
11
|
+
size: number;
|
|
12
|
+
state: InvoiceUploadFileState;
|
|
13
|
+
/** The platform's translated message for state `error`. Host text: shown
|
|
14
|
+
* as given, also in privacy mode. */
|
|
15
|
+
error?: string;
|
|
16
|
+
/** Invoices found in the file, once `read`. */
|
|
17
|
+
invoiceCount?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare const INVOICE_UPLOAD_REJECTION_REASONS: readonly ["file-invalid-type", "file-too-large", "too-many-files", "total-too-large"];
|
|
20
|
+
export type InvoiceUploadRejectionReason = (typeof INVOICE_UPLOAD_REJECTION_REASONS)[number];
|
|
21
|
+
/** A file the limits refused. Name and size only, never the file. */
|
|
22
|
+
export interface InvoiceUploadRejection {
|
|
23
|
+
name: string;
|
|
24
|
+
size: number;
|
|
25
|
+
reason: InvoiceUploadRejectionReason;
|
|
26
|
+
}
|
|
27
|
+
export type InvoiceUploadMode = 'single' | 'multiple';
|
|
28
|
+
export interface InvoiceUploadProps {
|
|
29
|
+
/** Opaque instance id, emitted as `data-component-id` for the agent registry. */
|
|
30
|
+
id?: string;
|
|
31
|
+
/** `single` (default) replaces the old file; `multiple` appends. */
|
|
32
|
+
mode?: InvoiceUploadMode;
|
|
33
|
+
/** Accepted extensions. Default `['.xml', '.p7m']`. */
|
|
34
|
+
accept?: readonly string[];
|
|
35
|
+
/** Largest size of one file, in bytes. */
|
|
36
|
+
maxFileSize?: number;
|
|
37
|
+
/** Most files in the list (multiple mode; single mode is always 1). */
|
|
38
|
+
maxFiles?: number;
|
|
39
|
+
/** Largest total size of the listed files, in bytes. */
|
|
40
|
+
maxTotalSize?: number;
|
|
41
|
+
/** The controlled list. The host owns every state. */
|
|
42
|
+
files?: readonly InvoiceUploadFile[];
|
|
43
|
+
/** New files, each with a fresh id (unique even for same-name files).
|
|
44
|
+
* The host reads them and updates `files`. */
|
|
45
|
+
onFilesChosen?: (files: Array<{
|
|
46
|
+
id: string;
|
|
47
|
+
file: File;
|
|
48
|
+
}>) => void;
|
|
49
|
+
onRemove?: (id: string) => void;
|
|
50
|
+
/** Files the limits refused. Over the file count or the total size, the
|
|
51
|
+
* whole drop is refused; by type or size, only the offending files. */
|
|
52
|
+
onReject?: (rejections: InvoiceUploadRejection[]) => void;
|
|
53
|
+
disabled?: boolean;
|
|
54
|
+
/** Why it is disabled; shown under the dropzone. */
|
|
55
|
+
disabledReason?: string;
|
|
56
|
+
/** The practice has no warehouse module: shown instead of the dropzone. */
|
|
57
|
+
upsell?: ReactNode;
|
|
58
|
+
className?: string;
|
|
59
|
+
}
|
|
60
|
+
/** Curated agent handle: ids and metadata, never file content. Agents
|
|
61
|
+
* cannot open the native picker. */
|
|
62
|
+
export interface InvoiceUploadHandle {
|
|
63
|
+
getFiles: () => Array<{
|
|
64
|
+
id: string;
|
|
65
|
+
name: string;
|
|
66
|
+
size: number;
|
|
67
|
+
state: InvoiceUploadFileState;
|
|
68
|
+
}>;
|
|
69
|
+
removeFile: (id: string) => void;
|
|
70
|
+
clear: () => void;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { UploadedInvoice } from './types';
|
|
2
|
+
export declare function FileNameCell({ invoice }: {
|
|
3
|
+
invoice: UploadedInvoice;
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
/** Never rendered for a masked cell: under privacy mode DataGrid shows its
|
|
6
|
+
* mask instead. */
|
|
7
|
+
export declare function SupplierCell({ invoice }: {
|
|
8
|
+
invoice: UploadedInvoice;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function InvoiceNumberCell({ invoice }: {
|
|
11
|
+
invoice: UploadedInvoice;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function DateCell({ invoice }: {
|
|
14
|
+
invoice: UploadedInvoice;
|
|
15
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare function LineCountCell({ invoice }: {
|
|
17
|
+
invoice: UploadedInvoice;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
/** Money on its exact decimal path. Text that does not parse shows as
|
|
20
|
+
* written, never as a rounded figure. */
|
|
21
|
+
export declare function TotalCell({ invoice }: {
|
|
22
|
+
invoice: UploadedInvoice;
|
|
23
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export interface StatusCellProps {
|
|
25
|
+
invoice: UploadedInvoice;
|
|
26
|
+
loading: boolean;
|
|
27
|
+
privacyMode: boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The status badge. An error row shows its message as a second line and
|
|
31
|
+
* blocks nothing else. A loading row shows a spinner with its words in
|
|
32
|
+
* place of the badge. Under privacy mode a person-supplier row never shows
|
|
33
|
+
* the host's error text (it may name the person); kit copy stands in.
|
|
34
|
+
*/
|
|
35
|
+
export declare function StatusCell({ invoice, loading, privacyMode }: StatusCellProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
//# sourceMappingURL=cells.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type MutableRefObject } from 'react';
|
|
2
|
+
import type { DataGridColumn } from '../data-grid/types';
|
|
3
|
+
import { type RowActionDef } from '../row-actions/row-actions';
|
|
4
|
+
import { type InvoiceUploadListCallbacks } from './model';
|
|
5
|
+
import type { UploadedInvoice } from './types';
|
|
6
|
+
/** The Review row action: one inline button, off on an error row. */
|
|
7
|
+
export declare function useInvoiceRowActions(callbacksRef: MutableRefObject<InvoiceUploadListCallbacks>, available: boolean): RowActionDef<UploadedInvoice>[];
|
|
8
|
+
export interface UseInvoiceUploadListColumnsOptions {
|
|
9
|
+
privacyMode: boolean;
|
|
10
|
+
loadingIds: ReadonlySet<string>;
|
|
11
|
+
rowActions: readonly RowActionDef<UploadedInvoice>[];
|
|
12
|
+
}
|
|
13
|
+
export declare function useInvoiceUploadListColumns({ privacyMode, loadingIds, rowActions, }: UseInvoiceUploadListColumnsOptions): DataGridColumn<UploadedInvoice>[];
|
|
14
|
+
//# sourceMappingURL=columns.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { DataGridHandle } from '../data-grid/types';
|
|
2
|
+
import { type InvoiceUploadListCallbacks } from './model';
|
|
3
|
+
import { type InvoiceUploadListFeatureInfo, type InvoiceUploadListHandle, type UploadedInvoice } from './types';
|
|
4
|
+
/** What the handle reads from the last render. */
|
|
5
|
+
export interface InvoiceUploadListLive {
|
|
6
|
+
invoices: readonly UploadedInvoice[];
|
|
7
|
+
callbacks: InvoiceUploadListCallbacks;
|
|
8
|
+
loadingIds: ReadonlySet<string>;
|
|
9
|
+
privacyMode: boolean;
|
|
10
|
+
status: InvoiceUploadListFeatureInfo['status'];
|
|
11
|
+
selectable: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function createInvoiceUploadListHandle(gridRef: {
|
|
14
|
+
readonly current: DataGridHandle | null;
|
|
15
|
+
}, liveRef: {
|
|
16
|
+
readonly current: InvoiceUploadListLive;
|
|
17
|
+
}): InvoiceUploadListHandle;
|
|
18
|
+
//# sourceMappingURL=handle.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { InvoiceUploadList } from './invoice-upload-list';
|
|
2
|
+
export { invoiceUploadListAgent } from './invoice-upload-list.agent';
|
|
3
|
+
export { INVOICE_DOCUMENT_KINDS, INVOICE_SUPPLIER_KINDS, INVOICE_UPLOAD_LIST_COLUMNS, INVOICE_UPLOAD_LIST_SORT_COLUMNS, } from './types';
|
|
4
|
+
export type { InvoiceDocumentKind, InvoiceSupplierKind, InvoiceUploadListColumnId, InvoiceUploadListColumnInfo, InvoiceUploadListError, InvoiceUploadListFeatureInfo, InvoiceUploadListHandle, InvoiceUploadListProps, InvoiceUploadListSortColumn, InvoiceUploadListSortEntry, InvoiceUploadReviewDisabledReason, InvoiceUploadRowSummary, UploadedInvoice, WarehouseInvoiceStatus, } from './types';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { I as O, a, b as L, c as N, d as s, i as S } from "../../_chunks/invoice-upload-list-CsFsRgbt.js";
|
|
2
|
+
export {
|
|
3
|
+
O as INVOICE_DOCUMENT_KINDS,
|
|
4
|
+
a as INVOICE_SUPPLIER_KINDS,
|
|
5
|
+
L as INVOICE_UPLOAD_LIST_COLUMNS,
|
|
6
|
+
N as INVOICE_UPLOAD_LIST_SORT_COLUMNS,
|
|
7
|
+
s as InvoiceUploadList,
|
|
8
|
+
S as invoiceUploadListAgent
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { InvoiceUploadListHandle, InvoiceUploadListProps } from './types';
|
|
2
|
+
export type { InvoiceUploadListProps, InvoiceUploadListHandle } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* The uploaded invoices of a warehouse load. Pass `invoices` with the
|
|
5
|
+
* status the platform worked out for each; react to `onReview`,
|
|
6
|
+
* `onLoadAllReady` and `onLoadSelected`. `ref` gives the curated
|
|
7
|
+
* `InvoiceUploadListHandle`.
|
|
8
|
+
*/
|
|
9
|
+
export declare const InvoiceUploadList: import("react").ForwardRefExoticComponent<InvoiceUploadListProps & import("react").RefAttributes<InvoiceUploadListHandle>>;
|
|
10
|
+
//# sourceMappingURL=invoice-upload-list.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/** The root around the DataGrid frame and the count footer. With
|
|
2
|
+
* `height: 'fill'` it is a flex column that fills its flex parent, so the
|
|
3
|
+
* grid becomes the bounded scroll container (virtualised rows). */
|
|
4
|
+
export declare const invoiceUploadListVariants: (props?: ({
|
|
5
|
+
height?: "auto" | "fill" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
/** Lines stacked in one cell (a value and its muted second line). */
|
|
8
|
+
export declare const cellStackVariants: (props?: ({
|
|
9
|
+
align?: "end" | "start" | null | undefined;
|
|
10
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
+
/** A muted second line ("Credit note"). */
|
|
12
|
+
export declare const secondaryTextVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
13
|
+
/** The error message under the Error badge. It wraps: a platform message
|
|
14
|
+
* is a sentence, not a word. */
|
|
15
|
+
export declare const errorTextVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
16
|
+
/** One line of text that truncates; the full text stays in the DOM. */
|
|
17
|
+
export declare const truncatedTextVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
18
|
+
/** The file name: the row header. */
|
|
19
|
+
export declare const fileNameVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
20
|
+
/** Digits that line up. */
|
|
21
|
+
export declare const figureVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
22
|
+
/** A spinner beside its words. */
|
|
23
|
+
export declare const loadingGroupVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
24
|
+
/** The decorative spinner of a loading row. */
|
|
25
|
+
export declare const loadingSpinnerVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
26
|
+
/** The count footer under the grid: counts per status. */
|
|
27
|
+
export declare const countsFooterVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
28
|
+
//# sourceMappingURL=invoice-upload-list.variants.d.ts.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { ScaledDecimal } from '../_shared/decimal';
|
|
2
|
+
import { type WarehouseInvoiceStatus } from '../_shared/warehouse-load';
|
|
3
|
+
import type { InvoiceUploadRowSummary, UploadedInvoice, InvoiceUploadListSortEntry, InvoiceUploadListSortColumn } from './types';
|
|
4
|
+
export declare const INVOICE_UPLOAD_LIST_DEFAULT_ID = "warehouse-invoice-upload-list";
|
|
5
|
+
/** Reading order of the statuses: work to do first. Used to sort. */
|
|
6
|
+
export declare const INVOICE_STATUS_RANK: Record<WarehouseInvoiceStatus, number>;
|
|
7
|
+
/** Amounts here arrive as decimal text, signed (a credit note is negative),
|
|
8
|
+
* up to 11 integer digits and 8 decimals. `null` when it does not parse. */
|
|
9
|
+
export declare function readInvoiceTotal(total: string | null): ScaledDecimal | null;
|
|
10
|
+
/** Is this supplier masked right now? Only people, only in privacy mode. */
|
|
11
|
+
export declare function isSupplierMasked(invoice: Pick<UploadedInvoice, 'supplier'>, privacyMode: boolean): boolean;
|
|
12
|
+
export declare function isPersonSupplier(invoice: UploadedInvoice): boolean;
|
|
13
|
+
/** A row can be ticked when it is ready and not being loaded. */
|
|
14
|
+
export declare function isInvoiceSelectable(invoice: UploadedInvoice, loading: ReadonlySet<string>): boolean;
|
|
15
|
+
/** Ids a "load all ready" sends: ready and not already loading, in the
|
|
16
|
+
* order given. */
|
|
17
|
+
export declare function readyInvoiceIds(invoices: readonly UploadedInvoice[], loading: ReadonlySet<string>): string[];
|
|
18
|
+
export declare function countByStatus(invoices: readonly UploadedInvoice[]): Record<WarehouseInvoiceStatus, number>;
|
|
19
|
+
/** Row name for row-scoped controls: the file, then the invoice number
|
|
20
|
+
* when the file holds more than one. Not personal data. */
|
|
21
|
+
export declare function invoiceRowLabel(invoice: UploadedInvoice): string;
|
|
22
|
+
/** The agent-safe projection of one invoice. */
|
|
23
|
+
export declare function summariseInvoice(invoice: UploadedInvoice, privacyMode: boolean, loading: ReadonlySet<string>, canReview: boolean): InvoiceUploadRowSummary;
|
|
24
|
+
/** A calendar day `YYYY-MM-DD` in the UI language, medium style, read and
|
|
25
|
+
* formatted in UTC so it never moves with the time zone. Other text is
|
|
26
|
+
* returned as given. */
|
|
27
|
+
export declare function formatInvoiceDay(day: string, language: string): string;
|
|
28
|
+
export declare function isInvoiceSortColumn(id: string): id is InvoiceUploadListSortColumn;
|
|
29
|
+
/** DataGrid sort entries to the list's own, dropping other columns. */
|
|
30
|
+
export declare function toInvoiceSortEntries(entries: ReadonlyArray<{
|
|
31
|
+
colId: string;
|
|
32
|
+
sort: 'asc' | 'desc';
|
|
33
|
+
}>): InvoiceUploadListSortEntry[];
|
|
34
|
+
/** Callbacks the handle and the UI share. */
|
|
35
|
+
export interface InvoiceUploadListCallbacks {
|
|
36
|
+
onReview?: (invoice: UploadedInvoice) => void;
|
|
37
|
+
onLoadAllReady?: (ids: string[]) => void;
|
|
38
|
+
onLoadSelected?: (ids: string[]) => void;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=model.d.ts.map
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import type { DecimalString } from '../_shared/decimal';
|
|
2
|
+
import type { WarehouseBadgeVariant, WarehouseInvoiceStatus } from '../_shared/warehouse-load';
|
|
3
|
+
export type { DecimalString, WarehouseBadgeVariant, WarehouseInvoiceStatus };
|
|
4
|
+
/** Column ids, in display order. `select` is the grid's own checkbox. */
|
|
5
|
+
export declare const INVOICE_UPLOAD_LIST_COLUMNS: readonly ["fileName", "supplier", "invoiceNumber", "date", "lineCount", "total", "status", "actions"];
|
|
6
|
+
export type InvoiceUploadListColumnId = (typeof INVOICE_UPLOAD_LIST_COLUMNS)[number];
|
|
7
|
+
/** Columns the list sorts by. */
|
|
8
|
+
export declare const INVOICE_UPLOAD_LIST_SORT_COLUMNS: readonly ["fileName", "supplier", "invoiceNumber", "date", "lineCount", "total", "status"];
|
|
9
|
+
export type InvoiceUploadListSortColumn = (typeof INVOICE_UPLOAD_LIST_SORT_COLUMNS)[number];
|
|
10
|
+
export declare const INVOICE_SUPPLIER_KINDS: readonly ["company", "person"];
|
|
11
|
+
export type InvoiceSupplierKind = (typeof INVOICE_SUPPLIER_KINDS)[number];
|
|
12
|
+
export declare const INVOICE_DOCUMENT_KINDS: readonly ["invoice", "creditNote"];
|
|
13
|
+
export type InvoiceDocumentKind = (typeof INVOICE_DOCUMENT_KINDS)[number];
|
|
14
|
+
/** One invoice body. A file may hold several, so a file name can repeat. */
|
|
15
|
+
export interface UploadedInvoice {
|
|
16
|
+
/** The only row value in the DOM (`data-row-id`). Unique per invoice. */
|
|
17
|
+
id: string;
|
|
18
|
+
/** The `InvoiceUpload` file id this invoice came from. */
|
|
19
|
+
fileId: string;
|
|
20
|
+
/** File name as chosen; shown, never parsed. Names the row. */
|
|
21
|
+
fileName: string;
|
|
22
|
+
/** Who issued it. `person` is masked under privacy mode; a company
|
|
23
|
+
* stays visible. `null` when the platform found no supplier. */
|
|
24
|
+
supplier: {
|
|
25
|
+
name: string;
|
|
26
|
+
kind: InvoiceSupplierKind;
|
|
27
|
+
} | null;
|
|
28
|
+
invoiceNumber: string | null;
|
|
29
|
+
/** Calendar day `YYYY-MM-DD` of this invoice body; shown in UTC. */
|
|
30
|
+
date: string | null;
|
|
31
|
+
lineCount: number | null;
|
|
32
|
+
/** FatturaPA `ImportoTotaleDocumento` as decimal text ("1234.50"). */
|
|
33
|
+
total: DecimalString | null;
|
|
34
|
+
/** ISO 4217 code for `total`. */
|
|
35
|
+
currency: string;
|
|
36
|
+
/** Default `invoice`. A credit note shows a muted "Credit note" line. */
|
|
37
|
+
documentKind?: InvoiceDocumentKind;
|
|
38
|
+
status: WarehouseInvoiceStatus;
|
|
39
|
+
/** Platform text for status `error`, already translated. It is host
|
|
40
|
+
* text: under privacy mode it gives way to kit copy on a row whose
|
|
41
|
+
* supplier is a person. */
|
|
42
|
+
error?: string;
|
|
43
|
+
}
|
|
44
|
+
/** Error panel copy and retry for `status="error"`. */
|
|
45
|
+
export interface InvoiceUploadListError {
|
|
46
|
+
title?: string;
|
|
47
|
+
description?: string;
|
|
48
|
+
onRetry?: () => void;
|
|
49
|
+
}
|
|
50
|
+
export interface InvoiceUploadListProps {
|
|
51
|
+
/** Instance id: the saved column state key and `data-component-id`. */
|
|
52
|
+
id?: string;
|
|
53
|
+
invoices: readonly UploadedInvoice[];
|
|
54
|
+
/** `loading` with no invoices shows skeleton rows. Default `ready`. */
|
|
55
|
+
status?: 'ready' | 'loading' | 'error';
|
|
56
|
+
error?: InvoiceUploadListError;
|
|
57
|
+
/** Ids of the selected invoices. Only `readyToLoad` rows are selectable.
|
|
58
|
+
* Checkboxes show when any selection prop or `onLoadSelected` is set. */
|
|
59
|
+
selection?: readonly string[];
|
|
60
|
+
defaultSelection?: readonly string[];
|
|
61
|
+
onSelectionChange?: (ids: string[]) => void;
|
|
62
|
+
/** Row action "Review". Disabled, with a reason, on error rows. */
|
|
63
|
+
onReview?: (invoice: UploadedInvoice) => void;
|
|
64
|
+
/** Toolbar "Load all ready (N)": every `readyToLoad` invoice that is not
|
|
65
|
+
* already loading, whatever the search or sort. */
|
|
66
|
+
onLoadAllReady?: (ids: string[]) => void;
|
|
67
|
+
/** Bulk action on the selection. */
|
|
68
|
+
onLoadSelected?: (ids: string[]) => void;
|
|
69
|
+
/** Invoices being loaded now: a spinner, and not selectable. */
|
|
70
|
+
loadingIds?: readonly string[];
|
|
71
|
+
/** Hides the supplier of every `person`; companies stay visible. */
|
|
72
|
+
privacyMode?: boolean;
|
|
73
|
+
/** Table caption. Default "Uploaded invoices". */
|
|
74
|
+
caption?: string;
|
|
75
|
+
density?: 'default' | 'compact';
|
|
76
|
+
/** `fill` makes the grid the bounded scroll container of a flex column
|
|
77
|
+
* parent (200 invoices virtualise). Default `auto`. */
|
|
78
|
+
height?: 'auto' | 'fill';
|
|
79
|
+
persistColumnState?: boolean;
|
|
80
|
+
className?: string;
|
|
81
|
+
'aria-label'?: string;
|
|
82
|
+
'aria-labelledby'?: string;
|
|
83
|
+
'aria-describedby'?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface InvoiceUploadListSortEntry {
|
|
86
|
+
colId: InvoiceUploadListSortColumn;
|
|
87
|
+
sort: 'asc' | 'desc';
|
|
88
|
+
}
|
|
89
|
+
export interface InvoiceUploadListFeatureInfo {
|
|
90
|
+
privacyMode: boolean;
|
|
91
|
+
status: 'ready' | 'loading' | 'error';
|
|
92
|
+
selectable: boolean;
|
|
93
|
+
readyCount: number;
|
|
94
|
+
}
|
|
95
|
+
export interface InvoiceUploadListColumnInfo {
|
|
96
|
+
id: InvoiceUploadListColumnId;
|
|
97
|
+
label: string;
|
|
98
|
+
visible: boolean;
|
|
99
|
+
canHide: boolean;
|
|
100
|
+
sortable: boolean;
|
|
101
|
+
masked: boolean;
|
|
102
|
+
}
|
|
103
|
+
/** Why Review is off. `error`: the file could not be read. */
|
|
104
|
+
export type InvoiceUploadReviewDisabledReason = 'error';
|
|
105
|
+
/** The agent-safe projection of one row: ids, enums and counts. A supplier
|
|
106
|
+
* name is given only when it is not masked; a host error text is never
|
|
107
|
+
* given (`hasError` instead). */
|
|
108
|
+
export interface InvoiceUploadRowSummary {
|
|
109
|
+
id: string;
|
|
110
|
+
fileId: string;
|
|
111
|
+
fileName: string;
|
|
112
|
+
status: WarehouseInvoiceStatus;
|
|
113
|
+
supplierKind: InvoiceSupplierKind | null;
|
|
114
|
+
supplierName?: string;
|
|
115
|
+
invoiceNumber: string | null;
|
|
116
|
+
date: string | null;
|
|
117
|
+
lineCount: number | null;
|
|
118
|
+
loading: boolean;
|
|
119
|
+
hasError: boolean;
|
|
120
|
+
selectable: boolean;
|
|
121
|
+
review: 'enabled' | {
|
|
122
|
+
disabled: InvoiceUploadReviewDisabledReason;
|
|
123
|
+
} | null;
|
|
124
|
+
}
|
|
125
|
+
/** The `ref` of InvoiceUploadList. Ids and kit shapes only: never the
|
|
126
|
+
* DataGrid handle, a row object or a DOM node. A refused call throws an
|
|
127
|
+
* Error whose message starts with its code. */
|
|
128
|
+
export interface InvoiceUploadListHandle {
|
|
129
|
+
getFeatures(): InvoiceUploadListFeatureInfo;
|
|
130
|
+
/** Ids of the rows showing now: the search and filters apply. */
|
|
131
|
+
getRowIds(): string[];
|
|
132
|
+
/** Is this invoice in the list at all, shown or not? */
|
|
133
|
+
hasRow(id: string): boolean;
|
|
134
|
+
getRowSummaries(): InvoiceUploadRowSummary[];
|
|
135
|
+
/** Invoices per status, every status present. */
|
|
136
|
+
getCounts(): Record<WarehouseInvoiceStatus, number>;
|
|
137
|
+
getSelection(): string[];
|
|
138
|
+
setSelection(ids: readonly string[]): void;
|
|
139
|
+
/** Selects every ready, not-loading invoice; returns the selection. */
|
|
140
|
+
selectReady(): string[];
|
|
141
|
+
clearSelection(): void;
|
|
142
|
+
getSort(): InvoiceUploadListSortEntry[];
|
|
143
|
+
setSort(model: readonly InvoiceUploadListSortEntry[]): void;
|
|
144
|
+
getColumns(): InvoiceUploadListColumnInfo[];
|
|
145
|
+
scrollToRow(id: string): void;
|
|
146
|
+
focusRow(id: string): void;
|
|
147
|
+
/** Same host callback as the Review button. */
|
|
148
|
+
review(id: string): void;
|
|
149
|
+
/** Same host callback as "Load all ready". Returns the ids sent. */
|
|
150
|
+
loadAllReady(): string[];
|
|
151
|
+
/** Same host callback as the bulk action. Returns the ids sent. */
|
|
152
|
+
loadSelected(): string[];
|
|
153
|
+
}
|
|
154
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The geometry of the MapView pin, shared by the live pin (map-view-pin.tsx)
|
|
3
|
+
* and the static PNG for Google Static Maps (scripts/build-map-pin-png.mjs),
|
|
4
|
+
* so the two cannot drift. Plain data and strings only, no imports: Node runs
|
|
5
|
+
* it directly.
|
|
6
|
+
*/
|
|
7
|
+
/** CSS pixel size of the live pin. The tip is at the bottom centre. */
|
|
8
|
+
export declare const MAP_PIN_WIDTH = 32;
|
|
9
|
+
export declare const MAP_PIN_HEIGHT = 40;
|
|
10
|
+
/**
|
|
11
|
+
* Teardrop: round head (centre 16,16, radius 14), point at 16,38. The white ring
|
|
12
|
+
* is 2 wide on this line and the ink edge 1 more outside it, so the drawing
|
|
13
|
+
* fills the 32 x 40 box exactly.
|
|
14
|
+
*/
|
|
15
|
+
export declare const MAP_PIN_BODY_PATH = "M16 38C16 38 2 26 2 16A14 14 0 0 1 30 16C30 26 16 38 16 38Z";
|
|
16
|
+
/** White ring width, in the same units as the viewBox. */
|
|
17
|
+
export declare const MAP_PIN_RING_WIDTH = 2;
|
|
18
|
+
/**
|
|
19
|
+
* The ink edge is drawn under the ring, centred on the same line: 4 wide, so
|
|
20
|
+
* 1 shows outside the ring. It carries the 3:1 on light tiles; the ring
|
|
21
|
+
* carries it on dark ones.
|
|
22
|
+
*/
|
|
23
|
+
export declare const MAP_PIN_EDGE_WIDTH = 4;
|
|
24
|
+
/**
|
|
25
|
+
* The four-pillar Alfadocs mark (reference/assets/logos/SVG/Alfadocs_Logo_Mark.svg,
|
|
26
|
+
* viewBox 148) at 15.5 units: about 55% of the 28-wide head, centred on it.
|
|
27
|
+
*/
|
|
28
|
+
export declare const MAP_PIN_MARK_TRANSFORM = "translate(8.25 8.25) scale(0.10473)";
|
|
29
|
+
export interface MapPinMarkShape {
|
|
30
|
+
tag: 'rect' | 'path';
|
|
31
|
+
attrs: Record<string, string>;
|
|
32
|
+
}
|
|
33
|
+
export declare const MAP_PIN_MARK_SHAPES: MapPinMarkShape[];
|
|
34
|
+
/** The pin as a standalone SVG string, in concrete colours (no CSS variables). */
|
|
35
|
+
export declare function mapPinSvg(fill: string, ring: string, ink: string, size?: {
|
|
36
|
+
width: number;
|
|
37
|
+
height: number;
|
|
38
|
+
}): string;
|
|
39
|
+
//# sourceMappingURL=map-view-pin-geometry.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/** Hovered pin scale. The pin is resized, not transformed, so its box, hit area and focus ring grow with it. */
|
|
3
|
+
export declare const MAP_PIN_HOVER_SCALE = 1.4;
|
|
4
|
+
/**
|
|
5
|
+
* The MapView pin: a teardrop in the marker colour with a white ring, a thin
|
|
6
|
+
* ink edge outside it and the four-pillar Alfadocs mark. Content of an
|
|
7
|
+
* AdvancedMarker, which anchors it at the bottom centre, so the tip marks the
|
|
8
|
+
* place. It sits at the bottom centre of a transparent box at least
|
|
9
|
+
* `--min-target-size` square, the kit's target size. Decorative: the marker
|
|
10
|
+
* carries the accessible name. The geometry is shared with the static PNG.
|
|
11
|
+
*/
|
|
12
|
+
export declare function MapViewPin({ hovered }: {
|
|
13
|
+
hovered: boolean;
|
|
14
|
+
}): ReactNode;
|
|
15
|
+
//# sourceMappingURL=map-view-pin.d.ts.map
|
|
@@ -250,6 +250,14 @@ export interface PracticeResultsProps extends Omit<ComponentPropsWithoutRef<'div
|
|
|
250
250
|
* theming (`getGoogleMapsTheme()`), same as before.
|
|
251
251
|
*/
|
|
252
252
|
mapId?: string;
|
|
253
|
+
/**
|
|
254
|
+
* Group nearby pins into numbered clusters on the map panels. `'auto'`
|
|
255
|
+
* (default) clusters only large result sets; `true` always clusters, which
|
|
256
|
+
* suits a small set the host wants grouped; `false` never does. Same meaning
|
|
257
|
+
* as `MapView`'s `clusterMarkers`, forwarded to every map panel (HTP-7356).
|
|
258
|
+
* A hovered or chosen practice stays on its own pin.
|
|
259
|
+
*/
|
|
260
|
+
clusterMarkers?: boolean | 'auto';
|
|
253
261
|
/**
|
|
254
262
|
* Map zoom before the results are fitted, and with no results to fit.
|
|
255
263
|
* Default 13.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as s, a as e, P as r, S as A, c as L } from "../../_chunks/public-footer-
|
|
1
|
+
import { D as s, a as e, P as r, S as A, c as L } from "../../_chunks/public-footer-C8UIzqLJ.js";
|
|
2
2
|
import { p as _ } from "../../_chunks/public-footer.agent-CRZCrq3_.js";
|
|
3
3
|
export {
|
|
4
4
|
s as DEFAULT_MARKETING_BASE_URL,
|
|
@@ -35,6 +35,11 @@ export interface PublicFooterLinkSection {
|
|
|
35
35
|
links: PublicFooterLinkSectionLink[];
|
|
36
36
|
/** Optional "see all" link, shown under the group's links. */
|
|
37
37
|
more?: PublicFooterLinkSectionLink;
|
|
38
|
+
/**
|
|
39
|
+
* How many columns the links fill inside the group, on every width.
|
|
40
|
+
* Default: 2.
|
|
41
|
+
*/
|
|
42
|
+
columns?: 1 | 2;
|
|
38
43
|
}
|
|
39
44
|
export interface PublicFooterSocial {
|
|
40
45
|
network: SocialNetwork;
|
|
@@ -72,6 +77,25 @@ export interface PublicFooterProps {
|
|
|
72
77
|
* matches no group keeps the Legal column. Default: unset, Legal column.
|
|
73
78
|
*/
|
|
74
79
|
contactsGroup?: string;
|
|
80
|
+
/**
|
|
81
|
+
* `full` variant: host link lists shown beside the logo and description,
|
|
82
|
+
* in the top row (before any `linkGroups` columns). Each entry is a
|
|
83
|
+
* heading (an `h3`), a list of real `<a href>` links in one or two columns
|
|
84
|
+
* and an optional "view all" link under them. Two lists sit side by side
|
|
85
|
+
* from `md`, stacked on phones, always open (no accordion). The host
|
|
86
|
+
* supplies every text, already translated, so the kit adds no strings.
|
|
87
|
+
* With no `linkGroups`, the top row holds only the brand and these lists.
|
|
88
|
+
* Default: none.
|
|
89
|
+
*/
|
|
90
|
+
brandLinks?: PublicFooterLinkSection[];
|
|
91
|
+
/**
|
|
92
|
+
* `full` variant: put the Contacts link in the bottom legal bar, after
|
|
93
|
+
* Privacy and Terms and before `extraNavSlot`, and render no Legal column
|
|
94
|
+
* and no Contacts link in any host column. Pair it with `brandLinks` for a
|
|
95
|
+
* footer that has no link columns at all. Default: false (existing
|
|
96
|
+
* behaviour: a Legal column, or `contactsGroup`).
|
|
97
|
+
*/
|
|
98
|
+
contactsInLegalBar?: boolean;
|
|
75
99
|
/**
|
|
76
100
|
* `full` variant: a short line under the logo describing the product,
|
|
77
101
|
* already translated plain text. Default: none.
|
|
@@ -81,7 +81,7 @@ export interface PublicHeaderDropdownLinkProps extends Omit<AnchorHTMLAttributes
|
|
|
81
81
|
}
|
|
82
82
|
declare const rootVariants: (props?: ({
|
|
83
83
|
variant?: "dark" | "transparent" | "brand" | "pill" | null | undefined;
|
|
84
|
-
sticky?: "
|
|
84
|
+
sticky?: "none" | "top" | "scroll-up" | null | undefined;
|
|
85
85
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
86
86
|
export declare const PublicHeader: import("react").ForwardRefExoticComponent<PublicHeaderProps & import("react").RefAttributes<HTMLElement>> & {
|
|
87
87
|
NavLink: import("react").ForwardRefExoticComponent<PublicHeaderNavLinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-
|
|
1
|
+
import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-BLEdXJ0l.js";
|
|
2
2
|
import { k as s } from "../../_chunks/kit-extensions-C3oL0WTp.js";
|
|
3
3
|
export {
|
|
4
4
|
i as RichTextEditor,
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { WarehouseLoadSummary } from './warehouse-load-summary';
|
|
2
|
+
export { warehouseLoadSummaryAgent } from './warehouse-load-summary.agent';
|
|
3
|
+
export type { WarehouseCountKey, WarehouseLoadCounts, WarehouseLoadFailedFile, WarehouseLoadOutcome, WarehouseLoadScope, WarehouseLoadSummaryHandle, WarehouseLoadSummaryProps, } from './types';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { WarehouseCountKey, WarehouseLoadCounts, WarehouseLoadFailedFile, WarehouseLoadOutcome, WarehouseLoadScope } from './types';
|
|
2
|
+
/** The counts to show, in vocabulary order. */
|
|
3
|
+
export declare function visibleCounts(counts: WarehouseLoadCounts, scope: WarehouseLoadScope): Array<{
|
|
4
|
+
key: WarehouseCountKey;
|
|
5
|
+
count: number;
|
|
6
|
+
}>;
|
|
7
|
+
export declare function resolveOutcome(outcome: WarehouseLoadOutcome | undefined, counts: WarehouseLoadCounts, failedFiles: ReadonlyArray<WarehouseLoadFailedFile>): WarehouseLoadOutcome;
|
|
8
|
+
//# sourceMappingURL=model.d.ts.map
|