@mittwald/flow-remote-react-renderer 0.2.0-alpha.10

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 (31) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +5 -0
  3. package/dist/index.js +744 -0
  4. package/dist/polyfill.js +2 -0
  5. package/dist/types/RemoteRenderer.d.ts +9 -0
  6. package/dist/types/RemoteRenderer.d.ts.map +1 -0
  7. package/dist/types/auto-generated/index.d.ts +99 -0
  8. package/dist/types/auto-generated/index.d.ts.map +1 -0
  9. package/dist/types/components/Form.d.ts +3 -0
  10. package/dist/types/components/Form.d.ts.map +1 -0
  11. package/dist/types/components/lib/getFormDataObject.d.ts +2 -0
  12. package/dist/types/components/lib/getFormDataObject.d.ts.map +1 -0
  13. package/dist/types/components.d.ts +103 -0
  14. package/dist/types/components.d.ts.map +1 -0
  15. package/dist/types/index.d.ts +2 -0
  16. package/dist/types/index.d.ts.map +1 -0
  17. package/dist/types/lib/createFlowRemoteComponentRenderer.d.ts +4 -0
  18. package/dist/types/lib/createFlowRemoteComponentRenderer.d.ts.map +1 -0
  19. package/dist/types/lib/elementFactory.d.ts +4 -0
  20. package/dist/types/lib/elementFactory.d.ts.map +1 -0
  21. package/dist/types/lib/mapAttributeToReactProperty.d.ts +2 -0
  22. package/dist/types/lib/mapAttributeToReactProperty.d.ts.map +1 -0
  23. package/dist/types/lib/propClassifiers.d.ts +5 -0
  24. package/dist/types/lib/propClassifiers.d.ts.map +1 -0
  25. package/dist/types/lib/stringChildrenExtractor.d.ts +3 -0
  26. package/dist/types/lib/stringChildrenExtractor.d.ts.map +1 -0
  27. package/dist/types/lib/types.d.ts +4 -0
  28. package/dist/types/lib/types.d.ts.map +1 -0
  29. package/dist/types/polyfill.d.ts +1 -0
  30. package/dist/types/polyfill.d.ts.map +1 -0
  31. package/package.json +68 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Mittwald CM Service GmbH & Co. KG and contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # @mittwald/flow-remote-react-renderer
2
+
3
+ This package is part of
4
+ [Flow – mittwald design system](https://mittwald.github.io/flow/). See the
5
+ homepage for more details.
package/dist/index.js ADDED
@@ -0,0 +1,744 @@
1
+ import { jsx as u, jsxs as x, Fragment as C } from "react/jsx-runtime";
2
+ import { createRemoteComponentRenderer as f, RemoteReceiver as T, RemoteRootRenderer as v } from "@remote-dom/react/host";
3
+ import { forwardRef as s, createElement as g, lazy as r, useMemo as h } from "react";
4
+ import { isFunction as y, mapValues as R, toCamelCase as S, mapKeys as F, reduce as w } from "remeda";
5
+ import { mapEventHandler as k, connectRemoteIframeRef as M } from "@mittwald/flow-remote-core";
6
+ import P from "clsx";
7
+ const c = (t) => Object.fromEntries(Array.from(t.entries())), B = s((t, o) => {
8
+ const {
9
+ action: l,
10
+ onSubmit: i,
11
+ ...a
12
+ } = t;
13
+ return /* @__PURE__ */ u("form", { ref: o, ...a, action: typeof l == "function" ? (n) => l(c(n)) : l, onSubmit: i ? (n) => {
14
+ n.preventDefault(), i(c(new FormData(n.currentTarget)));
15
+ } : void 0 });
16
+ }), A = /on[A-Z].*/, L = (t, o) => !!t.match(A) && y(o), H = (t) => t === "style", I = (t) => t === "display: none !important;", N = (t, o) => L(o, t) ? k(t, o) : H(o) ? I(t) ? {
17
+ display: "none"
18
+ } : {} : t, e = (t) => {
19
+ const o = s(function(i, a) {
20
+ const m = R(i, (d, n) => N(d, n));
21
+ return g(t, {
22
+ ...m,
23
+ ref: a
24
+ });
25
+ });
26
+ return f(o);
27
+ }, D = ["aria-", "data-"], E = (t) => D.some((o) => t.startsWith(o)) ? t : S(t), p = (t) => (o) => {
28
+ const l = { ...o };
29
+ return l.className = P(
30
+ String(l.className),
31
+ String(l.class)
32
+ ), delete l.class, g(t, F(l, E));
33
+ }, G = {
34
+ "flr-accordion": e(
35
+ r(
36
+ () => import("@mittwald/flow-react-components/Accordion").then((t) => ({
37
+ default: t.Accordion
38
+ }))
39
+ )
40
+ ),
41
+ "flr-action": e(
42
+ r(
43
+ () => import("@mittwald/flow-react-components/Action").then((t) => ({
44
+ default: t.Action
45
+ }))
46
+ )
47
+ ),
48
+ "flr-action-group": e(
49
+ r(
50
+ () => import("@mittwald/flow-react-components/ActionGroup").then((t) => ({
51
+ default: t.ActionGroup
52
+ }))
53
+ )
54
+ ),
55
+ "flr-alert": e(
56
+ r(
57
+ () => import("@mittwald/flow-react-components/Alert").then((t) => ({
58
+ default: t.Alert
59
+ }))
60
+ )
61
+ ),
62
+ "flr-alert-badge": e(
63
+ r(
64
+ () => import("@mittwald/flow-react-components/AlertBadge").then((t) => ({
65
+ default: t.AlertBadge
66
+ }))
67
+ )
68
+ ),
69
+ "flr-alert-icon": e(
70
+ r(
71
+ () => import("@mittwald/flow-react-components/AlertIcon").then((t) => ({
72
+ default: t.AlertIcon
73
+ }))
74
+ )
75
+ ),
76
+ "flr-align": e(
77
+ r(
78
+ () => import("@mittwald/flow-react-components/Align").then((t) => ({
79
+ default: t.Align
80
+ }))
81
+ )
82
+ ),
83
+ "flr-avatar": e(
84
+ r(
85
+ () => import("@mittwald/flow-react-components/Avatar").then((t) => ({
86
+ default: t.Avatar
87
+ }))
88
+ )
89
+ ),
90
+ "flr-badge": e(
91
+ r(
92
+ () => import("@mittwald/flow-react-components/Badge").then((t) => ({
93
+ default: t.Badge
94
+ }))
95
+ )
96
+ ),
97
+ "flr-breadcrumb": e(
98
+ r(
99
+ () => import("@mittwald/flow-react-components/Breadcrumb").then((t) => ({
100
+ default: t.Breadcrumb
101
+ }))
102
+ )
103
+ ),
104
+ "flr-button": e(
105
+ r(
106
+ () => import("@mittwald/flow-react-components/Button").then((t) => ({
107
+ default: t.Button
108
+ }))
109
+ )
110
+ ),
111
+ "flr-checkbox": e(
112
+ r(
113
+ () => import("@mittwald/flow-react-components/Checkbox").then((t) => ({
114
+ default: t.Checkbox
115
+ }))
116
+ )
117
+ ),
118
+ "flr-checkbox-button": e(
119
+ r(
120
+ () => import("@mittwald/flow-react-components/CheckboxButton").then(
121
+ (t) => ({ default: t.CheckboxButton })
122
+ )
123
+ )
124
+ ),
125
+ "flr-checkbox-group": e(
126
+ r(
127
+ () => import("@mittwald/flow-react-components/CheckboxGroup").then(
128
+ (t) => ({ default: t.CheckboxGroup })
129
+ )
130
+ )
131
+ ),
132
+ "flr-code-block": e(
133
+ r(
134
+ () => import("@mittwald/flow-react-components/CodeBlock").then((t) => ({
135
+ default: t.CodeBlock
136
+ }))
137
+ )
138
+ ),
139
+ "flr-column-layout": e(
140
+ r(
141
+ () => import("@mittwald/flow-react-components/ColumnLayout").then((t) => ({
142
+ default: t.ColumnLayout
143
+ }))
144
+ )
145
+ ),
146
+ "flr-content": e(
147
+ r(
148
+ () => import("@mittwald/flow-react-components/Content").then((t) => ({
149
+ default: t.Content
150
+ }))
151
+ )
152
+ ),
153
+ "flr-context-menu": e(
154
+ r(
155
+ () => import("@mittwald/flow-react-components/ContextMenu").then((t) => ({
156
+ default: t.ContextMenu
157
+ }))
158
+ )
159
+ ),
160
+ "flr-context-menu-section": e(
161
+ r(
162
+ () => import("@mittwald/flow-react-components/ContextMenu").then((t) => ({
163
+ default: t.ContextMenuSection
164
+ }))
165
+ )
166
+ ),
167
+ "flr-context-menu-trigger": e(
168
+ r(
169
+ () => import("@mittwald/flow-react-components/ContextMenu").then((t) => ({
170
+ default: t.ContextMenuTrigger
171
+ }))
172
+ )
173
+ ),
174
+ "flr-contextual-help": e(
175
+ r(
176
+ () => import("@mittwald/flow-react-components/ContextualHelp").then(
177
+ (t) => ({ default: t.ContextualHelp })
178
+ )
179
+ )
180
+ ),
181
+ "flr-contextual-help-trigger": e(
182
+ r(
183
+ () => import("@mittwald/flow-react-components/ContextualHelp").then(
184
+ (t) => ({ default: t.ContextualHelpTrigger })
185
+ )
186
+ )
187
+ ),
188
+ "flr-copy-button": e(
189
+ r(
190
+ () => import("@mittwald/flow-react-components/CopyButton").then((t) => ({
191
+ default: t.CopyButton
192
+ }))
193
+ )
194
+ ),
195
+ "flr-counter-badge": e(
196
+ r(
197
+ () => import("@mittwald/flow-react-components/CounterBadge").then((t) => ({
198
+ default: t.CounterBadge
199
+ }))
200
+ )
201
+ ),
202
+ "flr-country-options": e(
203
+ r(
204
+ () => import("@mittwald/flow-react-components/Select").then((t) => ({
205
+ default: t.CountryOptions
206
+ }))
207
+ )
208
+ ),
209
+ "flr-date-picker": e(
210
+ r(
211
+ () => import("@mittwald/flow-react-components/DatePicker").then((t) => ({
212
+ default: t.DatePicker
213
+ }))
214
+ )
215
+ ),
216
+ "flr-date-range-picker": e(
217
+ r(
218
+ () => import("@mittwald/flow-react-components/DateRangePicker").then(
219
+ (t) => ({ default: t.DateRangePicker })
220
+ )
221
+ )
222
+ ),
223
+ "flr-div": e(
224
+ r(
225
+ () => import("@mittwald/flow-react-components/Div").then((t) => ({
226
+ default: t.Div
227
+ }))
228
+ )
229
+ ),
230
+ "flr-field-description": e(
231
+ r(
232
+ () => import("@mittwald/flow-react-components/FieldDescription").then(
233
+ (t) => ({ default: t.FieldDescription })
234
+ )
235
+ )
236
+ ),
237
+ "flr-field-error": e(
238
+ r(
239
+ () => import("@mittwald/flow-react-components/FieldError").then((t) => ({
240
+ default: t.FieldError
241
+ }))
242
+ )
243
+ ),
244
+ "flr-file-card": e(
245
+ r(
246
+ () => import("@mittwald/flow-react-components/FileCard").then((t) => ({
247
+ default: t.FileCard
248
+ }))
249
+ )
250
+ ),
251
+ "flr-file-card-list": e(
252
+ r(
253
+ () => import("@mittwald/flow-react-components/FileCardList").then((t) => ({
254
+ default: t.FileCardList
255
+ }))
256
+ )
257
+ ),
258
+ "flr-file-field": e(
259
+ r(
260
+ () => import("@mittwald/flow-react-components/FileField").then((t) => ({
261
+ default: t.FileField
262
+ }))
263
+ )
264
+ ),
265
+ "flr-fragment": e(
266
+ r(
267
+ () => import("@mittwald/flow-react-components/Fragment").then((t) => ({
268
+ default: t.Fragment
269
+ }))
270
+ )
271
+ ),
272
+ "flr-header": e(
273
+ r(
274
+ () => import("@mittwald/flow-react-components/Header").then((t) => ({
275
+ default: t.Header
276
+ }))
277
+ )
278
+ ),
279
+ "flr-header-navigation": e(
280
+ r(
281
+ () => import("@mittwald/flow-react-components/HeaderNavigation").then(
282
+ (t) => ({ default: t.HeaderNavigation })
283
+ )
284
+ )
285
+ ),
286
+ "flr-heading": e(
287
+ r(
288
+ () => import("@mittwald/flow-react-components/Heading").then((t) => ({
289
+ default: t.Heading
290
+ }))
291
+ )
292
+ ),
293
+ "flr-icon": e(
294
+ r(
295
+ () => import("@mittwald/flow-react-components/Icon").then((t) => ({
296
+ default: t.Icon
297
+ }))
298
+ )
299
+ ),
300
+ "flr-illustrated-message": e(
301
+ r(
302
+ () => import("@mittwald/flow-react-components/IllustratedMessage").then(
303
+ (t) => ({ default: t.IllustratedMessage })
304
+ )
305
+ )
306
+ ),
307
+ "flr-image": e(
308
+ r(
309
+ () => import("@mittwald/flow-react-components/Image").then((t) => ({
310
+ default: t.Image
311
+ }))
312
+ )
313
+ ),
314
+ "flr-initials": e(
315
+ r(
316
+ () => import("@mittwald/flow-react-components/Initials").then((t) => ({
317
+ default: t.Initials
318
+ }))
319
+ )
320
+ ),
321
+ "flr-inline-code": e(
322
+ r(
323
+ () => import("@mittwald/flow-react-components/InlineCode").then((t) => ({
324
+ default: t.InlineCode
325
+ }))
326
+ )
327
+ ),
328
+ "flr-items-grid-list": e(
329
+ r(
330
+ () => import("@mittwald/flow-react-components/List").then((t) => ({
331
+ default: t.GridList
332
+ }))
333
+ )
334
+ ),
335
+ "flr-items-grid-list-item": e(
336
+ r(
337
+ () => import("@mittwald/flow-react-components/List").then((t) => ({
338
+ default: t.GridListItem
339
+ }))
340
+ )
341
+ ),
342
+ "flr-label": e(
343
+ r(
344
+ () => import("@mittwald/flow-react-components/Label").then((t) => ({
345
+ default: t.Label
346
+ }))
347
+ )
348
+ ),
349
+ "flr-labeled-value": e(
350
+ r(
351
+ () => import("@mittwald/flow-react-components/LabeledValue").then((t) => ({
352
+ default: t.LabeledValue
353
+ }))
354
+ )
355
+ ),
356
+ "flr-layout-card": e(
357
+ r(
358
+ () => import("@mittwald/flow-react-components/LayoutCard").then((t) => ({
359
+ default: t.LayoutCard
360
+ }))
361
+ )
362
+ ),
363
+ "flr-light-box": e(
364
+ r(
365
+ () => import("@mittwald/flow-react-components/LightBox").then((t) => ({
366
+ default: t.LightBox
367
+ }))
368
+ )
369
+ ),
370
+ "flr-light-box-trigger": e(
371
+ r(
372
+ () => import("@mittwald/flow-react-components/LightBox").then((t) => ({
373
+ default: t.LightBoxTrigger
374
+ }))
375
+ )
376
+ ),
377
+ "flr-link": e(
378
+ r(
379
+ () => import("@mittwald/flow-react-components/Link").then((t) => ({
380
+ default: t.Link
381
+ }))
382
+ )
383
+ ),
384
+ "flr-list-empty-view": e(
385
+ r(
386
+ () => import("@mittwald/flow-react-components/List").then((t) => ({
387
+ default: t.EmptyView
388
+ }))
389
+ )
390
+ ),
391
+ "flr-loading-spinner": e(
392
+ r(
393
+ () => import("@mittwald/flow-react-components/LoadingSpinner").then(
394
+ (t) => ({ default: t.LoadingSpinner })
395
+ )
396
+ )
397
+ ),
398
+ "flr-markdown": e(
399
+ r(
400
+ () => import("@mittwald/flow-react-components/Markdown").then((t) => ({
401
+ default: t.Markdown
402
+ }))
403
+ )
404
+ ),
405
+ "flr-menu-item": e(
406
+ r(
407
+ () => import("@mittwald/flow-react-components/MenuItem").then((t) => ({
408
+ default: t.MenuItem
409
+ }))
410
+ )
411
+ ),
412
+ "flr-message": e(
413
+ r(
414
+ () => import("@mittwald/flow-react-components/Message").then((t) => ({
415
+ default: t.Message
416
+ }))
417
+ )
418
+ ),
419
+ "flr-modal": e(
420
+ r(
421
+ () => import("@mittwald/flow-react-components/Modal").then((t) => ({
422
+ default: t.Modal
423
+ }))
424
+ )
425
+ ),
426
+ "flr-modal-trigger": e(
427
+ r(
428
+ () => import("@mittwald/flow-react-components/Modal").then((t) => ({
429
+ default: t.ModalTrigger
430
+ }))
431
+ )
432
+ ),
433
+ "flr-navigation": e(
434
+ r(
435
+ () => import("@mittwald/flow-react-components/Navigation").then((t) => ({
436
+ default: t.Navigation
437
+ }))
438
+ )
439
+ ),
440
+ "flr-navigation-group": e(
441
+ r(
442
+ () => import("@mittwald/flow-react-components/Navigation").then((t) => ({
443
+ default: t.NavigationGroup
444
+ }))
445
+ )
446
+ ),
447
+ "flr-notification": e(
448
+ r(
449
+ () => import("@mittwald/flow-react-components/Notification").then((t) => ({
450
+ default: t.Notification
451
+ }))
452
+ )
453
+ ),
454
+ "flr-notification-provider": e(
455
+ r(
456
+ () => import("@mittwald/flow-react-components/NotificationProvider").then(
457
+ (t) => ({ default: t.NotificationProvider })
458
+ )
459
+ )
460
+ ),
461
+ "flr-number-field": e(
462
+ r(
463
+ () => import("@mittwald/flow-react-components/NumberField").then((t) => ({
464
+ default: t.NumberField
465
+ }))
466
+ )
467
+ ),
468
+ "flr-option": e(
469
+ r(
470
+ () => import("@mittwald/flow-react-components/Select").then((t) => ({
471
+ default: t.Option
472
+ }))
473
+ )
474
+ ),
475
+ "flr-popover": e(
476
+ r(
477
+ () => import("@mittwald/flow-react-components/Popover").then((t) => ({
478
+ default: t.Popover
479
+ }))
480
+ )
481
+ ),
482
+ "flr-popover-trigger": e(
483
+ r(
484
+ () => import("@mittwald/flow-react-components/Popover").then((t) => ({
485
+ default: t.PopoverTrigger
486
+ }))
487
+ )
488
+ ),
489
+ "flr-progress-bar": e(
490
+ r(
491
+ () => import("@mittwald/flow-react-components/ProgressBar").then((t) => ({
492
+ default: t.ProgressBar
493
+ }))
494
+ )
495
+ ),
496
+ "flr-radio": e(
497
+ r(
498
+ () => import("@mittwald/flow-react-components/RadioGroup").then((t) => ({
499
+ default: t.Radio
500
+ }))
501
+ )
502
+ ),
503
+ "flr-radio-button": e(
504
+ r(
505
+ () => import("@mittwald/flow-react-components/RadioGroup").then((t) => ({
506
+ default: t.RadioButton
507
+ }))
508
+ )
509
+ ),
510
+ "flr-radio-group": e(
511
+ r(
512
+ () => import("@mittwald/flow-react-components/RadioGroup").then((t) => ({
513
+ default: t.RadioGroup
514
+ }))
515
+ )
516
+ ),
517
+ "flr-search-field": e(
518
+ r(
519
+ () => import("@mittwald/flow-react-components/SearchField").then((t) => ({
520
+ default: t.SearchField
521
+ }))
522
+ )
523
+ ),
524
+ "flr-section": e(
525
+ r(
526
+ () => import("@mittwald/flow-react-components/Section").then((t) => ({
527
+ default: t.Section
528
+ }))
529
+ )
530
+ ),
531
+ "flr-segment": e(
532
+ r(
533
+ () => import("@mittwald/flow-react-components/SegmentedControl").then(
534
+ (t) => ({ default: t.Segment })
535
+ )
536
+ )
537
+ ),
538
+ "flr-segmented-control": e(
539
+ r(
540
+ () => import("@mittwald/flow-react-components/SegmentedControl").then(
541
+ (t) => ({ default: t.SegmentedControl })
542
+ )
543
+ )
544
+ ),
545
+ "flr-select": e(
546
+ r(
547
+ () => import("@mittwald/flow-react-components/Select").then((t) => ({
548
+ default: t.Select
549
+ }))
550
+ )
551
+ ),
552
+ "flr-separator": e(
553
+ r(
554
+ () => import("@mittwald/flow-react-components/Separator").then((t) => ({
555
+ default: t.Separator
556
+ }))
557
+ )
558
+ ),
559
+ "flr-skeleton": e(
560
+ r(
561
+ () => import("@mittwald/flow-react-components/Skeleton").then((t) => ({
562
+ default: t.Skeleton
563
+ }))
564
+ )
565
+ ),
566
+ "flr-skeleton-text": e(
567
+ r(
568
+ () => import("@mittwald/flow-react-components/SkeletonText").then((t) => ({
569
+ default: t.SkeletonText
570
+ }))
571
+ )
572
+ ),
573
+ "flr-slider": e(
574
+ r(
575
+ () => import("@mittwald/flow-react-components/Slider").then((t) => ({
576
+ default: t.Slider
577
+ }))
578
+ )
579
+ ),
580
+ "flr-switch": e(
581
+ r(
582
+ () => import("@mittwald/flow-react-components/Switch").then((t) => ({
583
+ default: t.Switch
584
+ }))
585
+ )
586
+ ),
587
+ "flr-tab": e(
588
+ r(
589
+ () => import("@mittwald/flow-react-components/Tabs").then((t) => ({
590
+ default: t.Tab
591
+ }))
592
+ )
593
+ ),
594
+ "flr-tab-title": e(
595
+ r(
596
+ () => import("@mittwald/flow-react-components/Tabs").then((t) => ({
597
+ default: t.TabTitle
598
+ }))
599
+ )
600
+ ),
601
+ "flr-table": e(
602
+ r(
603
+ () => import("@mittwald/flow-react-components/Table").then((t) => ({
604
+ default: t.Table
605
+ }))
606
+ )
607
+ ),
608
+ "flr-table-body": e(
609
+ r(
610
+ () => import("@mittwald/flow-react-components/Table").then((t) => ({
611
+ default: t.TableBody
612
+ }))
613
+ )
614
+ ),
615
+ "flr-table-cell": e(
616
+ r(
617
+ () => import("@mittwald/flow-react-components/Table").then((t) => ({
618
+ default: t.TableCell
619
+ }))
620
+ )
621
+ ),
622
+ "flr-table-column": e(
623
+ r(
624
+ () => import("@mittwald/flow-react-components/Table").then((t) => ({
625
+ default: t.TableColumn
626
+ }))
627
+ )
628
+ ),
629
+ "flr-table-footer-row": e(
630
+ r(
631
+ () => import("@mittwald/flow-react-components/Table").then((t) => ({
632
+ default: t.TableFooterRow
633
+ }))
634
+ )
635
+ ),
636
+ "flr-table-header": e(
637
+ r(
638
+ () => import("@mittwald/flow-react-components/Table").then((t) => ({
639
+ default: t.TableHeader
640
+ }))
641
+ )
642
+ ),
643
+ "flr-table-row": e(
644
+ r(
645
+ () => import("@mittwald/flow-react-components/Table").then((t) => ({
646
+ default: t.TableRow
647
+ }))
648
+ )
649
+ ),
650
+ "flr-tabs": e(
651
+ r(
652
+ () => import("@mittwald/flow-react-components/Tabs").then((t) => ({
653
+ default: t.Tabs
654
+ }))
655
+ )
656
+ ),
657
+ "flr-text": e(
658
+ r(
659
+ () => import("@mittwald/flow-react-components/Text").then((t) => ({
660
+ default: t.Text
661
+ }))
662
+ )
663
+ ),
664
+ "flr-text-area": e(
665
+ r(
666
+ () => import("@mittwald/flow-react-components/TextArea").then((t) => ({
667
+ default: t.TextArea
668
+ }))
669
+ )
670
+ ),
671
+ "flr-text-field": e(
672
+ r(
673
+ () => import("@mittwald/flow-react-components/TextField").then((t) => ({
674
+ default: t.TextField
675
+ }))
676
+ )
677
+ ),
678
+ "flr-time-field": e(
679
+ r(
680
+ () => import("@mittwald/flow-react-components/TimeField").then((t) => ({
681
+ default: t.TimeField
682
+ }))
683
+ )
684
+ ),
685
+ "flr-tooltip": e(
686
+ r(
687
+ () => import("@mittwald/flow-react-components/Tooltip").then((t) => ({
688
+ default: t.Tooltip
689
+ }))
690
+ )
691
+ ),
692
+ "flr-tooltip-trigger": e(
693
+ r(
694
+ () => import("@mittwald/flow-react-components/Tooltip").then((t) => ({
695
+ default: t.TooltipTrigger
696
+ }))
697
+ )
698
+ )
699
+ }, j = {
700
+ svg: f(p("svg")),
701
+ circle: f(p("circle")),
702
+ g: f(p("g")),
703
+ path: f(p("path"))
704
+ }, O = {
705
+ "flr-form": e(B)
706
+ }, W = {
707
+ ...j,
708
+ ...O,
709
+ ...G
710
+ }, Q = (t) => {
711
+ const { integrations: o = [], src: l, iframeStyle: i } = t, a = h(() => new T(), []), m = h(() => new Map(
712
+ Object.entries(
713
+ w(
714
+ [...o, W],
715
+ (n, b) => ({
716
+ ...n,
717
+ ...b
718
+ }),
719
+ {}
720
+ )
721
+ )
722
+ ), [...o]), d = /* @__PURE__ */ u(
723
+ "iframe",
724
+ {
725
+ ref: M(a.connection),
726
+ src: l,
727
+ style: i ?? {
728
+ visibility: "hidden",
729
+ height: 0,
730
+ width: 0,
731
+ border: "none",
732
+ position: "absolute",
733
+ marginLeft: "-9999px"
734
+ }
735
+ }
736
+ );
737
+ return /* @__PURE__ */ x(C, { children: [
738
+ /* @__PURE__ */ u(v, { components: m, receiver: a }),
739
+ d
740
+ ] });
741
+ };
742
+ export {
743
+ Q as RemoteRenderer
744
+ };
@@ -0,0 +1,2 @@
1
+ import "@mittwald/flow-remote-core/polyfill";
2
+ import "@remote-dom/react/polyfill";
@@ -0,0 +1,9 @@
1
+ import { CSSProperties, FC } from 'react';
2
+ import { RemoteComponentsMap } from './lib/types';
3
+ export interface RemoteRendererProps {
4
+ integrations?: RemoteComponentsMap<never>[];
5
+ src: string;
6
+ iframeStyle?: CSSProperties;
7
+ }
8
+ export declare const RemoteRenderer: FC<RemoteRendererProps>;
9
+ //# sourceMappingURL=RemoteRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RemoteRenderer.d.ts","sourceRoot":"","sources":["../../src/RemoteRenderer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAiB,aAAa,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAIvD,MAAM,WAAW,mBAAmB;IAClC,YAAY,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC;IAC5C,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA0ClD,CAAC"}
@@ -0,0 +1,99 @@
1
+ export declare const flowComponents: {
2
+ readonly "flr-accordion": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
3
+ readonly "flr-action": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
4
+ readonly "flr-action-group": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
5
+ readonly "flr-alert": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
6
+ readonly "flr-alert-badge": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
7
+ readonly "flr-alert-icon": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
8
+ readonly "flr-align": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
9
+ readonly "flr-avatar": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
10
+ readonly "flr-badge": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
11
+ readonly "flr-breadcrumb": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
12
+ readonly "flr-button": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
13
+ readonly "flr-checkbox": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
14
+ readonly "flr-checkbox-button": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
15
+ readonly "flr-checkbox-group": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
16
+ readonly "flr-code-block": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
17
+ readonly "flr-column-layout": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
18
+ readonly "flr-content": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
19
+ readonly "flr-context-menu": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
20
+ readonly "flr-context-menu-section": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
21
+ readonly "flr-context-menu-trigger": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
22
+ readonly "flr-contextual-help": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
23
+ readonly "flr-contextual-help-trigger": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
24
+ readonly "flr-copy-button": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
25
+ readonly "flr-counter-badge": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
26
+ readonly "flr-country-options": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
27
+ readonly "flr-date-picker": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
28
+ readonly "flr-date-range-picker": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
29
+ readonly "flr-div": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
30
+ readonly "flr-field-description": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
31
+ readonly "flr-field-error": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
32
+ readonly "flr-file-card": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
33
+ readonly "flr-file-card-list": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
34
+ readonly "flr-file-field": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
35
+ readonly "flr-fragment": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
36
+ readonly "flr-header": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
37
+ readonly "flr-header-navigation": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
38
+ readonly "flr-heading": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
39
+ readonly "flr-icon": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
40
+ readonly "flr-illustrated-message": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
41
+ readonly "flr-image": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
42
+ readonly "flr-initials": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
43
+ readonly "flr-inline-code": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
44
+ readonly "flr-items-grid-list": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
45
+ readonly "flr-items-grid-list-item": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
46
+ readonly "flr-label": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
47
+ readonly "flr-labeled-value": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
48
+ readonly "flr-layout-card": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
49
+ readonly "flr-light-box": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
50
+ readonly "flr-light-box-trigger": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
51
+ readonly "flr-link": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
52
+ readonly "flr-list-empty-view": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
53
+ readonly "flr-loading-spinner": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
54
+ readonly "flr-markdown": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
55
+ readonly "flr-menu-item": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
56
+ readonly "flr-message": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
57
+ readonly "flr-modal": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
58
+ readonly "flr-modal-trigger": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
59
+ readonly "flr-navigation": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
60
+ readonly "flr-navigation-group": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
61
+ readonly "flr-notification": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
62
+ readonly "flr-notification-provider": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
63
+ readonly "flr-number-field": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
64
+ readonly "flr-option": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
65
+ readonly "flr-popover": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
66
+ readonly "flr-popover-trigger": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
67
+ readonly "flr-progress-bar": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
68
+ readonly "flr-radio": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
69
+ readonly "flr-radio-button": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
70
+ readonly "flr-radio-group": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
71
+ readonly "flr-search-field": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
72
+ readonly "flr-section": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
73
+ readonly "flr-segment": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
74
+ readonly "flr-segmented-control": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
75
+ readonly "flr-select": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
76
+ readonly "flr-separator": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
77
+ readonly "flr-skeleton": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
78
+ readonly "flr-skeleton-text": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
79
+ readonly "flr-slider": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
80
+ readonly "flr-switch": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
81
+ readonly "flr-tab": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
82
+ readonly "flr-tab-title": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
83
+ readonly "flr-table": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
84
+ readonly "flr-table-body": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
85
+ readonly "flr-table-cell": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
86
+ readonly "flr-table-column": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
87
+ readonly "flr-table-footer-row": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
88
+ readonly "flr-table-header": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
89
+ readonly "flr-table-row": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
90
+ readonly "flr-tabs": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
91
+ readonly "flr-text": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
92
+ readonly "flr-text-area": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
93
+ readonly "flr-text-field": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
94
+ readonly "flr-time-field": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
95
+ readonly "flr-tooltip": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
96
+ readonly "flr-tooltip-trigger": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
97
+ };
98
+ export default flowComponents;
99
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ export declare const Form: FC;
3
+ //# sourceMappingURL=Form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../src/components/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,EAAE,EAIH,MAAM,OAAO,CAAC;AAQf,eAAO,MAAM,IAAI,EAAE,EAqBjB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const getFormDataObject: (formData: FormData) => Record<string, unknown>;
2
+ //# sourceMappingURL=getFormDataObject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFormDataObject.d.ts","sourceRoot":"","sources":["../../../../src/components/lib/getFormDataObject.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,aAClB,QAAQ,KACjB,MAAM,CAAC,MAAM,EAAE,OAAO,CAC2B,CAAC"}
@@ -0,0 +1,103 @@
1
+ export declare const components: {
2
+ "flr-accordion": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
3
+ "flr-action": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
4
+ "flr-action-group": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
5
+ "flr-alert": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
6
+ "flr-alert-badge": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
7
+ "flr-alert-icon": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
8
+ "flr-align": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
9
+ "flr-avatar": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
10
+ "flr-badge": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
11
+ "flr-breadcrumb": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
12
+ "flr-button": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
13
+ "flr-checkbox": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
14
+ "flr-checkbox-button": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
15
+ "flr-checkbox-group": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
16
+ "flr-code-block": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
17
+ "flr-column-layout": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
18
+ "flr-content": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
19
+ "flr-context-menu": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
20
+ "flr-context-menu-section": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
21
+ "flr-context-menu-trigger": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
22
+ "flr-contextual-help": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
23
+ "flr-contextual-help-trigger": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
24
+ "flr-copy-button": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
25
+ "flr-counter-badge": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
26
+ "flr-country-options": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
27
+ "flr-date-picker": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
28
+ "flr-date-range-picker": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
29
+ "flr-div": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
30
+ "flr-field-description": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
31
+ "flr-field-error": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
32
+ "flr-file-card": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
33
+ "flr-file-card-list": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
34
+ "flr-file-field": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
35
+ "flr-fragment": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
36
+ "flr-header": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
37
+ "flr-header-navigation": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
38
+ "flr-heading": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
39
+ "flr-icon": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
40
+ "flr-illustrated-message": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
41
+ "flr-image": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
42
+ "flr-initials": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
43
+ "flr-inline-code": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
44
+ "flr-items-grid-list": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
45
+ "flr-items-grid-list-item": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
46
+ "flr-label": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
47
+ "flr-labeled-value": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
48
+ "flr-layout-card": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
49
+ "flr-light-box": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
50
+ "flr-light-box-trigger": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
51
+ "flr-link": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
52
+ "flr-list-empty-view": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
53
+ "flr-loading-spinner": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
54
+ "flr-markdown": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
55
+ "flr-menu-item": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
56
+ "flr-message": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
57
+ "flr-modal": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
58
+ "flr-modal-trigger": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
59
+ "flr-navigation": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
60
+ "flr-navigation-group": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
61
+ "flr-notification": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
62
+ "flr-notification-provider": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
63
+ "flr-number-field": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
64
+ "flr-option": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
65
+ "flr-popover": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
66
+ "flr-popover-trigger": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
67
+ "flr-progress-bar": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
68
+ "flr-radio": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
69
+ "flr-radio-button": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
70
+ "flr-radio-group": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
71
+ "flr-search-field": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
72
+ "flr-section": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
73
+ "flr-segment": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
74
+ "flr-segmented-control": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
75
+ "flr-select": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
76
+ "flr-separator": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
77
+ "flr-skeleton": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
78
+ "flr-skeleton-text": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
79
+ "flr-slider": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
80
+ "flr-switch": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
81
+ "flr-tab": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
82
+ "flr-tab-title": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
83
+ "flr-table": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
84
+ "flr-table-body": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
85
+ "flr-table-cell": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
86
+ "flr-table-column": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
87
+ "flr-table-footer-row": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
88
+ "flr-table-header": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
89
+ "flr-table-row": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
90
+ "flr-tabs": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
91
+ "flr-text": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
92
+ "flr-text-area": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
93
+ "flr-text-field": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
94
+ "flr-time-field": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
95
+ "flr-tooltip": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
96
+ "flr-tooltip-trigger": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
97
+ "flr-form": import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
98
+ svg: import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
99
+ circle: import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
100
+ g: import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
101
+ path: import('react').ComponentType<import('@remote-dom/react/host').RemoteComponentRendererProps>;
102
+ };
103
+ //# sourceMappingURL=components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/components.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './RemoteRenderer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ComponentType } from 'react';
2
+ import { RemoteComponentRendererProps } from '@remote-dom/react/host';
3
+ export declare const createFlowRemoteComponentRenderer: <P extends object>(component: ComponentType<P>) => ComponentType<RemoteComponentRendererProps>;
4
+ //# sourceMappingURL=createFlowRemoteComponentRenderer.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,4 @@
1
+ type ElementTagNameMap = HTMLElementTagNameMap & Pick<SVGElementTagNameMap, Exclude<keyof SVGElementTagNameMap, keyof HTMLElementTagNameMap>>;
2
+ export declare const elementFactory: <E extends keyof ElementTagNameMap>(element: E) => (props: Record<string, unknown>) => import('react').DOMElement<Record<string, unknown>, Element>;
3
+ export {};
4
+ //# sourceMappingURL=elementFactory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"elementFactory.d.ts","sourceRoot":"","sources":["../../../src/lib/elementFactory.ts"],"names":[],"mappings":"AAKA,KAAK,iBAAiB,GAAG,qBAAqB,GAC5C,IAAI,CACF,oBAAoB,EACpB,OAAO,CAAC,MAAM,oBAAoB,EAAE,MAAM,qBAAqB,CAAC,CACjE,CAAC;AAEJ,eAAO,MAAM,cAAc,GACxB,CAAC,SAAS,MAAM,iBAAiB,WAAW,CAAC,aACtC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,iEAY9B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const mapAttributeToReactProperty: (key: string) => string;
2
+ //# sourceMappingURL=mapAttributeToReactProperty.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapAttributeToReactProperty.d.ts","sourceRoot":"","sources":["../../../src/lib/mapAttributeToReactProperty.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,2BAA2B,QAAS,MAAM,WAMtD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { EventHandler } from '@mittwald/flow-remote-core';
2
+ export declare const isEventProp: (name: string, value: unknown) => value is EventHandler;
3
+ export declare const isStyleProp: (name: string) => boolean;
4
+ export declare const isReactSuspendedStyle: (value: unknown) => boolean;
5
+ //# sourceMappingURL=propClassifiers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"propClassifiers.d.ts","sourceRoot":"","sources":["../../../src/lib/propClassifiers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI/D,eAAO,MAAM,WAAW,SAChB,MAAM,SACL,OAAO,KACb,KAAK,IAAI,YACgD,CAAC;AAE7D,eAAO,MAAM,WAAW,SAAU,MAAM,KAAG,OAA2B,CAAC;AAEvE,eAAO,MAAM,qBAAqB,UAAW,OAAO,KAAG,OAChB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { FunctionComponent, PropsWithChildren } from 'react';
2
+ export declare const stringChildrenExtractor: <P extends PropsWithChildren>(component: FunctionComponent<P>) => (props: PropsWithChildren<P>) => import('react').FunctionComponentElement<P>;
3
+ //# sourceMappingURL=stringChildrenExtractor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stringChildrenExtractor.d.ts","sourceRoot":"","sources":["../../../src/lib/stringChildrenExtractor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAgB,MAAM,OAAO,CAAC;AAWhF,eAAO,MAAM,uBAAuB,GACjC,CAAC,SAAS,iBAAiB,aAAa,iBAAiB,CAAC,CAAC,CAAC,aACrD,iBAAiB,CAAC,CAAC,CAAC,gDAqB3B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ComponentType } from 'react';
2
+ import { RemoteComponentRendererProps } from '@remote-dom/react/host';
3
+ export type RemoteComponentsMap<T extends string> = Record<T, ComponentType<RemoteComponentRendererProps>>;
4
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAE3E,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,CACxD,CAAC,EACD,aAAa,CAAC,4BAA4B,CAAC,CAC5C,CAAC"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=polyfill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"polyfill.d.ts","sourceRoot":"","sources":["../../src/polyfill.ts"],"names":[],"mappings":"AAAA,OAAO,qCAAqC,CAAC;AAC7C,OAAO,4BAA4B,CAAC"}
package/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "@mittwald/flow-remote-react-renderer",
3
+ "version": "0.2.0-alpha.10",
4
+ "type": "module",
5
+ "description": "React rendering for Flow Remote Elements",
6
+ "homepage": "https://mittwald.github.io/flow",
7
+ "repository": "https://github.com/mittwald/flow",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/types/index.d.ts",
11
+ "default": "./dist/index.js"
12
+ },
13
+ "./polyfill": {
14
+ "types": "./dist/types/polyfill.d.ts",
15
+ "import": "./dist/polyfill.js"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "engines": {
22
+ "node": ">=20.11"
23
+ },
24
+ "scripts": {
25
+ "build": "run vite build --config vite.build.config.ts",
26
+ "clean": "rimraf dist",
27
+ "test": "",
28
+ "test:compile": "run tsc --noEmit"
29
+ },
30
+ "dependencies": {
31
+ "@mittwald/flow-remote-core": "0.2.0-alpha.10",
32
+ "@mittwald/flow-remote-elements": "0.2.0-alpha.10",
33
+ "@remote-dom/core": "^1.5.2",
34
+ "@remote-dom/react": "^1.2.1",
35
+ "clsx": "^2.1.1",
36
+ "react-children-utilities": "^2.10.0",
37
+ "remeda": "^2.19.1"
38
+ },
39
+ "devDependencies": {
40
+ "@mittwald/flow-react-components": "0.2.0-alpha.10",
41
+ "@mittwald/typescript-config": "",
42
+ "@types/node": "^22.10.6",
43
+ "@types/react": "^19.0.7",
44
+ "nx": "^20.3.1",
45
+ "prettier": "^3.4.2",
46
+ "react": "19.0.0",
47
+ "react-dom": "19.0.0",
48
+ "react-hook-form": "^7.54.2",
49
+ "rimraf": "^6.0.1",
50
+ "typescript": "^5.7.3",
51
+ "vite": "^6.0.7",
52
+ "vite-plugin-checker": "^0.8.0",
53
+ "vite-plugin-dts": "^4.5.0",
54
+ "vite-plugin-externalize-deps": "^0.8.0"
55
+ },
56
+ "peerDependencies": {
57
+ "@mittwald/flow-react-components": "*",
58
+ "react": "19.0.0",
59
+ "react-dom": "19.0.0",
60
+ "react-hook-form": "*"
61
+ },
62
+ "peerDependenciesMeta": {
63
+ "react-hook-form": {
64
+ "optional": true
65
+ }
66
+ },
67
+ "gitHead": "f10db09d7ed6d4a1cc1c2b08819229ec6ac8bc46"
68
+ }