@depict-ai/ui 4.8.17 → 4.8.18
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 +11 -4
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +11 -4
- package/latest/index.cjs +11 -4
- package/latest/index.d.ts +1 -1
- package/latest/index.js +11 -4
- package/package.json +2 -2
- package/server/ES10/index.cjs +11 -4
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +11 -4
- package/server/latest/index.cjs +11 -4
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +11 -4
package/ES10/index.cjs
CHANGED
|
@@ -114,7 +114,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
|
|
|
114
114
|
$parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
|
|
115
115
|
$parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
|
|
116
116
|
/*! Depict.ai search and product listing SDK */
|
|
117
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.8.
|
|
117
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.8.18";
|
|
118
118
|
function $054b1113e4897051$export$54c6d6ff54e72743(whatToWatch) {
|
|
119
119
|
const [width, setWidth] = $52FdA$solidjs.createSignal(0);
|
|
120
120
|
const [height, setHeight] = $52FdA$solidjs.createSignal(0);
|
|
@@ -1075,6 +1075,7 @@ function $ad8ec7729fffeb9c$export$6649caad96ef8870(props) {
|
|
|
1075
1075
|
fadingThreshold_ = 0.96
|
|
1076
1076
|
} = props;
|
|
1077
1077
|
const [hasHydrated, setHasHydrated] = $52FdA$solidjs.createSignal(false);
|
|
1078
|
+
const shouldShowArrows = () => props.showArrow_ !== false;
|
|
1078
1079
|
$52FdA$solidjs.createEffect(() => setHasHydrated(true));
|
|
1079
1080
|
const MakeButton = () => (() => {
|
|
1080
1081
|
var _el$ = $52FdA$solidjsweb.getNextElement($ad8ec7729fffeb9c$var$_tmpl$);
|
|
@@ -1104,7 +1105,7 @@ function $ad8ec7729fffeb9c$export$6649caad96ef8870(props) {
|
|
|
1104
1105
|
_el$5 = _el$7.nextSibling;
|
|
1105
1106
|
$52FdA$solidjsweb.insert(_el$2, $52FdA$solidjsweb.createComponent((0, $52FdA$solidjs.Show), {
|
|
1106
1107
|
get when() {
|
|
1107
|
-
return
|
|
1108
|
+
return shouldShowArrows();
|
|
1108
1109
|
},
|
|
1109
1110
|
get children() {
|
|
1110
1111
|
return [(() => {
|
|
@@ -1131,14 +1132,20 @@ function $ad8ec7729fffeb9c$export$6649caad96ef8870(props) {
|
|
|
1131
1132
|
});
|
|
1132
1133
|
const slider = new (0, $52FdA$depictaiutilishared.Amazing_Slider)({
|
|
1133
1134
|
button_contents: {
|
|
1134
|
-
left:
|
|
1135
|
-
right:
|
|
1135
|
+
left: [MakeButton()],
|
|
1136
|
+
right: [MakeButton()]
|
|
1136
1137
|
},
|
|
1137
1138
|
constructor_plugins: [$52FdA$depictaiutilishared.slider_snap_css(0, {
|
|
1138
1139
|
align: snapAlign_
|
|
1139
1140
|
}).constructor_plugin, ...(fading_plugin ? [fading_plugin.constructor_plugin] : [])],
|
|
1140
1141
|
mutation_plugins: [...(fading_plugin ? [fading_plugin.mutation_plugin_] : []), ...mutation_plugins_, entries => setIntersectionEntries(entries)]
|
|
1141
1142
|
});
|
|
1143
|
+
const {
|
|
1144
|
+
left_: left_,
|
|
1145
|
+
right_: right_
|
|
1146
|
+
} = slider.elements_;
|
|
1147
|
+
$52FdA$solidjs.createEffect(() => left_.style.display = shouldShowArrows() ? "" : "none");
|
|
1148
|
+
$52FdA$solidjs.createEffect(() => right_.style.display = shouldShowArrows() ? "" : "none");
|
|
1142
1149
|
$52FdA$solidjsweb.insert(slider.insert_here, () => $52FdA$solidjsweb.createComponent($ad8ec7729fffeb9c$var$SlidableContext.Provider, {
|
|
1143
1150
|
value: {
|
|
1144
1151
|
slider_: slider,
|
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.8.
|
|
14
|
+
export const version = "4.8.18";
|
|
15
15
|
/**
|
|
16
16
|
* Returns two accessors (one width and one height) that will update when the size of the provided element changes, to be used with ResponsiveImg
|
|
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.8.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.8.18";
|
|
14
14
|
function $4be619ec2cd7bba3$export$54c6d6ff54e72743(whatToWatch) {
|
|
15
15
|
const [width, setWidth] = $8tj43$createSignal(0);
|
|
16
16
|
const [height, setHeight] = $8tj43$createSignal(0);
|
|
@@ -971,6 +971,7 @@ function $002f09d00aac50b2$export$6649caad96ef8870(props) {
|
|
|
971
971
|
fadingThreshold_ = 0.96
|
|
972
972
|
} = props;
|
|
973
973
|
const [hasHydrated, setHasHydrated] = $8tj43$createSignal(false);
|
|
974
|
+
const shouldShowArrows = () => props.showArrow_ !== false;
|
|
974
975
|
$8tj43$createEffect(() => setHasHydrated(true));
|
|
975
976
|
const MakeButton = () => (() => {
|
|
976
977
|
var _el$ = $8tj43$getNextElement($002f09d00aac50b2$var$_tmpl$);
|
|
@@ -1000,7 +1001,7 @@ function $002f09d00aac50b2$export$6649caad96ef8870(props) {
|
|
|
1000
1001
|
_el$5 = _el$7.nextSibling;
|
|
1001
1002
|
$8tj43$insert(_el$2, $8tj43$createComponent((0, $8tj43$Show), {
|
|
1002
1003
|
get when() {
|
|
1003
|
-
return
|
|
1004
|
+
return shouldShowArrows();
|
|
1004
1005
|
},
|
|
1005
1006
|
get children() {
|
|
1006
1007
|
return [(() => {
|
|
@@ -1027,14 +1028,20 @@ function $002f09d00aac50b2$export$6649caad96ef8870(props) {
|
|
|
1027
1028
|
});
|
|
1028
1029
|
const slider = new (0, $8tj43$Amazing_Slider)({
|
|
1029
1030
|
button_contents: {
|
|
1030
|
-
left:
|
|
1031
|
-
right:
|
|
1031
|
+
left: [MakeButton()],
|
|
1032
|
+
right: [MakeButton()]
|
|
1032
1033
|
},
|
|
1033
1034
|
constructor_plugins: [$8tj43$slider_snap_css(0, {
|
|
1034
1035
|
align: snapAlign_
|
|
1035
1036
|
}).constructor_plugin, ...(fading_plugin ? [fading_plugin.constructor_plugin] : [])],
|
|
1036
1037
|
mutation_plugins: [...(fading_plugin ? [fading_plugin.mutation_plugin_] : []), ...mutation_plugins_, entries => setIntersectionEntries(entries)]
|
|
1037
1038
|
});
|
|
1039
|
+
const {
|
|
1040
|
+
left_: left_,
|
|
1041
|
+
right_: right_
|
|
1042
|
+
} = slider.elements_;
|
|
1043
|
+
$8tj43$createEffect(() => left_.style.display = shouldShowArrows() ? "" : "none");
|
|
1044
|
+
$8tj43$createEffect(() => right_.style.display = shouldShowArrows() ? "" : "none");
|
|
1038
1045
|
$8tj43$insert(slider.insert_here, () => $8tj43$createComponent($002f09d00aac50b2$var$SlidableContext.Provider, {
|
|
1039
1046
|
value: {
|
|
1040
1047
|
slider_: slider,
|
package/latest/index.cjs
CHANGED
|
@@ -108,7 +108,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
|
|
|
108
108
|
$parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
|
|
109
109
|
$parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
|
|
110
110
|
/*! Depict.ai search and product listing SDK */
|
|
111
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.8.
|
|
111
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.8.18";
|
|
112
112
|
function $128302ab61dab8f1$export$54c6d6ff54e72743(whatToWatch) {
|
|
113
113
|
const [width, setWidth] = $gVhhF$solidjs.createSignal(0);
|
|
114
114
|
const [height, setHeight] = $gVhhF$solidjs.createSignal(0);
|
|
@@ -1027,6 +1027,7 @@ function $a0e53f99354809d9$export$6649caad96ef8870(props) {
|
|
|
1027
1027
|
fadingThreshold_ = 0.96
|
|
1028
1028
|
} = props;
|
|
1029
1029
|
const [hasHydrated, setHasHydrated] = $gVhhF$solidjs.createSignal(false);
|
|
1030
|
+
const shouldShowArrows = () => props.showArrow_ !== false;
|
|
1030
1031
|
$gVhhF$solidjs.createEffect(() => setHasHydrated(true));
|
|
1031
1032
|
const MakeButton = () => (() => {
|
|
1032
1033
|
var _el$ = $gVhhF$solidjsweb.getNextElement($a0e53f99354809d9$var$_tmpl$);
|
|
@@ -1056,7 +1057,7 @@ function $a0e53f99354809d9$export$6649caad96ef8870(props) {
|
|
|
1056
1057
|
_el$5 = _el$7.nextSibling;
|
|
1057
1058
|
$gVhhF$solidjsweb.insert(_el$2, $gVhhF$solidjsweb.createComponent((0, $gVhhF$solidjs.Show), {
|
|
1058
1059
|
get when() {
|
|
1059
|
-
return
|
|
1060
|
+
return shouldShowArrows();
|
|
1060
1061
|
},
|
|
1061
1062
|
get children() {
|
|
1062
1063
|
return [(() => {
|
|
@@ -1083,14 +1084,20 @@ function $a0e53f99354809d9$export$6649caad96ef8870(props) {
|
|
|
1083
1084
|
});
|
|
1084
1085
|
const slider = new (0, $gVhhF$depictaiutilishared.Amazing_Slider)({
|
|
1085
1086
|
button_contents: {
|
|
1086
|
-
left:
|
|
1087
|
-
right:
|
|
1087
|
+
left: [MakeButton()],
|
|
1088
|
+
right: [MakeButton()]
|
|
1088
1089
|
},
|
|
1089
1090
|
constructor_plugins: [$gVhhF$depictaiutilishared.slider_snap_css(0, {
|
|
1090
1091
|
align: snapAlign_
|
|
1091
1092
|
}).constructor_plugin, ...(fading_plugin ? [fading_plugin.constructor_plugin] : [])],
|
|
1092
1093
|
mutation_plugins: [...(fading_plugin ? [fading_plugin.mutation_plugin_] : []), ...mutation_plugins_, entries => setIntersectionEntries(entries)]
|
|
1093
1094
|
});
|
|
1095
|
+
const {
|
|
1096
|
+
left_: left_,
|
|
1097
|
+
right_: right_
|
|
1098
|
+
} = slider.elements_;
|
|
1099
|
+
$gVhhF$solidjs.createEffect(() => left_.style.display = shouldShowArrows() ? "" : "none");
|
|
1100
|
+
$gVhhF$solidjs.createEffect(() => right_.style.display = shouldShowArrows() ? "" : "none");
|
|
1094
1101
|
$gVhhF$solidjsweb.insert(slider.insert_here, () => $gVhhF$solidjsweb.createComponent($a0e53f99354809d9$var$SlidableContext.Provider, {
|
|
1095
1102
|
value: {
|
|
1096
1103
|
slider_: slider,
|
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.8.
|
|
14
|
+
export const version = "4.8.18";
|
|
15
15
|
/**
|
|
16
16
|
* Returns two accessors (one width and one height) that will update when the size of the provided element changes, to be used with ResponsiveImg
|
|
17
17
|
*/
|
package/latest/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { dlog as $9HbP8$dlog, catchify as $9HbP8$catchify1, ListenableSet as $9H
|
|
|
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.8.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "4.8.18";
|
|
11
11
|
function $a444a52bafa0dacc$export$54c6d6ff54e72743(whatToWatch) {
|
|
12
12
|
const [width, setWidth] = $9HbP8$createSignal(0);
|
|
13
13
|
const [height, setHeight] = $9HbP8$createSignal(0);
|
|
@@ -926,6 +926,7 @@ function $f32e14878e75af51$export$6649caad96ef8870(props) {
|
|
|
926
926
|
fadingThreshold_ = 0.96
|
|
927
927
|
} = props;
|
|
928
928
|
const [hasHydrated, setHasHydrated] = $9HbP8$createSignal(false);
|
|
929
|
+
const shouldShowArrows = () => props.showArrow_ !== false;
|
|
929
930
|
$9HbP8$createEffect(() => setHasHydrated(true));
|
|
930
931
|
const MakeButton = () => (() => {
|
|
931
932
|
var _el$ = $9HbP8$getNextElement($f32e14878e75af51$var$_tmpl$);
|
|
@@ -955,7 +956,7 @@ function $f32e14878e75af51$export$6649caad96ef8870(props) {
|
|
|
955
956
|
_el$5 = _el$7.nextSibling;
|
|
956
957
|
$9HbP8$insert(_el$2, $9HbP8$createComponent((0, $9HbP8$Show), {
|
|
957
958
|
get when() {
|
|
958
|
-
return
|
|
959
|
+
return shouldShowArrows();
|
|
959
960
|
},
|
|
960
961
|
get children() {
|
|
961
962
|
return [(() => {
|
|
@@ -982,14 +983,20 @@ function $f32e14878e75af51$export$6649caad96ef8870(props) {
|
|
|
982
983
|
});
|
|
983
984
|
const slider = new (0, $9HbP8$Amazing_Slider)({
|
|
984
985
|
button_contents: {
|
|
985
|
-
left:
|
|
986
|
-
right:
|
|
986
|
+
left: [MakeButton()],
|
|
987
|
+
right: [MakeButton()]
|
|
987
988
|
},
|
|
988
989
|
constructor_plugins: [$9HbP8$slider_snap_css(0, {
|
|
989
990
|
align: snapAlign_
|
|
990
991
|
}).constructor_plugin, ...(fading_plugin ? [fading_plugin.constructor_plugin] : [])],
|
|
991
992
|
mutation_plugins: [...(fading_plugin ? [fading_plugin.mutation_plugin_] : []), ...mutation_plugins_, entries => setIntersectionEntries(entries)]
|
|
992
993
|
});
|
|
994
|
+
const {
|
|
995
|
+
left_: left_,
|
|
996
|
+
right_: right_
|
|
997
|
+
} = slider.elements_;
|
|
998
|
+
$9HbP8$createEffect(() => left_.style.display = shouldShowArrows() ? "" : "none");
|
|
999
|
+
$9HbP8$createEffect(() => right_.style.display = shouldShowArrows() ? "" : "none");
|
|
993
1000
|
$9HbP8$insert(slider.insert_here, () => $9HbP8$createComponent($f32e14878e75af51$var$SlidableContext.Provider, {
|
|
994
1001
|
value: {
|
|
995
1002
|
slider_: slider,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.18",
|
|
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",
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"@babel/runtime-corejs3": "^7.22.6",
|
|
239
239
|
"@depict-ai/plp-styling": "^4.4.18",
|
|
240
240
|
"@depict-ai/types": "^5.4.4",
|
|
241
|
-
"@depict-ai/utilishared": "^2.4.
|
|
241
|
+
"@depict-ai/utilishared": "^2.4.6",
|
|
242
242
|
"solid-js": "^1.8.16"
|
|
243
243
|
},
|
|
244
244
|
"type": "module",
|
package/server/ES10/index.cjs
CHANGED
|
@@ -114,7 +114,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
|
|
|
114
114
|
$parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
|
|
115
115
|
$parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
|
|
116
116
|
/*! Depict.ai search and product listing SDK */
|
|
117
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.8.
|
|
117
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.8.18";
|
|
118
118
|
function $054b1113e4897051$export$54c6d6ff54e72743(whatToWatch) {
|
|
119
119
|
const [width, setWidth] = $3hooq$solidjs.createSignal(0);
|
|
120
120
|
const [height, setHeight] = $3hooq$solidjs.createSignal(0);
|
|
@@ -850,6 +850,7 @@ function $ad8ec7729fffeb9c$export$6649caad96ef8870(props) {
|
|
|
850
850
|
fadingThreshold_ = 0.96
|
|
851
851
|
} = props;
|
|
852
852
|
const [hasHydrated, setHasHydrated] = $3hooq$solidjs.createSignal(false);
|
|
853
|
+
const shouldShowArrows = () => props.showArrow_ !== false;
|
|
853
854
|
$3hooq$solidjs.createEffect(() => setHasHydrated(true));
|
|
854
855
|
const MakeButton = () => $3hooq$solidjsweb.ssr($ad8ec7729fffeb9c$var$_tmpl$, $3hooq$solidjsweb.ssrHydrationKey(), $3hooq$solidjsweb.escape($3hooq$solidjsweb.createComponent((0, $9d19451330d04c3c$export$8be2714ec7f169ee), {
|
|
855
856
|
get height_() {
|
|
@@ -870,7 +871,7 @@ function $ad8ec7729fffeb9c$export$6649caad96ef8870(props) {
|
|
|
870
871
|
get fallback() {
|
|
871
872
|
return $3hooq$solidjsweb.ssr($ad8ec7729fffeb9c$var$_tmpl$4, $3hooq$solidjsweb.ssrHydrationKey(), $3hooq$solidjsweb.escape($3hooq$solidjsweb.createComponent((0, $3hooq$solidjs.Show), {
|
|
872
873
|
get when() {
|
|
873
|
-
return
|
|
874
|
+
return shouldShowArrows();
|
|
874
875
|
},
|
|
875
876
|
get children() {
|
|
876
877
|
return [$3hooq$solidjsweb.ssr($ad8ec7729fffeb9c$var$_tmpl$2, $3hooq$solidjsweb.ssrHydrationKey(), $3hooq$solidjsweb.escape($3hooq$solidjsweb.createComponent(MakeButton, {}))), $3hooq$solidjsweb.ssr($ad8ec7729fffeb9c$var$_tmpl$3, $3hooq$solidjsweb.ssrHydrationKey(), $3hooq$solidjsweb.escape($3hooq$solidjsweb.createComponent(MakeButton, {})))];
|
|
@@ -886,14 +887,20 @@ function $ad8ec7729fffeb9c$export$6649caad96ef8870(props) {
|
|
|
886
887
|
});
|
|
887
888
|
const slider = new (0, $3hooq$depictaiutilishared.Amazing_Slider)({
|
|
888
889
|
button_contents: {
|
|
889
|
-
left:
|
|
890
|
-
right:
|
|
890
|
+
left: [MakeButton()],
|
|
891
|
+
right: [MakeButton()]
|
|
891
892
|
},
|
|
892
893
|
constructor_plugins: [$3hooq$depictaiutilishared.slider_snap_css(0, {
|
|
893
894
|
align: snapAlign_
|
|
894
895
|
}).constructor_plugin, ...(fading_plugin ? [fading_plugin.constructor_plugin] : [])],
|
|
895
896
|
mutation_plugins: [...(fading_plugin ? [fading_plugin.mutation_plugin_] : []), ...mutation_plugins_, entries => setIntersectionEntries(entries)]
|
|
896
897
|
});
|
|
898
|
+
const {
|
|
899
|
+
left_: left_,
|
|
900
|
+
right_: right_
|
|
901
|
+
} = slider.elements_;
|
|
902
|
+
$3hooq$solidjs.createEffect(() => left_.style.display = shouldShowArrows() ? "" : "none");
|
|
903
|
+
$3hooq$solidjs.createEffect(() => right_.style.display = shouldShowArrows() ? "" : "none");
|
|
897
904
|
$3hooq$solidjsweb.insert(slider.insert_here, () => $3hooq$solidjsweb.createComponent($ad8ec7729fffeb9c$var$SlidableContext.Provider, {
|
|
898
905
|
value: {
|
|
899
906
|
slider_: slider,
|
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.8.
|
|
14
|
+
export const version = "4.8.18";
|
|
15
15
|
/**
|
|
16
16
|
* Returns two accessors (one width and one height) that will update when the size of the provided element changes, to be used with ResponsiveImg
|
|
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.8.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.8.18";
|
|
14
14
|
function $4be619ec2cd7bba3$export$54c6d6ff54e72743(whatToWatch) {
|
|
15
15
|
const [width, setWidth] = $b8hua$createSignal(0);
|
|
16
16
|
const [height, setHeight] = $b8hua$createSignal(0);
|
|
@@ -746,6 +746,7 @@ function $002f09d00aac50b2$export$6649caad96ef8870(props) {
|
|
|
746
746
|
fadingThreshold_ = 0.96
|
|
747
747
|
} = props;
|
|
748
748
|
const [hasHydrated, setHasHydrated] = $b8hua$createSignal(false);
|
|
749
|
+
const shouldShowArrows = () => props.showArrow_ !== false;
|
|
749
750
|
$b8hua$createEffect(() => setHasHydrated(true));
|
|
750
751
|
const MakeButton = () => $b8hua$ssr($002f09d00aac50b2$var$_tmpl$, $b8hua$ssrHydrationKey(), $b8hua$escape($b8hua$createComponent((0, $ca6ab5f08bd28bca$export$8be2714ec7f169ee), {
|
|
751
752
|
get height_() {
|
|
@@ -766,7 +767,7 @@ function $002f09d00aac50b2$export$6649caad96ef8870(props) {
|
|
|
766
767
|
get fallback() {
|
|
767
768
|
return $b8hua$ssr($002f09d00aac50b2$var$_tmpl$4, $b8hua$ssrHydrationKey(), $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
|
|
768
769
|
get when() {
|
|
769
|
-
return
|
|
770
|
+
return shouldShowArrows();
|
|
770
771
|
},
|
|
771
772
|
get children() {
|
|
772
773
|
return [$b8hua$ssr($002f09d00aac50b2$var$_tmpl$2, $b8hua$ssrHydrationKey(), $b8hua$escape($b8hua$createComponent(MakeButton, {}))), $b8hua$ssr($002f09d00aac50b2$var$_tmpl$3, $b8hua$ssrHydrationKey(), $b8hua$escape($b8hua$createComponent(MakeButton, {})))];
|
|
@@ -782,14 +783,20 @@ function $002f09d00aac50b2$export$6649caad96ef8870(props) {
|
|
|
782
783
|
});
|
|
783
784
|
const slider = new (0, $b8hua$Amazing_Slider)({
|
|
784
785
|
button_contents: {
|
|
785
|
-
left:
|
|
786
|
-
right:
|
|
786
|
+
left: [MakeButton()],
|
|
787
|
+
right: [MakeButton()]
|
|
787
788
|
},
|
|
788
789
|
constructor_plugins: [$b8hua$slider_snap_css(0, {
|
|
789
790
|
align: snapAlign_
|
|
790
791
|
}).constructor_plugin, ...(fading_plugin ? [fading_plugin.constructor_plugin] : [])],
|
|
791
792
|
mutation_plugins: [...(fading_plugin ? [fading_plugin.mutation_plugin_] : []), ...mutation_plugins_, entries => setIntersectionEntries(entries)]
|
|
792
793
|
});
|
|
794
|
+
const {
|
|
795
|
+
left_: left_,
|
|
796
|
+
right_: right_
|
|
797
|
+
} = slider.elements_;
|
|
798
|
+
$b8hua$createEffect(() => left_.style.display = shouldShowArrows() ? "" : "none");
|
|
799
|
+
$b8hua$createEffect(() => right_.style.display = shouldShowArrows() ? "" : "none");
|
|
793
800
|
$b8hua$insert(slider.insert_here, () => $b8hua$createComponent($002f09d00aac50b2$var$SlidableContext.Provider, {
|
|
794
801
|
value: {
|
|
795
802
|
slider_: slider,
|
package/server/latest/index.cjs
CHANGED
|
@@ -108,7 +108,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
|
|
|
108
108
|
$parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
|
|
109
109
|
$parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
|
|
110
110
|
/*! Depict.ai search and product listing SDK */
|
|
111
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.8.
|
|
111
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.8.18";
|
|
112
112
|
function $128302ab61dab8f1$export$54c6d6ff54e72743(whatToWatch) {
|
|
113
113
|
const [width, setWidth] = $5vyXB$solidjs.createSignal(0);
|
|
114
114
|
const [height, setHeight] = $5vyXB$solidjs.createSignal(0);
|
|
@@ -811,6 +811,7 @@ function $a0e53f99354809d9$export$6649caad96ef8870(props) {
|
|
|
811
811
|
fadingThreshold_ = 0.96
|
|
812
812
|
} = props;
|
|
813
813
|
const [hasHydrated, setHasHydrated] = $5vyXB$solidjs.createSignal(false);
|
|
814
|
+
const shouldShowArrows = () => props.showArrow_ !== false;
|
|
814
815
|
$5vyXB$solidjs.createEffect(() => setHasHydrated(true));
|
|
815
816
|
const MakeButton = () => $5vyXB$solidjsweb.ssr($a0e53f99354809d9$var$_tmpl$, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.escape($5vyXB$solidjsweb.createComponent((0, $0f313083912e447a$export$8be2714ec7f169ee), {
|
|
816
817
|
get height_() {
|
|
@@ -831,7 +832,7 @@ function $a0e53f99354809d9$export$6649caad96ef8870(props) {
|
|
|
831
832
|
get fallback() {
|
|
832
833
|
return $5vyXB$solidjsweb.ssr($a0e53f99354809d9$var$_tmpl$4, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.escape($5vyXB$solidjsweb.createComponent((0, $5vyXB$solidjs.Show), {
|
|
833
834
|
get when() {
|
|
834
|
-
return
|
|
835
|
+
return shouldShowArrows();
|
|
835
836
|
},
|
|
836
837
|
get children() {
|
|
837
838
|
return [$5vyXB$solidjsweb.ssr($a0e53f99354809d9$var$_tmpl$2, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.escape($5vyXB$solidjsweb.createComponent(MakeButton, {}))), $5vyXB$solidjsweb.ssr($a0e53f99354809d9$var$_tmpl$3, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.escape($5vyXB$solidjsweb.createComponent(MakeButton, {})))];
|
|
@@ -847,14 +848,20 @@ function $a0e53f99354809d9$export$6649caad96ef8870(props) {
|
|
|
847
848
|
});
|
|
848
849
|
const slider = new (0, $5vyXB$depictaiutilishared.Amazing_Slider)({
|
|
849
850
|
button_contents: {
|
|
850
|
-
left:
|
|
851
|
-
right:
|
|
851
|
+
left: [MakeButton()],
|
|
852
|
+
right: [MakeButton()]
|
|
852
853
|
},
|
|
853
854
|
constructor_plugins: [$5vyXB$depictaiutilishared.slider_snap_css(0, {
|
|
854
855
|
align: snapAlign_
|
|
855
856
|
}).constructor_plugin, ...(fading_plugin ? [fading_plugin.constructor_plugin] : [])],
|
|
856
857
|
mutation_plugins: [...(fading_plugin ? [fading_plugin.mutation_plugin_] : []), ...mutation_plugins_, entries => setIntersectionEntries(entries)]
|
|
857
858
|
});
|
|
859
|
+
const {
|
|
860
|
+
left_: left_,
|
|
861
|
+
right_: right_
|
|
862
|
+
} = slider.elements_;
|
|
863
|
+
$5vyXB$solidjs.createEffect(() => left_.style.display = shouldShowArrows() ? "" : "none");
|
|
864
|
+
$5vyXB$solidjs.createEffect(() => right_.style.display = shouldShowArrows() ? "" : "none");
|
|
858
865
|
$5vyXB$solidjsweb.insert(slider.insert_here, () => $5vyXB$solidjsweb.createComponent($a0e53f99354809d9$var$SlidableContext.Provider, {
|
|
859
866
|
value: {
|
|
860
867
|
slider_: slider,
|
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.8.
|
|
14
|
+
export const version = "4.8.18";
|
|
15
15
|
/**
|
|
16
16
|
* Returns two accessors (one width and one height) that will update when the size of the provided element changes, to be used with ResponsiveImg
|
|
17
17
|
*/
|
package/server/latest/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { dlog as $i7OB2$dlog, catchify as $i7OB2$catchify1, ListenableSet as $i7
|
|
|
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.8.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "4.8.18";
|
|
11
11
|
function $a444a52bafa0dacc$export$54c6d6ff54e72743(whatToWatch) {
|
|
12
12
|
const [width, setWidth] = $i7OB2$createSignal(0);
|
|
13
13
|
const [height, setHeight] = $i7OB2$createSignal(0);
|
|
@@ -710,6 +710,7 @@ function $f32e14878e75af51$export$6649caad96ef8870(props) {
|
|
|
710
710
|
fadingThreshold_ = 0.96
|
|
711
711
|
} = props;
|
|
712
712
|
const [hasHydrated, setHasHydrated] = $i7OB2$createSignal(false);
|
|
713
|
+
const shouldShowArrows = () => props.showArrow_ !== false;
|
|
713
714
|
$i7OB2$createEffect(() => setHasHydrated(true));
|
|
714
715
|
const MakeButton = () => $i7OB2$ssr($f32e14878e75af51$var$_tmpl$, $i7OB2$ssrHydrationKey(), $i7OB2$escape($i7OB2$createComponent((0, $fbbadcb080ad1d4a$export$8be2714ec7f169ee), {
|
|
715
716
|
get height_() {
|
|
@@ -730,7 +731,7 @@ function $f32e14878e75af51$export$6649caad96ef8870(props) {
|
|
|
730
731
|
get fallback() {
|
|
731
732
|
return $i7OB2$ssr($f32e14878e75af51$var$_tmpl$4, $i7OB2$ssrHydrationKey(), $i7OB2$escape($i7OB2$createComponent((0, $i7OB2$Show), {
|
|
732
733
|
get when() {
|
|
733
|
-
return
|
|
734
|
+
return shouldShowArrows();
|
|
734
735
|
},
|
|
735
736
|
get children() {
|
|
736
737
|
return [$i7OB2$ssr($f32e14878e75af51$var$_tmpl$2, $i7OB2$ssrHydrationKey(), $i7OB2$escape($i7OB2$createComponent(MakeButton, {}))), $i7OB2$ssr($f32e14878e75af51$var$_tmpl$3, $i7OB2$ssrHydrationKey(), $i7OB2$escape($i7OB2$createComponent(MakeButton, {})))];
|
|
@@ -746,14 +747,20 @@ function $f32e14878e75af51$export$6649caad96ef8870(props) {
|
|
|
746
747
|
});
|
|
747
748
|
const slider = new (0, $i7OB2$Amazing_Slider)({
|
|
748
749
|
button_contents: {
|
|
749
|
-
left:
|
|
750
|
-
right:
|
|
750
|
+
left: [MakeButton()],
|
|
751
|
+
right: [MakeButton()]
|
|
751
752
|
},
|
|
752
753
|
constructor_plugins: [$i7OB2$slider_snap_css(0, {
|
|
753
754
|
align: snapAlign_
|
|
754
755
|
}).constructor_plugin, ...(fading_plugin ? [fading_plugin.constructor_plugin] : [])],
|
|
755
756
|
mutation_plugins: [...(fading_plugin ? [fading_plugin.mutation_plugin_] : []), ...mutation_plugins_, entries => setIntersectionEntries(entries)]
|
|
756
757
|
});
|
|
758
|
+
const {
|
|
759
|
+
left_: left_,
|
|
760
|
+
right_: right_
|
|
761
|
+
} = slider.elements_;
|
|
762
|
+
$i7OB2$createEffect(() => left_.style.display = shouldShowArrows() ? "" : "none");
|
|
763
|
+
$i7OB2$createEffect(() => right_.style.display = shouldShowArrows() ? "" : "none");
|
|
757
764
|
$i7OB2$insert(slider.insert_here, () => $i7OB2$createComponent($f32e14878e75af51$var$SlidableContext.Provider, {
|
|
758
765
|
value: {
|
|
759
766
|
slider_: slider,
|