[59329aa] | 1 | import { Injectable } from '@angular/core';
|
---|
| 2 | import { Subject } from 'rxjs';
|
---|
| 3 | import { FilterMatchMode } from './filtermatchmode';
|
---|
| 4 | import * as i0 from "@angular/core";
|
---|
| 5 | export class PrimeNGConfig {
|
---|
| 6 | constructor() {
|
---|
| 7 | this.ripple = false;
|
---|
| 8 | this.filterMatchModeOptions = {
|
---|
| 9 | text: [
|
---|
| 10 | FilterMatchMode.STARTS_WITH,
|
---|
| 11 | FilterMatchMode.CONTAINS,
|
---|
| 12 | FilterMatchMode.NOT_CONTAINS,
|
---|
| 13 | FilterMatchMode.ENDS_WITH,
|
---|
| 14 | FilterMatchMode.EQUALS,
|
---|
| 15 | FilterMatchMode.NOT_EQUALS
|
---|
| 16 | ],
|
---|
| 17 | numeric: [
|
---|
| 18 | FilterMatchMode.EQUALS,
|
---|
| 19 | FilterMatchMode.NOT_EQUALS,
|
---|
| 20 | FilterMatchMode.LESS_THAN,
|
---|
| 21 | FilterMatchMode.LESS_THAN_OR_EQUAL_TO,
|
---|
| 22 | FilterMatchMode.GREATER_THAN,
|
---|
| 23 | FilterMatchMode.GREATER_THAN_OR_EQUAL_TO
|
---|
| 24 | ],
|
---|
| 25 | date: [
|
---|
| 26 | FilterMatchMode.DATE_IS,
|
---|
| 27 | FilterMatchMode.DATE_IS_NOT,
|
---|
| 28 | FilterMatchMode.DATE_BEFORE,
|
---|
| 29 | FilterMatchMode.DATE_AFTER
|
---|
| 30 | ]
|
---|
| 31 | };
|
---|
| 32 | this.translation = {
|
---|
| 33 | startsWith: 'Starts with',
|
---|
| 34 | contains: 'Contains',
|
---|
| 35 | notContains: 'Not contains',
|
---|
| 36 | endsWith: 'Ends with',
|
---|
| 37 | equals: 'Equals',
|
---|
| 38 | notEquals: 'Not equals',
|
---|
| 39 | noFilter: 'No Filter',
|
---|
| 40 | lt: 'Less than',
|
---|
| 41 | lte: 'Less than or equal to',
|
---|
| 42 | gt: 'Greater than',
|
---|
| 43 | gte: 'Greater than or equal to',
|
---|
| 44 | is: 'Is',
|
---|
| 45 | isNot: 'Is not',
|
---|
| 46 | before: 'Before',
|
---|
| 47 | after: 'After',
|
---|
| 48 | dateIs: 'Date is',
|
---|
| 49 | dateIsNot: 'Date is not',
|
---|
| 50 | dateBefore: 'Date is before',
|
---|
| 51 | dateAfter: 'Date is after',
|
---|
| 52 | clear: 'Clear',
|
---|
| 53 | apply: 'Apply',
|
---|
| 54 | matchAll: 'Match All',
|
---|
| 55 | matchAny: 'Match Any',
|
---|
| 56 | addRule: 'Add Rule',
|
---|
| 57 | removeRule: 'Remove Rule',
|
---|
| 58 | accept: 'Yes',
|
---|
| 59 | reject: 'No',
|
---|
| 60 | choose: 'Choose',
|
---|
| 61 | upload: 'Upload',
|
---|
| 62 | cancel: 'Cancel',
|
---|
| 63 | dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
---|
| 64 | dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
---|
| 65 | dayNamesMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
---|
| 66 | monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
---|
| 67 | monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
---|
| 68 | dateFormat: 'mm/dd/yy',
|
---|
| 69 | today: 'Today',
|
---|
| 70 | weekHeader: 'Wk',
|
---|
| 71 | weak: 'Weak',
|
---|
| 72 | medium: 'Medium',
|
---|
| 73 | strong: 'Strong',
|
---|
| 74 | passwordPrompt: 'Enter a password',
|
---|
| 75 | emptyMessage: 'No results found',
|
---|
| 76 | emptyFilterMessage: 'No results found'
|
---|
| 77 | };
|
---|
| 78 | this.zIndex = {
|
---|
| 79 | modal: 1100,
|
---|
| 80 | overlay: 1000,
|
---|
| 81 | menu: 1000,
|
---|
| 82 | tooltip: 1100
|
---|
| 83 | };
|
---|
| 84 | this.translationSource = new Subject();
|
---|
| 85 | this.translationObserver = this.translationSource.asObservable();
|
---|
| 86 | }
|
---|
| 87 | getTranslation(key) {
|
---|
| 88 | return this.translation[key];
|
---|
| 89 | }
|
---|
| 90 | setTranslation(value) {
|
---|
| 91 | this.translation = { ...this.translation, ...value };
|
---|
| 92 | this.translationSource.next(this.translation);
|
---|
| 93 | }
|
---|
| 94 | }
|
---|
| 95 | PrimeNGConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PrimeNGConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
---|
| 96 | PrimeNGConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PrimeNGConfig, providedIn: 'root' });
|
---|
| 97 | i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PrimeNGConfig, decorators: [{
|
---|
| 98 | type: Injectable,
|
---|
| 99 | args: [{ providedIn: 'root' }]
|
---|
| 100 | }] });
|
---|
| 101 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpbWVuZ2NvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9hcGkvcHJpbWVuZ2NvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDL0IsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLG1CQUFtQixDQUFDOztBQUlwRCxNQUFNLE9BQU8sYUFBYTtJQUQxQjtRQUdJLFdBQU0sR0FBWSxLQUFLLENBQUM7UUFFeEI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