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.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"
|
|
@@ -6968,6 +6945,7 @@ var Treatments1 = function Treatments1(props) {
|
|
|
6968
6945
|
})),
|
|
6969
6946
|
_ProductController$pr = _ProductController.products,
|
|
6970
6947
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
6948
|
+
console.log("Treatments1 products");
|
|
6971
6949
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
6972
6950
|
className: "relative w-full py-12 px-4 xl:px-20",
|
|
6973
6951
|
style: {
|
|
@@ -7220,7 +7198,7 @@ var Treatments1$1 = function Treatments1(props) {
|
|
|
7220
7198
|
var _useState2 = useState(0),
|
|
7221
7199
|
selectedCategory = _useState2[0],
|
|
7222
7200
|
setSelectedCategory = _useState2[1];
|
|
7223
|
-
console.log("products"
|
|
7201
|
+
console.log("Treatments2 products");
|
|
7224
7202
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
7225
7203
|
className: "relative w-full py-12 px-4 xl:px-20",
|
|
7226
7204
|
style: {
|
|
@@ -7279,7 +7257,7 @@ var ProductItem2 = function ProductItem2(props) {
|
|
|
7279
7257
|
}, product === null || product === void 0 ? void 0 : product.productName));
|
|
7280
7258
|
};
|
|
7281
7259
|
|
|
7282
|
-
var
|
|
7260
|
+
var Products1 = function Products1(props) {
|
|
7283
7261
|
var _props$shopConfigStyl = props.shopConfigStyle,
|
|
7284
7262
|
shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
|
|
7285
7263
|
_props$data = props.data,
|
|
@@ -7300,6 +7278,7 @@ var Treatments1$2 = function Treatments1(props) {
|
|
|
7300
7278
|
})),
|
|
7301
7279
|
_ProductController$pr = _ProductController.products,
|
|
7302
7280
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7281
|
+
console.log("Products1 products");
|
|
7303
7282
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
7304
7283
|
className: "w-full py-12 px-4 xl:px-20 text-center",
|
|
7305
7284
|
style: {
|
|
@@ -7442,6 +7421,7 @@ var Products2 = function Products2(props) {
|
|
|
7442
7421
|
var _ProductController = ProductController(props),
|
|
7443
7422
|
_ProductController$pr = _ProductController.products,
|
|
7444
7423
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7424
|
+
console.log("Products2 products");
|
|
7445
7425
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7446
7426
|
className: "pt-10 px-4 xl:px-20",
|
|
7447
7427
|
style: {
|
|
@@ -7591,6 +7571,7 @@ var Products10 = function Products10(props) {
|
|
|
7591
7571
|
var _ProductController = ProductController(props),
|
|
7592
7572
|
_ProductController$pr = _ProductController.products,
|
|
7593
7573
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7574
|
+
console.log("Products10 products");
|
|
7594
7575
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7595
7576
|
className: "w-full pt-10 px-4 xl:px-20",
|
|
7596
7577
|
style: {
|
|
@@ -7639,6 +7620,7 @@ var ProductsTop1 = function ProductsTop1(props) {
|
|
|
7639
7620
|
var _ProductController = ProductController(props),
|
|
7640
7621
|
_ProductController$pr = _ProductController.products,
|
|
7641
7622
|
products = _ProductController$pr === void 0 ? [] : _ProductController$pr;
|
|
7623
|
+
console.log("ProductsTop1 products");
|
|
7642
7624
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7643
7625
|
className: "w-full pt-10 px-4 xl:px-20",
|
|
7644
7626
|
style: {
|
|
@@ -7991,6 +7973,7 @@ var BookingForm = function BookingForm(props) {
|
|
|
7991
7973
|
isAutoGetList: isAutoGetListProduct,
|
|
7992
7974
|
params: productsParams
|
|
7993
7975
|
}));
|
|
7976
|
+
console.log("BookingForm products");
|
|
7994
7977
|
var _BookingController = BookingController(props);
|
|
7995
7978
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
7996
7979
|
className: "grid gap-4 rounded-lg p-6",
|
|
@@ -8439,5 +8422,5 @@ var Gallery1 = function Gallery1(props) {
|
|
|
8439
8422
|
}));
|
|
8440
8423
|
};
|
|
8441
8424
|
|
|
8442
|
-
export { Address1, Banner1, Booking1, CustomerRating10, Employees1, Features1, Features2, Features3, Footer1, Gallery1, Hero10, Hero11, Hero11$1 as Hero12, Hero13, Links1, Partner1,
|
|
8425
|
+
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
8426
|
//# sourceMappingURL=index.modern.js.map
|