@patternfly/pfe-core 4.0.5 → 5.0.1
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 +48 -6
- package/controllers/slot-controller.js +88 -85
- package/controllers/slot-controller.js.map +1 -1
- package/controllers/test/slot-controller.spec.d.ts +1 -0
- package/controllers/test/slot-controller.spec.js +148 -0
- package/controllers/test/slot-controller.spec.js.map +1 -0
- package/custom-elements.json +490 -148
- 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": "
|
|
8720
|
-
|
|
8721
|
-
|
|
8722
|
-
|
|
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
|
-
}
|
|
8904
|
+
"name": "hostDisconnected",
|
|
8905
|
+
"return": {
|
|
8906
|
+
"type": {
|
|
8907
|
+
"text": "void"
|
|
8749
8908
|
}
|
|
8750
|
-
|
|
8909
|
+
}
|
|
8751
8910
|
},
|
|
8752
8911
|
{
|
|
8753
8912
|
"kind": "method",
|
|
8754
|
-
"name": "
|
|
8913
|
+
"name": "hostUpdated",
|
|
8914
|
+
"return": {
|
|
8915
|
+
"type": {
|
|
8916
|
+
"text": "void"
|
|
8917
|
+
}
|
|
8918
|
+
}
|
|
8755
8919
|
},
|
|
8756
8920
|
{
|
|
8757
8921
|
"kind": "method",
|
|
8758
|
-
"name": "
|
|
8922
|
+
"name": "getSlotted",
|
|
8923
|
+
"return": {
|
|
8924
|
+
"type": {
|
|
8925
|
+
"text": "T[]"
|
|
8926
|
+
}
|
|
8927
|
+
},
|
|
8759
8928
|
"parameters": [
|
|
8760
8929
|
{
|
|
8761
|
-
"name": "
|
|
8930
|
+
"name": "slotNames",
|
|
8762
8931
|
"type": {
|
|
8763
|
-
"text": "
|
|
8764
|
-
}
|
|
8932
|
+
"text": "string[]"
|
|
8933
|
+
},
|
|
8934
|
+
"description": "slots to query"
|
|
8765
8935
|
}
|
|
8766
|
-
]
|
|
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)."
|
|
8767
8938
|
},
|
|
8768
8939
|
{
|
|
8769
8940
|
"kind": "method",
|
|
8770
|
-
"name": "
|
|
8771
|
-
"privacy": "public",
|
|
8941
|
+
"name": "hasSlotted",
|
|
8772
8942
|
"return": {
|
|
8773
8943
|
"type": {
|
|
8774
|
-
"text": "
|
|
8944
|
+
"text": "boolean"
|
|
8775
8945
|
}
|
|
8776
8946
|
},
|
|
8777
8947
|
"parameters": [
|
|
8778
8948
|
{
|
|
8779
|
-
"name": "
|
|
8949
|
+
"name": "names",
|
|
8780
8950
|
"type": {
|
|
8781
|
-
"text": "
|
|
8951
|
+
"text": "(string | null | undefined)[]"
|
|
8782
8952
|
},
|
|
8783
|
-
"description": "
|
|
8953
|
+
"description": "The slot names to check."
|
|
8784
8954
|
}
|
|
8785
8955
|
],
|
|
8786
|
-
"description": "
|
|
8956
|
+
"description": "Returns a boolean statement of whether or not any of those slots exists in the light DOM."
|
|
8787
8957
|
},
|
|
8788
8958
|
{
|
|
8789
|
-
"kind": "
|
|
8790
|
-
"
|
|
8791
|
-
|
|
8792
|
-
"
|
|
8959
|
+
"kind": "method",
|
|
8960
|
+
"name": "isEmpty",
|
|
8961
|
+
"return": {
|
|
8962
|
+
"type": {
|
|
8963
|
+
"text": ""
|
|
8964
|
+
}
|
|
8793
8965
|
},
|
|
8794
|
-
"
|
|
8795
|
-
|
|
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."
|
|
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": "",
|
|
@@ -8855,15 +9019,6 @@
|
|
|
8855
9019
|
}
|
|
8856
9020
|
}
|
|
8857
9021
|
},
|
|
8858
|
-
{
|
|
8859
|
-
"kind": "method",
|
|
8860
|
-
"name": "hostUpdated",
|
|
8861
|
-
"return": {
|
|
8862
|
-
"type": {
|
|
8863
|
-
"text": "void"
|
|
8864
|
-
}
|
|
8865
|
-
}
|
|
8866
|
-
},
|
|
8867
9022
|
{
|
|
8868
9023
|
"kind": "method",
|
|
8869
9024
|
"name": "hostDisconnected",
|
|
@@ -8885,7 +9040,7 @@
|
|
|
8885
9040
|
{
|
|
8886
9041
|
"name": "slotNames",
|
|
8887
9042
|
"type": {
|
|
8888
|
-
"text": "string[]"
|
|
9043
|
+
"text": "string[] | [null]"
|
|
8889
9044
|
},
|
|
8890
9045
|
"description": "slots to query"
|
|
8891
9046
|
}
|
|
@@ -8934,6 +9089,22 @@
|
|
|
8934
9089
|
}
|
|
8935
9090
|
],
|
|
8936
9091
|
"exports": [
|
|
9092
|
+
{
|
|
9093
|
+
"kind": "js",
|
|
9094
|
+
"name": "isObjectSpread",
|
|
9095
|
+
"declaration": {
|
|
9096
|
+
"name": "isObjectSpread",
|
|
9097
|
+
"module": "controllers/slot-controller.d.ts"
|
|
9098
|
+
}
|
|
9099
|
+
},
|
|
9100
|
+
{
|
|
9101
|
+
"kind": "js",
|
|
9102
|
+
"name": "SlotControllerPublicAPI",
|
|
9103
|
+
"declaration": {
|
|
9104
|
+
"name": "SlotControllerPublicAPI",
|
|
9105
|
+
"module": "controllers/slot-controller.d.ts"
|
|
9106
|
+
}
|
|
9107
|
+
},
|
|
8937
9108
|
{
|
|
8938
9109
|
"kind": "js",
|
|
8939
9110
|
"name": "SlotController",
|
|
@@ -8948,6 +9119,15 @@
|
|
|
8948
9119
|
"kind": "javascript-module",
|
|
8949
9120
|
"path": "controllers/slot-controller.js",
|
|
8950
9121
|
"declarations": [
|
|
9122
|
+
{
|
|
9123
|
+
"kind": "function",
|
|
9124
|
+
"name": "isObjectSpread",
|
|
9125
|
+
"parameters": [
|
|
9126
|
+
{
|
|
9127
|
+
"name": "config"
|
|
9128
|
+
}
|
|
9129
|
+
]
|
|
9130
|
+
},
|
|
8951
9131
|
{
|
|
8952
9132
|
"kind": "class",
|
|
8953
9133
|
"description": "",
|
|
@@ -8957,10 +9137,6 @@
|
|
|
8957
9137
|
"kind": "method",
|
|
8958
9138
|
"name": "hostConnected"
|
|
8959
9139
|
},
|
|
8960
|
-
{
|
|
8961
|
-
"kind": "method",
|
|
8962
|
-
"name": "hostUpdated"
|
|
8963
|
-
},
|
|
8964
9140
|
{
|
|
8965
9141
|
"kind": "method",
|
|
8966
9142
|
"name": "hostDisconnected"
|
|
@@ -9012,6 +9188,14 @@
|
|
|
9012
9188
|
}
|
|
9013
9189
|
],
|
|
9014
9190
|
"exports": [
|
|
9191
|
+
{
|
|
9192
|
+
"kind": "js",
|
|
9193
|
+
"name": "isObjectSpread",
|
|
9194
|
+
"declaration": {
|
|
9195
|
+
"name": "isObjectSpread",
|
|
9196
|
+
"module": "controllers/slot-controller.js"
|
|
9197
|
+
}
|
|
9198
|
+
},
|
|
9015
9199
|
{
|
|
9016
9200
|
"kind": "js",
|
|
9017
9201
|
"name": "SlotController",
|
|
@@ -9026,6 +9210,130 @@
|
|
|
9026
9210
|
"kind": "javascript-module",
|
|
9027
9211
|
"path": "controllers/slot-controller.ts",
|
|
9028
9212
|
"declarations": [
|
|
9213
|
+
{
|
|
9214
|
+
"kind": "function",
|
|
9215
|
+
"name": "isObjectSpread",
|
|
9216
|
+
"return": {
|
|
9217
|
+
"type": {
|
|
9218
|
+
"text": "config is [SlotsConfig]"
|
|
9219
|
+
}
|
|
9220
|
+
},
|
|
9221
|
+
"parameters": [
|
|
9222
|
+
{
|
|
9223
|
+
"name": "config",
|
|
9224
|
+
"type": {
|
|
9225
|
+
"text": "SlotControllerArgs"
|
|
9226
|
+
}
|
|
9227
|
+
}
|
|
9228
|
+
]
|
|
9229
|
+
},
|
|
9230
|
+
{
|
|
9231
|
+
"kind": "class",
|
|
9232
|
+
"description": "",
|
|
9233
|
+
"name": "SlotControllerPublicAPI",
|
|
9234
|
+
"members": [
|
|
9235
|
+
{
|
|
9236
|
+
"kind": "field",
|
|
9237
|
+
"name": "default",
|
|
9238
|
+
"type": {
|
|
9239
|
+
"text": "symbol"
|
|
9240
|
+
},
|
|
9241
|
+
"static": true
|
|
9242
|
+
},
|
|
9243
|
+
{
|
|
9244
|
+
"kind": "field",
|
|
9245
|
+
"name": "host",
|
|
9246
|
+
"type": {
|
|
9247
|
+
"text": "ReactiveElement"
|
|
9248
|
+
},
|
|
9249
|
+
"privacy": "public"
|
|
9250
|
+
},
|
|
9251
|
+
{
|
|
9252
|
+
"kind": "method",
|
|
9253
|
+
"name": "hostConnected",
|
|
9254
|
+
"return": {
|
|
9255
|
+
"type": {
|
|
9256
|
+
"text": "Promise<void>"
|
|
9257
|
+
}
|
|
9258
|
+
}
|
|
9259
|
+
},
|
|
9260
|
+
{
|
|
9261
|
+
"kind": "method",
|
|
9262
|
+
"name": "hostDisconnected",
|
|
9263
|
+
"return": {
|
|
9264
|
+
"type": {
|
|
9265
|
+
"text": "void"
|
|
9266
|
+
}
|
|
9267
|
+
}
|
|
9268
|
+
},
|
|
9269
|
+
{
|
|
9270
|
+
"kind": "method",
|
|
9271
|
+
"name": "hostUpdated",
|
|
9272
|
+
"return": {
|
|
9273
|
+
"type": {
|
|
9274
|
+
"text": "void"
|
|
9275
|
+
}
|
|
9276
|
+
}
|
|
9277
|
+
},
|
|
9278
|
+
{
|
|
9279
|
+
"kind": "method",
|
|
9280
|
+
"name": "getSlotted",
|
|
9281
|
+
"return": {
|
|
9282
|
+
"type": {
|
|
9283
|
+
"text": "T[]"
|
|
9284
|
+
}
|
|
9285
|
+
},
|
|
9286
|
+
"parameters": [
|
|
9287
|
+
{
|
|
9288
|
+
"name": "slotNames",
|
|
9289
|
+
"type": {
|
|
9290
|
+
"text": "string[]"
|
|
9291
|
+
},
|
|
9292
|
+
"description": "slots to query"
|
|
9293
|
+
}
|
|
9294
|
+
],
|
|
9295
|
+
"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)."
|
|
9296
|
+
},
|
|
9297
|
+
{
|
|
9298
|
+
"kind": "method",
|
|
9299
|
+
"name": "hasSlotted",
|
|
9300
|
+
"return": {
|
|
9301
|
+
"type": {
|
|
9302
|
+
"text": "boolean"
|
|
9303
|
+
}
|
|
9304
|
+
},
|
|
9305
|
+
"parameters": [
|
|
9306
|
+
{
|
|
9307
|
+
"name": "names",
|
|
9308
|
+
"type": {
|
|
9309
|
+
"text": "(string | null | undefined)[]"
|
|
9310
|
+
},
|
|
9311
|
+
"description": "The slot names to check."
|
|
9312
|
+
}
|
|
9313
|
+
],
|
|
9314
|
+
"description": "Returns a boolean statement of whether or not any of those slots exists in the light DOM."
|
|
9315
|
+
},
|
|
9316
|
+
{
|
|
9317
|
+
"kind": "method",
|
|
9318
|
+
"name": "isEmpty",
|
|
9319
|
+
"return": {
|
|
9320
|
+
"type": {
|
|
9321
|
+
"text": ""
|
|
9322
|
+
}
|
|
9323
|
+
},
|
|
9324
|
+
"parameters": [
|
|
9325
|
+
{
|
|
9326
|
+
"name": "names",
|
|
9327
|
+
"type": {
|
|
9328
|
+
"text": "(string | null | undefined)[]"
|
|
9329
|
+
},
|
|
9330
|
+
"description": "The slot names to query. If no value is provided, it returns the default slot."
|
|
9331
|
+
}
|
|
9332
|
+
],
|
|
9333
|
+
"description": "Whether or not all the requested slots are empty."
|
|
9334
|
+
}
|
|
9335
|
+
]
|
|
9336
|
+
},
|
|
9029
9337
|
{
|
|
9030
9338
|
"kind": "class",
|
|
9031
9339
|
"description": "",
|
|
@@ -9045,6 +9353,22 @@
|
|
|
9045
9353
|
}
|
|
9046
9354
|
],
|
|
9047
9355
|
"exports": [
|
|
9356
|
+
{
|
|
9357
|
+
"kind": "js",
|
|
9358
|
+
"name": "isObjectSpread",
|
|
9359
|
+
"declaration": {
|
|
9360
|
+
"name": "isObjectSpread",
|
|
9361
|
+
"module": "controllers/slot-controller.ts"
|
|
9362
|
+
}
|
|
9363
|
+
},
|
|
9364
|
+
{
|
|
9365
|
+
"kind": "js",
|
|
9366
|
+
"name": "SlotControllerPublicAPI",
|
|
9367
|
+
"declaration": {
|
|
9368
|
+
"name": "SlotControllerPublicAPI",
|
|
9369
|
+
"module": "controllers/slot-controller.ts"
|
|
9370
|
+
}
|
|
9371
|
+
},
|
|
9048
9372
|
{
|
|
9049
9373
|
"kind": "js",
|
|
9050
9374
|
"name": "SlotController",
|
|
@@ -11595,6 +11919,24 @@
|
|
|
11595
11919
|
"path": "controllers/test/combobox-controller.spec.ts",
|
|
11596
11920
|
"declarations": [],
|
|
11597
11921
|
"exports": []
|
|
11922
|
+
},
|
|
11923
|
+
{
|
|
11924
|
+
"kind": "javascript-module",
|
|
11925
|
+
"path": "controllers/test/slot-controller.spec.d.ts",
|
|
11926
|
+
"declarations": [],
|
|
11927
|
+
"exports": []
|
|
11928
|
+
},
|
|
11929
|
+
{
|
|
11930
|
+
"kind": "javascript-module",
|
|
11931
|
+
"path": "controllers/test/slot-controller.spec.js",
|
|
11932
|
+
"declarations": [],
|
|
11933
|
+
"exports": []
|
|
11934
|
+
},
|
|
11935
|
+
{
|
|
11936
|
+
"kind": "javascript-module",
|
|
11937
|
+
"path": "controllers/test/slot-controller.spec.ts",
|
|
11938
|
+
"declarations": [],
|
|
11939
|
+
"exports": []
|
|
11598
11940
|
}
|
|
11599
11941
|
]
|
|
11600
11942
|
}
|