{
  "name": "dnxte/floating-elements-item",
  "d4Shortcode": "dnxte_floating_element_child",
  "title": "Floating Elements Item",
  "titles": "Floating Elements Items",
  "category": "child-module",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}} img",
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Floating Elements Item"
            }
          }
        },
        "decoration": {
          "sizing": {
            "desktop": {
              "value": {
                "maxWidth": "50%"
              }
            }
          }
        }
      },
      "styleProps": {
        "background": {
          "selector": "{{selector}} .dnxte-fltshape"
        },
        "sizing": {
          "selector": "{{selector}}",
          "propertySelectors": {
            "desktop": {
              "value": {
                "height": "{{selector}} img",
                "max-height": "{{selector}} img"
              }
            }
          }
        }
      }
    },
    "floatingImage": {
      "type": "object",
      "selector": ".dnxte_floating_elements {{selector}} .dnxte-floting-image",
      "inlineEditor": "upload",
      "elementType": "image",
      "settings": {
        "innerContent": {
          "desktop": {
            "value": {
              "src" : "",
              "alt" : ""
            }
          }
        }
      }
    },
    "floatingText": {
      "type": "object",
      "selector": ".dnxte_floating_elements {{selector}} .dnxte-floting-text",
      "elementType": "text",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "Text Goes Here"
          }
        }
      },
      "settings": {
        "innerContent": {}
      }
    },
    "floatingElement": {
      "type": "object",
      "default":{
        "advanced":{
          "type": {
            "desktop": {
              "value": "on"
            }
          },
          "animation": {
            "desktop": {
              "value": "three"
            }
          },
          "customAnimation": {
            "desktop": {
              "value": "dnxtefltmoveone"
            }
          },
          "animationDuration": {
            "desktop": {
              "value": "30s"
            }
          },
          "animationDirection": {
            "desktop": {
              "value": "alternate"
            }
          },
          "animationIterationCount": {
            "desktop": {
              "value": "infinite"
            }
          },
          "animationTimingEffect": {
            "desktop": {
              "value": "linear"
            }
          },
          "verticalPosition": {
            "desktop": {
              "value": "0rem"
            }
          },
          "horizontalPosition": {
            "desktop": {
              "value": "0rem"
            }
          }
        }
      },
      "settings": {
        "advanced": {
          "type": {},
          "animation": {},
          "customAnimation": {},
          "animationDirection": {},
          "animationIterationCount": {},
          "iterationCountNumber": {},
          "animationTimingEffect": {},
          "horizontalPosition": {},
          "verticalPosition": {},
          "animationDuration": {}
        }
      }
    },
    "floting_shape_use_text":{
      "type": "hidden",     
      "settings":{
        "advanced":{
          "textOnOff": {}
        }
      }
    }
    
  },
  "customCssFields": { 
    "floatingImage": {
      "subName": "floatingImage",
      "selectorSuffix": " .dnxte-floting-image"
    },
    "floatingText": {
      "subName": "floatingText",
      "selectorSuffix": " .dnxte-floting-text"
    }
  }
}
