@almadar/ui 5.5.7 → 5.5.9
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 +2 -2
- package/dist/avl/index.js +2 -2
- package/dist/components/index.cjs +2 -2
- package/dist/components/index.js +2 -2
- package/dist/providers/index.cjs +2 -2
- package/dist/providers/index.js +2 -2
- package/dist/runtime/index.cjs +2 -2
- package/dist/runtime/index.js +2 -2
- package/package.json +1 -1
package/dist/avl/index.cjs
CHANGED
|
@@ -35994,7 +35994,7 @@ function nextBlockId(prefix = "blk") {
|
|
|
35994
35994
|
return `${prefix}-${Date.now().toString(36)}-${_idSeq}-${random}`;
|
|
35995
35995
|
}
|
|
35996
35996
|
function normalizeBlocks(raw) {
|
|
35997
|
-
if (!raw || raw.length === 0) return [createBlock("paragraph")];
|
|
35997
|
+
if (!Array.isArray(raw) || raw.length === 0) return [createBlock("paragraph")];
|
|
35998
35998
|
return raw.map((row) => {
|
|
35999
35999
|
const r2 = row;
|
|
36000
36000
|
const rawType = r2.type;
|
|
@@ -39972,7 +39972,7 @@ var init_FeatureDetailPageTemplate = __esm({
|
|
|
39972
39972
|
background: resolved.hero.background
|
|
39973
39973
|
}
|
|
39974
39974
|
),
|
|
39975
|
-
resolved.sections.map((section, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
39975
|
+
(Array.isArray(resolved.sections) ? resolved.sections : []).map((section, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
39976
39976
|
SplitSection,
|
|
39977
39977
|
{
|
|
39978
39978
|
title: section.title,
|
package/dist/avl/index.js
CHANGED
|
@@ -35945,7 +35945,7 @@ function nextBlockId(prefix = "blk") {
|
|
|
35945
35945
|
return `${prefix}-${Date.now().toString(36)}-${_idSeq}-${random}`;
|
|
35946
35946
|
}
|
|
35947
35947
|
function normalizeBlocks(raw) {
|
|
35948
|
-
if (!raw || raw.length === 0) return [createBlock("paragraph")];
|
|
35948
|
+
if (!Array.isArray(raw) || raw.length === 0) return [createBlock("paragraph")];
|
|
35949
35949
|
return raw.map((row) => {
|
|
35950
35950
|
const r2 = row;
|
|
35951
35951
|
const rawType = r2.type;
|
|
@@ -39923,7 +39923,7 @@ var init_FeatureDetailPageTemplate = __esm({
|
|
|
39923
39923
|
background: resolved.hero.background
|
|
39924
39924
|
}
|
|
39925
39925
|
),
|
|
39926
|
-
resolved.sections.map((section, index) => /* @__PURE__ */ jsx(
|
|
39926
|
+
(Array.isArray(resolved.sections) ? resolved.sections : []).map((section, index) => /* @__PURE__ */ jsx(
|
|
39927
39927
|
SplitSection,
|
|
39928
39928
|
{
|
|
39929
39929
|
title: section.title,
|
|
@@ -31453,7 +31453,7 @@ function nextBlockId(prefix = "blk") {
|
|
|
31453
31453
|
return `${prefix}-${Date.now().toString(36)}-${_idSeq}-${random}`;
|
|
31454
31454
|
}
|
|
31455
31455
|
function normalizeBlocks(raw) {
|
|
31456
|
-
if (!raw || raw.length === 0) return [createBlock("paragraph")];
|
|
31456
|
+
if (!Array.isArray(raw) || raw.length === 0) return [createBlock("paragraph")];
|
|
31457
31457
|
return raw.map((row) => {
|
|
31458
31458
|
const r = row;
|
|
31459
31459
|
const rawType = r.type;
|
|
@@ -36030,7 +36030,7 @@ var init_FeatureDetailPageTemplate = __esm({
|
|
|
36030
36030
|
background: resolved.hero.background
|
|
36031
36031
|
}
|
|
36032
36032
|
),
|
|
36033
|
-
resolved.sections.map((section, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
36033
|
+
(Array.isArray(resolved.sections) ? resolved.sections : []).map((section, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
36034
36034
|
exports.SplitSection,
|
|
36035
36035
|
{
|
|
36036
36036
|
title: section.title,
|
package/dist/components/index.js
CHANGED
|
@@ -31404,7 +31404,7 @@ function nextBlockId(prefix = "blk") {
|
|
|
31404
31404
|
return `${prefix}-${Date.now().toString(36)}-${_idSeq}-${random}`;
|
|
31405
31405
|
}
|
|
31406
31406
|
function normalizeBlocks(raw) {
|
|
31407
|
-
if (!raw || raw.length === 0) return [createBlock("paragraph")];
|
|
31407
|
+
if (!Array.isArray(raw) || raw.length === 0) return [createBlock("paragraph")];
|
|
31408
31408
|
return raw.map((row) => {
|
|
31409
31409
|
const r = row;
|
|
31410
31410
|
const rawType = r.type;
|
|
@@ -35981,7 +35981,7 @@ var init_FeatureDetailPageTemplate = __esm({
|
|
|
35981
35981
|
background: resolved.hero.background
|
|
35982
35982
|
}
|
|
35983
35983
|
),
|
|
35984
|
-
resolved.sections.map((section, index) => /* @__PURE__ */ jsx(
|
|
35984
|
+
(Array.isArray(resolved.sections) ? resolved.sections : []).map((section, index) => /* @__PURE__ */ jsx(
|
|
35985
35985
|
SplitSection,
|
|
35986
35986
|
{
|
|
35987
35987
|
title: section.title,
|
package/dist/providers/index.cjs
CHANGED
|
@@ -32406,7 +32406,7 @@ function nextBlockId(prefix = "blk") {
|
|
|
32406
32406
|
return `${prefix}-${Date.now().toString(36)}-${_idSeq}-${random}`;
|
|
32407
32407
|
}
|
|
32408
32408
|
function normalizeBlocks(raw) {
|
|
32409
|
-
if (!raw || raw.length === 0) return [createBlock("paragraph")];
|
|
32409
|
+
if (!Array.isArray(raw) || raw.length === 0) return [createBlock("paragraph")];
|
|
32410
32410
|
return raw.map((row) => {
|
|
32411
32411
|
const r = row;
|
|
32412
32412
|
const rawType = r.type;
|
|
@@ -36787,7 +36787,7 @@ var init_FeatureDetailPageTemplate = __esm({
|
|
|
36787
36787
|
background: resolved.hero.background
|
|
36788
36788
|
}
|
|
36789
36789
|
),
|
|
36790
|
-
resolved.sections.map((section, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
36790
|
+
(Array.isArray(resolved.sections) ? resolved.sections : []).map((section, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
36791
36791
|
SplitSection,
|
|
36792
36792
|
{
|
|
36793
36793
|
title: section.title,
|
package/dist/providers/index.js
CHANGED
|
@@ -32357,7 +32357,7 @@ function nextBlockId(prefix = "blk") {
|
|
|
32357
32357
|
return `${prefix}-${Date.now().toString(36)}-${_idSeq}-${random}`;
|
|
32358
32358
|
}
|
|
32359
32359
|
function normalizeBlocks(raw) {
|
|
32360
|
-
if (!raw || raw.length === 0) return [createBlock("paragraph")];
|
|
32360
|
+
if (!Array.isArray(raw) || raw.length === 0) return [createBlock("paragraph")];
|
|
32361
32361
|
return raw.map((row) => {
|
|
32362
32362
|
const r = row;
|
|
32363
32363
|
const rawType = r.type;
|
|
@@ -36738,7 +36738,7 @@ var init_FeatureDetailPageTemplate = __esm({
|
|
|
36738
36738
|
background: resolved.hero.background
|
|
36739
36739
|
}
|
|
36740
36740
|
),
|
|
36741
|
-
resolved.sections.map((section, index) => /* @__PURE__ */ jsx(
|
|
36741
|
+
(Array.isArray(resolved.sections) ? resolved.sections : []).map((section, index) => /* @__PURE__ */ jsx(
|
|
36742
36742
|
SplitSection,
|
|
36743
36743
|
{
|
|
36744
36744
|
title: section.title,
|
package/dist/runtime/index.cjs
CHANGED
|
@@ -31973,7 +31973,7 @@ function nextBlockId(prefix = "blk") {
|
|
|
31973
31973
|
return `${prefix}-${Date.now().toString(36)}-${_idSeq}-${random}`;
|
|
31974
31974
|
}
|
|
31975
31975
|
function normalizeBlocks(raw) {
|
|
31976
|
-
if (!raw || raw.length === 0) return [createBlock("paragraph")];
|
|
31976
|
+
if (!Array.isArray(raw) || raw.length === 0) return [createBlock("paragraph")];
|
|
31977
31977
|
return raw.map((row) => {
|
|
31978
31978
|
const r = row;
|
|
31979
31979
|
const rawType = r.type;
|
|
@@ -36354,7 +36354,7 @@ var init_FeatureDetailPageTemplate = __esm({
|
|
|
36354
36354
|
background: resolved.hero.background
|
|
36355
36355
|
}
|
|
36356
36356
|
),
|
|
36357
|
-
resolved.sections.map((section, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
36357
|
+
(Array.isArray(resolved.sections) ? resolved.sections : []).map((section, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
36358
36358
|
SplitSection,
|
|
36359
36359
|
{
|
|
36360
36360
|
title: section.title,
|
package/dist/runtime/index.js
CHANGED
|
@@ -31924,7 +31924,7 @@ function nextBlockId(prefix = "blk") {
|
|
|
31924
31924
|
return `${prefix}-${Date.now().toString(36)}-${_idSeq}-${random}`;
|
|
31925
31925
|
}
|
|
31926
31926
|
function normalizeBlocks(raw) {
|
|
31927
|
-
if (!raw || raw.length === 0) return [createBlock("paragraph")];
|
|
31927
|
+
if (!Array.isArray(raw) || raw.length === 0) return [createBlock("paragraph")];
|
|
31928
31928
|
return raw.map((row) => {
|
|
31929
31929
|
const r = row;
|
|
31930
31930
|
const rawType = r.type;
|
|
@@ -36305,7 +36305,7 @@ var init_FeatureDetailPageTemplate = __esm({
|
|
|
36305
36305
|
background: resolved.hero.background
|
|
36306
36306
|
}
|
|
36307
36307
|
),
|
|
36308
|
-
resolved.sections.map((section, index) => /* @__PURE__ */ jsx(
|
|
36308
|
+
(Array.isArray(resolved.sections) ? resolved.sections : []).map((section, index) => /* @__PURE__ */ jsx(
|
|
36309
36309
|
SplitSection,
|
|
36310
36310
|
{
|
|
36311
36311
|
title: section.title,
|