@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260402052726 → 0.8.1-dev.20260402061511
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/index.js +9 -6
- package/dist/index.mjs +9 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5119,15 +5119,18 @@ var HlsPlayer1 = (0, import_dynamic5.default)(() => Promise.resolve().then(() =>
|
|
|
5119
5119
|
ssr: false
|
|
5120
5120
|
});
|
|
5121
5121
|
var parseMaybeNumber = (value) => {
|
|
5122
|
-
if (typeof value === "number")
|
|
5122
|
+
if (typeof value === "number") {
|
|
5123
5123
|
return Number.isFinite(value) ? value : void 0;
|
|
5124
|
+
}
|
|
5124
5125
|
if (typeof value !== "string") return void 0;
|
|
5125
5126
|
const n = Number(value);
|
|
5126
5127
|
return Number.isFinite(n) ? n : void 0;
|
|
5127
5128
|
};
|
|
5128
5129
|
var shouldRenderForDevice = (imageDevice, currentDevice) => {
|
|
5129
5130
|
if (!imageDevice) return true;
|
|
5130
|
-
|
|
5131
|
+
const normalizedImageDevice = imageDevice.toString().toLowerCase();
|
|
5132
|
+
const normalizedCurrentDevice = currentDevice.toString().toLowerCase();
|
|
5133
|
+
return normalizedImageDevice === normalizedCurrentDevice;
|
|
5131
5134
|
};
|
|
5132
5135
|
var ImageGalleryNode = (props) => {
|
|
5133
5136
|
const resolveImageUrl = (imageUrl) => {
|
|
@@ -5163,9 +5166,8 @@ var ImageGalleryNode = (props) => {
|
|
|
5163
5166
|
const alt = img.title || "Gallery image";
|
|
5164
5167
|
const styles = {};
|
|
5165
5168
|
if (img.height) styles.height = img.height;
|
|
5166
|
-
if (img.borderRadius)
|
|
5167
|
-
styles.borderRadius = img.borderRadius;
|
|
5168
5169
|
if (img.width) styles.width = img.width;
|
|
5170
|
+
if (img.borderRadius) styles.borderRadius = img.borderRadius;
|
|
5169
5171
|
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "max-w-full", children: isHls ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
5170
5172
|
HlsPlayer1,
|
|
5171
5173
|
{
|
|
@@ -5193,7 +5195,7 @@ var ImageGalleryNode = (props) => {
|
|
|
5193
5195
|
alt
|
|
5194
5196
|
}
|
|
5195
5197
|
)
|
|
5196
|
-
) }, `${img.imageUrl}
|
|
5198
|
+
) }, `${idx}-${img.imageUrl}`);
|
|
5197
5199
|
}) });
|
|
5198
5200
|
};
|
|
5199
5201
|
var ImageGalleryNode_default = ImageGalleryNode;
|
|
@@ -5436,7 +5438,8 @@ var DivContainer = async (props) => {
|
|
|
5436
5438
|
breadcrumb: props2.breadcrumb,
|
|
5437
5439
|
dataitem,
|
|
5438
5440
|
href,
|
|
5439
|
-
assetBaseUrl: props2.assetBaseUrl
|
|
5441
|
+
assetBaseUrl: props2.assetBaseUrl,
|
|
5442
|
+
device: props2.device
|
|
5440
5443
|
}
|
|
5441
5444
|
) }, key);
|
|
5442
5445
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -4151,15 +4151,18 @@ var HlsPlayer1 = dynamic5(() => import("./HlsPlayer-FFEIK6FG.mjs"), {
|
|
|
4151
4151
|
ssr: false
|
|
4152
4152
|
});
|
|
4153
4153
|
var parseMaybeNumber = (value) => {
|
|
4154
|
-
if (typeof value === "number")
|
|
4154
|
+
if (typeof value === "number") {
|
|
4155
4155
|
return Number.isFinite(value) ? value : void 0;
|
|
4156
|
+
}
|
|
4156
4157
|
if (typeof value !== "string") return void 0;
|
|
4157
4158
|
const n = Number(value);
|
|
4158
4159
|
return Number.isFinite(n) ? n : void 0;
|
|
4159
4160
|
};
|
|
4160
4161
|
var shouldRenderForDevice = (imageDevice, currentDevice) => {
|
|
4161
4162
|
if (!imageDevice) return true;
|
|
4162
|
-
|
|
4163
|
+
const normalizedImageDevice = imageDevice.toString().toLowerCase();
|
|
4164
|
+
const normalizedCurrentDevice = currentDevice.toString().toLowerCase();
|
|
4165
|
+
return normalizedImageDevice === normalizedCurrentDevice;
|
|
4163
4166
|
};
|
|
4164
4167
|
var ImageGalleryNode = (props) => {
|
|
4165
4168
|
const resolveImageUrl = (imageUrl) => {
|
|
@@ -4195,9 +4198,8 @@ var ImageGalleryNode = (props) => {
|
|
|
4195
4198
|
const alt = img.title || "Gallery image";
|
|
4196
4199
|
const styles = {};
|
|
4197
4200
|
if (img.height) styles.height = img.height;
|
|
4198
|
-
if (img.borderRadius)
|
|
4199
|
-
styles.borderRadius = img.borderRadius;
|
|
4200
4201
|
if (img.width) styles.width = img.width;
|
|
4202
|
+
if (img.borderRadius) styles.borderRadius = img.borderRadius;
|
|
4201
4203
|
return /* @__PURE__ */ jsx58("div", { className: "max-w-full", children: isHls ? /* @__PURE__ */ jsx58(
|
|
4202
4204
|
HlsPlayer1,
|
|
4203
4205
|
{
|
|
@@ -4225,7 +4227,7 @@ var ImageGalleryNode = (props) => {
|
|
|
4225
4227
|
alt
|
|
4226
4228
|
}
|
|
4227
4229
|
)
|
|
4228
|
-
) }, `${img.imageUrl}
|
|
4230
|
+
) }, `${idx}-${img.imageUrl}`);
|
|
4229
4231
|
}) });
|
|
4230
4232
|
};
|
|
4231
4233
|
var ImageGalleryNode_default = ImageGalleryNode;
|
|
@@ -4468,7 +4470,8 @@ var DivContainer = async (props) => {
|
|
|
4468
4470
|
breadcrumb: props2.breadcrumb,
|
|
4469
4471
|
dataitem,
|
|
4470
4472
|
href,
|
|
4471
|
-
assetBaseUrl: props2.assetBaseUrl
|
|
4473
|
+
assetBaseUrl: props2.assetBaseUrl,
|
|
4474
|
+
device: props2.device
|
|
4472
4475
|
}
|
|
4473
4476
|
) }, key);
|
|
4474
4477
|
}
|
package/package.json
CHANGED