@ai-matrx/records-ui 0.79.0 → 0.81.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/CHANGELOG.md +62 -0
- package/dist/index.cjs +196 -60
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.js +306 -170
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1166,10 +1166,30 @@ declare function FilePicker({ label, accept, inputLabel, hint, disabled, onFile,
|
|
|
1166
1166
|
|
|
1167
1167
|
interface ImportWizardProps {
|
|
1168
1168
|
tableId: Uuid;
|
|
1169
|
+
/**
|
|
1170
|
+
* FIX-12 F2: THE PERSON SAYS WHEN THEY ARE FINISHED WITH AN IMPORT — NOT THE
|
|
1171
|
+
* LAST ROW.
|
|
1172
|
+
*
|
|
1173
|
+
* This used to fire the moment `io_import_finish` answered, and every host
|
|
1174
|
+
* wires it to close the rail. So the screen that finally knew the truth — the
|
|
1175
|
+
* ledger sentence, the refusal list, the columns that went to the inbox — was
|
|
1176
|
+
* unmounted in the same tick it became true. VERIFIER-12 watched a 40-row file
|
|
1177
|
+
* land 28 and refuse 12 and saw NOTHING at all: the whole run fitted inside
|
|
1178
|
+
* one call, so the report existed for less than a paint. A long file only
|
|
1179
|
+
* looked better because the person had time to read the PROGRESS; its report
|
|
1180
|
+
* was destroyed just as fast.
|
|
1181
|
+
*
|
|
1182
|
+
* It is now the "Done" button on the report, and nothing else calls it.
|
|
1183
|
+
*/
|
|
1169
1184
|
onDone?: ((written: number) => void) | undefined;
|
|
1185
|
+
/**
|
|
1186
|
+
* FIX-12 F2: the rows landed. Fired when the run finishes, for a host that
|
|
1187
|
+
* needs to refresh behind the panel — never for closing it.
|
|
1188
|
+
*/
|
|
1189
|
+
onWrote?: ((written: number) => void) | undefined;
|
|
1170
1190
|
className?: string | undefined;
|
|
1171
1191
|
}
|
|
1172
|
-
declare function ImportWizard({ tableId, onDone, className }: ImportWizardProps): react.JSX.Element;
|
|
1192
|
+
declare function ImportWizard({ tableId, onDone, onWrote, className }: ImportWizardProps): react.JSX.Element;
|
|
1173
1193
|
|
|
1174
1194
|
interface CustomFieldsSectionProps {
|
|
1175
1195
|
/** The standard table's registered token (REC-33), e.g. `party`, `crm_deal`. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1166,10 +1166,30 @@ declare function FilePicker({ label, accept, inputLabel, hint, disabled, onFile,
|
|
|
1166
1166
|
|
|
1167
1167
|
interface ImportWizardProps {
|
|
1168
1168
|
tableId: Uuid;
|
|
1169
|
+
/**
|
|
1170
|
+
* FIX-12 F2: THE PERSON SAYS WHEN THEY ARE FINISHED WITH AN IMPORT — NOT THE
|
|
1171
|
+
* LAST ROW.
|
|
1172
|
+
*
|
|
1173
|
+
* This used to fire the moment `io_import_finish` answered, and every host
|
|
1174
|
+
* wires it to close the rail. So the screen that finally knew the truth — the
|
|
1175
|
+
* ledger sentence, the refusal list, the columns that went to the inbox — was
|
|
1176
|
+
* unmounted in the same tick it became true. VERIFIER-12 watched a 40-row file
|
|
1177
|
+
* land 28 and refuse 12 and saw NOTHING at all: the whole run fitted inside
|
|
1178
|
+
* one call, so the report existed for less than a paint. A long file only
|
|
1179
|
+
* looked better because the person had time to read the PROGRESS; its report
|
|
1180
|
+
* was destroyed just as fast.
|
|
1181
|
+
*
|
|
1182
|
+
* It is now the "Done" button on the report, and nothing else calls it.
|
|
1183
|
+
*/
|
|
1169
1184
|
onDone?: ((written: number) => void) | undefined;
|
|
1185
|
+
/**
|
|
1186
|
+
* FIX-12 F2: the rows landed. Fired when the run finishes, for a host that
|
|
1187
|
+
* needs to refresh behind the panel — never for closing it.
|
|
1188
|
+
*/
|
|
1189
|
+
onWrote?: ((written: number) => void) | undefined;
|
|
1170
1190
|
className?: string | undefined;
|
|
1171
1191
|
}
|
|
1172
|
-
declare function ImportWizard({ tableId, onDone, className }: ImportWizardProps): react.JSX.Element;
|
|
1192
|
+
declare function ImportWizard({ tableId, onDone, onWrote, className }: ImportWizardProps): react.JSX.Element;
|
|
1173
1193
|
|
|
1174
1194
|
interface CustomFieldsSectionProps {
|
|
1175
1195
|
/** The standard table's registered token (REC-33), e.g. `party`, `crm_deal`. */
|