@progress/kendo-angular-filter 0.1.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.md +11 -0
- package/NOTICE.txt +654 -0
- package/README.md +31 -0
- package/dist/cdn/js/kendo-angular-filter.js +150 -0
- package/dist/cdn/main.js +5 -0
- package/dist/es/aria-label.directive.js +30 -0
- package/dist/es/editors/boolean-editor.component.js +41 -0
- package/dist/es/editors/date-editor.component.js +45 -0
- package/dist/es/editors/numeric-editor.component.js +45 -0
- package/dist/es/editors/text-editor.component.js +45 -0
- package/dist/es/filter-expression-operators.component.js +48 -0
- package/dist/es/filter-expression.component.js +121 -0
- package/dist/es/filter-group.component.js +69 -0
- package/dist/es/filter.component.js +185 -0
- package/dist/es/filter.module.js +91 -0
- package/dist/es/filter.service.js +84 -0
- package/dist/es/index.js +21 -0
- package/dist/es/localization/custom-messages.component.js +44 -0
- package/dist/es/localization/localized-messages.directive.js +35 -0
- package/dist/es/localization/messages.js +166 -0
- package/dist/es/main.js +6 -0
- package/dist/es/model/filter-expression.js +7 -0
- package/dist/es/package-metadata.js +15 -0
- package/dist/es/shared.module.js +37 -0
- package/dist/es/util.js +129 -0
- package/dist/es2015/aria-label.directive.d.ts +15 -0
- package/dist/es2015/aria-label.directive.js +29 -0
- package/dist/es2015/editors/boolean-editor.component.d.ts +25 -0
- package/dist/es2015/editors/boolean-editor.component.js +53 -0
- package/dist/es2015/editors/date-editor.component.d.ts +20 -0
- package/dist/es2015/editors/date-editor.component.js +56 -0
- package/dist/es2015/editors/numeric-editor.component.d.ts +20 -0
- package/dist/es2015/editors/numeric-editor.component.js +56 -0
- package/dist/es2015/editors/text-editor.component.d.ts +20 -0
- package/dist/es2015/editors/text-editor.component.js +52 -0
- package/dist/es2015/filter-expression-operators.component.d.ts +24 -0
- package/dist/es2015/filter-expression-operators.component.js +59 -0
- package/dist/es2015/filter-expression.component.d.ts +40 -0
- package/dist/es2015/filter-expression.component.js +160 -0
- package/dist/es2015/filter-group.component.d.ts +29 -0
- package/dist/es2015/filter-group.component.js +131 -0
- package/dist/es2015/filter.component.d.ts +80 -0
- package/dist/es2015/filter.component.js +298 -0
- package/dist/es2015/filter.module.d.ts +37 -0
- package/dist/es2015/filter.module.js +88 -0
- package/dist/es2015/filter.service.d.ts +43 -0
- package/dist/es2015/filter.service.js +66 -0
- package/dist/es2015/index.d.ts +21 -0
- package/dist/es2015/index.js +21 -0
- package/dist/es2015/index.metadata.json +1 -0
- package/dist/es2015/localization/custom-messages.component.d.ts +15 -0
- package/dist/es2015/localization/custom-messages.component.js +36 -0
- package/dist/es2015/localization/localized-messages.directive.d.ts +13 -0
- package/dist/es2015/localization/localized-messages.directive.js +31 -0
- package/dist/es2015/localization/messages.d.ts +158 -0
- package/dist/es2015/localization/messages.js +160 -0
- package/dist/es2015/main.d.ts +7 -0
- package/dist/es2015/main.js +6 -0
- package/dist/es2015/model/filter-expression.d.ts +60 -0
- package/dist/es2015/model/filter-expression.js +7 -0
- package/dist/es2015/package-metadata.d.ts +9 -0
- package/dist/es2015/package-metadata.js +15 -0
- package/dist/es2015/shared.module.d.ts +9 -0
- package/dist/es2015/shared.module.js +34 -0
- package/dist/es2015/util.d.ts +140 -0
- package/dist/es2015/util.js +129 -0
- package/dist/fesm2015/index.js +1282 -0
- package/dist/fesm5/index.js +1058 -0
- package/dist/npm/aria-label.directive.js +32 -0
- package/dist/npm/editors/boolean-editor.component.js +43 -0
- package/dist/npm/editors/date-editor.component.js +47 -0
- package/dist/npm/editors/numeric-editor.component.js +47 -0
- package/dist/npm/editors/text-editor.component.js +47 -0
- package/dist/npm/filter-expression-operators.component.js +50 -0
- package/dist/npm/filter-expression.component.js +123 -0
- package/dist/npm/filter-group.component.js +71 -0
- package/dist/npm/filter.component.js +187 -0
- package/dist/npm/filter.module.js +93 -0
- package/dist/npm/filter.service.js +86 -0
- package/dist/npm/index.js +37 -0
- package/dist/npm/localization/custom-messages.component.js +46 -0
- package/dist/npm/localization/localized-messages.directive.js +37 -0
- package/dist/npm/localization/messages.js +168 -0
- package/dist/npm/main.js +10 -0
- package/dist/npm/model/filter-expression.js +9 -0
- package/dist/npm/package-metadata.js +17 -0
- package/dist/npm/shared.module.js +39 -0
- package/dist/npm/util.js +131 -0
- package/dist/systemjs/kendo-angular-filter.js +5 -0
- package/package.json +158 -0
- package/schematics/collection.json +12 -0
- package/schematics/ngAdd/index.js +12 -0
- package/schematics/ngAdd/index.js.map +1 -0
- package/schematics/ngAdd/schema.json +28 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"FilterComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":43,"character":1},"arguments":[{"selector":"kendo-filter","template":"\n <ng-container kendoFilterLocalizedMessages\n i18n-editorDateTodayText=\"kendo.filter.editorDateTodayText|The text of the Today button of the Date editor\"\n editorDateTodayText=\"Today\"\n\n i18n-editorDateToggleText=\"kendo.filter.editorDateToggleText|The title of the Toggle button of the Date editor.\"\n editorDateToggleText=\"Toggle calendar\"\n\n i18n-editorNumericDecrement=\"kendo.filter.editorNumericDecrement|The title of the Decrement button of the Numeric editor\"\n editorNumericDecrement=\"Decrement\"\n\n i18n-editorNumericIncrement=\"kendo.filter.editorNumericIncrement|The title of the Increment button of the Numeric editor\"\n editorNumericIncrement=\"Increment\"\n\n i18n-filterExpressionOperators=\"kendo.filter.filterExpressionOperators|The text of the Filter Expression Operators drop down\"\n filterExpressionOperators=\"Operators\"\n\n i18n-filterExpressionFilters=\"kendo.filter.filterExpressionFilters|The text of the Filter Expression filters drop down\"\n filterExpressionFilters=\"Fields\"\n\n i18n-remove=\"kendo.filter.remove|The text of the Remove button\"\n remove=\"Remove\"\n\n i18n-addExpression=\"kendo.filter.addExpression|The text of the Add Expression button\"\n addExpression=\"Add Expression\"\n\n i18n-addGroup=\"kendo.filter.addGroup|The text of the Add Group button\"\n addGroup=\"Add Group\"\n\n i18n-filterAndLogic=\"kendo.filter.filterAndLogic|The text of the And filter logic\"\n filterAndLogic=\"And\"\n\n i18n-filterOrLogic=\"kendo.filter.filterOrLogic|The text of the Or filter logic\"\n filterOrLogic=\"Or\"\n\n i18n-filterEqOperator=\"kendo.filter.filterEqOperator|The text of the equal filter operator\"\n filterEqOperator=\"Is equal to\"\n\n i18n-filterNotEqOperator=\"kendo.filter.filterNotEqOperator|The text of the not equal filter operator\"\n filterNotEqOperator=\"Is not equal to\"\n\n i18n-filterIsNullOperator=\"kendo.filter.filterIsNullOperator|The text of the is null filter operator\"\n filterIsNullOperator=\"Is null\"\n\n i18n-filterIsNotNullOperator=\"kendo.filter.filterIsNotNullOperator|The text of the is not null filter operator\"\n filterIsNotNullOperator=\"Is not null\"\n\n i18n-filterIsEmptyOperator=\"kendo.filter.filterIsEmptyOperator|The text of the is empty filter operator\"\n filterIsEmptyOperator=\"Is empty\"\n\n i18n-filterIsNotEmptyOperator=\"kendo.filter.filterIsNotEmptyOperator|The text of the is not empty filter operator\"\n filterIsNotEmptyOperator=\"Is not empty\"\n\n i18n-filterStartsWithOperator=\"kendo.filter.filterStartsWithOperator|The text of the starts with filter operator\"\n filterStartsWithOperator=\"Starts with\"\n\n i18n-filterContainsOperator=\"kendo.filter.filterContainsOperator|The text of the contains filter operator\"\n filterContainsOperator=\"Contains\"\n\n i18n-filterNotContainsOperator=\"kendo.filter.filterNotContainsOperator|The text of the does not contain filter operator\"\n filterNotContainsOperator=\"Does not contain\"\n\n i18n-filterEndsWithOperator=\"kendo.filter.filterEndsWithOperator|The text of the ends with filter operator\"\n filterEndsWithOperator=\"Ends with\"\n\n i18n-filterGteOperator=\"kendo.filter.filterGteOperator|The text of the greater than or equal filter operator\"\n filterGteOperator=\"Is greater than or equal to\"\n\n i18n-filterGtOperator=\"kendo.filter.filterGtOperator|The text of the greater than filter operator\"\n filterGtOperator=\"Is greater than\"\n\n i18n-filterLteOperator=\"kendo.filter.filterLteOperator|The text of the less than or equal filter operator\"\n filterLteOperator=\"Is less than or equal to\"\n\n i18n-filterLtOperator=\"kendo.filter.filterLtOperator|The text of the less than filter operator\"\n filterLtOperator=\"Is less than\"\n\n i18n-filterIsTrue=\"kendo.filter.filterIsTrue|The text of the IsTrue boolean filter option\"\n filterIsTrue=\"Is True\"\n\n i18n-filterIsFalse=\"kendo.filter.filterIsFalse|The text of the IsFalse boolean filter option\"\n filterIsFalse=\"Is False\"\n\n i18n-filterBooleanAll=\"kendo.filter.filterBooleanAll|The text of the (All) boolean filter option\"\n filterBooleanAll=\"(All)\"\n\n i18n-filterAfterOrEqualOperator=\"kendo.filter.filterAfterOrEqualOperator|The text of the after or equal date filter operator\"\n filterAfterOrEqualOperator=\"Is after or equal to\"\n\n i18n-filterAfterOperator=\"kendo.filter.filterAfterOperator|The text of the after date filter operator\"\n filterAfterOperator=\"Is after\"\n\n i18n-filterBeforeOperator=\"kendo.filter.filterBeforeOperator|The text of the before date filter operator\"\n filterBeforeOperator=\"Is before\"\n\n i18n-filterBeforeOrEqualOperator=\"kendo.filter.filterBeforeOrEqualOperator|The text of the before or equal date filter operator\"\n filterBeforeOrEqualOperator=\"Is before or equal to\"\n\n i18n-filterFieldAriaLabel=\"kendo.filter.filterFieldAriaLabel|The text of the filter field aria label\"\n filterFieldAriaLabel=\"field\"\n\n i18n-filterOperatorAriaLabel=\"kendo.filter.filterOperatorAriaLabel|The text of the filter operator aria label\"\n filterOperatorAriaLabel=\"operator\"\n\n i18n-filterValueAriaLabel=\"kendo.filter.filterValueAriaLabel|The text of the filter value aria label\"\n filterValueAriaLabel=\"value\"\n\n i18n-filterAriaLabel=\"kendo.filter.filterAriaLabel|The text of the filter row aria label\"\n filterAriaLabel=\"filter\"\n\n i18n-filterToolbarAriaLabel=\"kendo.filter.filterToolbarAriaLabel|The text of the filter toolbar aria label\"\n filterToolbarAriaLabel=\"filter settings\"\n >\n </ng-container>\n <div class=\"k-widget k-filter\" [attr.dir]=\"direction\">\n <ul class='k-filter-container'>\n <li class='k-filter-group-main'>\n <kendo-filter-group\n [currentItem]=\"getCurrentFilter()\"\n (valueChange)=\"onValueChange()\"\n >\n </kendo-filter-group>\n </li>\n </ul>\n </div>\n"}]}],"members":{"direction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":174,"character":5},"arguments":["attr.dir"]}]}],"filters":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":178,"character":5}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":201,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":217,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FilterService"},{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":220,"character":30},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":221,"character":21}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"getCurrentFilter":[{"__symbolic":"method"}],"getCurrentFilterChildren":[{"__symbolic":"method"}],"onValueChange":[{"__symbolic":"method"}],"normalizeFilter":[{"__symbolic":"method"}],"normalizeValue":[{"__symbolic":"method"}]}},"FilterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":46,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","name":"SharedModule"}],"declarations":[{"__symbolic":"reference","name":"FilterComponent"},{"__symbolic":"reference","name":"FilterNumericEditorComponent"},{"__symbolic":"reference","name":"FilterTextEditorComponent"},{"__symbolic":"reference","name":"FilterExpressionComponent"},{"__symbolic":"reference","name":"FilterGroupComponent"},{"__symbolic":"reference","name":"FilterExpressionOperatorsComponent"},{"__symbolic":"reference","name":"FilterBooleanEditorComponent"},{"__symbolic":"reference","name":"FilterDateEditorComponent"},{"__symbolic":"reference","name":"LocalizedMessagesDirective"},{"__symbolic":"reference","name":"CustomMessagesComponent"},{"__symbolic":"reference","name":"AriaLabelValueDirective"}],"exports":[{"__symbolic":"reference","name":"FilterComponent"},{"__symbolic":"reference","name":"FilterNumericEditorComponent"},{"__symbolic":"reference","name":"FilterTextEditorComponent"},{"__symbolic":"reference","name":"FilterExpressionComponent"},{"__symbolic":"reference","name":"FilterGroupComponent"},{"__symbolic":"reference","name":"FilterExpressionOperatorsComponent"},{"__symbolic":"reference","name":"FilterBooleanEditorComponent"},{"__symbolic":"reference","name":"FilterDateEditorComponent"},{"__symbolic":"reference","name":"LocalizedMessagesDirective"},{"__symbolic":"reference","name":"CustomMessagesComponent"},{"__symbolic":"reference","name":"AriaLabelValueDirective"}],"providers":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":72,"character":8},{"provide":{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"L10N_PREFIX","line":74,"character":21},"useValue":"kendo.filter"}]}]}],"members":{}},"FilterExpression":{"__symbolic":"interface"},"FilterService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":18,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":24,"character":38}]}],"addFilterGroup":[{"__symbolic":"method"}],"addFilterExpression":[{"__symbolic":"method"}],"remove":[{"__symbolic":"method"}]}},"SharedModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":23,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-inputs","name":"InputsModule","line":13,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-label","name":"LabelModule","line":14,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-dropdowns","name":"DropDownsModule","line":15,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-buttons","name":"ButtonsModule","line":16,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-dateinputs","name":"DateInputsModule","line":17,"character":4}],"exports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-inputs","name":"InputsModule","line":13,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-label","name":"LabelModule","line":14,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-dropdowns","name":"DropDownsModule","line":15,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-buttons","name":"ButtonsModule","line":16,"character":4},{"__symbolic":"reference","module":"@progress/kendo-angular-dateinputs","name":"DateInputsModule","line":17,"character":4}],"providers":[{"__symbolic":"reference","name":"FilterService"}]}]}],"members":{}},"FilterNumericEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"kendo-filter-numeric-editor","template":"\n <kendo-numerictextbox\n [kendoAriaLabelValue]=\"messageFor('filterValueAriaLabel')\"\n class=\"k-filter-toolbar-item k-filter-value\"\n [(value)]=\"currentItem.value\"\n (valueChange)=\"valueChange.emit()\"\n [disabled]=\"isDisabled()\">\n <kendo-numerictextbox-messages\n [increment]=\"messageFor('editorNumericIncrement')\"\n [decrement]=\"messageFor('editorNumericDecrement')\">\n </kendo-numerictextbox-messages>\n </kendo-numerictextbox>\n "}]}],"members":{"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":26,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":28,"character":38},{"__symbolic":"reference","name":"FilterService"}]}],"messageFor":[{"__symbolic":"method"}],"isDisabled":[{"__symbolic":"method"}]}},"FilterTextEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"kendo-filter-text-editor","template":"\n <kendo-textbox\n [kendoAriaLabelValue]=\"messageFor('filterValueAriaLabel')\"\n class=\"k-filter-toolbar-item k-filter-value\"\n [(value)]=\"currentItem.value\"\n (valueChange)=\"valueChange.emit()\"\n [disabled]=\"isDisabled()\">\n </kendo-textbox>\n "}]}],"members":{"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":22,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":24,"character":38},{"__symbolic":"reference","name":"FilterService"}]}],"isDisabled":[{"__symbolic":"method"}],"messageFor":[{"__symbolic":"method"}]}},"FilterExpressionComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"kendo-filter-expression","template":"\n <div class=\"k-filter-toolbar\" role=\"group\" [attr.aria-label]=\"messageFor('filterAriaLabel')\">\n <div class=\"k-toolbar\">\n <div class=\"k-filter-toolbar-item k-filter-field\">\n <kendo-dropdownlist\n [kendoAriaLabelValue]=\"messageFor('filterFieldAriaLabel')\"\n [title]=\"messageFor('filterExpressionFilters')\"\n [data]=\"filters\"\n textField=\"title\"\n valueField=\"field\"\n [value]=\"currentItem.field\"\n [valuePrimitive]=\"true\"\n (valueChange)=\"filterValueChange($event)\">\n </kendo-dropdownlist>\n </div>\n <div *ngIf=\"!isBoolean\" class=\"k-filter-toolbar-item k-filter-operator\">\n <kendo-filter-expression-operators\n [currentItem]=\"currentItem\"\n [operators]=\"operators\"\n (valueChange)=\"valueChange.emit();\">\n </kendo-filter-expression-operators>\n </div>\n\n <ng-container [ngSwitch]=\"getEditorType()\">\n <kendo-filter-text-editor *ngSwitchCase=\"'string'\" [currentItem]=\"currentItem\" (valueChange)=\"valueChange.emit()\"></kendo-filter-text-editor>\n <kendo-filter-numeric-editor *ngSwitchCase=\"'number'\" [currentItem]=\"currentItem\" (valueChange)=\"valueChange.emit()\"></kendo-filter-numeric-editor>\n <kendo-filter-boolean-editor *ngSwitchCase=\"'boolean'\" [currentItem]=\"currentItem\" (valueChange)=\"valueChange.emit()\"></kendo-filter-boolean-editor>\n <kendo-filter-date-editor *ngSwitchCase=\"'date'\" [currentItem]=\"currentItem\" (valueChange)=\"valueChange.emit()\"></kendo-filter-date-editor>\n </ng-container>\n\n <div class=\"k-filter-toolbar-item\">\n <button\n kendoButton\n icon=\"close\"\n look=\"flat\"\n [title]=\"messageFor('remove')\"\n (click)=\"removeFilterExpression()\">\n </button>\n </div>\n </div>\n </div>\n "}]}],"members":{"index":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":5}}]}],"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":58,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FilterService"},{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":65,"character":78}]}],"ngOnInit":[{"__symbolic":"method"}],"normalizeOperators":[{"__symbolic":"method"}],"messageFor":[{"__symbolic":"method"}],"getFilterExpressionByField":[{"__symbolic":"method"}],"filterValueChange":[{"__symbolic":"method"}],"getDefaultOperators":[{"__symbolic":"method"}],"getEditorType":[{"__symbolic":"method"}],"removeFilterExpression":[{"__symbolic":"method"}],"setOperators":[{"__symbolic":"method"}]}},"FilterGroupComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":14,"character":1},"arguments":[{"selector":"kendo-filter-group","template":"\n <div class=\"k-filter-toolbar\" role=\"toolbar\" [attr.aria-label]=\"messageFor('filterToolbarAriaLabel')\">\n <div class=\"k-toolbar\">\n <div class=\"k-filter-toolbar-item\">\n <div class=\"k-widget k-button-group\" role=\"group\">\n <button\n *ngFor=\"let operator of logicOperators\"\n kendoButton\n [ngClass]=\"{'k-group-start': operator.value === 'and', 'k-group-end': operator.value === 'or'}\"\n [selected]=\"currentItem.logic === operator.value\"\n [title]=\"operator.text\"\n (click)=\"selectedChange(operator.value)\"\n >\n {{operator.text}}\n </button>\n </div>\n </div>\n <div class=\"k-filter-toolbar-item\">\n <button\n kendoButton\n [title]=\"messageFor('addExpression')\"\n icon=\"filter-add-expression\"\n (click)=\"addFilterExpression()\">\n {{messageFor('addExpression')}}\n </button>\n </div>\n <div class=\"k-filter-toolbar-item\">\n <button\n kendoButton\n [title]=\"messageFor('addGroup')\"\n icon=\"filter-add-group\"\n (click)=\"addFilterGroup()\">\n {{messageFor('addGroup')}}\n </button>\n </div>\n <div class=\"k-filter-toolbar-item\">\n <button\n kendoButton\n icon=\"close\"\n look=\"flat\"\n [title]=\"messageFor('remove')\"\n (click)=\"removeFilterGroup()\">\n </button>\n </div>\n </div>\n </div>\n\n <ul class=\"k-filter-lines\" *ngIf=\"currentItem.filters\">\n <ng-container *ngFor=\"let item of currentItem.filters; let i = index;\">\n <li class=\"k-filter-item\" *ngIf=\"!item.filters\">\n <kendo-filter-expression (valueChange)=\"valueChange.emit()\" [currentItem]=\"item\" [index]=\"i\">\n </kendo-filter-expression>\n </li>\n <li class=\"k-filter-item\" *ngIf=\"item.filters\" >\n <kendo-filter-group\n (valueChange)=\"valueChange.emit()\"\n [currentItem]=\"item\"\n [index]=\"i\"\n >\n </kendo-filter-group>\n </li>\n </ng-container>\n </ul>\n "}]}],"members":{"index":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":5}}]}],"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":83,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":87,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FilterService"},{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":91,"character":75}]}],"ngOnInit":[{"__symbolic":"method"}],"messageFor":[{"__symbolic":"method"}],"selectedChange":[{"__symbolic":"method"}],"addFilterExpression":[{"__symbolic":"method"}],"addFilterGroup":[{"__symbolic":"method"}],"removeFilterGroup":[{"__symbolic":"method"}]}},"FilterExpressionOperatorsComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"kendo-filter-expression-operators","template":"\n <kendo-dropdownlist\n [kendoAriaLabelValue]=\"messageFor('filterOperatorAriaLabel')\"\n [data]=\"operators\"\n [title]=\"messageFor('filterExpressionOperators')\"\n [(value)]=\"currentItem.operator\"\n (valueChange)=\"operatorValueChange($event)\"\n [valuePrimitive]=\"true\"\n textField=\"text\"\n valueField=\"value\"\n >\n </kendo-dropdownlist>\n "}]}],"members":{"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":27,"character":5}}]}],"operators":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"FilterService"},{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":31,"character":76}]}],"messageFor":[{"__symbolic":"method"}],"operatorValueChange":[{"__symbolic":"method"}]}},"FilterBooleanEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"kendo-filter-boolean-editor","template":"\n <kendo-dropdownlist\n [kendoAriaLabelValue]=\"messageFor('filterValueAriaLabel')\"\n class=\"k-filter-toolbar-item k-filter-value\"\n [(value)]=\"currentItem.value\"\n (valueChange)=\"valueChange.emit()\"\n [data]=\"items\"\n [defaultItem]=\"defaultItem\"\n [valuePrimitive]=\"true\"\n textField=\"text\"\n valueField=\"value\"\n >\n </kendo-dropdownlist>\n "}]}],"members":{"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":26,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":35,"character":38}]}],"messageFor":[{"__symbolic":"method"}]}},"FilterDateEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"kendo-filter-date-editor","template":"\n <kendo-datepicker\n [kendoAriaLabelValue]=\"messageFor('filterValueAriaLabel')\"\n class=\"k-filter-toolbar-item k-filter-value\"\n [(value)]=\"currentItem.value\"\n (valueChange)=\"valueChange.emit()\"\n [disabled]=\"isDisabled()\">\n <kendo-datepicker-messages\n [toggle]=\"messageFor('editorDateToggleText')\"\n [today]=\"messageFor('editorDateTodayText')\">\n </kendo-datepicker-messages>\n </kendo-datepicker>\n "}]}],"members":{"currentItem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":5}}]}],"valueChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":26,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":28,"character":38},{"__symbolic":"reference","name":"FilterService"}]}],"messageFor":[{"__symbolic":"method"}],"isDisabled":[{"__symbolic":"method"}]}},"LocalizedMessagesDirective":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Messages"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":7,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","name":"Messages"},"useExisting":{"__symbolic":"reference","name":"LocalizedMessagesDirective"}}],"selector":"[kendoFilterLocalizedMessages]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":17,"character":35}]}]}},"Messages":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"ComponentMessages","line":6,"character":30},"members":{"filterExpressionOperators":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":5}}]}],"filterExpressionFilters":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":6}}]}],"remove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":5}}]}],"addGroup":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":5}}]}],"addExpression":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":5}}]}],"filterAndLogic":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":5}}]}],"filterOrLogic":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":5}}]}],"filterEqOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":5}}]}],"filterNotEqOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":5}}]}],"filterIsNullOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":5}}]}],"filterIsNotNullOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":5}}]}],"filterIsEmptyOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":65,"character":5}}]}],"filterIsNotEmptyOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":5}}]}],"filterStartsWithOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":75,"character":5}}]}],"filterContainsOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":5}}]}],"filterNotContainsOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":5}}]}],"filterEndsWithOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":5}}]}],"filterGteOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":95,"character":5}}]}],"filterGtOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":100,"character":5}}]}],"filterLteOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":105,"character":5}}]}],"filterLtOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":110,"character":5}}]}],"filterIsTrue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":5}}]}],"filterIsFalse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":5}}]}],"filterBooleanAll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":125,"character":5}}]}],"filterAfterOrEqualOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":130,"character":5}}]}],"filterAfterOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":135,"character":5}}]}],"filterBeforeOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":140,"character":5}}]}],"filterBeforeOrEqualOperator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":145,"character":5}}]}],"editorNumericDecrement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":150,"character":5}}]}],"editorNumericIncrement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":155,"character":5}}]}],"editorDateTodayText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":160,"character":5}}]}],"editorDateToggleText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":165,"character":5}}]}],"filterFieldAriaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":170,"character":5}}]}],"filterOperatorAriaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":175,"character":5}}]}],"filterValueAriaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":180,"character":6}}]}],"filterAriaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":185,"character":6}}]}],"filterToolbarAriaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":190,"character":6}}]}]}},"CustomMessagesComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Messages"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","name":"Messages"},"useExisting":{"__symbolic":"reference","name":"CustomMessagesComponent"}}],"selector":"kendo-filter-messages","template":""}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@progress/kendo-angular-l10n","name":"LocalizationService","line":19,"character":35}]}]}},"AriaLabelValueDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":5,"character":1},"arguments":[{"selector":"[kendoAriaLabelValue]"}]}],"members":{"ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":7,"character":5},"arguments":["kendoAriaLabelValue"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":10,"character":29},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":11,"character":26}]}],"ngOnChanges":[{"__symbolic":"method"}]}}},"origins":{"FilterComponent":"./filter.component","FilterModule":"./filter.module","FilterExpression":"./model/filter-expression","FilterService":"./filter.service","SharedModule":"./shared.module","FilterNumericEditorComponent":"./editors/numeric-editor.component","FilterTextEditorComponent":"./editors/text-editor.component","FilterExpressionComponent":"./filter-expression.component","FilterGroupComponent":"./filter-group.component","FilterExpressionOperatorsComponent":"./filter-expression-operators.component","FilterBooleanEditorComponent":"./editors/boolean-editor.component","FilterDateEditorComponent":"./editors/date-editor.component","LocalizedMessagesDirective":"./localization/localized-messages.directive","Messages":"./localization/messages","CustomMessagesComponent":"./localization/custom-messages.component","AriaLabelValueDirective":"./aria-label.directive"},"importAs":"@progress/kendo-angular-filter"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { Messages } from './messages';
|
|
7
|
+
/**
|
|
8
|
+
* Custom component messages override default component messages
|
|
9
|
+
* ([see example]({% slug globalization_filter %}#toc-localization)).
|
|
10
|
+
*/
|
|
11
|
+
export declare class CustomMessagesComponent extends Messages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
protected readonly override: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as tslib_1 from "tslib";
|
|
6
|
+
var CustomMessagesComponent_1;
|
|
7
|
+
import { Component, forwardRef } from '@angular/core';
|
|
8
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { Messages } from './messages';
|
|
10
|
+
/**
|
|
11
|
+
* Custom component messages override default component messages
|
|
12
|
+
* ([see example]({% slug globalization_filter %}#toc-localization)).
|
|
13
|
+
*/
|
|
14
|
+
let CustomMessagesComponent = CustomMessagesComponent_1 = class CustomMessagesComponent extends Messages {
|
|
15
|
+
constructor(service) {
|
|
16
|
+
super();
|
|
17
|
+
this.service = service;
|
|
18
|
+
}
|
|
19
|
+
get override() {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
CustomMessagesComponent = CustomMessagesComponent_1 = tslib_1.__decorate([
|
|
24
|
+
Component({
|
|
25
|
+
providers: [
|
|
26
|
+
{
|
|
27
|
+
provide: Messages,
|
|
28
|
+
useExisting: forwardRef(() => CustomMessagesComponent_1)
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
selector: 'kendo-filter-messages',
|
|
32
|
+
template: ``
|
|
33
|
+
}),
|
|
34
|
+
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
35
|
+
], CustomMessagesComponent);
|
|
36
|
+
export { CustomMessagesComponent };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { Messages } from './messages';
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class LocalizedMessagesDirective extends Messages {
|
|
11
|
+
protected service: LocalizationService;
|
|
12
|
+
constructor(service: LocalizationService);
|
|
13
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as tslib_1 from "tslib";
|
|
6
|
+
var LocalizedMessagesDirective_1;
|
|
7
|
+
import { Directive, forwardRef } from '@angular/core';
|
|
8
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import { Messages } from './messages';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
let LocalizedMessagesDirective = LocalizedMessagesDirective_1 = class LocalizedMessagesDirective extends Messages {
|
|
14
|
+
constructor(service) {
|
|
15
|
+
super();
|
|
16
|
+
this.service = service;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
LocalizedMessagesDirective = LocalizedMessagesDirective_1 = tslib_1.__decorate([
|
|
20
|
+
Directive({
|
|
21
|
+
providers: [
|
|
22
|
+
{
|
|
23
|
+
provide: Messages,
|
|
24
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective_1)
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
selector: '[kendoFilterLocalizedMessages]'
|
|
28
|
+
}),
|
|
29
|
+
tslib_1.__metadata("design:paramtypes", [LocalizationService])
|
|
30
|
+
], LocalizedMessagesDirective);
|
|
31
|
+
export { LocalizedMessagesDirective };
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export declare class Messages extends ComponentMessages {
|
|
10
|
+
/**
|
|
11
|
+
* The text of the Filter Expression `operators` drop down title.
|
|
12
|
+
*/
|
|
13
|
+
filterExpressionOperators: string;
|
|
14
|
+
/**
|
|
15
|
+
* The text of the Filter Expression 'fields' drop down title.
|
|
16
|
+
*/
|
|
17
|
+
filterExpressionFilters: string;
|
|
18
|
+
/**
|
|
19
|
+
* The text of the `Remove` button.
|
|
20
|
+
*/
|
|
21
|
+
remove: string;
|
|
22
|
+
/**
|
|
23
|
+
* The text of the Filter Group `Add Group` button.
|
|
24
|
+
*/
|
|
25
|
+
addGroup: string;
|
|
26
|
+
/**
|
|
27
|
+
* The text of the Filter Group `Add Expression` button.
|
|
28
|
+
*/
|
|
29
|
+
addExpression: string;
|
|
30
|
+
/**
|
|
31
|
+
* The text of the `And` Filter Group logic.
|
|
32
|
+
*/
|
|
33
|
+
filterAndLogic: string;
|
|
34
|
+
/**
|
|
35
|
+
* The text of the `Or` Filter Group logic.
|
|
36
|
+
*/
|
|
37
|
+
filterOrLogic: string;
|
|
38
|
+
/**
|
|
39
|
+
* The text of the `Equal` (**Is equal to**) Filter Expression operator.
|
|
40
|
+
*/
|
|
41
|
+
filterEqOperator: string;
|
|
42
|
+
/**
|
|
43
|
+
* The text of the `NotEqual` (**Is not equal to**) Filter Expression operator.
|
|
44
|
+
*/
|
|
45
|
+
filterNotEqOperator: string;
|
|
46
|
+
/**
|
|
47
|
+
* The text of the `IsNull` (**Is null**) Filter Expression operator.
|
|
48
|
+
*/
|
|
49
|
+
filterIsNullOperator: string;
|
|
50
|
+
/**
|
|
51
|
+
* The text of the `IsNotNull` (**Is not null**) Filter Expression operator.
|
|
52
|
+
*/
|
|
53
|
+
filterIsNotNullOperator: string;
|
|
54
|
+
/**
|
|
55
|
+
* The text of the `IsEmpty` (**Is empty**) Filter Expression operator.
|
|
56
|
+
*/
|
|
57
|
+
filterIsEmptyOperator: string;
|
|
58
|
+
/**
|
|
59
|
+
* The text of the `IsNotEmpty` (**Is not empty**) Filter Expression operator.
|
|
60
|
+
*/
|
|
61
|
+
filterIsNotEmptyOperator: string;
|
|
62
|
+
/**
|
|
63
|
+
* The text of the `StartsWith` (**Starts with**) Filter Expression operator.
|
|
64
|
+
*/
|
|
65
|
+
filterStartsWithOperator: string;
|
|
66
|
+
/**
|
|
67
|
+
* The text of the `Contains` (**Contains**) Filter Expression operator.
|
|
68
|
+
*/
|
|
69
|
+
filterContainsOperator: string;
|
|
70
|
+
/**
|
|
71
|
+
* The text of the `DoesNotContain` (**Does not contain**) Filter Expression operator.
|
|
72
|
+
*/
|
|
73
|
+
filterNotContainsOperator: string;
|
|
74
|
+
/**
|
|
75
|
+
* The text of the `EndsWith` (**Ends with**) string Filter Expression operator.
|
|
76
|
+
*/
|
|
77
|
+
filterEndsWithOperator: string;
|
|
78
|
+
/**
|
|
79
|
+
* The text of the `GreaterOrEqualTo` (**Is greater than or equal to**) numeric Filter Expression operator.
|
|
80
|
+
*/
|
|
81
|
+
filterGteOperator: string;
|
|
82
|
+
/**
|
|
83
|
+
* The text of the `Greater` (**Is greater than**) numeric Filter Expression operator.
|
|
84
|
+
*/
|
|
85
|
+
filterGtOperator: string;
|
|
86
|
+
/**
|
|
87
|
+
* The text of the `LessOrEqualTo` (**Is less than or equal to**) numeric Filter Expression operator.
|
|
88
|
+
*/
|
|
89
|
+
filterLteOperator: string;
|
|
90
|
+
/**
|
|
91
|
+
* The text of the `Less` (**Is less than**) numeric Filter Expression operator.
|
|
92
|
+
*/
|
|
93
|
+
filterLtOperator: string;
|
|
94
|
+
/**
|
|
95
|
+
* The text of the `IsTrue` boolean Filter Expression option.
|
|
96
|
+
*/
|
|
97
|
+
filterIsTrue: string;
|
|
98
|
+
/**
|
|
99
|
+
* The text of the `IsFalse` boolean Filter Expression option.
|
|
100
|
+
*/
|
|
101
|
+
filterIsFalse: string;
|
|
102
|
+
/**
|
|
103
|
+
* The text of the `(All)` boolean Filter Expression option.
|
|
104
|
+
*/
|
|
105
|
+
filterBooleanAll: string;
|
|
106
|
+
/**
|
|
107
|
+
* The text of the `AfterOrEqualTo` (**Is after or equal to**) date Filter Expression operator.
|
|
108
|
+
*/
|
|
109
|
+
filterAfterOrEqualOperator: string;
|
|
110
|
+
/**
|
|
111
|
+
* The text of the `After` (**Is after**) date Filter Expression operator.
|
|
112
|
+
*/
|
|
113
|
+
filterAfterOperator: string;
|
|
114
|
+
/**
|
|
115
|
+
* The text of the `Before` (**Is before**) date Filter Expression operator.
|
|
116
|
+
*/
|
|
117
|
+
filterBeforeOperator: string;
|
|
118
|
+
/**
|
|
119
|
+
* The text of the `BeforeOrEqualTo` (**Is before or equal to**) date Filter Expression operator.
|
|
120
|
+
*/
|
|
121
|
+
filterBeforeOrEqualOperator: string;
|
|
122
|
+
/**
|
|
123
|
+
* The title of the Decrement button of the Filter Expression numeric editor.
|
|
124
|
+
*/
|
|
125
|
+
editorNumericDecrement: string;
|
|
126
|
+
/**
|
|
127
|
+
* The title of the Increment button of the Filter Expression numeric editor.
|
|
128
|
+
*/
|
|
129
|
+
editorNumericIncrement: string;
|
|
130
|
+
/**
|
|
131
|
+
* The text of the Today button of the Filter Expression date editor.
|
|
132
|
+
*/
|
|
133
|
+
editorDateTodayText: string;
|
|
134
|
+
/**
|
|
135
|
+
* The title of the Toggle button of the Filter Expression date editor.
|
|
136
|
+
*/
|
|
137
|
+
editorDateToggleText: string;
|
|
138
|
+
/**
|
|
139
|
+
* The text of the filter field aria label.
|
|
140
|
+
*/
|
|
141
|
+
filterFieldAriaLabel: string;
|
|
142
|
+
/**
|
|
143
|
+
* The text of the filter operator aria label.
|
|
144
|
+
*/
|
|
145
|
+
filterOperatorAriaLabel: string;
|
|
146
|
+
/**
|
|
147
|
+
* The text of the filter value aria label.
|
|
148
|
+
*/
|
|
149
|
+
filterValueAriaLabel: string;
|
|
150
|
+
/**
|
|
151
|
+
* The text of the filter row aria label.
|
|
152
|
+
*/
|
|
153
|
+
filterAriaLabel: string;
|
|
154
|
+
/**
|
|
155
|
+
* The text of the filter toolbar aria label.
|
|
156
|
+
*/
|
|
157
|
+
filterToolbarAriaLabel: string;
|
|
158
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as tslib_1 from "tslib";
|
|
6
|
+
import { Input } from '@angular/core';
|
|
7
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class Messages extends ComponentMessages {
|
|
12
|
+
}
|
|
13
|
+
tslib_1.__decorate([
|
|
14
|
+
Input(),
|
|
15
|
+
tslib_1.__metadata("design:type", String)
|
|
16
|
+
], Messages.prototype, "filterExpressionOperators", void 0);
|
|
17
|
+
tslib_1.__decorate([
|
|
18
|
+
Input(),
|
|
19
|
+
tslib_1.__metadata("design:type", String)
|
|
20
|
+
], Messages.prototype, "filterExpressionFilters", void 0);
|
|
21
|
+
tslib_1.__decorate([
|
|
22
|
+
Input(),
|
|
23
|
+
tslib_1.__metadata("design:type", String)
|
|
24
|
+
], Messages.prototype, "remove", void 0);
|
|
25
|
+
tslib_1.__decorate([
|
|
26
|
+
Input(),
|
|
27
|
+
tslib_1.__metadata("design:type", String)
|
|
28
|
+
], Messages.prototype, "addGroup", void 0);
|
|
29
|
+
tslib_1.__decorate([
|
|
30
|
+
Input(),
|
|
31
|
+
tslib_1.__metadata("design:type", String)
|
|
32
|
+
], Messages.prototype, "addExpression", void 0);
|
|
33
|
+
tslib_1.__decorate([
|
|
34
|
+
Input(),
|
|
35
|
+
tslib_1.__metadata("design:type", String)
|
|
36
|
+
], Messages.prototype, "filterAndLogic", void 0);
|
|
37
|
+
tslib_1.__decorate([
|
|
38
|
+
Input(),
|
|
39
|
+
tslib_1.__metadata("design:type", String)
|
|
40
|
+
], Messages.prototype, "filterOrLogic", void 0);
|
|
41
|
+
tslib_1.__decorate([
|
|
42
|
+
Input(),
|
|
43
|
+
tslib_1.__metadata("design:type", String)
|
|
44
|
+
], Messages.prototype, "filterEqOperator", void 0);
|
|
45
|
+
tslib_1.__decorate([
|
|
46
|
+
Input(),
|
|
47
|
+
tslib_1.__metadata("design:type", String)
|
|
48
|
+
], Messages.prototype, "filterNotEqOperator", void 0);
|
|
49
|
+
tslib_1.__decorate([
|
|
50
|
+
Input(),
|
|
51
|
+
tslib_1.__metadata("design:type", String)
|
|
52
|
+
], Messages.prototype, "filterIsNullOperator", void 0);
|
|
53
|
+
tslib_1.__decorate([
|
|
54
|
+
Input(),
|
|
55
|
+
tslib_1.__metadata("design:type", String)
|
|
56
|
+
], Messages.prototype, "filterIsNotNullOperator", void 0);
|
|
57
|
+
tslib_1.__decorate([
|
|
58
|
+
Input(),
|
|
59
|
+
tslib_1.__metadata("design:type", String)
|
|
60
|
+
], Messages.prototype, "filterIsEmptyOperator", void 0);
|
|
61
|
+
tslib_1.__decorate([
|
|
62
|
+
Input(),
|
|
63
|
+
tslib_1.__metadata("design:type", String)
|
|
64
|
+
], Messages.prototype, "filterIsNotEmptyOperator", void 0);
|
|
65
|
+
tslib_1.__decorate([
|
|
66
|
+
Input(),
|
|
67
|
+
tslib_1.__metadata("design:type", String)
|
|
68
|
+
], Messages.prototype, "filterStartsWithOperator", void 0);
|
|
69
|
+
tslib_1.__decorate([
|
|
70
|
+
Input(),
|
|
71
|
+
tslib_1.__metadata("design:type", String)
|
|
72
|
+
], Messages.prototype, "filterContainsOperator", void 0);
|
|
73
|
+
tslib_1.__decorate([
|
|
74
|
+
Input(),
|
|
75
|
+
tslib_1.__metadata("design:type", String)
|
|
76
|
+
], Messages.prototype, "filterNotContainsOperator", void 0);
|
|
77
|
+
tslib_1.__decorate([
|
|
78
|
+
Input(),
|
|
79
|
+
tslib_1.__metadata("design:type", String)
|
|
80
|
+
], Messages.prototype, "filterEndsWithOperator", void 0);
|
|
81
|
+
tslib_1.__decorate([
|
|
82
|
+
Input(),
|
|
83
|
+
tslib_1.__metadata("design:type", String)
|
|
84
|
+
], Messages.prototype, "filterGteOperator", void 0);
|
|
85
|
+
tslib_1.__decorate([
|
|
86
|
+
Input(),
|
|
87
|
+
tslib_1.__metadata("design:type", String)
|
|
88
|
+
], Messages.prototype, "filterGtOperator", void 0);
|
|
89
|
+
tslib_1.__decorate([
|
|
90
|
+
Input(),
|
|
91
|
+
tslib_1.__metadata("design:type", String)
|
|
92
|
+
], Messages.prototype, "filterLteOperator", void 0);
|
|
93
|
+
tslib_1.__decorate([
|
|
94
|
+
Input(),
|
|
95
|
+
tslib_1.__metadata("design:type", String)
|
|
96
|
+
], Messages.prototype, "filterLtOperator", void 0);
|
|
97
|
+
tslib_1.__decorate([
|
|
98
|
+
Input(),
|
|
99
|
+
tslib_1.__metadata("design:type", String)
|
|
100
|
+
], Messages.prototype, "filterIsTrue", void 0);
|
|
101
|
+
tslib_1.__decorate([
|
|
102
|
+
Input(),
|
|
103
|
+
tslib_1.__metadata("design:type", String)
|
|
104
|
+
], Messages.prototype, "filterIsFalse", void 0);
|
|
105
|
+
tslib_1.__decorate([
|
|
106
|
+
Input(),
|
|
107
|
+
tslib_1.__metadata("design:type", String)
|
|
108
|
+
], Messages.prototype, "filterBooleanAll", void 0);
|
|
109
|
+
tslib_1.__decorate([
|
|
110
|
+
Input(),
|
|
111
|
+
tslib_1.__metadata("design:type", String)
|
|
112
|
+
], Messages.prototype, "filterAfterOrEqualOperator", void 0);
|
|
113
|
+
tslib_1.__decorate([
|
|
114
|
+
Input(),
|
|
115
|
+
tslib_1.__metadata("design:type", String)
|
|
116
|
+
], Messages.prototype, "filterAfterOperator", void 0);
|
|
117
|
+
tslib_1.__decorate([
|
|
118
|
+
Input(),
|
|
119
|
+
tslib_1.__metadata("design:type", String)
|
|
120
|
+
], Messages.prototype, "filterBeforeOperator", void 0);
|
|
121
|
+
tslib_1.__decorate([
|
|
122
|
+
Input(),
|
|
123
|
+
tslib_1.__metadata("design:type", String)
|
|
124
|
+
], Messages.prototype, "filterBeforeOrEqualOperator", void 0);
|
|
125
|
+
tslib_1.__decorate([
|
|
126
|
+
Input(),
|
|
127
|
+
tslib_1.__metadata("design:type", String)
|
|
128
|
+
], Messages.prototype, "editorNumericDecrement", void 0);
|
|
129
|
+
tslib_1.__decorate([
|
|
130
|
+
Input(),
|
|
131
|
+
tslib_1.__metadata("design:type", String)
|
|
132
|
+
], Messages.prototype, "editorNumericIncrement", void 0);
|
|
133
|
+
tslib_1.__decorate([
|
|
134
|
+
Input(),
|
|
135
|
+
tslib_1.__metadata("design:type", String)
|
|
136
|
+
], Messages.prototype, "editorDateTodayText", void 0);
|
|
137
|
+
tslib_1.__decorate([
|
|
138
|
+
Input(),
|
|
139
|
+
tslib_1.__metadata("design:type", String)
|
|
140
|
+
], Messages.prototype, "editorDateToggleText", void 0);
|
|
141
|
+
tslib_1.__decorate([
|
|
142
|
+
Input(),
|
|
143
|
+
tslib_1.__metadata("design:type", String)
|
|
144
|
+
], Messages.prototype, "filterFieldAriaLabel", void 0);
|
|
145
|
+
tslib_1.__decorate([
|
|
146
|
+
Input(),
|
|
147
|
+
tslib_1.__metadata("design:type", String)
|
|
148
|
+
], Messages.prototype, "filterOperatorAriaLabel", void 0);
|
|
149
|
+
tslib_1.__decorate([
|
|
150
|
+
Input(),
|
|
151
|
+
tslib_1.__metadata("design:type", String)
|
|
152
|
+
], Messages.prototype, "filterValueAriaLabel", void 0);
|
|
153
|
+
tslib_1.__decorate([
|
|
154
|
+
Input(),
|
|
155
|
+
tslib_1.__metadata("design:type", String)
|
|
156
|
+
], Messages.prototype, "filterAriaLabel", void 0);
|
|
157
|
+
tslib_1.__decorate([
|
|
158
|
+
Input(),
|
|
159
|
+
tslib_1.__metadata("design:type", String)
|
|
160
|
+
], Messages.prototype, "filterToolbarAriaLabel", void 0);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export { FilterComponent } from './filter.component';
|
|
6
|
+
export { FilterModule } from './filter.module';
|
|
7
|
+
export { FilterExpression } from './model/filter-expression';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export { FilterComponent } from './filter.component';
|
|
6
|
+
export { FilterModule } from './filter.module';
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Represents the FilterOperator type.
|
|
7
|
+
*/
|
|
8
|
+
export declare type FilterOperator = 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'isnull' | 'isnotnull' | 'contains' | 'doesnotcontain' | 'startswith' | 'endswidth' | 'isempty' | 'isnotempty';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the FilterEditor type.
|
|
11
|
+
*/
|
|
12
|
+
export declare type FilterEditor = 'string' | 'number' | 'boolean' | 'date';
|
|
13
|
+
/**
|
|
14
|
+
* Represents the FilterExpression interface.
|
|
15
|
+
*/
|
|
16
|
+
export interface FilterExpression {
|
|
17
|
+
/**
|
|
18
|
+
* Specifies the `field` that will be used by the user-defined filter.
|
|
19
|
+
*/
|
|
20
|
+
field: string;
|
|
21
|
+
/**
|
|
22
|
+
* Specifies the `title` text that will be displayed by the user-defined filter.
|
|
23
|
+
* If the `title` isn't set, the value passed to `field` is used.
|
|
24
|
+
*/
|
|
25
|
+
title?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Specifies the user-defined filter `editor` type that will be used.
|
|
28
|
+
* The available options are 'string', 'number', 'boolean', and 'date'.
|
|
29
|
+
*/
|
|
30
|
+
editor: FilterEditor;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies the operators that will be available in the order of providing them.
|
|
33
|
+
* If no operators are provided, default operators are used for each filter type.
|
|
34
|
+
*
|
|
35
|
+
* The default string operators are:
|
|
36
|
+
* * `eq`— Is equal to
|
|
37
|
+
* * `neq`— Is not equal to
|
|
38
|
+
* * `isnull`— Is null
|
|
39
|
+
* * `isnotnull`— Is not null
|
|
40
|
+
* * `contains`— Contains
|
|
41
|
+
* * `doesnotcontain`— Does not contain
|
|
42
|
+
* * `startswith`— Starts with
|
|
43
|
+
* * `endswith`— Ends with
|
|
44
|
+
* * `isempty`— Is empty
|
|
45
|
+
* * `isnotempty`— Is not empty
|
|
46
|
+
*
|
|
47
|
+
* The default number and date operators are:
|
|
48
|
+
* * `eq`— Is equals to
|
|
49
|
+
* * `neq`— Is not equal to
|
|
50
|
+
* * `isnull`— Is null
|
|
51
|
+
* * `isnotnull`— Is not null
|
|
52
|
+
* * `gt`— Greater than
|
|
53
|
+
* * `gte`— Greater than or equal to
|
|
54
|
+
* * `lt`— Less than
|
|
55
|
+
* * `lte`— Less than or equal to
|
|
56
|
+
*
|
|
57
|
+
* The boolean operator is always set to `eq`
|
|
58
|
+
*/
|
|
59
|
+
operators?: FilterOperator[];
|
|
60
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Represents the FilterOperator type.
|
|
7
|
+
*/
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export declare const packageMetadata: PackageMetadata;
|