@almadar/ui 4.15.0 → 4.15.2
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/avl/index.cjs +4 -2
- package/dist/avl/index.js +4 -2
- package/dist/components/index.cjs +4 -2
- package/dist/components/index.js +4 -2
- package/dist/providers/index.cjs +4 -2
- package/dist/providers/index.js +4 -2
- package/dist/runtime/index.cjs +4 -2
- package/dist/runtime/index.js +4 -2
- package/package.json +1 -1
package/dist/avl/index.cjs
CHANGED
|
@@ -47042,7 +47042,7 @@ function renderPatternProps(props, onDismiss) {
|
|
|
47042
47042
|
} else if (isFnFormLambda(value)) {
|
|
47043
47043
|
const [, argName, body] = value;
|
|
47044
47044
|
const lambdaBody = body;
|
|
47045
|
-
|
|
47045
|
+
const fn = (item, index) => {
|
|
47046
47046
|
const resolvedBody = resolveLambdaBindings(lambdaBody, argName, item);
|
|
47047
47047
|
if (!isPatternConfig(resolvedBody)) {
|
|
47048
47048
|
return null;
|
|
@@ -47057,6 +47057,8 @@ function renderPatternProps(props, onDismiss) {
|
|
|
47057
47057
|
};
|
|
47058
47058
|
return /* @__PURE__ */ jsxRuntime.jsx(SlotContentRenderer, { content: childContent, onDismiss });
|
|
47059
47059
|
};
|
|
47060
|
+
const targetKey = key === "renderItem" ? "children" : key;
|
|
47061
|
+
rendered[targetKey] = fn;
|
|
47060
47062
|
} else {
|
|
47061
47063
|
rendered[key] = value;
|
|
47062
47064
|
}
|
|
@@ -47129,7 +47131,7 @@ function SlotContentRenderer({
|
|
|
47129
47131
|
"data-pattern-path": myPath,
|
|
47130
47132
|
"data-pattern-type": content.pattern,
|
|
47131
47133
|
"data-accepts-children": acceptsChildren ? "true" : void 0,
|
|
47132
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(PatternComponent, { ...finalProps, children: renderedChildren })
|
|
47134
|
+
children: renderedChildren !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(PatternComponent, { ...finalProps, children: renderedChildren }) : /* @__PURE__ */ jsxRuntime.jsx(PatternComponent, { ...finalProps })
|
|
47133
47135
|
}
|
|
47134
47136
|
);
|
|
47135
47137
|
}
|
package/dist/avl/index.js
CHANGED
|
@@ -46996,7 +46996,7 @@ function renderPatternProps(props, onDismiss) {
|
|
|
46996
46996
|
} else if (isFnFormLambda(value)) {
|
|
46997
46997
|
const [, argName, body] = value;
|
|
46998
46998
|
const lambdaBody = body;
|
|
46999
|
-
|
|
46999
|
+
const fn = (item, index) => {
|
|
47000
47000
|
const resolvedBody = resolveLambdaBindings(lambdaBody, argName, item);
|
|
47001
47001
|
if (!isPatternConfig(resolvedBody)) {
|
|
47002
47002
|
return null;
|
|
@@ -47011,6 +47011,8 @@ function renderPatternProps(props, onDismiss) {
|
|
|
47011
47011
|
};
|
|
47012
47012
|
return /* @__PURE__ */ jsx(SlotContentRenderer, { content: childContent, onDismiss });
|
|
47013
47013
|
};
|
|
47014
|
+
const targetKey = key === "renderItem" ? "children" : key;
|
|
47015
|
+
rendered[targetKey] = fn;
|
|
47014
47016
|
} else {
|
|
47015
47017
|
rendered[key] = value;
|
|
47016
47018
|
}
|
|
@@ -47083,7 +47085,7 @@ function SlotContentRenderer({
|
|
|
47083
47085
|
"data-pattern-path": myPath,
|
|
47084
47086
|
"data-pattern-type": content.pattern,
|
|
47085
47087
|
"data-accepts-children": acceptsChildren ? "true" : void 0,
|
|
47086
|
-
children: /* @__PURE__ */ jsx(PatternComponent, { ...finalProps, children: renderedChildren })
|
|
47088
|
+
children: renderedChildren !== void 0 ? /* @__PURE__ */ jsx(PatternComponent, { ...finalProps, children: renderedChildren }) : /* @__PURE__ */ jsx(PatternComponent, { ...finalProps })
|
|
47087
47089
|
}
|
|
47088
47090
|
);
|
|
47089
47091
|
}
|
|
@@ -37801,7 +37801,7 @@ function renderPatternProps(props, onDismiss) {
|
|
|
37801
37801
|
} else if (isFnFormLambda(value)) {
|
|
37802
37802
|
const [, argName, body] = value;
|
|
37803
37803
|
const lambdaBody = body;
|
|
37804
|
-
|
|
37804
|
+
const fn = (item, index) => {
|
|
37805
37805
|
const resolvedBody = resolveLambdaBindings(lambdaBody, argName, item);
|
|
37806
37806
|
if (!isPatternConfig(resolvedBody)) {
|
|
37807
37807
|
return null;
|
|
@@ -37816,6 +37816,8 @@ function renderPatternProps(props, onDismiss) {
|
|
|
37816
37816
|
};
|
|
37817
37817
|
return /* @__PURE__ */ jsxRuntime.jsx(SlotContentRenderer, { content: childContent, onDismiss });
|
|
37818
37818
|
};
|
|
37819
|
+
const targetKey = key === "renderItem" ? "children" : key;
|
|
37820
|
+
rendered[targetKey] = fn;
|
|
37819
37821
|
} else {
|
|
37820
37822
|
rendered[key] = value;
|
|
37821
37823
|
}
|
|
@@ -37888,7 +37890,7 @@ function SlotContentRenderer({
|
|
|
37888
37890
|
"data-pattern-path": myPath,
|
|
37889
37891
|
"data-pattern-type": content.pattern,
|
|
37890
37892
|
"data-accepts-children": acceptsChildren ? "true" : void 0,
|
|
37891
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(PatternComponent, { ...finalProps, children: renderedChildren })
|
|
37893
|
+
children: renderedChildren !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(PatternComponent, { ...finalProps, children: renderedChildren }) : /* @__PURE__ */ jsxRuntime.jsx(PatternComponent, { ...finalProps })
|
|
37892
37894
|
}
|
|
37893
37895
|
);
|
|
37894
37896
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -37756,7 +37756,7 @@ function renderPatternProps(props, onDismiss) {
|
|
|
37756
37756
|
} else if (isFnFormLambda(value)) {
|
|
37757
37757
|
const [, argName, body] = value;
|
|
37758
37758
|
const lambdaBody = body;
|
|
37759
|
-
|
|
37759
|
+
const fn = (item, index) => {
|
|
37760
37760
|
const resolvedBody = resolveLambdaBindings(lambdaBody, argName, item);
|
|
37761
37761
|
if (!isPatternConfig(resolvedBody)) {
|
|
37762
37762
|
return null;
|
|
@@ -37771,6 +37771,8 @@ function renderPatternProps(props, onDismiss) {
|
|
|
37771
37771
|
};
|
|
37772
37772
|
return /* @__PURE__ */ jsx(SlotContentRenderer, { content: childContent, onDismiss });
|
|
37773
37773
|
};
|
|
37774
|
+
const targetKey = key === "renderItem" ? "children" : key;
|
|
37775
|
+
rendered[targetKey] = fn;
|
|
37774
37776
|
} else {
|
|
37775
37777
|
rendered[key] = value;
|
|
37776
37778
|
}
|
|
@@ -37843,7 +37845,7 @@ function SlotContentRenderer({
|
|
|
37843
37845
|
"data-pattern-path": myPath,
|
|
37844
37846
|
"data-pattern-type": content.pattern,
|
|
37845
37847
|
"data-accepts-children": acceptsChildren ? "true" : void 0,
|
|
37846
|
-
children: /* @__PURE__ */ jsx(PatternComponent, { ...finalProps, children: renderedChildren })
|
|
37848
|
+
children: renderedChildren !== void 0 ? /* @__PURE__ */ jsx(PatternComponent, { ...finalProps, children: renderedChildren }) : /* @__PURE__ */ jsx(PatternComponent, { ...finalProps })
|
|
37847
37849
|
}
|
|
37848
37850
|
);
|
|
37849
37851
|
}
|
package/dist/providers/index.cjs
CHANGED
|
@@ -38321,7 +38321,7 @@ function renderPatternProps(props, onDismiss) {
|
|
|
38321
38321
|
} else if (isFnFormLambda(value)) {
|
|
38322
38322
|
const [, argName, body] = value;
|
|
38323
38323
|
const lambdaBody = body;
|
|
38324
|
-
|
|
38324
|
+
const fn = (item, index) => {
|
|
38325
38325
|
const resolvedBody = resolveLambdaBindings(lambdaBody, argName, item);
|
|
38326
38326
|
if (!isPatternConfig(resolvedBody)) {
|
|
38327
38327
|
return null;
|
|
@@ -38336,6 +38336,8 @@ function renderPatternProps(props, onDismiss) {
|
|
|
38336
38336
|
};
|
|
38337
38337
|
return /* @__PURE__ */ jsxRuntime.jsx(SlotContentRenderer, { content: childContent, onDismiss });
|
|
38338
38338
|
};
|
|
38339
|
+
const targetKey = key === "renderItem" ? "children" : key;
|
|
38340
|
+
rendered[targetKey] = fn;
|
|
38339
38341
|
} else {
|
|
38340
38342
|
rendered[key] = value;
|
|
38341
38343
|
}
|
|
@@ -38408,7 +38410,7 @@ function SlotContentRenderer({
|
|
|
38408
38410
|
"data-pattern-path": myPath,
|
|
38409
38411
|
"data-pattern-type": content.pattern,
|
|
38410
38412
|
"data-accepts-children": acceptsChildren ? "true" : void 0,
|
|
38411
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(PatternComponent, { ...finalProps, children: renderedChildren })
|
|
38413
|
+
children: renderedChildren !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(PatternComponent, { ...finalProps, children: renderedChildren }) : /* @__PURE__ */ jsxRuntime.jsx(PatternComponent, { ...finalProps })
|
|
38412
38414
|
}
|
|
38413
38415
|
);
|
|
38414
38416
|
}
|
package/dist/providers/index.js
CHANGED
|
@@ -38276,7 +38276,7 @@ function renderPatternProps(props, onDismiss) {
|
|
|
38276
38276
|
} else if (isFnFormLambda(value)) {
|
|
38277
38277
|
const [, argName, body] = value;
|
|
38278
38278
|
const lambdaBody = body;
|
|
38279
|
-
|
|
38279
|
+
const fn = (item, index) => {
|
|
38280
38280
|
const resolvedBody = resolveLambdaBindings(lambdaBody, argName, item);
|
|
38281
38281
|
if (!isPatternConfig(resolvedBody)) {
|
|
38282
38282
|
return null;
|
|
@@ -38291,6 +38291,8 @@ function renderPatternProps(props, onDismiss) {
|
|
|
38291
38291
|
};
|
|
38292
38292
|
return /* @__PURE__ */ jsx(SlotContentRenderer, { content: childContent, onDismiss });
|
|
38293
38293
|
};
|
|
38294
|
+
const targetKey = key === "renderItem" ? "children" : key;
|
|
38295
|
+
rendered[targetKey] = fn;
|
|
38294
38296
|
} else {
|
|
38295
38297
|
rendered[key] = value;
|
|
38296
38298
|
}
|
|
@@ -38363,7 +38365,7 @@ function SlotContentRenderer({
|
|
|
38363
38365
|
"data-pattern-path": myPath,
|
|
38364
38366
|
"data-pattern-type": content.pattern,
|
|
38365
38367
|
"data-accepts-children": acceptsChildren ? "true" : void 0,
|
|
38366
|
-
children: /* @__PURE__ */ jsx(PatternComponent, { ...finalProps, children: renderedChildren })
|
|
38368
|
+
children: renderedChildren !== void 0 ? /* @__PURE__ */ jsx(PatternComponent, { ...finalProps, children: renderedChildren }) : /* @__PURE__ */ jsx(PatternComponent, { ...finalProps })
|
|
38367
38369
|
}
|
|
38368
38370
|
);
|
|
38369
38371
|
}
|
package/dist/runtime/index.cjs
CHANGED
|
@@ -37914,7 +37914,7 @@ function renderPatternProps(props, onDismiss) {
|
|
|
37914
37914
|
} else if (isFnFormLambda(value)) {
|
|
37915
37915
|
const [, argName, body] = value;
|
|
37916
37916
|
const lambdaBody = body;
|
|
37917
|
-
|
|
37917
|
+
const fn = (item, index) => {
|
|
37918
37918
|
const resolvedBody = resolveLambdaBindings(lambdaBody, argName, item);
|
|
37919
37919
|
if (!isPatternConfig(resolvedBody)) {
|
|
37920
37920
|
return null;
|
|
@@ -37929,6 +37929,8 @@ function renderPatternProps(props, onDismiss) {
|
|
|
37929
37929
|
};
|
|
37930
37930
|
return /* @__PURE__ */ jsxRuntime.jsx(SlotContentRenderer, { content: childContent, onDismiss });
|
|
37931
37931
|
};
|
|
37932
|
+
const targetKey = key === "renderItem" ? "children" : key;
|
|
37933
|
+
rendered[targetKey] = fn;
|
|
37932
37934
|
} else {
|
|
37933
37935
|
rendered[key] = value;
|
|
37934
37936
|
}
|
|
@@ -38001,7 +38003,7 @@ function SlotContentRenderer({
|
|
|
38001
38003
|
"data-pattern-path": myPath,
|
|
38002
38004
|
"data-pattern-type": content.pattern,
|
|
38003
38005
|
"data-accepts-children": acceptsChildren ? "true" : void 0,
|
|
38004
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(PatternComponent, { ...finalProps, children: renderedChildren })
|
|
38006
|
+
children: renderedChildren !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(PatternComponent, { ...finalProps, children: renderedChildren }) : /* @__PURE__ */ jsxRuntime.jsx(PatternComponent, { ...finalProps })
|
|
38005
38007
|
}
|
|
38006
38008
|
);
|
|
38007
38009
|
}
|
package/dist/runtime/index.js
CHANGED
|
@@ -37869,7 +37869,7 @@ function renderPatternProps(props, onDismiss) {
|
|
|
37869
37869
|
} else if (isFnFormLambda(value)) {
|
|
37870
37870
|
const [, argName, body] = value;
|
|
37871
37871
|
const lambdaBody = body;
|
|
37872
|
-
|
|
37872
|
+
const fn = (item, index) => {
|
|
37873
37873
|
const resolvedBody = resolveLambdaBindings(lambdaBody, argName, item);
|
|
37874
37874
|
if (!isPatternConfig(resolvedBody)) {
|
|
37875
37875
|
return null;
|
|
@@ -37884,6 +37884,8 @@ function renderPatternProps(props, onDismiss) {
|
|
|
37884
37884
|
};
|
|
37885
37885
|
return /* @__PURE__ */ jsx(SlotContentRenderer, { content: childContent, onDismiss });
|
|
37886
37886
|
};
|
|
37887
|
+
const targetKey = key === "renderItem" ? "children" : key;
|
|
37888
|
+
rendered[targetKey] = fn;
|
|
37887
37889
|
} else {
|
|
37888
37890
|
rendered[key] = value;
|
|
37889
37891
|
}
|
|
@@ -37956,7 +37958,7 @@ function SlotContentRenderer({
|
|
|
37956
37958
|
"data-pattern-path": myPath,
|
|
37957
37959
|
"data-pattern-type": content.pattern,
|
|
37958
37960
|
"data-accepts-children": acceptsChildren ? "true" : void 0,
|
|
37959
|
-
children: /* @__PURE__ */ jsx(PatternComponent, { ...finalProps, children: renderedChildren })
|
|
37961
|
+
children: renderedChildren !== void 0 ? /* @__PURE__ */ jsx(PatternComponent, { ...finalProps, children: renderedChildren }) : /* @__PURE__ */ jsx(PatternComponent, { ...finalProps })
|
|
37960
37962
|
}
|
|
37961
37963
|
);
|
|
37962
37964
|
}
|