s-platform-landing-section 0.1.5 → 0.1.6
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 +19 -36
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +19 -36
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6828,8 +6828,7 @@ var ProductController = function ProductController(props) {
|
|
|
6828
6828
|
var defaultParams = {
|
|
6829
6829
|
page: 0,
|
|
6830
6830
|
size: 8,
|
|
6831
|
-
types: "0"
|
|
6832
|
-
sort: ""
|
|
6831
|
+
types: "0"
|
|
6833
6832
|
};
|
|
6834
6833
|
React.useEffect(function () {
|
|
6835
6834
|
if (isAutoGetList) {
|
|
@@ -6859,7 +6858,7 @@ var ProductController = function ProductController(props) {
|
|
|
6859
6858
|
};
|
|
6860
6859
|
};
|
|
6861
6860
|
|
|
6862
|
-
var _path, _path2, _path3
|
|
6861
|
+
var _path, _path2, _path3;
|
|
6863
6862
|
function _extends$1() {
|
|
6864
6863
|
return _extends$1 = Object.assign ? Object.assign.bind() : function (n) {
|
|
6865
6864
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -6869,40 +6868,18 @@ function _extends$1() {
|
|
|
6869
6868
|
return n;
|
|
6870
6869
|
}, _extends$1.apply(null, arguments);
|
|
6871
6870
|
}
|
|
6872
|
-
function
|
|
6871
|
+
function SvgImageGallery(props) {
|
|
6873
6872
|
return /*#__PURE__*/React.createElement("svg", _extends$1({
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6873
|
+
height: 512,
|
|
6874
|
+
viewBox: "0 0 24 24",
|
|
6875
|
+
width: 512,
|
|
6877
6876
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6878
6877
|
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
6879
|
-
|
|
6880
|
-
fillOpacity: 0.05,
|
|
6881
|
-
d: "M0 0h293v293H0z"
|
|
6878
|
+
d: "M17.453 24c-.168 0-.34-.021-.51-.066L1.48 19.793a2.018 2.018 0 01-1.414-2.45l1.951-7.272a.5.5 0 01.966.258l-1.95 7.27c-.139.53.179 1.082.71 1.229L17.2 22.967a.995.995 0 001.217-.704l.781-2.894a.499.499 0 11.966.26l-.78 2.89A1.997 1.997 0 0117.453 24z"
|
|
6882
6879
|
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
|
|
6883
|
-
d: "
|
|
6884
|
-
stroke: "#888",
|
|
6885
|
-
strokeWidth: 6,
|
|
6886
|
-
strokeLinecap: "round",
|
|
6887
|
-
strokeLinejoin: "round"
|
|
6880
|
+
d: "M22 18H6c-1.103 0-2-.897-2-2V4c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zM6 3c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1V4c0-.551-.449-1-1-1z"
|
|
6888
6881
|
})), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
|
|
6889
|
-
d: "
|
|
6890
|
-
stroke: "#888",
|
|
6891
|
-
strokeWidth: 1.5,
|
|
6892
|
-
strokeLinecap: "round",
|
|
6893
|
-
strokeLinejoin: "round"
|
|
6894
|
-
})), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
|
|
6895
|
-
d: "M119.333 157l13.333-13.333c3.094-2.978 6.906-2.978 10 0l16.667 16.666",
|
|
6896
|
-
stroke: "#888",
|
|
6897
|
-
strokeWidth: 1.5,
|
|
6898
|
-
strokeLinecap: "round",
|
|
6899
|
-
strokeLinejoin: "round"
|
|
6900
|
-
})), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
|
|
6901
|
-
d: "M152.667 153.668l3.333-3.334c3.094-2.977 6.906-2.977 10 0l6.667 6.667",
|
|
6902
|
-
stroke: "#888",
|
|
6903
|
-
strokeWidth: 1.5,
|
|
6904
|
-
strokeLinecap: "round",
|
|
6905
|
-
strokeLinejoin: "round"
|
|
6882
|
+
d: "M9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1zM4.57 16.93a.5.5 0 01-.354-.853l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67a1.502 1.502 0 011.142-.54h.011a1.5 1.5 0 011.139.523l5.23 6.102a.5.5 0 11-.759.651l-5.23-6.102a.495.495 0 00-.38-.174.53.53 0 00-.384.18l-4.243 5.091a.498.498 0 01-.362.179.481.481 0 01-.376-.146l-1.793-1.793a.514.514 0 00-.707 0l-4.723 4.723a.498.498 0 01-.353.146z"
|
|
6906
6883
|
})));
|
|
6907
6884
|
}
|
|
6908
6885
|
|
|
@@ -6914,7 +6891,7 @@ var DefaultImage = function DefaultImage(props) {
|
|
|
6914
6891
|
style: {
|
|
6915
6892
|
backgroundColor: "#FAFAFA"
|
|
6916
6893
|
}
|
|
6917
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
6894
|
+
}, /*#__PURE__*/React__default.createElement(SvgImageGallery, {
|
|
6918
6895
|
width: "25%",
|
|
6919
6896
|
height: "25%",
|
|
6920
6897
|
fill: "#D9D9D9"
|
|
@@ -6971,6 +6948,7 @@ var Treatments1 = function Treatments1(props) {
|
|
|
6971
6948
|
})),
|
|
6972
6949
|
_ProductController$pr = _ProductController.products,
|
|
6973
6950
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
6951
|
+
console.log("Treatments1 products");
|
|
6974
6952
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
6975
6953
|
className: "relative w-full py-12 px-4 xl:px-20",
|
|
6976
6954
|
style: {
|
|
@@ -7223,7 +7201,7 @@ var Treatments1$1 = function Treatments1(props) {
|
|
|
7223
7201
|
var _useState2 = React.useState(0),
|
|
7224
7202
|
selectedCategory = _useState2[0],
|
|
7225
7203
|
setSelectedCategory = _useState2[1];
|
|
7226
|
-
console.log("products"
|
|
7204
|
+
console.log("Treatments2 products");
|
|
7227
7205
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
7228
7206
|
className: "relative w-full py-12 px-4 xl:px-20",
|
|
7229
7207
|
style: {
|
|
@@ -7282,7 +7260,7 @@ var ProductItem2 = function ProductItem2(props) {
|
|
|
7282
7260
|
}, product === null || product === void 0 ? void 0 : product.productName));
|
|
7283
7261
|
};
|
|
7284
7262
|
|
|
7285
|
-
var
|
|
7263
|
+
var Products1 = function Products1(props) {
|
|
7286
7264
|
var _props$shopConfigStyl = props.shopConfigStyle,
|
|
7287
7265
|
shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
|
|
7288
7266
|
_props$data = props.data,
|
|
@@ -7303,6 +7281,7 @@ var Treatments1$2 = function Treatments1(props) {
|
|
|
7303
7281
|
})),
|
|
7304
7282
|
_ProductController$pr = _ProductController.products,
|
|
7305
7283
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7284
|
+
console.log("Products1 products");
|
|
7306
7285
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
7307
7286
|
className: "w-full py-12 px-4 xl:px-20 text-center",
|
|
7308
7287
|
style: {
|
|
@@ -7445,6 +7424,7 @@ var Products2 = function Products2(props) {
|
|
|
7445
7424
|
var _ProductController = ProductController(props),
|
|
7446
7425
|
_ProductController$pr = _ProductController.products,
|
|
7447
7426
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7427
|
+
console.log("Products2 products");
|
|
7448
7428
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7449
7429
|
className: "pt-10 px-4 xl:px-20",
|
|
7450
7430
|
style: {
|
|
@@ -7594,6 +7574,7 @@ var Products10 = function Products10(props) {
|
|
|
7594
7574
|
var _ProductController = ProductController(props),
|
|
7595
7575
|
_ProductController$pr = _ProductController.products,
|
|
7596
7576
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7577
|
+
console.log("Products10 products");
|
|
7597
7578
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7598
7579
|
className: "w-full pt-10 px-4 xl:px-20",
|
|
7599
7580
|
style: {
|
|
@@ -7642,6 +7623,7 @@ var ProductsTop1 = function ProductsTop1(props) {
|
|
|
7642
7623
|
var _ProductController = ProductController(props),
|
|
7643
7624
|
_ProductController$pr = _ProductController.products,
|
|
7644
7625
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7626
|
+
console.log("ProductsTop1 products");
|
|
7645
7627
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7646
7628
|
className: "w-full pt-10 px-4 xl:px-20",
|
|
7647
7629
|
style: {
|
|
@@ -7994,6 +7976,7 @@ var BookingForm = function BookingForm(props) {
|
|
|
7994
7976
|
isAutoGetList: isAutoGetListProduct,
|
|
7995
7977
|
params: productsParams
|
|
7996
7978
|
}));
|
|
7979
|
+
console.log("BookingForm products");
|
|
7997
7980
|
var _BookingController = BookingController(props);
|
|
7998
7981
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7999
7982
|
className: "grid gap-4 rounded-lg p-6",
|
|
@@ -8458,7 +8441,7 @@ exports.Hero12 = Hero11$1;
|
|
|
8458
8441
|
exports.Hero13 = Hero13;
|
|
8459
8442
|
exports.Links1 = Links1;
|
|
8460
8443
|
exports.Partner1 = Partner1;
|
|
8461
|
-
exports.Products1 =
|
|
8444
|
+
exports.Products1 = Products1;
|
|
8462
8445
|
exports.Products10 = Products10;
|
|
8463
8446
|
exports.Products2 = Products2;
|
|
8464
8447
|
exports.ProductsTop1 = ProductsTop1;
|