{
  "name": "dina/typing-text",
  "d4Shortcode": "dina_typing_text",
  "title": "Typing Text",
  "titles": "Typing Texts",
  "moduleIcon": "dina/typing-text",
  "moduleClassName": "dina_typing_text",
  "moduleOrderClassName": "dina_typing_text",
  "category": "module",
  "folder": "divinationkit",
  "childrenName": [],
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Typing Text"
            }
          }
        },
        "advanced": {
          "typeSpeed": {
            "desktop": {
              "value": "80"
            }
          },
          "deleteSpeed": {
            "desktop": {
              "value": "40"
            }
          },
          "pauseTime": {
            "desktop": {
              "value": "1500"
            }
          },
          "repeat": {
            "desktop": {
              "value": "on"
            }
          },
          "cursor": {
            "desktop": {
              "value": "bar"
            }
          }
        }
      },
      "settings": {
        "meta": {
          "adminLabel": {}
        },
        "advanced": {
          "beforeText": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentText",
              "attrName": "module.advanced.beforeText",
              "label": "Before Text",
              "priority": 10,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            }
          },
          "strings": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentText",
              "attrName": "module.advanced.strings",
              "label": "Typed Text",
              "description": "One per line. Each line is typed, then deleted for the next.",
              "priority": 20,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/textarea"
              }
            }
          },
          "afterText": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentText",
              "attrName": "module.advanced.afterText",
              "label": "After Text",
              "priority": 30,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            }
          },
          "typeSpeed": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentAnimation",
              "attrName": "module.advanced.typeSpeed",
              "label": "Typing Speed",
              "description": "Milliseconds per letter. Lower is faster.",
              "priority": 10,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 10,
                  "max": 500,
                  "step": 10,
                  "allowedUnits": [],
                  "defaultUnit": ""
                }
              }
            }
          },
          "deleteSpeed": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentAnimation",
              "attrName": "module.advanced.deleteSpeed",
              "label": "Deleting Speed",
              "description": "Milliseconds per letter. Lower is faster.",
              "priority": 20,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 10,
                  "max": 500,
                  "step": 10,
                  "allowedUnits": [],
                  "defaultUnit": ""
                }
              }
            }
          },
          "pauseTime": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentAnimation",
              "attrName": "module.advanced.pauseTime",
              "label": "Pause",
              "description": "Milliseconds a typed line stays before it is deleted. Visitors who turn on reduced motion in their system see the first line, without animation.",
              "priority": 30,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 10000,
                  "step": 100,
                  "allowedUnits": [],
                  "defaultUnit": ""
                }
              }
            }
          },
          "repeat": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentAnimation",
              "attrName": "module.advanced.repeat",
              "label": "Loop",
              "description": "Off: stops after typing the last line.",
              "priority": 40,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            }
          },
          "cursor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentAnimation",
              "attrName": "module.advanced.cursor",
              "label": "Cursor",
              "priority": 50,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "bar": {
                      "label": "Bar"
                    },
                    "underscore": {
                      "label": "Underscore"
                    },
                    "block": {
                      "label": "Block"
                    },
                    "none": {
                      "label": "None"
                    }
                  }
                }
              }
            }
          },
          "htmlAttributes": {}
        },
        "decoration": {
          "animation": {},
          "attributes": {},
          "background": {},
          "border": {},
          "boxShadow": {},
          "conditions": {},
          "disabledOn": {},
          "filters": {},
          "interactions": {},
          "layout": {},
          "overflow": {},
          "order": {},
          "position": {},
          "scroll": {},
          "sizing": {},
          "spacing": {},
          "sticky": {},
          "transform": {},
          "transition": {},
          "zIndex": {}
        }
      }
    },
    "heading": {
      "type": "object",
      "selector": "{{selector}} .dina_typing_text-heading",
      "default": {
        "decoration": {
          "font": {
            "font": {
              "desktop": {
                "value": {
                  "headingLevel": "h2"
                }
              }
            }
          }
        }
      },
      "settings": {
        "decoration": {
          "font": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designText",
              "priority": 10,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/font",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Text",
                  "fields": {
                    "headingLevel": {
                      "render": true
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "typed": {
      "type": "object",
      "selector": "{{selector}} .dina_typing_text-animated",
      "settings": {
        "decoration": {
          "font": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designTyped",
              "priority": 10,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/font",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Typed Text",
                  "fields": {
                    "headingLevel": {
                      "render": false
                    }
                  }
                }
              }
            }
          },
          "background": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designTypedBox",
              "priority": 20,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/background",
                "props": {
                  "grouped": true,
                  "fieldLabel": "Typed Text"
                }
              }
            }
          },
          "border": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designTypedBox",
              "priority": 30,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/border",
                "props": {
                  "grouped": true,
                  "fieldLabel": "Typed Text"
                }
              }
            }
          },
          "spacing": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designTypedBox",
              "priority": 40,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/spacing",
                "props": {
                  "grouped": true,
                  "fieldLabel": "Typed Text",
                  "fields": {
                    "margin": {
                      "render": false
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "cursor": {
      "type": "object",
      "selector": "{{selector}} .dina_typing_text-cursor",
      "settings": {
        "advanced": {
          "color": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designCursor",
              "attrName": "cursor.advanced.color",
              "label": "Cursor Color",
              "priority": 10,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": true,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker",
                "props": {
                  "isAlpha": true
                }
              }
            }
          }
        }
      }
    }
  },
  "customCssFields": {
    "before": {
      "subName": "before",
      "label": "Before Text",
      "selectorSuffix": " .dina_typing_text-before"
    },
    "typed": {
      "subName": "typed",
      "label": "Typed Text",
      "selectorSuffix": " .dina_typing_text-animated"
    },
    "cursor": {
      "subName": "cursor",
      "label": "Cursor",
      "selectorSuffix": " .dina_typing_text-cursor"
    },
    "after": {
      "subName": "after",
      "label": "After Text",
      "selectorSuffix": " .dina_typing_text-after"
    }
  },
  "settings": {
    "content": "auto",
    "design": "auto",
    "advanced": "auto",
    "groups": {
      "contentText": {
        "panel": "content",
        "priority": 10,
        "groupName": "contentText",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Text"
          }
        }
      },
      "contentAnimation": {
        "panel": "content",
        "priority": 20,
        "groupName": "contentAnimation",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Animation"
          }
        }
      },
      "designText": {
        "panel": "design",
        "priority": 30,
        "groupName": "designText",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Text",
            "clipboardCategory": "style",
            "presetGroup": "divi/font"
          }
        }
      },
      "designTyped": {
        "panel": "design",
        "priority": 40,
        "groupName": "designTyped",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Typed Text",
            "clipboardCategory": "style",
            "presetGroup": "divi/font"
          }
        }
      },
      "designTypedBox": {
        "panel": "design",
        "priority": 50,
        "groupName": "designTypedBox",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Typed Text Box"
          }
        }
      },
      "designCursor": {
        "panel": "design",
        "priority": 60,
        "groupName": "designCursor",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Cursor"
          }
        }
      }
    }
  }
}
