@teipublisher/pb-components 1.32.2 → 1.33.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/CHANGELOG.md +15 -0
- package/dist/demo/demos.json +4 -1
- package/dist/demo/pb-timeline.html +122 -0
- package/dist/demo/pb-timeline2.html +94 -0
- package/dist/demo/timeline-dev-data.json +3 -0
- package/dist/pb-components-bundle.js +500 -249
- package/dist/pb-elements.json +248 -0
- package/i18n/common/de.json +4 -0
- package/i18n/common/en.json +4 -0
- package/package.json +1 -1
- package/pb-elements.json +248 -0
- package/src/parse-date-service.js +266 -0
- package/src/pb-browse-docs.js +1 -0
- package/src/pb-components.js +1 -0
- package/src/pb-timeline.js +729 -0
- package/src/search-result-service.js +512 -0
package/dist/pb-elements.json
CHANGED
|
@@ -9471,6 +9471,254 @@
|
|
|
9471
9471
|
}
|
|
9472
9472
|
]
|
|
9473
9473
|
},
|
|
9474
|
+
{
|
|
9475
|
+
"name": "pb-timeline",
|
|
9476
|
+
"path": "./src/pb-timeline.js",
|
|
9477
|
+
"description": "A timeline component to display time series data in a bar chart like view.\n\nTime series data can be displayed in one of 6 different scales:\n\n- by decade (10Y)\n- by 5 years (5Y)\n- by years (Y)\n- by month (M)\n- by week (W)\n- by day (D)\n\nThe endpoint is expected to return a JSON object. Each property should either be a date or the special\nmarker `?`, which indicates undated resources.\nThe value associated with each entry\nshould either correspond to a count of resources or an object with properties `count` and `info`. \n`info` should be an array, containing HTML to be shown in a list within the tooltips.",
|
|
9478
|
+
"attributes": [
|
|
9479
|
+
{
|
|
9480
|
+
"name": "start-date",
|
|
9481
|
+
"description": "start date for timeline to display",
|
|
9482
|
+
"type": "string",
|
|
9483
|
+
"default": "\"\""
|
|
9484
|
+
},
|
|
9485
|
+
{
|
|
9486
|
+
"name": "end-date",
|
|
9487
|
+
"description": "endDate for timeline to display",
|
|
9488
|
+
"type": "string",
|
|
9489
|
+
"default": "\"\""
|
|
9490
|
+
},
|
|
9491
|
+
{
|
|
9492
|
+
"name": "scope",
|
|
9493
|
+
"description": "The scope for the timeline. Must be one of the pre-defined scopes.\nIf not set, the component automatically tries to determine the best scope fitting the\ngiven time series.",
|
|
9494
|
+
"type": "string",
|
|
9495
|
+
"default": "\"\""
|
|
9496
|
+
},
|
|
9497
|
+
{
|
|
9498
|
+
"name": "scopes",
|
|
9499
|
+
"description": "The scopes to consider for automatic scoping.\n\nDefaults to [\"D\", \"W\", \"M\", \"Y\", \"5Y\", \"10Y\"]",
|
|
9500
|
+
"type": "array",
|
|
9501
|
+
"default": "[\"D\",\"W\",\"M\",\"Y\",\"5Y\",\"10Y\"]"
|
|
9502
|
+
},
|
|
9503
|
+
{
|
|
9504
|
+
"name": "url",
|
|
9505
|
+
"description": "Endpoint to load timeline data from. Expects response to be an\nobject with key value pairs for (date, hits).\n\nWill be reloaded whenever 'start-date' or 'end-date' attributes change.",
|
|
9506
|
+
"type": "string",
|
|
9507
|
+
"default": "\"\""
|
|
9508
|
+
},
|
|
9509
|
+
{
|
|
9510
|
+
"name": "auto",
|
|
9511
|
+
"description": "If set, data will be retrieved automatically on first load.",
|
|
9512
|
+
"type": "boolean",
|
|
9513
|
+
"default": "false"
|
|
9514
|
+
},
|
|
9515
|
+
{
|
|
9516
|
+
"name": "resettable",
|
|
9517
|
+
"type": "boolean",
|
|
9518
|
+
"default": "false"
|
|
9519
|
+
},
|
|
9520
|
+
{
|
|
9521
|
+
"name": "subscribe",
|
|
9522
|
+
"description": "The name of the channel to subscribe to. Only events on a channel corresponding\nto this property are listened to.",
|
|
9523
|
+
"type": "string"
|
|
9524
|
+
},
|
|
9525
|
+
{
|
|
9526
|
+
"name": "subscribe-config",
|
|
9527
|
+
"description": "Configuration object to define a channel/event mapping. Every property\nin the object is interpreted as the name of a channel and its value should\nbe an array of event names to listen to.",
|
|
9528
|
+
"type": "object"
|
|
9529
|
+
},
|
|
9530
|
+
{
|
|
9531
|
+
"name": "emit",
|
|
9532
|
+
"description": "The name of the channel to send events to.",
|
|
9533
|
+
"type": "string"
|
|
9534
|
+
},
|
|
9535
|
+
{
|
|
9536
|
+
"name": "emit-config",
|
|
9537
|
+
"description": "Configuration object to define a channel/event mapping. Every property\nin the object is interpreted as the name of a channel and its value should\nbe an array of event names to be dispatched.",
|
|
9538
|
+
"type": "object"
|
|
9539
|
+
},
|
|
9540
|
+
{
|
|
9541
|
+
"name": "wait-for",
|
|
9542
|
+
"description": "A selector pointing to other components this component depends on.\nWhen method `wait` is called, it will wait until all referenced\ncomponents signal with a `pb-ready` event that they are ready and listening\nto events.",
|
|
9543
|
+
"type": "string"
|
|
9544
|
+
},
|
|
9545
|
+
{
|
|
9546
|
+
"name": "disabled",
|
|
9547
|
+
"description": "Common property to disable the functionality associated with a component.\n`pb-highlight` and `pb-popover` react to this.",
|
|
9548
|
+
"type": "boolean",
|
|
9549
|
+
"default": "false"
|
|
9550
|
+
}
|
|
9551
|
+
],
|
|
9552
|
+
"properties": [
|
|
9553
|
+
{
|
|
9554
|
+
"name": "label"
|
|
9555
|
+
},
|
|
9556
|
+
{
|
|
9557
|
+
"name": "maxHeight",
|
|
9558
|
+
"type": "number",
|
|
9559
|
+
"default": "80"
|
|
9560
|
+
},
|
|
9561
|
+
{
|
|
9562
|
+
"name": "multiplier",
|
|
9563
|
+
"type": "number",
|
|
9564
|
+
"default": "0.75"
|
|
9565
|
+
},
|
|
9566
|
+
{
|
|
9567
|
+
"name": "mousedown",
|
|
9568
|
+
"type": "boolean",
|
|
9569
|
+
"default": "false"
|
|
9570
|
+
},
|
|
9571
|
+
{
|
|
9572
|
+
"name": "startDate",
|
|
9573
|
+
"attribute": "start-date",
|
|
9574
|
+
"description": "start date for timeline to display",
|
|
9575
|
+
"type": "string",
|
|
9576
|
+
"default": "\"\""
|
|
9577
|
+
},
|
|
9578
|
+
{
|
|
9579
|
+
"name": "endDate",
|
|
9580
|
+
"attribute": "end-date",
|
|
9581
|
+
"description": "endDate for timeline to display",
|
|
9582
|
+
"type": "string",
|
|
9583
|
+
"default": "\"\""
|
|
9584
|
+
},
|
|
9585
|
+
{
|
|
9586
|
+
"name": "scope",
|
|
9587
|
+
"attribute": "scope",
|
|
9588
|
+
"description": "The scope for the timeline. Must be one of the pre-defined scopes.\nIf not set, the component automatically tries to determine the best scope fitting the\ngiven time series.",
|
|
9589
|
+
"type": "string",
|
|
9590
|
+
"default": "\"\""
|
|
9591
|
+
},
|
|
9592
|
+
{
|
|
9593
|
+
"name": "scopes",
|
|
9594
|
+
"attribute": "scopes",
|
|
9595
|
+
"description": "The scopes to consider for automatic scoping.\n\nDefaults to [\"D\", \"W\", \"M\", \"Y\", \"5Y\", \"10Y\"]",
|
|
9596
|
+
"type": "array",
|
|
9597
|
+
"default": "[\"D\",\"W\",\"M\",\"Y\",\"5Y\",\"10Y\"]"
|
|
9598
|
+
},
|
|
9599
|
+
{
|
|
9600
|
+
"name": "url",
|
|
9601
|
+
"attribute": "url",
|
|
9602
|
+
"description": "Endpoint to load timeline data from. Expects response to be an\nobject with key value pairs for (date, hits).\n\nWill be reloaded whenever 'start-date' or 'end-date' attributes change.",
|
|
9603
|
+
"type": "string",
|
|
9604
|
+
"default": "\"\""
|
|
9605
|
+
},
|
|
9606
|
+
{
|
|
9607
|
+
"name": "auto",
|
|
9608
|
+
"attribute": "auto",
|
|
9609
|
+
"description": "If set, data will be retrieved automatically on first load.",
|
|
9610
|
+
"type": "boolean",
|
|
9611
|
+
"default": "false"
|
|
9612
|
+
},
|
|
9613
|
+
{
|
|
9614
|
+
"name": "resettable",
|
|
9615
|
+
"attribute": "resettable",
|
|
9616
|
+
"type": "boolean",
|
|
9617
|
+
"default": "false"
|
|
9618
|
+
},
|
|
9619
|
+
{
|
|
9620
|
+
"name": "subscribe",
|
|
9621
|
+
"attribute": "subscribe",
|
|
9622
|
+
"description": "The name of the channel to subscribe to. Only events on a channel corresponding\nto this property are listened to.",
|
|
9623
|
+
"type": "string"
|
|
9624
|
+
},
|
|
9625
|
+
{
|
|
9626
|
+
"name": "subscribeConfig",
|
|
9627
|
+
"attribute": "subscribe-config",
|
|
9628
|
+
"description": "Configuration object to define a channel/event mapping. Every property\nin the object is interpreted as the name of a channel and its value should\nbe an array of event names to listen to.",
|
|
9629
|
+
"type": "object"
|
|
9630
|
+
},
|
|
9631
|
+
{
|
|
9632
|
+
"name": "emit",
|
|
9633
|
+
"attribute": "emit",
|
|
9634
|
+
"description": "The name of the channel to send events to.",
|
|
9635
|
+
"type": "string"
|
|
9636
|
+
},
|
|
9637
|
+
{
|
|
9638
|
+
"name": "emitConfig",
|
|
9639
|
+
"attribute": "emit-config",
|
|
9640
|
+
"description": "Configuration object to define a channel/event mapping. Every property\nin the object is interpreted as the name of a channel and its value should\nbe an array of event names to be dispatched.",
|
|
9641
|
+
"type": "object"
|
|
9642
|
+
},
|
|
9643
|
+
{
|
|
9644
|
+
"name": "waitFor",
|
|
9645
|
+
"attribute": "wait-for",
|
|
9646
|
+
"description": "A selector pointing to other components this component depends on.\nWhen method `wait` is called, it will wait until all referenced\ncomponents signal with a `pb-ready` event that they are ready and listening\nto events.",
|
|
9647
|
+
"type": "string"
|
|
9648
|
+
},
|
|
9649
|
+
{
|
|
9650
|
+
"name": "disabled",
|
|
9651
|
+
"attribute": "disabled",
|
|
9652
|
+
"description": "Common property to disable the functionality associated with a component.\n`pb-highlight` and `pb-popover` react to this.",
|
|
9653
|
+
"type": "boolean",
|
|
9654
|
+
"default": "false"
|
|
9655
|
+
}
|
|
9656
|
+
],
|
|
9657
|
+
"events": [
|
|
9658
|
+
{
|
|
9659
|
+
"name": "pb-timeline-date-changed",
|
|
9660
|
+
"description": "Triggered when user clicks on a single entry"
|
|
9661
|
+
},
|
|
9662
|
+
{
|
|
9663
|
+
"name": "pb-timeline-daterange-changed",
|
|
9664
|
+
"description": "Triggered when user selects a range of entries"
|
|
9665
|
+
},
|
|
9666
|
+
{
|
|
9667
|
+
"name": "pb-timeline-reset-selection",
|
|
9668
|
+
"description": "Requests that the timeline is reset to initial state"
|
|
9669
|
+
},
|
|
9670
|
+
{
|
|
9671
|
+
"name": "pb-timeline-loaded",
|
|
9672
|
+
"description": "Timeline was loaded"
|
|
9673
|
+
}
|
|
9674
|
+
],
|
|
9675
|
+
"slots": [
|
|
9676
|
+
{
|
|
9677
|
+
"name": "label",
|
|
9678
|
+
"description": "Inserted before the label showing the currently displayed time range"
|
|
9679
|
+
}
|
|
9680
|
+
],
|
|
9681
|
+
"cssProperties": [
|
|
9682
|
+
{
|
|
9683
|
+
"name": "--pb-timeline-height"
|
|
9684
|
+
},
|
|
9685
|
+
{
|
|
9686
|
+
"name": "--pb-timeline-padding"
|
|
9687
|
+
},
|
|
9688
|
+
{
|
|
9689
|
+
"name": "--pb-timeline-color-highlight"
|
|
9690
|
+
},
|
|
9691
|
+
{
|
|
9692
|
+
"name": "--pb-timeline-color-light"
|
|
9693
|
+
},
|
|
9694
|
+
{
|
|
9695
|
+
"name": "--pb-timeline-color-dark"
|
|
9696
|
+
},
|
|
9697
|
+
{
|
|
9698
|
+
"name": "--pb-timeline-color-selected"
|
|
9699
|
+
},
|
|
9700
|
+
{
|
|
9701
|
+
"name": "--pb-timeline-color-bin"
|
|
9702
|
+
},
|
|
9703
|
+
{
|
|
9704
|
+
"name": "--pb-timeline-title-font-size"
|
|
9705
|
+
},
|
|
9706
|
+
{
|
|
9707
|
+
"name": "--pb-timeline-tooltip-font-size"
|
|
9708
|
+
}
|
|
9709
|
+
],
|
|
9710
|
+
"cssParts": [
|
|
9711
|
+
{
|
|
9712
|
+
"name": "label"
|
|
9713
|
+
},
|
|
9714
|
+
{
|
|
9715
|
+
"name": "tooltip"
|
|
9716
|
+
},
|
|
9717
|
+
{
|
|
9718
|
+
"name": "title"
|
|
9719
|
+
}
|
|
9720
|
+
]
|
|
9721
|
+
},
|
|
9474
9722
|
{
|
|
9475
9723
|
"name": "pb-toggle-feature",
|
|
9476
9724
|
"path": "./src/pb-toggle-feature.js",
|
package/i18n/common/de.json
CHANGED
package/i18n/common/en.json
CHANGED
package/package.json
CHANGED
package/pb-elements.json
CHANGED
|
@@ -9471,6 +9471,254 @@
|
|
|
9471
9471
|
}
|
|
9472
9472
|
]
|
|
9473
9473
|
},
|
|
9474
|
+
{
|
|
9475
|
+
"name": "pb-timeline",
|
|
9476
|
+
"path": "./src/pb-timeline.js",
|
|
9477
|
+
"description": "A timeline component to display time series data in a bar chart like view.\n\nTime series data can be displayed in one of 6 different scales:\n\n- by decade (10Y)\n- by 5 years (5Y)\n- by years (Y)\n- by month (M)\n- by week (W)\n- by day (D)\n\nThe endpoint is expected to return a JSON object. Each property should either be a date or the special\nmarker `?`, which indicates undated resources.\nThe value associated with each entry\nshould either correspond to a count of resources or an object with properties `count` and `info`. \n`info` should be an array, containing HTML to be shown in a list within the tooltips.",
|
|
9478
|
+
"attributes": [
|
|
9479
|
+
{
|
|
9480
|
+
"name": "start-date",
|
|
9481
|
+
"description": "start date for timeline to display",
|
|
9482
|
+
"type": "string",
|
|
9483
|
+
"default": "\"\""
|
|
9484
|
+
},
|
|
9485
|
+
{
|
|
9486
|
+
"name": "end-date",
|
|
9487
|
+
"description": "endDate for timeline to display",
|
|
9488
|
+
"type": "string",
|
|
9489
|
+
"default": "\"\""
|
|
9490
|
+
},
|
|
9491
|
+
{
|
|
9492
|
+
"name": "scope",
|
|
9493
|
+
"description": "The scope for the timeline. Must be one of the pre-defined scopes.\nIf not set, the component automatically tries to determine the best scope fitting the\ngiven time series.",
|
|
9494
|
+
"type": "string",
|
|
9495
|
+
"default": "\"\""
|
|
9496
|
+
},
|
|
9497
|
+
{
|
|
9498
|
+
"name": "scopes",
|
|
9499
|
+
"description": "The scopes to consider for automatic scoping.\n\nDefaults to [\"D\", \"W\", \"M\", \"Y\", \"5Y\", \"10Y\"]",
|
|
9500
|
+
"type": "array",
|
|
9501
|
+
"default": "[\"D\",\"W\",\"M\",\"Y\",\"5Y\",\"10Y\"]"
|
|
9502
|
+
},
|
|
9503
|
+
{
|
|
9504
|
+
"name": "url",
|
|
9505
|
+
"description": "Endpoint to load timeline data from. Expects response to be an\nobject with key value pairs for (date, hits).\n\nWill be reloaded whenever 'start-date' or 'end-date' attributes change.",
|
|
9506
|
+
"type": "string",
|
|
9507
|
+
"default": "\"\""
|
|
9508
|
+
},
|
|
9509
|
+
{
|
|
9510
|
+
"name": "auto",
|
|
9511
|
+
"description": "If set, data will be retrieved automatically on first load.",
|
|
9512
|
+
"type": "boolean",
|
|
9513
|
+
"default": "false"
|
|
9514
|
+
},
|
|
9515
|
+
{
|
|
9516
|
+
"name": "resettable",
|
|
9517
|
+
"type": "boolean",
|
|
9518
|
+
"default": "false"
|
|
9519
|
+
},
|
|
9520
|
+
{
|
|
9521
|
+
"name": "subscribe",
|
|
9522
|
+
"description": "The name of the channel to subscribe to. Only events on a channel corresponding\nto this property are listened to.",
|
|
9523
|
+
"type": "string"
|
|
9524
|
+
},
|
|
9525
|
+
{
|
|
9526
|
+
"name": "subscribe-config",
|
|
9527
|
+
"description": "Configuration object to define a channel/event mapping. Every property\nin the object is interpreted as the name of a channel and its value should\nbe an array of event names to listen to.",
|
|
9528
|
+
"type": "object"
|
|
9529
|
+
},
|
|
9530
|
+
{
|
|
9531
|
+
"name": "emit",
|
|
9532
|
+
"description": "The name of the channel to send events to.",
|
|
9533
|
+
"type": "string"
|
|
9534
|
+
},
|
|
9535
|
+
{
|
|
9536
|
+
"name": "emit-config",
|
|
9537
|
+
"description": "Configuration object to define a channel/event mapping. Every property\nin the object is interpreted as the name of a channel and its value should\nbe an array of event names to be dispatched.",
|
|
9538
|
+
"type": "object"
|
|
9539
|
+
},
|
|
9540
|
+
{
|
|
9541
|
+
"name": "wait-for",
|
|
9542
|
+
"description": "A selector pointing to other components this component depends on.\nWhen method `wait` is called, it will wait until all referenced\ncomponents signal with a `pb-ready` event that they are ready and listening\nto events.",
|
|
9543
|
+
"type": "string"
|
|
9544
|
+
},
|
|
9545
|
+
{
|
|
9546
|
+
"name": "disabled",
|
|
9547
|
+
"description": "Common property to disable the functionality associated with a component.\n`pb-highlight` and `pb-popover` react to this.",
|
|
9548
|
+
"type": "boolean",
|
|
9549
|
+
"default": "false"
|
|
9550
|
+
}
|
|
9551
|
+
],
|
|
9552
|
+
"properties": [
|
|
9553
|
+
{
|
|
9554
|
+
"name": "label"
|
|
9555
|
+
},
|
|
9556
|
+
{
|
|
9557
|
+
"name": "maxHeight",
|
|
9558
|
+
"type": "number",
|
|
9559
|
+
"default": "80"
|
|
9560
|
+
},
|
|
9561
|
+
{
|
|
9562
|
+
"name": "multiplier",
|
|
9563
|
+
"type": "number",
|
|
9564
|
+
"default": "0.75"
|
|
9565
|
+
},
|
|
9566
|
+
{
|
|
9567
|
+
"name": "mousedown",
|
|
9568
|
+
"type": "boolean",
|
|
9569
|
+
"default": "false"
|
|
9570
|
+
},
|
|
9571
|
+
{
|
|
9572
|
+
"name": "startDate",
|
|
9573
|
+
"attribute": "start-date",
|
|
9574
|
+
"description": "start date for timeline to display",
|
|
9575
|
+
"type": "string",
|
|
9576
|
+
"default": "\"\""
|
|
9577
|
+
},
|
|
9578
|
+
{
|
|
9579
|
+
"name": "endDate",
|
|
9580
|
+
"attribute": "end-date",
|
|
9581
|
+
"description": "endDate for timeline to display",
|
|
9582
|
+
"type": "string",
|
|
9583
|
+
"default": "\"\""
|
|
9584
|
+
},
|
|
9585
|
+
{
|
|
9586
|
+
"name": "scope",
|
|
9587
|
+
"attribute": "scope",
|
|
9588
|
+
"description": "The scope for the timeline. Must be one of the pre-defined scopes.\nIf not set, the component automatically tries to determine the best scope fitting the\ngiven time series.",
|
|
9589
|
+
"type": "string",
|
|
9590
|
+
"default": "\"\""
|
|
9591
|
+
},
|
|
9592
|
+
{
|
|
9593
|
+
"name": "scopes",
|
|
9594
|
+
"attribute": "scopes",
|
|
9595
|
+
"description": "The scopes to consider for automatic scoping.\n\nDefaults to [\"D\", \"W\", \"M\", \"Y\", \"5Y\", \"10Y\"]",
|
|
9596
|
+
"type": "array",
|
|
9597
|
+
"default": "[\"D\",\"W\",\"M\",\"Y\",\"5Y\",\"10Y\"]"
|
|
9598
|
+
},
|
|
9599
|
+
{
|
|
9600
|
+
"name": "url",
|
|
9601
|
+
"attribute": "url",
|
|
9602
|
+
"description": "Endpoint to load timeline data from. Expects response to be an\nobject with key value pairs for (date, hits).\n\nWill be reloaded whenever 'start-date' or 'end-date' attributes change.",
|
|
9603
|
+
"type": "string",
|
|
9604
|
+
"default": "\"\""
|
|
9605
|
+
},
|
|
9606
|
+
{
|
|
9607
|
+
"name": "auto",
|
|
9608
|
+
"attribute": "auto",
|
|
9609
|
+
"description": "If set, data will be retrieved automatically on first load.",
|
|
9610
|
+
"type": "boolean",
|
|
9611
|
+
"default": "false"
|
|
9612
|
+
},
|
|
9613
|
+
{
|
|
9614
|
+
"name": "resettable",
|
|
9615
|
+
"attribute": "resettable",
|
|
9616
|
+
"type": "boolean",
|
|
9617
|
+
"default": "false"
|
|
9618
|
+
},
|
|
9619
|
+
{
|
|
9620
|
+
"name": "subscribe",
|
|
9621
|
+
"attribute": "subscribe",
|
|
9622
|
+
"description": "The name of the channel to subscribe to. Only events on a channel corresponding\nto this property are listened to.",
|
|
9623
|
+
"type": "string"
|
|
9624
|
+
},
|
|
9625
|
+
{
|
|
9626
|
+
"name": "subscribeConfig",
|
|
9627
|
+
"attribute": "subscribe-config",
|
|
9628
|
+
"description": "Configuration object to define a channel/event mapping. Every property\nin the object is interpreted as the name of a channel and its value should\nbe an array of event names to listen to.",
|
|
9629
|
+
"type": "object"
|
|
9630
|
+
},
|
|
9631
|
+
{
|
|
9632
|
+
"name": "emit",
|
|
9633
|
+
"attribute": "emit",
|
|
9634
|
+
"description": "The name of the channel to send events to.",
|
|
9635
|
+
"type": "string"
|
|
9636
|
+
},
|
|
9637
|
+
{
|
|
9638
|
+
"name": "emitConfig",
|
|
9639
|
+
"attribute": "emit-config",
|
|
9640
|
+
"description": "Configuration object to define a channel/event mapping. Every property\nin the object is interpreted as the name of a channel and its value should\nbe an array of event names to be dispatched.",
|
|
9641
|
+
"type": "object"
|
|
9642
|
+
},
|
|
9643
|
+
{
|
|
9644
|
+
"name": "waitFor",
|
|
9645
|
+
"attribute": "wait-for",
|
|
9646
|
+
"description": "A selector pointing to other components this component depends on.\nWhen method `wait` is called, it will wait until all referenced\ncomponents signal with a `pb-ready` event that they are ready and listening\nto events.",
|
|
9647
|
+
"type": "string"
|
|
9648
|
+
},
|
|
9649
|
+
{
|
|
9650
|
+
"name": "disabled",
|
|
9651
|
+
"attribute": "disabled",
|
|
9652
|
+
"description": "Common property to disable the functionality associated with a component.\n`pb-highlight` and `pb-popover` react to this.",
|
|
9653
|
+
"type": "boolean",
|
|
9654
|
+
"default": "false"
|
|
9655
|
+
}
|
|
9656
|
+
],
|
|
9657
|
+
"events": [
|
|
9658
|
+
{
|
|
9659
|
+
"name": "pb-timeline-date-changed",
|
|
9660
|
+
"description": "Triggered when user clicks on a single entry"
|
|
9661
|
+
},
|
|
9662
|
+
{
|
|
9663
|
+
"name": "pb-timeline-daterange-changed",
|
|
9664
|
+
"description": "Triggered when user selects a range of entries"
|
|
9665
|
+
},
|
|
9666
|
+
{
|
|
9667
|
+
"name": "pb-timeline-reset-selection",
|
|
9668
|
+
"description": "Requests that the timeline is reset to initial state"
|
|
9669
|
+
},
|
|
9670
|
+
{
|
|
9671
|
+
"name": "pb-timeline-loaded",
|
|
9672
|
+
"description": "Timeline was loaded"
|
|
9673
|
+
}
|
|
9674
|
+
],
|
|
9675
|
+
"slots": [
|
|
9676
|
+
{
|
|
9677
|
+
"name": "label",
|
|
9678
|
+
"description": "Inserted before the label showing the currently displayed time range"
|
|
9679
|
+
}
|
|
9680
|
+
],
|
|
9681
|
+
"cssProperties": [
|
|
9682
|
+
{
|
|
9683
|
+
"name": "--pb-timeline-height"
|
|
9684
|
+
},
|
|
9685
|
+
{
|
|
9686
|
+
"name": "--pb-timeline-padding"
|
|
9687
|
+
},
|
|
9688
|
+
{
|
|
9689
|
+
"name": "--pb-timeline-color-highlight"
|
|
9690
|
+
},
|
|
9691
|
+
{
|
|
9692
|
+
"name": "--pb-timeline-color-light"
|
|
9693
|
+
},
|
|
9694
|
+
{
|
|
9695
|
+
"name": "--pb-timeline-color-dark"
|
|
9696
|
+
},
|
|
9697
|
+
{
|
|
9698
|
+
"name": "--pb-timeline-color-selected"
|
|
9699
|
+
},
|
|
9700
|
+
{
|
|
9701
|
+
"name": "--pb-timeline-color-bin"
|
|
9702
|
+
},
|
|
9703
|
+
{
|
|
9704
|
+
"name": "--pb-timeline-title-font-size"
|
|
9705
|
+
},
|
|
9706
|
+
{
|
|
9707
|
+
"name": "--pb-timeline-tooltip-font-size"
|
|
9708
|
+
}
|
|
9709
|
+
],
|
|
9710
|
+
"cssParts": [
|
|
9711
|
+
{
|
|
9712
|
+
"name": "label"
|
|
9713
|
+
},
|
|
9714
|
+
{
|
|
9715
|
+
"name": "tooltip"
|
|
9716
|
+
},
|
|
9717
|
+
{
|
|
9718
|
+
"name": "title"
|
|
9719
|
+
}
|
|
9720
|
+
]
|
|
9721
|
+
},
|
|
9474
9722
|
{
|
|
9475
9723
|
"name": "pb-toggle-feature",
|
|
9476
9724
|
"path": "./src/pb-toggle-feature.js",
|