@salesforce/ui-bundle-template-app-vue-sample-b2x 0.0.0-stage → 13.4.0
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/LICENSE.txt +82 -0
- package/README.md +51 -2
- package/dist/.forceignore +15 -0
- package/dist/.husky/pre-commit +4 -0
- package/dist/.prettierignore +11 -0
- package/dist/.prettierrc +17 -0
- package/dist/CHANGELOG.md +5454 -0
- package/dist/README.md +587 -0
- package/dist/config/project-scratch-def.json +13 -0
- package/dist/eslint.config.js +7 -0
- package/dist/force-app/main/default/applications/PropertyManagement.app-meta.xml +33 -0
- package/dist/force-app/main/default/classes/MaintenanceRequestTriggerHandler.cls +69 -0
- package/dist/force-app/main/default/classes/MaintenanceRequestTriggerHandler.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/MaintenanceRequestTriggerHandler_Test.cls +308 -0
- package/dist/force-app/main/default/classes/MaintenanceRequestTriggerHandler_Test.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/TenantTriggerHandler.cls +77 -0
- package/dist/force-app/main/default/classes/TenantTriggerHandler.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/TenantTriggerHandler_Test.cls +100 -0
- package/dist/force-app/main/default/classes/TenantTriggerHandler_Test.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/UIBundleAuthUtils.cls +68 -0
- package/dist/force-app/main/default/classes/UIBundleAuthUtils.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/UIBundleAuthUtils_Test.cls +141 -0
- package/dist/force-app/main/default/classes/UIBundleAuthUtils_Test.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/UIBundleChangePassword.cls +77 -0
- package/dist/force-app/main/default/classes/UIBundleChangePassword.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/UIBundleForgotPassword.cls +71 -0
- package/dist/force-app/main/default/classes/UIBundleForgotPassword.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/UIBundleLogin.cls +105 -0
- package/dist/force-app/main/default/classes/UIBundleLogin.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/UIBundleRegistration.cls +162 -0
- package/dist/force-app/main/default/classes/UIBundleRegistration.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/UIBundleSocialLoginConfig.cls +145 -0
- package/dist/force-app/main/default/classes/UIBundleSocialLoginConfig.cls-meta.xml +5 -0
- package/dist/force-app/main/default/classes/UIBundleSocialLoginConfig_Test.cls +181 -0
- package/dist/force-app/main/default/classes/UIBundleSocialLoginConfig_Test.cls-meta.xml +5 -0
- package/dist/force-app/main/default/cspTrustedSites/GitHub_Avatars.cspTrustedSite-meta.xml +15 -0
- package/dist/force-app/main/default/cspTrustedSites/Google_Fonts.cspTrustedSite-meta.xml +15 -0
- package/dist/force-app/main/default/cspTrustedSites/Google_Fonts_Static.cspTrustedSite-meta.xml +15 -0
- package/dist/force-app/main/default/cspTrustedSites/OpenStreetMap_Nominatim.cspTrustedSite-meta.xml +15 -0
- package/dist/force-app/main/default/cspTrustedSites/OpenStreetMap_Tiles.cspTrustedSite-meta.xml +15 -0
- package/dist/force-app/main/default/cspTrustedSites/Open_Meteo_API.cspTrustedSite-meta.xml +15 -0
- package/dist/force-app/main/default/cspTrustedSites/Pexels_Images.cspTrustedSite-meta.xml +15 -0
- package/dist/force-app/main/default/cspTrustedSites/Pexels_Videos.cspTrustedSite-meta.xml +15 -0
- package/dist/force-app/main/default/cspTrustedSites/Unsplash_Images.cspTrustedSite-meta.xml +15 -0
- package/dist/force-app/main/default/data/Agent__c.json +79 -0
- package/dist/force-app/main/default/data/Application__c.json +124 -0
- package/dist/force-app/main/default/data/Contact.json +44 -0
- package/dist/force-app/main/default/data/KPI_Snapshot__c.json +160 -0
- package/dist/force-app/main/default/data/Lease__c.json +9442 -0
- package/dist/force-app/main/default/data/Maintenance_Request__c.json +514 -0
- package/dist/force-app/main/default/data/Maintenance_Worker__c.json +304 -0
- package/dist/force-app/main/default/data/Notification__c.json +214 -0
- package/dist/force-app/main/default/data/Payment__c.json +1024 -0
- package/dist/force-app/main/default/data/Property_Cost__c.json +484 -0
- package/dist/force-app/main/default/data/Property_Feature__c.json +169 -0
- package/dist/force-app/main/default/data/Property_Image__c.json +148 -0
- package/dist/force-app/main/default/data/Property_Listing__c.json +130 -0
- package/dist/force-app/main/default/data/Property_Management_Company__c.json +70 -0
- package/dist/force-app/main/default/data/Property_Owner__c.json +184 -0
- package/dist/force-app/main/default/data/Property_Sale__c.json +246 -0
- package/dist/force-app/main/default/data/Property__c.json +704 -0
- package/dist/force-app/main/default/data/Tenant__c.json +184 -0
- package/dist/force-app/main/default/data/data-plan.json +110 -0
- package/dist/force-app/main/default/data/prepare-import-unique-fields.js +156 -0
- package/dist/force-app/main/default/digitalExperienceConfigs/vuepropertyrentalapp1.digitalExperienceConfig-meta.xml +8 -0
- package/dist/force-app/main/default/digitalExperiences/site/vuepropertyrentalapp1/sfdc_cms__site/vuepropertyrentalapp1/_meta.json +5 -0
- package/dist/force-app/main/default/digitalExperiences/site/vuepropertyrentalapp1/sfdc_cms__site/vuepropertyrentalapp1/content.json +10 -0
- package/dist/force-app/main/default/digitalExperiences/site/vuepropertyrentalapp1/vuepropertyrentalapp1.digitalExperience-meta.xml +11 -0
- package/dist/force-app/main/default/layouts/Application__c-Application Layout.layout-meta.xml +58 -0
- package/dist/force-app/main/default/layouts/KPI_Snapshot__c-KPI Snapshot Layout.layout-meta.xml +87 -0
- package/dist/force-app/main/default/layouts/Lease__c-Lease Layout.layout-meta.xml +83 -0
- package/dist/force-app/main/default/layouts/Maintenance_Request__c-Maintenance Request Layout.layout-meta.xml +89 -0
- package/dist/force-app/main/default/layouts/Maintenance_Worker__c-Maintenance Worker Layout.layout-meta.xml +66 -0
- package/dist/force-app/main/default/layouts/Payment__c-Payment Layout.layout-meta.xml +88 -0
- package/dist/force-app/main/default/layouts/Property_Cost__c-Property Cost Layout.layout-meta.xml +88 -0
- package/dist/force-app/main/default/layouts/Property_Feature__c-Property Feature Layout.layout-meta.xml +80 -0
- package/dist/force-app/main/default/layouts/Property_Image__c-Property Image Layout.layout-meta.xml +75 -0
- package/dist/force-app/main/default/layouts/Property_Listing__c-Property Listing Layout.layout-meta.xml +92 -0
- package/dist/force-app/main/default/layouts/Property_Management_Company__c-Property Management Company Layout.layout-meta.xml +75 -0
- package/dist/force-app/main/default/layouts/Property_Owner__c-Property Owner Layout.layout-meta.xml +67 -0
- package/dist/force-app/main/default/layouts/Property_Sale__c-Property Sale Layout.layout-meta.xml +87 -0
- package/dist/force-app/main/default/layouts/Property__c-Property Layout.layout-meta.xml +130 -0
- package/dist/force-app/main/default/layouts/Tenant__c-Tenant Layout.layout-meta.xml +58 -0
- package/dist/force-app/main/default/networks/vuepropertyrentalapp.network-meta.xml +60 -0
- package/dist/force-app/main/default/objects/Agent__c/Agent__c.object-meta.xml +66 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/Agent_Type__c.field-meta.xml +37 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/Availability__c.field-meta.xml +37 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/Emergency_Alt__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/Language__c.field-meta.xml +42 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/License_Expiry__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/License_Number__c.field-meta.xml +14 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/Office_Location__c.field-meta.xml +42 -0
- package/dist/force-app/main/default/objects/Agent__c/fields/Territory__c.field-meta.xml +42 -0
- package/dist/force-app/main/default/objects/Application__c/Application__c.object-meta.xml +67 -0
- package/dist/force-app/main/default/objects/Application__c/fields/Employment__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Application__c/fields/Property__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/Application__c/fields/References__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Application__c/fields/Start_Date__c.field-meta.xml +9 -0
- package/dist/force-app/main/default/objects/Application__c/fields/Status__c.field-meta.xml +47 -0
- package/dist/force-app/main/default/objects/Application__c/fields/User__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/KPI_Snapshot__c/KPI_Snapshot__c.object-meta.xml +65 -0
- package/dist/force-app/main/default/objects/KPI_Snapshot__c/fields/Previous_Month_Sales__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/KPI_Snapshot__c/fields/Sales_MoM_Change__c.field-meta.xml +18 -0
- package/dist/force-app/main/default/objects/KPI_Snapshot__c/fields/Snapshot_Date__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/KPI_Snapshot__c/fields/Total_Properties__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/KPI_Snapshot__c/fields/Total_Sales_Amount__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/KPI_Snapshot__c/fields/Total_Sales_Count__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/KPI_Snapshot__c/fields/Units_Available__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/KPI_Snapshot__c/fields/Units_Occupied__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/Lease__c/Lease__c.object-meta.xml +67 -0
- package/dist/force-app/main/default/objects/Lease__c/fields/End_Date__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Lease__c/fields/Lease_Status__c.field-meta.xml +36 -0
- package/dist/force-app/main/default/objects/Lease__c/fields/Monthly_Rent__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Lease__c/fields/Property__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/Lease__c/fields/Security_Deposit__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Lease__c/fields/Start_Date__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Lease__c/fields/Tenant__c.field-meta.xml +14 -0
- package/dist/force-app/main/default/objects/Lease__c/validationRules/End_Date_After_Start_Date.validationRule-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/Maintenance_Request__c.object-meta.xml +73 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/Actual_Cost__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/Assigned_Worker__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/Completed__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/Description__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/Est_Cost__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/Priority__c.field-meta.xml +32 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/Property__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/Scheduled__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/Status__c.field-meta.xml +42 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/Tenant_Home__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/Type__c.field-meta.xml +62 -0
- package/dist/force-app/main/default/objects/Maintenance_Request__c/fields/User__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/Maintenance_Worker__c/Maintenance_Worker__c.object-meta.xml +71 -0
- package/dist/force-app/main/default/objects/Maintenance_Worker__c/fields/Certifications__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Maintenance_Worker__c/fields/Employment_Type__c.field-meta.xml +32 -0
- package/dist/force-app/main/default/objects/Maintenance_Worker__c/fields/Hourly_Rate__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/Maintenance_Worker__c/fields/IsActive__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Maintenance_Worker__c/fields/Location__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/Maintenance_Worker__c/fields/Phone__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Maintenance_Worker__c/fields/Rating__c.field-meta.xml +14 -0
- package/dist/force-app/main/default/objects/Maintenance_Worker__c/fields/Type__c.field-meta.xml +57 -0
- package/dist/force-app/main/default/objects/Notification__c/Notification__c.object-meta.xml +67 -0
- package/dist/force-app/main/default/objects/Notification__c/fields/Is_Read__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Notification__c/fields/Message__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Notification__c/fields/Priority__c.field-meta.xml +36 -0
- package/dist/force-app/main/default/objects/Notification__c/fields/Related_Object_Type__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Notification__c/fields/Related_Record_Id__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Notification__c/fields/Title__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Notification__c/fields/Type__c.field-meta.xml +36 -0
- package/dist/force-app/main/default/objects/Notification__c/fields/User__c.field-meta.xml +14 -0
- package/dist/force-app/main/default/objects/Payment__c/Payment__c.object-meta.xml +67 -0
- package/dist/force-app/main/default/objects/Payment__c/fields/Amount__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Payment__c/fields/Lease__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/Payment__c/fields/Notes__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Payment__c/fields/Payment_Date__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Payment__c/fields/Payment_Method__c.field-meta.xml +41 -0
- package/dist/force-app/main/default/objects/Payment__c/fields/Payment_Status__c.field-meta.xml +36 -0
- package/dist/force-app/main/default/objects/Property_Cost__c/Property_Cost__c.object-meta.xml +67 -0
- package/dist/force-app/main/default/objects/Property_Cost__c/fields/Cost_Amount__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Property_Cost__c/fields/Cost_Category__c.field-meta.xml +56 -0
- package/dist/force-app/main/default/objects/Property_Cost__c/fields/Cost_Date__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Property_Cost__c/fields/Description__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Property_Cost__c/fields/Property__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/Property_Cost__c/fields/Vendor__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Property_Cost__c/validationRules/Cost_Amount_Limit.validationRule-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Property_Feature__c/Property_Feature__c.object-meta.xml +65 -0
- package/dist/force-app/main/default/objects/Property_Feature__c/fields/Description__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Property_Feature__c/fields/Display_on_Listing__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Property_Feature__c/fields/Feature_Category__c.field-meta.xml +51 -0
- package/dist/force-app/main/default/objects/Property_Feature__c/fields/Property__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/Property_Image__c/Property_Image__c.object-meta.xml +65 -0
- package/dist/force-app/main/default/objects/Property_Image__c/fields/Alt_Text__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Property_Image__c/fields/Display_Order__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/Property_Image__c/fields/Image_Type__c.field-meta.xml +41 -0
- package/dist/force-app/main/default/objects/Property_Image__c/fields/Image_URL__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Property_Image__c/fields/Property__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/Property_Listing__c/Property_Listing__c.object-meta.xml +65 -0
- package/dist/force-app/main/default/objects/Property_Listing__c/fields/Display_Order__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/Property_Listing__c/fields/Featured__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Property_Listing__c/fields/Listing_Price__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Property_Listing__c/fields/Listing_Status__c.field-meta.xml +41 -0
- package/dist/force-app/main/default/objects/Property_Listing__c/fields/Marketing_Description__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Property_Listing__c/fields/Property__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/Property_Listing__c/fields/Short_Description__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Property_Management_Company__c/Property_Management_Company__c.object-meta.xml +65 -0
- package/dist/force-app/main/default/objects/Property_Management_Company__c/fields/Active__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Property_Management_Company__c/fields/Company_Code__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/Property_Management_Company__c/fields/Email__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Property_Management_Company__c/fields/Phone__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Property_Management_Company__c/fields/Primary_Contact__c.field-meta.xml +14 -0
- package/dist/force-app/main/default/objects/Property_Owner__c/Property_Owner__c.object-meta.xml +65 -0
- package/dist/force-app/main/default/objects/Property_Owner__c/fields/Address__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Property_Owner__c/fields/Email__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Property_Owner__c/fields/Phone__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Property_Sale__c/Property_Sale__c.object-meta.xml +67 -0
- package/dist/force-app/main/default/objects/Property_Sale__c/fields/Buyer_Tenant__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/Property_Sale__c/fields/Payment_Method__c.field-meta.xml +41 -0
- package/dist/force-app/main/default/objects/Property_Sale__c/fields/Property__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/Property_Sale__c/fields/Reference_Number__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Property_Sale__c/fields/Sale_Amount__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Property_Sale__c/fields/Sale_Date__c.field-meta.xml +10 -0
- package/dist/force-app/main/default/objects/Property_Sale__c/fields/Sale_Status__c.field-meta.xml +36 -0
- package/dist/force-app/main/default/objects/Property_Sale__c/fields/Sale_Type__c.field-meta.xml +51 -0
- package/dist/force-app/main/default/objects/Property__c/Property__c.object-meta.xml +71 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Address__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Agent__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Available_Date__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Bathrooms__c.field-meta.xml +14 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Bedrooms__c.field-meta.xml +14 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Coordinates__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Deposit__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Description__c.field-meta.xml +12 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Features__c.field-meta.xml +38 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Hero_Image__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Lease_Term__c.field-meta.xml +14 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Monthly_Rent__c.field-meta.xml +13 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Parking__c.field-meta.xml +14 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Pet_Friendly__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Sq_Ft__c.field-meta.xml +14 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Status__c.field-meta.xml +37 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Tour_URL__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Type__c.field-meta.xml +37 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Utilities__c.field-meta.xml +38 -0
- package/dist/force-app/main/default/objects/Property__c/fields/Year_Built__c.field-meta.xml +14 -0
- package/dist/force-app/main/default/objects/Tenant__c/Tenant__c.object-meta.xml +67 -0
- package/dist/force-app/main/default/objects/Tenant__c/fields/End_Date__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Tenant__c/fields/Property__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/objects/Tenant__c/fields/Start_Date__c.field-meta.xml +11 -0
- package/dist/force-app/main/default/objects/Tenant__c/fields/Status__c.field-meta.xml +37 -0
- package/dist/force-app/main/default/objects/Tenant__c/fields/User_Status__c.field-meta.xml +42 -0
- package/dist/force-app/main/default/objects/Tenant__c/fields/User__c.field-meta.xml +15 -0
- package/dist/force-app/main/default/package.xml +24 -0
- package/dist/force-app/main/default/permissionsets/Property_Management_Access.permissionset-meta.xml +713 -0
- package/dist/force-app/main/default/permissionsets/Property_Rental_Guest_User_Access.permissionset-meta.xml +221 -0
- package/dist/force-app/main/default/permissionsets/Tenant_Maintenance_Access.permissionset-meta.xml +141 -0
- package/dist/force-app/main/default/permissionsets/vuepropertyrentalapp_Guest_User_Api_Access.permissionset-meta.xml +25 -0
- package/dist/force-app/main/default/profiles/Property Rental Prospect Profile.profile-meta.xml +299 -0
- package/dist/force-app/main/default/roles/Admin.role-meta.xml +9 -0
- package/dist/force-app/main/default/sharingrules/Property__c.sharingRules-meta.xml +17 -0
- package/dist/force-app/main/default/sites/vuepropertyrentalapp.site-meta.xml +31 -0
- package/dist/force-app/main/default/tabs/Agent__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Application__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/KPI_Snapshot__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Lease__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Maintenance_Request__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Maintenance_Worker__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Notification__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Payment__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Property_Cost__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Property_Feature__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Property_Image__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Property_Listing__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Property_Management_Company__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Property_Owner__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Property_Sale__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Property__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/tabs/Tenant__c.tab-meta.xml +5 -0
- package/dist/force-app/main/default/triggers/MaintenanceRequestTrigger.trigger +5 -0
- package/dist/force-app/main/default/triggers/MaintenanceRequestTrigger.trigger-meta.xml +5 -0
- package/dist/force-app/main/default/triggers/TenantTrigger.trigger +8 -0
- package/dist/force-app/main/default/triggers/TenantTrigger.trigger-meta.xml +5 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/.forceignore +15 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/.graphqlrc.yml +2 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/.prettierignore +9 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/.prettierrc +11 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/README.md +35 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/codegen.yml +95 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/components.json +19 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/e2e/app.spec.ts +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/eslint.config.js +124 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/index.html +18 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/package.json +76 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/playwright.config.ts +24 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/scripts/get-graphql-schema.mjs +71 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/scripts/rewrite-e2e-assets.mjs +23 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/App.vue +20 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/applications/applicationApi.ts +58 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/applications/query/getUserDetails.graphql +16 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/graphql-operations-types.ts +27823 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/graphqlClient.ts +44 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/leads/leadApi.ts +83 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/maintenanceRequests/maintenanceRequestApi.ts +80 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/maintenanceRequests/query/maintenanceRequests.graphql +60 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/objectSearchService.ts +63 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/properties/propertyDetailGraphQL.ts +80 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/properties/propertyNodeUtils.ts +34 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/properties/propertySearchService.ts +61 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/properties/query/distinctPropertyStatus.graphql +19 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/properties/query/distinctPropertyType.graphql +19 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/properties/query/listingById.graphql +29 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/properties/query/propertyAddressesByIds.graphql +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/properties/query/propertyDetailById.graphql +124 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/properties/query/searchProperties.graphql +85 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/query/tenantProperties.graphql +24 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/api/tenants/tenantApi.ts +28 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/appLayout.vue +104 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/assets/icons/appliances.svg +13 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/assets/icons/electrical.svg +39 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/assets/icons/hvac.svg +78 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/assets/icons/pest.svg +5 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/assets/icons/plumbing.svg +7 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/assets/icons/zen-logo.svg +5 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ErrorBoundary.vue +31 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/alerts/status-alert.vue +59 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/dashboard/WeatherWidget.vue +267 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/layout/TopBar.vue +90 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/layout/VerticalNav.vue +154 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/layouts/card-layout.vue +30 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/maintenanceRequests/MaintenanceRequestIcon.vue +41 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/maintenanceRequests/MaintenanceRequestList.vue +57 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/maintenanceRequests/MaintenanceRequestListItem.vue +95 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/maintenanceRequests/MaintenanceSummaryDetailsModal.vue +131 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/maintenanceRequests/StatusBadge.vue +41 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/properties/PropertyListingCard.vue +150 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/properties/PropertyListingCardSkeleton.vue +31 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/properties/PropertyMap.vue +233 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/properties/PropertySearchFilters.vue +331 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/properties/mapTypes.ts +22 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/properties/propertySearchFilterTypes.ts +11 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/skeletons/SkeletonField.vue +21 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/skeletons/SkeletonListRows.vue +25 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/alert/Alert.vue +21 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/alert/AlertAction.vue +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/alert/AlertDescription.vue +22 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/alert/AlertTitle.vue +22 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/alert/index.ts +25 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/avatar/Avatar.vue +23 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/avatar/AvatarFallback.vue +31 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/avatar/AvatarImage.vue +16 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/avatar/index.ts +3 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/button/Button.vue +33 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/button/index.ts +43 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/card/Card.vue +29 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/card/CardAction.vue +22 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/card/CardContent.vue +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/card/CardDescription.vue +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/card/CardFooter.vue +22 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/card/CardHeader.vue +22 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/card/CardTitle.vue +22 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/card/index.ts +7 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/checkbox/Checkbox.vue +43 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/checkbox/index.ts +1 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/collapsible/Collapsible.vue +19 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/collapsible/CollapsibleContent.vue +12 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/collapsible/CollapsibleTrigger.vue +12 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/collapsible/index.ts +3 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dialog/Dialog.vue +15 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dialog/DialogClose.vue +12 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dialog/DialogContent.vue +59 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dialog/DialogDescription.vue +31 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dialog/DialogFooter.vue +33 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dialog/DialogHeader.vue +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dialog/DialogOverlay.vue +31 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dialog/DialogPortal.vue +12 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dialog/DialogTitle.vue +26 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dialog/DialogTrigger.vue +12 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dialog/index.ts +10 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenu.vue +19 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +51 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuContent.vue +47 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +12 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuItem.vue +44 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +30 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuPortal.vue +12 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +21 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +52 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +26 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +19 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuSub.vue +19 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +37 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +38 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/dropdown-menu/index.ts +15 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/field/Field.vue +27 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/field/FieldContent.vue +22 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/field/FieldDescription.vue +24 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/field/FieldError.vue +48 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/field/FieldGroup.vue +22 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/field/FieldLabel.vue +24 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/field/FieldLegend.vue +29 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/field/FieldSeparator.vue +31 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/field/FieldSet.vue +22 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/field/FieldTitle.vue +22 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/field/index.ts +33 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/index.ts +115 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/input/Input.vue +30 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/input/index.ts +1 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/label/Label.vue +29 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/label/index.ts +1 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/pagination/Pagination.vue +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/pagination/PaginationContent.vue +15 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/pagination/PaginationEllipsis.vue +23 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/pagination/PaginationItem.vue +7 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/pagination/PaginationLink.vue +31 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/pagination/PaginationNext.vue +29 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/pagination/PaginationPrevious.vue +29 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/pagination/index.ts +7 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/popover/Popover.vue +15 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/popover/PopoverAnchor.vue +12 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/popover/PopoverContent.vue +44 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/popover/PopoverDescription.vue +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/popover/PopoverHeader.vue +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/popover/PopoverTitle.vue +14 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/popover/PopoverTrigger.vue +12 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/popover/index.ts +7 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/select/Select.vue +15 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/select/SelectContent.vue +65 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/select/SelectGroup.vue +26 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/select/SelectItem.vue +41 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/select/SelectLabel.vue +26 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/select/SelectScrollDownButton.vue +32 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/select/SelectScrollUpButton.vue +32 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/select/SelectSeparator.vue +24 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/select/SelectTrigger.vue +45 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/select/SelectValue.vue +12 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/select/index.ts +10 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/separator/Separator.vue +33 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/separator/index.ts +1 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/skeleton/Skeleton.vue +15 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/skeleton/index.ts +1 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/sonner/Sonner.vue +29 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/sonner/index.ts +3 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/spinner/Spinner.vue +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/components/ui/spinner/index.ts +1 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/composables/propertyMapMarkerUtils.ts +156 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/composables/useAsyncData.ts +69 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/composables/useGeocode.ts +35 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/composables/useMaintenanceRequests.ts +36 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/composables/useObjectSearchParams.ts +263 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/composables/usePropertyDetail.ts +46 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/composables/usePropertyMapMarkers.ts +90 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/composables/useReanchorReadingCursor.ts +66 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/composables/useTenantAccess.ts +99 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/composables/useWeather.ts +133 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/api/userProfileApi.ts +107 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/authHelpers.ts +78 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/authenticationConfig.ts +66 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/components/SocialLogin.vue +150 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/composables/useCountdownTimer.ts +246 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/composables/useRetryWithBackoff.ts +112 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/composables/useSessionTimeout.ts +244 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/context/authContext.ts +115 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/footers/FooterLink.vue +47 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/forms/AuthForm.vue +141 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/forms/SubmitButton.vue +57 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/hooks/EmailField.vue +46 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/hooks/PasswordField.vue +48 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/hooks/TextField.vue +106 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/hooks/form.ts +90 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/hooks/formContexts.ts +61 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/layout/CenteredPageLayout.vue +65 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/layouts/AuthAppLayout.vue +24 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/layouts/PrivateRouteLayout.vue +50 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/layouts/TenantRouteLayout.vue +67 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/menu/AuthMenu.vue +143 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/pages/ChangePassword.vue +122 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/pages/ForgotPassword.vue +90 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/pages/Login.vue +106 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/pages/Profile.vue +180 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/pages/Register.vue +135 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/pages/ResetPassword.vue +114 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/sessionTimeout/SessionExpiredAlert.vue +50 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/sessionTimeout/SessionTimeoutValidator.vue +136 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/sessionTimeout/SessionWarningModal.vue +151 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/sessionTimeout/sessionTimeService.ts +142 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/sessionTimeout/sessionTimeoutConfig.ts +82 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/utils/helpers.ts +90 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/authentication/utils/queryToSearchParams.ts +33 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/cms/api/apiUtils.ts +56 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/cms/api/orgApiVersionService.ts +37 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/cms/api/searchableContentTypesService.ts +119 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/cms/channelResolver.ts +40 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/cms/cmsQueryFragment.ts +108 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/cms/composables/useSearchableContentTypes.ts +132 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/cms/contentTypeSessionCache.ts +134 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/cms/contentTypeUtils.ts +40 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/cms/index.ts +55 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/cms/parseResponse.ts +65 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/cms/searchChannel.ts +31 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/cms/types.ts +66 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/registry.ts +38 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/sobject/index.ts +19 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/sobject/parseResponse.ts +55 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/sobject/queryFragment.ts +141 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/adapters/types.ts +103 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/api/distinctValuesService.ts +81 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/api/searchService.ts +136 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/GlobalSearchBox.types.ts +18 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/GlobalSearchBox.vue +73 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/MergedSearchResults.types.ts +24 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/MergedSearchResults.vue +263 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/Search.vue +200 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/SearchResults.vue +99 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/SourceSection.vue +204 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/controls/PaginationControls.vue +180 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/controls/ScopeSelector.vue +91 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/controls/SearchBar.vue +56 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/controls/SortControl.vue +55 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/ActiveFilters.vue +59 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/DefaultFilterField.vue +63 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/DefaultFilterPanel.vue +31 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/FilterContext.ts +45 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/FilterProvider.vue +23 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/FilterResetButton.vue +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/PicklistField.vue +35 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/inputs/BooleanFilter.vue +47 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/inputs/DateRangeFilter.vue +144 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/inputs/FilterFieldWrapper.vue +23 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/inputs/MultiSelectFilter.vue +95 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/inputs/NumericRangeFilter.vue +117 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/inputs/SelectFilter.vue +44 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/filters/inputs/TextFilter.vue +49 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/results/CmsResultRow.vue +160 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/results/DefaultResultRow.vue +102 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/results/RenderVNode.ts +10 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/components/results/resolveResultRenderer.ts +41 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/composables/useAsyncData.ts +66 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/composables/useDistinctValues.ts +67 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/composables/useSearch.ts +906 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/config.json +88 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/constants.ts +8 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/index.ts +115 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/loadConfig.ts +14 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/queryBuilder.ts +100 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/types.ts +375 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/utils/debounce.ts +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/utils/fieldUtils.ts +14 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/utils/filterUtils.ts +304 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/features/search/utils/sortUtils.ts +34 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/lib/utils.ts +6 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/main.ts +6 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/pages/Application.vue +331 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/pages/Contact.vue +277 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/pages/Dashboard.vue +47 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/pages/Home.vue +535 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/pages/Maintenance.vue +345 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/pages/NotFound.vue +19 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/pages/PropertyDetails.vue +392 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/pages/PropertySearch.vue +452 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/pages/PropertySearchPlaceholder.vue +53 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/pages/SearchPage.vue +17 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-01.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-02.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-03.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-04.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-05.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-06.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-07.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-08.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-09.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-10.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-11.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-12.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-13.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-14.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-15.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-16.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-17.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-18.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-19.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-20.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-21.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-22.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-23.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-24.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/public/property-25.jpg +0 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/router-utils.ts +32 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/router.ts +153 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/styles/global.css +228 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/test/setup.ts +1 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/utils/geocode.ts +95 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/src/utils/weather.ts +262 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/tsconfig.json +45 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/tsconfig.node.json +13 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/tsconfig.tsbuildinfo +1 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/ui-bundle.json +7 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/vite-env.d.ts +14 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/vite.config.ts +106 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/vitest-env.d.ts +2 -0
- package/dist/force-app/main/default/uiBundles/vuepropertyrentalapp/vuepropertyrentalapp.uibundle-meta.xml +8 -0
- package/dist/jest.config.js +6 -0
- package/dist/package-lock.json +12554 -0
- package/dist/package.json +46 -0
- package/dist/scripts/apex/hello.apex +10 -0
- package/dist/scripts/gitignore-templates.json +4 -0
- package/dist/scripts/graphql-search.sh +191 -0
- package/dist/scripts/network-senders.mjs +84 -0
- package/dist/scripts/org-setup-config-schema.mjs +132 -0
- package/dist/scripts/org-setup-dev.mjs +114 -0
- package/dist/scripts/org-setup-url.mjs +108 -0
- package/dist/scripts/org-setup-utils.mjs +569 -0
- package/dist/scripts/org-setup-xml.mjs +283 -0
- package/dist/scripts/org-setup.config.json +27 -0
- package/dist/scripts/org-setup.mjs +2545 -0
- package/dist/scripts/sf-project-setup.mjs +103 -0
- package/dist/scripts/soql/account.soql +6 -0
- package/dist/scripts/validate-org-setup-config.mjs +38 -0
- package/dist/sfdx-project.json +12 -0
- package/package.json +49 -4
package/dist/README.md
ADDED
|
@@ -0,0 +1,587 @@
|
|
|
1
|
+
# Property Rental App
|
|
2
|
+
|
|
3
|
+
A property rental sample Vue UI Bundle for Salesforce Experience Cloud. Demonstrates property listings, maintenance requests, and a dashboard with an app shell designed for external-facing deployment. Built with Vue 3, Vite, TypeScript, and Tailwind/shadcn-vue. A Vue port of the React property rental sample.
|
|
4
|
+
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
1. [What's Included](#whats-included)
|
|
8
|
+
2. [Prerequisites](#prerequisites)
|
|
9
|
+
3. [Quick Start (Automated)](#quick-start-automated)
|
|
10
|
+
4. [Step-by-Step Setup](#step-by-step-setup)
|
|
11
|
+
- [1. Install Dependencies](#1-install-dependencies)
|
|
12
|
+
- [2. Authenticate Your Org](#2-authenticate-your-org)
|
|
13
|
+
- [3. Deploy Metadata](#3-deploy-metadata)
|
|
14
|
+
- [4. Assign Permission Sets](#4-assign-permission-sets)
|
|
15
|
+
- [5. Import Sample Data](#5-import-sample-data)
|
|
16
|
+
- [6. Generate GraphQL Types](#6-generate-graphql-types)
|
|
17
|
+
- [7. Rebuild the UI Bundle](#7-rebuild-the-ui-bundle)
|
|
18
|
+
- [8. Deploy the UI Bundle](#8-deploy-the-ui-bundle)
|
|
19
|
+
5. [Org Configuration](#org-configuration)
|
|
20
|
+
- [Step 1: Assign a Role to Your Admin User](#step-1-assign-a-role-to-your-admin-user)
|
|
21
|
+
- [Step 2: Create and Configure the Community Profile](#step-2-create-and-configure-the-community-profile)
|
|
22
|
+
- [Step 3: Configure the Experience Cloud Site](#step-3-configure-the-experience-cloud-site)
|
|
23
|
+
- [Step 4: Configure the Guest User Profile](#step-4-configure-the-guest-user-profile)
|
|
24
|
+
- [Step 5: Create Criteria-Based Sharing Rules for Guest Access](#step-5-create-criteria-based-sharing-rules-for-guest-access)
|
|
25
|
+
6. [Local Development](#local-development)
|
|
26
|
+
7. [Resources](#resources)
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## What's Included
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
force-app/main/default/
|
|
34
|
+
├── classes/ # Apex Logic: Triggers, Auth, and Registration
|
|
35
|
+
│ ├── MaintenanceRequestTriggerHandler.cls
|
|
36
|
+
│ ├── TenantTriggerHandler.cls
|
|
37
|
+
│ └── UIBundle (Auth, Login, Registration, etc.)
|
|
38
|
+
├── cspTrustedSites/ # External resource security (Maps, Fonts, Avatars)
|
|
39
|
+
├── data/ # Sample JSON data for "sf data import tree"
|
|
40
|
+
├── digitalExperienceConfigs/ # Experience Cloud site configurations
|
|
41
|
+
├── digitalExperiences/ # Experience Cloud site definitions
|
|
42
|
+
├── layouts/ # Page layouts for all 17 custom objects
|
|
43
|
+
├── networks/ # Experience Cloud network metadata
|
|
44
|
+
├── objects/ # 17 Custom Objects (Property, Tenant, Lease, etc.)
|
|
45
|
+
├── permissionsets/ # Property_Rental_Guest_User_Access (guest browsing)
|
|
46
|
+
├── sites/ # Salesforce Sites configuration
|
|
47
|
+
├── triggers/ # Apex Triggers: MaintenanceRequest & Tenant
|
|
48
|
+
└── uiBundles/
|
|
49
|
+
└── vuepropertyrentalapp/ # Vue UI Bundle (source, config, tests)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Prerequisites
|
|
55
|
+
|
|
56
|
+
Before you begin, ensure the following are in place.
|
|
57
|
+
|
|
58
|
+
### Tools
|
|
59
|
+
|
|
60
|
+
| Tool | Minimum Version | Install |
|
|
61
|
+
| ----------------------------------------------------------------------------- | ------------------ | ----------------------------------- |
|
|
62
|
+
| [Salesforce CLI (`sf`)](https://developer.salesforce.com/tools/salesforcecli) | v2+ | `npm install -g @salesforce/cli` |
|
|
63
|
+
| [Node.js](https://nodejs.org/) | v22+ | [nodejs.org](https://nodejs.org/) |
|
|
64
|
+
| [Git](https://git-scm.com/) | Any recent version | [git-scm.com](https://git-scm.com/) |
|
|
65
|
+
|
|
66
|
+
Verify your Salesforce CLI version with:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
sf --version
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Salesforce Org Requirements
|
|
73
|
+
|
|
74
|
+
This project requires a Salesforce org with the following features and licenses. **Developer Edition orgs do not include these by default.** Use a sandbox, an org configured with add-ons, or request a pre-configured org from your Salesforce account team.
|
|
75
|
+
|
|
76
|
+
- **Digital Experiences (Experience Cloud) enabled** — required to deploy and run the Experience Cloud site. To verify, go to **Setup > Digital Experiences > Settings** and confirm "Enable Digital Experiences" is checked.
|
|
77
|
+
- **Customer Community** or **Customer Community Plus** user licenses — required to create community (portal) users. Customer Community Plus is recommended if you need record-level sharing via sharing rules.
|
|
78
|
+
- **Salesforce Sites enabled** — required for guest user access.
|
|
79
|
+
|
|
80
|
+
> **Note:** If Digital Experiences is not yet enabled in your org, go to **Setup > Digital Experiences > Settings**, check "Enable Digital Experiences", set a domain name, and save. This action cannot be undone.
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Quick Start (Automated)
|
|
85
|
+
|
|
86
|
+
Two npm scripts at the project root streamline getting started and deployment.
|
|
87
|
+
|
|
88
|
+
**`npm run sf-project-setup`** — installs the UI Bundle dependencies, builds the app, and starts the dev server (see [Local Development](#local-development)).
|
|
89
|
+
|
|
90
|
+
**`npm run setup`** — automates the full setup: logs in to the org (a required precondition, auto-skipped if already connected), deploys metadata, assigns permission sets, imports sample data, fetches the GraphQL schema, runs codegen, and builds the UI Bundle. It no longer starts the dev server — run `npm run dev:preview` for that (see [Local Development](#local-development)):
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
# Install project dependencies first (required before running setup)
|
|
94
|
+
npm install
|
|
95
|
+
|
|
96
|
+
npm run setup -- --target-org <alias>
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Replace `<alias>` with your target org alias or username. When `--target-org` is omitted, setup uses your default org or (in an interactive terminal) prompts you to pick from your authenticated orgs. Running without flags presents an interactive step picker. Pass `--yes` to skip it and run all steps immediately:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
npm run setup -- --target-org <alias> --yes
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Common Options
|
|
106
|
+
|
|
107
|
+
| Option | Description |
|
|
108
|
+
| ------------------------- | ------------------------------------------------------------------------------------ |
|
|
109
|
+
| `--target-org <alias>` | Target org alias or username. If omitted, uses the default org or prompts you |
|
|
110
|
+
| `--skip-deploy` | Skip the metadata deploy step |
|
|
111
|
+
| `--skip-permset` | Skip permission set assignment |
|
|
112
|
+
| `--skip-data` | Skip data preparation and import |
|
|
113
|
+
| `--skip-graphql` | Skip GraphQL schema fetch and codegen |
|
|
114
|
+
| `--skip-ui-bundle-build` | Skip `npm install` and UI Bundle build |
|
|
115
|
+
| `--skip-role` | Skip role assignment to current user |
|
|
116
|
+
| `--skip-self-reg` | Skip Experience Cloud self-registration configuration |
|
|
117
|
+
| `--permset-name <name>` | Assign only a specific permission set (repeatable). Default: all sets in the project |
|
|
118
|
+
| `--ui-bundle-name <name>` | UI Bundle folder name under `uiBundles/` (default: auto-detected) |
|
|
119
|
+
| `-y, --yes` | Skip interactive step picker and run all enabled steps immediately |
|
|
120
|
+
|
|
121
|
+
> Login is a required precondition, not a toggleable step, so there is no `--skip-login`. The dev server is no longer part of setup, so there is no `--skip-dev`. Both flags are accepted but ignored for backward compatibility. To start the dev server, run `npm run dev:preview`.
|
|
122
|
+
|
|
123
|
+
For a full list of options:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
npm run setup -- --help
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Setup Configuration (`scripts/org-setup.config.json`)
|
|
130
|
+
|
|
131
|
+
The `npm run setup` script reads `scripts/org-setup.config.json` to control which steps run and how they behave. Each top-level section is **optional** — if a section is absent, the corresponding step is hidden from the interactive picker.
|
|
132
|
+
|
|
133
|
+
```json
|
|
134
|
+
{
|
|
135
|
+
"permsetAssignments": {
|
|
136
|
+
"assignments": {
|
|
137
|
+
"Property_Management_Access": { "assignee": "currentUser" },
|
|
138
|
+
"Tenant_Maintenance_Access": { "assignee": "skip" },
|
|
139
|
+
"Property_Rental_Guest_User_Access": {
|
|
140
|
+
"assignee": "guestUser"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"role": {
|
|
145
|
+
"assignee": "currentUser",
|
|
146
|
+
"roleName": "Admin"
|
|
147
|
+
},
|
|
148
|
+
"selfRegistration": {
|
|
149
|
+
"selfRegProfile": "Property Rental Prospect Profile",
|
|
150
|
+
"accountName": "Property Rental Self-Registration"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
#### `permsetAssignments.assignments`
|
|
156
|
+
|
|
157
|
+
Each key is a permission set API name. The `assignee` value controls who it is assigned to:
|
|
158
|
+
|
|
159
|
+
| Value | Behavior |
|
|
160
|
+
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
161
|
+
| `"currentUser"` | Assigns to the user running the script (resolved via `sf org display`) |
|
|
162
|
+
| `"guestUser"` | Auto-resolves the site's guest user. The site is derived from the single `networks/<siteName>.network-meta.xml` the app ships — it is **not** configured per assignment |
|
|
163
|
+
| `"skip"` | Explicitly skips this permission set |
|
|
164
|
+
|
|
165
|
+
`assignee` is a closed set — only the three values above are accepted. Arbitrary usernames are not supported.
|
|
166
|
+
|
|
167
|
+
#### `role`
|
|
168
|
+
|
|
169
|
+
Assigns a role to the current user — a prerequisite for Experience Cloud self-registration. Only `"currentUser"` is supported as the `assignee`.
|
|
170
|
+
|
|
171
|
+
#### `selfRegistration`
|
|
172
|
+
|
|
173
|
+
Enables Experience Cloud self-registration by:
|
|
174
|
+
|
|
175
|
+
1. Setting `<selfRegistration>true</selfRegistration>` in the network metadata
|
|
176
|
+
2. Adding the specified profile to network member groups
|
|
177
|
+
3. Creating an Account record for self-registered users
|
|
178
|
+
4. Creating the `NetworkSelfRegistration` record
|
|
179
|
+
|
|
180
|
+
Like `guestUser` permset assignment, the site is derived from the single `networks/<siteName>.network-meta.xml` the app ships — `selfRegistration` does **not** take a `siteName`.
|
|
181
|
+
|
|
182
|
+
**License pre-check.** Before configuring self-registration, setup verifies the org actually holds the license the flow needs. It derives that license from the `selfRegProfile` you configure (a profile is bound to exactly one `UserLicense`, queried via `Profile.UserLicense` and matched on the stable `LicenseDefinitionKey`), then checks the license is active and has an available seat. If the org lacks the license or is out of seats, self-registration is **skipped with a warning** rather than reported as complete — so prospect login can't silently fail on an under-provisioned org. No separate license field is needed; the requirement always follows the profile the flow assigns.
|
|
183
|
+
|
|
184
|
+
#### Validation
|
|
185
|
+
|
|
186
|
+
`org-setup.config.json` is validated against a shared schema at **two moments**, so a malformed config can never silently misbehave:
|
|
187
|
+
|
|
188
|
+
- **Build / CI time** — every shipped config is validated; an invalid one fails the build.
|
|
189
|
+
- **Setup runtime** — `npm run setup` validates the config before any step runs and exits early with a clear error if it's invalid.
|
|
190
|
+
|
|
191
|
+
Validation is **strict**: unknown keys (e.g. a `siteName` on an assignment or on `selfRegistration`, or a `permsetAssignment` typo) are rejected rather than silently ignored.
|
|
192
|
+
|
|
193
|
+
> **After the automated setup completes**, proceed to [Org Configuration](#org-configuration) for the manual steps that cannot be automated via CLI (profile cloning, site member configuration, guest user setup, and publishing the Experience Cloud site).
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
## Step-by-Step Setup
|
|
198
|
+
|
|
199
|
+
Use this section if you prefer to run each step manually, or if the automated script is not available.
|
|
200
|
+
|
|
201
|
+
### 1. Install Dependencies
|
|
202
|
+
|
|
203
|
+
Install root-level project dependencies:
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
npm install
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
Install the UI Bundle dependencies and build it:
|
|
210
|
+
|
|
211
|
+
```bash
|
|
212
|
+
cd force-app/main/default/uiBundles/vuepropertyrentalapp
|
|
213
|
+
npm install
|
|
214
|
+
npm run build
|
|
215
|
+
cd -
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
This produces the static bundle artifacts that are packaged into the Salesforce metadata. Having them built now means any deploy option in [Step 3](#3-deploy-metadata) is ready to run without an additional build step.
|
|
219
|
+
|
|
220
|
+
### 2. Authenticate Your Org
|
|
221
|
+
|
|
222
|
+
Log in to your target org using the Salesforce CLI. This opens a browser window for OAuth authentication:
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
sf org login web --alias <alias>
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
To verify the login was successful:
|
|
229
|
+
|
|
230
|
+
```bash
|
|
231
|
+
sf org display --target-org <alias>
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
If you are working with a sandbox, use:
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
sf org login web --alias <alias> --instance-url https://test.salesforce.com
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
### 3. Deploy Metadata
|
|
241
|
+
|
|
242
|
+
#### Option A: Deploy Everything (metadata + Experience Cloud site + UI Bundle)
|
|
243
|
+
|
|
244
|
+
Build the UI Bundle first, then deploy all source directories in a single command:
|
|
245
|
+
|
|
246
|
+
```bash
|
|
247
|
+
cd force-app/main/default/uiBundles/vuepropertyrentalapp && npm run build && cd -
|
|
248
|
+
sf project deploy start --source-dir force-app --target-org <alias>
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
#### Option B: Deploy Metadata Only (objects, layouts, permission sets, Apex)
|
|
252
|
+
|
|
253
|
+
Use this approach for an initial deploy to verify metadata before deploying the Experience Cloud site:
|
|
254
|
+
|
|
255
|
+
```bash
|
|
256
|
+
sf project deploy start \
|
|
257
|
+
--source-dir force-app/main/default/objects \
|
|
258
|
+
--source-dir force-app/main/default/layouts \
|
|
259
|
+
--source-dir force-app/main/default/permissionsets \
|
|
260
|
+
--source-dir force-app/main/default/classes \
|
|
261
|
+
--source-dir force-app/main/default/triggers \
|
|
262
|
+
--source-dir force-app/main/default/cspTrustedSites \
|
|
263
|
+
--target-org <alias>
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
#### Option C: Deploy Experience Cloud Site Only
|
|
267
|
+
|
|
268
|
+
```bash
|
|
269
|
+
sf project deploy start \
|
|
270
|
+
--source-dir force-app/main/default/digitalExperienceConfigs \
|
|
271
|
+
--source-dir force-app/main/default/digitalExperiences \
|
|
272
|
+
--source-dir force-app/main/default/networks \
|
|
273
|
+
--source-dir force-app/main/default/sites \
|
|
274
|
+
--target-org <alias>
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
#### Option D: Deploy the UI Bundle Only
|
|
278
|
+
|
|
279
|
+
```bash
|
|
280
|
+
cd force-app/main/default/uiBundles/vuepropertyrentalapp && npm run build && cd -
|
|
281
|
+
sf project deploy start --source-dir force-app/main/default/uiBundles --target-org <alias>
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
> **Deployment order matters.** Deploy metadata (Option B) before deploying the Experience Cloud site (Option C). The site configuration depends on the custom objects and classes being present in the org.
|
|
285
|
+
|
|
286
|
+
### 4. Assign Permission Sets
|
|
287
|
+
|
|
288
|
+
Three permission sets are included in this project:
|
|
289
|
+
|
|
290
|
+
| Permission Set | Purpose | Assign To |
|
|
291
|
+
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------- |
|
|
292
|
+
| `Property_Management_Access` | Full CRUD access to all custom objects. Intended for property managers and admin users. | Internal users managing the app |
|
|
293
|
+
| `Tenant_Maintenance_Access` | Scoped read/write access for tenants. Allows creating and updating their own maintenance requests only. | Tenant community users |
|
|
294
|
+
| `Property_Rental_Guest_User_Access` | Read-only access to property objects for unauthenticated browsing. Includes Apex class access for auth flows. | Site guest user |
|
|
295
|
+
|
|
296
|
+
Assign permission sets using the CLI:
|
|
297
|
+
|
|
298
|
+
```bash
|
|
299
|
+
# Assign Property_Management_Access to a specific user
|
|
300
|
+
sf org assign permset --name Property_Management_Access --on-behalf-of <username> --target-org <alias>
|
|
301
|
+
|
|
302
|
+
# Assign Tenant_Maintenance_Access to a tenant user
|
|
303
|
+
sf org assign permset --name Tenant_Maintenance_Access --on-behalf-of <username> --target-org <alias>
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
To assign to multiple users, repeat the command for each user, or use the automated script which assigns all permission sets to the running user by default.
|
|
307
|
+
|
|
308
|
+
### 5. Import Sample Data
|
|
309
|
+
|
|
310
|
+
Once the metadata has been successfully deployed:
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
sf data import tree --plan force-app/main/default/data/data-plan.json --target-org <alias>
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
The data plan imports records in dependency order: Contacts, Agents, Maintenance Workers, Properties, Tenants, Applications, Maintenance Requests, Notifications, Property Management Companies, Property Owners, Leases, Property Sales, Property Costs, Payments, KPI Snapshots, Property Listings, Property Images, and Property Features.
|
|
317
|
+
|
|
318
|
+
> **Note:** If you re-run the import, duplicate records will be created. Wipe existing records first or use the `--upsert` flag if your plan supports it.
|
|
319
|
+
|
|
320
|
+
### 6. Generate GraphQL Types
|
|
321
|
+
|
|
322
|
+
After metadata is deployed, generate the GraphQL schema and TypeScript types for the UI Bundle. These are used to provide type-safe queries against the Salesforce GraphQL API.
|
|
323
|
+
|
|
324
|
+
```bash
|
|
325
|
+
cd force-app/main/default/uiBundles/vuepropertyrentalapp
|
|
326
|
+
npm run graphql:schema # Fetches schema from org → outputs schema.graphql
|
|
327
|
+
npm run graphql:codegen # Generates TypeScript types → updates src/api/graphql-operations-types.ts
|
|
328
|
+
cd -
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
> **Prerequisite:** The org must be authenticated and metadata must already be deployed before running these commands, as the schema is generated from the org's live metadata.
|
|
332
|
+
|
|
333
|
+
> **Guest and Portal GraphQL API Access requires an org preference** Starting with org release 264, unauthenticated (guest) sessions can only call the GraphQL API — the endpoint this app's data layer uses — if the **Enable GraphQL API for Guest Users** org preference is enabled. It is off by default. This is a security-sensitive, org-wide setting, so enable it through **Setup > Security > API Access Controls > Enable GraphQL API for Guest Users**. Enable it before configuring the guest user profile in [Step 4](#step-4-configure-the-guest-user-profile). Without it, guest GraphQL calls fail with `403 GUEST_INSUFFICIENT_ACCESS`. This applies to any b2b/b2c (external) app whose site allows guest browsing — not just this sample.
|
|
334
|
+
|
|
335
|
+
### 7. Rebuild the UI Bundle
|
|
336
|
+
|
|
337
|
+
Step 6 updates the generated GraphQL types in the UI Bundle source. Rebuild the app to compile those changes into the bundle before deploying:
|
|
338
|
+
|
|
339
|
+
```bash
|
|
340
|
+
cd force-app/main/default/uiBundles/vuepropertyrentalapp
|
|
341
|
+
npm run build
|
|
342
|
+
cd -
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
### 8. Deploy the UI Bundle
|
|
346
|
+
|
|
347
|
+
Once the build is complete, deploy the UI Bundle to your org:
|
|
348
|
+
|
|
349
|
+
```bash
|
|
350
|
+
sf project deploy start --source-dir force-app/main/default/uiBundles --target-org <alias>
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
---
|
|
354
|
+
|
|
355
|
+
## Org Configuration
|
|
356
|
+
|
|
357
|
+
The following steps must be completed manually in the Salesforce Setup UI. They configure Experience Cloud, user profiles, and data sharing for guest and community users. Complete these steps **after** the metadata and UI Bundle have been deployed.
|
|
358
|
+
|
|
359
|
+
> **License requirement:** Your org must have **Customer Community** or **Customer Community Plus** user licenses available before you can complete these steps. Customer Community Plus licenses are required if you need ownership-based record sharing (Private OWD with sharing rules). Verify available licenses at **Setup > Company Settings > Company Information**, in the "User Licenses" section.
|
|
360
|
+
|
|
361
|
+
---
|
|
362
|
+
|
|
363
|
+
### Step 1: Assign a Role to Your Admin User
|
|
364
|
+
|
|
365
|
+
Salesforce requires that the org's admin user has a role assigned before Experience Cloud sites can be created or managed. If your admin user already has a role, skip this step.
|
|
366
|
+
|
|
367
|
+
1. Go to **Setup > Users > Roles**.
|
|
368
|
+
2. Click **Set Up Roles**.
|
|
369
|
+
3. Click **Add Role**. Provide a label (e.g., `CEO`) and save.
|
|
370
|
+
4. From the role hierarchy, click the role you just created, then click **Assign Users to Role**.
|
|
371
|
+
5. Add your system administrator user and click **Save**.
|
|
372
|
+
|
|
373
|
+
> **Why this matters:** Salesforce prevents users without a role in the hierarchy from owning Experience Cloud sites. This is a platform-level requirement, not specific to this app.
|
|
374
|
+
|
|
375
|
+
---
|
|
376
|
+
|
|
377
|
+
### Step 2: Create and Configure the Community Profile
|
|
378
|
+
|
|
379
|
+
Community users require a profile that is based on one of the standard community profile templates. You will clone one of these templates and configure its permissions for this app.
|
|
380
|
+
|
|
381
|
+
#### 2a. Clone the Base Profile
|
|
382
|
+
|
|
383
|
+
1. Go to **Setup > Users > Profiles**.
|
|
384
|
+
2. Locate either **Customer Community User** or **Customer Community Login User**.
|
|
385
|
+
- Choose **Customer Community Plus User** if you need ownership-based record-level sharing.
|
|
386
|
+
3. Click **Clone** next to the profile. Give it a descriptive name such as `Property Rental Prospect Profile`.
|
|
387
|
+
4. Click **Save**.
|
|
388
|
+
|
|
389
|
+
#### 2b. Edit the Cloned Profile
|
|
390
|
+
|
|
391
|
+
Open the newly cloned profile and configure the following settings.
|
|
392
|
+
|
|
393
|
+
**Administrative Permissions:**
|
|
394
|
+
|
|
395
|
+
| Permission | Setting |
|
|
396
|
+
| ----------- | ------- |
|
|
397
|
+
| API Enabled | Checked |
|
|
398
|
+
|
|
399
|
+
**Custom Object Permissions:**
|
|
400
|
+
|
|
401
|
+
Set the following object-level access. After saving, also review field-level security for each object to ensure all relevant fields are readable.
|
|
402
|
+
|
|
403
|
+
| Object | Read | Create | Edit | Delete |
|
|
404
|
+
| :--------------------------------------------------------------- | :--: | :----: | :--: | :----: |
|
|
405
|
+
| Agents (`Agent__c`) | ✓ | | | |
|
|
406
|
+
| Applications (`Application__c`) | ✓ | ✓ | ✓ | ✓ |
|
|
407
|
+
| KPI Snapshots (`KPI_Snapshot__c`) | ✓ | | | |
|
|
408
|
+
| Leases (`Lease__c`) | ✓ | | | |
|
|
409
|
+
| Maintenance Requests (`Maintenance_Request__c`) | ✓ | ✓ | ✓ | ✓ |
|
|
410
|
+
| Maintenance Workers (`Maintenance_Worker__c`) | ✓ | | ✓ | |
|
|
411
|
+
| Notifications (`Notification__c`) | ✓ | | | |
|
|
412
|
+
| Payments (`Payment__c`) | ✓ | | | |
|
|
413
|
+
| Properties (`Property__c`) | ✓ | | | |
|
|
414
|
+
| Property Costs (`Property_Cost__c`) | ✓ | | | |
|
|
415
|
+
| Property Features (`Property_Feature__c`) | ✓ | | | |
|
|
416
|
+
| Property Images (`Property_Image__c`) | ✓ | | | |
|
|
417
|
+
| Property Listings (`Property_Listing__c`) | ✓ | | | |
|
|
418
|
+
| Property Management Companies (`Property_Management_Company__c`) | ✓ | | | |
|
|
419
|
+
| Property Owners (`Property_Owner__c`) | ✓ | | | |
|
|
420
|
+
| Property Sales (`Property_Sale__c`) | ✓ | | | |
|
|
421
|
+
| Tenants (`Tenant__c`) | ✓ | | | |
|
|
422
|
+
|
|
423
|
+
**Apex Class Access:**
|
|
424
|
+
|
|
425
|
+
Scroll to the **Enabled Apex Class Access** section and add the following classes. These classes handle authentication flows called by the UI Bundle:
|
|
426
|
+
|
|
427
|
+
- `UIBundleAuthUtils`
|
|
428
|
+
- `UIBundleChangePassword`
|
|
429
|
+
- `UIBundleForgotPassword`
|
|
430
|
+
|
|
431
|
+
> **Note:** `MaintenanceRequestTriggerHandler` and `TenantTriggerHandler` are trigger handler classes that run in system context when DML operations are performed. They do not need to be explicitly enabled in community profiles.
|
|
432
|
+
|
|
433
|
+
#### 2c. Configure View All for Property, Property Listing, Maintenance Worker
|
|
434
|
+
|
|
435
|
+
Tenants need to see all available properties and listings, not just records they own. Enable **View All** on these three objects for the community profile:
|
|
436
|
+
|
|
437
|
+
1. Go to **Setup > Object Manager**.
|
|
438
|
+
2. Search for and open **Property**.
|
|
439
|
+
3. Click **Object Access** in the left navigation.
|
|
440
|
+
4. Set the profile's access to allow viewing all records.
|
|
441
|
+
5. Repeat for **Property Listing** and **Maintenance Worker**.
|
|
442
|
+
|
|
443
|
+
- **Note**: the access for the **Maintenance Worker** is required for the `MaintenanceRequestTriggerHandler` to auto assign a worker on submission
|
|
444
|
+
|
|
445
|
+
#### 2d. Configure Field Level Security for the Application
|
|
446
|
+
|
|
447
|
+
1. Go to **Setup > Object Manager**.
|
|
448
|
+
2. Search for and open **Application**.
|
|
449
|
+
3. Click **Fields and Relationships** in the left navigation.
|
|
450
|
+
4. Select the `References__c` field, then click **Set Field-Level Security**.
|
|
451
|
+
5. Enable the field to be "Visible" to the community profile.
|
|
452
|
+
6. Click **Save**.
|
|
453
|
+
7. Repeat for the following fields:
|
|
454
|
+
|
|
455
|
+
- `Property__c`
|
|
456
|
+
- `Employment__c`
|
|
457
|
+
- `User__c`
|
|
458
|
+
- `Status__c`
|
|
459
|
+
- `Start_Date__c`
|
|
460
|
+
|
|
461
|
+
---
|
|
462
|
+
|
|
463
|
+
### Step 3: Configure the Experience Cloud Site
|
|
464
|
+
|
|
465
|
+
After deploying the Experience Cloud site metadata, configure its membership and self-registration settings.
|
|
466
|
+
|
|
467
|
+
1. In the App Launcher, open the **Digital Experiences** app (search for it if needed).
|
|
468
|
+
2. Find the **Property Rental App** site and click **Workspaces**.
|
|
469
|
+
3. Click the **Administration** tile.
|
|
470
|
+
|
|
471
|
+
#### Members
|
|
472
|
+
|
|
473
|
+
1. In the left navigation, click **Members**.
|
|
474
|
+
2. Under **Select Profiles**, add the cloned community profile (`Property Rental Prospect Profile`) to the **Selected Profiles** list.
|
|
475
|
+
3. Click **Save**.
|
|
476
|
+
|
|
477
|
+
#### Login & Registration
|
|
478
|
+
|
|
479
|
+
1. In the left navigation, click **Login & Registration**.
|
|
480
|
+
2. Check **Allow customers and partners to self-register**.
|
|
481
|
+
3. Under **Registration**, set:
|
|
482
|
+
- **Profile**: Select your cloned community profile (`Property Rental Prospect Profile`).
|
|
483
|
+
- **Account**: Select or create an account record to associate self-registered users with (e.g., a generic "Portal Account").
|
|
484
|
+
4. Click **Save**.
|
|
485
|
+
|
|
486
|
+
#### Guest User Profile
|
|
487
|
+
|
|
488
|
+
The site's guest user profile controls what unauthenticated visitors can see. You will configure this profile in [Step 4](#step-4-configure-the-guest-user-profile). To navigate to it:
|
|
489
|
+
|
|
490
|
+
1. In the **Administration** area, click **Preferences** in the left navigation.
|
|
491
|
+
2. Click the link next to **Guest user profile** to open it directly.
|
|
492
|
+
|
|
493
|
+
---
|
|
494
|
+
|
|
495
|
+
### Step 4: Configure the Guest User Profile
|
|
496
|
+
|
|
497
|
+
The guest user profile is auto-generated by Salesforce when an Experience Cloud site is created. It controls what unauthenticated visitors can access. Configure it to allow browsing of available properties only.
|
|
498
|
+
|
|
499
|
+
Open the guest user profile (linked from the site's Preferences page, as described above) and apply the following settings.
|
|
500
|
+
|
|
501
|
+
**Administrative Permissions:**
|
|
502
|
+
|
|
503
|
+
| Permission | Setting |
|
|
504
|
+
| ----------- | ------- |
|
|
505
|
+
| API Enabled | Checked |
|
|
506
|
+
|
|
507
|
+
> **Security note:** Enabling API access for the guest profile is required for the UI Bundle to make GraphQL API calls on behalf of unauthenticated users. Ensure that object-level and field-level permissions are restrictive (as listed below) to avoid exposing sensitive data.
|
|
508
|
+
|
|
509
|
+
> **Org preference (orgs on API v264+):** Profile-level "API Enabled" is not sufficient on its own. On orgs at API version 264 or later, guest sessions also need the org-wide **`GraphQLApiOrgPrefForGuestUsers`** preference enabled (**Setup > Security > API Access Controls > Enable GraphQL API for Guest Users**), or GraphQL calls from the guest user return `403 GUEST_INSUFFICIENT_ACCESS`. See the note in [Step 6](#6-generate-graphql-types).
|
|
510
|
+
|
|
511
|
+
**Custom Object Permissions:**
|
|
512
|
+
|
|
513
|
+
Guest users can only browse available properties and listings. All other objects are restricted.
|
|
514
|
+
|
|
515
|
+
| Object | Read | Create | Edit | Delete |
|
|
516
|
+
| :---------------------------------------- | :--: | :----: | :--: | :----: |
|
|
517
|
+
| Properties (`Property__c`) | ✓ | | | |
|
|
518
|
+
| Property Costs (`Property_Cost__c`) | ✓ | | | |
|
|
519
|
+
| Property Features (`Property_Feature__c`) | ✓ | | | |
|
|
520
|
+
| Property Images (`Property_Image__c`) | ✓ | | | |
|
|
521
|
+
| Property Listings (`Property_Listing__c`) | ✓ | | | |
|
|
522
|
+
| All other objects | — | — | — | — |
|
|
523
|
+
|
|
524
|
+
**Apex Class Access:**
|
|
525
|
+
|
|
526
|
+
Add the following classes. These are required for the self-registration and login flows available to unauthenticated users:
|
|
527
|
+
|
|
528
|
+
- `UIBundleLogin`
|
|
529
|
+
- `UIBundleRegistration`
|
|
530
|
+
|
|
531
|
+
---
|
|
532
|
+
|
|
533
|
+
### Step 5: Create Criteria-Based Sharing Rules for Guest Access
|
|
534
|
+
|
|
535
|
+
By default, Salesforce does not expose any records to guest users. A **criteria-based sharing rule** is included in the deployed metadata to make properties visible to unauthenticated site visitors.
|
|
536
|
+
|
|
537
|
+
> **Organization-Wide Defaults (OWD):** Criteria-based sharing rules for guest users only work correctly when the object's OWD is set to **Public Read Only** or **Private**. Verify your OWD settings at **Setup > Sharing Settings** before proceeding.
|
|
538
|
+
|
|
539
|
+
#### Included Sharing Rule: Properties
|
|
540
|
+
|
|
541
|
+
The deployed metadata includes a sharing rule for `Property__c` (`Property_Rental_App_Guest_User_Access`) that grants **Read** access to the site's guest user for all properties with a non-empty Name field. This is deployed automatically with `sf project deploy start`.
|
|
542
|
+
|
|
543
|
+
#### Optional: Create Additional Sharing Rules
|
|
544
|
+
|
|
545
|
+
If you need to expose additional objects (e.g., Property Listings) to guest users, create sharing rules manually:
|
|
546
|
+
|
|
547
|
+
1. Go to **Setup > Sharing Settings**.
|
|
548
|
+
2. Scroll to the relevant object's sharing rules section and click **New**.
|
|
549
|
+
3. Configure the rule:
|
|
550
|
+
- **Rule Type**: Select **Guest user access, based on criteria**
|
|
551
|
+
- **Criteria**: Match records you want to expose (e.g., `Status Equals Active`)
|
|
552
|
+
- **Share with**: Select **Guests of the Property Rental App site**
|
|
553
|
+
- **Access Level**: `Read Only`
|
|
554
|
+
4. Click **Save**.
|
|
555
|
+
|
|
556
|
+
> **Note:** The "Guests of [site name]" option only appears in the sharing rule target list after the Experience Cloud site has been created and saved. If you do not see it, confirm the site metadata has been deployed and the site exists in the org.
|
|
557
|
+
|
|
558
|
+
---
|
|
559
|
+
|
|
560
|
+
## Local Development
|
|
561
|
+
|
|
562
|
+
Install project dependencies and start the dev server:
|
|
563
|
+
|
|
564
|
+
```bash
|
|
565
|
+
npm install
|
|
566
|
+
npm run sf-project-setup
|
|
567
|
+
```
|
|
568
|
+
|
|
569
|
+
This installs the UI Bundle dependencies, builds the app, and opens the dev server at `http://localhost:5173`. For manual build and test instructions, see the [UI Bundle README](force-app/main/default/uiBundles/vuepropertyrentalapp/README.md).
|
|
570
|
+
|
|
571
|
+
Once the org has been set up with `npm run setup`, use `npm run dev:preview` to refresh the GraphQL schema/types against your org and launch the dev server without re-running the full setup:
|
|
572
|
+
|
|
573
|
+
```bash
|
|
574
|
+
npm run dev:preview # prompt to pick an org + bundle
|
|
575
|
+
npm run dev:preview -- --target-org <alias> # skip the org prompt
|
|
576
|
+
```
|
|
577
|
+
|
|
578
|
+
---
|
|
579
|
+
|
|
580
|
+
## Resources
|
|
581
|
+
|
|
582
|
+
- [Salesforce Extensions Documentation](https://developer.salesforce.com/tools/vscode/)
|
|
583
|
+
- [Salesforce CLI Setup Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm)
|
|
584
|
+
- [Salesforce DX Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_intro.htm)
|
|
585
|
+
- [Salesforce CLI Command Reference](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm)
|
|
586
|
+
- [Experience Cloud Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.communities_dev.meta/communities_dev/communities_dev_intro.htm)
|
|
587
|
+
- [Salesforce DX Project Configuration](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_config.htm)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"orgName": "My Saleforce Org",
|
|
3
|
+
"edition": "Developer",
|
|
4
|
+
"features": ["EnableSetPasswordInApi"],
|
|
5
|
+
"settings": {
|
|
6
|
+
"lightningExperienceSettings": {
|
|
7
|
+
"enableS1DesktopEnabled": true
|
|
8
|
+
},
|
|
9
|
+
"mobileSettings": {
|
|
10
|
+
"enableS1EncryptedStoragePref2": false
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<CustomApplication xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
3
|
+
<defaultLandingTab>standard-home</defaultLandingTab>
|
|
4
|
+
<description>Property Rental Management Application for managing properties, tenants, leases, payments, and maintenance.</description>
|
|
5
|
+
<formFactors>Large</formFactors>
|
|
6
|
+
<isNavAutoTempTabsDisabled>false</isNavAutoTempTabsDisabled>
|
|
7
|
+
<isNavPersonalizationDisabled>false</isNavPersonalizationDisabled>
|
|
8
|
+
<isNavTabPersistenceDisabled>false</isNavTabPersistenceDisabled>
|
|
9
|
+
<isOmniPinnedViewEnabled>false</isOmniPinnedViewEnabled>
|
|
10
|
+
<label>Property Management</label>
|
|
11
|
+
<navType>Standard</navType>
|
|
12
|
+
<tabs>standard-home</tabs>
|
|
13
|
+
<tabs>Property__c</tabs>
|
|
14
|
+
<tabs>Property_Listing__c</tabs>
|
|
15
|
+
<tabs>Tenant__c</tabs>
|
|
16
|
+
<tabs>Lease__c</tabs>
|
|
17
|
+
<tabs>Payment__c</tabs>
|
|
18
|
+
<tabs>Maintenance_Request__c</tabs>
|
|
19
|
+
<tabs>Maintenance_Worker__c</tabs>
|
|
20
|
+
<tabs>Application__c</tabs>
|
|
21
|
+
<tabs>Property_Owner__c</tabs>
|
|
22
|
+
<tabs>Property_Management_Company__c</tabs>
|
|
23
|
+
<tabs>Property_Cost__c</tabs>
|
|
24
|
+
<tabs>Property_Feature__c</tabs>
|
|
25
|
+
<tabs>Property_Image__c</tabs>
|
|
26
|
+
<tabs>Property_Sale__c</tabs>
|
|
27
|
+
<tabs>KPI_Snapshot__c</tabs>
|
|
28
|
+
<tabs>Notification__c</tabs>
|
|
29
|
+
<tabs>Agent__c</tabs>
|
|
30
|
+
<tabs>standard-report</tabs>
|
|
31
|
+
<tabs>standard-Dashboard</tabs>
|
|
32
|
+
<uiType>Lightning</uiType>
|
|
33
|
+
</CustomApplication>
|