This commit is contained in:
Christophe Coenraets 2018-05-03 08:36:34 -04:00
Родитель 5c88549f77
Коммит 5fd2f54032
57 изменённых файлов: 0 добавлений и 47161 удалений

Просмотреть файл

@ -1,2 +0,0 @@
./force-app/main/default/flowDefinitions/Optimize_Listing.flowDefinition-meta.xml
./force-app/main/default/flows/Optimize_Listing*.flow-meta

Просмотреть файл

@ -3,7 +3,6 @@
var utterance = event.getParam("value");
var messages = component.get("v.messages");
messages.push({author: "Me", messageText: utterance});
//event.target.value = "";
component.set("v.messages", messages);
helper.submit(component, utterance, component.get('v.session'), null, null, function(answer) {
if (answer) {

Просмотреть файл

@ -1,6 +0,0 @@
<aura:documentation>
<aura:description>Documentation</aura:description>
<aura:example name="ExampleName" ref="exampleComponentName" label="Label">
Example Description
</aura:example>
</aura:documentation>

Просмотреть файл

@ -1,21 +0,0 @@
<aura:component >
<aura:attribute name="price" type="Decimal" default="9"/>
<aura:handler name="change" value="{!v.price}" action="{!c.handlePriceChange}"/>
<div>
<div class="bar bar1"/>
<div class="bar bar2"/>
<div class="bar bar3"/>
<div class="bar bar4"/>
<div class="bar bar5"/>
<div class="bar bar6"/>
<div class="bar bar7"/>
<div class="bar bar8"/>
<div class="bar bar9"/>
<div class="bar bar10"/>
<div aura:id="high" class="line high"/>
<div aura:id="current" class="line current"/>
</div>
</aura:component>

Просмотреть файл

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<AuraDefinitionBundle xmlns="urn:metadata.tooling.soap.sforce.com" fqn="PriceOptimizationWidget">
<apiVersion>42.0</apiVersion>
<description>A Lightning Component Bundle</description>
</AuraDefinitionBundle>

Просмотреть файл

@ -1,75 +0,0 @@
.THIS {
position: relative;
height: 160px;
width: 300px;
}
.THIS .bar {
position: absolute;
bottom: 0;
background-color: #DDDBDA;
width: 30px;
}
.THIS .bar1 {
height: 50px;
left: 0;
}
.THIS .bar2 {
height: 100px;
left: 30px;
}
.THIS .bar3 {
height: 140px;
left: 60px;
}
.THIS .bar4 {
height: 80px;
left: 90px;
}
.THIS .bar5 {
height: 155px;
left: 120px;
}
.THIS .bar6 {
height: 130px;
left: 150px;
}
.THIS .bar7 {
height: 90px;
left: 180px;
}
.THIS .bar8 {
height: 160px;
left: 210px;
}
.THIS .bar9 {
height: 120px;
left: 240px;
}
.THIS .bar10 {
height: 70px;
left: 270px;
}
.THIS .line {
position: absolute;
bottom: 0;
left: 270px;
background-color: #1A4F93;
z-index: 20;
opacity: .5;
height: 160px;
}
.THIS .line.current {
left: 270px;
background-color: #1A4F93;
width: 4px;
}
.THIS .line.high {
left: 240px;
width: 2px;
background-color: #C2384A;
}

Просмотреть файл

@ -1,3 +0,0 @@
<design:component >
</design:component>

Просмотреть файл

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="120px" height="120px" viewBox="0 0 120 120" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M120,108 C120,114.6 114.6,120 108,120 L12,120 C5.4,120 0,114.6 0,108 L0,12 C0,5.4 5.4,0 12,0 L108,0 C114.6,0 120,5.4 120,12 L120,108 L120,108 Z" id="Shape" fill="#2A739E"/>
<path d="M77.7383308,20 L61.1640113,20 L44.7300055,63.2000173 L56.0543288,63.2000173 L40,99.623291 L72.7458388,54.5871812 L60.907727,54.5871812 L77.7383308,20 Z" id="Path-1" fill="#FFFFFF"/>
</g>
</svg>

До

Ширина:  |  Высота:  |  Размер: 661 B

Просмотреть файл

@ -1,23 +0,0 @@
({
handlePriceChange : function(component, event, helper) {
console.log(component.get("v.price"));
var price = component.get("v.price");
var left = 270;
if (price>570000) {
left = 270;
} else if (price>560000) {
left = 240;
} else if (price>540000) {
left = 210;
} else if (price>520000) {
left = 180;
// } else if (price>1100) {
// left = 150;
} else if (price>500000) {
left = 120;
} else {
left = 30;
}
component.find("current").getElement().style.left = left + "px";
}
})

Просмотреть файл

@ -1,5 +0,0 @@
({
helperMethod : function() {
}
})

Просмотреть файл

@ -1,5 +0,0 @@
({
// Your renderer method overrides go here
})

Просмотреть файл

@ -1,15 +0,0 @@
<aura:application extends="force:slds">
<lightning:layout>
<lightning:layoutItem padding="around-small" class="left" size="3">
<c:PropertyFilters/>
</lightning:layoutItem>
<lightning:layoutItem padding="around-small" class="center" size="6">
<c:PropertyTileList/>
</lightning:layoutItem>
<lightning:layoutItem padding="around-small" class="right" size="3">
<c:PropertySummary/>
</lightning:layoutItem>
</lightning:layout>
</aura:application>

Просмотреть файл

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<AuraDefinitionBundle xmlns="urn:metadata.tooling.soap.sforce.com" fqn="PropertyExplorerApp">
<apiVersion>42.0</apiVersion>
<description>A Lightning Application Bundle</description>
</AuraDefinitionBundle>

Просмотреть файл

@ -1,6 +0,0 @@
<aura:documentation>
<aura:description>Documentation</aura:description>
<aura:example name="ExampleName" ref="exampleComponentName" label="Label">
Example Description
</aura:example>
</aura:documentation>

Просмотреть файл

@ -1,28 +0,0 @@
.THIS {
width: 100%;
}
.THIS .noUi-handle {
width: 16px !important;
height: 16px !important;
}
.THIS .slds-card .cPropertyTileList {
padding: 4px !important;
}
.THIS .slds-card {
padding: 4px;
}
.THIS .left {
padding: 16px 8px 8px 16px;
}
.THIS .center {
padding: 16px 8px 8px 8px;
}
.THIS .right {
padding: 16px 16px 8px 8px;
}

Просмотреть файл

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="120px" height="120px" viewBox="0 0 120 120" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M120,108 C120,114.6 114.6,120 108,120 L12,120 C5.4,120 0,114.6 0,108 L0,12 C0,5.4 5.4,0 12,0 L108,0 C114.6,0 120,5.4 120,12 L120,108 L120,108 Z" id="Shape" fill="#2A739E"/>
<path d="M77.7383308,20 L61.1640113,20 L44.7300055,63.2000173 L56.0543288,63.2000173 L40,99.623291 L72.7458388,54.5871812 L60.907727,54.5871812 L77.7383308,20 Z" id="Path-1" fill="#FFFFFF"/>
</g>
</svg>

До

Ширина:  |  Высота:  |  Размер: 661 B

Просмотреть файл

@ -1,5 +0,0 @@
({
myAction : function(component, event, helper) {
}
})

Просмотреть файл

@ -1,5 +0,0 @@
({
helperMethod : function() {
}
})

Просмотреть файл

@ -1,5 +0,0 @@
({
// Your renderer method overrides go here
})

Просмотреть файл

@ -1,6 +0,0 @@
<aura:documentation>
<aura:description>Documentation</aura:description>
<aura:example name="ExampleName" ref="exampleComponentName" label="Label">
Example Description
</aura:example>
</aura:documentation>

Просмотреть файл

@ -1,21 +0,0 @@
<aura:component access="global">
<aura:attribute name="recordId" type="Id" access="global"/>
<aura:attribute name="property" type="Property__c" />
<aura:handler name="change" value="{!v.recordId}" action="{!c.onRecordChange}"/>
<force:recordData aura:id="propertyService" recordId="{!v.recordId}"
targetFields="{!v.property}" fields="['Id', 'Picture__c', 'Address__c', 'City__c', 'State__c', 'Zip__c', 'Price__c', 'Beds__c', 'Baths__c', 'Date_Listed__c', 'Broker__c', 'Broker__r.Name', 'Broker__r.Title__c', 'Broker__r.Mobile_Phone__c', 'Broker__r.Picture__c']"
/>
<div>
<!-- <img src="{!v.property.Picture__c}" class="pic" /> -->
<img src="{!v.property.Picture__c}" class="pic" />
<lightning:formattedAddress street="{!v.property.Address__c}" city="{!v.property.City__c}" province="{!v.property.State__c}"
postalCode="{!v.property.Zip__c}" />
<p>Bedrooms: {!v.property.Beds__c} Bathrooms: {!v.property.Baths__c}</p>
<div class="price">Price: <lightning:formattedNumber value="{!v.property.Price__c}" style="currency" currencyCode="USD" minimumFractionDigits="0" maximumFractionDigits="0"/></div>
</div>
</aura:component>

Просмотреть файл

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<AuraDefinitionBundle xmlns="urn:metadata.tooling.soap.sforce.com" fqn="PropertyView">
<apiVersion>42.0</apiVersion>
<description>A Lightning Component Bundle</description>
</AuraDefinitionBundle>

Просмотреть файл

@ -1,14 +0,0 @@
.THIS {
width: 210px;
}
.THIS .pic {
width: 210px;
max-width: inherit;
margin-bottom: 8px;
border-radius: 4px;
}
.THIS .price {
margin-top: 4px;
}

Просмотреть файл

@ -1,3 +0,0 @@
<design:component >
</design:component>

Просмотреть файл

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="120px" height="120px" viewBox="0 0 120 120" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M120,108 C120,114.6 114.6,120 108,120 L12,120 C5.4,120 0,114.6 0,108 L0,12 C0,5.4 5.4,0 12,0 L108,0 C114.6,0 120,5.4 120,12 L120,108 L120,108 Z" id="Shape" fill="#2A739E"/>
<path d="M77.7383308,20 L61.1640113,20 L44.7300055,63.2000173 L56.0543288,63.2000173 L40,99.623291 L72.7458388,54.5871812 L60.907727,54.5871812 L77.7383308,20 Z" id="Path-1" fill="#FFFFFF"/>
</g>
</svg>

До

Ширина:  |  Высота:  |  Размер: 661 B

Просмотреть файл

@ -1,8 +0,0 @@
({
onRecordChange: function (component, event) {
if (component.get("v.recordId")) {
var propertyService = component.find("propertyService");
propertyService.reloadRecord();
}
},
})

Просмотреть файл

@ -1,5 +0,0 @@
({
helperMethod : function() {
}
})

Просмотреть файл

@ -1,5 +0,0 @@
({
// Your renderer method overrides go here
})

Просмотреть файл

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<FlowDefinition xmlns="http://soap.sforce.com/2006/04/metadata">
<activeVersionNumber>1</activeVersionNumber>
</FlowDefinition>

Просмотреть файл

@ -1,236 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Flow xmlns="http://soap.sforce.com/2006/04/metadata">
<assignments>
<name>myVariable_waitStartTimeAssignment</name>
<label>myVariable_waitStartTimeAssignment</label>
<locationX>0</locationX>
<locationY>0</locationY>
<assignmentItems>
<assignToReference>myVariable_waitStartTimeVariable</assignToReference>
<operator>Assign</operator>
<value>
<elementReference>$Flow.CurrentDateTime</elementReference>
</value>
</assignmentItems>
<connector>
<targetReference>isChangedDecision2_myRule_1_Asking_Price_c</targetReference>
</connector>
</assignments>
<decisions>
<name>isChangedDecision2_myRule_1_Asking_Price_c</name>
<label>isChangedDecision2_myRule_1_Asking_Price_c</label>
<locationX>0</locationX>
<locationY>0</locationY>
<defaultConnector>
<targetReference>myDecision</targetReference>
</defaultConnector>
<defaultConnectorLabel>default</defaultConnectorLabel>
<rules>
<name>isChangedRule_2_myRule_1_Asking_Price_c</name>
<conditionLogic>and</conditionLogic>
<conditions>
<leftValueReference>myVariable_old</leftValueReference>
<operator>IsNull</operator>
<rightValue>
<booleanValue>false</booleanValue>
</rightValue>
</conditions>
<conditions>
<leftValueReference>myVariable_old.Asking_Price__c</leftValueReference>
<operator>NotEqualTo</operator>
<rightValue>
<elementReference>myVariable_current.Asking_Price__c</elementReference>
</rightValue>
</conditions>
<connector>
<targetReference>myDecision</targetReference>
</connector>
<label>isChangedRule_2_myRule_1_Asking_Price_c</label>
</rules>
</decisions>
<decisions>
<processMetadataValues>
<name>index</name>
<value>
<numberValue>0.0</numberValue>
</value>
</processMetadataValues>
<name>myDecision</name>
<label>myDecision</label>
<locationX>50</locationX>
<locationY>0</locationY>
<defaultConnectorLabel>default</defaultConnectorLabel>
<rules>
<name>myRule_1</name>
<conditionLogic>and</conditionLogic>
<conditions>
<processMetadataValues>
<name>inputDataType</name>
<value>
<stringValue>Boolean</stringValue>
</value>
</processMetadataValues>
<processMetadataValues>
<name>leftHandSideType</name>
<value>
<stringValue>Number</stringValue>
</value>
</processMetadataValues>
<processMetadataValues>
<name>operatorDataType</name>
<value>
<stringValue>Number</stringValue>
</value>
</processMetadataValues>
<processMetadataValues>
<name>rightHandSideType</name>
<value>
<stringValue>Boolean</stringValue>
</value>
</processMetadataValues>
<leftValueReference>isChangedRule_2_myRule_1_Asking_Price_c</leftValueReference>
<operator>EqualTo</operator>
<rightValue>
<booleanValue>true</booleanValue>
</rightValue>
</conditions>
<connector>
<targetReference>myRule_1_A1</targetReference>
</connector>
<label>Price Change?</label>
</rules>
</decisions>
<interviewLabel>Push_Price_Change-1_InterviewLabel</interviewLabel>
<label>Publish Price Change</label>
<processMetadataValues>
<name>ObjectType</name>
<value>
<stringValue>Property__c</stringValue>
</value>
</processMetadataValues>
<processMetadataValues>
<name>ObjectVariable</name>
<value>
<elementReference>myVariable_current</elementReference>
</value>
</processMetadataValues>
<processMetadataValues>
<name>OldObjectVariable</name>
<value>
<elementReference>myVariable_old</elementReference>
</value>
</processMetadataValues>
<processMetadataValues>
<name>TriggerType</name>
<value>
<stringValue>onAllChanges</stringValue>
</value>
</processMetadataValues>
<processType>Workflow</processType>
<recordCreates>
<name>myRule_1_A1</name>
<label>Publish Price Change Event</label>
<locationX>100</locationX>
<locationY>200</locationY>
<inputAssignments>
<processMetadataValues>
<name>dataType</name>
<value>
<stringValue>Number</stringValue>
</value>
</processMetadataValues>
<processMetadataValues>
<name>isRequired</name>
<value>
<booleanValue>false</booleanValue>
</value>
</processMetadataValues>
<processMetadataValues>
<name>leftHandSideLabel</name>
<value>
<stringValue>Price</stringValue>
</value>
</processMetadataValues>
<processMetadataValues>
<name>leftHandSideReferenceTo</name>
<value>
<stringValue/>
</value>
</processMetadataValues>
<processMetadataValues>
<name>rightHandSideType</name>
<value>
<stringValue>Reference</stringValue>
</value>
</processMetadataValues>
<field>Price__c</field>
<value>
<elementReference>myVariable_current.Asking_Price__c</elementReference>
</value>
</inputAssignments>
<inputAssignments>
<processMetadataValues>
<name>dataType</name>
<value>
<stringValue>String</stringValue>
</value>
</processMetadataValues>
<processMetadataValues>
<name>isRequired</name>
<value>
<booleanValue>false</booleanValue>
</value>
</processMetadataValues>
<processMetadataValues>
<name>leftHandSideLabel</name>
<value>
<stringValue>Property Id</stringValue>
</value>
</processMetadataValues>
<processMetadataValues>
<name>leftHandSideReferenceTo</name>
<value>
<stringValue/>
</value>
</processMetadataValues>
<processMetadataValues>
<name>rightHandSideType</name>
<value>
<stringValue>Reference</stringValue>
</value>
</processMetadataValues>
<field>Property_Id__c</field>
<value>
<elementReference>myVariable_current.Id</elementReference>
</value>
</inputAssignments>
<object>Price_Change__e</object>
</recordCreates>
<startElementReference>myVariable_waitStartTimeAssignment</startElementReference>
<variables>
<name>myVariable_current</name>
<dataType>SObject</dataType>
<isCollection>false</isCollection>
<isInput>true</isInput>
<isOutput>true</isOutput>
<objectType>Property__c</objectType>
</variables>
<variables>
<name>myVariable_old</name>
<dataType>SObject</dataType>
<isCollection>false</isCollection>
<isInput>true</isInput>
<isOutput>false</isOutput>
<objectType>Property__c</objectType>
</variables>
<variables>
<name>myVariable_waitStartTimeVariable</name>
<dataType>DateTime</dataType>
<isCollection>false</isCollection>
<isInput>false</isInput>
<isOutput>false</isOutput>
<value>
<elementReference>$Flow.CurrentDateTime</elementReference>
</value>
</variables>
</Flow>

Просмотреть файл

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata">
<deploymentStatus>Deployed</deploymentStatus>
<eventType>StandardVolume</eventType>
<label>Price Change</label>
<pluralLabel>Price Changes</pluralLabel>
</CustomObject>

Просмотреть файл

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Price__c</fullName>
<externalId>false</externalId>
<isFilteringDisabled>false</isFilteringDisabled>
<isNameField>false</isNameField>
<isSortingDisabled>false</isSortingDisabled>
<label>Price</label>
<precision>8</precision>
<required>false</required>
<scale>0</scale>
<type>Number</type>
<unique>false</unique>
</CustomField>

Просмотреть файл

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Property_Id__c</fullName>
<externalId>false</externalId>
<isFilteringDisabled>false</isFilteringDisabled>
<isNameField>false</isNameField>
<isSortingDisabled>false</isSortingDisabled>
<label>Property Id</label>
<length>18</length>
<required>false</required>
<type>Text</type>
<unique>false</unique>
</CustomField>

Просмотреть файл

@ -1 +0,0 @@
window.recordId = 'a04Z000000BPNn9IAH';

Просмотреть файл

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<StaticResource xmlns="http://soap.sforce.com/2006/04/metadata">
<cacheControl>Private</cacheControl>
<contentType>application/javascript</contentType>
</StaticResource>

Просмотреть файл

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<StaticResource xmlns="http://soap.sforce.com/2006/04/metadata">
<cacheControl>Private</cacheControl>
<contentType>application/zip</contentType>
</StaticResource>

Просмотреть файл

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="309px" height="150px" viewBox="0 0 309 150" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 49.1 (51147) - http://www.bohemiancoding.com/sketch -->
<title>Slice</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M88.659,38.816 L95.286,38.816 C99.059,38.816 101.621,38.034 102.971,36.47 C104.321,34.905 104.996,33.233 104.996,31.453 C104.996,29.46 104.252,27.688 102.764,26.138 C101.276,24.589 99.198,23.815 96.529,23.815 C91.435,23.815 88.229,26.499 86.91,31.868 L73.887,29.796 C74.96,24.95 77.56,20.938 81.687,17.763 C85.813,14.587 90.899,13 96.943,13 C103.263,13 108.577,14.505 112.889,17.513 C117.199,20.522 119.354,24.637 119.354,29.855 C119.354,36.702 115.765,41.384 108.586,43.902 C117.023,46.14 121.242,51.107 121.242,58.803 C121.242,64.321 119.085,68.858 114.776,72.414 C110.465,75.971 104.521,77.75 96.943,77.75 C89.671,77.75 83.911,75.921 79.662,72.264 C75.412,68.607 72.859,64.069 72,58.651 L85.346,56.719 C86.635,63.192 90.377,66.428 96.575,66.428 C99.458,66.428 101.798,65.665 103.593,64.134 C105.388,62.605 106.285,60.555 106.285,57.985 C106.285,55.262 105.464,53.227 103.823,51.88 C102.181,50.534 99.044,49.861 94.411,49.861 L88.659,49.861 L88.659,38.816" id="Fill-59" fill="#FFFFFF"></path>
<path d="M153.759,67.211 C156.428,67.211 158.652,66.316 160.432,64.525 C162.21,62.735 163.101,60.202 163.101,56.926 C163.101,54.018 162.141,51.715 160.224,50.017 C158.306,48.319 156.167,47.469 153.805,47.469 C151.319,47.469 149.117,48.386 147.2,50.223 C145.283,52.06 144.325,54.463 144.325,57.432 C144.325,60.217 145.214,62.543 146.994,64.41 C148.773,66.277 151.027,67.211 153.759,67.211 Z M176.676,29.796 L164.022,33.202 C162.825,26.759 159.695,23.538 154.633,23.538 C147.27,23.538 143.588,30.545 143.588,44.556 C146.564,39.748 151.258,37.344 157.671,37.344 C163.53,37.344 168.316,39.254 172.029,43.074 C175.74,46.893 177.596,51.411 177.596,56.627 C177.596,62.18 175.55,67.088 171.454,71.353 C167.357,75.617 161.888,77.75 155.047,77.75 C148.297,77.75 142.967,76.017 139.055,72.549 C135.143,69.083 132.489,64.956 131.094,60.17 C129.697,55.384 129,50.735 129,46.227 C129,36.593 131.17,28.646 135.511,22.388 C139.853,16.129 146.287,13 154.817,13 C160.984,13 165.938,14.618 169.682,17.856 C173.425,21.092 175.756,25.073 176.676,29.796 Z" id="Fill-60" fill="#FFFFFF"></path>
<path d="M208.574,23.538 C205.106,23.538 202.69,25.142 201.326,28.348 C199.96,31.553 199.278,37.176 199.278,45.213 C199.278,53.313 199.991,58.943 201.417,62.103 C202.844,65.263 205.214,66.843 208.528,66.843 C211.811,66.843 214.188,65.294 215.661,62.195 C217.134,59.097 217.87,53.635 217.87,45.812 C217.87,37.222 217.148,31.361 215.707,28.232 C214.265,25.103 211.888,23.538 208.574,23.538 Z M208.39,77.75 C200.688,77.75 194.698,74.697 190.419,68.591 C186.139,62.487 184,54.771 184,45.444 C184,36.301 186.085,28.608 190.258,22.364 C194.43,16.122 200.504,13 208.481,13 C216.397,13 222.472,16.122 226.706,22.364 C230.939,28.608 233.057,36.239 233.057,45.259 C233.057,54.495 230.932,62.218 226.683,68.431 C222.433,74.644 216.335,77.75 208.39,77.75 Z" id="Fill-61" fill="#FFFFFF"></path>
<path d="M253.161,32.742 C254.867,32.742 256.328,32.112 257.546,30.849 C258.764,29.586 259.374,28.077 259.374,26.322 C259.374,24.537 258.764,23.005 257.546,21.728 C256.328,20.45 254.851,19.811 253.116,19.811 C251.379,19.811 249.894,20.442 248.66,21.705 C247.427,22.968 246.811,24.475 246.811,26.23 C246.811,28.047 247.442,29.586 248.707,30.849 C249.97,32.112 251.455,32.742 253.161,32.742 Z M253.208,39.553 C249.587,39.553 246.481,38.25 243.888,35.642 C241.296,33.034 240,29.888 240,26.207 C240,22.587 241.272,19.481 243.819,16.888 C246.366,14.296 249.434,13 253.023,13 C256.673,13 259.78,14.319 262.342,16.957 C264.904,19.596 266.185,22.725 266.185,26.346 C266.185,30.027 264.911,33.149 262.366,35.71 C259.818,38.273 256.766,39.553 253.208,39.553 Z" id="Fill-62" fill="#FFFFFF"></path>
<path d="M244.33,49 L244.33,52.993 C257.203,58.216 264.776,64.625 264.776,71.539 C264.776,87.877 222.505,101.35 168,103.22 L186.319,115.807 L170.782,126.481 C242.964,124.122 299.162,105.634 299.162,83.178 C299.162,69.313 277.728,56.964 244.33,49" id="Fill-63" fill="#FFFFFF"></path>
<path d="M175.058,115.815 L140.341,91.962 L140.341,103.173 C86.59,101.104 45.107,87.73 45.107,71.547 C45.107,64.58 52.785,58.134 65.825,52.888 L65.825,49 C32.435,56.972 11,69.321 11,83.186 C11,105.741 67.696,124.296 140.341,126.523 L140.341,139.665 L175.058,115.815" id="Fill-64" fill="#FFFFFF"></path>
</g>
</svg>

До

Ширина:  |  Высота:  |  Размер: 4.6 KiB

Просмотреть файл

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="187px" height="195px" viewBox="0 0 187 195" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 49.1 (51147) - http://www.bohemiancoding.com/sketch -->
<title>360logo2</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="360logo2" fill="#FFFFFF" fill-rule="nonzero">
<path d="M6.773,80.031 C7.287,83.983 8.421,86.812 10.179,88.518 C11.937,90.225 14.24,91.078 17.089,91.078 C20.527,91.078 23.498,89.846 26,87.382 C28.502,84.918 29.752,82.096 29.752,78.914 C29.752,76.144 28.816,73.853 26.943,72.044 C25.07,70.235 22.554,69.33 19.398,69.33 C19.039,69.33 18.294,69.382 17.166,69.484 L18.359,63.672 C19.027,63.776 19.668,63.827 20.283,63.827 C24.261,63.827 27.32,62.858 29.464,60.92 C31.607,58.984 32.677,56.604 32.677,53.781 C32.677,51.189 31.798,49.008 30.041,47.238 C28.283,45.467 26.134,44.581 23.593,44.581 C21.105,44.581 18.867,45.486 16.878,47.295 C14.888,49.104 13.613,51.664 13.048,54.973 L6.197,53.588 C7.326,48.945 9.494,45.352 12.701,42.811 C15.91,40.271 19.705,39 24.095,39 C28.712,39 32.453,40.399 35.314,43.197 C38.173,45.994 39.607,49.431 39.607,53.511 C39.607,56.488 38.83,59.086 37.279,61.305 C35.724,63.526 33.396,65.366 30.291,66.829 C32.498,68.137 34.146,69.715 35.236,71.564 C36.326,73.411 36.873,75.528 36.873,77.913 C36.873,82.969 34.98,87.351 31.195,91.058 C27.412,94.766 22.886,96.62 17.628,96.62 C12.521,96.62 8.396,95.19 5.253,92.329 C2.109,89.468 0.359,85.651 0,80.877 L6.773,80.031 Z" id="Fill-42"></path>
<path d="M52.851,79.8 C52.851,82.983 53.838,85.657 55.814,87.826 C57.789,89.994 60.021,91.078 62.512,91.078 C64.256,91.078 66.103,90.417 68.055,89.095 C70.004,87.774 71.66,85.766 73.019,83.072 C74.379,80.377 75.058,77.696 75.058,75.027 C75.058,71.589 74.117,68.836 72.23,66.772 C70.344,64.705 68.066,63.672 65.398,63.672 C62.318,63.672 59.457,65.18 56.816,68.195 C54.172,71.21 52.851,75.079 52.851,79.8 Z M55.275,62.942 C57.226,61.325 59.17,60.112 61.105,59.304 C63.045,58.496 64.961,58.091 66.861,58.091 C71.146,58.091 74.687,59.554 77.484,62.479 C80.281,65.405 81.68,69.344 81.68,74.296 C81.68,80.685 79.601,86.164 75.443,90.731 C71.851,94.658 67.49,96.62 62.357,96.62 C57.687,96.62 53.793,94.908 50.676,91.482 C47.557,88.056 46,83.174 46,76.836 C46,71.165 47,65.302 49.002,59.246 C50.541,54.602 52.445,50.773 54.719,47.757 C56.988,44.742 59.4,42.529 61.953,41.118 C64.506,39.706 67.387,39 70.596,39 C74.443,39 77.586,40.2 80.023,42.6 C82.463,44.999 83.848,48.43 84.182,52.895 L77.715,53.511 C77.355,50.458 76.49,48.251 75.117,46.891 C73.744,45.531 72.07,44.851 70.094,44.851 C68.016,44.851 65.924,45.66 63.82,47.276 C61.717,48.893 59.906,51.285 58.392,54.454 C56.879,57.623 55.84,60.453 55.275,62.942 Z" id="Fill-43"></path>
<path d="M95.736,78.914 C95.736,82.378 96.312,85.086 97.467,87.037 C99.033,89.73 101.355,91.078 104.433,91.078 C107.129,91.078 109.578,89.859 111.785,87.421 C114.967,83.983 117.361,78.948 118.965,72.314 C120.566,65.681 121.371,60.26 121.371,56.051 C121.371,51.996 120.593,49.072 119.041,47.276 C117.49,45.48 115.441,44.581 112.902,44.581 C111.054,44.581 109.328,45.056 107.724,46.005 C106.121,46.955 104.588,48.584 103.125,50.894 C101.047,54.153 99.238,59.029 97.697,65.52 C96.39,71.063 95.736,75.528 95.736,78.914 Z M89,77.144 C89,72.371 89.713,67.522 91.135,62.595 C92.56,57.668 94.144,53.729 95.89,50.778 C97.635,47.828 99.443,45.518 101.316,43.85 C103.189,42.183 105.031,40.957 106.84,40.174 C108.648,39.392 110.656,39 112.863,39 C117.174,39 120.773,40.604 123.66,43.811 C126.547,47.02 127.988,51.652 127.988,57.706 C127.988,63.942 126.988,70.114 124.988,76.22 C122.627,83.456 119.342,88.884 115.135,92.501 C111.9,95.247 108.218,96.62 104.088,96.62 C99.853,96.62 96.281,94.958 93.369,91.635 C90.455,88.313 89,83.482 89,77.144 Z" id="Fill-44"></path>
<path d="M142.196,49.662 C142.196,51.459 142.828,52.991 144.1,54.262 C145.369,55.531 146.903,56.167 148.7,56.167 C150.469,56.167 151.989,55.531 153.26,54.262 C154.532,52.991 155.166,51.459 155.166,49.662 C155.166,47.866 154.532,46.333 153.26,45.061 C151.989,43.792 150.469,43.157 148.7,43.157 C146.903,43.157 145.369,43.792 144.1,45.061 C142.828,46.333 142.196,47.866 142.196,49.662 Z M138,49.662 C138,46.711 139.043,44.196 141.137,42.118 C143.227,40.04 145.735,39 148.66,39 C151.637,39 154.164,40.04 156.244,42.118 C158.321,44.196 159.362,46.711 159.362,49.662 C159.362,52.613 158.315,55.135 156.225,57.226 C154.131,59.316 151.612,60.362 148.66,60.362 C145.735,60.362 143.227,59.323 141.137,57.245 C139.043,55.166 138,52.639 138,49.662 Z" id="Fill-45"></path>
<path d="M59.004,127.347 L56,109 L59.039,109 L60.612,119.107 C60.785,120.212 60.998,122.014 61.25,124.513 C61.85,123.212 62.615,121.72 63.549,120.038 L69.682,109 L72.981,109 L62.477,127.347 L59.004,127.347" id="Fill-46"></path>
<path d="M76.56,105.541 L77.304,102 L80.414,102 L79.671,105.541 L76.56,105.541 Z M72,127.325 L75.835,108.978 L78.962,108.978 L75.126,127.325 L72,127.325 Z" id="Fill-47"></path>
<path d="M84.731,116.981 L95.028,116.981 C95.037,116.658 95.043,116.428 95.043,116.289 C95.043,114.724 94.653,113.524 93.869,112.688 C93.086,111.854 92.078,111.436 90.846,111.436 C89.51,111.436 88.291,111.897 87.194,112.818 C86.094,113.739 85.274,115.126 84.731,116.981 Z M93.819,121.525 L96.858,121.835 C96.42,123.343 95.416,124.778 93.844,126.136 C92.272,127.495 90.399,128.175 88.221,128.175 C86.862,128.175 85.613,127.861 84.481,127.234 C83.346,126.606 82.483,125.693 81.889,124.495 C81.295,123.298 81,121.933 81,120.402 C81,118.398 81.463,116.454 82.389,114.572 C83.317,112.688 84.518,111.289 85.992,110.373 C87.467,109.457 89.061,109 90.778,109 C92.965,109 94.713,109.68 96.02,111.038 C97.326,112.398 97.981,114.251 97.981,116.601 C97.981,117.499 97.901,118.421 97.74,119.364 L84.231,119.364 C84.184,119.722 84.16,120.044 84.16,120.331 C84.16,122.048 84.555,123.359 85.344,124.263 C86.133,125.166 87.098,125.618 88.238,125.618 C89.309,125.618 90.363,125.267 91.399,124.564 C92.436,123.863 93.242,122.849 93.819,121.525 Z" id="Fill-48"></path>
<path d="M103.916,127.347 L102,109 L105.006,109 L105.836,117.24 L106.162,121.87 C106.188,122.216 106.221,122.913 106.268,123.96 C106.613,122.785 106.906,121.885 107.146,121.257 C107.391,120.629 107.775,119.734 108.305,118.571 L112.676,109 L116.078,109 L116.684,118.173 C116.775,119.567 116.834,121.427 116.855,123.753 C117.432,122.21 118.369,120.068 119.672,117.327 L123.611,109 L126.738,109 L117.771,127.347 L114.523,127.347 L113.832,116.584 C113.787,115.916 113.752,114.615 113.73,112.68 C113.258,113.912 112.699,115.242 112.055,116.67 L107.199,127.347 L103.916,127.347" id="Fill-49"></path>
<path d="M171.473,3.988259 C156.322,-5.459741 133.432,2.397259 111,22.074259 L111.467,22.344259 C128.479,9.009259 145.051,4.122259 156.24,11.100259 C173.102,21.614259 172.404,55.720259 156.354,92.637259 L171.733,86.451259 L173.58,98.913259 C191.734,56.280259 191.754,16.635259 171.473,3.988259" id="Fill-50"></path>
<path d="M139.49659,106.446 L148.09059,111.374 C147.39359,112.617 146.68059,113.862 145.94559,115.103 C119.728588,159.571 82.141588,185.444 61.988588,172.873 C51.506588,166.339 47.848588,150.672 50.424588,130.893 L49.455588,130.333 C43.789588,158.51 47.848588,181.658 62.467588,190.774 C86.787588,205.94 131.055588,176.577 161.34259,125.196 C162.26259,123.637 163.15659,122.076 164.02959,120.512 L172.44559,125.338 L167.94759,95 L139.49659,106.446" id="Fill-51"></path>
</g>
</g>
</svg>

До

Ширина:  |  Высота:  |  Размер: 7.5 KiB

Двоичный файл не отображается.

Двоичный файл не отображается.

Двоичный файл не отображается.

Двоичный файл не отображается.

Двоичный файл не отображается.

Двоичный файл не отображается.

Двоичный файл не отображается.

Двоичный файл не отображается.

Двоичный файл не отображается.

Двоичный файл не отображается.

Двоичный файл не отображается.

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 956 KiB

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 731 KiB

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 1.3 MiB

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 849 KiB

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 195 KiB

Просмотреть файл

@ -1,212 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - equirectangular panorama</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
background-color: #000000;
margin: 0px;
overflow: hidden;
}
#info {
position: absolute;
top: 0px; width: 100%;
color: #ffffff;
padding: 5px;
font-family:Monospace;
font-size:13px;
font-weight: bold;
text-align:center;
}
a {
color: #ffffff;
}
</style>
</head>
<body>
<div id="container"></div>
<script src="three.js"></script>
<script>
var camera, scene, renderer;
var isUserInteracting = false,
onMouseDownMouseX = 0, onMouseDownMouseY = 0,
lon = 0, onMouseDownLon = 0,
lat = 0, onMouseDownLat = 0,
phi = 0, theta = 0;
init();
animate();
function init() {
var container, mesh;
container = document.getElementById( 'container' );
camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 1, 1100 );
camera.target = new THREE.Vector3( 0, 0, 0 );
scene = new THREE.Scene();
var geometry = new THREE.SphereBufferGeometry( 500, 60, 40 );
// invert the geometry on the x-axis so that all of the faces point inward
geometry.scale( - 1, 1, 1 );
var material = new THREE.MeshBasicMaterial( {
map: new THREE.TextureLoader().load( 'images/exampleimage.jpg' )
} );
mesh = new THREE.Mesh( geometry, material );
scene.add( mesh );
renderer = new THREE.WebGLRenderer();
renderer.setPixelRatio( window.devicePixelRatio );
renderer.setSize( window.innerWidth, window.innerHeight );
container.appendChild( renderer.domElement );
document.addEventListener( 'mousedown', onDocumentMouseDown, false );
document.addEventListener( 'mousemove', onDocumentMouseMove, false );
document.addEventListener( 'mouseup', onDocumentMouseUp, false );
document.addEventListener( 'wheel', onDocumentMouseWheel, false );
//
document.addEventListener( 'dragover', function ( event ) {
event.preventDefault();
event.dataTransfer.dropEffect = 'copy';
}, false );
document.addEventListener( 'dragenter', function ( event ) {
document.body.style.opacity = 0.5;
}, false );
document.addEventListener( 'dragleave', function ( event ) {
document.body.style.opacity = 1;
}, false );
document.addEventListener( 'drop', function ( event ) {
event.preventDefault();
var reader = new FileReader();
reader.addEventListener( 'load', function ( event ) {
material.map.image.src = event.target.result;
material.map.needsUpdate = true;
}, false );
reader.readAsDataURL( event.dataTransfer.files[ 0 ] );
document.body.style.opacity = 1;
}, false );
//
window.addEventListener( 'resize', onWindowResize, false );
}
function onWindowResize() {
camera.aspect = window.innerWidth / window.innerHeight;
camera.updateProjectionMatrix();
renderer.setSize( window.innerWidth, window.innerHeight );
}
function onDocumentMouseDown( event ) {
event.preventDefault();
isUserInteracting = true;
onMouseDownMouseX = event.clientX;
onMouseDownMouseY = event.clientY;
onMouseDownLon = lon;
onMouseDownLat = lat;
}
function onDocumentMouseMove( event ) {
if ( isUserInteracting === true ) {
lon = ( onMouseDownMouseX - event.clientX ) * 0.1 + onMouseDownLon;
lat = ( event.clientY - onMouseDownMouseY ) * 0.1 + onMouseDownLat;
}
}
function onDocumentMouseUp( event ) {
isUserInteracting = false;
}
function onDocumentMouseWheel( event ) {
var fov = camera.fov + event.deltaY * 0.05;
camera.fov = THREE.Math.clamp( fov, 10, 75 );
camera.updateProjectionMatrix();
}
function animate() {
requestAnimationFrame( animate );
update();
}
function update() {
if ( isUserInteracting === false ) {
lon += 0.1;
}
lat = Math.max( - 85, Math.min( 85, lat ) );
phi = THREE.Math.degToRad( 90 - lat );
theta = THREE.Math.degToRad( lon );
camera.target.x = 500 * Math.sin( phi ) * Math.cos( theta );
camera.target.y = 500 * Math.cos( phi );
camera.target.z = 500 * Math.sin( phi ) * Math.sin( theta );
camera.lookAt( camera.target );
/*
// distortion
camera.position.copy( camera.target ).negate();
*/
renderer.render( scene, camera );
}
</script>
</body>
</html>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,40 +0,0 @@
let faye = require('faye'),
pg = require('pg'),
express = require('express'),
app = express(),
server = require('http').Server(app),
notification = require('./modules/notification'),
salesforce = require('./modules/salesforce');
app.use(express.static('www'));
let client = new pg.Client(process.env.DATABASE_URL);
client.connect();
app.get('/property', (req, res) => {
client.query('SELECT * FROM Property__c', (error, data) => {
res.json(data.rows);
});
});
app.get('/property/:id', (req, res) => {
client.query('SELECT * FROM Property__c WHERE ID=$1', [req.params.sfid], (error, data) => {
res.json(data.rows);
});
});
let bayeux = new faye.NodeAdapter({ mount: '/faye', timeout: 45 });
bayeux.attach(server);
bayeux.on('disconnect', function (clientId) {
console.log('Bayeux server disconnect');
});
saleforce.authenticate().then((oauth) => {
let client = new faye.Client(oauth.instance_url + '/cometd/42.0/');
client.setHeader('Authorization', 'OAuth ' + oauth.access_token);
client.subscribe('/event/Price_Change_Event__e', function (message) {
notification.push(message);
});
});
server.listen(PORT, () => console.log(`Express server listening on ${process.env.PORT}`));