kanto-ds 1.4.0 → 1.5.2
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 +10 -10
- package/dist/chunks/{defaults-BwgjMcww.js → defaults-CFrjqae2.js} +22 -21
- package/dist/chunks/{defaults-BwgjMcww.js.map → defaults-CFrjqae2.js.map} +1 -1
- package/dist/chunks/events-r51msXNf.js +22 -0
- package/dist/chunks/{events-Bjl5Zmmq.js.map → events-r51msXNf.js.map} +1 -1
- package/dist/chunks/floating-B7_Dahpn.js +54 -0
- package/dist/chunks/floating-B7_Dahpn.js.map +1 -0
- package/dist/chunks/{form-control-CxjBTt1c.js → form-control-B74_EHtG.js} +7 -7
- package/dist/chunks/form-control-B74_EHtG.js.map +1 -0
- package/dist/chunks/{index-DSSLJirw.js → index-STEEvEP7.js} +24 -12
- package/dist/chunks/index-STEEvEP7.js.map +1 -0
- package/dist/chunks/kt-calendar-B_hFdD9V.js +640 -0
- package/dist/chunks/kt-calendar-B_hFdD9V.js.map +1 -0
- package/dist/chunks/{kt-element-E-tfJpGQ.js → kt-element-Djx2JcGl.js} +2 -2
- package/dist/chunks/{kt-element-E-tfJpGQ.js.map → kt-element-Djx2JcGl.js.map} +1 -1
- package/dist/chunks/{listbox-Sm3nvsC6.js → listbox-llcUu_V-.js} +18 -14
- package/dist/chunks/{listbox-Sm3nvsC6.js.map → listbox-llcUu_V-.js.map} +1 -1
- package/dist/chunks/locale-C5xLkGx5.js +14 -0
- package/dist/chunks/locale-C5xLkGx5.js.map +1 -0
- package/dist/chunks/position-Cx_ZH5zh.js +39 -0
- package/dist/chunks/position-Cx_ZH5zh.js.map +1 -0
- package/dist/components/core/kt-avatar/kt-avatar.js +2 -2
- package/dist/components/core/kt-badge/kt-badge.js +3 -3
- package/dist/components/core/kt-button/kt-button.js +1 -1
- package/dist/components/core/kt-card/kt-card.js +2 -2
- package/dist/components/core/kt-code/kt-code.js +3 -3
- 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 +4 -4
- package/dist/components/data/kt-chart/kt-chart.js +3 -3
- package/dist/components/data/kt-meter/kt-meter.js +1 -1
- package/dist/components/data/kt-pagination/kt-pagination.js +3 -3
- package/dist/components/data/kt-stat/kt-stat.js +1 -1
- package/dist/components/data/kt-table/kt-table.d.ts +53 -3
- package/dist/components/data/kt-table/kt-table.js +286 -131
- package/dist/components/data/kt-table/kt-table.js.map +1 -1
- package/dist/components/data/kt-table/window.d.ts +19 -0
- package/dist/components/data/kt-timeline/kt-timeline.js +1 -1
- package/dist/components/feedback/kt-alert/kt-alert.js +3 -3
- package/dist/components/feedback/kt-empty-state/kt-empty-state.js +1 -1
- package/dist/components/feedback/kt-progress-bar/kt-progress-bar.js +10 -10
- package/dist/components/feedback/kt-progress-bar/kt-progress-bar.js.map +1 -1
- package/dist/components/feedback/kt-skeleton/kt-skeleton.js +1 -1
- package/dist/components/feedback/kt-toast/kt-toast.js +58 -42
- package/dist/components/feedback/kt-toast/kt-toast.js.map +1 -1
- package/dist/components/feedback/kt-toast-container/kt-toast-container.js +1 -1
- package/dist/components/feedback/kt-tooltip/kt-tooltip.d.ts +20 -0
- package/dist/components/feedback/kt-tooltip/kt-tooltip.js +95 -51
- package/dist/components/feedback/kt-tooltip/kt-tooltip.js.map +1 -1
- package/dist/components/forms/kt-calendar/kt-calendar.d.ts +96 -0
- package/dist/components/forms/kt-calendar/kt-calendar.js +13 -0
- package/dist/components/forms/kt-calendar/kt-calendar.js.map +1 -0
- package/dist/components/forms/kt-checkbox/kt-checkbox.d.ts +9 -0
- package/dist/components/forms/kt-checkbox/kt-checkbox.js +34 -20
- package/dist/components/forms/kt-checkbox/kt-checkbox.js.map +1 -1
- package/dist/components/forms/kt-date-picker/kt-date-picker.d.ts +105 -0
- package/dist/components/forms/kt-date-picker/kt-date-picker.js +382 -0
- package/dist/components/forms/kt-date-picker/kt-date-picker.js.map +1 -0
- package/dist/components/forms/kt-drag-drop/kt-drag-drop.d.ts +9 -0
- package/dist/components/forms/kt-drag-drop/kt-drag-drop.js +36 -22
- package/dist/components/forms/kt-drag-drop/kt-drag-drop.js.map +1 -1
- package/dist/components/forms/kt-form/kt-form.js +2 -2
- package/dist/components/forms/kt-input/kt-input.d.ts +37 -1
- package/dist/components/forms/kt-input/kt-input.js +380 -194
- package/dist/components/forms/kt-input/kt-input.js.map +1 -1
- package/dist/components/forms/kt-input-menu/kt-input-menu.d.ts +13 -0
- package/dist/components/forms/kt-input-menu/kt-input-menu.js +73 -42
- package/dist/components/forms/kt-input-menu/kt-input-menu.js.map +1 -1
- 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 +9 -0
- package/dist/components/forms/kt-radio-group/kt-radio-group.js +67 -53
- package/dist/components/forms/kt-radio-group/kt-radio-group.js.map +1 -1
- package/dist/components/forms/kt-select/kt-select.d.ts +13 -0
- package/dist/components/forms/kt-select/kt-select.js +87 -56
- package/dist/components/forms/kt-select/kt-select.js.map +1 -1
- package/dist/components/forms/kt-textarea/kt-textarea.d.ts +9 -0
- package/dist/components/forms/kt-textarea/kt-textarea.js +28 -14
- package/dist/components/forms/kt-textarea/kt-textarea.js.map +1 -1
- package/dist/components/forms/kt-toggle/kt-toggle.d.ts +9 -0
- package/dist/components/forms/kt-toggle/kt-toggle.js +43 -29
- package/dist/components/forms/kt-toggle/kt-toggle.js.map +1 -1
- package/dist/components/navigation/kt-breadcrumb/kt-breadcrumb.js +3 -3
- package/dist/components/navigation/kt-header/kt-header.js +3 -3
- package/dist/components/navigation/kt-page-header/kt-page-header.js +1 -1
- package/dist/components/navigation/kt-segmented-control/kt-segmented-control.d.ts +9 -0
- package/dist/components/navigation/kt-segmented-control/kt-segmented-control.js +40 -22
- package/dist/components/navigation/kt-segmented-control/kt-segmented-control.js.map +1 -1
- package/dist/components/navigation/kt-sub-menu-navigation/kt-sub-menu-navigation.js +3 -3
- package/dist/components/navigation/kt-tabs/kt-tabs.js +2 -2
- package/dist/components/navigation/kt-toggle-button/kt-toggle-button.js +2 -2
- package/dist/components/navigation/kt-toggle-button-group/kt-toggle-button-group.js +3 -3
- package/dist/components/overlays/kt-collapsible/kt-collapsible.js +2 -2
- package/dist/components/overlays/kt-confirm-dialog/kt-confirm-dialog.js +3 -3
- package/dist/components/overlays/kt-dropdown/kt-dropdown.d.ts +7 -5
- package/dist/components/overlays/kt-dropdown/kt-dropdown.js +67 -57
- package/dist/components/overlays/kt-dropdown/kt-dropdown.js.map +1 -1
- package/dist/components/overlays/kt-modal/kt-modal.js +3 -3
- package/dist/components/overlays/kt-side-panel/kt-side-panel.js +3 -3
- package/dist/custom-elements.json +2110 -124
- 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 +91 -87
- package/dist/index.js.map +1 -1
- package/dist/internal/countries.d.ts +24 -9
- package/dist/internal/date.d.ts +53 -0
- package/dist/internal/events.d.ts +5 -0
- package/dist/internal/floating.d.ts +48 -0
- package/dist/internal/form-control.d.ts +5 -1
- package/dist/internal/locale.d.ts +15 -0
- package/dist/internal/position.d.ts +27 -0
- package/dist/internal/strings.d.ts +15 -0
- package/dist/react/index.d.ts +12 -0
- package/dist/react/index.js +180 -166
- package/dist/react/index.js.map +1 -1
- package/dist/react/jsx.d.ts +11 -1
- package/dist/strings/index.js +1 -1
- package/dist/tokens/base.css +2 -0
- package/dist/tokens/responsive.css +1 -0
- package/dist/tokens/spacing.css +1 -0
- package/dist/vscode.css-custom-data.json +8 -0
- package/dist/vscode.html-custom-data.json +138 -11
- package/dist/vue/index.d.ts +4 -0
- package/dist/vue/index.js +9 -7
- package/dist/vue/index.js.map +1 -1
- package/dist/web-types.json +292 -14
- package/package.json +10 -1
- package/dist/chunks/events-Bjl5Zmmq.js +0 -18
- package/dist/chunks/form-control-CxjBTt1c.js.map +0 -1
- package/dist/chunks/index-DSSLJirw.js.map +0 -1
|
@@ -4220,8 +4220,96 @@
|
|
|
4220
4220
|
"type": {
|
|
4221
4221
|
"text": "number"
|
|
4222
4222
|
},
|
|
4223
|
+
"default": "1",
|
|
4224
|
+
"description": "The page on screen, from 1. Set it to open on another page.",
|
|
4225
|
+
"attribute": "page"
|
|
4226
|
+
},
|
|
4227
|
+
{
|
|
4228
|
+
"kind": "field",
|
|
4229
|
+
"name": "manual",
|
|
4230
|
+
"type": {
|
|
4231
|
+
"text": "boolean"
|
|
4232
|
+
},
|
|
4233
|
+
"default": "false",
|
|
4234
|
+
"description": "For data sorted and paged on a server: `data` is the current page, shown\nas given. Headers and the pager still update the state and fire their\nevents, and the application loads what they ask for.",
|
|
4235
|
+
"attribute": "manual",
|
|
4236
|
+
"reflects": true
|
|
4237
|
+
},
|
|
4238
|
+
{
|
|
4239
|
+
"kind": "field",
|
|
4240
|
+
"name": "virtual",
|
|
4241
|
+
"type": {
|
|
4242
|
+
"text": "boolean"
|
|
4243
|
+
},
|
|
4244
|
+
"default": "false",
|
|
4245
|
+
"description": "Renders only the rows in view, for thousands of rows without paging. The\ntable scrolls inside its own box: give it a height (`kt-table { height:\n480px }`). Every row must be the same height — the first one rendered is\nmeasured. A page size takes precedence.",
|
|
4246
|
+
"attribute": "virtual",
|
|
4247
|
+
"reflects": true
|
|
4248
|
+
},
|
|
4249
|
+
{
|
|
4250
|
+
"kind": "field",
|
|
4251
|
+
"name": "scrollOffset",
|
|
4252
|
+
"type": {
|
|
4253
|
+
"text": "number"
|
|
4254
|
+
},
|
|
4255
|
+
"privacy": "private",
|
|
4256
|
+
"default": "0",
|
|
4257
|
+
"description": "How far the scroller is scrolled. Not `scrollTop`, which the host already has."
|
|
4258
|
+
},
|
|
4259
|
+
{
|
|
4260
|
+
"kind": "field",
|
|
4261
|
+
"name": "viewportHeight",
|
|
4262
|
+
"type": {
|
|
4263
|
+
"text": "number"
|
|
4264
|
+
},
|
|
4223
4265
|
"privacy": "private",
|
|
4224
|
-
"default": "
|
|
4266
|
+
"default": "0",
|
|
4267
|
+
"description": "The scroller's height, and the header's inside it, in px."
|
|
4268
|
+
},
|
|
4269
|
+
{
|
|
4270
|
+
"kind": "field",
|
|
4271
|
+
"name": "headerHeight",
|
|
4272
|
+
"type": {
|
|
4273
|
+
"text": "number"
|
|
4274
|
+
},
|
|
4275
|
+
"privacy": "private",
|
|
4276
|
+
"default": "0"
|
|
4277
|
+
},
|
|
4278
|
+
{
|
|
4279
|
+
"kind": "field",
|
|
4280
|
+
"name": "rowHeight",
|
|
4281
|
+
"type": {
|
|
4282
|
+
"text": "number"
|
|
4283
|
+
},
|
|
4284
|
+
"privacy": "private",
|
|
4285
|
+
"default": "0",
|
|
4286
|
+
"description": "A body row's height, in px; 0 until one has been measured."
|
|
4287
|
+
},
|
|
4288
|
+
{
|
|
4289
|
+
"kind": "field",
|
|
4290
|
+
"name": "resizeObserver",
|
|
4291
|
+
"type": {
|
|
4292
|
+
"text": "ResizeObserver | undefined"
|
|
4293
|
+
},
|
|
4294
|
+
"privacy": "private"
|
|
4295
|
+
},
|
|
4296
|
+
{
|
|
4297
|
+
"kind": "field",
|
|
4298
|
+
"name": "observed",
|
|
4299
|
+
"type": {
|
|
4300
|
+
"text": "Element | undefined"
|
|
4301
|
+
},
|
|
4302
|
+
"privacy": "private"
|
|
4303
|
+
},
|
|
4304
|
+
{
|
|
4305
|
+
"kind": "field",
|
|
4306
|
+
"name": "totalRows",
|
|
4307
|
+
"type": {
|
|
4308
|
+
"text": "number"
|
|
4309
|
+
},
|
|
4310
|
+
"default": "0",
|
|
4311
|
+
"description": "In manual mode, how many rows the server holds — what the pager counts.",
|
|
4312
|
+
"attribute": "total-rows"
|
|
4225
4313
|
},
|
|
4226
4314
|
{
|
|
4227
4315
|
"kind": "field",
|
|
@@ -4351,15 +4439,52 @@
|
|
|
4351
4439
|
"description": "Accessible name for the table.",
|
|
4352
4440
|
"attribute": "label"
|
|
4353
4441
|
},
|
|
4442
|
+
{
|
|
4443
|
+
"kind": "field",
|
|
4444
|
+
"name": "locale",
|
|
4445
|
+
"type": {
|
|
4446
|
+
"text": "string"
|
|
4447
|
+
},
|
|
4448
|
+
"default": "''",
|
|
4449
|
+
"description": "BCP 47 locale text is sorted in. Empty means the page's `<html lang>`,\nthen the browser's language.",
|
|
4450
|
+
"attribute": "locale"
|
|
4451
|
+
},
|
|
4452
|
+
{
|
|
4453
|
+
"kind": "field",
|
|
4454
|
+
"name": "sortCache",
|
|
4455
|
+
"type": {
|
|
4456
|
+
"text": "| {\n data: readonly KtTableRow[];\n key: string | null;\n direction: KtSortDirection;\n locale: string;\n rows: readonly KtTableRow[];\n }\n | undefined"
|
|
4457
|
+
},
|
|
4458
|
+
"privacy": "private",
|
|
4459
|
+
"description": "The last sort, and what it was computed from."
|
|
4460
|
+
},
|
|
4354
4461
|
{
|
|
4355
4462
|
"kind": "field",
|
|
4356
4463
|
"name": "sortedRows",
|
|
4357
4464
|
"type": {
|
|
4358
4465
|
"text": "readonly KtTableRow[]"
|
|
4359
4466
|
},
|
|
4360
|
-
"description": "The rows after sorting, before paging.",
|
|
4467
|
+
"description": "The rows after sorting, before paging.\n\nSorted once per change of `data`, `sortKey`, `sortDirection` or locale, not on\nevery render: hovering a row or ticking a box re-renders the table, and\nre-sorting a few thousand rows each time is what made that lag. Assign a\nnew array to `data` rather than changing it in place.",
|
|
4361
4468
|
"readonly": true
|
|
4362
4469
|
},
|
|
4470
|
+
{
|
|
4471
|
+
"kind": "method",
|
|
4472
|
+
"name": "sort",
|
|
4473
|
+
"privacy": "private",
|
|
4474
|
+
"return": {
|
|
4475
|
+
"type": {
|
|
4476
|
+
"text": "readonly KtTableRow[]"
|
|
4477
|
+
}
|
|
4478
|
+
},
|
|
4479
|
+
"parameters": [
|
|
4480
|
+
{
|
|
4481
|
+
"name": "collator",
|
|
4482
|
+
"type": {
|
|
4483
|
+
"text": "Intl.Collator"
|
|
4484
|
+
}
|
|
4485
|
+
}
|
|
4486
|
+
]
|
|
4487
|
+
},
|
|
4363
4488
|
{
|
|
4364
4489
|
"kind": "field",
|
|
4365
4490
|
"name": "totalPages",
|
|
@@ -4452,6 +4577,40 @@
|
|
|
4452
4577
|
"description": "The selected rows themselves, not just their identities.",
|
|
4453
4578
|
"readonly": true
|
|
4454
4579
|
},
|
|
4580
|
+
{
|
|
4581
|
+
"kind": "field",
|
|
4582
|
+
"name": "isVirtual",
|
|
4583
|
+
"type": {
|
|
4584
|
+
"text": "boolean"
|
|
4585
|
+
},
|
|
4586
|
+
"privacy": "private",
|
|
4587
|
+
"description": "Virtual rendering, unless a page size pages the rows instead.",
|
|
4588
|
+
"readonly": true
|
|
4589
|
+
},
|
|
4590
|
+
{
|
|
4591
|
+
"kind": "field",
|
|
4592
|
+
"name": "onScroll",
|
|
4593
|
+
"privacy": "private"
|
|
4594
|
+
},
|
|
4595
|
+
{
|
|
4596
|
+
"kind": "method",
|
|
4597
|
+
"name": "observe",
|
|
4598
|
+
"privacy": "private",
|
|
4599
|
+
"return": {
|
|
4600
|
+
"type": {
|
|
4601
|
+
"text": "void"
|
|
4602
|
+
}
|
|
4603
|
+
},
|
|
4604
|
+
"parameters": [
|
|
4605
|
+
{
|
|
4606
|
+
"name": "scroller",
|
|
4607
|
+
"type": {
|
|
4608
|
+
"text": "HTMLElement | undefined"
|
|
4609
|
+
}
|
|
4610
|
+
}
|
|
4611
|
+
],
|
|
4612
|
+
"description": "Follows the scroller's height, which the page can change at any time."
|
|
4613
|
+
},
|
|
4455
4614
|
{
|
|
4456
4615
|
"kind": "method",
|
|
4457
4616
|
"name": "onPageChange",
|
|
@@ -4516,6 +4675,31 @@
|
|
|
4516
4675
|
"text": "TemplateResult"
|
|
4517
4676
|
}
|
|
4518
4677
|
}
|
|
4678
|
+
},
|
|
4679
|
+
{
|
|
4680
|
+
"kind": "method",
|
|
4681
|
+
"name": "renderRow",
|
|
4682
|
+
"privacy": "private",
|
|
4683
|
+
"return": {
|
|
4684
|
+
"type": {
|
|
4685
|
+
"text": "TemplateResult"
|
|
4686
|
+
}
|
|
4687
|
+
},
|
|
4688
|
+
"parameters": [
|
|
4689
|
+
{
|
|
4690
|
+
"name": "row",
|
|
4691
|
+
"type": {
|
|
4692
|
+
"text": "KtTableRow"
|
|
4693
|
+
}
|
|
4694
|
+
},
|
|
4695
|
+
{
|
|
4696
|
+
"name": "index",
|
|
4697
|
+
"type": {
|
|
4698
|
+
"text": "number"
|
|
4699
|
+
}
|
|
4700
|
+
}
|
|
4701
|
+
],
|
|
4702
|
+
"description": "`index` counts from the first row of the data, not of the rows rendered."
|
|
4519
4703
|
}
|
|
4520
4704
|
],
|
|
4521
4705
|
"events": [
|
|
@@ -4537,6 +4721,42 @@
|
|
|
4537
4721
|
}
|
|
4538
4722
|
],
|
|
4539
4723
|
"attributes": [
|
|
4724
|
+
{
|
|
4725
|
+
"name": "page",
|
|
4726
|
+
"type": {
|
|
4727
|
+
"text": "number"
|
|
4728
|
+
},
|
|
4729
|
+
"default": "1",
|
|
4730
|
+
"description": "The page on screen, from 1. Set it to open on another page.",
|
|
4731
|
+
"fieldName": "page"
|
|
4732
|
+
},
|
|
4733
|
+
{
|
|
4734
|
+
"name": "manual",
|
|
4735
|
+
"type": {
|
|
4736
|
+
"text": "boolean"
|
|
4737
|
+
},
|
|
4738
|
+
"default": "false",
|
|
4739
|
+
"description": "For data sorted and paged on a server: `data` is the current page, shown\nas given. Headers and the pager still update the state and fire their\nevents, and the application loads what they ask for.",
|
|
4740
|
+
"fieldName": "manual"
|
|
4741
|
+
},
|
|
4742
|
+
{
|
|
4743
|
+
"name": "virtual",
|
|
4744
|
+
"type": {
|
|
4745
|
+
"text": "boolean"
|
|
4746
|
+
},
|
|
4747
|
+
"default": "false",
|
|
4748
|
+
"description": "Renders only the rows in view, for thousands of rows without paging. The\ntable scrolls inside its own box: give it a height (`kt-table { height:\n480px }`). Every row must be the same height — the first one rendered is\nmeasured. A page size takes precedence.",
|
|
4749
|
+
"fieldName": "virtual"
|
|
4750
|
+
},
|
|
4751
|
+
{
|
|
4752
|
+
"name": "total-rows",
|
|
4753
|
+
"type": {
|
|
4754
|
+
"text": "number"
|
|
4755
|
+
},
|
|
4756
|
+
"default": "0",
|
|
4757
|
+
"description": "In manual mode, how many rows the server holds — what the pager counts.",
|
|
4758
|
+
"fieldName": "totalRows"
|
|
4759
|
+
},
|
|
4540
4760
|
{
|
|
4541
4761
|
"name": "selectable",
|
|
4542
4762
|
"type": {
|
|
@@ -4618,6 +4838,15 @@
|
|
|
4618
4838
|
"default": "''",
|
|
4619
4839
|
"description": "Accessible name for the table.",
|
|
4620
4840
|
"fieldName": "label"
|
|
4841
|
+
},
|
|
4842
|
+
{
|
|
4843
|
+
"name": "locale",
|
|
4844
|
+
"type": {
|
|
4845
|
+
"text": "string"
|
|
4846
|
+
},
|
|
4847
|
+
"default": "''",
|
|
4848
|
+
"description": "BCP 47 locale text is sorted in. Empty means the page's `<html lang>`,\nthen the browser's language.",
|
|
4849
|
+
"fieldName": "locale"
|
|
4621
4850
|
}
|
|
4622
4851
|
],
|
|
4623
4852
|
"superclass": {
|
|
@@ -4639,6 +4868,40 @@
|
|
|
4639
4868
|
}
|
|
4640
4869
|
]
|
|
4641
4870
|
},
|
|
4871
|
+
{
|
|
4872
|
+
"kind": "javascript-module",
|
|
4873
|
+
"path": "dist/components/data/kt-table/window.js",
|
|
4874
|
+
"declarations": [
|
|
4875
|
+
{
|
|
4876
|
+
"kind": "function",
|
|
4877
|
+
"name": "rowWindow",
|
|
4878
|
+
"return": {
|
|
4879
|
+
"type": {
|
|
4880
|
+
"text": "{ start: number; end: number }"
|
|
4881
|
+
}
|
|
4882
|
+
},
|
|
4883
|
+
"parameters": [
|
|
4884
|
+
{
|
|
4885
|
+
"name": "{\n rowCount,\n rowHeight,\n viewportHeight,\n scrollTop,\n overscan,\n}",
|
|
4886
|
+
"type": {
|
|
4887
|
+
"text": "RowWindowInput"
|
|
4888
|
+
}
|
|
4889
|
+
}
|
|
4890
|
+
],
|
|
4891
|
+
"description": "Rows `start` (inclusive) to `end` (exclusive)."
|
|
4892
|
+
}
|
|
4893
|
+
],
|
|
4894
|
+
"exports": [
|
|
4895
|
+
{
|
|
4896
|
+
"kind": "js",
|
|
4897
|
+
"name": "rowWindow",
|
|
4898
|
+
"declaration": {
|
|
4899
|
+
"name": "rowWindow",
|
|
4900
|
+
"module": "dist/components/data/kt-table/window.js"
|
|
4901
|
+
}
|
|
4902
|
+
}
|
|
4903
|
+
]
|
|
4904
|
+
},
|
|
4642
4905
|
{
|
|
4643
4906
|
"kind": "javascript-module",
|
|
4644
4907
|
"path": "dist/components/data/kt-timeline/kt-timeline.js",
|
|
@@ -5962,6 +6225,14 @@
|
|
|
5962
6225
|
"privacy": "private",
|
|
5963
6226
|
"default": "false"
|
|
5964
6227
|
},
|
|
6228
|
+
{
|
|
6229
|
+
"kind": "field",
|
|
6230
|
+
"name": "bubble",
|
|
6231
|
+
"type": {
|
|
6232
|
+
"text": "HTMLElement"
|
|
6233
|
+
},
|
|
6234
|
+
"privacy": "private"
|
|
6235
|
+
},
|
|
5965
6236
|
{
|
|
5966
6237
|
"kind": "field",
|
|
5967
6238
|
"name": "text",
|
|
@@ -5978,9 +6249,21 @@
|
|
|
5978
6249
|
"text": "KtTooltipPlacement"
|
|
5979
6250
|
},
|
|
5980
6251
|
"default": "'top'",
|
|
6252
|
+
"description": "The side the bubble prefers. It takes the opposite one when this one has\nno room — \"top\" on a trigger at the top of the page shows below it.",
|
|
5981
6253
|
"attribute": "placement",
|
|
5982
6254
|
"reflects": true
|
|
5983
6255
|
},
|
|
6256
|
+
{
|
|
6257
|
+
"kind": "field",
|
|
6258
|
+
"name": "open",
|
|
6259
|
+
"type": {
|
|
6260
|
+
"text": "boolean"
|
|
6261
|
+
},
|
|
6262
|
+
"default": "false",
|
|
6263
|
+
"description": "Shows the bubble whatever the pointer and focus do — for a trigger that\ncannot take focus itself, like an icon beside a field, whose owner shows\nit while the field is focused.",
|
|
6264
|
+
"attribute": "open",
|
|
6265
|
+
"reflects": true
|
|
6266
|
+
},
|
|
5984
6267
|
{
|
|
5985
6268
|
"kind": "field",
|
|
5986
6269
|
"name": "disabled",
|
|
@@ -5992,6 +6275,37 @@
|
|
|
5992
6275
|
"attribute": "disabled",
|
|
5993
6276
|
"reflects": true
|
|
5994
6277
|
},
|
|
6278
|
+
{
|
|
6279
|
+
"kind": "field",
|
|
6280
|
+
"name": "shown",
|
|
6281
|
+
"type": {
|
|
6282
|
+
"text": "boolean"
|
|
6283
|
+
},
|
|
6284
|
+
"privacy": "private",
|
|
6285
|
+
"description": "Hovered, focused or held open — and something to say.",
|
|
6286
|
+
"readonly": true
|
|
6287
|
+
},
|
|
6288
|
+
{
|
|
6289
|
+
"kind": "method",
|
|
6290
|
+
"name": "openBubble",
|
|
6291
|
+
"privacy": "private",
|
|
6292
|
+
"return": {
|
|
6293
|
+
"type": {
|
|
6294
|
+
"text": "void"
|
|
6295
|
+
}
|
|
6296
|
+
},
|
|
6297
|
+
"description": "Opens the bubble in the top layer, then places it: it has to be open to be\nmeasured. Where popovers are missing — a test DOM — it stays in place."
|
|
6298
|
+
},
|
|
6299
|
+
{
|
|
6300
|
+
"kind": "method",
|
|
6301
|
+
"name": "closeBubble",
|
|
6302
|
+
"privacy": "private",
|
|
6303
|
+
"return": {
|
|
6304
|
+
"type": {
|
|
6305
|
+
"text": "void"
|
|
6306
|
+
}
|
|
6307
|
+
}
|
|
6308
|
+
},
|
|
5995
6309
|
{
|
|
5996
6310
|
"kind": "method",
|
|
5997
6311
|
"name": "syncDescription",
|
|
@@ -6035,8 +6349,18 @@
|
|
|
6035
6349
|
"text": "KtTooltipPlacement"
|
|
6036
6350
|
},
|
|
6037
6351
|
"default": "'top'",
|
|
6352
|
+
"description": "The side the bubble prefers. It takes the opposite one when this one has\nno room — \"top\" on a trigger at the top of the page shows below it.",
|
|
6038
6353
|
"fieldName": "placement"
|
|
6039
6354
|
},
|
|
6355
|
+
{
|
|
6356
|
+
"name": "open",
|
|
6357
|
+
"type": {
|
|
6358
|
+
"text": "boolean"
|
|
6359
|
+
},
|
|
6360
|
+
"default": "false",
|
|
6361
|
+
"description": "Shows the bubble whatever the pointer and focus do — for a trigger that\ncannot take focus itself, like an icon beside a field, whose owner shows\nit while the field is focused.",
|
|
6362
|
+
"fieldName": "open"
|
|
6363
|
+
},
|
|
6040
6364
|
{
|
|
6041
6365
|
"name": "disabled",
|
|
6042
6366
|
"type": {
|
|
@@ -6068,138 +6392,137 @@
|
|
|
6068
6392
|
},
|
|
6069
6393
|
{
|
|
6070
6394
|
"kind": "javascript-module",
|
|
6071
|
-
"path": "dist/components/forms/kt-
|
|
6395
|
+
"path": "dist/components/forms/kt-calendar/kt-calendar.js",
|
|
6072
6396
|
"declarations": [
|
|
6073
6397
|
{
|
|
6074
6398
|
"kind": "class",
|
|
6075
|
-
"description": "A
|
|
6076
|
-
"name": "
|
|
6399
|
+
"description": "A month calendar to pick a day or a period from, shown in the page.\n\nThe same calendar `<kt-date-picker>` opens in its popup, for when the\ncalendar is the interface rather than a way to fill a field: a booking\npage, a dashboard's date filter, a planning view.\n\nThe header's month and year are buttons. The month opens a grid of the\ntwelve months, the year a grid of twelve years, so reaching a date years\naway takes three clicks rather than paging month by month.\n\nKeyboard, in the day grid (the WAI-ARIA date grid pattern): arrows by day\nand week, Home/End to the week's ends, Page Up/Down by month and with Shift\nby year, Enter to choose. In the month and year grids: arrows, Page Up/Down\nby year or by twelve years, Enter to choose, Escape back to the days.",
|
|
6400
|
+
"name": "KtCalendar",
|
|
6077
6401
|
"cssParts": [
|
|
6078
6402
|
{
|
|
6079
|
-
"description": "The
|
|
6403
|
+
"description": "The calendar.",
|
|
6080
6404
|
"name": "base"
|
|
6081
6405
|
},
|
|
6082
6406
|
{
|
|
6083
|
-
"description": "
|
|
6084
|
-
"name": "
|
|
6085
|
-
},
|
|
6086
|
-
{
|
|
6087
|
-
"description": "The drawn box.",
|
|
6088
|
-
"name": "box"
|
|
6089
|
-
}
|
|
6090
|
-
],
|
|
6091
|
-
"slots": [
|
|
6092
|
-
{
|
|
6093
|
-
"description": "The label, clickable.",
|
|
6094
|
-
"name": ""
|
|
6407
|
+
"description": "A day cell.",
|
|
6408
|
+
"name": "day"
|
|
6095
6409
|
}
|
|
6096
6410
|
],
|
|
6097
6411
|
"members": [
|
|
6098
6412
|
{
|
|
6099
6413
|
"kind": "field",
|
|
6100
|
-
"name": "
|
|
6414
|
+
"name": "liveId",
|
|
6415
|
+
"privacy": "private",
|
|
6416
|
+
"readonly": true
|
|
6417
|
+
},
|
|
6418
|
+
{
|
|
6419
|
+
"kind": "field",
|
|
6420
|
+
"name": "focusCell",
|
|
6101
6421
|
"type": {
|
|
6102
6422
|
"text": "boolean"
|
|
6103
6423
|
},
|
|
6104
|
-
"
|
|
6105
|
-
"
|
|
6106
|
-
"default": "true"
|
|
6424
|
+
"privacy": "private",
|
|
6425
|
+
"default": "false"
|
|
6107
6426
|
},
|
|
6108
6427
|
{
|
|
6109
6428
|
"kind": "field",
|
|
6110
|
-
"name": "
|
|
6429
|
+
"name": "committing",
|
|
6111
6430
|
"type": {
|
|
6112
|
-
"text": "
|
|
6431
|
+
"text": "boolean"
|
|
6113
6432
|
},
|
|
6114
|
-
"privacy": "private"
|
|
6433
|
+
"privacy": "private",
|
|
6434
|
+
"default": "false",
|
|
6435
|
+
"description": "Set while the calendar writes its own value, which should not move it."
|
|
6115
6436
|
},
|
|
6116
6437
|
{
|
|
6117
6438
|
"kind": "field",
|
|
6118
|
-
"name": "
|
|
6439
|
+
"name": "view",
|
|
6119
6440
|
"type": {
|
|
6120
|
-
"text": "
|
|
6441
|
+
"text": "KtCalendarView"
|
|
6121
6442
|
},
|
|
6122
6443
|
"privacy": "private",
|
|
6123
|
-
"default": "
|
|
6444
|
+
"default": "'day'"
|
|
6124
6445
|
},
|
|
6125
6446
|
{
|
|
6126
6447
|
"kind": "field",
|
|
6127
|
-
"name": "
|
|
6448
|
+
"name": "month",
|
|
6128
6449
|
"type": {
|
|
6129
|
-
"text": "
|
|
6450
|
+
"text": "PlainDate"
|
|
6130
6451
|
},
|
|
6131
6452
|
"privacy": "private",
|
|
6132
|
-
"default": "
|
|
6453
|
+
"default": "{ ...today(), day: 1 }",
|
|
6454
|
+
"description": "First day of the month the day view shows."
|
|
6133
6455
|
},
|
|
6134
6456
|
{
|
|
6135
6457
|
"kind": "field",
|
|
6136
|
-
"name": "
|
|
6458
|
+
"name": "focused",
|
|
6137
6459
|
"type": {
|
|
6138
|
-
"text": "
|
|
6460
|
+
"text": "PlainDate"
|
|
6139
6461
|
},
|
|
6140
|
-
"
|
|
6141
|
-
"
|
|
6142
|
-
"reflects": true
|
|
6462
|
+
"privacy": "private",
|
|
6463
|
+
"description": "The day, month or year holding the grid's one tab stop."
|
|
6143
6464
|
},
|
|
6144
6465
|
{
|
|
6145
6466
|
"kind": "field",
|
|
6146
|
-
"name": "
|
|
6467
|
+
"name": "anchor",
|
|
6147
6468
|
"type": {
|
|
6148
|
-
"text": "
|
|
6469
|
+
"text": "PlainDate | null"
|
|
6149
6470
|
},
|
|
6150
|
-
"
|
|
6151
|
-
"
|
|
6152
|
-
"
|
|
6153
|
-
"reflects": true
|
|
6471
|
+
"privacy": "private",
|
|
6472
|
+
"default": "null",
|
|
6473
|
+
"description": "In a period: the first end chosen, while the second is pending."
|
|
6154
6474
|
},
|
|
6155
6475
|
{
|
|
6156
6476
|
"kind": "field",
|
|
6157
|
-
"name": "
|
|
6477
|
+
"name": "value",
|
|
6158
6478
|
"type": {
|
|
6159
|
-
"text": "
|
|
6479
|
+
"text": "string | null"
|
|
6160
6480
|
},
|
|
6161
|
-
"default": "
|
|
6162
|
-
"
|
|
6481
|
+
"default": "null",
|
|
6482
|
+
"description": "ISO date, or `start/end` interval with `range`. `null` when empty.",
|
|
6483
|
+
"attribute": "value",
|
|
6163
6484
|
"reflects": true
|
|
6164
6485
|
},
|
|
6165
6486
|
{
|
|
6166
6487
|
"kind": "field",
|
|
6167
|
-
"name": "
|
|
6488
|
+
"name": "range",
|
|
6168
6489
|
"type": {
|
|
6169
6490
|
"text": "boolean"
|
|
6170
6491
|
},
|
|
6171
6492
|
"default": "false",
|
|
6172
|
-
"
|
|
6493
|
+
"description": "Choose a period — two dates — instead of one day.",
|
|
6494
|
+
"attribute": "range",
|
|
6173
6495
|
"reflects": true
|
|
6174
6496
|
},
|
|
6175
6497
|
{
|
|
6176
6498
|
"kind": "field",
|
|
6177
|
-
"name": "
|
|
6499
|
+
"name": "min",
|
|
6178
6500
|
"type": {
|
|
6179
|
-
"text": "
|
|
6501
|
+
"text": "string"
|
|
6180
6502
|
},
|
|
6181
|
-
"default": "'
|
|
6182
|
-
"
|
|
6183
|
-
"
|
|
6503
|
+
"default": "''",
|
|
6504
|
+
"description": "Earliest date that can be chosen, ISO.",
|
|
6505
|
+
"attribute": "min"
|
|
6184
6506
|
},
|
|
6185
6507
|
{
|
|
6186
6508
|
"kind": "field",
|
|
6187
|
-
"name": "
|
|
6509
|
+
"name": "max",
|
|
6188
6510
|
"type": {
|
|
6189
6511
|
"text": "string"
|
|
6190
6512
|
},
|
|
6191
6513
|
"default": "''",
|
|
6192
|
-
"
|
|
6514
|
+
"description": "Latest date that can be chosen, ISO.",
|
|
6515
|
+
"attribute": "max"
|
|
6193
6516
|
},
|
|
6194
6517
|
{
|
|
6195
6518
|
"kind": "field",
|
|
6196
|
-
"name": "
|
|
6519
|
+
"name": "locale",
|
|
6197
6520
|
"type": {
|
|
6198
6521
|
"text": "string"
|
|
6199
6522
|
},
|
|
6200
|
-
"default": "'
|
|
6201
|
-
"description": "
|
|
6202
|
-
"attribute": "
|
|
6523
|
+
"default": "''",
|
|
6524
|
+
"description": "BCP 47 language tag for names and the first day of the week. Empty: the\npage's `lang`, then the browser's language.",
|
|
6525
|
+
"attribute": "locale"
|
|
6203
6526
|
},
|
|
6204
6527
|
{
|
|
6205
6528
|
"kind": "field",
|
|
@@ -6208,32 +6531,158 @@
|
|
|
6208
6531
|
"text": "string"
|
|
6209
6532
|
},
|
|
6210
6533
|
"default": "''",
|
|
6211
|
-
"description": "Accessible name
|
|
6534
|
+
"description": "Accessible name of the calendar. Defaults to the strings registry.",
|
|
6212
6535
|
"attribute": "label"
|
|
6213
6536
|
},
|
|
6537
|
+
{
|
|
6538
|
+
"kind": "method",
|
|
6539
|
+
"name": "focus",
|
|
6540
|
+
"return": {
|
|
6541
|
+
"type": {
|
|
6542
|
+
"text": "void"
|
|
6543
|
+
}
|
|
6544
|
+
},
|
|
6545
|
+
"description": "Focuses the grid's current cell — the chosen day, or today."
|
|
6546
|
+
},
|
|
6214
6547
|
{
|
|
6215
6548
|
"kind": "field",
|
|
6216
|
-
"name": "
|
|
6549
|
+
"name": "resolvedLocale",
|
|
6217
6550
|
"type": {
|
|
6218
6551
|
"text": "string"
|
|
6219
6552
|
},
|
|
6220
|
-
"
|
|
6221
|
-
"
|
|
6222
|
-
|
|
6223
|
-
|
|
6553
|
+
"privacy": "private",
|
|
6554
|
+
"readonly": true
|
|
6555
|
+
},
|
|
6556
|
+
{
|
|
6557
|
+
"kind": "field",
|
|
6558
|
+
"name": "selection",
|
|
6559
|
+
"type": {
|
|
6560
|
+
"text": "{ start: PlainDate | null; end: PlainDate | null }"
|
|
6561
|
+
},
|
|
6562
|
+
"privacy": "private",
|
|
6563
|
+
"readonly": true
|
|
6564
|
+
},
|
|
6565
|
+
{
|
|
6566
|
+
"kind": "field",
|
|
6567
|
+
"name": "bounds",
|
|
6568
|
+
"type": {
|
|
6569
|
+
"text": "{ min: PlainDate | null; max: PlainDate | null }"
|
|
6570
|
+
},
|
|
6571
|
+
"privacy": "private",
|
|
6572
|
+
"readonly": true
|
|
6224
6573
|
},
|
|
6225
6574
|
{
|
|
6226
6575
|
"kind": "method",
|
|
6227
|
-
"name": "
|
|
6576
|
+
"name": "clamp",
|
|
6577
|
+
"privacy": "private",
|
|
6578
|
+
"return": {
|
|
6579
|
+
"type": {
|
|
6580
|
+
"text": "PlainDate"
|
|
6581
|
+
}
|
|
6582
|
+
},
|
|
6583
|
+
"parameters": [
|
|
6584
|
+
{
|
|
6585
|
+
"name": "date",
|
|
6586
|
+
"type": {
|
|
6587
|
+
"text": "PlainDate"
|
|
6588
|
+
}
|
|
6589
|
+
}
|
|
6590
|
+
]
|
|
6591
|
+
},
|
|
6592
|
+
{
|
|
6593
|
+
"kind": "method",
|
|
6594
|
+
"name": "isOutOfBounds",
|
|
6595
|
+
"privacy": "private",
|
|
6596
|
+
"return": {
|
|
6597
|
+
"type": {
|
|
6598
|
+
"text": "boolean"
|
|
6599
|
+
}
|
|
6600
|
+
},
|
|
6601
|
+
"parameters": [
|
|
6602
|
+
{
|
|
6603
|
+
"name": "date",
|
|
6604
|
+
"type": {
|
|
6605
|
+
"text": "PlainDate"
|
|
6606
|
+
}
|
|
6607
|
+
}
|
|
6608
|
+
]
|
|
6609
|
+
},
|
|
6610
|
+
{
|
|
6611
|
+
"kind": "method",
|
|
6612
|
+
"name": "isSpanOutOfBounds",
|
|
6613
|
+
"privacy": "private",
|
|
6614
|
+
"return": {
|
|
6615
|
+
"type": {
|
|
6616
|
+
"text": "boolean"
|
|
6617
|
+
}
|
|
6618
|
+
},
|
|
6619
|
+
"parameters": [
|
|
6620
|
+
{
|
|
6621
|
+
"name": "first",
|
|
6622
|
+
"type": {
|
|
6623
|
+
"text": "PlainDate"
|
|
6624
|
+
}
|
|
6625
|
+
},
|
|
6626
|
+
{
|
|
6627
|
+
"name": "last",
|
|
6628
|
+
"type": {
|
|
6629
|
+
"text": "PlainDate"
|
|
6630
|
+
}
|
|
6631
|
+
}
|
|
6632
|
+
],
|
|
6633
|
+
"description": "A month or a year is unavailable only when every day of it is."
|
|
6634
|
+
},
|
|
6635
|
+
{
|
|
6636
|
+
"kind": "method",
|
|
6637
|
+
"name": "format",
|
|
6638
|
+
"privacy": "private",
|
|
6639
|
+
"return": {
|
|
6640
|
+
"type": {
|
|
6641
|
+
"text": "string"
|
|
6642
|
+
}
|
|
6643
|
+
},
|
|
6644
|
+
"parameters": [
|
|
6645
|
+
{
|
|
6646
|
+
"name": "options",
|
|
6647
|
+
"type": {
|
|
6648
|
+
"text": "Intl.DateTimeFormatOptions"
|
|
6649
|
+
}
|
|
6650
|
+
},
|
|
6651
|
+
{
|
|
6652
|
+
"name": "date",
|
|
6653
|
+
"type": {
|
|
6654
|
+
"text": "PlainDate"
|
|
6655
|
+
}
|
|
6656
|
+
}
|
|
6657
|
+
]
|
|
6658
|
+
},
|
|
6659
|
+
{
|
|
6660
|
+
"kind": "method",
|
|
6661
|
+
"name": "jumpTo",
|
|
6662
|
+
"privacy": "private",
|
|
6228
6663
|
"return": {
|
|
6229
6664
|
"type": {
|
|
6230
6665
|
"text": "void"
|
|
6231
6666
|
}
|
|
6232
|
-
}
|
|
6667
|
+
},
|
|
6668
|
+
"parameters": [
|
|
6669
|
+
{
|
|
6670
|
+
"name": "date",
|
|
6671
|
+
"type": {
|
|
6672
|
+
"text": "PlainDate"
|
|
6673
|
+
}
|
|
6674
|
+
},
|
|
6675
|
+
{
|
|
6676
|
+
"name": "focus",
|
|
6677
|
+
"default": "true"
|
|
6678
|
+
}
|
|
6679
|
+
],
|
|
6680
|
+
"description": "Moves the tab stop, and the day view with it when it leaves the month."
|
|
6233
6681
|
},
|
|
6234
6682
|
{
|
|
6235
6683
|
"kind": "method",
|
|
6236
|
-
"name": "
|
|
6684
|
+
"name": "setView",
|
|
6685
|
+
"privacy": "private",
|
|
6237
6686
|
"return": {
|
|
6238
6687
|
"type": {
|
|
6239
6688
|
"text": "void"
|
|
@@ -6241,16 +6690,1047 @@
|
|
|
6241
6690
|
},
|
|
6242
6691
|
"parameters": [
|
|
6243
6692
|
{
|
|
6244
|
-
"name": "
|
|
6693
|
+
"name": "view",
|
|
6245
6694
|
"type": {
|
|
6246
|
-
"text": "
|
|
6695
|
+
"text": "KtCalendarView"
|
|
6696
|
+
}
|
|
6697
|
+
}
|
|
6698
|
+
]
|
|
6699
|
+
},
|
|
6700
|
+
{
|
|
6701
|
+
"kind": "method",
|
|
6702
|
+
"name": "chooseDay",
|
|
6703
|
+
"privacy": "private",
|
|
6704
|
+
"return": {
|
|
6705
|
+
"type": {
|
|
6706
|
+
"text": "void"
|
|
6707
|
+
}
|
|
6708
|
+
},
|
|
6709
|
+
"parameters": [
|
|
6710
|
+
{
|
|
6711
|
+
"name": "date",
|
|
6712
|
+
"type": {
|
|
6713
|
+
"text": "PlainDate"
|
|
6714
|
+
}
|
|
6715
|
+
}
|
|
6716
|
+
]
|
|
6717
|
+
},
|
|
6718
|
+
{
|
|
6719
|
+
"kind": "method",
|
|
6720
|
+
"name": "commit",
|
|
6721
|
+
"privacy": "private",
|
|
6722
|
+
"return": {
|
|
6723
|
+
"type": {
|
|
6724
|
+
"text": "void"
|
|
6725
|
+
}
|
|
6726
|
+
},
|
|
6727
|
+
"parameters": [
|
|
6728
|
+
{
|
|
6729
|
+
"name": "value",
|
|
6730
|
+
"type": {
|
|
6731
|
+
"text": "string"
|
|
6732
|
+
}
|
|
6733
|
+
}
|
|
6734
|
+
]
|
|
6735
|
+
},
|
|
6736
|
+
{
|
|
6737
|
+
"kind": "method",
|
|
6738
|
+
"name": "chooseMonth",
|
|
6739
|
+
"privacy": "private",
|
|
6740
|
+
"return": {
|
|
6741
|
+
"type": {
|
|
6742
|
+
"text": "void"
|
|
6743
|
+
}
|
|
6744
|
+
},
|
|
6745
|
+
"parameters": [
|
|
6746
|
+
{
|
|
6747
|
+
"name": "month",
|
|
6748
|
+
"type": {
|
|
6749
|
+
"text": "number"
|
|
6247
6750
|
}
|
|
6248
6751
|
}
|
|
6249
6752
|
]
|
|
6250
6753
|
},
|
|
6251
6754
|
{
|
|
6252
6755
|
"kind": "method",
|
|
6253
|
-
"name": "
|
|
6756
|
+
"name": "chooseYear",
|
|
6757
|
+
"privacy": "private",
|
|
6758
|
+
"return": {
|
|
6759
|
+
"type": {
|
|
6760
|
+
"text": "void"
|
|
6761
|
+
}
|
|
6762
|
+
},
|
|
6763
|
+
"parameters": [
|
|
6764
|
+
{
|
|
6765
|
+
"name": "year",
|
|
6766
|
+
"type": {
|
|
6767
|
+
"text": "number"
|
|
6768
|
+
}
|
|
6769
|
+
}
|
|
6770
|
+
]
|
|
6771
|
+
},
|
|
6772
|
+
{
|
|
6773
|
+
"kind": "method",
|
|
6774
|
+
"name": "onDayKeyDown",
|
|
6775
|
+
"privacy": "private",
|
|
6776
|
+
"return": {
|
|
6777
|
+
"type": {
|
|
6778
|
+
"text": "void"
|
|
6779
|
+
}
|
|
6780
|
+
},
|
|
6781
|
+
"parameters": [
|
|
6782
|
+
{
|
|
6783
|
+
"name": "event",
|
|
6784
|
+
"type": {
|
|
6785
|
+
"text": "KeyboardEvent"
|
|
6786
|
+
}
|
|
6787
|
+
}
|
|
6788
|
+
]
|
|
6789
|
+
},
|
|
6790
|
+
{
|
|
6791
|
+
"kind": "method",
|
|
6792
|
+
"name": "onPickerKeyDown",
|
|
6793
|
+
"privacy": "private",
|
|
6794
|
+
"return": {
|
|
6795
|
+
"type": {
|
|
6796
|
+
"text": "void"
|
|
6797
|
+
}
|
|
6798
|
+
},
|
|
6799
|
+
"parameters": [
|
|
6800
|
+
{
|
|
6801
|
+
"name": "event",
|
|
6802
|
+
"type": {
|
|
6803
|
+
"text": "KeyboardEvent"
|
|
6804
|
+
}
|
|
6805
|
+
}
|
|
6806
|
+
],
|
|
6807
|
+
"description": "Months and years share one model: a list of cells, three to a row."
|
|
6808
|
+
},
|
|
6809
|
+
{
|
|
6810
|
+
"kind": "method",
|
|
6811
|
+
"name": "renderHeader",
|
|
6812
|
+
"privacy": "private",
|
|
6813
|
+
"return": {
|
|
6814
|
+
"type": {
|
|
6815
|
+
"text": "TemplateResult"
|
|
6816
|
+
}
|
|
6817
|
+
}
|
|
6818
|
+
},
|
|
6819
|
+
{
|
|
6820
|
+
"kind": "method",
|
|
6821
|
+
"name": "renderDay",
|
|
6822
|
+
"privacy": "private",
|
|
6823
|
+
"return": {
|
|
6824
|
+
"type": {
|
|
6825
|
+
"text": "TemplateResult"
|
|
6826
|
+
}
|
|
6827
|
+
},
|
|
6828
|
+
"parameters": [
|
|
6829
|
+
{
|
|
6830
|
+
"name": "date",
|
|
6831
|
+
"type": {
|
|
6832
|
+
"text": "PlainDate"
|
|
6833
|
+
}
|
|
6834
|
+
}
|
|
6835
|
+
]
|
|
6836
|
+
},
|
|
6837
|
+
{
|
|
6838
|
+
"kind": "method",
|
|
6839
|
+
"name": "renderDays",
|
|
6840
|
+
"privacy": "private",
|
|
6841
|
+
"return": {
|
|
6842
|
+
"type": {
|
|
6843
|
+
"text": "TemplateResult"
|
|
6844
|
+
}
|
|
6845
|
+
}
|
|
6846
|
+
},
|
|
6847
|
+
{
|
|
6848
|
+
"kind": "method",
|
|
6849
|
+
"name": "renderPicker",
|
|
6850
|
+
"privacy": "private",
|
|
6851
|
+
"return": {
|
|
6852
|
+
"type": {
|
|
6853
|
+
"text": "TemplateResult"
|
|
6854
|
+
}
|
|
6855
|
+
},
|
|
6856
|
+
"description": "The month or year grid: twelve cells, three to a row."
|
|
6857
|
+
}
|
|
6858
|
+
],
|
|
6859
|
+
"events": [
|
|
6860
|
+
{
|
|
6861
|
+
"description": "A day, or a whole period, was chosen. `detail: { value }`.",
|
|
6862
|
+
"name": "kt-change"
|
|
6863
|
+
}
|
|
6864
|
+
],
|
|
6865
|
+
"attributes": [
|
|
6866
|
+
{
|
|
6867
|
+
"name": "value",
|
|
6868
|
+
"type": {
|
|
6869
|
+
"text": "string | null"
|
|
6870
|
+
},
|
|
6871
|
+
"default": "null",
|
|
6872
|
+
"description": "ISO date, or `start/end` interval with `range`. `null` when empty.",
|
|
6873
|
+
"fieldName": "value"
|
|
6874
|
+
},
|
|
6875
|
+
{
|
|
6876
|
+
"name": "range",
|
|
6877
|
+
"type": {
|
|
6878
|
+
"text": "boolean"
|
|
6879
|
+
},
|
|
6880
|
+
"default": "false",
|
|
6881
|
+
"description": "Choose a period — two dates — instead of one day.",
|
|
6882
|
+
"fieldName": "range"
|
|
6883
|
+
},
|
|
6884
|
+
{
|
|
6885
|
+
"name": "min",
|
|
6886
|
+
"type": {
|
|
6887
|
+
"text": "string"
|
|
6888
|
+
},
|
|
6889
|
+
"default": "''",
|
|
6890
|
+
"description": "Earliest date that can be chosen, ISO.",
|
|
6891
|
+
"fieldName": "min"
|
|
6892
|
+
},
|
|
6893
|
+
{
|
|
6894
|
+
"name": "max",
|
|
6895
|
+
"type": {
|
|
6896
|
+
"text": "string"
|
|
6897
|
+
},
|
|
6898
|
+
"default": "''",
|
|
6899
|
+
"description": "Latest date that can be chosen, ISO.",
|
|
6900
|
+
"fieldName": "max"
|
|
6901
|
+
},
|
|
6902
|
+
{
|
|
6903
|
+
"name": "locale",
|
|
6904
|
+
"type": {
|
|
6905
|
+
"text": "string"
|
|
6906
|
+
},
|
|
6907
|
+
"default": "''",
|
|
6908
|
+
"description": "BCP 47 language tag for names and the first day of the week. Empty: the\npage's `lang`, then the browser's language.",
|
|
6909
|
+
"fieldName": "locale"
|
|
6910
|
+
},
|
|
6911
|
+
{
|
|
6912
|
+
"name": "label",
|
|
6913
|
+
"type": {
|
|
6914
|
+
"text": "string"
|
|
6915
|
+
},
|
|
6916
|
+
"default": "''",
|
|
6917
|
+
"description": "Accessible name of the calendar. Defaults to the strings registry.",
|
|
6918
|
+
"fieldName": "label"
|
|
6919
|
+
}
|
|
6920
|
+
],
|
|
6921
|
+
"superclass": {
|
|
6922
|
+
"name": "KtElement",
|
|
6923
|
+
"module": "dist/components/forms/kt-calendar/kt-calendar.js"
|
|
6924
|
+
},
|
|
6925
|
+
"tagName": "kt-calendar",
|
|
6926
|
+
"customElement": true
|
|
6927
|
+
},
|
|
6928
|
+
{
|
|
6929
|
+
"kind": "variable",
|
|
6930
|
+
"name": "month"
|
|
6931
|
+
}
|
|
6932
|
+
],
|
|
6933
|
+
"exports": [
|
|
6934
|
+
{
|
|
6935
|
+
"kind": "js",
|
|
6936
|
+
"name": "KtCalendar",
|
|
6937
|
+
"declaration": {
|
|
6938
|
+
"name": "KtCalendar",
|
|
6939
|
+
"module": "dist/components/forms/kt-calendar/kt-calendar.js"
|
|
6940
|
+
}
|
|
6941
|
+
}
|
|
6942
|
+
]
|
|
6943
|
+
},
|
|
6944
|
+
{
|
|
6945
|
+
"kind": "javascript-module",
|
|
6946
|
+
"path": "dist/components/forms/kt-checkbox/kt-checkbox.js",
|
|
6947
|
+
"declarations": [
|
|
6948
|
+
{
|
|
6949
|
+
"kind": "class",
|
|
6950
|
+
"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>`.",
|
|
6951
|
+
"name": "KtCheckbox",
|
|
6952
|
+
"cssParts": [
|
|
6953
|
+
{
|
|
6954
|
+
"description": "The `<label>` around box and text.",
|
|
6955
|
+
"name": "base"
|
|
6956
|
+
},
|
|
6957
|
+
{
|
|
6958
|
+
"description": "The native checkbox.",
|
|
6959
|
+
"name": "input"
|
|
6960
|
+
},
|
|
6961
|
+
{
|
|
6962
|
+
"description": "The drawn box.",
|
|
6963
|
+
"name": "box"
|
|
6964
|
+
}
|
|
6965
|
+
],
|
|
6966
|
+
"slots": [
|
|
6967
|
+
{
|
|
6968
|
+
"description": "The label, clickable.",
|
|
6969
|
+
"name": ""
|
|
6970
|
+
}
|
|
6971
|
+
],
|
|
6972
|
+
"members": [
|
|
6973
|
+
{
|
|
6974
|
+
"kind": "field",
|
|
6975
|
+
"name": "formAssociated",
|
|
6976
|
+
"type": {
|
|
6977
|
+
"text": "boolean"
|
|
6978
|
+
},
|
|
6979
|
+
"static": true,
|
|
6980
|
+
"readonly": true,
|
|
6981
|
+
"default": "true"
|
|
6982
|
+
},
|
|
6983
|
+
{
|
|
6984
|
+
"kind": "field",
|
|
6985
|
+
"name": "input",
|
|
6986
|
+
"type": {
|
|
6987
|
+
"text": "HTMLInputElement | undefined"
|
|
6988
|
+
},
|
|
6989
|
+
"privacy": "private"
|
|
6990
|
+
},
|
|
6991
|
+
{
|
|
6992
|
+
"kind": "field",
|
|
6993
|
+
"name": "internals",
|
|
6994
|
+
"type": {
|
|
6995
|
+
"text": "UsableInternals | null"
|
|
6996
|
+
},
|
|
6997
|
+
"privacy": "private",
|
|
6998
|
+
"default": "null"
|
|
6999
|
+
},
|
|
7000
|
+
{
|
|
7001
|
+
"kind": "field",
|
|
7002
|
+
"name": "defaultChecked",
|
|
7003
|
+
"type": {
|
|
7004
|
+
"text": "boolean"
|
|
7005
|
+
},
|
|
7006
|
+
"privacy": "private",
|
|
7007
|
+
"default": "false"
|
|
7008
|
+
},
|
|
7009
|
+
{
|
|
7010
|
+
"kind": "field",
|
|
7011
|
+
"name": "checked",
|
|
7012
|
+
"type": {
|
|
7013
|
+
"text": "boolean"
|
|
7014
|
+
},
|
|
7015
|
+
"default": "false",
|
|
7016
|
+
"attribute": "checked",
|
|
7017
|
+
"reflects": true
|
|
7018
|
+
},
|
|
7019
|
+
{
|
|
7020
|
+
"kind": "field",
|
|
7021
|
+
"name": "indeterminate",
|
|
7022
|
+
"type": {
|
|
7023
|
+
"text": "boolean"
|
|
7024
|
+
},
|
|
7025
|
+
"default": "false",
|
|
7026
|
+
"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.",
|
|
7027
|
+
"attribute": "indeterminate",
|
|
7028
|
+
"reflects": true
|
|
7029
|
+
},
|
|
7030
|
+
{
|
|
7031
|
+
"kind": "field",
|
|
7032
|
+
"name": "disabled",
|
|
7033
|
+
"type": {
|
|
7034
|
+
"text": "boolean"
|
|
7035
|
+
},
|
|
7036
|
+
"default": "false",
|
|
7037
|
+
"attribute": "disabled",
|
|
7038
|
+
"reflects": true
|
|
7039
|
+
},
|
|
7040
|
+
{
|
|
7041
|
+
"kind": "field",
|
|
7042
|
+
"name": "formDisabled",
|
|
7043
|
+
"type": {
|
|
7044
|
+
"text": "boolean"
|
|
7045
|
+
},
|
|
7046
|
+
"privacy": "private",
|
|
7047
|
+
"default": "false",
|
|
7048
|
+
"description": "Disabled by an enclosing `<fieldset>`, which leaves `disabled` alone."
|
|
7049
|
+
},
|
|
7050
|
+
{
|
|
7051
|
+
"kind": "field",
|
|
7052
|
+
"name": "inactive",
|
|
7053
|
+
"type": {
|
|
7054
|
+
"text": "boolean"
|
|
7055
|
+
},
|
|
7056
|
+
"privacy": "private",
|
|
7057
|
+
"description": "Whether the control is off, by its own `disabled` or by its form.",
|
|
7058
|
+
"readonly": true
|
|
7059
|
+
},
|
|
7060
|
+
{
|
|
7061
|
+
"kind": "field",
|
|
7062
|
+
"name": "required",
|
|
7063
|
+
"type": {
|
|
7064
|
+
"text": "boolean"
|
|
7065
|
+
},
|
|
7066
|
+
"default": "false",
|
|
7067
|
+
"attribute": "required",
|
|
7068
|
+
"reflects": true
|
|
7069
|
+
},
|
|
7070
|
+
{
|
|
7071
|
+
"kind": "field",
|
|
7072
|
+
"name": "size",
|
|
7073
|
+
"type": {
|
|
7074
|
+
"text": "KtCheckboxSize"
|
|
7075
|
+
},
|
|
7076
|
+
"default": "'medium'",
|
|
7077
|
+
"attribute": "size",
|
|
7078
|
+
"reflects": true
|
|
7079
|
+
},
|
|
7080
|
+
{
|
|
7081
|
+
"kind": "field",
|
|
7082
|
+
"name": "name",
|
|
7083
|
+
"type": {
|
|
7084
|
+
"text": "string"
|
|
7085
|
+
},
|
|
7086
|
+
"default": "''",
|
|
7087
|
+
"attribute": "name"
|
|
7088
|
+
},
|
|
7089
|
+
{
|
|
7090
|
+
"kind": "field",
|
|
7091
|
+
"name": "value",
|
|
7092
|
+
"type": {
|
|
7093
|
+
"text": "string"
|
|
7094
|
+
},
|
|
7095
|
+
"default": "'on'",
|
|
7096
|
+
"description": "Submitted when checked, as for a native checkbox.",
|
|
7097
|
+
"attribute": "value"
|
|
7098
|
+
},
|
|
7099
|
+
{
|
|
7100
|
+
"kind": "field",
|
|
7101
|
+
"name": "label",
|
|
7102
|
+
"type": {
|
|
7103
|
+
"text": "string"
|
|
7104
|
+
},
|
|
7105
|
+
"default": "''",
|
|
7106
|
+
"description": "Accessible name, when nothing is slotted.",
|
|
7107
|
+
"attribute": "label"
|
|
7108
|
+
},
|
|
7109
|
+
{
|
|
7110
|
+
"kind": "field",
|
|
7111
|
+
"name": "error",
|
|
7112
|
+
"type": {
|
|
7113
|
+
"text": "string"
|
|
7114
|
+
},
|
|
7115
|
+
"default": "''",
|
|
7116
|
+
"description": "Error message. A non-empty value puts the box in its error state.",
|
|
7117
|
+
"attribute": "error",
|
|
7118
|
+
"reflects": true
|
|
7119
|
+
},
|
|
7120
|
+
{
|
|
7121
|
+
"kind": "method",
|
|
7122
|
+
"name": "formResetCallback",
|
|
7123
|
+
"return": {
|
|
7124
|
+
"type": {
|
|
7125
|
+
"text": "void"
|
|
7126
|
+
}
|
|
7127
|
+
}
|
|
7128
|
+
},
|
|
7129
|
+
{
|
|
7130
|
+
"kind": "method",
|
|
7131
|
+
"name": "formDisabledCallback",
|
|
7132
|
+
"return": {
|
|
7133
|
+
"type": {
|
|
7134
|
+
"text": "void"
|
|
7135
|
+
}
|
|
7136
|
+
},
|
|
7137
|
+
"parameters": [
|
|
7138
|
+
{
|
|
7139
|
+
"name": "disabled",
|
|
7140
|
+
"type": {
|
|
7141
|
+
"text": "boolean"
|
|
7142
|
+
}
|
|
7143
|
+
}
|
|
7144
|
+
],
|
|
7145
|
+
"description": "Called by the platform when the control's disabled state changes — its\nown `disabled`, or an ancestor `<fieldset disabled>` it cannot see."
|
|
7146
|
+
},
|
|
7147
|
+
{
|
|
7148
|
+
"kind": "method",
|
|
7149
|
+
"name": "formStateRestoreCallback",
|
|
7150
|
+
"return": {
|
|
7151
|
+
"type": {
|
|
7152
|
+
"text": "void"
|
|
7153
|
+
}
|
|
7154
|
+
},
|
|
7155
|
+
"parameters": [
|
|
7156
|
+
{
|
|
7157
|
+
"name": "state",
|
|
7158
|
+
"type": {
|
|
7159
|
+
"text": "string | null"
|
|
7160
|
+
}
|
|
7161
|
+
}
|
|
7162
|
+
]
|
|
7163
|
+
},
|
|
7164
|
+
{
|
|
7165
|
+
"kind": "method",
|
|
7166
|
+
"name": "focus",
|
|
7167
|
+
"return": {
|
|
7168
|
+
"type": {
|
|
7169
|
+
"text": "void"
|
|
7170
|
+
}
|
|
7171
|
+
},
|
|
7172
|
+
"parameters": [
|
|
7173
|
+
{
|
|
7174
|
+
"name": "options",
|
|
7175
|
+
"optional": true,
|
|
7176
|
+
"type": {
|
|
7177
|
+
"text": "FocusOptions"
|
|
7178
|
+
}
|
|
7179
|
+
}
|
|
7180
|
+
]
|
|
7181
|
+
},
|
|
7182
|
+
{
|
|
7183
|
+
"kind": "method",
|
|
7184
|
+
"name": "onChange",
|
|
7185
|
+
"privacy": "private",
|
|
7186
|
+
"return": {
|
|
7187
|
+
"type": {
|
|
7188
|
+
"text": "void"
|
|
7189
|
+
}
|
|
7190
|
+
},
|
|
7191
|
+
"parameters": [
|
|
7192
|
+
{
|
|
7193
|
+
"name": "event",
|
|
7194
|
+
"type": {
|
|
7195
|
+
"text": "Event"
|
|
7196
|
+
}
|
|
7197
|
+
}
|
|
7198
|
+
]
|
|
7199
|
+
}
|
|
7200
|
+
],
|
|
7201
|
+
"events": [
|
|
7202
|
+
{
|
|
7203
|
+
"description": "The box was checked or unchecked. `detail: { checked }`.",
|
|
7204
|
+
"name": "kt-change"
|
|
7205
|
+
}
|
|
7206
|
+
],
|
|
7207
|
+
"attributes": [
|
|
7208
|
+
{
|
|
7209
|
+
"name": "checked",
|
|
7210
|
+
"type": {
|
|
7211
|
+
"text": "boolean"
|
|
7212
|
+
},
|
|
7213
|
+
"default": "false",
|
|
7214
|
+
"fieldName": "checked"
|
|
7215
|
+
},
|
|
7216
|
+
{
|
|
7217
|
+
"name": "indeterminate",
|
|
7218
|
+
"type": {
|
|
7219
|
+
"text": "boolean"
|
|
7220
|
+
},
|
|
7221
|
+
"default": "false",
|
|
7222
|
+
"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.",
|
|
7223
|
+
"fieldName": "indeterminate"
|
|
7224
|
+
},
|
|
7225
|
+
{
|
|
7226
|
+
"name": "disabled",
|
|
7227
|
+
"type": {
|
|
7228
|
+
"text": "boolean"
|
|
7229
|
+
},
|
|
7230
|
+
"default": "false",
|
|
7231
|
+
"fieldName": "disabled"
|
|
7232
|
+
},
|
|
7233
|
+
{
|
|
7234
|
+
"name": "required",
|
|
7235
|
+
"type": {
|
|
7236
|
+
"text": "boolean"
|
|
7237
|
+
},
|
|
7238
|
+
"default": "false",
|
|
7239
|
+
"fieldName": "required"
|
|
7240
|
+
},
|
|
7241
|
+
{
|
|
7242
|
+
"name": "size",
|
|
7243
|
+
"type": {
|
|
7244
|
+
"text": "KtCheckboxSize"
|
|
7245
|
+
},
|
|
7246
|
+
"default": "'medium'",
|
|
7247
|
+
"fieldName": "size"
|
|
7248
|
+
},
|
|
7249
|
+
{
|
|
7250
|
+
"name": "name",
|
|
7251
|
+
"type": {
|
|
7252
|
+
"text": "string"
|
|
7253
|
+
},
|
|
7254
|
+
"default": "''",
|
|
7255
|
+
"fieldName": "name"
|
|
7256
|
+
},
|
|
7257
|
+
{
|
|
7258
|
+
"name": "value",
|
|
7259
|
+
"type": {
|
|
7260
|
+
"text": "string"
|
|
7261
|
+
},
|
|
7262
|
+
"default": "'on'",
|
|
7263
|
+
"description": "Submitted when checked, as for a native checkbox.",
|
|
7264
|
+
"fieldName": "value"
|
|
7265
|
+
},
|
|
7266
|
+
{
|
|
7267
|
+
"name": "label",
|
|
7268
|
+
"type": {
|
|
7269
|
+
"text": "string"
|
|
7270
|
+
},
|
|
7271
|
+
"default": "''",
|
|
7272
|
+
"description": "Accessible name, when nothing is slotted.",
|
|
7273
|
+
"fieldName": "label"
|
|
7274
|
+
},
|
|
7275
|
+
{
|
|
7276
|
+
"name": "error",
|
|
7277
|
+
"type": {
|
|
7278
|
+
"text": "string"
|
|
7279
|
+
},
|
|
7280
|
+
"default": "''",
|
|
7281
|
+
"description": "Error message. A non-empty value puts the box in its error state.",
|
|
7282
|
+
"fieldName": "error"
|
|
7283
|
+
}
|
|
7284
|
+
],
|
|
7285
|
+
"superclass": {
|
|
7286
|
+
"name": "KtElement",
|
|
7287
|
+
"module": "dist/components/forms/kt-checkbox/kt-checkbox.js"
|
|
7288
|
+
},
|
|
7289
|
+
"tagName": "kt-checkbox",
|
|
7290
|
+
"customElement": true
|
|
7291
|
+
}
|
|
7292
|
+
],
|
|
7293
|
+
"exports": [
|
|
7294
|
+
{
|
|
7295
|
+
"kind": "js",
|
|
7296
|
+
"name": "KtCheckbox",
|
|
7297
|
+
"declaration": {
|
|
7298
|
+
"name": "KtCheckbox",
|
|
7299
|
+
"module": "dist/components/forms/kt-checkbox/kt-checkbox.js"
|
|
7300
|
+
}
|
|
7301
|
+
}
|
|
7302
|
+
]
|
|
7303
|
+
},
|
|
7304
|
+
{
|
|
7305
|
+
"kind": "javascript-module",
|
|
7306
|
+
"path": "dist/components/forms/kt-date-picker/kt-date-picker.js",
|
|
7307
|
+
"declarations": [
|
|
7308
|
+
{
|
|
7309
|
+
"kind": "class",
|
|
7310
|
+
"description": "A date field with a calendar, for one day or a period.\n\nThe value is ISO 8601 text, the format a server and a `<input type=\"date\">`\nalready speak: `2026-09-25`, or `2026-09-01/2026-09-25` for a period. What\nthe field shows is the same date formatted for the reader's language, and\nthe calendar starts its weeks on the day their region does.\n\nThe popup is a `<kt-calendar>`, with its keyboard model and its month and\nyear views: the WAI-ARIA date picker dialog pattern, where Escape closes the\ndialog and hands focus back to the field, and tabbing out closes it too.",
|
|
7311
|
+
"name": "KtDatePicker",
|
|
7312
|
+
"cssParts": [
|
|
7313
|
+
{
|
|
7314
|
+
"description": "The field.",
|
|
7315
|
+
"name": "trigger"
|
|
7316
|
+
},
|
|
7317
|
+
{
|
|
7318
|
+
"description": "The calendar popup.",
|
|
7319
|
+
"name": "panel"
|
|
7320
|
+
},
|
|
7321
|
+
{
|
|
7322
|
+
"description": "The `<kt-calendar>` inside it.",
|
|
7323
|
+
"name": "calendar"
|
|
7324
|
+
}
|
|
7325
|
+
],
|
|
7326
|
+
"members": [
|
|
7327
|
+
{
|
|
7328
|
+
"kind": "field",
|
|
7329
|
+
"name": "formAssociated",
|
|
7330
|
+
"type": {
|
|
7331
|
+
"text": "boolean"
|
|
7332
|
+
},
|
|
7333
|
+
"static": true,
|
|
7334
|
+
"readonly": true,
|
|
7335
|
+
"default": "true"
|
|
7336
|
+
},
|
|
7337
|
+
{
|
|
7338
|
+
"kind": "field",
|
|
7339
|
+
"name": "trigger",
|
|
7340
|
+
"type": {
|
|
7341
|
+
"text": "HTMLButtonElement | undefined"
|
|
7342
|
+
},
|
|
7343
|
+
"privacy": "private"
|
|
7344
|
+
},
|
|
7345
|
+
{
|
|
7346
|
+
"kind": "field",
|
|
7347
|
+
"name": "calendar",
|
|
7348
|
+
"type": {
|
|
7349
|
+
"text": "KtCalendar | undefined"
|
|
7350
|
+
},
|
|
7351
|
+
"privacy": "private"
|
|
7352
|
+
},
|
|
7353
|
+
{
|
|
7354
|
+
"kind": "field",
|
|
7355
|
+
"name": "internals",
|
|
7356
|
+
"type": {
|
|
7357
|
+
"text": "UsableInternals | null"
|
|
7358
|
+
},
|
|
7359
|
+
"privacy": "private",
|
|
7360
|
+
"default": "null"
|
|
7361
|
+
},
|
|
7362
|
+
{
|
|
7363
|
+
"kind": "field",
|
|
7364
|
+
"name": "defaultValue",
|
|
7365
|
+
"type": {
|
|
7366
|
+
"text": "string | null"
|
|
7367
|
+
},
|
|
7368
|
+
"privacy": "private",
|
|
7369
|
+
"default": "null"
|
|
7370
|
+
},
|
|
7371
|
+
{
|
|
7372
|
+
"kind": "field",
|
|
7373
|
+
"name": "panelId",
|
|
7374
|
+
"privacy": "private",
|
|
7375
|
+
"readonly": true
|
|
7376
|
+
},
|
|
7377
|
+
{
|
|
7378
|
+
"kind": "field",
|
|
7379
|
+
"name": "open",
|
|
7380
|
+
"type": {
|
|
7381
|
+
"text": "boolean"
|
|
7382
|
+
},
|
|
7383
|
+
"privacy": "private",
|
|
7384
|
+
"default": "false"
|
|
7385
|
+
},
|
|
7386
|
+
{
|
|
7387
|
+
"kind": "field",
|
|
7388
|
+
"name": "placement",
|
|
7389
|
+
"type": {
|
|
7390
|
+
"text": "'bottom' | 'top'"
|
|
7391
|
+
},
|
|
7392
|
+
"privacy": "private",
|
|
7393
|
+
"default": "'bottom'"
|
|
7394
|
+
},
|
|
7395
|
+
{
|
|
7396
|
+
"kind": "field",
|
|
7397
|
+
"name": "floating",
|
|
7398
|
+
"privacy": "private",
|
|
7399
|
+
"default": "new FloatingController(this, { panel: () => this.shadowRoot?.querySelector<HTMLElement>('.panel'), anchor: () => this.shadowRoot?.querySelector('.trigger'), onPlace: (side) => { this.placement = side === 'top' ? 'top' : 'bottom'; }, })"
|
|
7400
|
+
},
|
|
7401
|
+
{
|
|
7402
|
+
"kind": "field",
|
|
7403
|
+
"name": "value",
|
|
7404
|
+
"type": {
|
|
7405
|
+
"text": "string | null"
|
|
7406
|
+
},
|
|
7407
|
+
"default": "null",
|
|
7408
|
+
"description": "ISO date, or `start/end` interval with `range`. `null` when empty.",
|
|
7409
|
+
"attribute": "value",
|
|
7410
|
+
"reflects": true
|
|
7411
|
+
},
|
|
7412
|
+
{
|
|
7413
|
+
"kind": "field",
|
|
7414
|
+
"name": "range",
|
|
7415
|
+
"type": {
|
|
7416
|
+
"text": "boolean"
|
|
7417
|
+
},
|
|
7418
|
+
"default": "false",
|
|
7419
|
+
"description": "Choose a period — two dates — instead of one day.",
|
|
7420
|
+
"attribute": "range",
|
|
7421
|
+
"reflects": true
|
|
7422
|
+
},
|
|
7423
|
+
{
|
|
7424
|
+
"kind": "field",
|
|
7425
|
+
"name": "min",
|
|
7426
|
+
"type": {
|
|
7427
|
+
"text": "string"
|
|
7428
|
+
},
|
|
7429
|
+
"default": "''",
|
|
7430
|
+
"description": "Earliest date that can be chosen, ISO.",
|
|
7431
|
+
"attribute": "min"
|
|
7432
|
+
},
|
|
7433
|
+
{
|
|
7434
|
+
"kind": "field",
|
|
7435
|
+
"name": "max",
|
|
7436
|
+
"type": {
|
|
7437
|
+
"text": "string"
|
|
7438
|
+
},
|
|
7439
|
+
"default": "''",
|
|
7440
|
+
"description": "Latest date that can be chosen, ISO.",
|
|
7441
|
+
"attribute": "max"
|
|
7442
|
+
},
|
|
7443
|
+
{
|
|
7444
|
+
"kind": "field",
|
|
7445
|
+
"name": "name",
|
|
7446
|
+
"type": {
|
|
7447
|
+
"text": "string"
|
|
7448
|
+
},
|
|
7449
|
+
"default": "''",
|
|
7450
|
+
"attribute": "name"
|
|
7451
|
+
},
|
|
7452
|
+
{
|
|
7453
|
+
"kind": "field",
|
|
7454
|
+
"name": "label",
|
|
7455
|
+
"type": {
|
|
7456
|
+
"text": "string"
|
|
7457
|
+
},
|
|
7458
|
+
"default": "''",
|
|
7459
|
+
"description": "Accessible name, when no `<kt-label-input>` wraps the field.",
|
|
7460
|
+
"attribute": "label"
|
|
7461
|
+
},
|
|
7462
|
+
{
|
|
7463
|
+
"kind": "field",
|
|
7464
|
+
"name": "placeholder",
|
|
7465
|
+
"type": {
|
|
7466
|
+
"text": "string | undefined"
|
|
7467
|
+
},
|
|
7468
|
+
"default": "undefined",
|
|
7469
|
+
"description": "Shown while empty. Defaults to the strings registry.",
|
|
7470
|
+
"attribute": "placeholder"
|
|
7471
|
+
},
|
|
7472
|
+
{
|
|
7473
|
+
"kind": "field",
|
|
7474
|
+
"name": "locale",
|
|
7475
|
+
"type": {
|
|
7476
|
+
"text": "string"
|
|
7477
|
+
},
|
|
7478
|
+
"default": "''",
|
|
7479
|
+
"description": "BCP 47 language tag for formatting and for the first day of the week.\nEmpty: the page's `lang`, then the browser's language.",
|
|
7480
|
+
"attribute": "locale"
|
|
7481
|
+
},
|
|
7482
|
+
{
|
|
7483
|
+
"kind": "field",
|
|
7484
|
+
"name": "size",
|
|
7485
|
+
"type": {
|
|
7486
|
+
"text": "KtDatePickerSize"
|
|
7487
|
+
},
|
|
7488
|
+
"default": "'medium'",
|
|
7489
|
+
"attribute": "size",
|
|
7490
|
+
"reflects": true
|
|
7491
|
+
},
|
|
7492
|
+
{
|
|
7493
|
+
"kind": "field",
|
|
7494
|
+
"name": "disabled",
|
|
7495
|
+
"type": {
|
|
7496
|
+
"text": "boolean"
|
|
7497
|
+
},
|
|
7498
|
+
"default": "false",
|
|
7499
|
+
"attribute": "disabled",
|
|
7500
|
+
"reflects": true
|
|
7501
|
+
},
|
|
7502
|
+
{
|
|
7503
|
+
"kind": "field",
|
|
7504
|
+
"name": "formDisabled",
|
|
7505
|
+
"type": {
|
|
7506
|
+
"text": "boolean"
|
|
7507
|
+
},
|
|
7508
|
+
"privacy": "private",
|
|
7509
|
+
"default": "false",
|
|
7510
|
+
"description": "Disabled by an enclosing `<fieldset>`, which leaves `disabled` alone."
|
|
7511
|
+
},
|
|
7512
|
+
{
|
|
7513
|
+
"kind": "field",
|
|
7514
|
+
"name": "inactive",
|
|
7515
|
+
"type": {
|
|
7516
|
+
"text": "boolean"
|
|
7517
|
+
},
|
|
7518
|
+
"privacy": "private",
|
|
7519
|
+
"description": "Whether the control is off, by its own `disabled` or by its form.",
|
|
7520
|
+
"readonly": true
|
|
7521
|
+
},
|
|
7522
|
+
{
|
|
7523
|
+
"kind": "field",
|
|
7524
|
+
"name": "required",
|
|
7525
|
+
"type": {
|
|
7526
|
+
"text": "boolean"
|
|
7527
|
+
},
|
|
7528
|
+
"default": "false",
|
|
7529
|
+
"attribute": "required",
|
|
7530
|
+
"reflects": true
|
|
7531
|
+
},
|
|
7532
|
+
{
|
|
7533
|
+
"kind": "field",
|
|
7534
|
+
"name": "clearable",
|
|
7535
|
+
"type": {
|
|
7536
|
+
"text": "boolean"
|
|
7537
|
+
},
|
|
7538
|
+
"default": "true",
|
|
7539
|
+
"description": "Shows a button that empties the field once it holds a value.",
|
|
7540
|
+
"attribute": "clearable"
|
|
7541
|
+
},
|
|
7542
|
+
{
|
|
7543
|
+
"kind": "field",
|
|
7544
|
+
"name": "error",
|
|
7545
|
+
"type": {
|
|
7546
|
+
"text": "string"
|
|
7547
|
+
},
|
|
7548
|
+
"default": "''",
|
|
7549
|
+
"description": "Error message. A non-empty value puts the field in its error state.",
|
|
7550
|
+
"attribute": "error",
|
|
7551
|
+
"reflects": true
|
|
7552
|
+
},
|
|
7553
|
+
{
|
|
7554
|
+
"kind": "method",
|
|
7555
|
+
"name": "formResetCallback",
|
|
7556
|
+
"return": {
|
|
7557
|
+
"type": {
|
|
7558
|
+
"text": "void"
|
|
7559
|
+
}
|
|
7560
|
+
}
|
|
7561
|
+
},
|
|
7562
|
+
{
|
|
7563
|
+
"kind": "method",
|
|
7564
|
+
"name": "formDisabledCallback",
|
|
7565
|
+
"return": {
|
|
7566
|
+
"type": {
|
|
7567
|
+
"text": "void"
|
|
7568
|
+
}
|
|
7569
|
+
},
|
|
7570
|
+
"parameters": [
|
|
7571
|
+
{
|
|
7572
|
+
"name": "disabled",
|
|
7573
|
+
"type": {
|
|
7574
|
+
"text": "boolean"
|
|
7575
|
+
}
|
|
7576
|
+
}
|
|
7577
|
+
],
|
|
7578
|
+
"description": "Called by the platform when the control's disabled state changes — its\nown `disabled`, or an ancestor `<fieldset disabled>` it cannot see."
|
|
7579
|
+
},
|
|
7580
|
+
{
|
|
7581
|
+
"kind": "method",
|
|
7582
|
+
"name": "formStateRestoreCallback",
|
|
7583
|
+
"return": {
|
|
7584
|
+
"type": {
|
|
7585
|
+
"text": "void"
|
|
7586
|
+
}
|
|
7587
|
+
},
|
|
7588
|
+
"parameters": [
|
|
7589
|
+
{
|
|
7590
|
+
"name": "state",
|
|
7591
|
+
"type": {
|
|
7592
|
+
"text": "string | null"
|
|
7593
|
+
}
|
|
7594
|
+
}
|
|
7595
|
+
]
|
|
7596
|
+
},
|
|
7597
|
+
{
|
|
7598
|
+
"kind": "method",
|
|
7599
|
+
"name": "focus",
|
|
7600
|
+
"return": {
|
|
7601
|
+
"type": {
|
|
7602
|
+
"text": "void"
|
|
7603
|
+
}
|
|
7604
|
+
},
|
|
7605
|
+
"parameters": [
|
|
7606
|
+
{
|
|
7607
|
+
"name": "options",
|
|
7608
|
+
"optional": true,
|
|
7609
|
+
"type": {
|
|
7610
|
+
"text": "FocusOptions"
|
|
7611
|
+
}
|
|
7612
|
+
}
|
|
7613
|
+
]
|
|
7614
|
+
},
|
|
7615
|
+
{
|
|
7616
|
+
"kind": "field",
|
|
7617
|
+
"name": "resolvedLocale",
|
|
7618
|
+
"type": {
|
|
7619
|
+
"text": "string"
|
|
7620
|
+
},
|
|
7621
|
+
"privacy": "private",
|
|
7622
|
+
"readonly": true
|
|
7623
|
+
},
|
|
7624
|
+
{
|
|
7625
|
+
"kind": "field",
|
|
7626
|
+
"name": "selection",
|
|
7627
|
+
"type": {
|
|
7628
|
+
"text": "{ start: PlainDate | null; end: PlainDate | null }"
|
|
7629
|
+
},
|
|
7630
|
+
"privacy": "private",
|
|
7631
|
+
"readonly": true
|
|
7632
|
+
},
|
|
7633
|
+
{
|
|
7634
|
+
"kind": "method",
|
|
7635
|
+
"name": "isComplete",
|
|
7636
|
+
"privacy": "private",
|
|
7637
|
+
"return": {
|
|
7638
|
+
"type": {
|
|
7639
|
+
"text": "boolean"
|
|
7640
|
+
}
|
|
7641
|
+
}
|
|
7642
|
+
},
|
|
7643
|
+
{
|
|
7644
|
+
"kind": "method",
|
|
7645
|
+
"name": "display",
|
|
7646
|
+
"privacy": "private",
|
|
7647
|
+
"return": {
|
|
7648
|
+
"type": {
|
|
7649
|
+
"text": "string | null"
|
|
7650
|
+
}
|
|
7651
|
+
}
|
|
7652
|
+
},
|
|
7653
|
+
{
|
|
7654
|
+
"kind": "field",
|
|
7655
|
+
"name": "onDocumentPointerDown",
|
|
7656
|
+
"privacy": "private"
|
|
7657
|
+
},
|
|
7658
|
+
{
|
|
7659
|
+
"kind": "field",
|
|
7660
|
+
"name": "onFocusOut",
|
|
7661
|
+
"privacy": "private",
|
|
7662
|
+
"description": "Tabbing out of the calendar closes it; moving within it does not."
|
|
7663
|
+
},
|
|
7664
|
+
{
|
|
7665
|
+
"kind": "method",
|
|
7666
|
+
"name": "show",
|
|
7667
|
+
"privacy": "private",
|
|
7668
|
+
"return": {
|
|
7669
|
+
"type": {
|
|
7670
|
+
"text": "Promise<void>"
|
|
7671
|
+
}
|
|
7672
|
+
}
|
|
7673
|
+
},
|
|
7674
|
+
{
|
|
7675
|
+
"kind": "method",
|
|
7676
|
+
"name": "close",
|
|
7677
|
+
"privacy": "private",
|
|
7678
|
+
"return": {
|
|
7679
|
+
"type": {
|
|
7680
|
+
"text": "void"
|
|
7681
|
+
}
|
|
7682
|
+
},
|
|
7683
|
+
"parameters": [
|
|
7684
|
+
{
|
|
7685
|
+
"name": "returnFocus",
|
|
7686
|
+
"type": {
|
|
7687
|
+
"text": "boolean"
|
|
7688
|
+
}
|
|
7689
|
+
}
|
|
7690
|
+
]
|
|
7691
|
+
},
|
|
7692
|
+
{
|
|
7693
|
+
"kind": "method",
|
|
7694
|
+
"name": "toggle",
|
|
7695
|
+
"privacy": "private",
|
|
7696
|
+
"return": {
|
|
7697
|
+
"type": {
|
|
7698
|
+
"text": "void"
|
|
7699
|
+
}
|
|
7700
|
+
}
|
|
7701
|
+
},
|
|
7702
|
+
{
|
|
7703
|
+
"kind": "method",
|
|
7704
|
+
"name": "onCalendarChange",
|
|
7705
|
+
"privacy": "private",
|
|
7706
|
+
"return": {
|
|
7707
|
+
"type": {
|
|
7708
|
+
"text": "void"
|
|
7709
|
+
}
|
|
7710
|
+
},
|
|
7711
|
+
"parameters": [
|
|
7712
|
+
{
|
|
7713
|
+
"name": "event",
|
|
7714
|
+
"type": {
|
|
7715
|
+
"text": "CustomEvent<{ value: string }>"
|
|
7716
|
+
}
|
|
7717
|
+
}
|
|
7718
|
+
]
|
|
7719
|
+
},
|
|
7720
|
+
{
|
|
7721
|
+
"kind": "method",
|
|
7722
|
+
"name": "clear",
|
|
7723
|
+
"privacy": "private",
|
|
7724
|
+
"return": {
|
|
7725
|
+
"type": {
|
|
7726
|
+
"text": "void"
|
|
7727
|
+
}
|
|
7728
|
+
}
|
|
7729
|
+
},
|
|
7730
|
+
{
|
|
7731
|
+
"kind": "method",
|
|
7732
|
+
"name": "onTriggerKeyDown",
|
|
7733
|
+
"privacy": "private",
|
|
6254
7734
|
"return": {
|
|
6255
7735
|
"type": {
|
|
6256
7736
|
"text": "void"
|
|
@@ -6258,17 +7738,16 @@
|
|
|
6258
7738
|
},
|
|
6259
7739
|
"parameters": [
|
|
6260
7740
|
{
|
|
6261
|
-
"name": "
|
|
6262
|
-
"optional": true,
|
|
7741
|
+
"name": "event",
|
|
6263
7742
|
"type": {
|
|
6264
|
-
"text": "
|
|
7743
|
+
"text": "KeyboardEvent"
|
|
6265
7744
|
}
|
|
6266
7745
|
}
|
|
6267
7746
|
]
|
|
6268
7747
|
},
|
|
6269
7748
|
{
|
|
6270
7749
|
"kind": "method",
|
|
6271
|
-
"name": "
|
|
7750
|
+
"name": "onPanelKeyDown",
|
|
6272
7751
|
"privacy": "private",
|
|
6273
7752
|
"return": {
|
|
6274
7753
|
"type": {
|
|
@@ -6279,7 +7758,7 @@
|
|
|
6279
7758
|
{
|
|
6280
7759
|
"name": "event",
|
|
6281
7760
|
"type": {
|
|
6282
|
-
"text": "
|
|
7761
|
+
"text": "KeyboardEvent"
|
|
6283
7762
|
}
|
|
6284
7763
|
}
|
|
6285
7764
|
]
|
|
@@ -6287,77 +7766,114 @@
|
|
|
6287
7766
|
],
|
|
6288
7767
|
"events": [
|
|
6289
7768
|
{
|
|
6290
|
-
"description": "
|
|
7769
|
+
"description": "A date or a whole period was chosen, or the value cleared. `detail: { value }` — the ISO date or interval, or `null`.",
|
|
6291
7770
|
"name": "kt-change"
|
|
6292
7771
|
}
|
|
6293
7772
|
],
|
|
6294
7773
|
"attributes": [
|
|
6295
7774
|
{
|
|
6296
|
-
"name": "
|
|
7775
|
+
"name": "value",
|
|
6297
7776
|
"type": {
|
|
6298
|
-
"text": "
|
|
7777
|
+
"text": "string | null"
|
|
6299
7778
|
},
|
|
6300
|
-
"default": "
|
|
6301
|
-
"
|
|
7779
|
+
"default": "null",
|
|
7780
|
+
"description": "ISO date, or `start/end` interval with `range`. `null` when empty.",
|
|
7781
|
+
"fieldName": "value"
|
|
6302
7782
|
},
|
|
6303
7783
|
{
|
|
6304
|
-
"name": "
|
|
7784
|
+
"name": "range",
|
|
6305
7785
|
"type": {
|
|
6306
7786
|
"text": "boolean"
|
|
6307
7787
|
},
|
|
6308
7788
|
"default": "false",
|
|
6309
|
-
"description": "
|
|
6310
|
-
"fieldName": "
|
|
7789
|
+
"description": "Choose a period — two dates — instead of one day.",
|
|
7790
|
+
"fieldName": "range"
|
|
6311
7791
|
},
|
|
6312
7792
|
{
|
|
6313
|
-
"name": "
|
|
7793
|
+
"name": "min",
|
|
6314
7794
|
"type": {
|
|
6315
|
-
"text": "
|
|
7795
|
+
"text": "string"
|
|
6316
7796
|
},
|
|
6317
|
-
"default": "
|
|
6318
|
-
"
|
|
7797
|
+
"default": "''",
|
|
7798
|
+
"description": "Earliest date that can be chosen, ISO.",
|
|
7799
|
+
"fieldName": "min"
|
|
6319
7800
|
},
|
|
6320
7801
|
{
|
|
6321
|
-
"name": "
|
|
7802
|
+
"name": "max",
|
|
6322
7803
|
"type": {
|
|
6323
|
-
"text": "
|
|
7804
|
+
"text": "string"
|
|
6324
7805
|
},
|
|
6325
|
-
"default": "
|
|
6326
|
-
"
|
|
7806
|
+
"default": "''",
|
|
7807
|
+
"description": "Latest date that can be chosen, ISO.",
|
|
7808
|
+
"fieldName": "max"
|
|
6327
7809
|
},
|
|
6328
7810
|
{
|
|
6329
|
-
"name": "
|
|
7811
|
+
"name": "name",
|
|
6330
7812
|
"type": {
|
|
6331
|
-
"text": "
|
|
7813
|
+
"text": "string"
|
|
6332
7814
|
},
|
|
6333
|
-
"default": "'
|
|
6334
|
-
"fieldName": "
|
|
7815
|
+
"default": "''",
|
|
7816
|
+
"fieldName": "name"
|
|
6335
7817
|
},
|
|
6336
7818
|
{
|
|
6337
|
-
"name": "
|
|
7819
|
+
"name": "label",
|
|
6338
7820
|
"type": {
|
|
6339
7821
|
"text": "string"
|
|
6340
7822
|
},
|
|
6341
7823
|
"default": "''",
|
|
6342
|
-
"
|
|
7824
|
+
"description": "Accessible name, when no `<kt-label-input>` wraps the field.",
|
|
7825
|
+
"fieldName": "label"
|
|
6343
7826
|
},
|
|
6344
7827
|
{
|
|
6345
|
-
"name": "
|
|
7828
|
+
"name": "placeholder",
|
|
6346
7829
|
"type": {
|
|
6347
|
-
"text": "string"
|
|
7830
|
+
"text": "string | undefined"
|
|
6348
7831
|
},
|
|
6349
|
-
"default": "
|
|
6350
|
-
"description": "
|
|
6351
|
-
"fieldName": "
|
|
7832
|
+
"default": "undefined",
|
|
7833
|
+
"description": "Shown while empty. Defaults to the strings registry.",
|
|
7834
|
+
"fieldName": "placeholder"
|
|
6352
7835
|
},
|
|
6353
7836
|
{
|
|
6354
|
-
"name": "
|
|
7837
|
+
"name": "locale",
|
|
6355
7838
|
"type": {
|
|
6356
7839
|
"text": "string"
|
|
6357
7840
|
},
|
|
6358
7841
|
"default": "''",
|
|
6359
|
-
"description": "
|
|
6360
|
-
"fieldName": "
|
|
7842
|
+
"description": "BCP 47 language tag for formatting and for the first day of the week.\nEmpty: the page's `lang`, then the browser's language.",
|
|
7843
|
+
"fieldName": "locale"
|
|
7844
|
+
},
|
|
7845
|
+
{
|
|
7846
|
+
"name": "size",
|
|
7847
|
+
"type": {
|
|
7848
|
+
"text": "KtDatePickerSize"
|
|
7849
|
+
},
|
|
7850
|
+
"default": "'medium'",
|
|
7851
|
+
"fieldName": "size"
|
|
7852
|
+
},
|
|
7853
|
+
{
|
|
7854
|
+
"name": "disabled",
|
|
7855
|
+
"type": {
|
|
7856
|
+
"text": "boolean"
|
|
7857
|
+
},
|
|
7858
|
+
"default": "false",
|
|
7859
|
+
"fieldName": "disabled"
|
|
7860
|
+
},
|
|
7861
|
+
{
|
|
7862
|
+
"name": "required",
|
|
7863
|
+
"type": {
|
|
7864
|
+
"text": "boolean"
|
|
7865
|
+
},
|
|
7866
|
+
"default": "false",
|
|
7867
|
+
"fieldName": "required"
|
|
7868
|
+
},
|
|
7869
|
+
{
|
|
7870
|
+
"name": "clearable",
|
|
7871
|
+
"type": {
|
|
7872
|
+
"text": "boolean"
|
|
7873
|
+
},
|
|
7874
|
+
"default": "true",
|
|
7875
|
+
"description": "Shows a button that empties the field once it holds a value.",
|
|
7876
|
+
"fieldName": "clearable"
|
|
6361
7877
|
},
|
|
6362
7878
|
{
|
|
6363
7879
|
"name": "error",
|
|
@@ -6365,25 +7881,25 @@
|
|
|
6365
7881
|
"text": "string"
|
|
6366
7882
|
},
|
|
6367
7883
|
"default": "''",
|
|
6368
|
-
"description": "Error message. A non-empty value puts the
|
|
7884
|
+
"description": "Error message. A non-empty value puts the field in its error state.",
|
|
6369
7885
|
"fieldName": "error"
|
|
6370
7886
|
}
|
|
6371
7887
|
],
|
|
6372
7888
|
"superclass": {
|
|
6373
7889
|
"name": "KtElement",
|
|
6374
|
-
"module": "dist/components/forms/kt-
|
|
7890
|
+
"module": "dist/components/forms/kt-date-picker/kt-date-picker.js"
|
|
6375
7891
|
},
|
|
6376
|
-
"tagName": "kt-
|
|
7892
|
+
"tagName": "kt-date-picker",
|
|
6377
7893
|
"customElement": true
|
|
6378
7894
|
}
|
|
6379
7895
|
],
|
|
6380
7896
|
"exports": [
|
|
6381
7897
|
{
|
|
6382
7898
|
"kind": "js",
|
|
6383
|
-
"name": "
|
|
7899
|
+
"name": "KtDatePicker",
|
|
6384
7900
|
"declaration": {
|
|
6385
|
-
"name": "
|
|
6386
|
-
"module": "dist/components/forms/kt-
|
|
7901
|
+
"name": "KtDatePicker",
|
|
7902
|
+
"module": "dist/components/forms/kt-date-picker/kt-date-picker.js"
|
|
6387
7903
|
}
|
|
6388
7904
|
}
|
|
6389
7905
|
]
|
|
@@ -6521,6 +8037,26 @@
|
|
|
6521
8037
|
"attribute": "disabled",
|
|
6522
8038
|
"reflects": true
|
|
6523
8039
|
},
|
|
8040
|
+
{
|
|
8041
|
+
"kind": "field",
|
|
8042
|
+
"name": "formDisabled",
|
|
8043
|
+
"type": {
|
|
8044
|
+
"text": "boolean"
|
|
8045
|
+
},
|
|
8046
|
+
"privacy": "private",
|
|
8047
|
+
"default": "false",
|
|
8048
|
+
"description": "Disabled by an enclosing `<fieldset>`, which leaves `disabled` alone."
|
|
8049
|
+
},
|
|
8050
|
+
{
|
|
8051
|
+
"kind": "field",
|
|
8052
|
+
"name": "inactive",
|
|
8053
|
+
"type": {
|
|
8054
|
+
"text": "boolean"
|
|
8055
|
+
},
|
|
8056
|
+
"privacy": "private",
|
|
8057
|
+
"description": "Whether the control is off, by its own `disabled` or by its form.",
|
|
8058
|
+
"readonly": true
|
|
8059
|
+
},
|
|
6524
8060
|
{
|
|
6525
8061
|
"kind": "field",
|
|
6526
8062
|
"name": "name",
|
|
@@ -6560,6 +8096,24 @@
|
|
|
6560
8096
|
}
|
|
6561
8097
|
}
|
|
6562
8098
|
},
|
|
8099
|
+
{
|
|
8100
|
+
"kind": "method",
|
|
8101
|
+
"name": "formDisabledCallback",
|
|
8102
|
+
"return": {
|
|
8103
|
+
"type": {
|
|
8104
|
+
"text": "void"
|
|
8105
|
+
}
|
|
8106
|
+
},
|
|
8107
|
+
"parameters": [
|
|
8108
|
+
{
|
|
8109
|
+
"name": "disabled",
|
|
8110
|
+
"type": {
|
|
8111
|
+
"text": "boolean"
|
|
8112
|
+
}
|
|
8113
|
+
}
|
|
8114
|
+
],
|
|
8115
|
+
"description": "Called by the platform when the control's disabled state changes — its\nown `disabled`, or an ancestor `<fieldset disabled>` it cannot see."
|
|
8116
|
+
},
|
|
6563
8117
|
{
|
|
6564
8118
|
"kind": "method",
|
|
6565
8119
|
"name": "formStateRestoreCallback",
|
|
@@ -7108,6 +8662,32 @@
|
|
|
7108
8662
|
"privacy": "private",
|
|
7109
8663
|
"default": "''"
|
|
7110
8664
|
},
|
|
8665
|
+
{
|
|
8666
|
+
"kind": "field",
|
|
8667
|
+
"name": "focused",
|
|
8668
|
+
"type": {
|
|
8669
|
+
"text": "boolean"
|
|
8670
|
+
},
|
|
8671
|
+
"privacy": "private",
|
|
8672
|
+
"default": "false",
|
|
8673
|
+
"description": "The field has focus: the error tooltip shows for keyboard users too."
|
|
8674
|
+
},
|
|
8675
|
+
{
|
|
8676
|
+
"kind": "field",
|
|
8677
|
+
"name": "errorDismissed",
|
|
8678
|
+
"type": {
|
|
8679
|
+
"text": "boolean"
|
|
8680
|
+
},
|
|
8681
|
+
"privacy": "private",
|
|
8682
|
+
"default": "false",
|
|
8683
|
+
"description": "Escape put the error tooltip away until the field is focused again."
|
|
8684
|
+
},
|
|
8685
|
+
{
|
|
8686
|
+
"kind": "field",
|
|
8687
|
+
"name": "floating",
|
|
8688
|
+
"privacy": "private",
|
|
8689
|
+
"default": "new FloatingController(this, { panel: () => this.shadowRoot?.querySelector<HTMLElement>('.country-panel'), anchor: () => this.shadowRoot?.querySelector('.field'), })"
|
|
8690
|
+
},
|
|
7111
8691
|
{
|
|
7112
8692
|
"kind": "field",
|
|
7113
8693
|
"name": "value",
|
|
@@ -7167,6 +8747,26 @@
|
|
|
7167
8747
|
"attribute": "disabled",
|
|
7168
8748
|
"reflects": true
|
|
7169
8749
|
},
|
|
8750
|
+
{
|
|
8751
|
+
"kind": "field",
|
|
8752
|
+
"name": "formDisabled",
|
|
8753
|
+
"type": {
|
|
8754
|
+
"text": "boolean"
|
|
8755
|
+
},
|
|
8756
|
+
"privacy": "private",
|
|
8757
|
+
"default": "false",
|
|
8758
|
+
"description": "Disabled by an enclosing `<fieldset>`, which leaves `disabled` alone."
|
|
8759
|
+
},
|
|
8760
|
+
{
|
|
8761
|
+
"kind": "field",
|
|
8762
|
+
"name": "inactive",
|
|
8763
|
+
"type": {
|
|
8764
|
+
"text": "boolean"
|
|
8765
|
+
},
|
|
8766
|
+
"privacy": "private",
|
|
8767
|
+
"description": "Whether the control is off, by its own `disabled` or by its form.",
|
|
8768
|
+
"readonly": true
|
|
8769
|
+
},
|
|
7170
8770
|
{
|
|
7171
8771
|
"kind": "field",
|
|
7172
8772
|
"name": "readonly",
|
|
@@ -7204,7 +8804,7 @@
|
|
|
7204
8804
|
"text": "string"
|
|
7205
8805
|
},
|
|
7206
8806
|
"default": "''",
|
|
7207
|
-
"description": "Error message. A non-empty value puts the field in its error state.",
|
|
8807
|
+
"description": "Error message. A non-empty value puts the field in its error state, and\nwins over the field's own checks.",
|
|
7208
8808
|
"attribute": "error",
|
|
7209
8809
|
"reflects": true
|
|
7210
8810
|
},
|
|
@@ -7294,6 +8894,24 @@
|
|
|
7294
8894
|
},
|
|
7295
8895
|
"description": "Called by the platform when the enclosing form is reset."
|
|
7296
8896
|
},
|
|
8897
|
+
{
|
|
8898
|
+
"kind": "method",
|
|
8899
|
+
"name": "formDisabledCallback",
|
|
8900
|
+
"return": {
|
|
8901
|
+
"type": {
|
|
8902
|
+
"text": "void"
|
|
8903
|
+
}
|
|
8904
|
+
},
|
|
8905
|
+
"parameters": [
|
|
8906
|
+
{
|
|
8907
|
+
"name": "disabled",
|
|
8908
|
+
"type": {
|
|
8909
|
+
"text": "boolean"
|
|
8910
|
+
}
|
|
8911
|
+
}
|
|
8912
|
+
],
|
|
8913
|
+
"description": "Called by the platform when the control's disabled state changes — its\nown `disabled`, or an ancestor `<fieldset disabled>` it cannot see."
|
|
8914
|
+
},
|
|
7297
8915
|
{
|
|
7298
8916
|
"kind": "method",
|
|
7299
8917
|
"name": "formStateRestoreCallback",
|
|
@@ -7378,6 +8996,36 @@
|
|
|
7378
8996
|
"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
8997
|
"readonly": true
|
|
7380
8998
|
},
|
|
8999
|
+
{
|
|
9000
|
+
"kind": "field",
|
|
9001
|
+
"name": "formState",
|
|
9002
|
+
"type": {
|
|
9003
|
+
"text": "string | undefined"
|
|
9004
|
+
},
|
|
9005
|
+
"privacy": "private",
|
|
9006
|
+
"description": "What the browser saves for a restore. The international number cannot be\nsplit back into country and digits — `+1` is both the US and Canada — so\nphone mode saves the two apart.",
|
|
9007
|
+
"readonly": true
|
|
9008
|
+
},
|
|
9009
|
+
{
|
|
9010
|
+
"kind": "field",
|
|
9011
|
+
"name": "phoneError",
|
|
9012
|
+
"type": {
|
|
9013
|
+
"text": "string"
|
|
9014
|
+
},
|
|
9015
|
+
"privacy": "private",
|
|
9016
|
+
"description": "Phone mode: a number typed with the prefix only dialled at home.",
|
|
9017
|
+
"readonly": true
|
|
9018
|
+
},
|
|
9019
|
+
{
|
|
9020
|
+
"kind": "field",
|
|
9021
|
+
"name": "shownError",
|
|
9022
|
+
"type": {
|
|
9023
|
+
"text": "string"
|
|
9024
|
+
},
|
|
9025
|
+
"privacy": "private",
|
|
9026
|
+
"description": "The message on show: the application's first, then the field's own.",
|
|
9027
|
+
"readonly": true
|
|
9028
|
+
},
|
|
7381
9029
|
{
|
|
7382
9030
|
"kind": "field",
|
|
7383
9031
|
"name": "displayValue",
|
|
@@ -7475,14 +9123,62 @@
|
|
|
7475
9123
|
]
|
|
7476
9124
|
},
|
|
7477
9125
|
{
|
|
7478
|
-
"kind": "method",
|
|
7479
|
-
"name": "renderCountryPicker",
|
|
9126
|
+
"kind": "method",
|
|
9127
|
+
"name": "renderCountryPicker",
|
|
9128
|
+
"privacy": "private",
|
|
9129
|
+
"return": {
|
|
9130
|
+
"type": {
|
|
9131
|
+
"text": "TemplateResult"
|
|
9132
|
+
}
|
|
9133
|
+
}
|
|
9134
|
+
},
|
|
9135
|
+
{
|
|
9136
|
+
"kind": "method",
|
|
9137
|
+
"name": "onFocus",
|
|
9138
|
+
"privacy": "private",
|
|
9139
|
+
"return": {
|
|
9140
|
+
"type": {
|
|
9141
|
+
"text": "void"
|
|
9142
|
+
}
|
|
9143
|
+
}
|
|
9144
|
+
},
|
|
9145
|
+
{
|
|
9146
|
+
"kind": "method",
|
|
9147
|
+
"name": "onBlur",
|
|
9148
|
+
"privacy": "private",
|
|
9149
|
+
"return": {
|
|
9150
|
+
"type": {
|
|
9151
|
+
"text": "void"
|
|
9152
|
+
}
|
|
9153
|
+
}
|
|
9154
|
+
},
|
|
9155
|
+
{
|
|
9156
|
+
"kind": "method",
|
|
9157
|
+
"name": "onControlKeyDown",
|
|
9158
|
+
"privacy": "private",
|
|
9159
|
+
"return": {
|
|
9160
|
+
"type": {
|
|
9161
|
+
"text": "void"
|
|
9162
|
+
}
|
|
9163
|
+
},
|
|
9164
|
+
"parameters": [
|
|
9165
|
+
{
|
|
9166
|
+
"name": "event",
|
|
9167
|
+
"type": {
|
|
9168
|
+
"text": "KeyboardEvent"
|
|
9169
|
+
}
|
|
9170
|
+
}
|
|
9171
|
+
],
|
|
9172
|
+
"description": "WCAG 1.4.13: content shown on focus can be dismissed without moving it."
|
|
9173
|
+
},
|
|
9174
|
+
{
|
|
9175
|
+
"kind": "field",
|
|
9176
|
+
"name": "errorTooltipOpen",
|
|
9177
|
+
"type": {
|
|
9178
|
+
"text": "boolean"
|
|
9179
|
+
},
|
|
7480
9180
|
"privacy": "private",
|
|
7481
|
-
"
|
|
7482
|
-
"type": {
|
|
7483
|
-
"text": "TemplateResult"
|
|
7484
|
-
}
|
|
7485
|
-
}
|
|
9181
|
+
"readonly": true
|
|
7486
9182
|
},
|
|
7487
9183
|
{
|
|
7488
9184
|
"kind": "method",
|
|
@@ -7540,6 +9236,17 @@
|
|
|
7540
9236
|
}
|
|
7541
9237
|
],
|
|
7542
9238
|
"description": "Clicking the padding around the input should focus it, as on a native field."
|
|
9239
|
+
},
|
|
9240
|
+
{
|
|
9241
|
+
"kind": "method",
|
|
9242
|
+
"name": "renderPasswordToggle",
|
|
9243
|
+
"privacy": "private",
|
|
9244
|
+
"return": {
|
|
9245
|
+
"type": {
|
|
9246
|
+
"text": "TemplateResult"
|
|
9247
|
+
}
|
|
9248
|
+
},
|
|
9249
|
+
"description": "Both buttons are out of the tab order, so their tooltips are for the pointer."
|
|
7543
9250
|
}
|
|
7544
9251
|
],
|
|
7545
9252
|
"events": [
|
|
@@ -7639,7 +9346,7 @@
|
|
|
7639
9346
|
"text": "string"
|
|
7640
9347
|
},
|
|
7641
9348
|
"default": "''",
|
|
7642
|
-
"description": "Error message. A non-empty value puts the field in its error state.",
|
|
9349
|
+
"description": "Error message. A non-empty value puts the field in its error state, and\nwins over the field's own checks.",
|
|
7643
9350
|
"fieldName": "error"
|
|
7644
9351
|
},
|
|
7645
9352
|
{
|
|
@@ -7782,6 +9489,22 @@
|
|
|
7782
9489
|
"privacy": "private",
|
|
7783
9490
|
"default": "false"
|
|
7784
9491
|
},
|
|
9492
|
+
{
|
|
9493
|
+
"kind": "field",
|
|
9494
|
+
"name": "placement",
|
|
9495
|
+
"type": {
|
|
9496
|
+
"text": "Side"
|
|
9497
|
+
},
|
|
9498
|
+
"privacy": "private",
|
|
9499
|
+
"default": "'bottom'",
|
|
9500
|
+
"description": "The side the list opened on, for the direction of its entrance."
|
|
9501
|
+
},
|
|
9502
|
+
{
|
|
9503
|
+
"kind": "field",
|
|
9504
|
+
"name": "floating",
|
|
9505
|
+
"privacy": "private",
|
|
9506
|
+
"default": "new FloatingController(this, { panel: () => this.shadowRoot?.querySelector<HTMLElement>('.popup'), anchor: () => this.shadowRoot?.querySelector('.control'), matchWidth: true, onPlace: (side) => { this.placement = side; }, })"
|
|
9507
|
+
},
|
|
7785
9508
|
{
|
|
7786
9509
|
"kind": "field",
|
|
7787
9510
|
"name": "query",
|
|
@@ -7845,6 +9568,26 @@
|
|
|
7845
9568
|
"attribute": "disabled",
|
|
7846
9569
|
"reflects": true
|
|
7847
9570
|
},
|
|
9571
|
+
{
|
|
9572
|
+
"kind": "field",
|
|
9573
|
+
"name": "formDisabled",
|
|
9574
|
+
"type": {
|
|
9575
|
+
"text": "boolean"
|
|
9576
|
+
},
|
|
9577
|
+
"privacy": "private",
|
|
9578
|
+
"default": "false",
|
|
9579
|
+
"description": "Disabled by an enclosing `<fieldset>`, which leaves `disabled` alone."
|
|
9580
|
+
},
|
|
9581
|
+
{
|
|
9582
|
+
"kind": "field",
|
|
9583
|
+
"name": "inactive",
|
|
9584
|
+
"type": {
|
|
9585
|
+
"text": "boolean"
|
|
9586
|
+
},
|
|
9587
|
+
"privacy": "private",
|
|
9588
|
+
"description": "Whether the control is off, by its own `disabled` or by its form.",
|
|
9589
|
+
"readonly": true
|
|
9590
|
+
},
|
|
7848
9591
|
{
|
|
7849
9592
|
"kind": "field",
|
|
7850
9593
|
"name": "required",
|
|
@@ -7892,6 +9635,24 @@
|
|
|
7892
9635
|
}
|
|
7893
9636
|
}
|
|
7894
9637
|
},
|
|
9638
|
+
{
|
|
9639
|
+
"kind": "method",
|
|
9640
|
+
"name": "formDisabledCallback",
|
|
9641
|
+
"return": {
|
|
9642
|
+
"type": {
|
|
9643
|
+
"text": "void"
|
|
9644
|
+
}
|
|
9645
|
+
},
|
|
9646
|
+
"parameters": [
|
|
9647
|
+
{
|
|
9648
|
+
"name": "disabled",
|
|
9649
|
+
"type": {
|
|
9650
|
+
"text": "boolean"
|
|
9651
|
+
}
|
|
9652
|
+
}
|
|
9653
|
+
],
|
|
9654
|
+
"description": "Called by the platform when the control's disabled state changes — its\nown `disabled`, or an ancestor `<fieldset disabled>` it cannot see."
|
|
9655
|
+
},
|
|
7895
9656
|
{
|
|
7896
9657
|
"kind": "method",
|
|
7897
9658
|
"name": "formStateRestoreCallback",
|
|
@@ -8547,6 +10308,26 @@
|
|
|
8547
10308
|
"attribute": "disabled",
|
|
8548
10309
|
"reflects": true
|
|
8549
10310
|
},
|
|
10311
|
+
{
|
|
10312
|
+
"kind": "field",
|
|
10313
|
+
"name": "formDisabled",
|
|
10314
|
+
"type": {
|
|
10315
|
+
"text": "boolean"
|
|
10316
|
+
},
|
|
10317
|
+
"privacy": "private",
|
|
10318
|
+
"default": "false",
|
|
10319
|
+
"description": "Disabled by an enclosing `<fieldset>`, which leaves `disabled` alone."
|
|
10320
|
+
},
|
|
10321
|
+
{
|
|
10322
|
+
"kind": "field",
|
|
10323
|
+
"name": "inactive",
|
|
10324
|
+
"type": {
|
|
10325
|
+
"text": "boolean"
|
|
10326
|
+
},
|
|
10327
|
+
"privacy": "private",
|
|
10328
|
+
"description": "Whether the control is off, by its own `disabled` or by its form.",
|
|
10329
|
+
"readonly": true
|
|
10330
|
+
},
|
|
8550
10331
|
{
|
|
8551
10332
|
"kind": "field",
|
|
8552
10333
|
"name": "required",
|
|
@@ -8587,6 +10368,24 @@
|
|
|
8587
10368
|
}
|
|
8588
10369
|
}
|
|
8589
10370
|
},
|
|
10371
|
+
{
|
|
10372
|
+
"kind": "method",
|
|
10373
|
+
"name": "formDisabledCallback",
|
|
10374
|
+
"return": {
|
|
10375
|
+
"type": {
|
|
10376
|
+
"text": "void"
|
|
10377
|
+
}
|
|
10378
|
+
},
|
|
10379
|
+
"parameters": [
|
|
10380
|
+
{
|
|
10381
|
+
"name": "disabled",
|
|
10382
|
+
"type": {
|
|
10383
|
+
"text": "boolean"
|
|
10384
|
+
}
|
|
10385
|
+
}
|
|
10386
|
+
],
|
|
10387
|
+
"description": "Called by the platform when the control's disabled state changes — its\nown `disabled`, or an ancestor `<fieldset disabled>` it cannot see."
|
|
10388
|
+
},
|
|
8590
10389
|
{
|
|
8591
10390
|
"kind": "method",
|
|
8592
10391
|
"name": "formStateRestoreCallback",
|
|
@@ -8828,6 +10627,22 @@
|
|
|
8828
10627
|
"privacy": "private",
|
|
8829
10628
|
"default": "false"
|
|
8830
10629
|
},
|
|
10630
|
+
{
|
|
10631
|
+
"kind": "field",
|
|
10632
|
+
"name": "placement",
|
|
10633
|
+
"type": {
|
|
10634
|
+
"text": "Side"
|
|
10635
|
+
},
|
|
10636
|
+
"privacy": "private",
|
|
10637
|
+
"default": "'bottom'",
|
|
10638
|
+
"description": "The side the list opened on, for the direction of its entrance."
|
|
10639
|
+
},
|
|
10640
|
+
{
|
|
10641
|
+
"kind": "field",
|
|
10642
|
+
"name": "floating",
|
|
10643
|
+
"privacy": "private",
|
|
10644
|
+
"default": "new FloatingController(this, { panel: () => this.shadowRoot?.querySelector<HTMLElement>('.popup'), anchor: () => this.shadowRoot?.querySelector('.trigger'), matchWidth: true, onPlace: (side) => { this.placement = side; }, })"
|
|
10645
|
+
},
|
|
8831
10646
|
{
|
|
8832
10647
|
"kind": "field",
|
|
8833
10648
|
"name": "activeIndex",
|
|
@@ -8895,6 +10710,26 @@
|
|
|
8895
10710
|
"attribute": "disabled",
|
|
8896
10711
|
"reflects": true
|
|
8897
10712
|
},
|
|
10713
|
+
{
|
|
10714
|
+
"kind": "field",
|
|
10715
|
+
"name": "formDisabled",
|
|
10716
|
+
"type": {
|
|
10717
|
+
"text": "boolean"
|
|
10718
|
+
},
|
|
10719
|
+
"privacy": "private",
|
|
10720
|
+
"default": "false",
|
|
10721
|
+
"description": "Disabled by an enclosing `<fieldset>`, which leaves `disabled` alone."
|
|
10722
|
+
},
|
|
10723
|
+
{
|
|
10724
|
+
"kind": "field",
|
|
10725
|
+
"name": "inactive",
|
|
10726
|
+
"type": {
|
|
10727
|
+
"text": "boolean"
|
|
10728
|
+
},
|
|
10729
|
+
"privacy": "private",
|
|
10730
|
+
"description": "Whether the control is off, by its own `disabled` or by its form.",
|
|
10731
|
+
"readonly": true
|
|
10732
|
+
},
|
|
8898
10733
|
{
|
|
8899
10734
|
"kind": "field",
|
|
8900
10735
|
"name": "required",
|
|
@@ -8955,6 +10790,24 @@
|
|
|
8955
10790
|
}
|
|
8956
10791
|
}
|
|
8957
10792
|
},
|
|
10793
|
+
{
|
|
10794
|
+
"kind": "method",
|
|
10795
|
+
"name": "formDisabledCallback",
|
|
10796
|
+
"return": {
|
|
10797
|
+
"type": {
|
|
10798
|
+
"text": "void"
|
|
10799
|
+
}
|
|
10800
|
+
},
|
|
10801
|
+
"parameters": [
|
|
10802
|
+
{
|
|
10803
|
+
"name": "disabled",
|
|
10804
|
+
"type": {
|
|
10805
|
+
"text": "boolean"
|
|
10806
|
+
}
|
|
10807
|
+
}
|
|
10808
|
+
],
|
|
10809
|
+
"description": "Called by the platform when the control's disabled state changes — its\nown `disabled`, or an ancestor `<fieldset disabled>` it cannot see."
|
|
10810
|
+
},
|
|
8958
10811
|
{
|
|
8959
10812
|
"kind": "method",
|
|
8960
10813
|
"name": "formStateRestoreCallback",
|
|
@@ -9340,6 +11193,26 @@
|
|
|
9340
11193
|
"attribute": "disabled",
|
|
9341
11194
|
"reflects": true
|
|
9342
11195
|
},
|
|
11196
|
+
{
|
|
11197
|
+
"kind": "field",
|
|
11198
|
+
"name": "formDisabled",
|
|
11199
|
+
"type": {
|
|
11200
|
+
"text": "boolean"
|
|
11201
|
+
},
|
|
11202
|
+
"privacy": "private",
|
|
11203
|
+
"default": "false",
|
|
11204
|
+
"description": "Disabled by an enclosing `<fieldset>`, which leaves `disabled` alone."
|
|
11205
|
+
},
|
|
11206
|
+
{
|
|
11207
|
+
"kind": "field",
|
|
11208
|
+
"name": "inactive",
|
|
11209
|
+
"type": {
|
|
11210
|
+
"text": "boolean"
|
|
11211
|
+
},
|
|
11212
|
+
"privacy": "private",
|
|
11213
|
+
"description": "Whether the control is off, by its own `disabled` or by its form.",
|
|
11214
|
+
"readonly": true
|
|
11215
|
+
},
|
|
9343
11216
|
{
|
|
9344
11217
|
"kind": "field",
|
|
9345
11218
|
"name": "readonly",
|
|
@@ -9401,6 +11274,24 @@
|
|
|
9401
11274
|
}
|
|
9402
11275
|
}
|
|
9403
11276
|
},
|
|
11277
|
+
{
|
|
11278
|
+
"kind": "method",
|
|
11279
|
+
"name": "formDisabledCallback",
|
|
11280
|
+
"return": {
|
|
11281
|
+
"type": {
|
|
11282
|
+
"text": "void"
|
|
11283
|
+
}
|
|
11284
|
+
},
|
|
11285
|
+
"parameters": [
|
|
11286
|
+
{
|
|
11287
|
+
"name": "disabled",
|
|
11288
|
+
"type": {
|
|
11289
|
+
"text": "boolean"
|
|
11290
|
+
}
|
|
11291
|
+
}
|
|
11292
|
+
],
|
|
11293
|
+
"description": "Called by the platform when the control's disabled state changes — its\nown `disabled`, or an ancestor `<fieldset disabled>` it cannot see."
|
|
11294
|
+
},
|
|
9404
11295
|
{
|
|
9405
11296
|
"kind": "method",
|
|
9406
11297
|
"name": "formStateRestoreCallback",
|
|
@@ -9680,6 +11571,26 @@
|
|
|
9680
11571
|
"attribute": "disabled",
|
|
9681
11572
|
"reflects": true
|
|
9682
11573
|
},
|
|
11574
|
+
{
|
|
11575
|
+
"kind": "field",
|
|
11576
|
+
"name": "formDisabled",
|
|
11577
|
+
"type": {
|
|
11578
|
+
"text": "boolean"
|
|
11579
|
+
},
|
|
11580
|
+
"privacy": "private",
|
|
11581
|
+
"default": "false",
|
|
11582
|
+
"description": "Disabled by an enclosing `<fieldset>`, which leaves `disabled` alone."
|
|
11583
|
+
},
|
|
11584
|
+
{
|
|
11585
|
+
"kind": "field",
|
|
11586
|
+
"name": "inactive",
|
|
11587
|
+
"type": {
|
|
11588
|
+
"text": "boolean"
|
|
11589
|
+
},
|
|
11590
|
+
"privacy": "private",
|
|
11591
|
+
"description": "Whether the control is off, by its own `disabled` or by its form.",
|
|
11592
|
+
"readonly": true
|
|
11593
|
+
},
|
|
9683
11594
|
{
|
|
9684
11595
|
"kind": "field",
|
|
9685
11596
|
"name": "size",
|
|
@@ -9738,6 +11649,24 @@
|
|
|
9738
11649
|
}
|
|
9739
11650
|
}
|
|
9740
11651
|
},
|
|
11652
|
+
{
|
|
11653
|
+
"kind": "method",
|
|
11654
|
+
"name": "formDisabledCallback",
|
|
11655
|
+
"return": {
|
|
11656
|
+
"type": {
|
|
11657
|
+
"text": "void"
|
|
11658
|
+
}
|
|
11659
|
+
},
|
|
11660
|
+
"parameters": [
|
|
11661
|
+
{
|
|
11662
|
+
"name": "disabled",
|
|
11663
|
+
"type": {
|
|
11664
|
+
"text": "boolean"
|
|
11665
|
+
}
|
|
11666
|
+
}
|
|
11667
|
+
],
|
|
11668
|
+
"description": "Called by the platform when the control's disabled state changes — its\nown `disabled`, or an ancestor `<fieldset disabled>` it cannot see."
|
|
11669
|
+
},
|
|
9741
11670
|
{
|
|
9742
11671
|
"kind": "method",
|
|
9743
11672
|
"name": "formStateRestoreCallback",
|
|
@@ -10390,6 +12319,26 @@
|
|
|
10390
12319
|
"attribute": "disabled",
|
|
10391
12320
|
"reflects": true
|
|
10392
12321
|
},
|
|
12322
|
+
{
|
|
12323
|
+
"kind": "field",
|
|
12324
|
+
"name": "formDisabled",
|
|
12325
|
+
"type": {
|
|
12326
|
+
"text": "boolean"
|
|
12327
|
+
},
|
|
12328
|
+
"privacy": "private",
|
|
12329
|
+
"default": "false",
|
|
12330
|
+
"description": "Disabled by an enclosing `<fieldset>`, which leaves `disabled` alone."
|
|
12331
|
+
},
|
|
12332
|
+
{
|
|
12333
|
+
"kind": "field",
|
|
12334
|
+
"name": "inactive",
|
|
12335
|
+
"type": {
|
|
12336
|
+
"text": "boolean"
|
|
12337
|
+
},
|
|
12338
|
+
"privacy": "private",
|
|
12339
|
+
"description": "Whether the control is off, by its own `disabled` or by its form.",
|
|
12340
|
+
"readonly": true
|
|
12341
|
+
},
|
|
10393
12342
|
{
|
|
10394
12343
|
"kind": "field",
|
|
10395
12344
|
"name": "label",
|
|
@@ -10428,6 +12377,24 @@
|
|
|
10428
12377
|
}
|
|
10429
12378
|
}
|
|
10430
12379
|
},
|
|
12380
|
+
{
|
|
12381
|
+
"kind": "method",
|
|
12382
|
+
"name": "formDisabledCallback",
|
|
12383
|
+
"return": {
|
|
12384
|
+
"type": {
|
|
12385
|
+
"text": "void"
|
|
12386
|
+
}
|
|
12387
|
+
},
|
|
12388
|
+
"parameters": [
|
|
12389
|
+
{
|
|
12390
|
+
"name": "disabled",
|
|
12391
|
+
"type": {
|
|
12392
|
+
"text": "boolean"
|
|
12393
|
+
}
|
|
12394
|
+
}
|
|
12395
|
+
],
|
|
12396
|
+
"description": "Called by the platform when the control's disabled state changes — its\nown `disabled`, or an ancestor `<fieldset disabled>` it cannot see."
|
|
12397
|
+
},
|
|
10431
12398
|
{
|
|
10432
12399
|
"kind": "method",
|
|
10433
12400
|
"name": "formStateRestoreCallback",
|
|
@@ -11946,6 +13913,12 @@
|
|
|
11946
13913
|
"default": "'bottom'",
|
|
11947
13914
|
"description": "Where the panel actually landed, after checking the room available."
|
|
11948
13915
|
},
|
|
13916
|
+
{
|
|
13917
|
+
"kind": "field",
|
|
13918
|
+
"name": "floating",
|
|
13919
|
+
"privacy": "private",
|
|
13920
|
+
"default": "new FloatingController(this, { panel: () => this.shadowRoot?.querySelector<HTMLElement>('.panel'), anchor: () => this.triggerWrapper, side: () => this.preferredPlacement, align: () => this.align, onPlace: (side) => { this.placement = side === 'top' ? 'top' : 'bottom'; }, })"
|
|
13921
|
+
},
|
|
11949
13922
|
{
|
|
11950
13923
|
"kind": "field",
|
|
11951
13924
|
"name": "options",
|
|
@@ -12015,10 +13988,23 @@
|
|
|
12015
13988
|
"readonly": true
|
|
12016
13989
|
},
|
|
12017
13990
|
{
|
|
12018
|
-
"kind": "
|
|
12019
|
-
"name": "
|
|
13991
|
+
"kind": "method",
|
|
13992
|
+
"name": "listen",
|
|
12020
13993
|
"privacy": "private",
|
|
12021
|
-
"
|
|
13994
|
+
"return": {
|
|
13995
|
+
"type": {
|
|
13996
|
+
"text": "void"
|
|
13997
|
+
}
|
|
13998
|
+
},
|
|
13999
|
+
"parameters": [
|
|
14000
|
+
{
|
|
14001
|
+
"name": "on",
|
|
14002
|
+
"type": {
|
|
14003
|
+
"text": "boolean"
|
|
14004
|
+
}
|
|
14005
|
+
}
|
|
14006
|
+
],
|
|
14007
|
+
"description": "The outside click and Escape a panel reacts to — only while it is\nopen. A page of closed menus should not run a handler per menu on every\nclick and keystroke."
|
|
12022
14008
|
},
|
|
12023
14009
|
{
|
|
12024
14010
|
"kind": "field",
|