@depict-ai/ui 4.10.0 → 4.10.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/ES10/index.cjs +10 -9
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +10 -9
- package/latest/index.cjs +10 -9
- package/latest/index.d.ts +1 -1
- package/latest/index.js +10 -9
- package/package.json +1 -1
- package/server/ES10/index.cjs +4 -4
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +4 -4
- package/server/latest/index.cjs +4 -4
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +4 -4
package/ES10/index.cjs
CHANGED
|
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
|
|
|
115
115
|
$parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
|
|
116
116
|
$parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
|
|
117
117
|
/*! Depict.ai search and product listing SDK */
|
|
118
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.
|
|
118
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.2";
|
|
119
119
|
function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
|
|
120
120
|
const signal = $52FdA$solidjs.createSignal(false);
|
|
121
121
|
$52FdA$solidjs.onCleanup($52FdA$depictaiutilishared.javascript_media_query(media_query, _ref => {
|
|
@@ -8126,7 +8126,14 @@ function $c19709057a32b2e7$export$780a853d15174484(_ref) {
|
|
|
8126
8126
|
var _ref$ = $52FdA$depictaiutilisharedlatest.catchify(async element => {
|
|
8127
8127
|
const pageVisible = $e7a7d2fe8a8217d8$export$54299a3c81f5425();
|
|
8128
8128
|
const owner = $52FdA$solidjs.getOwner();
|
|
8129
|
+
const [retryPlayToggle, setRetryPlayToggle] = $52FdA$solidjs.createSignal(false);
|
|
8129
8130
|
element.addEventListener("loadedmetadata", $52FdA$depictaiutilisharedlatest.catchify(() => setAspectRatio(element.videoWidth / element.videoHeight)));
|
|
8131
|
+
// Work around https://github.com/ryansolid/dom-expressions/issues/384
|
|
8132
|
+
element.controls = false;
|
|
8133
|
+
element.muted = true;
|
|
8134
|
+
element.autoplay = true;
|
|
8135
|
+
element.playsInline = true;
|
|
8136
|
+
element.loop = true;
|
|
8130
8137
|
// If hls is not supported, dynamically import hls.js as polyfill
|
|
8131
8138
|
if (mediaUrl_.includes(".m3u8") && !element.canPlayType("application/vnd.apple.mpegurl")) {
|
|
8132
8139
|
const hlsJs = await $8e8c89c02c16dc7b$export$5d2f6cd705125cd3().catch(e => $52FdA$depictaiutilisharedlatest.report([e, "Failed to load hls.js"], "error"));
|
|
@@ -8135,7 +8142,6 @@ function $c19709057a32b2e7$export$780a853d15174484(_ref) {
|
|
|
8135
8142
|
hls.loadSource(mediaUrl_);
|
|
8136
8143
|
hls.attachMedia(element);
|
|
8137
8144
|
}
|
|
8138
|
-
const [retryPlayToggle, setRetryPlayToggle] = $52FdA$solidjs.createSignal(false);
|
|
8139
8145
|
// need runWithOwner for createEffect, because we potentially awaited above
|
|
8140
8146
|
$52FdA$solidjs.runWithOwner(owner, () => $52FdA$solidjs.createEffect(() => {
|
|
8141
8147
|
retryPlayToggle();
|
|
@@ -8152,11 +8158,6 @@ function $c19709057a32b2e7$export$780a853d15174484(_ref) {
|
|
|
8152
8158
|
typeof _ref$ === "function" && $52FdA$solidjsweb.use(_ref$, _el$);
|
|
8153
8159
|
_el$.addEventListener("playing", () => setHasLoaded(true));
|
|
8154
8160
|
$52FdA$solidjsweb.setAttribute(_el$, "src", mediaUrl_);
|
|
8155
|
-
$52FdA$solidjsweb.setProperty(_el$, "controls", false);
|
|
8156
|
-
$52FdA$solidjsweb.setProperty(_el$, "muted", true);
|
|
8157
|
-
$52FdA$solidjsweb.setProperty(_el$, "autoplay", true);
|
|
8158
|
-
$52FdA$solidjsweb.setProperty(_el$, "playsinline", true);
|
|
8159
|
-
$52FdA$solidjsweb.setProperty(_el$, "loop", true);
|
|
8160
8161
|
$52FdA$solidjsweb.setAttribute(_el$, "disablepictureinpicture", true);
|
|
8161
8162
|
return _el$;
|
|
8162
8163
|
}
|
|
@@ -9552,7 +9553,7 @@ class $73014ff36186a4dd$export$7e1297a3a19f10d8 {
|
|
|
9552
9553
|
listing_query_: listing_query_,
|
|
9553
9554
|
scroll = true
|
|
9554
9555
|
} = _ref;
|
|
9555
|
-
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.
|
|
9556
|
+
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
|
|
9556
9557
|
const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
|
|
9557
9558
|
if ($9ca08bcacbc598ce$export$29d28dadc2d6b631(event_)) return;
|
|
9558
9559
|
const different_origin = new_url_.origin !== location.origin;
|
|
@@ -9578,7 +9579,7 @@ class $73014ff36186a4dd$export$7e1297a3a19f10d8 {
|
|
|
9578
9579
|
history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
|
|
9579
9580
|
} else $73014ff36186a4dd$var$_classPrivateMethodGet(this, $73014ff36186a4dd$var$_throwing_on_navigation, $73014ff36186a4dd$var$_throwing_on_navigation2).call(this, {
|
|
9580
9581
|
is_replace: is_replace_,
|
|
9581
|
-
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.
|
|
9582
|
+
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
|
|
9582
9583
|
scroll: scroll
|
|
9583
9584
|
});
|
|
9584
9585
|
await promise;
|
package/ES10/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
|
11
11
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
12
12
|
import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
|
|
13
13
|
import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
|
|
14
|
-
export const version = "4.10.
|
|
14
|
+
export const version = "4.10.2";
|
|
15
15
|
/**
|
|
16
16
|
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
|
|
17
17
|
*/
|
package/ES10/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import $8tj43$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
|
|
|
10
10
|
/*! Depict.ai search and product listing SDK */
|
|
11
11
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
12
12
|
register_es_version("ui", "ES10");
|
|
13
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.2";
|
|
14
14
|
function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
|
|
15
15
|
const signal = $8tj43$createSignal(false);
|
|
16
16
|
$8tj43$onCleanup($8tj43$javascript_media_query(media_query, _ref => {
|
|
@@ -8021,7 +8021,14 @@ function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
|
|
|
8021
8021
|
var _ref$ = $8tj43$catchify(async element => {
|
|
8022
8022
|
const pageVisible = $a35e6f680c5bbc60$export$54299a3c81f5425();
|
|
8023
8023
|
const owner = $8tj43$getOwner();
|
|
8024
|
+
const [retryPlayToggle, setRetryPlayToggle] = $8tj43$createSignal(false);
|
|
8024
8025
|
element.addEventListener("loadedmetadata", $8tj43$catchify(() => setAspectRatio(element.videoWidth / element.videoHeight)));
|
|
8026
|
+
// Work around https://github.com/ryansolid/dom-expressions/issues/384
|
|
8027
|
+
element.controls = false;
|
|
8028
|
+
element.muted = true;
|
|
8029
|
+
element.autoplay = true;
|
|
8030
|
+
element.playsInline = true;
|
|
8031
|
+
element.loop = true;
|
|
8025
8032
|
// If hls is not supported, dynamically import hls.js as polyfill
|
|
8026
8033
|
if (mediaUrl_.includes(".m3u8") && !element.canPlayType("application/vnd.apple.mpegurl")) {
|
|
8027
8034
|
const hlsJs = await $e92c154db502596d$export$5d2f6cd705125cd3().catch(e => $8tj43$report([e, "Failed to load hls.js"], "error"));
|
|
@@ -8030,7 +8037,6 @@ function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
|
|
|
8030
8037
|
hls.loadSource(mediaUrl_);
|
|
8031
8038
|
hls.attachMedia(element);
|
|
8032
8039
|
}
|
|
8033
|
-
const [retryPlayToggle, setRetryPlayToggle] = $8tj43$createSignal(false);
|
|
8034
8040
|
// need runWithOwner for createEffect, because we potentially awaited above
|
|
8035
8041
|
$8tj43$runWithOwner(owner, () => $8tj43$createEffect(() => {
|
|
8036
8042
|
retryPlayToggle();
|
|
@@ -8047,11 +8053,6 @@ function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
|
|
|
8047
8053
|
typeof _ref$ === "function" && $8tj43$use(_ref$, _el$);
|
|
8048
8054
|
_el$.addEventListener("playing", () => setHasLoaded(true));
|
|
8049
8055
|
$8tj43$setAttribute(_el$, "src", mediaUrl_);
|
|
8050
|
-
$8tj43$setProperty(_el$, "controls", false);
|
|
8051
|
-
$8tj43$setProperty(_el$, "muted", true);
|
|
8052
|
-
$8tj43$setProperty(_el$, "autoplay", true);
|
|
8053
|
-
$8tj43$setProperty(_el$, "playsinline", true);
|
|
8054
|
-
$8tj43$setProperty(_el$, "loop", true);
|
|
8055
8056
|
$8tj43$setAttribute(_el$, "disablepictureinpicture", true);
|
|
8056
8057
|
return _el$;
|
|
8057
8058
|
}
|
|
@@ -9447,7 +9448,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
|
|
|
9447
9448
|
listing_query_: listing_query_,
|
|
9448
9449
|
scroll = true
|
|
9449
9450
|
} = _ref;
|
|
9450
|
-
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.
|
|
9451
|
+
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
|
|
9451
9452
|
const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
|
|
9452
9453
|
if ($9b35d1384e31813a$export$29d28dadc2d6b631(event_)) return;
|
|
9453
9454
|
const different_origin = new_url_.origin !== location.origin;
|
|
@@ -9473,7 +9474,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
|
|
|
9473
9474
|
history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
|
|
9474
9475
|
} else $ac571292d606f30b$var$_classPrivateMethodGet(this, $ac571292d606f30b$var$_throwing_on_navigation, $ac571292d606f30b$var$_throwing_on_navigation2).call(this, {
|
|
9475
9476
|
is_replace: is_replace_,
|
|
9476
|
-
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.
|
|
9477
|
+
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
|
|
9477
9478
|
scroll: scroll
|
|
9478
9479
|
});
|
|
9479
9480
|
await promise;
|
package/latest/index.cjs
CHANGED
|
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
|
|
|
109
109
|
$parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
|
|
110
110
|
$parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
|
|
111
111
|
/*! Depict.ai search and product listing SDK */
|
|
112
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.
|
|
112
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.2";
|
|
113
113
|
function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
|
|
114
114
|
const signal = $gVhhF$solidjs.createSignal(false);
|
|
115
115
|
$gVhhF$solidjs.onCleanup($gVhhF$depictaiutilishared.javascript_media_query(media_query, ({
|
|
@@ -7688,7 +7688,14 @@ function $32c662f618f5d80d$export$780a853d15174484({
|
|
|
7688
7688
|
var _ref$ = $gVhhF$depictaiutilisharedlatest.catchify(async element => {
|
|
7689
7689
|
const pageVisible = $55cbacb79d3e0cea$export$54299a3c81f5425();
|
|
7690
7690
|
const owner = $gVhhF$solidjs.getOwner();
|
|
7691
|
+
const [retryPlayToggle, setRetryPlayToggle] = $gVhhF$solidjs.createSignal(false);
|
|
7691
7692
|
element.addEventListener("loadedmetadata", $gVhhF$depictaiutilisharedlatest.catchify(() => setAspectRatio(element.videoWidth / element.videoHeight)));
|
|
7693
|
+
// Work around https://github.com/ryansolid/dom-expressions/issues/384
|
|
7694
|
+
element.controls = false;
|
|
7695
|
+
element.muted = true;
|
|
7696
|
+
element.autoplay = true;
|
|
7697
|
+
element.playsInline = true;
|
|
7698
|
+
element.loop = true;
|
|
7692
7699
|
// If hls is not supported, dynamically import hls.js as polyfill
|
|
7693
7700
|
if (mediaUrl_.includes(".m3u8") && !element.canPlayType("application/vnd.apple.mpegurl")) {
|
|
7694
7701
|
const hlsJs = await $20ff40266d725403$export$5d2f6cd705125cd3().catch(e => $gVhhF$depictaiutilisharedlatest.report([e, "Failed to load hls.js"], "error"));
|
|
@@ -7697,7 +7704,6 @@ function $32c662f618f5d80d$export$780a853d15174484({
|
|
|
7697
7704
|
hls.loadSource(mediaUrl_);
|
|
7698
7705
|
hls.attachMedia(element);
|
|
7699
7706
|
}
|
|
7700
|
-
const [retryPlayToggle, setRetryPlayToggle] = $gVhhF$solidjs.createSignal(false);
|
|
7701
7707
|
// need runWithOwner for createEffect, because we potentially awaited above
|
|
7702
7708
|
$gVhhF$solidjs.runWithOwner(owner, () => $gVhhF$solidjs.createEffect(() => {
|
|
7703
7709
|
retryPlayToggle();
|
|
@@ -7714,11 +7720,6 @@ function $32c662f618f5d80d$export$780a853d15174484({
|
|
|
7714
7720
|
typeof _ref$ === "function" && $gVhhF$solidjsweb.use(_ref$, _el$);
|
|
7715
7721
|
_el$.addEventListener("playing", () => setHasLoaded(true));
|
|
7716
7722
|
$gVhhF$solidjsweb.setAttribute(_el$, "src", mediaUrl_);
|
|
7717
|
-
$gVhhF$solidjsweb.setProperty(_el$, "controls", false);
|
|
7718
|
-
$gVhhF$solidjsweb.setProperty(_el$, "muted", true);
|
|
7719
|
-
$gVhhF$solidjsweb.setProperty(_el$, "autoplay", true);
|
|
7720
|
-
$gVhhF$solidjsweb.setProperty(_el$, "playsinline", true);
|
|
7721
|
-
$gVhhF$solidjsweb.setProperty(_el$, "loop", true);
|
|
7722
7723
|
$gVhhF$solidjsweb.setAttribute(_el$, "disablepictureinpicture", true);
|
|
7723
7724
|
return _el$;
|
|
7724
7725
|
}
|
|
@@ -9052,7 +9053,7 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
|
|
|
9052
9053
|
listing_query_: listing_query_,
|
|
9053
9054
|
scroll = true
|
|
9054
9055
|
}) => {
|
|
9055
|
-
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.
|
|
9056
|
+
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
|
|
9056
9057
|
const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
|
|
9057
9058
|
if ($747421cd28dec5b5$export$29d28dadc2d6b631(event_)) return;
|
|
9058
9059
|
const different_origin = new_url_.origin !== location.origin;
|
|
@@ -9078,7 +9079,7 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
|
|
|
9078
9079
|
history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
|
|
9079
9080
|
} else this.#throwing_on_navigation.call(this, {
|
|
9080
9081
|
is_replace: is_replace_,
|
|
9081
|
-
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.
|
|
9082
|
+
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
|
|
9082
9083
|
scroll: scroll
|
|
9083
9084
|
});
|
|
9084
9085
|
await promise;
|
package/latest/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
|
11
11
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
12
12
|
import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
|
|
13
13
|
import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
|
|
14
|
-
export const version = "4.10.
|
|
14
|
+
export const version = "4.10.2";
|
|
15
15
|
/**
|
|
16
16
|
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
|
|
17
17
|
*/
|
package/latest/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { createStore as $9HbP8$createStore, reconcile as $9HbP8$reconcile } from
|
|
|
7
7
|
/*! Depict.ai search and product listing SDK */
|
|
8
8
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
9
9
|
register_es_version("ui", "latest");
|
|
10
|
-
const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.2";
|
|
11
11
|
function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
|
|
12
12
|
const signal = $9HbP8$createSignal(false);
|
|
13
13
|
$9HbP8$onCleanup($9HbP8$javascript_media_query(media_query, ({
|
|
@@ -7586,7 +7586,14 @@ function $f916989c4b1be9f7$export$780a853d15174484({
|
|
|
7586
7586
|
var _ref$ = $9HbP8$catchify(async element => {
|
|
7587
7587
|
const pageVisible = $5e3d278ef4c80cd7$export$54299a3c81f5425();
|
|
7588
7588
|
const owner = $9HbP8$getOwner();
|
|
7589
|
+
const [retryPlayToggle, setRetryPlayToggle] = $9HbP8$createSignal(false);
|
|
7589
7590
|
element.addEventListener("loadedmetadata", $9HbP8$catchify(() => setAspectRatio(element.videoWidth / element.videoHeight)));
|
|
7591
|
+
// Work around https://github.com/ryansolid/dom-expressions/issues/384
|
|
7592
|
+
element.controls = false;
|
|
7593
|
+
element.muted = true;
|
|
7594
|
+
element.autoplay = true;
|
|
7595
|
+
element.playsInline = true;
|
|
7596
|
+
element.loop = true;
|
|
7590
7597
|
// If hls is not supported, dynamically import hls.js as polyfill
|
|
7591
7598
|
if (mediaUrl_.includes(".m3u8") && !element.canPlayType("application/vnd.apple.mpegurl")) {
|
|
7592
7599
|
const hlsJs = await $e422ea9eccb7892b$export$5d2f6cd705125cd3().catch(e => $9HbP8$report([e, "Failed to load hls.js"], "error"));
|
|
@@ -7595,7 +7602,6 @@ function $f916989c4b1be9f7$export$780a853d15174484({
|
|
|
7595
7602
|
hls.loadSource(mediaUrl_);
|
|
7596
7603
|
hls.attachMedia(element);
|
|
7597
7604
|
}
|
|
7598
|
-
const [retryPlayToggle, setRetryPlayToggle] = $9HbP8$createSignal(false);
|
|
7599
7605
|
// need runWithOwner for createEffect, because we potentially awaited above
|
|
7600
7606
|
$9HbP8$runWithOwner(owner, () => $9HbP8$createEffect(() => {
|
|
7601
7607
|
retryPlayToggle();
|
|
@@ -7612,11 +7618,6 @@ function $f916989c4b1be9f7$export$780a853d15174484({
|
|
|
7612
7618
|
typeof _ref$ === "function" && $9HbP8$use(_ref$, _el$);
|
|
7613
7619
|
_el$.addEventListener("playing", () => setHasLoaded(true));
|
|
7614
7620
|
$9HbP8$setAttribute(_el$, "src", mediaUrl_);
|
|
7615
|
-
$9HbP8$setProperty(_el$, "controls", false);
|
|
7616
|
-
$9HbP8$setProperty(_el$, "muted", true);
|
|
7617
|
-
$9HbP8$setProperty(_el$, "autoplay", true);
|
|
7618
|
-
$9HbP8$setProperty(_el$, "playsinline", true);
|
|
7619
|
-
$9HbP8$setProperty(_el$, "loop", true);
|
|
7620
7621
|
$9HbP8$setAttribute(_el$, "disablepictureinpicture", true);
|
|
7621
7622
|
return _el$;
|
|
7622
7623
|
}
|
|
@@ -8950,7 +8951,7 @@ class $4fd2ba03703a7d92$export$7e1297a3a19f10d8 {
|
|
|
8950
8951
|
listing_query_: listing_query_,
|
|
8951
8952
|
scroll = true
|
|
8952
8953
|
}) => {
|
|
8953
|
-
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.
|
|
8954
|
+
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
|
|
8954
8955
|
const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
|
|
8955
8956
|
if ($a281666e5c15c2ec$export$29d28dadc2d6b631(event_)) return;
|
|
8956
8957
|
const different_origin = new_url_.origin !== location.origin;
|
|
@@ -8976,7 +8977,7 @@ class $4fd2ba03703a7d92$export$7e1297a3a19f10d8 {
|
|
|
8976
8977
|
history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
|
|
8977
8978
|
} else this.#throwing_on_navigation.call(this, {
|
|
8978
8979
|
is_replace: is_replace_,
|
|
8979
|
-
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.
|
|
8980
|
+
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
|
|
8980
8981
|
scroll: scroll
|
|
8981
8982
|
});
|
|
8982
8983
|
await promise;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "4.10.
|
|
3
|
+
"version": "4.10.2",
|
|
4
4
|
"description": "Base package containing the actual UI of Depict UI along with translations, with a not-simplified API. We recommend using @depict-ai/js-ui or @depict-ai/react-ui instead.",
|
|
5
5
|
"packageManager": "yarn@3.2.2",
|
|
6
6
|
"sass": "styles.scss",
|
package/server/ES10/index.cjs
CHANGED
|
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
|
|
|
115
115
|
$parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
|
|
116
116
|
$parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
|
|
117
117
|
/*! Depict.ai search and product listing SDK */
|
|
118
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.
|
|
118
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.2";
|
|
119
119
|
function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
|
|
120
120
|
const signal = $3hooq$solidjs.createSignal(false);
|
|
121
121
|
$3hooq$solidjs.onCleanup($3hooq$depictaiutilishared.javascript_media_query(media_query, _ref => {
|
|
@@ -6611,7 +6611,7 @@ function $f3db423dc84bc35d$export$140423fa4bfb6d63(props) {
|
|
|
6611
6611
|
customUrls: $f3db423dc84bc35d$var$customUrls
|
|
6612
6612
|
}));
|
|
6613
6613
|
}
|
|
6614
|
-
var $c19709057a32b2e7$var$_tmpl$ = ["<video", '
|
|
6614
|
+
var $c19709057a32b2e7$var$_tmpl$ = ["<video", ' disablepictureinpicture="true" class="d-standard-content"></video>'];
|
|
6615
6615
|
function $c19709057a32b2e7$export$780a853d15174484(_ref) {
|
|
6616
6616
|
let {
|
|
6617
6617
|
link_: link_,
|
|
@@ -7890,7 +7890,7 @@ class $73014ff36186a4dd$export$7e1297a3a19f10d8 {
|
|
|
7890
7890
|
listing_query_: listing_query_,
|
|
7891
7891
|
scroll = true
|
|
7892
7892
|
} = _ref;
|
|
7893
|
-
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.
|
|
7893
|
+
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
|
|
7894
7894
|
const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
|
|
7895
7895
|
if ($9ca08bcacbc598ce$export$29d28dadc2d6b631(event_)) return;
|
|
7896
7896
|
const different_origin = new_url_.origin !== location.origin;
|
|
@@ -7916,7 +7916,7 @@ class $73014ff36186a4dd$export$7e1297a3a19f10d8 {
|
|
|
7916
7916
|
history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
|
|
7917
7917
|
} else $73014ff36186a4dd$var$_classPrivateMethodGet(this, $73014ff36186a4dd$var$_throwing_on_navigation, $73014ff36186a4dd$var$_throwing_on_navigation2).call(this, {
|
|
7918
7918
|
is_replace: is_replace_,
|
|
7919
|
-
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.
|
|
7919
|
+
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
|
|
7920
7920
|
scroll: scroll
|
|
7921
7921
|
});
|
|
7922
7922
|
await promise;
|
package/server/ES10/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
|
11
11
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
12
12
|
import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
|
|
13
13
|
import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
|
|
14
|
-
export const version = "4.10.
|
|
14
|
+
export const version = "4.10.2";
|
|
15
15
|
/**
|
|
16
16
|
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
|
|
17
17
|
*/
|
package/server/ES10/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import $b8hua$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
|
|
|
10
10
|
/*! Depict.ai search and product listing SDK */
|
|
11
11
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
12
12
|
register_es_version("ui", "ES10");
|
|
13
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.2";
|
|
14
14
|
function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
|
|
15
15
|
const signal = $b8hua$createSignal(false);
|
|
16
16
|
$b8hua$onCleanup($b8hua$javascript_media_query(media_query, _ref => {
|
|
@@ -6506,7 +6506,7 @@ function $98688279b9059f50$export$140423fa4bfb6d63(props) {
|
|
|
6506
6506
|
customUrls: $98688279b9059f50$var$customUrls
|
|
6507
6507
|
}));
|
|
6508
6508
|
}
|
|
6509
|
-
var $3b772ef9a35560fe$var$_tmpl$ = ["<video", '
|
|
6509
|
+
var $3b772ef9a35560fe$var$_tmpl$ = ["<video", ' disablepictureinpicture="true" class="d-standard-content"></video>'];
|
|
6510
6510
|
function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
|
|
6511
6511
|
let {
|
|
6512
6512
|
link_: link_,
|
|
@@ -7785,7 +7785,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
|
|
|
7785
7785
|
listing_query_: listing_query_,
|
|
7786
7786
|
scroll = true
|
|
7787
7787
|
} = _ref;
|
|
7788
|
-
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.
|
|
7788
|
+
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
|
|
7789
7789
|
const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
|
|
7790
7790
|
if ($9b35d1384e31813a$export$29d28dadc2d6b631(event_)) return;
|
|
7791
7791
|
const different_origin = new_url_.origin !== location.origin;
|
|
@@ -7811,7 +7811,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
|
|
|
7811
7811
|
history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
|
|
7812
7812
|
} else $ac571292d606f30b$var$_classPrivateMethodGet(this, $ac571292d606f30b$var$_throwing_on_navigation, $ac571292d606f30b$var$_throwing_on_navigation2).call(this, {
|
|
7813
7813
|
is_replace: is_replace_,
|
|
7814
|
-
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.
|
|
7814
|
+
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
|
|
7815
7815
|
scroll: scroll
|
|
7816
7816
|
});
|
|
7817
7817
|
await promise;
|
package/server/latest/index.cjs
CHANGED
|
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
|
|
|
109
109
|
$parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
|
|
110
110
|
$parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
|
|
111
111
|
/*! Depict.ai search and product listing SDK */
|
|
112
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.
|
|
112
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.2";
|
|
113
113
|
function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
|
|
114
114
|
const signal = $5vyXB$solidjs.createSignal(false);
|
|
115
115
|
$5vyXB$solidjs.onCleanup($5vyXB$depictaiutilishared.javascript_media_query(media_query, ({
|
|
@@ -6233,7 +6233,7 @@ function $d212a67662c5cf38$export$140423fa4bfb6d63(props) {
|
|
|
6233
6233
|
customUrls: $d212a67662c5cf38$var$customUrls
|
|
6234
6234
|
}));
|
|
6235
6235
|
}
|
|
6236
|
-
var $32c662f618f5d80d$var$_tmpl$ = ["<video", '
|
|
6236
|
+
var $32c662f618f5d80d$var$_tmpl$ = ["<video", ' disablepictureinpicture="true" class="d-standard-content"></video>'];
|
|
6237
6237
|
function $32c662f618f5d80d$export$780a853d15174484({
|
|
6238
6238
|
link_: link_,
|
|
6239
6239
|
type_: type_,
|
|
@@ -7453,7 +7453,7 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
|
|
|
7453
7453
|
listing_query_: listing_query_,
|
|
7454
7454
|
scroll = true
|
|
7455
7455
|
}) => {
|
|
7456
|
-
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.
|
|
7456
|
+
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
|
|
7457
7457
|
const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
|
|
7458
7458
|
if ($747421cd28dec5b5$export$29d28dadc2d6b631(event_)) return;
|
|
7459
7459
|
const different_origin = new_url_.origin !== location.origin;
|
|
@@ -7479,7 +7479,7 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
|
|
|
7479
7479
|
history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
|
|
7480
7480
|
} else this.#throwing_on_navigation.call(this, {
|
|
7481
7481
|
is_replace: is_replace_,
|
|
7482
|
-
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.
|
|
7482
|
+
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
|
|
7483
7483
|
scroll: scroll
|
|
7484
7484
|
});
|
|
7485
7485
|
await promise;
|
package/server/latest/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
|
11
11
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
12
12
|
import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
|
|
13
13
|
import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
|
|
14
|
-
export const version = "4.10.
|
|
14
|
+
export const version = "4.10.2";
|
|
15
15
|
/**
|
|
16
16
|
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
|
|
17
17
|
*/
|
package/server/latest/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { createStore as $i7OB2$createStore, reconcile as $i7OB2$reconcile } from
|
|
|
7
7
|
/*! Depict.ai search and product listing SDK */
|
|
8
8
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
9
9
|
register_es_version("ui", "latest");
|
|
10
|
-
const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.2";
|
|
11
11
|
function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
|
|
12
12
|
const signal = $i7OB2$createSignal(false);
|
|
13
13
|
$i7OB2$onCleanup($i7OB2$javascript_media_query(media_query, ({
|
|
@@ -6131,7 +6131,7 @@ function $70bb27cc6be01fc7$export$140423fa4bfb6d63(props) {
|
|
|
6131
6131
|
customUrls: $70bb27cc6be01fc7$var$customUrls
|
|
6132
6132
|
}));
|
|
6133
6133
|
}
|
|
6134
|
-
var $f916989c4b1be9f7$var$_tmpl$ = ["<video", '
|
|
6134
|
+
var $f916989c4b1be9f7$var$_tmpl$ = ["<video", ' disablepictureinpicture="true" class="d-standard-content"></video>'];
|
|
6135
6135
|
function $f916989c4b1be9f7$export$780a853d15174484({
|
|
6136
6136
|
link_: link_,
|
|
6137
6137
|
type_: type_,
|
|
@@ -7351,7 +7351,7 @@ class $4fd2ba03703a7d92$export$7e1297a3a19f10d8 {
|
|
|
7351
7351
|
listing_query_: listing_query_,
|
|
7352
7352
|
scroll = true
|
|
7353
7353
|
}) => {
|
|
7354
|
-
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.
|
|
7354
|
+
const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
|
|
7355
7355
|
const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
|
|
7356
7356
|
if ($a281666e5c15c2ec$export$29d28dadc2d6b631(event_)) return;
|
|
7357
7357
|
const different_origin = new_url_.origin !== location.origin;
|
|
@@ -7377,7 +7377,7 @@ class $4fd2ba03703a7d92$export$7e1297a3a19f10d8 {
|
|
|
7377
7377
|
history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
|
|
7378
7378
|
} else this.#throwing_on_navigation.call(this, {
|
|
7379
7379
|
is_replace: is_replace_,
|
|
7380
|
-
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.
|
|
7380
|
+
new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
|
|
7381
7381
|
scroll: scroll
|
|
7382
7382
|
});
|
|
7383
7383
|
await promise;
|