@patternfly/pfe-core 4.0.5 → 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/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 +47 -4
- package/controllers/slot-controller.js +50 -74
- package/controllers/slot-controller.js.map +1 -1
- package/custom-elements.json +467 -130
- 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
|
@@ -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,122 +8600,294 @@
|
|
|
8587
8600
|
"members": [
|
|
8588
8601
|
{
|
|
8589
8602
|
"kind": "field",
|
|
8590
|
-
"name": "#
|
|
8603
|
+
"name": "#instances",
|
|
8591
8604
|
"privacy": "private",
|
|
8592
|
-
"
|
|
8593
|
-
|
|
8594
|
-
}
|
|
8605
|
+
"static": true,
|
|
8606
|
+
"default": "new Set<ScrollSpyController>"
|
|
8595
8607
|
},
|
|
8596
8608
|
{
|
|
8597
8609
|
"kind": "field",
|
|
8598
|
-
"name": "
|
|
8599
|
-
"
|
|
8600
|
-
|
|
8601
|
-
|
|
8602
|
-
|
|
8603
|
-
|
|
8610
|
+
"name": "",
|
|
8611
|
+
"static": true
|
|
8612
|
+
}
|
|
8613
|
+
]
|
|
8614
|
+
}
|
|
8615
|
+
],
|
|
8616
|
+
"exports": [
|
|
8617
|
+
{
|
|
8618
|
+
"kind": "js",
|
|
8619
|
+
"name": "ScrollSpyController",
|
|
8620
|
+
"declaration": {
|
|
8621
|
+
"name": "ScrollSpyController",
|
|
8622
|
+
"module": "controllers/scroll-spy-controller.ts"
|
|
8623
|
+
}
|
|
8624
|
+
}
|
|
8625
|
+
]
|
|
8626
|
+
},
|
|
8627
|
+
{
|
|
8628
|
+
"kind": "javascript-module",
|
|
8629
|
+
"path": "controllers/slot-controller-server.d.ts",
|
|
8630
|
+
"declarations": [
|
|
8631
|
+
{
|
|
8632
|
+
"kind": "class",
|
|
8633
|
+
"description": "",
|
|
8634
|
+
"name": "SlotController",
|
|
8635
|
+
"members": [
|
|
8604
8636
|
{
|
|
8605
8637
|
"kind": "field",
|
|
8606
|
-
"name": "
|
|
8607
|
-
"privacy": "private",
|
|
8638
|
+
"name": "host",
|
|
8608
8639
|
"type": {
|
|
8609
|
-
"text": "
|
|
8640
|
+
"text": "ReactiveElement"
|
|
8610
8641
|
}
|
|
8611
8642
|
},
|
|
8612
8643
|
{
|
|
8613
8644
|
"kind": "field",
|
|
8614
|
-
"name": "
|
|
8615
|
-
"
|
|
8616
|
-
|
|
8617
|
-
|
|
8645
|
+
"name": "default",
|
|
8646
|
+
"type": {
|
|
8647
|
+
"text": "symbol"
|
|
8648
|
+
},
|
|
8649
|
+
"static": true
|
|
8618
8650
|
},
|
|
8619
8651
|
{
|
|
8620
8652
|
"kind": "field",
|
|
8621
|
-
"name": "
|
|
8622
|
-
"privacy": "private",
|
|
8653
|
+
"name": "anonymous",
|
|
8623
8654
|
"type": {
|
|
8624
|
-
"text": "
|
|
8655
|
+
"text": "symbol"
|
|
8625
8656
|
},
|
|
8626
|
-
"
|
|
8627
|
-
"
|
|
8657
|
+
"static": true,
|
|
8658
|
+
"deprecated": "use `default`"
|
|
8628
8659
|
},
|
|
8629
8660
|
{
|
|
8630
8661
|
"kind": "field",
|
|
8631
|
-
"name": "
|
|
8632
|
-
"privacy": "private",
|
|
8662
|
+
"name": "attribute",
|
|
8633
8663
|
"type": {
|
|
8634
|
-
"text": "
|
|
8664
|
+
"text": "\"ssr-hint-has-slotted\""
|
|
8635
8665
|
},
|
|
8636
|
-
"
|
|
8637
|
-
"description": "Has the intersection observer found an element?"
|
|
8666
|
+
"static": true
|
|
8638
8667
|
},
|
|
8639
8668
|
{
|
|
8640
8669
|
"kind": "field",
|
|
8641
|
-
"name": "
|
|
8642
|
-
"privacy": "private",
|
|
8670
|
+
"name": "anonymousAttribute",
|
|
8643
8671
|
"type": {
|
|
8644
|
-
"text": "
|
|
8645
|
-
}
|
|
8672
|
+
"text": "\"ssr-hint-has-slotted-default\""
|
|
8673
|
+
},
|
|
8674
|
+
"static": true
|
|
8646
8675
|
},
|
|
8647
8676
|
{
|
|
8648
|
-
"kind": "
|
|
8649
|
-
"name": "
|
|
8650
|
-
"
|
|
8651
|
-
|
|
8652
|
-
|
|
8677
|
+
"kind": "method",
|
|
8678
|
+
"name": "hostConnected",
|
|
8679
|
+
"return": {
|
|
8680
|
+
"type": {
|
|
8681
|
+
"text": "Promise<void>"
|
|
8682
|
+
}
|
|
8653
8683
|
}
|
|
8654
8684
|
},
|
|
8655
8685
|
{
|
|
8656
8686
|
"kind": "field",
|
|
8657
|
-
"name": "
|
|
8658
|
-
"privacy": "private"
|
|
8659
|
-
"type": {
|
|
8660
|
-
"text": "number | number[]"
|
|
8661
|
-
}
|
|
8687
|
+
"name": "fromAttribute",
|
|
8688
|
+
"privacy": "private"
|
|
8662
8689
|
},
|
|
8663
8690
|
{
|
|
8664
|
-
"kind": "
|
|
8665
|
-
"name": "
|
|
8666
|
-
"
|
|
8667
|
-
|
|
8668
|
-
|
|
8669
|
-
|
|
8691
|
+
"kind": "method",
|
|
8692
|
+
"name": "getSlotted",
|
|
8693
|
+
"return": {
|
|
8694
|
+
"type": {
|
|
8695
|
+
"text": "T[]"
|
|
8696
|
+
}
|
|
8697
|
+
},
|
|
8698
|
+
"parameters": [
|
|
8699
|
+
{
|
|
8700
|
+
"name": "_",
|
|
8701
|
+
"type": {
|
|
8702
|
+
"text": "string[]"
|
|
8703
|
+
}
|
|
8704
|
+
}
|
|
8705
|
+
]
|
|
8670
8706
|
},
|
|
8671
8707
|
{
|
|
8672
|
-
"kind": "
|
|
8673
|
-
"name": "
|
|
8674
|
-
"
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8708
|
+
"kind": "method",
|
|
8709
|
+
"name": "hasSlotted",
|
|
8710
|
+
"return": {
|
|
8711
|
+
"type": {
|
|
8712
|
+
"text": "boolean"
|
|
8713
|
+
}
|
|
8714
|
+
},
|
|
8715
|
+
"parameters": [
|
|
8716
|
+
{
|
|
8717
|
+
"name": "names",
|
|
8718
|
+
"type": {
|
|
8719
|
+
"text": "(string | null)[]"
|
|
8720
|
+
}
|
|
8721
|
+
}
|
|
8722
|
+
]
|
|
8723
|
+
},
|
|
8724
|
+
{
|
|
8725
|
+
"kind": "method",
|
|
8726
|
+
"name": "isEmpty",
|
|
8727
|
+
"return": {
|
|
8728
|
+
"type": {
|
|
8729
|
+
"text": "boolean"
|
|
8730
|
+
}
|
|
8731
|
+
},
|
|
8732
|
+
"parameters": [
|
|
8733
|
+
{
|
|
8734
|
+
"name": "names",
|
|
8735
|
+
"type": {
|
|
8736
|
+
"text": "(string | null)[]"
|
|
8737
|
+
}
|
|
8738
|
+
}
|
|
8739
|
+
]
|
|
8740
|
+
}
|
|
8741
|
+
]
|
|
8742
|
+
}
|
|
8743
|
+
],
|
|
8744
|
+
"exports": [
|
|
8745
|
+
{
|
|
8746
|
+
"kind": "js",
|
|
8747
|
+
"name": "SlotController",
|
|
8748
|
+
"declaration": {
|
|
8749
|
+
"name": "SlotController",
|
|
8750
|
+
"module": "controllers/slot-controller-server.d.ts"
|
|
8751
|
+
}
|
|
8752
|
+
}
|
|
8753
|
+
]
|
|
8754
|
+
},
|
|
8755
|
+
{
|
|
8756
|
+
"kind": "javascript-module",
|
|
8757
|
+
"path": "controllers/slot-controller-server.js",
|
|
8758
|
+
"declarations": [
|
|
8759
|
+
{
|
|
8760
|
+
"kind": "class",
|
|
8761
|
+
"description": "",
|
|
8762
|
+
"name": "SlotController",
|
|
8763
|
+
"members": [
|
|
8764
|
+
{
|
|
8765
|
+
"kind": "method",
|
|
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
|
+
]
|
|
8678
8799
|
},
|
|
8679
8800
|
{
|
|
8680
8801
|
"kind": "field",
|
|
8681
|
-
"name": "
|
|
8682
|
-
"
|
|
8683
|
-
|
|
8684
|
-
|
|
8685
|
-
|
|
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
|
|
8686
8833
|
},
|
|
8687
8834
|
{
|
|
8688
8835
|
"kind": "field",
|
|
8689
|
-
"name": "
|
|
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",
|
|
8690
8867
|
"type": {
|
|
8691
|
-
"text": "
|
|
8868
|
+
"text": "SlotControllerArgs"
|
|
8692
8869
|
}
|
|
8693
|
-
}
|
|
8870
|
+
}
|
|
8871
|
+
]
|
|
8872
|
+
},
|
|
8873
|
+
{
|
|
8874
|
+
"kind": "class",
|
|
8875
|
+
"description": "",
|
|
8876
|
+
"name": "SlotControllerPublicAPI",
|
|
8877
|
+
"members": [
|
|
8694
8878
|
{
|
|
8695
8879
|
"kind": "field",
|
|
8696
|
-
"name": "
|
|
8880
|
+
"name": "default",
|
|
8697
8881
|
"type": {
|
|
8698
|
-
"text": "
|
|
8699
|
-
}
|
|
8882
|
+
"text": "symbol"
|
|
8883
|
+
},
|
|
8884
|
+
"static": true
|
|
8700
8885
|
},
|
|
8701
8886
|
{
|
|
8702
8887
|
"kind": "field",
|
|
8703
|
-
"name": "
|
|
8888
|
+
"name": "host",
|
|
8704
8889
|
"type": {
|
|
8705
|
-
"text": "
|
|
8890
|
+
"text": "ReactiveElement"
|
|
8706
8891
|
}
|
|
8707
8892
|
},
|
|
8708
8893
|
{
|
|
@@ -8710,108 +8895,87 @@
|
|
|
8710
8895
|
"name": "hostConnected",
|
|
8711
8896
|
"return": {
|
|
8712
8897
|
"type": {
|
|
8713
|
-
"text": "void"
|
|
8898
|
+
"text": "Promise<void>"
|
|
8714
8899
|
}
|
|
8715
8900
|
}
|
|
8716
8901
|
},
|
|
8717
8902
|
{
|
|
8718
8903
|
"kind": "method",
|
|
8719
|
-
"name": "
|
|
8904
|
+
"name": "hostDisconnected",
|
|
8905
|
+
"return": {
|
|
8906
|
+
"type": {
|
|
8907
|
+
"text": "void"
|
|
8908
|
+
}
|
|
8909
|
+
}
|
|
8720
8910
|
},
|
|
8721
8911
|
{
|
|
8722
8912
|
"kind": "method",
|
|
8723
|
-
"name": "
|
|
8724
|
-
"
|
|
8725
|
-
{
|
|
8726
|
-
"
|
|
8727
|
-
"type": {
|
|
8728
|
-
"text": "Element"
|
|
8729
|
-
}
|
|
8730
|
-
},
|
|
8731
|
-
{
|
|
8732
|
-
"name": "force",
|
|
8733
|
-
"type": {
|
|
8734
|
-
"text": "boolean"
|
|
8735
|
-
}
|
|
8913
|
+
"name": "hostUpdated",
|
|
8914
|
+
"return": {
|
|
8915
|
+
"type": {
|
|
8916
|
+
"text": "void"
|
|
8736
8917
|
}
|
|
8737
|
-
|
|
8918
|
+
}
|
|
8738
8919
|
},
|
|
8739
8920
|
{
|
|
8740
8921
|
"kind": "method",
|
|
8741
|
-
"name": "
|
|
8922
|
+
"name": "getSlotted",
|
|
8923
|
+
"return": {
|
|
8924
|
+
"type": {
|
|
8925
|
+
"text": "T[]"
|
|
8926
|
+
}
|
|
8927
|
+
},
|
|
8742
8928
|
"parameters": [
|
|
8743
8929
|
{
|
|
8744
|
-
"name": "
|
|
8745
|
-
"optional": true,
|
|
8930
|
+
"name": "slotNames",
|
|
8746
8931
|
"type": {
|
|
8747
|
-
"text": "
|
|
8748
|
-
}
|
|
8932
|
+
"text": "string[]"
|
|
8933
|
+
},
|
|
8934
|
+
"description": "slots to query"
|
|
8749
8935
|
}
|
|
8750
|
-
]
|
|
8751
|
-
|
|
8752
|
-
{
|
|
8753
|
-
"kind": "method",
|
|
8754
|
-
"name": "#nextIntersection"
|
|
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)."
|
|
8755
8938
|
},
|
|
8756
8939
|
{
|
|
8757
8940
|
"kind": "method",
|
|
8758
|
-
"name": "
|
|
8941
|
+
"name": "hasSlotted",
|
|
8942
|
+
"return": {
|
|
8943
|
+
"type": {
|
|
8944
|
+
"text": "boolean"
|
|
8945
|
+
}
|
|
8946
|
+
},
|
|
8759
8947
|
"parameters": [
|
|
8760
8948
|
{
|
|
8761
|
-
"name": "
|
|
8949
|
+
"name": "names",
|
|
8762
8950
|
"type": {
|
|
8763
|
-
"text": "
|
|
8764
|
-
}
|
|
8951
|
+
"text": "(string | null | undefined)[]"
|
|
8952
|
+
},
|
|
8953
|
+
"description": "The slot names to check."
|
|
8765
8954
|
}
|
|
8766
|
-
]
|
|
8955
|
+
],
|
|
8956
|
+
"description": "Returns a boolean statement of whether or not any of those slots exists in the light DOM."
|
|
8767
8957
|
},
|
|
8768
8958
|
{
|
|
8769
8959
|
"kind": "method",
|
|
8770
|
-
"name": "
|
|
8771
|
-
"privacy": "public",
|
|
8960
|
+
"name": "isEmpty",
|
|
8772
8961
|
"return": {
|
|
8773
8962
|
"type": {
|
|
8774
|
-
"text": "
|
|
8963
|
+
"text": ""
|
|
8775
8964
|
}
|
|
8776
8965
|
},
|
|
8777
8966
|
"parameters": [
|
|
8778
8967
|
{
|
|
8779
|
-
"name": "
|
|
8968
|
+
"name": "names",
|
|
8780
8969
|
"type": {
|
|
8781
|
-
"text": "
|
|
8970
|
+
"text": "(string | null | undefined)[]"
|
|
8782
8971
|
},
|
|
8783
|
-
"description": "
|
|
8972
|
+
"description": "The slot names to query. If no value is provided, it returns the default slot."
|
|
8784
8973
|
}
|
|
8785
8974
|
],
|
|
8786
|
-
"description": "
|
|
8787
|
-
},
|
|
8788
|
-
{
|
|
8789
|
-
"kind": "field",
|
|
8790
|
-
"type": {
|
|
8791
|
-
"text": "ReactiveControllerHost & HTMLElement",
|
|
8792
|
-
"name": "ReactiveControllerHost & HTMLElement"
|
|
8793
|
-
},
|
|
8794
|
-
"name": "host",
|
|
8795
|
-
"privacy": "private"
|
|
8975
|
+
"description": "Whether or not all the requested slots are empty."
|
|
8796
8976
|
}
|
|
8797
8977
|
]
|
|
8798
|
-
}
|
|
8799
|
-
],
|
|
8800
|
-
"exports": [
|
|
8801
|
-
{
|
|
8802
|
-
"kind": "js",
|
|
8803
|
-
"name": "ScrollSpyController",
|
|
8804
|
-
"declaration": {
|
|
8805
|
-
"name": "ScrollSpyController",
|
|
8806
|
-
"module": "controllers/scroll-spy-controller.ts"
|
|
8807
|
-
}
|
|
8808
|
-
}
|
|
8809
|
-
]
|
|
8810
|
-
},
|
|
8811
|
-
{
|
|
8812
|
-
"kind": "javascript-module",
|
|
8813
|
-
"path": "controllers/slot-controller.d.ts",
|
|
8814
|
-
"declarations": [
|
|
8978
|
+
},
|
|
8815
8979
|
{
|
|
8816
8980
|
"kind": "class",
|
|
8817
8981
|
"description": "",
|
|
@@ -8934,6 +9098,22 @@
|
|
|
8934
9098
|
}
|
|
8935
9099
|
],
|
|
8936
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
|
+
},
|
|
8937
9117
|
{
|
|
8938
9118
|
"kind": "js",
|
|
8939
9119
|
"name": "SlotController",
|
|
@@ -8948,6 +9128,15 @@
|
|
|
8948
9128
|
"kind": "javascript-module",
|
|
8949
9129
|
"path": "controllers/slot-controller.js",
|
|
8950
9130
|
"declarations": [
|
|
9131
|
+
{
|
|
9132
|
+
"kind": "function",
|
|
9133
|
+
"name": "isObjectSpread",
|
|
9134
|
+
"parameters": [
|
|
9135
|
+
{
|
|
9136
|
+
"name": "config"
|
|
9137
|
+
}
|
|
9138
|
+
]
|
|
9139
|
+
},
|
|
8951
9140
|
{
|
|
8952
9141
|
"kind": "class",
|
|
8953
9142
|
"description": "",
|
|
@@ -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",
|