@overmap-ai/core 1.0.36-misc-improvements.1 → 1.0.36-misc-improvements.3

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.
@@ -8497,8 +8497,7 @@ var __publicField = (obj, key, value) => {
8497
8497
  type: "number",
8498
8498
  minimum: Number.MIN_SAFE_INTEGER,
8499
8499
  maximum: Number.MAX_SAFE_INTEGER,
8500
- integers: false,
8501
- placeholder: "Enter a number"
8500
+ integers: false
8502
8501
  };
8503
8502
  const valueIsFormikUserFormRevision$1 = (form) => {
8504
8503
  return "fields" in form;
@@ -8846,8 +8845,7 @@ var __publicField = (obj, key, value) => {
8846
8845
  ...emptyBaseField,
8847
8846
  type: "string",
8848
8847
  maximum_length: 500,
8849
- input_type: "text",
8850
- placeholder: "Enter a short description"
8848
+ input_type: "text"
8851
8849
  };
8852
8850
  const _StringField = class _StringField extends StringOrTextField {
8853
8851
  constructor(options) {
@@ -8865,7 +8863,13 @@ var __publicField = (obj, key, value) => {
8865
8863
  if (data.type !== "string")
8866
8864
  throw new Error("Type mismatch.");
8867
8865
  const { maximum_length, minimum_length, input_type, ...rest } = data;
8868
- return new _StringField({ ...rest, maxLength: maximum_length, minLength: minimum_length, inputType: input_type });
8866
+ return new _StringField({
8867
+ ...rest,
8868
+ maxLength: maximum_length,
8869
+ minLength: minimum_length,
8870
+ inputType: input_type,
8871
+ placeholder: "Enter a short description"
8872
+ });
8869
8873
  }
8870
8874
  getInput(props) {
8871
8875
  return /* @__PURE__ */ jsxRuntime.jsx(StringInput, { field: this, ...props });
@@ -8907,8 +8911,7 @@ var __publicField = (obj, key, value) => {
8907
8911
  const emptyTextField = {
8908
8912
  ...emptyBaseField,
8909
8913
  type: "text",
8910
- maximum_length: 5e3,
8911
- placeholder: "Enter a description"
8914
+ maximum_length: 5e3
8912
8915
  };
8913
8916
  const _TextField = class _TextField extends StringOrTextField {
8914
8917
  constructor(options) {
@@ -8923,7 +8926,12 @@ var __publicField = (obj, key, value) => {
8923
8926
  if (data.type !== "text")
8924
8927
  throw new Error("Type mismatch.");
8925
8928
  const { maximum_length, minimum_length, ...rest } = data;
8926
- return new _TextField({ ...rest, maxLength: maximum_length, minLength: minimum_length });
8929
+ return new _TextField({
8930
+ ...rest,
8931
+ maxLength: maximum_length,
8932
+ minLength: minimum_length,
8933
+ placeholder: "Enter a description"
8934
+ });
8927
8935
  }
8928
8936
  getInput(props) {
8929
8937
  return /* @__PURE__ */ jsxRuntime.jsx(TextInput, { field: this, ...props });
@@ -9300,8 +9308,7 @@ var __publicField = (obj, key, value) => {
9300
9308
  ...emptyBaseField,
9301
9309
  type: "multi-string",
9302
9310
  minimum_length: 0,
9303
- maximum_length: null,
9304
- placeholder: "Press enter to add a new option"
9311
+ maximum_length: null
9305
9312
  };
9306
9313
  const _MultiStringField = class _MultiStringField extends BaseField {
9307
9314
  constructor(options) {
@@ -9408,8 +9415,7 @@ var __publicField = (obj, key, value) => {
9408
9415
  const emptySelectField = {
9409
9416
  ...emptyBaseField,
9410
9417
  type: "select",
9411
- options: [],
9412
- placeholder: "Select one..."
9418
+ options: []
9413
9419
  };
9414
9420
  const _SelectField = class _SelectField extends BaseSelectField {
9415
9421
  constructor(options) {
@@ -9487,8 +9493,7 @@ var __publicField = (obj, key, value) => {
9487
9493
  const emptyMultiSelectField = {
9488
9494
  ...emptyBaseField,
9489
9495
  type: "multi-select",
9490
- options: [],
9491
- placeholder: "Select one or more..."
9496
+ options: []
9492
9497
  };
9493
9498
  const _MultiSelectField = class _MultiSelectField extends BaseSelectField {
9494
9499
  constructor(options) {