@opentabs-dev/opentabs-plugin-zillow 0.0.82 → 0.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapter.iife.js +27 -19
- package/dist/adapter.iife.js.map +3 -3
- package/dist/tools/search-by-owner.d.ts.map +1 -1
- package/dist/tools/search-by-owner.js +2 -2
- package/dist/tools/search-by-owner.js.map +1 -1
- package/dist/tools/search-for-rent.d.ts.map +1 -1
- package/dist/tools/search-for-rent.js +4 -4
- package/dist/tools/search-for-rent.js.map +1 -1
- package/dist/tools/search-for-sale.d.ts.map +1 -1
- package/dist/tools/search-for-sale.js +5 -5
- package/dist/tools/search-for-sale.js.map +1 -1
- package/dist/tools/search-foreclosures.d.ts.map +1 -1
- package/dist/tools/search-foreclosures.js +1 -1
- package/dist/tools/search-foreclosures.js.map +1 -1
- package/dist/tools/search-new-construction.d.ts.map +1 -1
- package/dist/tools/search-new-construction.js +2 -2
- package/dist/tools/search-new-construction.js.map +1 -1
- package/dist/tools/search-recently-sold.d.ts.map +1 -1
- package/dist/tools/search-recently-sold.js +3 -3
- package/dist/tools/search-recently-sold.js.map +1 -1
- package/dist/tools.json +1 -1
- package/package.json +3 -3
package/dist/adapter.iife.js
CHANGED
|
@@ -14547,8 +14547,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14547
14547
|
isForSaleForeclosure: { value: false }
|
|
14548
14548
|
};
|
|
14549
14549
|
if (params.sort) filterState.sortSelection = { value: params.sort };
|
|
14550
|
-
if (params.min_price
|
|
14551
|
-
|
|
14550
|
+
if (params.min_price !== void 0 || params.max_price !== void 0)
|
|
14551
|
+
filterState.price = { min: params.min_price, max: params.max_price };
|
|
14552
|
+
if (params.min_beds !== void 0) filterState.beds = { min: params.min_beds };
|
|
14552
14553
|
const bounds = params.map_bounds ?? { west: -122.5, east: -122.3, south: 37.7, north: 37.8 };
|
|
14553
14554
|
const data = await search(
|
|
14554
14555
|
{
|
|
@@ -14613,10 +14614,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14613
14614
|
isForSaleForeclosure: { value: false }
|
|
14614
14615
|
};
|
|
14615
14616
|
if (params.sort) filterState.sortSelection = { value: params.sort };
|
|
14616
|
-
if (params.min_price
|
|
14617
|
-
|
|
14618
|
-
if (params.
|
|
14619
|
-
if (params.
|
|
14617
|
+
if (params.min_price !== void 0 || params.max_price !== void 0)
|
|
14618
|
+
filterState.price = { min: params.min_price, max: params.max_price };
|
|
14619
|
+
if (params.min_beds !== void 0) filterState.beds = { min: params.min_beds };
|
|
14620
|
+
if (params.min_baths !== void 0) filterState.baths = { min: params.min_baths };
|
|
14621
|
+
if (params.min_sqft !== void 0 || params.max_sqft !== void 0)
|
|
14622
|
+
filterState.sqft = { min: params.min_sqft, max: params.max_sqft };
|
|
14620
14623
|
const bounds = params.map_bounds ?? { west: -122.5, east: -122.3, south: 37.7, north: 37.8 };
|
|
14621
14624
|
const data = await search(
|
|
14622
14625
|
{
|
|
@@ -14675,11 +14678,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14675
14678
|
}
|
|
14676
14679
|
const filterState = {};
|
|
14677
14680
|
if (params.sort) filterState.sortSelection = { value: params.sort };
|
|
14678
|
-
if (params.min_price
|
|
14679
|
-
|
|
14680
|
-
if (params.
|
|
14681
|
-
if (params.
|
|
14682
|
-
if (params.
|
|
14681
|
+
if (params.min_price !== void 0 || params.max_price !== void 0)
|
|
14682
|
+
filterState.price = { min: params.min_price, max: params.max_price };
|
|
14683
|
+
if (params.min_beds !== void 0) filterState.beds = { min: params.min_beds };
|
|
14684
|
+
if (params.max_beds !== void 0) filterState.beds = { ...filterState.beds, max: params.max_beds };
|
|
14685
|
+
if (params.min_baths !== void 0) filterState.baths = { min: params.min_baths };
|
|
14686
|
+
if (params.min_sqft !== void 0 || params.max_sqft !== void 0)
|
|
14687
|
+
filterState.sqft = { min: params.min_sqft, max: params.max_sqft };
|
|
14683
14688
|
if (params.home_type) {
|
|
14684
14689
|
const typeMap = {
|
|
14685
14690
|
single_family: "isSingleFamily",
|
|
@@ -14749,7 +14754,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14749
14754
|
isAuction: { value: false }
|
|
14750
14755
|
};
|
|
14751
14756
|
if (params.sort) filterState.sortSelection = { value: params.sort };
|
|
14752
|
-
if (params.min_price
|
|
14757
|
+
if (params.min_price !== void 0 || params.max_price !== void 0)
|
|
14758
|
+
filterState.price = { min: params.min_price, max: params.max_price };
|
|
14753
14759
|
const bounds = params.map_bounds ?? { west: -122.5, east: -122.3, south: 37.7, north: 37.8 };
|
|
14754
14760
|
const data = await search(
|
|
14755
14761
|
{
|
|
@@ -14828,8 +14834,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14828
14834
|
isForSaleForeclosure: { value: false }
|
|
14829
14835
|
};
|
|
14830
14836
|
if (params.sort) filterState.sortSelection = { value: params.sort };
|
|
14831
|
-
if (params.min_price
|
|
14832
|
-
|
|
14837
|
+
if (params.min_price !== void 0 || params.max_price !== void 0)
|
|
14838
|
+
filterState.price = { min: params.min_price, max: params.max_price };
|
|
14839
|
+
if (params.min_beds !== void 0) filterState.beds = { min: params.min_beds };
|
|
14833
14840
|
const bounds = params.map_bounds ?? { west: -122.5, east: -122.3, south: 37.7, north: 37.8 };
|
|
14834
14841
|
const data = await search(
|
|
14835
14842
|
{
|
|
@@ -14939,9 +14946,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14939
14946
|
isForSaleForeclosure: { value: false }
|
|
14940
14947
|
};
|
|
14941
14948
|
if (params.sort) filterState.sortSelection = { value: params.sort };
|
|
14942
|
-
if (params.min_price
|
|
14943
|
-
|
|
14944
|
-
if (params.
|
|
14949
|
+
if (params.min_price !== void 0 || params.max_price !== void 0)
|
|
14950
|
+
filterState.price = { min: params.min_price, max: params.max_price };
|
|
14951
|
+
if (params.min_beds !== void 0) filterState.beds = { min: params.min_beds };
|
|
14952
|
+
if (params.min_baths !== void 0) filterState.baths = { min: params.min_baths };
|
|
14945
14953
|
const bounds = params.map_bounds ?? { west: -122.5, east: -122.3, south: 37.7, north: 37.8 };
|
|
14946
14954
|
const data = await search(
|
|
14947
14955
|
{
|
|
@@ -14993,7 +15001,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14993
15001
|
};
|
|
14994
15002
|
var src_default = new ZillowPlugin();
|
|
14995
15003
|
|
|
14996
|
-
// dist/
|
|
15004
|
+
// dist/_adapter_entry_856183ee-cd6c-4f89-8dae-4b396be7cddd.ts
|
|
14997
15005
|
if (!globalThis.__openTabs) {
|
|
14998
15006
|
globalThis.__openTabs = {};
|
|
14999
15007
|
} else {
|
|
@@ -15209,5 +15217,5 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15209
15217
|
};
|
|
15210
15218
|
delete src_default.onDeactivate;
|
|
15211
15219
|
}
|
|
15212
|
-
})();(function(){var o=(globalThis).__openTabs;if(o&&o.adapters&&o.adapters["zillow"]){var a=o.adapters["zillow"];a.__adapterHash="
|
|
15220
|
+
})();(function(){var o=(globalThis).__openTabs;if(o&&o.adapters&&o.adapters["zillow"]){var a=o.adapters["zillow"];a.__adapterHash="b252ce899731bf328c3630b2cb225d77731eb3bbbe8f05456c0f22dcc3080aeb";if(a.tools&&Array.isArray(a.tools)){for(var i=0;i<a.tools.length;i++){Object.freeze(a.tools[i]);}Object.freeze(a.tools);}Object.freeze(a);Object.defineProperty(o.adapters,"zillow",{value:a,writable:false,configurable:false,enumerable:true});Object.defineProperty(o,"adapters",{value:o.adapters,writable:false,configurable:false});}})();
|
|
15213
15221
|
//# sourceMappingURL=adapter.iife.js.map
|