kanto-ds 1.3.0 → 1.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/README.md +3 -3
- package/dist/chunks/{defaults-DKzFsNbv.js → defaults-BwgjMcww.js} +27 -26
- package/dist/chunks/{defaults-DKzFsNbv.js.map → defaults-BwgjMcww.js.map} +1 -1
- package/dist/chunks/{index-fzPIgxe2.js → index-DSSLJirw.js} +17 -12
- package/dist/chunks/index-DSSLJirw.js.map +1 -0
- package/dist/chunks/{kt-element-mdd5cXZX.js → kt-element-E-tfJpGQ.js} +2 -2
- package/dist/chunks/{kt-element-mdd5cXZX.js.map → kt-element-E-tfJpGQ.js.map} +1 -1
- package/dist/components/core/kt-avatar/kt-avatar.js +2 -2
- package/dist/components/core/kt-badge/kt-badge.js +2 -2
- package/dist/components/core/kt-button/kt-button.js +1 -1
- package/dist/components/core/kt-card/kt-card.js +1 -1
- package/dist/components/core/kt-code/kt-code.js +2 -2
- package/dist/components/core/kt-icon/kt-icon.js +2 -2
- package/dist/components/core/kt-kbd/kt-kbd.js +1 -1
- package/dist/components/core/kt-split-button/kt-split-button.js +2 -2
- package/dist/components/data/kt-chart/kt-chart.js +51 -51
- package/dist/components/data/kt-chart/kt-chart.js.map +1 -1
- package/dist/components/data/kt-meter/kt-meter.js +1 -1
- package/dist/components/data/kt-pagination/kt-pagination.js +2 -2
- package/dist/components/data/kt-stat/kt-stat.js +1 -1
- package/dist/components/data/kt-table/kt-table.js +2 -2
- package/dist/components/data/kt-timeline/kt-timeline.js +1 -1
- package/dist/components/feedback/kt-alert/kt-alert.js +2 -2
- package/dist/components/feedback/kt-empty-state/kt-empty-state.js +1 -1
- package/dist/components/feedback/kt-progress-bar/kt-progress-bar.js +1 -1
- package/dist/components/feedback/kt-skeleton/kt-skeleton.js +1 -1
- package/dist/components/feedback/kt-toast/kt-toast.js +2 -2
- package/dist/components/feedback/kt-toast-container/kt-toast-container.js +1 -1
- package/dist/components/feedback/kt-tooltip/kt-tooltip.js +1 -1
- package/dist/components/forms/kt-checkbox/kt-checkbox.d.ts +66 -0
- package/dist/components/forms/kt-checkbox/kt-checkbox.js +198 -0
- package/dist/components/forms/kt-checkbox/kt-checkbox.js.map +1 -0
- package/dist/components/forms/kt-drag-drop/kt-drag-drop.js +2 -2
- package/dist/components/forms/kt-form/kt-form.js +11 -10
- package/dist/components/forms/kt-form/kt-form.js.map +1 -1
- package/dist/components/forms/kt-input/kt-input.js +2 -2
- package/dist/components/forms/kt-input-menu/kt-input-menu.js +2 -2
- package/dist/components/forms/kt-label-input/kt-label-input.js +1 -1
- package/dist/components/forms/kt-radio-group/kt-radio-group.d.ts +103 -0
- package/dist/components/forms/kt-radio-group/kt-radio-group.js +265 -0
- package/dist/components/forms/kt-radio-group/kt-radio-group.js.map +1 -0
- package/dist/components/forms/kt-select/kt-select.js +2 -2
- package/dist/components/forms/kt-textarea/kt-textarea.js +2 -2
- package/dist/components/forms/kt-toggle/kt-toggle.js +1 -1
- package/dist/components/navigation/kt-breadcrumb/kt-breadcrumb.js +2 -2
- package/dist/components/navigation/kt-header/kt-header.js +2 -2
- package/dist/components/navigation/kt-page-header/kt-page-header.js +1 -1
- package/dist/components/navigation/kt-segmented-control/kt-segmented-control.js +2 -2
- package/dist/components/navigation/kt-sub-menu-navigation/kt-sub-menu-navigation.js +2 -2
- package/dist/components/navigation/kt-tabs/kt-tabs.js +1 -1
- package/dist/components/navigation/kt-toggle-button/kt-toggle-button.js +1 -1
- package/dist/components/navigation/kt-toggle-button-group/kt-toggle-button-group.js +12 -6
- package/dist/components/navigation/kt-toggle-button-group/kt-toggle-button-group.js.map +1 -1
- package/dist/components/overlays/kt-collapsible/kt-collapsible.js +1 -1
- package/dist/components/overlays/kt-confirm-dialog/kt-confirm-dialog.js +2 -2
- package/dist/components/overlays/kt-dropdown/kt-dropdown.js +2 -2
- package/dist/components/overlays/kt-modal/kt-modal.js +2 -2
- package/dist/components/overlays/kt-side-panel/kt-side-panel.js +2 -2
- package/dist/custom-elements.json +1740 -941
- package/dist/icons/defaults.d.ts +1 -0
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +95 -90
- package/dist/index.js.map +1 -1
- package/dist/internal/strings.d.ts +10 -0
- package/dist/react/index.d.ts +13 -0
- package/dist/react/index.js +176 -157
- package/dist/react/index.js.map +1 -1
- package/dist/react/jsx.d.ts +12 -1
- package/dist/strings/index.js +1 -1
- package/dist/tokens/base.css +3 -0
- package/dist/vscode.css-custom-data.json +12 -0
- package/dist/vscode.html-custom-data.json +85 -0
- package/dist/vue/index.d.ts +6 -0
- package/dist/vue/index.js +9 -7
- package/dist/vue/index.js.map +1 -1
- package/dist/web-types.json +225 -1
- package/package.json +9 -1
- package/dist/chunks/index-fzPIgxe2.js.map +0 -1
|
@@ -6068,20 +6068,30 @@
|
|
|
6068
6068
|
},
|
|
6069
6069
|
{
|
|
6070
6070
|
"kind": "javascript-module",
|
|
6071
|
-
"path": "dist/components/forms/kt-
|
|
6071
|
+
"path": "dist/components/forms/kt-checkbox/kt-checkbox.js",
|
|
6072
6072
|
"declarations": [
|
|
6073
6073
|
{
|
|
6074
6074
|
"kind": "class",
|
|
6075
|
-
"description": "A
|
|
6076
|
-
"name": "
|
|
6075
|
+
"description": "A checkbox: a choice that applies when the form is submitted.\n\nBuilt on a real `<input type=\"checkbox\">`, laid invisibly over the drawn\nbox, so the keyboard, the label click, the indeterminate state and what a\nscreen reader announces all come from the platform rather than a\nreimplementation of it.\n\nFor a setting that takes effect the moment it is flipped, use\n`<kt-toggle>`; for one choice among several, `<kt-radio-group>`.",
|
|
6076
|
+
"name": "KtCheckbox",
|
|
6077
6077
|
"cssParts": [
|
|
6078
6078
|
{
|
|
6079
|
-
"description": "The
|
|
6079
|
+
"description": "The `<label>` around box and text.",
|
|
6080
6080
|
"name": "base"
|
|
6081
6081
|
},
|
|
6082
6082
|
{
|
|
6083
|
-
"description": "The
|
|
6084
|
-
"name": "
|
|
6083
|
+
"description": "The native checkbox.",
|
|
6084
|
+
"name": "input"
|
|
6085
|
+
},
|
|
6086
|
+
{
|
|
6087
|
+
"description": "The drawn box.",
|
|
6088
|
+
"name": "box"
|
|
6089
|
+
}
|
|
6090
|
+
],
|
|
6091
|
+
"slots": [
|
|
6092
|
+
{
|
|
6093
|
+
"description": "The label, clickable.",
|
|
6094
|
+
"name": ""
|
|
6085
6095
|
}
|
|
6086
6096
|
],
|
|
6087
6097
|
"members": [
|
|
@@ -6097,9 +6107,9 @@
|
|
|
6097
6107
|
},
|
|
6098
6108
|
{
|
|
6099
6109
|
"kind": "field",
|
|
6100
|
-
"name": "
|
|
6110
|
+
"name": "input",
|
|
6101
6111
|
"type": {
|
|
6102
|
-
"text": "HTMLInputElement"
|
|
6112
|
+
"text": "HTMLInputElement | undefined"
|
|
6103
6113
|
},
|
|
6104
6114
|
"privacy": "private"
|
|
6105
6115
|
},
|
|
@@ -6114,7 +6124,7 @@
|
|
|
6114
6124
|
},
|
|
6115
6125
|
{
|
|
6116
6126
|
"kind": "field",
|
|
6117
|
-
"name": "
|
|
6127
|
+
"name": "defaultChecked",
|
|
6118
6128
|
"type": {
|
|
6119
6129
|
"text": "boolean"
|
|
6120
6130
|
},
|
|
@@ -6123,112 +6133,95 @@
|
|
|
6123
6133
|
},
|
|
6124
6134
|
{
|
|
6125
6135
|
"kind": "field",
|
|
6126
|
-
"name": "
|
|
6136
|
+
"name": "checked",
|
|
6127
6137
|
"type": {
|
|
6128
|
-
"text": "
|
|
6138
|
+
"text": "boolean"
|
|
6129
6139
|
},
|
|
6130
|
-
"
|
|
6131
|
-
"
|
|
6140
|
+
"default": "false",
|
|
6141
|
+
"attribute": "checked",
|
|
6142
|
+
"reflects": true
|
|
6132
6143
|
},
|
|
6133
6144
|
{
|
|
6134
6145
|
"kind": "field",
|
|
6135
|
-
"name": "
|
|
6146
|
+
"name": "indeterminate",
|
|
6136
6147
|
"type": {
|
|
6137
|
-
"text": "
|
|
6148
|
+
"text": "boolean"
|
|
6138
6149
|
},
|
|
6139
|
-
"default": "
|
|
6140
|
-
"description": "
|
|
6141
|
-
"attribute": "
|
|
6150
|
+
"default": "false",
|
|
6151
|
+
"description": "Neither checked nor unchecked — for a \"select all\" over a partial\nselection. Cleared as soon as the user clicks, as on a native checkbox.",
|
|
6152
|
+
"attribute": "indeterminate",
|
|
6153
|
+
"reflects": true
|
|
6142
6154
|
},
|
|
6143
6155
|
{
|
|
6144
6156
|
"kind": "field",
|
|
6145
|
-
"name": "
|
|
6157
|
+
"name": "disabled",
|
|
6146
6158
|
"type": {
|
|
6147
|
-
"text": "
|
|
6159
|
+
"text": "boolean"
|
|
6148
6160
|
},
|
|
6149
|
-
"default": "
|
|
6150
|
-
"
|
|
6151
|
-
"
|
|
6161
|
+
"default": "false",
|
|
6162
|
+
"attribute": "disabled",
|
|
6163
|
+
"reflects": true
|
|
6152
6164
|
},
|
|
6153
6165
|
{
|
|
6154
6166
|
"kind": "field",
|
|
6155
|
-
"name": "
|
|
6167
|
+
"name": "required",
|
|
6156
6168
|
"type": {
|
|
6157
|
-
"text": "
|
|
6169
|
+
"text": "boolean"
|
|
6158
6170
|
},
|
|
6159
|
-
"default": "
|
|
6160
|
-
"
|
|
6161
|
-
"
|
|
6171
|
+
"default": "false",
|
|
6172
|
+
"attribute": "required",
|
|
6173
|
+
"reflects": true
|
|
6162
6174
|
},
|
|
6163
6175
|
{
|
|
6164
6176
|
"kind": "field",
|
|
6165
|
-
"name": "
|
|
6177
|
+
"name": "size",
|
|
6166
6178
|
"type": {
|
|
6167
|
-
"text": "
|
|
6179
|
+
"text": "KtCheckboxSize"
|
|
6168
6180
|
},
|
|
6169
|
-
"default": "
|
|
6170
|
-
"attribute": "
|
|
6181
|
+
"default": "'medium'",
|
|
6182
|
+
"attribute": "size",
|
|
6183
|
+
"reflects": true
|
|
6171
6184
|
},
|
|
6172
6185
|
{
|
|
6173
6186
|
"kind": "field",
|
|
6174
|
-
"name": "
|
|
6187
|
+
"name": "name",
|
|
6175
6188
|
"type": {
|
|
6176
6189
|
"text": "string"
|
|
6177
6190
|
},
|
|
6178
6191
|
"default": "''",
|
|
6179
|
-
"
|
|
6180
|
-
"attribute": "accept"
|
|
6181
|
-
},
|
|
6182
|
-
{
|
|
6183
|
-
"kind": "field",
|
|
6184
|
-
"name": "maxSize",
|
|
6185
|
-
"type": {
|
|
6186
|
-
"text": "number"
|
|
6187
|
-
},
|
|
6188
|
-
"default": "0",
|
|
6189
|
-
"description": "Largest accepted file, in bytes. Zero means no limit.",
|
|
6190
|
-
"attribute": "max-size"
|
|
6192
|
+
"attribute": "name"
|
|
6191
6193
|
},
|
|
6192
6194
|
{
|
|
6193
6195
|
"kind": "field",
|
|
6194
|
-
"name": "
|
|
6196
|
+
"name": "value",
|
|
6195
6197
|
"type": {
|
|
6196
|
-
"text": "
|
|
6198
|
+
"text": "string"
|
|
6197
6199
|
},
|
|
6198
|
-
"default": "
|
|
6199
|
-
"
|
|
6200
|
-
"
|
|
6200
|
+
"default": "'on'",
|
|
6201
|
+
"description": "Submitted when checked, as for a native checkbox.",
|
|
6202
|
+
"attribute": "value"
|
|
6201
6203
|
},
|
|
6202
6204
|
{
|
|
6203
6205
|
"kind": "field",
|
|
6204
|
-
"name": "
|
|
6206
|
+
"name": "label",
|
|
6205
6207
|
"type": {
|
|
6206
6208
|
"text": "string"
|
|
6207
6209
|
},
|
|
6208
6210
|
"default": "''",
|
|
6209
|
-
"description": "
|
|
6210
|
-
"attribute": "
|
|
6211
|
+
"description": "Accessible name, when nothing is slotted.",
|
|
6212
|
+
"attribute": "label"
|
|
6211
6213
|
},
|
|
6212
6214
|
{
|
|
6213
6215
|
"kind": "field",
|
|
6214
|
-
"name": "
|
|
6216
|
+
"name": "error",
|
|
6215
6217
|
"type": {
|
|
6216
|
-
"text": "
|
|
6218
|
+
"text": "string"
|
|
6217
6219
|
},
|
|
6218
|
-
"default": "
|
|
6219
|
-
"
|
|
6220
|
+
"default": "''",
|
|
6221
|
+
"description": "Error message. A non-empty value puts the box in its error state.",
|
|
6222
|
+
"attribute": "error",
|
|
6220
6223
|
"reflects": true
|
|
6221
6224
|
},
|
|
6222
|
-
{
|
|
6223
|
-
"kind": "method",
|
|
6224
|
-
"name": "syncFormValue",
|
|
6225
|
-
"privacy": "private",
|
|
6226
|
-
"return": {
|
|
6227
|
-
"type": {
|
|
6228
|
-
"text": "void"
|
|
6229
|
-
}
|
|
6230
|
-
}
|
|
6231
|
-
},
|
|
6232
6225
|
{
|
|
6233
6226
|
"kind": "method",
|
|
6234
6227
|
"name": "formResetCallback",
|
|
@@ -6250,117 +6243,14 @@
|
|
|
6250
6243
|
{
|
|
6251
6244
|
"name": "state",
|
|
6252
6245
|
"type": {
|
|
6253
|
-
"text": "string |
|
|
6254
|
-
}
|
|
6255
|
-
}
|
|
6256
|
-
]
|
|
6257
|
-
},
|
|
6258
|
-
{
|
|
6259
|
-
"kind": "field",
|
|
6260
|
-
"name": "selectedFiles",
|
|
6261
|
-
"type": {
|
|
6262
|
-
"text": "readonly File[]"
|
|
6263
|
-
},
|
|
6264
|
-
"description": "The files currently held, newest last.",
|
|
6265
|
-
"readonly": true
|
|
6266
|
-
},
|
|
6267
|
-
{
|
|
6268
|
-
"kind": "method",
|
|
6269
|
-
"name": "clear",
|
|
6270
|
-
"return": {
|
|
6271
|
-
"type": {
|
|
6272
|
-
"text": "void"
|
|
6273
|
-
}
|
|
6274
|
-
},
|
|
6275
|
-
"description": "Empties the selection without firing a rejection."
|
|
6276
|
-
},
|
|
6277
|
-
{
|
|
6278
|
-
"kind": "method",
|
|
6279
|
-
"name": "accepts",
|
|
6280
|
-
"privacy": "private",
|
|
6281
|
-
"return": {
|
|
6282
|
-
"type": {
|
|
6283
|
-
"text": "boolean"
|
|
6284
|
-
}
|
|
6285
|
-
},
|
|
6286
|
-
"parameters": [
|
|
6287
|
-
{
|
|
6288
|
-
"name": "file",
|
|
6289
|
-
"type": {
|
|
6290
|
-
"text": "File"
|
|
6291
|
-
}
|
|
6292
|
-
}
|
|
6293
|
-
],
|
|
6294
|
-
"description": "`accept` is advisory on a native input — the OS dialog filters, but a\ndropped file bypasses it entirely — so the same rules are enforced here."
|
|
6295
|
-
},
|
|
6296
|
-
{
|
|
6297
|
-
"kind": "method",
|
|
6298
|
-
"name": "addFiles",
|
|
6299
|
-
"privacy": "private",
|
|
6300
|
-
"return": {
|
|
6301
|
-
"type": {
|
|
6302
|
-
"text": "void"
|
|
6303
|
-
}
|
|
6304
|
-
},
|
|
6305
|
-
"parameters": [
|
|
6306
|
-
{
|
|
6307
|
-
"name": "incoming",
|
|
6308
|
-
"type": {
|
|
6309
|
-
"text": "FileList | null"
|
|
6310
|
-
}
|
|
6311
|
-
}
|
|
6312
|
-
]
|
|
6313
|
-
},
|
|
6314
|
-
{
|
|
6315
|
-
"kind": "method",
|
|
6316
|
-
"name": "removeAt",
|
|
6317
|
-
"privacy": "private",
|
|
6318
|
-
"return": {
|
|
6319
|
-
"type": {
|
|
6320
|
-
"text": "void"
|
|
6321
|
-
}
|
|
6322
|
-
},
|
|
6323
|
-
"parameters": [
|
|
6324
|
-
{
|
|
6325
|
-
"name": "index",
|
|
6326
|
-
"type": {
|
|
6327
|
-
"text": "number"
|
|
6328
|
-
}
|
|
6329
|
-
}
|
|
6330
|
-
]
|
|
6331
|
-
},
|
|
6332
|
-
{
|
|
6333
|
-
"kind": "method",
|
|
6334
|
-
"name": "browse",
|
|
6335
|
-
"privacy": "private",
|
|
6336
|
-
"return": {
|
|
6337
|
-
"type": {
|
|
6338
|
-
"text": "void"
|
|
6339
|
-
}
|
|
6340
|
-
}
|
|
6341
|
-
},
|
|
6342
|
-
{
|
|
6343
|
-
"kind": "method",
|
|
6344
|
-
"name": "onZoneKeyDown",
|
|
6345
|
-
"privacy": "private",
|
|
6346
|
-
"return": {
|
|
6347
|
-
"type": {
|
|
6348
|
-
"text": "void"
|
|
6349
|
-
}
|
|
6350
|
-
},
|
|
6351
|
-
"parameters": [
|
|
6352
|
-
{
|
|
6353
|
-
"name": "event",
|
|
6354
|
-
"type": {
|
|
6355
|
-
"text": "KeyboardEvent"
|
|
6246
|
+
"text": "string | null"
|
|
6356
6247
|
}
|
|
6357
6248
|
}
|
|
6358
6249
|
]
|
|
6359
6250
|
},
|
|
6360
6251
|
{
|
|
6361
6252
|
"kind": "method",
|
|
6362
|
-
"name": "
|
|
6363
|
-
"privacy": "private",
|
|
6253
|
+
"name": "focus",
|
|
6364
6254
|
"return": {
|
|
6365
6255
|
"type": {
|
|
6366
6256
|
"text": "void"
|
|
@@ -6368,16 +6258,17 @@
|
|
|
6368
6258
|
},
|
|
6369
6259
|
"parameters": [
|
|
6370
6260
|
{
|
|
6371
|
-
"name": "
|
|
6261
|
+
"name": "options",
|
|
6262
|
+
"optional": true,
|
|
6372
6263
|
"type": {
|
|
6373
|
-
"text": "
|
|
6264
|
+
"text": "FocusOptions"
|
|
6374
6265
|
}
|
|
6375
6266
|
}
|
|
6376
6267
|
]
|
|
6377
6268
|
},
|
|
6378
6269
|
{
|
|
6379
6270
|
"kind": "method",
|
|
6380
|
-
"name": "
|
|
6271
|
+
"name": "onChange",
|
|
6381
6272
|
"privacy": "private",
|
|
6382
6273
|
"return": {
|
|
6383
6274
|
"type": {
|
|
@@ -6388,7 +6279,7 @@
|
|
|
6388
6279
|
{
|
|
6389
6280
|
"name": "event",
|
|
6390
6281
|
"type": {
|
|
6391
|
-
"text": "
|
|
6282
|
+
"text": "Event"
|
|
6392
6283
|
}
|
|
6393
6284
|
}
|
|
6394
6285
|
]
|
|
@@ -6396,200 +6287,229 @@
|
|
|
6396
6287
|
],
|
|
6397
6288
|
"events": [
|
|
6398
6289
|
{
|
|
6399
|
-
"description": "The
|
|
6400
|
-
"name": "kt-
|
|
6401
|
-
},
|
|
6402
|
-
{
|
|
6403
|
-
"description": "Files were refused. `detail: { files, reason }`.",
|
|
6404
|
-
"name": "kt-files-rejected"
|
|
6290
|
+
"description": "The box was checked or unchecked. `detail: { checked }`.",
|
|
6291
|
+
"name": "kt-change"
|
|
6405
6292
|
}
|
|
6406
6293
|
],
|
|
6407
6294
|
"attributes": [
|
|
6408
6295
|
{
|
|
6409
|
-
"name": "
|
|
6296
|
+
"name": "checked",
|
|
6410
6297
|
"type": {
|
|
6411
|
-
"text": "
|
|
6298
|
+
"text": "boolean"
|
|
6412
6299
|
},
|
|
6413
|
-
"default": "
|
|
6414
|
-
"
|
|
6415
|
-
"fieldName": "heading"
|
|
6300
|
+
"default": "false",
|
|
6301
|
+
"fieldName": "checked"
|
|
6416
6302
|
},
|
|
6417
6303
|
{
|
|
6418
|
-
"name": "
|
|
6304
|
+
"name": "indeterminate",
|
|
6419
6305
|
"type": {
|
|
6420
|
-
"text": "
|
|
6306
|
+
"text": "boolean"
|
|
6421
6307
|
},
|
|
6422
|
-
"default": "
|
|
6423
|
-
"description": "
|
|
6424
|
-
"fieldName": "
|
|
6308
|
+
"default": "false",
|
|
6309
|
+
"description": "Neither checked nor unchecked — for a \"select all\" over a partial\nselection. Cleared as soon as the user clicks, as on a native checkbox.",
|
|
6310
|
+
"fieldName": "indeterminate"
|
|
6425
6311
|
},
|
|
6426
6312
|
{
|
|
6427
|
-
"name": "
|
|
6313
|
+
"name": "disabled",
|
|
6428
6314
|
"type": {
|
|
6429
|
-
"text": "
|
|
6315
|
+
"text": "boolean"
|
|
6430
6316
|
},
|
|
6431
|
-
"default": "
|
|
6432
|
-
"
|
|
6433
|
-
"fieldName": "recommendedSize"
|
|
6317
|
+
"default": "false",
|
|
6318
|
+
"fieldName": "disabled"
|
|
6434
6319
|
},
|
|
6435
6320
|
{
|
|
6436
|
-
"name": "
|
|
6321
|
+
"name": "required",
|
|
6437
6322
|
"type": {
|
|
6438
6323
|
"text": "boolean"
|
|
6439
6324
|
},
|
|
6440
|
-
"default": "
|
|
6441
|
-
"fieldName": "
|
|
6325
|
+
"default": "false",
|
|
6326
|
+
"fieldName": "required"
|
|
6442
6327
|
},
|
|
6443
6328
|
{
|
|
6444
|
-
"name": "
|
|
6329
|
+
"name": "size",
|
|
6445
6330
|
"type": {
|
|
6446
|
-
"text": "
|
|
6331
|
+
"text": "KtCheckboxSize"
|
|
6447
6332
|
},
|
|
6448
|
-
"default": "''",
|
|
6449
|
-
"
|
|
6450
|
-
"fieldName": "accept"
|
|
6333
|
+
"default": "'medium'",
|
|
6334
|
+
"fieldName": "size"
|
|
6451
6335
|
},
|
|
6452
6336
|
{
|
|
6453
|
-
"name": "
|
|
6337
|
+
"name": "name",
|
|
6454
6338
|
"type": {
|
|
6455
|
-
"text": "
|
|
6339
|
+
"text": "string"
|
|
6456
6340
|
},
|
|
6457
|
-
"default": "
|
|
6458
|
-
"
|
|
6459
|
-
"fieldName": "maxSize"
|
|
6341
|
+
"default": "''",
|
|
6342
|
+
"fieldName": "name"
|
|
6460
6343
|
},
|
|
6461
6344
|
{
|
|
6462
|
-
"name": "
|
|
6345
|
+
"name": "value",
|
|
6463
6346
|
"type": {
|
|
6464
|
-
"text": "
|
|
6347
|
+
"text": "string"
|
|
6465
6348
|
},
|
|
6466
|
-
"default": "
|
|
6467
|
-
"
|
|
6349
|
+
"default": "'on'",
|
|
6350
|
+
"description": "Submitted when checked, as for a native checkbox.",
|
|
6351
|
+
"fieldName": "value"
|
|
6468
6352
|
},
|
|
6469
6353
|
{
|
|
6470
|
-
"name": "
|
|
6354
|
+
"name": "label",
|
|
6471
6355
|
"type": {
|
|
6472
6356
|
"text": "string"
|
|
6473
6357
|
},
|
|
6474
6358
|
"default": "''",
|
|
6475
|
-
"description": "
|
|
6476
|
-
"fieldName": "
|
|
6359
|
+
"description": "Accessible name, when nothing is slotted.",
|
|
6360
|
+
"fieldName": "label"
|
|
6477
6361
|
},
|
|
6478
6362
|
{
|
|
6479
|
-
"name": "
|
|
6363
|
+
"name": "error",
|
|
6480
6364
|
"type": {
|
|
6481
|
-
"text": "
|
|
6365
|
+
"text": "string"
|
|
6482
6366
|
},
|
|
6483
|
-
"default": "
|
|
6484
|
-
"
|
|
6367
|
+
"default": "''",
|
|
6368
|
+
"description": "Error message. A non-empty value puts the box in its error state.",
|
|
6369
|
+
"fieldName": "error"
|
|
6485
6370
|
}
|
|
6486
6371
|
],
|
|
6487
6372
|
"superclass": {
|
|
6488
6373
|
"name": "KtElement",
|
|
6489
|
-
"module": "dist/components/forms/kt-
|
|
6374
|
+
"module": "dist/components/forms/kt-checkbox/kt-checkbox.js"
|
|
6490
6375
|
},
|
|
6491
|
-
"tagName": "kt-
|
|
6376
|
+
"tagName": "kt-checkbox",
|
|
6492
6377
|
"customElement": true
|
|
6493
6378
|
}
|
|
6494
6379
|
],
|
|
6495
6380
|
"exports": [
|
|
6496
6381
|
{
|
|
6497
6382
|
"kind": "js",
|
|
6498
|
-
"name": "
|
|
6383
|
+
"name": "KtCheckbox",
|
|
6499
6384
|
"declaration": {
|
|
6500
|
-
"name": "
|
|
6501
|
-
"module": "dist/components/forms/kt-
|
|
6385
|
+
"name": "KtCheckbox",
|
|
6386
|
+
"module": "dist/components/forms/kt-checkbox/kt-checkbox.js"
|
|
6502
6387
|
}
|
|
6503
6388
|
}
|
|
6504
6389
|
]
|
|
6505
6390
|
},
|
|
6506
6391
|
{
|
|
6507
6392
|
"kind": "javascript-module",
|
|
6508
|
-
"path": "dist/components/forms/kt-
|
|
6393
|
+
"path": "dist/components/forms/kt-drag-drop/kt-drag-drop.js",
|
|
6509
6394
|
"declarations": [
|
|
6510
6395
|
{
|
|
6511
6396
|
"kind": "class",
|
|
6512
|
-
"description": "A
|
|
6513
|
-
"name": "
|
|
6397
|
+
"description": "A file drop zone.\n\nAccepts a drop or a click, lists what was picked with sizes and types, and\nlets each entry be removed. It holds the files in memory and reports them —\nuploading is the application's business.",
|
|
6398
|
+
"name": "KtDragDrop",
|
|
6514
6399
|
"cssParts": [
|
|
6515
6400
|
{
|
|
6516
|
-
"description": "The
|
|
6401
|
+
"description": "The dashed drop zone.",
|
|
6517
6402
|
"name": "base"
|
|
6518
6403
|
},
|
|
6519
6404
|
{
|
|
6520
|
-
"description": "The
|
|
6521
|
-
"name": "
|
|
6522
|
-
},
|
|
6523
|
-
{
|
|
6524
|
-
"description": "The field column.",
|
|
6525
|
-
"name": "fields"
|
|
6526
|
-
},
|
|
6527
|
-
{
|
|
6528
|
-
"description": "The action row.",
|
|
6529
|
-
"name": "footer"
|
|
6405
|
+
"description": "The list of chosen files.",
|
|
6406
|
+
"name": "list"
|
|
6530
6407
|
}
|
|
6531
6408
|
],
|
|
6532
|
-
"
|
|
6409
|
+
"members": [
|
|
6533
6410
|
{
|
|
6534
|
-
"
|
|
6535
|
-
"name": ""
|
|
6411
|
+
"kind": "field",
|
|
6412
|
+
"name": "formAssociated",
|
|
6413
|
+
"type": {
|
|
6414
|
+
"text": "boolean"
|
|
6415
|
+
},
|
|
6416
|
+
"static": true,
|
|
6417
|
+
"readonly": true,
|
|
6418
|
+
"default": "true"
|
|
6536
6419
|
},
|
|
6537
6420
|
{
|
|
6538
|
-
"
|
|
6539
|
-
"name": "
|
|
6421
|
+
"kind": "field",
|
|
6422
|
+
"name": "fileInput",
|
|
6423
|
+
"type": {
|
|
6424
|
+
"text": "HTMLInputElement"
|
|
6425
|
+
},
|
|
6426
|
+
"privacy": "private"
|
|
6540
6427
|
},
|
|
6541
|
-
{
|
|
6542
|
-
"description": "Actions, right-aligned. Hidden when empty.",
|
|
6543
|
-
"name": "footer"
|
|
6544
|
-
}
|
|
6545
|
-
],
|
|
6546
|
-
"members": [
|
|
6547
6428
|
{
|
|
6548
6429
|
"kind": "field",
|
|
6549
|
-
"name": "
|
|
6430
|
+
"name": "internals",
|
|
6550
6431
|
"type": {
|
|
6551
|
-
"text": "
|
|
6432
|
+
"text": "UsableInternals | null"
|
|
6552
6433
|
},
|
|
6553
|
-
"privacy": "private"
|
|
6434
|
+
"privacy": "private",
|
|
6435
|
+
"default": "null"
|
|
6554
6436
|
},
|
|
6555
6437
|
{
|
|
6556
6438
|
"kind": "field",
|
|
6557
|
-
"name": "
|
|
6439
|
+
"name": "dragging",
|
|
6558
6440
|
"type": {
|
|
6559
6441
|
"text": "boolean"
|
|
6560
6442
|
},
|
|
6561
6443
|
"privacy": "private",
|
|
6562
6444
|
"default": "false"
|
|
6563
6445
|
},
|
|
6446
|
+
{
|
|
6447
|
+
"kind": "field",
|
|
6448
|
+
"name": "files",
|
|
6449
|
+
"type": {
|
|
6450
|
+
"text": "File[]"
|
|
6451
|
+
},
|
|
6452
|
+
"privacy": "private",
|
|
6453
|
+
"default": "[]"
|
|
6454
|
+
},
|
|
6564
6455
|
{
|
|
6565
6456
|
"kind": "field",
|
|
6566
6457
|
"name": "heading",
|
|
6567
6458
|
"type": {
|
|
6568
|
-
"text": "string"
|
|
6459
|
+
"text": "string | undefined"
|
|
6569
6460
|
},
|
|
6570
|
-
"default": "
|
|
6571
|
-
"description": "
|
|
6461
|
+
"default": "undefined",
|
|
6462
|
+
"description": "The prompt above the browse link.\n\nNamed `heading`, not `title`: an element already has a `title`, and\nreusing it would put the prompt in a native tooltip on the whole zone.",
|
|
6572
6463
|
"attribute": "heading"
|
|
6573
6464
|
},
|
|
6574
6465
|
{
|
|
6575
6466
|
"kind": "field",
|
|
6576
|
-
"name": "
|
|
6467
|
+
"name": "linkText",
|
|
6468
|
+
"type": {
|
|
6469
|
+
"text": "string | undefined"
|
|
6470
|
+
},
|
|
6471
|
+
"default": "undefined",
|
|
6472
|
+
"description": "The clickable-looking part of the prompt.",
|
|
6473
|
+
"attribute": "link-text"
|
|
6474
|
+
},
|
|
6475
|
+
{
|
|
6476
|
+
"kind": "field",
|
|
6477
|
+
"name": "recommendedSize",
|
|
6577
6478
|
"type": {
|
|
6578
6479
|
"text": "string"
|
|
6579
6480
|
},
|
|
6580
6481
|
"default": "''",
|
|
6581
|
-
"
|
|
6482
|
+
"description": "Optional hint, e.g. `800×400px`.",
|
|
6483
|
+
"attribute": "recommended-size"
|
|
6582
6484
|
},
|
|
6583
6485
|
{
|
|
6584
6486
|
"kind": "field",
|
|
6585
|
-
"name": "
|
|
6487
|
+
"name": "multiple",
|
|
6586
6488
|
"type": {
|
|
6587
6489
|
"text": "boolean"
|
|
6588
6490
|
},
|
|
6589
|
-
"default": "
|
|
6590
|
-
"
|
|
6591
|
-
|
|
6592
|
-
|
|
6491
|
+
"default": "true",
|
|
6492
|
+
"attribute": "multiple"
|
|
6493
|
+
},
|
|
6494
|
+
{
|
|
6495
|
+
"kind": "field",
|
|
6496
|
+
"name": "accept",
|
|
6497
|
+
"type": {
|
|
6498
|
+
"text": "string"
|
|
6499
|
+
},
|
|
6500
|
+
"default": "''",
|
|
6501
|
+
"description": "Same syntax as the native `accept`: `image/*`, `.pdf,.docx`.",
|
|
6502
|
+
"attribute": "accept"
|
|
6503
|
+
},
|
|
6504
|
+
{
|
|
6505
|
+
"kind": "field",
|
|
6506
|
+
"name": "maxSize",
|
|
6507
|
+
"type": {
|
|
6508
|
+
"text": "number"
|
|
6509
|
+
},
|
|
6510
|
+
"default": "0",
|
|
6511
|
+
"description": "Largest accepted file, in bytes. Zero means no limit.",
|
|
6512
|
+
"attribute": "max-size"
|
|
6593
6513
|
},
|
|
6594
6514
|
{
|
|
6595
6515
|
"kind": "field",
|
|
@@ -6598,23 +6518,32 @@
|
|
|
6598
6518
|
"text": "boolean"
|
|
6599
6519
|
},
|
|
6600
6520
|
"default": "false",
|
|
6601
|
-
"description": "Switches off every field in the panel.",
|
|
6602
6521
|
"attribute": "disabled",
|
|
6603
6522
|
"reflects": true
|
|
6604
6523
|
},
|
|
6605
6524
|
{
|
|
6606
6525
|
"kind": "field",
|
|
6607
|
-
"name": "
|
|
6526
|
+
"name": "name",
|
|
6608
6527
|
"type": {
|
|
6609
|
-
"text": "
|
|
6528
|
+
"text": "string"
|
|
6610
6529
|
},
|
|
6611
|
-
"default": "
|
|
6612
|
-
"description": "
|
|
6613
|
-
"attribute": "
|
|
6530
|
+
"default": "''",
|
|
6531
|
+
"description": "The files are submitted under this name, as by `<input type=\"file\">`.",
|
|
6532
|
+
"attribute": "name"
|
|
6533
|
+
},
|
|
6534
|
+
{
|
|
6535
|
+
"kind": "field",
|
|
6536
|
+
"name": "required",
|
|
6537
|
+
"type": {
|
|
6538
|
+
"text": "boolean"
|
|
6539
|
+
},
|
|
6540
|
+
"default": "false",
|
|
6541
|
+
"attribute": "required",
|
|
6542
|
+
"reflects": true
|
|
6614
6543
|
},
|
|
6615
6544
|
{
|
|
6616
6545
|
"kind": "method",
|
|
6617
|
-
"name": "
|
|
6546
|
+
"name": "syncFormValue",
|
|
6618
6547
|
"privacy": "private",
|
|
6619
6548
|
"return": {
|
|
6620
6549
|
"type": {
|
|
@@ -6624,8 +6553,7 @@
|
|
|
6624
6553
|
},
|
|
6625
6554
|
{
|
|
6626
6555
|
"kind": "method",
|
|
6627
|
-
"name": "
|
|
6628
|
-
"privacy": "private",
|
|
6556
|
+
"name": "formResetCallback",
|
|
6629
6557
|
"return": {
|
|
6630
6558
|
"type": {
|
|
6631
6559
|
"text": "void"
|
|
@@ -6634,100 +6562,1172 @@
|
|
|
6634
6562
|
},
|
|
6635
6563
|
{
|
|
6636
6564
|
"kind": "method",
|
|
6637
|
-
"name": "
|
|
6638
|
-
"privacy": "private",
|
|
6565
|
+
"name": "formStateRestoreCallback",
|
|
6639
6566
|
"return": {
|
|
6640
6567
|
"type": {
|
|
6641
6568
|
"text": "void"
|
|
6642
6569
|
}
|
|
6643
|
-
}
|
|
6644
|
-
}
|
|
6645
|
-
],
|
|
6646
|
-
"attributes": [
|
|
6647
|
-
{
|
|
6648
|
-
"name": "heading",
|
|
6649
|
-
"type": {
|
|
6650
|
-
"text": "string"
|
|
6651
6570
|
},
|
|
6652
|
-
"
|
|
6653
|
-
|
|
6654
|
-
|
|
6571
|
+
"parameters": [
|
|
6572
|
+
{
|
|
6573
|
+
"name": "state",
|
|
6574
|
+
"type": {
|
|
6575
|
+
"text": "string | File | FormData | null"
|
|
6576
|
+
}
|
|
6577
|
+
}
|
|
6578
|
+
]
|
|
6655
6579
|
},
|
|
6656
6580
|
{
|
|
6657
|
-
"
|
|
6581
|
+
"kind": "field",
|
|
6582
|
+
"name": "selectedFiles",
|
|
6658
6583
|
"type": {
|
|
6659
|
-
"text": "
|
|
6584
|
+
"text": "readonly File[]"
|
|
6660
6585
|
},
|
|
6661
|
-
"
|
|
6662
|
-
"
|
|
6586
|
+
"description": "The files currently held, newest last.",
|
|
6587
|
+
"readonly": true
|
|
6663
6588
|
},
|
|
6664
6589
|
{
|
|
6665
|
-
"
|
|
6666
|
-
"
|
|
6667
|
-
|
|
6590
|
+
"kind": "method",
|
|
6591
|
+
"name": "clear",
|
|
6592
|
+
"return": {
|
|
6593
|
+
"type": {
|
|
6594
|
+
"text": "void"
|
|
6595
|
+
}
|
|
6668
6596
|
},
|
|
6669
|
-
"
|
|
6670
|
-
"description": "Replaces the fields with placeholders.",
|
|
6671
|
-
"fieldName": "loading"
|
|
6597
|
+
"description": "Empties the selection without firing a rejection."
|
|
6672
6598
|
},
|
|
6673
6599
|
{
|
|
6674
|
-
"
|
|
6675
|
-
"
|
|
6676
|
-
|
|
6600
|
+
"kind": "method",
|
|
6601
|
+
"name": "accepts",
|
|
6602
|
+
"privacy": "private",
|
|
6603
|
+
"return": {
|
|
6604
|
+
"type": {
|
|
6605
|
+
"text": "boolean"
|
|
6606
|
+
}
|
|
6677
6607
|
},
|
|
6678
|
-
"
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6608
|
+
"parameters": [
|
|
6609
|
+
{
|
|
6610
|
+
"name": "file",
|
|
6611
|
+
"type": {
|
|
6612
|
+
"text": "File"
|
|
6613
|
+
}
|
|
6614
|
+
}
|
|
6615
|
+
],
|
|
6616
|
+
"description": "`accept` is advisory on a native input — the OS dialog filters, but a\ndropped file bypasses it entirely — so the same rules are enforced here."
|
|
6617
|
+
},
|
|
6618
|
+
{
|
|
6619
|
+
"kind": "method",
|
|
6620
|
+
"name": "addFiles",
|
|
6621
|
+
"privacy": "private",
|
|
6622
|
+
"return": {
|
|
6623
|
+
"type": {
|
|
6624
|
+
"text": "void"
|
|
6625
|
+
}
|
|
6626
|
+
},
|
|
6627
|
+
"parameters": [
|
|
6628
|
+
{
|
|
6629
|
+
"name": "incoming",
|
|
6630
|
+
"type": {
|
|
6631
|
+
"text": "FileList | null"
|
|
6632
|
+
}
|
|
6633
|
+
}
|
|
6634
|
+
]
|
|
6635
|
+
},
|
|
6636
|
+
{
|
|
6637
|
+
"kind": "method",
|
|
6638
|
+
"name": "removeAt",
|
|
6639
|
+
"privacy": "private",
|
|
6640
|
+
"return": {
|
|
6641
|
+
"type": {
|
|
6642
|
+
"text": "void"
|
|
6643
|
+
}
|
|
6644
|
+
},
|
|
6645
|
+
"parameters": [
|
|
6646
|
+
{
|
|
6647
|
+
"name": "index",
|
|
6648
|
+
"type": {
|
|
6649
|
+
"text": "number"
|
|
6650
|
+
}
|
|
6651
|
+
}
|
|
6652
|
+
]
|
|
6653
|
+
},
|
|
6654
|
+
{
|
|
6655
|
+
"kind": "method",
|
|
6656
|
+
"name": "browse",
|
|
6657
|
+
"privacy": "private",
|
|
6658
|
+
"return": {
|
|
6659
|
+
"type": {
|
|
6660
|
+
"text": "void"
|
|
6661
|
+
}
|
|
6662
|
+
}
|
|
6663
|
+
},
|
|
6664
|
+
{
|
|
6665
|
+
"kind": "method",
|
|
6666
|
+
"name": "onZoneKeyDown",
|
|
6667
|
+
"privacy": "private",
|
|
6668
|
+
"return": {
|
|
6669
|
+
"type": {
|
|
6670
|
+
"text": "void"
|
|
6671
|
+
}
|
|
6672
|
+
},
|
|
6673
|
+
"parameters": [
|
|
6674
|
+
{
|
|
6675
|
+
"name": "event",
|
|
6676
|
+
"type": {
|
|
6677
|
+
"text": "KeyboardEvent"
|
|
6678
|
+
}
|
|
6679
|
+
}
|
|
6680
|
+
]
|
|
6681
|
+
},
|
|
6682
|
+
{
|
|
6683
|
+
"kind": "method",
|
|
6684
|
+
"name": "onDragOver",
|
|
6685
|
+
"privacy": "private",
|
|
6686
|
+
"return": {
|
|
6687
|
+
"type": {
|
|
6688
|
+
"text": "void"
|
|
6689
|
+
}
|
|
6690
|
+
},
|
|
6691
|
+
"parameters": [
|
|
6692
|
+
{
|
|
6693
|
+
"name": "event",
|
|
6694
|
+
"type": {
|
|
6695
|
+
"text": "DragEvent"
|
|
6696
|
+
}
|
|
6697
|
+
}
|
|
6698
|
+
]
|
|
6699
|
+
},
|
|
6700
|
+
{
|
|
6701
|
+
"kind": "method",
|
|
6702
|
+
"name": "onDrop",
|
|
6703
|
+
"privacy": "private",
|
|
6704
|
+
"return": {
|
|
6705
|
+
"type": {
|
|
6706
|
+
"text": "void"
|
|
6707
|
+
}
|
|
6708
|
+
},
|
|
6709
|
+
"parameters": [
|
|
6710
|
+
{
|
|
6711
|
+
"name": "event",
|
|
6712
|
+
"type": {
|
|
6713
|
+
"text": "DragEvent"
|
|
6714
|
+
}
|
|
6715
|
+
}
|
|
6716
|
+
]
|
|
6717
|
+
}
|
|
6718
|
+
],
|
|
6719
|
+
"events": [
|
|
6720
|
+
{
|
|
6721
|
+
"description": "The selection changed. `detail: { files }`.",
|
|
6722
|
+
"name": "kt-files-change"
|
|
6723
|
+
},
|
|
6724
|
+
{
|
|
6725
|
+
"description": "Files were refused. `detail: { files, reason }`.",
|
|
6726
|
+
"name": "kt-files-rejected"
|
|
6727
|
+
}
|
|
6728
|
+
],
|
|
6729
|
+
"attributes": [
|
|
6730
|
+
{
|
|
6731
|
+
"name": "heading",
|
|
6732
|
+
"type": {
|
|
6733
|
+
"text": "string | undefined"
|
|
6734
|
+
},
|
|
6735
|
+
"default": "undefined",
|
|
6736
|
+
"description": "The prompt above the browse link.\n\nNamed `heading`, not `title`: an element already has a `title`, and\nreusing it would put the prompt in a native tooltip on the whole zone.",
|
|
6737
|
+
"fieldName": "heading"
|
|
6738
|
+
},
|
|
6739
|
+
{
|
|
6740
|
+
"name": "link-text",
|
|
6741
|
+
"type": {
|
|
6742
|
+
"text": "string | undefined"
|
|
6743
|
+
},
|
|
6744
|
+
"default": "undefined",
|
|
6745
|
+
"description": "The clickable-looking part of the prompt.",
|
|
6746
|
+
"fieldName": "linkText"
|
|
6747
|
+
},
|
|
6748
|
+
{
|
|
6749
|
+
"name": "recommended-size",
|
|
6750
|
+
"type": {
|
|
6751
|
+
"text": "string"
|
|
6752
|
+
},
|
|
6753
|
+
"default": "''",
|
|
6754
|
+
"description": "Optional hint, e.g. `800×400px`.",
|
|
6755
|
+
"fieldName": "recommendedSize"
|
|
6756
|
+
},
|
|
6757
|
+
{
|
|
6758
|
+
"name": "multiple",
|
|
6759
|
+
"type": {
|
|
6760
|
+
"text": "boolean"
|
|
6761
|
+
},
|
|
6762
|
+
"default": "true",
|
|
6763
|
+
"fieldName": "multiple"
|
|
6764
|
+
},
|
|
6765
|
+
{
|
|
6766
|
+
"name": "accept",
|
|
6767
|
+
"type": {
|
|
6768
|
+
"text": "string"
|
|
6769
|
+
},
|
|
6770
|
+
"default": "''",
|
|
6771
|
+
"description": "Same syntax as the native `accept`: `image/*`, `.pdf,.docx`.",
|
|
6772
|
+
"fieldName": "accept"
|
|
6773
|
+
},
|
|
6774
|
+
{
|
|
6775
|
+
"name": "max-size",
|
|
6776
|
+
"type": {
|
|
6777
|
+
"text": "number"
|
|
6778
|
+
},
|
|
6779
|
+
"default": "0",
|
|
6780
|
+
"description": "Largest accepted file, in bytes. Zero means no limit.",
|
|
6781
|
+
"fieldName": "maxSize"
|
|
6782
|
+
},
|
|
6783
|
+
{
|
|
6784
|
+
"name": "disabled",
|
|
6785
|
+
"type": {
|
|
6786
|
+
"text": "boolean"
|
|
6787
|
+
},
|
|
6788
|
+
"default": "false",
|
|
6789
|
+
"fieldName": "disabled"
|
|
6790
|
+
},
|
|
6791
|
+
{
|
|
6792
|
+
"name": "name",
|
|
6793
|
+
"type": {
|
|
6794
|
+
"text": "string"
|
|
6795
|
+
},
|
|
6796
|
+
"default": "''",
|
|
6797
|
+
"description": "The files are submitted under this name, as by `<input type=\"file\">`.",
|
|
6798
|
+
"fieldName": "name"
|
|
6799
|
+
},
|
|
6800
|
+
{
|
|
6801
|
+
"name": "required",
|
|
6802
|
+
"type": {
|
|
6803
|
+
"text": "boolean"
|
|
6804
|
+
},
|
|
6805
|
+
"default": "false",
|
|
6806
|
+
"fieldName": "required"
|
|
6807
|
+
}
|
|
6808
|
+
],
|
|
6809
|
+
"superclass": {
|
|
6810
|
+
"name": "KtElement",
|
|
6811
|
+
"module": "dist/components/forms/kt-drag-drop/kt-drag-drop.js"
|
|
6812
|
+
},
|
|
6813
|
+
"tagName": "kt-drag-drop",
|
|
6814
|
+
"customElement": true
|
|
6815
|
+
}
|
|
6816
|
+
],
|
|
6817
|
+
"exports": [
|
|
6818
|
+
{
|
|
6819
|
+
"kind": "js",
|
|
6820
|
+
"name": "KtDragDrop",
|
|
6821
|
+
"declaration": {
|
|
6822
|
+
"name": "KtDragDrop",
|
|
6823
|
+
"module": "dist/components/forms/kt-drag-drop/kt-drag-drop.js"
|
|
6824
|
+
}
|
|
6825
|
+
}
|
|
6826
|
+
]
|
|
6827
|
+
},
|
|
6828
|
+
{
|
|
6829
|
+
"kind": "javascript-module",
|
|
6830
|
+
"path": "dist/components/forms/kt-form/kt-form.js",
|
|
6831
|
+
"declarations": [
|
|
6832
|
+
{
|
|
6833
|
+
"kind": "class",
|
|
6834
|
+
"description": "A panel grouping related fields.\n\nIt sits one step above the page on `--surface-form`, so the fields inside —\nfilled at `--surface-field` — read as wells recessed into it rather than as\nboxes floating on it.\n\n**Put it inside your own `<form>`.** It renders a `<fieldset>`, not a form:\nKanto fields are form-associated custom elements, and a control finds its\nform by walking its *own* tree. A `<form>` inside this element's shadow root\nwould not own anything slotted into it, and `new FormData(form)` would come\nback empty. The `<form>` above stays in charge of submission, validation and\nreset; this owns the grouping and the look.",
|
|
6835
|
+
"name": "KtForm",
|
|
6836
|
+
"cssParts": [
|
|
6837
|
+
{
|
|
6838
|
+
"description": "The `<fieldset>`.",
|
|
6839
|
+
"name": "base"
|
|
6840
|
+
},
|
|
6841
|
+
{
|
|
6842
|
+
"description": "The heading and description.",
|
|
6843
|
+
"name": "header"
|
|
6844
|
+
},
|
|
6845
|
+
{
|
|
6846
|
+
"description": "The field column.",
|
|
6847
|
+
"name": "fields"
|
|
6848
|
+
},
|
|
6849
|
+
{
|
|
6850
|
+
"description": "The action row.",
|
|
6851
|
+
"name": "footer"
|
|
6852
|
+
}
|
|
6853
|
+
],
|
|
6854
|
+
"slots": [
|
|
6855
|
+
{
|
|
6856
|
+
"description": "The fields.",
|
|
6857
|
+
"name": ""
|
|
6858
|
+
},
|
|
6859
|
+
{
|
|
6860
|
+
"description": "Replaces the `heading` attribute, for markup.",
|
|
6861
|
+
"name": "heading"
|
|
6862
|
+
},
|
|
6863
|
+
{
|
|
6864
|
+
"description": "Actions, right-aligned. Hidden when empty.",
|
|
6865
|
+
"name": "footer"
|
|
6866
|
+
}
|
|
6867
|
+
],
|
|
6868
|
+
"members": [
|
|
6869
|
+
{
|
|
6870
|
+
"kind": "field",
|
|
6871
|
+
"name": "fields",
|
|
6872
|
+
"type": {
|
|
6873
|
+
"text": "HTMLElement[]"
|
|
6874
|
+
},
|
|
6875
|
+
"privacy": "private"
|
|
6876
|
+
},
|
|
6877
|
+
{
|
|
6878
|
+
"kind": "field",
|
|
6879
|
+
"name": "hasFooter",
|
|
6880
|
+
"type": {
|
|
6881
|
+
"text": "boolean"
|
|
6882
|
+
},
|
|
6883
|
+
"privacy": "private",
|
|
6884
|
+
"default": "false"
|
|
6885
|
+
},
|
|
6886
|
+
{
|
|
6887
|
+
"kind": "field",
|
|
6888
|
+
"name": "heading",
|
|
6889
|
+
"type": {
|
|
6890
|
+
"text": "string"
|
|
6891
|
+
},
|
|
6892
|
+
"default": "''",
|
|
6893
|
+
"description": "Group heading. Also the fieldset's accessible name.",
|
|
6894
|
+
"attribute": "heading"
|
|
6895
|
+
},
|
|
6896
|
+
{
|
|
6897
|
+
"kind": "field",
|
|
6898
|
+
"name": "description",
|
|
6899
|
+
"type": {
|
|
6900
|
+
"text": "string"
|
|
6901
|
+
},
|
|
6902
|
+
"default": "''",
|
|
6903
|
+
"attribute": "description"
|
|
6904
|
+
},
|
|
6905
|
+
{
|
|
6906
|
+
"kind": "field",
|
|
6907
|
+
"name": "loading",
|
|
6908
|
+
"type": {
|
|
6909
|
+
"text": "boolean"
|
|
6910
|
+
},
|
|
6911
|
+
"default": "false",
|
|
6912
|
+
"description": "Replaces the fields with placeholders.",
|
|
6913
|
+
"attribute": "loading",
|
|
6914
|
+
"reflects": true
|
|
6915
|
+
},
|
|
6916
|
+
{
|
|
6917
|
+
"kind": "field",
|
|
6918
|
+
"name": "disabled",
|
|
6919
|
+
"type": {
|
|
6920
|
+
"text": "boolean"
|
|
6921
|
+
},
|
|
6922
|
+
"default": "false",
|
|
6923
|
+
"description": "Switches off every field in the panel.",
|
|
6924
|
+
"attribute": "disabled",
|
|
6925
|
+
"reflects": true
|
|
6926
|
+
},
|
|
6927
|
+
{
|
|
6928
|
+
"kind": "field",
|
|
6929
|
+
"name": "loadingFields",
|
|
6930
|
+
"type": {
|
|
6931
|
+
"text": "number"
|
|
6932
|
+
},
|
|
6933
|
+
"default": "3",
|
|
6934
|
+
"description": "How many placeholder fields `loading` draws.",
|
|
6935
|
+
"attribute": "loading-fields"
|
|
6936
|
+
},
|
|
6937
|
+
{
|
|
6938
|
+
"kind": "method",
|
|
6939
|
+
"name": "readSlots",
|
|
6940
|
+
"privacy": "private",
|
|
6941
|
+
"return": {
|
|
6942
|
+
"type": {
|
|
6943
|
+
"text": "void"
|
|
6944
|
+
}
|
|
6945
|
+
}
|
|
6946
|
+
},
|
|
6947
|
+
{
|
|
6948
|
+
"kind": "method",
|
|
6949
|
+
"name": "onFooterSlotChange",
|
|
6950
|
+
"privacy": "private",
|
|
6951
|
+
"return": {
|
|
6952
|
+
"type": {
|
|
6953
|
+
"text": "void"
|
|
6954
|
+
}
|
|
6955
|
+
}
|
|
6956
|
+
},
|
|
6957
|
+
{
|
|
6958
|
+
"kind": "method",
|
|
6959
|
+
"name": "syncDisabled",
|
|
6960
|
+
"privacy": "private",
|
|
6961
|
+
"return": {
|
|
6962
|
+
"type": {
|
|
6963
|
+
"text": "void"
|
|
6964
|
+
}
|
|
6965
|
+
}
|
|
6966
|
+
}
|
|
6967
|
+
],
|
|
6968
|
+
"attributes": [
|
|
6969
|
+
{
|
|
6970
|
+
"name": "heading",
|
|
6971
|
+
"type": {
|
|
6972
|
+
"text": "string"
|
|
6973
|
+
},
|
|
6974
|
+
"default": "''",
|
|
6975
|
+
"description": "Group heading. Also the fieldset's accessible name.",
|
|
6976
|
+
"fieldName": "heading"
|
|
6977
|
+
},
|
|
6978
|
+
{
|
|
6979
|
+
"name": "description",
|
|
6980
|
+
"type": {
|
|
6981
|
+
"text": "string"
|
|
6982
|
+
},
|
|
6983
|
+
"default": "''",
|
|
6984
|
+
"fieldName": "description"
|
|
6985
|
+
},
|
|
6986
|
+
{
|
|
6987
|
+
"name": "loading",
|
|
6988
|
+
"type": {
|
|
6989
|
+
"text": "boolean"
|
|
6990
|
+
},
|
|
6991
|
+
"default": "false",
|
|
6992
|
+
"description": "Replaces the fields with placeholders.",
|
|
6993
|
+
"fieldName": "loading"
|
|
6994
|
+
},
|
|
6995
|
+
{
|
|
6996
|
+
"name": "disabled",
|
|
6997
|
+
"type": {
|
|
6998
|
+
"text": "boolean"
|
|
6999
|
+
},
|
|
7000
|
+
"default": "false",
|
|
7001
|
+
"description": "Switches off every field in the panel.",
|
|
7002
|
+
"fieldName": "disabled"
|
|
7003
|
+
},
|
|
7004
|
+
{
|
|
7005
|
+
"name": "loading-fields",
|
|
7006
|
+
"type": {
|
|
7007
|
+
"text": "number"
|
|
7008
|
+
},
|
|
7009
|
+
"default": "3",
|
|
7010
|
+
"description": "How many placeholder fields `loading` draws.",
|
|
7011
|
+
"fieldName": "loadingFields"
|
|
7012
|
+
}
|
|
7013
|
+
],
|
|
7014
|
+
"superclass": {
|
|
7015
|
+
"name": "KtElement",
|
|
7016
|
+
"module": "dist/components/forms/kt-form/kt-form.js"
|
|
7017
|
+
},
|
|
7018
|
+
"tagName": "kt-form",
|
|
7019
|
+
"customElement": true
|
|
7020
|
+
}
|
|
7021
|
+
],
|
|
7022
|
+
"exports": [
|
|
7023
|
+
{
|
|
7024
|
+
"kind": "js",
|
|
7025
|
+
"name": "KtForm",
|
|
7026
|
+
"declaration": {
|
|
7027
|
+
"name": "KtForm",
|
|
7028
|
+
"module": "dist/components/forms/kt-form/kt-form.js"
|
|
7029
|
+
}
|
|
7030
|
+
}
|
|
7031
|
+
]
|
|
7032
|
+
},
|
|
7033
|
+
{
|
|
7034
|
+
"kind": "javascript-module",
|
|
7035
|
+
"path": "dist/components/forms/kt-input/kt-input.js",
|
|
7036
|
+
"declarations": [
|
|
7037
|
+
{
|
|
7038
|
+
"kind": "class",
|
|
7039
|
+
"description": "A single-line text field.\n\nBorderless by design: the field is a fill on `--color-dark-12` that gains a\n2px *outline* — grey on hover, primary on focus, danger on error. An outline\nsits outside the box, so nothing reflows when the state changes.\n\nThe element is form-associated: it serialises into `FormData` under its\n`name`, resets with the form, and reports validity like a native input.",
|
|
7040
|
+
"name": "KtInput",
|
|
7041
|
+
"cssParts": [
|
|
7042
|
+
{
|
|
7043
|
+
"description": "The field container.",
|
|
7044
|
+
"name": "base"
|
|
7045
|
+
},
|
|
7046
|
+
{
|
|
7047
|
+
"description": "The native `<input>`.",
|
|
7048
|
+
"name": "control"
|
|
7049
|
+
},
|
|
7050
|
+
{
|
|
7051
|
+
"description": "The trailing icon row.",
|
|
7052
|
+
"name": "actions"
|
|
7053
|
+
}
|
|
7054
|
+
],
|
|
7055
|
+
"members": [
|
|
7056
|
+
{
|
|
7057
|
+
"kind": "field",
|
|
7058
|
+
"name": "formAssociated",
|
|
7059
|
+
"type": {
|
|
7060
|
+
"text": "boolean"
|
|
7061
|
+
},
|
|
7062
|
+
"static": true,
|
|
7063
|
+
"readonly": true,
|
|
7064
|
+
"default": "true"
|
|
7065
|
+
},
|
|
7066
|
+
{
|
|
7067
|
+
"kind": "field",
|
|
7068
|
+
"name": "input",
|
|
7069
|
+
"type": {
|
|
7070
|
+
"text": "HTMLInputElement"
|
|
7071
|
+
},
|
|
7072
|
+
"privacy": "private"
|
|
7073
|
+
},
|
|
7074
|
+
{
|
|
7075
|
+
"kind": "field",
|
|
7076
|
+
"name": "internals",
|
|
7077
|
+
"type": {
|
|
7078
|
+
"text": "UsableInternals | null"
|
|
7079
|
+
},
|
|
7080
|
+
"privacy": "private",
|
|
7081
|
+
"default": "null"
|
|
7082
|
+
},
|
|
7083
|
+
{
|
|
7084
|
+
"kind": "field",
|
|
7085
|
+
"name": "passwordVisible",
|
|
7086
|
+
"type": {
|
|
7087
|
+
"text": "boolean"
|
|
7088
|
+
},
|
|
7089
|
+
"privacy": "private",
|
|
7090
|
+
"default": "false",
|
|
7091
|
+
"description": "True while a `password` field is showing its contents."
|
|
7092
|
+
},
|
|
7093
|
+
{
|
|
7094
|
+
"kind": "field",
|
|
7095
|
+
"name": "countryOpen",
|
|
7096
|
+
"type": {
|
|
7097
|
+
"text": "boolean"
|
|
7098
|
+
},
|
|
7099
|
+
"privacy": "private",
|
|
7100
|
+
"default": "false"
|
|
7101
|
+
},
|
|
7102
|
+
{
|
|
7103
|
+
"kind": "field",
|
|
7104
|
+
"name": "countryQuery",
|
|
7105
|
+
"type": {
|
|
7106
|
+
"text": "string"
|
|
7107
|
+
},
|
|
7108
|
+
"privacy": "private",
|
|
7109
|
+
"default": "''"
|
|
7110
|
+
},
|
|
7111
|
+
{
|
|
7112
|
+
"kind": "field",
|
|
7113
|
+
"name": "value",
|
|
7114
|
+
"type": {
|
|
7115
|
+
"text": "string"
|
|
7116
|
+
},
|
|
7117
|
+
"default": "''",
|
|
7118
|
+
"description": "The field's value. The `value` attribute seeds it and acts as the reset value.",
|
|
7119
|
+
"attribute": "value"
|
|
7120
|
+
},
|
|
7121
|
+
{
|
|
7122
|
+
"kind": "field",
|
|
7123
|
+
"name": "name",
|
|
7124
|
+
"type": {
|
|
7125
|
+
"text": "string"
|
|
7126
|
+
},
|
|
7127
|
+
"default": "''",
|
|
7128
|
+
"attribute": "name"
|
|
7129
|
+
},
|
|
7130
|
+
{
|
|
7131
|
+
"kind": "field",
|
|
7132
|
+
"name": "type",
|
|
7133
|
+
"type": {
|
|
7134
|
+
"text": "string"
|
|
7135
|
+
},
|
|
7136
|
+
"default": "'text'",
|
|
7137
|
+
"description": "Any native input type. `password` adds the reveal toggle.",
|
|
7138
|
+
"attribute": "type"
|
|
7139
|
+
},
|
|
7140
|
+
{
|
|
7141
|
+
"kind": "field",
|
|
7142
|
+
"name": "placeholder",
|
|
7143
|
+
"type": {
|
|
7144
|
+
"text": "string"
|
|
7145
|
+
},
|
|
7146
|
+
"default": "''",
|
|
7147
|
+
"attribute": "placeholder"
|
|
7148
|
+
},
|
|
7149
|
+
{
|
|
7150
|
+
"kind": "field",
|
|
7151
|
+
"name": "size",
|
|
7152
|
+
"type": {
|
|
7153
|
+
"text": "KtInputSize"
|
|
7154
|
+
},
|
|
7155
|
+
"default": "'medium'",
|
|
7156
|
+
"description": "Field height: 32 / 40 / 48px at the desktop scale.",
|
|
7157
|
+
"attribute": "size",
|
|
7158
|
+
"reflects": true
|
|
7159
|
+
},
|
|
7160
|
+
{
|
|
7161
|
+
"kind": "field",
|
|
7162
|
+
"name": "disabled",
|
|
7163
|
+
"type": {
|
|
7164
|
+
"text": "boolean"
|
|
7165
|
+
},
|
|
7166
|
+
"default": "false",
|
|
7167
|
+
"attribute": "disabled",
|
|
7168
|
+
"reflects": true
|
|
7169
|
+
},
|
|
7170
|
+
{
|
|
7171
|
+
"kind": "field",
|
|
7172
|
+
"name": "readonly",
|
|
7173
|
+
"type": {
|
|
7174
|
+
"text": "boolean"
|
|
7175
|
+
},
|
|
7176
|
+
"default": "false",
|
|
7177
|
+
"attribute": "readonly",
|
|
7178
|
+
"reflects": true
|
|
7179
|
+
},
|
|
7180
|
+
{
|
|
7181
|
+
"kind": "field",
|
|
7182
|
+
"name": "required",
|
|
7183
|
+
"type": {
|
|
7184
|
+
"text": "boolean"
|
|
7185
|
+
},
|
|
7186
|
+
"default": "false",
|
|
7187
|
+
"attribute": "required",
|
|
7188
|
+
"reflects": true
|
|
7189
|
+
},
|
|
7190
|
+
{
|
|
7191
|
+
"kind": "field",
|
|
7192
|
+
"name": "icon",
|
|
7193
|
+
"type": {
|
|
7194
|
+
"text": "string"
|
|
7195
|
+
},
|
|
7196
|
+
"default": "''",
|
|
7197
|
+
"description": "Trailing Lucide icon, kebab-case.",
|
|
7198
|
+
"attribute": "icon"
|
|
7199
|
+
},
|
|
7200
|
+
{
|
|
7201
|
+
"kind": "field",
|
|
7202
|
+
"name": "error",
|
|
7203
|
+
"type": {
|
|
7204
|
+
"text": "string"
|
|
7205
|
+
},
|
|
7206
|
+
"default": "''",
|
|
7207
|
+
"description": "Error message. A non-empty value puts the field in its error state.",
|
|
7208
|
+
"attribute": "error",
|
|
7209
|
+
"reflects": true
|
|
7210
|
+
},
|
|
7211
|
+
{
|
|
7212
|
+
"kind": "field",
|
|
7213
|
+
"name": "clearable",
|
|
7214
|
+
"type": {
|
|
7215
|
+
"text": "boolean"
|
|
7216
|
+
},
|
|
7217
|
+
"default": "true",
|
|
7218
|
+
"description": "Shows the clear button once there is something to clear.",
|
|
7219
|
+
"attribute": "clearable"
|
|
7220
|
+
},
|
|
7221
|
+
{
|
|
7222
|
+
"kind": "field",
|
|
7223
|
+
"name": "label",
|
|
7224
|
+
"type": {
|
|
7225
|
+
"text": "string"
|
|
7226
|
+
},
|
|
7227
|
+
"default": "''",
|
|
7228
|
+
"description": "Accessible name, when no `<kt-label-input>` wraps the field.",
|
|
7229
|
+
"attribute": "label"
|
|
7230
|
+
},
|
|
7231
|
+
{
|
|
7232
|
+
"kind": "field",
|
|
7233
|
+
"name": "autocomplete",
|
|
7234
|
+
"type": {
|
|
7235
|
+
"text": "string"
|
|
7236
|
+
},
|
|
7237
|
+
"default": "''",
|
|
7238
|
+
"attribute": "autocomplete"
|
|
7239
|
+
},
|
|
7240
|
+
{
|
|
7241
|
+
"kind": "field",
|
|
7242
|
+
"name": "maxlength",
|
|
7243
|
+
"type": {
|
|
7244
|
+
"text": "number | undefined"
|
|
7245
|
+
},
|
|
7246
|
+
"attribute": "maxlength"
|
|
7247
|
+
},
|
|
7248
|
+
{
|
|
7249
|
+
"kind": "field",
|
|
7250
|
+
"name": "countries",
|
|
7251
|
+
"type": {
|
|
7252
|
+
"text": "readonly KtCountry[]"
|
|
7253
|
+
},
|
|
7254
|
+
"default": "DEFAULT_COUNTRIES",
|
|
7255
|
+
"description": "Countries offered in phone mode. Replace it to widen the list."
|
|
7256
|
+
},
|
|
7257
|
+
{
|
|
7258
|
+
"kind": "field",
|
|
7259
|
+
"name": "country",
|
|
7260
|
+
"type": {
|
|
7261
|
+
"text": "string"
|
|
7262
|
+
},
|
|
7263
|
+
"default": "'us'",
|
|
7264
|
+
"description": "Selected country in phone mode, as an ISO 3166-1 alpha-2 code.",
|
|
7265
|
+
"attribute": "country"
|
|
7266
|
+
},
|
|
7267
|
+
{
|
|
7268
|
+
"kind": "field",
|
|
7269
|
+
"name": "defaultValue",
|
|
7270
|
+
"type": {
|
|
7271
|
+
"text": "string"
|
|
7272
|
+
},
|
|
7273
|
+
"privacy": "private",
|
|
7274
|
+
"default": "''",
|
|
7275
|
+
"description": "The value the enclosing form resets to."
|
|
7276
|
+
},
|
|
7277
|
+
{
|
|
7278
|
+
"kind": "method",
|
|
7279
|
+
"name": "refreshValidity",
|
|
7280
|
+
"privacy": "private",
|
|
7281
|
+
"return": {
|
|
7282
|
+
"type": {
|
|
7283
|
+
"text": "void"
|
|
7284
|
+
}
|
|
7285
|
+
}
|
|
7286
|
+
},
|
|
7287
|
+
{
|
|
7288
|
+
"kind": "method",
|
|
7289
|
+
"name": "formResetCallback",
|
|
7290
|
+
"return": {
|
|
7291
|
+
"type": {
|
|
7292
|
+
"text": "void"
|
|
7293
|
+
}
|
|
7294
|
+
},
|
|
7295
|
+
"description": "Called by the platform when the enclosing form is reset."
|
|
7296
|
+
},
|
|
7297
|
+
{
|
|
7298
|
+
"kind": "method",
|
|
7299
|
+
"name": "formStateRestoreCallback",
|
|
7300
|
+
"return": {
|
|
7301
|
+
"type": {
|
|
7302
|
+
"text": "void"
|
|
7303
|
+
}
|
|
7304
|
+
},
|
|
7305
|
+
"parameters": [
|
|
7306
|
+
{
|
|
7307
|
+
"name": "state",
|
|
7308
|
+
"type": {
|
|
7309
|
+
"text": "string"
|
|
7310
|
+
}
|
|
7311
|
+
}
|
|
7312
|
+
],
|
|
7313
|
+
"description": "Called by the platform when the browser restores a session."
|
|
7314
|
+
},
|
|
7315
|
+
{
|
|
7316
|
+
"kind": "method",
|
|
7317
|
+
"name": "focus",
|
|
7318
|
+
"return": {
|
|
7319
|
+
"type": {
|
|
7320
|
+
"text": "void"
|
|
7321
|
+
}
|
|
7322
|
+
},
|
|
7323
|
+
"parameters": [
|
|
7324
|
+
{
|
|
7325
|
+
"name": "options",
|
|
7326
|
+
"optional": true,
|
|
7327
|
+
"type": {
|
|
7328
|
+
"text": "FocusOptions"
|
|
7329
|
+
}
|
|
7330
|
+
}
|
|
7331
|
+
]
|
|
7332
|
+
},
|
|
7333
|
+
{
|
|
7334
|
+
"kind": "method",
|
|
7335
|
+
"name": "blur",
|
|
7336
|
+
"return": {
|
|
7337
|
+
"type": {
|
|
7338
|
+
"text": "void"
|
|
7339
|
+
}
|
|
7340
|
+
}
|
|
7341
|
+
},
|
|
7342
|
+
{
|
|
7343
|
+
"kind": "method",
|
|
7344
|
+
"name": "select",
|
|
7345
|
+
"return": {
|
|
7346
|
+
"type": {
|
|
7347
|
+
"text": "void"
|
|
7348
|
+
}
|
|
7349
|
+
},
|
|
7350
|
+
"description": "Selects the field's contents, as `HTMLInputElement.select()` does."
|
|
7351
|
+
},
|
|
7352
|
+
{
|
|
7353
|
+
"kind": "field",
|
|
7354
|
+
"name": "isPhone",
|
|
7355
|
+
"type": {
|
|
7356
|
+
"text": "boolean"
|
|
7357
|
+
},
|
|
7358
|
+
"privacy": "private",
|
|
7359
|
+
"description": "Phone mode: the country picker, digit-only storage and grouped display.",
|
|
7360
|
+
"readonly": true
|
|
7361
|
+
},
|
|
7362
|
+
{
|
|
7363
|
+
"kind": "field",
|
|
7364
|
+
"name": "selectedCountry",
|
|
7365
|
+
"type": {
|
|
7366
|
+
"text": "KtCountry | undefined"
|
|
7367
|
+
},
|
|
7368
|
+
"privacy": "private",
|
|
7369
|
+
"readonly": true
|
|
7370
|
+
},
|
|
7371
|
+
{
|
|
7372
|
+
"kind": "field",
|
|
7373
|
+
"name": "formValue",
|
|
7374
|
+
"type": {
|
|
7375
|
+
"text": "string"
|
|
7376
|
+
},
|
|
7377
|
+
"privacy": "private",
|
|
7378
|
+
"description": "What the form receives. In phone mode that is the full international\nnumber — submitting national digits alone would throw away the country\nthe user picked.",
|
|
7379
|
+
"readonly": true
|
|
7380
|
+
},
|
|
7381
|
+
{
|
|
7382
|
+
"kind": "field",
|
|
7383
|
+
"name": "displayValue",
|
|
7384
|
+
"type": {
|
|
7385
|
+
"text": "string"
|
|
7386
|
+
},
|
|
7387
|
+
"privacy": "private",
|
|
7388
|
+
"readonly": true
|
|
7389
|
+
},
|
|
7390
|
+
{
|
|
7391
|
+
"kind": "field",
|
|
7392
|
+
"name": "showClear",
|
|
7393
|
+
"type": {
|
|
7394
|
+
"text": "boolean"
|
|
7395
|
+
},
|
|
7396
|
+
"privacy": "private",
|
|
7397
|
+
"readonly": true
|
|
7398
|
+
},
|
|
7399
|
+
{
|
|
7400
|
+
"kind": "field",
|
|
7401
|
+
"name": "resolvedType",
|
|
7402
|
+
"type": {
|
|
7403
|
+
"text": "string"
|
|
7404
|
+
},
|
|
7405
|
+
"privacy": "private",
|
|
7406
|
+
"readonly": true
|
|
7407
|
+
},
|
|
7408
|
+
{
|
|
7409
|
+
"kind": "method",
|
|
7410
|
+
"name": "onInput",
|
|
7411
|
+
"privacy": "private",
|
|
7412
|
+
"return": {
|
|
7413
|
+
"type": {
|
|
7414
|
+
"text": "void"
|
|
7415
|
+
}
|
|
7416
|
+
},
|
|
7417
|
+
"parameters": [
|
|
7418
|
+
{
|
|
7419
|
+
"name": "event",
|
|
7420
|
+
"type": {
|
|
7421
|
+
"text": "Event"
|
|
7422
|
+
}
|
|
7423
|
+
}
|
|
7424
|
+
]
|
|
7425
|
+
},
|
|
7426
|
+
{
|
|
7427
|
+
"kind": "method",
|
|
7428
|
+
"name": "toggleCountryPanel",
|
|
7429
|
+
"privacy": "private",
|
|
7430
|
+
"return": {
|
|
7431
|
+
"type": {
|
|
7432
|
+
"text": "void"
|
|
7433
|
+
}
|
|
7434
|
+
}
|
|
7435
|
+
},
|
|
7436
|
+
{
|
|
7437
|
+
"kind": "method",
|
|
7438
|
+
"name": "selectCountry",
|
|
7439
|
+
"privacy": "private",
|
|
7440
|
+
"return": {
|
|
7441
|
+
"type": {
|
|
7442
|
+
"text": "void"
|
|
7443
|
+
}
|
|
7444
|
+
},
|
|
7445
|
+
"parameters": [
|
|
7446
|
+
{
|
|
7447
|
+
"name": "country",
|
|
7448
|
+
"type": {
|
|
7449
|
+
"text": "KtCountry"
|
|
7450
|
+
}
|
|
7451
|
+
}
|
|
7452
|
+
]
|
|
7453
|
+
},
|
|
7454
|
+
{
|
|
7455
|
+
"kind": "field",
|
|
7456
|
+
"name": "closeCountryPanel",
|
|
7457
|
+
"privacy": "private"
|
|
7458
|
+
},
|
|
7459
|
+
{
|
|
7460
|
+
"kind": "method",
|
|
7461
|
+
"name": "onCountryKeyDown",
|
|
7462
|
+
"privacy": "private",
|
|
7463
|
+
"return": {
|
|
7464
|
+
"type": {
|
|
7465
|
+
"text": "void"
|
|
7466
|
+
}
|
|
7467
|
+
},
|
|
7468
|
+
"parameters": [
|
|
7469
|
+
{
|
|
7470
|
+
"name": "event",
|
|
7471
|
+
"type": {
|
|
7472
|
+
"text": "KeyboardEvent"
|
|
7473
|
+
}
|
|
7474
|
+
}
|
|
7475
|
+
]
|
|
7476
|
+
},
|
|
7477
|
+
{
|
|
7478
|
+
"kind": "method",
|
|
7479
|
+
"name": "renderCountryPicker",
|
|
7480
|
+
"privacy": "private",
|
|
7481
|
+
"return": {
|
|
7482
|
+
"type": {
|
|
7483
|
+
"text": "TemplateResult"
|
|
7484
|
+
}
|
|
7485
|
+
}
|
|
7486
|
+
},
|
|
7487
|
+
{
|
|
7488
|
+
"kind": "method",
|
|
7489
|
+
"name": "onChange",
|
|
7490
|
+
"privacy": "private",
|
|
7491
|
+
"return": {
|
|
7492
|
+
"type": {
|
|
7493
|
+
"text": "void"
|
|
7494
|
+
}
|
|
7495
|
+
},
|
|
7496
|
+
"parameters": [
|
|
7497
|
+
{
|
|
7498
|
+
"name": "event",
|
|
7499
|
+
"type": {
|
|
7500
|
+
"text": "Event"
|
|
7501
|
+
}
|
|
7502
|
+
}
|
|
7503
|
+
]
|
|
7504
|
+
},
|
|
7505
|
+
{
|
|
7506
|
+
"kind": "method",
|
|
7507
|
+
"name": "clear",
|
|
7508
|
+
"privacy": "private",
|
|
7509
|
+
"return": {
|
|
7510
|
+
"type": {
|
|
7511
|
+
"text": "void"
|
|
7512
|
+
}
|
|
7513
|
+
}
|
|
7514
|
+
},
|
|
7515
|
+
{
|
|
7516
|
+
"kind": "method",
|
|
7517
|
+
"name": "togglePassword",
|
|
7518
|
+
"privacy": "private",
|
|
7519
|
+
"return": {
|
|
7520
|
+
"type": {
|
|
7521
|
+
"text": "void"
|
|
7522
|
+
}
|
|
7523
|
+
}
|
|
7524
|
+
},
|
|
7525
|
+
{
|
|
7526
|
+
"kind": "method",
|
|
7527
|
+
"name": "onFieldPointerDown",
|
|
7528
|
+
"privacy": "private",
|
|
7529
|
+
"return": {
|
|
7530
|
+
"type": {
|
|
7531
|
+
"text": "void"
|
|
7532
|
+
}
|
|
7533
|
+
},
|
|
7534
|
+
"parameters": [
|
|
7535
|
+
{
|
|
7536
|
+
"name": "event",
|
|
7537
|
+
"type": {
|
|
7538
|
+
"text": "PointerEvent"
|
|
7539
|
+
}
|
|
7540
|
+
}
|
|
7541
|
+
],
|
|
7542
|
+
"description": "Clicking the padding around the input should focus it, as on a native field."
|
|
7543
|
+
}
|
|
7544
|
+
],
|
|
7545
|
+
"events": [
|
|
7546
|
+
{
|
|
7547
|
+
"description": "On every keystroke. `detail: { value }`.",
|
|
7548
|
+
"name": "kt-input"
|
|
7549
|
+
},
|
|
7550
|
+
{
|
|
7551
|
+
"description": "When the value is committed (blur or Enter). `detail: { value }`.",
|
|
7552
|
+
"name": "kt-change"
|
|
7553
|
+
},
|
|
7554
|
+
{
|
|
7555
|
+
"description": "The clear button was pressed.",
|
|
7556
|
+
"name": "kt-clear"
|
|
7557
|
+
}
|
|
7558
|
+
],
|
|
7559
|
+
"attributes": [
|
|
7560
|
+
{
|
|
7561
|
+
"name": "value",
|
|
7562
|
+
"type": {
|
|
7563
|
+
"text": "string"
|
|
7564
|
+
},
|
|
7565
|
+
"default": "''",
|
|
7566
|
+
"description": "The field's value. The `value` attribute seeds it and acts as the reset value.",
|
|
7567
|
+
"fieldName": "value"
|
|
7568
|
+
},
|
|
7569
|
+
{
|
|
7570
|
+
"name": "name",
|
|
7571
|
+
"type": {
|
|
7572
|
+
"text": "string"
|
|
7573
|
+
},
|
|
7574
|
+
"default": "''",
|
|
7575
|
+
"fieldName": "name"
|
|
7576
|
+
},
|
|
7577
|
+
{
|
|
7578
|
+
"name": "type",
|
|
7579
|
+
"type": {
|
|
7580
|
+
"text": "string"
|
|
7581
|
+
},
|
|
7582
|
+
"default": "'text'",
|
|
7583
|
+
"description": "Any native input type. `password` adds the reveal toggle.",
|
|
7584
|
+
"fieldName": "type"
|
|
7585
|
+
},
|
|
7586
|
+
{
|
|
7587
|
+
"name": "placeholder",
|
|
7588
|
+
"type": {
|
|
7589
|
+
"text": "string"
|
|
7590
|
+
},
|
|
7591
|
+
"default": "''",
|
|
7592
|
+
"fieldName": "placeholder"
|
|
7593
|
+
},
|
|
7594
|
+
{
|
|
7595
|
+
"name": "size",
|
|
7596
|
+
"type": {
|
|
7597
|
+
"text": "KtInputSize"
|
|
7598
|
+
},
|
|
7599
|
+
"default": "'medium'",
|
|
7600
|
+
"description": "Field height: 32 / 40 / 48px at the desktop scale.",
|
|
7601
|
+
"fieldName": "size"
|
|
7602
|
+
},
|
|
7603
|
+
{
|
|
7604
|
+
"name": "disabled",
|
|
7605
|
+
"type": {
|
|
7606
|
+
"text": "boolean"
|
|
7607
|
+
},
|
|
7608
|
+
"default": "false",
|
|
7609
|
+
"fieldName": "disabled"
|
|
7610
|
+
},
|
|
7611
|
+
{
|
|
7612
|
+
"name": "readonly",
|
|
7613
|
+
"type": {
|
|
7614
|
+
"text": "boolean"
|
|
7615
|
+
},
|
|
7616
|
+
"default": "false",
|
|
7617
|
+
"fieldName": "readonly"
|
|
7618
|
+
},
|
|
7619
|
+
{
|
|
7620
|
+
"name": "required",
|
|
7621
|
+
"type": {
|
|
7622
|
+
"text": "boolean"
|
|
7623
|
+
},
|
|
7624
|
+
"default": "false",
|
|
7625
|
+
"fieldName": "required"
|
|
7626
|
+
},
|
|
7627
|
+
{
|
|
7628
|
+
"name": "icon",
|
|
7629
|
+
"type": {
|
|
7630
|
+
"text": "string"
|
|
7631
|
+
},
|
|
7632
|
+
"default": "''",
|
|
7633
|
+
"description": "Trailing Lucide icon, kebab-case.",
|
|
7634
|
+
"fieldName": "icon"
|
|
7635
|
+
},
|
|
7636
|
+
{
|
|
7637
|
+
"name": "error",
|
|
7638
|
+
"type": {
|
|
7639
|
+
"text": "string"
|
|
7640
|
+
},
|
|
7641
|
+
"default": "''",
|
|
7642
|
+
"description": "Error message. A non-empty value puts the field in its error state.",
|
|
7643
|
+
"fieldName": "error"
|
|
7644
|
+
},
|
|
7645
|
+
{
|
|
7646
|
+
"name": "clearable",
|
|
7647
|
+
"type": {
|
|
7648
|
+
"text": "boolean"
|
|
7649
|
+
},
|
|
7650
|
+
"default": "true",
|
|
7651
|
+
"description": "Shows the clear button once there is something to clear.",
|
|
7652
|
+
"fieldName": "clearable"
|
|
7653
|
+
},
|
|
7654
|
+
{
|
|
7655
|
+
"name": "label",
|
|
7656
|
+
"type": {
|
|
7657
|
+
"text": "string"
|
|
7658
|
+
},
|
|
7659
|
+
"default": "''",
|
|
7660
|
+
"description": "Accessible name, when no `<kt-label-input>` wraps the field.",
|
|
7661
|
+
"fieldName": "label"
|
|
7662
|
+
},
|
|
7663
|
+
{
|
|
7664
|
+
"name": "autocomplete",
|
|
7665
|
+
"type": {
|
|
7666
|
+
"text": "string"
|
|
6686
7667
|
},
|
|
6687
|
-
"default": "
|
|
6688
|
-
"
|
|
6689
|
-
|
|
7668
|
+
"default": "''",
|
|
7669
|
+
"fieldName": "autocomplete"
|
|
7670
|
+
},
|
|
7671
|
+
{
|
|
7672
|
+
"name": "maxlength",
|
|
7673
|
+
"type": {
|
|
7674
|
+
"text": "number | undefined"
|
|
7675
|
+
},
|
|
7676
|
+
"fieldName": "maxlength"
|
|
7677
|
+
},
|
|
7678
|
+
{
|
|
7679
|
+
"name": "country",
|
|
7680
|
+
"type": {
|
|
7681
|
+
"text": "string"
|
|
7682
|
+
},
|
|
7683
|
+
"default": "'us'",
|
|
7684
|
+
"description": "Selected country in phone mode, as an ISO 3166-1 alpha-2 code.",
|
|
7685
|
+
"fieldName": "country"
|
|
6690
7686
|
}
|
|
6691
7687
|
],
|
|
6692
7688
|
"superclass": {
|
|
6693
7689
|
"name": "KtElement",
|
|
6694
|
-
"module": "dist/components/forms/kt-
|
|
7690
|
+
"module": "dist/components/forms/kt-input/kt-input.js"
|
|
6695
7691
|
},
|
|
6696
|
-
"tagName": "kt-
|
|
7692
|
+
"tagName": "kt-input",
|
|
6697
7693
|
"customElement": true
|
|
6698
7694
|
}
|
|
6699
7695
|
],
|
|
6700
7696
|
"exports": [
|
|
6701
7697
|
{
|
|
6702
7698
|
"kind": "js",
|
|
6703
|
-
"name": "
|
|
7699
|
+
"name": "KtInput",
|
|
6704
7700
|
"declaration": {
|
|
6705
|
-
"name": "
|
|
6706
|
-
"module": "dist/components/forms/kt-
|
|
7701
|
+
"name": "KtInput",
|
|
7702
|
+
"module": "dist/components/forms/kt-input/kt-input.js"
|
|
6707
7703
|
}
|
|
6708
7704
|
}
|
|
6709
7705
|
]
|
|
6710
7706
|
},
|
|
6711
7707
|
{
|
|
6712
7708
|
"kind": "javascript-module",
|
|
6713
|
-
"path": "dist/components/forms/kt-input/kt-input.js",
|
|
7709
|
+
"path": "dist/components/forms/kt-input-menu/kt-input-menu.js",
|
|
6714
7710
|
"declarations": [
|
|
6715
7711
|
{
|
|
6716
7712
|
"kind": "class",
|
|
6717
|
-
"description": "A
|
|
6718
|
-
"name": "
|
|
7713
|
+
"description": "A combobox: type to narrow the list, then pick.\n\nReach for it over `<kt-select>` once the list is long enough that scanning it\nis slower than typing three letters — somewhere around twenty options.",
|
|
7714
|
+
"name": "KtInputMenu",
|
|
6719
7715
|
"cssParts": [
|
|
6720
7716
|
{
|
|
6721
|
-
"description": "The field
|
|
6722
|
-
"name": "
|
|
7717
|
+
"description": "The field.",
|
|
7718
|
+
"name": "control"
|
|
6723
7719
|
},
|
|
6724
7720
|
{
|
|
6725
7721
|
"description": "The native `<input>`.",
|
|
6726
|
-
"name": "
|
|
7722
|
+
"name": "input"
|
|
6727
7723
|
},
|
|
6728
7724
|
{
|
|
6729
|
-
"description": "The
|
|
6730
|
-
"name": "
|
|
7725
|
+
"description": "The option list.",
|
|
7726
|
+
"name": "popup"
|
|
7727
|
+
},
|
|
7728
|
+
{
|
|
7729
|
+
"description": "An option row.",
|
|
7730
|
+
"name": "option"
|
|
6731
7731
|
}
|
|
6732
7732
|
],
|
|
6733
7733
|
"members": [
|
|
@@ -6760,17 +7760,22 @@
|
|
|
6760
7760
|
},
|
|
6761
7761
|
{
|
|
6762
7762
|
"kind": "field",
|
|
6763
|
-
"name": "
|
|
7763
|
+
"name": "defaultValue",
|
|
6764
7764
|
"type": {
|
|
6765
|
-
"text": "
|
|
7765
|
+
"text": "string | number | null"
|
|
6766
7766
|
},
|
|
6767
7767
|
"privacy": "private",
|
|
6768
|
-
"default": "
|
|
6769
|
-
"description": "True while a `password` field is showing its contents."
|
|
7768
|
+
"default": "null"
|
|
6770
7769
|
},
|
|
6771
7770
|
{
|
|
6772
7771
|
"kind": "field",
|
|
6773
|
-
"name": "
|
|
7772
|
+
"name": "listId",
|
|
7773
|
+
"privacy": "private",
|
|
7774
|
+
"readonly": true
|
|
7775
|
+
},
|
|
7776
|
+
{
|
|
7777
|
+
"kind": "field",
|
|
7778
|
+
"name": "open",
|
|
6774
7779
|
"type": {
|
|
6775
7780
|
"text": "boolean"
|
|
6776
7781
|
},
|
|
@@ -6779,7 +7784,7 @@
|
|
|
6779
7784
|
},
|
|
6780
7785
|
{
|
|
6781
7786
|
"kind": "field",
|
|
6782
|
-
"name": "
|
|
7787
|
+
"name": "query",
|
|
6783
7788
|
"type": {
|
|
6784
7789
|
"text": "string"
|
|
6785
7790
|
},
|
|
@@ -6788,32 +7793,29 @@
|
|
|
6788
7793
|
},
|
|
6789
7794
|
{
|
|
6790
7795
|
"kind": "field",
|
|
6791
|
-
"name": "
|
|
7796
|
+
"name": "activeIndex",
|
|
6792
7797
|
"type": {
|
|
6793
|
-
"text": "
|
|
7798
|
+
"text": "number"
|
|
6794
7799
|
},
|
|
6795
|
-
"
|
|
6796
|
-
"
|
|
6797
|
-
"attribute": "value"
|
|
7800
|
+
"privacy": "private",
|
|
7801
|
+
"default": "-1"
|
|
6798
7802
|
},
|
|
6799
7803
|
{
|
|
6800
7804
|
"kind": "field",
|
|
6801
|
-
"name": "
|
|
7805
|
+
"name": "options",
|
|
6802
7806
|
"type": {
|
|
6803
|
-
"text": "
|
|
7807
|
+
"text": "readonly KtOption[]"
|
|
6804
7808
|
},
|
|
6805
|
-
"default": "
|
|
6806
|
-
"attribute": "name"
|
|
7809
|
+
"default": "[]"
|
|
6807
7810
|
},
|
|
6808
7811
|
{
|
|
6809
7812
|
"kind": "field",
|
|
6810
|
-
"name": "
|
|
7813
|
+
"name": "value",
|
|
6811
7814
|
"type": {
|
|
6812
|
-
"text": "string"
|
|
7815
|
+
"text": "string | number | null"
|
|
6813
7816
|
},
|
|
6814
|
-
"default": "
|
|
6815
|
-
"
|
|
6816
|
-
"attribute": "type"
|
|
7817
|
+
"default": "null",
|
|
7818
|
+
"attribute": "value"
|
|
6817
7819
|
},
|
|
6818
7820
|
{
|
|
6819
7821
|
"kind": "field",
|
|
@@ -6826,14 +7828,12 @@
|
|
|
6826
7828
|
},
|
|
6827
7829
|
{
|
|
6828
7830
|
"kind": "field",
|
|
6829
|
-
"name": "
|
|
7831
|
+
"name": "name",
|
|
6830
7832
|
"type": {
|
|
6831
|
-
"text": "
|
|
7833
|
+
"text": "string"
|
|
6832
7834
|
},
|
|
6833
|
-
"default": "'
|
|
6834
|
-
"
|
|
6835
|
-
"attribute": "size",
|
|
6836
|
-
"reflects": true
|
|
7835
|
+
"default": "''",
|
|
7836
|
+
"attribute": "name"
|
|
6837
7837
|
},
|
|
6838
7838
|
{
|
|
6839
7839
|
"kind": "field",
|
|
@@ -6845,16 +7845,6 @@
|
|
|
6845
7845
|
"attribute": "disabled",
|
|
6846
7846
|
"reflects": true
|
|
6847
7847
|
},
|
|
6848
|
-
{
|
|
6849
|
-
"kind": "field",
|
|
6850
|
-
"name": "readonly",
|
|
6851
|
-
"type": {
|
|
6852
|
-
"text": "boolean"
|
|
6853
|
-
},
|
|
6854
|
-
"default": "false",
|
|
6855
|
-
"attribute": "readonly",
|
|
6856
|
-
"reflects": true
|
|
6857
|
-
},
|
|
6858
7848
|
{
|
|
6859
7849
|
"kind": "field",
|
|
6860
7850
|
"name": "required",
|
|
@@ -6865,16 +7855,6 @@
|
|
|
6865
7855
|
"attribute": "required",
|
|
6866
7856
|
"reflects": true
|
|
6867
7857
|
},
|
|
6868
|
-
{
|
|
6869
|
-
"kind": "field",
|
|
6870
|
-
"name": "icon",
|
|
6871
|
-
"type": {
|
|
6872
|
-
"text": "string"
|
|
6873
|
-
},
|
|
6874
|
-
"default": "''",
|
|
6875
|
-
"description": "Trailing Lucide icon, kebab-case.",
|
|
6876
|
-
"attribute": "icon"
|
|
6877
|
-
},
|
|
6878
7858
|
{
|
|
6879
7859
|
"kind": "field",
|
|
6880
7860
|
"name": "error",
|
|
@@ -6882,20 +7862,9 @@
|
|
|
6882
7862
|
"text": "string"
|
|
6883
7863
|
},
|
|
6884
7864
|
"default": "''",
|
|
6885
|
-
"description": "Error message. A non-empty value puts the field in its error state.",
|
|
6886
7865
|
"attribute": "error",
|
|
6887
7866
|
"reflects": true
|
|
6888
7867
|
},
|
|
6889
|
-
{
|
|
6890
|
-
"kind": "field",
|
|
6891
|
-
"name": "clearable",
|
|
6892
|
-
"type": {
|
|
6893
|
-
"text": "boolean"
|
|
6894
|
-
},
|
|
6895
|
-
"default": "true",
|
|
6896
|
-
"description": "Shows the clear button once there is something to clear.",
|
|
6897
|
-
"attribute": "clearable"
|
|
6898
|
-
},
|
|
6899
7868
|
{
|
|
6900
7869
|
"kind": "field",
|
|
6901
7870
|
"name": "label",
|
|
@@ -6903,64 +7872,16 @@
|
|
|
6903
7872
|
"text": "string"
|
|
6904
7873
|
},
|
|
6905
7874
|
"default": "''",
|
|
6906
|
-
"description": "Accessible name, when no `<kt-label-input>` wraps the field.",
|
|
6907
7875
|
"attribute": "label"
|
|
6908
7876
|
},
|
|
6909
7877
|
{
|
|
6910
7878
|
"kind": "field",
|
|
6911
|
-
"name": "
|
|
6912
|
-
"type": {
|
|
6913
|
-
"text": "string"
|
|
6914
|
-
},
|
|
6915
|
-
"default": "''",
|
|
6916
|
-
"attribute": "autocomplete"
|
|
6917
|
-
},
|
|
6918
|
-
{
|
|
6919
|
-
"kind": "field",
|
|
6920
|
-
"name": "maxlength",
|
|
6921
|
-
"type": {
|
|
6922
|
-
"text": "number | undefined"
|
|
6923
|
-
},
|
|
6924
|
-
"attribute": "maxlength"
|
|
6925
|
-
},
|
|
6926
|
-
{
|
|
6927
|
-
"kind": "field",
|
|
6928
|
-
"name": "countries",
|
|
6929
|
-
"type": {
|
|
6930
|
-
"text": "readonly KtCountry[]"
|
|
6931
|
-
},
|
|
6932
|
-
"default": "DEFAULT_COUNTRIES",
|
|
6933
|
-
"description": "Countries offered in phone mode. Replace it to widen the list."
|
|
6934
|
-
},
|
|
6935
|
-
{
|
|
6936
|
-
"kind": "field",
|
|
6937
|
-
"name": "country",
|
|
6938
|
-
"type": {
|
|
6939
|
-
"text": "string"
|
|
6940
|
-
},
|
|
6941
|
-
"default": "'us'",
|
|
6942
|
-
"description": "Selected country in phone mode, as an ISO 3166-1 alpha-2 code.",
|
|
6943
|
-
"attribute": "country"
|
|
6944
|
-
},
|
|
6945
|
-
{
|
|
6946
|
-
"kind": "field",
|
|
6947
|
-
"name": "defaultValue",
|
|
7879
|
+
"name": "emptyText",
|
|
6948
7880
|
"type": {
|
|
6949
|
-
"text": "string"
|
|
7881
|
+
"text": "string | undefined"
|
|
6950
7882
|
},
|
|
6951
|
-
"
|
|
6952
|
-
"
|
|
6953
|
-
"description": "The value the enclosing form resets to."
|
|
6954
|
-
},
|
|
6955
|
-
{
|
|
6956
|
-
"kind": "method",
|
|
6957
|
-
"name": "refreshValidity",
|
|
6958
|
-
"privacy": "private",
|
|
6959
|
-
"return": {
|
|
6960
|
-
"type": {
|
|
6961
|
-
"text": "void"
|
|
6962
|
-
}
|
|
6963
|
-
}
|
|
7883
|
+
"default": "undefined",
|
|
7884
|
+
"attribute": "empty-text"
|
|
6964
7885
|
},
|
|
6965
7886
|
{
|
|
6966
7887
|
"kind": "method",
|
|
@@ -6969,8 +7890,7 @@
|
|
|
6969
7890
|
"type": {
|
|
6970
7891
|
"text": "void"
|
|
6971
7892
|
}
|
|
6972
|
-
}
|
|
6973
|
-
"description": "Called by the platform when the enclosing form is reset."
|
|
7893
|
+
}
|
|
6974
7894
|
},
|
|
6975
7895
|
{
|
|
6976
7896
|
"kind": "method",
|
|
@@ -6987,8 +7907,7 @@
|
|
|
6987
7907
|
"text": "string"
|
|
6988
7908
|
}
|
|
6989
7909
|
}
|
|
6990
|
-
]
|
|
6991
|
-
"description": "Called by the platform when the browser restores a session."
|
|
7910
|
+
]
|
|
6992
7911
|
},
|
|
6993
7912
|
{
|
|
6994
7913
|
"kind": "method",
|
|
@@ -7008,102 +7927,52 @@
|
|
|
7008
7927
|
}
|
|
7009
7928
|
]
|
|
7010
7929
|
},
|
|
7011
|
-
{
|
|
7012
|
-
"kind": "method",
|
|
7013
|
-
"name": "blur",
|
|
7014
|
-
"return": {
|
|
7015
|
-
"type": {
|
|
7016
|
-
"text": "void"
|
|
7017
|
-
}
|
|
7018
|
-
}
|
|
7019
|
-
},
|
|
7020
|
-
{
|
|
7021
|
-
"kind": "method",
|
|
7022
|
-
"name": "select",
|
|
7023
|
-
"return": {
|
|
7024
|
-
"type": {
|
|
7025
|
-
"text": "void"
|
|
7026
|
-
}
|
|
7027
|
-
},
|
|
7028
|
-
"description": "Selects the field's contents, as `HTMLInputElement.select()` does."
|
|
7029
|
-
},
|
|
7030
|
-
{
|
|
7031
|
-
"kind": "field",
|
|
7032
|
-
"name": "isPhone",
|
|
7033
|
-
"type": {
|
|
7034
|
-
"text": "boolean"
|
|
7035
|
-
},
|
|
7036
|
-
"privacy": "private",
|
|
7037
|
-
"description": "Phone mode: the country picker, digit-only storage and grouped display.",
|
|
7038
|
-
"readonly": true
|
|
7039
|
-
},
|
|
7040
|
-
{
|
|
7041
|
-
"kind": "field",
|
|
7042
|
-
"name": "selectedCountry",
|
|
7043
|
-
"type": {
|
|
7044
|
-
"text": "KtCountry | undefined"
|
|
7045
|
-
},
|
|
7046
|
-
"privacy": "private",
|
|
7047
|
-
"readonly": true
|
|
7048
|
-
},
|
|
7049
|
-
{
|
|
7050
|
-
"kind": "field",
|
|
7051
|
-
"name": "formValue",
|
|
7052
|
-
"type": {
|
|
7053
|
-
"text": "string"
|
|
7054
|
-
},
|
|
7055
|
-
"privacy": "private",
|
|
7056
|
-
"description": "What the form receives. In phone mode that is the full international\nnumber — submitting national digits alone would throw away the country\nthe user picked.",
|
|
7057
|
-
"readonly": true
|
|
7058
|
-
},
|
|
7059
7930
|
{
|
|
7060
7931
|
"kind": "field",
|
|
7061
|
-
"name": "
|
|
7932
|
+
"name": "selectedOption",
|
|
7062
7933
|
"type": {
|
|
7063
|
-
"text": "
|
|
7934
|
+
"text": "KtOption | undefined"
|
|
7064
7935
|
},
|
|
7065
|
-
"privacy": "private",
|
|
7066
7936
|
"readonly": true
|
|
7067
7937
|
},
|
|
7068
7938
|
{
|
|
7069
7939
|
"kind": "field",
|
|
7070
|
-
"name": "
|
|
7940
|
+
"name": "visibleOptions",
|
|
7071
7941
|
"type": {
|
|
7072
|
-
"text": "
|
|
7942
|
+
"text": "readonly KtOption[]"
|
|
7073
7943
|
},
|
|
7074
7944
|
"privacy": "private",
|
|
7945
|
+
"description": "Options after the current query, which is what the keyboard walks.",
|
|
7075
7946
|
"readonly": true
|
|
7076
7947
|
},
|
|
7077
7948
|
{
|
|
7078
7949
|
"kind": "field",
|
|
7079
|
-
"name": "
|
|
7950
|
+
"name": "displayValue",
|
|
7080
7951
|
"type": {
|
|
7081
7952
|
"text": "string"
|
|
7082
7953
|
},
|
|
7083
7954
|
"privacy": "private",
|
|
7955
|
+
"description": "While filtering, the field shows the query; otherwise it shows the chosen\noption. Keeping the two in one input is what makes it a combobox rather\nthan a search box that happens to sit above a list.",
|
|
7084
7956
|
"readonly": true
|
|
7085
7957
|
},
|
|
7958
|
+
{
|
|
7959
|
+
"kind": "field",
|
|
7960
|
+
"name": "onDocumentPointerDown",
|
|
7961
|
+
"privacy": "private"
|
|
7962
|
+
},
|
|
7086
7963
|
{
|
|
7087
7964
|
"kind": "method",
|
|
7088
|
-
"name": "
|
|
7965
|
+
"name": "openList",
|
|
7089
7966
|
"privacy": "private",
|
|
7090
7967
|
"return": {
|
|
7091
7968
|
"type": {
|
|
7092
7969
|
"text": "void"
|
|
7093
7970
|
}
|
|
7094
|
-
}
|
|
7095
|
-
"parameters": [
|
|
7096
|
-
{
|
|
7097
|
-
"name": "event",
|
|
7098
|
-
"type": {
|
|
7099
|
-
"text": "Event"
|
|
7100
|
-
}
|
|
7101
|
-
}
|
|
7102
|
-
]
|
|
7971
|
+
}
|
|
7103
7972
|
},
|
|
7104
7973
|
{
|
|
7105
7974
|
"kind": "method",
|
|
7106
|
-
"name": "
|
|
7975
|
+
"name": "close",
|
|
7107
7976
|
"privacy": "private",
|
|
7108
7977
|
"return": {
|
|
7109
7978
|
"type": {
|
|
@@ -7113,7 +7982,7 @@
|
|
|
7113
7982
|
},
|
|
7114
7983
|
{
|
|
7115
7984
|
"kind": "method",
|
|
7116
|
-
"name": "
|
|
7985
|
+
"name": "onInput",
|
|
7117
7986
|
"privacy": "private",
|
|
7118
7987
|
"return": {
|
|
7119
7988
|
"type": {
|
|
@@ -7122,21 +7991,16 @@
|
|
|
7122
7991
|
},
|
|
7123
7992
|
"parameters": [
|
|
7124
7993
|
{
|
|
7125
|
-
"name": "
|
|
7994
|
+
"name": "event",
|
|
7126
7995
|
"type": {
|
|
7127
|
-
"text": "
|
|
7996
|
+
"text": "Event"
|
|
7128
7997
|
}
|
|
7129
7998
|
}
|
|
7130
7999
|
]
|
|
7131
8000
|
},
|
|
7132
|
-
{
|
|
7133
|
-
"kind": "field",
|
|
7134
|
-
"name": "closeCountryPanel",
|
|
7135
|
-
"privacy": "private"
|
|
7136
|
-
},
|
|
7137
8001
|
{
|
|
7138
8002
|
"kind": "method",
|
|
7139
|
-
"name": "
|
|
8003
|
+
"name": "choose",
|
|
7140
8004
|
"privacy": "private",
|
|
7141
8005
|
"return": {
|
|
7142
8006
|
"type": {
|
|
@@ -7145,26 +8009,16 @@
|
|
|
7145
8009
|
},
|
|
7146
8010
|
"parameters": [
|
|
7147
8011
|
{
|
|
7148
|
-
"name": "
|
|
8012
|
+
"name": "option",
|
|
7149
8013
|
"type": {
|
|
7150
|
-
"text": "
|
|
8014
|
+
"text": "KtOption"
|
|
7151
8015
|
}
|
|
7152
8016
|
}
|
|
7153
8017
|
]
|
|
7154
8018
|
},
|
|
7155
8019
|
{
|
|
7156
8020
|
"kind": "method",
|
|
7157
|
-
"name": "
|
|
7158
|
-
"privacy": "private",
|
|
7159
|
-
"return": {
|
|
7160
|
-
"type": {
|
|
7161
|
-
"text": "TemplateResult"
|
|
7162
|
-
}
|
|
7163
|
-
}
|
|
7164
|
-
},
|
|
7165
|
-
{
|
|
7166
|
-
"kind": "method",
|
|
7167
|
-
"name": "onChange",
|
|
8021
|
+
"name": "clear",
|
|
7168
8022
|
"privacy": "private",
|
|
7169
8023
|
"return": {
|
|
7170
8024
|
"type": {
|
|
@@ -7182,85 +8036,60 @@
|
|
|
7182
8036
|
},
|
|
7183
8037
|
{
|
|
7184
8038
|
"kind": "method",
|
|
7185
|
-
"name": "
|
|
8039
|
+
"name": "onKeyDown",
|
|
7186
8040
|
"privacy": "private",
|
|
7187
8041
|
"return": {
|
|
7188
8042
|
"type": {
|
|
7189
8043
|
"text": "void"
|
|
7190
8044
|
}
|
|
7191
|
-
}
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
"type": {
|
|
7199
|
-
"text": "void"
|
|
8045
|
+
},
|
|
8046
|
+
"parameters": [
|
|
8047
|
+
{
|
|
8048
|
+
"name": "event",
|
|
8049
|
+
"type": {
|
|
8050
|
+
"text": "KeyboardEvent"
|
|
8051
|
+
}
|
|
7200
8052
|
}
|
|
7201
|
-
|
|
8053
|
+
]
|
|
7202
8054
|
},
|
|
7203
8055
|
{
|
|
7204
8056
|
"kind": "method",
|
|
7205
|
-
"name": "
|
|
8057
|
+
"name": "optionId",
|
|
7206
8058
|
"privacy": "private",
|
|
7207
8059
|
"return": {
|
|
7208
8060
|
"type": {
|
|
7209
|
-
"text": "
|
|
8061
|
+
"text": "string"
|
|
7210
8062
|
}
|
|
7211
8063
|
},
|
|
7212
8064
|
"parameters": [
|
|
7213
8065
|
{
|
|
7214
|
-
"name": "
|
|
8066
|
+
"name": "index",
|
|
7215
8067
|
"type": {
|
|
7216
|
-
"text": "
|
|
8068
|
+
"text": "number"
|
|
7217
8069
|
}
|
|
7218
8070
|
}
|
|
7219
|
-
]
|
|
7220
|
-
"description": "Clicking the padding around the input should focus it, as on a native field."
|
|
8071
|
+
]
|
|
7221
8072
|
}
|
|
7222
8073
|
],
|
|
7223
8074
|
"events": [
|
|
7224
8075
|
{
|
|
7225
|
-
"description": "
|
|
7226
|
-
"name": "kt-input"
|
|
7227
|
-
},
|
|
7228
|
-
{
|
|
7229
|
-
"description": "When the value is committed (blur or Enter). `detail: { value }`.",
|
|
8076
|
+
"description": "An option was chosen or cleared. `detail: { value, option }`.",
|
|
7230
8077
|
"name": "kt-change"
|
|
7231
8078
|
},
|
|
7232
8079
|
{
|
|
7233
|
-
"description": "The
|
|
7234
|
-
"name": "kt-
|
|
8080
|
+
"description": "The query changed. `detail: { query }`.",
|
|
8081
|
+
"name": "kt-filter"
|
|
7235
8082
|
}
|
|
7236
8083
|
],
|
|
7237
8084
|
"attributes": [
|
|
7238
8085
|
{
|
|
7239
8086
|
"name": "value",
|
|
7240
8087
|
"type": {
|
|
7241
|
-
"text": "string"
|
|
8088
|
+
"text": "string | number | null"
|
|
7242
8089
|
},
|
|
7243
|
-
"default": "
|
|
7244
|
-
"description": "The field's value. The `value` attribute seeds it and acts as the reset value.",
|
|
8090
|
+
"default": "null",
|
|
7245
8091
|
"fieldName": "value"
|
|
7246
8092
|
},
|
|
7247
|
-
{
|
|
7248
|
-
"name": "name",
|
|
7249
|
-
"type": {
|
|
7250
|
-
"text": "string"
|
|
7251
|
-
},
|
|
7252
|
-
"default": "''",
|
|
7253
|
-
"fieldName": "name"
|
|
7254
|
-
},
|
|
7255
|
-
{
|
|
7256
|
-
"name": "type",
|
|
7257
|
-
"type": {
|
|
7258
|
-
"text": "string"
|
|
7259
|
-
},
|
|
7260
|
-
"default": "'text'",
|
|
7261
|
-
"description": "Any native input type. `password` adds the reveal toggle.",
|
|
7262
|
-
"fieldName": "type"
|
|
7263
|
-
},
|
|
7264
8093
|
{
|
|
7265
8094
|
"name": "placeholder",
|
|
7266
8095
|
"type": {
|
|
@@ -7270,13 +8099,12 @@
|
|
|
7270
8099
|
"fieldName": "placeholder"
|
|
7271
8100
|
},
|
|
7272
8101
|
{
|
|
7273
|
-
"name": "
|
|
8102
|
+
"name": "name",
|
|
7274
8103
|
"type": {
|
|
7275
|
-
"text": "
|
|
8104
|
+
"text": "string"
|
|
7276
8105
|
},
|
|
7277
|
-
"default": "'
|
|
7278
|
-
"
|
|
7279
|
-
"fieldName": "size"
|
|
8106
|
+
"default": "''",
|
|
8107
|
+
"fieldName": "name"
|
|
7280
8108
|
},
|
|
7281
8109
|
{
|
|
7282
8110
|
"name": "disabled",
|
|
@@ -7286,14 +8114,6 @@
|
|
|
7286
8114
|
"default": "false",
|
|
7287
8115
|
"fieldName": "disabled"
|
|
7288
8116
|
},
|
|
7289
|
-
{
|
|
7290
|
-
"name": "readonly",
|
|
7291
|
-
"type": {
|
|
7292
|
-
"text": "boolean"
|
|
7293
|
-
},
|
|
7294
|
-
"default": "false",
|
|
7295
|
-
"fieldName": "readonly"
|
|
7296
|
-
},
|
|
7297
8117
|
{
|
|
7298
8118
|
"name": "required",
|
|
7299
8119
|
"type": {
|
|
@@ -7303,245 +8123,409 @@
|
|
|
7303
8123
|
"fieldName": "required"
|
|
7304
8124
|
},
|
|
7305
8125
|
{
|
|
7306
|
-
"name": "
|
|
8126
|
+
"name": "error",
|
|
7307
8127
|
"type": {
|
|
7308
8128
|
"text": "string"
|
|
7309
8129
|
},
|
|
7310
8130
|
"default": "''",
|
|
7311
|
-
"
|
|
7312
|
-
"fieldName": "icon"
|
|
8131
|
+
"fieldName": "error"
|
|
7313
8132
|
},
|
|
7314
8133
|
{
|
|
7315
|
-
"name": "
|
|
8134
|
+
"name": "label",
|
|
7316
8135
|
"type": {
|
|
7317
8136
|
"text": "string"
|
|
7318
8137
|
},
|
|
7319
8138
|
"default": "''",
|
|
7320
|
-
"
|
|
7321
|
-
"fieldName": "error"
|
|
8139
|
+
"fieldName": "label"
|
|
7322
8140
|
},
|
|
7323
8141
|
{
|
|
7324
|
-
"name": "
|
|
8142
|
+
"name": "empty-text",
|
|
7325
8143
|
"type": {
|
|
7326
|
-
"text": "
|
|
8144
|
+
"text": "string | undefined"
|
|
7327
8145
|
},
|
|
7328
|
-
"default": "
|
|
7329
|
-
"
|
|
7330
|
-
|
|
8146
|
+
"default": "undefined",
|
|
8147
|
+
"fieldName": "emptyText"
|
|
8148
|
+
}
|
|
8149
|
+
],
|
|
8150
|
+
"superclass": {
|
|
8151
|
+
"name": "KtElement",
|
|
8152
|
+
"module": "dist/components/forms/kt-input-menu/kt-input-menu.js"
|
|
8153
|
+
},
|
|
8154
|
+
"tagName": "kt-input-menu",
|
|
8155
|
+
"customElement": true
|
|
8156
|
+
}
|
|
8157
|
+
],
|
|
8158
|
+
"exports": [
|
|
8159
|
+
{
|
|
8160
|
+
"kind": "js",
|
|
8161
|
+
"name": "KtInputMenu",
|
|
8162
|
+
"declaration": {
|
|
8163
|
+
"name": "KtInputMenu",
|
|
8164
|
+
"module": "dist/components/forms/kt-input-menu/kt-input-menu.js"
|
|
8165
|
+
}
|
|
8166
|
+
}
|
|
8167
|
+
]
|
|
8168
|
+
},
|
|
8169
|
+
{
|
|
8170
|
+
"kind": "javascript-module",
|
|
8171
|
+
"path": "dist/components/forms/kt-label-input/kt-label-input.js",
|
|
8172
|
+
"declarations": [
|
|
8173
|
+
{
|
|
8174
|
+
"kind": "class",
|
|
8175
|
+
"description": "A label above a form control, with a red asterisk when it is required.\n\nNative label association does not cross a shadow boundary — `for` and\nimplicit wrapping both need the label and the control in the same tree — so\nthis element passes its text down to the slotted control's `label` property\ninstead, which becomes the control's `aria-label`. Clicking the label still\nfocuses the control, as it would natively.",
|
|
8176
|
+
"name": "KtLabelInput",
|
|
8177
|
+
"cssParts": [
|
|
8178
|
+
{
|
|
8179
|
+
"description": "The `<label>`.",
|
|
8180
|
+
"name": "label"
|
|
8181
|
+
}
|
|
8182
|
+
],
|
|
8183
|
+
"slots": [
|
|
8184
|
+
{
|
|
8185
|
+
"description": "The form control to label.",
|
|
8186
|
+
"name": ""
|
|
8187
|
+
}
|
|
8188
|
+
],
|
|
8189
|
+
"members": [
|
|
8190
|
+
{
|
|
8191
|
+
"kind": "field",
|
|
8192
|
+
"name": "defaultSlot",
|
|
8193
|
+
"type": {
|
|
8194
|
+
"text": "HTMLSlotElement"
|
|
8195
|
+
},
|
|
8196
|
+
"privacy": "private"
|
|
7331
8197
|
},
|
|
7332
8198
|
{
|
|
8199
|
+
"kind": "field",
|
|
7333
8200
|
"name": "label",
|
|
7334
8201
|
"type": {
|
|
7335
8202
|
"text": "string"
|
|
7336
8203
|
},
|
|
7337
8204
|
"default": "''",
|
|
7338
|
-
"description": "
|
|
7339
|
-
"
|
|
8205
|
+
"description": "The label text.",
|
|
8206
|
+
"attribute": "label"
|
|
7340
8207
|
},
|
|
7341
8208
|
{
|
|
7342
|
-
"
|
|
8209
|
+
"kind": "field",
|
|
8210
|
+
"name": "required",
|
|
7343
8211
|
"type": {
|
|
7344
|
-
"text": "
|
|
8212
|
+
"text": "boolean"
|
|
7345
8213
|
},
|
|
7346
|
-
"default": "
|
|
7347
|
-
"
|
|
8214
|
+
"default": "false",
|
|
8215
|
+
"description": "Appends a red asterisk and marks the control required for screen readers.",
|
|
8216
|
+
"attribute": "required",
|
|
8217
|
+
"reflects": true
|
|
7348
8218
|
},
|
|
7349
8219
|
{
|
|
7350
|
-
"
|
|
8220
|
+
"kind": "field",
|
|
8221
|
+
"name": "control",
|
|
7351
8222
|
"type": {
|
|
7352
|
-
"text": "
|
|
8223
|
+
"text": "Labelable | undefined"
|
|
7353
8224
|
},
|
|
7354
|
-
"
|
|
8225
|
+
"privacy": "private",
|
|
8226
|
+
"readonly": true
|
|
7355
8227
|
},
|
|
7356
8228
|
{
|
|
7357
|
-
"
|
|
8229
|
+
"kind": "method",
|
|
8230
|
+
"name": "labelControl",
|
|
8231
|
+
"privacy": "private",
|
|
8232
|
+
"return": {
|
|
8233
|
+
"type": {
|
|
8234
|
+
"text": "void"
|
|
8235
|
+
}
|
|
8236
|
+
}
|
|
8237
|
+
},
|
|
8238
|
+
{
|
|
8239
|
+
"kind": "method",
|
|
8240
|
+
"name": "focusControl",
|
|
8241
|
+
"privacy": "private",
|
|
8242
|
+
"return": {
|
|
8243
|
+
"type": {
|
|
8244
|
+
"text": "void"
|
|
8245
|
+
}
|
|
8246
|
+
}
|
|
8247
|
+
}
|
|
8248
|
+
],
|
|
8249
|
+
"attributes": [
|
|
8250
|
+
{
|
|
8251
|
+
"name": "label",
|
|
8252
|
+
"type": {
|
|
8253
|
+
"text": "string"
|
|
8254
|
+
},
|
|
8255
|
+
"default": "''",
|
|
8256
|
+
"description": "The label text.",
|
|
8257
|
+
"fieldName": "label"
|
|
8258
|
+
},
|
|
8259
|
+
{
|
|
8260
|
+
"name": "required",
|
|
7358
8261
|
"type": {
|
|
7359
|
-
"text": "
|
|
8262
|
+
"text": "boolean"
|
|
7360
8263
|
},
|
|
7361
|
-
"default": "
|
|
7362
|
-
"description": "
|
|
7363
|
-
"fieldName": "
|
|
8264
|
+
"default": "false",
|
|
8265
|
+
"description": "Appends a red asterisk and marks the control required for screen readers.",
|
|
8266
|
+
"fieldName": "required"
|
|
7364
8267
|
}
|
|
7365
8268
|
],
|
|
7366
8269
|
"superclass": {
|
|
7367
8270
|
"name": "KtElement",
|
|
7368
|
-
"module": "dist/components/forms/kt-input/kt-input.js"
|
|
8271
|
+
"module": "dist/components/forms/kt-label-input/kt-label-input.js"
|
|
7369
8272
|
},
|
|
7370
|
-
"tagName": "kt-input",
|
|
8273
|
+
"tagName": "kt-label-input",
|
|
7371
8274
|
"customElement": true
|
|
7372
8275
|
}
|
|
7373
8276
|
],
|
|
7374
8277
|
"exports": [
|
|
7375
8278
|
{
|
|
7376
8279
|
"kind": "js",
|
|
7377
|
-
"name": "
|
|
8280
|
+
"name": "KtLabelInput",
|
|
7378
8281
|
"declaration": {
|
|
7379
|
-
"name": "
|
|
7380
|
-
"module": "dist/components/forms/kt-input/kt-input.js"
|
|
8282
|
+
"name": "KtLabelInput",
|
|
8283
|
+
"module": "dist/components/forms/kt-label-input/kt-label-input.js"
|
|
7381
8284
|
}
|
|
7382
8285
|
}
|
|
7383
8286
|
]
|
|
7384
8287
|
},
|
|
7385
8288
|
{
|
|
7386
8289
|
"kind": "javascript-module",
|
|
7387
|
-
"path": "dist/components/forms/kt-
|
|
8290
|
+
"path": "dist/components/forms/kt-radio-group/kt-radio-group.js",
|
|
7388
8291
|
"declarations": [
|
|
7389
8292
|
{
|
|
7390
8293
|
"kind": "class",
|
|
7391
|
-
"description": "
|
|
7392
|
-
"name": "
|
|
8294
|
+
"description": "One option of a `<kt-radio-group>`.\n\nIt draws itself and carries `role=\"radio\"`; the group owns the selection,\nthe tab stop and the keyboard. A `<kt-radio>` outside a group does nothing\nuseful.",
|
|
8295
|
+
"name": "KtRadio",
|
|
7393
8296
|
"cssParts": [
|
|
7394
8297
|
{
|
|
7395
|
-
"description": "The
|
|
7396
|
-
"name": "
|
|
7397
|
-
},
|
|
7398
|
-
{
|
|
7399
|
-
"description": "The native `<input>`.",
|
|
7400
|
-
"name": "input"
|
|
8298
|
+
"description": "The `role=\"radio\"` row.",
|
|
8299
|
+
"name": "base"
|
|
7401
8300
|
},
|
|
7402
8301
|
{
|
|
7403
|
-
"description": "The
|
|
7404
|
-
"name": "
|
|
7405
|
-
}
|
|
8302
|
+
"description": "The drawn circle.",
|
|
8303
|
+
"name": "circle"
|
|
8304
|
+
}
|
|
8305
|
+
],
|
|
8306
|
+
"slots": [
|
|
7406
8307
|
{
|
|
7407
|
-
"description": "
|
|
7408
|
-
"name": "
|
|
8308
|
+
"description": "The label.",
|
|
8309
|
+
"name": ""
|
|
7409
8310
|
}
|
|
7410
8311
|
],
|
|
7411
8312
|
"members": [
|
|
7412
8313
|
{
|
|
7413
8314
|
"kind": "field",
|
|
7414
|
-
"name": "
|
|
8315
|
+
"name": "value",
|
|
8316
|
+
"type": {
|
|
8317
|
+
"text": "string"
|
|
8318
|
+
},
|
|
8319
|
+
"default": "''",
|
|
8320
|
+
"description": "Submitted by the group when this option is chosen.",
|
|
8321
|
+
"attribute": "value",
|
|
8322
|
+
"reflects": true
|
|
8323
|
+
},
|
|
8324
|
+
{
|
|
8325
|
+
"kind": "field",
|
|
8326
|
+
"name": "disabled",
|
|
7415
8327
|
"type": {
|
|
7416
8328
|
"text": "boolean"
|
|
7417
8329
|
},
|
|
7418
|
-
"
|
|
7419
|
-
"
|
|
7420
|
-
"
|
|
8330
|
+
"default": "false",
|
|
8331
|
+
"attribute": "disabled",
|
|
8332
|
+
"reflects": true
|
|
7421
8333
|
},
|
|
7422
8334
|
{
|
|
7423
8335
|
"kind": "field",
|
|
7424
|
-
"name": "
|
|
8336
|
+
"name": "checked",
|
|
7425
8337
|
"type": {
|
|
7426
|
-
"text": "
|
|
8338
|
+
"text": "boolean"
|
|
7427
8339
|
},
|
|
7428
|
-
"
|
|
8340
|
+
"default": "false",
|
|
8341
|
+
"description": "Set by the group.",
|
|
8342
|
+
"attribute": "checked",
|
|
8343
|
+
"reflects": true
|
|
7429
8344
|
},
|
|
7430
8345
|
{
|
|
7431
8346
|
"kind": "field",
|
|
7432
|
-
"name": "
|
|
8347
|
+
"name": "tabbable",
|
|
7433
8348
|
"type": {
|
|
7434
|
-
"text": "
|
|
8349
|
+
"text": "boolean"
|
|
7435
8350
|
},
|
|
7436
|
-
"
|
|
7437
|
-
"
|
|
8351
|
+
"default": "false",
|
|
8352
|
+
"description": "Set by the group: whether this option holds the group's one tab stop."
|
|
7438
8353
|
},
|
|
7439
8354
|
{
|
|
7440
8355
|
"kind": "field",
|
|
7441
|
-
"name": "
|
|
8356
|
+
"name": "invalid",
|
|
7442
8357
|
"type": {
|
|
7443
|
-
"text": "
|
|
8358
|
+
"text": "boolean"
|
|
7444
8359
|
},
|
|
7445
|
-
"
|
|
7446
|
-
"
|
|
8360
|
+
"default": "false",
|
|
8361
|
+
"description": "Set by the group while it reports an error.",
|
|
8362
|
+
"attribute": "invalid",
|
|
8363
|
+
"reflects": true
|
|
7447
8364
|
},
|
|
7448
8365
|
{
|
|
7449
8366
|
"kind": "field",
|
|
7450
|
-
"name": "
|
|
7451
|
-
"
|
|
7452
|
-
|
|
8367
|
+
"name": "groupDisabled",
|
|
8368
|
+
"type": {
|
|
8369
|
+
"text": "boolean"
|
|
8370
|
+
},
|
|
8371
|
+
"default": "false",
|
|
8372
|
+
"description": "Set by the group while the whole group is disabled.",
|
|
8373
|
+
"attribute": "group-disabled",
|
|
8374
|
+
"reflects": true
|
|
7453
8375
|
},
|
|
7454
8376
|
{
|
|
7455
8377
|
"kind": "field",
|
|
7456
|
-
"name": "
|
|
8378
|
+
"name": "inactive",
|
|
7457
8379
|
"type": {
|
|
7458
8380
|
"text": "boolean"
|
|
7459
8381
|
},
|
|
7460
8382
|
"privacy": "private",
|
|
7461
|
-
"
|
|
8383
|
+
"readonly": true
|
|
7462
8384
|
},
|
|
7463
8385
|
{
|
|
7464
|
-
"kind": "
|
|
7465
|
-
"name": "
|
|
8386
|
+
"kind": "method",
|
|
8387
|
+
"name": "focus",
|
|
8388
|
+
"return": {
|
|
8389
|
+
"type": {
|
|
8390
|
+
"text": "void"
|
|
8391
|
+
}
|
|
8392
|
+
},
|
|
8393
|
+
"parameters": [
|
|
8394
|
+
{
|
|
8395
|
+
"name": "options",
|
|
8396
|
+
"optional": true,
|
|
8397
|
+
"type": {
|
|
8398
|
+
"text": "FocusOptions"
|
|
8399
|
+
}
|
|
8400
|
+
}
|
|
8401
|
+
]
|
|
8402
|
+
}
|
|
8403
|
+
],
|
|
8404
|
+
"attributes": [
|
|
8405
|
+
{
|
|
8406
|
+
"name": "value",
|
|
7466
8407
|
"type": {
|
|
7467
8408
|
"text": "string"
|
|
7468
8409
|
},
|
|
7469
|
-
"
|
|
7470
|
-
"
|
|
8410
|
+
"default": "''",
|
|
8411
|
+
"description": "Submitted by the group when this option is chosen.",
|
|
8412
|
+
"fieldName": "value"
|
|
7471
8413
|
},
|
|
7472
8414
|
{
|
|
7473
|
-
"
|
|
7474
|
-
"name": "activeIndex",
|
|
8415
|
+
"name": "disabled",
|
|
7475
8416
|
"type": {
|
|
7476
|
-
"text": "
|
|
8417
|
+
"text": "boolean"
|
|
7477
8418
|
},
|
|
7478
|
-
"
|
|
7479
|
-
"
|
|
8419
|
+
"default": "false",
|
|
8420
|
+
"fieldName": "disabled"
|
|
7480
8421
|
},
|
|
7481
8422
|
{
|
|
7482
|
-
"
|
|
7483
|
-
"name": "options",
|
|
8423
|
+
"name": "checked",
|
|
7484
8424
|
"type": {
|
|
7485
|
-
"text": "
|
|
8425
|
+
"text": "boolean"
|
|
7486
8426
|
},
|
|
7487
|
-
"default": "
|
|
8427
|
+
"default": "false",
|
|
8428
|
+
"description": "Set by the group.",
|
|
8429
|
+
"fieldName": "checked"
|
|
8430
|
+
},
|
|
8431
|
+
{
|
|
8432
|
+
"name": "invalid",
|
|
8433
|
+
"type": {
|
|
8434
|
+
"text": "boolean"
|
|
8435
|
+
},
|
|
8436
|
+
"default": "false",
|
|
8437
|
+
"description": "Set by the group while it reports an error.",
|
|
8438
|
+
"fieldName": "invalid"
|
|
7488
8439
|
},
|
|
8440
|
+
{
|
|
8441
|
+
"name": "group-disabled",
|
|
8442
|
+
"type": {
|
|
8443
|
+
"text": "boolean"
|
|
8444
|
+
},
|
|
8445
|
+
"default": "false",
|
|
8446
|
+
"description": "Set by the group while the whole group is disabled.",
|
|
8447
|
+
"fieldName": "groupDisabled"
|
|
8448
|
+
}
|
|
8449
|
+
],
|
|
8450
|
+
"superclass": {
|
|
8451
|
+
"name": "KtElement",
|
|
8452
|
+
"module": "dist/components/forms/kt-radio-group/kt-radio-group.js"
|
|
8453
|
+
},
|
|
8454
|
+
"tagName": "kt-radio",
|
|
8455
|
+
"customElement": true
|
|
8456
|
+
},
|
|
8457
|
+
{
|
|
8458
|
+
"kind": "class",
|
|
8459
|
+
"description": "One choice among a few, all visible at once.\n\nReach for it over `<kt-select>` when there are few enough options to show\nthem all — seeing every option is the point — and over\n`<kt-segmented-control>` when the options need a sentence each, or the\nchoice belongs in a form rather than a toolbar.\n\nNative radios cannot form a group across shadow roots, so this is the ARIA\nradio group pattern: one tab stop for the whole group, arrow keys move and\nselect, disabled options are skipped.",
|
|
8460
|
+
"name": "KtRadioGroup",
|
|
8461
|
+
"cssParts": [
|
|
8462
|
+
{
|
|
8463
|
+
"description": "The `role=\"radiogroup\"` container.",
|
|
8464
|
+
"name": "base"
|
|
8465
|
+
}
|
|
8466
|
+
],
|
|
8467
|
+
"slots": [
|
|
8468
|
+
{
|
|
8469
|
+
"description": "The `<kt-radio>` options.",
|
|
8470
|
+
"name": ""
|
|
8471
|
+
}
|
|
8472
|
+
],
|
|
8473
|
+
"members": [
|
|
7489
8474
|
{
|
|
7490
8475
|
"kind": "field",
|
|
7491
|
-
"name": "
|
|
8476
|
+
"name": "formAssociated",
|
|
7492
8477
|
"type": {
|
|
7493
|
-
"text": "
|
|
8478
|
+
"text": "boolean"
|
|
7494
8479
|
},
|
|
7495
|
-
"
|
|
7496
|
-
"
|
|
8480
|
+
"static": true,
|
|
8481
|
+
"readonly": true,
|
|
8482
|
+
"default": "true"
|
|
7497
8483
|
},
|
|
7498
8484
|
{
|
|
7499
8485
|
"kind": "field",
|
|
7500
|
-
"name": "
|
|
8486
|
+
"name": "radios",
|
|
7501
8487
|
"type": {
|
|
7502
|
-
"text": "
|
|
8488
|
+
"text": "KtRadio[]"
|
|
7503
8489
|
},
|
|
7504
|
-
"
|
|
7505
|
-
"attribute": "placeholder"
|
|
8490
|
+
"privacy": "private"
|
|
7506
8491
|
},
|
|
7507
8492
|
{
|
|
7508
8493
|
"kind": "field",
|
|
7509
|
-
"name": "
|
|
8494
|
+
"name": "internals",
|
|
7510
8495
|
"type": {
|
|
7511
|
-
"text": "
|
|
8496
|
+
"text": "UsableInternals | null"
|
|
7512
8497
|
},
|
|
7513
|
-
"
|
|
7514
|
-
"
|
|
8498
|
+
"privacy": "private",
|
|
8499
|
+
"default": "null"
|
|
7515
8500
|
},
|
|
7516
8501
|
{
|
|
7517
8502
|
"kind": "field",
|
|
7518
|
-
"name": "
|
|
8503
|
+
"name": "defaultValue",
|
|
7519
8504
|
"type": {
|
|
7520
|
-
"text": "
|
|
8505
|
+
"text": "string | null"
|
|
7521
8506
|
},
|
|
7522
|
-
"
|
|
7523
|
-
"
|
|
7524
|
-
"reflects": true
|
|
8507
|
+
"privacy": "private",
|
|
8508
|
+
"default": "null"
|
|
7525
8509
|
},
|
|
7526
8510
|
{
|
|
7527
8511
|
"kind": "field",
|
|
7528
|
-
"name": "
|
|
8512
|
+
"name": "value",
|
|
7529
8513
|
"type": {
|
|
7530
|
-
"text": "
|
|
8514
|
+
"text": "string | null"
|
|
7531
8515
|
},
|
|
7532
|
-
"default": "
|
|
7533
|
-
"
|
|
8516
|
+
"default": "null",
|
|
8517
|
+
"description": "The chosen option's value, or `null`.",
|
|
8518
|
+
"attribute": "value",
|
|
7534
8519
|
"reflects": true
|
|
7535
8520
|
},
|
|
7536
8521
|
{
|
|
7537
8522
|
"kind": "field",
|
|
7538
|
-
"name": "
|
|
8523
|
+
"name": "name",
|
|
7539
8524
|
"type": {
|
|
7540
8525
|
"text": "string"
|
|
7541
8526
|
},
|
|
7542
8527
|
"default": "''",
|
|
7543
|
-
"attribute": "
|
|
7544
|
-
"reflects": true
|
|
8528
|
+
"attribute": "name"
|
|
7545
8529
|
},
|
|
7546
8530
|
{
|
|
7547
8531
|
"kind": "field",
|
|
@@ -7550,108 +8534,53 @@
|
|
|
7550
8534
|
"text": "string"
|
|
7551
8535
|
},
|
|
7552
8536
|
"default": "''",
|
|
8537
|
+
"description": "Accessible name of the group.",
|
|
7553
8538
|
"attribute": "label"
|
|
7554
8539
|
},
|
|
7555
8540
|
{
|
|
7556
8541
|
"kind": "field",
|
|
7557
|
-
"name": "
|
|
8542
|
+
"name": "disabled",
|
|
7558
8543
|
"type": {
|
|
7559
|
-
"text": "
|
|
7560
|
-
},
|
|
7561
|
-
"default": "
|
|
7562
|
-
"attribute": "
|
|
7563
|
-
|
|
7564
|
-
{
|
|
7565
|
-
"kind": "method",
|
|
7566
|
-
"name": "formResetCallback",
|
|
7567
|
-
"return": {
|
|
7568
|
-
"type": {
|
|
7569
|
-
"text": "void"
|
|
7570
|
-
}
|
|
7571
|
-
}
|
|
7572
|
-
},
|
|
7573
|
-
{
|
|
7574
|
-
"kind": "method",
|
|
7575
|
-
"name": "formStateRestoreCallback",
|
|
7576
|
-
"return": {
|
|
7577
|
-
"type": {
|
|
7578
|
-
"text": "void"
|
|
7579
|
-
}
|
|
7580
|
-
},
|
|
7581
|
-
"parameters": [
|
|
7582
|
-
{
|
|
7583
|
-
"name": "state",
|
|
7584
|
-
"type": {
|
|
7585
|
-
"text": "string"
|
|
7586
|
-
}
|
|
7587
|
-
}
|
|
7588
|
-
]
|
|
7589
|
-
},
|
|
7590
|
-
{
|
|
7591
|
-
"kind": "method",
|
|
7592
|
-
"name": "focus",
|
|
7593
|
-
"return": {
|
|
7594
|
-
"type": {
|
|
7595
|
-
"text": "void"
|
|
7596
|
-
}
|
|
7597
|
-
},
|
|
7598
|
-
"parameters": [
|
|
7599
|
-
{
|
|
7600
|
-
"name": "options",
|
|
7601
|
-
"optional": true,
|
|
7602
|
-
"type": {
|
|
7603
|
-
"text": "FocusOptions"
|
|
7604
|
-
}
|
|
7605
|
-
}
|
|
7606
|
-
]
|
|
8544
|
+
"text": "boolean"
|
|
8545
|
+
},
|
|
8546
|
+
"default": "false",
|
|
8547
|
+
"attribute": "disabled",
|
|
8548
|
+
"reflects": true
|
|
7607
8549
|
},
|
|
7608
8550
|
{
|
|
7609
8551
|
"kind": "field",
|
|
7610
|
-
"name": "
|
|
8552
|
+
"name": "required",
|
|
7611
8553
|
"type": {
|
|
7612
|
-
"text": "
|
|
8554
|
+
"text": "boolean"
|
|
7613
8555
|
},
|
|
7614
|
-
"
|
|
8556
|
+
"default": "false",
|
|
8557
|
+
"attribute": "required",
|
|
8558
|
+
"reflects": true
|
|
7615
8559
|
},
|
|
7616
8560
|
{
|
|
7617
8561
|
"kind": "field",
|
|
7618
|
-
"name": "
|
|
8562
|
+
"name": "orientation",
|
|
7619
8563
|
"type": {
|
|
7620
|
-
"text": "
|
|
8564
|
+
"text": "KtRadioGroupOrientation"
|
|
7621
8565
|
},
|
|
7622
|
-
"
|
|
7623
|
-
"
|
|
7624
|
-
"
|
|
8566
|
+
"default": "'vertical'",
|
|
8567
|
+
"attribute": "orientation",
|
|
8568
|
+
"reflects": true
|
|
7625
8569
|
},
|
|
7626
8570
|
{
|
|
7627
8571
|
"kind": "field",
|
|
7628
|
-
"name": "
|
|
8572
|
+
"name": "error",
|
|
7629
8573
|
"type": {
|
|
7630
8574
|
"text": "string"
|
|
7631
8575
|
},
|
|
7632
|
-
"
|
|
7633
|
-
"description": "
|
|
7634
|
-
"
|
|
7635
|
-
|
|
7636
|
-
{
|
|
7637
|
-
"kind": "field",
|
|
7638
|
-
"name": "onDocumentPointerDown",
|
|
7639
|
-
"privacy": "private"
|
|
7640
|
-
},
|
|
7641
|
-
{
|
|
7642
|
-
"kind": "method",
|
|
7643
|
-
"name": "openList",
|
|
7644
|
-
"privacy": "private",
|
|
7645
|
-
"return": {
|
|
7646
|
-
"type": {
|
|
7647
|
-
"text": "void"
|
|
7648
|
-
}
|
|
7649
|
-
}
|
|
8576
|
+
"default": "''",
|
|
8577
|
+
"description": "Error message. A non-empty value puts the group in its error state.",
|
|
8578
|
+
"attribute": "error",
|
|
8579
|
+
"reflects": true
|
|
7650
8580
|
},
|
|
7651
8581
|
{
|
|
7652
8582
|
"kind": "method",
|
|
7653
|
-
"name": "
|
|
7654
|
-
"privacy": "private",
|
|
8583
|
+
"name": "formResetCallback",
|
|
7655
8584
|
"return": {
|
|
7656
8585
|
"type": {
|
|
7657
8586
|
"text": "void"
|
|
@@ -7660,8 +8589,7 @@
|
|
|
7660
8589
|
},
|
|
7661
8590
|
{
|
|
7662
8591
|
"kind": "method",
|
|
7663
|
-
"name": "
|
|
7664
|
-
"privacy": "private",
|
|
8592
|
+
"name": "formStateRestoreCallback",
|
|
7665
8593
|
"return": {
|
|
7666
8594
|
"type": {
|
|
7667
8595
|
"text": "void"
|
|
@@ -7669,17 +8597,16 @@
|
|
|
7669
8597
|
},
|
|
7670
8598
|
"parameters": [
|
|
7671
8599
|
{
|
|
7672
|
-
"name": "
|
|
8600
|
+
"name": "state",
|
|
7673
8601
|
"type": {
|
|
7674
|
-
"text": "
|
|
8602
|
+
"text": "string | null"
|
|
7675
8603
|
}
|
|
7676
8604
|
}
|
|
7677
8605
|
]
|
|
7678
8606
|
},
|
|
7679
8607
|
{
|
|
7680
8608
|
"kind": "method",
|
|
7681
|
-
"name": "
|
|
7682
|
-
"privacy": "private",
|
|
8609
|
+
"name": "focus",
|
|
7683
8610
|
"return": {
|
|
7684
8611
|
"type": {
|
|
7685
8612
|
"text": "void"
|
|
@@ -7687,34 +8614,33 @@
|
|
|
7687
8614
|
},
|
|
7688
8615
|
"parameters": [
|
|
7689
8616
|
{
|
|
7690
|
-
"name": "
|
|
8617
|
+
"name": "options",
|
|
8618
|
+
"optional": true,
|
|
7691
8619
|
"type": {
|
|
7692
|
-
"text": "
|
|
8620
|
+
"text": "FocusOptions"
|
|
7693
8621
|
}
|
|
7694
8622
|
}
|
|
7695
8623
|
]
|
|
7696
8624
|
},
|
|
7697
8625
|
{
|
|
7698
8626
|
"kind": "method",
|
|
7699
|
-
"name": "
|
|
8627
|
+
"name": "enabled",
|
|
7700
8628
|
"privacy": "private",
|
|
7701
8629
|
"return": {
|
|
7702
8630
|
"type": {
|
|
7703
|
-
"text": "
|
|
7704
|
-
}
|
|
7705
|
-
},
|
|
7706
|
-
"parameters": [
|
|
7707
|
-
{
|
|
7708
|
-
"name": "event",
|
|
7709
|
-
"type": {
|
|
7710
|
-
"text": "Event"
|
|
7711
|
-
}
|
|
8631
|
+
"text": "KtRadio[]"
|
|
7712
8632
|
}
|
|
7713
|
-
|
|
8633
|
+
}
|
|
8634
|
+
},
|
|
8635
|
+
{
|
|
8636
|
+
"kind": "field",
|
|
8637
|
+
"name": "syncRadios",
|
|
8638
|
+
"privacy": "private",
|
|
8639
|
+
"description": "Pushes the group's state down; the radios are the display, not the truth.\nThe tab stop sits on the chosen option, or the first enabled one."
|
|
7714
8640
|
},
|
|
7715
8641
|
{
|
|
7716
8642
|
"kind": "method",
|
|
7717
|
-
"name": "
|
|
8643
|
+
"name": "choose",
|
|
7718
8644
|
"privacy": "private",
|
|
7719
8645
|
"return": {
|
|
7720
8646
|
"type": {
|
|
@@ -7723,66 +8649,57 @@
|
|
|
7723
8649
|
},
|
|
7724
8650
|
"parameters": [
|
|
7725
8651
|
{
|
|
7726
|
-
"name": "
|
|
8652
|
+
"name": "radio",
|
|
7727
8653
|
"type": {
|
|
7728
|
-
"text": "
|
|
8654
|
+
"text": "KtRadio"
|
|
7729
8655
|
}
|
|
7730
8656
|
}
|
|
7731
8657
|
]
|
|
7732
8658
|
},
|
|
7733
8659
|
{
|
|
7734
|
-
"kind": "
|
|
7735
|
-
"name": "
|
|
8660
|
+
"kind": "field",
|
|
8661
|
+
"name": "onClick",
|
|
8662
|
+
"privacy": "private"
|
|
8663
|
+
},
|
|
8664
|
+
{
|
|
8665
|
+
"kind": "field",
|
|
8666
|
+
"name": "onKeyDown",
|
|
7736
8667
|
"privacy": "private",
|
|
7737
|
-
"
|
|
7738
|
-
"type": {
|
|
7739
|
-
"text": "string"
|
|
7740
|
-
}
|
|
7741
|
-
},
|
|
7742
|
-
"parameters": [
|
|
7743
|
-
{
|
|
7744
|
-
"name": "index",
|
|
7745
|
-
"type": {
|
|
7746
|
-
"text": "number"
|
|
7747
|
-
}
|
|
7748
|
-
}
|
|
7749
|
-
]
|
|
8668
|
+
"description": "Arrows move and select, wrapping; Space selects the focused option."
|
|
7750
8669
|
}
|
|
7751
8670
|
],
|
|
7752
8671
|
"events": [
|
|
7753
8672
|
{
|
|
7754
|
-
"description": "An option was chosen
|
|
8673
|
+
"description": "An option was chosen. `detail: { value }`.",
|
|
7755
8674
|
"name": "kt-change"
|
|
7756
|
-
},
|
|
7757
|
-
{
|
|
7758
|
-
"description": "The query changed. `detail: { query }`.",
|
|
7759
|
-
"name": "kt-filter"
|
|
7760
8675
|
}
|
|
7761
8676
|
],
|
|
7762
8677
|
"attributes": [
|
|
7763
8678
|
{
|
|
7764
8679
|
"name": "value",
|
|
7765
8680
|
"type": {
|
|
7766
|
-
"text": "string |
|
|
8681
|
+
"text": "string | null"
|
|
7767
8682
|
},
|
|
7768
8683
|
"default": "null",
|
|
8684
|
+
"description": "The chosen option's value, or `null`.",
|
|
7769
8685
|
"fieldName": "value"
|
|
7770
8686
|
},
|
|
7771
8687
|
{
|
|
7772
|
-
"name": "
|
|
8688
|
+
"name": "name",
|
|
7773
8689
|
"type": {
|
|
7774
8690
|
"text": "string"
|
|
7775
8691
|
},
|
|
7776
8692
|
"default": "''",
|
|
7777
|
-
"fieldName": "
|
|
8693
|
+
"fieldName": "name"
|
|
7778
8694
|
},
|
|
7779
8695
|
{
|
|
7780
|
-
"name": "
|
|
8696
|
+
"name": "label",
|
|
7781
8697
|
"type": {
|
|
7782
8698
|
"text": "string"
|
|
7783
8699
|
},
|
|
7784
8700
|
"default": "''",
|
|
7785
|
-
"
|
|
8701
|
+
"description": "Accessible name of the group.",
|
|
8702
|
+
"fieldName": "label"
|
|
7786
8703
|
},
|
|
7787
8704
|
{
|
|
7788
8705
|
"name": "disabled",
|
|
@@ -7801,164 +8718,46 @@
|
|
|
7801
8718
|
"fieldName": "required"
|
|
7802
8719
|
},
|
|
7803
8720
|
{
|
|
7804
|
-
"name": "
|
|
8721
|
+
"name": "orientation",
|
|
7805
8722
|
"type": {
|
|
7806
|
-
"text": "
|
|
8723
|
+
"text": "KtRadioGroupOrientation"
|
|
7807
8724
|
},
|
|
7808
|
-
"default": "''",
|
|
7809
|
-
"fieldName": "
|
|
8725
|
+
"default": "'vertical'",
|
|
8726
|
+
"fieldName": "orientation"
|
|
7810
8727
|
},
|
|
7811
8728
|
{
|
|
7812
|
-
"name": "
|
|
8729
|
+
"name": "error",
|
|
7813
8730
|
"type": {
|
|
7814
8731
|
"text": "string"
|
|
7815
8732
|
},
|
|
7816
8733
|
"default": "''",
|
|
7817
|
-
"
|
|
7818
|
-
|
|
7819
|
-
{
|
|
7820
|
-
"name": "empty-text",
|
|
7821
|
-
"type": {
|
|
7822
|
-
"text": "string | undefined"
|
|
7823
|
-
},
|
|
7824
|
-
"default": "undefined",
|
|
7825
|
-
"fieldName": "emptyText"
|
|
8734
|
+
"description": "Error message. A non-empty value puts the group in its error state.",
|
|
8735
|
+
"fieldName": "error"
|
|
7826
8736
|
}
|
|
7827
8737
|
],
|
|
7828
8738
|
"superclass": {
|
|
7829
8739
|
"name": "KtElement",
|
|
7830
|
-
"module": "dist/components/forms/kt-
|
|
8740
|
+
"module": "dist/components/forms/kt-radio-group/kt-radio-group.js"
|
|
7831
8741
|
},
|
|
7832
|
-
"tagName": "kt-
|
|
8742
|
+
"tagName": "kt-radio-group",
|
|
7833
8743
|
"customElement": true
|
|
7834
8744
|
}
|
|
7835
8745
|
],
|
|
7836
8746
|
"exports": [
|
|
7837
8747
|
{
|
|
7838
8748
|
"kind": "js",
|
|
7839
|
-
"name": "
|
|
8749
|
+
"name": "KtRadio",
|
|
7840
8750
|
"declaration": {
|
|
7841
|
-
"name": "
|
|
7842
|
-
"module": "dist/components/forms/kt-
|
|
8751
|
+
"name": "KtRadio",
|
|
8752
|
+
"module": "dist/components/forms/kt-radio-group/kt-radio-group.js"
|
|
7843
8753
|
}
|
|
7844
|
-
}
|
|
7845
|
-
]
|
|
7846
|
-
},
|
|
7847
|
-
{
|
|
7848
|
-
"kind": "javascript-module",
|
|
7849
|
-
"path": "dist/components/forms/kt-label-input/kt-label-input.js",
|
|
7850
|
-
"declarations": [
|
|
7851
|
-
{
|
|
7852
|
-
"kind": "class",
|
|
7853
|
-
"description": "A label above a form control, with a red asterisk when it is required.\n\nNative label association does not cross a shadow boundary — `for` and\nimplicit wrapping both need the label and the control in the same tree — so\nthis element passes its text down to the slotted control's `label` property\ninstead, which becomes the control's `aria-label`. Clicking the label still\nfocuses the control, as it would natively.",
|
|
7854
|
-
"name": "KtLabelInput",
|
|
7855
|
-
"cssParts": [
|
|
7856
|
-
{
|
|
7857
|
-
"description": "The `<label>`.",
|
|
7858
|
-
"name": "label"
|
|
7859
|
-
}
|
|
7860
|
-
],
|
|
7861
|
-
"slots": [
|
|
7862
|
-
{
|
|
7863
|
-
"description": "The form control to label.",
|
|
7864
|
-
"name": ""
|
|
7865
|
-
}
|
|
7866
|
-
],
|
|
7867
|
-
"members": [
|
|
7868
|
-
{
|
|
7869
|
-
"kind": "field",
|
|
7870
|
-
"name": "defaultSlot",
|
|
7871
|
-
"type": {
|
|
7872
|
-
"text": "HTMLSlotElement"
|
|
7873
|
-
},
|
|
7874
|
-
"privacy": "private"
|
|
7875
|
-
},
|
|
7876
|
-
{
|
|
7877
|
-
"kind": "field",
|
|
7878
|
-
"name": "label",
|
|
7879
|
-
"type": {
|
|
7880
|
-
"text": "string"
|
|
7881
|
-
},
|
|
7882
|
-
"default": "''",
|
|
7883
|
-
"description": "The label text.",
|
|
7884
|
-
"attribute": "label"
|
|
7885
|
-
},
|
|
7886
|
-
{
|
|
7887
|
-
"kind": "field",
|
|
7888
|
-
"name": "required",
|
|
7889
|
-
"type": {
|
|
7890
|
-
"text": "boolean"
|
|
7891
|
-
},
|
|
7892
|
-
"default": "false",
|
|
7893
|
-
"description": "Appends a red asterisk and marks the control required for screen readers.",
|
|
7894
|
-
"attribute": "required",
|
|
7895
|
-
"reflects": true
|
|
7896
|
-
},
|
|
7897
|
-
{
|
|
7898
|
-
"kind": "field",
|
|
7899
|
-
"name": "control",
|
|
7900
|
-
"type": {
|
|
7901
|
-
"text": "Labelable | undefined"
|
|
7902
|
-
},
|
|
7903
|
-
"privacy": "private",
|
|
7904
|
-
"readonly": true
|
|
7905
|
-
},
|
|
7906
|
-
{
|
|
7907
|
-
"kind": "method",
|
|
7908
|
-
"name": "labelControl",
|
|
7909
|
-
"privacy": "private",
|
|
7910
|
-
"return": {
|
|
7911
|
-
"type": {
|
|
7912
|
-
"text": "void"
|
|
7913
|
-
}
|
|
7914
|
-
}
|
|
7915
|
-
},
|
|
7916
|
-
{
|
|
7917
|
-
"kind": "method",
|
|
7918
|
-
"name": "focusControl",
|
|
7919
|
-
"privacy": "private",
|
|
7920
|
-
"return": {
|
|
7921
|
-
"type": {
|
|
7922
|
-
"text": "void"
|
|
7923
|
-
}
|
|
7924
|
-
}
|
|
7925
|
-
}
|
|
7926
|
-
],
|
|
7927
|
-
"attributes": [
|
|
7928
|
-
{
|
|
7929
|
-
"name": "label",
|
|
7930
|
-
"type": {
|
|
7931
|
-
"text": "string"
|
|
7932
|
-
},
|
|
7933
|
-
"default": "''",
|
|
7934
|
-
"description": "The label text.",
|
|
7935
|
-
"fieldName": "label"
|
|
7936
|
-
},
|
|
7937
|
-
{
|
|
7938
|
-
"name": "required",
|
|
7939
|
-
"type": {
|
|
7940
|
-
"text": "boolean"
|
|
7941
|
-
},
|
|
7942
|
-
"default": "false",
|
|
7943
|
-
"description": "Appends a red asterisk and marks the control required for screen readers.",
|
|
7944
|
-
"fieldName": "required"
|
|
7945
|
-
}
|
|
7946
|
-
],
|
|
7947
|
-
"superclass": {
|
|
7948
|
-
"name": "KtElement",
|
|
7949
|
-
"module": "dist/components/forms/kt-label-input/kt-label-input.js"
|
|
7950
|
-
},
|
|
7951
|
-
"tagName": "kt-label-input",
|
|
7952
|
-
"customElement": true
|
|
7953
|
-
}
|
|
7954
|
-
],
|
|
7955
|
-
"exports": [
|
|
8754
|
+
},
|
|
7956
8755
|
{
|
|
7957
8756
|
"kind": "js",
|
|
7958
|
-
"name": "
|
|
8757
|
+
"name": "KtRadioGroup",
|
|
7959
8758
|
"declaration": {
|
|
7960
|
-
"name": "
|
|
7961
|
-
"module": "dist/components/forms/kt-
|
|
8759
|
+
"name": "KtRadioGroup",
|
|
8760
|
+
"module": "dist/components/forms/kt-radio-group/kt-radio-group.js"
|
|
7962
8761
|
}
|
|
7963
8762
|
}
|
|
7964
8763
|
]
|