@mittwald/flow-remote-react-renderer 0.2.0-alpha.20 → 0.2.0-alpha.22

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.
@@ -8,7 +8,7 @@ const u = () => {
8
8
  return r(() => {
9
9
  t(!0);
10
10
  }, []), e;
11
- }, c = s.lazy(() => import("./RemoteRendererClient-MGh0eUSL.js")), l = (e) => u() ? /* @__PURE__ */ o(c, { ...e }) : null;
11
+ }, c = s.lazy(() => import("./RemoteRendererClient-CtCQcLEb.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,251 @@
1
+ "use client"
2
+ /* */
3
+ "use client";
4
+ import { jsx as s, jsxs as b, Fragment as h } from "react/jsx-runtime";
5
+ import { createRemoteComponentRenderer as n, RemoteReceiver as x, RemoteRootRenderer as C } from "@remote-dom/react/host";
6
+ import { forwardRef as g, createElement as T, useMemo as c } from "react";
7
+ import { isFunction as v, mapValues as y, 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 M from "clsx";
10
+ import { Accordion as P } from "@mittwald/flow-react-components/Accordion";
11
+ import { ActionGroup as B } from "@mittwald/flow-react-components/ActionGroup";
12
+ import { Alert as L } from "@mittwald/flow-react-components/Alert";
13
+ import { AlertBadge as A } from "@mittwald/flow-react-components/AlertBadge";
14
+ import { AlertIcon as H } from "@mittwald/flow-react-components/AlertIcon";
15
+ import { Align as I } from "@mittwald/flow-react-components/Align";
16
+ import { Avatar as N } from "@mittwald/flow-react-components/Avatar";
17
+ import { Badge as D } from "@mittwald/flow-react-components/Badge";
18
+ import { Breadcrumb as E } from "@mittwald/flow-react-components/Breadcrumb";
19
+ import { Button as G } from "@mittwald/flow-react-components/Button";
20
+ import { Checkbox as j } from "@mittwald/flow-react-components/Checkbox";
21
+ import { CheckboxButton as O } from "@mittwald/flow-react-components/CheckboxButton";
22
+ import { CheckboxGroup as W } from "@mittwald/flow-react-components/CheckboxGroup";
23
+ import { CodeBlock as V } from "@mittwald/flow-react-components/CodeBlock";
24
+ import { ColumnLayout as K } from "@mittwald/flow-react-components/ColumnLayout";
25
+ import { Content as Z } from "@mittwald/flow-react-components/Content";
26
+ import { ContextMenu as $, ContextMenuSection as q, ContextMenuTrigger as z } from "@mittwald/flow-react-components/ContextMenu";
27
+ import { ContextualHelp as J, ContextualHelpTrigger as Q } from "@mittwald/flow-react-components/ContextualHelp";
28
+ import { CopyButton as U } from "@mittwald/flow-react-components/CopyButton";
29
+ import { CounterBadge as X } from "@mittwald/flow-react-components/CounterBadge";
30
+ import { CountryOptions as Y, Option as _, Select as rr } from "@mittwald/flow-react-components/Select";
31
+ import { DatePicker as or } from "@mittwald/flow-react-components/DatePicker";
32
+ import { DateRangePicker as tr } from "@mittwald/flow-react-components/DateRangePicker";
33
+ import { Div as er } from "@mittwald/flow-react-components/Div";
34
+ import { FieldDescription as ir } from "@mittwald/flow-react-components/FieldDescription";
35
+ import { FieldError as mr } from "@mittwald/flow-react-components/FieldError";
36
+ import { FileCard as lr } from "@mittwald/flow-react-components/FileCard";
37
+ import { FileCardList as nr } from "@mittwald/flow-react-components/FileCardList";
38
+ import { FileField as fr } from "@mittwald/flow-react-components/FileField";
39
+ import { Fragment as ar } from "@mittwald/flow-react-components/Fragment";
40
+ import { Header as pr } from "@mittwald/flow-react-components/Header";
41
+ import { HeaderNavigation as sr } from "@mittwald/flow-react-components/HeaderNavigation";
42
+ import { Heading as cr } from "@mittwald/flow-react-components/Heading";
43
+ import { Icon as dr } from "@mittwald/flow-react-components/Icon";
44
+ import { IllustratedMessage as gr } from "@mittwald/flow-react-components/IllustratedMessage";
45
+ import { Image as ur } from "@mittwald/flow-react-components/Image";
46
+ import { Initials as br } from "@mittwald/flow-react-components/Initials";
47
+ import { InlineCode as hr } from "@mittwald/flow-react-components/InlineCode";
48
+ import { GridList as xr, GridListItem as Cr, EmptyView as Tr, ListSummary as vr } from "@mittwald/flow-react-components/List";
49
+ import { Label as yr } from "@mittwald/flow-react-components/Label";
50
+ import { LabeledValue as Sr } from "@mittwald/flow-react-components/LabeledValue";
51
+ import { LayoutCard as Fr } from "@mittwald/flow-react-components/LayoutCard";
52
+ import { LightBox as Rr, LightBoxTrigger as wr } from "@mittwald/flow-react-components/LightBox";
53
+ import { Link as kr } from "@mittwald/flow-react-components/Link";
54
+ import { LoadingSpinner as Mr } from "@mittwald/flow-react-components/LoadingSpinner";
55
+ import { Markdown as Pr } from "@mittwald/flow-react-components/Markdown";
56
+ import { MenuItem as Br } from "@mittwald/flow-react-components/MenuItem";
57
+ import { Message as Lr } from "@mittwald/flow-react-components/Message";
58
+ import { Modal as Ar, ModalTrigger as Hr } from "@mittwald/flow-react-components/Modal";
59
+ import { Navigation as Ir, NavigationGroup as Nr } from "@mittwald/flow-react-components/Navigation";
60
+ import { Notification as Dr } from "@mittwald/flow-react-components/Notification";
61
+ import { NotificationProvider as Er } from "@mittwald/flow-react-components/NotificationProvider";
62
+ import { NumberField as Gr } from "@mittwald/flow-react-components/NumberField";
63
+ import { Popover as jr, PopoverTrigger as Or } from "@mittwald/flow-react-components/Popover";
64
+ import { ProgressBar as Wr } from "@mittwald/flow-react-components/ProgressBar";
65
+ import { Radio as Vr, RadioButton as Kr, RadioGroup as Zr } from "@mittwald/flow-react-components/RadioGroup";
66
+ import { SearchField as $r } from "@mittwald/flow-react-components/SearchField";
67
+ import { Section as qr } from "@mittwald/flow-react-components/Section";
68
+ import { Segment as zr, SegmentedControl as Jr } from "@mittwald/flow-react-components/SegmentedControl";
69
+ import { Separator as Qr } from "@mittwald/flow-react-components/Separator";
70
+ import { Skeleton as Ur } from "@mittwald/flow-react-components/Skeleton";
71
+ import { SkeletonText as Xr } from "@mittwald/flow-react-components/SkeletonText";
72
+ import { Slider as Yr } from "@mittwald/flow-react-components/Slider";
73
+ import { Switch as _r } from "@mittwald/flow-react-components/Switch";
74
+ import { Tab as ro, TabTitle as oo, Tabs as to } from "@mittwald/flow-react-components/Tabs";
75
+ import { Table as eo, TableBody as io, TableCell as mo, TableColumn as lo, TableFooterRow as no, TableHeader as fo, TableRow as ao } from "@mittwald/flow-react-components/Table";
76
+ import { Text as po } from "@mittwald/flow-react-components/Text";
77
+ import { TextArea as so } from "@mittwald/flow-react-components/TextArea";
78
+ import { TextField as co } from "@mittwald/flow-react-components/TextField";
79
+ import { TimeField as go } from "@mittwald/flow-react-components/TimeField";
80
+ import { Tooltip as uo, TooltipTrigger as bo } from "@mittwald/flow-react-components/Tooltip";
81
+ const d = (o) => Object.fromEntries(Array.from(o.entries())), ho = g((o, t) => {
82
+ const {
83
+ action: e,
84
+ onSubmit: m,
85
+ ...l
86
+ } = o;
87
+ return /* @__PURE__ */ s("form", { ref: t, ...l, action: typeof e == "function" ? (i) => e(d(i)) : e, onSubmit: m ? (i) => {
88
+ i.preventDefault(), m(d(new FormData(i.currentTarget)));
89
+ } : void 0 });
90
+ }), xo = /on[A-Z].*/, Co = (o, t) => !!o.match(xo) && v(t), To = (o) => o === "style", vo = (o) => o === "display: none !important;", yo = (o, t) => Co(t, o) ? w(o, t) : To(t) ? vo(o) ? {
91
+ display: "none"
92
+ } : {} : o, r = (o) => {
93
+ const t = g(function(m, l) {
94
+ const f = y(
95
+ m,
96
+ (a, i) => yo(a, i)
97
+ );
98
+ return /* @__PURE__ */ s(o, { ...f, ref: l });
99
+ });
100
+ return n(t);
101
+ }, So = ["aria-", "data-"], Fo = (o) => So.some((t) => o.startsWith(t)) ? o : S(o), p = (o) => (t) => {
102
+ const e = { ...t };
103
+ return e.className = M(
104
+ String(e.className),
105
+ String(e.class)
106
+ ), delete e.class, T(o, F(e, Fo));
107
+ }, Ro = {
108
+ "flr-accordion": r(P),
109
+ "flr-action-group": r(B),
110
+ "flr-alert": r(L),
111
+ "flr-alert-badge": r(A),
112
+ "flr-alert-icon": r(H),
113
+ "flr-align": r(I),
114
+ "flr-avatar": r(N),
115
+ "flr-badge": r(D),
116
+ "flr-breadcrumb": r(E),
117
+ "flr-button": r(G),
118
+ "flr-checkbox": r(j),
119
+ "flr-checkbox-button": r(O),
120
+ "flr-checkbox-group": r(W),
121
+ "flr-code-block": r(V),
122
+ "flr-column-layout": r(K),
123
+ "flr-content": r(Z),
124
+ "flr-context-menu": r($),
125
+ "flr-context-menu-section": r(q),
126
+ "flr-context-menu-trigger": r(z),
127
+ "flr-contextual-help": r(J),
128
+ "flr-contextual-help-trigger": r(
129
+ Q
130
+ ),
131
+ "flr-copy-button": r(U),
132
+ "flr-counter-badge": r(X),
133
+ "flr-country-options": r(Y),
134
+ "flr-date-picker": r(or),
135
+ "flr-date-range-picker": r(tr),
136
+ "flr-div": r(er),
137
+ "flr-field-description": r(ir),
138
+ "flr-field-error": r(mr),
139
+ "flr-file-card": r(lr),
140
+ "flr-file-card-list": r(nr),
141
+ "flr-file-field": r(fr),
142
+ "flr-fragment": r(ar),
143
+ "flr-header": r(pr),
144
+ "flr-header-navigation": r(sr),
145
+ "flr-heading": r(cr),
146
+ "flr-icon": r(dr),
147
+ "flr-illustrated-message": r(gr),
148
+ "flr-image": r(ur),
149
+ "flr-initials": r(br),
150
+ "flr-inline-code": r(hr),
151
+ "flr-items-grid-list": r(xr),
152
+ "flr-items-grid-list-item": r(Cr),
153
+ "flr-label": r(yr),
154
+ "flr-labeled-value": r(Sr),
155
+ "flr-layout-card": r(Fr),
156
+ "flr-light-box": r(Rr),
157
+ "flr-light-box-trigger": r(wr),
158
+ "flr-link": r(kr),
159
+ "flr-list-empty-view": r(Tr),
160
+ "flr-list-summary": r(vr),
161
+ "flr-loading-spinner": r(Mr),
162
+ "flr-markdown": r(Pr),
163
+ "flr-menu-item": r(Br),
164
+ "flr-message": r(Lr),
165
+ "flr-modal": r(Ar),
166
+ "flr-modal-trigger": r(Hr),
167
+ "flr-navigation": r(Ir),
168
+ "flr-navigation-group": r(Nr),
169
+ "flr-notification": r(Dr),
170
+ "flr-notification-provider": r(Er),
171
+ "flr-number-field": r(Gr),
172
+ "flr-option": r(_),
173
+ "flr-popover": r(jr),
174
+ "flr-popover-trigger": r(Or),
175
+ "flr-progress-bar": r(Wr),
176
+ "flr-radio": r(Vr),
177
+ "flr-radio-button": r(Kr),
178
+ "flr-radio-group": r(Zr),
179
+ "flr-search-field": r($r),
180
+ "flr-section": r(qr),
181
+ "flr-segment": r(zr),
182
+ "flr-segmented-control": r(Jr),
183
+ "flr-select": r(rr),
184
+ "flr-separator": r(Qr),
185
+ "flr-skeleton": r(Ur),
186
+ "flr-skeleton-text": r(Xr),
187
+ "flr-slider": r(Yr),
188
+ "flr-switch": r(_r),
189
+ "flr-tab": r(ro),
190
+ "flr-tab-title": r(oo),
191
+ "flr-table": r(eo),
192
+ "flr-table-body": r(io),
193
+ "flr-table-cell": r(mo),
194
+ "flr-table-column": r(lo),
195
+ "flr-table-footer-row": r(no),
196
+ "flr-table-header": r(fo),
197
+ "flr-table-row": r(ao),
198
+ "flr-tabs": r(to),
199
+ "flr-text": r(po),
200
+ "flr-text-area": r(so),
201
+ "flr-text-field": r(co),
202
+ "flr-time-field": r(go),
203
+ "flr-tooltip": r(uo),
204
+ "flr-tooltip-trigger": r(bo)
205
+ }, wo = {
206
+ svg: n(p("svg")),
207
+ circle: n(p("circle")),
208
+ g: n(p("g")),
209
+ path: n(p("path"))
210
+ }, ko = {
211
+ "flr-form": r(ho)
212
+ }, Mo = {
213
+ ...wo,
214
+ ...ko,
215
+ ...Ro
216
+ }, Yt = (o) => {
217
+ const { integrations: t = [], src: e, iframeStyle: m } = o, l = c(() => new x(), []), f = c(() => new Map(
218
+ Object.entries(
219
+ R(
220
+ [...t, Mo],
221
+ (i, u) => ({
222
+ ...i,
223
+ ...u
224
+ }),
225
+ {}
226
+ )
227
+ )
228
+ ), [...t]), a = /* @__PURE__ */ s(
229
+ "iframe",
230
+ {
231
+ ref: k(l.connection),
232
+ src: e,
233
+ style: m ?? {
234
+ visibility: "hidden",
235
+ height: 0,
236
+ width: 0,
237
+ border: "none",
238
+ position: "absolute",
239
+ marginLeft: "-9999px"
240
+ }
241
+ }
242
+ );
243
+ return /* @__PURE__ */ b(h, { children: [
244
+ /* @__PURE__ */ s(C, { components: f, receiver: l }),
245
+ a
246
+ ] });
247
+ };
248
+ export {
249
+ Yt as RemoteRendererClient,
250
+ Yt as default
251
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auto-generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0pBjB,CAAC;AAEX,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auto-generated/index.ts"],"names":[],"mappings":"AAmGA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuGjB,CAAC;AAEX,eAAe,cAAc,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { ComponentType } from 'react';
2
2
  import { RemoteComponentRendererProps } from '@remote-dom/react/host';
3
- export declare const createFlowRemoteComponentRenderer: <P extends object>(component: ComponentType<P>) => ComponentType<RemoteComponentRendererProps>;
3
+ export declare const createFlowRemoteComponentRenderer: <P extends object>(Component: ComponentType<P>) => ComponentType<RemoteComponentRendererProps>;
4
4
  //# sourceMappingURL=createFlowRemoteComponentRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createFlowRemoteComponentRenderer.d.ts","sourceRoot":"","sources":["../../../src/lib/createFlowRemoteComponentRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAmB,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAyB3E,eAAO,MAAM,iCAAiC,GAAI,CAAC,SAAS,MAAM,aACrD,aAAa,CAAC,CAAC,CAAC,KAC1B,aAAa,CAAC,4BAA4B,CAc5C,CAAC"}
1
+ {"version":3,"file":"createFlowRemoteComponentRenderer.d.ts","sourceRoot":"","sources":["../../../src/lib/createFlowRemoteComponentRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAoC,MAAM,OAAO,CAAC;AAC7E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAyB3E,eAAO,MAAM,iCAAiC,GAAI,CAAC,SAAS,MAAM,aACrD,aAAa,CAAC,CAAC,CAAC,KAC1B,aAAa,CAAC,4BAA4B,CAa5C,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.20",
3
+ "version": "0.2.0-alpha.22",
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": "run tsc --noEmit"
29
29
  },
30
30
  "dependencies": {
31
- "@mittwald/flow-remote-core": "0.2.0-alpha.20",
32
- "@mittwald/flow-remote-elements": "0.2.0-alpha.20",
31
+ "@mittwald/flow-remote-core": "0.2.0-alpha.22",
32
+ "@mittwald/flow-remote-elements": "0.2.0-alpha.22",
33
33
  "@remote-dom/react": "^1.2.1",
34
34
  "@types/react": "^19.0.7",
35
35
  "clsx": "^2.1.1",
@@ -37,7 +37,7 @@
37
37
  "remeda": "^2.19.2"
38
38
  },
39
39
  "devDependencies": {
40
- "@mittwald/flow-react-components": "0.2.0-alpha.20",
40
+ "@mittwald/flow-react-components": "0.2.0-alpha.22",
41
41
  "@mittwald/typescript-config": "",
42
42
  "@types/node": "^22.10.7",
43
43
  "nx": "^20.3.2",
@@ -65,5 +65,5 @@
65
65
  "optional": true
66
66
  }
67
67
  },
68
- "gitHead": "a51a4a784af8bf8d6e983075c954d6c5a33144be"
68
+ "gitHead": "d162392c63529a87b3c39bebabf4616c69c13ac4"
69
69
  }
@@ -1,748 +0,0 @@
1
- "use client"
2
- /* */
3
- "use client";
4
- import { jsx as u, jsxs as x, Fragment as C } from "react/jsx-runtime";
5
- import { createRemoteComponentRenderer as f, RemoteReceiver as T, RemoteRootRenderer as v } from "@remote-dom/react/host";
6
- import { forwardRef as c, createElement as g, lazy as r, useMemo as h } from "react";
7
- import { isFunction as y, mapValues as S, toCamelCase as R, mapKeys as F, reduce as w } from "remeda";
8
- import { mapEventHandler as k, connectRemoteIframeRef as M } from "@mittwald/flow-remote-core";
9
- import P from "clsx";
10
- const s = (t) => Object.fromEntries(Array.from(t.entries())), B = c((t, o) => {
11
- const {
12
- action: l,
13
- onSubmit: i,
14
- ...a
15
- } = t;
16
- return /* @__PURE__ */ u("form", { ref: o, ...a, action: typeof l == "function" ? (n) => l(s(n)) : l, onSubmit: i ? (n) => {
17
- n.preventDefault(), i(s(new FormData(n.currentTarget)));
18
- } : void 0 });
19
- }), L = /on[A-Z].*/, A = (t, o) => !!t.match(L) && y(o), H = (t) => t === "style", I = (t) => t === "display: none !important;", N = (t, o) => A(o, t) ? k(t, o) : H(o) ? I(t) ? {
20
- display: "none"
21
- } : {} : t, e = (t) => {
22
- const o = c(function(i, a) {
23
- const m = S(i, (d, n) => N(d, n));
24
- return g(t, {
25
- ...m,
26
- ref: a
27
- });
28
- });
29
- return f(o);
30
- }, D = ["aria-", "data-"], E = (t) => D.some((o) => t.startsWith(o)) ? t : R(t), p = (t) => (o) => {
31
- const l = { ...o };
32
- return l.className = P(
33
- String(l.className),
34
- String(l.class)
35
- ), delete l.class, g(t, F(l, E));
36
- }, G = {
37
- "flr-accordion": e(
38
- r(
39
- () => import("@mittwald/flow-react-components/Accordion").then((t) => ({
40
- default: t.Accordion
41
- }))
42
- )
43
- ),
44
- "flr-action-group": e(
45
- r(
46
- () => import("@mittwald/flow-react-components/ActionGroup").then((t) => ({
47
- default: t.ActionGroup
48
- }))
49
- )
50
- ),
51
- "flr-alert": e(
52
- r(
53
- () => import("@mittwald/flow-react-components/Alert").then((t) => ({
54
- default: t.Alert
55
- }))
56
- )
57
- ),
58
- "flr-alert-badge": e(
59
- r(
60
- () => import("@mittwald/flow-react-components/AlertBadge").then((t) => ({
61
- default: t.AlertBadge
62
- }))
63
- )
64
- ),
65
- "flr-alert-icon": e(
66
- r(
67
- () => import("@mittwald/flow-react-components/AlertIcon").then((t) => ({
68
- default: t.AlertIcon
69
- }))
70
- )
71
- ),
72
- "flr-align": e(
73
- r(
74
- () => import("@mittwald/flow-react-components/Align").then((t) => ({
75
- default: t.Align
76
- }))
77
- )
78
- ),
79
- "flr-avatar": e(
80
- r(
81
- () => import("@mittwald/flow-react-components/Avatar").then((t) => ({
82
- default: t.Avatar
83
- }))
84
- )
85
- ),
86
- "flr-badge": e(
87
- r(
88
- () => import("@mittwald/flow-react-components/Badge").then((t) => ({
89
- default: t.Badge
90
- }))
91
- )
92
- ),
93
- "flr-breadcrumb": e(
94
- r(
95
- () => import("@mittwald/flow-react-components/Breadcrumb").then((t) => ({
96
- default: t.Breadcrumb
97
- }))
98
- )
99
- ),
100
- "flr-button": e(
101
- r(
102
- () => import("@mittwald/flow-react-components/Button").then((t) => ({
103
- default: t.Button
104
- }))
105
- )
106
- ),
107
- "flr-checkbox": e(
108
- r(
109
- () => import("@mittwald/flow-react-components/Checkbox").then((t) => ({
110
- default: t.Checkbox
111
- }))
112
- )
113
- ),
114
- "flr-checkbox-button": e(
115
- r(
116
- () => import("@mittwald/flow-react-components/CheckboxButton").then(
117
- (t) => ({ default: t.CheckboxButton })
118
- )
119
- )
120
- ),
121
- "flr-checkbox-group": e(
122
- r(
123
- () => import("@mittwald/flow-react-components/CheckboxGroup").then(
124
- (t) => ({ default: t.CheckboxGroup })
125
- )
126
- )
127
- ),
128
- "flr-code-block": e(
129
- r(
130
- () => import("@mittwald/flow-react-components/CodeBlock").then((t) => ({
131
- default: t.CodeBlock
132
- }))
133
- )
134
- ),
135
- "flr-column-layout": e(
136
- r(
137
- () => import("@mittwald/flow-react-components/ColumnLayout").then((t) => ({
138
- default: t.ColumnLayout
139
- }))
140
- )
141
- ),
142
- "flr-content": e(
143
- r(
144
- () => import("@mittwald/flow-react-components/Content").then((t) => ({
145
- default: t.Content
146
- }))
147
- )
148
- ),
149
- "flr-context-menu": e(
150
- r(
151
- () => import("@mittwald/flow-react-components/ContextMenu").then((t) => ({
152
- default: t.ContextMenu
153
- }))
154
- )
155
- ),
156
- "flr-context-menu-section": e(
157
- r(
158
- () => import("@mittwald/flow-react-components/ContextMenu").then((t) => ({
159
- default: t.ContextMenuSection
160
- }))
161
- )
162
- ),
163
- "flr-context-menu-trigger": e(
164
- r(
165
- () => import("@mittwald/flow-react-components/ContextMenu").then((t) => ({
166
- default: t.ContextMenuTrigger
167
- }))
168
- )
169
- ),
170
- "flr-contextual-help": e(
171
- r(
172
- () => import("@mittwald/flow-react-components/ContextualHelp").then(
173
- (t) => ({ default: t.ContextualHelp })
174
- )
175
- )
176
- ),
177
- "flr-contextual-help-trigger": e(
178
- r(
179
- () => import("@mittwald/flow-react-components/ContextualHelp").then(
180
- (t) => ({ default: t.ContextualHelpTrigger })
181
- )
182
- )
183
- ),
184
- "flr-copy-button": e(
185
- r(
186
- () => import("@mittwald/flow-react-components/CopyButton").then((t) => ({
187
- default: t.CopyButton
188
- }))
189
- )
190
- ),
191
- "flr-counter-badge": e(
192
- r(
193
- () => import("@mittwald/flow-react-components/CounterBadge").then((t) => ({
194
- default: t.CounterBadge
195
- }))
196
- )
197
- ),
198
- "flr-country-options": e(
199
- r(
200
- () => import("@mittwald/flow-react-components/Select").then((t) => ({
201
- default: t.CountryOptions
202
- }))
203
- )
204
- ),
205
- "flr-date-picker": e(
206
- r(
207
- () => import("@mittwald/flow-react-components/DatePicker").then((t) => ({
208
- default: t.DatePicker
209
- }))
210
- )
211
- ),
212
- "flr-date-range-picker": e(
213
- r(
214
- () => import("@mittwald/flow-react-components/DateRangePicker").then(
215
- (t) => ({ default: t.DateRangePicker })
216
- )
217
- )
218
- ),
219
- "flr-div": e(
220
- r(
221
- () => import("@mittwald/flow-react-components/Div").then((t) => ({
222
- default: t.Div
223
- }))
224
- )
225
- ),
226
- "flr-field-description": e(
227
- r(
228
- () => import("@mittwald/flow-react-components/FieldDescription").then(
229
- (t) => ({ default: t.FieldDescription })
230
- )
231
- )
232
- ),
233
- "flr-field-error": e(
234
- r(
235
- () => import("@mittwald/flow-react-components/FieldError").then((t) => ({
236
- default: t.FieldError
237
- }))
238
- )
239
- ),
240
- "flr-file-card": e(
241
- r(
242
- () => import("@mittwald/flow-react-components/FileCard").then((t) => ({
243
- default: t.FileCard
244
- }))
245
- )
246
- ),
247
- "flr-file-card-list": e(
248
- r(
249
- () => import("@mittwald/flow-react-components/FileCardList").then((t) => ({
250
- default: t.FileCardList
251
- }))
252
- )
253
- ),
254
- "flr-file-field": e(
255
- r(
256
- () => import("@mittwald/flow-react-components/FileField").then((t) => ({
257
- default: t.FileField
258
- }))
259
- )
260
- ),
261
- "flr-fragment": e(
262
- r(
263
- () => import("@mittwald/flow-react-components/Fragment").then((t) => ({
264
- default: t.Fragment
265
- }))
266
- )
267
- ),
268
- "flr-header": e(
269
- r(
270
- () => import("@mittwald/flow-react-components/Header").then((t) => ({
271
- default: t.Header
272
- }))
273
- )
274
- ),
275
- "flr-header-navigation": e(
276
- r(
277
- () => import("@mittwald/flow-react-components/HeaderNavigation").then(
278
- (t) => ({ default: t.HeaderNavigation })
279
- )
280
- )
281
- ),
282
- "flr-heading": e(
283
- r(
284
- () => import("@mittwald/flow-react-components/Heading").then((t) => ({
285
- default: t.Heading
286
- }))
287
- )
288
- ),
289
- "flr-icon": e(
290
- r(
291
- () => import("@mittwald/flow-react-components/Icon").then((t) => ({
292
- default: t.Icon
293
- }))
294
- )
295
- ),
296
- "flr-illustrated-message": e(
297
- r(
298
- () => import("@mittwald/flow-react-components/IllustratedMessage").then(
299
- (t) => ({ default: t.IllustratedMessage })
300
- )
301
- )
302
- ),
303
- "flr-image": e(
304
- r(
305
- () => import("@mittwald/flow-react-components/Image").then((t) => ({
306
- default: t.Image
307
- }))
308
- )
309
- ),
310
- "flr-initials": e(
311
- r(
312
- () => import("@mittwald/flow-react-components/Initials").then((t) => ({
313
- default: t.Initials
314
- }))
315
- )
316
- ),
317
- "flr-inline-code": e(
318
- r(
319
- () => import("@mittwald/flow-react-components/InlineCode").then((t) => ({
320
- default: t.InlineCode
321
- }))
322
- )
323
- ),
324
- "flr-items-grid-list": e(
325
- r(
326
- () => import("@mittwald/flow-react-components/List").then((t) => ({
327
- default: t.GridList
328
- }))
329
- )
330
- ),
331
- "flr-items-grid-list-item": e(
332
- r(
333
- () => import("@mittwald/flow-react-components/List").then((t) => ({
334
- default: t.GridListItem
335
- }))
336
- )
337
- ),
338
- "flr-label": e(
339
- r(
340
- () => import("@mittwald/flow-react-components/Label").then((t) => ({
341
- default: t.Label
342
- }))
343
- )
344
- ),
345
- "flr-labeled-value": e(
346
- r(
347
- () => import("@mittwald/flow-react-components/LabeledValue").then((t) => ({
348
- default: t.LabeledValue
349
- }))
350
- )
351
- ),
352
- "flr-layout-card": e(
353
- r(
354
- () => import("@mittwald/flow-react-components/LayoutCard").then((t) => ({
355
- default: t.LayoutCard
356
- }))
357
- )
358
- ),
359
- "flr-light-box": e(
360
- r(
361
- () => import("@mittwald/flow-react-components/LightBox").then((t) => ({
362
- default: t.LightBox
363
- }))
364
- )
365
- ),
366
- "flr-light-box-trigger": e(
367
- r(
368
- () => import("@mittwald/flow-react-components/LightBox").then((t) => ({
369
- default: t.LightBoxTrigger
370
- }))
371
- )
372
- ),
373
- "flr-link": e(
374
- r(
375
- () => import("@mittwald/flow-react-components/Link").then((t) => ({
376
- default: t.Link
377
- }))
378
- )
379
- ),
380
- "flr-list-empty-view": e(
381
- r(
382
- () => import("@mittwald/flow-react-components/List").then((t) => ({
383
- default: t.EmptyView
384
- }))
385
- )
386
- ),
387
- "flr-list-summary": e(
388
- r(
389
- () => import("@mittwald/flow-react-components/List").then((t) => ({
390
- default: t.ListSummary
391
- }))
392
- )
393
- ),
394
- "flr-loading-spinner": e(
395
- r(
396
- () => import("@mittwald/flow-react-components/LoadingSpinner").then(
397
- (t) => ({ default: t.LoadingSpinner })
398
- )
399
- )
400
- ),
401
- "flr-markdown": e(
402
- r(
403
- () => import("@mittwald/flow-react-components/Markdown").then((t) => ({
404
- default: t.Markdown
405
- }))
406
- )
407
- ),
408
- "flr-menu-item": e(
409
- r(
410
- () => import("@mittwald/flow-react-components/MenuItem").then((t) => ({
411
- default: t.MenuItem
412
- }))
413
- )
414
- ),
415
- "flr-message": e(
416
- r(
417
- () => import("@mittwald/flow-react-components/Message").then((t) => ({
418
- default: t.Message
419
- }))
420
- )
421
- ),
422
- "flr-modal": e(
423
- r(
424
- () => import("@mittwald/flow-react-components/Modal").then((t) => ({
425
- default: t.Modal
426
- }))
427
- )
428
- ),
429
- "flr-modal-trigger": e(
430
- r(
431
- () => import("@mittwald/flow-react-components/Modal").then((t) => ({
432
- default: t.ModalTrigger
433
- }))
434
- )
435
- ),
436
- "flr-navigation": e(
437
- r(
438
- () => import("@mittwald/flow-react-components/Navigation").then((t) => ({
439
- default: t.Navigation
440
- }))
441
- )
442
- ),
443
- "flr-navigation-group": e(
444
- r(
445
- () => import("@mittwald/flow-react-components/Navigation").then((t) => ({
446
- default: t.NavigationGroup
447
- }))
448
- )
449
- ),
450
- "flr-notification": e(
451
- r(
452
- () => import("@mittwald/flow-react-components/Notification").then((t) => ({
453
- default: t.Notification
454
- }))
455
- )
456
- ),
457
- "flr-notification-provider": e(
458
- r(
459
- () => import("@mittwald/flow-react-components/NotificationProvider").then(
460
- (t) => ({ default: t.NotificationProvider })
461
- )
462
- )
463
- ),
464
- "flr-number-field": e(
465
- r(
466
- () => import("@mittwald/flow-react-components/NumberField").then((t) => ({
467
- default: t.NumberField
468
- }))
469
- )
470
- ),
471
- "flr-option": e(
472
- r(
473
- () => import("@mittwald/flow-react-components/Select").then((t) => ({
474
- default: t.Option
475
- }))
476
- )
477
- ),
478
- "flr-popover": e(
479
- r(
480
- () => import("@mittwald/flow-react-components/Popover").then((t) => ({
481
- default: t.Popover
482
- }))
483
- )
484
- ),
485
- "flr-popover-trigger": e(
486
- r(
487
- () => import("@mittwald/flow-react-components/Popover").then((t) => ({
488
- default: t.PopoverTrigger
489
- }))
490
- )
491
- ),
492
- "flr-progress-bar": e(
493
- r(
494
- () => import("@mittwald/flow-react-components/ProgressBar").then((t) => ({
495
- default: t.ProgressBar
496
- }))
497
- )
498
- ),
499
- "flr-radio": e(
500
- r(
501
- () => import("@mittwald/flow-react-components/RadioGroup").then((t) => ({
502
- default: t.Radio
503
- }))
504
- )
505
- ),
506
- "flr-radio-button": e(
507
- r(
508
- () => import("@mittwald/flow-react-components/RadioGroup").then((t) => ({
509
- default: t.RadioButton
510
- }))
511
- )
512
- ),
513
- "flr-radio-group": e(
514
- r(
515
- () => import("@mittwald/flow-react-components/RadioGroup").then((t) => ({
516
- default: t.RadioGroup
517
- }))
518
- )
519
- ),
520
- "flr-search-field": e(
521
- r(
522
- () => import("@mittwald/flow-react-components/SearchField").then((t) => ({
523
- default: t.SearchField
524
- }))
525
- )
526
- ),
527
- "flr-section": e(
528
- r(
529
- () => import("@mittwald/flow-react-components/Section").then((t) => ({
530
- default: t.Section
531
- }))
532
- )
533
- ),
534
- "flr-segment": e(
535
- r(
536
- () => import("@mittwald/flow-react-components/SegmentedControl").then(
537
- (t) => ({ default: t.Segment })
538
- )
539
- )
540
- ),
541
- "flr-segmented-control": e(
542
- r(
543
- () => import("@mittwald/flow-react-components/SegmentedControl").then(
544
- (t) => ({ default: t.SegmentedControl })
545
- )
546
- )
547
- ),
548
- "flr-select": e(
549
- r(
550
- () => import("@mittwald/flow-react-components/Select").then((t) => ({
551
- default: t.Select
552
- }))
553
- )
554
- ),
555
- "flr-separator": e(
556
- r(
557
- () => import("@mittwald/flow-react-components/Separator").then((t) => ({
558
- default: t.Separator
559
- }))
560
- )
561
- ),
562
- "flr-skeleton": e(
563
- r(
564
- () => import("@mittwald/flow-react-components/Skeleton").then((t) => ({
565
- default: t.Skeleton
566
- }))
567
- )
568
- ),
569
- "flr-skeleton-text": e(
570
- r(
571
- () => import("@mittwald/flow-react-components/SkeletonText").then((t) => ({
572
- default: t.SkeletonText
573
- }))
574
- )
575
- ),
576
- "flr-slider": e(
577
- r(
578
- () => import("@mittwald/flow-react-components/Slider").then((t) => ({
579
- default: t.Slider
580
- }))
581
- )
582
- ),
583
- "flr-switch": e(
584
- r(
585
- () => import("@mittwald/flow-react-components/Switch").then((t) => ({
586
- default: t.Switch
587
- }))
588
- )
589
- ),
590
- "flr-tab": e(
591
- r(
592
- () => import("@mittwald/flow-react-components/Tabs").then((t) => ({
593
- default: t.Tab
594
- }))
595
- )
596
- ),
597
- "flr-tab-title": e(
598
- r(
599
- () => import("@mittwald/flow-react-components/Tabs").then((t) => ({
600
- default: t.TabTitle
601
- }))
602
- )
603
- ),
604
- "flr-table": e(
605
- r(
606
- () => import("@mittwald/flow-react-components/Table").then((t) => ({
607
- default: t.Table
608
- }))
609
- )
610
- ),
611
- "flr-table-body": e(
612
- r(
613
- () => import("@mittwald/flow-react-components/Table").then((t) => ({
614
- default: t.TableBody
615
- }))
616
- )
617
- ),
618
- "flr-table-cell": e(
619
- r(
620
- () => import("@mittwald/flow-react-components/Table").then((t) => ({
621
- default: t.TableCell
622
- }))
623
- )
624
- ),
625
- "flr-table-column": e(
626
- r(
627
- () => import("@mittwald/flow-react-components/Table").then((t) => ({
628
- default: t.TableColumn
629
- }))
630
- )
631
- ),
632
- "flr-table-footer-row": e(
633
- r(
634
- () => import("@mittwald/flow-react-components/Table").then((t) => ({
635
- default: t.TableFooterRow
636
- }))
637
- )
638
- ),
639
- "flr-table-header": e(
640
- r(
641
- () => import("@mittwald/flow-react-components/Table").then((t) => ({
642
- default: t.TableHeader
643
- }))
644
- )
645
- ),
646
- "flr-table-row": e(
647
- r(
648
- () => import("@mittwald/flow-react-components/Table").then((t) => ({
649
- default: t.TableRow
650
- }))
651
- )
652
- ),
653
- "flr-tabs": e(
654
- r(
655
- () => import("@mittwald/flow-react-components/Tabs").then((t) => ({
656
- default: t.Tabs
657
- }))
658
- )
659
- ),
660
- "flr-text": e(
661
- r(
662
- () => import("@mittwald/flow-react-components/Text").then((t) => ({
663
- default: t.Text
664
- }))
665
- )
666
- ),
667
- "flr-text-area": e(
668
- r(
669
- () => import("@mittwald/flow-react-components/TextArea").then((t) => ({
670
- default: t.TextArea
671
- }))
672
- )
673
- ),
674
- "flr-text-field": e(
675
- r(
676
- () => import("@mittwald/flow-react-components/TextField").then((t) => ({
677
- default: t.TextField
678
- }))
679
- )
680
- ),
681
- "flr-time-field": e(
682
- r(
683
- () => import("@mittwald/flow-react-components/TimeField").then((t) => ({
684
- default: t.TimeField
685
- }))
686
- )
687
- ),
688
- "flr-tooltip": e(
689
- r(
690
- () => import("@mittwald/flow-react-components/Tooltip").then((t) => ({
691
- default: t.Tooltip
692
- }))
693
- )
694
- ),
695
- "flr-tooltip-trigger": e(
696
- r(
697
- () => import("@mittwald/flow-react-components/Tooltip").then((t) => ({
698
- default: t.TooltipTrigger
699
- }))
700
- )
701
- )
702
- }, j = {
703
- svg: f(p("svg")),
704
- circle: f(p("circle")),
705
- g: f(p("g")),
706
- path: f(p("path"))
707
- }, O = {
708
- "flr-form": e(B)
709
- }, W = {
710
- ...j,
711
- ...O,
712
- ...G
713
- }, Q = (t) => {
714
- const { integrations: o = [], src: l, iframeStyle: i } = t, a = h(() => new T(), []), m = h(() => new Map(
715
- Object.entries(
716
- w(
717
- [...o, W],
718
- (n, b) => ({
719
- ...n,
720
- ...b
721
- }),
722
- {}
723
- )
724
- )
725
- ), [...o]), d = /* @__PURE__ */ u(
726
- "iframe",
727
- {
728
- ref: M(a.connection),
729
- src: l,
730
- style: i ?? {
731
- visibility: "hidden",
732
- height: 0,
733
- width: 0,
734
- border: "none",
735
- position: "absolute",
736
- marginLeft: "-9999px"
737
- }
738
- }
739
- );
740
- return /* @__PURE__ */ x(C, { children: [
741
- /* @__PURE__ */ u(v, { components: m, receiver: a }),
742
- d
743
- ] });
744
- };
745
- export {
746
- Q as RemoteRendererClient,
747
- Q as default
748
- };