@marktiderman/genesis-forms 0.6.0 → 0.8.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.
@@ -1,5 +1,5 @@
1
- import { e as FormEvent, J as Json, F as FormDefinition, a as FieldBlock, B as Block } from './types-oAckGR_Z.cjs';
2
- import { F as FieldValidator, H as HostOptions, L as LinkParams } from './validate-B5WKHbst.cjs';
1
+ import { e as FormEvent, J as Json, F as FormDefinition, a as FieldBlock, B as Block } from './types-jqDKcmP4.cjs';
2
+ import { F as FieldValidator, H as HostOptions, L as LinkParams } from './validate-irIPubxc.cjs';
3
3
 
4
4
  /** Guards and helpers for event logs and other untrusted JSON. No dependencies. */
5
5
 
@@ -1,5 +1,5 @@
1
- import { e as FormEvent, J as Json, F as FormDefinition, a as FieldBlock, B as Block } from './types-oAckGR_Z.js';
2
- import { F as FieldValidator, H as HostOptions, L as LinkParams } from './validate-GpTXPwyl.js';
1
+ import { e as FormEvent, J as Json, F as FormDefinition, a as FieldBlock, B as Block } from './types-jqDKcmP4.js';
2
+ import { F as FieldValidator, H as HostOptions, L as LinkParams } from './validate-DvfQHYnu.js';
3
3
 
4
4
  /** Guards and helpers for event logs and other untrusted JSON. No dependencies. */
5
5
 
package/dist/index.cjs CHANGED
@@ -2908,6 +2908,9 @@ function formProgress(engine) {
2908
2908
  return { step: index + 1, total: state.path.length, fieldId };
2909
2909
  }
2910
2910
 
2911
+ // src/upload-protocol.ts
2912
+ var MAX_UPLOAD_REQUEST_BYTES = 4e3;
2913
+
2911
2914
  // src/explain.ts
2912
2915
  function explain(source, blockId, options = {}) {
2913
2916
  const input = "getState" in source ? { definition: source.definition, values: source.getState().values, hidden: source.getState().hidden } : source;
@@ -3083,6 +3086,7 @@ exports.MAX_SETTLE_ITEMS = MAX_SETTLE_ITEMS;
3083
3086
  exports.MAX_TABLE_CELL_LENGTH = MAX_TABLE_CELL_LENGTH;
3084
3087
  exports.MAX_TABLE_COLUMNS = MAX_TABLE_COLUMNS;
3085
3088
  exports.MAX_TIMESTAMP_SECONDS = MAX_TIMESTAMP_SECONDS;
3089
+ exports.MAX_UPLOAD_REQUEST_BYTES = MAX_UPLOAD_REQUEST_BYTES;
3086
3090
  exports.OPTION_LIMITS = OPTION_LIMITS;
3087
3091
  exports.OTHER_MAX_LENGTH = OTHER_MAX_LENGTH;
3088
3092
  exports.PHOTO_FORMATS = PHOTO_FORMATS;