@fluxscape/react-runtime 1.0.4 → 1.0.6
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/build/preview/build/fluxscape.index.preview.js +15 -15
- package/build/preview/build/fluxscape.index.preview.js.map +1 -1
- package/build/production/build/fluxscape.index.production.js +15 -15
- package/build/production/build/fluxscape.index.production.js.map +1 -1
- package/dist/components/controls/Button/Button.d.ts +1 -1
- package/dist/components/controls/Button/Button.d.ts.map +1 -1
- package/dist/components/controls/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/controls/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/controls/RadioButton/RadioButton.d.ts +1 -1
- package/dist/components/controls/RadioButton/RadioButton.d.ts.map +1 -1
- package/dist/components/controls/Select/Select.d.ts +1 -1
- package/dist/components/controls/Select/Select.d.ts.map +1 -1
- package/dist/components/controls/TextInput/TextInput.d.ts +1 -1
- package/dist/components/controls/TextInput/TextInput.d.ts.map +1 -1
- package/dist/index.es.js +311 -281
- package/dist/index.es.js.map +1 -1
- package/dist/index.iife.js +15 -15
- package/dist/index.iife.js.map +1 -1
- package/{runtime.json → fluxscape.json} +10 -6
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2063,12 +2063,12 @@ function generateNodeLibrary(e) {
|
|
|
2063
2063
|
}
|
|
2064
2064
|
});
|
|
2065
2065
|
function f(g, b) {
|
|
2066
|
-
var
|
|
2066
|
+
var _ = {
|
|
2067
2067
|
name: g,
|
|
2068
2068
|
type: b.type,
|
|
2069
2069
|
plug: "output"
|
|
2070
2070
|
};
|
|
2071
|
-
b.group && (
|
|
2071
|
+
b.group && (_.group = b.group), b.displayName && (_.displayName = b.displayName), b.editorName && (_.editorName = b.editorName), b.hasOwnProperty("index") && (_.index = b.index), l.ports.push(_);
|
|
2072
2072
|
}
|
|
2073
2073
|
Object.keys(a.outputs).forEach(function(g) {
|
|
2074
2074
|
if (!(d.hasOwnProperty("output/" + g) || h.hasOwnProperty("output/" + g))) {
|
|
@@ -2960,10 +2960,10 @@ function registerSetupFunctionForNumberedInputs(e, t, n) {
|
|
|
2960
2960
|
function l(d, h, f) {
|
|
2961
2961
|
const g = d.component.getConnectionsTo(d.id).map((A) => A.targetPort), b = Object.keys(d.parameters).concat(g).filter(
|
|
2962
2962
|
(A) => A.startsWith(h + " ")
|
|
2963
|
-
),
|
|
2963
|
+
), _ = (b.length ? 1 + Math.max(
|
|
2964
2964
|
...b.map((A) => Number(A.slice(h.length + 1)))
|
|
2965
2965
|
) : 0) + 1, T = [];
|
|
2966
|
-
for (let A = 0; A <
|
|
2966
|
+
for (let A = 0; A < _; A++) {
|
|
2967
2967
|
const v = {
|
|
2968
2968
|
name: h + " " + A,
|
|
2969
2969
|
displayName: (f.displayPrefix || h) + " " + A,
|
|
@@ -3026,12 +3026,12 @@ async function handleEvent(e, t, n) {
|
|
|
3026
3026
|
l.parameters[v]
|
|
3027
3027
|
);
|
|
3028
3028
|
}), l.updateOutputPortTypes(h);
|
|
3029
|
-
var
|
|
3030
|
-
|
|
3029
|
+
var _ = Object.keys(l.getOutputPorts()), T = difference$1(
|
|
3030
|
+
_,
|
|
3031
3031
|
Object.keys(h)
|
|
3032
3032
|
), A = difference$1(
|
|
3033
3033
|
Object.keys(h),
|
|
3034
|
-
|
|
3034
|
+
_
|
|
3035
3035
|
);
|
|
3036
3036
|
T.forEach(
|
|
3037
3037
|
l.removeOutputPortWithName.bind(l)
|
|
@@ -4133,7 +4133,7 @@ function requireLodash_difference() {
|
|
|
4133
4133
|
C[ee + V] = x[V];
|
|
4134
4134
|
return C;
|
|
4135
4135
|
}
|
|
4136
|
-
function
|
|
4136
|
+
function _(C, x, V, G) {
|
|
4137
4137
|
for (var ee = C.length, oe = V + -1; ++oe < ee; )
|
|
4138
4138
|
if (x(C[oe], oe, C))
|
|
4139
4139
|
return oe;
|
|
@@ -4141,7 +4141,7 @@ function requireLodash_difference() {
|
|
|
4141
4141
|
}
|
|
4142
4142
|
function T(C, x, V) {
|
|
4143
4143
|
if (x !== x)
|
|
4144
|
-
return
|
|
4144
|
+
return _(C, A, V);
|
|
4145
4145
|
for (var G = V - 1, ee = C.length; ++G < ee; )
|
|
4146
4146
|
if (C[G] === x)
|
|
4147
4147
|
return G;
|
|
@@ -5977,9 +5977,9 @@ function updatePorts$6$1(e, t, n, o) {
|
|
|
5977
5977
|
if (u === void 0 && a && (u = a.find((f) => f.name === t.collectionName)), u && u.schema && u.schema.properties) {
|
|
5978
5978
|
let f = function(b) {
|
|
5979
5979
|
if (b.schema !== void 0 && b.schema.properties !== void 0)
|
|
5980
|
-
for (var
|
|
5981
|
-
var T = b.schema.properties[
|
|
5982
|
-
T.type === "Relation" && T.targetClass === t.collectionName && (g.relations === void 0 && (g.relations = {}), g.relations[b.name] === void 0 && (g.relations[b.name] = []), g.relations[b.name].push({ property:
|
|
5980
|
+
for (var _ in b.schema.properties) {
|
|
5981
|
+
var T = b.schema.properties[_];
|
|
5982
|
+
T.type === "Relation" && T.targetClass === t.collectionName && (g.relations === void 0 && (g.relations = {}), g.relations[b.name] === void 0 && (g.relations[b.name] = []), g.relations[b.name].push({ property: _ }));
|
|
5983
5983
|
}
|
|
5984
5984
|
};
|
|
5985
5985
|
const g = JSON.parse(JSON.stringify(u.schema));
|
|
@@ -5999,7 +5999,7 @@ function updatePorts$6$1(e, t, n, o) {
|
|
|
5999
5999
|
}
|
|
6000
6000
|
if (t.visualFilter !== void 0) {
|
|
6001
6001
|
let f = function(b) {
|
|
6002
|
-
b !== void 0 && (b.rules !== void 0 ? b.rules.forEach((
|
|
6002
|
+
b !== void 0 && (b.rules !== void 0 ? b.rules.forEach((_) => f(_)) : b.input !== void 0 && (g[b.input] = !0));
|
|
6003
6003
|
};
|
|
6004
6004
|
const g = {};
|
|
6005
6005
|
f(t.visualFilter), Object.keys(g).forEach((b) => {
|
|
@@ -6478,13 +6478,13 @@ function addBaseInfo$1(e, t) {
|
|
|
6478
6478
|
},
|
|
6479
6479
|
plug: "input"
|
|
6480
6480
|
}), o && b.collectionName && h) {
|
|
6481
|
-
var
|
|
6481
|
+
var _ = h.find(
|
|
6482
6482
|
(I) => I.name === b.collectionName
|
|
6483
6483
|
);
|
|
6484
|
-
if (
|
|
6484
|
+
if (_ === void 0 && f && (_ = f.find(
|
|
6485
6485
|
(I) => I.name === b.collectionName
|
|
6486
|
-
)),
|
|
6487
|
-
const I =
|
|
6486
|
+
)), _ && _.schema && _.schema.properties) {
|
|
6487
|
+
const I = _.schema.properties, k = Object.keys(I).filter((N) => I[N].type === "Relation").map((N) => ({ label: N, value: N }));
|
|
6488
6488
|
d.push({
|
|
6489
6489
|
name: "relationProperty",
|
|
6490
6490
|
displayName: "Relation",
|
|
@@ -6501,13 +6501,13 @@ function addBaseInfo$1(e, t) {
|
|
|
6501
6501
|
Number: "number",
|
|
6502
6502
|
Date: "date"
|
|
6503
6503
|
};
|
|
6504
|
-
var
|
|
6504
|
+
var _ = h.find(
|
|
6505
6505
|
(N) => N.name === b.collectionName
|
|
6506
6506
|
);
|
|
6507
|
-
if (
|
|
6507
|
+
if (_ === void 0 && f && (_ = f.find(
|
|
6508
6508
|
(N) => N.name === b.collectionName
|
|
6509
|
-
)),
|
|
6510
|
-
var T =
|
|
6509
|
+
)), _ && _.schema && _.schema.properties) {
|
|
6510
|
+
var T = _.schema.properties;
|
|
6511
6511
|
for (var A in T) {
|
|
6512
6512
|
var v = T[A];
|
|
6513
6513
|
d.find((N) => N.name === A) || d.push({
|
|
@@ -10769,7 +10769,7 @@ function requireEvents() {
|
|
|
10769
10769
|
if (typeof ie == "function")
|
|
10770
10770
|
t(ie, this, E);
|
|
10771
10771
|
else
|
|
10772
|
-
for (var pe = ie.length, xe =
|
|
10772
|
+
for (var pe = ie.length, xe = _(ie, pe), F = 0; F < pe; ++F)
|
|
10773
10773
|
t(xe[F], this, E);
|
|
10774
10774
|
return !0;
|
|
10775
10775
|
};
|
|
@@ -10848,7 +10848,7 @@ function requireEvents() {
|
|
|
10848
10848
|
if (F === void 0)
|
|
10849
10849
|
return [];
|
|
10850
10850
|
var L = F[w];
|
|
10851
|
-
return L === void 0 ? [] : typeof L == "function" ? E ? [L.listener || L] : [L] : E ? A(L) :
|
|
10851
|
+
return L === void 0 ? [] : typeof L == "function" ? E ? [L.listener || L] : [L] : E ? A(L) : _(L, L.length);
|
|
10852
10852
|
}
|
|
10853
10853
|
s.prototype.listeners = function(w) {
|
|
10854
10854
|
return g(this, w, !0);
|
|
@@ -10871,7 +10871,7 @@ function requireEvents() {
|
|
|
10871
10871
|
s.prototype.eventNames = function() {
|
|
10872
10872
|
return this._eventsCount > 0 ? n(this._events) : [];
|
|
10873
10873
|
};
|
|
10874
|
-
function
|
|
10874
|
+
function _(N, w) {
|
|
10875
10875
|
for (var E = new Array(w), F = 0; F < w; ++F)
|
|
10876
10876
|
E[F] = N[F];
|
|
10877
10877
|
return E;
|
|
@@ -11654,7 +11654,7 @@ function requireWebfontloader() {
|
|
|
11654
11654
|
O = !0, S();
|
|
11655
11655
|
}, 0), u(c, "head", p);
|
|
11656
11656
|
}
|
|
11657
|
-
function
|
|
11657
|
+
function _(c, p, y, S) {
|
|
11658
11658
|
var O = c.c.getElementsByTagName("head")[0];
|
|
11659
11659
|
if (O) {
|
|
11660
11660
|
var M = l(c, "script", { src: p }), U = !1;
|
|
@@ -11876,7 +11876,7 @@ function requireWebfontloader() {
|
|
|
11876
11876
|
var y = this, S = y.a.projectId, O = y.a.version;
|
|
11877
11877
|
if (S) {
|
|
11878
11878
|
var M = y.c.o;
|
|
11879
|
-
|
|
11879
|
+
_(this.c, (y.a.api || "https://fast.fonts.net/jsapi") + "/" + S + ".js" + (O ? "?v=" + O : ""), function(U) {
|
|
11880
11880
|
U ? c([]) : (M["__MonotypeConfiguration__" + S] = function() {
|
|
11881
11881
|
return y.a;
|
|
11882
11882
|
}, p());
|
|
@@ -11958,7 +11958,7 @@ function requireWebfontloader() {
|
|
|
11958
11958
|
}
|
|
11959
11959
|
ge.prototype.load = function(c) {
|
|
11960
11960
|
var p = this.a.id, y = this.c.o;
|
|
11961
|
-
p ?
|
|
11961
|
+
p ? _(this.c, (this.a.api || "https://use.typekit.net") + "/" + p + ".js", function(S) {
|
|
11962
11962
|
if (S) c([]);
|
|
11963
11963
|
else if (y.Typekit && y.Typekit.config && y.Typekit.config.fn) {
|
|
11964
11964
|
S = y.Typekit.config.fn;
|
|
@@ -11982,7 +11982,7 @@ function requireWebfontloader() {
|
|
|
11982
11982
|
S.a.push(new N(z.name, B("font-weight:" + z.weight + ";font-style:" + z.style)));
|
|
11983
11983
|
}
|
|
11984
11984
|
c(S.a);
|
|
11985
|
-
},
|
|
11985
|
+
}, _(this.c, (this.f.api || "https://f.fontdeck.com/s/css/js/") + g(this.c) + "/" + p + ".js", function(O) {
|
|
11986
11986
|
O && c([]);
|
|
11987
11987
|
})) : c([]);
|
|
11988
11988
|
};
|
|
@@ -12710,7 +12710,7 @@ const NodeSharedPortDefinitions = {
|
|
|
12710
12710
|
`${h} = solid OR ${h} = dashed OR ${h} = dotted ${b}`,
|
|
12711
12711
|
[`${f}`, `${g}`]
|
|
12712
12712
|
);
|
|
12713
|
-
const
|
|
12713
|
+
const _ = { group: "border-styles", tab: u, label: l }, T = (v) => `${v} ${l ? "(" + l + ")" : ""}`, A = 202 + d * 4;
|
|
12714
12714
|
addInputs$1(a, {
|
|
12715
12715
|
[h]: {
|
|
12716
12716
|
index: A + 1,
|
|
@@ -12728,7 +12728,7 @@ const NodeSharedPortDefinitions = {
|
|
|
12728
12728
|
]
|
|
12729
12729
|
},
|
|
12730
12730
|
default: n[h],
|
|
12731
|
-
tab:
|
|
12731
|
+
tab: _,
|
|
12732
12732
|
set(v) {
|
|
12733
12733
|
this._internal.borders[h] = v, this._updateBorders();
|
|
12734
12734
|
}
|
|
@@ -12745,7 +12745,7 @@ const NodeSharedPortDefinitions = {
|
|
|
12745
12745
|
defaultUnit: "px"
|
|
12746
12746
|
},
|
|
12747
12747
|
default: n[f],
|
|
12748
|
-
tab:
|
|
12748
|
+
tab: _,
|
|
12749
12749
|
set(v) {
|
|
12750
12750
|
this._internal.borders[f] = v.value === void 0 ? Number(v) + "px" : v.value + v.unit, this._updateBorders();
|
|
12751
12751
|
}
|
|
@@ -12758,7 +12758,7 @@ const NodeSharedPortDefinitions = {
|
|
|
12758
12758
|
type: "color",
|
|
12759
12759
|
default: n[g],
|
|
12760
12760
|
allowVisualStates: !0,
|
|
12761
|
-
tab:
|
|
12761
|
+
tab: _,
|
|
12762
12762
|
set(v) {
|
|
12763
12763
|
this._internal.borders[g] = v, this._updateBorders();
|
|
12764
12764
|
}
|
|
@@ -13388,10 +13388,10 @@ function requireBezierEasing() {
|
|
|
13388
13388
|
}
|
|
13389
13389
|
return A;
|
|
13390
13390
|
}
|
|
13391
|
-
function
|
|
13391
|
+
function _(T, A, v, I) {
|
|
13392
13392
|
if (arguments.length === 4)
|
|
13393
|
-
return new
|
|
13394
|
-
if (!(this instanceof
|
|
13393
|
+
return new _([T, A, v, I]);
|
|
13394
|
+
if (!(this instanceof _)) return new _(T);
|
|
13395
13395
|
if (!T || T.length !== 4)
|
|
13396
13396
|
throw new Error("BezierEasing: points must contains 4 values");
|
|
13397
13397
|
for (var k = 0; k < 4; ++k)
|
|
@@ -13401,7 +13401,7 @@ function requireBezierEasing() {
|
|
|
13401
13401
|
throw new Error("BezierEasing x values must be in [0, 1] range.");
|
|
13402
13402
|
this._str = "BezierEasing(" + T + ")", this._css = "cubic-bezier(" + T + ")", this._p = T, this._mSampleValues = a ? new Float32Array(r) : new Array(r), this._precomputed = !1, this.get = this.get.bind(this);
|
|
13403
13403
|
}
|
|
13404
|
-
return
|
|
13404
|
+
return _.prototype = {
|
|
13405
13405
|
get: function(T) {
|
|
13406
13406
|
var A = this._p[0], v = this._p[1], I = this._p[2], k = this._p[3];
|
|
13407
13407
|
return this._precomputed || this._precompute(), A === v && I === k ? T : T === 0 ? 0 : T === 1 ? 1 : h(this._getTForX(T), v, k);
|
|
@@ -13434,13 +13434,13 @@ function requireBezierEasing() {
|
|
|
13434
13434
|
var E = (T - I[N]) / (I[N + 1] - I[N]), F = k + E * s, L = f(F, A, v);
|
|
13435
13435
|
return L >= t ? b(T, F, A, v) : L === 0 ? F : g(T, k, k + s, A, v);
|
|
13436
13436
|
}
|
|
13437
|
-
},
|
|
13438
|
-
ease:
|
|
13439
|
-
linear:
|
|
13440
|
-
"ease-in":
|
|
13441
|
-
"ease-out":
|
|
13442
|
-
"ease-in-out":
|
|
13443
|
-
}, bezierEasing =
|
|
13437
|
+
}, _.css = {
|
|
13438
|
+
ease: _.ease = _(0.25, 0.1, 0.25, 1),
|
|
13439
|
+
linear: _.linear = _(0, 0, 1, 1),
|
|
13440
|
+
"ease-in": _.easeIn = _(0.42, 0, 1, 1),
|
|
13441
|
+
"ease-out": _.easeOut = _(0, 0, 0.58, 1),
|
|
13442
|
+
"ease-in-out": _.easeInOut = _(0.42, 0, 0.58, 1)
|
|
13443
|
+
}, bezierEasing = _, bezierEasing;
|
|
13444
13444
|
}
|
|
13445
13445
|
var bezierEasingExports = requireBezierEasing();
|
|
13446
13446
|
const BezierEasing = /* @__PURE__ */ getDefaultExportFromCjs(bezierEasingExports);
|
|
@@ -13732,7 +13732,7 @@ function createNodeFromReactComponent(e) {
|
|
|
13732
13732
|
function b(v, I) {
|
|
13733
13733
|
this.clientBoundingRect = I, v === "x" ? this.flagOutputDirty("screenPositionX") : v === "y" ? this.flagOutputDirty("screenPositionY") : v === "width" ? this.flagOutputDirty("boundingWidth") : v === "height" && this.flagOutputDirty("boundingHeight");
|
|
13734
13734
|
}
|
|
13735
|
-
const
|
|
13735
|
+
const _ = e.useVariants !== void 0 ? e.useVariants : !0, T = {
|
|
13736
13736
|
name: e.name,
|
|
13737
13737
|
docs: e.docs,
|
|
13738
13738
|
displayNodeName: e.displayNodeName || e.displayName,
|
|
@@ -13743,7 +13743,7 @@ function createNodeFromReactComponent(e) {
|
|
|
13743
13743
|
visualStates: e.visualStates,
|
|
13744
13744
|
allowAsExportRoot: e.allowAsExportRoot,
|
|
13745
13745
|
singleton: e.singleton,
|
|
13746
|
-
useVariants:
|
|
13746
|
+
useVariants: _,
|
|
13747
13747
|
usePortAsLabel: e.usePortAsLabel,
|
|
13748
13748
|
portLabelTruncationMode: e.portLabelTruncationMode,
|
|
13749
13749
|
connectionPanel: e.connectionPanel,
|
|
@@ -14142,7 +14142,7 @@ function createNodeFromReactComponent(e) {
|
|
|
14142
14142
|
}
|
|
14143
14143
|
}
|
|
14144
14144
|
};
|
|
14145
|
-
|
|
14145
|
+
_ && (T.inputs.variant = {
|
|
14146
14146
|
displayName: "Variant",
|
|
14147
14147
|
group: "General",
|
|
14148
14148
|
type: {
|
|
@@ -14480,16 +14480,26 @@ function Button$2(e) {
|
|
|
14480
14480
|
Layout.size(t, e), Layout.align(t, e), e.textStyle !== void 0 && (t = Object.assign({}, e.textStyle, t), t.color = e.noodlNode.context.styles.resolveColor(t.color));
|
|
14481
14481
|
function n() {
|
|
14482
14482
|
const s = {};
|
|
14483
|
-
|
|
14484
|
-
|
|
14485
|
-
|
|
14486
|
-
|
|
14487
|
-
|
|
14488
|
-
|
|
14489
|
-
|
|
14490
|
-
|
|
14491
|
-
|
|
14492
|
-
|
|
14483
|
+
if (e.useLabel && (e.iconPlacement === "left" || e.iconPlacement === void 0 ? s.marginRight = e.iconSpacing : s.marginLeft = e.iconSpacing), e.iconSourceType === "image" && e.iconImageSource !== void 0) {
|
|
14484
|
+
s.width = e.iconSize, s.height = e.iconSize;
|
|
14485
|
+
let a = e.iconImageSource;
|
|
14486
|
+
if (typeof a == "string" && a.startsWith("/")) {
|
|
14487
|
+
const l = Noodl.Env.BaseUrl;
|
|
14488
|
+
l && (a = l + a.substring(1));
|
|
14489
|
+
}
|
|
14490
|
+
return /* @__PURE__ */ React.createElement("img", { alt: "", src: a, style: s });
|
|
14491
|
+
} else if (e.iconSourceType === "icon" && e.iconIconSource !== void 0)
|
|
14492
|
+
return s.fontSize = e.iconSize, s.color = e.iconColor, e.iconIconSource.codeAsClass === !0 ? /* @__PURE__ */ React.createElement(
|
|
14493
|
+
"span",
|
|
14494
|
+
{
|
|
14495
|
+
className: [
|
|
14496
|
+
e.iconIconSource.class,
|
|
14497
|
+
e.iconIconSource.code
|
|
14498
|
+
].join(" "),
|
|
14499
|
+
style: s
|
|
14500
|
+
}
|
|
14501
|
+
) : /* @__PURE__ */ React.createElement("span", { className: e.iconIconSource.class, style: s }, e.iconIconSource.code);
|
|
14502
|
+
return null;
|
|
14493
14503
|
}
|
|
14494
14504
|
let o = "ndl-controls-button";
|
|
14495
14505
|
e.className && (o = o + " " + e.className);
|
|
@@ -14626,12 +14636,17 @@ function Checkbox(e) {
|
|
|
14626
14636
|
};
|
|
14627
14637
|
e.useLabel || (Object.assign(r, Utils$1.controlEvents(e)), Object.assign(s, o));
|
|
14628
14638
|
function a() {
|
|
14629
|
-
if (e.iconSourceType === "image" && e.iconImageSource !== void 0)
|
|
14639
|
+
if (e.iconSourceType === "image" && e.iconImageSource !== void 0) {
|
|
14640
|
+
let u = e.iconImageSource;
|
|
14641
|
+
if (typeof u == "string" && u.startsWith("/")) {
|
|
14642
|
+
const d = Noodl.Env.BaseUrl;
|
|
14643
|
+
d && (u = d + u.substring(1));
|
|
14644
|
+
}
|
|
14630
14645
|
return /* @__PURE__ */ React__default.createElement(
|
|
14631
14646
|
"img",
|
|
14632
14647
|
{
|
|
14633
14648
|
alt: "",
|
|
14634
|
-
src:
|
|
14649
|
+
src: u,
|
|
14635
14650
|
style: {
|
|
14636
14651
|
width: e.iconSize,
|
|
14637
14652
|
height: e.iconSize,
|
|
@@ -14639,7 +14654,7 @@ function Checkbox(e) {
|
|
|
14639
14654
|
}
|
|
14640
14655
|
}
|
|
14641
14656
|
);
|
|
14642
|
-
if (e.iconSourceType === "icon" && e.iconIconSource !== void 0) {
|
|
14657
|
+
} else if (e.iconSourceType === "icon" && e.iconIconSource !== void 0) {
|
|
14643
14658
|
const u = {
|
|
14644
14659
|
fontSize: e.iconSize,
|
|
14645
14660
|
color: e.iconColor,
|
|
@@ -14866,32 +14881,37 @@ function Select(e) {
|
|
|
14866
14881
|
}, [e.value, e.items]);
|
|
14867
14882
|
let o = { ...e.style };
|
|
14868
14883
|
Layout.size(o, e), Layout.align(o, e), e.textStyle !== void 0 && (o = Object.assign({}, e.textStyle, o), o.color = e.noodlNode.context.styles.resolveColor(o.color));
|
|
14869
|
-
const r = !e.items || t === void 0 ? -1 : e.items.findIndex((
|
|
14884
|
+
const r = !e.items || t === void 0 ? -1 : e.items.findIndex((_) => _.Value === t), { height: s, ...a } = o;
|
|
14870
14885
|
function l() {
|
|
14871
|
-
if (e.iconSourceType === "image" && e.iconImageSource !== void 0)
|
|
14886
|
+
if (e.iconSourceType === "image" && e.iconImageSource !== void 0) {
|
|
14887
|
+
let _ = e.iconImageSource;
|
|
14888
|
+
if (typeof _ == "string" && _.startsWith("/")) {
|
|
14889
|
+
const T = Noodl.Env.BaseUrl;
|
|
14890
|
+
T && (_ = T + _.substring(1));
|
|
14891
|
+
}
|
|
14872
14892
|
return /* @__PURE__ */ React__default.createElement(
|
|
14873
14893
|
"img",
|
|
14874
14894
|
{
|
|
14875
14895
|
alt: "",
|
|
14876
|
-
src:
|
|
14896
|
+
src: _,
|
|
14877
14897
|
style: { width: e.iconSize, height: e.iconSize }
|
|
14878
14898
|
}
|
|
14879
14899
|
);
|
|
14880
|
-
if (e.iconSourceType === "icon" && e.iconIconSource !== void 0) {
|
|
14881
|
-
const
|
|
14900
|
+
} else if (e.iconSourceType === "icon" && e.iconIconSource !== void 0) {
|
|
14901
|
+
const _ = {
|
|
14882
14902
|
fontSize: e.iconSize,
|
|
14883
14903
|
color: e.iconColor
|
|
14884
14904
|
};
|
|
14885
|
-
return e.iconPlacement === "left" || e.iconPlacement === void 0 ?
|
|
14905
|
+
return e.iconPlacement === "left" || e.iconPlacement === void 0 ? _.marginRight = e.iconSpacing : _.marginLeft = e.iconSpacing, e.iconIconSource.codeAsClass === !0 ? /* @__PURE__ */ React__default.createElement(
|
|
14886
14906
|
"span",
|
|
14887
14907
|
{
|
|
14888
14908
|
className: [
|
|
14889
14909
|
e.iconIconSource.class,
|
|
14890
14910
|
e.iconIconSource.code
|
|
14891
14911
|
].join(" "),
|
|
14892
|
-
style:
|
|
14912
|
+
style: _
|
|
14893
14913
|
}
|
|
14894
|
-
) : /* @__PURE__ */ React__default.createElement("span", { className: e.iconIconSource.class, style:
|
|
14914
|
+
) : /* @__PURE__ */ React__default.createElement("span", { className: e.iconIconSource.class, style: _ }, e.iconIconSource.code);
|
|
14895
14915
|
}
|
|
14896
14916
|
return null;
|
|
14897
14917
|
}
|
|
@@ -14917,14 +14937,14 @@ function Select(e) {
|
|
|
14917
14937
|
}, h = s && s[String(s).length - 1] === "%";
|
|
14918
14938
|
e.useLabel ? h ? d.flexGrow = 1 : d.height = s : (Object.assign(d, a), d.height = s);
|
|
14919
14939
|
let f = [];
|
|
14920
|
-
e.items && (f = e.items.map((
|
|
14940
|
+
e.items && (f = e.items.map((_) => /* @__PURE__ */ React__default.createElement(
|
|
14921
14941
|
"option",
|
|
14922
14942
|
{
|
|
14923
|
-
key:
|
|
14924
|
-
value:
|
|
14925
|
-
disabled:
|
|
14943
|
+
key: _.Value,
|
|
14944
|
+
value: _.Value,
|
|
14945
|
+
disabled: _.Disabled === "true" || _.Disabled === !0 ? !0 : void 0
|
|
14926
14946
|
},
|
|
14927
|
-
|
|
14947
|
+
_.Label
|
|
14928
14948
|
)));
|
|
14929
14949
|
let g = null;
|
|
14930
14950
|
r >= 0 && r < e.items.items.length ? g = /* @__PURE__ */ React__default.createElement("span", null, e.items.items[r].Label) : e.placeholder && (g = /* @__PURE__ */ React__default.createElement("span", { style: { opacity: e.placeholderOpacity } }, e.placeholder));
|
|
@@ -14954,10 +14974,10 @@ function Select(e) {
|
|
|
14954
14974
|
{
|
|
14955
14975
|
...u,
|
|
14956
14976
|
disabled: !e.enabled,
|
|
14957
|
-
value: f.find((
|
|
14977
|
+
value: f.find((_) => _.props.value === t) ? t : void 0,
|
|
14958
14978
|
...Utils$1.controlEvents(e),
|
|
14959
|
-
onChange: (
|
|
14960
|
-
n(
|
|
14979
|
+
onChange: (_) => {
|
|
14980
|
+
n(_.target.value), e.valueChanged && e.valueChanged(_.target.value);
|
|
14961
14981
|
}
|
|
14962
14982
|
},
|
|
14963
14983
|
/* @__PURE__ */ React__default.createElement("option", { value: "", disabled: !0, selected: !0, hidden: !0 }),
|
|
@@ -14965,12 +14985,12 @@ function Select(e) {
|
|
|
14965
14985
|
)
|
|
14966
14986
|
);
|
|
14967
14987
|
if (e.useLabel) {
|
|
14968
|
-
const
|
|
14988
|
+
const _ = {
|
|
14969
14989
|
...a,
|
|
14970
14990
|
display: "flex",
|
|
14971
14991
|
flexDirection: "column"
|
|
14972
14992
|
};
|
|
14973
|
-
return h && (
|
|
14993
|
+
return h && (_.height = s), /* @__PURE__ */ React__default.createElement("div", { style: _ }, /* @__PURE__ */ React__default.createElement(
|
|
14974
14994
|
"label",
|
|
14975
14995
|
{
|
|
14976
14996
|
htmlFor: e.id,
|
|
@@ -15159,16 +15179,21 @@ function RadioButton$2(e) {
|
|
|
15159
15179
|
};
|
|
15160
15180
|
e.useLabel ? isPercentage(e.styles.radio.width) && (delete r.width, r.flexGrow = 1) : (Object.assign(o, Utils$1.controlEvents(e)), Object.assign(r, n));
|
|
15161
15181
|
function s() {
|
|
15162
|
-
if (e.iconSourceType === "image" && e.iconImageSource !== void 0)
|
|
15182
|
+
if (e.iconSourceType === "image" && e.iconImageSource !== void 0) {
|
|
15183
|
+
let u = e.iconImageSource;
|
|
15184
|
+
if (typeof u == "string" && u.startsWith("/")) {
|
|
15185
|
+
const d = Noodl.Env.BaseUrl;
|
|
15186
|
+
d && (u = d + u.substring(1));
|
|
15187
|
+
}
|
|
15163
15188
|
return /* @__PURE__ */ React__default.createElement(
|
|
15164
15189
|
"img",
|
|
15165
15190
|
{
|
|
15166
15191
|
alt: "",
|
|
15167
|
-
src:
|
|
15192
|
+
src: u,
|
|
15168
15193
|
style: { width: e.iconSize, height: e.iconSize }
|
|
15169
15194
|
}
|
|
15170
15195
|
);
|
|
15171
|
-
if (e.iconSourceType === "icon" && e.iconIconSource !== void 0) {
|
|
15196
|
+
} else if (e.iconSourceType === "icon" && e.iconIconSource !== void 0) {
|
|
15172
15197
|
const u = { fontSize: e.iconSize, color: e.iconColor };
|
|
15173
15198
|
return e.iconIconSource.codeAsClass === !0 ? /* @__PURE__ */ React__default.createElement(
|
|
15174
15199
|
"span",
|
|
@@ -15822,7 +15847,7 @@ function addBorderInputs(e, t) {
|
|
|
15822
15847
|
`${h} = solid OR ${h} = dashed OR ${h} = dotted ${b}`,
|
|
15823
15848
|
[`${f}`, `${g}`]
|
|
15824
15849
|
);
|
|
15825
|
-
const
|
|
15850
|
+
const _ = {
|
|
15826
15851
|
group: t.propPrefix + "-border-styles",
|
|
15827
15852
|
tab: u,
|
|
15828
15853
|
label: l
|
|
@@ -15843,7 +15868,7 @@ function addBorderInputs(e, t) {
|
|
|
15843
15868
|
]
|
|
15844
15869
|
},
|
|
15845
15870
|
default: n[`border${l}Style`],
|
|
15846
|
-
tab:
|
|
15871
|
+
tab: _,
|
|
15847
15872
|
popout: o,
|
|
15848
15873
|
allowVisualStates: !0
|
|
15849
15874
|
},
|
|
@@ -15858,7 +15883,7 @@ function addBorderInputs(e, t) {
|
|
|
15858
15883
|
defaultUnit: "px"
|
|
15859
15884
|
},
|
|
15860
15885
|
default: n[`border${l}Width`],
|
|
15861
|
-
tab:
|
|
15886
|
+
tab: _,
|
|
15862
15887
|
popout: o,
|
|
15863
15888
|
allowVisualStates: !0
|
|
15864
15889
|
},
|
|
@@ -15869,7 +15894,7 @@ function addBorderInputs(e, t) {
|
|
|
15869
15894
|
group: v,
|
|
15870
15895
|
type: "color",
|
|
15871
15896
|
default: n[`border${l}Color`],
|
|
15872
|
-
tab:
|
|
15897
|
+
tab: _,
|
|
15873
15898
|
popout: o,
|
|
15874
15899
|
allowVisualStates: !0
|
|
15875
15900
|
}
|
|
@@ -16047,12 +16072,17 @@ let TextInput$2 = class extends React__default.Component {
|
|
|
16047
16072
|
const t = { ...this.props.style };
|
|
16048
16073
|
Layout.size(t, this.props), Layout.align(t, this.props), t.opacity === 0 && (t.pointerEvents = "none");
|
|
16049
16074
|
const { height: n, ...o } = t, r = o, s = this.props, a = () => {
|
|
16050
|
-
if (s.iconSourceType === "image" && s.iconImageSource !== void 0)
|
|
16075
|
+
if (s.iconSourceType === "image" && s.iconImageSource !== void 0) {
|
|
16076
|
+
let _ = s.iconImageSource;
|
|
16077
|
+
if (typeof _ == "string" && _.startsWith("/")) {
|
|
16078
|
+
const T = Noodl.Env.BaseUrl;
|
|
16079
|
+
T && (_ = T + _.substring(1));
|
|
16080
|
+
}
|
|
16051
16081
|
return /* @__PURE__ */ React__default.createElement(
|
|
16052
16082
|
"img",
|
|
16053
16083
|
{
|
|
16054
16084
|
alt: "",
|
|
16055
|
-
src:
|
|
16085
|
+
src: _,
|
|
16056
16086
|
style: {
|
|
16057
16087
|
width: s.iconSize,
|
|
16058
16088
|
height: s.iconSize
|
|
@@ -16060,22 +16090,22 @@ let TextInput$2 = class extends React__default.Component {
|
|
|
16060
16090
|
onClick: () => this.focus()
|
|
16061
16091
|
}
|
|
16062
16092
|
);
|
|
16063
|
-
if (s.iconSourceType === "icon" && s.iconIconSource !== void 0) {
|
|
16064
|
-
const
|
|
16093
|
+
} else if (s.iconSourceType === "icon" && s.iconIconSource !== void 0) {
|
|
16094
|
+
const _ = {
|
|
16065
16095
|
userSelect: "none",
|
|
16066
16096
|
fontSize: s.iconSize,
|
|
16067
16097
|
color: s.iconColor
|
|
16068
16098
|
};
|
|
16069
|
-
return s.iconPlacement === "left" || s.iconPlacement === void 0 ?
|
|
16099
|
+
return s.iconPlacement === "left" || s.iconPlacement === void 0 ? _.marginRight = s.iconSpacing : _.marginLeft = s.iconSpacing, s.iconIconSource.codeAsClass === !0 ? /* @__PURE__ */ React__default.createElement(
|
|
16070
16100
|
"span",
|
|
16071
16101
|
{
|
|
16072
16102
|
className: [
|
|
16073
16103
|
s.iconIconSource.class,
|
|
16074
16104
|
s.iconIconSource.code
|
|
16075
16105
|
].join(" "),
|
|
16076
|
-
style:
|
|
16106
|
+
style: _
|
|
16077
16107
|
}
|
|
16078
|
-
) : /* @__PURE__ */ React__default.createElement("span", { className: s.iconIconSource.class, style:
|
|
16108
|
+
) : /* @__PURE__ */ React__default.createElement("span", { className: s.iconIconSource.class, style: _ }, s.iconIconSource.code);
|
|
16079
16109
|
}
|
|
16080
16110
|
return null;
|
|
16081
16111
|
};
|
|
@@ -16101,28 +16131,28 @@ let TextInput$2 = class extends React__default.Component {
|
|
|
16101
16131
|
className: l,
|
|
16102
16132
|
placeholder: s.placeholder,
|
|
16103
16133
|
maxLength: s.maxLength,
|
|
16104
|
-
onChange: (
|
|
16134
|
+
onChange: (_) => this.onChange(_)
|
|
16105
16135
|
};
|
|
16106
16136
|
s.type !== "textArea" ? u = /* @__PURE__ */ React__default.createElement(
|
|
16107
16137
|
"input",
|
|
16108
16138
|
{
|
|
16109
|
-
ref: (
|
|
16110
|
-
this.ref.current =
|
|
16139
|
+
ref: (_) => {
|
|
16140
|
+
this.ref.current = _;
|
|
16111
16141
|
},
|
|
16112
16142
|
type: this.props.type,
|
|
16113
16143
|
...h,
|
|
16114
|
-
onKeyDown: (
|
|
16144
|
+
onKeyDown: (_) => this.onKeyDown(_),
|
|
16115
16145
|
onMouseDown: () => window.addEventListener("click", preventGlobalFocusChange$1, !0),
|
|
16116
16146
|
"noodl-style-tag": "input"
|
|
16117
16147
|
}
|
|
16118
16148
|
) : (h.style.resize = "none", u = /* @__PURE__ */ React__default.createElement(
|
|
16119
16149
|
"textarea",
|
|
16120
16150
|
{
|
|
16121
|
-
ref: (
|
|
16122
|
-
this.ref.current =
|
|
16151
|
+
ref: (_) => {
|
|
16152
|
+
this.ref.current = _;
|
|
16123
16153
|
},
|
|
16124
16154
|
...h,
|
|
16125
|
-
onKeyDown: (
|
|
16155
|
+
onKeyDown: (_) => this.onKeyDown(_),
|
|
16126
16156
|
"noodl-style-tag": "input"
|
|
16127
16157
|
}
|
|
16128
16158
|
));
|
|
@@ -16135,14 +16165,14 @@ let TextInput$2 = class extends React__default.Component {
|
|
|
16135
16165
|
const b = /* @__PURE__ */ React__default.createElement("div", { style: f, "noodl-style-tag": "inputWrapper" }, s.useIcon && s.iconPlacement === "left" ? a() : null, u, s.useIcon && s.iconPlacement === "right" ? a() : null);
|
|
16136
16166
|
if (s.useLabel) {
|
|
16137
16167
|
r.display = "flex", r.flexDirection = "column", g && (r.height = n);
|
|
16138
|
-
const
|
|
16168
|
+
const _ = {
|
|
16139
16169
|
...s.labeltextStyle,
|
|
16140
16170
|
...s.styles.label,
|
|
16141
16171
|
marginBottom: s.labelSpacing
|
|
16142
16172
|
};
|
|
16143
|
-
return
|
|
16144
|
-
|
|
16145
|
-
), /* @__PURE__ */ React__default.createElement("div", { style: r }, /* @__PURE__ */ React__default.createElement("label", { htmlFor: s.id, style:
|
|
16173
|
+
return _.color = s.noodlNode.context.styles.resolveColor(
|
|
16174
|
+
_.color
|
|
16175
|
+
), /* @__PURE__ */ React__default.createElement("div", { style: r }, /* @__PURE__ */ React__default.createElement("label", { htmlFor: s.id, style: _, "noodl-style-tag": "label" }, s.label), b);
|
|
16146
16176
|
} else
|
|
16147
16177
|
return b;
|
|
16148
16178
|
}
|
|
@@ -18875,7 +18905,7 @@ function requireReactDraggable_min() {
|
|
|
18875
18905
|
);
|
|
18876
18906
|
}
|
|
18877
18907
|
});
|
|
18878
|
-
var f = h(359), g = h(697), b = /* @__PURE__ */ h.n(g),
|
|
18908
|
+
var f = h(359), g = h(697), b = /* @__PURE__ */ h.n(g), _ = h(318), T = /* @__PURE__ */ h.n(_);
|
|
18879
18909
|
function A(c) {
|
|
18880
18910
|
var p, y, S = "";
|
|
18881
18911
|
if (typeof c == "string" || typeof c == "number")
|
|
@@ -19703,7 +19733,7 @@ function requireReactDraggable_min() {
|
|
|
19703
19733
|
function b() {
|
|
19704
19734
|
}
|
|
19705
19735
|
b.resetWarningCache = g, u.exports = function() {
|
|
19706
|
-
function
|
|
19736
|
+
function _(v, I, k, N, w, E) {
|
|
19707
19737
|
if (E !== f) {
|
|
19708
19738
|
var F = new Error(
|
|
19709
19739
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -19711,25 +19741,25 @@ function requireReactDraggable_min() {
|
|
|
19711
19741
|
throw F.name = "Invariant Violation", F;
|
|
19712
19742
|
}
|
|
19713
19743
|
}
|
|
19714
|
-
|
|
19744
|
+
_.isRequired = _;
|
|
19715
19745
|
function T() {
|
|
19716
|
-
return
|
|
19746
|
+
return _;
|
|
19717
19747
|
}
|
|
19718
19748
|
var A = {
|
|
19719
|
-
array:
|
|
19720
|
-
bigint:
|
|
19721
|
-
bool:
|
|
19722
|
-
func:
|
|
19723
|
-
number:
|
|
19724
|
-
object:
|
|
19725
|
-
string:
|
|
19726
|
-
symbol:
|
|
19727
|
-
any:
|
|
19749
|
+
array: _,
|
|
19750
|
+
bigint: _,
|
|
19751
|
+
bool: _,
|
|
19752
|
+
func: _,
|
|
19753
|
+
number: _,
|
|
19754
|
+
object: _,
|
|
19755
|
+
string: _,
|
|
19756
|
+
symbol: _,
|
|
19757
|
+
any: _,
|
|
19728
19758
|
arrayOf: T,
|
|
19729
|
-
element:
|
|
19730
|
-
elementType:
|
|
19759
|
+
element: _,
|
|
19760
|
+
elementType: _,
|
|
19731
19761
|
instanceOf: T,
|
|
19732
|
-
node:
|
|
19762
|
+
node: _,
|
|
19733
19763
|
objectOf: T,
|
|
19734
19764
|
oneOf: T,
|
|
19735
19765
|
oneOfType: T,
|
|
@@ -20785,9 +20815,9 @@ var EventEmitter$1 = (
|
|
|
20785
20815
|
}
|
|
20786
20816
|
f = (f - l) / r;
|
|
20787
20817
|
var g = s(f), b = {};
|
|
20788
|
-
Object.keys(o).forEach(function(
|
|
20789
|
-
var T = n[
|
|
20790
|
-
b[
|
|
20818
|
+
Object.keys(o).forEach(function(_) {
|
|
20819
|
+
var T = n[_], A = o[_];
|
|
20820
|
+
b[_] = (A - T) * g + T;
|
|
20791
20821
|
}), a.translate(b), d && a.hooks.trigger(a.hooks.eventTypes.move, b), a.pending && (a.timer = requestAnimationFrame$1(h)), a.pending || (a.callStopWhenPending ? a.callStopWhenPending = !1 : a.hooks.trigger(a.hooks.eventTypes.end, o));
|
|
20792
20822
|
};
|
|
20793
20823
|
this.setPending(!0), this.callStopWhenPending && this.setCallStop(!1), cancelAnimationFrame(this.timer), h();
|
|
@@ -20856,12 +20886,12 @@ var Behavior = (
|
|
|
20856
20886
|
return n;
|
|
20857
20887
|
}, e.prototype.momentum = function(t, n, o, r, s, a, l) {
|
|
20858
20888
|
l === void 0 && (l = this.options);
|
|
20859
|
-
var u = t - n, d = Math.abs(u) / o, h = l.deceleration, f = l.swipeBounceTime, g = l.swipeTime, b = Math.min(g, d * 2 / h),
|
|
20889
|
+
var u = t - n, d = Math.abs(u) / o, h = l.deceleration, f = l.swipeBounceTime, g = l.swipeTime, b = Math.min(g, d * 2 / h), _ = {
|
|
20860
20890
|
destination: t + d * d / h * (u < 0 ? -1 : 1),
|
|
20861
20891
|
duration: b,
|
|
20862
20892
|
rate: 15
|
|
20863
20893
|
};
|
|
20864
|
-
return this.hooks.trigger(this.hooks.eventTypes.momentum,
|
|
20894
|
+
return this.hooks.trigger(this.hooks.eventTypes.momentum, _, u), _.destination < r ? (_.destination = a ? Math.max(r - a / 4, r - a / _.rate * d) : r, _.duration = f) : _.destination > s && (_.destination = a ? Math.min(s + a / 4, s + a / _.rate * d) : s, _.duration = f), _.destination = Math.round(_.destination), _;
|
|
20865
20895
|
}, e.prototype.updateDirection = function() {
|
|
20866
20896
|
var t = this.currentPos - this.absStartPos;
|
|
20867
20897
|
this.setDirection(t);
|
|
@@ -21622,10 +21652,10 @@ var EventRegister$1 = (
|
|
|
21622
21652
|
if (r && this.wheelMoveTimer)
|
|
21623
21653
|
this.deltaCache.push(t);
|
|
21624
21654
|
else {
|
|
21625
|
-
var a = this.deltaCache.reduce(function(b,
|
|
21655
|
+
var a = this.deltaCache.reduce(function(b, _) {
|
|
21626
21656
|
return {
|
|
21627
|
-
x: b.x +
|
|
21628
|
-
y: b.y +
|
|
21657
|
+
x: b.x + _.x,
|
|
21658
|
+
y: b.y + _.y
|
|
21629
21659
|
};
|
|
21630
21660
|
}, { x: 0, y: 0 });
|
|
21631
21661
|
this.cleanCache();
|
|
@@ -21966,9 +21996,9 @@ var style = {
|
|
|
21966
21996
|
this.options.fade && (this.wrapper.style.opacity = "0");
|
|
21967
21997
|
}, e.prototype.handleHooks = function() {
|
|
21968
21998
|
var t = this, n = this.options, o = n.fade, r = n.interactive, s = n.scrollbarTrackClickable, a = this.scroll, l = a.hooks, u = a.scroller.translater.hooks, d = a.scroller.animater.hooks;
|
|
21969
|
-
if (this.registerHooks(l, l.eventTypes.refresh, this.refresh), this.registerHooks(u, u.eventTypes.translate, function(
|
|
21999
|
+
if (this.registerHooks(l, l.eventTypes.refresh, this.refresh), this.registerHooks(u, u.eventTypes.translate, function(_) {
|
|
21970
22000
|
var T = t.keysMap.hasScroll;
|
|
21971
|
-
t.scroll[T] && t.updatePosition(
|
|
22001
|
+
t.scroll[T] && t.updatePosition(_);
|
|
21972
22002
|
}), this.registerHooks(d, d.eventTypes.time, this.transitionTime), this.registerHooks(d, d.eventTypes.timeFunction, this.transitionTimingFunction), o && (this.registerHooks(a, a.eventTypes.scrollEnd, function() {
|
|
21973
22003
|
t.fade();
|
|
21974
22004
|
}), this.registerHooks(a, a.eventTypes.scrollStart, function() {
|
|
@@ -22086,8 +22116,8 @@ var style = {
|
|
|
22086
22116
|
var n = this.currentPos, o = this.scrollInfo, r = o.maxScrollPos, s = o.minScrollPos, a = n === s && t <= 0 || n === r && t >= 0;
|
|
22087
22117
|
return a;
|
|
22088
22118
|
}, e.prototype.syncBScroll = function(t) {
|
|
22089
|
-
var n = getNow(), o = this.scroll, r = o.x, s = o.y, a = o.options, l = o.scroller, u = o.maxScrollY, d = o.minScrollY, h = o.maxScrollX, f = o.minScrollX, g = a.probeType, b = a.momentumLimitTime,
|
|
22090
|
-
this.direction === "vertical" ?
|
|
22119
|
+
var n = getNow(), o = this.scroll, r = o.x, s = o.y, a = o.options, l = o.scroller, u = o.maxScrollY, d = o.minScrollY, h = o.maxScrollX, f = o.minScrollX, g = a.probeType, b = a.momentumLimitTime, _ = { x: r, y: s };
|
|
22120
|
+
this.direction === "vertical" ? _.y = between(t, u, d) : _.x = between(t, h, f), l.translater.translate(_), n - this.startTime > b && (this.startTime = n, g === 1 && l.hooks.trigger(l.hooks.eventTypes.scroll, _)), g > 1 && l.hooks.trigger(l.hooks.eventTypes.scroll, _);
|
|
22091
22121
|
}, e.prototype.newPos = function(t, n, o) {
|
|
22092
22122
|
var r = o.maxScrollPos, s = o.sizeRatio, a = o.minScrollPos, l = t + n;
|
|
22093
22123
|
return l = between(l, a, r), Math.round(l / s);
|
|
@@ -26628,8 +26658,8 @@ const EventSender$1 = {
|
|
|
26628
26658
|
), d = {};
|
|
26629
26659
|
u.forEach((g) => {
|
|
26630
26660
|
const b = g.parameters.payload ? g.parameters.payload.split(",") : [];
|
|
26631
|
-
for (let
|
|
26632
|
-
d[
|
|
26661
|
+
for (let _ of b)
|
|
26662
|
+
d[_] = !0;
|
|
26633
26663
|
});
|
|
26634
26664
|
var h = [];
|
|
26635
26665
|
for (var f in d)
|
|
@@ -30513,9 +30543,9 @@ function setup(e, t) {
|
|
|
30513
30543
|
plug: "input",
|
|
30514
30544
|
type: {
|
|
30515
30545
|
name: "enum",
|
|
30516
|
-
enums: f.map((
|
|
30517
|
-
label:
|
|
30518
|
-
value:
|
|
30546
|
+
enums: f.map((_) => ({
|
|
30547
|
+
label: _.label,
|
|
30548
|
+
value: _.id
|
|
30519
30549
|
}))
|
|
30520
30550
|
},
|
|
30521
30551
|
group: "General",
|
|
@@ -30525,9 +30555,9 @@ function setup(e, t) {
|
|
|
30525
30555
|
});
|
|
30526
30556
|
const g = o.parameters.target || f[0].id, b = h.parameters["pageComp-" + g];
|
|
30527
30557
|
if (b !== void 0) {
|
|
30528
|
-
const
|
|
30529
|
-
if (
|
|
30530
|
-
for (const T in
|
|
30558
|
+
const _ = t.components[b];
|
|
30559
|
+
if (_ !== void 0) {
|
|
30560
|
+
for (const T in _.inputPorts)
|
|
30531
30561
|
l.push({
|
|
30532
30562
|
name: "pm-" + T,
|
|
30533
30563
|
displayName: T,
|
|
@@ -30535,7 +30565,7 @@ function setup(e, t) {
|
|
|
30535
30565
|
plug: "input",
|
|
30536
30566
|
group: "Parameters"
|
|
30537
30567
|
});
|
|
30538
|
-
for (const T of
|
|
30568
|
+
for (const T of _.getNodesWithType(
|
|
30539
30569
|
"PageStackNavigateBack"
|
|
30540
30570
|
))
|
|
30541
30571
|
T.parameters.backActions !== void 0 && T.parameters.backActions.split(",").forEach((A) => {
|
|
@@ -33532,7 +33562,7 @@ lodash_isequal.exports;
|
|
|
33532
33562
|
var hasRequiredLodash_isequal;
|
|
33533
33563
|
function requireLodash_isequal() {
|
|
33534
33564
|
return hasRequiredLodash_isequal || (hasRequiredLodash_isequal = 1, function(e, t) {
|
|
33535
|
-
var n = 200, o = "__lodash_hash_undefined__", r = 1, s = 2, a = 9007199254740991, l = "[object Arguments]", u = "[object Array]", d = "[object AsyncFunction]", h = "[object Boolean]", f = "[object Date]", g = "[object Error]", b = "[object Function]",
|
|
33565
|
+
var n = 200, o = "__lodash_hash_undefined__", r = 1, s = 2, a = 9007199254740991, l = "[object Arguments]", u = "[object Array]", d = "[object AsyncFunction]", h = "[object Boolean]", f = "[object Date]", g = "[object Error]", b = "[object Function]", _ = "[object GeneratorFunction]", T = "[object Map]", A = "[object Number]", v = "[object Null]", I = "[object Object]", k = "[object Promise]", N = "[object Proxy]", w = "[object RegExp]", E = "[object Set]", F = "[object String]", L = "[object Symbol]", B = "[object Undefined]", H = "[object WeakMap]", J = "[object ArrayBuffer]", ie = "[object DataView]", pe = "[object Float32Array]", xe = "[object Float64Array]", Me = "[object Int8Array]", ae = "[object Int16Array]", Ie = "[object Int32Array]", Te = "[object Uint8Array]", Ne = "[object Uint8ClampedArray]", me = "[object Uint16Array]", Ee = "[object Uint32Array]", Ae = /[\\^$.*+?()[\]{}|]/g, qe = /^\[object .+?Constructor\]$/, Fe = /^(?:0|[1-9]\d*)$/, Y = {};
|
|
33536
33566
|
Y[pe] = Y[xe] = Y[Me] = Y[ae] = Y[Ie] = Y[Te] = Y[Ne] = Y[me] = Y[Ee] = !0, Y[l] = Y[u] = Y[J] = Y[h] = Y[ie] = Y[f] = Y[g] = Y[b] = Y[T] = Y[A] = Y[I] = Y[w] = Y[E] = Y[F] = Y[H] = !1;
|
|
33537
33567
|
var ve = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal, Ve = typeof self == "object" && self && self.Object === Object && self, re = ve || Ve || Function("return this")(), Oe = t && !t.nodeType && t, $e = Oe && !0 && e && !e.nodeType && e, Le = $e && $e.exports === Oe, fe = Le && ve.process, Xe = function() {
|
|
33538
33568
|
try {
|
|
@@ -33540,55 +33570,55 @@ function requireLodash_isequal() {
|
|
|
33540
33570
|
} catch {
|
|
33541
33571
|
}
|
|
33542
33572
|
}(), Be = Xe && Xe.isTypedArray;
|
|
33543
|
-
function De(m,
|
|
33573
|
+
function De(m, P) {
|
|
33544
33574
|
for (var D = -1, W = m == null ? 0 : m.length, Q = 0, X = []; ++D < W; ) {
|
|
33545
33575
|
var ne = m[D];
|
|
33546
|
-
|
|
33576
|
+
P(ne, D, m) && (X[Q++] = ne);
|
|
33547
33577
|
}
|
|
33548
33578
|
return X;
|
|
33549
33579
|
}
|
|
33550
|
-
function Ue(m,
|
|
33551
|
-
for (var D = -1, W =
|
|
33552
|
-
m[Q + D] =
|
|
33580
|
+
function Ue(m, P) {
|
|
33581
|
+
for (var D = -1, W = P.length, Q = m.length; ++D < W; )
|
|
33582
|
+
m[Q + D] = P[D];
|
|
33553
33583
|
return m;
|
|
33554
33584
|
}
|
|
33555
|
-
function je(m,
|
|
33585
|
+
function je(m, P) {
|
|
33556
33586
|
for (var D = -1, W = m == null ? 0 : m.length; ++D < W; )
|
|
33557
|
-
if (
|
|
33587
|
+
if (P(m[D], D, m))
|
|
33558
33588
|
return !0;
|
|
33559
33589
|
return !1;
|
|
33560
33590
|
}
|
|
33561
|
-
function Re(m,
|
|
33591
|
+
function Re(m, P) {
|
|
33562
33592
|
for (var D = -1, W = Array(m); ++D < m; )
|
|
33563
|
-
W[D] =
|
|
33593
|
+
W[D] = P(D);
|
|
33564
33594
|
return W;
|
|
33565
33595
|
}
|
|
33566
33596
|
function We(m) {
|
|
33567
|
-
return function(
|
|
33568
|
-
return m(
|
|
33597
|
+
return function(P) {
|
|
33598
|
+
return m(P);
|
|
33569
33599
|
};
|
|
33570
33600
|
}
|
|
33571
|
-
function st(m,
|
|
33572
|
-
return m.has(
|
|
33601
|
+
function st(m, P) {
|
|
33602
|
+
return m.has(P);
|
|
33573
33603
|
}
|
|
33574
|
-
function K(m,
|
|
33575
|
-
return m?.[
|
|
33604
|
+
function K(m, P) {
|
|
33605
|
+
return m?.[P];
|
|
33576
33606
|
}
|
|
33577
33607
|
function et(m) {
|
|
33578
|
-
var
|
|
33608
|
+
var P = -1, D = Array(m.size);
|
|
33579
33609
|
return m.forEach(function(W, Q) {
|
|
33580
|
-
D[++
|
|
33610
|
+
D[++P] = [Q, W];
|
|
33581
33611
|
}), D;
|
|
33582
33612
|
}
|
|
33583
|
-
function tt(m,
|
|
33613
|
+
function tt(m, P) {
|
|
33584
33614
|
return function(D) {
|
|
33585
|
-
return m(
|
|
33615
|
+
return m(P(D));
|
|
33586
33616
|
};
|
|
33587
33617
|
}
|
|
33588
33618
|
function le(m) {
|
|
33589
|
-
var
|
|
33619
|
+
var P = -1, D = Array(m.size);
|
|
33590
33620
|
return m.forEach(function(W) {
|
|
33591
|
-
D[++
|
|
33621
|
+
D[++P] = W;
|
|
33592
33622
|
}), D;
|
|
33593
33623
|
}
|
|
33594
33624
|
var ye = Array.prototype, ue = Function.prototype, Se = Object.prototype, ge = re["__core-js_shared__"], ze = ue.toString, Z = Se.hasOwnProperty, Ce = function() {
|
|
@@ -33598,9 +33628,9 @@ function requireLodash_isequal() {
|
|
|
33598
33628
|
"^" + ze.call(Z).replace(Ae, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
33599
33629
|
), y = Le ? re.Buffer : void 0, S = re.Symbol, O = re.Uint8Array, M = Se.propertyIsEnumerable, U = ye.splice, j = S ? S.toStringTag : void 0, z = Object.getOwnPropertySymbols, q = y ? y.isBuffer : void 0, C = tt(Object.keys, Object), x = lt(re, "DataView"), V = lt(re, "Map"), G = lt(re, "Promise"), ee = lt(re, "Set"), oe = lt(re, "WeakMap"), de = lt(Object, "create"), ke = ot(x), Ye = ot(V), St = ot(G), Je = ot(ee), at = ot(oe), ut = S ? S.prototype : void 0, bt = ut ? ut.valueOf : void 0;
|
|
33600
33630
|
function nt(m) {
|
|
33601
|
-
var
|
|
33602
|
-
for (this.clear(); ++
|
|
33603
|
-
var W = m[
|
|
33631
|
+
var P = -1, D = m == null ? 0 : m.length;
|
|
33632
|
+
for (this.clear(); ++P < D; ) {
|
|
33633
|
+
var W = m[P];
|
|
33604
33634
|
this.set(W[0], W[1]);
|
|
33605
33635
|
}
|
|
33606
33636
|
}
|
|
@@ -33608,30 +33638,30 @@ function requireLodash_isequal() {
|
|
|
33608
33638
|
this.__data__ = de ? de(null) : {}, this.size = 0;
|
|
33609
33639
|
}
|
|
33610
33640
|
function kt(m) {
|
|
33611
|
-
var
|
|
33612
|
-
return this.size -=
|
|
33641
|
+
var P = this.has(m) && delete this.__data__[m];
|
|
33642
|
+
return this.size -= P ? 1 : 0, P;
|
|
33613
33643
|
}
|
|
33614
33644
|
function Mt(m) {
|
|
33615
|
-
var
|
|
33645
|
+
var P = this.__data__;
|
|
33616
33646
|
if (de) {
|
|
33617
|
-
var D =
|
|
33647
|
+
var D = P[m];
|
|
33618
33648
|
return D === o ? void 0 : D;
|
|
33619
33649
|
}
|
|
33620
|
-
return Z.call(
|
|
33650
|
+
return Z.call(P, m) ? P[m] : void 0;
|
|
33621
33651
|
}
|
|
33622
33652
|
function At(m) {
|
|
33623
|
-
var
|
|
33624
|
-
return de ?
|
|
33653
|
+
var P = this.__data__;
|
|
33654
|
+
return de ? P[m] !== void 0 : Z.call(P, m);
|
|
33625
33655
|
}
|
|
33626
|
-
function Ft(m,
|
|
33656
|
+
function Ft(m, P) {
|
|
33627
33657
|
var D = this.__data__;
|
|
33628
|
-
return this.size += this.has(m) ? 0 : 1, D[m] = de &&
|
|
33658
|
+
return this.size += this.has(m) ? 0 : 1, D[m] = de && P === void 0 ? o : P, this;
|
|
33629
33659
|
}
|
|
33630
33660
|
nt.prototype.clear = Rt, nt.prototype.delete = kt, nt.prototype.get = Mt, nt.prototype.has = At, nt.prototype.set = Ft;
|
|
33631
33661
|
function He(m) {
|
|
33632
|
-
var
|
|
33633
|
-
for (this.clear(); ++
|
|
33634
|
-
var W = m[
|
|
33662
|
+
var P = -1, D = m == null ? 0 : m.length;
|
|
33663
|
+
for (this.clear(); ++P < D; ) {
|
|
33664
|
+
var W = m[P];
|
|
33635
33665
|
this.set(W[0], W[1]);
|
|
33636
33666
|
}
|
|
33637
33667
|
}
|
|
@@ -33639,28 +33669,28 @@ function requireLodash_isequal() {
|
|
|
33639
33669
|
this.__data__ = [], this.size = 0;
|
|
33640
33670
|
}
|
|
33641
33671
|
function $t(m) {
|
|
33642
|
-
var
|
|
33672
|
+
var P = this.__data__, D = ht(P, m);
|
|
33643
33673
|
if (D < 0)
|
|
33644
33674
|
return !1;
|
|
33645
|
-
var W =
|
|
33646
|
-
return D == W ?
|
|
33675
|
+
var W = P.length - 1;
|
|
33676
|
+
return D == W ? P.pop() : U.call(P, D, 1), --this.size, !0;
|
|
33647
33677
|
}
|
|
33648
33678
|
function Lt(m) {
|
|
33649
|
-
var
|
|
33650
|
-
return D < 0 ? void 0 :
|
|
33679
|
+
var P = this.__data__, D = ht(P, m);
|
|
33680
|
+
return D < 0 ? void 0 : P[D][1];
|
|
33651
33681
|
}
|
|
33652
33682
|
function Bt(m) {
|
|
33653
33683
|
return ht(this.__data__, m) > -1;
|
|
33654
33684
|
}
|
|
33655
|
-
function Ut(m,
|
|
33685
|
+
function Ut(m, P) {
|
|
33656
33686
|
var D = this.__data__, W = ht(D, m);
|
|
33657
|
-
return W < 0 ? (++this.size, D.push([m,
|
|
33687
|
+
return W < 0 ? (++this.size, D.push([m, P])) : D[W][1] = P, this;
|
|
33658
33688
|
}
|
|
33659
33689
|
He.prototype.clear = Vt, He.prototype.delete = $t, He.prototype.get = Lt, He.prototype.has = Bt, He.prototype.set = Ut;
|
|
33660
33690
|
function it(m) {
|
|
33661
|
-
var
|
|
33662
|
-
for (this.clear(); ++
|
|
33663
|
-
var W = m[
|
|
33691
|
+
var P = -1, D = m == null ? 0 : m.length;
|
|
33692
|
+
for (this.clear(); ++P < D; ) {
|
|
33693
|
+
var W = m[P];
|
|
33664
33694
|
this.set(W[0], W[1]);
|
|
33665
33695
|
}
|
|
33666
33696
|
}
|
|
@@ -33672,8 +33702,8 @@ function requireLodash_isequal() {
|
|
|
33672
33702
|
};
|
|
33673
33703
|
}
|
|
33674
33704
|
function Wt(m) {
|
|
33675
|
-
var
|
|
33676
|
-
return this.size -=
|
|
33705
|
+
var P = ft(this, m).delete(m);
|
|
33706
|
+
return this.size -= P ? 1 : 0, P;
|
|
33677
33707
|
}
|
|
33678
33708
|
function zt(m) {
|
|
33679
33709
|
return ft(this, m).get(m);
|
|
@@ -33681,15 +33711,15 @@ function requireLodash_isequal() {
|
|
|
33681
33711
|
function Ht(m) {
|
|
33682
33712
|
return ft(this, m).has(m);
|
|
33683
33713
|
}
|
|
33684
|
-
function Gt(m,
|
|
33714
|
+
function Gt(m, P) {
|
|
33685
33715
|
var D = ft(this, m), W = D.size;
|
|
33686
|
-
return D.set(m,
|
|
33716
|
+
return D.set(m, P), this.size += D.size == W ? 0 : 1, this;
|
|
33687
33717
|
}
|
|
33688
33718
|
it.prototype.clear = jt, it.prototype.delete = Wt, it.prototype.get = zt, it.prototype.has = Ht, it.prototype.set = Gt;
|
|
33689
33719
|
function pt(m) {
|
|
33690
|
-
var
|
|
33691
|
-
for (this.__data__ = new it(); ++
|
|
33692
|
-
this.add(m[
|
|
33720
|
+
var P = -1, D = m == null ? 0 : m.length;
|
|
33721
|
+
for (this.__data__ = new it(); ++P < D; )
|
|
33722
|
+
this.add(m[P]);
|
|
33693
33723
|
}
|
|
33694
33724
|
function qt(m) {
|
|
33695
33725
|
return this.__data__.set(m, o), this;
|
|
@@ -33699,15 +33729,15 @@ function requireLodash_isequal() {
|
|
|
33699
33729
|
}
|
|
33700
33730
|
pt.prototype.add = pt.prototype.push = qt, pt.prototype.has = Xt;
|
|
33701
33731
|
function Ke(m) {
|
|
33702
|
-
var
|
|
33703
|
-
this.size =
|
|
33732
|
+
var P = this.__data__ = new He(m);
|
|
33733
|
+
this.size = P.size;
|
|
33704
33734
|
}
|
|
33705
33735
|
function Yt() {
|
|
33706
33736
|
this.__data__ = new He(), this.size = 0;
|
|
33707
33737
|
}
|
|
33708
33738
|
function Jt(m) {
|
|
33709
|
-
var
|
|
33710
|
-
return this.size =
|
|
33739
|
+
var P = this.__data__, D = P.delete(m);
|
|
33740
|
+
return this.size = P.size, D;
|
|
33711
33741
|
}
|
|
33712
33742
|
function Kt(m) {
|
|
33713
33743
|
return this.__data__.get(m);
|
|
@@ -33715,18 +33745,18 @@ function requireLodash_isequal() {
|
|
|
33715
33745
|
function Qt(m) {
|
|
33716
33746
|
return this.__data__.has(m);
|
|
33717
33747
|
}
|
|
33718
|
-
function Zt(m,
|
|
33748
|
+
function Zt(m, P) {
|
|
33719
33749
|
var D = this.__data__;
|
|
33720
33750
|
if (D instanceof He) {
|
|
33721
33751
|
var W = D.__data__;
|
|
33722
33752
|
if (!V || W.length < n - 1)
|
|
33723
|
-
return W.push([m,
|
|
33753
|
+
return W.push([m, P]), this.size = ++D.size, this;
|
|
33724
33754
|
D = this.__data__ = new it(W);
|
|
33725
33755
|
}
|
|
33726
|
-
return D.set(m,
|
|
33756
|
+
return D.set(m, P), this.size = D.size, this;
|
|
33727
33757
|
}
|
|
33728
33758
|
Ke.prototype.clear = Yt, Ke.prototype.delete = Jt, Ke.prototype.get = Kt, Ke.prototype.has = Qt, Ke.prototype.set = Zt;
|
|
33729
|
-
function en(m,
|
|
33759
|
+
function en(m, P) {
|
|
33730
33760
|
var D = gt(m), W = !D && mn(m), Q = !D && !W && Nt(m), X = !D && !W && !Q && Et(m), ne = D || W || Q || X, se = ne ? Re(m.length, String) : [], ce = se.length;
|
|
33731
33761
|
for (var te in m)
|
|
33732
33762
|
Z.call(m, te) && !(ne && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
@@ -33736,14 +33766,14 @@ function requireLodash_isequal() {
|
|
|
33736
33766
|
cn(te, ce))) && se.push(te);
|
|
33737
33767
|
return se;
|
|
33738
33768
|
}
|
|
33739
|
-
function ht(m,
|
|
33769
|
+
function ht(m, P) {
|
|
33740
33770
|
for (var D = m.length; D--; )
|
|
33741
|
-
if (Ot(m[D][0],
|
|
33771
|
+
if (Ot(m[D][0], P))
|
|
33742
33772
|
return D;
|
|
33743
33773
|
return -1;
|
|
33744
33774
|
}
|
|
33745
|
-
function tn(m,
|
|
33746
|
-
var W =
|
|
33775
|
+
function tn(m, P, D) {
|
|
33776
|
+
var W = P(m);
|
|
33747
33777
|
return gt(m) ? W : Ue(W, D(m));
|
|
33748
33778
|
}
|
|
33749
33779
|
function dt(m) {
|
|
@@ -33752,34 +33782,34 @@ function requireLodash_isequal() {
|
|
|
33752
33782
|
function Ct(m) {
|
|
33753
33783
|
return ct(m) && dt(m) == l;
|
|
33754
33784
|
}
|
|
33755
|
-
function _t(m,
|
|
33756
|
-
return m ===
|
|
33785
|
+
function _t(m, P, D, W, Q) {
|
|
33786
|
+
return m === P ? !0 : m == null || P == null || !ct(m) && !ct(P) ? m !== m && P !== P : nn(m, P, D, W, _t, Q);
|
|
33757
33787
|
}
|
|
33758
|
-
function nn(m,
|
|
33759
|
-
var ne = gt(m), se = gt(
|
|
33788
|
+
function nn(m, P, D, W, Q, X) {
|
|
33789
|
+
var ne = gt(m), se = gt(P), ce = ne ? u : Qe(m), te = se ? u : Qe(P);
|
|
33760
33790
|
ce = ce == l ? I : ce, te = te == l ? I : te;
|
|
33761
33791
|
var be = ce == I, we = te == I, he = ce == te;
|
|
33762
33792
|
if (he && Nt(m)) {
|
|
33763
|
-
if (!Nt(
|
|
33793
|
+
if (!Nt(P))
|
|
33764
33794
|
return !1;
|
|
33765
33795
|
ne = !0, be = !1;
|
|
33766
33796
|
}
|
|
33767
33797
|
if (he && !be)
|
|
33768
|
-
return X || (X = new Ke()), ne || Et(m) ? Pt(m,
|
|
33798
|
+
return X || (X = new Ke()), ne || Et(m) ? Pt(m, P, D, W, Q, X) : an(m, P, ce, D, W, Q, X);
|
|
33769
33799
|
if (!(D & r)) {
|
|
33770
|
-
var _e = be && Z.call(m, "__wrapped__"), Pe = we && Z.call(
|
|
33800
|
+
var _e = be && Z.call(m, "__wrapped__"), Pe = we && Z.call(P, "__wrapped__");
|
|
33771
33801
|
if (_e || Pe) {
|
|
33772
|
-
var Ze = _e ? m.value() : m, Ge = Pe ?
|
|
33802
|
+
var Ze = _e ? m.value() : m, Ge = Pe ? P.value() : P;
|
|
33773
33803
|
return X || (X = new Ke()), Q(Ze, Ge, D, W, X);
|
|
33774
33804
|
}
|
|
33775
33805
|
}
|
|
33776
|
-
return he ? (X || (X = new Ke()), ln(m,
|
|
33806
|
+
return he ? (X || (X = new Ke()), ln(m, P, D, W, Q, X)) : !1;
|
|
33777
33807
|
}
|
|
33778
33808
|
function on(m) {
|
|
33779
33809
|
if (!Tt(m) || hn(m))
|
|
33780
33810
|
return !1;
|
|
33781
|
-
var
|
|
33782
|
-
return
|
|
33811
|
+
var P = wt(m) ? p : qe;
|
|
33812
|
+
return P.test(ot(m));
|
|
33783
33813
|
}
|
|
33784
33814
|
function rn(m) {
|
|
33785
33815
|
return ct(m) && xt(m.length) && !!Y[dt(m)];
|
|
@@ -33787,23 +33817,23 @@ function requireLodash_isequal() {
|
|
|
33787
33817
|
function sn(m) {
|
|
33788
33818
|
if (!fn(m))
|
|
33789
33819
|
return C(m);
|
|
33790
|
-
var
|
|
33820
|
+
var P = [];
|
|
33791
33821
|
for (var D in Object(m))
|
|
33792
|
-
Z.call(m, D) && D != "constructor" &&
|
|
33793
|
-
return
|
|
33822
|
+
Z.call(m, D) && D != "constructor" && P.push(D);
|
|
33823
|
+
return P;
|
|
33794
33824
|
}
|
|
33795
|
-
function Pt(m,
|
|
33796
|
-
var ne = D & r, se = m.length, ce =
|
|
33825
|
+
function Pt(m, P, D, W, Q, X) {
|
|
33826
|
+
var ne = D & r, se = m.length, ce = P.length;
|
|
33797
33827
|
if (se != ce && !(ne && ce > se))
|
|
33798
33828
|
return !1;
|
|
33799
33829
|
var te = X.get(m);
|
|
33800
|
-
if (te && X.get(
|
|
33801
|
-
return te ==
|
|
33830
|
+
if (te && X.get(P))
|
|
33831
|
+
return te == P;
|
|
33802
33832
|
var be = -1, we = !0, he = D & s ? new pt() : void 0;
|
|
33803
|
-
for (X.set(m,
|
|
33804
|
-
var _e = m[be], Pe =
|
|
33833
|
+
for (X.set(m, P), X.set(P, m); ++be < se; ) {
|
|
33834
|
+
var _e = m[be], Pe = P[be];
|
|
33805
33835
|
if (W)
|
|
33806
|
-
var Ze = ne ? W(Pe, _e, be,
|
|
33836
|
+
var Ze = ne ? W(Pe, _e, be, P, m, X) : W(_e, Pe, be, m, P, X);
|
|
33807
33837
|
if (Ze !== void 0) {
|
|
33808
33838
|
if (Ze)
|
|
33809
33839
|
continue;
|
|
@@ -33811,7 +33841,7 @@ function requireLodash_isequal() {
|
|
|
33811
33841
|
break;
|
|
33812
33842
|
}
|
|
33813
33843
|
if (he) {
|
|
33814
|
-
if (!je(
|
|
33844
|
+
if (!je(P, function(Ge, rt) {
|
|
33815
33845
|
if (!st(he, rt) && (_e === Ge || Q(_e, Ge, D, W, X)))
|
|
33816
33846
|
return he.push(rt);
|
|
33817
33847
|
})) {
|
|
@@ -33823,62 +33853,62 @@ function requireLodash_isequal() {
|
|
|
33823
33853
|
break;
|
|
33824
33854
|
}
|
|
33825
33855
|
}
|
|
33826
|
-
return X.delete(m), X.delete(
|
|
33856
|
+
return X.delete(m), X.delete(P), we;
|
|
33827
33857
|
}
|
|
33828
|
-
function an(m,
|
|
33858
|
+
function an(m, P, D, W, Q, X, ne) {
|
|
33829
33859
|
switch (D) {
|
|
33830
33860
|
case ie:
|
|
33831
|
-
if (m.byteLength !=
|
|
33861
|
+
if (m.byteLength != P.byteLength || m.byteOffset != P.byteOffset)
|
|
33832
33862
|
return !1;
|
|
33833
|
-
m = m.buffer,
|
|
33863
|
+
m = m.buffer, P = P.buffer;
|
|
33834
33864
|
case J:
|
|
33835
|
-
return !(m.byteLength !=
|
|
33865
|
+
return !(m.byteLength != P.byteLength || !X(new O(m), new O(P)));
|
|
33836
33866
|
case h:
|
|
33837
33867
|
case f:
|
|
33838
33868
|
case A:
|
|
33839
|
-
return Ot(+m, +
|
|
33869
|
+
return Ot(+m, +P);
|
|
33840
33870
|
case g:
|
|
33841
|
-
return m.name ==
|
|
33871
|
+
return m.name == P.name && m.message == P.message;
|
|
33842
33872
|
case w:
|
|
33843
33873
|
case F:
|
|
33844
|
-
return m ==
|
|
33874
|
+
return m == P + "";
|
|
33845
33875
|
case T:
|
|
33846
33876
|
var se = et;
|
|
33847
33877
|
case E:
|
|
33848
33878
|
var ce = W & r;
|
|
33849
|
-
if (se || (se = le), m.size !=
|
|
33879
|
+
if (se || (se = le), m.size != P.size && !ce)
|
|
33850
33880
|
return !1;
|
|
33851
33881
|
var te = ne.get(m);
|
|
33852
33882
|
if (te)
|
|
33853
|
-
return te ==
|
|
33854
|
-
W |= s, ne.set(m,
|
|
33855
|
-
var be = Pt(se(m), se(
|
|
33883
|
+
return te == P;
|
|
33884
|
+
W |= s, ne.set(m, P);
|
|
33885
|
+
var be = Pt(se(m), se(P), W, Q, X, ne);
|
|
33856
33886
|
return ne.delete(m), be;
|
|
33857
33887
|
case L:
|
|
33858
33888
|
if (bt)
|
|
33859
|
-
return bt.call(m) == bt.call(
|
|
33889
|
+
return bt.call(m) == bt.call(P);
|
|
33860
33890
|
}
|
|
33861
33891
|
return !1;
|
|
33862
33892
|
}
|
|
33863
|
-
function ln(m,
|
|
33864
|
-
var ne = D & r, se = It(m), ce = se.length, te = It(
|
|
33893
|
+
function ln(m, P, D, W, Q, X) {
|
|
33894
|
+
var ne = D & r, se = It(m), ce = se.length, te = It(P), be = te.length;
|
|
33865
33895
|
if (ce != be && !ne)
|
|
33866
33896
|
return !1;
|
|
33867
33897
|
for (var we = ce; we--; ) {
|
|
33868
33898
|
var he = se[we];
|
|
33869
|
-
if (!(ne ? he in
|
|
33899
|
+
if (!(ne ? he in P : Z.call(P, he)))
|
|
33870
33900
|
return !1;
|
|
33871
33901
|
}
|
|
33872
33902
|
var _e = X.get(m);
|
|
33873
|
-
if (_e && X.get(
|
|
33874
|
-
return _e ==
|
|
33903
|
+
if (_e && X.get(P))
|
|
33904
|
+
return _e == P;
|
|
33875
33905
|
var Pe = !0;
|
|
33876
|
-
X.set(m,
|
|
33906
|
+
X.set(m, P), X.set(P, m);
|
|
33877
33907
|
for (var Ze = ne; ++we < ce; ) {
|
|
33878
33908
|
he = se[we];
|
|
33879
|
-
var Ge = m[he], rt =
|
|
33909
|
+
var Ge = m[he], rt = P[he];
|
|
33880
33910
|
if (W)
|
|
33881
|
-
var Dt = ne ? W(rt, Ge, he,
|
|
33911
|
+
var Dt = ne ? W(rt, Ge, he, P, m, X) : W(Ge, rt, he, m, P, X);
|
|
33882
33912
|
if (!(Dt === void 0 ? Ge === rt || Q(Ge, rt, D, W, X) : Dt)) {
|
|
33883
33913
|
Pe = !1;
|
|
33884
33914
|
break;
|
|
@@ -33886,39 +33916,39 @@ function requireLodash_isequal() {
|
|
|
33886
33916
|
Ze || (Ze = he == "constructor");
|
|
33887
33917
|
}
|
|
33888
33918
|
if (Pe && !Ze) {
|
|
33889
|
-
var mt = m.constructor, yt =
|
|
33890
|
-
mt != yt && "constructor" in m && "constructor" in
|
|
33919
|
+
var mt = m.constructor, yt = P.constructor;
|
|
33920
|
+
mt != yt && "constructor" in m && "constructor" in P && !(typeof mt == "function" && mt instanceof mt && typeof yt == "function" && yt instanceof yt) && (Pe = !1);
|
|
33891
33921
|
}
|
|
33892
|
-
return X.delete(m), X.delete(
|
|
33922
|
+
return X.delete(m), X.delete(P), Pe;
|
|
33893
33923
|
}
|
|
33894
33924
|
function It(m) {
|
|
33895
33925
|
return tn(m, Sn, dn);
|
|
33896
33926
|
}
|
|
33897
|
-
function ft(m,
|
|
33927
|
+
function ft(m, P) {
|
|
33898
33928
|
var D = m.__data__;
|
|
33899
|
-
return pn(
|
|
33929
|
+
return pn(P) ? D[typeof P == "string" ? "string" : "hash"] : D.map;
|
|
33900
33930
|
}
|
|
33901
|
-
function lt(m,
|
|
33902
|
-
var D = K(m,
|
|
33931
|
+
function lt(m, P) {
|
|
33932
|
+
var D = K(m, P);
|
|
33903
33933
|
return on(D) ? D : void 0;
|
|
33904
33934
|
}
|
|
33905
33935
|
function un(m) {
|
|
33906
|
-
var
|
|
33936
|
+
var P = Z.call(m, j), D = m[j];
|
|
33907
33937
|
try {
|
|
33908
33938
|
m[j] = void 0;
|
|
33909
33939
|
var W = !0;
|
|
33910
33940
|
} catch {
|
|
33911
33941
|
}
|
|
33912
33942
|
var Q = c.call(m);
|
|
33913
|
-
return W && (
|
|
33943
|
+
return W && (P ? m[j] = D : delete m[j]), Q;
|
|
33914
33944
|
}
|
|
33915
33945
|
var dn = z ? function(m) {
|
|
33916
|
-
return m == null ? [] : (m = Object(m), De(z(m), function(
|
|
33917
|
-
return M.call(m,
|
|
33946
|
+
return m == null ? [] : (m = Object(m), De(z(m), function(P) {
|
|
33947
|
+
return M.call(m, P);
|
|
33918
33948
|
}));
|
|
33919
33949
|
} : bn, Qe = dt;
|
|
33920
33950
|
(x && Qe(new x(new ArrayBuffer(1))) != ie || V && Qe(new V()) != T || G && Qe(G.resolve()) != k || ee && Qe(new ee()) != E || oe && Qe(new oe()) != H) && (Qe = function(m) {
|
|
33921
|
-
var
|
|
33951
|
+
var P = dt(m), D = P == I ? m.constructor : void 0, W = D ? ot(D) : "";
|
|
33922
33952
|
if (W)
|
|
33923
33953
|
switch (W) {
|
|
33924
33954
|
case ke:
|
|
@@ -33932,20 +33962,20 @@ function requireLodash_isequal() {
|
|
|
33932
33962
|
case at:
|
|
33933
33963
|
return H;
|
|
33934
33964
|
}
|
|
33935
|
-
return
|
|
33965
|
+
return P;
|
|
33936
33966
|
});
|
|
33937
|
-
function cn(m,
|
|
33938
|
-
return
|
|
33967
|
+
function cn(m, P) {
|
|
33968
|
+
return P = P ?? a, !!P && (typeof m == "number" || Fe.test(m)) && m > -1 && m % 1 == 0 && m < P;
|
|
33939
33969
|
}
|
|
33940
33970
|
function pn(m) {
|
|
33941
|
-
var
|
|
33942
|
-
return
|
|
33971
|
+
var P = typeof m;
|
|
33972
|
+
return P == "string" || P == "number" || P == "symbol" || P == "boolean" ? m !== "__proto__" : m === null;
|
|
33943
33973
|
}
|
|
33944
33974
|
function hn(m) {
|
|
33945
33975
|
return !!Ce && Ce in m;
|
|
33946
33976
|
}
|
|
33947
33977
|
function fn(m) {
|
|
33948
|
-
var
|
|
33978
|
+
var P = m && m.constructor, D = typeof P == "function" && P.prototype || Se;
|
|
33949
33979
|
return m === D;
|
|
33950
33980
|
}
|
|
33951
33981
|
function gn(m) {
|
|
@@ -33964,8 +33994,8 @@ function requireLodash_isequal() {
|
|
|
33964
33994
|
}
|
|
33965
33995
|
return "";
|
|
33966
33996
|
}
|
|
33967
|
-
function Ot(m,
|
|
33968
|
-
return m ===
|
|
33997
|
+
function Ot(m, P) {
|
|
33998
|
+
return m === P || m !== m && P !== P;
|
|
33969
33999
|
}
|
|
33970
34000
|
var mn = Ct(/* @__PURE__ */ function() {
|
|
33971
34001
|
return arguments;
|
|
@@ -33976,21 +34006,21 @@ function requireLodash_isequal() {
|
|
|
33976
34006
|
return m != null && xt(m.length) && !wt(m);
|
|
33977
34007
|
}
|
|
33978
34008
|
var Nt = q || Nn;
|
|
33979
|
-
function vn(m,
|
|
33980
|
-
return _t(m,
|
|
34009
|
+
function vn(m, P) {
|
|
34010
|
+
return _t(m, P);
|
|
33981
34011
|
}
|
|
33982
34012
|
function wt(m) {
|
|
33983
34013
|
if (!Tt(m))
|
|
33984
34014
|
return !1;
|
|
33985
|
-
var
|
|
33986
|
-
return
|
|
34015
|
+
var P = dt(m);
|
|
34016
|
+
return P == b || P == _ || P == d || P == N;
|
|
33987
34017
|
}
|
|
33988
34018
|
function xt(m) {
|
|
33989
34019
|
return typeof m == "number" && m > -1 && m % 1 == 0 && m <= a;
|
|
33990
34020
|
}
|
|
33991
34021
|
function Tt(m) {
|
|
33992
|
-
var
|
|
33993
|
-
return m != null && (
|
|
34022
|
+
var P = typeof m;
|
|
34023
|
+
return m != null && (P == "object" || P == "function");
|
|
33994
34024
|
}
|
|
33995
34025
|
function ct(m) {
|
|
33996
34026
|
return m != null && typeof m == "object";
|
|
@@ -34494,12 +34524,12 @@ function updatePorts$1(e, t, n, o) {
|
|
|
34494
34524
|
group: "General",
|
|
34495
34525
|
type: {
|
|
34496
34526
|
name: "enum",
|
|
34497
|
-
enums: o !== void 0 ? o.map((
|
|
34527
|
+
enums: o !== void 0 ? o.map((_) => ({ value: _.name, label: _.name })) : [],
|
|
34498
34528
|
allowEditOnly: !0
|
|
34499
34529
|
},
|
|
34500
34530
|
plug: "input"
|
|
34501
34531
|
}), t.$ndlCollectionName && o) {
|
|
34502
|
-
var h = o.find((
|
|
34532
|
+
var h = o.find((_) => _.name === t.$ndlCollectionName);
|
|
34503
34533
|
if (h && h.schema && h.schema.properties) {
|
|
34504
34534
|
var f = h.schema.properties;
|
|
34505
34535
|
for (var g in f) {
|
|
@@ -34665,7 +34695,7 @@ function _convertFilterOp(e, t) {
|
|
|
34665
34695
|
objectId: g.pointsTo,
|
|
34666
34696
|
className: d
|
|
34667
34697
|
} : Array.isArray(g.pointsTo) ? o[r] = {
|
|
34668
|
-
$in: g.pointsTo.map((
|
|
34698
|
+
$in: g.pointsTo.map((_) => ({ __type: "Pointer", objectId: _, className: d }))
|
|
34669
34699
|
} : o[r] = {
|
|
34670
34700
|
$eq: {
|
|
34671
34701
|
__type: "Pointer",
|
|
@@ -34848,8 +34878,8 @@ var DbCollectionNode = {
|
|
|
34848
34878
|
var t = [];
|
|
34849
34879
|
f.forEach(function(g) {
|
|
34850
34880
|
const b = {};
|
|
34851
|
-
var
|
|
34852
|
-
b[g] = {}, b[g][
|
|
34881
|
+
var _ = "$" + (e["storageFilterOp-" + g] || "eq");
|
|
34882
|
+
b[g] = {}, b[g][_] = e["storageFilterValue-" + g], t.push(b);
|
|
34853
34883
|
});
|
|
34854
34884
|
var n = t.length > 1 ? { $and: t } : t[0];
|
|
34855
34885
|
}
|
|
@@ -34880,13 +34910,13 @@ var DbCollectionNode = {
|
|
|
34880
34910
|
var a = {}, o = [], l = this, u = function(b) {
|
|
34881
34911
|
a = _convertFilterOp(b, {
|
|
34882
34912
|
collectionName: l._internal.name,
|
|
34883
|
-
error: function(
|
|
34913
|
+
error: function(_) {
|
|
34884
34914
|
l.context.editorConnection.sendWarning(
|
|
34885
34915
|
l.nodeScope.componentOwner.name,
|
|
34886
34916
|
l.id,
|
|
34887
34917
|
"query-collection-filter",
|
|
34888
34918
|
{
|
|
34889
|
-
message:
|
|
34919
|
+
message: _
|
|
34890
34920
|
}
|
|
34891
34921
|
);
|
|
34892
34922
|
}
|