UNPKG

@fooloomanzoo/datetime-input

Version:
1,798 lines (1,797 loc) 275 kB
{ "schema_version": "1.0.0", "elements": [ { "description": "`<date-input>` is an input for time for **[Polymer](https://github.com/Polymer/polymer)**\n\n ```html\n <date-input value=\"{{value}}\"></date-input>\n ```\n\n Have a look at [input-picker-pattern#input-shared-style](https://github.com/fooloomanzoo/input-picker-pattern#input-shared-style) to see the used style-properties.", "summary": "", "path": "date-input.js", "properties": [ { "name": "clamp", "type": "string | null | undefined", "description": "Clamp datetime to a property\npossible values:'month', 'day', 'hour', 'minute', 'second', 'millisecond'", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 394, "column": 8 }, "end": { "line": 398, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_clampChanged\"", "attributeType": "String" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "_timeOnly", "type": "boolean | null | undefined", "description": "if true perspective starts at 0 (1970-01-01)", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 436, "column": 8 }, "end": { "line": 439, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Boolean" } }, "defaultValue": "false", "inheritedFrom": "DatetimeMixin" }, { "name": "hideResetButton", "type": "boolean | null | undefined", "description": "if true, the reset button is hidden", "privacy": "public", "sourceRange": { "file": "datetime-input-mixin.js", "start": { "line": 341, "column": 8 }, "end": { "line": 344, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Boolean" } }, "inheritedFrom": "DatetimeInputMixin" }, { "name": "withTimezone", "type": "boolean | null | undefined", "description": "if true, timezone inputs are shown", "privacy": "public", "sourceRange": { "file": "datetime-input-mixin.js", "start": { "line": 349, "column": 8 }, "end": { "line": 352, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Boolean" } }, "defaultValue": "false", "inheritedFrom": "DatetimeInputMixin" }, { "name": "_resetButtonIsInvisible", "type": "boolean | null | undefined", "description": "", "privacy": "protected", "sourceRange": { "file": "datetime-input-mixin.js", "start": { "line": 354, "column": 8 }, "end": { "line": 357, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "Boolean" } }, "inheritedFrom": "DatetimeInputMixin" }, { "name": "name", "type": "string | null | undefined", "description": "name of the input", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 46, "column": 8 }, "end": { "line": 48, "column": 9 } }, "metadata": { "polymer": { "attributeType": "String" } }, "inheritedFrom": "FormElementMixin" }, { "name": "title", "type": "string | null | undefined", "description": "description for the element and can be used as a hint for invalid values", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 53, "column": 8 }, "end": { "line": 56, "column": 9 } }, "metadata": { "polymer": { "attributeType": "String" } }, "inheritedFrom": "FormElementMixin" }, { "name": "propertyForValue", "type": "string | null | undefined", "description": "defines the property that should be used for the value", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 61, "column": 8 }, "end": { "line": 64, "column": 9 } }, "metadata": { "polymer": { "observer": "\"_createReflectPropertyToValueObserver\"", "attributeType": "String" } }, "inheritedFrom": "FormElementMixin" }, { "name": "value", "type": "Object | null | undefined", "description": "value of the input", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 69, "column": 8 }, "end": { "line": 73, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_valueChanged\"", "attributeType": "Object" } }, "inheritedFrom": "FormElementMixin" }, { "name": "default", "type": "Object | null | undefined", "description": "The default value of the input, could be a number, a date-object or an iso-string in time, date or datetime-notation", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 343, "column": 8 }, "end": { "line": 346, "column": 9 } }, "metadata": { "polymer": { "observer": "\"_defaultChanged\"", "attributeType": "Object" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "disabled", "type": "boolean | null | undefined", "description": "disables the input", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 86, "column": 8 }, "end": { "line": 90, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Boolean" } }, "inheritedFrom": "FormElementMixin" }, { "name": "invalid", "type": "boolean | null | undefined", "description": "required attribute", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 95, "column": 8 }, "end": { "line": 100, "column": 9 } }, "metadata": { "polymer": { "notify": true, "readOnly": true, "attributeType": "Boolean" } }, "inheritedFrom": "FormElementMixin" }, { "name": "required", "type": "boolean | null | undefined", "description": "required attribute", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 105, "column": 8 }, "end": { "line": 110, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Boolean" } }, "defaultValue": "false", "inheritedFrom": "FormElementMixin" }, { "name": "valueIsSet", "type": "boolean | null | undefined", "description": "is true when the value is set", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 115, "column": 8 }, "end": { "line": 119, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "Boolean" } }, "defaultValue": "false", "inheritedFrom": "FormElementMixin" }, { "name": "_isSet", "type": "Function | null | undefined", "description": "defines whether the value is set", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 124, "column": 8 }, "end": { "line": 126, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Function" } }, "inheritedFrom": "FormElementMixin" }, { "name": "_validate", "type": "Function | null | undefined", "description": "validates the value (when required)", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 131, "column": 8 }, "end": { "line": 133, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Function" } }, "inheritedFrom": "FormElementMixin" }, { "name": "locale", "type": "string | null | undefined", "description": "The current locale", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/intl-datetime-format-mixin.js", "start": { "line": 23, "column": 8 }, "end": { "line": 26, "column": 9 } }, "metadata": { "polymer": { "attributeType": "String" } }, "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "decimalSeparator", "type": "string", "description": "locale separator for local decimal values", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/intl-datetime-format-mixin.js", "start": { "line": 32, "column": 8 }, "end": { "line": 35, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } }, "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "dateSeparator", "type": "string", "description": "Separator for local date values (date-string is still in ISO-Format)", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/intl-datetime-format-mixin.js", "start": { "line": 41, "column": 8 }, "end": { "line": 44, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } }, "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "timeSeparator", "type": "string", "description": "Separator for local time values (time-string is still in ISO-Format)", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/intl-datetime-format-mixin.js", "start": { "line": 50, "column": 8 }, "end": { "line": 53, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } }, "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "amString", "type": "string | null | undefined", "description": "locale representation of 'AM'", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/intl-datetime-format-mixin.js", "start": { "line": 58, "column": 8 }, "end": { "line": 61, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } }, "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "pmString", "type": "string | null | undefined", "description": "locale representation of 'PM'", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/intl-datetime-format-mixin.js", "start": { "line": 66, "column": 8 }, "end": { "line": 69, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "String" } }, "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "dateOrder", "type": "Object | null | undefined", "description": "order of date-parts", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/intl-datetime-format-mixin.js", "start": { "line": 74, "column": 8 }, "end": { "line": 85, "column": 9 } }, "metadata": { "polymer": { "notify": true, "readOnly": true, "attributeType": "Object" } }, "defaultValue": "{\"parts\":[],\"timeFirst\":false,\"dateFirst\":true}", "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "year", "type": "number | null | undefined", "description": "The year of the selected date", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 225, "column": 8 }, "end": { "line": 228, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "month", "type": "number | null | undefined", "description": "The month of the selected date (starts with 1)", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 233, "column": 8 }, "end": { "line": 236, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "day", "type": "number | null | undefined", "description": "The day of the selected date", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 241, "column": 8 }, "end": { "line": 244, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "hour", "type": "number | null | undefined", "description": "The hour of the selected time", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 249, "column": 8 }, "end": { "line": 252, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "hour12", "type": "number", "description": "hour in 12-hour-format", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 258, "column": 8 }, "end": { "line": 262, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_hour12Changed\"", "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "isAm", "type": "boolean", "description": "true, when A.M. (when `hour` < 12)", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 268, "column": 8 }, "end": { "line": 272, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_isAmChanged\"", "attributeType": "Boolean" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "minute", "type": "number | null | undefined", "description": "The minute of the selected time", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 277, "column": 8 }, "end": { "line": 280, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "second", "type": "number | null | undefined", "description": "The second of the selected time", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 285, "column": 8 }, "end": { "line": 288, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "millisecond", "type": "number | null | undefined", "description": "The millisecond of the selected time", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 293, "column": 8 }, "end": { "line": 296, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "datetime", "type": "string | null | undefined", "description": "the selected date and time (format: iso8601)", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 301, "column": 8 }, "end": { "line": 304, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "String" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "date", "type": "string | null | undefined", "description": "the selected date (format: iso8601)", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 309, "column": 8 }, "end": { "line": 312, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "String" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "time", "type": "string | null | undefined", "description": "the selected time (format: iso8601)", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 317, "column": 8 }, "end": { "line": 320, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "String" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "valueAsDate", "type": "Date | null | undefined", "description": "The date-object of the selected date", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 325, "column": 8 }, "end": { "line": 329, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_valueAsDateChanged\"", "attributeType": "Date" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "valueAsNumber", "type": "number | null | undefined", "description": "The value of the selected date", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 334, "column": 8 }, "end": { "line": 338, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_valueAsNumberChanged\"", "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "min", "type": "Object | null | undefined", "description": "The minimal date, could be a number, a date-object or an iso-string in time, date or datetime-notation", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 351, "column": 8 }, "end": { "line": 355, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_minChanged\"", "attributeType": "Object" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "_minValue", "type": "number | null | undefined", "description": "value if the minimum date", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 360, "column": 8 }, "end": { "line": 362, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "max", "type": "Object | null | undefined", "description": "The maximal date, could be a number, a date-object or an iso-string in time, date or datetime-notation", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 367, "column": 8 }, "end": { "line": 371, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_maxChanged\"", "attributeType": "Object" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "_maxValue", "type": "number | null | undefined", "description": "value if the maximum date", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 376, "column": 8 }, "end": { "line": 378, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "hour12Format", "type": "boolean", "description": "when true, 12-hour time format, else 24-hour", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 384, "column": 8 }, "end": { "line": 388, "column": 9 } }, "metadata": { "polymer": { "notify": true, "attributeType": "Boolean" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "timezone", "type": "string | null | undefined", "description": "The timezone offset in '±hh:mm' format", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 403, "column": 8 }, "end": { "line": 407, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_timezoneChanged\"", "attributeType": "String" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "offsetMinutes", "type": "number | null | undefined", "description": "The offset minutes of the set timezone", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 412, "column": 8 }, "end": { "line": 416, "column": 9 } }, "metadata": { "polymer": { "notify": true, "observer": "\"_offsetMinutesChanged\"", "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "_timeZoneHours", "type": "number | null | undefined", "description": "", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 418, "column": 8 }, "end": { "line": 420, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "_timeZoneMinutes", "type": "number | null | undefined", "description": "", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 422, "column": 8 }, "end": { "line": 424, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "_recentLocalTimezoneOffset", "type": "number | null | undefined", "description": "The offset minute of the current datetime", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 429, "column": 8 }, "end": { "line": 431, "column": 9 } }, "metadata": { "polymer": { "attributeType": "Number" } }, "inheritedFrom": "DatetimeMixin" }, { "name": "_dateLocked", "type": "boolean | null | undefined", "description": "if true, time will be `00:00:00.000`", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 444, "column": 8 }, "end": { "line": 447, "column": 9 } }, "metadata": { "polymer": { "readOnly": true, "attributeType": "Boolean" } }, "inheritedFrom": "DatetimeMixin" } ], "methods": [ { "name": "_orderDateParts", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 60, "column": 4 }, "end": { "line": 115, "column": 5 } }, "metadata": {}, "params": [ { "name": "order" }, { "name": "clamp" } ], "return": { "type": "void" }, "inheritedFrom": "DateInputPattern" }, { "name": "_getDefaultForProp", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 117, "column": 4 }, "end": { "line": 127, "column": 5 } }, "metadata": {}, "params": [ { "name": "prop" } ], "inheritedFrom": "DateInputPattern" }, { "name": "_computeMaxForDayInput", "description": "", "privacy": "protected", "sourceRange": { "start": { "line": 129, "column": 4 }, "end": { "line": 134, "column": 5 } }, "metadata": {}, "params": [ { "name": "year" }, { "name": "month" } ], "inheritedFrom": "DateInputPattern" }, { "name": "_computePartOrder", "description": "", "privacy": "protected", "sourceRange": { "file": "datetime-input-mixin.js", "start": { "line": 361, "column": 4 }, "end": { "line": 363, "column": 5 } }, "metadata": {}, "params": [ { "name": "first" } ], "inheritedFrom": "DatetimeInputMixin" }, { "name": "_computeResetButtonIsInvisible", "description": "", "privacy": "protected", "sourceRange": { "file": "datetime-input-mixin.js", "start": { "line": 365, "column": 4 }, "end": { "line": 367, "column": 5 } }, "metadata": {}, "params": [ { "name": "valueIsSet" }, { "name": "defaultValue" }, { "name": "valueAsNumber" } ], "inheritedFrom": "DatetimeInputMixin" }, { "name": "_attachDom", "description": "attach dom with `delegatesFocus: true` so that the element is also focussed while its's children are too, and to autofocus to first tabable", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 30, "column": 4 }, "end": { "line": 39, "column": 5 } }, "metadata": {}, "params": [ { "name": "dom" } ], "inheritedFrom": "FormElementMixin" }, { "name": "connectedCallback", "description": "", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 144, "column": 4 }, "end": { "line": 147, "column": 5 } }, "metadata": {}, "params": [], "return": { "type": "void" }, "inheritedFrom": "FormElementMixin" }, { "name": "_defaultIsSet", "description": "", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 155, "column": 4 }, "end": { "line": 157, "column": 5 } }, "metadata": {}, "params": [ { "name": "value", "type": "Object", "description": "value to test" } ], "return": { "type": "Boolean", "desc": "true, if the value is set" }, "inheritedFrom": "FormElementMixin" }, { "name": "_defaultValidate", "description": "", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 167, "column": 4 }, "end": { "line": 169, "column": 5 } }, "metadata": {}, "params": [ { "name": "isSet", "type": "Function", "description": "The function that defines if the value is set" }, { "name": "value", "type": "Object", "description": "value to validate" }, { "name": "required", "type": "Boolean", "description": "if true, the value is required" } ], "return": { "type": "Boolean", "desc": "true, if the value is valid" }, "inheritedFrom": "FormElementMixin" }, { "name": "_computeInvalid", "description": "defines whether the value is set", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 178, "column": 4 }, "end": { "line": 180, "column": 5 } }, "metadata": {}, "params": [ { "name": "validate" }, { "name": "isSet" }, { "name": "value" }, { "name": "required" } ], "return": { "type": "void" }, "inheritedFrom": "FormElementMixin" }, { "name": "_computeValueIsSet", "description": "defines whether the value is set", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 187, "column": 4 }, "end": { "line": 189, "column": 5 } }, "metadata": {}, "params": [ { "name": "isSet" }, { "name": "value" } ], "return": { "type": "void" }, "inheritedFrom": "FormElementMixin" }, { "name": "_valueChanged", "description": "", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 191, "column": 4 }, "end": { "line": 196, "column": 5 } }, "metadata": {}, "params": [ { "name": "value" } ], "return": { "type": "void" }, "inheritedFrom": "FormElementMixin" }, { "name": "_defaultChanged", "description": "", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 584, "column": 4 }, "end": { "line": 591, "column": 5 } }, "metadata": {}, "params": [ { "name": "def" } ], "return": { "type": "void" }, "inheritedFrom": "DatetimeMixin" }, { "name": "_createReflectPropertyToValueObserver", "description": "", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 208, "column": 4 }, "end": { "line": 218, "column": 5 } }, "metadata": {}, "params": [ { "name": "prop" } ], "return": { "type": "void" }, "inheritedFrom": "FormElementMixin" }, { "name": "_reflectPropertyToValue", "description": "", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 220, "column": 4 }, "end": { "line": 222, "column": 5 } }, "metadata": {}, "params": [], "return": { "type": "void" }, "inheritedFrom": "FormElementMixin" }, { "name": "_reflectValueToProperty", "description": "", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 224, "column": 4 }, "end": { "line": 226, "column": 5 } }, "metadata": {}, "params": [ { "name": "value" } ], "return": { "type": "void" }, "inheritedFrom": "FormElementMixin" }, { "name": "validate", "description": "validates the input for iron-form", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 231, "column": 4 }, "end": { "line": 233, "column": 5 } }, "metadata": {}, "params": [], "inheritedFrom": "FormElementMixin" }, { "name": "reset", "description": "reset the value", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/input-picker-pattern/form-element-mixin.js", "start": { "line": 238, "column": 4 }, "end": { "line": 244, "column": 5 } }, "metadata": {}, "params": [ { "name": "value" } ], "return": { "type": "void" }, "inheritedFrom": "FormElementMixin" }, { "name": "_localeChanged", "description": "", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/intl-datetime-format-mixin.js", "start": { "line": 95, "column": 4 }, "end": { "line": 283, "column": 5 } }, "metadata": {}, "params": [ { "name": "locale" } ], "return": { "type": "void" }, "inheritedFrom": "IntlDatetimeFormatMixin" }, { "name": "_shouldPropertyChange", "description": "overwritten of polymer to handle -0", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 212, "column": 4 }, "end": { "line": 218, "column": 5 } }, "metadata": {}, "params": [ { "name": "property" }, { "name": "value" }, { "name": "old" } ], "inheritedFrom": "DatetimeMixin" }, { "name": "now", "description": "Sets value to the actual date", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 464, "column": 4 }, "end": { "line": 480, "column": 5 } }, "metadata": {}, "params": [], "return": { "type": "void" }, "inheritedFrom": "DatetimeMixin" }, { "name": "setDate", "description": "sets date to all necessary properties", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 486, "column": 4 }, "end": { "line": 543, "column": 5 } }, "metadata": {}, "params": [ { "name": "d", "type": "Date", "description": "[the date to set]" } ], "return": { "type": "void" }, "inheritedFrom": "DatetimeMixin" }, { "name": "resetDate", "description": "resets the date (if `default` is set, it will be used for the new value)", "privacy": "public", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 549, "column": 4 }, "end": { "line": 582, "column": 5 } }, "metadata": {}, "params": [ { "name": "e", "type": "Event", "description": "[a causing event will not propagated]" } ], "return": { "type": "void" }, "inheritedFrom": "DatetimeMixin" }, { "name": "_computeDatetime", "description": "compute date by date properties", "privacy": "protected", "sourceRange": { "file": "../@fooloomanzoo/property-mixins/datetime-mixin.js", "start": { "line": 603, "column": 4 }, "end": { "line": 669, "column": 5 } }, "metadata": {}, "params": [ { "name": "year", "type": "number" }, { "name": "month",