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.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"
|
|
@@ -6964,13 +6941,16 @@ var Treatments1 = function Treatments1(props) {
|
|
|
6964
6941
|
textBody = _shopConfigStyle$colo4 === void 0 ? "#000" : _shopConfigStyle$colo4,
|
|
6965
6942
|
_shopConfigStyle$colo5 = _shopConfigStyle$colo.background,
|
|
6966
6943
|
background = _shopConfigStyle$colo5 === void 0 ? "#fff" : _shopConfigStyle$colo5;
|
|
6944
|
+
var _useState = React.useState({
|
|
6945
|
+
size: 1
|
|
6946
|
+
}),
|
|
6947
|
+
params = _useState[0];
|
|
6967
6948
|
var _ProductController = ProductController(_extends({}, props, {
|
|
6968
|
-
params:
|
|
6969
|
-
size: 1
|
|
6970
|
-
}
|
|
6949
|
+
params: params
|
|
6971
6950
|
})),
|
|
6972
6951
|
_ProductController$pr = _ProductController.products,
|
|
6973
6952
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
6953
|
+
console.log("Treatments1 products 1", products);
|
|
6974
6954
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
6975
6955
|
className: "relative w-full py-12 px-4 xl:px-20",
|
|
6976
6956
|
style: {
|
|
@@ -7223,7 +7203,7 @@ var Treatments1$1 = function Treatments1(props) {
|
|
|
7223
7203
|
var _useState2 = React.useState(0),
|
|
7224
7204
|
selectedCategory = _useState2[0],
|
|
7225
7205
|
setSelectedCategory = _useState2[1];
|
|
7226
|
-
console.log("products"
|
|
7206
|
+
console.log("Treatments2 products");
|
|
7227
7207
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
7228
7208
|
className: "relative w-full py-12 px-4 xl:px-20",
|
|
7229
7209
|
style: {
|
|
@@ -7282,7 +7262,7 @@ var ProductItem2 = function ProductItem2(props) {
|
|
|
7282
7262
|
}, product === null || product === void 0 ? void 0 : product.productName));
|
|
7283
7263
|
};
|
|
7284
7264
|
|
|
7285
|
-
var
|
|
7265
|
+
var Products1 = function Products1(props) {
|
|
7286
7266
|
var _props$shopConfigStyl = props.shopConfigStyle,
|
|
7287
7267
|
shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
|
|
7288
7268
|
_props$data = props.data,
|
|
@@ -7303,6 +7283,7 @@ var Treatments1$2 = function Treatments1(props) {
|
|
|
7303
7283
|
})),
|
|
7304
7284
|
_ProductController$pr = _ProductController.products,
|
|
7305
7285
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7286
|
+
console.log("Products1 products");
|
|
7306
7287
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
7307
7288
|
className: "w-full py-12 px-4 xl:px-20 text-center",
|
|
7308
7289
|
style: {
|
|
@@ -7445,6 +7426,7 @@ var Products2 = function Products2(props) {
|
|
|
7445
7426
|
var _ProductController = ProductController(props),
|
|
7446
7427
|
_ProductController$pr = _ProductController.products,
|
|
7447
7428
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7429
|
+
console.log("Products2 products");
|
|
7448
7430
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7449
7431
|
className: "pt-10 px-4 xl:px-20",
|
|
7450
7432
|
style: {
|
|
@@ -7594,6 +7576,7 @@ var Products10 = function Products10(props) {
|
|
|
7594
7576
|
var _ProductController = ProductController(props),
|
|
7595
7577
|
_ProductController$pr = _ProductController.products,
|
|
7596
7578
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7579
|
+
console.log("Products10 products");
|
|
7597
7580
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7598
7581
|
className: "w-full pt-10 px-4 xl:px-20",
|
|
7599
7582
|
style: {
|
|
@@ -7642,6 +7625,7 @@ var ProductsTop1 = function ProductsTop1(props) {
|
|
|
7642
7625
|
var _ProductController = ProductController(props),
|
|
7643
7626
|
_ProductController$pr = _ProductController.products,
|
|
7644
7627
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7628
|
+
console.log("ProductsTop1 products");
|
|
7645
7629
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7646
7630
|
className: "w-full pt-10 px-4 xl:px-20",
|
|
7647
7631
|
style: {
|
|
@@ -7994,6 +7978,7 @@ var BookingForm = function BookingForm(props) {
|
|
|
7994
7978
|
isAutoGetList: isAutoGetListProduct,
|
|
7995
7979
|
params: productsParams
|
|
7996
7980
|
}));
|
|
7981
|
+
console.log("BookingForm products");
|
|
7997
7982
|
var _BookingController = BookingController(props);
|
|
7998
7983
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7999
7984
|
className: "grid gap-4 rounded-lg p-6",
|
|
@@ -8458,7 +8443,7 @@ exports.Hero12 = Hero11$1;
|
|
|
8458
8443
|
exports.Hero13 = Hero13;
|
|
8459
8444
|
exports.Links1 = Links1;
|
|
8460
8445
|
exports.Partner1 = Partner1;
|
|
8461
|
-
exports.Products1 =
|
|
8446
|
+
exports.Products1 = Products1;
|
|
8462
8447
|
exports.Products10 = Products10;
|
|
8463
8448
|
exports.Products2 = Products2;
|
|
8464
8449
|
exports.ProductsTop1 = ProductsTop1;
|