@kong-ui-public/entities-plugins 9.271.4 → 9.272.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities-plugins.es.js +10444 -10014
- package/dist/entities-plugins.umd.js +141 -141
- package/dist/filler/cypress/index.js +146 -127
- package/dist/filler/{field-walker-DX9YG0uo.js → field-walker-SzWGNejv.js} +4472 -4434
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/cypress/create-filler.d.ts.map +1 -1
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/cypress/handlers/expression.d.ts +9 -0
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/cypress/handlers/expression.d.ts.map +1 -0
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/cypress/handlers/index.d.ts +3 -0
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/cypress/handlers/index.d.ts.map +1 -1
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/playwright/create-filler.d.ts.map +1 -1
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/playwright/handlers/expression.d.ts +9 -0
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/playwright/handlers/expression.d.ts.map +1 -0
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/playwright/handlers/index.d.ts +3 -0
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/playwright/handlers/index.d.ts.map +1 -1
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/shared/field-walker.d.ts +1 -1
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/shared/field-walker.d.ts.map +1 -1
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/shared/selectors.d.ts +3 -0
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/filler/shared/selectors.d.ts.map +1 -1
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/shared/composables/expression-paths.d.ts +55 -0
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/shared/composables/expression-paths.d.ts.map +1 -0
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/shared/composables/expression.d.ts +28 -0
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/shared/composables/expression.d.ts.map +1 -0
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/shared/composables/form-context.d.ts.map +1 -1
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/shared/composables/index.d.ts +2 -0
- package/dist/filler/packages/entities/entities-plugins/src/components/free-form/shared/composables/index.d.ts.map +1 -1
- package/dist/filler/packages/entities/entities-plugins/src/types/plugins/form-schema.d.ts +35 -1
- package/dist/filler/packages/entities/entities-plugins/src/types/plugins/form-schema.d.ts.map +1 -1
- package/dist/filler/packages/entities/entities-plugins/src/types/plugins/free-form.d.ts +5 -0
- package/dist/filler/packages/entities/entities-plugins/src/types/plugins/free-form.d.ts.map +1 -1
- package/dist/filler/playwright/index.js +146 -131
- package/dist/freeform/index.js +1336 -1094
- package/dist/freeform/style.css +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/PluginForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/plugins/_shared/use-expression-mode.d.ts +18 -0
- package/dist/types/components/free-form/plugins/_shared/use-expression-mode.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/rate-limiting/ConfigForm.vue.d.ts +4 -0
- package/dist/types/components/free-form/plugins/rate-limiting/ConfigForm.vue.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/rate-limiting/RateLimitingForm.vue.d.ts +16 -0
- package/dist/types/components/free-form/plugins/rate-limiting/RateLimitingForm.vue.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/rate-limiting/index.d.ts +3 -0
- package/dist/types/components/free-form/plugins/rate-limiting/index.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/rate-limiting-advanced/ConfigForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/plugins/rate-limiting-advanced/CustomKeyField.vue.d.ts +5 -0
- package/dist/types/components/free-form/plugins/rate-limiting-advanced/CustomKeyField.vue.d.ts.map +1 -0
- package/dist/types/components/free-form/plugins/rate-limiting-advanced/RateLimitingAdvancedForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/plugins/rate-limiting-advanced/RequestLimitsForm.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/ExpressionEditor.vue.d.ts +34 -0
- package/dist/types/components/free-form/shared/ExpressionEditor.vue.d.ts.map +1 -0
- package/dist/types/components/free-form/shared/ExpressionField.vue.d.ts +19 -0
- package/dist/types/components/free-form/shared/ExpressionField.vue.d.ts.map +1 -0
- package/dist/types/components/free-form/shared/Field.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/Form.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/RadioField.vue.d.ts +10 -1
- package/dist/types/components/free-form/shared/RadioField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/composables/expression-paths.d.ts +55 -0
- package/dist/types/components/free-form/shared/composables/expression-paths.d.ts.map +1 -0
- package/dist/types/components/free-form/shared/composables/expression.d.ts +28 -0
- package/dist/types/components/free-form/shared/composables/expression.d.ts.map +1 -0
- package/dist/types/components/free-form/shared/composables/form-context.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/composables/index.d.ts +2 -0
- package/dist/types/components/free-form/shared/composables/index.d.ts.map +1 -1
- package/dist/types/components/free-form/shared/field-dispatch.d.ts +14 -0
- package/dist/types/components/free-form/shared/field-dispatch.d.ts.map +1 -0
- package/dist/types/components/free-form/shared/layout/StandardLayout.vue.d.ts.map +1 -1
- package/dist/types/composables/useFreeformI18n.d.ts +68 -0
- package/dist/types/composables/useFreeformI18n.d.ts.map +1 -1
- package/dist/types/freeform.d.ts +3 -1
- package/dist/types/freeform.d.ts.map +1 -1
- package/dist/types/types/plugins/form-schema.d.ts +35 -1
- package/dist/types/types/plugins/form-schema.d.ts.map +1 -1
- package/dist/types/types/plugins/free-form.d.ts +5 -0
- package/dist/types/types/plugins/free-form.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/types/components/free-form/plugins/rate-limiting.d.ts +0 -3
- package/dist/types/components/free-form/plugins/rate-limiting.d.ts.map +0 -1
|
@@ -1,86 +1,87 @@
|
|
|
1
|
-
import { s as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { s as l, i as w, c as S, g as k, E as A, w as v, a as x, b as E, d as I } from "../field-walker-SzWGNejv.js";
|
|
2
|
+
import "lodash-es";
|
|
3
|
+
const a = { scrollBehavior: "center" };
|
|
4
|
+
function m(o) {
|
|
5
|
+
cy.get(o).then((n) => {
|
|
5
6
|
n[0]?.scrollIntoView({ block: "center", inline: "nearest" });
|
|
6
7
|
});
|
|
7
8
|
}
|
|
8
|
-
function
|
|
9
|
-
const { fieldKey: n, value: e } =
|
|
10
|
-
|
|
11
|
-
cy.wrap(
|
|
9
|
+
function B(o) {
|
|
10
|
+
const { fieldKey: n, value: e } = o, t = l.field(n);
|
|
11
|
+
m(t), cy.get(t).then((c) => {
|
|
12
|
+
cy.wrap(c).clear(a), e != null && e !== "" && cy.wrap(c).type(String(e), a);
|
|
12
13
|
});
|
|
13
14
|
}
|
|
14
|
-
function
|
|
15
|
-
const { fieldKey: n, value: e } =
|
|
16
|
-
|
|
17
|
-
cy.wrap(
|
|
15
|
+
function F(o) {
|
|
16
|
+
const { fieldKey: n, value: e } = o, t = l.field(n);
|
|
17
|
+
m(t), cy.get(t).then((c) => {
|
|
18
|
+
cy.wrap(c).clear(a), e != null && cy.wrap(c).type(String(e), a);
|
|
18
19
|
});
|
|
19
20
|
}
|
|
20
|
-
function
|
|
21
|
-
const { fieldKey: n, value: e } =
|
|
22
|
-
|
|
21
|
+
function C(o) {
|
|
22
|
+
const { fieldKey: n, value: e } = o, t = l.field(n);
|
|
23
|
+
m(t), e === !0 ? cy.get(t).check(a) : e === !1 && cy.get(t).uncheck(a);
|
|
23
24
|
}
|
|
24
|
-
function
|
|
25
|
-
const { fieldKey: n, fieldSchema: e, value: t } =
|
|
26
|
-
|
|
27
|
-
const g =
|
|
28
|
-
for (const
|
|
29
|
-
if (
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}), y.includes(
|
|
25
|
+
function R(o) {
|
|
26
|
+
const { fieldKey: n, fieldSchema: e, value: t } = o, c = w(e), y = c ? Array.isArray(t) ? t : [t] : [t], d = l.field(n);
|
|
27
|
+
m(d), cy.get(d).click(a);
|
|
28
|
+
const g = l.selectTrigger(n);
|
|
29
|
+
for (const p of e.one_of ?? e.elements?.one_of ?? [])
|
|
30
|
+
if (p != null) {
|
|
31
|
+
const b = c ? l.multiSelectItem(String(p)) : l.selectItem(String(p));
|
|
32
|
+
c && cy.get(g).find(b).within((f) => {
|
|
33
|
+
f.find("button.selected").length > 0 && cy.get("button").click(a);
|
|
34
|
+
}), y.includes(p) && cy.get(g).find(b).click(a);
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
|
-
function
|
|
37
|
-
const { fieldKey: n, value: e } =
|
|
38
|
-
|
|
37
|
+
function j(o) {
|
|
38
|
+
const { fieldKey: n, value: e } = o, t = Array.isArray(e) ? e : [e], c = l.tagInput(n);
|
|
39
|
+
m(c), cy.get(c).type(t.join(","), a);
|
|
39
40
|
}
|
|
40
|
-
function M(
|
|
41
|
-
const { fieldKey: n, value: e, onFillItem: t } =
|
|
41
|
+
function M(o) {
|
|
42
|
+
const { fieldKey: n, value: e, onFillItem: t } = o, c = l.arrayTabContainer(n), y = l.arrayBasicContainer(n);
|
|
42
43
|
cy.get("body").then((d) => {
|
|
43
|
-
const g = d.find(
|
|
44
|
-
if (g ||
|
|
45
|
-
const
|
|
46
|
-
cy.get("body").then((
|
|
47
|
-
const i =
|
|
48
|
-
i.length > 0 && (cy.wrap(i).click(
|
|
44
|
+
const g = d.find(c).length > 0, p = d.find(y).length > 0;
|
|
45
|
+
if (g || p) {
|
|
46
|
+
const b = l.arrayRemoveBtns(n), f = () => {
|
|
47
|
+
cy.get("body").then((r) => {
|
|
48
|
+
const i = r.find(b).first();
|
|
49
|
+
i.length > 0 && (cy.wrap(i).click(a), f());
|
|
49
50
|
});
|
|
50
51
|
};
|
|
51
|
-
if (
|
|
52
|
+
if (f(), !Array.isArray(e))
|
|
52
53
|
return;
|
|
53
|
-
for (let
|
|
54
|
-
const i =
|
|
55
|
-
|
|
54
|
+
for (let r = 0; r < e.length; r++) {
|
|
55
|
+
const i = l.arrayAddBtn(n);
|
|
56
|
+
m(i), cy.get(i).click(a), cy.get(l.arrayItem(n, r)).should("exist"), t(r, e[r]);
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
59
|
});
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
-
const { fieldKey: n, value: e, onFillChildren: t } =
|
|
61
|
+
function T(o) {
|
|
62
|
+
const { fieldKey: n, value: e, onFillChildren: t } = o, c = l.objectSwitch(n);
|
|
62
63
|
cy.get("body").then((y) => {
|
|
63
|
-
const d = y.find(
|
|
64
|
+
const d = y.find(c).length > 0;
|
|
64
65
|
if (e == null && d) {
|
|
65
|
-
cy.get(
|
|
66
|
+
cy.get(c).uncheck({ force: !0 });
|
|
66
67
|
return;
|
|
67
68
|
}
|
|
68
|
-
d && (cy.get(
|
|
69
|
+
d && (cy.get(c).check({ force: !0 }), cy.get(l.objectContent(n)).should("not.have.class", "ff-slide-active")), t();
|
|
69
70
|
});
|
|
70
71
|
}
|
|
71
|
-
function
|
|
72
|
-
if (!
|
|
72
|
+
function N(o, n) {
|
|
73
|
+
if (!o)
|
|
73
74
|
throw new Error(`Unable to find map entry test id for "${n}"`);
|
|
74
|
-
const e =
|
|
75
|
+
const e = o.match(/kid:\d+/);
|
|
75
76
|
if (!e)
|
|
76
|
-
throw new Error(`Unable to extract map entry kid id from test id "${
|
|
77
|
+
throw new Error(`Unable to extract map entry kid id from test id "${o}"`);
|
|
77
78
|
return e[0];
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
-
const { fieldKey: n, value: e, onFillEntry: t } =
|
|
80
|
+
function O(o) {
|
|
81
|
+
const { fieldKey: n, value: e, onFillEntry: t } = o, c = l.mapRemoveBtns(n), y = () => {
|
|
81
82
|
cy.get("body").then((g) => {
|
|
82
|
-
const
|
|
83
|
-
|
|
83
|
+
const p = g.find(c).first();
|
|
84
|
+
p.length > 0 && (cy.wrap(p).click(a), y());
|
|
84
85
|
});
|
|
85
86
|
};
|
|
86
87
|
if (y(), typeof e != "object" || e == null)
|
|
@@ -88,152 +89,170 @@ function N(r) {
|
|
|
88
89
|
const d = Object.entries(e);
|
|
89
90
|
if (d.length !== 0)
|
|
90
91
|
for (let g = 0; g < d.length; g++) {
|
|
91
|
-
const [
|
|
92
|
-
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
const s =
|
|
96
|
-
t(s,
|
|
92
|
+
const [p, b] = d[g], f = l.mapAddBtn(n);
|
|
93
|
+
m(f), cy.get(f).click(a);
|
|
94
|
+
const r = l.mapKey(n, g);
|
|
95
|
+
m(r), cy.get(r).clear(a), cy.get(r).type(String(p), a), cy.get(l.mapContainer(n, g)).find(`[data-testid*="${n}.kid:"]`).first().invoke("attr", "data-testid").then((i) => {
|
|
96
|
+
const s = N(i, n);
|
|
97
|
+
t(s, b);
|
|
97
98
|
});
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
|
-
function
|
|
101
|
-
const { fieldKey: n, value: e } =
|
|
102
|
-
|
|
103
|
-
cy.wrap(y.find("textarea")).clear(
|
|
101
|
+
function _(o) {
|
|
102
|
+
const { fieldKey: n, value: e } = o, t = l.json(n), c = typeof e == "string" ? e : JSON.stringify(e, null, 2);
|
|
103
|
+
m(t), cy.get(t).then((y) => {
|
|
104
|
+
cy.wrap(y.find("textarea")).clear(a), cy.wrap(y.find("textarea")).type(c, a);
|
|
104
105
|
});
|
|
105
106
|
}
|
|
106
|
-
function
|
|
107
|
-
const { fieldKey: n, value: e } =
|
|
108
|
-
|
|
109
|
-
cy.wrap(y).clear(
|
|
107
|
+
function H(o) {
|
|
108
|
+
const { fieldKey: n, value: e } = o, t = l.field(n), c = typeof e == "object" && e?.id ? e.id : e;
|
|
109
|
+
m(t), cy.get(t).then((y) => {
|
|
110
|
+
cy.wrap(y).clear(a), c && cy.wrap(y).type(String(c), a);
|
|
110
111
|
});
|
|
111
112
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
113
|
+
function J(o) {
|
|
114
|
+
const { fieldKey: n, value: e } = o, t = l.expression(n);
|
|
115
|
+
m(t), cy.get(t).then((c) => {
|
|
116
|
+
c.find("textarea").length === 0 && cy.get(l.expressionAddBtn(n)).click(a);
|
|
117
|
+
}), cy.get(l.expressionInput(n)).then((c) => {
|
|
118
|
+
cy.wrap(c).clear(a), e != null && e !== "" && cy.wrap(c).type(String(e), a);
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
const K = {
|
|
122
|
+
fillString: B,
|
|
123
|
+
fillNumber: F,
|
|
124
|
+
fillBoolean: C,
|
|
125
|
+
fillEnum: R,
|
|
126
|
+
fillTag: j,
|
|
118
127
|
fillArray: M,
|
|
119
|
-
fillRecord:
|
|
120
|
-
fillMap:
|
|
121
|
-
fillJson:
|
|
122
|
-
fillForeign:
|
|
128
|
+
fillRecord: T,
|
|
129
|
+
fillMap: O,
|
|
130
|
+
fillJson: _,
|
|
131
|
+
fillForeign: H,
|
|
132
|
+
fillExpression: J
|
|
123
133
|
};
|
|
124
|
-
function
|
|
125
|
-
const e = S(
|
|
126
|
-
function
|
|
127
|
-
for (const s of v(
|
|
134
|
+
function U(o, n) {
|
|
135
|
+
const e = S(o), t = { ...K, ...n };
|
|
136
|
+
function c(f, r, i = "") {
|
|
137
|
+
for (const s of v(f, r, e, i))
|
|
128
138
|
y(s);
|
|
129
139
|
}
|
|
130
|
-
function y({ handlerType:
|
|
131
|
-
switch (
|
|
140
|
+
function y({ handlerType: f, fieldKey: r, fieldSchema: i, value: s }) {
|
|
141
|
+
switch (f) {
|
|
132
142
|
case "string":
|
|
133
|
-
t.fillString({ fieldKey:
|
|
143
|
+
t.fillString({ fieldKey: r, fieldSchema: i, value: s });
|
|
134
144
|
break;
|
|
135
145
|
case "number":
|
|
136
|
-
t.fillNumber({ fieldKey:
|
|
146
|
+
t.fillNumber({ fieldKey: r, fieldSchema: i, value: s });
|
|
137
147
|
break;
|
|
138
148
|
case "boolean":
|
|
139
|
-
t.fillBoolean({ fieldKey:
|
|
149
|
+
t.fillBoolean({ fieldKey: r, fieldSchema: i, value: s });
|
|
140
150
|
break;
|
|
141
151
|
case "enum":
|
|
142
|
-
t.fillEnum({ fieldKey:
|
|
152
|
+
t.fillEnum({ fieldKey: r, fieldSchema: i, value: s });
|
|
143
153
|
break;
|
|
144
154
|
case "tag":
|
|
145
|
-
t.fillTag({ fieldKey:
|
|
155
|
+
t.fillTag({ fieldKey: r, fieldSchema: i, value: s });
|
|
146
156
|
break;
|
|
147
157
|
case "map":
|
|
148
158
|
t.fillMap({
|
|
149
|
-
fieldKey:
|
|
159
|
+
fieldKey: r,
|
|
150
160
|
fieldSchema: i,
|
|
151
161
|
value: s,
|
|
152
|
-
onFillEntry: (
|
|
153
|
-
g(e,
|
|
162
|
+
onFillEntry: (u, h) => {
|
|
163
|
+
g(e, r, u, h);
|
|
154
164
|
}
|
|
155
165
|
});
|
|
156
166
|
break;
|
|
157
167
|
case "json":
|
|
158
|
-
t.fillJson({ fieldKey:
|
|
168
|
+
t.fillJson({ fieldKey: r, fieldSchema: i, value: s });
|
|
159
169
|
break;
|
|
160
170
|
case "foreign":
|
|
161
|
-
t.fillForeign({ fieldKey:
|
|
171
|
+
t.fillForeign({ fieldKey: r, fieldSchema: i, value: s });
|
|
172
|
+
break;
|
|
173
|
+
case "expression":
|
|
174
|
+
t.fillExpression({ fieldKey: r, fieldSchema: i, value: s });
|
|
175
|
+
break;
|
|
176
|
+
case "expressionArray":
|
|
177
|
+
Array.isArray(s) && s.forEach((u, h) => {
|
|
178
|
+
u == null || u === A || d(e, r, h, u);
|
|
179
|
+
});
|
|
162
180
|
break;
|
|
163
181
|
case "array":
|
|
164
182
|
t.fillArray({
|
|
165
|
-
fieldKey:
|
|
183
|
+
fieldKey: r,
|
|
166
184
|
fieldSchema: i,
|
|
167
185
|
value: s,
|
|
168
|
-
onFillItem: (
|
|
169
|
-
d(e,
|
|
186
|
+
onFillItem: (u, h) => {
|
|
187
|
+
d(e, r, u, h);
|
|
170
188
|
}
|
|
171
189
|
});
|
|
172
190
|
break;
|
|
173
191
|
case "record":
|
|
174
192
|
t.fillRecord({
|
|
175
|
-
fieldKey:
|
|
193
|
+
fieldKey: r,
|
|
176
194
|
fieldSchema: i,
|
|
177
195
|
value: s,
|
|
178
196
|
onFillChildren: () => {
|
|
179
|
-
|
|
197
|
+
c(i.fields, s, r);
|
|
180
198
|
}
|
|
181
199
|
});
|
|
182
200
|
break;
|
|
183
201
|
}
|
|
184
202
|
}
|
|
185
|
-
function d(
|
|
186
|
-
const { itemKey:
|
|
187
|
-
|
|
203
|
+
function d(f, r, i, s) {
|
|
204
|
+
const { itemKey: u, itemSchema: h } = x(r, i, f);
|
|
205
|
+
E(h) ? c(h.fields, s, u) : y({
|
|
188
206
|
handlerType: k(h),
|
|
189
|
-
fieldKey:
|
|
207
|
+
fieldKey: u,
|
|
190
208
|
fieldSchema: h,
|
|
191
209
|
value: s
|
|
192
210
|
});
|
|
193
211
|
}
|
|
194
|
-
function g(
|
|
195
|
-
const { entryKey:
|
|
212
|
+
function g(f, r, i, s) {
|
|
213
|
+
const { entryKey: u, entrySchema: h } = I(r, i, f);
|
|
196
214
|
y({
|
|
197
215
|
handlerType: k(h),
|
|
198
|
-
fieldKey:
|
|
216
|
+
fieldKey: u,
|
|
199
217
|
fieldSchema: h,
|
|
200
218
|
value: s
|
|
201
219
|
});
|
|
202
220
|
}
|
|
203
|
-
function
|
|
204
|
-
|
|
221
|
+
function p(f) {
|
|
222
|
+
o.fields && Array.isArray(o.fields) && c(o.fields, f);
|
|
205
223
|
}
|
|
206
|
-
function
|
|
207
|
-
const i = e.schemaMap[
|
|
224
|
+
function b(f, r) {
|
|
225
|
+
const i = e.schemaMap[f];
|
|
208
226
|
if (!i)
|
|
209
|
-
throw new Error(`Field schema for "${
|
|
227
|
+
throw new Error(`Field schema for "${f}" not found in schema map`);
|
|
210
228
|
y({
|
|
211
229
|
handlerType: k(i),
|
|
212
|
-
fieldKey:
|
|
230
|
+
fieldKey: f,
|
|
213
231
|
fieldSchema: i,
|
|
214
|
-
value:
|
|
232
|
+
value: r
|
|
215
233
|
});
|
|
216
234
|
}
|
|
217
235
|
return {
|
|
218
|
-
fill:
|
|
219
|
-
fillField:
|
|
236
|
+
fill: p,
|
|
237
|
+
fillField: b,
|
|
220
238
|
schemaMap: e.schemaMap,
|
|
221
239
|
handlers: t
|
|
222
240
|
};
|
|
223
241
|
}
|
|
224
242
|
export {
|
|
225
|
-
|
|
226
|
-
|
|
243
|
+
a as SCROLL_BEHAVIOR,
|
|
244
|
+
U as createFiller,
|
|
227
245
|
M as fillArray,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
246
|
+
C as fillBoolean,
|
|
247
|
+
R as fillEnum,
|
|
248
|
+
J as fillExpression,
|
|
249
|
+
H as fillForeign,
|
|
250
|
+
_ as fillJson,
|
|
251
|
+
O as fillMap,
|
|
252
|
+
F as fillNumber,
|
|
253
|
+
T as fillRecord,
|
|
254
|
+
B as fillString,
|
|
255
|
+
j as fillTag,
|
|
256
|
+
K as handlers,
|
|
257
|
+
m as scrollIntoViewNative
|
|
239
258
|
};
|