# Variable default

default: "<div class=\"dropdown\">\n <button\n class=\"btn btn-link dropdown-toggle ngeo-filter-condition-button\"\n ng-class=\"{disabled: $ctrl.aRuleIsActive}\"\n type=\"button\"\n data-toggle=\"dropdown\"\n ng-disabled=\"$ctrl.aRuleIsActive\"\n >\n <span class=\"fa fa-cog\"></span>\n </button>\n <ul class=\"dropdown-menu\">\n <li ng-repeat=\"condition in ::$ctrl.conditions\">\n <a href ng-click=\"$ctrl.setCondition(condition)\">\n <span\n ng-class=\"{'ngeo-filter-condition-criteria-active': condition.value == $ctrl.datasource.filterCondition}\"\n class=\"fa fa-check ngeo-filter-condition-criteria\"\n >\n </span>\n <span>{{::condition.text | translate}}</span>\n </a>\n </li>\n </ul>\n</div>\n\n<ngeo-rule\n ng-repeat=\"rule in $ctrl.directedRules\"\n feature-overlay=\"::$ctrl.featureOverlay\"\n class=\"ngeo-filter-rule-directed\"\n map=\"$ctrl.map\"\n rule=\"rule\"\n tool-group=\"$ctrl.toolGroup\"\n>\n</ngeo-rule>\n\n<hr class=\"ngeo-filter-separator-rules\" />\n\n<div ng-repeat=\"rule in $ctrl.customRules\">\n <a\n class=\"btn btn-sm btn-link ngeo-filter-rule-custom-rm-btn\"\n ng-click=\"!$ctrl.aRuleIsActive && $ctrl.removeCustomRule(rule)\"\n ng-disabled=\"$ctrl.aRuleIsActive\"\n href\n >\n <span class=\"fa fa-times\"></span>\n </a>\n <ngeo-rule\n feature-overlay=\"::$ctrl.featureOverlay\"\n class=\"ngeo-filter-rule-custom\"\n map=\"$ctrl.map\"\n rule=\"rule\"\n tool-group=\"$ctrl.toolGroup\"\n >\n </ngeo-rule>\n</div>\n\n<div class=\"dropdown\">\n <button\n class=\"btn btn-link dropdown-toggle\"\n ng-class=\"{disabled: $ctrl.aRuleIsActive}\"\n type=\"button\"\n data-toggle=\"dropdown\"\n ng-disabled=\"$ctrl.aRuleIsActive\"\n >\n <span translate>+ Add a new criteria</span>\n </button>\n <ul class=\"dropdown-menu\">\n <li ng-repeat=\"attribute in ::$ctrl.geometryAttributes\">\n <a href ng-click=\"$ctrl.createAndAddCustomRule(attribute)\">\n <span translate>Spatial filter</span>\n </a>\n </li>\n\n <li role=\"presentation\" class=\"divider\"></li>\n <li ng-repeat=\"attribute in ::$ctrl.otherAttributes\">\n <a href ng-click=\"$ctrl.createAndAddCustomRule(attribute)\">\n <span>{{::attribute.name | translate}}</span>\n </a>\n </li>\n </ul>\n</div>\n\n<hr class=\"ngeo-filter-separator-criteria\" />\n\n<button\n class=\"btn btn-link\"\n type=\"button\"\n ng-click=\"$ctrl.apply()\"\n ng-disabled=\"$ctrl.datasource.visible === false\"\n>\n <span class=\"fa fa-check\"></span>\n <span translate>Apply filter</span>\n</button>\n\n<button\n class=\"btn btn-link\"\n type=\"button\"\n ng-click=\"$ctrl.getData()\"\n ng-disabled=\"$ctrl.datasource.visible === false\"\n>\n <span class=\"fa fa-chevron-right\"></span>\n <span translate>Get data</span>\n</button>"

- Defined in src/filter/component.html.js:22