@teipublisher/pb-components 2.3.0 → 2.4.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.
Files changed (87) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +3 -3
  3. package/dist/api.html +1 -1
  4. package/dist/demo/bundle-test.html +1 -1
  5. package/dist/demo/dts-client.html +2 -2
  6. package/dist/demo/pb-autocomplete.html +2 -2
  7. package/dist/demo/pb-autocomplete2.html +2 -2
  8. package/dist/demo/pb-autocomplete3.html +1 -1
  9. package/dist/demo/pb-blacklab-highlight.html +2 -2
  10. package/dist/demo/pb-blacklab-results.html +2 -2
  11. package/dist/demo/pb-browse-docs.html +2 -2
  12. package/dist/demo/pb-browse-docs2.html +2 -2
  13. package/dist/demo/pb-clipboard.html +2 -2
  14. package/dist/demo/pb-code-editor.html +2 -4
  15. package/dist/demo/pb-code-highlight.html +1 -1
  16. package/dist/demo/pb-codepen.html +1 -1
  17. package/dist/demo/pb-collapse.html +2 -2
  18. package/dist/demo/pb-collapse2.html +2 -2
  19. package/dist/demo/pb-combo-box.html +2 -2
  20. package/dist/demo/pb-custom-form.html +2 -2
  21. package/dist/demo/pb-document.html +2 -2
  22. package/dist/demo/pb-download.html +2 -2
  23. package/dist/demo/pb-drawer.html +2 -2
  24. package/dist/demo/pb-drawer2.html +2 -2
  25. package/dist/demo/pb-edit-app.html +2 -2
  26. package/dist/demo/pb-edit-xml.html +2 -2
  27. package/dist/demo/pb-facsimile-2.html +2 -2
  28. package/dist/demo/pb-facsimile.html +2 -2
  29. package/dist/demo/pb-formula.html +2 -2
  30. package/dist/demo/pb-grid.html +2 -2
  31. package/dist/demo/pb-highlight.html +1 -1
  32. package/dist/demo/pb-i18n.html +1 -1
  33. package/dist/demo/pb-image-strip-standalone.html +2 -2
  34. package/dist/demo/pb-image-strip-view.html +2 -2
  35. package/dist/demo/pb-leaflet-map.html +2 -2
  36. package/dist/demo/pb-leaflet-map2.html +2 -2
  37. package/dist/demo/pb-leaflet-map3.html +2 -2
  38. package/dist/demo/pb-link.html +2 -2
  39. package/dist/demo/pb-load.html +2 -2
  40. package/dist/demo/pb-login.html +2 -2
  41. package/dist/demo/pb-manage-odds.html +2 -2
  42. package/dist/demo/pb-markdown.html +2 -2
  43. package/dist/demo/pb-media-query.html +2 -2
  44. package/dist/demo/pb-mei.html +2 -2
  45. package/dist/demo/pb-mei2.html +2 -2
  46. package/dist/demo/pb-message.html +1 -1
  47. package/dist/demo/pb-odd-editor.html +2 -2
  48. package/dist/demo/pb-popover.html +2 -2
  49. package/dist/demo/pb-print-preview.html +2 -2
  50. package/dist/demo/pb-progress.html +1 -1
  51. package/dist/demo/pb-repeat.html +1 -1
  52. package/dist/demo/pb-search.html +2 -2
  53. package/dist/demo/pb-search2.html +2 -2
  54. package/dist/demo/pb-search3.html +2 -2
  55. package/dist/demo/pb-search4.html +2 -2
  56. package/dist/demo/pb-select-feature.html +2 -2
  57. package/dist/demo/pb-select-feature2.html +2 -2
  58. package/dist/demo/pb-select-feature3.html +2 -2
  59. package/dist/demo/pb-select-i18n.html +1 -1
  60. package/dist/demo/pb-select-odd.html +2 -2
  61. package/dist/demo/pb-select.html +2 -2
  62. package/dist/demo/pb-select2.html +2 -2
  63. package/dist/demo/pb-select3.html +2 -2
  64. package/dist/demo/pb-svg.html +2 -2
  65. package/dist/demo/pb-table-grid.html +3 -3
  66. package/dist/demo/pb-tabs.html +2 -2
  67. package/dist/demo/pb-timeline.html +1 -1
  68. package/dist/demo/pb-timeline2.html +2 -2
  69. package/dist/demo/pb-toggle-feature.html +2 -2
  70. package/dist/demo/pb-toggle-feature2.html +2 -2
  71. package/dist/demo/pb-toggle-feature3.html +2 -2
  72. package/dist/demo/pb-version.html +1 -1
  73. package/dist/demo/pb-view.html +2 -2
  74. package/dist/demo/pb-view2.html +2 -2
  75. package/dist/demo/pb-view3.html +2 -2
  76. package/dist/demo/pb-view4.html +2 -2
  77. package/dist/demo/pb-zoom.html +2 -2
  78. package/dist/pb-components-bundle.js +22 -8
  79. package/dist/pb-elements.json +15 -0
  80. package/package.json +1 -1
  81. package/pb-elements.json +15 -0
  82. package/src/authority/airtable.js +3 -3
  83. package/src/pb-ajax.js +36 -7
  84. package/src/pb-manage-odds.js +7 -1
  85. package/src/pb-page.js +16 -1
  86. package/src/pb-view.js +3 -3
  87. package/src/urls.js +23 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ # [2.4.0](https://github.com/eeditiones/tei-publisher-components/compare/v2.3.1...v2.4.0) (2023-03-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **pb-manage-odds:** changed link to button ([e07dfaf](https://github.com/eeditiones/tei-publisher-components/commit/e07dfaf5708145e7364b15cd8cbaaa2e406970aa))
7
+
8
+
9
+ ### Features
10
+
11
+ * **pb-ajax:** added progress and button indicates state ([e41254d](https://github.com/eeditiones/tei-publisher-components/commit/e41254df61fd560e1599ea41dd6fb70187e0b33e))
12
+
13
+ ## [2.3.1](https://github.com/eeditiones/tei-publisher-components/compare/v2.3.0...v2.3.1) (2023-03-23)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **pb-page:** make configurable if the hash part of the URL should be interpreted as xml:id to navigate to. This allows links like doc.xml#intro to work. ([6929257](https://github.com/eeditiones/tei-publisher-components/commit/69292572733516f5158ed2d2d37a4447e8844dee))
19
+
1
20
  # [2.3.0](https://github.com/eeditiones/tei-publisher-components/compare/v2.2.0...v2.3.0) (2023-03-21)
2
21
 
3
22
 
package/README.md CHANGED
@@ -26,8 +26,8 @@ All components talk to an endpoint, which will either be a TEI Publisher instanc
26
26
  To include components into your own application, you can load them from a CDN:
27
27
 
28
28
  ```html
29
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script>
30
- <script type="module" src="https://unpkg.com/@teipublisher/pb-components@latest/dist/pb-components-bundle.js"></script>
29
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
30
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@teipublisher/pb-components/dist/pb-components-bundle.js"></script>
31
31
  ```
32
32
 
33
33
  For most use case, including `pb-components-bundle.js` is enough. However, we ship additional bundles as described below:
@@ -77,4 +77,4 @@ After reloading TEI Publisher in the browser, components should be loaded from y
77
77
 
78
78
  ## Building Documentation
79
79
 
80
- To regenerate the API documentation, run `npm run docs`.
80
+ To regenerate the API documentation, run `npm run docs`.
package/dist/api.html CHANGED
@@ -7,7 +7,7 @@
7
7
  <link rel="shortcut icon" type="image/png" href="images/favicon-24.png" sizes="24x24" />
8
8
  <link rel="shortcut icon" type="image/png" href="images/favicon-32.png" sizes="32x32" />
9
9
  <link rel="shortcut icon" type="image/png" href="images/favicon-64.png" sizes="64x64" />
10
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="pb-component-docs.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="pb-component-docs.js"></script>
11
11
  <style type="text/css">
12
12
  @import url('https://fonts.googleapis.com/css?family=Oswald|Roboto&display=swap');
13
13
 
@@ -42,7 +42,7 @@
42
42
  height: 480px;
43
43
  }
44
44
  </style>
45
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
45
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
46
46
  <app-header-layout>
47
47
  <app-header slot="header" reveals="reveals" fixed="fixed" effects="waterfall">
48
48
  <app-toolbar class="toolbar" sticky="sticky">
@@ -5,7 +5,7 @@
5
5
 
6
6
  <title>dts-client Demo</title>
7
7
  <link rel="stylesheet" href="demo.css">
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
  </head>
10
10
 
11
11
  <body>
@@ -16,7 +16,7 @@
16
16
  margin-bottom: 10px;
17
17
  }
18
18
  </style>
19
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
19
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
20
20
  <!-- Display two document views side by side -->
21
21
  <main>
22
22
  <dts-client>
@@ -9,14 +9,14 @@
9
9
  margin-right: 10px;
10
10
  }
11
11
  </style>
12
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
12
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
13
13
  </head>
14
14
  <body>
15
15
  <h1>Using pb-autocomplete</h1>
16
16
 
17
17
  <pb-demo-snippet>
18
18
  <template>
19
- <pb-page locales="../i18n/{{ns}}/{{lng}}.json" endpoint="https://teipublisher.com/exist/apps/tei-publisher">
19
+ <pb-page locales="../i18n/{{ns}}/{{lng}}.json" endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
20
20
  <form action="" id="form">
21
21
  <h2>Suggestion list passed in a property</h2>
22
22
  <pb-autocomplete name="autocomplete1" placeholder="Greek letter name" suggestions='["alpha", "beta", "gamma"]' value="alpha"></pb-autocomplete>
@@ -14,14 +14,14 @@
14
14
  background-color: inherit;
15
15
  }
16
16
  </style>
17
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
17
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
18
18
  </head>
19
19
  <body>
20
20
  <h1>Using pb-autocomplete with remote suggestions</h1>
21
21
 
22
22
  <pb-demo-snippet>
23
23
  <template>
24
- <pb-page locales="../i18n/{{ns}}/{{lng}}.json" endpoint="https://teipublisher.com/exist/apps/tei-publisher">
24
+ <pb-page locales="../i18n/{{ns}}/{{lng}}.json" endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
25
25
  <iron-form id="form">
26
26
  <form action="">
27
27
  <p>pb-autocomplete used with a pb-repeat:</p>
@@ -9,7 +9,7 @@
9
9
  margin-right: 10px;
10
10
  }
11
11
  </style>
12
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
12
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
13
13
  </head>
14
14
  <body>
15
15
  <h1>Using pb-autocomplete</h1>
@@ -4,7 +4,7 @@
4
4
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"/>
5
5
 
6
6
  <title>pb-view Demo</title>
7
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
7
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
8
  </head>
9
9
 
10
10
  <body>
@@ -48,7 +48,7 @@
48
48
  float: right;
49
49
  }
50
50
  </style>
51
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
51
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
52
52
  <pb-document id="document1" path="A01775.xml"></pb-document>
53
53
  <pb-blacklab-highlight view="view1"></pb-blacklab-highlight>
54
54
  <!-- <pb-progress subscribe="transcription"></pb-progress>-->
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"/>
6
6
 
7
7
  <title>pb-link Demo</title>
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
  <style>
10
10
  @import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@100&display=swap);
11
11
 
@@ -179,7 +179,7 @@
179
179
  -->
180
180
 
181
181
 
182
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
182
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
183
183
  <main>
184
184
  <pb-blacklab-results per-page="5" pattern='[word="love"][word="by"]' path="data"></pb-blacklab-results>
185
185
  </main>
@@ -7,7 +7,7 @@
7
7
 
8
8
  <title>pb-browse-docs Demo</title>
9
9
  <link rel="stylesheet" href="demo.css">
10
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
11
11
  </head>
12
12
 
13
13
  <body>
@@ -69,7 +69,7 @@
69
69
  border-bottom: 1px solid #a0a0a0;
70
70
  }
71
71
  </style>
72
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher"
72
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0"
73
73
  url-doc="path|query" url-skip="lang," url-id="query|hash">
74
74
  <div class="toolbar">
75
75
  <pb-login id="login" group="tei"></pb-login>
@@ -7,7 +7,7 @@
7
7
 
8
8
  <title>pb-browse-docs Demo</title>
9
9
  <link rel="stylesheet" href="demo.css">
10
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
11
11
  </head>
12
12
 
13
13
  <body>
@@ -69,7 +69,7 @@
69
69
  border-bottom: 1px solid #a0a0a0;
70
70
  }
71
71
  </style>
72
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
72
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
73
73
  <div class="toolbar">
74
74
  <pb-login id="login" group="tei"></pb-login>
75
75
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>pb-clipboard Demo</title>
7
7
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Oswald">
8
8
  <link rel="Stylesheet" href="demo.css">
9
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
10
10
  </head>
11
11
 
12
12
  <body>
@@ -21,7 +21,7 @@
21
21
  margin-bottom: 20px;
22
22
  }
23
23
  </style>
24
- <pb-page locales="../i18n/{{ns}}/{{lng}}.json" endpoint="https://teipublisher.com/exist/apps/tei-publisher">
24
+ <pb-page locales="../i18n/{{ns}}/{{lng}}.json" endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
25
25
  <pb-clipboard data-i18n="[label]clipboard.copy">John Doe: "The miracles of foobar", Paradise Publishers, Little Village, Stardate 46254.7</pb-clipboard>
26
26
  <pb-clipboard data-i18n="[label]clipboard.copy">Coffey, Frank. The Complete Idiot's Guide to Elvis. Alpha Books, 1997. eBooks on EBSCOhost.11 May 2000.</pb-clipboard>
27
27
 
@@ -5,17 +5,16 @@
5
5
 
6
6
  <title>pb-code-editor Demo</title>
7
7
  <link rel="stylesheet" href="demo.css">
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script><script type="module" src="../pb-code-editor.js"></script>
9
9
  </head>
10
10
 
11
11
  <body>
12
- <pb-page>
13
12
  <pb-demo-snippet>
14
13
  <template>
15
14
  <style>
16
15
  pb-code-editor { margin-bottom: 32px; }
17
16
  </style>
18
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
17
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0" locales="./i18n/{{ns}}_{{lng}}.json" locale-fallback-ns="app custom" api-version="1.0.0">
19
18
  <pb-lang label="language" selected="en">
20
19
  <paper-item value="de">Deutsch</paper-item>
21
20
  <paper-item value="en">English</paper-item>
@@ -38,6 +37,5 @@ font-decoration: underline;" mode="css"></pb-code-editor>
38
37
  </pb-page>
39
38
  </template>
40
39
  </pb-demo-snippet>
41
- </pb-page>
42
40
  </body>
43
41
  </html>
@@ -4,7 +4,7 @@
4
4
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"/>
5
5
 
6
6
  <title>pb-code-highlight Demo</title>
7
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
7
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
8
  </head>
9
9
 
10
10
  <body>
@@ -4,7 +4,7 @@
4
4
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"/>
5
5
 
6
6
  <title>pb-codepen Demo</title>
7
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
7
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
8
  </head>
9
9
 
10
10
  <body>
@@ -5,7 +5,7 @@
5
5
 
6
6
  <title>pb-code-editor Demo</title>
7
7
  <link rel="stylesheet" href="demo.css">
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
  </head>
10
10
 
11
11
  <body>
@@ -19,7 +19,7 @@
19
19
  margin: 10px 20px;
20
20
  }
21
21
  </style>
22
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
22
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0" url-path="query">
23
23
  <pb-document id="document1" path="test/osinski.xml" odd="osinski"></pb-document>
24
24
  <pb-collapse toggles>
25
25
  <div slot="collapse-trigger">Metadata</div>
@@ -5,7 +5,7 @@
5
5
 
6
6
  <title>pb-code-editor Demo</title>
7
7
  <link rel="stylesheet" href="demo.css">
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
  </head>
10
10
 
11
11
  <body>
@@ -19,7 +19,7 @@
19
19
  margin: 10px 20px;
20
20
  }
21
21
  </style>
22
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
22
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0" url-path="query">
23
23
  <pb-document id="document1" path="test/osinski.xml" odd="osinski"></pb-document>
24
24
  <pb-collapse emit="meta">
25
25
  <div slot="collapse-trigger">Metadata</div>
@@ -3,12 +3,12 @@
3
3
  <title>Using pb-multi-select</title>
4
4
  <link rel="stylesheet" href="demo.css">
5
5
 
6
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
6
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
7
7
  </head>
8
8
  <body>
9
9
  <pb-demo-snippet>
10
10
  <template>
11
- <pb-page locales="../i18n/{{ns}}/{{lng}}.json" endpoint="https://teipublisher.com/exist/apps/tei-publisher">
11
+ <pb-page locales="../i18n/{{ns}}/{{lng}}.json" endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
12
12
  <h2>Using pb-combo-box with a standard HTML form</h2>
13
13
  <form id="form" action="">
14
14
  <fieldset>
@@ -4,7 +4,7 @@
4
4
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"/>
5
5
 
6
6
  <title>pb-split-list Demo</title>
7
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
7
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
8
  </head>
9
9
 
10
10
  <body>
@@ -20,7 +20,7 @@
20
20
  margin-right: 20px;
21
21
  }
22
22
  </style>
23
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
23
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
24
24
  <pb-custom-form auto-submit="paper-input,paper-icon-button,input,select,paper-dropdown-menu">
25
25
  <paper-input name="search" label="Search">
26
26
  <paper-icon-button icon="search" slot="suffix"></paper-icon-button>
@@ -5,7 +5,7 @@
5
5
 
6
6
  <title>pb-document Demo</title>
7
7
  <link rel="stylesheet" href="demo.css">
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
  </head>
10
10
 
11
11
  <body>
@@ -23,7 +23,7 @@
23
23
  flex: 1 0;
24
24
  }
25
25
  </style>
26
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
26
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0" url-path="query">
27
27
  <pb-document id="document1" path="test/kant_rvernunft_1781.TEI-P5.xml" odd="dta" view="page" disable-history></pb-document>
28
28
  <pb-document id="document2" path="doc/documentation.xml" odd="docbook" view="div"></pb-document>
29
29
 
@@ -4,7 +4,7 @@
4
4
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"/>
5
5
 
6
6
  <title>pb-download Demo</title>
7
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
7
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
8
  </head>
9
9
 
10
10
  <body>
@@ -14,7 +14,7 @@
14
14
  pb-progress { margin-bottom: 10px; }
15
15
  pb-download { margin-right: 10px; }
16
16
  </style>
17
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
17
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
18
18
  <pb-document id="document1" path="doc/documentation.xml" odd="docbook" view="div"></pb-document>
19
19
 
20
20
  <pb-progress></pb-progress>
@@ -4,7 +4,7 @@
4
4
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"/>
5
5
 
6
6
  <title>pb-view Demo</title>
7
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
7
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
8
  </head>
9
9
 
10
10
  <body>
@@ -82,7 +82,7 @@
82
82
  color: #222222;
83
83
  }
84
84
  </style>
85
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
85
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0" url-path="query">
86
86
  <pb-document id="document1" path="test/kant_rvernunft_1781.TEI-P5.xml" odd="dta"></pb-document>
87
87
  <div class="toolbar">
88
88
  <paper-icon-button id="tocToggle" class="toc-toggle" icon="icons:view-list"></paper-icon-button>
@@ -4,7 +4,7 @@
4
4
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"/>
5
5
 
6
6
  <title>Toggling drawer from custom event</title>
7
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
7
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
8
  </head>
9
9
 
10
10
  <body>
@@ -45,7 +45,7 @@
45
45
  content: ': ';
46
46
  }
47
47
  </style>
48
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
48
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0" url-path="query">
49
49
  <pb-document id="document1" path="test//orlik_to_serafin.xml" odd="serafin"></pb-document>
50
50
  <pb-progress></pb-progress>
51
51
  <p>Disable popovers for names and places. Show the information in the drawer instead if a name is clicked.
@@ -5,7 +5,7 @@
5
5
 
6
6
  <title>pb-odd-editor Demo</title>
7
7
  <link rel="stylesheet" href="demo.css">
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
 
10
10
  <style>
11
11
  *:focus {
@@ -18,7 +18,7 @@
18
18
  </head>
19
19
 
20
20
  <body>
21
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
21
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0" url-path="query">
22
22
  <pb-login group="tei"></pb-login>
23
23
  <pb-edit-app></pb-edit-app>
24
24
  </pb-page>
@@ -5,13 +5,13 @@
5
5
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes" />
6
6
 
7
7
  <title>pb-edit-xml Demo</title>
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
  </head>
10
10
 
11
11
  <body>
12
12
  <pb-demo-snippet>
13
13
  <template>
14
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
14
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
15
15
  <ul>
16
16
  <li><pb-edit-xml path="/db/apps/tei-publisher/data/doc/documentation.xml">View Documentation</pb-edit-xml></li>
17
17
  </ul>
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes" />
6
6
 
7
7
  <title>pb-view Demo</title>
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
  </head>
10
10
 
11
11
  <body>
@@ -45,7 +45,7 @@
45
45
  margin-right: 20px;
46
46
  }
47
47
  </style>
48
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
48
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0" url-path="query">
49
49
  <pb-document id="document1" path="test/cortes_to_dantiscus.xml" odd="dantiscus"></pb-document>
50
50
  <main>
51
51
  <pb-facsimile base-uri="https://apps.existsolutions.com/cantaloupe/iiif/2/" default-zoom-level="0"
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes" />
6
6
 
7
7
  <title>pb-document Demo</title>
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
  </head>
10
10
 
11
11
  <body>
@@ -36,7 +36,7 @@
36
36
  border-bottom: 1px solid #606060;
37
37
  }
38
38
  </style>
39
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
39
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0" url-path="query">
40
40
  <!-- Display facsimile -->
41
41
  <main>
42
42
  <div>
@@ -4,7 +4,7 @@
4
4
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"/>
5
5
 
6
6
  <title>pb-formula Demo</title>
7
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
7
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
8
  </head>
9
9
 
10
10
  <body>
@@ -19,7 +19,7 @@
19
19
  padding-bottom: 10px;
20
20
  }
21
21
  </style>
22
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
22
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
23
23
  <h2>Formula in heading: <pb-formula>a^{2}\dot{x}+x\dot{y}^{2}=0</pb-formula></h2>
24
24
  <figure>
25
25
  <pb-formula display>\frac{y}{z^{m-1}}+\frac{\overline{m-1}^{2}y}{z^{m+1}}=Q</pb-formula>
@@ -5,13 +5,13 @@
5
5
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes" />
6
6
 
7
7
  <title>pb-grid Demo</title>
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
  </head>
10
10
 
11
11
  <body>
12
12
  <pb-demo-snippet>
13
13
  <template>
14
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
14
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0" url-path="query">
15
15
  <pb-document id="document1" path="test/orlik_to_serafin.xml" odd="serafin" view="single"></pb-document>
16
16
 
17
17
  <pb-grid-action action="add" class="grid-add" grid="#grid" initial="1">
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes" />
6
6
 
7
7
  <title>pb-view Demo</title>
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
  </head>
10
10
 
11
11
  <body>
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes" />
6
6
 
7
7
  <title>pb-view Demo</title>
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
  </head>
10
10
 
11
11
  <body>
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes" />
6
6
 
7
7
  <title>pb-document Demo</title>
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
  </head>
10
10
 
11
11
  <body>
@@ -38,7 +38,7 @@
38
38
  border-bottom: 1px solid #606060;
39
39
  }
40
40
  </style>
41
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
41
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0">
42
42
  <!-- Display facsimile -->
43
43
  <main>
44
44
  <div>
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes" />
6
6
 
7
7
  <title>pb-document Demo</title>
8
- <script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.4.3/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script><script type="module" src="../pb-components-bundle.js"></script>
9
9
  </head>
10
10
 
11
11
  <body>
@@ -44,7 +44,7 @@
44
44
  border-bottom: 1px solid #606060;
45
45
  }
46
46
  </style>
47
- <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher">
47
+ <pb-page endpoint="https://teipublisher.com/exist/apps/tei-publisher" api-version="1.0.0" url-path="query">
48
48
  <!-- Display facsimile -->
49
49
  <pb-document id="document1" path="test/cortes_to_dantiscus.xml"></pb-document>
50
50
  <main>