@lion/ui 0.3.5 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion.js +1 -0
- package/button.js +3 -0
- package/calendar-test-helpers.js +3 -0
- package/calendar.js +2 -0
- package/checkbox-group-test-suites.js +1 -0
- package/checkbox-group.js +3 -0
- package/collapsible.js +1 -0
- package/combobox-test-helpers.js +1 -0
- package/combobox.js +6 -0
- package/components/accordion/src/LionAccordion.js +20 -3
- package/components/accordion/test/lion-accordion.test.js +19 -0
- package/components/calendar/src/LionCalendar.js +5 -2
- package/components/calendar/src/utils/createMonth.js +1 -2
- package/components/calendar/test/lion-calendar.test.js +83 -4
- package/components/calendar/test/utils/createMonth.test.js +15 -0
- package/components/form-core/src/form-group/FormGroupMixin.js +7 -0
- package/components/form-core/src/validate/ValidateMixin.js +197 -153
- package/components/form-core/test-suites/ValidateMixin.suite.js +4 -4
- package/components/form-core/test-suites/form-group/FormGroupMixin-input.suite.js +1 -1
- package/components/form-core/test-suites/form-group/FormGroupMixin.suite.js +22 -7
- package/components/input-datepicker/src/LionInputDatepicker.js +4 -4
- package/components/input-datepicker/test/lion-input-datepicker.test.js +23 -0
- package/components/localize/types/LocalizeMixinTypes.ts +1 -1
- package/components/overlays/src/OverlayController.js +2 -4
- package/components/progress-indicator/src/LionProgressIndicator.js +1 -1
- package/components/progress-indicator/test/lion-progress-indicator.test.js +18 -1
- package/core.js +7 -0
- package/custom-elements.json +421 -379
- package/dialog.js +1 -0
- package/dist-types/components/accordion/src/LionAccordion.d.ts +10 -0
- package/dist-types/components/accordion/src/LionAccordion.d.ts.map +1 -1
- package/dist-types/components/calendar/src/LionCalendar.d.ts.map +1 -1
- package/dist-types/components/calendar/src/utils/createMonth.d.ts.map +1 -1
- package/dist-types/components/form-core/src/form-group/FormGroupMixin.d.ts.map +1 -1
- package/dist-types/components/form-core/src/validate/ValidateMixin.d.ts +1 -0
- package/dist-types/components/form-core/src/validate/ValidateMixin.d.ts.map +1 -1
- package/dist-types/components/form-core/test-suites/form-group/FormGroupMixin.suite.d.ts.map +1 -1
- package/dist-types/components/input-file/src/LionInputFile.d.ts +1 -1
- package/dist-types/components/input-file/src/LionInputFile.d.ts.map +1 -1
- package/dist-types/components/input-file/src/LionSelectedFileList.d.ts +1 -1
- package/dist-types/components/input-file/src/LionSelectedFileList.d.ts.map +1 -1
- package/dist-types/components/input-tel/src/LionInputTel.d.ts +1 -1
- package/dist-types/components/input-tel/src/LionInputTel.d.ts.map +1 -1
- package/dist-types/components/localize/types/LocalizeMixinTypes.d.ts +1 -1
- package/dist-types/components/localize/types/LocalizeMixinTypes.d.ts.map +1 -1
- package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/checkbox-group/overview.md +2 -2
- package/docs/components/collapsible/overview.md +1 -1
- package/docs/components/combobox/overview.md +1 -1
- package/docs/components/combobox/use-cases.md +1 -1
- package/docs/components/dialog/overview.md +1 -1
- package/docs/components/fieldset/overview.md +5 -5
- package/docs/components/form/overview.md +3 -3
- package/docs/components/icon/use-cases.md +1 -1
- package/docs/components/input/overview.md +1 -1
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-file/overview.md +1 -1
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-stepper/overview.md +1 -1
- package/docs/components/input-tel/overview.md +1 -1
- package/docs/components/input-tel/use-cases.md +6 -6
- package/docs/components/input-tel-dropdown/overview.md +1 -1
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select-rich/use-cases.md +1 -1
- package/docs/components/tabs/examples.md +1 -1
- package/docs/fundamentals/index.md +4 -4
- package/docs/fundamentals/node-tools/providence-analytics/LocalConfiguration.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/QueryResult.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/analyzer.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/dashboard.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/overview.md +3 -3
- package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
- package/docs/fundamentals/rationales/accessibility.md +1 -1
- package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
- package/docs/fundamentals/systems/core/overview.md +1 -1
- package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
- package/docs/fundamentals/systems/form/model-value.md +1 -1
- package/docs/fundamentals/systems/form/overview.md +28 -28
- package/docs/fundamentals/systems/form/validate.md +1 -1
- package/docs/fundamentals/systems/localize/overview.md +4 -4
- package/docs/fundamentals/systems/overlays/configuration.md +2 -2
- package/docs/fundamentals/systems/overlays/overview.md +5 -5
- package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
- package/docs/fundamentals/tools/helpers/overview.md +1 -1
- package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
- package/docs/guides/how-to/create-a-custom-field.md +5 -5
- package/docs/guides/how-to/create-a-form.md +4 -4
- package/docs/guides/how-to/extend-a-native-input.md +2 -2
- package/docs/guides/index.md +8 -8
- package/docs/guides/principles/index.md +5 -5
- package/docs/guides/principles/styling.md +1 -1
- package/drawer.js +1 -0
- package/fieldset.js +1 -0
- package/form-core-test-helpers.js +3 -0
- package/form-core-test-suites.js +10 -0
- package/form-core.js +45 -0
- package/form-integrations.js +1 -0
- package/form.js +1 -0
- package/helpers.js +7 -0
- package/icon-no-side-effects.js +1 -0
- package/icon.js +3 -0
- package/input-amount.js +4 -0
- package/input-date.js +1 -0
- package/input-datepicker-test-helpers.js +1 -0
- package/input-datepicker.js +1 -0
- package/input-email.js +1 -0
- package/input-file.js +3 -0
- package/input-iban.js +4 -0
- package/input-range.js +1 -0
- package/input-stepper.js +1 -0
- package/input-tel-dropdown-test-suites.js +1 -0
- package/input-tel-dropdown.js +2 -0
- package/input-tel-test-helpers.js +4 -0
- package/input-tel-test-suites.js +1 -0
- package/input-tel.js +5 -0
- package/input-test-helpers.js +1 -0
- package/input.js +1 -0
- package/listbox-test-helpers.js +1 -0
- package/listbox-test-suites.js +1 -0
- package/listbox.js +4 -0
- package/localize-no-side-effects.js +19 -0
- package/localize-test-helpers.js +7 -0
- package/localize.js +19 -0
- package/overlays-no-side-effects.js +1 -0
- package/overlays-test-helpers.js +1 -0
- package/overlays-test-suites.js +1 -0
- package/overlays.js +17 -0
- package/package.json +7 -3
- package/pagination.js +1 -0
- package/progress-indicator.js +1 -0
- package/radio-group.js +2 -0
- package/select-rich.js +2 -0
- package/select.js +1 -0
- package/steps.js +2 -0
- package/switch.js +2 -0
- package/tabs.js +1 -0
- package/textarea.js +1 -0
- package/tooltip.js +1 -0
- package/validate-messages-no-side-effects.js +1 -0
- package/validate-messages.js +1 -0
package/custom-elements.json
CHANGED
|
@@ -2052,6 +2052,12 @@
|
|
|
2052
2052
|
"declarations": [],
|
|
2053
2053
|
"exports": []
|
|
2054
2054
|
},
|
|
2055
|
+
{
|
|
2056
|
+
"kind": "javascript-module",
|
|
2057
|
+
"path": "scripts/generate-lion-exports.js",
|
|
2058
|
+
"declarations": [],
|
|
2059
|
+
"exports": []
|
|
2060
|
+
},
|
|
2055
2061
|
{
|
|
2056
2062
|
"kind": "javascript-module",
|
|
2057
2063
|
"path": "scripts/types-correct-after-build.js",
|
|
@@ -5258,6 +5264,19 @@
|
|
|
5258
5264
|
],
|
|
5259
5265
|
"privacy": "private"
|
|
5260
5266
|
},
|
|
5267
|
+
{
|
|
5268
|
+
"kind": "method",
|
|
5269
|
+
"name": "__createInvokerFocusHandler",
|
|
5270
|
+
"parameters": [
|
|
5271
|
+
{
|
|
5272
|
+
"name": "index",
|
|
5273
|
+
"type": {
|
|
5274
|
+
"text": "number"
|
|
5275
|
+
}
|
|
5276
|
+
}
|
|
5277
|
+
],
|
|
5278
|
+
"privacy": "private"
|
|
5279
|
+
},
|
|
5261
5280
|
{
|
|
5262
5281
|
"kind": "method",
|
|
5263
5282
|
"name": "__handleInvokerKeydown",
|
|
@@ -5969,6 +5988,207 @@
|
|
|
5969
5988
|
"declarations": [],
|
|
5970
5989
|
"exports": []
|
|
5971
5990
|
},
|
|
5991
|
+
{
|
|
5992
|
+
"kind": "javascript-module",
|
|
5993
|
+
"path": "components/checkbox-group/src/LionCheckbox.js",
|
|
5994
|
+
"declarations": [
|
|
5995
|
+
{
|
|
5996
|
+
"kind": "class",
|
|
5997
|
+
"description": "",
|
|
5998
|
+
"name": "LionCheckbox",
|
|
5999
|
+
"mixins": [
|
|
6000
|
+
{
|
|
6001
|
+
"name": "ChoiceInputMixin",
|
|
6002
|
+
"package": "@lion/ui/form-core.js"
|
|
6003
|
+
}
|
|
6004
|
+
],
|
|
6005
|
+
"superclass": {
|
|
6006
|
+
"name": "LionInput",
|
|
6007
|
+
"package": "@lion/ui/input.js"
|
|
6008
|
+
},
|
|
6009
|
+
"tagName": "lion-checkbox",
|
|
6010
|
+
"customElement": true
|
|
6011
|
+
}
|
|
6012
|
+
],
|
|
6013
|
+
"exports": [
|
|
6014
|
+
{
|
|
6015
|
+
"kind": "js",
|
|
6016
|
+
"name": "LionCheckbox",
|
|
6017
|
+
"declaration": {
|
|
6018
|
+
"name": "LionCheckbox",
|
|
6019
|
+
"module": "components/checkbox-group/src/LionCheckbox.js"
|
|
6020
|
+
}
|
|
6021
|
+
}
|
|
6022
|
+
]
|
|
6023
|
+
},
|
|
6024
|
+
{
|
|
6025
|
+
"kind": "javascript-module",
|
|
6026
|
+
"path": "components/checkbox-group/src/LionCheckboxGroup.js",
|
|
6027
|
+
"declarations": [
|
|
6028
|
+
{
|
|
6029
|
+
"kind": "class",
|
|
6030
|
+
"description": "A wrapper around multiple checkboxes",
|
|
6031
|
+
"name": "LionCheckboxGroup",
|
|
6032
|
+
"members": [
|
|
6033
|
+
{
|
|
6034
|
+
"kind": "field",
|
|
6035
|
+
"name": "multipleChoice",
|
|
6036
|
+
"type": {
|
|
6037
|
+
"text": "boolean"
|
|
6038
|
+
},
|
|
6039
|
+
"default": "true"
|
|
6040
|
+
}
|
|
6041
|
+
],
|
|
6042
|
+
"mixins": [
|
|
6043
|
+
{
|
|
6044
|
+
"name": "ChoiceGroupMixin",
|
|
6045
|
+
"package": "@lion/ui/form-core.js"
|
|
6046
|
+
},
|
|
6047
|
+
{
|
|
6048
|
+
"name": "FormGroupMixin",
|
|
6049
|
+
"package": "@lion/ui/form-core.js"
|
|
6050
|
+
}
|
|
6051
|
+
],
|
|
6052
|
+
"superclass": {
|
|
6053
|
+
"name": "LitElement",
|
|
6054
|
+
"package": "lit"
|
|
6055
|
+
},
|
|
6056
|
+
"tagName": "lion-checkbox-group",
|
|
6057
|
+
"customElement": true
|
|
6058
|
+
}
|
|
6059
|
+
],
|
|
6060
|
+
"exports": [
|
|
6061
|
+
{
|
|
6062
|
+
"kind": "js",
|
|
6063
|
+
"name": "LionCheckboxGroup",
|
|
6064
|
+
"declaration": {
|
|
6065
|
+
"name": "LionCheckboxGroup",
|
|
6066
|
+
"module": "components/checkbox-group/src/LionCheckboxGroup.js"
|
|
6067
|
+
}
|
|
6068
|
+
}
|
|
6069
|
+
]
|
|
6070
|
+
},
|
|
6071
|
+
{
|
|
6072
|
+
"kind": "javascript-module",
|
|
6073
|
+
"path": "components/checkbox-group/src/LionCheckboxIndeterminate.js",
|
|
6074
|
+
"declarations": [
|
|
6075
|
+
{
|
|
6076
|
+
"kind": "class",
|
|
6077
|
+
"description": "",
|
|
6078
|
+
"name": "LionCheckboxIndeterminate",
|
|
6079
|
+
"members": [
|
|
6080
|
+
{
|
|
6081
|
+
"kind": "field",
|
|
6082
|
+
"name": "_checkboxGroupNode",
|
|
6083
|
+
"privacy": "protected"
|
|
6084
|
+
},
|
|
6085
|
+
{
|
|
6086
|
+
"kind": "field",
|
|
6087
|
+
"name": "_subCheckboxes",
|
|
6088
|
+
"privacy": "protected"
|
|
6089
|
+
},
|
|
6090
|
+
{
|
|
6091
|
+
"kind": "method",
|
|
6092
|
+
"name": "_storeIndeterminateState"
|
|
6093
|
+
},
|
|
6094
|
+
{
|
|
6095
|
+
"kind": "method",
|
|
6096
|
+
"name": "_setOldState"
|
|
6097
|
+
},
|
|
6098
|
+
{
|
|
6099
|
+
"kind": "method",
|
|
6100
|
+
"name": "_setOwnCheckedState",
|
|
6101
|
+
"privacy": "protected"
|
|
6102
|
+
},
|
|
6103
|
+
{
|
|
6104
|
+
"kind": "method",
|
|
6105
|
+
"name": "_setBasedOnMixedState"
|
|
6106
|
+
},
|
|
6107
|
+
{
|
|
6108
|
+
"kind": "method",
|
|
6109
|
+
"name": "__onModelValueChanged",
|
|
6110
|
+
"parameters": [
|
|
6111
|
+
{
|
|
6112
|
+
"name": "ev",
|
|
6113
|
+
"type": {
|
|
6114
|
+
"text": "Event"
|
|
6115
|
+
}
|
|
6116
|
+
}
|
|
6117
|
+
],
|
|
6118
|
+
"privacy": "private"
|
|
6119
|
+
},
|
|
6120
|
+
{
|
|
6121
|
+
"kind": "method",
|
|
6122
|
+
"name": "_afterTemplate",
|
|
6123
|
+
"privacy": "protected"
|
|
6124
|
+
},
|
|
6125
|
+
{
|
|
6126
|
+
"kind": "method",
|
|
6127
|
+
"name": "_onRequestToAddFormElement",
|
|
6128
|
+
"privacy": "protected"
|
|
6129
|
+
},
|
|
6130
|
+
{
|
|
6131
|
+
"kind": "field",
|
|
6132
|
+
"name": "indeterminate",
|
|
6133
|
+
"type": {
|
|
6134
|
+
"text": "boolean"
|
|
6135
|
+
},
|
|
6136
|
+
"default": "false",
|
|
6137
|
+
"privacy": "public",
|
|
6138
|
+
"description": "Indeterminate state of the checkbox",
|
|
6139
|
+
"attribute": "indeterminate",
|
|
6140
|
+
"reflects": true
|
|
6141
|
+
},
|
|
6142
|
+
{
|
|
6143
|
+
"kind": "field",
|
|
6144
|
+
"name": "_indeterminateSubStates",
|
|
6145
|
+
"type": {
|
|
6146
|
+
"text": "boolean[]"
|
|
6147
|
+
},
|
|
6148
|
+
"default": "[]"
|
|
6149
|
+
},
|
|
6150
|
+
{
|
|
6151
|
+
"kind": "field",
|
|
6152
|
+
"name": "mixedState",
|
|
6153
|
+
"type": {
|
|
6154
|
+
"text": "boolean"
|
|
6155
|
+
},
|
|
6156
|
+
"default": "false",
|
|
6157
|
+
"privacy": "public",
|
|
6158
|
+
"attribute": "mixed-state",
|
|
6159
|
+
"reflects": true
|
|
6160
|
+
}
|
|
6161
|
+
],
|
|
6162
|
+
"attributes": [
|
|
6163
|
+
{
|
|
6164
|
+
"name": "indeterminate",
|
|
6165
|
+
"description": "Indeterminate state of the checkbox",
|
|
6166
|
+
"fieldName": "indeterminate"
|
|
6167
|
+
},
|
|
6168
|
+
{
|
|
6169
|
+
"name": "mixed-state",
|
|
6170
|
+
"fieldName": "mixedState"
|
|
6171
|
+
}
|
|
6172
|
+
],
|
|
6173
|
+
"superclass": {
|
|
6174
|
+
"name": "LionCheckbox",
|
|
6175
|
+
"module": "/components/checkbox-group/src/LionCheckbox.js"
|
|
6176
|
+
},
|
|
6177
|
+
"tagName": "lion-checkbox-indeterminate",
|
|
6178
|
+
"customElement": true
|
|
6179
|
+
}
|
|
6180
|
+
],
|
|
6181
|
+
"exports": [
|
|
6182
|
+
{
|
|
6183
|
+
"kind": "js",
|
|
6184
|
+
"name": "LionCheckboxIndeterminate",
|
|
6185
|
+
"declaration": {
|
|
6186
|
+
"name": "LionCheckboxIndeterminate",
|
|
6187
|
+
"module": "components/checkbox-group/src/LionCheckboxIndeterminate.js"
|
|
6188
|
+
}
|
|
6189
|
+
}
|
|
6190
|
+
]
|
|
6191
|
+
},
|
|
5972
6192
|
{
|
|
5973
6193
|
"kind": "javascript-module",
|
|
5974
6194
|
"path": "components/calendar/src/LionCalendar.js",
|
|
@@ -7134,207 +7354,6 @@
|
|
|
7134
7354
|
"declarations": [],
|
|
7135
7355
|
"exports": []
|
|
7136
7356
|
},
|
|
7137
|
-
{
|
|
7138
|
-
"kind": "javascript-module",
|
|
7139
|
-
"path": "components/checkbox-group/src/LionCheckbox.js",
|
|
7140
|
-
"declarations": [
|
|
7141
|
-
{
|
|
7142
|
-
"kind": "class",
|
|
7143
|
-
"description": "",
|
|
7144
|
-
"name": "LionCheckbox",
|
|
7145
|
-
"mixins": [
|
|
7146
|
-
{
|
|
7147
|
-
"name": "ChoiceInputMixin",
|
|
7148
|
-
"package": "@lion/ui/form-core.js"
|
|
7149
|
-
}
|
|
7150
|
-
],
|
|
7151
|
-
"superclass": {
|
|
7152
|
-
"name": "LionInput",
|
|
7153
|
-
"package": "@lion/ui/input.js"
|
|
7154
|
-
},
|
|
7155
|
-
"tagName": "lion-checkbox",
|
|
7156
|
-
"customElement": true
|
|
7157
|
-
}
|
|
7158
|
-
],
|
|
7159
|
-
"exports": [
|
|
7160
|
-
{
|
|
7161
|
-
"kind": "js",
|
|
7162
|
-
"name": "LionCheckbox",
|
|
7163
|
-
"declaration": {
|
|
7164
|
-
"name": "LionCheckbox",
|
|
7165
|
-
"module": "components/checkbox-group/src/LionCheckbox.js"
|
|
7166
|
-
}
|
|
7167
|
-
}
|
|
7168
|
-
]
|
|
7169
|
-
},
|
|
7170
|
-
{
|
|
7171
|
-
"kind": "javascript-module",
|
|
7172
|
-
"path": "components/checkbox-group/src/LionCheckboxGroup.js",
|
|
7173
|
-
"declarations": [
|
|
7174
|
-
{
|
|
7175
|
-
"kind": "class",
|
|
7176
|
-
"description": "A wrapper around multiple checkboxes",
|
|
7177
|
-
"name": "LionCheckboxGroup",
|
|
7178
|
-
"members": [
|
|
7179
|
-
{
|
|
7180
|
-
"kind": "field",
|
|
7181
|
-
"name": "multipleChoice",
|
|
7182
|
-
"type": {
|
|
7183
|
-
"text": "boolean"
|
|
7184
|
-
},
|
|
7185
|
-
"default": "true"
|
|
7186
|
-
}
|
|
7187
|
-
],
|
|
7188
|
-
"mixins": [
|
|
7189
|
-
{
|
|
7190
|
-
"name": "ChoiceGroupMixin",
|
|
7191
|
-
"package": "@lion/ui/form-core.js"
|
|
7192
|
-
},
|
|
7193
|
-
{
|
|
7194
|
-
"name": "FormGroupMixin",
|
|
7195
|
-
"package": "@lion/ui/form-core.js"
|
|
7196
|
-
}
|
|
7197
|
-
],
|
|
7198
|
-
"superclass": {
|
|
7199
|
-
"name": "LitElement",
|
|
7200
|
-
"package": "lit"
|
|
7201
|
-
},
|
|
7202
|
-
"tagName": "lion-checkbox-group",
|
|
7203
|
-
"customElement": true
|
|
7204
|
-
}
|
|
7205
|
-
],
|
|
7206
|
-
"exports": [
|
|
7207
|
-
{
|
|
7208
|
-
"kind": "js",
|
|
7209
|
-
"name": "LionCheckboxGroup",
|
|
7210
|
-
"declaration": {
|
|
7211
|
-
"name": "LionCheckboxGroup",
|
|
7212
|
-
"module": "components/checkbox-group/src/LionCheckboxGroup.js"
|
|
7213
|
-
}
|
|
7214
|
-
}
|
|
7215
|
-
]
|
|
7216
|
-
},
|
|
7217
|
-
{
|
|
7218
|
-
"kind": "javascript-module",
|
|
7219
|
-
"path": "components/checkbox-group/src/LionCheckboxIndeterminate.js",
|
|
7220
|
-
"declarations": [
|
|
7221
|
-
{
|
|
7222
|
-
"kind": "class",
|
|
7223
|
-
"description": "",
|
|
7224
|
-
"name": "LionCheckboxIndeterminate",
|
|
7225
|
-
"members": [
|
|
7226
|
-
{
|
|
7227
|
-
"kind": "field",
|
|
7228
|
-
"name": "_checkboxGroupNode",
|
|
7229
|
-
"privacy": "protected"
|
|
7230
|
-
},
|
|
7231
|
-
{
|
|
7232
|
-
"kind": "field",
|
|
7233
|
-
"name": "_subCheckboxes",
|
|
7234
|
-
"privacy": "protected"
|
|
7235
|
-
},
|
|
7236
|
-
{
|
|
7237
|
-
"kind": "method",
|
|
7238
|
-
"name": "_storeIndeterminateState"
|
|
7239
|
-
},
|
|
7240
|
-
{
|
|
7241
|
-
"kind": "method",
|
|
7242
|
-
"name": "_setOldState"
|
|
7243
|
-
},
|
|
7244
|
-
{
|
|
7245
|
-
"kind": "method",
|
|
7246
|
-
"name": "_setOwnCheckedState",
|
|
7247
|
-
"privacy": "protected"
|
|
7248
|
-
},
|
|
7249
|
-
{
|
|
7250
|
-
"kind": "method",
|
|
7251
|
-
"name": "_setBasedOnMixedState"
|
|
7252
|
-
},
|
|
7253
|
-
{
|
|
7254
|
-
"kind": "method",
|
|
7255
|
-
"name": "__onModelValueChanged",
|
|
7256
|
-
"parameters": [
|
|
7257
|
-
{
|
|
7258
|
-
"name": "ev",
|
|
7259
|
-
"type": {
|
|
7260
|
-
"text": "Event"
|
|
7261
|
-
}
|
|
7262
|
-
}
|
|
7263
|
-
],
|
|
7264
|
-
"privacy": "private"
|
|
7265
|
-
},
|
|
7266
|
-
{
|
|
7267
|
-
"kind": "method",
|
|
7268
|
-
"name": "_afterTemplate",
|
|
7269
|
-
"privacy": "protected"
|
|
7270
|
-
},
|
|
7271
|
-
{
|
|
7272
|
-
"kind": "method",
|
|
7273
|
-
"name": "_onRequestToAddFormElement",
|
|
7274
|
-
"privacy": "protected"
|
|
7275
|
-
},
|
|
7276
|
-
{
|
|
7277
|
-
"kind": "field",
|
|
7278
|
-
"name": "indeterminate",
|
|
7279
|
-
"type": {
|
|
7280
|
-
"text": "boolean"
|
|
7281
|
-
},
|
|
7282
|
-
"default": "false",
|
|
7283
|
-
"privacy": "public",
|
|
7284
|
-
"description": "Indeterminate state of the checkbox",
|
|
7285
|
-
"attribute": "indeterminate",
|
|
7286
|
-
"reflects": true
|
|
7287
|
-
},
|
|
7288
|
-
{
|
|
7289
|
-
"kind": "field",
|
|
7290
|
-
"name": "_indeterminateSubStates",
|
|
7291
|
-
"type": {
|
|
7292
|
-
"text": "boolean[]"
|
|
7293
|
-
},
|
|
7294
|
-
"default": "[]"
|
|
7295
|
-
},
|
|
7296
|
-
{
|
|
7297
|
-
"kind": "field",
|
|
7298
|
-
"name": "mixedState",
|
|
7299
|
-
"type": {
|
|
7300
|
-
"text": "boolean"
|
|
7301
|
-
},
|
|
7302
|
-
"default": "false",
|
|
7303
|
-
"privacy": "public",
|
|
7304
|
-
"attribute": "mixed-state",
|
|
7305
|
-
"reflects": true
|
|
7306
|
-
}
|
|
7307
|
-
],
|
|
7308
|
-
"attributes": [
|
|
7309
|
-
{
|
|
7310
|
-
"name": "indeterminate",
|
|
7311
|
-
"description": "Indeterminate state of the checkbox",
|
|
7312
|
-
"fieldName": "indeterminate"
|
|
7313
|
-
},
|
|
7314
|
-
{
|
|
7315
|
-
"name": "mixed-state",
|
|
7316
|
-
"fieldName": "mixedState"
|
|
7317
|
-
}
|
|
7318
|
-
],
|
|
7319
|
-
"superclass": {
|
|
7320
|
-
"name": "LionCheckbox",
|
|
7321
|
-
"module": "/components/checkbox-group/src/LionCheckbox.js"
|
|
7322
|
-
},
|
|
7323
|
-
"tagName": "lion-checkbox-indeterminate",
|
|
7324
|
-
"customElement": true
|
|
7325
|
-
}
|
|
7326
|
-
],
|
|
7327
|
-
"exports": [
|
|
7328
|
-
{
|
|
7329
|
-
"kind": "js",
|
|
7330
|
-
"name": "LionCheckboxIndeterminate",
|
|
7331
|
-
"declaration": {
|
|
7332
|
-
"name": "LionCheckboxIndeterminate",
|
|
7333
|
-
"module": "components/checkbox-group/src/LionCheckboxIndeterminate.js"
|
|
7334
|
-
}
|
|
7335
|
-
}
|
|
7336
|
-
]
|
|
7337
|
-
},
|
|
7338
7357
|
{
|
|
7339
7358
|
"kind": "javascript-module",
|
|
7340
7359
|
"path": "components/collapsible/src/LionCollapsible.js",
|
|
@@ -11716,7 +11735,9 @@
|
|
|
11716
11735
|
"inheritedFrom": {
|
|
11717
11736
|
"name": "SlotMixin",
|
|
11718
11737
|
"module": "components/core/src/SlotMixin.js"
|
|
11719
|
-
}
|
|
11738
|
+
},
|
|
11739
|
+
"description": "Adds \"._feedbackNode\" as described below",
|
|
11740
|
+
"privacy": "public"
|
|
11720
11741
|
},
|
|
11721
11742
|
{
|
|
11722
11743
|
"kind": "field",
|
|
@@ -11776,7 +11797,7 @@
|
|
|
11776
11797
|
"name": "validate",
|
|
11777
11798
|
"parameters": [
|
|
11778
11799
|
{
|
|
11779
|
-
"name": "{ clearCurrentResult }",
|
|
11800
|
+
"name": "{ clearCurrentResult = false }",
|
|
11780
11801
|
"default": "{}"
|
|
11781
11802
|
},
|
|
11782
11803
|
{
|
|
@@ -11786,7 +11807,7 @@
|
|
|
11786
11807
|
}
|
|
11787
11808
|
}
|
|
11788
11809
|
],
|
|
11789
|
-
"description": "Triggered by:\n - modelValue change\n - change in the 'validators' array\n - change in the config of an individual Validator\n\nThree situations are handled:\n- a1) the FormControl is empty: further execution is halted. When the Required Validator\n(being mutually exclusive to the other Validators) is applied, it will end up in the\nvalidation result (as the only Validator, since further execution was halted).\n- a2) there are synchronous Validators: this is the most common flow. When modelValue hasn't\nchanged since last async results were generated, 'sync results' are merged with the\n'async results'.\n- a3) there are asynchronous Validators: for instance when server side evaluation is needed.\nExecutions are scheduled and awaited and the 'async results' are merged with the\n'sync results'.\n\n- b) there are
|
|
11810
|
+
"description": "Triggered by:\n - modelValue change\n - change in the 'validators' array\n - change in the config of an individual Validator\n\nThree situations are handled:\n- a1) the FormControl is empty: further execution is halted. When the Required Validator\n(being mutually exclusive to the other Validators) is applied, it will end up in the\nvalidation result (as the only Validator, since further execution was halted).\n- a2) there are synchronous Validators: this is the most common flow. When modelValue hasn't\nchanged since last async results were generated, 'sync results' are merged with the\n'async results'.\n- a3) there are asynchronous Validators: for instance when server side evaluation is needed.\nExecutions are scheduled and awaited and the 'async results' are merged with the\n'sync results'.\n\n- b) there are MetaValidators. After steps a1, a2, or a3 are finished, the holistic\nMetaValidators (evaluating the total result of the 'regular' (a1, a2 and a3) validators)\nwill be run...\n\nSituations a2 and a3 are not mutually exclusive and can be triggered within one `validate()`\ncall. Situation b will occur after every call.",
|
|
11790
11811
|
"inheritedFrom": {
|
|
11791
11812
|
"name": "ValidateMixin",
|
|
11792
11813
|
"module": "components/form-core/src/validate/ValidateMixin.js"
|
|
@@ -11815,18 +11836,9 @@
|
|
|
11815
11836
|
"type": {
|
|
11816
11837
|
"text": "unknown"
|
|
11817
11838
|
}
|
|
11818
|
-
},
|
|
11819
|
-
{
|
|
11820
|
-
"name": "{ hasAsync }"
|
|
11821
|
-
},
|
|
11822
|
-
{
|
|
11823
|
-
"name": "opts",
|
|
11824
|
-
"type": {
|
|
11825
|
-
"text": "{ hasAsync: boolean }"
|
|
11826
|
-
}
|
|
11827
11839
|
}
|
|
11828
11840
|
],
|
|
11829
|
-
"description": "step a2 (as explained in `validate()`): calls `
|
|
11841
|
+
"description": "step a2 (as explained in `validate()`): calls `__finishValidationPass`",
|
|
11830
11842
|
"privacy": "private",
|
|
11831
11843
|
"inheritedFrom": {
|
|
11832
11844
|
"name": "ValidateMixin",
|
|
@@ -11839,7 +11851,7 @@
|
|
|
11839
11851
|
"parameters": [
|
|
11840
11852
|
{
|
|
11841
11853
|
"name": "asyncValidators",
|
|
11842
|
-
"description": "all Validators except required and
|
|
11854
|
+
"description": "all Validators except required and MetaValidators",
|
|
11843
11855
|
"type": {
|
|
11844
11856
|
"text": "Validator[]"
|
|
11845
11857
|
}
|
|
@@ -11851,7 +11863,7 @@
|
|
|
11851
11863
|
}
|
|
11852
11864
|
}
|
|
11853
11865
|
],
|
|
11854
|
-
"description": "step a3 (as explained in `validate()`), calls
|
|
11866
|
+
"description": "step a3 (as explained in `validate()`), calls __finishValidationPass",
|
|
11855
11867
|
"privacy": "private",
|
|
11856
11868
|
"inheritedFrom": {
|
|
11857
11869
|
"name": "ValidateMixin",
|
|
@@ -11860,7 +11872,7 @@
|
|
|
11860
11872
|
},
|
|
11861
11873
|
{
|
|
11862
11874
|
"kind": "method",
|
|
11863
|
-
"name": "
|
|
11875
|
+
"name": "__executeMetaValidators",
|
|
11864
11876
|
"parameters": [
|
|
11865
11877
|
{
|
|
11866
11878
|
"name": "regularValidationResult",
|
|
@@ -11868,9 +11880,15 @@
|
|
|
11868
11880
|
"type": {
|
|
11869
11881
|
"text": "{validator: Validator;outcome: boolean | string;}[]"
|
|
11870
11882
|
}
|
|
11883
|
+
},
|
|
11884
|
+
{
|
|
11885
|
+
"name": "metaValidators",
|
|
11886
|
+
"type": {
|
|
11887
|
+
"text": "MetaValidator[]"
|
|
11888
|
+
}
|
|
11871
11889
|
}
|
|
11872
11890
|
],
|
|
11873
|
-
"description": "step b (as explained in `validate()`), called by
|
|
11891
|
+
"description": "step b (as explained in `validate()`), called by __finishValidationPass",
|
|
11874
11892
|
"privacy": "private",
|
|
11875
11893
|
"inheritedFrom": {
|
|
11876
11894
|
"name": "ValidateMixin",
|
|
@@ -11879,18 +11897,20 @@
|
|
|
11879
11897
|
},
|
|
11880
11898
|
{
|
|
11881
11899
|
"kind": "method",
|
|
11882
|
-
"name": "
|
|
11900
|
+
"name": "__finishValidationPass",
|
|
11883
11901
|
"parameters": [
|
|
11884
11902
|
{
|
|
11885
|
-
"name": "{
|
|
11903
|
+
"name": "{\n syncValidationResult = [],\n asyncValidationResult = [],\n metaValidators = [],\n }",
|
|
11904
|
+
"default": "{}"
|
|
11886
11905
|
},
|
|
11887
11906
|
{
|
|
11888
11907
|
"name": "options",
|
|
11889
11908
|
"type": {
|
|
11890
|
-
"text": "@param {
|
|
11909
|
+
"text": "@param {ValidationResultEntry[]} [options.syncValidationResult]\n * @param {ValidationResultEntry[]} [options.asyncValidationResult]\n * @param {MetaValidator[]} [options.metaValidators] MetaValidators to be executed\n * "
|
|
11891
11910
|
}
|
|
11892
11911
|
}
|
|
11893
11912
|
],
|
|
11913
|
+
"description": "A 'pass' is a single run of the validation process, which will be triggered in these cases:\n- on clear or disable\n- on sync validation\n- on async validation (can depend on server response)\n\nThis method inishes a pass by adding the properties to the instance:\n- validationStates\n- hasFeedbackFor\n\nIt sends a private event validate-performed, which is received by parent Formgroups.",
|
|
11894
11914
|
"privacy": "private",
|
|
11895
11915
|
"inheritedFrom": {
|
|
11896
11916
|
"name": "ValidateMixin",
|
|
@@ -12264,7 +12284,7 @@
|
|
|
12264
12284
|
"type": {
|
|
12265
12285
|
"text": "ValidationResultEntry[]"
|
|
12266
12286
|
},
|
|
12267
|
-
"description": "Aggregated result from sync Validators, async Validators and
|
|
12287
|
+
"description": "Aggregated result from sync Validators, async Validators and MetaValidators",
|
|
12268
12288
|
"privacy": "private",
|
|
12269
12289
|
"default": "[]",
|
|
12270
12290
|
"inheritedFrom": {
|
|
@@ -12291,6 +12311,7 @@
|
|
|
12291
12311
|
"type": {
|
|
12292
12312
|
"text": "ValidationResultEntry[]"
|
|
12293
12313
|
},
|
|
12314
|
+
"description": "The shown validation result depends on the visibility of the feedback messages",
|
|
12294
12315
|
"privacy": "private",
|
|
12295
12316
|
"default": "[]",
|
|
12296
12317
|
"inheritedFrom": {
|
|
@@ -15361,7 +15382,9 @@
|
|
|
15361
15382
|
"inheritedFrom": {
|
|
15362
15383
|
"name": "SlotMixin",
|
|
15363
15384
|
"module": "components/core/src/SlotMixin.js"
|
|
15364
|
-
}
|
|
15385
|
+
},
|
|
15386
|
+
"description": "Adds \"._feedbackNode\" as described below",
|
|
15387
|
+
"privacy": "public"
|
|
15365
15388
|
},
|
|
15366
15389
|
{
|
|
15367
15390
|
"kind": "field",
|
|
@@ -15421,7 +15444,7 @@
|
|
|
15421
15444
|
"name": "validate",
|
|
15422
15445
|
"parameters": [
|
|
15423
15446
|
{
|
|
15424
|
-
"name": "{ clearCurrentResult }",
|
|
15447
|
+
"name": "{ clearCurrentResult = false }",
|
|
15425
15448
|
"default": "{}"
|
|
15426
15449
|
},
|
|
15427
15450
|
{
|
|
@@ -15431,7 +15454,7 @@
|
|
|
15431
15454
|
}
|
|
15432
15455
|
}
|
|
15433
15456
|
],
|
|
15434
|
-
"description": "Triggered by:\n - modelValue change\n - change in the 'validators' array\n - change in the config of an individual Validator\n\nThree situations are handled:\n- a1) the FormControl is empty: further execution is halted. When the Required Validator\n(being mutually exclusive to the other Validators) is applied, it will end up in the\nvalidation result (as the only Validator, since further execution was halted).\n- a2) there are synchronous Validators: this is the most common flow. When modelValue hasn't\nchanged since last async results were generated, 'sync results' are merged with the\n'async results'.\n- a3) there are asynchronous Validators: for instance when server side evaluation is needed.\nExecutions are scheduled and awaited and the 'async results' are merged with the\n'sync results'.\n\n- b) there are
|
|
15457
|
+
"description": "Triggered by:\n - modelValue change\n - change in the 'validators' array\n - change in the config of an individual Validator\n\nThree situations are handled:\n- a1) the FormControl is empty: further execution is halted. When the Required Validator\n(being mutually exclusive to the other Validators) is applied, it will end up in the\nvalidation result (as the only Validator, since further execution was halted).\n- a2) there are synchronous Validators: this is the most common flow. When modelValue hasn't\nchanged since last async results were generated, 'sync results' are merged with the\n'async results'.\n- a3) there are asynchronous Validators: for instance when server side evaluation is needed.\nExecutions are scheduled and awaited and the 'async results' are merged with the\n'sync results'.\n\n- b) there are MetaValidators. After steps a1, a2, or a3 are finished, the holistic\nMetaValidators (evaluating the total result of the 'regular' (a1, a2 and a3) validators)\nwill be run...\n\nSituations a2 and a3 are not mutually exclusive and can be triggered within one `validate()`\ncall. Situation b will occur after every call.",
|
|
15435
15458
|
"inheritedFrom": {
|
|
15436
15459
|
"name": "ValidateMixin",
|
|
15437
15460
|
"module": "components/form-core/src/validate/ValidateMixin.js"
|
|
@@ -15460,18 +15483,9 @@
|
|
|
15460
15483
|
"type": {
|
|
15461
15484
|
"text": "unknown"
|
|
15462
15485
|
}
|
|
15463
|
-
},
|
|
15464
|
-
{
|
|
15465
|
-
"name": "{ hasAsync }"
|
|
15466
|
-
},
|
|
15467
|
-
{
|
|
15468
|
-
"name": "opts",
|
|
15469
|
-
"type": {
|
|
15470
|
-
"text": "{ hasAsync: boolean }"
|
|
15471
|
-
}
|
|
15472
15486
|
}
|
|
15473
15487
|
],
|
|
15474
|
-
"description": "step a2 (as explained in `validate()`): calls `
|
|
15488
|
+
"description": "step a2 (as explained in `validate()`): calls `__finishValidationPass`",
|
|
15475
15489
|
"privacy": "private",
|
|
15476
15490
|
"inheritedFrom": {
|
|
15477
15491
|
"name": "ValidateMixin",
|
|
@@ -15484,7 +15498,7 @@
|
|
|
15484
15498
|
"parameters": [
|
|
15485
15499
|
{
|
|
15486
15500
|
"name": "asyncValidators",
|
|
15487
|
-
"description": "all Validators except required and
|
|
15501
|
+
"description": "all Validators except required and MetaValidators",
|
|
15488
15502
|
"type": {
|
|
15489
15503
|
"text": "Validator[]"
|
|
15490
15504
|
}
|
|
@@ -15496,7 +15510,7 @@
|
|
|
15496
15510
|
}
|
|
15497
15511
|
}
|
|
15498
15512
|
],
|
|
15499
|
-
"description": "step a3 (as explained in `validate()`), calls
|
|
15513
|
+
"description": "step a3 (as explained in `validate()`), calls __finishValidationPass",
|
|
15500
15514
|
"privacy": "private",
|
|
15501
15515
|
"inheritedFrom": {
|
|
15502
15516
|
"name": "ValidateMixin",
|
|
@@ -15505,7 +15519,7 @@
|
|
|
15505
15519
|
},
|
|
15506
15520
|
{
|
|
15507
15521
|
"kind": "method",
|
|
15508
|
-
"name": "
|
|
15522
|
+
"name": "__executeMetaValidators",
|
|
15509
15523
|
"parameters": [
|
|
15510
15524
|
{
|
|
15511
15525
|
"name": "regularValidationResult",
|
|
@@ -15513,9 +15527,15 @@
|
|
|
15513
15527
|
"type": {
|
|
15514
15528
|
"text": "{validator: Validator;outcome: boolean | string;}[]"
|
|
15515
15529
|
}
|
|
15530
|
+
},
|
|
15531
|
+
{
|
|
15532
|
+
"name": "metaValidators",
|
|
15533
|
+
"type": {
|
|
15534
|
+
"text": "MetaValidator[]"
|
|
15535
|
+
}
|
|
15516
15536
|
}
|
|
15517
15537
|
],
|
|
15518
|
-
"description": "step b (as explained in `validate()`), called by
|
|
15538
|
+
"description": "step b (as explained in `validate()`), called by __finishValidationPass",
|
|
15519
15539
|
"privacy": "private",
|
|
15520
15540
|
"inheritedFrom": {
|
|
15521
15541
|
"name": "ValidateMixin",
|
|
@@ -15524,18 +15544,20 @@
|
|
|
15524
15544
|
},
|
|
15525
15545
|
{
|
|
15526
15546
|
"kind": "method",
|
|
15527
|
-
"name": "
|
|
15547
|
+
"name": "__finishValidationPass",
|
|
15528
15548
|
"parameters": [
|
|
15529
15549
|
{
|
|
15530
|
-
"name": "{
|
|
15550
|
+
"name": "{\n syncValidationResult = [],\n asyncValidationResult = [],\n metaValidators = [],\n }",
|
|
15551
|
+
"default": "{}"
|
|
15531
15552
|
},
|
|
15532
15553
|
{
|
|
15533
15554
|
"name": "options",
|
|
15534
15555
|
"type": {
|
|
15535
|
-
"text": "@param {
|
|
15556
|
+
"text": "@param {ValidationResultEntry[]} [options.syncValidationResult]\n * @param {ValidationResultEntry[]} [options.asyncValidationResult]\n * @param {MetaValidator[]} [options.metaValidators] MetaValidators to be executed\n * "
|
|
15536
15557
|
}
|
|
15537
15558
|
}
|
|
15538
15559
|
],
|
|
15560
|
+
"description": "A 'pass' is a single run of the validation process, which will be triggered in these cases:\n- on clear or disable\n- on sync validation\n- on async validation (can depend on server response)\n\nThis method inishes a pass by adding the properties to the instance:\n- validationStates\n- hasFeedbackFor\n\nIt sends a private event validate-performed, which is received by parent Formgroups.",
|
|
15539
15561
|
"privacy": "private",
|
|
15540
15562
|
"inheritedFrom": {
|
|
15541
15563
|
"name": "ValidateMixin",
|
|
@@ -15909,7 +15931,7 @@
|
|
|
15909
15931
|
"type": {
|
|
15910
15932
|
"text": "ValidationResultEntry[]"
|
|
15911
15933
|
},
|
|
15912
|
-
"description": "Aggregated result from sync Validators, async Validators and
|
|
15934
|
+
"description": "Aggregated result from sync Validators, async Validators and MetaValidators",
|
|
15913
15935
|
"privacy": "private",
|
|
15914
15936
|
"default": "[]",
|
|
15915
15937
|
"inheritedFrom": {
|
|
@@ -15936,6 +15958,7 @@
|
|
|
15936
15958
|
"type": {
|
|
15937
15959
|
"text": "ValidationResultEntry[]"
|
|
15938
15960
|
},
|
|
15961
|
+
"description": "The shown validation result depends on the visibility of the feedback messages",
|
|
15939
15962
|
"privacy": "private",
|
|
15940
15963
|
"default": "[]",
|
|
15941
15964
|
"inheritedFrom": {
|
|
@@ -26848,7 +26871,7 @@
|
|
|
26848
26871
|
"kind": "field",
|
|
26849
26872
|
"name": "localizeNamespaces",
|
|
26850
26873
|
"type": {
|
|
26851
|
-
"text": "import(\"../../localize/types/LocalizeMixinTypes.js\").
|
|
26874
|
+
"text": "import(\"../../localize/types/LocalizeMixinTypes.js\").NamespaceObject[]"
|
|
26852
26875
|
},
|
|
26853
26876
|
"static": true,
|
|
26854
26877
|
"inheritedFrom": {
|
|
@@ -31175,7 +31198,7 @@
|
|
|
31175
31198
|
"kind": "field",
|
|
31176
31199
|
"name": "localizeNamespaces",
|
|
31177
31200
|
"type": {
|
|
31178
|
-
"text": "
|
|
31201
|
+
"text": "NamespaceObject[]"
|
|
31179
31202
|
},
|
|
31180
31203
|
"static": true
|
|
31181
31204
|
},
|
|
@@ -40605,7 +40628,9 @@
|
|
|
40605
40628
|
"inheritedFrom": {
|
|
40606
40629
|
"name": "FormControlMixin",
|
|
40607
40630
|
"module": "components/form-core/src/FormControlMixin.js"
|
|
40608
|
-
}
|
|
40631
|
+
},
|
|
40632
|
+
"description": "Adds \"._feedbackNode\" as described below",
|
|
40633
|
+
"privacy": "public"
|
|
40609
40634
|
},
|
|
40610
40635
|
{
|
|
40611
40636
|
"kind": "field",
|
|
@@ -40648,7 +40673,7 @@
|
|
|
40648
40673
|
"name": "validate",
|
|
40649
40674
|
"parameters": [
|
|
40650
40675
|
{
|
|
40651
|
-
"name": "{ clearCurrentResult }",
|
|
40676
|
+
"name": "{ clearCurrentResult = false }",
|
|
40652
40677
|
"default": "{}"
|
|
40653
40678
|
},
|
|
40654
40679
|
{
|
|
@@ -40658,7 +40683,7 @@
|
|
|
40658
40683
|
}
|
|
40659
40684
|
}
|
|
40660
40685
|
],
|
|
40661
|
-
"description": "Triggered by:\n - modelValue change\n - change in the 'validators' array\n - change in the config of an individual Validator\n\nThree situations are handled:\n- a1) the FormControl is empty: further execution is halted. When the Required Validator\n(being mutually exclusive to the other Validators) is applied, it will end up in the\nvalidation result (as the only Validator, since further execution was halted).\n- a2) there are synchronous Validators: this is the most common flow. When modelValue hasn't\nchanged since last async results were generated, 'sync results' are merged with the\n'async results'.\n- a3) there are asynchronous Validators: for instance when server side evaluation is needed.\nExecutions are scheduled and awaited and the 'async results' are merged with the\n'sync results'.\n\n- b) there are
|
|
40686
|
+
"description": "Triggered by:\n - modelValue change\n - change in the 'validators' array\n - change in the config of an individual Validator\n\nThree situations are handled:\n- a1) the FormControl is empty: further execution is halted. When the Required Validator\n(being mutually exclusive to the other Validators) is applied, it will end up in the\nvalidation result (as the only Validator, since further execution was halted).\n- a2) there are synchronous Validators: this is the most common flow. When modelValue hasn't\nchanged since last async results were generated, 'sync results' are merged with the\n'async results'.\n- a3) there are asynchronous Validators: for instance when server side evaluation is needed.\nExecutions are scheduled and awaited and the 'async results' are merged with the\n'sync results'.\n\n- b) there are MetaValidators. After steps a1, a2, or a3 are finished, the holistic\nMetaValidators (evaluating the total result of the 'regular' (a1, a2 and a3) validators)\nwill be run...\n\nSituations a2 and a3 are not mutually exclusive and can be triggered within one `validate()`\ncall. Situation b will occur after every call.",
|
|
40662
40687
|
"inheritedFrom": {
|
|
40663
40688
|
"name": "ValidateMixin",
|
|
40664
40689
|
"module": "components/form-core/src/validate/ValidateMixin.js"
|
|
@@ -40687,18 +40712,9 @@
|
|
|
40687
40712
|
"type": {
|
|
40688
40713
|
"text": "unknown"
|
|
40689
40714
|
}
|
|
40690
|
-
},
|
|
40691
|
-
{
|
|
40692
|
-
"name": "{ hasAsync }"
|
|
40693
|
-
},
|
|
40694
|
-
{
|
|
40695
|
-
"name": "opts",
|
|
40696
|
-
"type": {
|
|
40697
|
-
"text": "{ hasAsync: boolean }"
|
|
40698
|
-
}
|
|
40699
40715
|
}
|
|
40700
40716
|
],
|
|
40701
|
-
"description": "step a2 (as explained in `validate()`): calls `
|
|
40717
|
+
"description": "step a2 (as explained in `validate()`): calls `__finishValidationPass`",
|
|
40702
40718
|
"privacy": "private",
|
|
40703
40719
|
"inheritedFrom": {
|
|
40704
40720
|
"name": "ValidateMixin",
|
|
@@ -40711,7 +40727,7 @@
|
|
|
40711
40727
|
"parameters": [
|
|
40712
40728
|
{
|
|
40713
40729
|
"name": "asyncValidators",
|
|
40714
|
-
"description": "all Validators except required and
|
|
40730
|
+
"description": "all Validators except required and MetaValidators",
|
|
40715
40731
|
"type": {
|
|
40716
40732
|
"text": "Validator[]"
|
|
40717
40733
|
}
|
|
@@ -40723,7 +40739,7 @@
|
|
|
40723
40739
|
}
|
|
40724
40740
|
}
|
|
40725
40741
|
],
|
|
40726
|
-
"description": "step a3 (as explained in `validate()`), calls
|
|
40742
|
+
"description": "step a3 (as explained in `validate()`), calls __finishValidationPass",
|
|
40727
40743
|
"privacy": "private",
|
|
40728
40744
|
"inheritedFrom": {
|
|
40729
40745
|
"name": "ValidateMixin",
|
|
@@ -40732,7 +40748,7 @@
|
|
|
40732
40748
|
},
|
|
40733
40749
|
{
|
|
40734
40750
|
"kind": "method",
|
|
40735
|
-
"name": "
|
|
40751
|
+
"name": "__executeMetaValidators",
|
|
40736
40752
|
"parameters": [
|
|
40737
40753
|
{
|
|
40738
40754
|
"name": "regularValidationResult",
|
|
@@ -40740,9 +40756,15 @@
|
|
|
40740
40756
|
"type": {
|
|
40741
40757
|
"text": "{validator: Validator;outcome: boolean | string;}[]"
|
|
40742
40758
|
}
|
|
40759
|
+
},
|
|
40760
|
+
{
|
|
40761
|
+
"name": "metaValidators",
|
|
40762
|
+
"type": {
|
|
40763
|
+
"text": "MetaValidator[]"
|
|
40764
|
+
}
|
|
40743
40765
|
}
|
|
40744
40766
|
],
|
|
40745
|
-
"description": "step b (as explained in `validate()`), called by
|
|
40767
|
+
"description": "step b (as explained in `validate()`), called by __finishValidationPass",
|
|
40746
40768
|
"privacy": "private",
|
|
40747
40769
|
"inheritedFrom": {
|
|
40748
40770
|
"name": "ValidateMixin",
|
|
@@ -40751,18 +40773,20 @@
|
|
|
40751
40773
|
},
|
|
40752
40774
|
{
|
|
40753
40775
|
"kind": "method",
|
|
40754
|
-
"name": "
|
|
40776
|
+
"name": "__finishValidationPass",
|
|
40755
40777
|
"parameters": [
|
|
40756
40778
|
{
|
|
40757
|
-
"name": "{
|
|
40779
|
+
"name": "{\n syncValidationResult = [],\n asyncValidationResult = [],\n metaValidators = [],\n }",
|
|
40780
|
+
"default": "{}"
|
|
40758
40781
|
},
|
|
40759
40782
|
{
|
|
40760
40783
|
"name": "options",
|
|
40761
40784
|
"type": {
|
|
40762
|
-
"text": "@param {
|
|
40785
|
+
"text": "@param {ValidationResultEntry[]} [options.syncValidationResult]\n * @param {ValidationResultEntry[]} [options.asyncValidationResult]\n * @param {MetaValidator[]} [options.metaValidators] MetaValidators to be executed\n * "
|
|
40763
40786
|
}
|
|
40764
40787
|
}
|
|
40765
40788
|
],
|
|
40789
|
+
"description": "A 'pass' is a single run of the validation process, which will be triggered in these cases:\n- on clear or disable\n- on sync validation\n- on async validation (can depend on server response)\n\nThis method inishes a pass by adding the properties to the instance:\n- validationStates\n- hasFeedbackFor\n\nIt sends a private event validate-performed, which is received by parent Formgroups.",
|
|
40766
40790
|
"privacy": "private",
|
|
40767
40791
|
"inheritedFrom": {
|
|
40768
40792
|
"name": "ValidateMixin",
|
|
@@ -41120,7 +41144,7 @@
|
|
|
41120
41144
|
"type": {
|
|
41121
41145
|
"text": "ValidationResultEntry[]"
|
|
41122
41146
|
},
|
|
41123
|
-
"description": "Aggregated result from sync Validators, async Validators and
|
|
41147
|
+
"description": "Aggregated result from sync Validators, async Validators and MetaValidators",
|
|
41124
41148
|
"privacy": "private",
|
|
41125
41149
|
"default": "[]",
|
|
41126
41150
|
"inheritedFrom": {
|
|
@@ -41147,6 +41171,7 @@
|
|
|
41147
41171
|
"type": {
|
|
41148
41172
|
"text": "ValidationResultEntry[]"
|
|
41149
41173
|
},
|
|
41174
|
+
"description": "The shown validation result depends on the visibility of the feedback messages",
|
|
41150
41175
|
"privacy": "private",
|
|
41151
41176
|
"default": "[]",
|
|
41152
41177
|
"inheritedFrom": {
|
|
@@ -42858,6 +42883,30 @@
|
|
|
42858
42883
|
"module": "components/form-core/src/registration/FormRegistrarMixin.js"
|
|
42859
42884
|
}
|
|
42860
42885
|
},
|
|
42886
|
+
{
|
|
42887
|
+
"kind": "method",
|
|
42888
|
+
"name": "_isEmpty",
|
|
42889
|
+
"parameters": [
|
|
42890
|
+
{
|
|
42891
|
+
"name": "modelValue",
|
|
42892
|
+
"default": "(this).modelValue",
|
|
42893
|
+
"type": {
|
|
42894
|
+
"text": "any"
|
|
42895
|
+
}
|
|
42896
|
+
}
|
|
42897
|
+
],
|
|
42898
|
+
"description": "Used for Required validation and computation of interaction states",
|
|
42899
|
+
"return": {
|
|
42900
|
+
"type": {
|
|
42901
|
+
"text": "boolean"
|
|
42902
|
+
}
|
|
42903
|
+
},
|
|
42904
|
+
"privacy": "protected",
|
|
42905
|
+
"inheritedFrom": {
|
|
42906
|
+
"name": "FormControlMixin",
|
|
42907
|
+
"module": "components/form-core/src/FormControlMixin.js"
|
|
42908
|
+
}
|
|
42909
|
+
},
|
|
42861
42910
|
{
|
|
42862
42911
|
"kind": "field",
|
|
42863
42912
|
"name": "value",
|
|
@@ -43206,7 +43255,9 @@
|
|
|
43206
43255
|
"inheritedFrom": {
|
|
43207
43256
|
"name": "SlotMixin",
|
|
43208
43257
|
"module": "components/core/src/SlotMixin.js"
|
|
43209
|
-
}
|
|
43258
|
+
},
|
|
43259
|
+
"description": "Adds \"._feedbackNode\" as described below",
|
|
43260
|
+
"privacy": "public"
|
|
43210
43261
|
},
|
|
43211
43262
|
{
|
|
43212
43263
|
"kind": "field",
|
|
@@ -43453,30 +43504,6 @@
|
|
|
43453
43504
|
"module": "components/form-core/src/FormControlMixin.js"
|
|
43454
43505
|
}
|
|
43455
43506
|
},
|
|
43456
|
-
{
|
|
43457
|
-
"kind": "method",
|
|
43458
|
-
"name": "_isEmpty",
|
|
43459
|
-
"parameters": [
|
|
43460
|
-
{
|
|
43461
|
-
"name": "modelValue",
|
|
43462
|
-
"default": "(this).modelValue",
|
|
43463
|
-
"type": {
|
|
43464
|
-
"text": "any"
|
|
43465
|
-
}
|
|
43466
|
-
}
|
|
43467
|
-
],
|
|
43468
|
-
"description": "Used for Required validation and computation of interaction states",
|
|
43469
|
-
"return": {
|
|
43470
|
-
"type": {
|
|
43471
|
-
"text": "boolean"
|
|
43472
|
-
}
|
|
43473
|
-
},
|
|
43474
|
-
"privacy": "protected",
|
|
43475
|
-
"inheritedFrom": {
|
|
43476
|
-
"name": "FormControlMixin",
|
|
43477
|
-
"module": "components/form-core/src/FormControlMixin.js"
|
|
43478
|
-
}
|
|
43479
|
-
},
|
|
43480
43507
|
{
|
|
43481
43508
|
"kind": "field",
|
|
43482
43509
|
"name": "styles",
|
|
@@ -44148,7 +44175,7 @@
|
|
|
44148
44175
|
"name": "validate",
|
|
44149
44176
|
"parameters": [
|
|
44150
44177
|
{
|
|
44151
|
-
"name": "{ clearCurrentResult }",
|
|
44178
|
+
"name": "{ clearCurrentResult = false }",
|
|
44152
44179
|
"default": "{}"
|
|
44153
44180
|
},
|
|
44154
44181
|
{
|
|
@@ -44158,7 +44185,7 @@
|
|
|
44158
44185
|
}
|
|
44159
44186
|
}
|
|
44160
44187
|
],
|
|
44161
|
-
"description": "Triggered by:\n - modelValue change\n - change in the 'validators' array\n - change in the config of an individual Validator\n\nThree situations are handled:\n- a1) the FormControl is empty: further execution is halted. When the Required Validator\n(being mutually exclusive to the other Validators) is applied, it will end up in the\nvalidation result (as the only Validator, since further execution was halted).\n- a2) there are synchronous Validators: this is the most common flow. When modelValue hasn't\nchanged since last async results were generated, 'sync results' are merged with the\n'async results'.\n- a3) there are asynchronous Validators: for instance when server side evaluation is needed.\nExecutions are scheduled and awaited and the 'async results' are merged with the\n'sync results'.\n\n- b) there are
|
|
44188
|
+
"description": "Triggered by:\n - modelValue change\n - change in the 'validators' array\n - change in the config of an individual Validator\n\nThree situations are handled:\n- a1) the FormControl is empty: further execution is halted. When the Required Validator\n(being mutually exclusive to the other Validators) is applied, it will end up in the\nvalidation result (as the only Validator, since further execution was halted).\n- a2) there are synchronous Validators: this is the most common flow. When modelValue hasn't\nchanged since last async results were generated, 'sync results' are merged with the\n'async results'.\n- a3) there are asynchronous Validators: for instance when server side evaluation is needed.\nExecutions are scheduled and awaited and the 'async results' are merged with the\n'sync results'.\n\n- b) there are MetaValidators. After steps a1, a2, or a3 are finished, the holistic\nMetaValidators (evaluating the total result of the 'regular' (a1, a2 and a3) validators)\nwill be run...\n\nSituations a2 and a3 are not mutually exclusive and can be triggered within one `validate()`\ncall. Situation b will occur after every call.",
|
|
44162
44189
|
"inheritedFrom": {
|
|
44163
44190
|
"name": "ValidateMixin",
|
|
44164
44191
|
"module": "components/form-core/src/validate/ValidateMixin.js"
|
|
@@ -44187,18 +44214,9 @@
|
|
|
44187
44214
|
"type": {
|
|
44188
44215
|
"text": "unknown"
|
|
44189
44216
|
}
|
|
44190
|
-
},
|
|
44191
|
-
{
|
|
44192
|
-
"name": "{ hasAsync }"
|
|
44193
|
-
},
|
|
44194
|
-
{
|
|
44195
|
-
"name": "opts",
|
|
44196
|
-
"type": {
|
|
44197
|
-
"text": "{ hasAsync: boolean }"
|
|
44198
|
-
}
|
|
44199
44217
|
}
|
|
44200
44218
|
],
|
|
44201
|
-
"description": "step a2 (as explained in `validate()`): calls `
|
|
44219
|
+
"description": "step a2 (as explained in `validate()`): calls `__finishValidationPass`",
|
|
44202
44220
|
"privacy": "private",
|
|
44203
44221
|
"inheritedFrom": {
|
|
44204
44222
|
"name": "ValidateMixin",
|
|
@@ -44211,7 +44229,7 @@
|
|
|
44211
44229
|
"parameters": [
|
|
44212
44230
|
{
|
|
44213
44231
|
"name": "asyncValidators",
|
|
44214
|
-
"description": "all Validators except required and
|
|
44232
|
+
"description": "all Validators except required and MetaValidators",
|
|
44215
44233
|
"type": {
|
|
44216
44234
|
"text": "Validator[]"
|
|
44217
44235
|
}
|
|
@@ -44223,7 +44241,7 @@
|
|
|
44223
44241
|
}
|
|
44224
44242
|
}
|
|
44225
44243
|
],
|
|
44226
|
-
"description": "step a3 (as explained in `validate()`), calls
|
|
44244
|
+
"description": "step a3 (as explained in `validate()`), calls __finishValidationPass",
|
|
44227
44245
|
"privacy": "private",
|
|
44228
44246
|
"inheritedFrom": {
|
|
44229
44247
|
"name": "ValidateMixin",
|
|
@@ -44232,7 +44250,7 @@
|
|
|
44232
44250
|
},
|
|
44233
44251
|
{
|
|
44234
44252
|
"kind": "method",
|
|
44235
|
-
"name": "
|
|
44253
|
+
"name": "__executeMetaValidators",
|
|
44236
44254
|
"parameters": [
|
|
44237
44255
|
{
|
|
44238
44256
|
"name": "regularValidationResult",
|
|
@@ -44240,9 +44258,15 @@
|
|
|
44240
44258
|
"type": {
|
|
44241
44259
|
"text": "{validator: Validator;outcome: boolean | string;}[]"
|
|
44242
44260
|
}
|
|
44261
|
+
},
|
|
44262
|
+
{
|
|
44263
|
+
"name": "metaValidators",
|
|
44264
|
+
"type": {
|
|
44265
|
+
"text": "MetaValidator[]"
|
|
44266
|
+
}
|
|
44243
44267
|
}
|
|
44244
44268
|
],
|
|
44245
|
-
"description": "step b (as explained in `validate()`), called by
|
|
44269
|
+
"description": "step b (as explained in `validate()`), called by __finishValidationPass",
|
|
44246
44270
|
"privacy": "private",
|
|
44247
44271
|
"inheritedFrom": {
|
|
44248
44272
|
"name": "ValidateMixin",
|
|
@@ -44251,18 +44275,20 @@
|
|
|
44251
44275
|
},
|
|
44252
44276
|
{
|
|
44253
44277
|
"kind": "method",
|
|
44254
|
-
"name": "
|
|
44278
|
+
"name": "__finishValidationPass",
|
|
44255
44279
|
"parameters": [
|
|
44256
44280
|
{
|
|
44257
|
-
"name": "{
|
|
44281
|
+
"name": "{\n syncValidationResult = [],\n asyncValidationResult = [],\n metaValidators = [],\n }",
|
|
44282
|
+
"default": "{}"
|
|
44258
44283
|
},
|
|
44259
44284
|
{
|
|
44260
44285
|
"name": "options",
|
|
44261
44286
|
"type": {
|
|
44262
|
-
"text": "@param {
|
|
44287
|
+
"text": "@param {ValidationResultEntry[]} [options.syncValidationResult]\n * @param {ValidationResultEntry[]} [options.asyncValidationResult]\n * @param {MetaValidator[]} [options.metaValidators] MetaValidators to be executed\n * "
|
|
44263
44288
|
}
|
|
44264
44289
|
}
|
|
44265
44290
|
],
|
|
44291
|
+
"description": "A 'pass' is a single run of the validation process, which will be triggered in these cases:\n- on clear or disable\n- on sync validation\n- on async validation (can depend on server response)\n\nThis method inishes a pass by adding the properties to the instance:\n- validationStates\n- hasFeedbackFor\n\nIt sends a private event validate-performed, which is received by parent Formgroups.",
|
|
44266
44292
|
"privacy": "private",
|
|
44267
44293
|
"inheritedFrom": {
|
|
44268
44294
|
"name": "ValidateMixin",
|
|
@@ -44607,7 +44633,7 @@
|
|
|
44607
44633
|
"type": {
|
|
44608
44634
|
"text": "ValidationResultEntry[]"
|
|
44609
44635
|
},
|
|
44610
|
-
"description": "Aggregated result from sync Validators, async Validators and
|
|
44636
|
+
"description": "Aggregated result from sync Validators, async Validators and MetaValidators",
|
|
44611
44637
|
"privacy": "private",
|
|
44612
44638
|
"default": "[]",
|
|
44613
44639
|
"inheritedFrom": {
|
|
@@ -44634,6 +44660,7 @@
|
|
|
44634
44660
|
"type": {
|
|
44635
44661
|
"text": "ValidationResultEntry[]"
|
|
44636
44662
|
},
|
|
44663
|
+
"description": "The shown validation result depends on the visibility of the feedback messages",
|
|
44637
44664
|
"privacy": "private",
|
|
44638
44665
|
"default": "[]",
|
|
44639
44666
|
"inheritedFrom": {
|
|
@@ -45906,7 +45933,9 @@
|
|
|
45906
45933
|
"inheritedFrom": {
|
|
45907
45934
|
"name": "SlotMixin",
|
|
45908
45935
|
"module": "components/core/src/SlotMixin.js"
|
|
45909
|
-
}
|
|
45936
|
+
},
|
|
45937
|
+
"description": "Adds \"._feedbackNode\" as described below",
|
|
45938
|
+
"privacy": "public"
|
|
45910
45939
|
},
|
|
45911
45940
|
{
|
|
45912
45941
|
"kind": "field",
|
|
@@ -45962,7 +45991,7 @@
|
|
|
45962
45991
|
"name": "validate",
|
|
45963
45992
|
"parameters": [
|
|
45964
45993
|
{
|
|
45965
|
-
"name": "{ clearCurrentResult }",
|
|
45994
|
+
"name": "{ clearCurrentResult = false }",
|
|
45966
45995
|
"default": "{}"
|
|
45967
45996
|
},
|
|
45968
45997
|
{
|
|
@@ -45972,7 +46001,7 @@
|
|
|
45972
46001
|
}
|
|
45973
46002
|
}
|
|
45974
46003
|
],
|
|
45975
|
-
"description": "Triggered by:\n - modelValue change\n - change in the 'validators' array\n - change in the config of an individual Validator\n\nThree situations are handled:\n- a1) the FormControl is empty: further execution is halted. When the Required Validator\n(being mutually exclusive to the other Validators) is applied, it will end up in the\nvalidation result (as the only Validator, since further execution was halted).\n- a2) there are synchronous Validators: this is the most common flow. When modelValue hasn't\nchanged since last async results were generated, 'sync results' are merged with the\n'async results'.\n- a3) there are asynchronous Validators: for instance when server side evaluation is needed.\nExecutions are scheduled and awaited and the 'async results' are merged with the\n'sync results'.\n\n- b) there are
|
|
46004
|
+
"description": "Triggered by:\n - modelValue change\n - change in the 'validators' array\n - change in the config of an individual Validator\n\nThree situations are handled:\n- a1) the FormControl is empty: further execution is halted. When the Required Validator\n(being mutually exclusive to the other Validators) is applied, it will end up in the\nvalidation result (as the only Validator, since further execution was halted).\n- a2) there are synchronous Validators: this is the most common flow. When modelValue hasn't\nchanged since last async results were generated, 'sync results' are merged with the\n'async results'.\n- a3) there are asynchronous Validators: for instance when server side evaluation is needed.\nExecutions are scheduled and awaited and the 'async results' are merged with the\n'sync results'.\n\n- b) there are MetaValidators. After steps a1, a2, or a3 are finished, the holistic\nMetaValidators (evaluating the total result of the 'regular' (a1, a2 and a3) validators)\nwill be run...\n\nSituations a2 and a3 are not mutually exclusive and can be triggered within one `validate()`\ncall. Situation b will occur after every call."
|
|
45976
46005
|
},
|
|
45977
46006
|
{
|
|
45978
46007
|
"kind": "method",
|
|
@@ -45993,18 +46022,9 @@
|
|
|
45993
46022
|
"type": {
|
|
45994
46023
|
"text": "unknown"
|
|
45995
46024
|
}
|
|
45996
|
-
},
|
|
45997
|
-
{
|
|
45998
|
-
"name": "{ hasAsync }"
|
|
45999
|
-
},
|
|
46000
|
-
{
|
|
46001
|
-
"name": "opts",
|
|
46002
|
-
"type": {
|
|
46003
|
-
"text": "{ hasAsync: boolean }"
|
|
46004
|
-
}
|
|
46005
46025
|
}
|
|
46006
46026
|
],
|
|
46007
|
-
"description": "step a2 (as explained in `validate()`): calls `
|
|
46027
|
+
"description": "step a2 (as explained in `validate()`): calls `__finishValidationPass`",
|
|
46008
46028
|
"privacy": "private"
|
|
46009
46029
|
},
|
|
46010
46030
|
{
|
|
@@ -46013,7 +46033,7 @@
|
|
|
46013
46033
|
"parameters": [
|
|
46014
46034
|
{
|
|
46015
46035
|
"name": "asyncValidators",
|
|
46016
|
-
"description": "all Validators except required and
|
|
46036
|
+
"description": "all Validators except required and MetaValidators",
|
|
46017
46037
|
"type": {
|
|
46018
46038
|
"text": "Validator[]"
|
|
46019
46039
|
}
|
|
@@ -46025,12 +46045,12 @@
|
|
|
46025
46045
|
}
|
|
46026
46046
|
}
|
|
46027
46047
|
],
|
|
46028
|
-
"description": "step a3 (as explained in `validate()`), calls
|
|
46048
|
+
"description": "step a3 (as explained in `validate()`), calls __finishValidationPass",
|
|
46029
46049
|
"privacy": "private"
|
|
46030
46050
|
},
|
|
46031
46051
|
{
|
|
46032
46052
|
"kind": "method",
|
|
46033
|
-
"name": "
|
|
46053
|
+
"name": "__executeMetaValidators",
|
|
46034
46054
|
"parameters": [
|
|
46035
46055
|
{
|
|
46036
46056
|
"name": "regularValidationResult",
|
|
@@ -46038,25 +46058,33 @@
|
|
|
46038
46058
|
"type": {
|
|
46039
46059
|
"text": "{validator: Validator;outcome: boolean | string;}[]"
|
|
46040
46060
|
}
|
|
46061
|
+
},
|
|
46062
|
+
{
|
|
46063
|
+
"name": "metaValidators",
|
|
46064
|
+
"type": {
|
|
46065
|
+
"text": "MetaValidator[]"
|
|
46066
|
+
}
|
|
46041
46067
|
}
|
|
46042
46068
|
],
|
|
46043
|
-
"description": "step b (as explained in `validate()`), called by
|
|
46069
|
+
"description": "step b (as explained in `validate()`), called by __finishValidationPass",
|
|
46044
46070
|
"privacy": "private"
|
|
46045
46071
|
},
|
|
46046
46072
|
{
|
|
46047
46073
|
"kind": "method",
|
|
46048
|
-
"name": "
|
|
46074
|
+
"name": "__finishValidationPass",
|
|
46049
46075
|
"parameters": [
|
|
46050
46076
|
{
|
|
46051
|
-
"name": "{
|
|
46077
|
+
"name": "{\n syncValidationResult = [],\n asyncValidationResult = [],\n metaValidators = [],\n }",
|
|
46078
|
+
"default": "{}"
|
|
46052
46079
|
},
|
|
46053
46080
|
{
|
|
46054
46081
|
"name": "options",
|
|
46055
46082
|
"type": {
|
|
46056
|
-
"text": "@param {
|
|
46083
|
+
"text": "@param {ValidationResultEntry[]} [options.syncValidationResult]\n * @param {ValidationResultEntry[]} [options.asyncValidationResult]\n * @param {MetaValidator[]} [options.metaValidators] MetaValidators to be executed\n * "
|
|
46057
46084
|
}
|
|
46058
46085
|
}
|
|
46059
46086
|
],
|
|
46087
|
+
"description": "A 'pass' is a single run of the validation process, which will be triggered in these cases:\n- on clear or disable\n- on sync validation\n- on async validation (can depend on server response)\n\nThis method inishes a pass by adding the properties to the instance:\n- validationStates\n- hasFeedbackFor\n\nIt sends a private event validate-performed, which is received by parent Formgroups.",
|
|
46060
46088
|
"privacy": "private"
|
|
46061
46089
|
},
|
|
46062
46090
|
{
|
|
@@ -46338,7 +46366,7 @@
|
|
|
46338
46366
|
"type": {
|
|
46339
46367
|
"text": "ValidationResultEntry[]"
|
|
46340
46368
|
},
|
|
46341
|
-
"description": "Aggregated result from sync Validators, async Validators and
|
|
46369
|
+
"description": "Aggregated result from sync Validators, async Validators and MetaValidators",
|
|
46342
46370
|
"privacy": "private",
|
|
46343
46371
|
"default": "[]"
|
|
46344
46372
|
},
|
|
@@ -46357,6 +46385,7 @@
|
|
|
46357
46385
|
"type": {
|
|
46358
46386
|
"text": "ValidationResultEntry[]"
|
|
46359
46387
|
},
|
|
46388
|
+
"description": "The shown validation result depends on the visibility of the feedback messages",
|
|
46360
46389
|
"privacy": "private",
|
|
46361
46390
|
"default": "[]"
|
|
46362
46391
|
},
|
|
@@ -51356,6 +51385,19 @@
|
|
|
51356
51385
|
}
|
|
51357
51386
|
]
|
|
51358
51387
|
},
|
|
51388
|
+
{
|
|
51389
|
+
"kind": "field",
|
|
51390
|
+
"name": "__createInvokerFocusHandler",
|
|
51391
|
+
"privacy": "private",
|
|
51392
|
+
"parameters": [
|
|
51393
|
+
{
|
|
51394
|
+
"name": "index",
|
|
51395
|
+
"type": {
|
|
51396
|
+
"text": "number"
|
|
51397
|
+
}
|
|
51398
|
+
}
|
|
51399
|
+
]
|
|
51400
|
+
},
|
|
51359
51401
|
{
|
|
51360
51402
|
"kind": "field",
|
|
51361
51403
|
"name": "__handleInvokerKeydown",
|
|
@@ -61654,7 +61696,7 @@
|
|
|
61654
61696
|
"kind": "field",
|
|
61655
61697
|
"name": "localizeNamespaces",
|
|
61656
61698
|
"type": {
|
|
61657
|
-
"text": "import(\"../../localize/types/LocalizeMixinTypes.js\").
|
|
61699
|
+
"text": "import(\"../../localize/types/LocalizeMixinTypes.js\").NamespaceObject[]"
|
|
61658
61700
|
},
|
|
61659
61701
|
"static": true
|
|
61660
61702
|
},
|
|
@@ -62166,7 +62208,7 @@
|
|
|
62166
62208
|
"kind": "field",
|
|
62167
62209
|
"name": "localizeNamespaces",
|
|
62168
62210
|
"type": {
|
|
62169
|
-
"text": "import(\"../../localize/types/LocalizeMixinTypes.js\").
|
|
62211
|
+
"text": "import(\"../../localize/types/LocalizeMixinTypes.js\").NamespaceObject[]"
|
|
62170
62212
|
},
|
|
62171
62213
|
"static": true
|
|
62172
62214
|
},
|
|
@@ -65618,7 +65660,7 @@
|
|
|
65618
65660
|
"kind": "field",
|
|
65619
65661
|
"name": "localizeNamespaces",
|
|
65620
65662
|
"type": {
|
|
65621
|
-
"text": "import(\"../../localize/types/LocalizeMixinTypes.js\").
|
|
65663
|
+
"text": "import(\"../../localize/types/LocalizeMixinTypes.js\").NamespaceObject[]"
|
|
65622
65664
|
},
|
|
65623
65665
|
"static": true
|
|
65624
65666
|
},
|
|
@@ -67258,7 +67300,7 @@
|
|
|
67258
67300
|
"kind": "field",
|
|
67259
67301
|
"name": "localizeNamespaces",
|
|
67260
67302
|
"type": {
|
|
67261
|
-
"text": "import(\"../../localize/types/LocalizeMixinTypes.js\").
|
|
67303
|
+
"text": "import(\"../../localize/types/LocalizeMixinTypes.js\").NamespaceObject[]"
|
|
67262
67304
|
},
|
|
67263
67305
|
"static": true,
|
|
67264
67306
|
"inheritedFrom": {
|
|
@@ -69469,7 +69511,7 @@
|
|
|
69469
69511
|
"kind": "field",
|
|
69470
69512
|
"name": "localizeNamespaces",
|
|
69471
69513
|
"type": {
|
|
69472
|
-
"text": "
|
|
69514
|
+
"text": "NamespaceObject[]"
|
|
69473
69515
|
},
|
|
69474
69516
|
"static": true
|
|
69475
69517
|
},
|
|
@@ -90484,6 +90526,48 @@
|
|
|
90484
90526
|
}
|
|
90485
90527
|
]
|
|
90486
90528
|
},
|
|
90529
|
+
{
|
|
90530
|
+
"kind": "javascript-module",
|
|
90531
|
+
"path": "dist-types/components/overlays/test/utils-tests/active-element.test.d.ts",
|
|
90532
|
+
"declarations": [],
|
|
90533
|
+
"exports": []
|
|
90534
|
+
},
|
|
90535
|
+
{
|
|
90536
|
+
"kind": "javascript-module",
|
|
90537
|
+
"path": "dist-types/components/overlays/test/utils-tests/adopt-styles.test.d.ts",
|
|
90538
|
+
"declarations": [],
|
|
90539
|
+
"exports": []
|
|
90540
|
+
},
|
|
90541
|
+
{
|
|
90542
|
+
"kind": "javascript-module",
|
|
90543
|
+
"path": "dist-types/components/overlays/test/utils-tests/contain-focus.test.d.ts",
|
|
90544
|
+
"declarations": [],
|
|
90545
|
+
"exports": []
|
|
90546
|
+
},
|
|
90547
|
+
{
|
|
90548
|
+
"kind": "javascript-module",
|
|
90549
|
+
"path": "dist-types/components/overlays/test/utils-tests/deep-contains.test.d.ts",
|
|
90550
|
+
"declarations": [],
|
|
90551
|
+
"exports": []
|
|
90552
|
+
},
|
|
90553
|
+
{
|
|
90554
|
+
"kind": "javascript-module",
|
|
90555
|
+
"path": "dist-types/components/overlays/test/utils-tests/get-focusable-elements.test.d.ts",
|
|
90556
|
+
"declarations": [],
|
|
90557
|
+
"exports": []
|
|
90558
|
+
},
|
|
90559
|
+
{
|
|
90560
|
+
"kind": "javascript-module",
|
|
90561
|
+
"path": "dist-types/components/overlays/test/utils-tests/is-equal-config.test.d.ts",
|
|
90562
|
+
"declarations": [],
|
|
90563
|
+
"exports": []
|
|
90564
|
+
},
|
|
90565
|
+
{
|
|
90566
|
+
"kind": "javascript-module",
|
|
90567
|
+
"path": "dist-types/components/overlays/test/utils-tests/visibility.test.d.ts",
|
|
90568
|
+
"declarations": [],
|
|
90569
|
+
"exports": []
|
|
90570
|
+
},
|
|
90487
90571
|
{
|
|
90488
90572
|
"kind": "javascript-module",
|
|
90489
90573
|
"path": "dist-types/components/overlays/src/utils/adopt-styles.d.ts",
|
|
@@ -90989,48 +91073,6 @@
|
|
|
90989
91073
|
}
|
|
90990
91074
|
]
|
|
90991
91075
|
},
|
|
90992
|
-
{
|
|
90993
|
-
"kind": "javascript-module",
|
|
90994
|
-
"path": "dist-types/components/overlays/test/utils-tests/active-element.test.d.ts",
|
|
90995
|
-
"declarations": [],
|
|
90996
|
-
"exports": []
|
|
90997
|
-
},
|
|
90998
|
-
{
|
|
90999
|
-
"kind": "javascript-module",
|
|
91000
|
-
"path": "dist-types/components/overlays/test/utils-tests/adopt-styles.test.d.ts",
|
|
91001
|
-
"declarations": [],
|
|
91002
|
-
"exports": []
|
|
91003
|
-
},
|
|
91004
|
-
{
|
|
91005
|
-
"kind": "javascript-module",
|
|
91006
|
-
"path": "dist-types/components/overlays/test/utils-tests/contain-focus.test.d.ts",
|
|
91007
|
-
"declarations": [],
|
|
91008
|
-
"exports": []
|
|
91009
|
-
},
|
|
91010
|
-
{
|
|
91011
|
-
"kind": "javascript-module",
|
|
91012
|
-
"path": "dist-types/components/overlays/test/utils-tests/deep-contains.test.d.ts",
|
|
91013
|
-
"declarations": [],
|
|
91014
|
-
"exports": []
|
|
91015
|
-
},
|
|
91016
|
-
{
|
|
91017
|
-
"kind": "javascript-module",
|
|
91018
|
-
"path": "dist-types/components/overlays/test/utils-tests/get-focusable-elements.test.d.ts",
|
|
91019
|
-
"declarations": [],
|
|
91020
|
-
"exports": []
|
|
91021
|
-
},
|
|
91022
|
-
{
|
|
91023
|
-
"kind": "javascript-module",
|
|
91024
|
-
"path": "dist-types/components/overlays/test/utils-tests/is-equal-config.test.d.ts",
|
|
91025
|
-
"declarations": [],
|
|
91026
|
-
"exports": []
|
|
91027
|
-
},
|
|
91028
|
-
{
|
|
91029
|
-
"kind": "javascript-module",
|
|
91030
|
-
"path": "dist-types/components/overlays/test/utils-tests/visibility.test.d.ts",
|
|
91031
|
-
"declarations": [],
|
|
91032
|
-
"exports": []
|
|
91033
|
-
},
|
|
91034
91076
|
{
|
|
91035
91077
|
"kind": "javascript-module",
|
|
91036
91078
|
"path": "components/localize/src/number/utils/normalize-format-number-to-parts/forceAddGroupSeparators.js",
|