@mintplayer/web-components 3.0.0 → 3.1.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.
@@ -16820,38 +16820,38 @@
16820
16820
  },
16821
16821
  {
16822
16822
  "kind": "javascript-module",
16823
- "path": "dock/src/index.ts",
16823
+ "path": "datetime-picker/src/index.ts",
16824
16824
  "declarations": [],
16825
16825
  "exports": [
16826
- {
16827
- "kind": "js",
16828
- "name": "MintDockManagerElement",
16829
- "declaration": {
16830
- "name": "MintDockManagerElement",
16831
- "module": "./components"
16832
- }
16833
- },
16834
16826
  {
16835
16827
  "kind": "js",
16836
16828
  "name": "*",
16837
16829
  "declaration": {
16838
16830
  "name": "*",
16839
- "module": "dock/src/types"
16831
+ "module": "datetime-picker/src/mp-datetime-picker.element"
16840
16832
  }
16841
16833
  }
16842
16834
  ]
16843
16835
  },
16844
16836
  {
16845
16837
  "kind": "javascript-module",
16846
- "path": "datetime-picker/src/index.ts",
16838
+ "path": "dock/src/index.ts",
16847
16839
  "declarations": [],
16848
16840
  "exports": [
16841
+ {
16842
+ "kind": "js",
16843
+ "name": "MintDockManagerElement",
16844
+ "declaration": {
16845
+ "name": "MintDockManagerElement",
16846
+ "module": "./components"
16847
+ }
16848
+ },
16849
16849
  {
16850
16850
  "kind": "js",
16851
16851
  "name": "*",
16852
16852
  "declaration": {
16853
16853
  "name": "*",
16854
- "module": "datetime-picker/src/mp-datetime-picker.element"
16854
+ "module": "dock/src/types"
16855
16855
  }
16856
16856
  }
16857
16857
  ]
@@ -21793,94 +21793,38 @@
21793
21793
  },
21794
21794
  {
21795
21795
  "kind": "javascript-module",
21796
- "path": "treeview/src/index.ts",
21796
+ "path": "toggle-button/src/index.ts",
21797
21797
  "declarations": [],
21798
21798
  "exports": [
21799
21799
  {
21800
21800
  "kind": "js",
21801
- "name": "MpTreeview",
21802
- "declaration": {
21803
- "name": "MpTreeview",
21804
- "module": "./components"
21805
- }
21806
- },
21807
- {
21808
- "kind": "js",
21809
- "name": "TreeviewSelectionMode",
21810
- "declaration": {
21811
- "name": "TreeviewSelectionMode",
21812
- "module": "./components"
21813
- }
21814
- },
21815
- {
21816
- "kind": "js",
21817
- "name": "TreeNodeSelectEventDetail",
21818
- "declaration": {
21819
- "name": "TreeNodeSelectEventDetail",
21820
- "module": "./components"
21821
- }
21822
- },
21823
- {
21824
- "kind": "js",
21825
- "name": "TreeNodeExpandEventDetail",
21826
- "declaration": {
21827
- "name": "TreeNodeExpandEventDetail",
21828
- "module": "./components"
21829
- }
21830
- },
21831
- {
21832
- "kind": "js",
21833
- "name": "TreeNodeCollapseEventDetail",
21834
- "declaration": {
21835
- "name": "TreeNodeCollapseEventDetail",
21836
- "module": "./components"
21837
- }
21838
- },
21839
- {
21840
- "kind": "js",
21841
- "name": "IconResolver",
21842
- "declaration": {
21843
- "name": "IconResolver",
21844
- "module": "./components"
21845
- }
21846
- },
21847
- {
21848
- "kind": "js",
21849
- "name": "TreeNodeRenderer",
21801
+ "name": "MpToggleButton",
21850
21802
  "declaration": {
21851
- "name": "TreeNodeRenderer",
21803
+ "name": "MpToggleButton",
21852
21804
  "module": "./components"
21853
21805
  }
21854
21806
  },
21855
21807
  {
21856
21808
  "kind": "js",
21857
- "name": "TreeNodeRenderContext",
21809
+ "name": "ToggleButtonColor",
21858
21810
  "declaration": {
21859
- "name": "TreeNodeRenderContext",
21811
+ "name": "ToggleButtonColor",
21860
21812
  "module": "./components"
21861
21813
  }
21862
21814
  },
21863
21815
  {
21864
21816
  "kind": "js",
21865
- "name": "TreeChildrenLoader",
21817
+ "name": "ToggleChangeEventDetail",
21866
21818
  "declaration": {
21867
- "name": "TreeChildrenLoader",
21819
+ "name": "ToggleChangeEventDetail",
21868
21820
  "module": "./components"
21869
21821
  }
21870
21822
  },
21871
21823
  {
21872
21824
  "kind": "js",
21873
- "name": "TreeNode",
21874
- "declaration": {
21875
- "name": "TreeNode",
21876
- "module": "./types"
21877
- }
21878
- },
21879
- {
21880
- "kind": "js",
21881
- "name": "treeviewLightStyles",
21825
+ "name": "toggleButtonStyles",
21882
21826
  "declaration": {
21883
- "name": "treeviewLightStyles",
21827
+ "name": "toggleButtonStyles",
21884
21828
  "module": "./styles"
21885
21829
  }
21886
21830
  }
@@ -22007,38 +21951,94 @@
22007
21951
  },
22008
21952
  {
22009
21953
  "kind": "javascript-module",
22010
- "path": "toggle-button/src/index.ts",
21954
+ "path": "treeview/src/index.ts",
22011
21955
  "declarations": [],
22012
21956
  "exports": [
22013
21957
  {
22014
21958
  "kind": "js",
22015
- "name": "MpToggleButton",
21959
+ "name": "MpTreeview",
22016
21960
  "declaration": {
22017
- "name": "MpToggleButton",
21961
+ "name": "MpTreeview",
22018
21962
  "module": "./components"
22019
21963
  }
22020
21964
  },
22021
21965
  {
22022
21966
  "kind": "js",
22023
- "name": "ToggleButtonColor",
21967
+ "name": "TreeviewSelectionMode",
22024
21968
  "declaration": {
22025
- "name": "ToggleButtonColor",
21969
+ "name": "TreeviewSelectionMode",
22026
21970
  "module": "./components"
22027
21971
  }
22028
21972
  },
22029
21973
  {
22030
21974
  "kind": "js",
22031
- "name": "ToggleChangeEventDetail",
21975
+ "name": "TreeNodeSelectEventDetail",
22032
21976
  "declaration": {
22033
- "name": "ToggleChangeEventDetail",
21977
+ "name": "TreeNodeSelectEventDetail",
22034
21978
  "module": "./components"
22035
21979
  }
22036
21980
  },
22037
21981
  {
22038
21982
  "kind": "js",
22039
- "name": "toggleButtonStyles",
21983
+ "name": "TreeNodeExpandEventDetail",
22040
21984
  "declaration": {
22041
- "name": "toggleButtonStyles",
21985
+ "name": "TreeNodeExpandEventDetail",
21986
+ "module": "./components"
21987
+ }
21988
+ },
21989
+ {
21990
+ "kind": "js",
21991
+ "name": "TreeNodeCollapseEventDetail",
21992
+ "declaration": {
21993
+ "name": "TreeNodeCollapseEventDetail",
21994
+ "module": "./components"
21995
+ }
21996
+ },
21997
+ {
21998
+ "kind": "js",
21999
+ "name": "IconResolver",
22000
+ "declaration": {
22001
+ "name": "IconResolver",
22002
+ "module": "./components"
22003
+ }
22004
+ },
22005
+ {
22006
+ "kind": "js",
22007
+ "name": "TreeNodeRenderer",
22008
+ "declaration": {
22009
+ "name": "TreeNodeRenderer",
22010
+ "module": "./components"
22011
+ }
22012
+ },
22013
+ {
22014
+ "kind": "js",
22015
+ "name": "TreeNodeRenderContext",
22016
+ "declaration": {
22017
+ "name": "TreeNodeRenderContext",
22018
+ "module": "./components"
22019
+ }
22020
+ },
22021
+ {
22022
+ "kind": "js",
22023
+ "name": "TreeChildrenLoader",
22024
+ "declaration": {
22025
+ "name": "TreeChildrenLoader",
22026
+ "module": "./components"
22027
+ }
22028
+ },
22029
+ {
22030
+ "kind": "js",
22031
+ "name": "TreeNode",
22032
+ "declaration": {
22033
+ "name": "TreeNode",
22034
+ "module": "./types"
22035
+ }
22036
+ },
22037
+ {
22038
+ "kind": "js",
22039
+ "name": "treeviewLightStyles",
22040
+ "declaration": {
22041
+ "name": "treeviewLightStyles",
22042
22042
  "module": "./styles"
22043
22043
  }
22044
22044
  }
@@ -25442,6 +25442,23 @@
25442
25442
  },
25443
25443
  "description": "Enable scroll-position-driven virtualization. Rows outside the viewport are not rendered."
25444
25444
  },
25445
+ {
25446
+ "kind": "field",
25447
+ "name": "fill",
25448
+ "type": {
25449
+ "text": "boolean"
25450
+ },
25451
+ "description": "Fit a sized parent (#442). The element takes the parent's height and\nbecomes the one scroll container for both axes: the header rows stick to\nits top, the footer to its bottom, and only the rows scroll in between.\nHorizontally the whole table, footer included, scrolls as one. Needs a\nparent with a definite height; without one it behaves like the default.\nReflected as the `fill` attribute, which the stylesheet keys on."
25452
+ },
25453
+ {
25454
+ "kind": "field",
25455
+ "name": "_fill",
25456
+ "type": {
25457
+ "text": "boolean"
25458
+ },
25459
+ "privacy": "private",
25460
+ "default": "false"
25461
+ },
25445
25462
  {
25446
25463
  "kind": "field",
25447
25464
  "name": "itemSize",
@@ -25838,6 +25855,27 @@
25838
25855
  "text": "boolean"
25839
25856
  }
25840
25857
  },
25858
+ {
25859
+ "kind": "method",
25860
+ "name": "bindScroller",
25861
+ "privacy": "private",
25862
+ "return": {
25863
+ "type": {
25864
+ "text": "void"
25865
+ }
25866
+ },
25867
+ "description": "Listen on whichever element scrolls the rows: `.datatable-scroll` by\ndefault, the host itself in fill mode (there `.datatable-scroll` gives up\nits scroll box so `position: sticky` has a single reference for the header\nand the footer). Re-run after every render, so toggling `fill` moves the\nlistener and the observer; a no-op while the scroller is unchanged."
25868
+ },
25869
+ {
25870
+ "kind": "method",
25871
+ "name": "unbindScroller",
25872
+ "privacy": "private",
25873
+ "return": {
25874
+ "type": {
25875
+ "text": "void"
25876
+ }
25877
+ }
25878
+ },
25841
25879
  {
25842
25880
  "kind": "method",
25843
25881
  "name": "publishHeaderHeight",
@@ -27910,6 +27948,9 @@
27910
27948
  {
27911
27949
  "name": "virtual-scroll"
27912
27950
  },
27951
+ {
27952
+ "name": "fill"
27953
+ },
27913
27954
  {
27914
27955
  "name": "item-size"
27915
27956
  },
@@ -31974,6 +32015,12 @@
31974
32015
  }
31975
32016
  ]
31976
32017
  },
32018
+ {
32019
+ "kind": "javascript-module",
32020
+ "path": "multi-range/src/types/multi-range-orientation.ts",
32021
+ "declarations": [],
32022
+ "exports": []
32023
+ },
31977
32024
  {
31978
32025
  "kind": "javascript-module",
31979
32026
  "path": "navbar/src/components/index.ts",
@@ -32552,12 +32599,6 @@
32552
32599
  }
32553
32600
  ]
32554
32601
  },
32555
- {
32556
- "kind": "javascript-module",
32557
- "path": "multi-range/src/types/multi-range-orientation.ts",
32558
- "declarations": [],
32559
- "exports": []
32560
- },
32561
32602
  {
32562
32603
  "kind": "javascript-module",
32563
32604
  "path": "navbar/src/styles/index.ts",
@@ -34281,227 +34322,6 @@
34281
34322
  }
34282
34323
  ]
34283
34324
  },
34284
- {
34285
- "kind": "javascript-module",
34286
- "path": "query-builder/src/dnd/drag-controller.ts",
34287
- "declarations": [
34288
- {
34289
- "kind": "class",
34290
- "description": "",
34291
- "name": "DragController",
34292
- "members": [
34293
- {
34294
- "kind": "field",
34295
- "name": "_source",
34296
- "type": {
34297
- "text": "DragSource | null"
34298
- },
34299
- "privacy": "private",
34300
- "default": "null"
34301
- },
34302
- {
34303
- "kind": "field",
34304
- "name": "_ghost",
34305
- "type": {
34306
- "text": "HTMLElement | null"
34307
- },
34308
- "privacy": "private",
34309
- "default": "null"
34310
- },
34311
- {
34312
- "kind": "field",
34313
- "name": "_lastTarget",
34314
- "type": {
34315
- "text": "DropTarget | null"
34316
- },
34317
- "privacy": "private",
34318
- "default": "null"
34319
- },
34320
- {
34321
- "kind": "field",
34322
- "name": "_offsetX",
34323
- "type": {
34324
- "text": "number"
34325
- },
34326
- "privacy": "private",
34327
- "default": "0"
34328
- },
34329
- {
34330
- "kind": "field",
34331
- "name": "_offsetY",
34332
- "type": {
34333
- "text": "number"
34334
- },
34335
- "privacy": "private",
34336
- "default": "0"
34337
- },
34338
- {
34339
- "kind": "method",
34340
- "name": "isActive",
34341
- "return": {
34342
- "type": {
34343
- "text": "boolean"
34344
- }
34345
- }
34346
- },
34347
- {
34348
- "kind": "method",
34349
- "name": "source",
34350
- "return": {
34351
- "type": {
34352
- "text": "DragSource | null"
34353
- }
34354
- }
34355
- },
34356
- {
34357
- "kind": "method",
34358
- "name": "currentTarget",
34359
- "return": {
34360
- "type": {
34361
- "text": "DropTarget | null"
34362
- }
34363
- }
34364
- },
34365
- {
34366
- "kind": "method",
34367
- "name": "start",
34368
- "return": {
34369
- "type": {
34370
- "text": "void"
34371
- }
34372
- },
34373
- "parameters": [
34374
- {
34375
- "name": "source",
34376
- "type": {
34377
- "text": "DragSource"
34378
- }
34379
- },
34380
- {
34381
- "name": "event",
34382
- "type": {
34383
- "text": "PointerEvent"
34384
- }
34385
- }
34386
- ]
34387
- },
34388
- {
34389
- "kind": "method",
34390
- "name": "move",
34391
- "return": {
34392
- "type": {
34393
- "text": "void"
34394
- }
34395
- },
34396
- "parameters": [
34397
- {
34398
- "name": "event",
34399
- "type": {
34400
- "text": "PointerEvent"
34401
- }
34402
- }
34403
- ]
34404
- },
34405
- {
34406
- "kind": "method",
34407
- "name": "end",
34408
- "return": {
34409
- "type": {
34410
- "text": "DropTarget | null"
34411
- }
34412
- },
34413
- "parameters": [
34414
- {
34415
- "name": "_event",
34416
- "type": {
34417
- "text": "PointerEvent"
34418
- }
34419
- }
34420
- ]
34421
- },
34422
- {
34423
- "kind": "method",
34424
- "name": "cancel",
34425
- "return": {
34426
- "type": {
34427
- "text": "void"
34428
- }
34429
- }
34430
- },
34431
- {
34432
- "kind": "method",
34433
- "name": "cleanup",
34434
- "privacy": "private",
34435
- "return": {
34436
- "type": {
34437
- "text": "void"
34438
- }
34439
- }
34440
- },
34441
- {
34442
- "kind": "method",
34443
- "name": "elementsAt",
34444
- "privacy": "private",
34445
- "return": {
34446
- "type": {
34447
- "text": "Element[]"
34448
- }
34449
- },
34450
- "parameters": [
34451
- {
34452
- "name": "x",
34453
- "type": {
34454
- "text": "number"
34455
- }
34456
- },
34457
- {
34458
- "name": "y",
34459
- "type": {
34460
- "text": "number"
34461
- }
34462
- }
34463
- ],
34464
- "description": "The one hit-test seam: every element under (x, y), topmost first.\n`document.elementsFromPoint` (evergreen: Chromium, Firefox, WebKit 11.1+)\nstops at a shadow host, so the chain is extended one level into the\nshadow root of any host it contains — the builder may itself live inside\nanother component's shadow root. Specs stub this method to say which\nelement is under the pointer; they never fake geometry."
34465
- },
34466
- {
34467
- "kind": "method",
34468
- "name": "resolveDropTarget",
34469
- "privacy": "private",
34470
- "return": {
34471
- "type": {
34472
- "text": "DropTarget | null"
34473
- }
34474
- },
34475
- "parameters": [
34476
- {
34477
- "name": "x",
34478
- "type": {
34479
- "text": "number"
34480
- }
34481
- },
34482
- {
34483
- "name": "y",
34484
- "type": {
34485
- "text": "number"
34486
- }
34487
- }
34488
- ],
34489
- "description": "Returns the first `[data-drop-slot]` under the pointer (or its ancestor)\nthat carries a complete target and whose data-parent-id is NOT in the\nsource's descendant set (cycle prevention)."
34490
- }
34491
- ]
34492
- }
34493
- ],
34494
- "exports": [
34495
- {
34496
- "kind": "js",
34497
- "name": "DragController",
34498
- "declaration": {
34499
- "name": "DragController",
34500
- "module": "query-builder/src/dnd/drag-controller.ts"
34501
- }
34502
- }
34503
- ]
34504
- },
34505
34325
  {
34506
34326
  "kind": "javascript-module",
34507
34327
  "path": "phone-core/src/metadata/cc-1.generated.ts",
@@ -39446,6 +39266,227 @@
39446
39266
  }
39447
39267
  ]
39448
39268
  },
39269
+ {
39270
+ "kind": "javascript-module",
39271
+ "path": "query-builder/src/dnd/drag-controller.ts",
39272
+ "declarations": [
39273
+ {
39274
+ "kind": "class",
39275
+ "description": "",
39276
+ "name": "DragController",
39277
+ "members": [
39278
+ {
39279
+ "kind": "field",
39280
+ "name": "_source",
39281
+ "type": {
39282
+ "text": "DragSource | null"
39283
+ },
39284
+ "privacy": "private",
39285
+ "default": "null"
39286
+ },
39287
+ {
39288
+ "kind": "field",
39289
+ "name": "_ghost",
39290
+ "type": {
39291
+ "text": "HTMLElement | null"
39292
+ },
39293
+ "privacy": "private",
39294
+ "default": "null"
39295
+ },
39296
+ {
39297
+ "kind": "field",
39298
+ "name": "_lastTarget",
39299
+ "type": {
39300
+ "text": "DropTarget | null"
39301
+ },
39302
+ "privacy": "private",
39303
+ "default": "null"
39304
+ },
39305
+ {
39306
+ "kind": "field",
39307
+ "name": "_offsetX",
39308
+ "type": {
39309
+ "text": "number"
39310
+ },
39311
+ "privacy": "private",
39312
+ "default": "0"
39313
+ },
39314
+ {
39315
+ "kind": "field",
39316
+ "name": "_offsetY",
39317
+ "type": {
39318
+ "text": "number"
39319
+ },
39320
+ "privacy": "private",
39321
+ "default": "0"
39322
+ },
39323
+ {
39324
+ "kind": "method",
39325
+ "name": "isActive",
39326
+ "return": {
39327
+ "type": {
39328
+ "text": "boolean"
39329
+ }
39330
+ }
39331
+ },
39332
+ {
39333
+ "kind": "method",
39334
+ "name": "source",
39335
+ "return": {
39336
+ "type": {
39337
+ "text": "DragSource | null"
39338
+ }
39339
+ }
39340
+ },
39341
+ {
39342
+ "kind": "method",
39343
+ "name": "currentTarget",
39344
+ "return": {
39345
+ "type": {
39346
+ "text": "DropTarget | null"
39347
+ }
39348
+ }
39349
+ },
39350
+ {
39351
+ "kind": "method",
39352
+ "name": "start",
39353
+ "return": {
39354
+ "type": {
39355
+ "text": "void"
39356
+ }
39357
+ },
39358
+ "parameters": [
39359
+ {
39360
+ "name": "source",
39361
+ "type": {
39362
+ "text": "DragSource"
39363
+ }
39364
+ },
39365
+ {
39366
+ "name": "event",
39367
+ "type": {
39368
+ "text": "PointerEvent"
39369
+ }
39370
+ }
39371
+ ]
39372
+ },
39373
+ {
39374
+ "kind": "method",
39375
+ "name": "move",
39376
+ "return": {
39377
+ "type": {
39378
+ "text": "void"
39379
+ }
39380
+ },
39381
+ "parameters": [
39382
+ {
39383
+ "name": "event",
39384
+ "type": {
39385
+ "text": "PointerEvent"
39386
+ }
39387
+ }
39388
+ ]
39389
+ },
39390
+ {
39391
+ "kind": "method",
39392
+ "name": "end",
39393
+ "return": {
39394
+ "type": {
39395
+ "text": "DropTarget | null"
39396
+ }
39397
+ },
39398
+ "parameters": [
39399
+ {
39400
+ "name": "_event",
39401
+ "type": {
39402
+ "text": "PointerEvent"
39403
+ }
39404
+ }
39405
+ ]
39406
+ },
39407
+ {
39408
+ "kind": "method",
39409
+ "name": "cancel",
39410
+ "return": {
39411
+ "type": {
39412
+ "text": "void"
39413
+ }
39414
+ }
39415
+ },
39416
+ {
39417
+ "kind": "method",
39418
+ "name": "cleanup",
39419
+ "privacy": "private",
39420
+ "return": {
39421
+ "type": {
39422
+ "text": "void"
39423
+ }
39424
+ }
39425
+ },
39426
+ {
39427
+ "kind": "method",
39428
+ "name": "elementsAt",
39429
+ "privacy": "private",
39430
+ "return": {
39431
+ "type": {
39432
+ "text": "Element[]"
39433
+ }
39434
+ },
39435
+ "parameters": [
39436
+ {
39437
+ "name": "x",
39438
+ "type": {
39439
+ "text": "number"
39440
+ }
39441
+ },
39442
+ {
39443
+ "name": "y",
39444
+ "type": {
39445
+ "text": "number"
39446
+ }
39447
+ }
39448
+ ],
39449
+ "description": "The one hit-test seam: every element under (x, y), topmost first.\n`document.elementsFromPoint` (evergreen: Chromium, Firefox, WebKit 11.1+)\nstops at a shadow host, so the chain is extended one level into the\nshadow root of any host it contains — the builder may itself live inside\nanother component's shadow root. Specs stub this method to say which\nelement is under the pointer; they never fake geometry."
39450
+ },
39451
+ {
39452
+ "kind": "method",
39453
+ "name": "resolveDropTarget",
39454
+ "privacy": "private",
39455
+ "return": {
39456
+ "type": {
39457
+ "text": "DropTarget | null"
39458
+ }
39459
+ },
39460
+ "parameters": [
39461
+ {
39462
+ "name": "x",
39463
+ "type": {
39464
+ "text": "number"
39465
+ }
39466
+ },
39467
+ {
39468
+ "name": "y",
39469
+ "type": {
39470
+ "text": "number"
39471
+ }
39472
+ }
39473
+ ],
39474
+ "description": "Returns the first `[data-drop-slot]` under the pointer (or its ancestor)\nthat carries a complete target and whose data-parent-id is NOT in the\nsource's descendant set (cycle prevention)."
39475
+ }
39476
+ ]
39477
+ }
39478
+ ],
39479
+ "exports": [
39480
+ {
39481
+ "kind": "js",
39482
+ "name": "DragController",
39483
+ "declaration": {
39484
+ "name": "DragController",
39485
+ "module": "query-builder/src/dnd/drag-controller.ts"
39486
+ }
39487
+ }
39488
+ ]
39489
+ },
39449
39490
  {
39450
39491
  "kind": "javascript-module",
39451
39492
  "path": "query-builder/src/model/default-tree.ts",
@@ -51117,85 +51158,451 @@
51117
51158
  },
51118
51159
  {
51119
51160
  "kind": "javascript-module",
51120
- "path": "scheduler-core/src/services/date.service.ts",
51161
+ "path": "scheduler-core/src/models/drag-state.ts",
51162
+ "declarations": [],
51163
+ "exports": []
51164
+ },
51165
+ {
51166
+ "kind": "javascript-module",
51167
+ "path": "scheduler-core/src/models/event.ts",
51168
+ "declarations": [],
51169
+ "exports": []
51170
+ },
51171
+ {
51172
+ "kind": "javascript-module",
51173
+ "path": "scheduler-core/src/models/events.ts",
51174
+ "declarations": [],
51175
+ "exports": []
51176
+ },
51177
+ {
51178
+ "kind": "javascript-module",
51179
+ "path": "scheduler-core/src/models/index.ts",
51180
+ "declarations": [],
51181
+ "exports": [
51182
+ {
51183
+ "kind": "js",
51184
+ "name": "*",
51185
+ "declaration": {
51186
+ "name": "*",
51187
+ "module": "scheduler-core/src/models/types"
51188
+ }
51189
+ },
51190
+ {
51191
+ "kind": "js",
51192
+ "name": "*",
51193
+ "declaration": {
51194
+ "name": "*",
51195
+ "module": "scheduler-core/src/models/event"
51196
+ }
51197
+ },
51198
+ {
51199
+ "kind": "js",
51200
+ "name": "*",
51201
+ "declaration": {
51202
+ "name": "*",
51203
+ "module": "scheduler-core/src/models/resource"
51204
+ }
51205
+ },
51206
+ {
51207
+ "kind": "js",
51208
+ "name": "*",
51209
+ "declaration": {
51210
+ "name": "*",
51211
+ "module": "scheduler-core/src/models/time-slot"
51212
+ }
51213
+ },
51214
+ {
51215
+ "kind": "js",
51216
+ "name": "*",
51217
+ "declaration": {
51218
+ "name": "*",
51219
+ "module": "scheduler-core/src/models/options"
51220
+ }
51221
+ },
51222
+ {
51223
+ "kind": "js",
51224
+ "name": "*",
51225
+ "declaration": {
51226
+ "name": "*",
51227
+ "module": "scheduler-core/src/models/messages"
51228
+ }
51229
+ },
51230
+ {
51231
+ "kind": "js",
51232
+ "name": "*",
51233
+ "declaration": {
51234
+ "name": "*",
51235
+ "module": "scheduler-core/src/models/permissions"
51236
+ }
51237
+ },
51238
+ {
51239
+ "kind": "js",
51240
+ "name": "*",
51241
+ "declaration": {
51242
+ "name": "*",
51243
+ "module": "scheduler-core/src/models/drag-state"
51244
+ }
51245
+ },
51246
+ {
51247
+ "kind": "js",
51248
+ "name": "*",
51249
+ "declaration": {
51250
+ "name": "*",
51251
+ "module": "scheduler-core/src/models/events"
51252
+ }
51253
+ }
51254
+ ]
51255
+ },
51256
+ {
51257
+ "kind": "javascript-module",
51258
+ "path": "scheduler-core/src/models/messages.ts",
51121
51259
  "declarations": [
51122
51260
  {
51123
- "kind": "class",
51124
- "description": "Service for date calculations and formatting",
51125
- "name": "DateService",
51126
- "members": [
51261
+ "kind": "variable",
51262
+ "name": "DEFAULT_MESSAGES",
51263
+ "type": {
51264
+ "text": "SchedulerMessages"
51265
+ },
51266
+ "default": "{ navLabel: 'Scheduler navigation', previousPeriod: 'Previous period', nextPeriod: 'Next period', jumpToToday: 'Jump to today', today: 'Today', switchView: 'Switch view', viewYear: 'Year', viewMonth: 'Month', viewWeek: 'Week', viewDay: 'Day', viewTimeline: 'Timeline', resourcesHeader: 'Resources', unassignedResource: '(No resource)', noResources: 'No resources to show.', timelineGridLabel: 'Resource timeline for week starting {date}', weekGridLabel: 'Week of {date}', dayGridLabel: 'Schedule for {date}', monthGridLabel: 'Month of {date}', yearGridLabel: 'Year {date}', expandGroup: 'Expand {title}', collapseGroup: 'Collapse {title}', addResourceBarLabel: 'Add to the resource list', addResource: 'Add resource', addGroup: 'Add group', rowMenuLabel: 'Actions for {title}', rowMenuDialogLabel: 'Actions for {title}', addResourceToGroup: 'Add resource to {title}', addGroupToGroup: 'Add subgroup to {title}', removeResource: 'Remove {title}', resourceColor: 'Colour for {title}', resizeResourceColumn: 'Resize the resource column', renameResource: 'Rename {title}', renameResourceLabel: 'New name for {title}', resourceRenamed: '{from} renamed to {to}.', moreEvents: '+{count} more', dayPopoverLabel: 'Events on {date}', dayPopoverCount: '{count} {events}', eventSingular: 'event', eventPlural: 'events', dayPopoverEmpty: 'No events.', newEvent: 'New event', showDay: 'Show day', showMonth: 'Show month', closePopover: 'Close', newEventResource: 'Resource', deleteEventLabel: 'Delete {title}', eventEditorLabel: 'Edit {title}', editorTitleLabel: 'Title', editorStartLabel: 'Start', editorEndLabel: 'End', editorColorLabel: 'Colour', editorInheritColor: 'Inherit from resource', editorSave: 'Save', editorCancel: 'Cancel', editorDelete: 'Delete', editorInvalidRange: 'End must be after start.', editorTitleRequired: 'Title is required.', editorEndClamped: 'End adjusted to {end}, the earliest allowed.', editorStartClamped: 'Start adjusted to {start}, the latest allowed.', yearMonthCardLabel: '{month}, {count} {events}', viewChanged: 'View changed to {view}.', eventAdded: 'Event {title} added.', eventUpdated: 'Event {title} updated.', eventRemoved: 'Event {title} removed.', loadingEvents: 'Loading events.', eventsLoaded: 'Events loaded.', moveModeEntered: 'Move mode for {title}. Arrow keys nudge by {minutes} minutes; Shift with arrow keys resizes the end edge; Alt with Shift resizes the start edge; Enter commits, Escape cancels.', moveModeEnteredTimeline: 'Move mode for {title}. Left and Right arrows nudge by {minutes} minutes; Up and Down arrows change the resource; Shift with arrow keys resizes the end edge; Alt with Shift resizes the start edge; Enter commits, Escape cancels.', movedTo: 'Moved to {start}–{end}, {day}', movedToResource: 'Moved to resource {resource}.', resizedEdge: 'Resized {edge} edge to {start}–{end}', startEdge: 'start', endEdge: 'end', moveCommitted: 'Move committed.', moveCancelled: 'Move cancelled.', selection: 'Selection: {start} to {end}, {count} {slots}', slotSingular: 'slot', slotPlural: 'slots', selectionCommitted: 'Selection committed: {start}–{end}.', gridInstructionsReadOnly: 'Use the arrow keys to move between cells. Page Up and Page Down change the period. Alt with T, Y, M, W or D switches to today, year, month, week or day view.', eventInstructionsReadOnly: 'Left and Right arrows move between events.', actionNotAllowed: 'That action is not allowed here.', openDayView: 'Open {date}', gridInstructions: 'Use the arrow keys to move between cells. Hold Shift with the arrow keys to extend the selection, and press Enter to request a new event for the selection. Page Up and Page Down change the period. Alt with T, Y, M, W or D switches to today, year, month, week or day view.', gridInstructionsMonth: 'Use the arrow keys to move between days. Press Enter to request a new event on the focused day, and Space to list that day’s events. Page Up and Page Down change the month. Alt with T, Y, M, W or D switches to today, year, month, week or day view.', gridInstructionsMonthReadOnly: 'Use the arrow keys to move between days. Press Space to list the focused day’s events. Page Up and Page Down change the month. Alt with T, Y, M, W or D switches to today, year, month, week or day view.', // No read-only variant: neither of this view’s commands creates anything. // Enter drills into the focused month and Space lists its events, so the // text is already true under every capability set. gridInstructionsYear: 'Use the arrow keys to move between months. Press Enter to open the focused month, and Space to list its events. Page Up and Page Down change the year. Alt with T, Y, M, W or D switches to today, year, month, week or day view.', eventInstructions: 'Press Enter or M to move or resize the event with the arrow keys. Delete removes the event. Left and Right arrows move between events.', eventInstructionsWithEditor: 'Press Enter or M to move or resize the event with the arrow keys. F2 opens the event editor. Delete removes the event. Left and Right arrows move between events.', eventOnResource: 'on {resource}', }"
51267
+ },
51268
+ {
51269
+ "kind": "function",
51270
+ "name": "formatMessage",
51271
+ "return": {
51272
+ "type": {
51273
+ "text": "string"
51274
+ }
51275
+ },
51276
+ "parameters": [
51127
51277
  {
51128
- "kind": "method",
51129
- "name": "getWeekStart",
51130
- "return": {
51131
- "type": {
51132
- "text": "Date"
51133
- }
51134
- },
51135
- "parameters": [
51136
- {
51137
- "name": "date",
51138
- "type": {
51139
- "text": "Date"
51140
- }
51141
- },
51142
- {
51143
- "name": "firstDayOfWeek",
51144
- "default": "1",
51145
- "type": {
51146
- "text": "DayOfWeek"
51147
- }
51148
- }
51149
- ],
51150
- "description": "Get the start of the week for a given date"
51278
+ "name": "template",
51279
+ "type": {
51280
+ "text": "string"
51281
+ }
51151
51282
  },
51152
51283
  {
51153
- "kind": "method",
51154
- "name": "getWeekDays",
51155
- "return": {
51156
- "type": {
51157
- "text": "Date[]"
51158
- }
51159
- },
51160
- "parameters": [
51161
- {
51162
- "name": "date",
51163
- "type": {
51164
- "text": "Date"
51165
- }
51166
- },
51167
- {
51168
- "name": "firstDayOfWeek",
51169
- "default": "1",
51170
- "type": {
51171
- "text": "DayOfWeek"
51172
- }
51173
- }
51174
- ],
51175
- "description": "Get all days in a week starting from a given date"
51176
- },
51284
+ "name": "params",
51285
+ "optional": true,
51286
+ "type": {
51287
+ "text": "Record<string, string | number>"
51288
+ }
51289
+ }
51290
+ ],
51291
+ "description": "Interpolate `{placeholder}` tokens. Unknown tokens are left verbatim so a\ntypo'd override is visible rather than silently swallowed."
51292
+ },
51293
+ {
51294
+ "kind": "function",
51295
+ "name": "resolveMessages",
51296
+ "return": {
51297
+ "type": {
51298
+ "text": "SchedulerMessages"
51299
+ }
51300
+ },
51301
+ "parameters": [
51177
51302
  {
51178
- "kind": "method",
51179
- "name": "getMonthStart",
51180
- "return": {
51181
- "type": {
51182
- "text": "Date"
51183
- }
51184
- },
51185
- "parameters": [
51186
- {
51187
- "name": "date",
51188
- "type": {
51189
- "text": "Date"
51190
- }
51191
- }
51192
- ],
51193
- "description": "Get the start of the month for a given date"
51194
- },
51303
+ "name": "overrides",
51304
+ "optional": true,
51305
+ "type": {
51306
+ "text": "Partial<SchedulerMessages>"
51307
+ }
51308
+ }
51309
+ ],
51310
+ "description": "Merge a consumer's partial override table onto the English defaults."
51311
+ }
51312
+ ],
51313
+ "exports": [
51314
+ {
51315
+ "kind": "js",
51316
+ "name": "DEFAULT_MESSAGES",
51317
+ "declaration": {
51318
+ "name": "DEFAULT_MESSAGES",
51319
+ "module": "scheduler-core/src/models/messages.ts"
51320
+ }
51321
+ },
51322
+ {
51323
+ "kind": "js",
51324
+ "name": "formatMessage",
51325
+ "declaration": {
51326
+ "name": "formatMessage",
51327
+ "module": "scheduler-core/src/models/messages.ts"
51328
+ }
51329
+ },
51330
+ {
51331
+ "kind": "js",
51332
+ "name": "resolveMessages",
51333
+ "declaration": {
51334
+ "name": "resolveMessages",
51335
+ "module": "scheduler-core/src/models/messages.ts"
51336
+ }
51337
+ }
51338
+ ]
51339
+ },
51340
+ {
51341
+ "kind": "javascript-module",
51342
+ "path": "scheduler-core/src/models/options.ts",
51343
+ "declarations": [
51344
+ {
51345
+ "kind": "variable",
51346
+ "name": "DEFAULT_OPTIONS",
51347
+ "type": {
51348
+ "text": "SchedulerDefaultOptions"
51349
+ },
51350
+ "default": "{ initialView: 'week', initialDate: new Date(), timeZone: 'local', slotDuration: 1800, slotLabelInterval: 3600, slotMinTime: '00:00:00', slotMaxTime: '24:00:00', businessHours: { daysOfWeek: [1, 2, 3, 4, 5], startTime: '09:00', endTime: '17:00', }, height: 'auto', contentHeight: 'auto', aspectRatio: 1.35, expandRows: false, headerToolbar: { start: 'prev,next today', center: 'title', end: 'year,month,week,day,timeline', }, messages: DEFAULT_MESSAGES, // Empty table, NOT DEFAULT_PERMISSIONS: per-capability fallback happens inside // resolveCapability, so an unspecified capability keeps its documented default. permissions: {}, defaultEventColor: DEFAULT_EVENT_COLOR, nowIndicator: true, dayMaxEvents: true, moreLinkBehavior: 'popover', dayClickAction: 'popover', eventEditor: true, requireEventResource: false, }"
51351
+ }
51352
+ ],
51353
+ "exports": [
51354
+ {
51355
+ "kind": "js",
51356
+ "name": "DEFAULT_OPTIONS",
51357
+ "declaration": {
51358
+ "name": "DEFAULT_OPTIONS",
51359
+ "module": "scheduler-core/src/models/options.ts"
51360
+ }
51361
+ }
51362
+ ]
51363
+ },
51364
+ {
51365
+ "kind": "javascript-module",
51366
+ "path": "scheduler-core/src/models/permissions.ts",
51367
+ "declarations": [
51368
+ {
51369
+ "kind": "variable",
51370
+ "name": "DEFAULT_PERMISSIONS",
51371
+ "type": {
51372
+ "text": "Readonly<Record<SchedulerCapability, boolean>>"
51373
+ },
51374
+ "default": "{ createEvent: true, moveEvent: true, resizeEvent: true, deleteEvent: true, editEvent: true, selectRange: true, createResource: false, updateResource: false, deleteResource: false, createGroup: false, }",
51375
+ "description": "Defaults: everything about events is allowed (matching the component's\nbehaviour before permissions existed), but creating resources and groups is\nOFF — no surveyed calendar library ships resource-creation UI, so the default\nstays \"resources are data the app supplies\"."
51376
+ },
51377
+ {
51378
+ "kind": "function",
51379
+ "name": "resolveCapability",
51380
+ "return": {
51381
+ "type": {
51382
+ "text": "boolean"
51383
+ }
51384
+ },
51385
+ "parameters": [
51195
51386
  {
51196
- "kind": "method",
51197
- "name": "getMonthEnd",
51198
- "return": {
51387
+ "name": "capability",
51388
+ "type": {
51389
+ "text": "SchedulerCapability"
51390
+ }
51391
+ },
51392
+ {
51393
+ "name": "opts",
51394
+ "type": {
51395
+ "text": "{\n readonly?: boolean;\n permissions?: boolean | Partial<SchedulerPermissions>;\n event?: SchedulerEvent | null;\n }"
51396
+ }
51397
+ }
51398
+ ],
51399
+ "description": "Resolve one capability.\n\nPrecedence: `readonly` host attribute → `permissions === false` →\n`permissions[cap]` → per-item override → default. A per-item flag can only\never *deny*; it cannot re-enable something a global setting switched off,\nmirroring the OR-down-the-tree rule mp-query-builder uses for nested disable."
51400
+ },
51401
+ {
51402
+ "kind": "function",
51403
+ "name": "resolveResizeEdge",
51404
+ "return": {
51405
+ "type": {
51406
+ "text": "boolean"
51407
+ }
51408
+ },
51409
+ "parameters": [
51410
+ {
51411
+ "name": "edge",
51412
+ "type": {
51413
+ "text": "'start' | 'end'"
51414
+ }
51415
+ },
51416
+ {
51417
+ "name": "opts",
51418
+ "type": {
51419
+ "text": "{\n readonly?: boolean;\n permissions?: boolean | Partial<SchedulerPermissions>;\n event?: SchedulerEvent | null;\n }"
51420
+ }
51421
+ }
51422
+ ],
51423
+ "description": "May this event be resized *from this edge*?\n\nOnly the three direct-manipulation surfaces ask — the resize handles, the\npointer gesture, and Shift+Arrow vs Alt+Shift+Arrow — because there the edge\nis a property of the **gesture**, not of the permission. Everything else\nasks `resolveCapability('resizeEvent', …)`."
51424
+ }
51425
+ ],
51426
+ "exports": [
51427
+ {
51428
+ "kind": "js",
51429
+ "name": "DEFAULT_PERMISSIONS",
51430
+ "declaration": {
51431
+ "name": "DEFAULT_PERMISSIONS",
51432
+ "module": "scheduler-core/src/models/permissions.ts"
51433
+ }
51434
+ },
51435
+ {
51436
+ "kind": "js",
51437
+ "name": "resolveCapability",
51438
+ "declaration": {
51439
+ "name": "resolveCapability",
51440
+ "module": "scheduler-core/src/models/permissions.ts"
51441
+ }
51442
+ },
51443
+ {
51444
+ "kind": "js",
51445
+ "name": "resolveResizeEdge",
51446
+ "declaration": {
51447
+ "name": "resolveResizeEdge",
51448
+ "module": "scheduler-core/src/models/permissions.ts"
51449
+ }
51450
+ }
51451
+ ]
51452
+ },
51453
+ {
51454
+ "kind": "javascript-module",
51455
+ "path": "scheduler-core/src/models/resource.ts",
51456
+ "declarations": [
51457
+ {
51458
+ "kind": "function",
51459
+ "name": "isResource",
51460
+ "return": {
51461
+ "type": {
51462
+ "text": "item is Resource"
51463
+ }
51464
+ },
51465
+ "parameters": [
51466
+ {
51467
+ "name": "item",
51468
+ "type": {
51469
+ "text": "Resource | ResourceGroup"
51470
+ }
51471
+ }
51472
+ ],
51473
+ "description": "Type guard to check if an item is a Resource"
51474
+ },
51475
+ {
51476
+ "kind": "function",
51477
+ "name": "isResourceGroup",
51478
+ "return": {
51479
+ "type": {
51480
+ "text": "item is ResourceGroup"
51481
+ }
51482
+ },
51483
+ "parameters": [
51484
+ {
51485
+ "name": "item",
51486
+ "type": {
51487
+ "text": "Resource | ResourceGroup"
51488
+ }
51489
+ }
51490
+ ],
51491
+ "description": "Type guard to check if an item is a ResourceGroup"
51492
+ }
51493
+ ],
51494
+ "exports": [
51495
+ {
51496
+ "kind": "js",
51497
+ "name": "isResource",
51498
+ "declaration": {
51499
+ "name": "isResource",
51500
+ "module": "scheduler-core/src/models/resource.ts"
51501
+ }
51502
+ },
51503
+ {
51504
+ "kind": "js",
51505
+ "name": "isResourceGroup",
51506
+ "declaration": {
51507
+ "name": "isResourceGroup",
51508
+ "module": "scheduler-core/src/models/resource.ts"
51509
+ }
51510
+ }
51511
+ ]
51512
+ },
51513
+ {
51514
+ "kind": "javascript-module",
51515
+ "path": "scheduler-core/src/models/time-slot.ts",
51516
+ "declarations": [],
51517
+ "exports": []
51518
+ },
51519
+ {
51520
+ "kind": "javascript-module",
51521
+ "path": "scheduler-core/src/models/types.ts",
51522
+ "declarations": [],
51523
+ "exports": []
51524
+ },
51525
+ {
51526
+ "kind": "javascript-module",
51527
+ "path": "scheduler-core/src/services/date.service.ts",
51528
+ "declarations": [
51529
+ {
51530
+ "kind": "class",
51531
+ "description": "Service for date calculations and formatting",
51532
+ "name": "DateService",
51533
+ "members": [
51534
+ {
51535
+ "kind": "method",
51536
+ "name": "getWeekStart",
51537
+ "return": {
51538
+ "type": {
51539
+ "text": "Date"
51540
+ }
51541
+ },
51542
+ "parameters": [
51543
+ {
51544
+ "name": "date",
51545
+ "type": {
51546
+ "text": "Date"
51547
+ }
51548
+ },
51549
+ {
51550
+ "name": "firstDayOfWeek",
51551
+ "default": "1",
51552
+ "type": {
51553
+ "text": "DayOfWeek"
51554
+ }
51555
+ }
51556
+ ],
51557
+ "description": "Get the start of the week for a given date"
51558
+ },
51559
+ {
51560
+ "kind": "method",
51561
+ "name": "getWeekDays",
51562
+ "return": {
51563
+ "type": {
51564
+ "text": "Date[]"
51565
+ }
51566
+ },
51567
+ "parameters": [
51568
+ {
51569
+ "name": "date",
51570
+ "type": {
51571
+ "text": "Date"
51572
+ }
51573
+ },
51574
+ {
51575
+ "name": "firstDayOfWeek",
51576
+ "default": "1",
51577
+ "type": {
51578
+ "text": "DayOfWeek"
51579
+ }
51580
+ }
51581
+ ],
51582
+ "description": "Get all days in a week starting from a given date"
51583
+ },
51584
+ {
51585
+ "kind": "method",
51586
+ "name": "getMonthStart",
51587
+ "return": {
51588
+ "type": {
51589
+ "text": "Date"
51590
+ }
51591
+ },
51592
+ "parameters": [
51593
+ {
51594
+ "name": "date",
51595
+ "type": {
51596
+ "text": "Date"
51597
+ }
51598
+ }
51599
+ ],
51600
+ "description": "Get the start of the month for a given date"
51601
+ },
51602
+ {
51603
+ "kind": "method",
51604
+ "name": "getMonthEnd",
51605
+ "return": {
51199
51606
  "type": {
51200
51607
  "text": "Date"
51201
51608
  }
@@ -53075,116 +53482,20 @@
53075
53482
  },
53076
53483
  {
53077
53484
  "kind": "javascript-module",
53078
- "path": "scheduler-core/src/models/drag-state.ts",
53079
- "declarations": [],
53080
- "exports": []
53081
- },
53082
- {
53083
- "kind": "javascript-module",
53084
- "path": "scheduler-core/src/models/event.ts",
53085
- "declarations": [],
53086
- "exports": []
53087
- },
53088
- {
53089
- "kind": "javascript-module",
53090
- "path": "scheduler-core/src/models/events.ts",
53091
- "declarations": [],
53092
- "exports": []
53093
- },
53094
- {
53095
- "kind": "javascript-module",
53096
- "path": "scheduler-core/src/models/index.ts",
53097
- "declarations": [],
53098
- "exports": [
53099
- {
53100
- "kind": "js",
53101
- "name": "*",
53102
- "declaration": {
53103
- "name": "*",
53104
- "module": "scheduler-core/src/models/types"
53105
- }
53106
- },
53107
- {
53108
- "kind": "js",
53109
- "name": "*",
53110
- "declaration": {
53111
- "name": "*",
53112
- "module": "scheduler-core/src/models/event"
53113
- }
53114
- },
53115
- {
53116
- "kind": "js",
53117
- "name": "*",
53118
- "declaration": {
53119
- "name": "*",
53120
- "module": "scheduler-core/src/models/resource"
53121
- }
53122
- },
53123
- {
53124
- "kind": "js",
53125
- "name": "*",
53126
- "declaration": {
53127
- "name": "*",
53128
- "module": "scheduler-core/src/models/time-slot"
53129
- }
53130
- },
53131
- {
53132
- "kind": "js",
53133
- "name": "*",
53134
- "declaration": {
53135
- "name": "*",
53136
- "module": "scheduler-core/src/models/options"
53137
- }
53138
- },
53139
- {
53140
- "kind": "js",
53141
- "name": "*",
53142
- "declaration": {
53143
- "name": "*",
53144
- "module": "scheduler-core/src/models/messages"
53145
- }
53146
- },
53147
- {
53148
- "kind": "js",
53149
- "name": "*",
53150
- "declaration": {
53151
- "name": "*",
53152
- "module": "scheduler-core/src/models/permissions"
53153
- }
53154
- },
53155
- {
53156
- "kind": "js",
53157
- "name": "*",
53158
- "declaration": {
53159
- "name": "*",
53160
- "module": "scheduler-core/src/models/drag-state"
53161
- }
53162
- },
53163
- {
53164
- "kind": "js",
53165
- "name": "*",
53166
- "declaration": {
53167
- "name": "*",
53168
- "module": "scheduler-core/src/models/events"
53169
- }
53170
- }
53171
- ]
53172
- },
53173
- {
53174
- "kind": "javascript-module",
53175
- "path": "scheduler-core/src/models/messages.ts",
53485
+ "path": "scheduler-core/src/utils/color.ts",
53176
53486
  "declarations": [
53177
53487
  {
53178
53488
  "kind": "variable",
53179
- "name": "DEFAULT_MESSAGES",
53489
+ "name": "DEFAULT_COLORS",
53180
53490
  "type": {
53181
- "text": "SchedulerMessages"
53491
+ "text": "array"
53182
53492
  },
53183
- "default": "{ navLabel: 'Scheduler navigation', previousPeriod: 'Previous period', nextPeriod: 'Next period', jumpToToday: 'Jump to today', today: 'Today', switchView: 'Switch view', viewYear: 'Year', viewMonth: 'Month', viewWeek: 'Week', viewDay: 'Day', viewTimeline: 'Timeline', resourcesHeader: 'Resources', unassignedResource: '(No resource)', noResources: 'No resources to show.', timelineGridLabel: 'Resource timeline for week starting {date}', weekGridLabel: 'Week of {date}', dayGridLabel: 'Schedule for {date}', monthGridLabel: 'Month of {date}', yearGridLabel: 'Year {date}', expandGroup: 'Expand {title}', collapseGroup: 'Collapse {title}', addResourceBarLabel: 'Add to the resource list', addResource: 'Add resource', addGroup: 'Add group', rowMenuLabel: 'Actions for {title}', rowMenuDialogLabel: 'Actions for {title}', addResourceToGroup: 'Add resource to {title}', addGroupToGroup: 'Add subgroup to {title}', removeResource: 'Remove {title}', resourceColor: 'Colour for {title}', resizeResourceColumn: 'Resize the resource column', renameResource: 'Rename {title}', renameResourceLabel: 'New name for {title}', resourceRenamed: '{from} renamed to {to}.', moreEvents: '+{count} more', dayPopoverLabel: 'Events on {date}', dayPopoverCount: '{count} {events}', eventSingular: 'event', eventPlural: 'events', dayPopoverEmpty: 'No events.', newEvent: 'New event', showDay: 'Show day', showMonth: 'Show month', closePopover: 'Close', newEventResource: 'Resource', deleteEventLabel: 'Delete {title}', eventEditorLabel: 'Edit {title}', editorTitleLabel: 'Title', editorStartLabel: 'Start', editorEndLabel: 'End', editorColorLabel: 'Colour', editorInheritColor: 'Inherit from resource', editorSave: 'Save', editorCancel: 'Cancel', editorDelete: 'Delete', editorInvalidRange: 'End must be after start.', editorTitleRequired: 'Title is required.', editorEndClamped: 'End adjusted to {end}, the earliest allowed.', editorStartClamped: 'Start adjusted to {start}, the latest allowed.', yearMonthCardLabel: '{month}, {count} {events}', viewChanged: 'View changed to {view}.', eventAdded: 'Event {title} added.', eventUpdated: 'Event {title} updated.', eventRemoved: 'Event {title} removed.', loadingEvents: 'Loading events.', eventsLoaded: 'Events loaded.', moveModeEntered: 'Move mode for {title}. Arrow keys nudge by {minutes} minutes; Shift with arrow keys resizes the end edge; Alt with Shift resizes the start edge; Enter commits, Escape cancels.', moveModeEnteredTimeline: 'Move mode for {title}. Left and Right arrows nudge by {minutes} minutes; Up and Down arrows change the resource; Shift with arrow keys resizes the end edge; Alt with Shift resizes the start edge; Enter commits, Escape cancels.', movedTo: 'Moved to {start}–{end}, {day}', movedToResource: 'Moved to resource {resource}.', resizedEdge: 'Resized {edge} edge to {start}–{end}', startEdge: 'start', endEdge: 'end', moveCommitted: 'Move committed.', moveCancelled: 'Move cancelled.', selection: 'Selection: {start} to {end}, {count} {slots}', slotSingular: 'slot', slotPlural: 'slots', selectionCommitted: 'Selection committed: {start}–{end}.', gridInstructionsReadOnly: 'Use the arrow keys to move between cells. Page Up and Page Down change the period. Alt with T, Y, M, W or D switches to today, year, month, week or day view.', eventInstructionsReadOnly: 'Left and Right arrows move between events.', actionNotAllowed: 'That action is not allowed here.', openDayView: 'Open {date}', gridInstructions: 'Use the arrow keys to move between cells. Hold Shift with the arrow keys to extend the selection, and press Enter to request a new event for the selection. Page Up and Page Down change the period. Alt with T, Y, M, W or D switches to today, year, month, week or day view.', gridInstructionsMonth: 'Use the arrow keys to move between days. Press Enter to request a new event on the focused day, and Space to list that day’s events. Page Up and Page Down change the month. Alt with T, Y, M, W or D switches to today, year, month, week or day view.', gridInstructionsMonthReadOnly: 'Use the arrow keys to move between days. Press Space to list the focused day’s events. Page Up and Page Down change the month. Alt with T, Y, M, W or D switches to today, year, month, week or day view.', // No read-only variant: neither of this view’s commands creates anything. // Enter drills into the focused month and Space lists its events, so the // text is already true under every capability set. gridInstructionsYear: 'Use the arrow keys to move between months. Press Enter to open the focused month, and Space to list its events. Page Up and Page Down change the year. Alt with T, Y, M, W or D switches to today, year, month, week or day view.', eventInstructions: 'Press Enter or M to move or resize the event with the arrow keys. Delete removes the event. Left and Right arrows move between events.', eventInstructionsWithEditor: 'Press Enter or M to move or resize the event with the arrow keys. F2 opens the event editor. Delete removes the event. Left and Right arrows move between events.', eventOnResource: 'on {resource}', }"
53493
+ "default": "[ '#3788d8', // Blue '#28a745', // Green '#dc3545', // Red '#ffc107', // Yellow '#17a2b8', // Cyan '#6f42c1', // Purple '#fd7e14', // Orange '#20c997', // Teal '#e83e8c', // Pink '#6c757d', // Gray ]",
53494
+ "description": "Default colors for events"
53184
53495
  },
53185
53496
  {
53186
53497
  "kind": "function",
53187
- "name": "formatMessage",
53498
+ "name": "getColorByIndex",
53188
53499
  "return": {
53189
53500
  "type": {
53190
53501
  "text": "string"
@@ -53192,405 +53503,135 @@
53192
53503
  },
53193
53504
  "parameters": [
53194
53505
  {
53195
- "name": "template",
53196
- "type": {
53197
- "text": "string"
53198
- }
53199
- },
53200
- {
53201
- "name": "params",
53202
- "optional": true,
53506
+ "name": "index",
53203
53507
  "type": {
53204
- "text": "Record<string, string | number>"
53508
+ "text": "number"
53205
53509
  }
53206
53510
  }
53207
53511
  ],
53208
- "description": "Interpolate `{placeholder}` tokens. Unknown tokens are left verbatim so a\ntypo'd override is visible rather than silently swallowed."
53512
+ "description": "Get a color by index (cycles through default colors)"
53209
53513
  },
53210
53514
  {
53211
53515
  "kind": "function",
53212
- "name": "resolveMessages",
53516
+ "name": "getContrastColor",
53213
53517
  "return": {
53214
53518
  "type": {
53215
- "text": "SchedulerMessages"
53519
+ "text": "string"
53216
53520
  }
53217
53521
  },
53218
53522
  "parameters": [
53219
53523
  {
53220
- "name": "overrides",
53221
- "optional": true,
53524
+ "name": "backgroundColor",
53222
53525
  "type": {
53223
- "text": "Partial<SchedulerMessages>"
53526
+ "text": "string"
53224
53527
  }
53225
53528
  }
53226
53529
  ],
53227
- "description": "Merge a consumer's partial override table onto the English defaults."
53228
- }
53229
- ],
53230
- "exports": [
53231
- {
53232
- "kind": "js",
53233
- "name": "DEFAULT_MESSAGES",
53234
- "declaration": {
53235
- "name": "DEFAULT_MESSAGES",
53236
- "module": "scheduler-core/src/models/messages.ts"
53237
- }
53238
- },
53239
- {
53240
- "kind": "js",
53241
- "name": "formatMessage",
53242
- "declaration": {
53243
- "name": "formatMessage",
53244
- "module": "scheduler-core/src/models/messages.ts"
53245
- }
53530
+ "description": "Calculate contrasting text color (black or white) for a background"
53246
53531
  },
53247
53532
  {
53248
- "kind": "js",
53249
- "name": "resolveMessages",
53250
- "declaration": {
53251
- "name": "resolveMessages",
53252
- "module": "scheduler-core/src/models/messages.ts"
53253
- }
53254
- }
53255
- ]
53256
- },
53257
- {
53258
- "kind": "javascript-module",
53259
- "path": "scheduler-core/src/models/options.ts",
53260
- "declarations": [
53261
- {
53262
- "kind": "variable",
53263
- "name": "DEFAULT_OPTIONS",
53264
- "type": {
53265
- "text": "SchedulerDefaultOptions"
53266
- },
53267
- "default": "{ initialView: 'week', initialDate: new Date(), timeZone: 'local', slotDuration: 1800, slotLabelInterval: 3600, slotMinTime: '00:00:00', slotMaxTime: '24:00:00', businessHours: { daysOfWeek: [1, 2, 3, 4, 5], startTime: '09:00', endTime: '17:00', }, height: 'auto', contentHeight: 'auto', aspectRatio: 1.35, expandRows: false, headerToolbar: { start: 'prev,next today', center: 'title', end: 'year,month,week,day,timeline', }, messages: DEFAULT_MESSAGES, // Empty table, NOT DEFAULT_PERMISSIONS: per-capability fallback happens inside // resolveCapability, so an unspecified capability keeps its documented default. permissions: {}, defaultEventColor: DEFAULT_EVENT_COLOR, nowIndicator: true, dayMaxEvents: true, moreLinkBehavior: 'popover', dayClickAction: 'popover', eventEditor: true, requireEventResource: false, }"
53268
- }
53269
- ],
53270
- "exports": [
53271
- {
53272
- "kind": "js",
53273
- "name": "DEFAULT_OPTIONS",
53274
- "declaration": {
53275
- "name": "DEFAULT_OPTIONS",
53276
- "module": "scheduler-core/src/models/options.ts"
53277
- }
53278
- }
53279
- ]
53280
- },
53281
- {
53282
- "kind": "javascript-module",
53283
- "path": "scheduler-core/src/models/permissions.ts",
53284
- "declarations": [
53285
- {
53286
- "kind": "variable",
53287
- "name": "DEFAULT_PERMISSIONS",
53288
- "type": {
53289
- "text": "Readonly<Record<SchedulerCapability, boolean>>"
53533
+ "kind": "function",
53534
+ "name": "getReadableTextColor",
53535
+ "return": {
53536
+ "type": {
53537
+ "text": "string | null"
53538
+ }
53290
53539
  },
53291
- "default": "{ createEvent: true, moveEvent: true, resizeEvent: true, deleteEvent: true, editEvent: true, selectRange: true, createResource: false, updateResource: false, deleteResource: false, createGroup: false, }",
53292
- "description": "Defaults: everything about events is allowed (matching the component's\nbehaviour before permissions existed), but creating resources and groups is\nOFF — no surveyed calendar library ships resource-creation UI, so the default\nstays \"resources are data the app supplies\"."
53540
+ "parameters": [
53541
+ {
53542
+ "name": "background",
53543
+ "type": {
53544
+ "text": "string"
53545
+ }
53546
+ }
53547
+ ],
53548
+ "description": "Black or white — whichever actually scores the higher WCAG contrast ratio\nagainst `background`. `null` when the colour cannot be parsed.\n\nDistinct from getContrastColor, which computes YIQ *perceived\nbrightness* against a 0.5 threshold. YIQ is a reasonable approximation for\ndecorative text and is what every event label in the scheduler already uses,\nbut it is not the WCAG formula and can pick the losing foreground on mid-tone\nbackgrounds. Use this one wherever the result carries meaning a user must be\nable to read — an interactive control's glyph, say — and leave the existing\ncallers alone: switching them would recolour every event label in all five\nviews, which deserves its own visual review rather than a drive-by."
53293
53549
  },
53294
53550
  {
53295
53551
  "kind": "function",
53296
- "name": "resolveCapability",
53552
+ "name": "contrastRatioWith",
53297
53553
  "return": {
53298
53554
  "type": {
53299
- "text": "boolean"
53555
+ "text": "number | null"
53300
53556
  }
53301
53557
  },
53302
53558
  "parameters": [
53303
53559
  {
53304
- "name": "capability",
53560
+ "name": "background",
53305
53561
  "type": {
53306
- "text": "SchedulerCapability"
53562
+ "text": "string"
53307
53563
  }
53308
53564
  },
53309
53565
  {
53310
- "name": "opts",
53566
+ "name": "foreground",
53311
53567
  "type": {
53312
- "text": "{\n readonly?: boolean;\n permissions?: boolean | Partial<SchedulerPermissions>;\n event?: SchedulerEvent | null;\n }"
53568
+ "text": "string"
53313
53569
  }
53314
53570
  }
53315
53571
  ],
53316
- "description": "Resolve one capability.\n\nPrecedence: `readonly` host attribute → `permissions === false` →\n`permissions[cap]` → per-item override → default. A per-item flag can only\never *deny*; it cannot re-enable something a global setting switched off,\nmirroring the OR-down-the-tree rule mp-query-builder uses for nested disable."
53572
+ "description": "The WCAG contrast ratio between a hex colour and black or white, so callers\n(and tests) can assert a threshold rather than trust a branch."
53317
53573
  },
53318
53574
  {
53319
53575
  "kind": "function",
53320
- "name": "resolveResizeEdge",
53576
+ "name": "lightenColor",
53321
53577
  "return": {
53322
53578
  "type": {
53323
- "text": "boolean"
53579
+ "text": "string"
53324
53580
  }
53325
53581
  },
53326
53582
  "parameters": [
53327
53583
  {
53328
- "name": "edge",
53584
+ "name": "color",
53329
53585
  "type": {
53330
- "text": "'start' | 'end'"
53586
+ "text": "string"
53331
53587
  }
53332
53588
  },
53333
53589
  {
53334
- "name": "opts",
53590
+ "name": "percent",
53335
53591
  "type": {
53336
- "text": "{\n readonly?: boolean;\n permissions?: boolean | Partial<SchedulerPermissions>;\n event?: SchedulerEvent | null;\n }"
53592
+ "text": "number"
53337
53593
  }
53338
53594
  }
53339
53595
  ],
53340
- "description": "May this event be resized *from this edge*?\n\nOnly the three direct-manipulation surfaces ask — the resize handles, the\npointer gesture, and Shift+Arrow vs Alt+Shift+Arrow — because there the edge\nis a property of the **gesture**, not of the permission. Everything else\nasks `resolveCapability('resizeEvent', …)`."
53341
- }
53342
- ],
53343
- "exports": [
53344
- {
53345
- "kind": "js",
53346
- "name": "DEFAULT_PERMISSIONS",
53347
- "declaration": {
53348
- "name": "DEFAULT_PERMISSIONS",
53349
- "module": "scheduler-core/src/models/permissions.ts"
53350
- }
53351
- },
53352
- {
53353
- "kind": "js",
53354
- "name": "resolveCapability",
53355
- "declaration": {
53356
- "name": "resolveCapability",
53357
- "module": "scheduler-core/src/models/permissions.ts"
53358
- }
53596
+ "description": "Lighten a color by a percentage"
53359
53597
  },
53360
- {
53361
- "kind": "js",
53362
- "name": "resolveResizeEdge",
53363
- "declaration": {
53364
- "name": "resolveResizeEdge",
53365
- "module": "scheduler-core/src/models/permissions.ts"
53366
- }
53367
- }
53368
- ]
53369
- },
53370
- {
53371
- "kind": "javascript-module",
53372
- "path": "scheduler-core/src/models/resource.ts",
53373
- "declarations": [
53374
53598
  {
53375
53599
  "kind": "function",
53376
- "name": "isResource",
53600
+ "name": "darkenColor",
53377
53601
  "return": {
53378
53602
  "type": {
53379
- "text": "item is Resource"
53603
+ "text": "string"
53380
53604
  }
53381
53605
  },
53382
53606
  "parameters": [
53383
53607
  {
53384
- "name": "item",
53608
+ "name": "color",
53385
53609
  "type": {
53386
- "text": "Resource | ResourceGroup"
53610
+ "text": "string"
53611
+ }
53612
+ },
53613
+ {
53614
+ "name": "percent",
53615
+ "type": {
53616
+ "text": "number"
53387
53617
  }
53388
53618
  }
53389
53619
  ],
53390
- "description": "Type guard to check if an item is a Resource"
53620
+ "description": "Darken a color by a percentage"
53391
53621
  },
53392
53622
  {
53393
53623
  "kind": "function",
53394
- "name": "isResourceGroup",
53624
+ "name": "addAlpha",
53395
53625
  "return": {
53396
53626
  "type": {
53397
- "text": "item is ResourceGroup"
53627
+ "text": "string"
53398
53628
  }
53399
53629
  },
53400
53630
  "parameters": [
53401
53631
  {
53402
- "name": "item",
53632
+ "name": "color",
53403
53633
  "type": {
53404
- "text": "Resource | ResourceGroup"
53405
- }
53406
- }
53407
- ],
53408
- "description": "Type guard to check if an item is a ResourceGroup"
53409
- }
53410
- ],
53411
- "exports": [
53412
- {
53413
- "kind": "js",
53414
- "name": "isResource",
53415
- "declaration": {
53416
- "name": "isResource",
53417
- "module": "scheduler-core/src/models/resource.ts"
53418
- }
53419
- },
53420
- {
53421
- "kind": "js",
53422
- "name": "isResourceGroup",
53423
- "declaration": {
53424
- "name": "isResourceGroup",
53425
- "module": "scheduler-core/src/models/resource.ts"
53426
- }
53427
- }
53428
- ]
53429
- },
53430
- {
53431
- "kind": "javascript-module",
53432
- "path": "scheduler-core/src/models/time-slot.ts",
53433
- "declarations": [],
53434
- "exports": []
53435
- },
53436
- {
53437
- "kind": "javascript-module",
53438
- "path": "scheduler-core/src/models/types.ts",
53439
- "declarations": [],
53440
- "exports": []
53441
- },
53442
- {
53443
- "kind": "javascript-module",
53444
- "path": "scheduler-core/src/utils/color.ts",
53445
- "declarations": [
53446
- {
53447
- "kind": "variable",
53448
- "name": "DEFAULT_COLORS",
53449
- "type": {
53450
- "text": "array"
53451
- },
53452
- "default": "[ '#3788d8', // Blue '#28a745', // Green '#dc3545', // Red '#ffc107', // Yellow '#17a2b8', // Cyan '#6f42c1', // Purple '#fd7e14', // Orange '#20c997', // Teal '#e83e8c', // Pink '#6c757d', // Gray ]",
53453
- "description": "Default colors for events"
53454
- },
53455
- {
53456
- "kind": "function",
53457
- "name": "getColorByIndex",
53458
- "return": {
53459
- "type": {
53460
- "text": "string"
53461
- }
53462
- },
53463
- "parameters": [
53464
- {
53465
- "name": "index",
53466
- "type": {
53467
- "text": "number"
53468
- }
53469
- }
53470
- ],
53471
- "description": "Get a color by index (cycles through default colors)"
53472
- },
53473
- {
53474
- "kind": "function",
53475
- "name": "getContrastColor",
53476
- "return": {
53477
- "type": {
53478
- "text": "string"
53479
- }
53480
- },
53481
- "parameters": [
53482
- {
53483
- "name": "backgroundColor",
53484
- "type": {
53485
- "text": "string"
53486
- }
53487
- }
53488
- ],
53489
- "description": "Calculate contrasting text color (black or white) for a background"
53490
- },
53491
- {
53492
- "kind": "function",
53493
- "name": "getReadableTextColor",
53494
- "return": {
53495
- "type": {
53496
- "text": "string | null"
53497
- }
53498
- },
53499
- "parameters": [
53500
- {
53501
- "name": "background",
53502
- "type": {
53503
- "text": "string"
53504
- }
53505
- }
53506
- ],
53507
- "description": "Black or white — whichever actually scores the higher WCAG contrast ratio\nagainst `background`. `null` when the colour cannot be parsed.\n\nDistinct from getContrastColor, which computes YIQ *perceived\nbrightness* against a 0.5 threshold. YIQ is a reasonable approximation for\ndecorative text and is what every event label in the scheduler already uses,\nbut it is not the WCAG formula and can pick the losing foreground on mid-tone\nbackgrounds. Use this one wherever the result carries meaning a user must be\nable to read — an interactive control's glyph, say — and leave the existing\ncallers alone: switching them would recolour every event label in all five\nviews, which deserves its own visual review rather than a drive-by."
53508
- },
53509
- {
53510
- "kind": "function",
53511
- "name": "contrastRatioWith",
53512
- "return": {
53513
- "type": {
53514
- "text": "number | null"
53515
- }
53516
- },
53517
- "parameters": [
53518
- {
53519
- "name": "background",
53520
- "type": {
53521
- "text": "string"
53522
- }
53523
- },
53524
- {
53525
- "name": "foreground",
53526
- "type": {
53527
- "text": "string"
53528
- }
53529
- }
53530
- ],
53531
- "description": "The WCAG contrast ratio between a hex colour and black or white, so callers\n(and tests) can assert a threshold rather than trust a branch."
53532
- },
53533
- {
53534
- "kind": "function",
53535
- "name": "lightenColor",
53536
- "return": {
53537
- "type": {
53538
- "text": "string"
53539
- }
53540
- },
53541
- "parameters": [
53542
- {
53543
- "name": "color",
53544
- "type": {
53545
- "text": "string"
53546
- }
53547
- },
53548
- {
53549
- "name": "percent",
53550
- "type": {
53551
- "text": "number"
53552
- }
53553
- }
53554
- ],
53555
- "description": "Lighten a color by a percentage"
53556
- },
53557
- {
53558
- "kind": "function",
53559
- "name": "darkenColor",
53560
- "return": {
53561
- "type": {
53562
- "text": "string"
53563
- }
53564
- },
53565
- "parameters": [
53566
- {
53567
- "name": "color",
53568
- "type": {
53569
- "text": "string"
53570
- }
53571
- },
53572
- {
53573
- "name": "percent",
53574
- "type": {
53575
- "text": "number"
53576
- }
53577
- }
53578
- ],
53579
- "description": "Darken a color by a percentage"
53580
- },
53581
- {
53582
- "kind": "function",
53583
- "name": "addAlpha",
53584
- "return": {
53585
- "type": {
53586
- "text": "string"
53587
- }
53588
- },
53589
- "parameters": [
53590
- {
53591
- "name": "color",
53592
- "type": {
53593
- "text": "string"
53634
+ "text": "string"
53594
53635
  }
53595
53636
  },
53596
53637
  {
@@ -57156,154 +57197,6 @@
57156
57197
  }
57157
57198
  ]
57158
57199
  },
57159
- {
57160
- "kind": "javascript-module",
57161
- "path": "theming/src/components/mp-theme-toggle.ts",
57162
- "declarations": [
57163
- {
57164
- "kind": "class",
57165
- "description": "`<mp-theme-toggle>` — a button that cycles the document's colour mode\nthrough a list of modes (PRD dark-mode D7).\n\nTier: shadow (it mounts no consumer DOM). no-JS: none (control requires\nscript). There is no DSD chrome and nothing in codegen-ssr-chrome: a toggle\ncannot work without script and must never render enabled when it cannot\nfunction. No-JS visitors still get OS-following colours from the pre-boot\nscript and the stylesheet. `color-mode.css` reserves the element's 1.5em box\nbefore it upgrades, so defining it causes no layout shift.\n\nState lives in the theme store (`getBsThemeStore()`), never here: the element\nsubscribes on connect, unsubscribes on disconnect, and a click calls\n`setMode()`. Anything else that changes the mode (a framework service, another\ntab) re-renders it.\n\n`modes` (property only, default `BS_THEME_DEFAULT_MODES`) is the cycle, in\narray order. Entries whose `mode` fails `isValidThemeMode` are dropped with a\nwarning; `null`, `undefined`, or a list with no usable entry falls back to\nthe default, so the control is never left with nothing to cycle. A current mode that is not in the list shows entry 0 and cycles to\nentry 1. More than about three modes wants a menu (radio group) instead.\n\nAccessibility:\n - a native `<button type=\"button\">`: Enter and Space cycle, no custom keymap;\n - its name is the NEXT entry's `label` (the action);\n - `aria-describedby` points at a visually hidden node in this shadow root\n holding the CURRENT entry's `announcement`, rewritten in the same render;\n - after a click the new entry's `announcement` goes out once through a\n polite live region (transient), while the description stays re-readable;\n - the icon is `aria-hidden` and `focusable=\"false\"`.",
57166
- "name": "MpThemeToggle",
57167
- "members": [
57168
- {
57169
- "kind": "field",
57170
- "name": "shadowRootOptions",
57171
- "type": {
57172
- "text": "object"
57173
- },
57174
- "static": true,
57175
- "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
57176
- },
57177
- {
57178
- "kind": "field",
57179
- "name": "_modes",
57180
- "type": {
57181
- "text": "readonly BsThemeToggleMode[]"
57182
- },
57183
- "privacy": "private",
57184
- "default": "BS_THEME_DEFAULT_MODES"
57185
- },
57186
- {
57187
- "kind": "field",
57188
- "name": "_currentMode",
57189
- "type": {
57190
- "text": "string | null"
57191
- },
57192
- "privacy": "private",
57193
- "default": "null",
57194
- "description": "The store's mode, mirrored for rendering. `null` until connected in a browser."
57195
- },
57196
- {
57197
- "kind": "field",
57198
- "name": "_unsubscribe",
57199
- "type": {
57200
- "text": "(() => void) | null"
57201
- },
57202
- "privacy": "private",
57203
- "default": "null"
57204
- },
57205
- {
57206
- "kind": "field",
57207
- "name": "_announcer",
57208
- "privacy": "private",
57209
- "readonly": true,
57210
- "default": "new LiveAnnouncerController(this, { politeness: 'polite' })"
57211
- },
57212
- {
57213
- "kind": "field",
57214
- "name": "modes",
57215
- "type": {
57216
- "text": "readonly BsThemeToggleMode[]"
57217
- },
57218
- "description": "`null`/`undefined` resets to `BS_THEME_DEFAULT_MODES`. So does a list with no\nusable entry (empty, or every entry invalid), with a warning: a toggle with\nzero modes would be a broken control."
57219
- },
57220
- {
57221
- "kind": "method",
57222
- "name": "_syncFromStore",
57223
- "privacy": "private",
57224
- "return": {
57225
- "type": {
57226
- "text": "void"
57227
- }
57228
- }
57229
- },
57230
- {
57231
- "kind": "method",
57232
- "name": "_currentIndex",
57233
- "privacy": "private",
57234
- "return": {
57235
- "type": {
57236
- "text": "number"
57237
- }
57238
- },
57239
- "description": "Index of the current mode in `modes`, or -1 when it is not in the list."
57240
- },
57241
- {
57242
- "kind": "method",
57243
- "name": "_entries",
57244
- "privacy": "private",
57245
- "return": {
57246
- "type": {
57247
- "text": "{ current: BsThemeToggleMode; next: BsThemeToggleMode } | null"
57248
- }
57249
- }
57250
- },
57251
- {
57252
- "kind": "method",
57253
- "name": "_onClick",
57254
- "privacy": "private",
57255
- "return": {
57256
- "type": {
57257
- "text": "void"
57258
- }
57259
- }
57260
- },
57261
- {
57262
- "kind": "method",
57263
- "name": "_renderIcon",
57264
- "privacy": "private",
57265
- "return": {
57266
- "type": {
57267
- "text": "TemplateResult"
57268
- }
57269
- },
57270
- "parameters": [
57271
- {
57272
- "name": "icon",
57273
- "type": {
57274
- "text": "string | readonly string[]"
57275
- }
57276
- }
57277
- ]
57278
- }
57279
- ],
57280
- "superclass": {
57281
- "name": "LitElement",
57282
- "package": "lit"
57283
- },
57284
- "tagName": "mp-theme-toggle",
57285
- "customElement": true
57286
- }
57287
- ],
57288
- "exports": [
57289
- {
57290
- "kind": "js",
57291
- "name": "MpThemeToggle",
57292
- "declaration": {
57293
- "name": "MpThemeToggle",
57294
- "module": "theming/src/components/mp-theme-toggle.ts"
57295
- }
57296
- },
57297
- {
57298
- "kind": "custom-element-definition",
57299
- "name": "mp-theme-toggle",
57300
- "declaration": {
57301
- "name": "MpThemeToggle",
57302
- "module": "theming/src/components/mp-theme-toggle.ts"
57303
- }
57304
- }
57305
- ]
57306
- },
57307
57200
  {
57308
57201
  "kind": "javascript-module",
57309
57202
  "path": "tab-control/src/types/index.ts",
@@ -57325,6 +57218,154 @@
57325
57218
  "declarations": [],
57326
57219
  "exports": []
57327
57220
  },
57221
+ {
57222
+ "kind": "javascript-module",
57223
+ "path": "theming/src/components/mp-theme-toggle.ts",
57224
+ "declarations": [
57225
+ {
57226
+ "kind": "class",
57227
+ "description": "`<mp-theme-toggle>` — a button that cycles the document's colour mode\nthrough a list of modes (PRD dark-mode D7).\n\nTier: shadow (it mounts no consumer DOM). no-JS: none (control requires\nscript). There is no DSD chrome and nothing in codegen-ssr-chrome: a toggle\ncannot work without script and must never render enabled when it cannot\nfunction. No-JS visitors still get OS-following colours from the pre-boot\nscript and the stylesheet. `color-mode.css` reserves the element's 1.5em box\nbefore it upgrades, so defining it causes no layout shift.\n\nState lives in the theme store (`getBsThemeStore()`), never here: the element\nsubscribes on connect, unsubscribes on disconnect, and a click calls\n`setMode()`. Anything else that changes the mode (a framework service, another\ntab) re-renders it.\n\n`modes` (property only, default `BS_THEME_DEFAULT_MODES`) is the cycle, in\narray order. Entries whose `mode` fails `isValidThemeMode` are dropped with a\nwarning; `null`, `undefined`, or a list with no usable entry falls back to\nthe default, so the control is never left with nothing to cycle. A current mode that is not in the list shows entry 0 and cycles to\nentry 1. More than about three modes wants a menu (radio group) instead.\n\nAccessibility:\n - a native `<button type=\"button\">`: Enter and Space cycle, no custom keymap;\n - its name is the NEXT entry's `label` (the action);\n - `aria-describedby` points at a visually hidden node in this shadow root\n holding the CURRENT entry's `announcement`, rewritten in the same render;\n - after a click the new entry's `announcement` goes out once through a\n polite live region (transient), while the description stays re-readable;\n - the icon is `aria-hidden` and `focusable=\"false\"`.",
57228
+ "name": "MpThemeToggle",
57229
+ "members": [
57230
+ {
57231
+ "kind": "field",
57232
+ "name": "shadowRootOptions",
57233
+ "type": {
57234
+ "text": "object"
57235
+ },
57236
+ "static": true,
57237
+ "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
57238
+ },
57239
+ {
57240
+ "kind": "field",
57241
+ "name": "_modes",
57242
+ "type": {
57243
+ "text": "readonly BsThemeToggleMode[]"
57244
+ },
57245
+ "privacy": "private",
57246
+ "default": "BS_THEME_DEFAULT_MODES"
57247
+ },
57248
+ {
57249
+ "kind": "field",
57250
+ "name": "_currentMode",
57251
+ "type": {
57252
+ "text": "string | null"
57253
+ },
57254
+ "privacy": "private",
57255
+ "default": "null",
57256
+ "description": "The store's mode, mirrored for rendering. `null` until connected in a browser."
57257
+ },
57258
+ {
57259
+ "kind": "field",
57260
+ "name": "_unsubscribe",
57261
+ "type": {
57262
+ "text": "(() => void) | null"
57263
+ },
57264
+ "privacy": "private",
57265
+ "default": "null"
57266
+ },
57267
+ {
57268
+ "kind": "field",
57269
+ "name": "_announcer",
57270
+ "privacy": "private",
57271
+ "readonly": true,
57272
+ "default": "new LiveAnnouncerController(this, { politeness: 'polite' })"
57273
+ },
57274
+ {
57275
+ "kind": "field",
57276
+ "name": "modes",
57277
+ "type": {
57278
+ "text": "readonly BsThemeToggleMode[]"
57279
+ },
57280
+ "description": "`null`/`undefined` resets to `BS_THEME_DEFAULT_MODES`. So does a list with no\nusable entry (empty, or every entry invalid), with a warning: a toggle with\nzero modes would be a broken control."
57281
+ },
57282
+ {
57283
+ "kind": "method",
57284
+ "name": "_syncFromStore",
57285
+ "privacy": "private",
57286
+ "return": {
57287
+ "type": {
57288
+ "text": "void"
57289
+ }
57290
+ }
57291
+ },
57292
+ {
57293
+ "kind": "method",
57294
+ "name": "_currentIndex",
57295
+ "privacy": "private",
57296
+ "return": {
57297
+ "type": {
57298
+ "text": "number"
57299
+ }
57300
+ },
57301
+ "description": "Index of the current mode in `modes`, or -1 when it is not in the list."
57302
+ },
57303
+ {
57304
+ "kind": "method",
57305
+ "name": "_entries",
57306
+ "privacy": "private",
57307
+ "return": {
57308
+ "type": {
57309
+ "text": "{ current: BsThemeToggleMode; next: BsThemeToggleMode } | null"
57310
+ }
57311
+ }
57312
+ },
57313
+ {
57314
+ "kind": "method",
57315
+ "name": "_onClick",
57316
+ "privacy": "private",
57317
+ "return": {
57318
+ "type": {
57319
+ "text": "void"
57320
+ }
57321
+ }
57322
+ },
57323
+ {
57324
+ "kind": "method",
57325
+ "name": "_renderIcon",
57326
+ "privacy": "private",
57327
+ "return": {
57328
+ "type": {
57329
+ "text": "TemplateResult"
57330
+ }
57331
+ },
57332
+ "parameters": [
57333
+ {
57334
+ "name": "icon",
57335
+ "type": {
57336
+ "text": "string | readonly string[]"
57337
+ }
57338
+ }
57339
+ ]
57340
+ }
57341
+ ],
57342
+ "superclass": {
57343
+ "name": "LitElement",
57344
+ "package": "lit"
57345
+ },
57346
+ "tagName": "mp-theme-toggle",
57347
+ "customElement": true
57348
+ }
57349
+ ],
57350
+ "exports": [
57351
+ {
57352
+ "kind": "js",
57353
+ "name": "MpThemeToggle",
57354
+ "declaration": {
57355
+ "name": "MpThemeToggle",
57356
+ "module": "theming/src/components/mp-theme-toggle.ts"
57357
+ }
57358
+ },
57359
+ {
57360
+ "kind": "custom-element-definition",
57361
+ "name": "mp-theme-toggle",
57362
+ "declaration": {
57363
+ "name": "MpThemeToggle",
57364
+ "module": "theming/src/components/mp-theme-toggle.ts"
57365
+ }
57366
+ }
57367
+ ]
57368
+ },
57328
57369
  {
57329
57370
  "kind": "javascript-module",
57330
57371
  "path": "theming/src/styles/theme-toggle.styles.ts",
@@ -59138,138 +59179,65 @@
59138
59179
  },
59139
59180
  {
59140
59181
  "kind": "javascript-module",
59141
- "path": "treeview/src/components/index.ts",
59182
+ "path": "toggle-button/src/components/index.ts",
59142
59183
  "declarations": [],
59143
59184
  "exports": [
59144
59185
  {
59145
59186
  "kind": "js",
59146
- "name": "MpTreeview",
59147
- "declaration": {
59148
- "name": "MpTreeview",
59149
- "module": "./mp-treeview"
59150
- }
59151
- },
59152
- {
59153
- "kind": "js",
59154
- "name": "TreeviewSelectionMode",
59155
- "declaration": {
59156
- "name": "TreeviewSelectionMode",
59157
- "module": "./mp-treeview"
59158
- }
59159
- },
59160
- {
59161
- "kind": "js",
59162
- "name": "TreeNodeSelectEventDetail",
59163
- "declaration": {
59164
- "name": "TreeNodeSelectEventDetail",
59165
- "module": "./mp-treeview"
59166
- }
59167
- },
59168
- {
59169
- "kind": "js",
59170
- "name": "TreeNodeExpandEventDetail",
59171
- "declaration": {
59172
- "name": "TreeNodeExpandEventDetail",
59173
- "module": "./mp-treeview"
59174
- }
59175
- },
59176
- {
59177
- "kind": "js",
59178
- "name": "TreeNodeCollapseEventDetail",
59179
- "declaration": {
59180
- "name": "TreeNodeCollapseEventDetail",
59181
- "module": "./mp-treeview"
59182
- }
59183
- },
59184
- {
59185
- "kind": "js",
59186
- "name": "IconResolver",
59187
- "declaration": {
59188
- "name": "IconResolver",
59189
- "module": "./mp-treeview"
59190
- }
59191
- },
59192
- {
59193
- "kind": "js",
59194
- "name": "TreeNodeRenderer",
59187
+ "name": "MpToggleButton",
59195
59188
  "declaration": {
59196
- "name": "TreeNodeRenderer",
59197
- "module": "./mp-treeview"
59189
+ "name": "MpToggleButton",
59190
+ "module": "./mp-toggle-button"
59198
59191
  }
59199
59192
  },
59200
59193
  {
59201
59194
  "kind": "js",
59202
- "name": "TreeNodeRenderContext",
59195
+ "name": "ToggleButtonColor",
59203
59196
  "declaration": {
59204
- "name": "TreeNodeRenderContext",
59205
- "module": "./mp-treeview"
59197
+ "name": "ToggleButtonColor",
59198
+ "module": "./mp-toggle-button"
59206
59199
  }
59207
59200
  },
59208
59201
  {
59209
59202
  "kind": "js",
59210
- "name": "TreeChildrenLoader",
59203
+ "name": "ToggleChangeEventDetail",
59211
59204
  "declaration": {
59212
- "name": "TreeChildrenLoader",
59213
- "module": "./mp-treeview"
59205
+ "name": "ToggleChangeEventDetail",
59206
+ "module": "./mp-toggle-button"
59214
59207
  }
59215
59208
  }
59216
59209
  ]
59217
59210
  },
59218
59211
  {
59219
59212
  "kind": "javascript-module",
59220
- "path": "treeview/src/components/mp-treeview.ts",
59213
+ "path": "toggle-button/src/components/mp-toggle-button.ts",
59221
59214
  "declarations": [
59222
59215
  {
59223
59216
  "kind": "class",
59224
- "description": "`<mp-treeview>` — data-driven recursive tree.\n\nLight-DOM properties:\n- `items: TreeNode[]` (property only)\n- `expanded-ids` / `expandedIds: string[]`\n- `selected-ids` / `selectedIds: string[]`\n- `selection-mode`: `'none' | 'single' | 'multiple'`\n- `hide-borders`: removes the outer list-group border and per-row separators\n\nEvents: `tree-node-select`, `tree-node-expand`, `tree-node-collapse`.",
59225
- "name": "MpTreeview",
59217
+ "description": "`<mp-toggle-button>` — a single Bootstrap-styled on/off button using the\n`btn-check` + `label.btn` pattern. Acts as both a usable standalone WC\nand the carrier of the shared `form-check` / `btn-check` SCSS that\n`<mp-checkbox>` and `<mp-radio>` reuse via the exported `toggleButtonStyles`\n`CSSResult` (single parsed stylesheet shared across shadow roots).\n\nAttributes (all reflected): `checked`, `disabled`, `name`, `value`, `color`.\nEmits a native-style `change` event with\n`detail: { checked, value }` when toggled.",
59218
+ "name": "MpToggleButton",
59226
59219
  "members": [
59227
59220
  {
59228
59221
  "kind": "field",
59229
- "name": "instanceId",
59230
- "privacy": "private",
59231
- "readonly": true,
59232
- "default": "`mp-treeview-${++instanceCounter}`"
59233
- },
59234
- {
59235
- "kind": "field",
59236
- "name": "_items",
59237
- "type": {
59238
- "text": "TreeNode[]"
59239
- },
59240
- "privacy": "private",
59241
- "default": "[]"
59242
- },
59243
- {
59244
- "kind": "field",
59245
- "name": "_expandedIds",
59246
- "type": {
59247
- "text": "Set<string>"
59248
- },
59249
- "privacy": "private",
59250
- "default": "new Set()"
59251
- },
59252
- {
59253
- "kind": "field",
59254
- "name": "_selectedIds",
59222
+ "name": "shadowRootOptions",
59255
59223
  "type": {
59256
- "text": "Set<string>"
59224
+ "text": "object"
59257
59225
  },
59258
- "privacy": "private",
59259
- "default": "new Set()"
59226
+ "static": true,
59227
+ "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
59260
59228
  },
59261
59229
  {
59262
59230
  "kind": "field",
59263
- "name": "_selectionMode",
59231
+ "name": "_checked",
59264
59232
  "type": {
59265
- "text": "TreeviewSelectionMode"
59233
+ "text": "boolean"
59266
59234
  },
59267
59235
  "privacy": "private",
59268
- "default": "'single'"
59236
+ "default": "false"
59269
59237
  },
59270
59238
  {
59271
59239
  "kind": "field",
59272
- "name": "_hideBorders",
59240
+ "name": "_disabled",
59273
59241
  "type": {
59274
59242
  "text": "boolean"
59275
59243
  },
@@ -59278,59 +59246,43 @@
59278
59246
  },
59279
59247
  {
59280
59248
  "kind": "field",
59281
- "name": "_iconResolver",
59282
- "type": {
59283
- "text": "IconResolver | undefined"
59284
- },
59285
- "privacy": "private"
59286
- },
59287
- {
59288
- "kind": "field",
59289
- "name": "_nodeRenderer",
59249
+ "name": "_name",
59290
59250
  "type": {
59291
- "text": "TreeNodeRenderer | undefined"
59251
+ "text": "string | null"
59292
59252
  },
59293
- "privacy": "private"
59253
+ "privacy": "private",
59254
+ "default": "null"
59294
59255
  },
59295
59256
  {
59296
59257
  "kind": "field",
59297
- "name": "_loadChildren",
59258
+ "name": "_value",
59298
59259
  "type": {
59299
- "text": "TreeChildrenLoader | undefined"
59260
+ "text": "string | null"
59300
59261
  },
59301
- "privacy": "private"
59262
+ "privacy": "private",
59263
+ "default": "null"
59302
59264
  },
59303
59265
  {
59304
59266
  "kind": "field",
59305
- "name": "_loadingIds",
59267
+ "name": "_color",
59306
59268
  "type": {
59307
- "text": "Set<string>"
59269
+ "text": "ToggleButtonColor"
59308
59270
  },
59309
59271
  "privacy": "private",
59310
- "default": "new Set()",
59311
- "description": "Loading state per lazy-node id."
59272
+ "default": "'primary'"
59312
59273
  },
59313
59274
  {
59314
59275
  "kind": "field",
59315
- "name": "_errorIds",
59276
+ "name": "_inputLabel",
59316
59277
  "type": {
59317
- "text": "Map<string, string>"
59278
+ "text": "string | null"
59318
59279
  },
59319
59280
  "privacy": "private",
59320
- "default": "new Map()",
59321
- "description": "Last load error per node id."
59322
- },
59323
- {
59324
- "kind": "field",
59325
- "name": "liveAnnouncer",
59326
- "privacy": "private",
59327
- "readonly": true,
59328
- "default": "new LiveAnnouncerController(this, { omitRole: true })",
59329
- "description": "Lazy loads have no visible focus move; announce start, finish and ERROR."
59281
+ "default": "null"
59330
59282
  },
59331
59283
  {
59332
59284
  "kind": "field",
59333
- "name": "_focusedId",
59285
+ "name": "_errorText",
59334
59286
  "type": {
59335
59287
  "text": "string | null"
59336
59288
  },
@@ -59339,198 +59291,127 @@
59339
59291
  },
59340
59292
  {
59341
59293
  "kind": "field",
59342
- "name": "_visibleOrder",
59343
- "type": {
59344
- "text": "TreeNode[]"
59345
- },
59294
+ "name": "hostAria",
59346
59295
  "privacy": "private",
59347
- "default": "[]"
59296
+ "readonly": true,
59297
+ "default": "new HostAriaController(this, { referenceTarget: () => this._inputRef.value ?? null, describedByExtras: () => errorFeedbackElements(this.renderRoot), })",
59298
+ "description": "Tier-2 naming; references target the real control inside the shadow root."
59348
59299
  },
59349
59300
  {
59350
59301
  "kind": "field",
59351
- "name": "_byId",
59352
- "type": {
59353
- "text": "Map<string, TreeNode>"
59354
- },
59302
+ "name": "_inputId",
59355
59303
  "privacy": "private",
59356
- "default": "new Map()"
59304
+ "readonly": true,
59305
+ "default": "`mp-toggle-button-${++instanceCounter}`"
59357
59306
  },
59358
59307
  {
59359
59308
  "kind": "field",
59360
- "name": "_parentById",
59361
- "type": {
59362
- "text": "Map<string, TreeNode | null>"
59363
- },
59309
+ "name": "_errorId",
59364
59310
  "privacy": "private",
59365
- "default": "new Map()"
59311
+ "readonly": true,
59312
+ "default": "`mp-toggle-button-${instanceCounter}-error`"
59366
59313
  },
59367
59314
  {
59368
59315
  "kind": "field",
59369
- "name": "items",
59316
+ "name": "_inputRef",
59370
59317
  "type": {
59371
- "text": "TreeNode[]"
59372
- }
59373
- },
59374
- {
59375
- "kind": "method",
59376
- "name": "rebuildIndex",
59318
+ "text": "Ref<HTMLInputElement>"
59319
+ },
59377
59320
  "privacy": "private",
59378
- "return": {
59379
- "type": {
59380
- "text": "void"
59381
- }
59382
- }
59321
+ "readonly": true
59383
59322
  },
59384
59323
  {
59385
59324
  "kind": "field",
59386
- "name": "expandedIds",
59325
+ "name": "inputLabel",
59387
59326
  "type": {
59388
- "text": "string[]"
59389
- }
59327
+ "text": "string | null"
59328
+ },
59329
+ "description": "Optional override for the inner <input>'s accessible name. Usually\nunnecessary — the slotted visible text names the control through the\nflat-tree label association (slotted-label spike; verdict in the plan). For an icon-only\ntoggle, or a name that must differ from the visible text, set this."
59390
59330
  },
59391
59331
  {
59392
59332
  "kind": "field",
59393
- "name": "selectedIds",
59333
+ "name": "errorText",
59394
59334
  "type": {
59395
- "text": "string[]"
59396
- }
59335
+ "text": "string | null"
59336
+ },
59337
+ "description": "Validation message, as `errorText` / `error-text`. Rendered as a\n`.invalid-feedback` node inside the shadow root and referenced from the inner\n`<input>` by `aria-errormessage` **and** `aria-describedby`, but only while\n`invalid` is set — `aria-errormessage` is meaningless on a control that is not\n`aria-invalid`. Text rather than a node, because a consumer's own element sits\noutside this shadow root where an IDREF from the input cannot reach it."
59397
59338
  },
59398
59339
  {
59399
59340
  "kind": "field",
59400
- "name": "selectionMode",
59341
+ "name": "checked",
59401
59342
  "type": {
59402
- "text": "TreeviewSelectionMode"
59343
+ "text": "boolean"
59403
59344
  }
59404
59345
  },
59405
59346
  {
59406
59347
  "kind": "field",
59407
- "name": "hideBorders",
59348
+ "name": "disabled",
59408
59349
  "type": {
59409
59350
  "text": "boolean"
59410
59351
  }
59411
59352
  },
59412
59353
  {
59413
59354
  "kind": "field",
59414
- "name": "iconResolver",
59355
+ "name": "name",
59415
59356
  "type": {
59416
- "text": "IconResolver | undefined"
59357
+ "text": "string | null"
59417
59358
  }
59418
59359
  },
59419
59360
  {
59420
59361
  "kind": "field",
59421
- "name": "nodeRenderer",
59422
- "type": {
59423
- "text": "TreeNodeRenderer | undefined"
59424
- },
59425
- "description": "Per-node DOM renderer. When set, the WC calls this for each node's body\n(chevron stays). The returned Node replaces the default icon+label.\nSet by Angular wrapper to bridge `*bsTreeviewNode` templates into the\nshadow DOM via EmbeddedViewRef-managed nodes."
59426
- },
59427
- {
59428
- "kind": "field",
59429
- "name": "loadChildren",
59430
- "type": {
59431
- "text": "TreeChildrenLoader | undefined"
59432
- },
59433
- "description": "Async children loader. Invoked once per node when a `lazy` (or\nchildren-less) node is first expanded. While the promise is in flight\nthe chevron is replaced by a spinner; on rejection an error indicator\nis shown and the node can be re-expanded to retry."
59434
- },
59435
- {
59436
- "kind": "field",
59437
- "name": "_inputLabel",
59362
+ "name": "value",
59438
59363
  "type": {
59439
59364
  "text": "string | null"
59440
- },
59441
- "privacy": "private",
59442
- "default": "null"
59365
+ }
59443
59366
  },
59444
59367
  {
59445
59368
  "kind": "field",
59446
- "name": "inputLabel",
59369
+ "name": "color",
59447
59370
  "type": {
59448
- "text": "string | null"
59449
- },
59450
- "description": "Accessible name for the in-shadow role=tree node (tier-2 naming: the\nhost is generic, so a consumer cannot name the tree any other way).\nA host `aria-label` wins over this, per the B-phase contract."
59371
+ "text": "ToggleButtonColor"
59372
+ }
59451
59373
  },
59452
59374
  {
59453
59375
  "kind": "method",
59454
- "name": "renderNodes",
59376
+ "name": "reflectBoolean",
59455
59377
  "privacy": "private",
59456
59378
  "return": {
59457
59379
  "type": {
59458
- "text": "TemplateResult"
59380
+ "text": "void"
59459
59381
  }
59460
59382
  },
59461
59383
  "parameters": [
59462
59384
  {
59463
- "name": "nodes",
59385
+ "name": "attr",
59464
59386
  "type": {
59465
- "text": "ReadonlyArray<TreeNode>"
59387
+ "text": "string"
59466
59388
  }
59467
59389
  },
59468
59390
  {
59469
- "name": "level",
59391
+ "name": "value",
59470
59392
  "type": {
59471
- "text": "number"
59393
+ "text": "boolean"
59472
59394
  }
59473
59395
  }
59474
59396
  ]
59475
59397
  },
59476
59398
  {
59477
- "kind": "method",
59478
- "name": "renderNode",
59479
- "privacy": "private",
59480
- "return": {
59481
- "type": {
59482
- "text": "TemplateResult"
59483
- }
59484
- },
59485
- "parameters": [
59486
- {
59487
- "name": "node",
59488
- "type": {
59489
- "text": "TreeNode"
59490
- }
59491
- },
59492
- {
59493
- "name": "level",
59494
- "type": {
59495
- "text": "number"
59496
- }
59497
- },
59498
- {
59499
- "name": "indexInParent",
59500
- "type": {
59501
- "text": "number"
59502
- }
59503
- },
59504
- {
59505
- "name": "siblingCount",
59506
- "type": {
59507
- "text": "number"
59508
- }
59509
- }
59510
- ]
59399
+ "kind": "field",
59400
+ "name": "onInputChange",
59401
+ "privacy": "private"
59511
59402
  },
59512
59403
  {
59513
59404
  "kind": "method",
59514
- "name": "computeVisibleOrder",
59515
- "privacy": "private",
59405
+ "name": "formValue",
59516
59406
  "return": {
59517
59407
  "type": {
59518
- "text": "TreeNode[]"
59519
- }
59520
- },
59521
- "parameters": [
59522
- {
59523
- "name": "nodes",
59524
- "type": {
59525
- "text": "ReadonlyArray<TreeNode>"
59526
- }
59408
+ "text": "string | null"
59527
59409
  }
59528
- ]
59410
+ }
59529
59411
  },
59530
59412
  {
59531
59413
  "kind": "method",
59532
- "name": "syncFocusAfterUpdate",
59533
- "privacy": "private",
59414
+ "name": "formReset",
59534
59415
  "return": {
59535
59416
  "type": {
59536
59417
  "text": "void"
@@ -59539,7 +59420,7 @@
59539
59420
  },
59540
59421
  {
59541
59422
  "kind": "method",
59542
- "name": "focus",
59423
+ "name": "formRestore",
59543
59424
  "return": {
59544
59425
  "type": {
59545
59426
  "text": "void"
@@ -59547,133 +59428,104 @@
59547
59428
  },
59548
59429
  "parameters": [
59549
59430
  {
59550
- "name": "options",
59551
- "optional": true,
59431
+ "name": "state",
59552
59432
  "type": {
59553
- "text": "FocusOptions"
59433
+ "text": "string | FormData | File | null"
59554
59434
  }
59555
59435
  }
59556
- ],
59557
- "description": "The host is generic and not itself focusable (light tier, no\ndelegatesFocus), so a bare host focus() would be a silent no-op. Hand it\nto the roving tab stop instead — the row a Tab would have reached."
59436
+ ]
59558
59437
  },
59559
59438
  {
59560
59439
  "kind": "method",
59561
- "name": "onRowClick",
59562
- "privacy": "private",
59440
+ "name": "formValidityAnchor",
59563
59441
  "return": {
59564
59442
  "type": {
59565
- "text": "void"
59566
- }
59567
- },
59568
- "parameters": [
59569
- {
59570
- "name": "node",
59571
- "type": {
59572
- "text": "TreeNode"
59573
- }
59574
- },
59575
- {
59576
- "name": "ev",
59577
- "type": {
59578
- "text": "MouseEvent"
59579
- }
59443
+ "text": "HTMLElement | null"
59580
59444
  }
59581
- ]
59445
+ }
59582
59446
  },
59583
59447
  {
59584
- "kind": "method",
59585
- "name": "onChevronClick",
59586
- "privacy": "private",
59587
- "return": {
59588
- "type": {
59589
- "text": "void"
59590
- }
59448
+ "kind": "field",
59449
+ "name": "formAssociated",
59450
+ "type": {
59451
+ "text": "boolean"
59591
59452
  },
59592
- "parameters": [
59593
- {
59594
- "name": "node",
59595
- "type": {
59596
- "text": "TreeNode"
59597
- }
59598
- },
59599
- {
59600
- "name": "ev",
59601
- "type": {
59602
- "text": "MouseEvent"
59603
- }
59604
- }
59605
- ]
59453
+ "static": true,
59454
+ "default": "true",
59455
+ "inheritedFrom": {
59456
+ "name": "FormAssociatedMixin",
59457
+ "module": "a11y/src/form-associated.ts"
59458
+ }
59606
59459
  },
59607
59460
  {
59608
- "kind": "method",
59609
- "name": "onRowKeydown",
59461
+ "kind": "field",
59462
+ "name": "#formDisabled",
59610
59463
  "privacy": "private",
59611
- "return": {
59612
- "type": {
59613
- "text": "void"
59614
- }
59464
+ "type": {
59465
+ "text": "boolean"
59615
59466
  },
59616
- "parameters": [
59617
- {
59618
- "name": "node",
59619
- "type": {
59620
- "text": "TreeNode"
59621
- }
59622
- },
59623
- {
59624
- "name": "ev",
59625
- "type": {
59626
- "text": "KeyboardEvent"
59627
- }
59628
- }
59629
- ]
59467
+ "default": "false",
59468
+ "description": "Effective disabled per the platform, as last reported by the UA.",
59469
+ "inheritedFrom": {
59470
+ "name": "FormAssociatedMixin",
59471
+ "module": "a11y/src/form-associated.ts"
59472
+ }
59473
+ },
59474
+ {
59475
+ "kind": "field",
59476
+ "name": "internals",
59477
+ "type": {
59478
+ "text": "ElementInternals | null"
59479
+ },
59480
+ "readonly": true,
59481
+ "inheritedFrom": {
59482
+ "name": "FormAssociatedMixin",
59483
+ "module": "a11y/src/form-associated.ts"
59484
+ }
59485
+ },
59486
+ {
59487
+ "kind": "field",
59488
+ "name": "effectiveDisabled",
59489
+ "type": {
59490
+ "text": "boolean"
59491
+ },
59492
+ "readonly": true,
59493
+ "inheritedFrom": {
59494
+ "name": "FormAssociatedMixin",
59495
+ "module": "a11y/src/form-associated.ts"
59496
+ }
59630
59497
  },
59631
59498
  {
59632
59499
  "kind": "method",
59633
- "name": "focusRelative",
59500
+ "name": "#host",
59634
59501
  "privacy": "private",
59635
59502
  "return": {
59636
59503
  "type": {
59637
- "text": "void"
59504
+ "text": "FormAssociatedHost"
59638
59505
  }
59639
59506
  },
59640
- "parameters": [
59641
- {
59642
- "name": "current",
59643
- "type": {
59644
- "text": "TreeNode"
59645
- }
59646
- },
59647
- {
59648
- "name": "delta",
59649
- "type": {
59650
- "text": "number"
59651
- }
59652
- }
59653
- ]
59507
+ "inheritedFrom": {
59508
+ "name": "FormAssociatedMixin",
59509
+ "module": "a11y/src/form-associated.ts"
59510
+ }
59654
59511
  },
59655
59512
  {
59656
59513
  "kind": "method",
59657
- "name": "focusNode",
59658
- "privacy": "private",
59514
+ "name": "syncFormValue",
59659
59515
  "return": {
59660
59516
  "type": {
59661
59517
  "text": "void"
59662
59518
  }
59663
59519
  },
59664
- "parameters": [
59665
- {
59666
- "name": "id",
59667
- "type": {
59668
- "text": "string"
59669
- }
59670
- }
59671
- ]
59520
+ "description": "Push the host's current value into the form. Call on every change.",
59521
+ "inheritedFrom": {
59522
+ "name": "FormAssociatedMixin",
59523
+ "module": "a11y/src/form-associated.ts"
59524
+ }
59672
59525
  },
59673
59526
  {
59674
59527
  "kind": "method",
59675
- "name": "toggleSelection",
59676
- "privacy": "private",
59528
+ "name": "setFormValidity",
59677
59529
  "return": {
59678
59530
  "type": {
59679
59531
  "text": "void"
@@ -59681,23 +59533,27 @@
59681
59533
  },
59682
59534
  "parameters": [
59683
59535
  {
59684
- "name": "node",
59536
+ "name": "flags",
59685
59537
  "type": {
59686
- "text": "TreeNode"
59538
+ "text": "ValidityStateFlags"
59687
59539
  }
59688
59540
  },
59689
59541
  {
59690
- "name": "additive",
59542
+ "name": "message",
59543
+ "optional": true,
59691
59544
  "type": {
59692
- "text": "boolean"
59545
+ "text": "string"
59693
59546
  }
59694
59547
  }
59695
- ]
59548
+ ],
59549
+ "inheritedFrom": {
59550
+ "name": "FormAssociatedMixin",
59551
+ "module": "a11y/src/form-associated.ts"
59552
+ }
59696
59553
  },
59697
59554
  {
59698
59555
  "kind": "method",
59699
- "name": "toggleExpansion",
59700
- "privacy": "private",
59556
+ "name": "formDisabledCallback",
59701
59557
  "return": {
59702
59558
  "type": {
59703
59559
  "text": "void"
@@ -59705,35 +59561,33 @@
59705
59561
  },
59706
59562
  "parameters": [
59707
59563
  {
59708
- "name": "node",
59564
+ "name": "disabled",
59709
59565
  "type": {
59710
- "text": "TreeNode"
59566
+ "text": "boolean"
59711
59567
  }
59712
59568
  }
59713
- ]
59569
+ ],
59570
+ "inheritedFrom": {
59571
+ "name": "FormAssociatedMixin",
59572
+ "module": "a11y/src/form-associated.ts"
59573
+ }
59714
59574
  },
59715
59575
  {
59716
59576
  "kind": "method",
59717
- "name": "expand",
59718
- "privacy": "private",
59577
+ "name": "formResetCallback",
59719
59578
  "return": {
59720
59579
  "type": {
59721
59580
  "text": "void"
59722
59581
  }
59723
59582
  },
59724
- "parameters": [
59725
- {
59726
- "name": "node",
59727
- "type": {
59728
- "text": "TreeNode"
59729
- }
59730
- }
59731
- ]
59583
+ "inheritedFrom": {
59584
+ "name": "FormAssociatedMixin",
59585
+ "module": "a11y/src/form-associated.ts"
59586
+ }
59732
59587
  },
59733
59588
  {
59734
59589
  "kind": "method",
59735
- "name": "collapse",
59736
- "privacy": "private",
59590
+ "name": "formStateRestoreCallback",
59737
59591
  "return": {
59738
59592
  "type": {
59739
59593
  "text": "void"
@@ -59741,145 +59595,132 @@
59741
59595
  },
59742
59596
  "parameters": [
59743
59597
  {
59744
- "name": "node",
59598
+ "name": "state",
59745
59599
  "type": {
59746
- "text": "TreeNode"
59600
+ "text": "string | FormData | File | null"
59747
59601
  }
59748
59602
  }
59749
- ]
59603
+ ],
59604
+ "inheritedFrom": {
59605
+ "name": "FormAssociatedMixin",
59606
+ "module": "a11y/src/form-associated.ts"
59607
+ }
59750
59608
  }
59751
59609
  ],
59752
- "events": [
59610
+ "attributes": [
59753
59611
  {
59754
- "name": "tree-node-select",
59755
- "type": {
59756
- "text": "CustomEvent"
59757
- }
59612
+ "name": "invalid"
59758
59613
  },
59759
59614
  {
59760
- "name": "tree-node-expand",
59761
- "type": {
59762
- "text": "CustomEvent"
59763
- }
59615
+ "name": "required"
59764
59616
  },
59765
59617
  {
59766
- "name": "tree-node-load-error",
59767
- "type": {
59768
- "text": "CustomEvent"
59769
- }
59618
+ "name": "error-text"
59770
59619
  },
59771
59620
  {
59772
- "name": "tree-node-collapse",
59773
- "type": {
59774
- "text": "CustomEvent"
59775
- }
59776
- }
59777
- ],
59778
- "attributes": [
59621
+ "name": "checked"
59622
+ },
59779
59623
  {
59780
- "name": "selection-mode"
59624
+ "name": "disabled"
59781
59625
  },
59782
59626
  {
59783
- "name": "hide-borders"
59627
+ "name": "name"
59628
+ },
59629
+ {
59630
+ "name": "value"
59631
+ },
59632
+ {
59633
+ "name": "color"
59784
59634
  },
59785
59635
  {
59786
59636
  "name": "aria-label"
59787
59637
  },
59788
59638
  {
59789
59639
  "name": "input-label"
59640
+ },
59641
+ {
59642
+ "name": "aria-labelledby"
59643
+ },
59644
+ {
59645
+ "name": "aria-describedby"
59646
+ }
59647
+ ],
59648
+ "mixins": [
59649
+ {
59650
+ "name": "FormAssociatedMixin",
59651
+ "package": "@mintplayer/web-components/a11y"
59790
59652
  }
59791
59653
  ],
59792
59654
  "superclass": {
59793
59655
  "name": "LitElement",
59794
59656
  "package": "lit"
59795
59657
  },
59796
- "tagName": "mp-treeview",
59658
+ "tagName": "mp-toggle-button",
59797
59659
  "customElement": true
59798
59660
  }
59799
59661
  ],
59800
59662
  "exports": [
59801
59663
  {
59802
59664
  "kind": "js",
59803
- "name": "MpTreeview",
59665
+ "name": "MpToggleButton",
59804
59666
  "declaration": {
59805
- "name": "MpTreeview",
59806
- "module": "treeview/src/components/mp-treeview.ts"
59667
+ "name": "MpToggleButton",
59668
+ "module": "toggle-button/src/components/mp-toggle-button.ts"
59807
59669
  }
59808
59670
  },
59809
59671
  {
59810
59672
  "kind": "custom-element-definition",
59811
- "name": "mp-treeview",
59673
+ "name": "mp-toggle-button",
59812
59674
  "declaration": {
59813
- "name": "MpTreeview",
59814
- "module": "treeview/src/components/mp-treeview.ts"
59675
+ "name": "MpToggleButton",
59676
+ "module": "toggle-button/src/components/mp-toggle-button.ts"
59815
59677
  }
59816
59678
  }
59817
59679
  ]
59818
59680
  },
59819
59681
  {
59820
59682
  "kind": "javascript-module",
59821
- "path": "treeview/src/styles/index.ts",
59683
+ "path": "toggle-button/src/styles/index.ts",
59822
59684
  "declarations": [],
59823
59685
  "exports": [
59824
59686
  {
59825
59687
  "kind": "js",
59826
- "name": "treeviewLightStyles",
59688
+ "name": "toggleButtonStyles",
59827
59689
  "declaration": {
59828
- "name": "treeviewLightStyles",
59829
- "module": "./treeview.light.styles"
59690
+ "name": "toggleButtonStyles",
59691
+ "module": "./toggle-button.styles"
59830
59692
  }
59831
59693
  }
59832
59694
  ]
59833
59695
  },
59834
59696
  {
59835
59697
  "kind": "javascript-module",
59836
- "path": "treeview/src/styles/treeview.light.styles.ts",
59698
+ "path": "toggle-button/src/styles/toggle-button.styles.ts",
59837
59699
  "declarations": [
59838
59700
  {
59839
59701
  "kind": "variable",
59840
- "name": "treeviewLightStyles"
59702
+ "name": "toggleButtonStyles"
59841
59703
  }
59842
59704
  ],
59843
59705
  "exports": [
59844
59706
  {
59845
59707
  "kind": "js",
59846
- "name": "treeviewLightStyles",
59708
+ "name": "toggleButtonStyles",
59847
59709
  "declaration": {
59848
- "name": "treeviewLightStyles",
59849
- "module": "treeview/src/styles/treeview.light.styles.ts"
59710
+ "name": "toggleButtonStyles",
59711
+ "module": "toggle-button/src/styles/toggle-button.styles.ts"
59850
59712
  }
59851
59713
  },
59852
59714
  {
59853
59715
  "kind": "js",
59854
59716
  "name": "default",
59855
59717
  "declaration": {
59856
- "name": "treeviewLightStyles",
59857
- "module": "treeview/src/styles/treeview.light.styles.ts"
59858
- }
59859
- }
59860
- ]
59861
- },
59862
- {
59863
- "kind": "javascript-module",
59864
- "path": "treeview/src/types/index.ts",
59865
- "declarations": [],
59866
- "exports": [
59867
- {
59868
- "kind": "js",
59869
- "name": "TreeNode",
59870
- "declaration": {
59871
- "name": "TreeNode",
59872
- "module": "./tree-node"
59718
+ "name": "toggleButtonStyles",
59719
+ "module": "toggle-button/src/styles/toggle-button.styles.ts"
59873
59720
  }
59874
59721
  }
59875
59722
  ]
59876
59723
  },
59877
- {
59878
- "kind": "javascript-module",
59879
- "path": "treeview/src/types/tree-node.ts",
59880
- "declarations": [],
59881
- "exports": []
59882
- },
59883
59724
  {
59884
59725
  "kind": "javascript-module",
59885
59726
  "path": "tree-select/src/components/index.ts",
@@ -61276,239 +61117,399 @@
61276
61117
  },
61277
61118
  {
61278
61119
  "kind": "javascript-module",
61279
- "path": "toggle-button/src/components/index.ts",
61120
+ "path": "treeview/src/components/index.ts",
61280
61121
  "declarations": [],
61281
61122
  "exports": [
61282
61123
  {
61283
61124
  "kind": "js",
61284
- "name": "MpToggleButton",
61125
+ "name": "MpTreeview",
61285
61126
  "declaration": {
61286
- "name": "MpToggleButton",
61287
- "module": "./mp-toggle-button"
61127
+ "name": "MpTreeview",
61128
+ "module": "./mp-treeview"
61288
61129
  }
61289
61130
  },
61290
61131
  {
61291
61132
  "kind": "js",
61292
- "name": "ToggleButtonColor",
61133
+ "name": "TreeviewSelectionMode",
61293
61134
  "declaration": {
61294
- "name": "ToggleButtonColor",
61295
- "module": "./mp-toggle-button"
61135
+ "name": "TreeviewSelectionMode",
61136
+ "module": "./mp-treeview"
61296
61137
  }
61297
61138
  },
61298
61139
  {
61299
61140
  "kind": "js",
61300
- "name": "ToggleChangeEventDetail",
61141
+ "name": "TreeNodeSelectEventDetail",
61301
61142
  "declaration": {
61302
- "name": "ToggleChangeEventDetail",
61303
- "module": "./mp-toggle-button"
61143
+ "name": "TreeNodeSelectEventDetail",
61144
+ "module": "./mp-treeview"
61145
+ }
61146
+ },
61147
+ {
61148
+ "kind": "js",
61149
+ "name": "TreeNodeExpandEventDetail",
61150
+ "declaration": {
61151
+ "name": "TreeNodeExpandEventDetail",
61152
+ "module": "./mp-treeview"
61153
+ }
61154
+ },
61155
+ {
61156
+ "kind": "js",
61157
+ "name": "TreeNodeCollapseEventDetail",
61158
+ "declaration": {
61159
+ "name": "TreeNodeCollapseEventDetail",
61160
+ "module": "./mp-treeview"
61161
+ }
61162
+ },
61163
+ {
61164
+ "kind": "js",
61165
+ "name": "IconResolver",
61166
+ "declaration": {
61167
+ "name": "IconResolver",
61168
+ "module": "./mp-treeview"
61169
+ }
61170
+ },
61171
+ {
61172
+ "kind": "js",
61173
+ "name": "TreeNodeRenderer",
61174
+ "declaration": {
61175
+ "name": "TreeNodeRenderer",
61176
+ "module": "./mp-treeview"
61177
+ }
61178
+ },
61179
+ {
61180
+ "kind": "js",
61181
+ "name": "TreeNodeRenderContext",
61182
+ "declaration": {
61183
+ "name": "TreeNodeRenderContext",
61184
+ "module": "./mp-treeview"
61185
+ }
61186
+ },
61187
+ {
61188
+ "kind": "js",
61189
+ "name": "TreeChildrenLoader",
61190
+ "declaration": {
61191
+ "name": "TreeChildrenLoader",
61192
+ "module": "./mp-treeview"
61304
61193
  }
61305
61194
  }
61306
61195
  ]
61307
61196
  },
61308
61197
  {
61309
61198
  "kind": "javascript-module",
61310
- "path": "toggle-button/src/components/mp-toggle-button.ts",
61199
+ "path": "treeview/src/components/mp-treeview.ts",
61311
61200
  "declarations": [
61312
61201
  {
61313
61202
  "kind": "class",
61314
- "description": "`<mp-toggle-button>` — a single Bootstrap-styled on/off button using the\n`btn-check` + `label.btn` pattern. Acts as both a usable standalone WC\nand the carrier of the shared `form-check` / `btn-check` SCSS that\n`<mp-checkbox>` and `<mp-radio>` reuse via the exported `toggleButtonStyles`\n`CSSResult` (single parsed stylesheet shared across shadow roots).\n\nAttributes (all reflected): `checked`, `disabled`, `name`, `value`, `color`.\nEmits a native-style `change` event with\n`detail: { checked, value }` when toggled.",
61315
- "name": "MpToggleButton",
61203
+ "description": "`<mp-treeview>` — data-driven recursive tree.\n\nLight-DOM properties:\n- `items: TreeNode[]` (property only)\n- `expanded-ids` / `expandedIds: string[]`\n- `selected-ids` / `selectedIds: string[]`\n- `selection-mode`: `'none' | 'single' | 'multiple'`\n- `hide-borders`: removes the outer list-group border and per-row separators\n\nEvents: `tree-node-select`, `tree-node-expand`, `tree-node-collapse`.",
61204
+ "name": "MpTreeview",
61316
61205
  "members": [
61317
61206
  {
61318
61207
  "kind": "field",
61319
- "name": "shadowRootOptions",
61208
+ "name": "instanceId",
61209
+ "privacy": "private",
61210
+ "readonly": true,
61211
+ "default": "`mp-treeview-${++instanceCounter}`"
61212
+ },
61213
+ {
61214
+ "kind": "field",
61215
+ "name": "_items",
61320
61216
  "type": {
61321
- "text": "object"
61217
+ "text": "TreeNode[]"
61322
61218
  },
61323
- "static": true,
61324
- "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
61219
+ "privacy": "private",
61220
+ "default": "[]"
61325
61221
  },
61326
61222
  {
61327
61223
  "kind": "field",
61328
- "name": "_checked",
61224
+ "name": "_expandedIds",
61329
61225
  "type": {
61330
- "text": "boolean"
61226
+ "text": "Set<string>"
61331
61227
  },
61332
61228
  "privacy": "private",
61333
- "default": "false"
61229
+ "default": "new Set()"
61334
61230
  },
61335
61231
  {
61336
61232
  "kind": "field",
61337
- "name": "_disabled",
61233
+ "name": "_selectedIds",
61338
61234
  "type": {
61339
- "text": "boolean"
61235
+ "text": "Set<string>"
61340
61236
  },
61341
61237
  "privacy": "private",
61342
- "default": "false"
61238
+ "default": "new Set()"
61343
61239
  },
61344
61240
  {
61345
61241
  "kind": "field",
61346
- "name": "_name",
61242
+ "name": "_selectionMode",
61347
61243
  "type": {
61348
- "text": "string | null"
61244
+ "text": "TreeviewSelectionMode"
61349
61245
  },
61350
61246
  "privacy": "private",
61351
- "default": "null"
61247
+ "default": "'single'"
61352
61248
  },
61353
61249
  {
61354
61250
  "kind": "field",
61355
- "name": "_value",
61251
+ "name": "_hideBorders",
61356
61252
  "type": {
61357
- "text": "string | null"
61253
+ "text": "boolean"
61358
61254
  },
61359
61255
  "privacy": "private",
61360
- "default": "null"
61256
+ "default": "false"
61361
61257
  },
61362
61258
  {
61363
61259
  "kind": "field",
61364
- "name": "_color",
61260
+ "name": "_iconResolver",
61365
61261
  "type": {
61366
- "text": "ToggleButtonColor"
61262
+ "text": "IconResolver | undefined"
61367
61263
  },
61368
- "privacy": "private",
61369
- "default": "'primary'"
61264
+ "privacy": "private"
61370
61265
  },
61371
61266
  {
61372
61267
  "kind": "field",
61373
- "name": "_inputLabel",
61268
+ "name": "_nodeRenderer",
61374
61269
  "type": {
61375
- "text": "string | null"
61270
+ "text": "TreeNodeRenderer | undefined"
61376
61271
  },
61377
- "privacy": "private",
61378
- "default": "null"
61272
+ "privacy": "private"
61379
61273
  },
61380
61274
  {
61381
61275
  "kind": "field",
61382
- "name": "_errorText",
61276
+ "name": "_loadChildren",
61383
61277
  "type": {
61384
- "text": "string | null"
61278
+ "text": "TreeChildrenLoader | undefined"
61279
+ },
61280
+ "privacy": "private"
61281
+ },
61282
+ {
61283
+ "kind": "field",
61284
+ "name": "_loadingIds",
61285
+ "type": {
61286
+ "text": "Set<string>"
61385
61287
  },
61386
61288
  "privacy": "private",
61387
- "default": "null"
61289
+ "default": "new Set()",
61290
+ "description": "Loading state per lazy-node id."
61388
61291
  },
61389
61292
  {
61390
61293
  "kind": "field",
61391
- "name": "hostAria",
61294
+ "name": "_errorIds",
61295
+ "type": {
61296
+ "text": "Map<string, string>"
61297
+ },
61392
61298
  "privacy": "private",
61393
- "readonly": true,
61394
- "default": "new HostAriaController(this, { referenceTarget: () => this._inputRef.value ?? null, describedByExtras: () => errorFeedbackElements(this.renderRoot), })",
61395
- "description": "Tier-2 naming; references target the real control inside the shadow root."
61299
+ "default": "new Map()",
61300
+ "description": "Last load error per node id."
61396
61301
  },
61397
61302
  {
61398
61303
  "kind": "field",
61399
- "name": "_inputId",
61304
+ "name": "liveAnnouncer",
61400
61305
  "privacy": "private",
61401
61306
  "readonly": true,
61402
- "default": "`mp-toggle-button-${++instanceCounter}`"
61307
+ "default": "new LiveAnnouncerController(this, { omitRole: true })",
61308
+ "description": "Lazy loads have no visible focus move; announce start, finish and ERROR."
61403
61309
  },
61404
61310
  {
61405
61311
  "kind": "field",
61406
- "name": "_errorId",
61312
+ "name": "_focusedId",
61313
+ "type": {
61314
+ "text": "string | null"
61315
+ },
61407
61316
  "privacy": "private",
61408
- "readonly": true,
61409
- "default": "`mp-toggle-button-${instanceCounter}-error`"
61317
+ "default": "null"
61410
61318
  },
61411
61319
  {
61412
61320
  "kind": "field",
61413
- "name": "_inputRef",
61321
+ "name": "_visibleOrder",
61414
61322
  "type": {
61415
- "text": "Ref<HTMLInputElement>"
61323
+ "text": "TreeNode[]"
61416
61324
  },
61417
61325
  "privacy": "private",
61418
- "readonly": true
61326
+ "default": "[]"
61419
61327
  },
61420
61328
  {
61421
61329
  "kind": "field",
61422
- "name": "inputLabel",
61330
+ "name": "_byId",
61423
61331
  "type": {
61424
- "text": "string | null"
61332
+ "text": "Map<string, TreeNode>"
61425
61333
  },
61426
- "description": "Optional override for the inner <input>'s accessible name. Usually\nunnecessary — the slotted visible text names the control through the\nflat-tree label association (slotted-label spike; verdict in the plan). For an icon-only\ntoggle, or a name that must differ from the visible text, set this."
61334
+ "privacy": "private",
61335
+ "default": "new Map()"
61427
61336
  },
61428
61337
  {
61429
61338
  "kind": "field",
61430
- "name": "errorText",
61339
+ "name": "_parentById",
61431
61340
  "type": {
61432
- "text": "string | null"
61341
+ "text": "Map<string, TreeNode | null>"
61433
61342
  },
61434
- "description": "Validation message, as `errorText` / `error-text`. Rendered as a\n`.invalid-feedback` node inside the shadow root and referenced from the inner\n`<input>` by `aria-errormessage` **and** `aria-describedby`, but only while\n`invalid` is set — `aria-errormessage` is meaningless on a control that is not\n`aria-invalid`. Text rather than a node, because a consumer's own element sits\noutside this shadow root where an IDREF from the input cannot reach it."
61343
+ "privacy": "private",
61344
+ "default": "new Map()"
61435
61345
  },
61436
61346
  {
61437
61347
  "kind": "field",
61438
- "name": "checked",
61348
+ "name": "items",
61439
61349
  "type": {
61440
- "text": "boolean"
61350
+ "text": "TreeNode[]"
61351
+ }
61352
+ },
61353
+ {
61354
+ "kind": "method",
61355
+ "name": "rebuildIndex",
61356
+ "privacy": "private",
61357
+ "return": {
61358
+ "type": {
61359
+ "text": "void"
61360
+ }
61441
61361
  }
61442
61362
  },
61443
61363
  {
61444
61364
  "kind": "field",
61445
- "name": "disabled",
61365
+ "name": "expandedIds",
61446
61366
  "type": {
61447
- "text": "boolean"
61367
+ "text": "string[]"
61448
61368
  }
61449
61369
  },
61450
61370
  {
61451
61371
  "kind": "field",
61452
- "name": "name",
61372
+ "name": "selectedIds",
61453
61373
  "type": {
61454
- "text": "string | null"
61374
+ "text": "string[]"
61455
61375
  }
61456
61376
  },
61457
61377
  {
61458
61378
  "kind": "field",
61459
- "name": "value",
61379
+ "name": "selectionMode",
61460
61380
  "type": {
61461
- "text": "string | null"
61381
+ "text": "TreeviewSelectionMode"
61462
61382
  }
61463
61383
  },
61464
61384
  {
61465
61385
  "kind": "field",
61466
- "name": "color",
61386
+ "name": "hideBorders",
61467
61387
  "type": {
61468
- "text": "ToggleButtonColor"
61388
+ "text": "boolean"
61389
+ }
61390
+ },
61391
+ {
61392
+ "kind": "field",
61393
+ "name": "iconResolver",
61394
+ "type": {
61395
+ "text": "IconResolver | undefined"
61469
61396
  }
61470
61397
  },
61398
+ {
61399
+ "kind": "field",
61400
+ "name": "nodeRenderer",
61401
+ "type": {
61402
+ "text": "TreeNodeRenderer | undefined"
61403
+ },
61404
+ "description": "Per-node DOM renderer. When set, the WC calls this for each node's body\n(chevron stays). The returned Node replaces the default icon+label.\nSet by Angular wrapper to bridge `*bsTreeviewNode` templates into the\nshadow DOM via EmbeddedViewRef-managed nodes."
61405
+ },
61406
+ {
61407
+ "kind": "field",
61408
+ "name": "loadChildren",
61409
+ "type": {
61410
+ "text": "TreeChildrenLoader | undefined"
61411
+ },
61412
+ "description": "Async children loader. Invoked once per node when a `lazy` (or\nchildren-less) node is first expanded. While the promise is in flight\nthe chevron is replaced by a spinner; on rejection an error indicator\nis shown and the node can be re-expanded to retry."
61413
+ },
61414
+ {
61415
+ "kind": "field",
61416
+ "name": "_inputLabel",
61417
+ "type": {
61418
+ "text": "string | null"
61419
+ },
61420
+ "privacy": "private",
61421
+ "default": "null"
61422
+ },
61423
+ {
61424
+ "kind": "field",
61425
+ "name": "inputLabel",
61426
+ "type": {
61427
+ "text": "string | null"
61428
+ },
61429
+ "description": "Accessible name for the in-shadow role=tree node (tier-2 naming: the\nhost is generic, so a consumer cannot name the tree any other way).\nA host `aria-label` wins over this, per the B-phase contract."
61430
+ },
61471
61431
  {
61472
61432
  "kind": "method",
61473
- "name": "reflectBoolean",
61433
+ "name": "renderNodes",
61474
61434
  "privacy": "private",
61475
61435
  "return": {
61476
61436
  "type": {
61477
- "text": "void"
61437
+ "text": "TemplateResult"
61478
61438
  }
61479
61439
  },
61480
61440
  "parameters": [
61481
61441
  {
61482
- "name": "attr",
61442
+ "name": "nodes",
61483
61443
  "type": {
61484
- "text": "string"
61444
+ "text": "ReadonlyArray<TreeNode>"
61485
61445
  }
61486
61446
  },
61487
61447
  {
61488
- "name": "value",
61448
+ "name": "level",
61489
61449
  "type": {
61490
- "text": "boolean"
61450
+ "text": "number"
61491
61451
  }
61492
61452
  }
61493
61453
  ]
61494
61454
  },
61495
61455
  {
61496
- "kind": "field",
61497
- "name": "onInputChange",
61498
- "privacy": "private"
61456
+ "kind": "method",
61457
+ "name": "renderNode",
61458
+ "privacy": "private",
61459
+ "return": {
61460
+ "type": {
61461
+ "text": "TemplateResult"
61462
+ }
61463
+ },
61464
+ "parameters": [
61465
+ {
61466
+ "name": "node",
61467
+ "type": {
61468
+ "text": "TreeNode"
61469
+ }
61470
+ },
61471
+ {
61472
+ "name": "level",
61473
+ "type": {
61474
+ "text": "number"
61475
+ }
61476
+ },
61477
+ {
61478
+ "name": "indexInParent",
61479
+ "type": {
61480
+ "text": "number"
61481
+ }
61482
+ },
61483
+ {
61484
+ "name": "siblingCount",
61485
+ "type": {
61486
+ "text": "number"
61487
+ }
61488
+ }
61489
+ ]
61499
61490
  },
61500
61491
  {
61501
61492
  "kind": "method",
61502
- "name": "formValue",
61493
+ "name": "computeVisibleOrder",
61494
+ "privacy": "private",
61503
61495
  "return": {
61504
61496
  "type": {
61505
- "text": "string | null"
61497
+ "text": "TreeNode[]"
61506
61498
  }
61507
- }
61499
+ },
61500
+ "parameters": [
61501
+ {
61502
+ "name": "nodes",
61503
+ "type": {
61504
+ "text": "ReadonlyArray<TreeNode>"
61505
+ }
61506
+ }
61507
+ ]
61508
61508
  },
61509
61509
  {
61510
61510
  "kind": "method",
61511
- "name": "formReset",
61511
+ "name": "syncFocusAfterUpdate",
61512
+ "privacy": "private",
61512
61513
  "return": {
61513
61514
  "type": {
61514
61515
  "text": "void"
@@ -61517,7 +61518,7 @@
61517
61518
  },
61518
61519
  {
61519
61520
  "kind": "method",
61520
- "name": "formRestore",
61521
+ "name": "focus",
61521
61522
  "return": {
61522
61523
  "type": {
61523
61524
  "text": "void"
@@ -61525,104 +61526,133 @@
61525
61526
  },
61526
61527
  "parameters": [
61527
61528
  {
61528
- "name": "state",
61529
+ "name": "options",
61530
+ "optional": true,
61529
61531
  "type": {
61530
- "text": "string | FormData | File | null"
61532
+ "text": "FocusOptions"
61531
61533
  }
61532
61534
  }
61533
- ]
61535
+ ],
61536
+ "description": "The host is generic and not itself focusable (light tier, no\ndelegatesFocus), so a bare host focus() would be a silent no-op. Hand it\nto the roving tab stop instead — the row a Tab would have reached."
61534
61537
  },
61535
61538
  {
61536
61539
  "kind": "method",
61537
- "name": "formValidityAnchor",
61540
+ "name": "onRowClick",
61541
+ "privacy": "private",
61538
61542
  "return": {
61539
61543
  "type": {
61540
- "text": "HTMLElement | null"
61544
+ "text": "void"
61541
61545
  }
61542
- }
61543
- },
61544
- {
61545
- "kind": "field",
61546
- "name": "formAssociated",
61547
- "type": {
61548
- "text": "boolean"
61549
61546
  },
61550
- "static": true,
61551
- "default": "true",
61552
- "inheritedFrom": {
61553
- "name": "FormAssociatedMixin",
61554
- "module": "a11y/src/form-associated.ts"
61555
- }
61547
+ "parameters": [
61548
+ {
61549
+ "name": "node",
61550
+ "type": {
61551
+ "text": "TreeNode"
61552
+ }
61553
+ },
61554
+ {
61555
+ "name": "ev",
61556
+ "type": {
61557
+ "text": "MouseEvent"
61558
+ }
61559
+ }
61560
+ ]
61556
61561
  },
61557
61562
  {
61558
- "kind": "field",
61559
- "name": "#formDisabled",
61563
+ "kind": "method",
61564
+ "name": "onChevronClick",
61560
61565
  "privacy": "private",
61561
- "type": {
61562
- "text": "boolean"
61563
- },
61564
- "default": "false",
61565
- "description": "Effective disabled per the platform, as last reported by the UA.",
61566
- "inheritedFrom": {
61567
- "name": "FormAssociatedMixin",
61568
- "module": "a11y/src/form-associated.ts"
61569
- }
61570
- },
61571
- {
61572
- "kind": "field",
61573
- "name": "internals",
61574
- "type": {
61575
- "text": "ElementInternals | null"
61566
+ "return": {
61567
+ "type": {
61568
+ "text": "void"
61569
+ }
61576
61570
  },
61577
- "readonly": true,
61578
- "inheritedFrom": {
61579
- "name": "FormAssociatedMixin",
61580
- "module": "a11y/src/form-associated.ts"
61581
- }
61571
+ "parameters": [
61572
+ {
61573
+ "name": "node",
61574
+ "type": {
61575
+ "text": "TreeNode"
61576
+ }
61577
+ },
61578
+ {
61579
+ "name": "ev",
61580
+ "type": {
61581
+ "text": "MouseEvent"
61582
+ }
61583
+ }
61584
+ ]
61582
61585
  },
61583
61586
  {
61584
- "kind": "field",
61585
- "name": "effectiveDisabled",
61586
- "type": {
61587
- "text": "boolean"
61587
+ "kind": "method",
61588
+ "name": "onRowKeydown",
61589
+ "privacy": "private",
61590
+ "return": {
61591
+ "type": {
61592
+ "text": "void"
61593
+ }
61588
61594
  },
61589
- "readonly": true,
61590
- "inheritedFrom": {
61591
- "name": "FormAssociatedMixin",
61592
- "module": "a11y/src/form-associated.ts"
61593
- }
61595
+ "parameters": [
61596
+ {
61597
+ "name": "node",
61598
+ "type": {
61599
+ "text": "TreeNode"
61600
+ }
61601
+ },
61602
+ {
61603
+ "name": "ev",
61604
+ "type": {
61605
+ "text": "KeyboardEvent"
61606
+ }
61607
+ }
61608
+ ]
61594
61609
  },
61595
61610
  {
61596
61611
  "kind": "method",
61597
- "name": "#host",
61612
+ "name": "focusRelative",
61598
61613
  "privacy": "private",
61599
61614
  "return": {
61600
61615
  "type": {
61601
- "text": "FormAssociatedHost"
61616
+ "text": "void"
61602
61617
  }
61603
61618
  },
61604
- "inheritedFrom": {
61605
- "name": "FormAssociatedMixin",
61606
- "module": "a11y/src/form-associated.ts"
61607
- }
61619
+ "parameters": [
61620
+ {
61621
+ "name": "current",
61622
+ "type": {
61623
+ "text": "TreeNode"
61624
+ }
61625
+ },
61626
+ {
61627
+ "name": "delta",
61628
+ "type": {
61629
+ "text": "number"
61630
+ }
61631
+ }
61632
+ ]
61608
61633
  },
61609
61634
  {
61610
61635
  "kind": "method",
61611
- "name": "syncFormValue",
61636
+ "name": "focusNode",
61637
+ "privacy": "private",
61612
61638
  "return": {
61613
61639
  "type": {
61614
61640
  "text": "void"
61615
61641
  }
61616
61642
  },
61617
- "description": "Push the host's current value into the form. Call on every change.",
61618
- "inheritedFrom": {
61619
- "name": "FormAssociatedMixin",
61620
- "module": "a11y/src/form-associated.ts"
61621
- }
61643
+ "parameters": [
61644
+ {
61645
+ "name": "id",
61646
+ "type": {
61647
+ "text": "string"
61648
+ }
61649
+ }
61650
+ ]
61622
61651
  },
61623
61652
  {
61624
61653
  "kind": "method",
61625
- "name": "setFormValidity",
61654
+ "name": "toggleSelection",
61655
+ "privacy": "private",
61626
61656
  "return": {
61627
61657
  "type": {
61628
61658
  "text": "void"
@@ -61630,27 +61660,23 @@
61630
61660
  },
61631
61661
  "parameters": [
61632
61662
  {
61633
- "name": "flags",
61663
+ "name": "node",
61634
61664
  "type": {
61635
- "text": "ValidityStateFlags"
61665
+ "text": "TreeNode"
61636
61666
  }
61637
61667
  },
61638
61668
  {
61639
- "name": "message",
61640
- "optional": true,
61669
+ "name": "additive",
61641
61670
  "type": {
61642
- "text": "string"
61671
+ "text": "boolean"
61643
61672
  }
61644
61673
  }
61645
- ],
61646
- "inheritedFrom": {
61647
- "name": "FormAssociatedMixin",
61648
- "module": "a11y/src/form-associated.ts"
61649
- }
61674
+ ]
61650
61675
  },
61651
61676
  {
61652
61677
  "kind": "method",
61653
- "name": "formDisabledCallback",
61678
+ "name": "toggleExpansion",
61679
+ "privacy": "private",
61654
61680
  "return": {
61655
61681
  "type": {
61656
61682
  "text": "void"
@@ -61658,33 +61684,35 @@
61658
61684
  },
61659
61685
  "parameters": [
61660
61686
  {
61661
- "name": "disabled",
61687
+ "name": "node",
61662
61688
  "type": {
61663
- "text": "boolean"
61689
+ "text": "TreeNode"
61664
61690
  }
61665
61691
  }
61666
- ],
61667
- "inheritedFrom": {
61668
- "name": "FormAssociatedMixin",
61669
- "module": "a11y/src/form-associated.ts"
61670
- }
61692
+ ]
61671
61693
  },
61672
61694
  {
61673
61695
  "kind": "method",
61674
- "name": "formResetCallback",
61696
+ "name": "expand",
61697
+ "privacy": "private",
61675
61698
  "return": {
61676
61699
  "type": {
61677
61700
  "text": "void"
61678
61701
  }
61679
61702
  },
61680
- "inheritedFrom": {
61681
- "name": "FormAssociatedMixin",
61682
- "module": "a11y/src/form-associated.ts"
61683
- }
61703
+ "parameters": [
61704
+ {
61705
+ "name": "node",
61706
+ "type": {
61707
+ "text": "TreeNode"
61708
+ }
61709
+ }
61710
+ ]
61684
61711
  },
61685
61712
  {
61686
61713
  "kind": "method",
61687
- "name": "formStateRestoreCallback",
61714
+ "name": "collapse",
61715
+ "privacy": "private",
61688
61716
  "return": {
61689
61717
  "type": {
61690
61718
  "text": "void"
@@ -61692,132 +61720,145 @@
61692
61720
  },
61693
61721
  "parameters": [
61694
61722
  {
61695
- "name": "state",
61723
+ "name": "node",
61696
61724
  "type": {
61697
- "text": "string | FormData | File | null"
61725
+ "text": "TreeNode"
61698
61726
  }
61699
61727
  }
61700
- ],
61701
- "inheritedFrom": {
61702
- "name": "FormAssociatedMixin",
61703
- "module": "a11y/src/form-associated.ts"
61704
- }
61728
+ ]
61705
61729
  }
61706
61730
  ],
61707
- "attributes": [
61708
- {
61709
- "name": "invalid"
61710
- },
61711
- {
61712
- "name": "required"
61713
- },
61731
+ "events": [
61714
61732
  {
61715
- "name": "error-text"
61733
+ "name": "tree-node-select",
61734
+ "type": {
61735
+ "text": "CustomEvent"
61736
+ }
61716
61737
  },
61717
61738
  {
61718
- "name": "checked"
61739
+ "name": "tree-node-expand",
61740
+ "type": {
61741
+ "text": "CustomEvent"
61742
+ }
61719
61743
  },
61720
61744
  {
61721
- "name": "disabled"
61745
+ "name": "tree-node-load-error",
61746
+ "type": {
61747
+ "text": "CustomEvent"
61748
+ }
61722
61749
  },
61723
61750
  {
61724
- "name": "name"
61725
- },
61751
+ "name": "tree-node-collapse",
61752
+ "type": {
61753
+ "text": "CustomEvent"
61754
+ }
61755
+ }
61756
+ ],
61757
+ "attributes": [
61726
61758
  {
61727
- "name": "value"
61759
+ "name": "selection-mode"
61728
61760
  },
61729
61761
  {
61730
- "name": "color"
61762
+ "name": "hide-borders"
61731
61763
  },
61732
61764
  {
61733
61765
  "name": "aria-label"
61734
61766
  },
61735
61767
  {
61736
61768
  "name": "input-label"
61737
- },
61738
- {
61739
- "name": "aria-labelledby"
61740
- },
61741
- {
61742
- "name": "aria-describedby"
61743
- }
61744
- ],
61745
- "mixins": [
61746
- {
61747
- "name": "FormAssociatedMixin",
61748
- "package": "@mintplayer/web-components/a11y"
61749
61769
  }
61750
61770
  ],
61751
61771
  "superclass": {
61752
61772
  "name": "LitElement",
61753
61773
  "package": "lit"
61754
61774
  },
61755
- "tagName": "mp-toggle-button",
61775
+ "tagName": "mp-treeview",
61756
61776
  "customElement": true
61757
61777
  }
61758
61778
  ],
61759
61779
  "exports": [
61760
61780
  {
61761
61781
  "kind": "js",
61762
- "name": "MpToggleButton",
61782
+ "name": "MpTreeview",
61763
61783
  "declaration": {
61764
- "name": "MpToggleButton",
61765
- "module": "toggle-button/src/components/mp-toggle-button.ts"
61784
+ "name": "MpTreeview",
61785
+ "module": "treeview/src/components/mp-treeview.ts"
61766
61786
  }
61767
61787
  },
61768
61788
  {
61769
61789
  "kind": "custom-element-definition",
61770
- "name": "mp-toggle-button",
61790
+ "name": "mp-treeview",
61771
61791
  "declaration": {
61772
- "name": "MpToggleButton",
61773
- "module": "toggle-button/src/components/mp-toggle-button.ts"
61792
+ "name": "MpTreeview",
61793
+ "module": "treeview/src/components/mp-treeview.ts"
61774
61794
  }
61775
61795
  }
61776
61796
  ]
61777
61797
  },
61778
61798
  {
61779
61799
  "kind": "javascript-module",
61780
- "path": "toggle-button/src/styles/index.ts",
61800
+ "path": "treeview/src/styles/index.ts",
61781
61801
  "declarations": [],
61782
61802
  "exports": [
61783
61803
  {
61784
61804
  "kind": "js",
61785
- "name": "toggleButtonStyles",
61805
+ "name": "treeviewLightStyles",
61786
61806
  "declaration": {
61787
- "name": "toggleButtonStyles",
61788
- "module": "./toggle-button.styles"
61807
+ "name": "treeviewLightStyles",
61808
+ "module": "./treeview.light.styles"
61789
61809
  }
61790
61810
  }
61791
61811
  ]
61792
61812
  },
61793
61813
  {
61794
61814
  "kind": "javascript-module",
61795
- "path": "toggle-button/src/styles/toggle-button.styles.ts",
61815
+ "path": "treeview/src/styles/treeview.light.styles.ts",
61796
61816
  "declarations": [
61797
61817
  {
61798
61818
  "kind": "variable",
61799
- "name": "toggleButtonStyles"
61819
+ "name": "treeviewLightStyles"
61800
61820
  }
61801
61821
  ],
61802
61822
  "exports": [
61803
61823
  {
61804
61824
  "kind": "js",
61805
- "name": "toggleButtonStyles",
61825
+ "name": "treeviewLightStyles",
61806
61826
  "declaration": {
61807
- "name": "toggleButtonStyles",
61808
- "module": "toggle-button/src/styles/toggle-button.styles.ts"
61827
+ "name": "treeviewLightStyles",
61828
+ "module": "treeview/src/styles/treeview.light.styles.ts"
61809
61829
  }
61810
61830
  },
61811
61831
  {
61812
61832
  "kind": "js",
61813
61833
  "name": "default",
61814
61834
  "declaration": {
61815
- "name": "toggleButtonStyles",
61816
- "module": "toggle-button/src/styles/toggle-button.styles.ts"
61835
+ "name": "treeviewLightStyles",
61836
+ "module": "treeview/src/styles/treeview.light.styles.ts"
61817
61837
  }
61818
61838
  }
61819
61839
  ]
61820
61840
  },
61841
+ {
61842
+ "kind": "javascript-module",
61843
+ "path": "treeview/src/types/index.ts",
61844
+ "declarations": [],
61845
+ "exports": [
61846
+ {
61847
+ "kind": "js",
61848
+ "name": "TreeNode",
61849
+ "declaration": {
61850
+ "name": "TreeNode",
61851
+ "module": "./tree-node"
61852
+ }
61853
+ }
61854
+ ]
61855
+ },
61856
+ {
61857
+ "kind": "javascript-module",
61858
+ "path": "treeview/src/types/tree-node.ts",
61859
+ "declarations": [],
61860
+ "exports": []
61861
+ },
61821
61862
  {
61822
61863
  "kind": "javascript-module",
61823
61864
  "path": "typeahead/src/components/mp-typeahead.ts",