v1.0.0-rc

This commit is contained in:
Ubuntu 2025-09-08 14:46:37 +05:30
parent e51c79d402
commit 6c3edfb3a4
4 changed files with 353 additions and 354 deletions

View File

@ -20,7 +20,7 @@ public with sharing class PropertyDataController {
'pcrm__Sub_Community_Propertyfinder__c, pcrm__Property_Name_Propertyfinder__c, ' +
'pcrm__City_Propertyfinder__c, ' +
'pcrm__Rent_Available_From__c, pcrm__Rent_Available_To__c, ' +
'Contact__c, Contact__r.FirstName, Contact__r.LastName, ' +
'Contact__c, Contact__r.FirstName, Contact__r.LastName, Contact__r.Email, Contact__r.Phone, ' +
'Email__c, Phone__c, ' +
'CreatedBy.Name, LastModifiedBy.Name, Owner.Name, ' +
'CreatedDate, LastModifiedDate ' +
@ -87,7 +87,7 @@ public with sharing class PropertyDataController {
'pcrm__Sub_Community_Propertyfinder__c, pcrm__Property_Name_Propertyfinder__c, ' +
'pcrm__City_Propertyfinder__c, ' +
'pcrm__Rent_Available_From__c, pcrm__Rent_Available_To__c, ' +
'Contact__c, Contact__r.FirstName, Contact__r.LastName, ' +
'Contact__c, Contact__r.FirstName, Contact__r.LastName, Contact__r.Email, Contact__r.Phone, ' +
'Email__c, Phone__c, ' +
'CreatedBy.Name, LastModifiedBy.Name, Owner.Name, ' +
'CreatedDate, LastModifiedDate ' +

View File

@ -19,14 +19,16 @@
.enhanced-editor-content ul,
.enhanced-editor-content ol {
margin: 10px 0;
padding-left: 20px;
padding-left: 30px;
list-style-position: outside;
display: block;
}
.enhanced-editor-content li {
margin-bottom: 5px;
line-height: 1.6;
display: list-item;
position: relative;
}
.enhanced-editor-content ul {
@ -52,6 +54,45 @@
font-weight: normal;
}
/* Fallback for browsers that don't support ::marker */
.enhanced-editor-content ul li:before {
content: "•";
color: #333;
font-weight: bold;
position: absolute;
left: -20px;
}
.enhanced-editor-content ol li:before {
content: counter(list-item) ".";
color: #333;
font-weight: normal;
position: absolute;
left: -25px;
}
/* Ensure lists are visible and properly formatted */
.enhanced-editor-content ul,
.enhanced-editor-content ol {
list-style: none;
counter-reset: list-item;
}
.enhanced-editor-content ol {
counter-reset: list-item;
}
.enhanced-editor-content ol li {
counter-increment: list-item;
}
/* Make sure list items are properly indented */
.enhanced-editor-content ul li,
.enhanced-editor-content ol li {
padding-left: 10px;
margin-left: 0;
}
/* Enhanced Image Styles */
.enhanced-editor-content img {
max-width: 100%;
@ -4125,6 +4166,39 @@ late particularay
border:1px solid #e5e5e5;
border-radius:8px;
}
/* Floating placeholder when there are no property images */
.pdf-viewport.no-images .floating-placeholder {
position: absolute;
bottom: 16px;
right: 16px;
display: flex;
align-items: center;
gap: 10px;
z-index: 10;
}
.pdf-viewport.no-images .placeholder-badge {
background: #e9ecef;
color: #495057;
border: 1px solid #dee2e6;
border-radius: 999px;
padding: 4px 10px;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.pdf-viewport.no-images .placeholder-bubble {
background: rgba(33, 37, 41, 0.92);
color: #fff;
padding: 10px 12px;
border-radius: 10px;
box-shadow: 0 6px 18px rgba(0,0,0,0.18);
max-width: 360px;
font-size: 13px;
}
.pdf-canvas {
transform-origin: center top; /* Center the zoom origin for better centering */
margin: 0; /* Remove margin since flexbox handles centering */

View File

@ -425,10 +425,10 @@
<div class="property-selector">
<label for="propertySelect">Property:</label>
<select id="propertySelect" onchange={handlePropertySelection}>
<select id="propertySelect" value={selectedPropertyId} onchange={handlePropertySelection}>
<option value="">-- Select a Property --</option>
<template for:each={properties} for:item="property">
<option key={property.Id} value={property.Id}>
<template for:each={propertiesWithSelected} for:item="property">
<option key={property.Id} value={property.Id} selected={property._selected}>
{property.Name} - {property.pcrm__Title_English__c} - {property.pcrm__Property_Type__c} -
{property.pcrm__City_Bayut_Dubizzle__c}
</option>
@ -1098,7 +1098,7 @@
<!-- Viewport Toolbar - Removed for cleaner interface -->
<!-- PDF Viewport -->
<div class="pdf-viewport">
<div class={pdfViewportClass}>
<div class="pdf-canvas" style={pdfCanvasStyle} data-page-size={selectedPageSize}>
<!-- Pages will be dynamically generated here -->
<template if:true={previewPages}>
@ -1121,6 +1121,14 @@
</div>
</template>
</div>
<template if:false={hasPropertyImages}>
<div class="floating-placeholder">
<div class="placeholder-badge">Default</div>
<div class="placeholder-bubble">
No property images were found. Using template defaults.
</div>
</div>
</template>
</div>
</div>
</div>