@pod-os/elements 0.7.1-7512967.0 → 0.7.1-7d05bdd.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/dist/cjs/elements.cjs.js +1 -1
- package/dist/cjs/{ion-app_47.cjs.entry.js → ion-app_48.cjs.entry.js} +65 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/apps/pos-app-pdf-viewer/pos-app-pdf-viewer.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/{pos-image/BrokenImage.js → broken-file/BrokenFile.js} +1 -1
- package/dist/collection/components/pos-image/pos-image.js +2 -2
- package/dist/collection/components/pos-pdf/pos-pdf.css +58 -0
- package/dist/collection/components/pos-pdf/pos-pdf.js +138 -0
- package/dist/components/BrokenFile.js +24 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/pos-app-browser.js +80 -74
- package/dist/components/pos-app-pdf-viewer2.js +47 -35
- package/dist/components/pos-image2.js +3 -23
- package/dist/components/pos-pdf.d.ts +11 -0
- package/dist/components/pos-pdf.js +6 -0
- package/dist/components/pos-pdf2.js +99 -0
- package/dist/components/pos-router2.js +62 -56
- package/dist/components/pos-type-router2.js +58 -52
- package/dist/elements/elements.esm.js +1 -1
- package/dist/elements/{p-db565935.entry.js → p-4b1d1a80.entry.js} +1 -1
- package/dist/esm/elements.js +1 -1
- package/dist/esm/{ion-app_47.entry.js → ion-app_48.entry.js} +65 -6
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/broken-file/BrokenFile.d.ts +6 -0
- package/dist/types/components/pos-pdf/pos-pdf.d.ts +16 -0
- package/dist/types/components.d.ts +22 -0
- package/package.json +1 -1
- package/dist/types/components/pos-image/BrokenImage.d.ts +0 -6
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { s as subscribeResource } from './ResourceAware.js';
|
|
3
|
-
import { d as defineCustomElement$
|
|
4
|
-
import { d as defineCustomElement$
|
|
5
|
-
import { d as defineCustomElement$
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
3
|
+
import { d as defineCustomElement$k } from './badge.js';
|
|
4
|
+
import { d as defineCustomElement$j } from './card.js';
|
|
5
|
+
import { d as defineCustomElement$i } from './card-header.js';
|
|
6
|
+
import { d as defineCustomElement$h } from './card-title.js';
|
|
7
|
+
import { d as defineCustomElement$g } from './col.js';
|
|
8
|
+
import { d as defineCustomElement$f } from './grid.js';
|
|
9
|
+
import { d as defineCustomElement$e } from './icon.js';
|
|
10
|
+
import { d as defineCustomElement$d } from './item.js';
|
|
11
|
+
import { d as defineCustomElement$c } from './item-divider.js';
|
|
12
|
+
import { d as defineCustomElement$b } from './item-group.js';
|
|
13
|
+
import { d as defineCustomElement$a } from './label.js';
|
|
14
|
+
import { d as defineCustomElement$9 } from './list.js';
|
|
15
|
+
import { d as defineCustomElement$8 } from './note.js';
|
|
16
|
+
import { d as defineCustomElement$7 } from './ripple-effect.js';
|
|
17
|
+
import { d as defineCustomElement$6 } from './row.js';
|
|
18
|
+
import { d as defineCustomElement$5 } from './skeleton-text.js';
|
|
19
|
+
import { d as defineCustomElement$4 } from './pos-label2.js';
|
|
20
|
+
import { d as defineCustomElement$3 } from './pos-literals2.js';
|
|
21
|
+
import { d as defineCustomElement$2 } from './pos-pdf2.js';
|
|
20
22
|
import { d as defineCustomElement$1 } from './pos-type-badges2.js';
|
|
21
23
|
|
|
22
24
|
const PosAppPdfViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
@@ -37,7 +39,7 @@ const PosAppPdfViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
37
39
|
if (!this.resource) {
|
|
38
40
|
return null;
|
|
39
41
|
}
|
|
40
|
-
return (h("ion-grid", null, h("ion-row", null, h("ion-col", { size: "12", "size-sm": true }, h("
|
|
42
|
+
return (h("ion-grid", null, h("ion-row", null, h("ion-col", { size: "12", "size-sm": true }, h("pos-pdf", { src: this.resource.uri })), h("ion-col", { size: "12", "size-sm": true }, h("ion-card", null, h("ion-card-header", null, h("ion-card-title", null, h("pos-label", null), h("pos-type-badges", null)), h("pos-literals", null)))))));
|
|
41
43
|
}
|
|
42
44
|
}, [1, "pos-app-pdf-viewer", {
|
|
43
45
|
"resource": [32]
|
|
@@ -46,7 +48,7 @@ function defineCustomElement() {
|
|
|
46
48
|
if (typeof customElements === "undefined") {
|
|
47
49
|
return;
|
|
48
50
|
}
|
|
49
|
-
const components = ["pos-app-pdf-viewer", "ion-badge", "ion-card", "ion-card-header", "ion-card-title", "ion-col", "ion-grid", "ion-icon", "ion-item", "ion-item-divider", "ion-item-group", "ion-label", "ion-list", "ion-note", "ion-ripple-effect", "ion-row", "pos-label", "pos-literals", "pos-type-badges"];
|
|
51
|
+
const components = ["pos-app-pdf-viewer", "ion-badge", "ion-card", "ion-card-header", "ion-card-title", "ion-col", "ion-grid", "ion-icon", "ion-item", "ion-item-divider", "ion-item-group", "ion-label", "ion-list", "ion-note", "ion-ripple-effect", "ion-row", "ion-skeleton-text", "pos-label", "pos-literals", "pos-pdf", "pos-type-badges"];
|
|
50
52
|
components.forEach(tagName => { switch (tagName) {
|
|
51
53
|
case "pos-app-pdf-viewer":
|
|
52
54
|
if (!customElements.get(tagName)) {
|
|
@@ -55,85 +57,95 @@ function defineCustomElement() {
|
|
|
55
57
|
break;
|
|
56
58
|
case "ion-badge":
|
|
57
59
|
if (!customElements.get(tagName)) {
|
|
58
|
-
defineCustomElement$
|
|
60
|
+
defineCustomElement$k();
|
|
59
61
|
}
|
|
60
62
|
break;
|
|
61
63
|
case "ion-card":
|
|
62
64
|
if (!customElements.get(tagName)) {
|
|
63
|
-
defineCustomElement$
|
|
65
|
+
defineCustomElement$j();
|
|
64
66
|
}
|
|
65
67
|
break;
|
|
66
68
|
case "ion-card-header":
|
|
67
69
|
if (!customElements.get(tagName)) {
|
|
68
|
-
defineCustomElement$
|
|
70
|
+
defineCustomElement$i();
|
|
69
71
|
}
|
|
70
72
|
break;
|
|
71
73
|
case "ion-card-title":
|
|
72
74
|
if (!customElements.get(tagName)) {
|
|
73
|
-
defineCustomElement$
|
|
75
|
+
defineCustomElement$h();
|
|
74
76
|
}
|
|
75
77
|
break;
|
|
76
78
|
case "ion-col":
|
|
77
79
|
if (!customElements.get(tagName)) {
|
|
78
|
-
defineCustomElement$
|
|
80
|
+
defineCustomElement$g();
|
|
79
81
|
}
|
|
80
82
|
break;
|
|
81
83
|
case "ion-grid":
|
|
82
84
|
if (!customElements.get(tagName)) {
|
|
83
|
-
defineCustomElement$
|
|
85
|
+
defineCustomElement$f();
|
|
84
86
|
}
|
|
85
87
|
break;
|
|
86
88
|
case "ion-icon":
|
|
87
89
|
if (!customElements.get(tagName)) {
|
|
88
|
-
defineCustomElement$
|
|
90
|
+
defineCustomElement$e();
|
|
89
91
|
}
|
|
90
92
|
break;
|
|
91
93
|
case "ion-item":
|
|
92
94
|
if (!customElements.get(tagName)) {
|
|
93
|
-
defineCustomElement$
|
|
95
|
+
defineCustomElement$d();
|
|
94
96
|
}
|
|
95
97
|
break;
|
|
96
98
|
case "ion-item-divider":
|
|
97
99
|
if (!customElements.get(tagName)) {
|
|
98
|
-
defineCustomElement$
|
|
100
|
+
defineCustomElement$c();
|
|
99
101
|
}
|
|
100
102
|
break;
|
|
101
103
|
case "ion-item-group":
|
|
102
104
|
if (!customElements.get(tagName)) {
|
|
103
|
-
defineCustomElement$
|
|
105
|
+
defineCustomElement$b();
|
|
104
106
|
}
|
|
105
107
|
break;
|
|
106
108
|
case "ion-label":
|
|
107
109
|
if (!customElements.get(tagName)) {
|
|
108
|
-
defineCustomElement$
|
|
110
|
+
defineCustomElement$a();
|
|
109
111
|
}
|
|
110
112
|
break;
|
|
111
113
|
case "ion-list":
|
|
112
114
|
if (!customElements.get(tagName)) {
|
|
113
|
-
defineCustomElement$
|
|
115
|
+
defineCustomElement$9();
|
|
114
116
|
}
|
|
115
117
|
break;
|
|
116
118
|
case "ion-note":
|
|
117
119
|
if (!customElements.get(tagName)) {
|
|
118
|
-
defineCustomElement$
|
|
120
|
+
defineCustomElement$8();
|
|
119
121
|
}
|
|
120
122
|
break;
|
|
121
123
|
case "ion-ripple-effect":
|
|
122
124
|
if (!customElements.get(tagName)) {
|
|
123
|
-
defineCustomElement$
|
|
125
|
+
defineCustomElement$7();
|
|
124
126
|
}
|
|
125
127
|
break;
|
|
126
128
|
case "ion-row":
|
|
127
129
|
if (!customElements.get(tagName)) {
|
|
128
|
-
defineCustomElement$
|
|
130
|
+
defineCustomElement$6();
|
|
131
|
+
}
|
|
132
|
+
break;
|
|
133
|
+
case "ion-skeleton-text":
|
|
134
|
+
if (!customElements.get(tagName)) {
|
|
135
|
+
defineCustomElement$5();
|
|
129
136
|
}
|
|
130
137
|
break;
|
|
131
138
|
case "pos-label":
|
|
132
139
|
if (!customElements.get(tagName)) {
|
|
133
|
-
defineCustomElement$
|
|
140
|
+
defineCustomElement$4();
|
|
134
141
|
}
|
|
135
142
|
break;
|
|
136
143
|
case "pos-literals":
|
|
144
|
+
if (!customElements.get(tagName)) {
|
|
145
|
+
defineCustomElement$3();
|
|
146
|
+
}
|
|
147
|
+
break;
|
|
148
|
+
case "pos-pdf":
|
|
137
149
|
if (!customElements.get(tagName)) {
|
|
138
150
|
defineCustomElement$2();
|
|
139
151
|
}
|
|
@@ -1,29 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { B as BrokenFile } from './BrokenFile.js';
|
|
2
3
|
import { s as store } from './session.js';
|
|
3
4
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
4
5
|
import { d as defineCustomElement$1 } from './skeleton-text.js';
|
|
5
6
|
|
|
6
|
-
const BrokenImage = ({ file }) => {
|
|
7
|
-
const iconName = iconForStatus(file.status);
|
|
8
|
-
return (h("div", null,
|
|
9
|
-
h("a", { class: "error", href: file.url },
|
|
10
|
-
h("div", null,
|
|
11
|
-
h("ion-icon", { name: iconName })),
|
|
12
|
-
h("div", { class: "code" }, file.status.code),
|
|
13
|
-
h("div", { class: "text" }, file.status.text))));
|
|
14
|
-
};
|
|
15
|
-
function iconForStatus(status) {
|
|
16
|
-
switch (status.code) {
|
|
17
|
-
case 401:
|
|
18
|
-
case 403:
|
|
19
|
-
return 'lock-closed-outline';
|
|
20
|
-
case 404:
|
|
21
|
-
return 'help-circle-outline';
|
|
22
|
-
default:
|
|
23
|
-
return 'alert-circle-outline';
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
7
|
const posImageCss = ":host{}img,ion-skeleton-text,div.error{border-radius:var(--border-radius);width:var(--width);height:var(--height);max-width:var(--max-width);max-height:var(--max-height)}.error{display:flex;opacity:0.8;background:repeating-linear-gradient( -45deg, rgba(150, 0, 0, 0.1), rgba(150, 0, 0, 0.1) 10px, #fff 5px, #fff 25px );flex-direction:column;border:1px solid red;color:black;align-items:center;justify-content:center;word-break:break-all;padding:1rem;box-sizing:border-box}.error ion-icon{color:#282828;--ionicon-stroke-width:calc(var(--width) / 5);font-size:calc(var(--width) / 2)}a{text-decoration:none;width:var(--width);height:var(--height)}.code{font-weight:bold;font-size:calc(var(--width) / 8)}.text{font-size:calc(var(--width) / 20)}";
|
|
28
8
|
|
|
29
9
|
const PosImage = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
@@ -74,7 +54,7 @@ const PosImage = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
74
54
|
return h("div", { class: "error" }, this.error.message);
|
|
75
55
|
}
|
|
76
56
|
if (this.brokenFile) {
|
|
77
|
-
return h(
|
|
57
|
+
return h(BrokenFile, { file: this.brokenFile });
|
|
78
58
|
}
|
|
79
59
|
return h("img", { src: this.dataUri, alt: this.alt });
|
|
80
60
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface PosPdf extends Components.PosPdf, HTMLElement {}
|
|
4
|
+
export const PosPdf: {
|
|
5
|
+
prototype: PosPdf;
|
|
6
|
+
new (): PosPdf;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { s as store } from './session.js';
|
|
3
|
+
import { B as BrokenFile } from './BrokenFile.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
5
|
+
import { d as defineCustomElement$1 } from './skeleton-text.js';
|
|
6
|
+
|
|
7
|
+
const posPdfCss = ":host{}iframe{width:100%;height:100vh}ion-skeleton-text,div.error{border-radius:var(--border-radius);width:var(--width);height:var(--height);max-width:var(--max-width);max-height:var(--max-height)}.error{display:flex;opacity:0.8;background:repeating-linear-gradient( -45deg, rgba(150, 0, 0, 0.1), rgba(150, 0, 0, 0.1) 10px, #fff 5px, #fff 25px );flex-direction:column;border:1px solid red;color:black;align-items:center;justify-content:center;word-break:break-all;padding:1rem;box-sizing:border-box}.error ion-icon{color:#282828;--ionicon-stroke-width:calc(var(--width) / 5);font-size:calc(var(--width) / 2)}a{text-decoration:none;width:var(--width);height:var(--height)}.code{font-weight:bold;font-size:calc(var(--width) / 8)}.text{font-size:calc(var(--width) / 20)}";
|
|
8
|
+
|
|
9
|
+
const PosPdf = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
this.__registerHost();
|
|
13
|
+
this.__attachShadow();
|
|
14
|
+
this.initializeOsEmitter = createEvent(this, "pod-os:init", 7);
|
|
15
|
+
this.setOs = async (os) => {
|
|
16
|
+
this.os = os;
|
|
17
|
+
};
|
|
18
|
+
this.src = undefined;
|
|
19
|
+
this.alt = undefined;
|
|
20
|
+
this.os = undefined;
|
|
21
|
+
this.dataUri = undefined;
|
|
22
|
+
this.brokenFile = undefined;
|
|
23
|
+
this.error = undefined;
|
|
24
|
+
this.loading = true;
|
|
25
|
+
}
|
|
26
|
+
componentWillLoad() {
|
|
27
|
+
store.onChange('isLoggedIn', () => this.fetchBlob());
|
|
28
|
+
this.initializeOsEmitter.emit(this.setOs);
|
|
29
|
+
}
|
|
30
|
+
async fetchBlob() {
|
|
31
|
+
try {
|
|
32
|
+
this.loading = true;
|
|
33
|
+
const file = await this.os.fetchFile(this.src);
|
|
34
|
+
if (file.blob()) {
|
|
35
|
+
this.dataUri = URL.createObjectURL(file.blob());
|
|
36
|
+
this.error = null;
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
this.brokenFile = file;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
catch (err) {
|
|
43
|
+
this.error = err;
|
|
44
|
+
}
|
|
45
|
+
finally {
|
|
46
|
+
this.loading = false;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
render() {
|
|
50
|
+
if (this.loading) {
|
|
51
|
+
return h("ion-skeleton-text", { animated: true });
|
|
52
|
+
}
|
|
53
|
+
if (this.error) {
|
|
54
|
+
return h("div", { class: "error" }, this.error.message);
|
|
55
|
+
}
|
|
56
|
+
if (this.brokenFile) {
|
|
57
|
+
return h(BrokenFile, { file: this.brokenFile });
|
|
58
|
+
}
|
|
59
|
+
return h("iframe", { src: this.dataUri });
|
|
60
|
+
}
|
|
61
|
+
static get watchers() { return {
|
|
62
|
+
"os": ["fetchBlob"],
|
|
63
|
+
"src": ["fetchBlob"]
|
|
64
|
+
}; }
|
|
65
|
+
static get style() { return posPdfCss; }
|
|
66
|
+
}, [1, "pos-pdf", {
|
|
67
|
+
"src": [1],
|
|
68
|
+
"alt": [1],
|
|
69
|
+
"os": [32],
|
|
70
|
+
"dataUri": [32],
|
|
71
|
+
"brokenFile": [32],
|
|
72
|
+
"error": [32],
|
|
73
|
+
"loading": [32]
|
|
74
|
+
}]);
|
|
75
|
+
function defineCustomElement() {
|
|
76
|
+
if (typeof customElements === "undefined") {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
const components = ["pos-pdf", "ion-icon", "ion-skeleton-text"];
|
|
80
|
+
components.forEach(tagName => { switch (tagName) {
|
|
81
|
+
case "pos-pdf":
|
|
82
|
+
if (!customElements.get(tagName)) {
|
|
83
|
+
customElements.define(tagName, PosPdf);
|
|
84
|
+
}
|
|
85
|
+
break;
|
|
86
|
+
case "ion-icon":
|
|
87
|
+
if (!customElements.get(tagName)) {
|
|
88
|
+
defineCustomElement$2();
|
|
89
|
+
}
|
|
90
|
+
break;
|
|
91
|
+
case "ion-skeleton-text":
|
|
92
|
+
if (!customElements.get(tagName)) {
|
|
93
|
+
defineCustomElement$1();
|
|
94
|
+
}
|
|
95
|
+
break;
|
|
96
|
+
} });
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export { PosPdf as P, defineCustomElement as d };
|
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
import { getRenderingRef, forceUpdate, Build, proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$
|
|
3
|
-
import { d as defineCustomElement$
|
|
4
|
-
import { d as defineCustomElement$
|
|
5
|
-
import { d as defineCustomElement$
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$
|
|
28
|
-
import { d as defineCustomElement$
|
|
29
|
-
import { d as defineCustomElement$
|
|
2
|
+
import { d as defineCustomElement$B } from './badge.js';
|
|
3
|
+
import { d as defineCustomElement$A } from './card.js';
|
|
4
|
+
import { d as defineCustomElement$z } from './card-content.js';
|
|
5
|
+
import { d as defineCustomElement$y } from './card-header.js';
|
|
6
|
+
import { d as defineCustomElement$x } from './card-title.js';
|
|
7
|
+
import { d as defineCustomElement$w } from './col.js';
|
|
8
|
+
import { d as defineCustomElement$v } from './grid.js';
|
|
9
|
+
import { d as defineCustomElement$u } from './icon.js';
|
|
10
|
+
import { d as defineCustomElement$t } from './item.js';
|
|
11
|
+
import { d as defineCustomElement$s } from './item-divider.js';
|
|
12
|
+
import { d as defineCustomElement$r } from './item-group.js';
|
|
13
|
+
import { d as defineCustomElement$q } from './label.js';
|
|
14
|
+
import { d as defineCustomElement$p } from './list.js';
|
|
15
|
+
import { d as defineCustomElement$o } from './note.js';
|
|
16
|
+
import { d as defineCustomElement$n } from './progress-bar.js';
|
|
17
|
+
import { d as defineCustomElement$m } from './ripple-effect.js';
|
|
18
|
+
import { d as defineCustomElement$l } from './row.js';
|
|
19
|
+
import { d as defineCustomElement$k } from './searchbar.js';
|
|
20
|
+
import { d as defineCustomElement$j } from './skeleton-text.js';
|
|
21
|
+
import { d as defineCustomElement$i } from './pos-app-generic2.js';
|
|
22
|
+
import { d as defineCustomElement$h } from './pos-app-image-viewer2.js';
|
|
23
|
+
import { d as defineCustomElement$g } from './pos-app-pdf-viewer2.js';
|
|
24
|
+
import { d as defineCustomElement$f } from './pos-app-rdf-document2.js';
|
|
25
|
+
import { d as defineCustomElement$e } from './pos-description2.js';
|
|
26
|
+
import { d as defineCustomElement$d } from './pos-image2.js';
|
|
27
|
+
import { d as defineCustomElement$c } from './pos-label2.js';
|
|
28
|
+
import { d as defineCustomElement$b } from './pos-literals2.js';
|
|
29
|
+
import { d as defineCustomElement$a } from './pos-navigation-bar2.js';
|
|
30
|
+
import { d as defineCustomElement$9 } from './pos-pdf2.js';
|
|
30
31
|
import { d as defineCustomElement$8 } from './pos-picture2.js';
|
|
31
32
|
import { d as defineCustomElement$7 } from './pos-relations2.js';
|
|
32
33
|
import { d as defineCustomElement$6 } from './pos-resource2.js';
|
|
@@ -626,7 +627,7 @@ function defineCustomElement() {
|
|
|
626
627
|
if (typeof customElements === "undefined") {
|
|
627
628
|
return;
|
|
628
629
|
}
|
|
629
|
-
const components = ["pos-router", "ion-badge", "ion-card", "ion-card-content", "ion-card-header", "ion-card-title", "ion-col", "ion-grid", "ion-icon", "ion-item", "ion-item-divider", "ion-item-group", "ion-label", "ion-list", "ion-note", "ion-progress-bar", "ion-ripple-effect", "ion-row", "ion-searchbar", "ion-skeleton-text", "pos-app-generic", "pos-app-image-viewer", "pos-app-pdf-viewer", "pos-app-rdf-document", "pos-description", "pos-image", "pos-label", "pos-literals", "pos-navigation-bar", "pos-picture", "pos-relations", "pos-resource", "pos-reverse-relations", "pos-rich-link", "pos-subjects", "pos-type-badges", "pos-type-router"];
|
|
630
|
+
const components = ["pos-router", "ion-badge", "ion-card", "ion-card-content", "ion-card-header", "ion-card-title", "ion-col", "ion-grid", "ion-icon", "ion-item", "ion-item-divider", "ion-item-group", "ion-label", "ion-list", "ion-note", "ion-progress-bar", "ion-ripple-effect", "ion-row", "ion-searchbar", "ion-skeleton-text", "pos-app-generic", "pos-app-image-viewer", "pos-app-pdf-viewer", "pos-app-rdf-document", "pos-description", "pos-image", "pos-label", "pos-literals", "pos-navigation-bar", "pos-pdf", "pos-picture", "pos-relations", "pos-resource", "pos-reverse-relations", "pos-rich-link", "pos-subjects", "pos-type-badges", "pos-type-router"];
|
|
630
631
|
components.forEach(tagName => { switch (tagName) {
|
|
631
632
|
case "pos-router":
|
|
632
633
|
if (!customElements.get(tagName)) {
|
|
@@ -635,140 +636,145 @@ function defineCustomElement() {
|
|
|
635
636
|
break;
|
|
636
637
|
case "ion-badge":
|
|
637
638
|
if (!customElements.get(tagName)) {
|
|
638
|
-
defineCustomElement$
|
|
639
|
+
defineCustomElement$B();
|
|
639
640
|
}
|
|
640
641
|
break;
|
|
641
642
|
case "ion-card":
|
|
642
643
|
if (!customElements.get(tagName)) {
|
|
643
|
-
defineCustomElement$
|
|
644
|
+
defineCustomElement$A();
|
|
644
645
|
}
|
|
645
646
|
break;
|
|
646
647
|
case "ion-card-content":
|
|
647
648
|
if (!customElements.get(tagName)) {
|
|
648
|
-
defineCustomElement$
|
|
649
|
+
defineCustomElement$z();
|
|
649
650
|
}
|
|
650
651
|
break;
|
|
651
652
|
case "ion-card-header":
|
|
652
653
|
if (!customElements.get(tagName)) {
|
|
653
|
-
defineCustomElement$
|
|
654
|
+
defineCustomElement$y();
|
|
654
655
|
}
|
|
655
656
|
break;
|
|
656
657
|
case "ion-card-title":
|
|
657
658
|
if (!customElements.get(tagName)) {
|
|
658
|
-
defineCustomElement$
|
|
659
|
+
defineCustomElement$x();
|
|
659
660
|
}
|
|
660
661
|
break;
|
|
661
662
|
case "ion-col":
|
|
662
663
|
if (!customElements.get(tagName)) {
|
|
663
|
-
defineCustomElement$
|
|
664
|
+
defineCustomElement$w();
|
|
664
665
|
}
|
|
665
666
|
break;
|
|
666
667
|
case "ion-grid":
|
|
667
668
|
if (!customElements.get(tagName)) {
|
|
668
|
-
defineCustomElement$
|
|
669
|
+
defineCustomElement$v();
|
|
669
670
|
}
|
|
670
671
|
break;
|
|
671
672
|
case "ion-icon":
|
|
672
673
|
if (!customElements.get(tagName)) {
|
|
673
|
-
defineCustomElement$
|
|
674
|
+
defineCustomElement$u();
|
|
674
675
|
}
|
|
675
676
|
break;
|
|
676
677
|
case "ion-item":
|
|
677
678
|
if (!customElements.get(tagName)) {
|
|
678
|
-
defineCustomElement$
|
|
679
|
+
defineCustomElement$t();
|
|
679
680
|
}
|
|
680
681
|
break;
|
|
681
682
|
case "ion-item-divider":
|
|
682
683
|
if (!customElements.get(tagName)) {
|
|
683
|
-
defineCustomElement$
|
|
684
|
+
defineCustomElement$s();
|
|
684
685
|
}
|
|
685
686
|
break;
|
|
686
687
|
case "ion-item-group":
|
|
687
688
|
if (!customElements.get(tagName)) {
|
|
688
|
-
defineCustomElement$
|
|
689
|
+
defineCustomElement$r();
|
|
689
690
|
}
|
|
690
691
|
break;
|
|
691
692
|
case "ion-label":
|
|
692
693
|
if (!customElements.get(tagName)) {
|
|
693
|
-
defineCustomElement$
|
|
694
|
+
defineCustomElement$q();
|
|
694
695
|
}
|
|
695
696
|
break;
|
|
696
697
|
case "ion-list":
|
|
697
698
|
if (!customElements.get(tagName)) {
|
|
698
|
-
defineCustomElement$
|
|
699
|
+
defineCustomElement$p();
|
|
699
700
|
}
|
|
700
701
|
break;
|
|
701
702
|
case "ion-note":
|
|
702
703
|
if (!customElements.get(tagName)) {
|
|
703
|
-
defineCustomElement$
|
|
704
|
+
defineCustomElement$o();
|
|
704
705
|
}
|
|
705
706
|
break;
|
|
706
707
|
case "ion-progress-bar":
|
|
707
708
|
if (!customElements.get(tagName)) {
|
|
708
|
-
defineCustomElement$
|
|
709
|
+
defineCustomElement$n();
|
|
709
710
|
}
|
|
710
711
|
break;
|
|
711
712
|
case "ion-ripple-effect":
|
|
712
713
|
if (!customElements.get(tagName)) {
|
|
713
|
-
defineCustomElement$
|
|
714
|
+
defineCustomElement$m();
|
|
714
715
|
}
|
|
715
716
|
break;
|
|
716
717
|
case "ion-row":
|
|
717
718
|
if (!customElements.get(tagName)) {
|
|
718
|
-
defineCustomElement$
|
|
719
|
+
defineCustomElement$l();
|
|
719
720
|
}
|
|
720
721
|
break;
|
|
721
722
|
case "ion-searchbar":
|
|
722
723
|
if (!customElements.get(tagName)) {
|
|
723
|
-
defineCustomElement$
|
|
724
|
+
defineCustomElement$k();
|
|
724
725
|
}
|
|
725
726
|
break;
|
|
726
727
|
case "ion-skeleton-text":
|
|
727
728
|
if (!customElements.get(tagName)) {
|
|
728
|
-
defineCustomElement$
|
|
729
|
+
defineCustomElement$j();
|
|
729
730
|
}
|
|
730
731
|
break;
|
|
731
732
|
case "pos-app-generic":
|
|
732
733
|
if (!customElements.get(tagName)) {
|
|
733
|
-
defineCustomElement$
|
|
734
|
+
defineCustomElement$i();
|
|
734
735
|
}
|
|
735
736
|
break;
|
|
736
737
|
case "pos-app-image-viewer":
|
|
737
738
|
if (!customElements.get(tagName)) {
|
|
738
|
-
defineCustomElement$
|
|
739
|
+
defineCustomElement$h();
|
|
739
740
|
}
|
|
740
741
|
break;
|
|
741
742
|
case "pos-app-pdf-viewer":
|
|
742
743
|
if (!customElements.get(tagName)) {
|
|
743
|
-
defineCustomElement$
|
|
744
|
+
defineCustomElement$g();
|
|
744
745
|
}
|
|
745
746
|
break;
|
|
746
747
|
case "pos-app-rdf-document":
|
|
747
748
|
if (!customElements.get(tagName)) {
|
|
748
|
-
defineCustomElement$
|
|
749
|
+
defineCustomElement$f();
|
|
749
750
|
}
|
|
750
751
|
break;
|
|
751
752
|
case "pos-description":
|
|
752
753
|
if (!customElements.get(tagName)) {
|
|
753
|
-
defineCustomElement$
|
|
754
|
+
defineCustomElement$e();
|
|
754
755
|
}
|
|
755
756
|
break;
|
|
756
757
|
case "pos-image":
|
|
757
758
|
if (!customElements.get(tagName)) {
|
|
758
|
-
defineCustomElement$
|
|
759
|
+
defineCustomElement$d();
|
|
759
760
|
}
|
|
760
761
|
break;
|
|
761
762
|
case "pos-label":
|
|
762
763
|
if (!customElements.get(tagName)) {
|
|
763
|
-
defineCustomElement$
|
|
764
|
+
defineCustomElement$c();
|
|
764
765
|
}
|
|
765
766
|
break;
|
|
766
767
|
case "pos-literals":
|
|
767
768
|
if (!customElements.get(tagName)) {
|
|
768
|
-
defineCustomElement$
|
|
769
|
+
defineCustomElement$b();
|
|
769
770
|
}
|
|
770
771
|
break;
|
|
771
772
|
case "pos-navigation-bar":
|
|
773
|
+
if (!customElements.get(tagName)) {
|
|
774
|
+
defineCustomElement$a();
|
|
775
|
+
}
|
|
776
|
+
break;
|
|
777
|
+
case "pos-pdf":
|
|
772
778
|
if (!customElements.get(tagName)) {
|
|
773
779
|
defineCustomElement$9();
|
|
774
780
|
}
|