@teipublisher/pb-components 1.42.4 → 1.42.6

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/pb-elements.json CHANGED
@@ -4878,7 +4878,7 @@
4878
4878
  {
4879
4879
  "name": "pb-leaflet-map",
4880
4880
  "path": "./src/pb-leaflet-map.js",
4881
- "description": "A wrapper component for [leaflet](https://leafletjs.com/) displaying a map.\n\nThe map layers displayed can be configured via nested `pb-map-layer` (see docs) elements,\nicons via `pb-map-icon`.",
4881
+ "description": "A wrapper component for [leaflet](https://leafletjs.com/) displaying a map.\r\n\r\nThe map layers displayed can be configured via nested `pb-map-layer` (see docs) elements,\r\nicons via `pb-map-icon`.",
4882
4882
  "attributes": [
4883
4883
  {
4884
4884
  "name": "latitude",
@@ -4917,7 +4917,7 @@
4917
4917
  },
4918
4918
  {
4919
4919
  "name": "toggle",
4920
- "description": "If enabled, the map will remain invisible until an event is received from `pb-geolocation`.\nIn this case the map also offers a close button to hide it again.",
4920
+ "description": "If enabled, the map will remain invisible until an event is received from `pb-geolocation`.\r\nIn this case the map also offers a close button to hide it again.",
4921
4921
  "type": "boolean",
4922
4922
  "default": "false"
4923
4923
  },
@@ -4929,7 +4929,7 @@
4929
4929
  },
4930
4930
  {
4931
4931
  "name": "cluster",
4932
- "description": "If set, combine markers into clusters if they are located too close together\nto display as single markers",
4932
+ "description": "If set, combine markers into clusters if they are located too close together\r\nto display as single markers",
4933
4933
  "type": "boolean",
4934
4934
  "default": "false"
4935
4935
  },
@@ -4941,7 +4941,7 @@
4941
4941
  },
4942
4942
  {
4943
4943
  "name": "disable-clustering-at",
4944
- "description": "Limits up to which zoom level markers are arranged into clusters.\nUsing a higher zoom level here will result in more markers to be shown.\n\nRequires `cluster` option to be enabled.",
4944
+ "description": "Limits up to which zoom level markers are arranged into clusters.\r\nUsing a higher zoom level here will result in more markers to be shown.\r\n\r\nRequires `cluster` option to be enabled.",
4945
4945
  "type": "number"
4946
4946
  },
4947
4947
  {
@@ -4977,6 +4977,10 @@
4977
4977
  }
4978
4978
  ],
4979
4979
  "properties": [
4980
+ {
4981
+ "name": "map",
4982
+ "description": "The underlying leafletjs map. Can be used for custom scripts.\r\n\r\nWill be null until the component is fully loaded. Listen to `pb-ready` on the component to\r\nbe sure it has initialized."
4983
+ },
4980
4984
  {
4981
4985
  "name": "latitude",
4982
4986
  "attribute": "latitude",
@@ -5022,7 +5026,7 @@
5022
5026
  {
5023
5027
  "name": "toggle",
5024
5028
  "attribute": "toggle",
5025
- "description": "If enabled, the map will remain invisible until an event is received from `pb-geolocation`.\nIn this case the map also offers a close button to hide it again.",
5029
+ "description": "If enabled, the map will remain invisible until an event is received from `pb-geolocation`.\r\nIn this case the map also offers a close button to hide it again.",
5026
5030
  "type": "boolean",
5027
5031
  "default": "false"
5028
5032
  },
@@ -5036,7 +5040,7 @@
5036
5040
  {
5037
5041
  "name": "cluster",
5038
5042
  "attribute": "cluster",
5039
- "description": "If set, combine markers into clusters if they are located too close together\nto display as single markers",
5043
+ "description": "If set, combine markers into clusters if they are located too close together\r\nto display as single markers",
5040
5044
  "type": "boolean",
5041
5045
  "default": "false"
5042
5046
  },
@@ -5050,7 +5054,7 @@
5050
5054
  {
5051
5055
  "name": "disableClusteringAt",
5052
5056
  "attribute": "disable-clustering-at",
5053
- "description": "Limits up to which zoom level markers are arranged into clusters.\nUsing a higher zoom level here will result in more markers to be shown.\n\nRequires `cluster` option to be enabled.",
5057
+ "description": "Limits up to which zoom level markers are arranged into clusters.\r\nUsing a higher zoom level here will result in more markers to be shown.\r\n\r\nRequires `cluster` option to be enabled.",
5054
5058
  "type": "number"
5055
5059
  },
5056
5060
  {
@@ -5098,7 +5102,7 @@
5098
5102
  },
5099
5103
  {
5100
5104
  "name": "pb-update-map",
5101
- "description": "When received, redraws the map to fit markers passed in with the event.\nEvent details should include an array of locations, see `pb-geolocation` event below."
5105
+ "description": "When received, redraws the map to fit markers passed in with the event.\rEvent details should include an array of locations, see `pb-geolocation` event below."
5102
5106
  },
5103
5107
  {
5104
5108
  "name": "pb-update",
@@ -5106,7 +5110,7 @@
5106
5110
  },
5107
5111
  {
5108
5112
  "name": "pb-geolocation",
5109
- "description": "When received, focuses the map on the geocoordinates passed in with the event.\nThe event details should include an object:\n```\n{\ncoordinates: {\n latitude: Number,\n longitude: Number\n},\nlabel: string - the label to show on mouseover,\nzoom: Number - fixed zoom level to zoom to,\nfitBounds: Boolean - if true, recompute current zoom level to show all markers\n}\n```"
5113
+ "description": "When received, focuses the map on the geocoordinates passed in with the event.\rThe event details should include an object:\r```\r{\rcoordinates: {\r latitude: Number,\r longitude: Number\r},\rlabel: string - the label to show on mouseover,\rzoom: Number - fixed zoom level to zoom to,\rfitBounds: Boolean - if true, recompute current zoom level to show all markers\r}\r```"
5110
5114
  }
5111
5115
  ],
5112
5116
  "slots": [
@@ -7267,7 +7271,7 @@
7267
7271
  {
7268
7272
  "name": "outputs",
7269
7273
  "type": "array",
7270
- "default": "[\"\",\"web\",\"printcss\",\"print\",\"epub\",\"fo\",\"latex\",\"plain\"]"
7274
+ "default": "[\"\",\"web\",\"print\",\"epub\",\"fo\",\"latex\",\"plain\"]"
7271
7275
  },
7272
7276
  {
7273
7277
  "name": "behaviours",
@@ -7390,7 +7394,7 @@
7390
7394
  "name": "outputs",
7391
7395
  "attribute": "outputs",
7392
7396
  "type": "array",
7393
- "default": "[\"\",\"web\",\"printcss\",\"print\",\"epub\",\"fo\",\"latex\",\"plain\"]"
7397
+ "default": "[\"\",\"web\",\"print\",\"epub\",\"fo\",\"latex\",\"plain\"]"
7394
7398
  },
7395
7399
  {
7396
7400
  "name": "parentModel",
@@ -9548,7 +9552,7 @@
9548
9552
  {
9549
9553
  "name": "pb-split-list",
9550
9554
  "path": "./src/pb-split-list.js",
9551
- "description": "Implements a list which is split into different categories \n(e.g. letters of the alphabet, countries ...).\nOnly one category is shown at a time unless the server reports\nno categories (e.g. if the number of items to display goes below\na defined threshold).\n\nThe server-side API endpoint should return a JSON object with two\nproperties:\n\n+ `categories`: an array of category descriptions: each item should \n be an object with two properties: `category` - containing the name of the category\n and `count` - containing a count of items available under this category.\n+ `items`: an array with the items to be shown for the currently selected\n category. Those may contain HTML markup.",
9555
+ "description": "Implements a list which is split into different categories \r\n(e.g. letters of the alphabet, countries ...).\r\nOnly one category is shown at a time unless the server reports\r\nno categories (e.g. if the number of items to display goes below\r\na defined threshold).\r\n\r\nThe server-side API endpoint should return a JSON object with two\r\nproperties:\r\n\r\n+ `categories`: an array of category descriptions: each item should \r\n be an object with two properties: `category` - containing the name of the category\r\n and `count` - containing a count of items available under this category.\r\n+ `items`: an array with the items to be shown for the currently selected\r\n category. Those may contain HTML markup.",
9552
9556
  "attributes": [
9553
9557
  {
9554
9558
  "name": "url",
@@ -9562,7 +9566,7 @@
9562
9566
  },
9563
9567
  {
9564
9568
  "name": "subforms",
9565
- "description": "A CSS selector pointing to one or more `pb-custom-form`\ninstances. The element will collect additional parameters\nfrom those forms and includes them in the request to the server",
9569
+ "description": "A CSS selector pointing to one or more `pb-custom-form`\r\ninstances. The element will collect additional parameters\r\nfrom those forms and includes them in the request to the server",
9566
9570
  "type": "string"
9567
9571
  },
9568
9572
  {
@@ -9613,7 +9617,7 @@
9613
9617
  {
9614
9618
  "name": "subforms",
9615
9619
  "attribute": "subforms",
9616
- "description": "A CSS selector pointing to one or more `pb-custom-form`\ninstances. The element will collect additional parameters\nfrom those forms and includes them in the request to the server",
9620
+ "description": "A CSS selector pointing to one or more `pb-custom-form`\r\ninstances. The element will collect additional parameters\r\nfrom those forms and includes them in the request to the server",
9617
9621
  "type": "string"
9618
9622
  },
9619
9623
  {