s-platform-landing-section 0.1.5 → 0.1.7
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 +24 -39
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +24 -39
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -6825,8 +6825,7 @@ var ProductController = function ProductController(props) {
|
|
|
6825
6825
|
var defaultParams = {
|
|
6826
6826
|
page: 0,
|
|
6827
6827
|
size: 8,
|
|
6828
|
-
types: "0"
|
|
6829
|
-
sort: ""
|
|
6828
|
+
types: "0"
|
|
6830
6829
|
};
|
|
6831
6830
|
useEffect(function () {
|
|
6832
6831
|
if (isAutoGetList) {
|
|
@@ -6856,7 +6855,7 @@ var ProductController = function ProductController(props) {
|
|
|
6856
6855
|
};
|
|
6857
6856
|
};
|
|
6858
6857
|
|
|
6859
|
-
var _path, _path2, _path3
|
|
6858
|
+
var _path, _path2, _path3;
|
|
6860
6859
|
function _extends$1() {
|
|
6861
6860
|
return _extends$1 = Object.assign ? Object.assign.bind() : function (n) {
|
|
6862
6861
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -6866,40 +6865,18 @@ function _extends$1() {
|
|
|
6866
6865
|
return n;
|
|
6867
6866
|
}, _extends$1.apply(null, arguments);
|
|
6868
6867
|
}
|
|
6869
|
-
function
|
|
6868
|
+
function SvgImageGallery(props) {
|
|
6870
6869
|
return /*#__PURE__*/createElement("svg", _extends$1({
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6870
|
+
height: 512,
|
|
6871
|
+
viewBox: "0 0 24 24",
|
|
6872
|
+
width: 512,
|
|
6874
6873
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6875
6874
|
}, props), _path || (_path = /*#__PURE__*/createElement("path", {
|
|
6876
|
-
|
|
6877
|
-
fillOpacity: 0.05,
|
|
6878
|
-
d: "M0 0h293v293H0z"
|
|
6875
|
+
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"
|
|
6879
6876
|
})), _path2 || (_path2 = /*#__PURE__*/createElement("path", {
|
|
6880
|
-
d: "
|
|
6881
|
-
stroke: "#888",
|
|
6882
|
-
strokeWidth: 6,
|
|
6883
|
-
strokeLinecap: "round",
|
|
6884
|
-
strokeLinejoin: "round"
|
|
6877
|
+
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"
|
|
6885
6878
|
})), _path3 || (_path3 = /*#__PURE__*/createElement("path", {
|
|
6886
|
-
d: "
|
|
6887
|
-
stroke: "#888",
|
|
6888
|
-
strokeWidth: 1.5,
|
|
6889
|
-
strokeLinecap: "round",
|
|
6890
|
-
strokeLinejoin: "round"
|
|
6891
|
-
})), _path4 || (_path4 = /*#__PURE__*/createElement("path", {
|
|
6892
|
-
d: "M119.333 157l13.333-13.333c3.094-2.978 6.906-2.978 10 0l16.667 16.666",
|
|
6893
|
-
stroke: "#888",
|
|
6894
|
-
strokeWidth: 1.5,
|
|
6895
|
-
strokeLinecap: "round",
|
|
6896
|
-
strokeLinejoin: "round"
|
|
6897
|
-
})), _path5 || (_path5 = /*#__PURE__*/createElement("path", {
|
|
6898
|
-
d: "M152.667 153.668l3.333-3.334c3.094-2.977 6.906-2.977 10 0l6.667 6.667",
|
|
6899
|
-
stroke: "#888",
|
|
6900
|
-
strokeWidth: 1.5,
|
|
6901
|
-
strokeLinecap: "round",
|
|
6902
|
-
strokeLinejoin: "round"
|
|
6879
|
+
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"
|
|
6903
6880
|
})));
|
|
6904
6881
|
}
|
|
6905
6882
|
|
|
@@ -6911,7 +6888,7 @@ var DefaultImage = function DefaultImage(props) {
|
|
|
6911
6888
|
style: {
|
|
6912
6889
|
backgroundColor: "#FAFAFA"
|
|
6913
6890
|
}
|
|
6914
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
6891
|
+
}, /*#__PURE__*/React__default.createElement(SvgImageGallery, {
|
|
6915
6892
|
width: "25%",
|
|
6916
6893
|
height: "25%",
|
|
6917
6894
|
fill: "#D9D9D9"
|
|
@@ -6961,13 +6938,16 @@ var Treatments1 = function Treatments1(props) {
|
|
|
6961
6938
|
textBody = _shopConfigStyle$colo4 === void 0 ? "#000" : _shopConfigStyle$colo4,
|
|
6962
6939
|
_shopConfigStyle$colo5 = _shopConfigStyle$colo.background,
|
|
6963
6940
|
background = _shopConfigStyle$colo5 === void 0 ? "#fff" : _shopConfigStyle$colo5;
|
|
6941
|
+
var _useState = useState({
|
|
6942
|
+
size: 1
|
|
6943
|
+
}),
|
|
6944
|
+
params = _useState[0];
|
|
6964
6945
|
var _ProductController = ProductController(_extends({}, props, {
|
|
6965
|
-
params:
|
|
6966
|
-
size: 1
|
|
6967
|
-
}
|
|
6946
|
+
params: params
|
|
6968
6947
|
})),
|
|
6969
6948
|
_ProductController$pr = _ProductController.products,
|
|
6970
6949
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
6950
|
+
console.log("Treatments1 products 1", products);
|
|
6971
6951
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
6972
6952
|
className: "relative w-full py-12 px-4 xl:px-20",
|
|
6973
6953
|
style: {
|
|
@@ -7220,7 +7200,7 @@ var Treatments1$1 = function Treatments1(props) {
|
|
|
7220
7200
|
var _useState2 = useState(0),
|
|
7221
7201
|
selectedCategory = _useState2[0],
|
|
7222
7202
|
setSelectedCategory = _useState2[1];
|
|
7223
|
-
console.log("products"
|
|
7203
|
+
console.log("Treatments2 products");
|
|
7224
7204
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
7225
7205
|
className: "relative w-full py-12 px-4 xl:px-20",
|
|
7226
7206
|
style: {
|
|
@@ -7279,7 +7259,7 @@ var ProductItem2 = function ProductItem2(props) {
|
|
|
7279
7259
|
}, product === null || product === void 0 ? void 0 : product.productName));
|
|
7280
7260
|
};
|
|
7281
7261
|
|
|
7282
|
-
var
|
|
7262
|
+
var Products1 = function Products1(props) {
|
|
7283
7263
|
var _props$shopConfigStyl = props.shopConfigStyle,
|
|
7284
7264
|
shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
|
|
7285
7265
|
_props$data = props.data,
|
|
@@ -7300,6 +7280,7 @@ var Treatments1$2 = function Treatments1(props) {
|
|
|
7300
7280
|
})),
|
|
7301
7281
|
_ProductController$pr = _ProductController.products,
|
|
7302
7282
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7283
|
+
console.log("Products1 products");
|
|
7303
7284
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
7304
7285
|
className: "w-full py-12 px-4 xl:px-20 text-center",
|
|
7305
7286
|
style: {
|
|
@@ -7442,6 +7423,7 @@ var Products2 = function Products2(props) {
|
|
|
7442
7423
|
var _ProductController = ProductController(props),
|
|
7443
7424
|
_ProductController$pr = _ProductController.products,
|
|
7444
7425
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7426
|
+
console.log("Products2 products");
|
|
7445
7427
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7446
7428
|
className: "pt-10 px-4 xl:px-20",
|
|
7447
7429
|
style: {
|
|
@@ -7591,6 +7573,7 @@ var Products10 = function Products10(props) {
|
|
|
7591
7573
|
var _ProductController = ProductController(props),
|
|
7592
7574
|
_ProductController$pr = _ProductController.products,
|
|
7593
7575
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7576
|
+
console.log("Products10 products");
|
|
7594
7577
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7595
7578
|
className: "w-full pt-10 px-4 xl:px-20",
|
|
7596
7579
|
style: {
|
|
@@ -7639,6 +7622,7 @@ var ProductsTop1 = function ProductsTop1(props) {
|
|
|
7639
7622
|
var _ProductController = ProductController(props),
|
|
7640
7623
|
_ProductController$pr = _ProductController.products,
|
|
7641
7624
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7625
|
+
console.log("ProductsTop1 products");
|
|
7642
7626
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7643
7627
|
className: "w-full pt-10 px-4 xl:px-20",
|
|
7644
7628
|
style: {
|
|
@@ -7991,6 +7975,7 @@ var BookingForm = function BookingForm(props) {
|
|
|
7991
7975
|
isAutoGetList: isAutoGetListProduct,
|
|
7992
7976
|
params: productsParams
|
|
7993
7977
|
}));
|
|
7978
|
+
console.log("BookingForm products");
|
|
7994
7979
|
var _BookingController = BookingController(props);
|
|
7995
7980
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7996
7981
|
className: "grid gap-4 rounded-lg p-6",
|
|
@@ -8439,5 +8424,5 @@ var Gallery1 = function Gallery1(props) {
|
|
|
8439
8424
|
}));
|
|
8440
8425
|
};
|
|
8441
8426
|
|
|
8442
|
-
export { Address1, Banner1, Booking1, CustomerRating10, Employees1, Features1, Features2, Features3, Footer1, Gallery1, Hero10, Hero11, Hero11$1 as Hero12, Hero13, Links1, Partner1,
|
|
8427
|
+
export { Address1, Banner1, Booking1, CustomerRating10, Employees1, Features1, Features2, Features3, Footer1, Gallery1, Hero10, Hero11, Hero11$1 as Hero12, Hero13, Links1, Partner1, Products1, Products10, Products2, ProductsTop1, SectionTitle1, Treatments1, Treatments1$1 as Treatments2 };
|
|
8443
8428
|
//# sourceMappingURL=index.modern.js.map
|