@pipelex/mthds-form 0.12.0 → 0.12.1
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/{chunk-4KX6YTLW.js → chunk-2D4NEFUH.js} +6 -6
- package/dist/chunk-2D4NEFUH.js.map +1 -0
- package/dist/{chunk-V7T4DM63.js → chunk-7KQXGG6J.js} +6 -4
- package/dist/chunk-7KQXGG6J.js.map +1 -0
- package/dist/{chunk-VS5JMFUV.js → chunk-RRTI7AIR.js} +2 -2
- package/dist/chunk-RRTI7AIR.js.map +1 -0
- package/dist/core/index.js +2 -2
- package/dist/core/save-plan.d.ts +13 -4
- package/dist/core/save-plan.js +2 -2
- package/dist/core/stuff-files.d.ts +7 -1
- package/dist/core/stuff-files.js +1 -1
- package/dist/generative/index.js +3 -3
- package/dist/generative/index.js.map +1 -1
- package/dist/react/index.d.ts +7 -3
- package/dist/react/index.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-4KX6YTLW.js.map +0 -1
- package/dist/chunk-V7T4DM63.js.map +0 -1
- package/dist/chunk-VS5JMFUV.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { planStuffSave, planFileSave } from './chunk-
|
|
2
|
-
import { readStuffFile } from './chunk-
|
|
1
|
+
import { planStuffSave, planFileSave } from './chunk-7KQXGG6J.js';
|
|
2
|
+
import { readStuffFile } from './chunk-RRTI7AIR.js';
|
|
3
3
|
import { viewableUrl, isNativeDateNode, isNativeHtmlNode, readHtmlContent, isNativeCompositeNode, readCompositeContent, isNativeValueNode, readDateContent, formatDateContent, readImageContent, readDataUrl, readDocumentContent } from './chunk-CM4KVG53.js';
|
|
4
4
|
import { conceptCategory } from './chunk-FABY3DEY.js';
|
|
5
5
|
import { acceptLabel, acceptMap, isAcceptedFile, formatOfFilename, DOCUMENT_FORMATS, IMAGE_FORMATS } from './chunk-XCO6GTEC.js';
|
|
@@ -2243,9 +2243,9 @@ function FileDownloadButton({ file }) {
|
|
|
2243
2243
|
);
|
|
2244
2244
|
return () => window.clearTimeout(timer);
|
|
2245
2245
|
}, [attempt]);
|
|
2246
|
-
if (!shown) return null;
|
|
2246
|
+
if (!shown || !location) return null;
|
|
2247
2247
|
const planned = planFileSave(file, {
|
|
2248
|
-
baseName: location
|
|
2248
|
+
baseName: location.baseName,
|
|
2249
2249
|
...resolve ? { resolveUrl: resolve } : {}
|
|
2250
2250
|
});
|
|
2251
2251
|
if (!planned) return null;
|
|
@@ -3128,5 +3128,5 @@ function StuffPanel({
|
|
|
3128
3128
|
}
|
|
3129
3129
|
|
|
3130
3130
|
export { BooleanField, ConceptPill, DEFAULT_FIELD_STRINGS, DateField, DocumentField, EnumField, FieldDomIdProvider, FieldPresentationProvider, FieldRenderer, FieldShell, FieldStringsProvider, HtmlPreview, ImageField, JsonView, ListField, Markdown, NumberField, ObjectField, OptionalToggle, ProseField, ResultEnvProvider, ResultField, ResultRoot, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, StuffViewer, Switch, TextField, ToggleGroup, ToggleGroupItem, UnknownField, cn, fieldControlClass, humanizeFieldName, saveInBrowser, useFieldDomId, useFieldPresentation, useFieldStrings, useProseImages, useResolveShareUrl, useResolveUrl, useResolvedUrl };
|
|
3131
|
-
//# sourceMappingURL=chunk-
|
|
3132
|
-
//# sourceMappingURL=chunk-
|
|
3131
|
+
//# sourceMappingURL=chunk-2D4NEFUH.js.map
|
|
3132
|
+
//# sourceMappingURL=chunk-2D4NEFUH.js.map
|