{
  "definitions": {
    "events": {
      "$ref": "#/definitions/Events",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "definitions": {
        "Events": {
          "additionalProperties": false,
          "properties": {
            "clickEnter": {
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "valid": {
                  "type": "boolean"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "value",
                "valid"
              ],
              "type": "object"
            },
            "setVal": {
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "valid": {
                  "type": "boolean"
                },
                "value": {
                  "type": "string"
                }
              },
              "required": [
                "value",
                "valid",
                "id"
              ],
              "type": "object"
            }
          },
          "required": [
            "setVal",
            "clickEnter"
          ],
          "type": "object"
        }
      }
    },
    "component": {
      "$ref": "#/definitions/Component",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "definitions": {
        "Component": {
          "additionalProperties": false,
          "properties": {
            "id": {
              "type": "string"
            },
            "schemaentry": {
              "$ref": "#/definitions/FormSchemaEntry"
            },
            "show_validation": {
              "enum": [
                "yes",
                "no"
              ],
              "type": "string"
            },
            "style": {
              "type": "string"
            }
          },
          "required": [
            "schemaentry"
          ],
          "type": "object"
        },
        "FormSchemaEntry": {
          "additionalProperties": false,
          "properties": {
            "disabled": {
              "description": "When true, the native control is disabled and non-interactive.",
              "type": "boolean"
            },
            "id": {
              "description": "This will be both the key of the object when submitting the form's data, and also the id in the DOM.",
              "type": "string"
            },
            "label": {
              "description": "The descriptive label that will show alongside the form control.",
              "type": "string"
            },
            "params": {
              "description": "Other parameters that may be specific to a certain kind of form control.",
              "type": "object"
            },
            "placeholder": {
              "type": "string"
            },
            "readonly": {
              "type": "boolean"
            },
            "required": {
              "description": "This doesn't matter if the dependencies requirements aren't met.",
              "type": "boolean"
            },
            "validationRegex": {
              "type": "string"
            },
            "validationTip": {
              "description": "Shows if value is not valid.",
              "type": "string"
            },
            "value": {
              "description": "Optional default value.",
              "type": [
                "string",
                "number",
                "boolean"
              ]
            }
          },
          "required": [
            "id"
          ],
          "type": "object"
        }
      }
    }
  },
  "description": "Composes child web components `hb-input-date` and `hb-input-number` to edit date, hours, minutes, and (unless `params.removeSeconds`) seconds, then combines them into a single ISO string `value`. Honors `schemaentry.params.min` / `max` as date bounds when required. Registers `@htmlbricks/hb-input-date` and `@htmlbricks/hb-input-number` and dispatches `setVal` with `{ value, valid, id }`. Bulma field grouping and help on `:host`.",
  "storybookArgs": {
    "schemaentry": {
      "control": {
        "type": "object"
      }
    },
    "show_validation": {
      "control": {
        "type": "boolean"
      }
    },
    "setVal": {
      "action": "setVal"
    },
    "clickEnter": {
      "action": "clickEnter"
    }
  },
  "styleSetup": {
    "vars": [],
    "parts": [
      {
        "name": "invalid-feedback",
        "description": ""
      }
    ]
  },
  "contributors": [],
  "htmlSlots": [],
  "i18n": [],
  "examples": [
    {
      "name": "empty",
      "data": {
        "schemaentry": {
          "placeholder": "Insert your last name here...",
          "id": "lastName",
          "label": "Last Name",
          "validationTip": "This field cannot be empty.",
          "params": {
            "removeSeconds": true
          }
        }
      }
    },
    {
      "name": "emptyRequired",
      "data": {
        "schemaentry": {
          "placeholder": "Insert your last name here...",
          "id": "lastName",
          "required": true,
          "label": "Last Name",
          "validationTip": "This field cannot be empty."
        }
      }
    },
    {
      "name": "withValue",
      "data": {
        "schemaentry": {
          "placeholder": "Insert your last name here...",
          "id": "lastName",
          "required": true,
          "label": "Last Name",
          "validationTip": "This field cannot be empty.",
          "value": "2022-06-23T05:09:08.107Z"
        }
      }
    },
    {
      "name": "bugged",
      "data": {
        "schemaentry": {
          "label": "datetime",
          "placeholder": "Insert your last name here...",
          "id": "datelsastNafme66",
          "required": true,
          "validationTip": "This field cannot be empty.",
          "value": "2022-06-23T13:41:10.107Z"
        }
      }
    },
    {
      "name": "maxDate27Feb2023",
      "data": {
        "schemaentry": {
          "placeholder": "Insert your last name here...",
          "id": "lastName",
          "required": true,
          "label": "Last Name",
          "validationTip": "This field cannot be empty.",
          "params": {
            "max": "2023-02-27T00:00:00.000Z"
          }
        }
      }
    },
    {
      "name": "minDate27Feb2023",
      "data": {
        "schemaentry": {
          "placeholder": "Insert your last name here...",
          "id": "lastName",
          "required": true,
          "label": "Last Name",
          "validationTip": "This field cannot be empty.",
          "params": {
            "min": "2023-02-27T00:00:00.000Z"
          }
        }
      }
    },
    {
      "name": "rangeDate27Feb2023",
      "data": {
        "schemaentry": {
          "placeholder": "Insert your last name here...",
          "id": "lastName",
          "required": true,
          "label": "Last Name",
          "validationTip": "This field cannot be empty.",
          "params": {
            "min": "2023-02-27T00:00:00.000Z",
            "max": "2023-02-27T23:59:59.999Z"
          }
        }
      }
    },
    {
      "name": "disabled",
      "description": "Datetime input is fully disabled and non-interactive.",
      "data": {
        "schemaentry": {
          "id": "datetimeDisabled",
          "label": "Event date (locked)",
          "value": "2024-06-15T14:30:00.000Z",
          "disabled": true
        }
      }
    }
  ],
  "iifeIntegrity": "sha384-RIl47sxsEoBxTT7RI7vmTlTiUsX9Z1bjIGiXX5tpt/8YckRLjxpkGiKcEfmjWaw7",
  "dependencies": [
    {
      "name": "hb-input-date",
      "dependencies": []
    },
    {
      "name": "hb-input-number",
      "dependencies": []
    }
  ],
  "screenshots": [],
  "licenses": [
    {
      "type": "Apache-2.0",
      "path": "LICENSE.md",
      "cost": 0,
      "currency": "EUR"
    }
  ],
  "readmePath": "README.md",
  "name": "hb-input-datetime",
  "category": "inputs",
  "tags": [
    "inputs"
  ],
  "size": {},
  "iifePath": "main.iife.js",
  "repoName": "@htmlbricks/hb-input-datetime",
  "version": "0.71.32"
}