@pipelex/mthds-form 0.36.1 → 0.36.2
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/generative/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { cn, headingClass, checkedAccentClass, focusOutlineClass, useResolveUrl, panelSurfaceClass, panelFlatShadowClass, linkTextClass, actionShadowClass, panelRaisedShadowClass, fieldControlClass, useFieldPresentation, useFieldStrings, fieldLabel, ResultRoot, ResultField, FieldRenderer, enumLabeler, ToggleGroup, ToggleGroupItem, selectedFillStrongClass, Switch, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, selectedBorderClass, selectedFillClass, isThenable, FieldPresentationProvider } from '../chunk-
|
|
2
|
+
import { cn, headingClass, checkedAccentClass, focusOutlineClass, useResolveUrl, panelSurfaceClass, panelFlatShadowClass, linkTextClass, actionShadowClass, panelRaisedShadowClass, fieldControlClass, useFieldPresentation, useFieldStrings, fieldLabel, ResultRoot, ResultField, FieldRenderer, enumLabeler, ToggleGroup, ToggleGroupItem, selectedFillStrongClass, Switch, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, selectedBorderClass, selectedFillClass, isThenable, FieldPresentationProvider } from '../chunk-7SOGQRMN.js';
|
|
3
3
|
import { baseCatalog, catalog, frameComponents, shareAmount, INPUTS_ROOT, joinPath, resultFieldAtPath, segmentsUnder, RESULT_ROOT, inputFieldAtPath, definitionChain, unwrapped } from '../chunk-XLTYIIUY.js';
|
|
4
4
|
export { COMPONENT_NAMES, COMPONENT_RENDERINGS, COMPOSER_COMPONENTS, CUSTOM_COMPONENTS, DESIGNER_BRIEF_CONCEPT, DESIGNER_CATALOG_CONCEPT, FRAMES, FRAME_COMPONENTS, ICON_NAMES, INPUTS_ROOT, METRIC_FORMATS, PICKED_SHADCN, PRODUCT_COMPONENTS, PROMPT_HASH, REPAIR_ATTEMPTS, RESULT_COMPONENTS, RESULT_ROOT, absoluteHatchPath, catalog, componentNamesFor, designerCatalog, fieldAtSegments, findFixture, fixtureId, fixtureLabel, formatProblems, frameCatalog, inputBrief, inputFieldAtPath, isDelegatedInput, isDelegatedResult, joinPath, jsonlLines, layoutCheck, layoutCheckProblems, layoutFits, layoutProblems, payloadToState, promptHashSubject, repeatBasePathOf, resultBrief, resultFieldAtPath, seedLine, segmentsUnder, specFromJsonl, specToJsonl, validateAgainstCatalog, writtenSampleOf } from '../chunk-XLTYIIUY.js';
|
|
5
5
|
import '../chunk-4VAO6BDE.js';
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1113,8 +1113,12 @@ type DocumentPdfAnswer = {
|
|
|
1113
1113
|
/**
|
|
1114
1114
|
* One question to the host about one document: where does its PDF stand?
|
|
1115
1115
|
*
|
|
1116
|
-
* The view asks when the
|
|
1117
|
-
*
|
|
1116
|
+
* The view asks when the preview opens, and again while the answer is
|
|
1117
|
+
* `preparing`, so asking twice must not start the work twice. In the `app`
|
|
1118
|
+
* presentation the preview of the document the run delivered (the whole
|
|
1119
|
+
* result, or the only document of a record that is the whole result) opens at
|
|
1120
|
+
* once, so its ask comes as the view mounts, with no click; everywhere else,
|
|
1121
|
+
* and in `studio`, it comes on the reader's click. An ask that
|
|
1118
1122
|
* throws, rejects, answers something else or takes longer than thirty seconds
|
|
1119
1123
|
* reads as `failed`.
|
|
1120
1124
|
*/
|
|
@@ -1141,10 +1145,14 @@ type AskDocumentPdf = () => Promise<DocumentPdfAnswer>;
|
|
|
1141
1145
|
* the first browser render agree.
|
|
1142
1146
|
*
|
|
1143
1147
|
* Asking is the {@link AskDocumentPdf} it returns, which is the round
|
|
1144
|
-
* trip. It is asked only when
|
|
1145
|
-
*
|
|
1146
|
-
*
|
|
1147
|
-
*
|
|
1148
|
+
* trip. It is asked only when the preview opens, because a conversion is real
|
|
1149
|
+
* work and a run's result can hold many documents nobody will open. In `app`,
|
|
1150
|
+
* the preview of the document the run delivered opens by itself: a document
|
|
1151
|
+
* that is the whole result, or the only document of a record that is the whole
|
|
1152
|
+
* result, is asked about as the view mounts, since the reader came for it.
|
|
1153
|
+
* Every other document, and every document in `studio`, is asked about only
|
|
1154
|
+
* on the reader's click, so a host that converts on first request converts the
|
|
1155
|
+
* delivered document and otherwise only what someone asked to see.
|
|
1148
1156
|
*
|
|
1149
1157
|
* ## The contract
|
|
1150
1158
|
*
|
package/dist/react/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { BooleanField, ConceptPill, DEFAULT_FIELD_STRINGS, DateField, DocumentField, EN_FIELD_STRINGS, EnumField, FIELD_STRINGS_BY_LOCALE, FR_FIELD_STRINGS, FieldDomIdProvider, FieldPresentationProvider, FieldRenderer, FieldShell, FieldStringsProvider, FilePicker, FilePickerEntry, FillWithExample, HtmlPreview, ImageField, JsonView, ListField, Markdown, MethodForm, NumberField, ObjectField, OptionalToggle, PdfDownloadButton, ProseField, ResultEnvProvider, ResultField, SUPPORTED_LOCALES, StuffViewer, TextField, UnknownField, fieldControlClass, fieldStringsFor, renderHtmlPdf, resolveHtmlStorageUrls, saveInBrowser, useFieldDomId, useFieldPresentation, useFieldStrings, useMethodForm, useProseImages, useResolveDocumentPdf, useResolveRendition, useResolveShareUrl, useResolveUrl, useResolvedUrl } from '../chunk-
|
|
2
|
+
export { BooleanField, ConceptPill, DEFAULT_FIELD_STRINGS, DateField, DocumentField, EN_FIELD_STRINGS, EnumField, FIELD_STRINGS_BY_LOCALE, FR_FIELD_STRINGS, FieldDomIdProvider, FieldPresentationProvider, FieldRenderer, FieldShell, FieldStringsProvider, FilePicker, FilePickerEntry, FillWithExample, HtmlPreview, ImageField, JsonView, ListField, Markdown, MethodForm, NumberField, ObjectField, OptionalToggle, PdfDownloadButton, ProseField, ResultEnvProvider, ResultField, SUPPORTED_LOCALES, StuffViewer, TextField, UnknownField, fieldControlClass, fieldStringsFor, renderHtmlPdf, resolveHtmlStorageUrls, saveInBrowser, useFieldDomId, useFieldPresentation, useFieldStrings, useMethodForm, useProseImages, useResolveDocumentPdf, useResolveRendition, useResolveShareUrl, useResolveUrl, useResolvedUrl } from '../chunk-7SOGQRMN.js';
|
|
3
3
|
import '../chunk-4VAO6BDE.js';
|
|
4
4
|
import '../chunk-AURDKAIC.js';
|
|
5
5
|
import '../chunk-L23R3JNQ.js';
|