@nextgis/properties-filter
Advanced tools
Comparing version 0.28.0 to 0.28.1
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.28.1](https://github.com/nextgis/nextgisweb_frontend/compare/v0.28.0...v0.28.1) (2020-03-12) | ||
**Note:** Version bump only for package @nextgis/properties-filter | ||
# [0.28.0](https://github.com/nextgis/nextgisweb_frontend/compare/v0.27.1...v0.28.0) (2020-03-12) | ||
@@ -8,0 +16,0 @@ |
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.PropertiesFilter=r():e.PropertiesFilter=r()}("undefined"!=typeof self?self:this,(function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=0)}([function(e,r,t){"use strict";t.r(r);var n=function(){return(n=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e}).apply(this,arguments)};function o(e,r,t){if((e=String(e))===(r=String(r)))return!0;if(t&&e.toUpperCase()===r.toUpperCase())return!0;var n=("^"+e+"$").replace(/%/g,".*").replace("_",".");return null!==new RegExp(n,t?"i":"").exec(r)}var u={gt:function(e,r){return e>r},lt:function(e,r){return e<r},ge:function(e,r){return e>=r},le:function(e,r){return e<=r},eq:function(e,r){return e===r},ne:function(e,r){return e!==r},in:function(e,r){return-1!==r.indexOf(e)},notin:function(e,r){return-1===r.indexOf(e)},like:function(e,r){return o(e,r)},ilike:function(e,r){return o(e,r,!0)}};function i(e){var r=e;return 3===r.length&&"string"==typeof r[0]&&"string"==typeof r[1]}function f(e,r){var t=n({},e.properties);return!!t&&(t.$id=e.id,c(t,r))}function c(e,r){var t="string"==typeof r[0]?r[0]:"all",n=function(r){if(i(r)){var t=r[0],n=r[1],o=r[2],f=u[n];return!f||f(e[t],o)}return c(e,r)},o=r.filter((function(e){return Array.isArray(e)}));return"any"===t?o.some(n):o.every(n)}t.d(r,"operationsAliases",(function(){return u})),t.d(r,"checkIfPropertyFilter",(function(){return i})),t.d(r,"featureFilter",(function(){return f})),t.d(r,"propertiesFilter",(function(){return c}))}]).default})); | ||
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.PropertiesFilter=r():e.PropertiesFilter=r()}("undefined"!=typeof self?self:this,(function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=0)}([function(e,r,t){"use strict";t.r(r);var n=function(){return(n=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e}).apply(this,arguments)};function o(e,r,t){if((e=String(e))===(r=String(r)))return!0;if(t&&e.toUpperCase()===r.toUpperCase())return!0;var n=("^"+e+"$").replace(/%/g,".*").replace("_",".");return null!==new RegExp(n,t?"i":"").exec(r)}var u={gt:function(e,r){return e>r},lt:function(e,r){return e<r},ge:function(e,r){return e>=r},le:function(e,r){return e<=r},eq:function(e,r){return e===r},ne:function(e,r){return e!==r},in:function(e,r){return-1!==r.indexOf(e)},notin:function(e,r){return-1===r.indexOf(e)},like:function(e,r){return o(e,r)},ilike:function(e,r){return o(e,r,!0)}};function i(e){var r=e;return 3===r.length&&"string"==typeof r[0]&&"string"==typeof r[1]}function f(e,r){var t=n({},e.properties);return!!t&&(t.$id=e.id,c(t,r))}function c(e,r){var t="string"==typeof r[0]?r[0]:"all",n=function(r){if(i(r)){var t=r[0],n=r[1],o=r[2],f=u[n];return!f||f(e[t],o)}return c(e,r)},o=r.filter((function(e){return Array.isArray(e)}));return"any"===t?o.some(n):o.every(n)}t.d(r,"operationsAliases",(function(){return u})),t.d(r,"checkIfPropertyFilter",(function(){return i})),t.d(r,"featureFilter",(function(){return f})),t.d(r,"propertiesFilter",(function(){return c}))}])})); | ||
//# sourceMappingURL=properties-filter.js.map |
{ | ||
"name": "@nextgis/properties-filter", | ||
"version": "0.28.0", | ||
"version": "0.28.1", | ||
"description": "Filtering objects by its properties using expressions", | ||
@@ -52,3 +52,3 @@ "main": "lib/properties-filter.js", | ||
}, | ||
"gitHead": "d39c80736bffc6e0abfaa99a549e6ad9153bedb5" | ||
"gitHead": "440b0010d66d18adc77ce1f0d73397b1e5621c51" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53204