@mittwald/flow-remote-react-renderer 0.2.0-alpha.29 → 0.2.0-alpha.30
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/RemoteRenderer.js
CHANGED
|
@@ -8,7 +8,7 @@ const u = () => {
|
|
|
8
8
|
return r(() => {
|
|
9
9
|
t(!0);
|
|
10
10
|
}, []), e;
|
|
11
|
-
}, c = s.lazy(() => import("./RemoteRendererClient-
|
|
11
|
+
}, c = s.lazy(() => import("./RemoteRendererClient-DreBOmVJ.js")), l = (e) => u() ? /* @__PURE__ */ o(c, { ...e }) : null;
|
|
12
12
|
export {
|
|
13
13
|
l as RemoteRenderer,
|
|
14
14
|
l as default
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
"use client";
|
|
4
|
+
import { jsx as c, jsxs as u, Fragment as b } from "react/jsx-runtime";
|
|
5
|
+
import { createRemoteComponentRenderer as a, RemoteReceiver as C, RemoteRootRenderer as h } from "@remote-dom/react/host";
|
|
6
|
+
import { forwardRef as x, createElement as v, useMemo as d } from "react";
|
|
7
|
+
import { isFunction as y, mapValues as T, toCamelCase as S, mapKeys as F, reduce as R } from "remeda";
|
|
8
|
+
import { mapEventHandler as w, connectRemoteIframeRef as k } from "@mittwald/flow-remote-core";
|
|
9
|
+
import L from "clsx";
|
|
10
|
+
import { TooltipTrigger as B, Tooltip as P, TimeField as M, TextField as A, TextArea as I, Text as D, Tabs as H, TableRow as N, TableHeader as E, TableFooterRow as G, TableColumn as O, TableCell as j, TableBody as V, Table as W, TabTitle as K, Tab as Z, Switch as $, Slider as q, SkeletonText as z, Skeleton as J, Separator as Q, Select as U, SegmentedControl as X, Segment as Y, Section as _, SearchField as ee, RadioGroup as te, RadioButton as re, Radio as oe, ProgressBar as ne, PopoverContent as le, OverlayContent as ie, Option as ae, NumberField as fe, NotificationProvider as se, Notification as ce, NavigationGroup as me, Navigation as de, Message as ge, MenuTrigger as pe, MenuItem as ue, Markdown as be, LoadingSpinner as Ce, ListSummary as he, ListItemViewContent as xe, EmptyView as ve, Link as ye, LightBoxTrigger as Te, LightBox as Se, LayoutCard as Fe, LabeledValue as Re, Label as we, GridListItem as ke, GridList as Le, InlineCode as Be, Initials as Pe, Image as Me, IllustratedMessage as Ae, Icon as Ie, Heading as De, HeaderNavigation as He, Header as Ne, Fragment as Ee, FileField as Ge, FileCardList as Oe, FileCard as je, FieldError as Ve, FieldDescription as We, Div as Ke, DialogTrigger as Ze, DateRangePicker as $e, DatePicker as qe, CountryOptions as ze, CounterBadge as Je, CopyButton as Qe, ContextualHelpTrigger as Ue, ContextualHelp as Xe, ContextMenuSection as Ye, ContextMenuContent as _e, Content as et, ColumnLayout as tt, CodeBlock as rt, CheckboxGroup as ot, CheckboxButton as nt, Checkbox as lt, Button as it, Breadcrumb as at, Badge as ft, Avatar as st, Align as ct, AlertIcon as mt, AlertBadge as dt, Alert as gt, ActionGroup as pt, Accordion as ut } from "@mittwald/flow-react-components";
|
|
11
|
+
const g = (t) => Object.fromEntries(Array.from(t.entries())), bt = x((t, r) => {
|
|
12
|
+
const {
|
|
13
|
+
action: o,
|
|
14
|
+
onSubmit: n,
|
|
15
|
+
...l
|
|
16
|
+
} = t;
|
|
17
|
+
return /* @__PURE__ */ c("form", { ref: r, ...l, action: typeof o == "function" ? (i) => o(g(i)) : o, onSubmit: n ? (i) => {
|
|
18
|
+
i.preventDefault(), n(g(new FormData(i.currentTarget)));
|
|
19
|
+
} : void 0 });
|
|
20
|
+
}), Ct = /on[A-Z].*/, ht = (t, r) => !!t.match(Ct) && y(r), xt = (t) => t === "style", vt = (t) => t === "display: none !important;", yt = (t, r) => ht(r, t) ? w(t, r) : xt(r) ? vt(t) ? {
|
|
21
|
+
display: "none"
|
|
22
|
+
} : {} : t, e = (t) => {
|
|
23
|
+
function r(o) {
|
|
24
|
+
const n = T(
|
|
25
|
+
o,
|
|
26
|
+
(l, s) => yt(l, s)
|
|
27
|
+
);
|
|
28
|
+
return /* @__PURE__ */ c(t, { ...n });
|
|
29
|
+
}
|
|
30
|
+
return a(r);
|
|
31
|
+
}, Tt = ["aria-", "data-"], St = (t) => Tt.some((r) => t.startsWith(r)) ? t : S(t), f = (t) => (r) => {
|
|
32
|
+
const o = { ...r };
|
|
33
|
+
return o.className = L(
|
|
34
|
+
String(o.className),
|
|
35
|
+
String(o.class)
|
|
36
|
+
), delete o.class, v(t, F(o, St));
|
|
37
|
+
}, Ft = {
|
|
38
|
+
"flr-accordion": e(ut),
|
|
39
|
+
"flr-action-group": e(pt),
|
|
40
|
+
"flr-alert": e(gt),
|
|
41
|
+
"flr-alert-badge": e(dt),
|
|
42
|
+
"flr-alert-icon": e(mt),
|
|
43
|
+
"flr-align": e(ct),
|
|
44
|
+
"flr-avatar": e(st),
|
|
45
|
+
"flr-badge": e(ft),
|
|
46
|
+
"flr-breadcrumb": e(at),
|
|
47
|
+
"flr-button": e(it),
|
|
48
|
+
"flr-checkbox": e(lt),
|
|
49
|
+
"flr-checkbox-button": e(nt),
|
|
50
|
+
"flr-checkbox-group": e(ot),
|
|
51
|
+
"flr-code-block": e(rt),
|
|
52
|
+
"flr-column-layout": e(tt),
|
|
53
|
+
"flr-content": e(et),
|
|
54
|
+
"flr-context-menu-content": e(_e),
|
|
55
|
+
"flr-context-menu-section": e(Ye),
|
|
56
|
+
"flr-contextual-help": e(Xe),
|
|
57
|
+
"flr-contextual-help-trigger": e(
|
|
58
|
+
Ue
|
|
59
|
+
),
|
|
60
|
+
"flr-copy-button": e(Qe),
|
|
61
|
+
"flr-counter-badge": e(Je),
|
|
62
|
+
"flr-country-options": e(ze),
|
|
63
|
+
"flr-date-picker": e(qe),
|
|
64
|
+
"flr-date-range-picker": e($e),
|
|
65
|
+
"flr-dialog-trigger": e(Ze),
|
|
66
|
+
"flr-div": e(Ke),
|
|
67
|
+
"flr-field-description": e(We),
|
|
68
|
+
"flr-field-error": e(Ve),
|
|
69
|
+
"flr-file-card": e(je),
|
|
70
|
+
"flr-file-card-list": e(Oe),
|
|
71
|
+
"flr-file-field": e(Ge),
|
|
72
|
+
"flr-fragment": e(Ee),
|
|
73
|
+
"flr-header": e(Ne),
|
|
74
|
+
"flr-header-navigation": e(He),
|
|
75
|
+
"flr-heading": e(De),
|
|
76
|
+
"flr-icon": e(Ie),
|
|
77
|
+
"flr-illustrated-message": e(Ae),
|
|
78
|
+
"flr-image": e(Me),
|
|
79
|
+
"flr-initials": e(Pe),
|
|
80
|
+
"flr-inline-code": e(Be),
|
|
81
|
+
"flr-items-grid-list": e(Le),
|
|
82
|
+
"flr-items-grid-list-item": e(ke),
|
|
83
|
+
"flr-label": e(we),
|
|
84
|
+
"flr-labeled-value": e(Re),
|
|
85
|
+
"flr-layout-card": e(Fe),
|
|
86
|
+
"flr-light-box": e(Se),
|
|
87
|
+
"flr-light-box-trigger": e(Te),
|
|
88
|
+
"flr-link": e(ye),
|
|
89
|
+
"flr-list-empty-view": e(ve),
|
|
90
|
+
"flr-list-item-view-content": e(xe),
|
|
91
|
+
"flr-list-summary": e(he),
|
|
92
|
+
"flr-loading-spinner": e(Ce),
|
|
93
|
+
"flr-markdown": e(be),
|
|
94
|
+
"flr-menu-item": e(ue),
|
|
95
|
+
"flr-menu-trigger": e(pe),
|
|
96
|
+
"flr-message": e(ge),
|
|
97
|
+
"flr-navigation": e(de),
|
|
98
|
+
"flr-navigation-group": e(me),
|
|
99
|
+
"flr-notification": e(ce),
|
|
100
|
+
"flr-notification-provider": e(se),
|
|
101
|
+
"flr-number-field": e(fe),
|
|
102
|
+
"flr-option": e(ae),
|
|
103
|
+
"flr-overlay-content": e(ie),
|
|
104
|
+
"flr-popover-content": e(le),
|
|
105
|
+
"flr-progress-bar": e(ne),
|
|
106
|
+
"flr-radio": e(oe),
|
|
107
|
+
"flr-radio-button": e(re),
|
|
108
|
+
"flr-radio-group": e(te),
|
|
109
|
+
"flr-search-field": e(ee),
|
|
110
|
+
"flr-section": e(_),
|
|
111
|
+
"flr-segment": e(Y),
|
|
112
|
+
"flr-segmented-control": e(X),
|
|
113
|
+
"flr-select": e(U),
|
|
114
|
+
"flr-separator": e(Q),
|
|
115
|
+
"flr-skeleton": e(J),
|
|
116
|
+
"flr-skeleton-text": e(z),
|
|
117
|
+
"flr-slider": e(q),
|
|
118
|
+
"flr-switch": e($),
|
|
119
|
+
"flr-tab": e(Z),
|
|
120
|
+
"flr-tab-title": e(K),
|
|
121
|
+
"flr-table": e(W),
|
|
122
|
+
"flr-table-body": e(V),
|
|
123
|
+
"flr-table-cell": e(j),
|
|
124
|
+
"flr-table-column": e(O),
|
|
125
|
+
"flr-table-footer-row": e(G),
|
|
126
|
+
"flr-table-header": e(E),
|
|
127
|
+
"flr-table-row": e(N),
|
|
128
|
+
"flr-tabs": e(H),
|
|
129
|
+
"flr-text": e(D),
|
|
130
|
+
"flr-text-area": e(I),
|
|
131
|
+
"flr-text-field": e(A),
|
|
132
|
+
"flr-time-field": e(M),
|
|
133
|
+
"flr-tooltip": e(P),
|
|
134
|
+
"flr-tooltip-trigger": e(B)
|
|
135
|
+
}, Rt = {
|
|
136
|
+
svg: a(f("svg")),
|
|
137
|
+
circle: a(f("circle")),
|
|
138
|
+
g: a(f("g")),
|
|
139
|
+
path: a(f("path")),
|
|
140
|
+
strong: a(f("strong"))
|
|
141
|
+
}, wt = {
|
|
142
|
+
"flr-form": e(bt)
|
|
143
|
+
}, kt = {
|
|
144
|
+
...Rt,
|
|
145
|
+
...wt,
|
|
146
|
+
...Ft
|
|
147
|
+
}, Ht = (t) => {
|
|
148
|
+
const { integrations: r = [], src: o, iframeStyle: n } = t, l = d(() => new C(), []), s = d(() => new Map(
|
|
149
|
+
Object.entries(
|
|
150
|
+
R(
|
|
151
|
+
[...r, kt],
|
|
152
|
+
(i, p) => ({
|
|
153
|
+
...i,
|
|
154
|
+
...p
|
|
155
|
+
}),
|
|
156
|
+
{}
|
|
157
|
+
)
|
|
158
|
+
)
|
|
159
|
+
), [...r]), m = /* @__PURE__ */ c(
|
|
160
|
+
"iframe",
|
|
161
|
+
{
|
|
162
|
+
ref: k(l.connection),
|
|
163
|
+
src: o,
|
|
164
|
+
style: n ?? {
|
|
165
|
+
visibility: "hidden",
|
|
166
|
+
height: 0,
|
|
167
|
+
width: 0,
|
|
168
|
+
border: "none",
|
|
169
|
+
position: "absolute",
|
|
170
|
+
marginLeft: "-9999px"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
);
|
|
174
|
+
return /* @__PURE__ */ u(b, { children: [
|
|
175
|
+
/* @__PURE__ */ c(h, { components: s, receiver: l }),
|
|
176
|
+
m
|
|
177
|
+
] });
|
|
178
|
+
};
|
|
179
|
+
export {
|
|
180
|
+
Ht as RemoteRendererClient,
|
|
181
|
+
Ht as default
|
|
182
|
+
};
|
|
@@ -99,5 +99,6 @@ export declare const components: {
|
|
|
99
99
|
circle: import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
|
|
100
100
|
g: import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
|
|
101
101
|
path: import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
|
|
102
|
+
strong: import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
|
|
102
103
|
};
|
|
103
104
|
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/components.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/components.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-remote-react-renderer",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React rendering for Flow Remote Elements",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"test:compile": "tsc --noEmit"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@mittwald/flow-remote-core": "0.2.0-alpha.
|
|
32
|
-
"@mittwald/flow-remote-elements": "0.2.0-alpha.
|
|
31
|
+
"@mittwald/flow-remote-core": "0.2.0-alpha.30",
|
|
32
|
+
"@mittwald/flow-remote-elements": "0.2.0-alpha.30",
|
|
33
33
|
"@remote-dom/react": "^1.2.1",
|
|
34
34
|
"@types/react": "^19.0.8",
|
|
35
35
|
"clsx": "^2.1.1",
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
"remeda": "^2.20.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@mittwald/flow-react-components": "0.2.0-alpha.
|
|
40
|
+
"@mittwald/flow-react-components": "0.2.0-alpha.30",
|
|
41
41
|
"@mittwald/typescript-config": "",
|
|
42
42
|
"@types/node": "^22.13.1",
|
|
43
|
-
"nx": "^20.4.
|
|
44
|
-
"prettier": "^3.
|
|
43
|
+
"nx": "^20.4.2",
|
|
44
|
+
"prettier": "^3.5.0",
|
|
45
45
|
"react": "^19.0.0",
|
|
46
46
|
"react-dom": "^19.0.0",
|
|
47
47
|
"react-hook-form": "^7.54.2",
|
|
48
48
|
"rimraf": "^6.0.1",
|
|
49
49
|
"rollup-preserve-directives": "^1.1.3",
|
|
50
50
|
"typescript": "^5.7.3",
|
|
51
|
-
"vite": "^6.0
|
|
51
|
+
"vite": "^6.1.0",
|
|
52
52
|
"vite-plugin-banner": "^0.8.0",
|
|
53
53
|
"vite-plugin-checker": "^0.8.0",
|
|
54
54
|
"vite-plugin-dts": "^4.5.0",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"@mittwald/flow-react-components": "*",
|
|
59
|
-
"react": "19",
|
|
60
|
-
"react-dom": "19",
|
|
59
|
+
"react": "^19",
|
|
60
|
+
"react-dom": "^19",
|
|
61
61
|
"react-hook-form": "*"
|
|
62
62
|
},
|
|
63
63
|
"peerDependenciesMeta": {
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"optional": true
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "c2d7f40e626d4c0a22617e568036e6d78e7a9358"
|
|
69
69
|
}
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
"use client"
|
|
2
|
-
/* */
|
|
3
|
-
"use client";
|
|
4
|
-
import { jsx as s, jsxs as g, Fragment as b } from "react/jsx-runtime";
|
|
5
|
-
import { createRemoteComponentRenderer as a, RemoteReceiver as C, RemoteRootRenderer as h } from "@remote-dom/react/host";
|
|
6
|
-
import { forwardRef as x, createElement as v, useMemo as d } from "react";
|
|
7
|
-
import { isFunction as y, mapValues as T, toCamelCase as S, mapKeys as F, reduce as R } from "remeda";
|
|
8
|
-
import { mapEventHandler as w, connectRemoteIframeRef as k } from "@mittwald/flow-remote-core";
|
|
9
|
-
import L from "clsx";
|
|
10
|
-
import { Accordion as B, ActionGroup as P, Alert as M, AlertBadge as A, AlertIcon as I, Align as D, Avatar as H, Badge as N, Breadcrumb as E, Button as G, Checkbox as O, CheckboxButton as j, CheckboxGroup as V, CodeBlock as W, ColumnLayout as K, Content as Z, ContextMenuContent as $, ContextMenuSection as q, ContextualHelp as z, ContextualHelpTrigger as J, CopyButton as Q, CounterBadge as U, CountryOptions as X, DatePicker as Y, DateRangePicker as _, DialogTrigger as ee, Div as te, FieldDescription as re, FieldError as oe, FileCard as ne, FileCardList as le, FileField as ie, Fragment as ae, Header as fe, HeaderNavigation as ce, Heading as se, Icon as me, IllustratedMessage as de, Image as pe, Initials as ue, InlineCode as ge, GridList as be, GridListItem as Ce, Label as he, LabeledValue as xe, LayoutCard as ve, LightBox as ye, LightBoxTrigger as Te, Link as Se, EmptyView as Fe, ListItemViewContent as Re, ListSummary as we, LoadingSpinner as ke, Markdown as Le, MenuItem as Be, MenuTrigger as Pe, Message as Me, Navigation as Ae, NavigationGroup as Ie, Notification as De, NotificationProvider as He, NumberField as Ne, Option as Ee, OverlayContent as Ge, PopoverContent as Oe, ProgressBar as je, Radio as Ve, RadioButton as We, RadioGroup as Ke, SearchField as Ze, Section as $e, Segment as qe, SegmentedControl as ze, Select as Je, Separator as Qe, Skeleton as Ue, SkeletonText as Xe, Slider as Ye, Switch as _e, Tab as et, TabTitle as tt, Table as rt, TableBody as ot, TableCell as nt, TableColumn as lt, TableFooterRow as it, TableHeader as at, TableRow as ft, Tabs as ct, Text as st, TextArea as mt, TextField as dt, TimeField as pt, Tooltip as ut, TooltipTrigger as gt } from "@mittwald/flow-react-components";
|
|
11
|
-
const p = (t) => Object.fromEntries(Array.from(t.entries())), bt = x((t, r) => {
|
|
12
|
-
const {
|
|
13
|
-
action: o,
|
|
14
|
-
onSubmit: n,
|
|
15
|
-
...l
|
|
16
|
-
} = t;
|
|
17
|
-
return /* @__PURE__ */ s("form", { ref: r, ...l, action: typeof o == "function" ? (i) => o(p(i)) : o, onSubmit: n ? (i) => {
|
|
18
|
-
i.preventDefault(), n(p(new FormData(i.currentTarget)));
|
|
19
|
-
} : void 0 });
|
|
20
|
-
}), Ct = /on[A-Z].*/, ht = (t, r) => !!t.match(Ct) && y(r), xt = (t) => t === "style", vt = (t) => t === "display: none !important;", yt = (t, r) => ht(r, t) ? w(t, r) : xt(r) ? vt(t) ? {
|
|
21
|
-
display: "none"
|
|
22
|
-
} : {} : t, e = (t) => {
|
|
23
|
-
function r(o) {
|
|
24
|
-
const n = T(
|
|
25
|
-
o,
|
|
26
|
-
(l, f) => yt(l, f)
|
|
27
|
-
);
|
|
28
|
-
return /* @__PURE__ */ s(t, { ...n });
|
|
29
|
-
}
|
|
30
|
-
return a(r);
|
|
31
|
-
}, Tt = ["aria-", "data-"], St = (t) => Tt.some((r) => t.startsWith(r)) ? t : S(t), c = (t) => (r) => {
|
|
32
|
-
const o = { ...r };
|
|
33
|
-
return o.className = L(
|
|
34
|
-
String(o.className),
|
|
35
|
-
String(o.class)
|
|
36
|
-
), delete o.class, v(t, F(o, St));
|
|
37
|
-
}, Ft = {
|
|
38
|
-
"flr-accordion": e(B),
|
|
39
|
-
"flr-action-group": e(P),
|
|
40
|
-
"flr-alert": e(M),
|
|
41
|
-
"flr-alert-badge": e(A),
|
|
42
|
-
"flr-alert-icon": e(I),
|
|
43
|
-
"flr-align": e(D),
|
|
44
|
-
"flr-avatar": e(H),
|
|
45
|
-
"flr-badge": e(N),
|
|
46
|
-
"flr-breadcrumb": e(E),
|
|
47
|
-
"flr-button": e(G),
|
|
48
|
-
"flr-checkbox": e(O),
|
|
49
|
-
"flr-checkbox-button": e(j),
|
|
50
|
-
"flr-checkbox-group": e(V),
|
|
51
|
-
"flr-code-block": e(W),
|
|
52
|
-
"flr-column-layout": e(K),
|
|
53
|
-
"flr-content": e(Z),
|
|
54
|
-
"flr-context-menu-content": e($),
|
|
55
|
-
"flr-context-menu-section": e(q),
|
|
56
|
-
"flr-contextual-help": e(z),
|
|
57
|
-
"flr-contextual-help-trigger": e(
|
|
58
|
-
J
|
|
59
|
-
),
|
|
60
|
-
"flr-copy-button": e(Q),
|
|
61
|
-
"flr-counter-badge": e(U),
|
|
62
|
-
"flr-country-options": e(X),
|
|
63
|
-
"flr-date-picker": e(Y),
|
|
64
|
-
"flr-date-range-picker": e(_),
|
|
65
|
-
"flr-dialog-trigger": e(ee),
|
|
66
|
-
"flr-div": e(te),
|
|
67
|
-
"flr-field-description": e(re),
|
|
68
|
-
"flr-field-error": e(oe),
|
|
69
|
-
"flr-file-card": e(ne),
|
|
70
|
-
"flr-file-card-list": e(le),
|
|
71
|
-
"flr-file-field": e(ie),
|
|
72
|
-
"flr-fragment": e(ae),
|
|
73
|
-
"flr-header": e(fe),
|
|
74
|
-
"flr-header-navigation": e(ce),
|
|
75
|
-
"flr-heading": e(se),
|
|
76
|
-
"flr-icon": e(me),
|
|
77
|
-
"flr-illustrated-message": e(de),
|
|
78
|
-
"flr-image": e(pe),
|
|
79
|
-
"flr-initials": e(ue),
|
|
80
|
-
"flr-inline-code": e(ge),
|
|
81
|
-
"flr-items-grid-list": e(be),
|
|
82
|
-
"flr-items-grid-list-item": e(Ce),
|
|
83
|
-
"flr-label": e(he),
|
|
84
|
-
"flr-labeled-value": e(xe),
|
|
85
|
-
"flr-layout-card": e(ve),
|
|
86
|
-
"flr-light-box": e(ye),
|
|
87
|
-
"flr-light-box-trigger": e(Te),
|
|
88
|
-
"flr-link": e(Se),
|
|
89
|
-
"flr-list-empty-view": e(Fe),
|
|
90
|
-
"flr-list-item-view-content": e(Re),
|
|
91
|
-
"flr-list-summary": e(we),
|
|
92
|
-
"flr-loading-spinner": e(ke),
|
|
93
|
-
"flr-markdown": e(Le),
|
|
94
|
-
"flr-menu-item": e(Be),
|
|
95
|
-
"flr-menu-trigger": e(Pe),
|
|
96
|
-
"flr-message": e(Me),
|
|
97
|
-
"flr-navigation": e(Ae),
|
|
98
|
-
"flr-navigation-group": e(Ie),
|
|
99
|
-
"flr-notification": e(De),
|
|
100
|
-
"flr-notification-provider": e(He),
|
|
101
|
-
"flr-number-field": e(Ne),
|
|
102
|
-
"flr-option": e(Ee),
|
|
103
|
-
"flr-overlay-content": e(Ge),
|
|
104
|
-
"flr-popover-content": e(Oe),
|
|
105
|
-
"flr-progress-bar": e(je),
|
|
106
|
-
"flr-radio": e(Ve),
|
|
107
|
-
"flr-radio-button": e(We),
|
|
108
|
-
"flr-radio-group": e(Ke),
|
|
109
|
-
"flr-search-field": e(Ze),
|
|
110
|
-
"flr-section": e($e),
|
|
111
|
-
"flr-segment": e(qe),
|
|
112
|
-
"flr-segmented-control": e(ze),
|
|
113
|
-
"flr-select": e(Je),
|
|
114
|
-
"flr-separator": e(Qe),
|
|
115
|
-
"flr-skeleton": e(Ue),
|
|
116
|
-
"flr-skeleton-text": e(Xe),
|
|
117
|
-
"flr-slider": e(Ye),
|
|
118
|
-
"flr-switch": e(_e),
|
|
119
|
-
"flr-tab": e(et),
|
|
120
|
-
"flr-tab-title": e(tt),
|
|
121
|
-
"flr-table": e(rt),
|
|
122
|
-
"flr-table-body": e(ot),
|
|
123
|
-
"flr-table-cell": e(nt),
|
|
124
|
-
"flr-table-column": e(lt),
|
|
125
|
-
"flr-table-footer-row": e(it),
|
|
126
|
-
"flr-table-header": e(at),
|
|
127
|
-
"flr-table-row": e(ft),
|
|
128
|
-
"flr-tabs": e(ct),
|
|
129
|
-
"flr-text": e(st),
|
|
130
|
-
"flr-text-area": e(mt),
|
|
131
|
-
"flr-text-field": e(dt),
|
|
132
|
-
"flr-time-field": e(pt),
|
|
133
|
-
"flr-tooltip": e(ut),
|
|
134
|
-
"flr-tooltip-trigger": e(gt)
|
|
135
|
-
}, Rt = {
|
|
136
|
-
svg: a(c("svg")),
|
|
137
|
-
circle: a(c("circle")),
|
|
138
|
-
g: a(c("g")),
|
|
139
|
-
path: a(c("path"))
|
|
140
|
-
}, wt = {
|
|
141
|
-
"flr-form": e(bt)
|
|
142
|
-
}, kt = {
|
|
143
|
-
...Rt,
|
|
144
|
-
...wt,
|
|
145
|
-
...Ft
|
|
146
|
-
}, Ht = (t) => {
|
|
147
|
-
const { integrations: r = [], src: o, iframeStyle: n } = t, l = d(() => new C(), []), f = d(() => new Map(
|
|
148
|
-
Object.entries(
|
|
149
|
-
R(
|
|
150
|
-
[...r, kt],
|
|
151
|
-
(i, u) => ({
|
|
152
|
-
...i,
|
|
153
|
-
...u
|
|
154
|
-
}),
|
|
155
|
-
{}
|
|
156
|
-
)
|
|
157
|
-
)
|
|
158
|
-
), [...r]), m = /* @__PURE__ */ s(
|
|
159
|
-
"iframe",
|
|
160
|
-
{
|
|
161
|
-
ref: k(l.connection),
|
|
162
|
-
src: o,
|
|
163
|
-
style: n ?? {
|
|
164
|
-
visibility: "hidden",
|
|
165
|
-
height: 0,
|
|
166
|
-
width: 0,
|
|
167
|
-
border: "none",
|
|
168
|
-
position: "absolute",
|
|
169
|
-
marginLeft: "-9999px"
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
);
|
|
173
|
-
return /* @__PURE__ */ g(b, { children: [
|
|
174
|
-
/* @__PURE__ */ s(h, { components: f, receiver: l }),
|
|
175
|
-
m
|
|
176
|
-
] });
|
|
177
|
-
};
|
|
178
|
-
export {
|
|
179
|
-
Ht as RemoteRendererClient,
|
|
180
|
-
Ht as default
|
|
181
|
-
};
|