diff --git a/_data/components/dateRangeInput.yml b/_data/components/dateRangeInput.yml index 9f408850f..a1a2bbba2 100644 --- a/_data/components/dateRangeInput.yml +++ b/_data/components/dateRangeInput.yml @@ -1,5 +1,5 @@ directive: "o-daterange-input" -version: "4.0.6" +version: "15.4.0" apiTitle: "ODateRangeInputComponent" @@ -60,11 +60,17 @@ attributes: [{ required: "", description: "Type of the component data" },{ - name: "mode", - type: "auto | desktop | mobile", - default: "auto", + name: "placeholder-startday", + type: "string", + default: "Start date", + required: "", + description: "Field placeholder, must be the key in the translation file for the start date input" +},{ + name: "placeholder-endday", + type: "string", + default: "Start date", required: "", - description: "Indicates the component performance mode" + description: "Field placeholder, must be the key in the translation file for the end date input" }] inheritedOutputs: [{ diff --git a/_data/components/dateRangeLegacyInput.yml b/_data/components/dateRangeLegacyInput.yml new file mode 100644 index 000000000..edab929d0 --- /dev/null +++ b/_data/components/dateRangeLegacyInput.yml @@ -0,0 +1,74 @@ +directive: "o-daterange-legacy-input" +version: "4.0.6" + +apiTitle: "ODateRangeLegacyInputComponent" + +inheritedAttributes: [{ + component: "FormDataComponent", + path: "components/input/overview/api", + attributes: ["attr", "label", "tooltip", "tooltip-position", "tooltip-show-delay", "automatic-binding", "automatic-registering", "data", "enabled", "required", "clear-button", "sql-type", "width", "read-only", "validators", "label-visible", "hide-required-marker", "select-all-on-click"] +}] + +attributes: [{ + name: "format", + type: "string", + default: "MomentJS localized format L (see Localized formats in [MomentJS format](http://momentjs.com/docs/#/displaying/format){:target='_blank'})", + required: "", + description: "Date format. See [MomentJS format](http://momentjs.com/docs/#/displaying/format){:target='_blank'}" +},{ + name: "locale" +},{ + name: "startKey", + type: "string", + default: "startDate", + required: "", + description: "" +},{ + name: "endKey", + type: "string", + default: "endDate", + required: "", + description: "" +},{ + name: "min", + type: "string", + default: "", + required: "", + description: "Minimum selectable date" +},{ + name: "max", + type: "string", + default: "", + required: "", + description: "Maximum selectable date" +},{ + name: "touch-ui", + type: "no | false | yes | true", + default: "no", + required: "", + description: "Indicates wheter to use the datepicker 'touch-ui' mode" +},{ + name: "text-input-enabled", + type: "no | false | yes | true", + default: "yes", + required: "", + description: "Indicates whether or not to allow the user to edit the input manually" + },{ + name: "value-type", + type: "string | date | timestamp | iso-8601", + default: "timestamp", + required: "", + description: "Type of the component data" +},{ + name: "mode", + type: "auto | desktop | mobile", + default: "auto", + required: "", + description: "Indicates the component performance mode" +}] + +inheritedOutputs: [{ + component: "FormDataComponent", + path: "components/input/overview/api", + outputs: ["onChange", "onValueChange","onFocus", "onBlur"] +}] diff --git a/_data/menu_descriptions.yml b/_data/menu_descriptions.yml index a73d476f3..ea819a0fa 100644 --- a/_data/menu_descriptions.yml +++ b/_data/menu_descriptions.yml @@ -93,6 +93,9 @@ sections: - url: "/components/input/daterange/overview" title: "Date range" imagepath: "/assets/images/menus/input/daterange" + - url: "/components/input/daterangelegacy/overview" + title: "Date range legacy" + imagepath: "/assets/images/menus/input/daterange" - url: "/components/input/hour/overview" title: "Hour" imagepath: "/assets/images/menus/input/hour" diff --git a/assets/images/components/inputs/o-daterange-format.png b/assets/images/components/inputs/o-daterange-format.png index f65d77f92..6981162af 100644 Binary files a/assets/images/components/inputs/o-daterange-format.png and b/assets/images/components/inputs/o-daterange-format.png differ diff --git a/assets/images/components/inputs/o-daterange-input-validation-minmax-1.png b/assets/images/components/inputs/o-daterange-input-validation-minmax-1.png new file mode 100644 index 000000000..6da7cbe1d Binary files /dev/null and b/assets/images/components/inputs/o-daterange-input-validation-minmax-1.png differ diff --git a/assets/images/components/inputs/o-daterange-input-validation-minmax-2.png b/assets/images/components/inputs/o-daterange-input-validation-minmax-2.png new file mode 100644 index 000000000..b60bf1706 Binary files /dev/null and b/assets/images/components/inputs/o-daterange-input-validation-minmax-2.png differ diff --git a/assets/images/components/inputs/o-daterange-input.png b/assets/images/components/inputs/o-daterange-input.png index 45bcd1c14..394bd1ff9 100644 Binary files a/assets/images/components/inputs/o-daterange-input.png and b/assets/images/components/inputs/o-daterange-input.png differ diff --git a/assets/images/components/inputs/o-daterange-legacy-format.png b/assets/images/components/inputs/o-daterange-legacy-format.png new file mode 100644 index 000000000..f65d77f92 Binary files /dev/null and b/assets/images/components/inputs/o-daterange-legacy-format.png differ diff --git a/assets/images/components/inputs/o-daterange-input-validation-minmax.png b/assets/images/components/inputs/o-daterange-legacy-input-validation-minmax.png similarity index 100% rename from assets/images/components/inputs/o-daterange-input-validation-minmax.png rename to assets/images/components/inputs/o-daterange-legacy-input-validation-minmax.png diff --git a/assets/images/components/inputs/o-daterange-legacy-input.png b/assets/images/components/inputs/o-daterange-legacy-input.png new file mode 100644 index 000000000..45bcd1c14 Binary files /dev/null and b/assets/images/components/inputs/o-daterange-legacy-input.png differ diff --git a/assets/images/components/inputs/o-daterange-mode-mobile.png b/assets/images/components/inputs/o-daterange-legacy-mode-mobile.png similarity index 100% rename from assets/images/components/inputs/o-daterange-mode-mobile.png rename to assets/images/components/inputs/o-daterange-legacy-mode-mobile.png diff --git a/assets/images/components/inputs/o-daterange-legacy-touchui.png b/assets/images/components/inputs/o-daterange-legacy-touchui.png new file mode 100644 index 000000000..89c4cf7d2 Binary files /dev/null and b/assets/images/components/inputs/o-daterange-legacy-touchui.png differ diff --git a/assets/images/components/inputs/o-daterange-touchui.png b/assets/images/components/inputs/o-daterange-touchui.png index 89c4cf7d2..ba1b3987d 100644 Binary files a/assets/images/components/inputs/o-daterange-touchui.png and b/assets/images/components/inputs/o-daterange-touchui.png differ diff --git a/docs/aditional-information/52-versions.md b/docs/aditional-information/52-versions.md index d924dbfad..e7a922969 100644 --- a/docs/aditional-information/52-versions.md +++ b/docs/aditional-information/52-versions.md @@ -29,13 +29,22 @@ In this section you can check the different releases of **OntimizeWeb** and its