@mintplayer/web-components 3.2.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/README.md +10 -11
  2. package/accordion/index.mjs +14 -12
  3. package/card/index.mjs +7 -5
  4. package/card/src/mp-card.element.d.ts +7 -2
  5. package/carousel/index.mjs +10 -9
  6. package/checkbox/index.mjs +1 -1
  7. package/chunks/{datatable-Ce-UT16z.mjs → datatable-wRsV3aob.mjs} +31 -15
  8. package/chunks/{datetime-picker-BT6lb4qw.mjs → datetime-picker-BQGY51b5.mjs} +8 -7
  9. package/custom-elements.json +1856 -1192
  10. package/datatable/index.mjs +1 -1
  11. package/datatable/src/generated/mp-datatable.generated.d.ts +20 -2
  12. package/datatable/src/index.d.ts +1 -1
  13. package/datepicker/index.mjs +8 -7
  14. package/datetime-picker/index.mjs +1 -1
  15. package/dropdown-menu/index.mjs +14 -8
  16. package/file-manager/index.mjs +7 -6
  17. package/input-group/index.mjs +12 -10
  18. package/machine/index.mjs +8 -1
  19. package/machine/src/index.d.ts +1 -0
  20. package/machine/src/mark-links.d.ts +6 -0
  21. package/nav/index.d.ts +1 -0
  22. package/nav/index.mjs +126 -0
  23. package/nav/src/generated/index.d.ts +2 -0
  24. package/nav/src/generated/mp-nav-item.generated.d.ts +20 -0
  25. package/nav/src/generated/mp-nav.generated.d.ts +63 -0
  26. package/nav/src/generated/nav-item.view.generated.d.ts +10 -0
  27. package/nav/src/generated/nav.view.generated.d.ts +10 -0
  28. package/nav/src/index.d.ts +1 -0
  29. package/nav/src/nav-item.lit.d.ts +1 -0
  30. package/navbar/index.mjs +64 -56
  31. package/navbar/src/navbar-item.lit.d.ts +1 -0
  32. package/otp-input/index.mjs +8 -7
  33. package/package.json +10 -4
  34. package/phone-input/index.mjs +8 -7
  35. package/query-builder/index.mjs +14 -12
  36. package/scheduler/index.mjs +27 -26
  37. package/select/index.mjs +11 -10
  38. package/signature-pad/index.mjs +8 -7
  39. package/spinner/index.d.ts +1 -0
  40. package/spinner/index.mjs +63 -0
  41. package/spinner/src/generated/index.d.ts +1 -0
  42. package/spinner/src/generated/mp-spinner.generated.d.ts +51 -0
  43. package/spinner/src/generated/spinner.view.generated.d.ts +9 -0
  44. package/spinner/src/index.d.ts +1 -0
  45. package/timepicker/index.mjs +13 -12
  46. package/typeahead/index.mjs +21 -18
  47. package/theming/bs-theme-preboot.js +0 -1
  48. package/theming/color-mode.css +0 -37
@@ -8,7 +8,7 @@
8
8
  "declarations": [
9
9
  {
10
10
  "kind": "class",
11
- "description": "`<mp-card>`, the Lit front of the card (PRD #437 §8, wave A). The card has\nno core: the element IS the Bootstrap `.card`, rendered in the light DOM\nwith no template of its own, so its children (`.card-header`, `.card-body`,\n…) are ordinary children and the page baseline styles them. Nothing is\nmoved and nothing re-renders, so consumer nodes keep their identity.\n\nNo-JS: visible and complete without JS once the consumer writes the\nclasses by hand (`<mp-card class=\"card text-bg-primary\">`); the element only\nadds them.\n\nAttributes:\n - `color` a card colour name (`primary` … `dark`, `body`, `white`, `transparent`).\n - `outline` boolean; colour the border only.",
11
+ "description": "`<mp-card>`, the Lit front of the card (PRD #437 §8, wave A). The card has\nno core: the element IS the Bootstrap `.card`, rendered in the light DOM\nwith no template of its own, so its children (`.card-header`, `.card-body`,\n…) are ordinary children. Nothing is moved and nothing re-renders, so\nconsumer nodes keep their identity.\n\nStyles (#452): those children are the consumer's own raw Bootstrap markup,\nwhich a component never stamps, so the element installs the VERBATIM card\npart (`bootstrapCardPage`) — the route the PRD gives raw page markup. It\nreplaces a scoped copy under the same registry key, never adds a second.\n\nNo-JS: visible and complete without JS once the consumer writes the\nclasses by hand (`<mp-card class=\"card text-bg-primary\">`); the element only\nadds them.\n\nAttributes:\n - `color` a card colour name (`primary` … `dark`, `body`, `white`, `transparent`).\n - `outline` boolean; colour the border only.",
12
12
  "name": "MpCardElement",
13
13
  "members": [
14
14
  {
@@ -1521,6 +1521,45 @@
1521
1521
  }
1522
1522
  ]
1523
1523
  },
1524
+ {
1525
+ "kind": "javascript-module",
1526
+ "path": "datepicker/src/index.ts",
1527
+ "declarations": [],
1528
+ "exports": [
1529
+ {
1530
+ "kind": "js",
1531
+ "name": "*",
1532
+ "declaration": {
1533
+ "name": "*",
1534
+ "module": "datepicker/src/generated"
1535
+ }
1536
+ },
1537
+ {
1538
+ "kind": "js",
1539
+ "name": "DatepickerLabels",
1540
+ "declaration": {
1541
+ "name": "DatepickerLabels",
1542
+ "package": "@mintplayer/ui-core/datepicker"
1543
+ }
1544
+ },
1545
+ {
1546
+ "kind": "js",
1547
+ "name": "CalendarLabels",
1548
+ "declaration": {
1549
+ "name": "CalendarLabels",
1550
+ "package": "@mintplayer/ui-core/calendar"
1551
+ }
1552
+ },
1553
+ {
1554
+ "kind": "js",
1555
+ "name": "FirstDayOfWeek",
1556
+ "declaration": {
1557
+ "name": "FirstDayOfWeek",
1558
+ "package": "@mintplayer/ui-core/calendar"
1559
+ }
1560
+ }
1561
+ ]
1562
+ },
1524
1563
  {
1525
1564
  "kind": "javascript-module",
1526
1565
  "path": "datatable/src/index.ts",
@@ -1568,9 +1607,9 @@
1568
1607
  },
1569
1608
  {
1570
1609
  "kind": "js",
1571
- "name": "ComparisonFilterChangeDetail",
1610
+ "name": "DatatableFilter",
1572
1611
  "declaration": {
1573
- "name": "ComparisonFilterChangeDetail",
1612
+ "name": "DatatableFilter",
1574
1613
  "package": "@mintplayer/ui-core/datatable"
1575
1614
  }
1576
1615
  },
@@ -1688,9 +1727,9 @@
1688
1727
  },
1689
1728
  {
1690
1729
  "kind": "js",
1691
- "name": "FilterChangeDetail",
1730
+ "name": "DatatableFilters",
1692
1731
  "declaration": {
1693
- "name": "FilterChangeDetail",
1732
+ "name": "DatatableFilters",
1694
1733
  "package": "@mintplayer/ui-core/datatable"
1695
1734
  }
1696
1735
  },
@@ -1805,53 +1844,6 @@
1805
1844
  "name": "TreeSelectionStrategy",
1806
1845
  "package": "@mintplayer/ui-core/datatable"
1807
1846
  }
1808
- },
1809
- {
1810
- "kind": "js",
1811
- "name": "ValuesFilterChangeDetail",
1812
- "declaration": {
1813
- "name": "ValuesFilterChangeDetail",
1814
- "package": "@mintplayer/ui-core/datatable"
1815
- }
1816
- }
1817
- ]
1818
- },
1819
- {
1820
- "kind": "javascript-module",
1821
- "path": "datepicker/src/index.ts",
1822
- "declarations": [],
1823
- "exports": [
1824
- {
1825
- "kind": "js",
1826
- "name": "*",
1827
- "declaration": {
1828
- "name": "*",
1829
- "module": "datepicker/src/generated"
1830
- }
1831
- },
1832
- {
1833
- "kind": "js",
1834
- "name": "DatepickerLabels",
1835
- "declaration": {
1836
- "name": "DatepickerLabels",
1837
- "package": "@mintplayer/ui-core/datepicker"
1838
- }
1839
- },
1840
- {
1841
- "kind": "js",
1842
- "name": "CalendarLabels",
1843
- "declaration": {
1844
- "name": "CalendarLabels",
1845
- "package": "@mintplayer/ui-core/calendar"
1846
- }
1847
- },
1848
- {
1849
- "kind": "js",
1850
- "name": "FirstDayOfWeek",
1851
- "declaration": {
1852
- "name": "FirstDayOfWeek",
1853
- "package": "@mintplayer/ui-core/calendar"
1854
- }
1855
1847
  }
1856
1848
  ]
1857
1849
  },
@@ -3285,6 +3277,14 @@
3285
3277
  "name": "*",
3286
3278
  "module": "machine/src/content-query"
3287
3279
  }
3280
+ },
3281
+ {
3282
+ "kind": "js",
3283
+ "name": "*",
3284
+ "declaration": {
3285
+ "name": "*",
3286
+ "module": "machine/src/mark-links"
3287
+ }
3288
3288
  }
3289
3289
  ]
3290
3290
  },
@@ -3356,6 +3356,52 @@
3356
3356
  }
3357
3357
  ]
3358
3358
  },
3359
+ {
3360
+ "kind": "javascript-module",
3361
+ "path": "machine/src/mark-links.ts",
3362
+ "declarations": [
3363
+ {
3364
+ "kind": "function",
3365
+ "name": "markLinks",
3366
+ "return": {
3367
+ "type": {
3368
+ "text": "void"
3369
+ }
3370
+ },
3371
+ "parameters": [
3372
+ {
3373
+ "name": "nodes",
3374
+ "type": {
3375
+ "text": "readonly Node[]"
3376
+ }
3377
+ },
3378
+ {
3379
+ "name": "className",
3380
+ "type": {
3381
+ "text": "string"
3382
+ }
3383
+ },
3384
+ {
3385
+ "name": "scope",
3386
+ "type": {
3387
+ "text": "string"
3388
+ }
3389
+ }
3390
+ ],
3391
+ "description": "A component's consumer links (its captured child elements), marked with a\nBootstrap class and the component's scope, so the scoped Bootstrap part\n(`.nav-link:where([data-mps])`) styles them. Idempotent: an element calls it on every update."
3392
+ }
3393
+ ],
3394
+ "exports": [
3395
+ {
3396
+ "kind": "js",
3397
+ "name": "markLinks",
3398
+ "declaration": {
3399
+ "name": "markLinks",
3400
+ "module": "machine/src/mark-links.ts"
3401
+ }
3402
+ }
3403
+ ]
3404
+ },
3359
3405
  {
3360
3406
  "kind": "javascript-module",
3361
3407
  "path": "machine/src/props-directive.ts",
@@ -3419,6 +3465,60 @@
3419
3465
  }
3420
3466
  ]
3421
3467
  },
3468
+ {
3469
+ "kind": "javascript-module",
3470
+ "path": "nav/src/index.ts",
3471
+ "declarations": [],
3472
+ "exports": [
3473
+ {
3474
+ "kind": "js",
3475
+ "name": "*",
3476
+ "declaration": {
3477
+ "name": "*",
3478
+ "module": "nav/src/generated"
3479
+ }
3480
+ }
3481
+ ]
3482
+ },
3483
+ {
3484
+ "kind": "javascript-module",
3485
+ "path": "nav/src/nav-item.lit.ts",
3486
+ "declarations": [
3487
+ {
3488
+ "kind": "function",
3489
+ "name": "children",
3490
+ "return": {
3491
+ "type": {
3492
+ "text": "void"
3493
+ }
3494
+ },
3495
+ "parameters": [
3496
+ {
3497
+ "name": "nodes",
3498
+ "type": {
3499
+ "text": "readonly Node[]"
3500
+ }
3501
+ },
3502
+ {
3503
+ "name": "_host",
3504
+ "type": {
3505
+ "text": "HTMLElement"
3506
+ }
3507
+ }
3508
+ ]
3509
+ }
3510
+ ],
3511
+ "exports": [
3512
+ {
3513
+ "kind": "js",
3514
+ "name": "children",
3515
+ "declaration": {
3516
+ "name": "children",
3517
+ "module": "nav/src/nav-item.lit.ts"
3518
+ }
3519
+ }
3520
+ ]
3521
+ },
3422
3522
  {
3423
3523
  "kind": "javascript-module",
3424
3524
  "path": "navbar/src/index.ts",
@@ -3450,6 +3550,45 @@
3450
3550
  }
3451
3551
  ]
3452
3552
  },
3553
+ {
3554
+ "kind": "javascript-module",
3555
+ "path": "navbar/src/navbar-item.lit.ts",
3556
+ "declarations": [
3557
+ {
3558
+ "kind": "function",
3559
+ "name": "children",
3560
+ "return": {
3561
+ "type": {
3562
+ "text": "void"
3563
+ }
3564
+ },
3565
+ "parameters": [
3566
+ {
3567
+ "name": "nodes",
3568
+ "type": {
3569
+ "text": "readonly Node[]"
3570
+ }
3571
+ },
3572
+ {
3573
+ "name": "host",
3574
+ "type": {
3575
+ "text": "HTMLElement"
3576
+ }
3577
+ }
3578
+ ]
3579
+ }
3580
+ ],
3581
+ "exports": [
3582
+ {
3583
+ "kind": "js",
3584
+ "name": "children",
3585
+ "declaration": {
3586
+ "name": "children",
3587
+ "module": "navbar/src/navbar-item.lit.ts"
3588
+ }
3589
+ }
3590
+ ]
3591
+ },
3453
3592
  {
3454
3593
  "kind": "javascript-module",
3455
3594
  "path": "otp-input/src/index.ts",
@@ -4591,6 +4730,21 @@
4591
4730
  }
4592
4731
  ]
4593
4732
  },
4733
+ {
4734
+ "kind": "javascript-module",
4735
+ "path": "spinner/src/index.ts",
4736
+ "declarations": [],
4737
+ "exports": [
4738
+ {
4739
+ "kind": "js",
4740
+ "name": "*",
4741
+ "declaration": {
4742
+ "name": "*",
4743
+ "module": "spinner/src/generated"
4744
+ }
4745
+ }
4746
+ ]
4747
+ },
4594
4748
  {
4595
4749
  "kind": "javascript-module",
4596
4750
  "path": "splitter/src/index.ts",
@@ -4963,80 +5117,41 @@
4963
5117
  },
4964
5118
  {
4965
5119
  "kind": "javascript-module",
4966
- "path": "toggle-button/src/index.ts",
5120
+ "path": "tree-select/src/index.ts",
4967
5121
  "declarations": [],
4968
5122
  "exports": [
4969
5123
  {
4970
5124
  "kind": "js",
4971
- "name": "MpToggleButton",
5125
+ "name": "*",
4972
5126
  "declaration": {
4973
- "name": "MpToggleButton",
4974
- "module": "./components"
5127
+ "name": "*",
5128
+ "module": "tree-select/src/generated"
4975
5129
  }
4976
5130
  },
4977
5131
  {
4978
5132
  "kind": "js",
4979
- "name": "ToggleButtonColor",
5133
+ "name": "InMemoryTreeSelectProvider",
4980
5134
  "declaration": {
4981
- "name": "ToggleButtonColor",
4982
- "module": "./components"
5135
+ "name": "InMemoryTreeSelectProvider",
5136
+ "package": "@mintplayer/ui-core/tree-select"
4983
5137
  }
4984
5138
  },
4985
5139
  {
4986
5140
  "kind": "js",
4987
- "name": "ToggleChangeEventDetail",
5141
+ "name": "InMemoryProviderOptions",
4988
5142
  "declaration": {
4989
- "name": "ToggleChangeEventDetail",
4990
- "module": "./components"
5143
+ "name": "InMemoryProviderOptions",
5144
+ "package": "@mintplayer/ui-core/tree-select"
4991
5145
  }
4992
5146
  },
4993
5147
  {
4994
5148
  "kind": "js",
4995
- "name": "toggleButtonStyles",
5149
+ "name": "NodePage",
4996
5150
  "declaration": {
4997
- "name": "toggleButtonStyles",
4998
- "module": "./styles"
5151
+ "name": "NodePage",
5152
+ "package": "@mintplayer/ui-core/tree-select"
4999
5153
  }
5000
- }
5001
- ]
5002
- },
5003
- {
5004
- "kind": "javascript-module",
5005
- "path": "tree-select/src/index.ts",
5006
- "declarations": [],
5007
- "exports": [
5008
- {
5009
- "kind": "js",
5010
- "name": "*",
5011
- "declaration": {
5012
- "name": "*",
5013
- "module": "tree-select/src/generated"
5014
- }
5015
- },
5016
- {
5017
- "kind": "js",
5018
- "name": "InMemoryTreeSelectProvider",
5019
- "declaration": {
5020
- "name": "InMemoryTreeSelectProvider",
5021
- "package": "@mintplayer/ui-core/tree-select"
5022
- }
5023
- },
5024
- {
5025
- "kind": "js",
5026
- "name": "InMemoryProviderOptions",
5027
- "declaration": {
5028
- "name": "InMemoryProviderOptions",
5029
- "package": "@mintplayer/ui-core/tree-select"
5030
- }
5031
- },
5032
- {
5033
- "kind": "js",
5034
- "name": "NodePage",
5035
- "declaration": {
5036
- "name": "NodePage",
5037
- "package": "@mintplayer/ui-core/tree-select"
5038
- }
5039
- },
5154
+ },
5040
5155
  {
5041
5156
  "kind": "js",
5042
5157
  "name": "NodeRequest",
@@ -5119,6 +5234,45 @@
5119
5234
  }
5120
5235
  ]
5121
5236
  },
5237
+ {
5238
+ "kind": "javascript-module",
5239
+ "path": "toggle-button/src/index.ts",
5240
+ "declarations": [],
5241
+ "exports": [
5242
+ {
5243
+ "kind": "js",
5244
+ "name": "MpToggleButton",
5245
+ "declaration": {
5246
+ "name": "MpToggleButton",
5247
+ "module": "./components"
5248
+ }
5249
+ },
5250
+ {
5251
+ "kind": "js",
5252
+ "name": "ToggleButtonColor",
5253
+ "declaration": {
5254
+ "name": "ToggleButtonColor",
5255
+ "module": "./components"
5256
+ }
5257
+ },
5258
+ {
5259
+ "kind": "js",
5260
+ "name": "ToggleChangeEventDetail",
5261
+ "declaration": {
5262
+ "name": "ToggleChangeEventDetail",
5263
+ "module": "./components"
5264
+ }
5265
+ },
5266
+ {
5267
+ "kind": "js",
5268
+ "name": "toggleButtonStyles",
5269
+ "declaration": {
5270
+ "name": "toggleButtonStyles",
5271
+ "module": "./styles"
5272
+ }
5273
+ }
5274
+ ]
5275
+ },
5122
5276
  {
5123
5277
  "kind": "javascript-module",
5124
5278
  "path": "treeview/src/index.ts",
@@ -5839,34 +5993,6 @@
5839
5993
  }
5840
5994
  ]
5841
5995
  },
5842
- {
5843
- "kind": "javascript-module",
5844
- "path": "badge/src/styles/badge.styles.ts",
5845
- "declarations": [
5846
- {
5847
- "kind": "variable",
5848
- "name": "badgeStyles"
5849
- }
5850
- ],
5851
- "exports": [
5852
- {
5853
- "kind": "js",
5854
- "name": "badgeStyles",
5855
- "declaration": {
5856
- "name": "badgeStyles",
5857
- "module": "badge/src/styles/badge.styles.ts"
5858
- }
5859
- },
5860
- {
5861
- "kind": "js",
5862
- "name": "default",
5863
- "declaration": {
5864
- "name": "badgeStyles",
5865
- "module": "badge/src/styles/badge.styles.ts"
5866
- }
5867
- }
5868
- ]
5869
- },
5870
5996
  {
5871
5997
  "kind": "javascript-module",
5872
5998
  "path": "calendar/src/generated/calendar.view.generated.ts",
@@ -6595,6 +6721,34 @@
6595
6721
  }
6596
6722
  ]
6597
6723
  },
6724
+ {
6725
+ "kind": "javascript-module",
6726
+ "path": "badge/src/styles/badge.styles.ts",
6727
+ "declarations": [
6728
+ {
6729
+ "kind": "variable",
6730
+ "name": "badgeStyles"
6731
+ }
6732
+ ],
6733
+ "exports": [
6734
+ {
6735
+ "kind": "js",
6736
+ "name": "badgeStyles",
6737
+ "declaration": {
6738
+ "name": "badgeStyles",
6739
+ "module": "badge/src/styles/badge.styles.ts"
6740
+ }
6741
+ },
6742
+ {
6743
+ "kind": "js",
6744
+ "name": "default",
6745
+ "declaration": {
6746
+ "name": "badgeStyles",
6747
+ "module": "badge/src/styles/badge.styles.ts"
6748
+ }
6749
+ }
6750
+ ]
6751
+ },
6598
6752
  {
6599
6753
  "kind": "javascript-module",
6600
6754
  "path": "checkbox/src/components/index.ts",
@@ -7462,11 +7616,11 @@
7462
7616
  },
7463
7617
  {
7464
7618
  "kind": "javascript-module",
7465
- "path": "datatable/src/generated/datatable.view.generated.ts",
7619
+ "path": "datepicker/src/generated/datepicker.view.generated.ts",
7466
7620
  "declarations": [
7467
7621
  {
7468
7622
  "kind": "function",
7469
- "name": "datatableTemplate",
7623
+ "name": "datepickerTemplate",
7470
7624
  "return": {
7471
7625
  "type": {
7472
7626
  "text": "TemplateResult"
@@ -7476,7 +7630,7 @@
7476
7630
  {
7477
7631
  "name": "{ view, slots = {} }",
7478
7632
  "type": {
7479
- "text": "DatatableTemplateProps"
7633
+ "text": "DatepickerTemplateProps"
7480
7634
  }
7481
7635
  }
7482
7636
  ]
@@ -7485,959 +7639,995 @@
7485
7639
  "exports": [
7486
7640
  {
7487
7641
  "kind": "js",
7488
- "name": "datatableTemplate",
7642
+ "name": "datepickerTemplate",
7489
7643
  "declaration": {
7490
- "name": "datatableTemplate",
7491
- "module": "datatable/src/generated/datatable.view.generated.ts"
7644
+ "name": "datepickerTemplate",
7645
+ "module": "datepicker/src/generated/datepicker.view.generated.ts"
7492
7646
  }
7493
7647
  }
7494
7648
  ]
7495
7649
  },
7496
7650
  {
7497
7651
  "kind": "javascript-module",
7498
- "path": "datatable/src/generated/index.ts",
7652
+ "path": "datepicker/src/generated/index.ts",
7499
7653
  "declarations": [],
7500
7654
  "exports": [
7501
7655
  {
7502
7656
  "kind": "js",
7503
- "name": "MpDatatable",
7657
+ "name": "MpDatepicker",
7504
7658
  "declaration": {
7505
- "name": "MpDatatable",
7506
- "module": "./mp-datatable.generated"
7659
+ "name": "MpDatepicker",
7660
+ "module": "./mp-datepicker.generated"
7507
7661
  }
7508
7662
  }
7509
7663
  ]
7510
7664
  },
7511
7665
  {
7512
7666
  "kind": "javascript-module",
7513
- "path": "datatable/src/generated/mp-datatable.generated.ts",
7667
+ "path": "datepicker/src/generated/mp-datepicker.generated.ts",
7514
7668
  "declarations": [
7515
7669
  {
7516
7670
  "kind": "class",
7517
- "description": "A sortable, pageable, selectable table (#437), over local `data` or a server `fetch`;\nvirtual scrolling, a lazy tree (`tree` + `idKey` + `childCountKey`) and resizable columns.\n\nColumns are data (`DatatableColumnDef`). Slots: `header {column}` (a header label),\n`cell {row, column, rowIndex}` (one cell) and `row {row, rowIndex, ctx}` (all of a\nrow's data cells) and `filter {column, ctx}` (the panel of a column with `filterMode: 'custom'`). Two-way: `sortColumns`, `page`, `perPage`, `selectedIds`, `expandedIds`.\nAn `aria-label` names the table.",
7518
- "name": "MpDatatable",
7671
+ "description": "A date field with a month-grid popup (#437): the APG date picker dialog.\n\nWith JavaScript off it is a native date field that submits `name` as YYYY-MM-DD. Once\nhydrated the field becomes a readonly display, a button opens the grid in a native popover,\nand a hidden input carries the submitted value.",
7672
+ "name": "MpDatepicker",
7519
7673
  "members": [
7520
7674
  {
7521
7675
  "kind": "field",
7522
- "name": "columns",
7676
+ "name": "selectedDate",
7523
7677
  "privacy": "public",
7524
7678
  "type": {
7525
- "text": "DatatableInputs['columns']"
7679
+ "text": "DatepickerInputs['selectedDate']"
7526
7680
  },
7527
- "default": "[]"
7681
+ "default": "null"
7528
7682
  },
7529
7683
  {
7530
7684
  "kind": "field",
7531
- "name": "data",
7685
+ "name": "currentMonth",
7532
7686
  "privacy": "public",
7533
7687
  "type": {
7534
- "text": "DatatableInputs['data']"
7688
+ "text": "DatepickerInputs['currentMonth']"
7535
7689
  },
7536
- "default": "[]"
7690
+ "default": "null"
7537
7691
  },
7538
7692
  {
7539
7693
  "kind": "field",
7540
- "name": "fetch",
7694
+ "name": "min",
7541
7695
  "privacy": "public",
7542
7696
  "type": {
7543
- "text": "DatatableInputs['fetch']"
7697
+ "text": "DatepickerInputs['min']"
7544
7698
  },
7545
7699
  "default": "null"
7546
7700
  },
7547
7701
  {
7548
7702
  "kind": "field",
7549
- "name": "caption",
7703
+ "name": "max",
7550
7704
  "privacy": "public",
7551
7705
  "type": {
7552
- "text": "DatatableInputs['caption']"
7706
+ "text": "DatepickerInputs['max']"
7553
7707
  },
7554
- "default": "null",
7555
- "attribute": "caption"
7708
+ "default": "null"
7556
7709
  },
7557
7710
  {
7558
7711
  "kind": "field",
7559
- "name": "labels",
7712
+ "name": "disableDateFn",
7560
7713
  "privacy": "public",
7561
7714
  "type": {
7562
- "text": "DatatableInputs['labels']"
7715
+ "text": "DatepickerInputs['disableDateFn']"
7563
7716
  },
7564
7717
  "default": "null"
7565
7718
  },
7566
7719
  {
7567
7720
  "kind": "field",
7568
- "name": "inputLabel",
7721
+ "name": "firstDayOfWeek",
7569
7722
  "privacy": "public",
7570
7723
  "type": {
7571
- "text": "DatatableInputs['inputLabel']"
7724
+ "text": "DatepickerInputs['firstDayOfWeek']"
7572
7725
  },
7573
- "default": "null",
7574
- "attribute": "input-label"
7726
+ "default": "1",
7727
+ "attribute": "first-day-of-week"
7575
7728
  },
7576
7729
  {
7577
7730
  "kind": "field",
7578
- "name": "sortColumns",
7731
+ "name": "locale",
7579
7732
  "privacy": "public",
7580
7733
  "type": {
7581
- "text": "DatatableInputs['sortColumns']"
7734
+ "text": "DatepickerInputs['locale']"
7582
7735
  },
7583
- "default": "[]"
7736
+ "default": "null",
7737
+ "attribute": "locale"
7584
7738
  },
7585
7739
  {
7586
7740
  "kind": "field",
7587
- "name": "page",
7741
+ "name": "disabled",
7588
7742
  "privacy": "public",
7589
7743
  "type": {
7590
- "text": "DatatableInputs['page']"
7744
+ "text": "DatepickerInputs['disabled']"
7591
7745
  },
7592
- "default": "1",
7593
- "attribute": "page"
7746
+ "default": "false",
7747
+ "attribute": "disabled",
7748
+ "reflects": true
7594
7749
  },
7595
7750
  {
7596
7751
  "kind": "field",
7597
- "name": "perPage",
7752
+ "name": "placeholder",
7598
7753
  "privacy": "public",
7599
7754
  "type": {
7600
- "text": "DatatableInputs['perPage']"
7755
+ "text": "DatepickerInputs['placeholder']"
7601
7756
  },
7602
- "default": "20",
7603
- "attribute": "per-page"
7757
+ "default": "null",
7758
+ "attribute": "placeholder"
7604
7759
  },
7605
7760
  {
7606
7761
  "kind": "field",
7607
- "name": "perPageOptions",
7762
+ "name": "required",
7608
7763
  "privacy": "public",
7609
7764
  "type": {
7610
- "text": "DatatableInputs['perPageOptions']"
7765
+ "text": "DatepickerInputs['required']"
7611
7766
  },
7612
- "default": "[10, 20, 50]"
7767
+ "default": "false",
7768
+ "attribute": "required"
7613
7769
  },
7614
7770
  {
7615
7771
  "kind": "field",
7616
- "name": "pagination",
7772
+ "name": "invalid",
7617
7773
  "privacy": "public",
7618
7774
  "type": {
7619
- "text": "DatatableInputs['pagination']"
7775
+ "text": "DatepickerInputs['invalid']"
7620
7776
  },
7621
7777
  "default": "false",
7622
- "attribute": "pagination"
7778
+ "attribute": "invalid",
7779
+ "reflects": true
7623
7780
  },
7624
7781
  {
7625
7782
  "kind": "field",
7626
- "name": "autoSort",
7783
+ "name": "errorText",
7627
7784
  "privacy": "public",
7628
7785
  "type": {
7629
- "text": "DatatableInputs['autoSort']"
7786
+ "text": "DatepickerInputs['errorText']"
7630
7787
  },
7631
- "default": "true",
7632
- "attribute": "auto-sort"
7788
+ "default": "null",
7789
+ "attribute": "error-text"
7633
7790
  },
7634
7791
  {
7635
7792
  "kind": "field",
7636
- "name": "selectionMode",
7793
+ "name": "inputLabel",
7637
7794
  "privacy": "public",
7638
7795
  "type": {
7639
- "text": "DatatableInputs['selectionMode']"
7796
+ "text": "DatepickerInputs['inputLabel']"
7640
7797
  },
7641
- "default": "'none'",
7642
- "attribute": "selection-mode",
7643
- "reflects": true
7798
+ "default": "null",
7799
+ "attribute": "input-label"
7644
7800
  },
7645
7801
  {
7646
7802
  "kind": "field",
7647
- "name": "selectedIds",
7803
+ "name": "name",
7648
7804
  "privacy": "public",
7649
7805
  "type": {
7650
- "text": "DatatableInputs['selectedIds']"
7806
+ "text": "DatepickerInputs['name']"
7651
7807
  },
7652
- "default": "[]"
7808
+ "default": "null",
7809
+ "attribute": "name"
7653
7810
  },
7654
7811
  {
7655
7812
  "kind": "field",
7656
- "name": "cutIds",
7813
+ "name": "labels",
7657
7814
  "privacy": "public",
7658
7815
  "type": {
7659
- "text": "DatatableInputs['cutIds']"
7816
+ "text": "DatepickerInputs['labels']"
7660
7817
  },
7661
- "default": "[]"
7818
+ "default": "null"
7662
7819
  },
7663
7820
  {
7664
7821
  "kind": "field",
7665
- "name": "focusedRowKey",
7822
+ "name": "calendarLabels",
7666
7823
  "privacy": "public",
7667
7824
  "type": {
7668
- "text": "DatatableInputs['focusedRowKey']"
7669
- },
7670
- "default": "null",
7671
- "attribute": "focused-row-key"
7672
- },
7673
- {
7674
- "kind": "field",
7675
- "name": "rowLabel",
7676
- "privacy": "public",
7677
- "type": {
7678
- "text": "DatatableInputs['rowLabel']"
7825
+ "text": "DatepickerInputs['calendarLabels']"
7679
7826
  },
7680
7827
  "default": "null"
7681
7828
  },
7682
7829
  {
7683
7830
  "kind": "field",
7684
- "name": "rowKey",
7685
- "privacy": "public",
7686
- "type": {
7687
- "text": "DatatableInputs['rowKey']"
7688
- },
7689
- "default": "null"
7831
+ "name": "#core",
7832
+ "privacy": "private",
7833
+ "readonly": true,
7834
+ "default": "new CoreController(this, datepickerCore, { idPrefix: 'mp-datepicker', inputs: () => ({ selectedDate: this.selectedDate, currentMonth: this.currentMonth, min: this.min, max: this.max, disableDateFn: this.disableDateFn, firstDayOfWeek: this.firstDayOfWeek, locale: this.locale, disabled: this.disabled, placeholder: this.placeholder, required: this.required, invalid: this.invalid, errorText: this.errorText, inputLabel: this.inputLabel, name: this.name, labels: this.labels, calendarLabels: this.calendarLabels }), hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datepicker' }), models: ['selectedDate', 'currentMonth'] })"
7690
7835
  },
7691
7836
  {
7692
- "kind": "field",
7693
- "name": "tree",
7694
- "privacy": "public",
7695
- "type": {
7696
- "text": "DatatableInputs['tree']"
7837
+ "kind": "method",
7838
+ "name": "open",
7839
+ "return": {
7840
+ "type": {
7841
+ "text": "ReturnType<DatepickerMethods['open']>"
7842
+ }
7697
7843
  },
7698
- "default": "false",
7699
- "attribute": "tree"
7844
+ "parameters": [
7845
+ {
7846
+ "name": "args",
7847
+ "type": {
7848
+ "text": "Parameters<DatepickerMethods['open']>"
7849
+ }
7850
+ }
7851
+ ],
7852
+ "description": "Open the grid (ignored when disabled)."
7700
7853
  },
7701
7854
  {
7702
- "kind": "field",
7703
- "name": "idKey",
7704
- "privacy": "public",
7705
- "type": {
7706
- "text": "DatatableInputs['idKey']"
7855
+ "kind": "method",
7856
+ "name": "close",
7857
+ "return": {
7858
+ "type": {
7859
+ "text": "ReturnType<DatepickerMethods['close']>"
7860
+ }
7707
7861
  },
7708
- "default": "null"
7709
- },
7862
+ "parameters": [
7863
+ {
7864
+ "name": "args",
7865
+ "type": {
7866
+ "text": "Parameters<DatepickerMethods['close']>"
7867
+ }
7868
+ }
7869
+ ],
7870
+ "description": "Close the grid."
7871
+ }
7872
+ ],
7873
+ "attributes": [
7710
7874
  {
7711
- "kind": "field",
7712
- "name": "childCountKey",
7713
- "privacy": "public",
7875
+ "name": "first-day-of-week",
7714
7876
  "type": {
7715
- "text": "DatatableInputs['childCountKey']"
7877
+ "text": "DatepickerInputs['firstDayOfWeek']"
7716
7878
  },
7717
- "default": "null",
7718
- "attribute": "child-count-key"
7879
+ "default": "1",
7880
+ "fieldName": "firstDayOfWeek"
7719
7881
  },
7720
7882
  {
7721
- "kind": "field",
7722
- "name": "treeIndent",
7723
- "privacy": "public",
7883
+ "name": "locale",
7724
7884
  "type": {
7725
- "text": "DatatableInputs['treeIndent']"
7885
+ "text": "DatepickerInputs['locale']"
7726
7886
  },
7727
- "default": "1.25",
7728
- "attribute": "tree-indent"
7887
+ "default": "null",
7888
+ "fieldName": "locale"
7729
7889
  },
7730
7890
  {
7731
- "kind": "field",
7732
- "name": "expandedIds",
7733
- "privacy": "public",
7891
+ "name": "disabled",
7734
7892
  "type": {
7735
- "text": "DatatableInputs['expandedIds']"
7893
+ "text": "DatepickerInputs['disabled']"
7736
7894
  },
7737
- "default": "[]"
7895
+ "default": "false",
7896
+ "fieldName": "disabled"
7738
7897
  },
7739
7898
  {
7740
- "kind": "field",
7741
- "name": "selectionStrategy",
7742
- "privacy": "public",
7899
+ "name": "placeholder",
7743
7900
  "type": {
7744
- "text": "DatatableInputs['selectionStrategy']"
7901
+ "text": "DatepickerInputs['placeholder']"
7745
7902
  },
7746
- "default": "'flat'",
7747
- "attribute": "selection-strategy"
7903
+ "default": "null",
7904
+ "fieldName": "placeholder"
7748
7905
  },
7749
7906
  {
7750
- "kind": "field",
7751
- "name": "loading",
7752
- "privacy": "public",
7907
+ "name": "required",
7753
7908
  "type": {
7754
- "text": "DatatableInputs['loading']"
7909
+ "text": "DatepickerInputs['required']"
7755
7910
  },
7756
7911
  "default": "false",
7757
- "attribute": "loading"
7758
- },
7759
- {
7760
- "kind": "field",
7761
- "name": "emptyMessage",
7762
- "privacy": "public",
7763
- "type": {
7764
- "text": "DatatableInputs['emptyMessage']"
7765
- },
7766
- "default": "'No data'",
7767
- "attribute": "empty-message"
7912
+ "fieldName": "required"
7768
7913
  },
7769
7914
  {
7770
- "kind": "field",
7771
- "name": "virtualScroll",
7772
- "privacy": "public",
7915
+ "name": "invalid",
7773
7916
  "type": {
7774
- "text": "DatatableInputs['virtualScroll']"
7917
+ "text": "DatepickerInputs['invalid']"
7775
7918
  },
7776
7919
  "default": "false",
7777
- "attribute": "virtual-scroll"
7920
+ "fieldName": "invalid"
7778
7921
  },
7779
7922
  {
7780
- "kind": "field",
7781
- "name": "itemSize",
7782
- "privacy": "public",
7923
+ "name": "error-text",
7783
7924
  "type": {
7784
- "text": "DatatableInputs['itemSize']"
7925
+ "text": "DatepickerInputs['errorText']"
7785
7926
  },
7786
- "default": "40",
7787
- "attribute": "item-size"
7927
+ "default": "null",
7928
+ "fieldName": "errorText"
7788
7929
  },
7789
7930
  {
7790
- "kind": "field",
7791
- "name": "virtualBuffer",
7792
- "privacy": "public",
7931
+ "name": "input-label",
7793
7932
  "type": {
7794
- "text": "DatatableInputs['virtualBuffer']"
7933
+ "text": "DatepickerInputs['inputLabel']"
7795
7934
  },
7796
- "default": "10",
7797
- "attribute": "virtual-buffer"
7935
+ "default": "null",
7936
+ "fieldName": "inputLabel"
7798
7937
  },
7799
7938
  {
7800
- "kind": "field",
7801
- "name": "fill",
7802
- "privacy": "public",
7939
+ "name": "name",
7803
7940
  "type": {
7804
- "text": "DatatableInputs['fill']"
7941
+ "text": "DatepickerInputs['name']"
7805
7942
  },
7806
- "default": "false",
7807
- "attribute": "fill",
7808
- "reflects": true
7809
- },
7943
+ "default": "null",
7944
+ "fieldName": "name"
7945
+ }
7946
+ ],
7947
+ "superclass": {
7948
+ "name": "LitElement",
7949
+ "package": "lit"
7950
+ },
7951
+ "tagName": "mp-datepicker",
7952
+ "customElement": true
7953
+ }
7954
+ ],
7955
+ "exports": [
7956
+ {
7957
+ "kind": "js",
7958
+ "name": "MpDatepicker",
7959
+ "declaration": {
7960
+ "name": "MpDatepicker",
7961
+ "module": "datepicker/src/generated/mp-datepicker.generated.ts"
7962
+ }
7963
+ },
7964
+ {
7965
+ "kind": "custom-element-definition",
7966
+ "name": "mp-datepicker",
7967
+ "declaration": {
7968
+ "name": "MpDatepicker",
7969
+ "module": "datepicker/src/generated/mp-datepicker.generated.ts"
7970
+ }
7971
+ }
7972
+ ]
7973
+ },
7974
+ {
7975
+ "kind": "javascript-module",
7976
+ "path": "datatable/src/generated/datatable.view.generated.ts",
7977
+ "declarations": [
7978
+ {
7979
+ "kind": "function",
7980
+ "name": "datatableTemplate",
7981
+ "return": {
7982
+ "type": {
7983
+ "text": "TemplateResult"
7984
+ }
7985
+ },
7986
+ "parameters": [
7810
7987
  {
7811
- "kind": "field",
7812
- "name": "resizableColumns",
7813
- "privacy": "public",
7988
+ "name": "{ view, slots = {} }",
7814
7989
  "type": {
7815
- "text": "DatatableInputs['resizableColumns']"
7816
- },
7817
- "default": "true",
7818
- "attribute": "resizable-columns"
7819
- },
7990
+ "text": "DatatableTemplateProps"
7991
+ }
7992
+ }
7993
+ ]
7994
+ }
7995
+ ],
7996
+ "exports": [
7997
+ {
7998
+ "kind": "js",
7999
+ "name": "datatableTemplate",
8000
+ "declaration": {
8001
+ "name": "datatableTemplate",
8002
+ "module": "datatable/src/generated/datatable.view.generated.ts"
8003
+ }
8004
+ }
8005
+ ]
8006
+ },
8007
+ {
8008
+ "kind": "javascript-module",
8009
+ "path": "datatable/src/generated/index.ts",
8010
+ "declarations": [],
8011
+ "exports": [
8012
+ {
8013
+ "kind": "js",
8014
+ "name": "MpDatatable",
8015
+ "declaration": {
8016
+ "name": "MpDatatable",
8017
+ "module": "./mp-datatable.generated"
8018
+ }
8019
+ }
8020
+ ]
8021
+ },
8022
+ {
8023
+ "kind": "javascript-module",
8024
+ "path": "datatable/src/generated/mp-datatable.generated.ts",
8025
+ "declarations": [
8026
+ {
8027
+ "kind": "class",
8028
+ "description": "A sortable, pageable, selectable table (#437), over local `data` or a server `fetch`;\nvirtual scrolling, a lazy tree (`tree` + `idKey` + `childCountKey`) and resizable columns.\n\nColumns are data (`DatatableColumnDef`). Slots: `header {column}` (a header label),\n`cell {row, column, rowIndex}` (one cell) and `row {row, rowIndex, ctx}` (all of a\nrow's data cells) and `filter {column, ctx}` (the panel of a column with `filterMode: 'custom'`). Two-way: `sortColumns`, `page`, `perPage`, `selectedIds`, `expandedIds`, `filters`.\nAn `aria-label` names the table. With `fetch`, filters are applied server-side; `stateKey` prefetches\nthe first page during SSR and hands it to the client (#448).",
8029
+ "name": "MpDatatable",
8030
+ "members": [
7820
8031
  {
7821
8032
  "kind": "field",
7822
- "name": "hrefFor",
8033
+ "name": "columns",
7823
8034
  "privacy": "public",
7824
8035
  "type": {
7825
- "text": "DatatableInputs['hrefFor']"
8036
+ "text": "DatatableInputs['columns']"
7826
8037
  },
7827
- "default": "null"
8038
+ "default": "[]"
7828
8039
  },
7829
8040
  {
7830
8041
  "kind": "field",
7831
- "name": "distincts",
8042
+ "name": "data",
7832
8043
  "privacy": "public",
7833
8044
  "type": {
7834
- "text": "DatatableInputs['distincts']"
8045
+ "text": "DatatableInputs['data']"
7835
8046
  },
7836
- "default": "null"
8047
+ "default": "[]"
7837
8048
  },
7838
8049
  {
7839
8050
  "kind": "field",
7840
- "name": "headerRenderer",
8051
+ "name": "fetch",
7841
8052
  "privacy": "public",
7842
8053
  "type": {
7843
- "text": "((args: DatatableHeaderSlotArgs) => unknown) | null | undefined"
8054
+ "text": "DatatableInputs['fetch']"
7844
8055
  },
7845
- "description": "Renders the header slot, called per use; wins over slot=\"header\" children."
8056
+ "default": "null"
7846
8057
  },
7847
8058
  {
7848
8059
  "kind": "field",
7849
- "name": "cellRenderer",
8060
+ "name": "caption",
7850
8061
  "privacy": "public",
7851
8062
  "type": {
7852
- "text": "((args: DatatableCellSlotArgs) => unknown) | null | undefined"
8063
+ "text": "DatatableInputs['caption']"
7853
8064
  },
7854
- "description": "Renders the cell slot, called per use; wins over slot=\"cell\" children."
8065
+ "default": "null",
8066
+ "attribute": "caption"
7855
8067
  },
7856
8068
  {
7857
8069
  "kind": "field",
7858
- "name": "rowRenderer",
8070
+ "name": "labels",
7859
8071
  "privacy": "public",
7860
8072
  "type": {
7861
- "text": "((args: DatatableRowSlotArgs) => unknown) | null | undefined"
8073
+ "text": "DatatableInputs['labels']"
7862
8074
  },
7863
- "description": "Renders the row slot, called per use; wins over slot=\"row\" children."
8075
+ "default": "null"
7864
8076
  },
7865
8077
  {
7866
8078
  "kind": "field",
7867
- "name": "filterRenderer",
8079
+ "name": "inputLabel",
7868
8080
  "privacy": "public",
7869
8081
  "type": {
7870
- "text": "((args: DatatableFilterSlotArgs) => unknown) | null | undefined"
7871
- },
7872
- "description": "Renders the filter slot, called per use; wins over slot=\"filter\" children."
7873
- },
7874
- {
7875
- "kind": "field",
7876
- "name": "#children",
7877
- "privacy": "private",
7878
- "readonly": true,
7879
- "default": "new LightChildren(this)"
7880
- },
7881
- {
7882
- "kind": "field",
7883
- "name": "#core",
7884
- "privacy": "private",
7885
- "readonly": true,
7886
- "default": "new CoreController(this, datatableCore, { idPrefix: 'mp-datatable', inputs: () => ({ columns: this.columns, data: this.data, fetch: this.fetch, caption: this.caption, labels: this.labels, inputLabel: this.inputLabel, sortColumns: this.sortColumns, page: this.page, perPage: this.perPage, perPageOptions: this.perPageOptions, pagination: this.pagination, autoSort: this.autoSort, selectionMode: this.selectionMode, selectedIds: this.selectedIds, cutIds: this.cutIds, focusedRowKey: this.focusedRowKey, rowLabel: this.rowLabel, rowKey: this.rowKey, tree: this.tree, idKey: this.idKey, childCountKey: this.childCountKey, treeIndent: this.treeIndent, expandedIds: this.expandedIds, selectionStrategy: this.selectionStrategy, loading: this.loading, emptyMessage: this.emptyMessage, virtualScroll: this.virtualScroll, itemSize: this.itemSize, virtualBuffer: this.virtualBuffer, fill: this.fill, resizableColumns: this.resizableColumns, hrefFor: this.hrefFor, distincts: this.distincts }), hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datatable' }), models: ['sortColumns', 'page', 'perPage', 'selectedIds', 'expandedIds'] })"
7887
- },
7888
- {
7889
- "kind": "method",
7890
- "name": "reload",
7891
- "return": {
7892
- "type": {
7893
- "text": "ReturnType<DatatableMethods['reload']>"
7894
- }
7895
- },
7896
- "parameters": [
7897
- {
7898
- "name": "args",
7899
- "type": {
7900
- "text": "Parameters<DatatableMethods['reload']>"
7901
- }
7902
- }
7903
- ],
7904
- "description": "Re-query `fetch` for the current sort, page and page size; `{ resetPage: true }` also returns to page 1."
7905
- }
7906
- ],
7907
- "attributes": [
7908
- {
7909
- "name": "caption",
7910
- "type": {
7911
- "text": "DatatableInputs['caption']"
8082
+ "text": "DatatableInputs['inputLabel']"
7912
8083
  },
7913
8084
  "default": "null",
7914
- "fieldName": "caption"
8085
+ "attribute": "input-label"
7915
8086
  },
7916
8087
  {
7917
- "name": "input-label",
8088
+ "kind": "field",
8089
+ "name": "sortColumns",
8090
+ "privacy": "public",
7918
8091
  "type": {
7919
- "text": "DatatableInputs['inputLabel']"
8092
+ "text": "DatatableInputs['sortColumns']"
7920
8093
  },
7921
- "default": "null",
7922
- "fieldName": "inputLabel"
8094
+ "default": "[]"
7923
8095
  },
7924
8096
  {
8097
+ "kind": "field",
7925
8098
  "name": "page",
8099
+ "privacy": "public",
7926
8100
  "type": {
7927
8101
  "text": "DatatableInputs['page']"
7928
8102
  },
7929
8103
  "default": "1",
7930
- "fieldName": "page"
8104
+ "attribute": "page"
7931
8105
  },
7932
8106
  {
7933
- "name": "per-page",
8107
+ "kind": "field",
8108
+ "name": "perPage",
8109
+ "privacy": "public",
7934
8110
  "type": {
7935
8111
  "text": "DatatableInputs['perPage']"
7936
8112
  },
7937
8113
  "default": "20",
7938
- "fieldName": "perPage"
8114
+ "attribute": "per-page"
8115
+ },
8116
+ {
8117
+ "kind": "field",
8118
+ "name": "perPageOptions",
8119
+ "privacy": "public",
8120
+ "type": {
8121
+ "text": "DatatableInputs['perPageOptions']"
8122
+ },
8123
+ "default": "[10, 20, 50]"
7939
8124
  },
7940
8125
  {
8126
+ "kind": "field",
7941
8127
  "name": "pagination",
8128
+ "privacy": "public",
7942
8129
  "type": {
7943
8130
  "text": "DatatableInputs['pagination']"
7944
8131
  },
7945
8132
  "default": "false",
7946
- "fieldName": "pagination"
8133
+ "attribute": "pagination"
7947
8134
  },
7948
8135
  {
7949
- "name": "auto-sort",
8136
+ "kind": "field",
8137
+ "name": "autoSort",
8138
+ "privacy": "public",
7950
8139
  "type": {
7951
8140
  "text": "DatatableInputs['autoSort']"
7952
8141
  },
7953
8142
  "default": "true",
7954
- "fieldName": "autoSort"
8143
+ "attribute": "auto-sort"
7955
8144
  },
7956
8145
  {
7957
- "name": "selection-mode",
8146
+ "kind": "field",
8147
+ "name": "selectionMode",
8148
+ "privacy": "public",
7958
8149
  "type": {
7959
8150
  "text": "DatatableInputs['selectionMode']"
7960
8151
  },
7961
8152
  "default": "'none'",
7962
- "fieldName": "selectionMode"
8153
+ "attribute": "selection-mode",
8154
+ "reflects": true
7963
8155
  },
7964
8156
  {
7965
- "name": "focused-row-key",
8157
+ "kind": "field",
8158
+ "name": "selectedIds",
8159
+ "privacy": "public",
7966
8160
  "type": {
7967
- "text": "DatatableInputs['focusedRowKey']"
8161
+ "text": "DatatableInputs['selectedIds']"
7968
8162
  },
7969
- "default": "null",
7970
- "fieldName": "focusedRowKey"
8163
+ "default": "[]"
7971
8164
  },
7972
8165
  {
7973
- "name": "tree",
8166
+ "kind": "field",
8167
+ "name": "cutIds",
8168
+ "privacy": "public",
7974
8169
  "type": {
7975
- "text": "DatatableInputs['tree']"
8170
+ "text": "DatatableInputs['cutIds']"
7976
8171
  },
7977
- "default": "false",
7978
- "fieldName": "tree"
8172
+ "default": "[]"
7979
8173
  },
7980
8174
  {
7981
- "name": "child-count-key",
8175
+ "kind": "field",
8176
+ "name": "focusedRowKey",
8177
+ "privacy": "public",
7982
8178
  "type": {
7983
- "text": "DatatableInputs['childCountKey']"
8179
+ "text": "DatatableInputs['focusedRowKey']"
7984
8180
  },
7985
8181
  "default": "null",
7986
- "fieldName": "childCountKey"
8182
+ "attribute": "focused-row-key"
7987
8183
  },
7988
8184
  {
7989
- "name": "tree-indent",
8185
+ "kind": "field",
8186
+ "name": "rowLabel",
8187
+ "privacy": "public",
7990
8188
  "type": {
7991
- "text": "DatatableInputs['treeIndent']"
8189
+ "text": "DatatableInputs['rowLabel']"
7992
8190
  },
7993
- "default": "1.25",
7994
- "fieldName": "treeIndent"
8191
+ "default": "null"
7995
8192
  },
7996
8193
  {
7997
- "name": "selection-strategy",
8194
+ "kind": "field",
8195
+ "name": "rowKey",
8196
+ "privacy": "public",
7998
8197
  "type": {
7999
- "text": "DatatableInputs['selectionStrategy']"
8198
+ "text": "DatatableInputs['rowKey']"
8000
8199
  },
8001
- "default": "'flat'",
8002
- "fieldName": "selectionStrategy"
8200
+ "default": "null"
8003
8201
  },
8004
8202
  {
8005
- "name": "loading",
8203
+ "kind": "field",
8204
+ "name": "tree",
8205
+ "privacy": "public",
8006
8206
  "type": {
8007
- "text": "DatatableInputs['loading']"
8207
+ "text": "DatatableInputs['tree']"
8008
8208
  },
8009
8209
  "default": "false",
8010
- "fieldName": "loading"
8210
+ "attribute": "tree"
8011
8211
  },
8012
8212
  {
8013
- "name": "empty-message",
8213
+ "kind": "field",
8214
+ "name": "idKey",
8215
+ "privacy": "public",
8014
8216
  "type": {
8015
- "text": "DatatableInputs['emptyMessage']"
8217
+ "text": "DatatableInputs['idKey']"
8016
8218
  },
8017
- "default": "'No data'",
8018
- "fieldName": "emptyMessage"
8219
+ "default": "null"
8019
8220
  },
8020
8221
  {
8021
- "name": "virtual-scroll",
8222
+ "kind": "field",
8223
+ "name": "childCountKey",
8224
+ "privacy": "public",
8022
8225
  "type": {
8023
- "text": "DatatableInputs['virtualScroll']"
8226
+ "text": "DatatableInputs['childCountKey']"
8024
8227
  },
8025
- "default": "false",
8026
- "fieldName": "virtualScroll"
8228
+ "default": "null",
8229
+ "attribute": "child-count-key"
8027
8230
  },
8028
8231
  {
8029
- "name": "item-size",
8232
+ "kind": "field",
8233
+ "name": "treeIndent",
8234
+ "privacy": "public",
8030
8235
  "type": {
8031
- "text": "DatatableInputs['itemSize']"
8236
+ "text": "DatatableInputs['treeIndent']"
8032
8237
  },
8033
- "default": "40",
8034
- "fieldName": "itemSize"
8238
+ "default": "1.25",
8239
+ "attribute": "tree-indent"
8035
8240
  },
8036
8241
  {
8037
- "name": "virtual-buffer",
8242
+ "kind": "field",
8243
+ "name": "expandedIds",
8244
+ "privacy": "public",
8038
8245
  "type": {
8039
- "text": "DatatableInputs['virtualBuffer']"
8246
+ "text": "DatatableInputs['expandedIds']"
8040
8247
  },
8041
- "default": "10",
8042
- "fieldName": "virtualBuffer"
8248
+ "default": "[]"
8043
8249
  },
8044
8250
  {
8045
- "name": "fill",
8251
+ "kind": "field",
8252
+ "name": "selectionStrategy",
8253
+ "privacy": "public",
8046
8254
  "type": {
8047
- "text": "DatatableInputs['fill']"
8255
+ "text": "DatatableInputs['selectionStrategy']"
8048
8256
  },
8049
- "default": "false",
8050
- "fieldName": "fill"
8257
+ "default": "'flat'",
8258
+ "attribute": "selection-strategy"
8051
8259
  },
8052
- {
8053
- "name": "resizable-columns",
8054
- "type": {
8055
- "text": "DatatableInputs['resizableColumns']"
8056
- },
8057
- "default": "true",
8058
- "fieldName": "resizableColumns"
8059
- }
8060
- ],
8061
- "superclass": {
8062
- "name": "LitElement",
8063
- "package": "lit"
8064
- },
8065
- "tagName": "mp-datatable",
8066
- "customElement": true
8067
- }
8068
- ],
8069
- "exports": [
8070
- {
8071
- "kind": "js",
8072
- "name": "MpDatatable",
8073
- "declaration": {
8074
- "name": "MpDatatable",
8075
- "module": "datatable/src/generated/mp-datatable.generated.ts"
8076
- }
8077
- },
8078
- {
8079
- "kind": "custom-element-definition",
8080
- "name": "mp-datatable",
8081
- "declaration": {
8082
- "name": "MpDatatable",
8083
- "module": "datatable/src/generated/mp-datatable.generated.ts"
8084
- }
8085
- }
8086
- ]
8087
- },
8088
- {
8089
- "kind": "javascript-module",
8090
- "path": "datepicker/src/generated/datepicker.view.generated.ts",
8091
- "declarations": [
8092
- {
8093
- "kind": "function",
8094
- "name": "datepickerTemplate",
8095
- "return": {
8096
- "type": {
8097
- "text": "TemplateResult"
8098
- }
8099
- },
8100
- "parameters": [
8101
- {
8102
- "name": "{ view, slots = {} }",
8103
- "type": {
8104
- "text": "DatepickerTemplateProps"
8105
- }
8106
- }
8107
- ]
8108
- }
8109
- ],
8110
- "exports": [
8111
- {
8112
- "kind": "js",
8113
- "name": "datepickerTemplate",
8114
- "declaration": {
8115
- "name": "datepickerTemplate",
8116
- "module": "datepicker/src/generated/datepicker.view.generated.ts"
8117
- }
8118
- }
8119
- ]
8120
- },
8121
- {
8122
- "kind": "javascript-module",
8123
- "path": "datepicker/src/generated/index.ts",
8124
- "declarations": [],
8125
- "exports": [
8126
- {
8127
- "kind": "js",
8128
- "name": "MpDatepicker",
8129
- "declaration": {
8130
- "name": "MpDatepicker",
8131
- "module": "./mp-datepicker.generated"
8132
- }
8133
- }
8134
- ]
8135
- },
8136
- {
8137
- "kind": "javascript-module",
8138
- "path": "datepicker/src/generated/mp-datepicker.generated.ts",
8139
- "declarations": [
8140
- {
8141
- "kind": "class",
8142
- "description": "A date field with a month-grid popup (#437): the APG date picker dialog.\n\nWith JavaScript off it is a native date field that submits `name` as YYYY-MM-DD. Once\nhydrated the field becomes a readonly display, a button opens the grid in a native popover,\nand a hidden input carries the submitted value.",
8143
- "name": "MpDatepicker",
8144
- "members": [
8145
8260
  {
8146
8261
  "kind": "field",
8147
- "name": "selectedDate",
8262
+ "name": "loading",
8148
8263
  "privacy": "public",
8149
8264
  "type": {
8150
- "text": "DatepickerInputs['selectedDate']"
8265
+ "text": "DatatableInputs['loading']"
8151
8266
  },
8152
- "default": "null"
8267
+ "default": "false",
8268
+ "attribute": "loading"
8153
8269
  },
8154
8270
  {
8155
8271
  "kind": "field",
8156
- "name": "currentMonth",
8272
+ "name": "emptyMessage",
8157
8273
  "privacy": "public",
8158
8274
  "type": {
8159
- "text": "DatepickerInputs['currentMonth']"
8275
+ "text": "DatatableInputs['emptyMessage']"
8160
8276
  },
8161
- "default": "null"
8277
+ "default": "'No data'",
8278
+ "attribute": "empty-message"
8162
8279
  },
8163
8280
  {
8164
8281
  "kind": "field",
8165
- "name": "min",
8282
+ "name": "virtualScroll",
8166
8283
  "privacy": "public",
8167
8284
  "type": {
8168
- "text": "DatepickerInputs['min']"
8285
+ "text": "DatatableInputs['virtualScroll']"
8169
8286
  },
8170
- "default": "null"
8287
+ "default": "false",
8288
+ "attribute": "virtual-scroll"
8171
8289
  },
8172
8290
  {
8173
8291
  "kind": "field",
8174
- "name": "max",
8292
+ "name": "itemSize",
8175
8293
  "privacy": "public",
8176
8294
  "type": {
8177
- "text": "DatepickerInputs['max']"
8295
+ "text": "DatatableInputs['itemSize']"
8178
8296
  },
8179
- "default": "null"
8297
+ "default": "40",
8298
+ "attribute": "item-size"
8180
8299
  },
8181
8300
  {
8182
8301
  "kind": "field",
8183
- "name": "disableDateFn",
8302
+ "name": "virtualBuffer",
8184
8303
  "privacy": "public",
8185
8304
  "type": {
8186
- "text": "DatepickerInputs['disableDateFn']"
8305
+ "text": "DatatableInputs['virtualBuffer']"
8187
8306
  },
8188
- "default": "null"
8307
+ "default": "10",
8308
+ "attribute": "virtual-buffer"
8189
8309
  },
8190
8310
  {
8191
8311
  "kind": "field",
8192
- "name": "firstDayOfWeek",
8312
+ "name": "fill",
8193
8313
  "privacy": "public",
8194
8314
  "type": {
8195
- "text": "DatepickerInputs['firstDayOfWeek']"
8315
+ "text": "DatatableInputs['fill']"
8196
8316
  },
8197
- "default": "1",
8198
- "attribute": "first-day-of-week"
8317
+ "default": "false",
8318
+ "attribute": "fill",
8319
+ "reflects": true
8199
8320
  },
8200
8321
  {
8201
8322
  "kind": "field",
8202
- "name": "locale",
8323
+ "name": "resizableColumns",
8203
8324
  "privacy": "public",
8204
8325
  "type": {
8205
- "text": "DatepickerInputs['locale']"
8326
+ "text": "DatatableInputs['resizableColumns']"
8206
8327
  },
8207
- "default": "null",
8208
- "attribute": "locale"
8328
+ "default": "true",
8329
+ "attribute": "resizable-columns"
8209
8330
  },
8210
8331
  {
8211
8332
  "kind": "field",
8212
- "name": "disabled",
8333
+ "name": "hrefFor",
8213
8334
  "privacy": "public",
8214
8335
  "type": {
8215
- "text": "DatepickerInputs['disabled']"
8336
+ "text": "DatatableInputs['hrefFor']"
8216
8337
  },
8217
- "default": "false",
8218
- "attribute": "disabled",
8219
- "reflects": true
8338
+ "default": "null"
8220
8339
  },
8221
8340
  {
8222
8341
  "kind": "field",
8223
- "name": "placeholder",
8342
+ "name": "distincts",
8224
8343
  "privacy": "public",
8225
8344
  "type": {
8226
- "text": "DatepickerInputs['placeholder']"
8345
+ "text": "DatatableInputs['distincts']"
8227
8346
  },
8228
- "default": "null",
8229
- "attribute": "placeholder"
8347
+ "default": "null"
8230
8348
  },
8231
8349
  {
8232
8350
  "kind": "field",
8233
- "name": "required",
8351
+ "name": "filters",
8234
8352
  "privacy": "public",
8235
8353
  "type": {
8236
- "text": "DatepickerInputs['required']"
8354
+ "text": "DatatableInputs['filters']"
8237
8355
  },
8238
- "default": "false",
8239
- "attribute": "required"
8356
+ "default": "{}"
8240
8357
  },
8241
8358
  {
8242
8359
  "kind": "field",
8243
- "name": "invalid",
8360
+ "name": "fetchParams",
8244
8361
  "privacy": "public",
8245
8362
  "type": {
8246
- "text": "DatepickerInputs['invalid']"
8363
+ "text": "DatatableInputs['fetchParams']"
8247
8364
  },
8248
- "default": "false",
8249
- "attribute": "invalid",
8250
- "reflects": true
8365
+ "default": "null"
8251
8366
  },
8252
8367
  {
8253
8368
  "kind": "field",
8254
- "name": "errorText",
8369
+ "name": "stateKey",
8255
8370
  "privacy": "public",
8256
8371
  "type": {
8257
- "text": "DatepickerInputs['errorText']"
8372
+ "text": "DatatableInputs['stateKey']"
8258
8373
  },
8259
8374
  "default": "null",
8260
- "attribute": "error-text"
8375
+ "attribute": "state-key"
8261
8376
  },
8262
8377
  {
8263
8378
  "kind": "field",
8264
- "name": "inputLabel",
8379
+ "name": "headerRenderer",
8265
8380
  "privacy": "public",
8266
8381
  "type": {
8267
- "text": "DatepickerInputs['inputLabel']"
8382
+ "text": "((args: DatatableHeaderSlotArgs) => unknown) | null | undefined"
8268
8383
  },
8269
- "default": "null",
8270
- "attribute": "input-label"
8384
+ "description": "Renders the header slot, called per use; wins over slot=\"header\" children."
8271
8385
  },
8272
8386
  {
8273
8387
  "kind": "field",
8274
- "name": "name",
8388
+ "name": "cellRenderer",
8275
8389
  "privacy": "public",
8276
8390
  "type": {
8277
- "text": "DatepickerInputs['name']"
8391
+ "text": "((args: DatatableCellSlotArgs) => unknown) | null | undefined"
8278
8392
  },
8279
- "default": "null",
8280
- "attribute": "name"
8393
+ "description": "Renders the cell slot, called per use; wins over slot=\"cell\" children."
8281
8394
  },
8282
8395
  {
8283
8396
  "kind": "field",
8284
- "name": "labels",
8397
+ "name": "rowRenderer",
8285
8398
  "privacy": "public",
8286
8399
  "type": {
8287
- "text": "DatepickerInputs['labels']"
8400
+ "text": "((args: DatatableRowSlotArgs) => unknown) | null | undefined"
8288
8401
  },
8289
- "default": "null"
8402
+ "description": "Renders the row slot, called per use; wins over slot=\"row\" children."
8290
8403
  },
8291
8404
  {
8292
8405
  "kind": "field",
8293
- "name": "calendarLabels",
8406
+ "name": "filterRenderer",
8294
8407
  "privacy": "public",
8295
8408
  "type": {
8296
- "text": "DatepickerInputs['calendarLabels']"
8409
+ "text": "((args: DatatableFilterSlotArgs) => unknown) | null | undefined"
8297
8410
  },
8298
- "default": "null"
8411
+ "description": "Renders the filter slot, called per use; wins over slot=\"filter\" children."
8299
8412
  },
8300
8413
  {
8301
8414
  "kind": "field",
8302
- "name": "#core",
8415
+ "name": "#children",
8303
8416
  "privacy": "private",
8304
8417
  "readonly": true,
8305
- "default": "new CoreController(this, datepickerCore, { idPrefix: 'mp-datepicker', inputs: () => ({ selectedDate: this.selectedDate, currentMonth: this.currentMonth, min: this.min, max: this.max, disableDateFn: this.disableDateFn, firstDayOfWeek: this.firstDayOfWeek, locale: this.locale, disabled: this.disabled, placeholder: this.placeholder, required: this.required, invalid: this.invalid, errorText: this.errorText, inputLabel: this.inputLabel, name: this.name, labels: this.labels, calendarLabels: this.calendarLabels }), hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datepicker' }), models: ['selectedDate', 'currentMonth'] })"
8418
+ "default": "new LightChildren(this)"
8306
8419
  },
8307
8420
  {
8308
- "kind": "method",
8309
- "name": "open",
8310
- "return": {
8311
- "type": {
8312
- "text": "ReturnType<DatepickerMethods['open']>"
8313
- }
8314
- },
8315
- "parameters": [
8316
- {
8317
- "name": "args",
8318
- "type": {
8319
- "text": "Parameters<DatepickerMethods['open']>"
8320
- }
8321
- }
8322
- ],
8323
- "description": "Open the grid (ignored when disabled)."
8421
+ "kind": "field",
8422
+ "name": "#core",
8423
+ "privacy": "private",
8424
+ "readonly": true,
8425
+ "default": "new CoreController(this, datatableCore, { idPrefix: 'mp-datatable', inputs: () => ({ columns: this.columns, data: this.data, fetch: this.fetch, caption: this.caption, labels: this.labels, inputLabel: this.inputLabel, sortColumns: this.sortColumns, page: this.page, perPage: this.perPage, perPageOptions: this.perPageOptions, pagination: this.pagination, autoSort: this.autoSort, selectionMode: this.selectionMode, selectedIds: this.selectedIds, cutIds: this.cutIds, focusedRowKey: this.focusedRowKey, rowLabel: this.rowLabel, rowKey: this.rowKey, tree: this.tree, idKey: this.idKey, childCountKey: this.childCountKey, treeIndent: this.treeIndent, expandedIds: this.expandedIds, selectionStrategy: this.selectionStrategy, loading: this.loading, emptyMessage: this.emptyMessage, virtualScroll: this.virtualScroll, itemSize: this.itemSize, virtualBuffer: this.virtualBuffer, fill: this.fill, resizableColumns: this.resizableColumns, hrefFor: this.hrefFor, distincts: this.distincts, filters: this.filters, fetchParams: this.fetchParams, stateKey: this.stateKey }), hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datatable' }), models: ['sortColumns', 'page', 'perPage', 'selectedIds', 'expandedIds', 'filters'] })"
8324
8426
  },
8325
8427
  {
8326
8428
  "kind": "method",
8327
- "name": "close",
8429
+ "name": "reload",
8328
8430
  "return": {
8329
8431
  "type": {
8330
- "text": "ReturnType<DatepickerMethods['close']>"
8432
+ "text": "ReturnType<DatatableMethods['reload']>"
8331
8433
  }
8332
8434
  },
8333
8435
  "parameters": [
8334
8436
  {
8335
8437
  "name": "args",
8336
8438
  "type": {
8337
- "text": "Parameters<DatepickerMethods['close']>"
8439
+ "text": "Parameters<DatatableMethods['reload']>"
8338
8440
  }
8339
8441
  }
8340
8442
  ],
8341
- "description": "Close the grid."
8443
+ "description": "Re-query `fetch` for the current sort, page and page size; `{ resetPage: true }` also returns to page 1."
8342
8444
  }
8343
8445
  ],
8344
8446
  "attributes": [
8345
8447
  {
8346
- "name": "first-day-of-week",
8448
+ "name": "caption",
8347
8449
  "type": {
8348
- "text": "DatepickerInputs['firstDayOfWeek']"
8450
+ "text": "DatatableInputs['caption']"
8451
+ },
8452
+ "default": "null",
8453
+ "fieldName": "caption"
8454
+ },
8455
+ {
8456
+ "name": "input-label",
8457
+ "type": {
8458
+ "text": "DatatableInputs['inputLabel']"
8459
+ },
8460
+ "default": "null",
8461
+ "fieldName": "inputLabel"
8462
+ },
8463
+ {
8464
+ "name": "page",
8465
+ "type": {
8466
+ "text": "DatatableInputs['page']"
8349
8467
  },
8350
8468
  "default": "1",
8351
- "fieldName": "firstDayOfWeek"
8469
+ "fieldName": "page"
8352
8470
  },
8353
8471
  {
8354
- "name": "locale",
8472
+ "name": "per-page",
8355
8473
  "type": {
8356
- "text": "DatepickerInputs['locale']"
8474
+ "text": "DatatableInputs['perPage']"
8475
+ },
8476
+ "default": "20",
8477
+ "fieldName": "perPage"
8478
+ },
8479
+ {
8480
+ "name": "pagination",
8481
+ "type": {
8482
+ "text": "DatatableInputs['pagination']"
8483
+ },
8484
+ "default": "false",
8485
+ "fieldName": "pagination"
8486
+ },
8487
+ {
8488
+ "name": "auto-sort",
8489
+ "type": {
8490
+ "text": "DatatableInputs['autoSort']"
8491
+ },
8492
+ "default": "true",
8493
+ "fieldName": "autoSort"
8494
+ },
8495
+ {
8496
+ "name": "selection-mode",
8497
+ "type": {
8498
+ "text": "DatatableInputs['selectionMode']"
8499
+ },
8500
+ "default": "'none'",
8501
+ "fieldName": "selectionMode"
8502
+ },
8503
+ {
8504
+ "name": "focused-row-key",
8505
+ "type": {
8506
+ "text": "DatatableInputs['focusedRowKey']"
8357
8507
  },
8358
8508
  "default": "null",
8359
- "fieldName": "locale"
8509
+ "fieldName": "focusedRowKey"
8360
8510
  },
8361
8511
  {
8362
- "name": "disabled",
8512
+ "name": "tree",
8363
8513
  "type": {
8364
- "text": "DatepickerInputs['disabled']"
8514
+ "text": "DatatableInputs['tree']"
8365
8515
  },
8366
8516
  "default": "false",
8367
- "fieldName": "disabled"
8517
+ "fieldName": "tree"
8368
8518
  },
8369
8519
  {
8370
- "name": "placeholder",
8520
+ "name": "child-count-key",
8371
8521
  "type": {
8372
- "text": "DatepickerInputs['placeholder']"
8522
+ "text": "DatatableInputs['childCountKey']"
8373
8523
  },
8374
8524
  "default": "null",
8375
- "fieldName": "placeholder"
8525
+ "fieldName": "childCountKey"
8376
8526
  },
8377
8527
  {
8378
- "name": "required",
8528
+ "name": "tree-indent",
8379
8529
  "type": {
8380
- "text": "DatepickerInputs['required']"
8530
+ "text": "DatatableInputs['treeIndent']"
8531
+ },
8532
+ "default": "1.25",
8533
+ "fieldName": "treeIndent"
8534
+ },
8535
+ {
8536
+ "name": "selection-strategy",
8537
+ "type": {
8538
+ "text": "DatatableInputs['selectionStrategy']"
8539
+ },
8540
+ "default": "'flat'",
8541
+ "fieldName": "selectionStrategy"
8542
+ },
8543
+ {
8544
+ "name": "loading",
8545
+ "type": {
8546
+ "text": "DatatableInputs['loading']"
8381
8547
  },
8382
8548
  "default": "false",
8383
- "fieldName": "required"
8549
+ "fieldName": "loading"
8384
8550
  },
8385
8551
  {
8386
- "name": "invalid",
8552
+ "name": "empty-message",
8387
8553
  "type": {
8388
- "text": "DatepickerInputs['invalid']"
8554
+ "text": "DatatableInputs['emptyMessage']"
8555
+ },
8556
+ "default": "'No data'",
8557
+ "fieldName": "emptyMessage"
8558
+ },
8559
+ {
8560
+ "name": "virtual-scroll",
8561
+ "type": {
8562
+ "text": "DatatableInputs['virtualScroll']"
8389
8563
  },
8390
8564
  "default": "false",
8391
- "fieldName": "invalid"
8565
+ "fieldName": "virtualScroll"
8392
8566
  },
8393
8567
  {
8394
- "name": "error-text",
8568
+ "name": "item-size",
8395
8569
  "type": {
8396
- "text": "DatepickerInputs['errorText']"
8570
+ "text": "DatatableInputs['itemSize']"
8397
8571
  },
8398
- "default": "null",
8399
- "fieldName": "errorText"
8572
+ "default": "40",
8573
+ "fieldName": "itemSize"
8400
8574
  },
8401
8575
  {
8402
- "name": "input-label",
8576
+ "name": "virtual-buffer",
8403
8577
  "type": {
8404
- "text": "DatepickerInputs['inputLabel']"
8578
+ "text": "DatatableInputs['virtualBuffer']"
8405
8579
  },
8406
- "default": "null",
8407
- "fieldName": "inputLabel"
8580
+ "default": "10",
8581
+ "fieldName": "virtualBuffer"
8582
+ },
8583
+ {
8584
+ "name": "fill",
8585
+ "type": {
8586
+ "text": "DatatableInputs['fill']"
8587
+ },
8588
+ "default": "false",
8589
+ "fieldName": "fill"
8590
+ },
8591
+ {
8592
+ "name": "resizable-columns",
8593
+ "type": {
8594
+ "text": "DatatableInputs['resizableColumns']"
8595
+ },
8596
+ "default": "true",
8597
+ "fieldName": "resizableColumns"
8408
8598
  },
8409
8599
  {
8410
- "name": "name",
8600
+ "name": "state-key",
8411
8601
  "type": {
8412
- "text": "DatepickerInputs['name']"
8602
+ "text": "DatatableInputs['stateKey']"
8413
8603
  },
8414
8604
  "default": "null",
8415
- "fieldName": "name"
8605
+ "fieldName": "stateKey"
8416
8606
  }
8417
8607
  ],
8418
8608
  "superclass": {
8419
8609
  "name": "LitElement",
8420
8610
  "package": "lit"
8421
8611
  },
8422
- "tagName": "mp-datepicker",
8612
+ "tagName": "mp-datatable",
8423
8613
  "customElement": true
8424
8614
  }
8425
8615
  ],
8426
8616
  "exports": [
8427
8617
  {
8428
8618
  "kind": "js",
8429
- "name": "MpDatepicker",
8619
+ "name": "MpDatatable",
8430
8620
  "declaration": {
8431
- "name": "MpDatepicker",
8432
- "module": "datepicker/src/generated/mp-datepicker.generated.ts"
8621
+ "name": "MpDatatable",
8622
+ "module": "datatable/src/generated/mp-datatable.generated.ts"
8433
8623
  }
8434
8624
  },
8435
8625
  {
8436
8626
  "kind": "custom-element-definition",
8437
- "name": "mp-datepicker",
8627
+ "name": "mp-datatable",
8438
8628
  "declaration": {
8439
- "name": "MpDatepicker",
8440
- "module": "datepicker/src/generated/mp-datepicker.generated.ts"
8629
+ "name": "MpDatatable",
8630
+ "module": "datatable/src/generated/mp-datatable.generated.ts"
8441
8631
  }
8442
8632
  }
8443
8633
  ]
@@ -9127,6 +9317,24 @@
9127
9317
  "text": "(() => void) | null"
9128
9318
  },
9129
9319
  "default": "null"
9320
+ },
9321
+ {
9322
+ "kind": "field",
9323
+ "name": "#items",
9324
+ "privacy": "private",
9325
+ "readonly": true,
9326
+ "default": "new MutationObserver(() => this.#stampItems())"
9327
+ },
9328
+ {
9329
+ "kind": "method",
9330
+ "name": "#stampItems",
9331
+ "privacy": "private",
9332
+ "return": {
9333
+ "type": {
9334
+ "text": "void"
9335
+ }
9336
+ },
9337
+ "description": "The items are the element's own parts, so it stamps them with its scope:\nthe dropdown part (`.dropdown-item:where([data-mps])`) matches only DOM a\ncomponent stamped (#452). Only the item rows themselves, never what a\nconsumer puts inside them."
9130
9338
  }
9131
9339
  ],
9132
9340
  "events": [
@@ -9748,68 +9956,322 @@
9748
9956
  {
9749
9957
  "name": "orientation",
9750
9958
  "type": {
9751
- "text": "MultiRangeInputs['orientation']"
9959
+ "text": "MultiRangeInputs['orientation']"
9960
+ },
9961
+ "default": "'horizontal'",
9962
+ "fieldName": "orientation"
9963
+ },
9964
+ {
9965
+ "name": "disabled",
9966
+ "type": {
9967
+ "text": "MultiRangeInputs['disabled']"
9968
+ },
9969
+ "default": "false",
9970
+ "fieldName": "disabled"
9971
+ },
9972
+ {
9973
+ "name": "name",
9974
+ "type": {
9975
+ "text": "MultiRangeInputs['name']"
9976
+ },
9977
+ "fieldName": "name"
9978
+ },
9979
+ {
9980
+ "name": "label",
9981
+ "type": {
9982
+ "text": "MultiRangeInputs['label']"
9983
+ },
9984
+ "fieldName": "label"
9985
+ }
9986
+ ],
9987
+ "superclass": {
9988
+ "name": "LitElement",
9989
+ "package": "lit"
9990
+ },
9991
+ "tagName": "mp-multi-range",
9992
+ "customElement": true
9993
+ }
9994
+ ],
9995
+ "exports": [
9996
+ {
9997
+ "kind": "js",
9998
+ "name": "MpMultiRange",
9999
+ "declaration": {
10000
+ "name": "MpMultiRange",
10001
+ "module": "multi-range/src/generated/mp-multi-range.generated.ts"
10002
+ }
10003
+ },
10004
+ {
10005
+ "kind": "custom-element-definition",
10006
+ "name": "mp-multi-range",
10007
+ "declaration": {
10008
+ "name": "MpMultiRange",
10009
+ "module": "multi-range/src/generated/mp-multi-range.generated.ts"
10010
+ }
10011
+ }
10012
+ ]
10013
+ },
10014
+ {
10015
+ "kind": "javascript-module",
10016
+ "path": "multi-range/src/generated/multi-range.view.generated.ts",
10017
+ "declarations": [
10018
+ {
10019
+ "kind": "function",
10020
+ "name": "multiRangeTemplate",
10021
+ "return": {
10022
+ "type": {
10023
+ "text": "TemplateResult"
10024
+ }
10025
+ },
10026
+ "parameters": [
10027
+ {
10028
+ "name": "{ view, slots = {} }",
10029
+ "type": {
10030
+ "text": "MultiRangeTemplateProps"
10031
+ }
10032
+ }
10033
+ ]
10034
+ }
10035
+ ],
10036
+ "exports": [
10037
+ {
10038
+ "kind": "js",
10039
+ "name": "multiRangeTemplate",
10040
+ "declaration": {
10041
+ "name": "multiRangeTemplate",
10042
+ "module": "multi-range/src/generated/multi-range.view.generated.ts"
10043
+ }
10044
+ }
10045
+ ]
10046
+ },
10047
+ {
10048
+ "kind": "javascript-module",
10049
+ "path": "nav/src/generated/index.ts",
10050
+ "declarations": [],
10051
+ "exports": [
10052
+ {
10053
+ "kind": "js",
10054
+ "name": "MpNav",
10055
+ "declaration": {
10056
+ "name": "MpNav",
10057
+ "module": "./mp-nav.generated"
10058
+ }
10059
+ },
10060
+ {
10061
+ "kind": "js",
10062
+ "name": "MpNavItem",
10063
+ "declaration": {
10064
+ "name": "MpNavItem",
10065
+ "module": "./mp-nav-item.generated"
10066
+ }
10067
+ }
10068
+ ]
10069
+ },
10070
+ {
10071
+ "kind": "javascript-module",
10072
+ "path": "nav/src/generated/mp-nav-item.generated.ts",
10073
+ "declarations": [
10074
+ {
10075
+ "kind": "class",
10076
+ "description": "One nav entry around a consumer link, which becomes its `.nav-link`; `class=\"active\"` marks the current one.",
10077
+ "name": "MpNavItem",
10078
+ "members": [
10079
+ {
10080
+ "kind": "field",
10081
+ "name": "defaultRenderer",
10082
+ "privacy": "public",
10083
+ "type": {
10084
+ "text": "(() => unknown) | null | undefined"
10085
+ },
10086
+ "description": "Renders the default slot; wins over slot=\"default\" children."
10087
+ },
10088
+ {
10089
+ "kind": "field",
10090
+ "name": "#children",
10091
+ "privacy": "private",
10092
+ "readonly": true,
10093
+ "default": "new LightChildren(this)"
10094
+ },
10095
+ {
10096
+ "kind": "field",
10097
+ "name": "#core",
10098
+ "privacy": "private",
10099
+ "readonly": true,
10100
+ "default": "new CoreController(this, navItemCore, { idPrefix: 'mp-nav-item', inputs: () => ({ }), hostBag: (props) => ({ ...props.root, 'data-mps': 'nav', role: 'listitem' }) })"
10101
+ }
10102
+ ],
10103
+ "superclass": {
10104
+ "name": "LitElement",
10105
+ "package": "lit"
10106
+ },
10107
+ "tagName": "mp-nav-item",
10108
+ "customElement": true
10109
+ }
10110
+ ],
10111
+ "exports": [
10112
+ {
10113
+ "kind": "js",
10114
+ "name": "MpNavItem",
10115
+ "declaration": {
10116
+ "name": "MpNavItem",
10117
+ "module": "nav/src/generated/mp-nav-item.generated.ts"
10118
+ }
10119
+ },
10120
+ {
10121
+ "kind": "custom-element-definition",
10122
+ "name": "mp-nav-item",
10123
+ "declaration": {
10124
+ "name": "MpNavItem",
10125
+ "module": "nav/src/generated/mp-nav-item.generated.ts"
10126
+ }
10127
+ }
10128
+ ]
10129
+ },
10130
+ {
10131
+ "kind": "javascript-module",
10132
+ "path": "nav/src/generated/mp-nav.generated.ts",
10133
+ "declarations": [
10134
+ {
10135
+ "kind": "class",
10136
+ "description": "Bootstrap's nav: a list of `bs-nav-item`s, plain or as tabs, pills or underline (#452).\n\nIt ships the nav part, so a page that renders one needs no install of its own.",
10137
+ "name": "MpNav",
10138
+ "members": [
10139
+ {
10140
+ "kind": "field",
10141
+ "name": "variant",
10142
+ "privacy": "public",
10143
+ "type": {
10144
+ "text": "NavInputs['variant']"
10145
+ },
10146
+ "default": "null",
10147
+ "attribute": "variant",
10148
+ "reflects": true
10149
+ },
10150
+ {
10151
+ "kind": "field",
10152
+ "name": "fill",
10153
+ "privacy": "public",
10154
+ "type": {
10155
+ "text": "NavInputs['fill']"
10156
+ },
10157
+ "default": "false",
10158
+ "attribute": "fill",
10159
+ "reflects": true
10160
+ },
10161
+ {
10162
+ "kind": "field",
10163
+ "name": "justified",
10164
+ "privacy": "public",
10165
+ "type": {
10166
+ "text": "NavInputs['justified']"
10167
+ },
10168
+ "default": "false",
10169
+ "attribute": "justified",
10170
+ "reflects": true
10171
+ },
10172
+ {
10173
+ "kind": "field",
10174
+ "name": "cardHeader",
10175
+ "privacy": "public",
10176
+ "type": {
10177
+ "text": "NavInputs['cardHeader']"
10178
+ },
10179
+ "default": "false",
10180
+ "attribute": "card-header",
10181
+ "reflects": true
10182
+ },
10183
+ {
10184
+ "kind": "field",
10185
+ "name": "defaultRenderer",
10186
+ "privacy": "public",
10187
+ "type": {
10188
+ "text": "(() => unknown) | null | undefined"
10189
+ },
10190
+ "description": "Renders the default slot; wins over slot=\"default\" children."
10191
+ },
10192
+ {
10193
+ "kind": "field",
10194
+ "name": "#children",
10195
+ "privacy": "private",
10196
+ "readonly": true,
10197
+ "default": "new LightChildren(this)"
10198
+ },
10199
+ {
10200
+ "kind": "field",
10201
+ "name": "#core",
10202
+ "privacy": "private",
10203
+ "readonly": true,
10204
+ "default": "new CoreController(this, navCore, { idPrefix: 'mp-nav', inputs: () => ({ variant: this.variant, fill: this.fill, justified: this.justified, cardHeader: this.cardHeader }), hostBag: (props) => ({ ...props.root, 'data-mps': 'nav', role: 'list' }) })"
10205
+ }
10206
+ ],
10207
+ "attributes": [
10208
+ {
10209
+ "name": "variant",
10210
+ "type": {
10211
+ "text": "NavInputs['variant']"
9752
10212
  },
9753
- "default": "'horizontal'",
9754
- "fieldName": "orientation"
10213
+ "default": "null",
10214
+ "fieldName": "variant"
9755
10215
  },
9756
10216
  {
9757
- "name": "disabled",
10217
+ "name": "fill",
9758
10218
  "type": {
9759
- "text": "MultiRangeInputs['disabled']"
10219
+ "text": "NavInputs['fill']"
9760
10220
  },
9761
10221
  "default": "false",
9762
- "fieldName": "disabled"
10222
+ "fieldName": "fill"
9763
10223
  },
9764
10224
  {
9765
- "name": "name",
10225
+ "name": "justified",
9766
10226
  "type": {
9767
- "text": "MultiRangeInputs['name']"
10227
+ "text": "NavInputs['justified']"
9768
10228
  },
9769
- "fieldName": "name"
10229
+ "default": "false",
10230
+ "fieldName": "justified"
9770
10231
  },
9771
10232
  {
9772
- "name": "label",
10233
+ "name": "card-header",
9773
10234
  "type": {
9774
- "text": "MultiRangeInputs['label']"
10235
+ "text": "NavInputs['cardHeader']"
9775
10236
  },
9776
- "fieldName": "label"
10237
+ "default": "false",
10238
+ "fieldName": "cardHeader"
9777
10239
  }
9778
10240
  ],
9779
10241
  "superclass": {
9780
10242
  "name": "LitElement",
9781
10243
  "package": "lit"
9782
10244
  },
9783
- "tagName": "mp-multi-range",
10245
+ "tagName": "mp-nav",
9784
10246
  "customElement": true
9785
10247
  }
9786
10248
  ],
9787
10249
  "exports": [
9788
10250
  {
9789
10251
  "kind": "js",
9790
- "name": "MpMultiRange",
10252
+ "name": "MpNav",
9791
10253
  "declaration": {
9792
- "name": "MpMultiRange",
9793
- "module": "multi-range/src/generated/mp-multi-range.generated.ts"
10254
+ "name": "MpNav",
10255
+ "module": "nav/src/generated/mp-nav.generated.ts"
9794
10256
  }
9795
10257
  },
9796
10258
  {
9797
10259
  "kind": "custom-element-definition",
9798
- "name": "mp-multi-range",
10260
+ "name": "mp-nav",
9799
10261
  "declaration": {
9800
- "name": "MpMultiRange",
9801
- "module": "multi-range/src/generated/mp-multi-range.generated.ts"
10262
+ "name": "MpNav",
10263
+ "module": "nav/src/generated/mp-nav.generated.ts"
9802
10264
  }
9803
10265
  }
9804
10266
  ]
9805
10267
  },
9806
10268
  {
9807
10269
  "kind": "javascript-module",
9808
- "path": "multi-range/src/generated/multi-range.view.generated.ts",
10270
+ "path": "nav/src/generated/nav-item.view.generated.ts",
9809
10271
  "declarations": [
9810
10272
  {
9811
10273
  "kind": "function",
9812
- "name": "multiRangeTemplate",
10274
+ "name": "navItemTemplate",
9813
10275
  "return": {
9814
10276
  "type": {
9815
10277
  "text": "TemplateResult"
@@ -9817,9 +10279,9 @@
9817
10279
  },
9818
10280
  "parameters": [
9819
10281
  {
9820
- "name": "{ view, slots = {} }",
10282
+ "name": "{ root, slots = {} }",
9821
10283
  "type": {
9822
- "text": "MultiRangeTemplateProps"
10284
+ "text": "NavItemTemplateProps"
9823
10285
  }
9824
10286
  }
9825
10287
  ]
@@ -9828,10 +10290,43 @@
9828
10290
  "exports": [
9829
10291
  {
9830
10292
  "kind": "js",
9831
- "name": "multiRangeTemplate",
10293
+ "name": "navItemTemplate",
9832
10294
  "declaration": {
9833
- "name": "multiRangeTemplate",
9834
- "module": "multi-range/src/generated/multi-range.view.generated.ts"
10295
+ "name": "navItemTemplate",
10296
+ "module": "nav/src/generated/nav-item.view.generated.ts"
10297
+ }
10298
+ }
10299
+ ]
10300
+ },
10301
+ {
10302
+ "kind": "javascript-module",
10303
+ "path": "nav/src/generated/nav.view.generated.ts",
10304
+ "declarations": [
10305
+ {
10306
+ "kind": "function",
10307
+ "name": "navTemplate",
10308
+ "return": {
10309
+ "type": {
10310
+ "text": "TemplateResult"
10311
+ }
10312
+ },
10313
+ "parameters": [
10314
+ {
10315
+ "name": "{ root, slots = {} }",
10316
+ "type": {
10317
+ "text": "NavTemplateProps"
10318
+ }
10319
+ }
10320
+ ]
10321
+ }
10322
+ ],
10323
+ "exports": [
10324
+ {
10325
+ "kind": "js",
10326
+ "name": "navTemplate",
10327
+ "declaration": {
10328
+ "name": "navTemplate",
10329
+ "module": "nav/src/generated/nav.view.generated.ts"
9835
10330
  }
9836
10331
  }
9837
10332
  ]
@@ -17680,6 +18175,175 @@
17680
18175
  }
17681
18176
  ]
17682
18177
  },
18178
+ {
18179
+ "kind": "javascript-module",
18180
+ "path": "spinner/src/generated/index.ts",
18181
+ "declarations": [],
18182
+ "exports": [
18183
+ {
18184
+ "kind": "js",
18185
+ "name": "MpSpinner",
18186
+ "declaration": {
18187
+ "name": "MpSpinner",
18188
+ "module": "./mp-spinner.generated"
18189
+ }
18190
+ }
18191
+ ]
18192
+ },
18193
+ {
18194
+ "kind": "javascript-module",
18195
+ "path": "spinner/src/generated/mp-spinner.generated.ts",
18196
+ "declarations": [
18197
+ {
18198
+ "kind": "class",
18199
+ "description": "Bootstrap's spinner: a `role=\"status\"` loading indicator whose visually hidden `label` a screen reader announces (#452).",
18200
+ "name": "MpSpinner",
18201
+ "members": [
18202
+ {
18203
+ "kind": "field",
18204
+ "name": "type",
18205
+ "privacy": "public",
18206
+ "type": {
18207
+ "text": "SpinnerInputs['type']"
18208
+ },
18209
+ "default": "'border'",
18210
+ "attribute": "type",
18211
+ "reflects": true
18212
+ },
18213
+ {
18214
+ "kind": "field",
18215
+ "name": "color",
18216
+ "privacy": "public",
18217
+ "type": {
18218
+ "text": "SpinnerInputs['color']"
18219
+ },
18220
+ "default": "null",
18221
+ "attribute": "color",
18222
+ "reflects": true
18223
+ },
18224
+ {
18225
+ "kind": "field",
18226
+ "name": "small",
18227
+ "privacy": "public",
18228
+ "type": {
18229
+ "text": "SpinnerInputs['small']"
18230
+ },
18231
+ "default": "false",
18232
+ "attribute": "small",
18233
+ "reflects": true
18234
+ },
18235
+ {
18236
+ "kind": "field",
18237
+ "name": "label",
18238
+ "privacy": "public",
18239
+ "type": {
18240
+ "text": "SpinnerInputs['label']"
18241
+ },
18242
+ "default": "'Loading…'",
18243
+ "attribute": "label"
18244
+ },
18245
+ {
18246
+ "kind": "field",
18247
+ "name": "#core",
18248
+ "privacy": "private",
18249
+ "readonly": true,
18250
+ "default": "new CoreController(this, spinnerCore, { idPrefix: 'mp-spinner', inputs: () => ({ type: this.type, color: this.color, small: this.small, label: this.label }), hostBag: (props) => ({ ...props.root, 'data-mps': 'spinner' }) })"
18251
+ }
18252
+ ],
18253
+ "attributes": [
18254
+ {
18255
+ "name": "type",
18256
+ "type": {
18257
+ "text": "SpinnerInputs['type']"
18258
+ },
18259
+ "default": "'border'",
18260
+ "fieldName": "type"
18261
+ },
18262
+ {
18263
+ "name": "color",
18264
+ "type": {
18265
+ "text": "SpinnerInputs['color']"
18266
+ },
18267
+ "default": "null",
18268
+ "fieldName": "color"
18269
+ },
18270
+ {
18271
+ "name": "small",
18272
+ "type": {
18273
+ "text": "SpinnerInputs['small']"
18274
+ },
18275
+ "default": "false",
18276
+ "fieldName": "small"
18277
+ },
18278
+ {
18279
+ "name": "label",
18280
+ "type": {
18281
+ "text": "SpinnerInputs['label']"
18282
+ },
18283
+ "default": "'Loading…'",
18284
+ "fieldName": "label"
18285
+ }
18286
+ ],
18287
+ "superclass": {
18288
+ "name": "LitElement",
18289
+ "package": "lit"
18290
+ },
18291
+ "tagName": "mp-spinner",
18292
+ "customElement": true
18293
+ }
18294
+ ],
18295
+ "exports": [
18296
+ {
18297
+ "kind": "js",
18298
+ "name": "MpSpinner",
18299
+ "declaration": {
18300
+ "name": "MpSpinner",
18301
+ "module": "spinner/src/generated/mp-spinner.generated.ts"
18302
+ }
18303
+ },
18304
+ {
18305
+ "kind": "custom-element-definition",
18306
+ "name": "mp-spinner",
18307
+ "declaration": {
18308
+ "name": "MpSpinner",
18309
+ "module": "spinner/src/generated/mp-spinner.generated.ts"
18310
+ }
18311
+ }
18312
+ ]
18313
+ },
18314
+ {
18315
+ "kind": "javascript-module",
18316
+ "path": "spinner/src/generated/spinner.view.generated.ts",
18317
+ "declarations": [
18318
+ {
18319
+ "kind": "function",
18320
+ "name": "spinnerTemplate",
18321
+ "return": {
18322
+ "type": {
18323
+ "text": "TemplateResult"
18324
+ }
18325
+ },
18326
+ "parameters": [
18327
+ {
18328
+ "name": "{ root, label, slots = {} }",
18329
+ "type": {
18330
+ "text": "SpinnerTemplateProps"
18331
+ }
18332
+ }
18333
+ ]
18334
+ }
18335
+ ],
18336
+ "exports": [
18337
+ {
18338
+ "kind": "js",
18339
+ "name": "spinnerTemplate",
18340
+ "declaration": {
18341
+ "name": "spinnerTemplate",
18342
+ "module": "spinner/src/generated/spinner.view.generated.ts"
18343
+ }
18344
+ }
18345
+ ]
18346
+ },
17683
18347
  {
17684
18348
  "kind": "javascript-module",
17685
18349
  "path": "splitter/src/generated/index.ts",
@@ -20094,930 +20758,930 @@
20094
20758
  },
20095
20759
  {
20096
20760
  "kind": "javascript-module",
20097
- "path": "toggle-button/src/components/index.ts",
20761
+ "path": "tree-select/src/generated/index.ts",
20098
20762
  "declarations": [],
20099
20763
  "exports": [
20100
20764
  {
20101
20765
  "kind": "js",
20102
- "name": "MpToggleButton",
20103
- "declaration": {
20104
- "name": "MpToggleButton",
20105
- "module": "./mp-toggle-button"
20106
- }
20107
- },
20108
- {
20109
- "kind": "js",
20110
- "name": "ToggleButtonColor",
20111
- "declaration": {
20112
- "name": "ToggleButtonColor",
20113
- "module": "./mp-toggle-button"
20114
- }
20115
- },
20116
- {
20117
- "kind": "js",
20118
- "name": "ToggleChangeEventDetail",
20766
+ "name": "MpTreeSelect",
20119
20767
  "declaration": {
20120
- "name": "ToggleChangeEventDetail",
20121
- "module": "./mp-toggle-button"
20768
+ "name": "MpTreeSelect",
20769
+ "module": "./mp-tree-select.generated"
20122
20770
  }
20123
20771
  }
20124
20772
  ]
20125
20773
  },
20126
20774
  {
20127
20775
  "kind": "javascript-module",
20128
- "path": "toggle-button/src/components/mp-toggle-button.ts",
20776
+ "path": "tree-select/src/generated/mp-tree-select.generated.ts",
20129
20777
  "declarations": [
20130
20778
  {
20131
20779
  "kind": "class",
20132
- "description": "`<mp-toggle-button>` — the Lit front of a single Bootstrap on/off button:\n`input.btn-check` + `label.btn`, rendered in the light DOM (#437) and styled\nby the page's Bootstrap baseline. The ARIA contract (the native checkbox\nrole and state, validity, error message) comes from\n`@mintplayer/ui-core/checkbox`, as in the Angular, React and Vue fronts.\n\nThe element's children become the label's content. The host is\nform-associated and submits `value` (or `on`) while checked, so the inner\ninput carries no `name` — in the light DOM it would submit a second time.\n\nAttributes: `checked`, `disabled` (reflected), `name`, `value`, `color`,\n`invalid`, `required`, `error-text`, `input-label`. A host `aria-label`,\n`aria-labelledby` or `aria-describedby` lands on the input — the same tree,\nso the IDREFs resolve as written. Emits `change` with\n`detail: { checked, value }` when toggled.",
20133
- "name": "MpToggleButton",
20134
- "members": [
20135
- {
20136
- "kind": "field",
20137
- "name": "_checked",
20138
- "type": {
20139
- "text": "boolean"
20140
- },
20141
- "privacy": "private",
20142
- "default": "false"
20143
- },
20144
- {
20145
- "kind": "field",
20146
- "name": "_disabled",
20147
- "type": {
20148
- "text": "boolean"
20149
- },
20150
- "privacy": "private",
20151
- "default": "false"
20152
- },
20153
- {
20154
- "kind": "field",
20155
- "name": "_name",
20156
- "type": {
20157
- "text": "string | null"
20158
- },
20159
- "privacy": "private",
20160
- "default": "null"
20161
- },
20162
- {
20163
- "kind": "field",
20164
- "name": "_value",
20165
- "type": {
20166
- "text": "string | null"
20167
- },
20168
- "privacy": "private",
20169
- "default": "null"
20170
- },
20780
+ "description": "A hierarchical, async, searchable select (#437): a combobox, or a button, opening a tree in\na native popover.\n\nData comes from a `provider` (roots, search and lazy children, each paged); `value` holds\nwhole nodes, one in `single` mode and an array in `multiple` / `checkbox`. `cascadeSelect`\nchecks a branch with its loaded children. Slots: `item` (a chosen node), `suggestion` (a\ntree row's body), `button` (the button variant's body), `header`, `footer`, `noResults`,\n`enterSearchTerm`. An `aria-label` names the combobox.",
20781
+ "name": "MpTreeSelect",
20782
+ "members": [
20171
20783
  {
20172
20784
  "kind": "field",
20173
- "name": "_color",
20785
+ "name": "provider",
20786
+ "privacy": "public",
20174
20787
  "type": {
20175
- "text": "ToggleButtonColor"
20788
+ "text": "TreeSelectInputs['provider']"
20176
20789
  },
20177
- "privacy": "private",
20178
- "default": "'primary'"
20790
+ "default": "null"
20179
20791
  },
20180
20792
  {
20181
20793
  "kind": "field",
20182
- "name": "_inputLabel",
20794
+ "name": "value",
20795
+ "privacy": "public",
20183
20796
  "type": {
20184
- "text": "string | null"
20797
+ "text": "TreeSelectInputs['value']"
20185
20798
  },
20186
- "privacy": "private",
20187
20799
  "default": "null"
20188
20800
  },
20189
20801
  {
20190
20802
  "kind": "field",
20191
- "name": "_errorText",
20803
+ "name": "mode",
20804
+ "privacy": "public",
20192
20805
  "type": {
20193
- "text": "string | null"
20806
+ "text": "TreeSelectInputs['mode']"
20194
20807
  },
20195
- "privacy": "private",
20196
- "default": "null"
20808
+ "default": "'single'",
20809
+ "attribute": "mode",
20810
+ "reflects": true
20197
20811
  },
20198
20812
  {
20199
20813
  "kind": "field",
20200
- "name": "_content",
20814
+ "name": "variant",
20815
+ "privacy": "public",
20201
20816
  "type": {
20202
- "text": "Node[]"
20817
+ "text": "TreeSelectInputs['variant']"
20203
20818
  },
20204
- "privacy": "private",
20205
- "default": "[]",
20206
- "description": "The consumer's children, moved into the label on first render."
20207
- },
20208
- {
20209
- "kind": "field",
20210
- "name": "_rootId",
20211
- "privacy": "private",
20212
- "readonly": true,
20213
- "default": "`mp-toggle-button-${++instanceCounter}`"
20819
+ "default": "'textbox'",
20820
+ "attribute": "variant",
20821
+ "reflects": true
20214
20822
  },
20215
20823
  {
20216
20824
  "kind": "field",
20217
- "name": "_inputRef",
20825
+ "name": "cascadeSelect",
20826
+ "privacy": "public",
20218
20827
  "type": {
20219
- "text": "Ref<HTMLInputElement>"
20828
+ "text": "TreeSelectInputs['cascadeSelect']"
20220
20829
  },
20221
- "privacy": "private",
20222
- "readonly": true
20830
+ "default": "false",
20831
+ "attribute": "cascade-select"
20223
20832
  },
20224
20833
  {
20225
20834
  "kind": "field",
20226
- "name": "inputLabel",
20835
+ "name": "placeholder",
20836
+ "privacy": "public",
20227
20837
  "type": {
20228
- "text": "string | null"
20838
+ "text": "TreeSelectInputs['placeholder']"
20229
20839
  },
20230
- "description": "Optional override for the input's accessible name. Usually unnecessary —\nthe label's visible content names the control. For an icon-only toggle, or\na name that must differ from the visible text, set this."
20840
+ "default": "''",
20841
+ "attribute": "placeholder"
20231
20842
  },
20232
20843
  {
20233
20844
  "kind": "field",
20234
- "name": "errorText",
20845
+ "name": "showClear",
20846
+ "privacy": "public",
20235
20847
  "type": {
20236
- "text": "string | null"
20848
+ "text": "TreeSelectInputs['showClear']"
20237
20849
  },
20238
- "description": "Validation message, as `errorText` / `error-text`. Rendered as an\n`.invalid-feedback` node and referenced from the input by\n`aria-errormessage` **and** `aria-describedby`, but only while `invalid` is\nset — `aria-errormessage` is meaningless on a control that is not\n`aria-invalid`."
20850
+ "default": "false",
20851
+ "attribute": "show-clear"
20239
20852
  },
20240
20853
  {
20241
20854
  "kind": "field",
20242
- "name": "checked",
20855
+ "name": "panelScrollHeight",
20856
+ "privacy": "public",
20243
20857
  "type": {
20244
- "text": "boolean"
20245
- }
20858
+ "text": "TreeSelectInputs['panelScrollHeight']"
20859
+ },
20860
+ "default": "'300px'",
20861
+ "attribute": "panel-scroll-height"
20246
20862
  },
20247
20863
  {
20248
20864
  "kind": "field",
20249
20865
  "name": "disabled",
20866
+ "privacy": "public",
20250
20867
  "type": {
20251
- "text": "boolean"
20252
- }
20868
+ "text": "TreeSelectInputs['disabled']"
20869
+ },
20870
+ "default": "false",
20871
+ "attribute": "disabled",
20872
+ "reflects": true
20253
20873
  },
20254
20874
  {
20255
20875
  "kind": "field",
20256
- "name": "name",
20876
+ "name": "searchDebounceMs",
20877
+ "privacy": "public",
20257
20878
  "type": {
20258
- "text": "string | null"
20259
- }
20879
+ "text": "TreeSelectInputs['searchDebounceMs']"
20880
+ },
20881
+ "default": "200",
20882
+ "attribute": "search-debounce-ms"
20260
20883
  },
20261
20884
  {
20262
20885
  "kind": "field",
20263
- "name": "value",
20886
+ "name": "inputLabel",
20887
+ "privacy": "public",
20264
20888
  "type": {
20265
- "text": "string | null"
20266
- }
20889
+ "text": "TreeSelectInputs['inputLabel']"
20890
+ },
20891
+ "default": "null",
20892
+ "attribute": "input-label"
20267
20893
  },
20268
20894
  {
20269
20895
  "kind": "field",
20270
- "name": "color",
20896
+ "name": "labels",
20897
+ "privacy": "public",
20271
20898
  "type": {
20272
- "text": "ToggleButtonColor"
20273
- }
20274
- },
20275
- {
20276
- "kind": "method",
20277
- "name": "reflectBoolean",
20278
- "privacy": "private",
20279
- "return": {
20280
- "type": {
20281
- "text": "void"
20282
- }
20899
+ "text": "TreeSelectInputs['labels']"
20283
20900
  },
20284
- "parameters": [
20285
- {
20286
- "name": "attr",
20287
- "type": {
20288
- "text": "string"
20289
- }
20290
- },
20291
- {
20292
- "name": "value",
20293
- "type": {
20294
- "text": "boolean"
20295
- }
20296
- }
20297
- ]
20901
+ "default": "null"
20298
20902
  },
20299
20903
  {
20300
20904
  "kind": "field",
20301
- "name": "onInputChange",
20302
- "privacy": "private"
20303
- },
20304
- {
20305
- "kind": "method",
20306
- "name": "formValue",
20307
- "return": {
20308
- "type": {
20309
- "text": "string | null"
20310
- }
20311
- }
20312
- },
20313
- {
20314
- "kind": "method",
20315
- "name": "formReset",
20316
- "return": {
20317
- "type": {
20318
- "text": "void"
20319
- }
20320
- }
20321
- },
20322
- {
20323
- "kind": "method",
20324
- "name": "formRestore",
20325
- "return": {
20326
- "type": {
20327
- "text": "void"
20328
- }
20905
+ "name": "itemRenderer",
20906
+ "privacy": "public",
20907
+ "type": {
20908
+ "text": "((args: TreeSelectItemSlotArgs) => unknown) | null | undefined"
20329
20909
  },
20330
- "parameters": [
20331
- {
20332
- "name": "state",
20333
- "type": {
20334
- "text": "string | FormData | File | null"
20335
- }
20336
- }
20337
- ]
20338
- },
20339
- {
20340
- "kind": "method",
20341
- "name": "formValidityAnchor",
20342
- "return": {
20343
- "type": {
20344
- "text": "HTMLElement | null"
20345
- }
20346
- }
20910
+ "description": "Renders the item slot, called per use; wins over slot=\"item\" children."
20347
20911
  },
20348
20912
  {
20349
20913
  "kind": "field",
20350
- "name": "formAssociated",
20914
+ "name": "suggestionRenderer",
20915
+ "privacy": "public",
20351
20916
  "type": {
20352
- "text": "boolean"
20917
+ "text": "((args: TreeSelectSuggestionSlotArgs) => unknown) | null | undefined"
20353
20918
  },
20354
- "static": true,
20355
- "default": "true",
20356
- "inheritedFrom": {
20357
- "name": "FormAssociatedMixin",
20358
- "module": "a11y/src/form-associated.ts"
20359
- }
20919
+ "description": "Renders the suggestion slot, called per use; wins over slot=\"suggestion\" children."
20360
20920
  },
20361
20921
  {
20362
20922
  "kind": "field",
20363
- "name": "#formDisabled",
20364
- "privacy": "private",
20923
+ "name": "buttonRenderer",
20924
+ "privacy": "public",
20365
20925
  "type": {
20366
- "text": "boolean"
20926
+ "text": "((args: TreeSelectButtonSlotArgs) => unknown) | null | undefined"
20367
20927
  },
20368
- "default": "false",
20369
- "description": "Effective disabled per the platform, as last reported by the UA.",
20370
- "inheritedFrom": {
20371
- "name": "FormAssociatedMixin",
20372
- "module": "a11y/src/form-associated.ts"
20373
- }
20928
+ "description": "Renders the button slot, called per use; wins over slot=\"button\" children."
20374
20929
  },
20375
20930
  {
20376
20931
  "kind": "field",
20377
- "name": "internals",
20932
+ "name": "headerRenderer",
20933
+ "privacy": "public",
20378
20934
  "type": {
20379
- "text": "ElementInternals | null"
20935
+ "text": "(() => unknown) | null | undefined"
20380
20936
  },
20381
- "readonly": true,
20382
- "inheritedFrom": {
20383
- "name": "FormAssociatedMixin",
20384
- "module": "a11y/src/form-associated.ts"
20385
- }
20937
+ "description": "Renders the header slot; wins over slot=\"header\" children."
20386
20938
  },
20387
20939
  {
20388
20940
  "kind": "field",
20389
- "name": "effectiveDisabled",
20941
+ "name": "footerRenderer",
20942
+ "privacy": "public",
20390
20943
  "type": {
20391
- "text": "boolean"
20392
- },
20393
- "readonly": true,
20394
- "inheritedFrom": {
20395
- "name": "FormAssociatedMixin",
20396
- "module": "a11y/src/form-associated.ts"
20397
- }
20398
- },
20399
- {
20400
- "kind": "method",
20401
- "name": "#host",
20402
- "privacy": "private",
20403
- "return": {
20404
- "type": {
20405
- "text": "FormAssociatedHost"
20406
- }
20944
+ "text": "(() => unknown) | null | undefined"
20407
20945
  },
20408
- "inheritedFrom": {
20409
- "name": "FormAssociatedMixin",
20410
- "module": "a11y/src/form-associated.ts"
20411
- }
20946
+ "description": "Renders the footer slot; wins over slot=\"footer\" children."
20412
20947
  },
20413
20948
  {
20414
- "kind": "method",
20415
- "name": "syncFormValue",
20416
- "return": {
20417
- "type": {
20418
- "text": "void"
20419
- }
20949
+ "kind": "field",
20950
+ "name": "noResultsRenderer",
20951
+ "privacy": "public",
20952
+ "type": {
20953
+ "text": "(() => unknown) | null | undefined"
20420
20954
  },
20421
- "description": "Push the host's current value into the form. Call on every change.",
20422
- "inheritedFrom": {
20423
- "name": "FormAssociatedMixin",
20424
- "module": "a11y/src/form-associated.ts"
20425
- }
20955
+ "description": "Renders the noResults slot; wins over slot=\"noResults\" children."
20426
20956
  },
20427
20957
  {
20428
- "kind": "method",
20429
- "name": "setFormValidity",
20430
- "return": {
20431
- "type": {
20432
- "text": "void"
20433
- }
20958
+ "kind": "field",
20959
+ "name": "enterSearchTermRenderer",
20960
+ "privacy": "public",
20961
+ "type": {
20962
+ "text": "(() => unknown) | null | undefined"
20434
20963
  },
20435
- "parameters": [
20436
- {
20437
- "name": "flags",
20438
- "type": {
20439
- "text": "ValidityStateFlags"
20440
- }
20441
- },
20442
- {
20443
- "name": "message",
20444
- "optional": true,
20445
- "type": {
20446
- "text": "string"
20447
- }
20448
- }
20449
- ],
20450
- "inheritedFrom": {
20451
- "name": "FormAssociatedMixin",
20452
- "module": "a11y/src/form-associated.ts"
20453
- }
20964
+ "description": "Renders the enterSearchTerm slot; wins over slot=\"enterSearchTerm\" children."
20965
+ },
20966
+ {
20967
+ "kind": "field",
20968
+ "name": "#children",
20969
+ "privacy": "private",
20970
+ "readonly": true,
20971
+ "default": "new LightChildren(this)"
20972
+ },
20973
+ {
20974
+ "kind": "field",
20975
+ "name": "#core",
20976
+ "privacy": "private",
20977
+ "readonly": true,
20978
+ "default": "new CoreController(this, treeSelectCore, { idPrefix: 'mp-tree-select', inputs: () => ({ provider: this.provider, value: this.value, mode: this.mode, variant: this.variant, cascadeSelect: this.cascadeSelect, placeholder: this.placeholder, showClear: this.showClear, panelScrollHeight: this.panelScrollHeight, disabled: this.disabled, searchDebounceMs: this.searchDebounceMs, inputLabel: this.inputLabel, labels: this.labels }), hostBag: (props) => ({ ...props.view.root, 'data-mps': 'tree-select' }), models: ['value'] })"
20454
20979
  },
20455
20980
  {
20456
20981
  "kind": "method",
20457
- "name": "formDisabledCallback",
20982
+ "name": "open",
20458
20983
  "return": {
20459
20984
  "type": {
20460
- "text": "void"
20985
+ "text": "ReturnType<TreeSelectMethods['open']>"
20461
20986
  }
20462
20987
  },
20463
20988
  "parameters": [
20464
20989
  {
20465
- "name": "disabled",
20990
+ "name": "args",
20466
20991
  "type": {
20467
- "text": "boolean"
20992
+ "text": "Parameters<TreeSelectMethods['open']>"
20468
20993
  }
20469
20994
  }
20470
20995
  ],
20471
- "inheritedFrom": {
20472
- "name": "FormAssociatedMixin",
20473
- "module": "a11y/src/form-associated.ts"
20474
- }
20475
- },
20476
- {
20477
- "kind": "method",
20478
- "name": "formResetCallback",
20479
- "return": {
20480
- "type": {
20481
- "text": "void"
20482
- }
20483
- },
20484
- "inheritedFrom": {
20485
- "name": "FormAssociatedMixin",
20486
- "module": "a11y/src/form-associated.ts"
20487
- }
20996
+ "description": "Open the panel (ignored when disabled or without a provider)."
20488
20997
  },
20489
20998
  {
20490
20999
  "kind": "method",
20491
- "name": "formStateRestoreCallback",
21000
+ "name": "close",
20492
21001
  "return": {
20493
21002
  "type": {
20494
- "text": "void"
21003
+ "text": "ReturnType<TreeSelectMethods['close']>"
20495
21004
  }
20496
21005
  },
20497
21006
  "parameters": [
20498
21007
  {
20499
- "name": "state",
21008
+ "name": "args",
20500
21009
  "type": {
20501
- "text": "string | FormData | File | null"
21010
+ "text": "Parameters<TreeSelectMethods['close']>"
20502
21011
  }
20503
21012
  }
20504
21013
  ],
20505
- "inheritedFrom": {
20506
- "name": "FormAssociatedMixin",
20507
- "module": "a11y/src/form-associated.ts"
20508
- }
21014
+ "description": "Close the panel."
20509
21015
  }
20510
21016
  ],
20511
21017
  "attributes": [
20512
21018
  {
20513
- "name": "invalid"
20514
- },
20515
- {
20516
- "name": "required"
20517
- },
20518
- {
20519
- "name": "error-text"
20520
- },
20521
- {
20522
- "name": "checked"
21019
+ "name": "mode",
21020
+ "type": {
21021
+ "text": "TreeSelectInputs['mode']"
21022
+ },
21023
+ "default": "'single'",
21024
+ "fieldName": "mode"
20523
21025
  },
20524
21026
  {
20525
- "name": "disabled"
21027
+ "name": "variant",
21028
+ "type": {
21029
+ "text": "TreeSelectInputs['variant']"
21030
+ },
21031
+ "default": "'textbox'",
21032
+ "fieldName": "variant"
20526
21033
  },
20527
21034
  {
20528
- "name": "name"
21035
+ "name": "cascade-select",
21036
+ "type": {
21037
+ "text": "TreeSelectInputs['cascadeSelect']"
21038
+ },
21039
+ "default": "false",
21040
+ "fieldName": "cascadeSelect"
20529
21041
  },
20530
21042
  {
20531
- "name": "value"
21043
+ "name": "placeholder",
21044
+ "type": {
21045
+ "text": "TreeSelectInputs['placeholder']"
21046
+ },
21047
+ "default": "''",
21048
+ "fieldName": "placeholder"
20532
21049
  },
20533
21050
  {
20534
- "name": "color"
21051
+ "name": "show-clear",
21052
+ "type": {
21053
+ "text": "TreeSelectInputs['showClear']"
21054
+ },
21055
+ "default": "false",
21056
+ "fieldName": "showClear"
20535
21057
  },
20536
21058
  {
20537
- "name": "aria-label"
21059
+ "name": "panel-scroll-height",
21060
+ "type": {
21061
+ "text": "TreeSelectInputs['panelScrollHeight']"
21062
+ },
21063
+ "default": "'300px'",
21064
+ "fieldName": "panelScrollHeight"
20538
21065
  },
20539
21066
  {
20540
- "name": "input-label"
21067
+ "name": "disabled",
21068
+ "type": {
21069
+ "text": "TreeSelectInputs['disabled']"
21070
+ },
21071
+ "default": "false",
21072
+ "fieldName": "disabled"
20541
21073
  },
20542
21074
  {
20543
- "name": "aria-labelledby"
21075
+ "name": "search-debounce-ms",
21076
+ "type": {
21077
+ "text": "TreeSelectInputs['searchDebounceMs']"
21078
+ },
21079
+ "default": "200",
21080
+ "fieldName": "searchDebounceMs"
20544
21081
  },
20545
21082
  {
20546
- "name": "aria-describedby"
20547
- }
20548
- ],
20549
- "mixins": [
20550
- {
20551
- "name": "FormAssociatedMixin",
20552
- "package": "@mintplayer/web-components/a11y"
21083
+ "name": "input-label",
21084
+ "type": {
21085
+ "text": "TreeSelectInputs['inputLabel']"
21086
+ },
21087
+ "default": "null",
21088
+ "fieldName": "inputLabel"
20553
21089
  }
20554
21090
  ],
20555
21091
  "superclass": {
20556
21092
  "name": "LitElement",
20557
21093
  "package": "lit"
20558
21094
  },
20559
- "tagName": "mp-toggle-button",
21095
+ "tagName": "mp-tree-select",
20560
21096
  "customElement": true
20561
21097
  }
20562
21098
  ],
20563
21099
  "exports": [
20564
21100
  {
20565
21101
  "kind": "js",
20566
- "name": "ToggleButtonColor",
20567
- "declaration": {
20568
- "name": "ToggleButtonColor",
20569
- "module": "toggle-button/src/components/mp-toggle-button.ts"
20570
- }
20571
- },
20572
- {
20573
- "kind": "js",
20574
- "name": "MpToggleButton",
21102
+ "name": "MpTreeSelect",
20575
21103
  "declaration": {
20576
- "name": "MpToggleButton",
20577
- "module": "toggle-button/src/components/mp-toggle-button.ts"
21104
+ "name": "MpTreeSelect",
21105
+ "module": "tree-select/src/generated/mp-tree-select.generated.ts"
20578
21106
  }
20579
21107
  },
20580
21108
  {
20581
21109
  "kind": "custom-element-definition",
20582
- "name": "mp-toggle-button",
21110
+ "name": "mp-tree-select",
20583
21111
  "declaration": {
20584
- "name": "MpToggleButton",
20585
- "module": "toggle-button/src/components/mp-toggle-button.ts"
21112
+ "name": "MpTreeSelect",
21113
+ "module": "tree-select/src/generated/mp-tree-select.generated.ts"
20586
21114
  }
20587
21115
  }
20588
21116
  ]
20589
21117
  },
20590
21118
  {
20591
21119
  "kind": "javascript-module",
20592
- "path": "toggle-button/src/styles/index.ts",
20593
- "declarations": [],
21120
+ "path": "tree-select/src/generated/tree-select.view.generated.ts",
21121
+ "declarations": [
21122
+ {
21123
+ "kind": "function",
21124
+ "name": "treeSelectTemplate",
21125
+ "return": {
21126
+ "type": {
21127
+ "text": "TemplateResult"
21128
+ }
21129
+ },
21130
+ "parameters": [
21131
+ {
21132
+ "name": "{ view, slots = {} }",
21133
+ "type": {
21134
+ "text": "TreeSelectTemplateProps"
21135
+ }
21136
+ }
21137
+ ]
21138
+ }
21139
+ ],
20594
21140
  "exports": [
20595
21141
  {
20596
21142
  "kind": "js",
20597
- "name": "toggleButtonStyles",
21143
+ "name": "treeSelectTemplate",
20598
21144
  "declaration": {
20599
- "name": "toggleButtonStyles",
20600
- "module": "./toggle-button.styles"
21145
+ "name": "treeSelectTemplate",
21146
+ "module": "tree-select/src/generated/tree-select.view.generated.ts"
20601
21147
  }
20602
21148
  }
20603
21149
  ]
20604
21150
  },
20605
21151
  {
20606
21152
  "kind": "javascript-module",
20607
- "path": "toggle-button/src/styles/toggle-button.styles.ts",
20608
- "declarations": [
20609
- {
20610
- "kind": "variable",
20611
- "name": "toggleButtonStyles"
20612
- }
20613
- ],
21153
+ "path": "toggle-button/src/components/index.ts",
21154
+ "declarations": [],
20614
21155
  "exports": [
20615
21156
  {
20616
21157
  "kind": "js",
20617
- "name": "toggleButtonStyles",
21158
+ "name": "MpToggleButton",
20618
21159
  "declaration": {
20619
- "name": "toggleButtonStyles",
20620
- "module": "toggle-button/src/styles/toggle-button.styles.ts"
21160
+ "name": "MpToggleButton",
21161
+ "module": "./mp-toggle-button"
20621
21162
  }
20622
21163
  },
20623
21164
  {
20624
21165
  "kind": "js",
20625
- "name": "default",
21166
+ "name": "ToggleButtonColor",
20626
21167
  "declaration": {
20627
- "name": "toggleButtonStyles",
20628
- "module": "toggle-button/src/styles/toggle-button.styles.ts"
21168
+ "name": "ToggleButtonColor",
21169
+ "module": "./mp-toggle-button"
20629
21170
  }
20630
- }
20631
- ]
20632
- },
20633
- {
20634
- "kind": "javascript-module",
20635
- "path": "tree-select/src/generated/index.ts",
20636
- "declarations": [],
20637
- "exports": [
21171
+ },
20638
21172
  {
20639
21173
  "kind": "js",
20640
- "name": "MpTreeSelect",
21174
+ "name": "ToggleChangeEventDetail",
20641
21175
  "declaration": {
20642
- "name": "MpTreeSelect",
20643
- "module": "./mp-tree-select.generated"
21176
+ "name": "ToggleChangeEventDetail",
21177
+ "module": "./mp-toggle-button"
20644
21178
  }
20645
21179
  }
20646
21180
  ]
20647
21181
  },
20648
21182
  {
20649
21183
  "kind": "javascript-module",
20650
- "path": "tree-select/src/generated/mp-tree-select.generated.ts",
21184
+ "path": "toggle-button/src/components/mp-toggle-button.ts",
20651
21185
  "declarations": [
20652
21186
  {
20653
21187
  "kind": "class",
20654
- "description": "A hierarchical, async, searchable select (#437): a combobox, or a button, opening a tree in\na native popover.\n\nData comes from a `provider` (roots, search and lazy children, each paged); `value` holds\nwhole nodes, one in `single` mode and an array in `multiple` / `checkbox`. `cascadeSelect`\nchecks a branch with its loaded children. Slots: `item` (a chosen node), `suggestion` (a\ntree row's body), `button` (the button variant's body), `header`, `footer`, `noResults`,\n`enterSearchTerm`. An `aria-label` names the combobox.",
20655
- "name": "MpTreeSelect",
21188
+ "description": "`<mp-toggle-button>` — the Lit front of a single Bootstrap on/off button:\n`input.btn-check` + `label.btn`, rendered in the light DOM (#437) and styled\nby the page's Bootstrap baseline. The ARIA contract (the native checkbox\nrole and state, validity, error message) comes from\n`@mintplayer/ui-core/checkbox`, as in the Angular, React and Vue fronts.\n\nThe element's children become the label's content. The host is\nform-associated and submits `value` (or `on`) while checked, so the inner\ninput carries no `name` — in the light DOM it would submit a second time.\n\nAttributes: `checked`, `disabled` (reflected), `name`, `value`, `color`,\n`invalid`, `required`, `error-text`, `input-label`. A host `aria-label`,\n`aria-labelledby` or `aria-describedby` lands on the input — the same tree,\nso the IDREFs resolve as written. Emits `change` with\n`detail: { checked, value }` when toggled.",
21189
+ "name": "MpToggleButton",
20656
21190
  "members": [
20657
21191
  {
20658
21192
  "kind": "field",
20659
- "name": "provider",
20660
- "privacy": "public",
21193
+ "name": "_checked",
20661
21194
  "type": {
20662
- "text": "TreeSelectInputs['provider']"
21195
+ "text": "boolean"
20663
21196
  },
20664
- "default": "null"
21197
+ "privacy": "private",
21198
+ "default": "false"
20665
21199
  },
20666
21200
  {
20667
21201
  "kind": "field",
20668
- "name": "value",
20669
- "privacy": "public",
21202
+ "name": "_disabled",
20670
21203
  "type": {
20671
- "text": "TreeSelectInputs['value']"
21204
+ "text": "boolean"
20672
21205
  },
20673
- "default": "null"
21206
+ "privacy": "private",
21207
+ "default": "false"
20674
21208
  },
20675
21209
  {
20676
21210
  "kind": "field",
20677
- "name": "mode",
20678
- "privacy": "public",
21211
+ "name": "_name",
20679
21212
  "type": {
20680
- "text": "TreeSelectInputs['mode']"
21213
+ "text": "string | null"
20681
21214
  },
20682
- "default": "'single'",
20683
- "attribute": "mode",
20684
- "reflects": true
21215
+ "privacy": "private",
21216
+ "default": "null"
20685
21217
  },
20686
21218
  {
20687
21219
  "kind": "field",
20688
- "name": "variant",
20689
- "privacy": "public",
21220
+ "name": "_value",
20690
21221
  "type": {
20691
- "text": "TreeSelectInputs['variant']"
21222
+ "text": "string | null"
20692
21223
  },
20693
- "default": "'textbox'",
20694
- "attribute": "variant",
20695
- "reflects": true
21224
+ "privacy": "private",
21225
+ "default": "null"
20696
21226
  },
20697
21227
  {
20698
21228
  "kind": "field",
20699
- "name": "cascadeSelect",
20700
- "privacy": "public",
21229
+ "name": "_color",
20701
21230
  "type": {
20702
- "text": "TreeSelectInputs['cascadeSelect']"
21231
+ "text": "ToggleButtonColor"
20703
21232
  },
20704
- "default": "false",
20705
- "attribute": "cascade-select"
21233
+ "privacy": "private",
21234
+ "default": "'primary'"
20706
21235
  },
20707
21236
  {
20708
21237
  "kind": "field",
20709
- "name": "placeholder",
20710
- "privacy": "public",
21238
+ "name": "_inputLabel",
20711
21239
  "type": {
20712
- "text": "TreeSelectInputs['placeholder']"
21240
+ "text": "string | null"
20713
21241
  },
20714
- "default": "''",
20715
- "attribute": "placeholder"
21242
+ "privacy": "private",
21243
+ "default": "null"
20716
21244
  },
20717
21245
  {
20718
21246
  "kind": "field",
20719
- "name": "showClear",
20720
- "privacy": "public",
21247
+ "name": "_errorText",
20721
21248
  "type": {
20722
- "text": "TreeSelectInputs['showClear']"
21249
+ "text": "string | null"
20723
21250
  },
20724
- "default": "false",
20725
- "attribute": "show-clear"
21251
+ "privacy": "private",
21252
+ "default": "null"
20726
21253
  },
20727
21254
  {
20728
21255
  "kind": "field",
20729
- "name": "panelScrollHeight",
20730
- "privacy": "public",
21256
+ "name": "_content",
20731
21257
  "type": {
20732
- "text": "TreeSelectInputs['panelScrollHeight']"
21258
+ "text": "Node[]"
20733
21259
  },
20734
- "default": "'300px'",
20735
- "attribute": "panel-scroll-height"
21260
+ "privacy": "private",
21261
+ "default": "[]",
21262
+ "description": "The consumer's children, moved into the label on first render."
20736
21263
  },
20737
21264
  {
20738
21265
  "kind": "field",
20739
- "name": "disabled",
20740
- "privacy": "public",
20741
- "type": {
20742
- "text": "TreeSelectInputs['disabled']"
20743
- },
20744
- "default": "false",
20745
- "attribute": "disabled",
20746
- "reflects": true
21266
+ "name": "_rootId",
21267
+ "privacy": "private",
21268
+ "readonly": true,
21269
+ "default": "`mp-toggle-button-${++instanceCounter}`"
20747
21270
  },
20748
21271
  {
20749
21272
  "kind": "field",
20750
- "name": "searchDebounceMs",
20751
- "privacy": "public",
21273
+ "name": "_inputRef",
20752
21274
  "type": {
20753
- "text": "TreeSelectInputs['searchDebounceMs']"
21275
+ "text": "Ref<HTMLInputElement>"
20754
21276
  },
20755
- "default": "200",
20756
- "attribute": "search-debounce-ms"
21277
+ "privacy": "private",
21278
+ "readonly": true
20757
21279
  },
20758
21280
  {
20759
21281
  "kind": "field",
20760
21282
  "name": "inputLabel",
20761
- "privacy": "public",
20762
21283
  "type": {
20763
- "text": "TreeSelectInputs['inputLabel']"
21284
+ "text": "string | null"
20764
21285
  },
20765
- "default": "null",
20766
- "attribute": "input-label"
21286
+ "description": "Optional override for the input's accessible name. Usually unnecessary —\nthe label's visible content names the control. For an icon-only toggle, or\na name that must differ from the visible text, set this."
20767
21287
  },
20768
21288
  {
20769
21289
  "kind": "field",
20770
- "name": "labels",
20771
- "privacy": "public",
21290
+ "name": "errorText",
20772
21291
  "type": {
20773
- "text": "TreeSelectInputs['labels']"
21292
+ "text": "string | null"
20774
21293
  },
20775
- "default": "null"
21294
+ "description": "Validation message, as `errorText` / `error-text`. Rendered as an\n`.invalid-feedback` node and referenced from the input by\n`aria-errormessage` **and** `aria-describedby`, but only while `invalid` is\nset — `aria-errormessage` is meaningless on a control that is not\n`aria-invalid`."
20776
21295
  },
20777
21296
  {
20778
21297
  "kind": "field",
20779
- "name": "itemRenderer",
20780
- "privacy": "public",
21298
+ "name": "checked",
20781
21299
  "type": {
20782
- "text": "((args: TreeSelectItemSlotArgs) => unknown) | null | undefined"
20783
- },
20784
- "description": "Renders the item slot, called per use; wins over slot=\"item\" children."
21300
+ "text": "boolean"
21301
+ }
20785
21302
  },
20786
21303
  {
20787
21304
  "kind": "field",
20788
- "name": "suggestionRenderer",
20789
- "privacy": "public",
21305
+ "name": "disabled",
20790
21306
  "type": {
20791
- "text": "((args: TreeSelectSuggestionSlotArgs) => unknown) | null | undefined"
20792
- },
20793
- "description": "Renders the suggestion slot, called per use; wins over slot=\"suggestion\" children."
21307
+ "text": "boolean"
21308
+ }
20794
21309
  },
20795
21310
  {
20796
21311
  "kind": "field",
20797
- "name": "buttonRenderer",
20798
- "privacy": "public",
21312
+ "name": "name",
20799
21313
  "type": {
20800
- "text": "((args: TreeSelectButtonSlotArgs) => unknown) | null | undefined"
20801
- },
20802
- "description": "Renders the button slot, called per use; wins over slot=\"button\" children."
21314
+ "text": "string | null"
21315
+ }
20803
21316
  },
20804
21317
  {
20805
21318
  "kind": "field",
20806
- "name": "headerRenderer",
20807
- "privacy": "public",
21319
+ "name": "value",
20808
21320
  "type": {
20809
- "text": "(() => unknown) | null | undefined"
21321
+ "text": "string | null"
21322
+ }
21323
+ },
21324
+ {
21325
+ "kind": "field",
21326
+ "name": "color",
21327
+ "type": {
21328
+ "text": "ToggleButtonColor"
21329
+ }
21330
+ },
21331
+ {
21332
+ "kind": "method",
21333
+ "name": "reflectBoolean",
21334
+ "privacy": "private",
21335
+ "return": {
21336
+ "type": {
21337
+ "text": "void"
21338
+ }
20810
21339
  },
20811
- "description": "Renders the header slot; wins over slot=\"header\" children."
21340
+ "parameters": [
21341
+ {
21342
+ "name": "attr",
21343
+ "type": {
21344
+ "text": "string"
21345
+ }
21346
+ },
21347
+ {
21348
+ "name": "value",
21349
+ "type": {
21350
+ "text": "boolean"
21351
+ }
21352
+ }
21353
+ ]
20812
21354
  },
20813
21355
  {
20814
21356
  "kind": "field",
20815
- "name": "footerRenderer",
20816
- "privacy": "public",
21357
+ "name": "onInputChange",
21358
+ "privacy": "private"
21359
+ },
21360
+ {
21361
+ "kind": "method",
21362
+ "name": "formValue",
21363
+ "return": {
21364
+ "type": {
21365
+ "text": "string | null"
21366
+ }
21367
+ }
21368
+ },
21369
+ {
21370
+ "kind": "method",
21371
+ "name": "formReset",
21372
+ "return": {
21373
+ "type": {
21374
+ "text": "void"
21375
+ }
21376
+ }
21377
+ },
21378
+ {
21379
+ "kind": "method",
21380
+ "name": "formRestore",
21381
+ "return": {
21382
+ "type": {
21383
+ "text": "void"
21384
+ }
21385
+ },
21386
+ "parameters": [
21387
+ {
21388
+ "name": "state",
21389
+ "type": {
21390
+ "text": "string | FormData | File | null"
21391
+ }
21392
+ }
21393
+ ]
21394
+ },
21395
+ {
21396
+ "kind": "method",
21397
+ "name": "formValidityAnchor",
21398
+ "return": {
21399
+ "type": {
21400
+ "text": "HTMLElement | null"
21401
+ }
21402
+ }
21403
+ },
21404
+ {
21405
+ "kind": "field",
21406
+ "name": "formAssociated",
20817
21407
  "type": {
20818
- "text": "(() => unknown) | null | undefined"
21408
+ "text": "boolean"
20819
21409
  },
20820
- "description": "Renders the footer slot; wins over slot=\"footer\" children."
21410
+ "static": true,
21411
+ "default": "true",
21412
+ "inheritedFrom": {
21413
+ "name": "FormAssociatedMixin",
21414
+ "module": "a11y/src/form-associated.ts"
21415
+ }
20821
21416
  },
20822
21417
  {
20823
21418
  "kind": "field",
20824
- "name": "noResultsRenderer",
20825
- "privacy": "public",
21419
+ "name": "#formDisabled",
21420
+ "privacy": "private",
20826
21421
  "type": {
20827
- "text": "(() => unknown) | null | undefined"
21422
+ "text": "boolean"
20828
21423
  },
20829
- "description": "Renders the noResults slot; wins over slot=\"noResults\" children."
21424
+ "default": "false",
21425
+ "description": "Effective disabled per the platform, as last reported by the UA.",
21426
+ "inheritedFrom": {
21427
+ "name": "FormAssociatedMixin",
21428
+ "module": "a11y/src/form-associated.ts"
21429
+ }
20830
21430
  },
20831
21431
  {
20832
21432
  "kind": "field",
20833
- "name": "enterSearchTermRenderer",
20834
- "privacy": "public",
21433
+ "name": "internals",
20835
21434
  "type": {
20836
- "text": "(() => unknown) | null | undefined"
21435
+ "text": "ElementInternals | null"
20837
21436
  },
20838
- "description": "Renders the enterSearchTerm slot; wins over slot=\"enterSearchTerm\" children."
21437
+ "readonly": true,
21438
+ "inheritedFrom": {
21439
+ "name": "FormAssociatedMixin",
21440
+ "module": "a11y/src/form-associated.ts"
21441
+ }
20839
21442
  },
20840
21443
  {
20841
21444
  "kind": "field",
20842
- "name": "#children",
20843
- "privacy": "private",
21445
+ "name": "effectiveDisabled",
21446
+ "type": {
21447
+ "text": "boolean"
21448
+ },
20844
21449
  "readonly": true,
20845
- "default": "new LightChildren(this)"
21450
+ "inheritedFrom": {
21451
+ "name": "FormAssociatedMixin",
21452
+ "module": "a11y/src/form-associated.ts"
21453
+ }
20846
21454
  },
20847
21455
  {
20848
- "kind": "field",
20849
- "name": "#core",
21456
+ "kind": "method",
21457
+ "name": "#host",
20850
21458
  "privacy": "private",
20851
- "readonly": true,
20852
- "default": "new CoreController(this, treeSelectCore, { idPrefix: 'mp-tree-select', inputs: () => ({ provider: this.provider, value: this.value, mode: this.mode, variant: this.variant, cascadeSelect: this.cascadeSelect, placeholder: this.placeholder, showClear: this.showClear, panelScrollHeight: this.panelScrollHeight, disabled: this.disabled, searchDebounceMs: this.searchDebounceMs, inputLabel: this.inputLabel, labels: this.labels }), hostBag: (props) => ({ ...props.view.root, 'data-mps': 'tree-select' }), models: ['value'] })"
21459
+ "return": {
21460
+ "type": {
21461
+ "text": "FormAssociatedHost"
21462
+ }
21463
+ },
21464
+ "inheritedFrom": {
21465
+ "name": "FormAssociatedMixin",
21466
+ "module": "a11y/src/form-associated.ts"
21467
+ }
20853
21468
  },
20854
21469
  {
20855
21470
  "kind": "method",
20856
- "name": "open",
21471
+ "name": "syncFormValue",
20857
21472
  "return": {
20858
21473
  "type": {
20859
- "text": "ReturnType<TreeSelectMethods['open']>"
21474
+ "text": "void"
21475
+ }
21476
+ },
21477
+ "description": "Push the host's current value into the form. Call on every change.",
21478
+ "inheritedFrom": {
21479
+ "name": "FormAssociatedMixin",
21480
+ "module": "a11y/src/form-associated.ts"
21481
+ }
21482
+ },
21483
+ {
21484
+ "kind": "method",
21485
+ "name": "setFormValidity",
21486
+ "return": {
21487
+ "type": {
21488
+ "text": "void"
20860
21489
  }
20861
21490
  },
20862
21491
  "parameters": [
20863
21492
  {
20864
- "name": "args",
21493
+ "name": "flags",
20865
21494
  "type": {
20866
- "text": "Parameters<TreeSelectMethods['open']>"
21495
+ "text": "ValidityStateFlags"
21496
+ }
21497
+ },
21498
+ {
21499
+ "name": "message",
21500
+ "optional": true,
21501
+ "type": {
21502
+ "text": "string"
20867
21503
  }
20868
21504
  }
20869
21505
  ],
20870
- "description": "Open the panel (ignored when disabled or without a provider)."
21506
+ "inheritedFrom": {
21507
+ "name": "FormAssociatedMixin",
21508
+ "module": "a11y/src/form-associated.ts"
21509
+ }
20871
21510
  },
20872
21511
  {
20873
21512
  "kind": "method",
20874
- "name": "close",
21513
+ "name": "formDisabledCallback",
20875
21514
  "return": {
20876
21515
  "type": {
20877
- "text": "ReturnType<TreeSelectMethods['close']>"
21516
+ "text": "void"
20878
21517
  }
20879
21518
  },
20880
21519
  "parameters": [
20881
21520
  {
20882
- "name": "args",
21521
+ "name": "disabled",
20883
21522
  "type": {
20884
- "text": "Parameters<TreeSelectMethods['close']>"
21523
+ "text": "boolean"
20885
21524
  }
20886
21525
  }
20887
21526
  ],
20888
- "description": "Close the panel."
21527
+ "inheritedFrom": {
21528
+ "name": "FormAssociatedMixin",
21529
+ "module": "a11y/src/form-associated.ts"
21530
+ }
21531
+ },
21532
+ {
21533
+ "kind": "method",
21534
+ "name": "formResetCallback",
21535
+ "return": {
21536
+ "type": {
21537
+ "text": "void"
21538
+ }
21539
+ },
21540
+ "inheritedFrom": {
21541
+ "name": "FormAssociatedMixin",
21542
+ "module": "a11y/src/form-associated.ts"
21543
+ }
21544
+ },
21545
+ {
21546
+ "kind": "method",
21547
+ "name": "formStateRestoreCallback",
21548
+ "return": {
21549
+ "type": {
21550
+ "text": "void"
21551
+ }
21552
+ },
21553
+ "parameters": [
21554
+ {
21555
+ "name": "state",
21556
+ "type": {
21557
+ "text": "string | FormData | File | null"
21558
+ }
21559
+ }
21560
+ ],
21561
+ "inheritedFrom": {
21562
+ "name": "FormAssociatedMixin",
21563
+ "module": "a11y/src/form-associated.ts"
21564
+ }
20889
21565
  }
20890
21566
  ],
20891
21567
  "attributes": [
20892
21568
  {
20893
- "name": "mode",
20894
- "type": {
20895
- "text": "TreeSelectInputs['mode']"
20896
- },
20897
- "default": "'single'",
20898
- "fieldName": "mode"
21569
+ "name": "invalid"
20899
21570
  },
20900
21571
  {
20901
- "name": "variant",
20902
- "type": {
20903
- "text": "TreeSelectInputs['variant']"
20904
- },
20905
- "default": "'textbox'",
20906
- "fieldName": "variant"
21572
+ "name": "required"
20907
21573
  },
20908
21574
  {
20909
- "name": "cascade-select",
20910
- "type": {
20911
- "text": "TreeSelectInputs['cascadeSelect']"
20912
- },
20913
- "default": "false",
20914
- "fieldName": "cascadeSelect"
21575
+ "name": "error-text"
20915
21576
  },
20916
21577
  {
20917
- "name": "placeholder",
20918
- "type": {
20919
- "text": "TreeSelectInputs['placeholder']"
20920
- },
20921
- "default": "''",
20922
- "fieldName": "placeholder"
21578
+ "name": "checked"
20923
21579
  },
20924
21580
  {
20925
- "name": "show-clear",
20926
- "type": {
20927
- "text": "TreeSelectInputs['showClear']"
20928
- },
20929
- "default": "false",
20930
- "fieldName": "showClear"
21581
+ "name": "disabled"
20931
21582
  },
20932
21583
  {
20933
- "name": "panel-scroll-height",
20934
- "type": {
20935
- "text": "TreeSelectInputs['panelScrollHeight']"
20936
- },
20937
- "default": "'300px'",
20938
- "fieldName": "panelScrollHeight"
21584
+ "name": "name"
20939
21585
  },
20940
21586
  {
20941
- "name": "disabled",
20942
- "type": {
20943
- "text": "TreeSelectInputs['disabled']"
20944
- },
20945
- "default": "false",
20946
- "fieldName": "disabled"
21587
+ "name": "value"
20947
21588
  },
20948
21589
  {
20949
- "name": "search-debounce-ms",
20950
- "type": {
20951
- "text": "TreeSelectInputs['searchDebounceMs']"
20952
- },
20953
- "default": "200",
20954
- "fieldName": "searchDebounceMs"
21590
+ "name": "color"
20955
21591
  },
20956
21592
  {
20957
- "name": "input-label",
20958
- "type": {
20959
- "text": "TreeSelectInputs['inputLabel']"
20960
- },
20961
- "default": "null",
20962
- "fieldName": "inputLabel"
21593
+ "name": "aria-label"
21594
+ },
21595
+ {
21596
+ "name": "input-label"
21597
+ },
21598
+ {
21599
+ "name": "aria-labelledby"
21600
+ },
21601
+ {
21602
+ "name": "aria-describedby"
21603
+ }
21604
+ ],
21605
+ "mixins": [
21606
+ {
21607
+ "name": "FormAssociatedMixin",
21608
+ "package": "@mintplayer/web-components/a11y"
20963
21609
  }
20964
21610
  ],
20965
21611
  "superclass": {
20966
21612
  "name": "LitElement",
20967
21613
  "package": "lit"
20968
21614
  },
20969
- "tagName": "mp-tree-select",
21615
+ "tagName": "mp-toggle-button",
20970
21616
  "customElement": true
20971
21617
  }
20972
21618
  ],
20973
21619
  "exports": [
20974
21620
  {
20975
21621
  "kind": "js",
20976
- "name": "MpTreeSelect",
21622
+ "name": "ToggleButtonColor",
20977
21623
  "declaration": {
20978
- "name": "MpTreeSelect",
20979
- "module": "tree-select/src/generated/mp-tree-select.generated.ts"
21624
+ "name": "ToggleButtonColor",
21625
+ "module": "toggle-button/src/components/mp-toggle-button.ts"
21626
+ }
21627
+ },
21628
+ {
21629
+ "kind": "js",
21630
+ "name": "MpToggleButton",
21631
+ "declaration": {
21632
+ "name": "MpToggleButton",
21633
+ "module": "toggle-button/src/components/mp-toggle-button.ts"
20980
21634
  }
20981
21635
  },
20982
21636
  {
20983
21637
  "kind": "custom-element-definition",
20984
- "name": "mp-tree-select",
21638
+ "name": "mp-toggle-button",
20985
21639
  "declaration": {
20986
- "name": "MpTreeSelect",
20987
- "module": "tree-select/src/generated/mp-tree-select.generated.ts"
21640
+ "name": "MpToggleButton",
21641
+ "module": "toggle-button/src/components/mp-toggle-button.ts"
20988
21642
  }
20989
21643
  }
20990
21644
  ]
20991
21645
  },
20992
21646
  {
20993
21647
  "kind": "javascript-module",
20994
- "path": "tree-select/src/generated/tree-select.view.generated.ts",
21648
+ "path": "toggle-button/src/styles/index.ts",
21649
+ "declarations": [],
21650
+ "exports": [
21651
+ {
21652
+ "kind": "js",
21653
+ "name": "toggleButtonStyles",
21654
+ "declaration": {
21655
+ "name": "toggleButtonStyles",
21656
+ "module": "./toggle-button.styles"
21657
+ }
21658
+ }
21659
+ ]
21660
+ },
21661
+ {
21662
+ "kind": "javascript-module",
21663
+ "path": "toggle-button/src/styles/toggle-button.styles.ts",
20995
21664
  "declarations": [
20996
21665
  {
20997
- "kind": "function",
20998
- "name": "treeSelectTemplate",
20999
- "return": {
21000
- "type": {
21001
- "text": "TemplateResult"
21002
- }
21003
- },
21004
- "parameters": [
21005
- {
21006
- "name": "{ view, slots = {} }",
21007
- "type": {
21008
- "text": "TreeSelectTemplateProps"
21009
- }
21010
- }
21011
- ]
21666
+ "kind": "variable",
21667
+ "name": "toggleButtonStyles"
21012
21668
  }
21013
21669
  ],
21014
21670
  "exports": [
21015
21671
  {
21016
21672
  "kind": "js",
21017
- "name": "treeSelectTemplate",
21673
+ "name": "toggleButtonStyles",
21018
21674
  "declaration": {
21019
- "name": "treeSelectTemplate",
21020
- "module": "tree-select/src/generated/tree-select.view.generated.ts"
21675
+ "name": "toggleButtonStyles",
21676
+ "module": "toggle-button/src/styles/toggle-button.styles.ts"
21677
+ }
21678
+ },
21679
+ {
21680
+ "kind": "js",
21681
+ "name": "default",
21682
+ "declaration": {
21683
+ "name": "toggleButtonStyles",
21684
+ "module": "toggle-button/src/styles/toggle-button.styles.ts"
21021
21685
  }
21022
21686
  }
21023
21687
  ]