Constructors

  • Parameters

    • json: {
          info: null | string | { [key: string]: string };
          isMetaGroup: boolean;
          name: string;
          questions: (
              | {
                  backendModifiers: {
                      starts_new_line?: boolean;
                      width?: "half"
                      | "full";
                  };
                  class: string;
                  defaultValue: null
                  | boolean;
                  info: null | string | { [key: string]: string };
                  isMetaField: boolean;
                  name: string;
                  required: boolean;
                  static: boolean;
                  title: null | string | { [key: string]: string };
                  type: "checkbox";
              }
              | {
                  backendModifiers: {
                      starts_new_line?: boolean;
                      width?: "half"
                      | "full";
                  };
                  class: string;
                  defaultValue: null
                  | string[];
                  info: null | string | { [key: string]: string };
                  isMetaField: boolean;
                  items: { name: string | { [key: string]: string }; value: null | string }[];
                  name: string;
                  required: boolean;
                  static: boolean;
                  title: null | string | { [key: string]: string };
                  type: "check";
              }
              | {
                  backendModifiers: {
                      starts_new_line?: boolean;
                      width?: "half"
                      | "full";
                  };
                  class: string;
                  defaultValue: null
                  | string;
                  info: null | string | { [key: string]: string };
                  isMetaField: boolean;
                  max: number;
                  min: number;
                  name: string;
                  required: boolean;
                  static: boolean;
                  title: null | string | { [key: string]: string };
                  type: "code";
              }
              | {
                  backendModifiers: {
                      starts_new_line?: boolean;
                      width?: "half"
                      | "full";
                  };
                  class: string;
                  defaultValue: null
                  | string;
                  info: null | string | { [key: string]: string };
                  isMetaField: boolean;
                  max: null | string;
                  min: null | string;
                  name: string;
                  required: boolean;
                  static: boolean;
                  title: null | string | { [key: string]: string };
                  type: "date";
              }
              | {
                  backendModifiers: {
                      starts_new_line?: boolean;
                      width?: "half"
                      | "full";
                  };
                  class: string;
                  defaultValue: null
                  | string;
                  info: null | string | { [key: string]: string };
                  isMetaField: boolean;
                  items: { name: string | { [key: string]: string }; value: null | string }[];
                  name: string;
                  required: boolean;
                  static: boolean;
                  title: null | string | { [key: string]: string };
                  type: "dropdown";
              }
              | {
                  backendModifiers: {
                      starts_new_line?: boolean;
                      width?: "half"
                      | "full";
                  };
                  class: string;
                  defaultValue: null
                  | string;
                  info: null | string | { [key: string]: string };
                  isMetaField: boolean;
                  max: number;
                  min: number;
                  name: string;
                  required: boolean;
                  static: boolean;
                  title: null | string | { [key: string]: string };
                  type: "email";
              }
              | {
                  backendModifiers: {
                      starts_new_line?: boolean;
                      width?: "half"
                      | "full";
                  };
                  class: string;
                  defaultValue: null
                  | string;
                  info: null | string | { [key: string]: string };
                  isMetaField: boolean;
                  max: number;
                  min: number;
                  name: string;
                  required: boolean;
                  static: boolean;
                  title: null | string | { [key: string]: string };
                  type: "text";
              }
              | {
                  backendModifiers: {
                      starts_new_line?: boolean;
                      width?: "half"
                      | "full";
                  };
                  class: string;
                  defaultValue: null
                  | string;
                  info: null | string | { [key: string]: string };
                  isMetaField: boolean;
                  max: number;
                  min: number;
                  name: string;
                  required: boolean;
                  static: boolean;
                  title: null | string | { [key: string]: string };
                  type: "static";
              }
              | {
                  backendModifiers: {
                      starts_new_line?: boolean;
                      width?: "half"
                      | "full";
                  };
                  class: string;
                  defaultValue: null
                  | { file: string; name: string; size: number };
                  ext: null | string[];
                  info: null | string | { [key: string]: string };
                  isMetaField: boolean;
                  max: null | number;
                  maxheight: null | number;
                  maxwidth: null | number;
                  min: null | number;
                  minheight: null | number;
                  minwidth: null | number;
                  name: string;
                  required: boolean;
                  static: boolean;
                  title: null | string | { [key: string]: string };
                  type: "image";
              }
              | {
                  backendModifiers: {
                      starts_new_line?: boolean;
                      width?: "half"
                      | "full";
                  };
                  class: string;
                  defaultValue: null
                  | { file: string; name: string; size: number };
                  ext: null | string[];
                  info: null | string | { [key: string]: string };
                  isMetaField: boolean;
                  max: null | number;
                  min: null | number;
                  name: string;
                  required: boolean;
                  static: boolean;
                  title: null | string | { [key: string]: string };
                  type: "upload";
              }
              | {
                  backendModifiers: {
                      starts_new_line?: boolean;
                      width?: "half"
                      | "full";
                  };
                  class: string;
                  defaultValue: null
                  | string;
                  info: null | string | { [key: string]: string };
                  isMetaField: boolean;
                  max: number;
                  min: number;
                  name: string;
                  required: boolean;
                  static: boolean;
                  title: null | string | { [key: string]: string };
                  type: "longtext";
              }
              | {
                  backendModifiers: {
                      starts_new_line?: boolean;
                      width?: "half"
                      | "full";
                  };
                  class: string;
                  defaultValue: null
                  | string;
                  info: null | string | { [key: string]: string };
                  isMetaField: boolean;
                  items: { name: string | { [key: string]: string }; value: null | string }[];
                  name: string;
                  required: boolean;
                  static: boolean;
                  title: null | string | { [key: string]: string };
                  type: "radio";
              }
              | {
                  backendModifiers: {
                      starts_new_line?: boolean;
                      width?: "half"
                      | "full";
                  };
                  class: string;
                  defaultValue: null
                  | number;
                  info: null | string | { [key: string]: string };
                  isMetaField: boolean;
                  max: number;
                  min: number;
                  name: string;
                  required: boolean;
                  static: boolean;
                  title: null | string | { [key: string]: string };
                  type: "number";
              }
          )[];
          title: null
          | string
          | { [key: string]: string };
      }[]
      • info: null | string | { [key: string]: string }

        Info

      • isMetaGroup: boolean

        Ismetagroup

        false
        
      • name: string

        Name

      • questions: (
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | boolean;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "checkbox";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string[];
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                items: { name: string | { [key: string]: string }; value: null | string }[];
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "check";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: number;
                min: number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "code";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: null | string;
                min: null | string;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "date";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                items: { name: string | { [key: string]: string }; value: null | string }[];
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "dropdown";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: number;
                min: number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "email";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: number;
                min: number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "text";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: number;
                min: number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "static";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | { file: string; name: string; size: number };
                ext: null | string[];
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: null | number;
                maxheight: null | number;
                maxwidth: null | number;
                min: null | number;
                minheight: null | number;
                minwidth: null | number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "image";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | { file: string; name: string; size: number };
                ext: null | string[];
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: null | number;
                min: null | number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "upload";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: number;
                min: number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "longtext";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                items: { name: string | { [key: string]: string }; value: null | string }[];
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "radio";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | number;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: number;
                min: number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "number";
            }
        )[]

        Questions

      • title: null | string | { [key: string]: string }

        Title

    Returns FieldGroups

Accessors

  • get fields(): Map<string, Field>

    Returns Map<string, Field>

  • get groups(): Map<string, FieldGroup>

    Returns Map<string, FieldGroup>

Methods

  • Parameters

    • fieldKey: string
    • language: string

    Returns string

  • Returns {
        info: null | string | { [key: string]: string };
        isMetaGroup: boolean;
        name: string;
        questions: (
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | boolean;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "checkbox";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string[];
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                items: { name: string | { [key: string]: string }; value: null | string }[];
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "check";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: number;
                min: number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "code";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: null | string;
                min: null | string;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "date";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                items: { name: string | { [key: string]: string }; value: null | string }[];
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "dropdown";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: number;
                min: number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "email";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: number;
                min: number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "text";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: number;
                min: number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "static";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | { file: string; name: string; size: number };
                ext: null | string[];
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: null | number;
                maxheight: null | number;
                maxwidth: null | number;
                min: null | number;
                minheight: null | number;
                minwidth: null | number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "image";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | { file: string; name: string; size: number };
                ext: null | string[];
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: null | number;
                min: null | number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "upload";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: number;
                min: number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "longtext";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | string;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                items: { name: string | { [key: string]: string }; value: null | string }[];
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "radio";
            }
            | {
                backendModifiers: {
                    starts_new_line?: boolean;
                    width?: "half"
                    | "full";
                };
                class: string;
                defaultValue: null
                | number;
                info: null | string | { [key: string]: string };
                isMetaField: boolean;
                max: number;
                min: number;
                name: string;
                required: boolean;
                static: boolean;
                title: null | string | { [key: string]: string };
                type: "number";
            }
        )[];
        title: null
        | string
        | { [key: string]: string };
    }[]

    • info: null | string | { [key: string]: string }

      Info

    • isMetaGroup: boolean

      Ismetagroup

      false
      
    • name: string

      Name

    • questions: (
          | {
              backendModifiers: {
                  starts_new_line?: boolean;
                  width?: "half"
                  | "full";
              };
              class: string;
              defaultValue: null
              | boolean;
              info: null | string | { [key: string]: string };
              isMetaField: boolean;
              name: string;
              required: boolean;
              static: boolean;
              title: null | string | { [key: string]: string };
              type: "checkbox";
          }
          | {
              backendModifiers: {
                  starts_new_line?: boolean;
                  width?: "half"
                  | "full";
              };
              class: string;
              defaultValue: null
              | string[];
              info: null | string | { [key: string]: string };
              isMetaField: boolean;
              items: { name: string | { [key: string]: string }; value: null | string }[];
              name: string;
              required: boolean;
              static: boolean;
              title: null | string | { [key: string]: string };
              type: "check";
          }
          | {
              backendModifiers: {
                  starts_new_line?: boolean;
                  width?: "half"
                  | "full";
              };
              class: string;
              defaultValue: null
              | string;
              info: null | string | { [key: string]: string };
              isMetaField: boolean;
              max: number;
              min: number;
              name: string;
              required: boolean;
              static: boolean;
              title: null | string | { [key: string]: string };
              type: "code";
          }
          | {
              backendModifiers: {
                  starts_new_line?: boolean;
                  width?: "half"
                  | "full";
              };
              class: string;
              defaultValue: null
              | string;
              info: null | string | { [key: string]: string };
              isMetaField: boolean;
              max: null | string;
              min: null | string;
              name: string;
              required: boolean;
              static: boolean;
              title: null | string | { [key: string]: string };
              type: "date";
          }
          | {
              backendModifiers: {
                  starts_new_line?: boolean;
                  width?: "half"
                  | "full";
              };
              class: string;
              defaultValue: null
              | string;
              info: null | string | { [key: string]: string };
              isMetaField: boolean;
              items: { name: string | { [key: string]: string }; value: null | string }[];
              name: string;
              required: boolean;
              static: boolean;
              title: null | string | { [key: string]: string };
              type: "dropdown";
          }
          | {
              backendModifiers: {
                  starts_new_line?: boolean;
                  width?: "half"
                  | "full";
              };
              class: string;
              defaultValue: null
              | string;
              info: null | string | { [key: string]: string };
              isMetaField: boolean;
              max: number;
              min: number;
              name: string;
              required: boolean;
              static: boolean;
              title: null | string | { [key: string]: string };
              type: "email";
          }
          | {
              backendModifiers: {
                  starts_new_line?: boolean;
                  width?: "half"
                  | "full";
              };
              class: string;
              defaultValue: null
              | string;
              info: null | string | { [key: string]: string };
              isMetaField: boolean;
              max: number;
              min: number;
              name: string;
              required: boolean;
              static: boolean;
              title: null | string | { [key: string]: string };
              type: "text";
          }
          | {
              backendModifiers: {
                  starts_new_line?: boolean;
                  width?: "half"
                  | "full";
              };
              class: string;
              defaultValue: null
              | string;
              info: null | string | { [key: string]: string };
              isMetaField: boolean;
              max: number;
              min: number;
              name: string;
              required: boolean;
              static: boolean;
              title: null | string | { [key: string]: string };
              type: "static";
          }
          | {
              backendModifiers: {
                  starts_new_line?: boolean;
                  width?: "half"
                  | "full";
              };
              class: string;
              defaultValue: null
              | { file: string; name: string; size: number };
              ext: null | string[];
              info: null | string | { [key: string]: string };
              isMetaField: boolean;
              max: null | number;
              maxheight: null | number;
              maxwidth: null | number;
              min: null | number;
              minheight: null | number;
              minwidth: null | number;
              name: string;
              required: boolean;
              static: boolean;
              title: null | string | { [key: string]: string };
              type: "image";
          }
          | {
              backendModifiers: {
                  starts_new_line?: boolean;
                  width?: "half"
                  | "full";
              };
              class: string;
              defaultValue: null
              | { file: string; name: string; size: number };
              ext: null | string[];
              info: null | string | { [key: string]: string };
              isMetaField: boolean;
              max: null | number;
              min: null | number;
              name: string;
              required: boolean;
              static: boolean;
              title: null | string | { [key: string]: string };
              type: "upload";
          }
          | {
              backendModifiers: {
                  starts_new_line?: boolean;
                  width?: "half"
                  | "full";
              };
              class: string;
              defaultValue: null
              | string;
              info: null | string | { [key: string]: string };
              isMetaField: boolean;
              max: number;
              min: number;
              name: string;
              required: boolean;
              static: boolean;
              title: null | string | { [key: string]: string };
              type: "longtext";
          }
          | {
              backendModifiers: {
                  starts_new_line?: boolean;
                  width?: "half"
                  | "full";
              };
              class: string;
              defaultValue: null
              | string;
              info: null | string | { [key: string]: string };
              isMetaField: boolean;
              items: { name: string | { [key: string]: string }; value: null | string }[];
              name: string;
              required: boolean;
              static: boolean;
              title: null | string | { [key: string]: string };
              type: "radio";
          }
          | {
              backendModifiers: {
                  starts_new_line?: boolean;
                  width?: "half"
                  | "full";
              };
              class: string;
              defaultValue: null
              | number;
              info: null | string | { [key: string]: string };
              isMetaField: boolean;
              max: number;
              min: number;
              name: string;
              required: boolean;
              static: boolean;
              title: null | string | { [key: string]: string };
              type: "number";
          }
      )[]

      Questions

    • title: null | string | { [key: string]: string }

      Title