@patternfly/pfe-core 4.0.4 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/controllers/css-variable-controller.d.ts +2 -2
- package/controllers/css-variable-controller.js +8 -2
- package/controllers/css-variable-controller.js.map +1 -1
- package/controllers/light-dom-controller.d.ts +1 -1
- package/controllers/light-dom-controller.js +8 -2
- package/controllers/light-dom-controller.js.map +1 -1
- package/controllers/scroll-spy-controller.d.ts +6 -1
- package/controllers/scroll-spy-controller.js +80 -12
- package/controllers/scroll-spy-controller.js.map +1 -1
- package/controllers/slot-controller-server.d.ts +16 -0
- package/controllers/slot-controller-server.js +32 -0
- package/controllers/slot-controller-server.js.map +1 -0
- package/controllers/slot-controller.d.ts +46 -3
- package/controllers/slot-controller.js +46 -59
- package/controllers/slot-controller.js.map +1 -1
- package/custom-elements.json +586 -249
- package/functions/context.js +5 -0
- package/functions/context.js.map +1 -1
- package/package.json +8 -4
- package/ssr-shims.d.ts +1 -17
- package/ssr-shims.js +23 -27
- package/ssr-shims.js.map +1 -1
package/custom-elements.json
CHANGED
|
@@ -2709,7 +2709,7 @@
|
|
|
2709
2709
|
"kind": "field",
|
|
2710
2710
|
"name": "style",
|
|
2711
2711
|
"type": {
|
|
2712
|
-
"text": "CSSStyleDeclaration"
|
|
2712
|
+
"text": "CSSStyleDeclaration | undefined"
|
|
2713
2713
|
}
|
|
2714
2714
|
},
|
|
2715
2715
|
{
|
|
@@ -2785,13 +2785,13 @@
|
|
|
2785
2785
|
]
|
|
2786
2786
|
},
|
|
2787
2787
|
{
|
|
2788
|
-
"kind": "
|
|
2789
|
-
"name": "
|
|
2790
|
-
"default": "host"
|
|
2788
|
+
"kind": "method",
|
|
2789
|
+
"name": "hostConnected"
|
|
2791
2790
|
},
|
|
2792
2791
|
{
|
|
2793
2792
|
"kind": "field",
|
|
2794
|
-
"name": "
|
|
2793
|
+
"name": "host",
|
|
2794
|
+
"default": "host"
|
|
2795
2795
|
}
|
|
2796
2796
|
]
|
|
2797
2797
|
}
|
|
@@ -2820,7 +2820,7 @@
|
|
|
2820
2820
|
"kind": "field",
|
|
2821
2821
|
"name": "style",
|
|
2822
2822
|
"type": {
|
|
2823
|
-
"text": "CSSStyleDeclaration"
|
|
2823
|
+
"text": "CSSStyleDeclaration | undefined"
|
|
2824
2824
|
}
|
|
2825
2825
|
},
|
|
2826
2826
|
{
|
|
@@ -8488,6 +8488,15 @@
|
|
|
8488
8488
|
}
|
|
8489
8489
|
}
|
|
8490
8490
|
},
|
|
8491
|
+
{
|
|
8492
|
+
"kind": "method",
|
|
8493
|
+
"name": "hostDisconnected",
|
|
8494
|
+
"return": {
|
|
8495
|
+
"type": {
|
|
8496
|
+
"text": "void"
|
|
8497
|
+
}
|
|
8498
|
+
}
|
|
8499
|
+
},
|
|
8491
8500
|
{
|
|
8492
8501
|
"kind": "method",
|
|
8493
8502
|
"name": "setActive",
|
|
@@ -8546,6 +8555,10 @@
|
|
|
8546
8555
|
"kind": "method",
|
|
8547
8556
|
"name": "hostConnected"
|
|
8548
8557
|
},
|
|
8558
|
+
{
|
|
8559
|
+
"kind": "method",
|
|
8560
|
+
"name": "hostDisconnected"
|
|
8561
|
+
},
|
|
8549
8562
|
{
|
|
8550
8563
|
"kind": "method",
|
|
8551
8564
|
"name": "setActive",
|
|
@@ -8587,212 +8600,15 @@
|
|
|
8587
8600
|
"members": [
|
|
8588
8601
|
{
|
|
8589
8602
|
"kind": "field",
|
|
8590
|
-
"name": "#
|
|
8591
|
-
"privacy": "private",
|
|
8592
|
-
"type": {
|
|
8593
|
-
"text": "string[]"
|
|
8594
|
-
}
|
|
8595
|
-
},
|
|
8596
|
-
{
|
|
8597
|
-
"kind": "field",
|
|
8598
|
-
"name": "#activeAttribute",
|
|
8599
|
-
"privacy": "private",
|
|
8600
|
-
"type": {
|
|
8601
|
-
"text": "string"
|
|
8602
|
-
}
|
|
8603
|
-
},
|
|
8604
|
-
{
|
|
8605
|
-
"kind": "field",
|
|
8606
|
-
"name": "#io",
|
|
8607
|
-
"privacy": "private",
|
|
8608
|
-
"type": {
|
|
8609
|
-
"text": "IntersectionObserver | undefined"
|
|
8610
|
-
}
|
|
8611
|
-
},
|
|
8612
|
-
{
|
|
8613
|
-
"kind": "field",
|
|
8614
|
-
"name": "#passedLinks",
|
|
8615
|
-
"privacy": "private",
|
|
8616
|
-
"default": "new Set<Element>()",
|
|
8617
|
-
"description": "Which link's targets have already scrolled past?"
|
|
8618
|
-
},
|
|
8619
|
-
{
|
|
8620
|
-
"kind": "field",
|
|
8621
|
-
"name": "#force",
|
|
8622
|
-
"privacy": "private",
|
|
8623
|
-
"type": {
|
|
8624
|
-
"text": "boolean"
|
|
8625
|
-
},
|
|
8626
|
-
"default": "false",
|
|
8627
|
-
"description": "Ignore intersections?"
|
|
8628
|
-
},
|
|
8629
|
-
{
|
|
8630
|
-
"kind": "field",
|
|
8631
|
-
"name": "#intersected",
|
|
8632
|
-
"privacy": "private",
|
|
8633
|
-
"type": {
|
|
8634
|
-
"text": "boolean"
|
|
8635
|
-
},
|
|
8636
|
-
"default": "false",
|
|
8637
|
-
"description": "Has the intersection observer found an element?"
|
|
8638
|
-
},
|
|
8639
|
-
{
|
|
8640
|
-
"kind": "field",
|
|
8641
|
-
"name": "#root",
|
|
8642
|
-
"privacy": "private",
|
|
8643
|
-
"type": {
|
|
8644
|
-
"text": "ScrollSpyControllerOptions['root']"
|
|
8645
|
-
}
|
|
8646
|
-
},
|
|
8647
|
-
{
|
|
8648
|
-
"kind": "field",
|
|
8649
|
-
"name": "#rootMargin",
|
|
8650
|
-
"privacy": "private",
|
|
8651
|
-
"type": {
|
|
8652
|
-
"text": "string | undefined"
|
|
8653
|
-
}
|
|
8654
|
-
},
|
|
8655
|
-
{
|
|
8656
|
-
"kind": "field",
|
|
8657
|
-
"name": "#threshold",
|
|
8658
|
-
"privacy": "private",
|
|
8659
|
-
"type": {
|
|
8660
|
-
"text": "number | number[]"
|
|
8661
|
-
}
|
|
8662
|
-
},
|
|
8663
|
-
{
|
|
8664
|
-
"kind": "field",
|
|
8665
|
-
"name": "#getRootNode",
|
|
8666
|
-
"privacy": "private",
|
|
8667
|
-
"type": {
|
|
8668
|
-
"text": "() => Node"
|
|
8669
|
-
}
|
|
8670
|
-
},
|
|
8671
|
-
{
|
|
8672
|
-
"kind": "field",
|
|
8673
|
-
"name": "#getHash",
|
|
8674
|
-
"privacy": "private",
|
|
8675
|
-
"type": {
|
|
8676
|
-
"text": "(el: Element) => string | null"
|
|
8677
|
-
}
|
|
8678
|
-
},
|
|
8679
|
-
{
|
|
8680
|
-
"kind": "field",
|
|
8681
|
-
"name": "#linkChildren",
|
|
8603
|
+
"name": "#instances",
|
|
8682
8604
|
"privacy": "private",
|
|
8683
|
-
"
|
|
8684
|
-
|
|
8685
|
-
}
|
|
8686
|
-
},
|
|
8687
|
-
{
|
|
8688
|
-
"kind": "field",
|
|
8689
|
-
"name": "root",
|
|
8690
|
-
"type": {
|
|
8691
|
-
"text": "Element | Document | null | undefined"
|
|
8692
|
-
}
|
|
8693
|
-
},
|
|
8694
|
-
{
|
|
8695
|
-
"kind": "field",
|
|
8696
|
-
"name": "rootMargin",
|
|
8697
|
-
"type": {
|
|
8698
|
-
"text": "string | undefined"
|
|
8699
|
-
}
|
|
8700
|
-
},
|
|
8701
|
-
{
|
|
8702
|
-
"kind": "field",
|
|
8703
|
-
"name": "threshold",
|
|
8704
|
-
"type": {
|
|
8705
|
-
"text": "number | number[]"
|
|
8706
|
-
}
|
|
8707
|
-
},
|
|
8708
|
-
{
|
|
8709
|
-
"kind": "method",
|
|
8710
|
-
"name": "hostConnected",
|
|
8711
|
-
"return": {
|
|
8712
|
-
"type": {
|
|
8713
|
-
"text": "void"
|
|
8714
|
-
}
|
|
8715
|
-
}
|
|
8716
|
-
},
|
|
8717
|
-
{
|
|
8718
|
-
"kind": "method",
|
|
8719
|
-
"name": "#initIo"
|
|
8720
|
-
},
|
|
8721
|
-
{
|
|
8722
|
-
"kind": "method",
|
|
8723
|
-
"name": "#markPassed",
|
|
8724
|
-
"parameters": [
|
|
8725
|
-
{
|
|
8726
|
-
"name": "link",
|
|
8727
|
-
"type": {
|
|
8728
|
-
"text": "Element"
|
|
8729
|
-
}
|
|
8730
|
-
},
|
|
8731
|
-
{
|
|
8732
|
-
"name": "force",
|
|
8733
|
-
"type": {
|
|
8734
|
-
"text": "boolean"
|
|
8735
|
-
}
|
|
8736
|
-
}
|
|
8737
|
-
]
|
|
8738
|
-
},
|
|
8739
|
-
{
|
|
8740
|
-
"kind": "method",
|
|
8741
|
-
"name": "#setActive",
|
|
8742
|
-
"parameters": [
|
|
8743
|
-
{
|
|
8744
|
-
"name": "link",
|
|
8745
|
-
"optional": true,
|
|
8746
|
-
"type": {
|
|
8747
|
-
"text": "EventTarget | null"
|
|
8748
|
-
}
|
|
8749
|
-
}
|
|
8750
|
-
]
|
|
8751
|
-
},
|
|
8752
|
-
{
|
|
8753
|
-
"kind": "method",
|
|
8754
|
-
"name": "#nextIntersection"
|
|
8755
|
-
},
|
|
8756
|
-
{
|
|
8757
|
-
"kind": "method",
|
|
8758
|
-
"name": "#onIo",
|
|
8759
|
-
"parameters": [
|
|
8760
|
-
{
|
|
8761
|
-
"name": "entries",
|
|
8762
|
-
"type": {
|
|
8763
|
-
"text": "IntersectionObserverEntry[]"
|
|
8764
|
-
}
|
|
8765
|
-
}
|
|
8766
|
-
]
|
|
8767
|
-
},
|
|
8768
|
-
{
|
|
8769
|
-
"kind": "method",
|
|
8770
|
-
"name": "setActive",
|
|
8771
|
-
"privacy": "public",
|
|
8772
|
-
"return": {
|
|
8773
|
-
"type": {
|
|
8774
|
-
"text": "Promise<void>"
|
|
8775
|
-
}
|
|
8776
|
-
},
|
|
8777
|
-
"parameters": [
|
|
8778
|
-
{
|
|
8779
|
-
"name": "link",
|
|
8780
|
-
"type": {
|
|
8781
|
-
"text": "EventTarget | null"
|
|
8782
|
-
},
|
|
8783
|
-
"description": "usually an `<a>`"
|
|
8784
|
-
}
|
|
8785
|
-
],
|
|
8786
|
-
"description": "Explicitly set the active item"
|
|
8605
|
+
"static": true,
|
|
8606
|
+
"default": "new Set<ScrollSpyController>"
|
|
8787
8607
|
},
|
|
8788
8608
|
{
|
|
8789
8609
|
"kind": "field",
|
|
8790
|
-
"
|
|
8791
|
-
|
|
8792
|
-
"name": "ReactiveControllerHost & HTMLElement"
|
|
8793
|
-
},
|
|
8794
|
-
"name": "host",
|
|
8795
|
-
"privacy": "private"
|
|
8610
|
+
"name": "",
|
|
8611
|
+
"static": true
|
|
8796
8612
|
}
|
|
8797
8613
|
]
|
|
8798
8614
|
}
|
|
@@ -8810,18 +8626,13 @@
|
|
|
8810
8626
|
},
|
|
8811
8627
|
{
|
|
8812
8628
|
"kind": "javascript-module",
|
|
8813
|
-
"path": "controllers/slot-controller.d.ts",
|
|
8629
|
+
"path": "controllers/slot-controller-server.d.ts",
|
|
8814
8630
|
"declarations": [
|
|
8815
8631
|
{
|
|
8816
8632
|
"kind": "class",
|
|
8817
8633
|
"description": "",
|
|
8818
8634
|
"name": "SlotController",
|
|
8819
8635
|
"members": [
|
|
8820
|
-
{
|
|
8821
|
-
"kind": "field",
|
|
8822
|
-
"name": "#private",
|
|
8823
|
-
"privacy": "private"
|
|
8824
|
-
},
|
|
8825
8636
|
{
|
|
8826
8637
|
"kind": "field",
|
|
8827
8638
|
"name": "host",
|
|
@@ -8847,32 +8658,35 @@
|
|
|
8847
8658
|
"deprecated": "use `default`"
|
|
8848
8659
|
},
|
|
8849
8660
|
{
|
|
8850
|
-
"kind": "
|
|
8851
|
-
"name": "
|
|
8852
|
-
"
|
|
8853
|
-
"
|
|
8854
|
-
|
|
8855
|
-
|
|
8856
|
-
}
|
|
8661
|
+
"kind": "field",
|
|
8662
|
+
"name": "attribute",
|
|
8663
|
+
"type": {
|
|
8664
|
+
"text": "\"ssr-hint-has-slotted\""
|
|
8665
|
+
},
|
|
8666
|
+
"static": true
|
|
8857
8667
|
},
|
|
8858
8668
|
{
|
|
8859
|
-
"kind": "
|
|
8860
|
-
"name": "
|
|
8861
|
-
"
|
|
8862
|
-
"
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
}
|
|
8669
|
+
"kind": "field",
|
|
8670
|
+
"name": "anonymousAttribute",
|
|
8671
|
+
"type": {
|
|
8672
|
+
"text": "\"ssr-hint-has-slotted-default\""
|
|
8673
|
+
},
|
|
8674
|
+
"static": true
|
|
8866
8675
|
},
|
|
8867
8676
|
{
|
|
8868
8677
|
"kind": "method",
|
|
8869
|
-
"name": "
|
|
8678
|
+
"name": "hostConnected",
|
|
8870
8679
|
"return": {
|
|
8871
8680
|
"type": {
|
|
8872
|
-
"text": "void"
|
|
8681
|
+
"text": "Promise<void>"
|
|
8873
8682
|
}
|
|
8874
8683
|
}
|
|
8875
8684
|
},
|
|
8685
|
+
{
|
|
8686
|
+
"kind": "field",
|
|
8687
|
+
"name": "fromAttribute",
|
|
8688
|
+
"privacy": "private"
|
|
8689
|
+
},
|
|
8876
8690
|
{
|
|
8877
8691
|
"kind": "method",
|
|
8878
8692
|
"name": "getSlotted",
|
|
@@ -8883,14 +8697,12 @@
|
|
|
8883
8697
|
},
|
|
8884
8698
|
"parameters": [
|
|
8885
8699
|
{
|
|
8886
|
-
"name": "
|
|
8700
|
+
"name": "_",
|
|
8887
8701
|
"type": {
|
|
8888
8702
|
"text": "string[]"
|
|
8889
|
-
}
|
|
8890
|
-
"description": "slots to query"
|
|
8703
|
+
}
|
|
8891
8704
|
}
|
|
8892
|
-
]
|
|
8893
|
-
"description": "Given a slot name or slot names, returns elements assigned to the requested slots as an array.\nIf no value is provided, it returns all children not assigned to a slot (without a slot attribute)."
|
|
8705
|
+
]
|
|
8894
8706
|
},
|
|
8895
8707
|
{
|
|
8896
8708
|
"kind": "method",
|
|
@@ -8904,31 +8716,27 @@
|
|
|
8904
8716
|
{
|
|
8905
8717
|
"name": "names",
|
|
8906
8718
|
"type": {
|
|
8907
|
-
"text": "(string | null
|
|
8908
|
-
}
|
|
8909
|
-
"description": "The slot names to check."
|
|
8719
|
+
"text": "(string | null)[]"
|
|
8720
|
+
}
|
|
8910
8721
|
}
|
|
8911
|
-
]
|
|
8912
|
-
"description": "Returns a boolean statement of whether or not any of those slots exists in the light DOM."
|
|
8722
|
+
]
|
|
8913
8723
|
},
|
|
8914
8724
|
{
|
|
8915
8725
|
"kind": "method",
|
|
8916
8726
|
"name": "isEmpty",
|
|
8917
8727
|
"return": {
|
|
8918
8728
|
"type": {
|
|
8919
|
-
"text": ""
|
|
8729
|
+
"text": "boolean"
|
|
8920
8730
|
}
|
|
8921
8731
|
},
|
|
8922
8732
|
"parameters": [
|
|
8923
8733
|
{
|
|
8924
8734
|
"name": "names",
|
|
8925
8735
|
"type": {
|
|
8926
|
-
"text": "(string | null
|
|
8927
|
-
}
|
|
8928
|
-
"description": "The slot names to query. If no value is provided, it returns the default slot."
|
|
8736
|
+
"text": "(string | null)[]"
|
|
8737
|
+
}
|
|
8929
8738
|
}
|
|
8930
|
-
]
|
|
8931
|
-
"description": "Whether or not all the requested slots are empty."
|
|
8739
|
+
]
|
|
8932
8740
|
}
|
|
8933
8741
|
]
|
|
8934
8742
|
}
|
|
@@ -8939,14 +8747,14 @@
|
|
|
8939
8747
|
"name": "SlotController",
|
|
8940
8748
|
"declaration": {
|
|
8941
8749
|
"name": "SlotController",
|
|
8942
|
-
"module": "controllers/slot-controller.d.ts"
|
|
8750
|
+
"module": "controllers/slot-controller-server.d.ts"
|
|
8943
8751
|
}
|
|
8944
8752
|
}
|
|
8945
8753
|
]
|
|
8946
8754
|
},
|
|
8947
8755
|
{
|
|
8948
8756
|
"kind": "javascript-module",
|
|
8949
|
-
"path": "controllers/slot-controller.js",
|
|
8757
|
+
"path": "controllers/slot-controller-server.js",
|
|
8950
8758
|
"declarations": [
|
|
8951
8759
|
{
|
|
8952
8760
|
"kind": "class",
|
|
@@ -8955,7 +8763,388 @@
|
|
|
8955
8763
|
"members": [
|
|
8956
8764
|
{
|
|
8957
8765
|
"kind": "method",
|
|
8958
|
-
"name": "
|
|
8766
|
+
"name": "fromAttribute",
|
|
8767
|
+
"parameters": [
|
|
8768
|
+
{
|
|
8769
|
+
"name": "slots"
|
|
8770
|
+
}
|
|
8771
|
+
]
|
|
8772
|
+
},
|
|
8773
|
+
{
|
|
8774
|
+
"kind": "method",
|
|
8775
|
+
"name": "getSlotted",
|
|
8776
|
+
"parameters": [
|
|
8777
|
+
{
|
|
8778
|
+
"name": "_"
|
|
8779
|
+
}
|
|
8780
|
+
]
|
|
8781
|
+
},
|
|
8782
|
+
{
|
|
8783
|
+
"kind": "method",
|
|
8784
|
+
"name": "hasSlotted",
|
|
8785
|
+
"parameters": [
|
|
8786
|
+
{
|
|
8787
|
+
"name": "names"
|
|
8788
|
+
}
|
|
8789
|
+
]
|
|
8790
|
+
},
|
|
8791
|
+
{
|
|
8792
|
+
"kind": "method",
|
|
8793
|
+
"name": "isEmpty",
|
|
8794
|
+
"parameters": [
|
|
8795
|
+
{
|
|
8796
|
+
"name": "names"
|
|
8797
|
+
}
|
|
8798
|
+
]
|
|
8799
|
+
},
|
|
8800
|
+
{
|
|
8801
|
+
"kind": "field",
|
|
8802
|
+
"name": "host",
|
|
8803
|
+
"default": "host"
|
|
8804
|
+
}
|
|
8805
|
+
]
|
|
8806
|
+
}
|
|
8807
|
+
],
|
|
8808
|
+
"exports": [
|
|
8809
|
+
{
|
|
8810
|
+
"kind": "js",
|
|
8811
|
+
"name": "SlotController",
|
|
8812
|
+
"declaration": {
|
|
8813
|
+
"name": "SlotController",
|
|
8814
|
+
"module": "controllers/slot-controller-server.js"
|
|
8815
|
+
}
|
|
8816
|
+
}
|
|
8817
|
+
]
|
|
8818
|
+
},
|
|
8819
|
+
{
|
|
8820
|
+
"kind": "javascript-module",
|
|
8821
|
+
"path": "controllers/slot-controller-server.ts",
|
|
8822
|
+
"declarations": [
|
|
8823
|
+
{
|
|
8824
|
+
"kind": "class",
|
|
8825
|
+
"description": "",
|
|
8826
|
+
"name": "SlotController",
|
|
8827
|
+
"members": [
|
|
8828
|
+
{
|
|
8829
|
+
"kind": "field",
|
|
8830
|
+
"name": "default",
|
|
8831
|
+
"privacy": "public",
|
|
8832
|
+
"static": true
|
|
8833
|
+
},
|
|
8834
|
+
{
|
|
8835
|
+
"kind": "field",
|
|
8836
|
+
"name": "satisfies"
|
|
8837
|
+
}
|
|
8838
|
+
]
|
|
8839
|
+
}
|
|
8840
|
+
],
|
|
8841
|
+
"exports": [
|
|
8842
|
+
{
|
|
8843
|
+
"kind": "js",
|
|
8844
|
+
"name": "SlotController",
|
|
8845
|
+
"declaration": {
|
|
8846
|
+
"name": "SlotController",
|
|
8847
|
+
"module": "controllers/slot-controller-server.ts"
|
|
8848
|
+
}
|
|
8849
|
+
}
|
|
8850
|
+
]
|
|
8851
|
+
},
|
|
8852
|
+
{
|
|
8853
|
+
"kind": "javascript-module",
|
|
8854
|
+
"path": "controllers/slot-controller.d.ts",
|
|
8855
|
+
"declarations": [
|
|
8856
|
+
{
|
|
8857
|
+
"kind": "function",
|
|
8858
|
+
"name": "isObjectSpread",
|
|
8859
|
+
"return": {
|
|
8860
|
+
"type": {
|
|
8861
|
+
"text": "config is [SlotsConfig]"
|
|
8862
|
+
}
|
|
8863
|
+
},
|
|
8864
|
+
"parameters": [
|
|
8865
|
+
{
|
|
8866
|
+
"name": "config",
|
|
8867
|
+
"type": {
|
|
8868
|
+
"text": "SlotControllerArgs"
|
|
8869
|
+
}
|
|
8870
|
+
}
|
|
8871
|
+
]
|
|
8872
|
+
},
|
|
8873
|
+
{
|
|
8874
|
+
"kind": "class",
|
|
8875
|
+
"description": "",
|
|
8876
|
+
"name": "SlotControllerPublicAPI",
|
|
8877
|
+
"members": [
|
|
8878
|
+
{
|
|
8879
|
+
"kind": "field",
|
|
8880
|
+
"name": "default",
|
|
8881
|
+
"type": {
|
|
8882
|
+
"text": "symbol"
|
|
8883
|
+
},
|
|
8884
|
+
"static": true
|
|
8885
|
+
},
|
|
8886
|
+
{
|
|
8887
|
+
"kind": "field",
|
|
8888
|
+
"name": "host",
|
|
8889
|
+
"type": {
|
|
8890
|
+
"text": "ReactiveElement"
|
|
8891
|
+
}
|
|
8892
|
+
},
|
|
8893
|
+
{
|
|
8894
|
+
"kind": "method",
|
|
8895
|
+
"name": "hostConnected",
|
|
8896
|
+
"return": {
|
|
8897
|
+
"type": {
|
|
8898
|
+
"text": "Promise<void>"
|
|
8899
|
+
}
|
|
8900
|
+
}
|
|
8901
|
+
},
|
|
8902
|
+
{
|
|
8903
|
+
"kind": "method",
|
|
8904
|
+
"name": "hostDisconnected",
|
|
8905
|
+
"return": {
|
|
8906
|
+
"type": {
|
|
8907
|
+
"text": "void"
|
|
8908
|
+
}
|
|
8909
|
+
}
|
|
8910
|
+
},
|
|
8911
|
+
{
|
|
8912
|
+
"kind": "method",
|
|
8913
|
+
"name": "hostUpdated",
|
|
8914
|
+
"return": {
|
|
8915
|
+
"type": {
|
|
8916
|
+
"text": "void"
|
|
8917
|
+
}
|
|
8918
|
+
}
|
|
8919
|
+
},
|
|
8920
|
+
{
|
|
8921
|
+
"kind": "method",
|
|
8922
|
+
"name": "getSlotted",
|
|
8923
|
+
"return": {
|
|
8924
|
+
"type": {
|
|
8925
|
+
"text": "T[]"
|
|
8926
|
+
}
|
|
8927
|
+
},
|
|
8928
|
+
"parameters": [
|
|
8929
|
+
{
|
|
8930
|
+
"name": "slotNames",
|
|
8931
|
+
"type": {
|
|
8932
|
+
"text": "string[]"
|
|
8933
|
+
},
|
|
8934
|
+
"description": "slots to query"
|
|
8935
|
+
}
|
|
8936
|
+
],
|
|
8937
|
+
"description": "Given a slot name or slot names, returns elements assigned to the requested slots as an array.\nIf no value is provided, it returns all children not assigned to a slot (without a slot attribute)."
|
|
8938
|
+
},
|
|
8939
|
+
{
|
|
8940
|
+
"kind": "method",
|
|
8941
|
+
"name": "hasSlotted",
|
|
8942
|
+
"return": {
|
|
8943
|
+
"type": {
|
|
8944
|
+
"text": "boolean"
|
|
8945
|
+
}
|
|
8946
|
+
},
|
|
8947
|
+
"parameters": [
|
|
8948
|
+
{
|
|
8949
|
+
"name": "names",
|
|
8950
|
+
"type": {
|
|
8951
|
+
"text": "(string | null | undefined)[]"
|
|
8952
|
+
},
|
|
8953
|
+
"description": "The slot names to check."
|
|
8954
|
+
}
|
|
8955
|
+
],
|
|
8956
|
+
"description": "Returns a boolean statement of whether or not any of those slots exists in the light DOM."
|
|
8957
|
+
},
|
|
8958
|
+
{
|
|
8959
|
+
"kind": "method",
|
|
8960
|
+
"name": "isEmpty",
|
|
8961
|
+
"return": {
|
|
8962
|
+
"type": {
|
|
8963
|
+
"text": ""
|
|
8964
|
+
}
|
|
8965
|
+
},
|
|
8966
|
+
"parameters": [
|
|
8967
|
+
{
|
|
8968
|
+
"name": "names",
|
|
8969
|
+
"type": {
|
|
8970
|
+
"text": "(string | null | undefined)[]"
|
|
8971
|
+
},
|
|
8972
|
+
"description": "The slot names to query. If no value is provided, it returns the default slot."
|
|
8973
|
+
}
|
|
8974
|
+
],
|
|
8975
|
+
"description": "Whether or not all the requested slots are empty."
|
|
8976
|
+
}
|
|
8977
|
+
]
|
|
8978
|
+
},
|
|
8979
|
+
{
|
|
8980
|
+
"kind": "class",
|
|
8981
|
+
"description": "",
|
|
8982
|
+
"name": "SlotController",
|
|
8983
|
+
"members": [
|
|
8984
|
+
{
|
|
8985
|
+
"kind": "field",
|
|
8986
|
+
"name": "#private",
|
|
8987
|
+
"privacy": "private"
|
|
8988
|
+
},
|
|
8989
|
+
{
|
|
8990
|
+
"kind": "field",
|
|
8991
|
+
"name": "host",
|
|
8992
|
+
"type": {
|
|
8993
|
+
"text": "ReactiveElement"
|
|
8994
|
+
}
|
|
8995
|
+
},
|
|
8996
|
+
{
|
|
8997
|
+
"kind": "field",
|
|
8998
|
+
"name": "default",
|
|
8999
|
+
"type": {
|
|
9000
|
+
"text": "symbol"
|
|
9001
|
+
},
|
|
9002
|
+
"static": true
|
|
9003
|
+
},
|
|
9004
|
+
{
|
|
9005
|
+
"kind": "field",
|
|
9006
|
+
"name": "anonymous",
|
|
9007
|
+
"type": {
|
|
9008
|
+
"text": "symbol"
|
|
9009
|
+
},
|
|
9010
|
+
"static": true,
|
|
9011
|
+
"deprecated": "use `default`"
|
|
9012
|
+
},
|
|
9013
|
+
{
|
|
9014
|
+
"kind": "method",
|
|
9015
|
+
"name": "hostConnected",
|
|
9016
|
+
"return": {
|
|
9017
|
+
"type": {
|
|
9018
|
+
"text": "Promise<void>"
|
|
9019
|
+
}
|
|
9020
|
+
}
|
|
9021
|
+
},
|
|
9022
|
+
{
|
|
9023
|
+
"kind": "method",
|
|
9024
|
+
"name": "hostUpdated",
|
|
9025
|
+
"return": {
|
|
9026
|
+
"type": {
|
|
9027
|
+
"text": "void"
|
|
9028
|
+
}
|
|
9029
|
+
}
|
|
9030
|
+
},
|
|
9031
|
+
{
|
|
9032
|
+
"kind": "method",
|
|
9033
|
+
"name": "hostDisconnected",
|
|
9034
|
+
"return": {
|
|
9035
|
+
"type": {
|
|
9036
|
+
"text": "void"
|
|
9037
|
+
}
|
|
9038
|
+
}
|
|
9039
|
+
},
|
|
9040
|
+
{
|
|
9041
|
+
"kind": "method",
|
|
9042
|
+
"name": "getSlotted",
|
|
9043
|
+
"return": {
|
|
9044
|
+
"type": {
|
|
9045
|
+
"text": "T[]"
|
|
9046
|
+
}
|
|
9047
|
+
},
|
|
9048
|
+
"parameters": [
|
|
9049
|
+
{
|
|
9050
|
+
"name": "slotNames",
|
|
9051
|
+
"type": {
|
|
9052
|
+
"text": "string[]"
|
|
9053
|
+
},
|
|
9054
|
+
"description": "slots to query"
|
|
9055
|
+
}
|
|
9056
|
+
],
|
|
9057
|
+
"description": "Given a slot name or slot names, returns elements assigned to the requested slots as an array.\nIf no value is provided, it returns all children not assigned to a slot (without a slot attribute)."
|
|
9058
|
+
},
|
|
9059
|
+
{
|
|
9060
|
+
"kind": "method",
|
|
9061
|
+
"name": "hasSlotted",
|
|
9062
|
+
"return": {
|
|
9063
|
+
"type": {
|
|
9064
|
+
"text": "boolean"
|
|
9065
|
+
}
|
|
9066
|
+
},
|
|
9067
|
+
"parameters": [
|
|
9068
|
+
{
|
|
9069
|
+
"name": "names",
|
|
9070
|
+
"type": {
|
|
9071
|
+
"text": "(string | null | undefined)[]"
|
|
9072
|
+
},
|
|
9073
|
+
"description": "The slot names to check."
|
|
9074
|
+
}
|
|
9075
|
+
],
|
|
9076
|
+
"description": "Returns a boolean statement of whether or not any of those slots exists in the light DOM."
|
|
9077
|
+
},
|
|
9078
|
+
{
|
|
9079
|
+
"kind": "method",
|
|
9080
|
+
"name": "isEmpty",
|
|
9081
|
+
"return": {
|
|
9082
|
+
"type": {
|
|
9083
|
+
"text": ""
|
|
9084
|
+
}
|
|
9085
|
+
},
|
|
9086
|
+
"parameters": [
|
|
9087
|
+
{
|
|
9088
|
+
"name": "names",
|
|
9089
|
+
"type": {
|
|
9090
|
+
"text": "(string | null | undefined)[]"
|
|
9091
|
+
},
|
|
9092
|
+
"description": "The slot names to query. If no value is provided, it returns the default slot."
|
|
9093
|
+
}
|
|
9094
|
+
],
|
|
9095
|
+
"description": "Whether or not all the requested slots are empty."
|
|
9096
|
+
}
|
|
9097
|
+
]
|
|
9098
|
+
}
|
|
9099
|
+
],
|
|
9100
|
+
"exports": [
|
|
9101
|
+
{
|
|
9102
|
+
"kind": "js",
|
|
9103
|
+
"name": "isObjectSpread",
|
|
9104
|
+
"declaration": {
|
|
9105
|
+
"name": "isObjectSpread",
|
|
9106
|
+
"module": "controllers/slot-controller.d.ts"
|
|
9107
|
+
}
|
|
9108
|
+
},
|
|
9109
|
+
{
|
|
9110
|
+
"kind": "js",
|
|
9111
|
+
"name": "SlotControllerPublicAPI",
|
|
9112
|
+
"declaration": {
|
|
9113
|
+
"name": "SlotControllerPublicAPI",
|
|
9114
|
+
"module": "controllers/slot-controller.d.ts"
|
|
9115
|
+
}
|
|
9116
|
+
},
|
|
9117
|
+
{
|
|
9118
|
+
"kind": "js",
|
|
9119
|
+
"name": "SlotController",
|
|
9120
|
+
"declaration": {
|
|
9121
|
+
"name": "SlotController",
|
|
9122
|
+
"module": "controllers/slot-controller.d.ts"
|
|
9123
|
+
}
|
|
9124
|
+
}
|
|
9125
|
+
]
|
|
9126
|
+
},
|
|
9127
|
+
{
|
|
9128
|
+
"kind": "javascript-module",
|
|
9129
|
+
"path": "controllers/slot-controller.js",
|
|
9130
|
+
"declarations": [
|
|
9131
|
+
{
|
|
9132
|
+
"kind": "function",
|
|
9133
|
+
"name": "isObjectSpread",
|
|
9134
|
+
"parameters": [
|
|
9135
|
+
{
|
|
9136
|
+
"name": "config"
|
|
9137
|
+
}
|
|
9138
|
+
]
|
|
9139
|
+
},
|
|
9140
|
+
{
|
|
9141
|
+
"kind": "class",
|
|
9142
|
+
"description": "",
|
|
9143
|
+
"name": "SlotController",
|
|
9144
|
+
"members": [
|
|
9145
|
+
{
|
|
9146
|
+
"kind": "method",
|
|
9147
|
+
"name": "hostConnected"
|
|
8959
9148
|
},
|
|
8960
9149
|
{
|
|
8961
9150
|
"kind": "method",
|
|
@@ -9012,6 +9201,14 @@
|
|
|
9012
9201
|
}
|
|
9013
9202
|
],
|
|
9014
9203
|
"exports": [
|
|
9204
|
+
{
|
|
9205
|
+
"kind": "js",
|
|
9206
|
+
"name": "isObjectSpread",
|
|
9207
|
+
"declaration": {
|
|
9208
|
+
"name": "isObjectSpread",
|
|
9209
|
+
"module": "controllers/slot-controller.js"
|
|
9210
|
+
}
|
|
9211
|
+
},
|
|
9015
9212
|
{
|
|
9016
9213
|
"kind": "js",
|
|
9017
9214
|
"name": "SlotController",
|
|
@@ -9026,6 +9223,130 @@
|
|
|
9026
9223
|
"kind": "javascript-module",
|
|
9027
9224
|
"path": "controllers/slot-controller.ts",
|
|
9028
9225
|
"declarations": [
|
|
9226
|
+
{
|
|
9227
|
+
"kind": "function",
|
|
9228
|
+
"name": "isObjectSpread",
|
|
9229
|
+
"return": {
|
|
9230
|
+
"type": {
|
|
9231
|
+
"text": "config is [SlotsConfig]"
|
|
9232
|
+
}
|
|
9233
|
+
},
|
|
9234
|
+
"parameters": [
|
|
9235
|
+
{
|
|
9236
|
+
"name": "config",
|
|
9237
|
+
"type": {
|
|
9238
|
+
"text": "SlotControllerArgs"
|
|
9239
|
+
}
|
|
9240
|
+
}
|
|
9241
|
+
]
|
|
9242
|
+
},
|
|
9243
|
+
{
|
|
9244
|
+
"kind": "class",
|
|
9245
|
+
"description": "",
|
|
9246
|
+
"name": "SlotControllerPublicAPI",
|
|
9247
|
+
"members": [
|
|
9248
|
+
{
|
|
9249
|
+
"kind": "field",
|
|
9250
|
+
"name": "default",
|
|
9251
|
+
"type": {
|
|
9252
|
+
"text": "symbol"
|
|
9253
|
+
},
|
|
9254
|
+
"static": true
|
|
9255
|
+
},
|
|
9256
|
+
{
|
|
9257
|
+
"kind": "field",
|
|
9258
|
+
"name": "host",
|
|
9259
|
+
"type": {
|
|
9260
|
+
"text": "ReactiveElement"
|
|
9261
|
+
},
|
|
9262
|
+
"privacy": "public"
|
|
9263
|
+
},
|
|
9264
|
+
{
|
|
9265
|
+
"kind": "method",
|
|
9266
|
+
"name": "hostConnected",
|
|
9267
|
+
"return": {
|
|
9268
|
+
"type": {
|
|
9269
|
+
"text": "Promise<void>"
|
|
9270
|
+
}
|
|
9271
|
+
}
|
|
9272
|
+
},
|
|
9273
|
+
{
|
|
9274
|
+
"kind": "method",
|
|
9275
|
+
"name": "hostDisconnected",
|
|
9276
|
+
"return": {
|
|
9277
|
+
"type": {
|
|
9278
|
+
"text": "void"
|
|
9279
|
+
}
|
|
9280
|
+
}
|
|
9281
|
+
},
|
|
9282
|
+
{
|
|
9283
|
+
"kind": "method",
|
|
9284
|
+
"name": "hostUpdated",
|
|
9285
|
+
"return": {
|
|
9286
|
+
"type": {
|
|
9287
|
+
"text": "void"
|
|
9288
|
+
}
|
|
9289
|
+
}
|
|
9290
|
+
},
|
|
9291
|
+
{
|
|
9292
|
+
"kind": "method",
|
|
9293
|
+
"name": "getSlotted",
|
|
9294
|
+
"return": {
|
|
9295
|
+
"type": {
|
|
9296
|
+
"text": "T[]"
|
|
9297
|
+
}
|
|
9298
|
+
},
|
|
9299
|
+
"parameters": [
|
|
9300
|
+
{
|
|
9301
|
+
"name": "slotNames",
|
|
9302
|
+
"type": {
|
|
9303
|
+
"text": "string[]"
|
|
9304
|
+
},
|
|
9305
|
+
"description": "slots to query"
|
|
9306
|
+
}
|
|
9307
|
+
],
|
|
9308
|
+
"description": "Given a slot name or slot names, returns elements assigned to the requested slots as an array.\nIf no value is provided, it returns all children not assigned to a slot (without a slot attribute)."
|
|
9309
|
+
},
|
|
9310
|
+
{
|
|
9311
|
+
"kind": "method",
|
|
9312
|
+
"name": "hasSlotted",
|
|
9313
|
+
"return": {
|
|
9314
|
+
"type": {
|
|
9315
|
+
"text": "boolean"
|
|
9316
|
+
}
|
|
9317
|
+
},
|
|
9318
|
+
"parameters": [
|
|
9319
|
+
{
|
|
9320
|
+
"name": "names",
|
|
9321
|
+
"type": {
|
|
9322
|
+
"text": "(string | null | undefined)[]"
|
|
9323
|
+
},
|
|
9324
|
+
"description": "The slot names to check."
|
|
9325
|
+
}
|
|
9326
|
+
],
|
|
9327
|
+
"description": "Returns a boolean statement of whether or not any of those slots exists in the light DOM."
|
|
9328
|
+
},
|
|
9329
|
+
{
|
|
9330
|
+
"kind": "method",
|
|
9331
|
+
"name": "isEmpty",
|
|
9332
|
+
"return": {
|
|
9333
|
+
"type": {
|
|
9334
|
+
"text": ""
|
|
9335
|
+
}
|
|
9336
|
+
},
|
|
9337
|
+
"parameters": [
|
|
9338
|
+
{
|
|
9339
|
+
"name": "names",
|
|
9340
|
+
"type": {
|
|
9341
|
+
"text": "(string | null | undefined)[]"
|
|
9342
|
+
},
|
|
9343
|
+
"description": "The slot names to query. If no value is provided, it returns the default slot."
|
|
9344
|
+
}
|
|
9345
|
+
],
|
|
9346
|
+
"description": "Whether or not all the requested slots are empty."
|
|
9347
|
+
}
|
|
9348
|
+
]
|
|
9349
|
+
},
|
|
9029
9350
|
{
|
|
9030
9351
|
"kind": "class",
|
|
9031
9352
|
"description": "",
|
|
@@ -9045,6 +9366,22 @@
|
|
|
9045
9366
|
}
|
|
9046
9367
|
],
|
|
9047
9368
|
"exports": [
|
|
9369
|
+
{
|
|
9370
|
+
"kind": "js",
|
|
9371
|
+
"name": "isObjectSpread",
|
|
9372
|
+
"declaration": {
|
|
9373
|
+
"name": "isObjectSpread",
|
|
9374
|
+
"module": "controllers/slot-controller.ts"
|
|
9375
|
+
}
|
|
9376
|
+
},
|
|
9377
|
+
{
|
|
9378
|
+
"kind": "js",
|
|
9379
|
+
"name": "SlotControllerPublicAPI",
|
|
9380
|
+
"declaration": {
|
|
9381
|
+
"name": "SlotControllerPublicAPI",
|
|
9382
|
+
"module": "controllers/slot-controller.ts"
|
|
9383
|
+
}
|
|
9384
|
+
},
|
|
9048
9385
|
{
|
|
9049
9386
|
"kind": "js",
|
|
9050
9387
|
"name": "SlotController",
|