All Downloads are FREE. Search and download functionalities are using the official Maven repository.

widgets.pbDatePicker.pbDatePicker.json Maven / Gradle / Ivy

There is a newer version: 1.0.9
Show newest version
{
  "id" : "pbDatePicker",
  "name" : "Date Picker",
  "type" : "widget",
  "custom" : false,
  "modelVersion" : "2.6",
  "description" : "Calendar for selecting a date (only)",
  "template" : "@pbDatePicker.tpl.html",
  "controller" : "@pbDatePicker.ctrl.js",
  "properties" : [
    {
      "label" : "Read-only",
      "name" : "readOnly",
      "type" : "boolean",
      "defaultValue" : false,
      "bond" : "expression"
    },
    {
      "label" : "Required",
      "name" : "required",
      "help" : "In the context of a form container, use $form.$invalid as a Boolean to check form validity in a widget property",
      "type" : "boolean",
      "defaultValue" : false,
      "bond" : "expression"
    },
    {
      "label" : "Interpret HTML",
      "name" : "allowHTML",
      "help" : "For 'Label' property only. If you choose 'no', HTML code will be escaped instead of being interpreted. If you choose ‘Yes’, this could potentially lead to HTML injections attacks. Please take into account these risks.",
      "type" : "boolean",
      "defaultValue" : false,
      "bond" : "constant"
    },
    {
      "label" : "Label hidden",
      "name" : "labelHidden",
      "type" : "boolean",
      "defaultValue" : false,
      "bond" : "constant"
    },
    {
      "label" : "Label",
      "name" : "label",
      "showFor" : "properties.labelHidden.value === false",
      "type" : "text",
      "defaultValue" : "Date",
      "bond" : "interpolation"
    },
    {
      "label" : "Label position",
      "name" : "labelPosition",
      "showFor" : "properties.labelHidden.value === false",
      "type" : "choice",
      "defaultValue" : "top",
      "choiceValues" : [
        "left",
        "top"
      ],
      "bond" : "constant"
    },
    {
      "label" : "Label width",
      "name" : "labelWidth",
      "showFor" : "properties.labelHidden.value === false",
      "type" : "integer",
      "defaultValue" : 4,
      "bond" : "constant",
      "constraints" : {
        "min" : "1",
        "max" : "12"
      }
    },
    {
      "label" : "Value",
      "name" : "value",
      "caption" : "Input: ISO 8601 formatted String (yyyy-MM-dd), Date object or Long number 
Output: Date object (see widget help)", "type" : "text", "bond" : "variable" }, { "label" : "Technical date format", "name" : "dateFormat", "caption" : "Use the characters: M (month), d (day), y (year)", "type" : "text", "defaultValue" : "MM/dd/yyyy", "bond" : "expression" }, { "label" : "Date Placeholder", "name" : "placeholder", "caption" : "Includes the localized version of the Technical date format property, to guide the user", "help" : "Short hint that describes the expected input format for the date", "type" : "text", "defaultValue" : "Enter a date (mm/dd/yyyy)", "bond" : "interpolation" }, { "label" : "Show Today button", "name" : "showToday", "help" : "Display or hide the shortcut button to current day", "type" : "boolean", "defaultValue" : true, "bond" : "constant" }, { "label" : "Today button label", "name" : "todayLabel", "help" : "Can be translated using the asset localization.json", "showFor" : "properties.showToday.value === true", "type" : "text", "defaultValue" : "Today", "bond" : "interpolation" } ], "assets" : [ { "id" : "fc1d2832-3f1c-4e8d-b2a4-e6841bccbe14", "name" : "angular-strap-2.3.9-patched-dateTimePicker-setValidity.tpl.min.js", "type" : "js", "order" : 2, "external" : false }, { "id" : "80a1ea34-c90d-4ed8-a139-b5527202f135", "name" : "angular-strap-2.3.9-patched-dateTimePicker-setValidity.compat.min.js", "type" : "js", "order" : 1, "external" : false } ], "requiredModules" : [ "mgcrea.ngStrap.datepicker" ], "webResources" : [ ], "icon" : "", "order" : 10, "hasHelp" : true }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy