lion/packages/form-core/custom-elements.json
2021-02-15 18:07:33 +01:00

9954 lines
282 KiB
JSON

{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "FocusMixin",
"declaration": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "js",
"name": "FormatMixin",
"declaration": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "js",
"name": "FormControlMixin",
"declaration": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "js",
"name": "InteractionStateMixin",
"declaration": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "js",
"name": "LionField",
"declaration": {
"name": "LionField",
"module": "./src/LionField.js"
}
},
{
"kind": "js",
"name": "FormRegisteringMixin",
"declaration": {
"name": "FormRegisteringMixin",
"module": "./src/registration/FormRegisteringMixin.js"
}
},
{
"kind": "js",
"name": "FormRegistrarMixin",
"declaration": {
"name": "FormRegistrarMixin",
"module": "./src/registration/FormRegistrarMixin.js"
}
},
{
"kind": "js",
"name": "FormRegistrarPortalMixin",
"declaration": {
"name": "FormRegistrarPortalMixin",
"module": "./src/registration/FormRegistrarPortalMixin.js"
}
},
{
"kind": "js",
"name": "NativeTextFieldMixin",
"declaration": {
"name": "NativeTextFieldMixin",
"module": "./src/NativeTextFieldMixin.js"
}
},
{
"kind": "js",
"name": "FormControlsCollection",
"declaration": {
"name": "FormControlsCollection",
"module": "./src/registration/FormControlsCollection.js"
}
},
{
"kind": "js",
"name": "ValidateMixin",
"declaration": {
"name": "ValidateMixin",
"module": "./src/validate/ValidateMixin.js"
}
},
{
"kind": "js",
"name": "Unparseable",
"declaration": {
"name": "Unparseable",
"module": "./src/validate/Unparseable.js"
}
},
{
"kind": "js",
"name": "Validator",
"declaration": {
"name": "Validator",
"module": "./src/validate/Validator.js"
}
},
{
"kind": "js",
"name": "ResultValidator",
"declaration": {
"name": "ResultValidator",
"module": "./src/validate/ResultValidator.js"
}
},
{
"kind": "js",
"name": "Required",
"declaration": {
"name": "Required",
"module": "./src/validate/validators/Required.js"
}
},
{
"kind": "js",
"name": "IsString",
"declaration": {
"name": "IsString",
"module": "./src/validate/validators/StringValidators.js"
}
},
{
"kind": "js",
"name": "EqualsLength",
"declaration": {
"name": "EqualsLength",
"module": "./src/validate/validators/StringValidators.js"
}
},
{
"kind": "js",
"name": "MinLength",
"declaration": {
"name": "MinLength",
"module": "./src/validate/validators/StringValidators.js"
}
},
{
"kind": "js",
"name": "MaxLength",
"declaration": {
"name": "MaxLength",
"module": "./src/validate/validators/StringValidators.js"
}
},
{
"kind": "js",
"name": "MinMaxLength",
"declaration": {
"name": "MinMaxLength",
"module": "./src/validate/validators/StringValidators.js"
}
},
{
"kind": "js",
"name": "IsEmail",
"declaration": {
"name": "IsEmail",
"module": "./src/validate/validators/StringValidators.js"
}
},
{
"kind": "js",
"name": "Pattern",
"declaration": {
"name": "Pattern",
"module": "./src/validate/validators/StringValidators.js"
}
},
{
"kind": "js",
"name": "IsNumber",
"declaration": {
"name": "IsNumber",
"module": "./src/validate/validators/NumberValidators.js"
}
},
{
"kind": "js",
"name": "MinNumber",
"declaration": {
"name": "MinNumber",
"module": "./src/validate/validators/NumberValidators.js"
}
},
{
"kind": "js",
"name": "MaxNumber",
"declaration": {
"name": "MaxNumber",
"module": "./src/validate/validators/NumberValidators.js"
}
},
{
"kind": "js",
"name": "MinMaxNumber",
"declaration": {
"name": "MinMaxNumber",
"module": "./src/validate/validators/NumberValidators.js"
}
},
{
"kind": "js",
"name": "IsDate",
"declaration": {
"name": "IsDate",
"module": "./src/validate/validators/DateValidators.js"
}
},
{
"kind": "js",
"name": "MinDate",
"declaration": {
"name": "MinDate",
"module": "./src/validate/validators/DateValidators.js"
}
},
{
"kind": "js",
"name": "MaxDate",
"declaration": {
"name": "MaxDate",
"module": "./src/validate/validators/DateValidators.js"
}
},
{
"kind": "js",
"name": "MinMaxDate",
"declaration": {
"name": "MinMaxDate",
"module": "./src/validate/validators/DateValidators.js"
}
},
{
"kind": "js",
"name": "IsDateDisabled",
"declaration": {
"name": "IsDateDisabled",
"module": "./src/validate/validators/DateValidators.js"
}
},
{
"kind": "js",
"name": "DefaultSuccess",
"declaration": {
"name": "DefaultSuccess",
"module": "./src/validate/resultValidators/DefaultSuccess.js"
}
},
{
"kind": "js",
"name": "LionValidationFeedback",
"declaration": {
"name": "LionValidationFeedback",
"module": "./src/validate/LionValidationFeedback.js"
}
},
{
"kind": "js",
"name": "ChoiceGroupMixin",
"declaration": {
"name": "ChoiceGroupMixin",
"module": "./src/choice-group/ChoiceGroupMixin.js"
}
},
{
"kind": "js",
"name": "ChoiceInputMixin",
"declaration": {
"name": "ChoiceInputMixin",
"module": "./src/choice-group/ChoiceInputMixin.js"
}
},
{
"kind": "js",
"name": "FormGroupMixin",
"declaration": {
"name": "FormGroupMixin",
"module": "./src/form-group/FormGroupMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-field.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-field",
"declaration": {
"name": "LionField",
"module": "./src/LionField.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-validation-feedback.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-validation-feedback",
"declaration": {
"name": "LionValidationFeedback",
"module": "./src/validate/LionValidationFeedback.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./test-helpers.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "AlwaysInvalid",
"declaration": {
"name": "AlwaysInvalid",
"module": "./test-helpers/ExampleValidators.js"
}
},
{
"kind": "js",
"name": "AlwaysValid",
"declaration": {
"name": "AlwaysValid",
"module": "./test-helpers/ExampleValidators.js"
}
},
{
"kind": "js",
"name": "AsyncAlwaysValid",
"declaration": {
"name": "AsyncAlwaysValid",
"module": "./test-helpers/ExampleValidators.js"
}
},
{
"kind": "js",
"name": "AsyncAlwaysInvalid",
"declaration": {
"name": "AsyncAlwaysInvalid",
"module": "./test-helpers/ExampleValidators.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/FocusMixin.js",
"declarations": [
{
"kind": "mixin",
"name": "FocusMixin",
"events": [
{
"name": "focus",
"type": {
"type": "Event"
}
},
{
"name": "blur",
"type": {
"type": "Event"
}
},
{
"name": "focusin",
"type": {
"type": "Event"
}
},
{
"name": "focusout",
"type": {
"type": "Event"
}
}
],
"mixins": [
{
"name": "FormControlMixin",
"module": "/src/FormControlMixin.js"
}
],
"superclass": {
"name": "superclass",
"module": "./src/FocusMixin.js"
},
"attributes": [
{
"name": "focused",
"fieldName": "focused"
}
],
"members": [
{
"kind": "field",
"name": "focused",
"privacy": "public",
"default": "false"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "focus",
"privacy": "public"
},
{
"kind": "method",
"name": "blur",
"privacy": "public"
},
{
"kind": "method",
"name": "__onFocus",
"privacy": "public"
},
{
"kind": "method",
"name": "__onBlur",
"privacy": "public"
},
{
"kind": "method",
"name": "__registerEventsForFocusMixin",
"privacy": "public"
},
{
"kind": "method",
"name": "__teardownEventsForFocusMixin",
"privacy": "public"
}
]
},
{
"kind": "variable",
"name": "FocusMixin"
}
],
"exports": [
{
"kind": "js",
"name": "FocusMixin",
"declaration": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/FormControlMixin.js",
"declarations": [
{
"kind": "mixin",
"name": "FormControlMixin",
"events": [
{
"name": "form-element-name-changed",
"type": {
"type": "CustomEvent"
}
},
{
"name": "model-value-changed",
"type": {
"type": "CustomEvent"
}
}
],
"mixins": [
{
"name": "FormRegisteringMixin",
"module": "/src/registration/FormRegisteringMixin.js"
},
{
"name": "DisabledMixin",
"package": "@lion/core/src/DisabledMixin.js"
},
{
"name": "SlotMixin",
"package": "@lion/core"
}
],
"superclass": {
"name": "superclass",
"module": "./src/FormControlMixin.js"
},
"attributes": [
{
"name": "name",
"fieldName": "name"
},
{
"name": "readonly",
"fieldName": "readOnly"
},
{
"name": "label",
"fieldName": "label"
},
{
"name": "help-text",
"fieldName": "helpText"
}
],
"members": [
{
"kind": "field",
"name": "name",
"privacy": "public",
"type": {
"type": "string | undefined"
},
"default": "undefined"
},
{
"kind": "field",
"name": "readOnly",
"privacy": "public"
},
{
"kind": "field",
"name": "label",
"privacy": "public"
},
{
"kind": "field",
"name": "helpText",
"privacy": "public"
},
{
"kind": "field",
"name": "modelValue",
"privacy": "public"
},
{
"kind": "field",
"name": "_ariaLabelledNodes",
"privacy": "public",
"type": {
"type": "HTMLElement[]"
},
"default": "[]"
},
{
"kind": "field",
"name": "_ariaDescribedNodes",
"privacy": "public",
"type": {
"type": "HTMLElement[]"
},
"default": "[]"
},
{
"kind": "field",
"name": "_repropagationRole",
"privacy": "public",
"type": {
"type": "'child'|'choice-group'|'fieldset'"
},
"default": "'child'"
},
{
"kind": "field",
"name": "_isRepropagationEndpoint",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "fieldName",
"privacy": "public"
},
{
"kind": "field",
"name": "slots",
"privacy": "public"
},
{
"kind": "field",
"name": "_inputNode",
"privacy": "public"
},
{
"kind": "field",
"name": "_labelNode",
"privacy": "public"
},
{
"kind": "field",
"name": "_helpTextNode",
"privacy": "public"
},
{
"kind": "field",
"name": "_feedbackNode",
"privacy": "public"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "_triggerInitialModelValueChangedEvent",
"privacy": "public"
},
{
"kind": "method",
"name": "_enhanceLightDomClasses",
"privacy": "public"
},
{
"kind": "method",
"name": "_enhanceLightDomA11y",
"privacy": "public"
},
{
"kind": "method",
"name": "_enhanceLightDomA11yForAdditionalSlots",
"privacy": "public",
"description": "Enhances additional slots(prefix, suffix, before, after) defined by developer.\n\nWhen boolean attribute data-label or data-description is found,\nthe slot element will be connected to the input via aria-labelledby or aria-describedby",
"parameters": [
{
"name": "additionalSlots",
"type": {
"type": "string[]"
},
"default": "['prefix', 'suffix', 'before', 'after']"
}
]
},
{
"kind": "method",
"name": "__reflectAriaAttr",
"privacy": "public",
"description": "Will handle help text, validation feedback and character counter,\nprefix/suffix/before/after (if they contain data-description flag attr).\nAlso, contents of id references that will be put in the <lion-field>._ariaDescribedby property\nfrom an external context, will be read by a screen reader.",
"parameters": [
{
"name": "attrName",
"type": {
"type": "string"
}
},
{
"name": "nodes",
"type": {
"type": "HTMLElement[]"
}
},
{
"name": "reorder",
"type": {
"type": "boolean|undefined"
}
}
]
},
{
"kind": "method",
"name": "render",
"privacy": "public",
"description": "Default Render Result:\n<div class=\"form-field__group-one\">\n<div class=\"form-field__label\">\n<slot name=\"label\"></slot>\n</div>\n<small class=\"form-field__help-text\">\n<slot name=\"help-text\"></slot>\n</small>\n</div>\n<div class=\"form-field__group-two\">\n<div class=\"input-group\">\n<div class=\"input-group__before\">\n<slot name=\"before\"></slot>\n</div>\n<div class=\"input-group__container\">\n<div class=\"input-group__prefix\">\n<slot name=\"prefix\"></slot>\n</div>\n<div class=\"input-group__input\">\n<slot name=\"input\"></slot>\n</div>\n<div class=\"input-group__suffix\">\n<slot name=\"suffix\"></slot>\n</div>\n</div>\n<div class=\"input-group__after\">\n<slot name=\"after\"></slot>\n</div>\n</div>\n<div class=\"form-field__feedback\">\n<slot name=\"feedback\"></slot>\n</div>\n</div>"
},
{
"kind": "method",
"name": "_groupOneTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_groupTwoTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_labelTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_helpTextTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_inputGroupTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_inputGroupBeforeTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_inputGroupPrefixTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult | nothing"
}
}
},
{
"kind": "method",
"name": "_inputGroupInputTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_inputGroupSuffixTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult | nothing"
}
}
},
{
"kind": "method",
"name": "_inputGroupAfterTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_feedbackTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_isEmpty",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
},
"parameters": [
{
"name": "modelValue",
"type": {
"type": "?"
},
"default": "this.modelValue"
}
]
},
{
"kind": "method",
"name": "_getAriaDescriptionElements",
"privacy": "public",
"return": {
"type": {
"type": "Array.<HTMLElement|undefined>"
}
}
},
{
"kind": "method",
"name": "addToAriaLabelledBy",
"privacy": "public",
"description": "Meant for Application Developers wanting to add to aria-labelledby attribute.",
"parameters": [
{
"name": "element",
"type": {
"type": "HTMLElement"
}
},
{
"name": "customConfig",
"type": {
"type": "{idPrefix?:string; reorder?: boolean}"
},
"default": "{}"
}
]
},
{
"kind": "method",
"name": "addToAriaDescribedBy",
"privacy": "public",
"description": "Meant for Application Developers wanting to add to aria-describedby attribute.",
"parameters": [
{
"name": "element",
"type": {
"type": "HTMLElement"
}
},
{
"name": "customConfig",
"type": {
"type": "{idPrefix?:string; reorder?: boolean}"
},
"default": "{}"
}
]
},
{
"kind": "method",
"name": "__getDirectSlotChild",
"privacy": "public",
"return": {
"type": {
"type": "HTMLElement | undefined"
}
},
"parameters": [
{
"name": "slotName",
"type": {
"type": "string"
}
}
]
},
{
"kind": "method",
"name": "__dispatchInitialModelValueChangedEvent",
"privacy": "public"
},
{
"kind": "method",
"name": "_onBeforeRepropagateChildrenValues",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "CustomEvent"
}
}
]
},
{
"kind": "method",
"name": "__repropagateChildrenValues",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "CustomEvent"
}
}
]
},
{
"kind": "method",
"name": "_repropagationCondition",
"privacy": "public",
"description": "TODO: Extend this in choice group so that target is always a choice input and multipleChoice exists.\nThis will fix the types and reduce the need for ignores/expect-errors",
"parameters": [
{
"name": "target",
"type": {
"type": "EventTarget & ChoiceInputHost"
}
}
]
},
{
"kind": "method",
"name": "_onLabelClick",
"privacy": "public"
}
]
},
{
"kind": "variable",
"name": "FormControlMixin"
}
],
"exports": [
{
"kind": "js",
"name": "FormControlMixin",
"declaration": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/FormatMixin.js",
"declarations": [
{
"kind": "mixin",
"name": "FormatMixin",
"events": [
{
"name": "model-value-changed",
"type": {
"type": "CustomEvent"
}
},
{
"name": "user-input-changed",
"type": {
"type": "CustomEvent"
}
}
],
"mixins": [
{
"name": "ValidateMixin",
"module": "/src/validate/ValidateMixin.js"
},
{
"name": "FormControlMixin",
"module": "/src/FormControlMixin.js"
}
],
"superclass": {
"name": "superclass",
"module": "./src/FormatMixin.js"
},
"members": [
{
"kind": "field",
"name": "formattedValue",
"privacy": "public"
},
{
"kind": "field",
"name": "serializedValue",
"privacy": "public"
},
{
"kind": "field",
"name": "formatOn",
"privacy": "public",
"default": "'change'"
},
{
"kind": "field",
"name": "formatOptions",
"privacy": "public",
"default": "({})"
},
{
"kind": "method",
"name": "requestUpdateInternal",
"privacy": "public",
"parameters": [
{
"name": "name",
"type": {
"type": "string"
}
},
{
"name": "oldVal",
"type": {
"type": "any"
}
}
]
},
{
"kind": "field",
"name": "value",
"privacy": "public"
},
{
"kind": "method",
"name": "parser",
"privacy": "public",
"description": "Converts formattedValue to modelValue\nFor instance, a localized date to a Date Object",
"return": {
"type": {
"type": "*"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "string"
},
"description": "formattedValue: the formatted value inside <input>"
},
{
"name": "opts",
"type": {
"type": "FormatOptions"
}
}
]
},
{
"kind": "method",
"name": "formatter",
"privacy": "public",
"description": "Converts modelValue to formattedValue (formattedValue will be synced with\n`._inputNode.value`)\nFor instance, a Date object to a localized date.",
"return": {
"type": {
"type": "string"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "*"
},
"description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)"
},
{
"name": "opts",
"type": {
"type": "FormatOptions"
}
}
]
},
{
"kind": "method",
"name": "serializer",
"privacy": "public",
"description": "Converts `.modelValue` to `.serializedValue`\nFor instance, a Date object to an iso formatted date string",
"return": {
"type": {
"type": "string"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "?"
},
"description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)"
}
]
},
{
"kind": "method",
"name": "deserializer",
"privacy": "public",
"description": "Converts `LionField.value` to `.modelValue`\nFor instance, an iso formatted date string to a Date object",
"return": {
"type": {
"type": "?"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "?"
},
"description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)"
}
]
},
{
"kind": "method",
"name": "_calculateValues",
"privacy": "public",
"description": "Responsible for storing all representations(modelValue, serializedValue, formattedValue\nand value) of the input value. Prevents infinite loops, so all value observers can be\ntreated like they will only be called once, without indirectly calling other observers.\n(in fact, some are called twice, but the __preventRecursiveTrigger lock prevents the\nsecond call from having effect).",
"parameters": [
{
"name": "config",
"type": {
"type": "{source:'model'|'serialized'|'formatted'|null}"
},
"description": "the type of value that triggered this method. It should not be\nset again, so that its observer won't be triggered. Can be:\n'model'|'formatted'|'serialized'."
}
]
},
{
"kind": "method",
"name": "__callParser",
"privacy": "public",
"return": {
"type": {
"type": "?"
}
},
"parameters": [
{
"name": "value",
"type": {
"type": "string|undefined"
},
"default": "this.formattedValue"
}
]
},
{
"kind": "method",
"name": "__callFormatter",
"privacy": "public",
"return": {
"type": {
"type": "string|undefined"
}
}
},
{
"kind": "method",
"name": "_onModelValueChanged",
"privacy": "public",
"description": "Observer Handlers",
"parameters": [
{
"name": "args",
"type": {
"type": "{ modelValue: unknown; }[]"
}
}
]
},
{
"kind": "method",
"name": "_dispatchModelValueChangedEvent",
"privacy": "public",
"parameters": [
{
"name": "args",
"type": {
"type": "{ modelValue: unknown; }[]"
},
"description": "This is wrapped in a distinct method, so that parents can control when the changed event\nis fired. For objects, a deep comparison might be needed."
}
]
},
{
"kind": "method",
"name": "_syncValueUpwards",
"privacy": "public",
"description": "Synchronization from `._inputNode.value` to `LionField` (flow [2])"
},
{
"kind": "method",
"name": "_reflectBackFormattedValueToUser",
"privacy": "public",
"description": "Synchronization from `LionField.value` to `._inputNode.value`\n- flow [1] will always be reflected back\n- flow [2] will not be reflected back when this flow was triggered via\n`@user-input-changed` (this will happen later, when `formatOn` condition is met)"
},
{
"kind": "method",
"name": "_reflectBackOn",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
}
},
{
"kind": "method",
"name": "_proxyInputEvent",
"privacy": "public"
},
{
"kind": "method",
"name": "_onUserInputChanged",
"privacy": "public"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
}
]
},
{
"kind": "variable",
"name": "FormatMixin"
}
],
"exports": [
{
"kind": "js",
"name": "FormatMixin",
"declaration": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/InteractionStateMixin.js",
"declarations": [
{
"kind": "mixin",
"name": "InteractionStateMixin",
"events": [
{
"name": "touched-changed",
"type": {
"type": "CustomEvent"
}
},
{
"name": "dirty-changed",
"type": {
"type": "CustomEvent"
}
}
],
"mixins": [
{
"name": "FormControlMixin",
"module": "/src/FormControlMixin.js"
}
],
"superclass": {
"name": "superclass",
"module": "./src/InteractionStateMixin.js"
},
"attributes": [
{
"name": "touched",
"fieldName": "touched"
},
{
"name": "dirty",
"fieldName": "dirty"
},
{
"name": "filled",
"fieldName": "filled"
}
],
"members": [
{
"kind": "field",
"name": "touched",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "dirty",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "filled",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "prefilled",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "submitted",
"privacy": "public"
},
{
"kind": "method",
"name": "requestUpdateInternal",
"privacy": "public",
"parameters": [
{
"name": "name",
"type": {
"type": "PropertyKey"
}
},
{
"name": "oldVal",
"type": {
"type": "*"
}
}
]
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public",
"description": "Register event handlers and validate prefilled inputs"
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "initInteractionState",
"privacy": "public",
"description": "Evaluations performed on connectedCallback. Since some components can be out of sync\n(due to interdependence on light children that can only be processed\nafter connectedCallback and affect the initial value).\nThis method is exposed, so it can be called after they are initialized themselves.\nSince this method will be called twice in last mentioned scenario, it must stay idempotent."
},
{
"kind": "method",
"name": "_iStateOnLeave",
"privacy": "protected",
"description": "Sets touched value to true\nReevaluates prefilled state.\nWhen false, on next interaction, user will start with a clean state."
},
{
"kind": "method",
"name": "_iStateOnValueChange",
"privacy": "protected",
"description": "Sets dirty value and validates when already touched or invalid"
},
{
"kind": "method",
"name": "resetInteractionState",
"privacy": "public",
"description": "Resets touched and dirty, and recomputes prefilled"
},
{
"kind": "method",
"name": "_onTouchedChanged",
"privacy": "public"
},
{
"kind": "method",
"name": "_onDirtyChanged",
"privacy": "public"
},
{
"kind": "method",
"name": "_showFeedbackConditionFor",
"privacy": "public",
"description": "Show the validity feedback when one of the following conditions is met:\n\n- submitted\nIf the form is submitted, always show the error message.\n\n- prefilled\nthe user already filled in something, or the value is prefilled\nwhen the form is initially rendered.\n\n- touched && dirty\nWhen a user starts typing for the first time in a field with for instance `required`\nvalidation, error message should not be shown until a field becomes `touched`\n(a user leaves(blurs) a field).\nWhen a user enters a field without altering the value(making it `dirty`),\nan error message shouldn't be shown either."
}
]
},
{
"kind": "variable",
"name": "InteractionStateMixin"
}
],
"exports": [
{
"kind": "js",
"name": "InteractionStateMixin",
"declaration": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionField.js",
"declarations": [
{
"kind": "class",
"name": "LionField",
"events": [
{
"name": "user-input-changed",
"type": {
"type": "CustomEvent"
}
},
{
"name": "form-element-name-changed",
"type": {
"type": "CustomEvent"
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"name": "model-value-changed",
"type": {
"type": "CustomEvent"
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"name": "touched-changed",
"type": {
"type": "CustomEvent"
},
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"name": "dirty-changed",
"type": {
"type": "CustomEvent"
},
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"name": "focus",
"type": {
"type": "Event"
},
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"name": "blur",
"type": {
"type": "Event"
},
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"name": "focusin",
"type": {
"type": "Event"
},
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"name": "focusout",
"type": {
"type": "Event"
},
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
}
],
"mixins": [
{
"name": "FormControlMixin",
"module": "/src/FormControlMixin.js"
},
{
"name": "InteractionStateMixin",
"module": "/src/InteractionStateMixin.js"
},
{
"name": "FocusMixin",
"module": "/src/FocusMixin.js"
},
{
"name": "FormatMixin",
"module": "/src/FormatMixin.js"
},
{
"name": "ValidateMixin",
"module": "/src/validate/ValidateMixin.js"
},
{
"name": "SlotMixin",
"package": "@lion/core"
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "autocomplete",
"fieldName": "autocomplete"
},
{
"name": "value",
"fieldName": "value"
},
{
"name": "name",
"fieldName": "name",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"name": "readonly",
"fieldName": "readOnly",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"name": "label",
"fieldName": "label",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"name": "help-text",
"fieldName": "helpText",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"name": "touched",
"fieldName": "touched",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"name": "dirty",
"fieldName": "dirty",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"name": "filled",
"fieldName": "filled",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"name": "focused",
"fieldName": "focused",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
}
],
"members": [
{
"kind": "field",
"name": "autocomplete",
"privacy": "public",
"type": {
"type": "string | undefined"
},
"default": "undefined"
},
{
"kind": "field",
"name": "value",
"privacy": "public"
},
{
"kind": "method",
"name": "resetInteractionState",
"privacy": "public"
},
{
"kind": "method",
"name": "reset",
"privacy": "public"
},
{
"kind": "method",
"name": "clear",
"privacy": "public",
"description": "Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)"
},
{
"kind": "method",
"name": "_onChange",
"privacy": "public"
},
{
"kind": "field",
"name": "name",
"privacy": "public",
"type": {
"type": "string | undefined"
},
"default": "undefined",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "readOnly",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "label",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "helpText",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "modelValue",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_ariaLabelledNodes",
"privacy": "public",
"type": {
"type": "HTMLElement[]"
},
"default": "[]",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_ariaDescribedNodes",
"privacy": "public",
"type": {
"type": "HTMLElement[]"
},
"default": "[]",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_repropagationRole",
"privacy": "public",
"type": {
"type": "'child'|'choice-group'|'fieldset'"
},
"default": "'child'",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_isRepropagationEndpoint",
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "fieldName",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "slots",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_inputNode",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_labelNode",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_helpTextNode",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_feedbackNode",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_triggerInitialModelValueChangedEvent",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_enhanceLightDomClasses",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_enhanceLightDomA11y",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_enhanceLightDomA11yForAdditionalSlots",
"privacy": "public",
"description": "Enhances additional slots(prefix, suffix, before, after) defined by developer.\n\nWhen boolean attribute data-label or data-description is found,\nthe slot element will be connected to the input via aria-labelledby or aria-describedby",
"parameters": [
{
"name": "additionalSlots",
"type": {
"type": "string[]"
},
"default": "['prefix', 'suffix', 'before', 'after']"
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "__reflectAriaAttr",
"privacy": "public",
"description": "Will handle help text, validation feedback and character counter,\nprefix/suffix/before/after (if they contain data-description flag attr).\nAlso, contents of id references that will be put in the <lion-field>._ariaDescribedby property\nfrom an external context, will be read by a screen reader.",
"parameters": [
{
"name": "attrName",
"type": {
"type": "string"
}
},
{
"name": "nodes",
"type": {
"type": "HTMLElement[]"
}
},
{
"name": "reorder",
"type": {
"type": "boolean|undefined"
}
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "render",
"privacy": "public",
"description": "Default Render Result:\n<div class=\"form-field__group-one\">\n<div class=\"form-field__label\">\n<slot name=\"label\"></slot>\n</div>\n<small class=\"form-field__help-text\">\n<slot name=\"help-text\"></slot>\n</small>\n</div>\n<div class=\"form-field__group-two\">\n<div class=\"input-group\">\n<div class=\"input-group__before\">\n<slot name=\"before\"></slot>\n</div>\n<div class=\"input-group__container\">\n<div class=\"input-group__prefix\">\n<slot name=\"prefix\"></slot>\n</div>\n<div class=\"input-group__input\">\n<slot name=\"input\"></slot>\n</div>\n<div class=\"input-group__suffix\">\n<slot name=\"suffix\"></slot>\n</div>\n</div>\n<div class=\"input-group__after\">\n<slot name=\"after\"></slot>\n</div>\n</div>\n<div class=\"form-field__feedback\">\n<slot name=\"feedback\"></slot>\n</div>\n</div>",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_groupOneTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_groupTwoTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_labelTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_helpTextTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_inputGroupTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_inputGroupBeforeTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_inputGroupPrefixTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult | nothing"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_inputGroupInputTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_inputGroupSuffixTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult | nothing"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_inputGroupAfterTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_feedbackTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_isEmpty",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
},
"parameters": [
{
"name": "modelValue",
"type": {
"type": "?"
},
"default": "this.modelValue"
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_getAriaDescriptionElements",
"privacy": "public",
"return": {
"type": {
"type": "Array.<HTMLElement|undefined>"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "addToAriaLabelledBy",
"privacy": "public",
"description": "Meant for Application Developers wanting to add to aria-labelledby attribute.",
"parameters": [
{
"name": "element",
"type": {
"type": "HTMLElement"
}
},
{
"name": "customConfig",
"type": {
"type": "{idPrefix?:string; reorder?: boolean}"
},
"default": "{}"
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "addToAriaDescribedBy",
"privacy": "public",
"description": "Meant for Application Developers wanting to add to aria-describedby attribute.",
"parameters": [
{
"name": "element",
"type": {
"type": "HTMLElement"
}
},
{
"name": "customConfig",
"type": {
"type": "{idPrefix?:string; reorder?: boolean}"
},
"default": "{}"
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "__getDirectSlotChild",
"privacy": "public",
"return": {
"type": {
"type": "HTMLElement | undefined"
}
},
"parameters": [
{
"name": "slotName",
"type": {
"type": "string"
}
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "__dispatchInitialModelValueChangedEvent",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_onBeforeRepropagateChildrenValues",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "CustomEvent"
}
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "__repropagateChildrenValues",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "CustomEvent"
}
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_repropagationCondition",
"privacy": "public",
"description": "TODO: Extend this in choice group so that target is always a choice input and multipleChoice exists.\nThis will fix the types and reduce the need for ignores/expect-errors",
"parameters": [
{
"name": "target",
"type": {
"type": "EventTarget & ChoiceInputHost"
}
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_onLabelClick",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "touched",
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "field",
"name": "dirty",
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "field",
"name": "filled",
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "field",
"name": "prefilled",
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "field",
"name": "submitted",
"privacy": "public",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "requestUpdateInternal",
"privacy": "public",
"parameters": [
{
"name": "name",
"type": {
"type": "PropertyKey"
}
},
{
"name": "oldVal",
"type": {
"type": "*"
}
}
],
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "initInteractionState",
"privacy": "public",
"description": "Evaluations performed on connectedCallback. Since some components can be out of sync\n(due to interdependence on light children that can only be processed\nafter connectedCallback and affect the initial value).\nThis method is exposed, so it can be called after they are initialized themselves.\nSince this method will be called twice in last mentioned scenario, it must stay idempotent.",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "_iStateOnLeave",
"privacy": "protected",
"description": "Sets touched value to true\nReevaluates prefilled state.\nWhen false, on next interaction, user will start with a clean state.",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "_iStateOnValueChange",
"privacy": "protected",
"description": "Sets dirty value and validates when already touched or invalid",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "_onTouchedChanged",
"privacy": "public",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "_onDirtyChanged",
"privacy": "public",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "_showFeedbackConditionFor",
"privacy": "public",
"description": "Show the validity feedback when one of the following conditions is met:\n\n- submitted\nIf the form is submitted, always show the error message.\n\n- prefilled\nthe user already filled in something, or the value is prefilled\nwhen the form is initially rendered.\n\n- touched && dirty\nWhen a user starts typing for the first time in a field with for instance `required`\nvalidation, error message should not be shown until a field becomes `touched`\n(a user leaves(blurs) a field).\nWhen a user enters a field without altering the value(making it `dirty`),\nan error message shouldn't be shown either.",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "field",
"name": "focused",
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "method",
"name": "focus",
"privacy": "public",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "method",
"name": "blur",
"privacy": "public",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "method",
"name": "__onFocus",
"privacy": "public",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "method",
"name": "__onBlur",
"privacy": "public",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "method",
"name": "__registerEventsForFocusMixin",
"privacy": "public",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "method",
"name": "__teardownEventsForFocusMixin",
"privacy": "public",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "field",
"name": "formattedValue",
"privacy": "public",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "field",
"name": "serializedValue",
"privacy": "public",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "field",
"name": "formatOn",
"privacy": "public",
"default": "'change'",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "field",
"name": "formatOptions",
"privacy": "public",
"default": "({})",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "parser",
"privacy": "public",
"description": "Converts formattedValue to modelValue\nFor instance, a localized date to a Date Object",
"return": {
"type": {
"type": "*"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "string"
},
"description": "formattedValue: the formatted value inside <input>"
},
{
"name": "opts",
"type": {
"type": "FormatOptions"
}
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "formatter",
"privacy": "public",
"description": "Converts modelValue to formattedValue (formattedValue will be synced with\n`._inputNode.value`)\nFor instance, a Date object to a localized date.",
"return": {
"type": {
"type": "string"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "*"
},
"description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)"
},
{
"name": "opts",
"type": {
"type": "FormatOptions"
}
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "serializer",
"privacy": "public",
"description": "Converts `.modelValue` to `.serializedValue`\nFor instance, a Date object to an iso formatted date string",
"return": {
"type": {
"type": "string"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "?"
},
"description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)"
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "deserializer",
"privacy": "public",
"description": "Converts `LionField.value` to `.modelValue`\nFor instance, an iso formatted date string to a Date object",
"return": {
"type": {
"type": "?"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "?"
},
"description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)"
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_calculateValues",
"privacy": "public",
"description": "Responsible for storing all representations(modelValue, serializedValue, formattedValue\nand value) of the input value. Prevents infinite loops, so all value observers can be\ntreated like they will only be called once, without indirectly calling other observers.\n(in fact, some are called twice, but the __preventRecursiveTrigger lock prevents the\nsecond call from having effect).",
"parameters": [
{
"name": "config",
"type": {
"type": "{source:'model'|'serialized'|'formatted'|null}"
},
"description": "the type of value that triggered this method. It should not be\nset again, so that its observer won't be triggered. Can be:\n'model'|'formatted'|'serialized'."
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "__callParser",
"privacy": "public",
"return": {
"type": {
"type": "?"
}
},
"parameters": [
{
"name": "value",
"type": {
"type": "string|undefined"
},
"default": "this.formattedValue"
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "__callFormatter",
"privacy": "public",
"return": {
"type": {
"type": "string|undefined"
}
},
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_onModelValueChanged",
"privacy": "public",
"description": "Observer Handlers",
"parameters": [
{
"name": "args",
"type": {
"type": "{ modelValue: unknown; }[]"
}
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_dispatchModelValueChangedEvent",
"privacy": "public",
"parameters": [
{
"name": "args",
"type": {
"type": "{ modelValue: unknown; }[]"
},
"description": "This is wrapped in a distinct method, so that parents can control when the changed event\nis fired. For objects, a deep comparison might be needed."
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_syncValueUpwards",
"privacy": "public",
"description": "Synchronization from `._inputNode.value` to `LionField` (flow [2])",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_reflectBackFormattedValueToUser",
"privacy": "public",
"description": "Synchronization from `LionField.value` to `._inputNode.value`\n- flow [1] will always be reflected back\n- flow [2] will not be reflected back when this flow was triggered via\n`@user-input-changed` (this will happen later, when `formatOn` condition is met)",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_reflectBackOn",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
},
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_proxyInputEvent",
"privacy": "public",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_onUserInputChanged",
"privacy": "public",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
}
],
"tagName": "lion-field"
}
],
"exports": [
{
"kind": "js",
"name": "LionField",
"declaration": {
"name": "LionField",
"module": "./src/LionField.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/NativeTextFieldMixin.js",
"declarations": [
{
"kind": "mixin",
"name": "NativeTextFieldMixin",
"superclass": {
"name": "superclass",
"module": "./src/NativeTextFieldMixin.js"
},
"members": [
{
"kind": "field",
"name": "selectionStart",
"privacy": "public"
},
{
"kind": "field",
"name": "selectionEnd",
"privacy": "public"
},
{
"kind": "field",
"name": "value",
"privacy": "public"
},
{
"kind": "method",
"name": "_setValueAndPreserveCaret",
"privacy": "public",
"description": "Restores the cursor to its original position after updating the value.",
"parameters": [
{
"name": "newValue",
"type": {
"type": "string"
},
"description": "The value that should be saved."
}
]
}
]
},
{
"kind": "variable",
"name": "NativeTextFieldMixin"
}
],
"exports": [
{
"kind": "js",
"name": "NativeTextFieldMixin",
"declaration": {
"name": "NativeTextFieldMixin",
"module": "./src/NativeTextFieldMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./test-helpers/ExampleValidators.js",
"declarations": [
{
"kind": "class",
"name": "AlwaysInvalid",
"superclass": {
"name": "Validator",
"module": "/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public"
}
]
},
{
"kind": "class",
"name": "AlwaysValid",
"superclass": {
"name": "Validator",
"module": "/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"return": {
"type": {
"type": "Promise<boolean> | boolean"
}
}
}
]
},
{
"kind": "class",
"name": "AsyncAlwaysValid",
"superclass": {
"name": "AlwaysValid",
"module": "./test-helpers/ExampleValidators.js"
},
"members": [
{
"kind": "field",
"name": "async",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"return": {
"type": {
"type": "Promise<boolean>"
}
}
},
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public",
"inheritedFrom": {
"name": "AlwaysValid",
"module": "./test-helpers/ExampleValidators.js"
}
}
]
},
{
"kind": "class",
"name": "AsyncAlwaysInvalid",
"superclass": {
"name": "AlwaysValid",
"module": "./test-helpers/ExampleValidators.js"
},
"members": [
{
"kind": "field",
"name": "async",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"return": {
"type": {
"type": "Promise<boolean>"
}
}
},
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public",
"inheritedFrom": {
"name": "AlwaysValid",
"module": "./test-helpers/ExampleValidators.js"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "AlwaysInvalid",
"declaration": {
"name": "AlwaysInvalid",
"module": "./test-helpers/ExampleValidators.js"
}
},
{
"kind": "js",
"name": "AlwaysValid",
"declaration": {
"name": "AlwaysValid",
"module": "./test-helpers/ExampleValidators.js"
}
},
{
"kind": "js",
"name": "AsyncAlwaysValid",
"declaration": {
"name": "AsyncAlwaysValid",
"module": "./test-helpers/ExampleValidators.js"
}
},
{
"kind": "js",
"name": "AsyncAlwaysInvalid",
"declaration": {
"name": "AsyncAlwaysInvalid",
"module": "./test-helpers/ExampleValidators.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./types/FocusMixinTypes.d.ts",
"declarations": [
{
"kind": "class",
"name": "FocusHost",
"members": [
{
"kind": "field",
"name": "focused",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "focus",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "blur",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "__onFocus",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "__onBlur",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "__registerEventsForFocusMixin",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "__teardownEventsForFocusMixin",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
}
]
},
{
"kind": "function",
"name": "FocusImplementation",
"return": {
"type": {
"type": "T & Constructor<FocusHost> & FocusHost & Constructor<FormControlHost> & typeof FormControlHost"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "FocusHost",
"declaration": {
"name": "FocusHost",
"module": "./types/FocusMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "FocusImplementation",
"declaration": {
"name": "FocusImplementation",
"module": "./types/FocusMixinTypes.d.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "./types/FormControlMixinTypes.d.ts",
"declarations": [
{
"kind": "class",
"name": "FormControlHost",
"members": [
{
"kind": "field",
"name": "readOnly",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "name",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "field",
"name": "modelValue",
"privacy": "public",
"type": {
"type": "unknown"
}
},
{
"kind": "field",
"name": "label",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "field",
"name": "__label",
"privacy": "public",
"type": {
"type": "string | undefined"
}
},
{
"kind": "field",
"name": "helpText",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "field",
"name": "__helpText",
"privacy": "public",
"type": {
"type": "string | undefined"
}
},
{
"kind": "field",
"name": "fieldName",
"privacy": "public"
},
{
"kind": "field",
"name": "__fieldName",
"privacy": "public",
"type": {
"type": "string | undefined"
}
},
{
"kind": "field",
"name": "slots",
"privacy": "public",
"type": {
"type": "SlotsMap"
}
},
{
"kind": "field",
"name": "_inputNode",
"privacy": "public",
"type": {
"type": "HTMLElementWithValue"
}
},
{
"kind": "field",
"name": "_labelNode",
"privacy": "public",
"type": {
"type": "HTMLElement"
}
},
{
"kind": "field",
"name": "_helpTextNode",
"privacy": "public",
"type": {
"type": "HTMLElement"
}
},
{
"kind": "field",
"name": "_feedbackNode",
"privacy": "public",
"type": {
"type": "LionValidationFeedback | undefined"
}
},
{
"kind": "field",
"name": "_inputId",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "field",
"name": "_ariaLabelledNodes",
"privacy": "public",
"type": {
"type": "HTMLElement[]"
}
},
{
"kind": "field",
"name": "_ariaDescribedNodes",
"privacy": "public",
"type": {
"type": "HTMLElement[]"
}
},
{
"kind": "field",
"name": "_repropagationRole",
"privacy": "public",
"type": {
"type": "'child' | 'choice-group' | 'fieldset'"
}
},
{
"kind": "field",
"name": "_isRepropagationEndpoint",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "import('@lion/core').PropertyValues"
}
}
]
},
{
"kind": "method",
"name": "render",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_groupOneTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_groupTwoTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_labelTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_helpTextTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_inputGroupTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_inputGroupBeforeTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_inputGroupPrefixTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult | typeof nothing"
}
}
},
{
"kind": "method",
"name": "_inputGroupInputTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_inputGroupSuffixTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult | typeof nothing"
}
}
},
{
"kind": "method",
"name": "_inputGroupAfterTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_feedbackTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_triggerInitialModelValueChangedEvent",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_enhanceLightDomClasses",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_enhanceLightDomA11y",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_enhanceLightDomA11yForAdditionalSlots",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "additionalSlots",
"type": {
"type": "string[]"
}
}
]
},
{
"kind": "method",
"name": "__reflectAriaAttr",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "attrName",
"type": {
"type": "string"
}
},
{
"name": "nodes",
"type": {
"type": "HTMLElement[]"
}
},
{
"name": "reorder",
"type": {
"type": "boolean | undefined"
}
}
]
},
{
"kind": "method",
"name": "_isEmpty",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
},
"parameters": [
{
"name": "modelValue",
"type": {
"type": "unknown"
}
}
]
},
{
"kind": "method",
"name": "_getAriaDescriptionElements",
"privacy": "public",
"return": {
"type": {
"type": "HTMLElement[]"
}
}
},
{
"kind": "method",
"name": "addToAriaLabelledBy",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "element",
"type": {
"type": "HTMLElement"
}
},
{
"name": "customConfig",
"type": {
"type": "{\n idPrefix?: string | undefined;\n reorder?: boolean | undefined;\n }"
}
}
]
},
{
"kind": "field",
"name": "__reorderAriaLabelledNodes",
"privacy": "public",
"type": {
"type": "boolean | undefined"
}
},
{
"kind": "method",
"name": "addToAriaDescribedBy",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "element",
"type": {
"type": "HTMLElement"
}
},
{
"name": "customConfig",
"type": {
"type": "{\n idPrefix?: string | undefined;\n reorder?: boolean | undefined;\n }"
}
}
]
},
{
"kind": "field",
"name": "__reorderAriaDescribedNodes",
"privacy": "public",
"type": {
"type": "boolean | undefined"
}
},
{
"kind": "method",
"name": "__getDirectSlotChild",
"privacy": "public",
"return": {
"type": {
"type": "HTMLElement"
}
},
"parameters": [
{
"name": "slotName",
"type": {
"type": "string"
}
}
]
},
{
"kind": "method",
"name": "__dispatchInitialModelValueChangedEvent",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "field",
"name": "__repropagateChildrenInitialized",
"privacy": "public",
"type": {
"type": "boolean | undefined"
}
},
{
"kind": "method",
"name": "_onBeforeRepropagateChildrenValues",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "ev",
"type": {
"type": "CustomEvent"
}
}
]
},
{
"kind": "method",
"name": "__repropagateChildrenValues",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "ev",
"type": {
"type": "CustomEvent"
}
}
]
}
]
},
{
"kind": "function",
"name": "FormControlImplementation",
"return": {
"type": {
"type": "T &\n Constructor<FormControlHost> &\n typeof FormControlHost &\n Constructor<FormRegisteringHost> &\n typeof FormRegisteringHost &\n Constructor<DisabledHost> &\n typeof DisabledHost &\n Constructor<SlotHost> &\n typeof SlotHost"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "FormControlHost",
"declaration": {
"name": "FormControlHost",
"module": "./types/FormControlMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "FormControlImplementation",
"declaration": {
"name": "FormControlImplementation",
"module": "./types/FormControlMixinTypes.d.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "./types/FormatMixinTypes.d.ts",
"declarations": [
{
"kind": "class",
"name": "FormatHost",
"members": [
{
"kind": "field",
"name": "formattedValue",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "field",
"name": "serializedValue",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "field",
"name": "formatOn",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "field",
"name": "formatOptions",
"privacy": "public",
"type": {
"type": "FormatNumberOptions"
}
},
{
"kind": "field",
"name": "__preventRecursiveTrigger",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "__isHandlingUserInput",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "method",
"name": "parser",
"privacy": "public",
"return": {
"type": {
"type": "unknown"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "string"
}
},
{
"name": "opts",
"type": {
"type": "FormatNumberOptions"
}
}
]
},
{
"kind": "method",
"name": "formatter",
"privacy": "public",
"return": {
"type": {
"type": "string"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "unknown"
}
},
{
"name": "opts",
"type": {
"type": "FormatNumberOptions"
}
}
]
},
{
"kind": "method",
"name": "serializer",
"privacy": "public",
"return": {
"type": {
"type": "string"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "unknown"
}
}
]
},
{
"kind": "method",
"name": "deserializer",
"privacy": "public",
"return": {
"type": {
"type": "unknown"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "string"
}
}
]
},
{
"kind": "field",
"name": "value",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "method",
"name": "_calculateValues",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "opts",
"type": {
"type": "{ source: 'model' | 'serialized' | 'formatted' | null }"
}
}
]
},
{
"kind": "method",
"name": "__callParser",
"privacy": "public",
"return": {
"type": {
"type": "object"
}
},
"parameters": [
{
"name": "value",
"type": {
"type": "string | undefined"
}
}
]
},
{
"kind": "method",
"name": "__callFormatter",
"privacy": "public",
"return": {
"type": {
"type": "string"
}
}
},
{
"kind": "method",
"name": "_onModelValueChanged",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "arg",
"type": {
"type": "{ modelValue: unknown }"
}
}
]
},
{
"kind": "method",
"name": "_dispatchModelValueChangedEvent",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_syncValueUpwards",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_reflectBackFormattedValueToUser",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_reflectBackFormattedValueDebounced",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_reflectBackOn",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
}
},
{
"kind": "method",
"name": "_proxyInputEvent",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_onUserInputChanged",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
}
]
},
{
"kind": "function",
"name": "FormatImplementation",
"return": {
"type": {
"type": "T &\n Constructor<FormatHost> &\n FormatHost &\n Constructor<ValidateHost> &\n typeof ValidateHost &\n Constructor<FormControlHost> &\n typeof FormControlHost"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "FormatHost",
"declaration": {
"name": "FormatHost",
"module": "./types/FormatMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "FormatImplementation",
"declaration": {
"name": "FormatImplementation",
"module": "./types/FormatMixinTypes.d.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "./types/InteractionStateMixinTypes.d.ts",
"declarations": [
{
"kind": "class",
"name": "InteractionStateHost",
"members": [
{
"kind": "field",
"name": "prefilled",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "filled",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "touched",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "dirty",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "submitted",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "_leaveEvent",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "field",
"name": "_valueChangedEvent",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "initInteractionState",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "resetInteractionState",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_iStateOnLeave",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_iStateOnValueChange",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_onTouchedChanged",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_onDirtyChanged",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
}
]
},
{
"kind": "function",
"name": "InteractionStateImplementation",
"return": {
"type": {
"type": "T &\n Constructor<InteractionStateHost> &\n typeof InteractionStateHost &\n Constructor<FormControlHost> &\n typeof FormControlHost"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "InteractionStateHost",
"declaration": {
"name": "InteractionStateHost",
"module": "./types/InteractionStateMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "InteractionStateImplementation",
"declaration": {
"name": "InteractionStateImplementation",
"module": "./types/InteractionStateMixinTypes.d.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "./types/NativeTextFieldMixinTypes.d.ts",
"declarations": [
{
"kind": "class",
"name": "NativeTextField",
"superclass": {
"name": "LionField",
"module": "/types/src/LionField.js"
},
"members": [
{
"kind": "field",
"name": "_inputNode",
"privacy": "public",
"type": {
"type": "HTMLTextAreaElement | HTMLInputElement"
}
},
{
"kind": "field",
"name": "name",
"privacy": "public",
"type": {
"type": "string | undefined"
},
"default": "undefined",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "readOnly",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "label",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "helpText",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "modelValue",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_ariaLabelledNodes",
"privacy": "public",
"type": {
"type": "HTMLElement[]"
},
"default": "[]",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_ariaDescribedNodes",
"privacy": "public",
"type": {
"type": "HTMLElement[]"
},
"default": "[]",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_repropagationRole",
"privacy": "public",
"type": {
"type": "'child'|'choice-group'|'fieldset'"
},
"default": "'child'",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_isRepropagationEndpoint",
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "fieldName",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "slots",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_labelNode",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_helpTextNode",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "_feedbackNode",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_triggerInitialModelValueChangedEvent",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_enhanceLightDomClasses",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_enhanceLightDomA11y",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_enhanceLightDomA11yForAdditionalSlots",
"privacy": "public",
"description": "Enhances additional slots(prefix, suffix, before, after) defined by developer.\n\nWhen boolean attribute data-label or data-description is found,\nthe slot element will be connected to the input via aria-labelledby or aria-describedby",
"parameters": [
{
"name": "additionalSlots",
"type": {
"type": "string[]"
},
"default": "['prefix', 'suffix', 'before', 'after']"
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "__reflectAriaAttr",
"privacy": "public",
"description": "Will handle help text, validation feedback and character counter,\nprefix/suffix/before/after (if they contain data-description flag attr).\nAlso, contents of id references that will be put in the <lion-field>._ariaDescribedby property\nfrom an external context, will be read by a screen reader.",
"parameters": [
{
"name": "attrName",
"type": {
"type": "string"
}
},
{
"name": "nodes",
"type": {
"type": "HTMLElement[]"
}
},
{
"name": "reorder",
"type": {
"type": "boolean|undefined"
}
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "render",
"privacy": "public",
"description": "Default Render Result:\n<div class=\"form-field__group-one\">\n<div class=\"form-field__label\">\n<slot name=\"label\"></slot>\n</div>\n<small class=\"form-field__help-text\">\n<slot name=\"help-text\"></slot>\n</small>\n</div>\n<div class=\"form-field__group-two\">\n<div class=\"input-group\">\n<div class=\"input-group__before\">\n<slot name=\"before\"></slot>\n</div>\n<div class=\"input-group__container\">\n<div class=\"input-group__prefix\">\n<slot name=\"prefix\"></slot>\n</div>\n<div class=\"input-group__input\">\n<slot name=\"input\"></slot>\n</div>\n<div class=\"input-group__suffix\">\n<slot name=\"suffix\"></slot>\n</div>\n</div>\n<div class=\"input-group__after\">\n<slot name=\"after\"></slot>\n</div>\n</div>\n<div class=\"form-field__feedback\">\n<slot name=\"feedback\"></slot>\n</div>\n</div>",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_groupOneTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_groupTwoTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_labelTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_helpTextTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_inputGroupTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_inputGroupBeforeTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_inputGroupPrefixTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult | nothing"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_inputGroupInputTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_inputGroupSuffixTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult | nothing"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_inputGroupAfterTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_feedbackTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_isEmpty",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
},
"parameters": [
{
"name": "modelValue",
"type": {
"type": "?"
},
"default": "this.modelValue"
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_getAriaDescriptionElements",
"privacy": "public",
"return": {
"type": {
"type": "Array.<HTMLElement|undefined>"
}
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "addToAriaLabelledBy",
"privacy": "public",
"description": "Meant for Application Developers wanting to add to aria-labelledby attribute.",
"parameters": [
{
"name": "element",
"type": {
"type": "HTMLElement"
}
},
{
"name": "customConfig",
"type": {
"type": "{idPrefix?:string; reorder?: boolean}"
},
"default": "{}"
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "addToAriaDescribedBy",
"privacy": "public",
"description": "Meant for Application Developers wanting to add to aria-describedby attribute.",
"parameters": [
{
"name": "element",
"type": {
"type": "HTMLElement"
}
},
{
"name": "customConfig",
"type": {
"type": "{idPrefix?:string; reorder?: boolean}"
},
"default": "{}"
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "__getDirectSlotChild",
"privacy": "public",
"return": {
"type": {
"type": "HTMLElement | undefined"
}
},
"parameters": [
{
"name": "slotName",
"type": {
"type": "string"
}
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "__dispatchInitialModelValueChangedEvent",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_onBeforeRepropagateChildrenValues",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "CustomEvent"
}
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "__repropagateChildrenValues",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "CustomEvent"
}
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_repropagationCondition",
"privacy": "public",
"description": "TODO: Extend this in choice group so that target is always a choice input and multipleChoice exists.\nThis will fix the types and reduce the need for ignores/expect-errors",
"parameters": [
{
"name": "target",
"type": {
"type": "EventTarget & ChoiceInputHost"
}
}
],
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "method",
"name": "_onLabelClick",
"privacy": "public",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"kind": "field",
"name": "touched",
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "field",
"name": "dirty",
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "field",
"name": "filled",
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "field",
"name": "prefilled",
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "field",
"name": "submitted",
"privacy": "public",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "requestUpdateInternal",
"privacy": "public",
"parameters": [
{
"name": "name",
"type": {
"type": "PropertyKey"
}
},
{
"name": "oldVal",
"type": {
"type": "*"
}
}
],
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "initInteractionState",
"privacy": "public",
"description": "Evaluations performed on connectedCallback. Since some components can be out of sync\n(due to interdependence on light children that can only be processed\nafter connectedCallback and affect the initial value).\nThis method is exposed, so it can be called after they are initialized themselves.\nSince this method will be called twice in last mentioned scenario, it must stay idempotent.",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "_iStateOnLeave",
"privacy": "protected",
"description": "Sets touched value to true\nReevaluates prefilled state.\nWhen false, on next interaction, user will start with a clean state.",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "_iStateOnValueChange",
"privacy": "protected",
"description": "Sets dirty value and validates when already touched or invalid",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "resetInteractionState",
"privacy": "public",
"description": "Resets touched and dirty, and recomputes prefilled",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "_onTouchedChanged",
"privacy": "public",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "_onDirtyChanged",
"privacy": "public",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "method",
"name": "_showFeedbackConditionFor",
"privacy": "public",
"description": "Show the validity feedback when one of the following conditions is met:\n\n- submitted\nIf the form is submitted, always show the error message.\n\n- prefilled\nthe user already filled in something, or the value is prefilled\nwhen the form is initially rendered.\n\n- touched && dirty\nWhen a user starts typing for the first time in a field with for instance `required`\nvalidation, error message should not be shown until a field becomes `touched`\n(a user leaves(blurs) a field).\nWhen a user enters a field without altering the value(making it `dirty`),\nan error message shouldn't be shown either.",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"kind": "field",
"name": "focused",
"privacy": "public",
"default": "false",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "method",
"name": "focus",
"privacy": "public",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "method",
"name": "blur",
"privacy": "public",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "method",
"name": "__onFocus",
"privacy": "public",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "method",
"name": "__onBlur",
"privacy": "public",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "method",
"name": "__registerEventsForFocusMixin",
"privacy": "public",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "method",
"name": "__teardownEventsForFocusMixin",
"privacy": "public",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"kind": "field",
"name": "formattedValue",
"privacy": "public",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "field",
"name": "serializedValue",
"privacy": "public",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "field",
"name": "formatOn",
"privacy": "public",
"default": "'change'",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "field",
"name": "formatOptions",
"privacy": "public",
"default": "({})",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "field",
"name": "value",
"privacy": "public",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "parser",
"privacy": "public",
"description": "Converts formattedValue to modelValue\nFor instance, a localized date to a Date Object",
"return": {
"type": {
"type": "*"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "string"
},
"description": "formattedValue: the formatted value inside <input>"
},
{
"name": "opts",
"type": {
"type": "FormatOptions"
}
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "formatter",
"privacy": "public",
"description": "Converts modelValue to formattedValue (formattedValue will be synced with\n`._inputNode.value`)\nFor instance, a Date object to a localized date.",
"return": {
"type": {
"type": "string"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "*"
},
"description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)"
},
{
"name": "opts",
"type": {
"type": "FormatOptions"
}
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "serializer",
"privacy": "public",
"description": "Converts `.modelValue` to `.serializedValue`\nFor instance, a Date object to an iso formatted date string",
"return": {
"type": {
"type": "string"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "?"
},
"description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)"
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "deserializer",
"privacy": "public",
"description": "Converts `LionField.value` to `.modelValue`\nFor instance, an iso formatted date string to a Date object",
"return": {
"type": {
"type": "?"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "?"
},
"description": "modelValue: can be an Object, Number, String depending on the\ninput type(date, number, email etc)"
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_calculateValues",
"privacy": "public",
"description": "Responsible for storing all representations(modelValue, serializedValue, formattedValue\nand value) of the input value. Prevents infinite loops, so all value observers can be\ntreated like they will only be called once, without indirectly calling other observers.\n(in fact, some are called twice, but the __preventRecursiveTrigger lock prevents the\nsecond call from having effect).",
"parameters": [
{
"name": "config",
"type": {
"type": "{source:'model'|'serialized'|'formatted'|null}"
},
"description": "the type of value that triggered this method. It should not be\nset again, so that its observer won't be triggered. Can be:\n'model'|'formatted'|'serialized'."
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "__callParser",
"privacy": "public",
"return": {
"type": {
"type": "?"
}
},
"parameters": [
{
"name": "value",
"type": {
"type": "string|undefined"
},
"default": "this.formattedValue"
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "__callFormatter",
"privacy": "public",
"return": {
"type": {
"type": "string|undefined"
}
},
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_onModelValueChanged",
"privacy": "public",
"description": "Observer Handlers",
"parameters": [
{
"name": "args",
"type": {
"type": "{ modelValue: unknown; }[]"
}
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_dispatchModelValueChangedEvent",
"privacy": "public",
"parameters": [
{
"name": "args",
"type": {
"type": "{ modelValue: unknown; }[]"
},
"description": "This is wrapped in a distinct method, so that parents can control when the changed event\nis fired. For objects, a deep comparison might be needed."
}
],
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_syncValueUpwards",
"privacy": "public",
"description": "Synchronization from `._inputNode.value` to `LionField` (flow [2])",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_reflectBackFormattedValueToUser",
"privacy": "public",
"description": "Synchronization from `LionField.value` to `._inputNode.value`\n- flow [1] will always be reflected back\n- flow [2] will not be reflected back when this flow was triggered via\n`@user-input-changed` (this will happen later, when `formatOn` condition is met)",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_reflectBackOn",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
},
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_proxyInputEvent",
"privacy": "public",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "method",
"name": "_onUserInputChanged",
"privacy": "public",
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
},
{
"kind": "field",
"name": "autocomplete",
"privacy": "public",
"type": {
"type": "string | undefined"
},
"default": "undefined",
"inheritedFrom": {
"name": "LionField",
"module": "./src/LionField.js"
}
},
{
"kind": "method",
"name": "reset",
"privacy": "public",
"inheritedFrom": {
"name": "LionField",
"module": "./src/LionField.js"
}
},
{
"kind": "method",
"name": "clear",
"privacy": "public",
"description": "Clears modelValue.\nInteraction states are not cleared (use resetInteractionState for this)",
"inheritedFrom": {
"name": "LionField",
"module": "./src/LionField.js"
}
},
{
"kind": "method",
"name": "_onChange",
"privacy": "public",
"inheritedFrom": {
"name": "LionField",
"module": "./src/LionField.js"
}
}
],
"attributes": [
{
"name": "name",
"fieldName": "name",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"name": "readonly",
"fieldName": "readOnly",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"name": "label",
"fieldName": "label",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"name": "help-text",
"fieldName": "helpText",
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"name": "touched",
"fieldName": "touched",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"name": "dirty",
"fieldName": "dirty",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"name": "filled",
"fieldName": "filled",
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"name": "focused",
"fieldName": "focused",
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"name": "autocomplete",
"fieldName": "autocomplete",
"inheritedFrom": {
"name": "LionField",
"module": "./src/LionField.js"
}
},
{
"name": "value",
"fieldName": "value",
"inheritedFrom": {
"name": "LionField",
"module": "./src/LionField.js"
}
}
],
"events": [
{
"name": "form-element-name-changed",
"type": {
"type": "CustomEvent"
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"name": "model-value-changed",
"type": {
"type": "CustomEvent"
},
"inheritedFrom": {
"name": "FormControlMixin",
"module": "./src/FormControlMixin.js"
}
},
{
"name": "touched-changed",
"type": {
"type": "CustomEvent"
},
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"name": "dirty-changed",
"type": {
"type": "CustomEvent"
},
"inheritedFrom": {
"name": "InteractionStateMixin",
"module": "./src/InteractionStateMixin.js"
}
},
{
"name": "focus",
"type": {
"type": "Event"
},
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"name": "blur",
"type": {
"type": "Event"
},
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"name": "focusin",
"type": {
"type": "Event"
},
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"name": "focusout",
"type": {
"type": "Event"
},
"inheritedFrom": {
"name": "FocusMixin",
"module": "./src/FocusMixin.js"
}
},
{
"name": "user-input-changed",
"type": {
"type": "CustomEvent"
},
"inheritedFrom": {
"name": "FormatMixin",
"module": "./src/FormatMixin.js"
}
}
]
},
{
"kind": "class",
"name": "NativeTextFieldHost",
"members": [
{
"kind": "field",
"name": "selectionStart",
"privacy": "public",
"type": {
"type": "number"
}
},
{
"kind": "field",
"name": "selectionEnd",
"privacy": "public",
"type": {
"type": "number"
}
}
]
},
{
"kind": "function",
"name": "NativeTextFieldImplementation",
"return": {
"type": {
"type": "T & Constructor<NativeTextFieldHost> & NativeTextFieldHost & typeof NativeTextField"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "NativeTextField",
"declaration": {
"name": "NativeTextField",
"module": "./types/NativeTextFieldMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "NativeTextFieldHost",
"declaration": {
"name": "NativeTextFieldHost",
"module": "./types/NativeTextFieldMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "NativeTextFieldImplementation",
"declaration": {
"name": "NativeTextFieldImplementation",
"module": "./types/NativeTextFieldMixinTypes.d.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/choice-group/ChoiceGroupMixin.js",
"declarations": [
{
"kind": "mixin",
"name": "ChoiceGroupMixin",
"mixins": [
{
"name": "FormRegistrarMixin",
"module": "/src/registration/FormRegistrarMixin.js"
},
{
"name": "InteractionStateMixin",
"module": "/src/choice-group/InteractionStateMixin.js"
}
],
"superclass": {
"name": "superclass",
"module": "./src/choice-group/ChoiceGroupMixin.js"
},
"attributes": [
{
"name": "multiple-choice",
"fieldName": "multipleChoice"
}
],
"members": [
{
"kind": "field",
"name": "multipleChoice",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "modelValue",
"privacy": "public"
},
{
"kind": "field",
"name": "serializedValue",
"privacy": "public"
},
{
"kind": "field",
"name": "formattedValue",
"privacy": "public"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues"
}
}
]
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "addFormElement",
"privacy": "public",
"parameters": [
{
"name": "child",
"type": {
"type": "FormControl"
}
},
{
"name": "indexToInsertAt",
"type": {
"type": "number"
}
}
]
},
{
"kind": "method",
"name": "_triggerInitialModelValueChangedEvent",
"privacy": "public"
},
{
"kind": "method",
"name": "_getFromAllFormElements",
"privacy": "public",
"parameters": [
{
"name": "property",
"type": {
"type": "string"
}
},
{
"name": "filterCondition",
"default": "() => true"
}
]
},
{
"kind": "method",
"name": "_throwWhenInvalidChildModelValue",
"privacy": "public",
"parameters": [
{
"name": "child",
"type": {
"type": "FormControl"
}
}
]
},
{
"kind": "method",
"name": "_isEmpty",
"privacy": "public"
},
{
"kind": "method",
"name": "_checkSingleChoiceElements",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "CustomEvent & {target:FormControl}"
}
}
]
},
{
"kind": "method",
"name": "_getCheckedElements",
"privacy": "public"
},
{
"kind": "method",
"name": "_setCheckedElements",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "string | any[]"
}
},
{
"name": "check",
"type": {
"type": "Function"
}
}
]
},
{
"kind": "method",
"name": "__setChoiceGroupTouched",
"privacy": "public"
},
{
"kind": "method",
"name": "_onBeforeRepropagateChildrenValues",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "CustomEvent"
}
}
]
}
]
},
{
"kind": "variable",
"name": "ChoiceGroupMixin"
}
],
"exports": [
{
"kind": "js",
"name": "ChoiceGroupMixin",
"declaration": {
"name": "ChoiceGroupMixin",
"module": "./src/choice-group/ChoiceGroupMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/choice-group/ChoiceInputMixin.js",
"declarations": [
{
"kind": "mixin",
"name": "ChoiceInputMixin",
"mixins": [
{
"name": "FormatMixin",
"module": "/src/choice-group/FormatMixin.js"
}
],
"superclass": {
"name": "superclass",
"module": "./src/choice-group/ChoiceInputMixin.js"
},
"attributes": [
{
"name": "checked",
"fieldName": "checked"
},
{
"name": "disabled",
"fieldName": "disabled"
},
{
"name": "modelValue",
"fieldName": "modelValue"
},
{
"name": "choiceValue",
"fieldName": "choiceValue"
}
],
"members": [
{
"kind": "field",
"name": "checked",
"privacy": "public"
},
{
"kind": "field",
"name": "disabled",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "modelValue",
"privacy": "public",
"default": "{ value: '', checked: false }"
},
{
"kind": "field",
"name": "choiceValue",
"privacy": "public"
},
{
"kind": "method",
"name": "requestUpdateInternal",
"privacy": "public",
"parameters": [
{
"name": "name",
"type": {
"type": "string"
}
},
{
"name": "oldValue",
"type": {
"type": "any"
}
}
]
},
{
"kind": "method",
"name": "firstUpdated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "render",
"privacy": "public",
"description": "Template for [input=radio] and [input=checkbox] wrappers.\nFor [role=option] extensions, please override completely"
},
{
"kind": "method",
"name": "_choiceGraphicTemplate",
"privacy": "public"
},
{
"kind": "method",
"name": "_afterTemplate",
"privacy": "public"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "_preventDuplicateLabelClick",
"privacy": "public",
"description": "The native platform fires an event for both the click on the label, and also\nthe redispatched click on the native input element.\nThis results in two click events arriving at the host, but we only want one.\nThis method prevents the duplicate click and ensures the correct isTrusted event\nwith the correct event.target arrives at the host.",
"parameters": [
{
"name": "ev",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "_toggleChecked",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "_syncNameToParentFormGroup",
"privacy": "public",
"description": "Override this in case of extending ChoiceInputMixin and requiring\nto sync differently with parent form group name\nRight now it checks tag name match where the parent form group tagname\nshould include the child field tagname ('checkbox' is included in 'checkbox-group')"
},
{
"kind": "method",
"name": "__syncModelCheckedToChecked",
"privacy": "public",
"parameters": [
{
"name": "checked",
"type": {
"type": "boolean"
}
}
]
},
{
"kind": "method",
"name": "__syncCheckedToModel",
"privacy": "public",
"parameters": [
{
"name": "checked",
"type": {
"type": "any"
}
}
]
},
{
"kind": "method",
"name": "__syncCheckedToInputElement",
"privacy": "public"
},
{
"kind": "method",
"name": "_proxyInputEvent",
"privacy": "public"
},
{
"kind": "method",
"name": "_onModelValueChanged",
"privacy": "public",
"parameters": [
{
"name": "newV",
"type": {
"type": "{ modelValue:unknown }"
}
},
{
"name": "old",
"type": {
"type": "{ modelValue:unknown }"
},
"optional": true
}
]
},
{
"kind": "method",
"name": "parser",
"privacy": "public"
},
{
"kind": "method",
"name": "formatter",
"privacy": "public",
"parameters": [
{
"name": "modelValue",
"type": {
"type": "ChoiceInputModelValue "
}
}
]
},
{
"kind": "method",
"name": "clear",
"privacy": "public"
},
{
"kind": "method",
"name": "_isEmpty",
"privacy": "public",
"description": "Used for required validator."
},
{
"kind": "method",
"name": "_syncValueUpwards",
"privacy": "public"
}
]
},
{
"kind": "variable",
"name": "ChoiceInputMixin"
}
],
"exports": [
{
"kind": "js",
"name": "ChoiceInputMixin",
"declaration": {
"name": "ChoiceInputMixin",
"module": "./src/choice-group/ChoiceInputMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/form-group/FormElementsHaveNoError.js",
"declarations": [
{
"kind": "class",
"name": "FormElementsHaveNoError",
"superclass": {
"name": "Validator",
"module": "/src/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "unknown"
},
"optional": true
},
{
"name": "options",
"type": {
"type": "string | undefined"
},
"optional": true
},
{
"name": "config",
"type": {
"type": "{ node: any }"
}
}
]
},
{
"kind": "method",
"name": "getMessage",
"privacy": "public",
"static": true
}
]
}
],
"exports": [
{
"kind": "js",
"name": "FormElementsHaveNoError",
"declaration": {
"name": "FormElementsHaveNoError",
"module": "./src/form-group/FormElementsHaveNoError.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/form-group/FormGroupMixin.js",
"declarations": [
{
"kind": "mixin",
"name": "FormGroupMixin",
"mixins": [
{
"name": "FormRegistrarMixin",
"module": "/src/registration/FormRegistrarMixin.js"
},
{
"name": "FormControlMixin",
"module": "/src/form-group/FormControlMixin.js"
},
{
"name": "ValidateMixin",
"module": "/src/form-group/validate/ValidateMixin.js"
},
{
"name": "DisabledMixin",
"package": "@lion/core/src/DisabledMixin.js"
},
{
"name": "SlotMixin",
"package": "@lion/core"
}
],
"superclass": {
"name": "superclass",
"module": "./src/form-group/FormGroupMixin.js"
},
"attributes": [
{
"name": "submitted",
"fieldName": "submitted"
},
{
"name": "focused",
"fieldName": "focused"
},
{
"name": "dirty",
"fieldName": "dirty"
},
{
"name": "touched",
"fieldName": "touched"
},
{
"name": "prefilled",
"fieldName": "prefilled"
}
],
"members": [
{
"kind": "field",
"name": "submitted",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "focused",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "dirty",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "touched",
"privacy": "public",
"default": "false"
},
{
"kind": "field",
"name": "prefilled",
"privacy": "public"
},
{
"kind": "field",
"name": "_inputNode",
"privacy": "public"
},
{
"kind": "field",
"name": "modelValue",
"privacy": "public"
},
{
"kind": "field",
"name": "serializedValue",
"privacy": "public"
},
{
"kind": "field",
"name": "formattedValue",
"privacy": "public"
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public"
},
{
"kind": "method",
"name": "__initInteractionStates",
"privacy": "public"
},
{
"kind": "method",
"name": "_triggerInitialModelValueChangedEvent",
"privacy": "public"
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues "
}
}
]
},
{
"kind": "method",
"name": "__setupOutsideClickHandling",
"privacy": "public"
},
{
"kind": "method",
"name": "_checkForOutsideClick",
"privacy": "public",
"parameters": [
{
"name": "event",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "__requestChildrenToBeDisabled",
"privacy": "public"
},
{
"kind": "method",
"name": "__retractRequestChildrenToBeDisabled",
"privacy": "public"
},
{
"kind": "method",
"name": "_inputGroupTemplate",
"privacy": "public"
},
{
"kind": "method",
"name": "submitGroup",
"privacy": "public"
},
{
"kind": "method",
"name": "resetGroup",
"privacy": "public"
},
{
"kind": "method",
"name": "clearGroup",
"privacy": "public"
},
{
"kind": "method",
"name": "resetInteractionState",
"privacy": "public"
},
{
"kind": "method",
"name": "_getFromAllFormElements",
"privacy": "public",
"parameters": [
{
"name": "property",
"type": {
"type": "string"
}
},
{
"name": "filterFn",
"default": "(/** @type {FormControl} */ el) => !el.disabled"
}
]
},
{
"kind": "method",
"name": "_setValueForAllFormElements",
"privacy": "public",
"parameters": [
{
"name": "property",
"type": {
"type": "string | number"
}
},
{
"name": "value",
"type": {
"type": "any"
}
}
]
},
{
"kind": "method",
"name": "_setValueMapForAllFormElements",
"privacy": "public",
"parameters": [
{
"name": "property",
"type": {
"type": "string"
}
},
{
"name": "values",
"type": {
"type": "{ [x: string]: any; }"
}
}
]
},
{
"kind": "method",
"name": "_anyFormElementHas",
"privacy": "public",
"parameters": [
{
"name": "property",
"type": {
"type": "string"
}
}
]
},
{
"kind": "method",
"name": "_anyFormElementHasFeedbackFor",
"privacy": "public",
"parameters": [
{
"name": "state",
"type": {
"type": "string"
},
"description": "one of ValidateHost.validationTypes"
}
]
},
{
"kind": "method",
"name": "_everyFormElementHas",
"privacy": "public",
"parameters": [
{
"name": "property",
"type": {
"type": "string"
}
}
]
},
{
"kind": "method",
"name": "__onChildValidatePerformed",
"privacy": "public",
"description": "Gets triggered by event 'validate-performed' which enabled us to handle 2 different situations\n- react on modelValue change, which says something about the validity as a whole\n(at least two checkboxes for instance) and nothing about the children's values\n- children validity states have changed, so fieldset needs to update itself based on that",
"parameters": [
{
"name": "ev",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "_syncFocused",
"privacy": "public"
},
{
"kind": "method",
"name": "_onFocusOut",
"privacy": "public",
"parameters": [
{
"name": "ev",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "_syncDirty",
"privacy": "public"
},
{
"kind": "method",
"name": "__linkChildrenMessagesToParent",
"privacy": "public",
"parameters": [
{
"name": "child",
"type": {
"type": "FormControl"
}
}
]
},
{
"kind": "method",
"name": "addFormElement",
"privacy": "public",
"parameters": [
{
"name": "child",
"type": {
"type": "FormControl"
}
},
{
"name": "indexToInsertAt",
"type": {
"type": "number"
}
}
]
},
{
"kind": "field",
"name": "_initialModelValue",
"privacy": "public"
},
{
"kind": "method",
"name": "_addDescriptionElementIdsToField",
"privacy": "public",
"static": true,
"description": "Add aria-describedby to child element(field), so that it points to feedback/help-text of\nparent(fieldset)",
"parameters": [
{
"name": "field",
"type": {
"type": "FormControl"
},
"description": "the child: lion-field/lion-input/lion-textarea"
},
{
"name": "descriptionElements",
"type": {
"type": "HTMLElement[]"
},
"description": "description elements like feedback and help-text"
}
]
},
{
"kind": "method",
"name": "removeFormElement",
"privacy": "public",
"parameters": [
{
"name": "el",
"type": {
"type": "FormRegisteringHost"
}
}
]
}
]
},
{
"kind": "variable",
"name": "FormGroupMixin"
}
],
"exports": [
{
"kind": "js",
"name": "FormGroupMixin",
"declaration": {
"name": "FormGroupMixin",
"module": "./src/form-group/FormGroupMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/registration/FormControlsCollection.js",
"declarations": [
{
"kind": "class",
"name": "FormControlsCollection",
"superclass": {
"name": "Array",
"module": "./src/registration/FormControlsCollection.js"
},
"members": [
{
"kind": "method",
"name": "_keys",
"privacy": "public",
"return": {
"type": {
"type": "string[]"
}
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "FormControlsCollection",
"declaration": {
"name": "FormControlsCollection",
"module": "./src/registration/FormControlsCollection.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/registration/FormRegisteringMixin.js",
"declarations": [
{
"kind": "variable",
"name": "FormRegisteringMixin"
}
],
"exports": [
{
"kind": "js",
"name": "FormRegisteringMixin",
"declaration": {
"name": "FormRegisteringMixin",
"module": "./src/registration/FormRegisteringMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/registration/FormRegistrarMixin.js",
"declarations": [
{
"kind": "variable",
"name": "FormRegistrarMixin"
}
],
"exports": [
{
"kind": "js",
"name": "FormRegistrarMixin",
"declaration": {
"name": "FormRegistrarMixin",
"module": "./src/registration/FormRegistrarMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/registration/FormRegistrarPortalMixin.js",
"declarations": [
{
"kind": "variable",
"name": "FormRegistrarPortalMixin"
}
],
"exports": [
{
"kind": "js",
"name": "FormRegistrarPortalMixin",
"declaration": {
"name": "FormRegistrarPortalMixin",
"module": "./src/registration/FormRegistrarPortalMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/validate/LionValidationFeedback.js",
"declarations": [
{
"kind": "class",
"name": "LionValidationFeedback",
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"members": [
{
"kind": "field",
"name": "feedbackData",
"privacy": "public"
},
{
"kind": "method",
"name": "_messageTemplate",
"privacy": "public",
"parameters": [
{
"name": "opts",
"type": {
"type": "Object"
}
},
{
"name": "opts.message",
"type": {
"type": "string | Node | TemplateResult "
},
"description": "message or feedback node or TemplateResult"
},
{
"name": "opts.type",
"type": {
"type": "string"
},
"optional": true
},
{
"name": "opts.validator",
"type": {
"type": "Validator"
},
"optional": true
}
]
}
],
"tagName": "lion-validation-feedback"
}
],
"exports": [
{
"kind": "js",
"name": "LionValidationFeedback",
"declaration": {
"name": "LionValidationFeedback",
"module": "./src/validate/LionValidationFeedback.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/validate/ResultValidator.js",
"declarations": [
{
"kind": "class",
"name": "ResultValidator",
"superclass": {
"name": "Validator",
"module": "/src/src/validate/Validator.js"
},
"members": [
{
"kind": "method",
"name": "executeOnResults",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
},
"parameters": [
{
"name": "context",
"type": {
"type": "Object"
}
},
{
"name": "context.regularValidationResult",
"type": {
"type": "Validator[]"
}
},
{
"name": "context.prevValidationResult",
"type": {
"type": "Validator[] | undefined"
}
},
{
"name": "context.validators",
"type": {
"type": "Validator[]"
},
"optional": true
}
]
}
]
}
],
"exports": [
{
"kind": "js",
"name": "ResultValidator",
"declaration": {
"name": "ResultValidator",
"module": "./src/validate/ResultValidator.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/validate/Unparseable.js",
"declarations": [
{
"kind": "class",
"name": "Unparseable",
"members": [
{
"kind": "method",
"name": "toString",
"privacy": "public"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "Unparseable",
"declaration": {
"name": "Unparseable",
"module": "./src/validate/Unparseable.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/validate/ValidateMixin.js",
"declarations": [
{
"kind": "variable",
"name": "ValidateMixinImplementation",
"description": "",
"type": {
"type": "LitElement>"
}
},
{
"kind": "variable",
"name": "ValidateMixin"
}
],
"exports": [
{
"kind": "js",
"name": "ValidateMixinImplementation",
"declaration": {
"name": "ValidateMixinImplementation",
"module": "./src/validate/ValidateMixin.js"
}
},
{
"kind": "js",
"name": "ValidateMixin",
"declaration": {
"name": "ValidateMixin",
"module": "./src/validate/ValidateMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/validate/Validator.js",
"declarations": [
{
"kind": "class",
"name": "Validator",
"members": [
{
"name": "MessageData.modelValue",
"type": {
"type": "*"
},
"description": ""
},
{
"name": "MessageData.fieldName",
"type": {
"type": "string"
},
"description": ""
},
{
"name": "MessageData.formControl",
"type": {
"type": "HTMLElement"
},
"description": ""
},
{
"name": "MessageData.type",
"type": {
"type": "string"
},
"description": ""
},
{
"name": "MessageData.config",
"type": {
"type": "Object.<string,?>"
},
"description": ""
},
{
"name": "MessageData.name",
"type": {
"type": "string"
},
"description": ""
},
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "field",
"name": "async",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"return": {
"type": {
"type": "Boolean|Promise<Boolean>"
}
},
"parameters": [
{
"name": "modelValue",
"type": {
"type": "?"
},
"optional": true
},
{
"name": "param",
"type": {
"type": "?"
},
"optional": true
},
{
"name": "config",
"type": {
"type": "{}"
},
"optional": true
}
]
},
{
"kind": "field",
"name": "param",
"privacy": "public"
},
{
"kind": "field",
"name": "config",
"privacy": "public"
},
{
"kind": "method",
"name": "_getMessage",
"privacy": "public",
"return": {
"type": {
"type": "Promise<string|Node>"
}
},
"parameters": [
{
"name": "data",
"type": {
"type": "MessageData"
},
"optional": true
}
]
},
{
"kind": "method",
"name": "getMessage",
"privacy": "public",
"static": true,
"return": {
"type": {
"type": "Promise<string|Node>"
}
},
"parameters": [
{
"name": "data",
"type": {
"type": "MessageData"
},
"optional": true
}
]
},
{
"kind": "method",
"name": "onFormControlConnect",
"privacy": "public",
"parameters": [
{
"name": "formControl",
"type": {
"type": "HTMLElement"
}
}
]
},
{
"kind": "method",
"name": "onFormControlDisconnect",
"privacy": "public",
"parameters": [
{
"name": "formControl",
"type": {
"type": "HTMLElement"
}
}
]
},
{
"kind": "method",
"name": "abortExecution",
"privacy": "public"
},
{
"kind": "method",
"name": "__fakeExtendsEventTarget",
"privacy": "public"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "Validator",
"declaration": {
"name": "Validator",
"module": "./src/validate/Validator.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/utils/AsyncQueue.js",
"declarations": [
{
"kind": "class",
"name": "AsyncQueue",
"members": [
{
"kind": "method",
"name": "add",
"privacy": "public",
"parameters": [
{
"name": "task",
"type": {
"type": "function"
}
}
]
},
{
"kind": "method",
"name": "__run",
"privacy": "public"
}
]
}
],
"exports": [
{
"kind": "js",
"name": "AsyncQueue",
"declaration": {
"name": "AsyncQueue",
"module": "./src/utils/AsyncQueue.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/utils/SyncUpdatableMixin.js",
"declarations": [
{
"kind": "variable",
"name": "SyncUpdatableMixin"
}
],
"exports": [
{
"kind": "js",
"name": "SyncUpdatableMixin",
"declaration": {
"name": "SyncUpdatableMixin",
"module": "./src/utils/SyncUpdatableMixin.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/utils/getAriaElementsInRightDomOrder.js",
"declarations": [
{
"kind": "function",
"name": "getAriaElementsInRightDomOrder",
"return": {
"type": {
"type": "HTMLElement[]"
}
},
"parameters": [
{
"name": "descriptionElements",
"type": {
"type": "HTMLElement[]"
},
"description": "holds references to description or label elements whose\nid should be returned"
},
{
"name": "opts",
"type": {
"type": "Object"
}
},
{
"name": "opts.reverse",
"type": {
"type": "boolean"
},
"optional": true
}
]
}
],
"exports": [
{
"kind": "js",
"name": "getAriaElementsInRightDomOrder",
"declaration": {
"name": "getAriaElementsInRightDomOrder",
"module": "./src/utils/getAriaElementsInRightDomOrder.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/utils/pascalCase.js",
"declarations": [
{
"kind": "function",
"name": "pascalCase",
"description": "Return PascalCased version of the camelCased string",
"return": {
"type": {
"type": "string"
}
},
"parameters": [
{
"name": "str",
"type": {
"type": "string"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "pascalCase",
"declaration": {
"name": "pascalCase",
"module": "./src/utils/pascalCase.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./types/choice-group/ChoiceGroupMixinTypes.d.ts",
"declarations": [
{
"kind": "class",
"name": "ChoiceGroupHost",
"members": [
{
"kind": "field",
"name": "multipleChoice",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "field",
"name": "modelValue",
"privacy": "public",
"type": {
"type": "any"
}
},
{
"kind": "field",
"name": "serializedValue",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "field",
"name": "formattedValue",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "addFormElement",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "child",
"type": {
"type": "FormControlHost"
}
},
{
"name": "indexToInsertAt",
"type": {
"type": "number"
}
}
]
},
{
"kind": "method",
"name": "_triggerInitialModelValueChangedEvent",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_getFromAllFormElements",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "property",
"type": {
"type": "string"
}
},
{
"name": "filterCondition",
"type": {
"type": "Function"
}
}
]
},
{
"kind": "method",
"name": "_throwWhenInvalidChildModelValue",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "child",
"type": {
"type": "FormControlHost"
}
}
]
},
{
"kind": "method",
"name": "_isEmpty",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_checkSingleChoiceElements",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "ev",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "_getCheckedElements",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_setCheckedElements",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "value",
"type": {
"type": "any"
}
},
{
"name": "check",
"type": {
"type": "boolean"
}
}
]
},
{
"kind": "method",
"name": "__setChoiceGroupTouched",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "__delegateNameAttribute",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "child",
"type": {
"type": "FormControlHost"
}
}
]
},
{
"kind": "method",
"name": "_onBeforeRepropagateChildrenValues",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "ev",
"type": {
"type": "Event"
}
}
]
}
]
},
{
"kind": "function",
"name": "ChoiceGroupImplementation",
"return": {
"type": {
"type": "T &\n Constructor<ChoiceGroupHost> &\n ChoiceGroupHost &\n Constructor<FormRegistrarHost> &\n typeof FormRegistrarHost &\n Constructor<InteractionStateHost> &\n typeof InteractionStateHost"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "ChoiceGroupHost",
"declaration": {
"name": "ChoiceGroupHost",
"module": "./types/choice-group/ChoiceGroupMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "ChoiceGroupImplementation",
"declaration": {
"name": "ChoiceGroupImplementation",
"module": "./types/choice-group/ChoiceGroupMixinTypes.d.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "./types/choice-group/ChoiceInputMixinTypes.d.ts",
"declarations": [
{
"kind": "class",
"name": "ChoiceInputHost",
"members": [
{
"kind": "field",
"name": "modelValue",
"privacy": "public",
"type": {
"type": "ChoiceInputModelValue"
}
},
{
"kind": "field",
"name": "serializedValue",
"privacy": "public",
"type": {
"type": "ChoiceInputSerializedValue"
}
},
{
"kind": "field",
"name": "checked",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "choiceValue",
"privacy": "public",
"type": {
"type": "any"
}
},
{
"kind": "method",
"name": "requestUpdateInternal",
"privacy": "protected",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "name",
"type": {
"type": "string"
}
},
{
"name": "oldValue",
"type": {
"type": "any"
}
}
]
},
{
"kind": "method",
"name": "firstUpdated",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "Map<string, any>"
}
}
]
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "Map<string, any>"
}
}
]
},
{
"kind": "method",
"name": "render",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_choiceGraphicTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "_afterTemplate",
"privacy": "public",
"return": {
"type": {
"type": "TemplateResult"
}
}
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_preventDuplicateLabelClick",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "ev",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "_syncNameToParentFormGroup",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_toggleChecked",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "ev",
"type": {
"type": "Event"
}
}
]
},
{
"kind": "method",
"name": "__syncModelCheckedToChecked",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "checked",
"type": {
"type": "boolean"
}
}
]
},
{
"kind": "method",
"name": "__syncCheckedToModel",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "checked",
"type": {
"type": "boolean"
}
}
]
},
{
"kind": "method",
"name": "__syncCheckedToInputElement",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "field",
"name": "__isHandlingUserInput",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "method",
"name": "_proxyInputEvent",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_onModelValueChanged",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "newV",
"type": {
"type": "{ modelValue: ChoiceInputModelValue }"
}
},
{
"name": "oldV",
"type": {
"type": "{ modelValue: ChoiceInputModelValue }"
}
}
]
},
{
"kind": "method",
"name": "parser",
"privacy": "public",
"return": {
"type": {
"type": "any"
}
}
},
{
"kind": "method",
"name": "formatter",
"privacy": "public",
"return": {
"type": {
"type": "string"
}
},
"parameters": [
{
"name": "modelValue",
"type": {
"type": "ChoiceInputModelValue"
}
}
]
},
{
"kind": "method",
"name": "_isEmpty",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_syncValueUpwards",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "field",
"name": "type",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "field",
"name": "_inputNode",
"privacy": "public",
"type": {
"type": "HTMLElement"
}
}
]
},
{
"kind": "function",
"name": "ChoiceInputImplementation",
"return": {
"type": {
"type": "T &\n Constructor<ChoiceInputHost> &\n ChoiceInputHost &\n Constructor<FormatHost> &\n FormatHost &\n HTMLElement"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "ChoiceInputHost",
"declaration": {
"name": "ChoiceInputHost",
"module": "./types/choice-group/ChoiceInputMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "ChoiceInputImplementation",
"declaration": {
"name": "ChoiceInputImplementation",
"module": "./types/choice-group/ChoiceInputMixinTypes.d.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "./types/form-group/FormGroupMixinTypes.d.ts",
"declarations": [
{
"kind": "class",
"name": "FormGroupHost",
"members": [
{
"kind": "method",
"name": "_addDescriptionElementIdsToField",
"privacy": "public",
"static": true,
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "field",
"name": "_inputNode",
"privacy": "public",
"type": {
"type": "HTMLElement"
}
},
{
"kind": "method",
"name": "submitGroup",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "resetGroup",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "field",
"name": "prefilled",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "touched",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "dirty",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "submitted",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "serializedValue",
"privacy": "public",
"type": {
"type": "{ [key: string]: any }"
}
},
{
"kind": "field",
"name": "modelValue",
"privacy": "public",
"type": {
"type": "{ [x: string]: any }"
}
},
{
"kind": "field",
"name": "formattedValue",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "field",
"name": "children",
"privacy": "public",
"type": {
"type": "Array<HTMLElement & FormControlHost>"
}
},
{
"kind": "field",
"name": "_initialModelValue",
"privacy": "public",
"type": {
"type": "{ [x: string]: any }"
}
},
{
"kind": "method",
"name": "_setValueForAllFormElements",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "property",
"type": {
"type": "string"
}
},
{
"name": "value",
"type": {
"type": "any"
}
}
]
},
{
"kind": "method",
"name": "resetInteractionState",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "clearGroup",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
}
]
},
{
"kind": "function",
"name": "FormGroupImplementation",
"return": {
"type": {
"type": "T &\n Constructor<FormGroupHost> &\n typeof FormGroupHost &\n Constructor<FormRegistrarHost> &\n typeof FormRegistrarHost &\n Constructor<FormControlHost> &\n typeof FormControlHost &\n Constructor<ValidateHost> &\n typeof ValidateHost &\n Constructor<DisabledHost> &\n typeof DisabledHost &\n Constructor<SlotHost> &\n typeof SlotHost"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "FormGroupHost",
"declaration": {
"name": "FormGroupHost",
"module": "./types/form-group/FormGroupMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "FormGroupImplementation",
"declaration": {
"name": "FormGroupImplementation",
"module": "./types/form-group/FormGroupMixinTypes.d.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "./types/registration/FormRegisteringMixinTypes.d.ts",
"declarations": [
{
"kind": "class",
"name": "FormRegisteringHost",
"members": [
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "field",
"name": "_parentFormGroup",
"privacy": "public",
"type": {
"type": "FormRegistrarHost"
}
}
]
},
{
"kind": "function",
"name": "FormRegisteringImplementation",
"return": {
"type": {
"type": "T & Constructor<FormRegisteringHost> & typeof FormRegisteringHost"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "FormRegisteringHost",
"declaration": {
"name": "FormRegisteringHost",
"module": "./types/registration/FormRegisteringMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "FormRegisteringImplementation",
"declaration": {
"name": "FormRegisteringImplementation",
"module": "./types/registration/FormRegisteringMixinTypes.d.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "./types/registration/FormRegistrarMixinTypes.d.ts",
"declarations": [
{
"kind": "class",
"name": "ElementWithParentFormGroup",
"members": [
{
"kind": "field",
"name": "_parentFormGroup",
"privacy": "public",
"type": {
"type": "FormRegistrarHost"
}
}
]
},
{
"kind": "class",
"name": "FormRegistrarHost",
"members": [
{
"kind": "field",
"name": "_isFormOrFieldset",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "formElements",
"privacy": "public",
"type": {
"type": "FormControlsCollection & { [x: string]: any }"
}
},
{
"kind": "method",
"name": "addFormElement",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "child",
"type": {
"type": "| (FormControlHost & ElementWithParentFormGroup)\n | (FormControlHost & HTMLElement)\n | (HTMLElement & ElementWithParentFormGroup)"
}
},
{
"name": "indexToInsertAt",
"type": {
"type": "number"
}
}
]
},
{
"kind": "method",
"name": "removeFormElement",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "child",
"type": {
"type": "FormRegisteringHost"
}
}
]
},
{
"kind": "method",
"name": "_onRequestToAddFormElement",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "e",
"type": {
"type": "CustomEvent"
}
}
]
},
{
"kind": "method",
"name": "isRegisteredFormElement",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
},
"parameters": [
{
"name": "el",
"type": {
"type": "FormControlHost"
}
}
]
},
{
"kind": "field",
"name": "registrationComplete",
"privacy": "public",
"type": {
"type": "Promise<boolean>"
}
}
]
},
{
"kind": "function",
"name": "FormRegistrarImplementation",
"return": {
"type": {
"type": "T &\n Constructor<FormRegistrarHost> &\n typeof FormRegistrarHost &\n Constructor<FormRegisteringHost> &\n typeof FormRegisteringHost"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "ElementWithParentFormGroup",
"declaration": {
"name": "ElementWithParentFormGroup",
"module": "./types/registration/FormRegistrarMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "FormRegistrarHost",
"declaration": {
"name": "FormRegistrarHost",
"module": "./types/registration/FormRegistrarMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "FormRegistrarImplementation",
"declaration": {
"name": "FormRegistrarImplementation",
"module": "./types/registration/FormRegistrarMixinTypes.d.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "./types/registration/FormRegistrarPortalMixinTypes.d.ts",
"declarations": [
{
"kind": "class",
"name": "FormRegistrarPortalHost",
"members": [
{
"kind": "field",
"name": "registrationTarget",
"privacy": "public",
"type": {
"type": "HTMLElement"
}
},
{
"kind": "method",
"name": "__redispatchEventForFormRegistrarPortalMixin",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "ev",
"type": {
"type": "CustomEvent"
}
}
]
}
]
},
{
"kind": "function",
"name": "FormRegistrarPortalImplementation",
"return": {
"type": {
"type": "T & Constructor<FormRegistrarPortalHost> & FormRegistrarPortalHost"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "FormRegistrarPortalHost",
"declaration": {
"name": "FormRegistrarPortalHost",
"module": "./types/registration/FormRegistrarPortalMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "FormRegistrarPortalImplementation",
"declaration": {
"name": "FormRegistrarPortalImplementation",
"module": "./types/registration/FormRegistrarPortalMixinTypes.d.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "./types/utils/SyncUpdatableMixinTypes.d.ts",
"declarations": [
{
"kind": "class",
"name": "SyncUpdatableHost",
"members": [
{
"kind": "method",
"name": "__syncUpdatableHasChanged",
"privacy": "public",
"static": true,
"return": {
"type": {
"type": "boolean"
}
},
"parameters": [
{
"name": "name",
"type": {
"type": "string"
}
},
{
"name": "newValue",
"type": {
"type": "any"
}
},
{
"name": "oldValue",
"type": {
"type": "any"
}
}
]
},
{
"kind": "method",
"name": "updateSync",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "name",
"type": {
"type": "string"
}
},
{
"name": "oldValue",
"type": {
"type": "any"
}
}
]
},
{
"kind": "method",
"name": "__syncUpdatableInitialize",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "field",
"name": "__SyncUpdatableNamespace",
"privacy": "public",
"type": {
"type": "SyncUpdatableNamespace"
}
},
{
"kind": "method",
"name": "firstUpdated",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "PropertyValues"
}
}
]
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
}
]
},
{
"kind": "function",
"name": "SyncUpdatableImplementation",
"return": {
"type": {
"type": "T & Constructor<SyncUpdatableHost> & typeof SyncUpdatableHost"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "SyncUpdatableHost",
"declaration": {
"name": "SyncUpdatableHost",
"module": "./types/utils/SyncUpdatableMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "SyncUpdatableImplementation",
"declaration": {
"name": "SyncUpdatableImplementation",
"module": "./types/utils/SyncUpdatableMixinTypes.d.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "./types/validate/ValidateMixinTypes.d.ts",
"declarations": [
{
"kind": "class",
"name": "ValidateHost",
"members": [
{
"kind": "field",
"name": "validators",
"privacy": "public",
"type": {
"type": "Validator[]"
}
},
{
"kind": "field",
"name": "hasFeedbackFor",
"privacy": "public",
"type": {
"type": "string[]"
}
},
{
"kind": "field",
"name": "shouldShowFeedbackFor",
"privacy": "public",
"type": {
"type": "string[]"
}
},
{
"kind": "field",
"name": "showsFeedbackFor",
"privacy": "public",
"type": {
"type": "string[]"
}
},
{
"kind": "field",
"name": "validationStates",
"privacy": "public",
"type": {
"type": "{ [key: string]: { [key: string]: Object } }"
}
},
{
"kind": "field",
"name": "isPending",
"privacy": "public",
"type": {
"type": "boolean"
}
},
{
"kind": "field",
"name": "defaultValidators",
"privacy": "public",
"type": {
"type": "Validator[]"
}
},
{
"kind": "field",
"name": "_visibleMessagesAmount",
"privacy": "public",
"type": {
"type": "number"
}
},
{
"kind": "field",
"name": "fieldName",
"privacy": "public",
"type": {
"type": "string"
}
},
{
"kind": "field",
"name": "validationTypes",
"static": true,
"privacy": "public",
"type": {
"type": "string[]"
}
},
{
"kind": "field",
"name": "slots",
"privacy": "public",
"type": {
"type": "SlotsMap"
}
},
{
"kind": "field",
"name": "_feedbackNode",
"privacy": "public",
"type": {
"type": "LionValidationFeedback"
}
},
{
"kind": "field",
"name": "_allValidators",
"privacy": "public",
"type": {
"type": "Validator[]"
}
},
{
"kind": "field",
"name": "__syncValidationResult",
"privacy": "public",
"type": {
"type": "Validator[]"
}
},
{
"kind": "field",
"name": "__asyncValidationResult",
"privacy": "public",
"type": {
"type": "Validator[]"
}
},
{
"kind": "field",
"name": "__validationResult",
"privacy": "public",
"type": {
"type": "Validator[]"
}
},
{
"kind": "field",
"name": "__prevValidationResult",
"privacy": "public",
"type": {
"type": "Validator[]"
}
},
{
"kind": "method",
"name": "connectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "disconnectedCallback",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "firstUpdated",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "import('@lion/core').PropertyValues"
}
}
]
},
{
"kind": "method",
"name": "updateSync",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "name",
"type": {
"type": "string"
}
},
{
"name": "oldValue",
"type": {
"type": "unknown"
}
}
]
},
{
"kind": "method",
"name": "updated",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "changedProperties",
"type": {
"type": "import('@lion/core').PropertyValues"
}
}
]
},
{
"kind": "method",
"name": "validate",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "opts",
"type": {
"type": "{ clearCurrentResult?: boolean }"
}
}
]
},
{
"kind": "method",
"name": "__storePrevResult",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "__executeValidators",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "field",
"name": "validateComplete",
"privacy": "public",
"type": {
"type": "Promise<void>"
}
},
{
"kind": "field",
"name": "feedbackComplete",
"privacy": "public",
"type": {
"type": "Promise<void>"
}
},
{
"kind": "method",
"name": "__validateCompleteResolve",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "__executeSyncValidators",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "syncValidators",
"type": {
"type": "Validator[]"
}
},
{
"name": "value",
"type": {
"type": "unknown"
}
},
{
"name": "opts",
"type": {
"type": "{ hasAsync: boolean }"
}
}
]
},
{
"kind": "method",
"name": "__executeAsyncValidators",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "asyncValidators",
"type": {
"type": "Validator[]"
}
},
{
"name": "value",
"type": {
"type": "unknown"
}
}
]
},
{
"kind": "method",
"name": "__executeResultValidators",
"privacy": "public",
"return": {
"type": {
"type": "Validator[]"
}
},
"parameters": [
{
"name": "regularValidationResult",
"type": {
"type": "Validator[]"
}
}
]
},
{
"kind": "method",
"name": "__finishValidation",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "options",
"type": {
"type": "{ source: 'sync' | 'async'; hasAsync?: boolean }"
}
}
]
},
{
"kind": "method",
"name": "__clearValidationResults",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "__onValidatorUpdated",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
},
"parameters": [
{
"name": "e",
"type": {
"type": "Event | CustomEvent"
}
}
]
},
{
"kind": "method",
"name": "__setupValidators",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "__isEmpty",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
},
"parameters": [
{
"name": "v",
"type": {
"type": "unknown"
}
}
]
},
{
"kind": "method",
"name": "__getFeedbackMessages",
"privacy": "public",
"return": {
"type": {
"type": "Promise<FeedbackMessage[]>"
}
},
"parameters": [
{
"name": "validators",
"type": {
"type": "Validator[]"
}
}
]
},
{
"kind": "method",
"name": "_updateFeedbackComponent",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_showFeedbackConditionFor",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
},
"parameters": [
{
"name": "type",
"type": {
"type": "string"
}
}
]
},
{
"kind": "method",
"name": "_hasFeedbackVisibleFor",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
},
"parameters": [
{
"name": "type",
"type": {
"type": "string"
}
}
]
},
{
"kind": "method",
"name": "_updateShouldShowFeedbackFor",
"privacy": "public",
"return": {
"type": {
"type": "void"
}
}
},
{
"kind": "method",
"name": "_prioritizeAndFilterFeedback",
"privacy": "public",
"return": {
"type": {
"type": "Validator[]"
}
},
"parameters": [
{
"name": "opts",
"type": {
"type": "{ validationResult: Validator[] }"
}
}
]
}
]
},
{
"kind": "function",
"name": "ValidateImplementation",
"return": {
"type": {
"type": "T &\n Constructor<ValidateHost> &\n typeof ValidateHost &\n Constructor<FormControlHost> &\n typeof FormControlHost &\n Constructor<SyncUpdatableHost> &\n typeof SyncUpdatableHost &\n Constructor<DisabledHost> &\n typeof DisabledHost &\n Constructor<SlotHost> &\n typeof SlotHost &\n Constructor<ScopedElementsHost> &\n typeof ScopedElementsHost"
}
},
"parameters": [
{
"name": "superclass",
"type": {
"type": "T"
}
}
]
}
],
"exports": [
{
"kind": "js",
"name": "ValidateHost",
"declaration": {
"name": "ValidateHost",
"module": "./types/validate/ValidateMixinTypes.d.ts"
}
},
{
"kind": "js",
"name": "ValidateImplementation",
"declaration": {
"name": "ValidateImplementation",
"module": "./types/validate/ValidateMixinTypes.d.ts"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/validate/resultValidators/DefaultSuccess.js",
"declarations": [
{
"kind": "class",
"name": "DefaultSuccess",
"superclass": {
"name": "ResultValidator",
"module": "/src/validate/resultValidators/ResultValidator.js"
},
"members": [
{
"kind": "method",
"name": "executeOnResults",
"privacy": "public",
"return": {
"type": {
"type": "boolean"
}
},
"parameters": [
{
"name": "context",
"type": {
"type": "Object"
}
},
{
"name": "context.regularValidationResult",
"type": {
"type": "Validator[]"
}
},
{
"name": "context.prevValidationResult",
"type": {
"type": "Validator[]"
}
}
]
}
]
}
],
"exports": [
{
"kind": "js",
"name": "DefaultSuccess",
"declaration": {
"name": "DefaultSuccess",
"module": "./src/validate/resultValidators/DefaultSuccess.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/validate/validators/DateValidators.js",
"declarations": [
{
"kind": "class",
"name": "IsDate",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
}
]
}
]
},
{
"kind": "class",
"name": "MinDate",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
},
{
"name": "min",
"default": "this.param"
}
]
}
]
},
{
"kind": "class",
"name": "MaxDate",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
},
{
"name": "max",
"default": "this.param"
}
]
}
]
},
{
"kind": "class",
"name": "MinMaxDate",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
}
]
}
]
},
{
"kind": "class",
"name": "IsDateDisabled",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
},
{
"name": "isDisabledFn",
"default": "this.param"
}
]
}
]
}
],
"exports": [
{
"kind": "js",
"name": "IsDate",
"declaration": {
"name": "IsDate",
"module": "./src/validate/validators/DateValidators.js"
}
},
{
"kind": "js",
"name": "MinDate",
"declaration": {
"name": "MinDate",
"module": "./src/validate/validators/DateValidators.js"
}
},
{
"kind": "js",
"name": "MaxDate",
"declaration": {
"name": "MaxDate",
"module": "./src/validate/validators/DateValidators.js"
}
},
{
"kind": "js",
"name": "MinMaxDate",
"declaration": {
"name": "MinMaxDate",
"module": "./src/validate/validators/DateValidators.js"
}
},
{
"kind": "js",
"name": "IsDateDisabled",
"declaration": {
"name": "IsDateDisabled",
"module": "./src/validate/validators/DateValidators.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/validate/validators/NumberValidators.js",
"declarations": [
{
"kind": "class",
"name": "IsNumber",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
}
]
}
]
},
{
"kind": "class",
"name": "MinNumber",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
},
{
"name": "min",
"default": "this.param"
}
]
}
]
},
{
"kind": "class",
"name": "MaxNumber",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
},
{
"name": "max",
"default": "this.param"
}
]
}
]
},
{
"kind": "class",
"name": "MinMaxNumber",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
}
]
}
]
}
],
"exports": [
{
"kind": "js",
"name": "IsNumber",
"declaration": {
"name": "IsNumber",
"module": "./src/validate/validators/NumberValidators.js"
}
},
{
"kind": "js",
"name": "MinNumber",
"declaration": {
"name": "MinNumber",
"module": "./src/validate/validators/NumberValidators.js"
}
},
{
"kind": "js",
"name": "MaxNumber",
"declaration": {
"name": "MaxNumber",
"module": "./src/validate/validators/NumberValidators.js"
}
},
{
"kind": "js",
"name": "MinMaxNumber",
"declaration": {
"name": "MinMaxNumber",
"module": "./src/validate/validators/NumberValidators.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/validate/validators/Required.js",
"declarations": [
{
"kind": "class",
"name": "Required",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "onFormControlConnect",
"privacy": "public",
"parameters": [
{
"name": "formControl",
"type": {
"type": "FormControlHost & HTMLElement"
}
}
]
},
{
"kind": "method",
"name": "onFormControlDisconnect",
"privacy": "public",
"parameters": [
{
"name": "formControl",
"type": {
"type": "FormControlHost & HTMLElement"
}
}
]
}
]
}
],
"exports": [
{
"kind": "js",
"name": "Required",
"declaration": {
"name": "Required",
"module": "./src/validate/validators/Required.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/validate/validators/StringValidators.js",
"declarations": [
{
"kind": "class",
"name": "IsString",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
}
]
}
]
},
{
"kind": "class",
"name": "EqualsLength",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
},
{
"name": "length",
"default": "this.param"
}
]
}
]
},
{
"kind": "class",
"name": "MinLength",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
},
{
"name": "min",
"default": "this.param"
}
]
}
]
},
{
"kind": "class",
"name": "MaxLength",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
},
{
"name": "max",
"default": "this.param"
}
]
}
]
},
{
"kind": "class",
"name": "MinMaxLength",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
}
]
}
]
},
{
"kind": "class",
"name": "IsEmail",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
}
]
}
]
},
{
"kind": "class",
"name": "Pattern",
"superclass": {
"name": "Validator",
"module": "/src/validate/src/validate/Validator.js"
},
"members": [
{
"kind": "field",
"name": "validatorName",
"static": true,
"privacy": "public"
},
{
"kind": "method",
"name": "execute",
"privacy": "public",
"parameters": [
{
"name": "value",
"type": {
"type": "?"
}
},
{
"name": "pattern",
"default": "this.param"
}
]
}
]
}
],
"exports": [
{
"kind": "js",
"name": "IsString",
"declaration": {
"name": "IsString",
"module": "./src/validate/validators/StringValidators.js"
}
},
{
"kind": "js",
"name": "EqualsLength",
"declaration": {
"name": "EqualsLength",
"module": "./src/validate/validators/StringValidators.js"
}
},
{
"kind": "js",
"name": "MinLength",
"declaration": {
"name": "MinLength",
"module": "./src/validate/validators/StringValidators.js"
}
},
{
"kind": "js",
"name": "MaxLength",
"declaration": {
"name": "MaxLength",
"module": "./src/validate/validators/StringValidators.js"
}
},
{
"kind": "js",
"name": "MinMaxLength",
"declaration": {
"name": "MinMaxLength",
"module": "./src/validate/validators/StringValidators.js"
}
},
{
"kind": "js",
"name": "IsEmail",
"declaration": {
"name": "IsEmail",
"module": "./src/validate/validators/StringValidators.js"
}
},
{
"kind": "js",
"name": "Pattern",
"declaration": {
"name": "Pattern",
"module": "./src/validate/validators/StringValidators.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./docs/choice-group/README.md",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/validate/README.md",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/validate/system.md",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "./docs/validate/assets/FlowDiagram.md",
"declarations": [],
"exports": []
}
]
}