UNPKG

stone-kit

Version:
167 lines (166 loc) 3.73 kB
import { jsx as e } from "react/jsx-runtime"; import { l as o } from "../../../index-BJwl9stn.js"; import { C as n } from "../../../FilterWithSave-D4iIFzmS.js"; const l = { id: 1, lotUuid: "123-abc", subTypeName: "Офис", area: "150", number: "A-101", floor: 5, floorsNumber: 10, status: 1, rentStatus: 1, type: 3, windowViews: ["На улицу", "Во двор"], isCorner: !0, isCatering: !1, isDecoration: !0, isWaterPipes: !0, isDetachedBuilding: !1, subType: 1, additionFeatures: [{ val: "Отдельный вход", slug: "separate-entrance", icoImg: "" }], housing: "Корпус 1", endFloor: 5, project: { buildingYear: 2025, name: "Project Name", directions: [], discount: "0", id: 0, address: "", features: null, frontFeatures: void 0, geo: { lat: "", long: "" }, logoImg: void 0, minimalLotPrice: {}, retailLotsCount: {}, salesOffice: void 0, shortDesc: "", showCatalog: !1, showDetailPage: !1, showPdfBtn: !1, bigLotFeatures: [], catalogFeatures: [], sort: null, isShowPayment: null, createdAt: "", updatedAt: "", metro: [], status: "", sitPlanImg: "" }, interiorPlanImg: "https://via.placeholder.com/295x213", floorPlanImg: "https://via.placeholder.com/295x213", name: null, buildingQuarter: null, hasBestPurchasingConditions: null, bestPurchasingConditions: null, cornerKitchenLiving: null, projectUuid: null, discount: null, sellingPriceBeforeDiscount: null, sellingPrice: null, projectId: null, showPriceFlg: null, sellingPricePerMeter: null, rentPricePerMeterPerYear: null, rentPricePerMonth: null, cardinalDirections: null, discountVolume: null, discountedPrice: null, availableFrom: null, handoverKeys: null, address: null, termsOfPurchase: null, typeName: null, direction: null, typeSizeCode: null, entrance: null, doorNumber: null, kitchenArea: null, livingArea: null, ceiling: null, saleFloorMin: null, saleFloorMax: null, beginFloor: null, mortgageMonthlyPayment: void 0, roomsCount: null, bedroomsCount: void 0, section: null, buildStage: null, terrace: void 0, pdfPresentation: void 0, isPhone: null, isMortgage: null, isGarbageTube: null, isPenthouse: void 0, isApart: null, isDoubleLevel: void 0, isRamp: null, isCloseToLift: null, isOccupied: null, isGab: null, isFacing: null, features: null, liftPassenger: null, liftService: void 0, balcony: null, bathroomWithWindow: null, dressingRoom: null, masterBedroom: null, workroom: null, objectId: "", reservations: void 0, businessType: null, loggia: void 0, condition: null, inputType: void 0, decoration: void 0, layout: null, repairType: null, slug: "", waterPipesCount: void 0, workPlacesCount: null, combinedWcsCount: null, speciality: null, showcaseWindows: null, windowView: null, promo: null, promoText: void 0, sitPlanImg: null, createdAt: void 0, updatedAt: void 0, firstPaymentSum: void 0, childLots: void 0, recommended: null, parking: void 0, azimuthAngle: void 0 }, s = { title: "entities/CommercialLotCard", component: n, parameters: { layout: "centered" }, tags: ["autodocs"] }, a = { args: { lot: l } }, u = { args: { lot: l, imgNode: /* @__PURE__ */ e("div", { style: { width: 295, height: 213, backgroundColor: "#eee", display: "flex", alignItems: "center", justifyContent: "center" }, children: "Custom Image" }) } }, d = { args: { lot: l, onPriceClickHandler: o() } }; export { a as Default, u as WithCustomImage, d as WithPriceClickHandler, s as default };