@teipublisher/pb-components 2.7.0 → 2.9.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.
@@ -3944,7 +3944,7 @@
3944
3944
  "name": "wait-for",
3945
3945
  "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.",
3946
3946
  "type": "string",
3947
- "default": "\"pb-facsimile,pb-image-strip\""
3947
+ "default": "\"pb-facsimile,pb-image-strip,pb-tify\""
3948
3948
  },
3949
3949
  {
3950
3950
  "name": "disabled",
@@ -4025,7 +4025,7 @@
4025
4025
  "attribute": "wait-for",
4026
4026
  "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.",
4027
4027
  "type": "string",
4028
- "default": "\"pb-facsimile,pb-image-strip\""
4028
+ "default": "\"pb-facsimile,pb-image-strip,pb-tify\""
4029
4029
  },
4030
4030
  {
4031
4031
  "name": "disabled",
@@ -5624,7 +5624,7 @@
5624
5624
  {
5625
5625
  "name": "pb-link",
5626
5626
  "path": "./src/pb-link.js",
5627
- "description": "Create an internal link: clicking it will cause connected views to\nupdate and load the corresponding document fragment defined by the\nproperties.",
5627
+ "description": "Create an internal link: clicking it will emit a `pb-refresh`event, \ncausing connected views to update and load the corresponding document fragment defined by the\nproperties.",
5628
5628
  "attributes": [
5629
5629
  {
5630
5630
  "name": "xml-id",
@@ -5657,10 +5657,15 @@
5657
5657
  },
5658
5658
  {
5659
5659
  "name": "history",
5660
- "description": "Modify browser history: if set, clicking this\nelement will generate a new history entry in the browser's history.\nOnly use this on one element on the page.",
5660
+ "description": "Modify browser history: if set, clicking this\nelement will generate a new history entry in the browser's history.",
5661
5661
  "type": "boolean",
5662
5662
  "default": "true"
5663
5663
  },
5664
+ {
5665
+ "name": "params",
5666
+ "description": "Additional parameters to be passed in the event details.\nShould be specified as a JSON object.",
5667
+ "type": "object"
5668
+ },
5664
5669
  {
5665
5670
  "name": "subscribe",
5666
5671
  "description": "The name of the channel to subscribe to. Only events on a channel corresponding\nto this property are listened to.",
@@ -5732,10 +5737,16 @@
5732
5737
  {
5733
5738
  "name": "history",
5734
5739
  "attribute": "history",
5735
- "description": "Modify browser history: if set, clicking this\nelement will generate a new history entry in the browser's history.\nOnly use this on one element on the page.",
5740
+ "description": "Modify browser history: if set, clicking this\nelement will generate a new history entry in the browser's history.",
5736
5741
  "type": "boolean",
5737
5742
  "default": "true"
5738
5743
  },
5744
+ {
5745
+ "name": "params",
5746
+ "attribute": "params",
5747
+ "description": "Additional parameters to be passed in the event details.\nShould be specified as a JSON object.",
5748
+ "type": "object"
5749
+ },
5739
5750
  {
5740
5751
  "name": "subscribe",
5741
5752
  "attribute": "subscribe",
@@ -10760,6 +10771,105 @@
10760
10771
  }
10761
10772
  ]
10762
10773
  },
10774
+ {
10775
+ "name": "pb-tify",
10776
+ "path": "./src/pb-tify.js",
10777
+ "description": "Viewer for IIIF presentation manifests based on https://tify.rocks/.\nRequires a proper manifest listing the resources to show. `pb-facs-link`\ncan be used to navigate to a page.",
10778
+ "attributes": [
10779
+ {
10780
+ "name": "manifest",
10781
+ "description": "URL pointing to a IIIF presentation manifest. Relative paths\nare interpreted relative to the API endpoint.",
10782
+ "type": "string"
10783
+ },
10784
+ {
10785
+ "name": "subscribe",
10786
+ "description": "The name of the channel to subscribe to. Only events on a channel corresponding\nto this property are listened to.",
10787
+ "type": "string"
10788
+ },
10789
+ {
10790
+ "name": "subscribe-config",
10791
+ "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.",
10792
+ "type": "object"
10793
+ },
10794
+ {
10795
+ "name": "emit",
10796
+ "description": "The name of the channel to send events to.",
10797
+ "type": "string"
10798
+ },
10799
+ {
10800
+ "name": "emit-config",
10801
+ "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.",
10802
+ "type": "object"
10803
+ },
10804
+ {
10805
+ "name": "wait-for",
10806
+ "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.",
10807
+ "type": "string"
10808
+ },
10809
+ {
10810
+ "name": "disabled",
10811
+ "description": "Common property to disable the functionality associated with a component.\n`pb-highlight` and `pb-popover` react to this.",
10812
+ "type": "boolean",
10813
+ "default": "false"
10814
+ }
10815
+ ],
10816
+ "properties": [
10817
+ {
10818
+ "name": "manifest",
10819
+ "attribute": "manifest",
10820
+ "description": "URL pointing to a IIIF presentation manifest. Relative paths\nare interpreted relative to the API endpoint.",
10821
+ "type": "string"
10822
+ },
10823
+ {
10824
+ "name": "cssPath",
10825
+ "type": "string",
10826
+ "default": "\"../css/tify\""
10827
+ },
10828
+ {
10829
+ "name": "subscribe",
10830
+ "attribute": "subscribe",
10831
+ "description": "The name of the channel to subscribe to. Only events on a channel corresponding\nto this property are listened to.",
10832
+ "type": "string"
10833
+ },
10834
+ {
10835
+ "name": "subscribeConfig",
10836
+ "attribute": "subscribe-config",
10837
+ "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.",
10838
+ "type": "object"
10839
+ },
10840
+ {
10841
+ "name": "emit",
10842
+ "attribute": "emit",
10843
+ "description": "The name of the channel to send events to.",
10844
+ "type": "string"
10845
+ },
10846
+ {
10847
+ "name": "emitConfig",
10848
+ "attribute": "emit-config",
10849
+ "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.",
10850
+ "type": "object"
10851
+ },
10852
+ {
10853
+ "name": "waitFor",
10854
+ "attribute": "wait-for",
10855
+ "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.",
10856
+ "type": "string"
10857
+ },
10858
+ {
10859
+ "name": "disabled",
10860
+ "attribute": "disabled",
10861
+ "description": "Common property to disable the functionality associated with a component.\n`pb-highlight` and `pb-popover` react to this.",
10862
+ "type": "boolean",
10863
+ "default": "false"
10864
+ }
10865
+ ],
10866
+ "events": [
10867
+ {
10868
+ "name": "pb-load-facsimile",
10869
+ "description": "when received, opens the page denoted by the\n`order` property in the event (see `pb-facs-link`). Page counts start at 1."
10870
+ }
10871
+ ]
10872
+ },
10763
10873
  {
10764
10874
  "name": "pb-timeline",
10765
10875
  "path": "./src/pb-timeline.js",
@@ -1,4 +1,4 @@
1
- import{h as e,m as t,F as o,D as i,z as s,A as r,j as a,f as n}from"./paper-checkbox-102e3b43.js";import{E as d,T as l,D as p,p as c}from"./vaadin-element-mixin-b6179444.js";import{f as h,N as m,j as u,k as b,l as g,A as v,L as f,c as w,h as y,b as _,w as x,p as $}from"./pb-mixin-ea2e9070.js";import{t as E,g as S}from"./pb-i18n-f7a50012.js";import"./jinn-codemirror-9718e0e0.js";
1
+ import{h as e,m as t,F as o,D as i,z as s,A as r,j as a,f as n}from"./paper-checkbox-102e3b43.js";import{E as d,T as l,D as p,p as c}from"./vaadin-element-mixin-b6179444.js";import{f as h,N as m,j as u,k as b,l as g,A as v,L as f,c as w,h as y,b as _,w as x,p as $}from"./pb-mixin-ea2e9070.js";import{t as E,g as S}from"./pb-i18n-f7a50012.js";import"./jinn-codemirror-13c59456.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.