@mittwald/flow-remote-react-renderer 0.2.0-alpha.23 → 0.2.0-alpha.230
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/js/RemoteRenderer.mjs +17 -0
- package/dist/js/RemoteRenderer.mjs.map +1 -0
- package/dist/js/RemoteRendererBrowser.mjs +99 -0
- package/dist/js/RemoteRendererBrowser.mjs.map +1 -0
- package/dist/js/auto-generated/index.mjs +285 -0
- package/dist/js/auto-generated/index.mjs.map +1 -0
- package/dist/js/components/Form.mjs +22 -0
- package/dist/js/components/Form.mjs.map +1 -0
- package/dist/js/components/NotificationRenderController.mjs +25 -0
- package/dist/js/components/NotificationRenderController.mjs.map +1 -0
- package/dist/js/components/SlotRootWrapper.mjs +11 -0
- package/dist/js/components/SlotRootWrapper.mjs.map +1 -0
- package/dist/js/components/lib/getFormDataObject.mjs +26 -0
- package/dist/js/components/lib/getFormDataObject.mjs.map +1 -0
- package/dist/js/components.mjs +48 -0
- package/dist/js/components.mjs.map +1 -0
- package/dist/js/hooks/useAwaiter.mjs +26 -0
- package/dist/js/hooks/useAwaiter.mjs.map +1 -0
- package/dist/js/hooks/useMergedComponents.mjs +24 -0
- package/dist/js/hooks/useMergedComponents.mjs.map +1 -0
- package/dist/js/hooks/useUpdateHostPathnameOnRemote.mjs +19 -0
- package/dist/js/hooks/useUpdateHostPathnameOnRemote.mjs.map +1 -0
- package/dist/js/index.mjs +7 -0
- package/dist/js/index.mjs.map +1 -0
- package/dist/js/lib/createFlowRemoteComponentRenderer.mjs +61 -0
- package/dist/js/lib/createFlowRemoteComponentRenderer.mjs.map +1 -0
- package/dist/js/lib/elementFactory.mjs +23 -0
- package/dist/js/lib/elementFactory.mjs.map +1 -0
- package/dist/js/lib/mapAttributeToReactProperty.mjs +14 -0
- package/dist/js/lib/mapAttributeToReactProperty.mjs.map +1 -0
- package/dist/js/lib/propClassifiers.mjs +13 -0
- package/dist/js/lib/propClassifiers.mjs.map +1 -0
- package/dist/types/RemoteRenderer.d.ts +2 -2
- package/dist/types/RemoteRenderer.d.ts.map +1 -1
- package/dist/types/RemoteRendererBrowser.d.ts +15 -0
- package/dist/types/RemoteRendererBrowser.d.ts.map +1 -0
- package/dist/types/auto-generated/index.d.ts +112 -95
- package/dist/types/auto-generated/index.d.ts.map +1 -1
- package/dist/types/components/Form.d.ts.map +1 -1
- package/dist/types/components/NotificationRenderController.d.ts +4 -0
- package/dist/types/components/NotificationRenderController.d.ts.map +1 -0
- package/dist/types/components/SlotRootWrapper.d.ts +4 -0
- package/dist/types/components/SlotRootWrapper.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/components/lib/getFormDataObject.d.ts +2 -0
- package/dist/types/components/lib/getFormDataObject.d.ts.map +1 -1
- package/dist/types/components.d.ts +126 -100
- package/dist/types/components.d.ts.map +1 -1
- package/dist/types/hooks/useAwaiter.d.ts +9 -0
- package/dist/types/hooks/useAwaiter.d.ts.map +1 -0
- package/dist/types/hooks/useMergedComponents.d.ts +5 -0
- package/dist/types/hooks/useMergedComponents.d.ts.map +1 -0
- package/dist/types/hooks/useUpdateHostPathnameOnRemote.d.ts +4 -0
- package/dist/types/hooks/useUpdateHostPathnameOnRemote.d.ts.map +1 -0
- package/dist/types/lib/createFlowRemoteComponentRenderer.d.ts +2 -2
- package/dist/types/lib/createFlowRemoteComponentRenderer.d.ts.map +1 -1
- package/dist/types/lib/elementFactory.d.ts +4 -1
- package/dist/types/lib/elementFactory.d.ts.map +1 -1
- package/dist/types/lib/mapAttributeToReactProperty.d.ts.map +1 -1
- package/dist/types/lib/propClassifiers.d.ts.map +1 -1
- package/dist/types/lib/types.d.ts +1 -1
- package/dist/types/lib/types.d.ts.map +1 -1
- package/package.json +28 -26
- package/LICENSE +0 -21
- package/dist/RemoteRenderer.js +0 -15
- package/dist/RemoteRendererClient-CtCQcLEb.js +0 -251
- package/dist/index.js +0 -6
- package/dist/types/RemoteRendererClient.d.ts +0 -10
- package/dist/types/RemoteRendererClient.d.ts.map +0 -1
- package/dist/types/lib/stringChildrenExtractor.d.ts +0 -3
- package/dist/types/lib/stringChildrenExtractor.d.ts.map +0 -1
|
@@ -1,251 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/index.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
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 RemoteRendererClient: FC<RemoteRendererProps>;
|
|
9
|
-
export default RemoteRendererClient;
|
|
10
|
-
//# sourceMappingURL=RemoteRendererClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RemoteRendererClient.d.ts","sourceRoot":"","sources":["../../src/RemoteRendererClient.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,oBAAoB,EAAE,EAAE,CAAC,mBAAmB,CA0CxD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|