@one-paragon/angular-utilities 0.1.25 → 0.1.26
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/action-state/action-state-spinner/action-state-spinner.component.d.ts +12 -12
- package/action-state/action-state-ui/action-state-ui.module.d.ts +9 -9
- package/action-state/index.d.ts +4 -4
- package/action-state/ngrx-ext/ngrx-ext.module.d.ts +8 -8
- package/action-state/ngrx.d.ts +31 -31
- package/esm2020/action-state/action-state-spinner/action-state-spinner.component.mjs +23 -23
- package/esm2020/action-state/action-state-ui/action-state-ui.module.mjs +28 -28
- package/esm2020/action-state/index.mjs +8 -8
- package/esm2020/action-state/ngrx-ext/ngrx-ext.module.mjs +23 -23
- package/esm2020/action-state/ngrx.mjs +42 -42
- package/esm2020/http-request-state/HttpRequestStateFactory.mjs +26 -26
- package/esm2020/http-request-state/HttpRequestStateStore.mjs +96 -96
- package/esm2020/http-request-state/directives/HttpStateDirectiveBase.mjs +33 -33
- package/esm2020/http-request-state/directives/http-error-state-directive.mjs +28 -28
- package/esm2020/http-request-state/directives/http-inProgress-state-directive.mjs +28 -28
- package/esm2020/http-request-state/directives/http-notStarted-state-directive.mjs +28 -28
- package/esm2020/http-request-state/directives/http-success-state-directive.mjs +34 -29
- package/esm2020/http-request-state/directives/index.mjs +5 -5
- package/esm2020/http-request-state/directives/request-state-directive.mjs +60 -60
- package/esm2020/http-request-state/helpers.mjs +21 -21
- package/esm2020/http-request-state/http-request-state.mjs +38 -38
- package/esm2020/http-request-state/http-state-module.mjs +40 -40
- package/esm2020/http-request-state/index.mjs +6 -6
- package/esm2020/http-request-state/rxjs/getRequestorBody.mjs +3 -3
- package/esm2020/http-request-state/rxjs/getRequestorState.mjs +2 -2
- package/esm2020/http-request-state/rxjs/index.mjs +4 -4
- package/esm2020/http-request-state/rxjs/tapError.mjs +11 -11
- package/esm2020/http-request-state/rxjs/tapSuccess.mjs +11 -11
- package/esm2020/http-request-state/types.mjs +16 -16
- package/esm2020/ngrx/actionable-selector.mjs +76 -76
- package/esm2020/ngrx/index.mjs +1 -1
- package/esm2020/one-paragon-angular-utilities.mjs +4 -4
- package/esm2020/public-api.mjs +19 -19
- package/esm2020/rxjs/defaultShareReplay.mjs +6 -6
- package/esm2020/rxjs/index.mjs +5 -5
- package/esm2020/rxjs/mapError.mjs +7 -7
- package/esm2020/rxjs/rxjs-operators.mjs +91 -91
- package/esm2020/rxjs/subjectifier.mjs +15 -15
- package/esm2020/table-builder/classes/DefaultSettings.mjs +5 -5
- package/esm2020/table-builder/classes/GenericTableDataSource.mjs +12 -12
- package/esm2020/table-builder/classes/MatTableObservableDataSource.mjs +21 -21
- package/esm2020/table-builder/classes/TableBuilderConfig.mjs +2 -2
- package/esm2020/table-builder/classes/TableState.mjs +31 -31
- package/esm2020/table-builder/classes/data-filter.mjs +26 -26
- package/esm2020/table-builder/classes/display-col.mjs +1 -1
- package/esm2020/table-builder/classes/filter-info.mjs +71 -71
- package/esm2020/table-builder/classes/table-builder-general-settings.mjs +67 -67
- package/esm2020/table-builder/classes/table-builder.mjs +61 -61
- package/esm2020/table-builder/classes/table-store.mjs +292 -292
- package/esm2020/table-builder/components/array-column.component.mjs +32 -32
- package/esm2020/table-builder/components/column-builder/column-builder.component.mjs +111 -111
- package/esm2020/table-builder/components/date-filter/date-filter.component.mjs +25 -25
- package/esm2020/table-builder/components/filter/filter.component.mjs +53 -53
- package/esm2020/table-builder/components/filter/in-list/in-list-filter.component.mjs +79 -79
- package/esm2020/table-builder/components/gen-col-displayer/gen-col-displayer.component.mjs +45 -45
- package/esm2020/table-builder/components/generic-table/generic-table.component.mjs +202 -198
- package/esm2020/table-builder/components/generic-table/paginator.component.mjs +60 -60
- package/esm2020/table-builder/components/group-by-list/group-by-list.component.mjs +22 -22
- package/esm2020/table-builder/components/header-menu/header-menu.component.mjs +89 -89
- package/esm2020/table-builder/components/in-filter/in-filter.component.mjs +63 -63
- package/esm2020/table-builder/components/index.mjs +10 -10
- package/esm2020/table-builder/components/initialization-component/initialization-component.mjs +33 -33
- package/esm2020/table-builder/components/link-column.component.mjs +30 -30
- package/esm2020/table-builder/components/number-filter/number-filter.component.mjs +26 -26
- package/esm2020/table-builder/components/sort-menu/sort-menu.component-store.mjs +41 -41
- package/esm2020/table-builder/components/sort-menu/sort-menu.component.mjs +75 -75
- package/esm2020/table-builder/components/table-container/table-container.mjs +322 -312
- package/esm2020/table-builder/components/table-container-filter/filter-list/filter-list.component.mjs +42 -42
- package/esm2020/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.mjs +30 -30
- package/esm2020/table-builder/components/table-container-filter/table-wrapper-filter-store.mjs +24 -24
- package/esm2020/table-builder/directives/custom-cell-directive.mjs +58 -58
- package/esm2020/table-builder/directives/index.mjs +6 -6
- package/esm2020/table-builder/directives/multi-sort.directive.mjs +42 -42
- package/esm2020/table-builder/directives/resize-column.directive.mjs +85 -85
- package/esm2020/table-builder/directives/table-wrapper.directive.mjs +26 -26
- package/esm2020/table-builder/directives/tb-filter.directive.mjs +403 -403
- package/esm2020/table-builder/enums/filterTypes.mjs +59 -59
- package/esm2020/table-builder/functions/boolean-filter-function.mjs +9 -9
- package/esm2020/table-builder/functions/date-filter-function.mjs +32 -32
- package/esm2020/table-builder/functions/download-data.mjs +11 -11
- package/esm2020/table-builder/functions/null-filter-function.mjs +7 -7
- package/esm2020/table-builder/functions/number-filter-function.mjs +31 -31
- package/esm2020/table-builder/functions/sort-data-function.mjs +4 -4
- package/esm2020/table-builder/functions/string-filter-function.mjs +40 -40
- package/esm2020/table-builder/interfaces/ColumnInfo.mjs +1 -1
- package/esm2020/table-builder/interfaces/dictionary.mjs +1 -1
- package/esm2020/table-builder/interfaces/report-def.mjs +34 -34
- package/esm2020/table-builder/material.module.mjs +207 -207
- package/esm2020/table-builder/ngrx/actions.mjs +4 -4
- package/esm2020/table-builder/ngrx/effects.mjs +47 -47
- package/esm2020/table-builder/ngrx/reducer.mjs +51 -51
- package/esm2020/table-builder/ngrx/selectors.mjs +23 -23
- package/esm2020/table-builder/pipes/column-total.pipe.mjs +19 -19
- package/esm2020/table-builder/pipes/format-filter-type.pipe.mjs +17 -17
- package/esm2020/table-builder/pipes/format-filter-value.pipe.mjs +45 -45
- package/esm2020/table-builder/pipes/key-display.mjs +19 -19
- package/esm2020/table-builder/services/export-to-csv.service.mjs +84 -84
- package/esm2020/table-builder/services/link-creator.service.mjs +42 -42
- package/esm2020/table-builder/services/table-template-service.mjs +43 -43
- package/esm2020/table-builder/services/transform-creator.mjs +70 -70
- package/esm2020/table-builder/table-builder.module.mjs +204 -204
- package/esm2020/utilities/directives/auto-focus.directive.mjs +25 -25
- package/esm2020/utilities/directives/clickEmitterDirective.mjs +20 -20
- package/esm2020/utilities/directives/clickSubject.mjs +26 -26
- package/esm2020/utilities/directives/conditional-classes.directive.mjs +35 -35
- package/esm2020/utilities/directives/dialog-service.mjs +25 -25
- package/esm2020/utilities/directives/dialog.mjs +137 -137
- package/esm2020/utilities/directives/mat-toggle-group-directive.mjs +59 -59
- package/esm2020/utilities/directives/prevent-enter.directive.mjs +18 -18
- package/esm2020/utilities/directives/stop-propagation.directive.mjs +24 -24
- package/esm2020/utilities/directives/styler.mjs +25 -25
- package/esm2020/utilities/directives/trim-whitespace.directive.mjs +29 -29
- package/esm2020/utilities/index.mjs +16 -16
- package/esm2020/utilities/module.mjs +91 -91
- package/esm2020/utilities/pipes/function.pipe.mjs +20 -20
- package/esm2020/utilities/pipes/phone.pipe.mjs +19 -19
- package/esm2020/utilities/pipes/space-case.pipes.mjs +28 -28
- package/fesm2015/one-paragon-angular-utilities.mjs +4346 -4327
- package/fesm2015/one-paragon-angular-utilities.mjs.map +1 -1
- package/fesm2020/one-paragon-angular-utilities.mjs +4312 -4295
- package/fesm2020/one-paragon-angular-utilities.mjs.map +1 -1
- package/http-request-state/HttpRequestStateFactory.d.ts +14 -14
- package/http-request-state/HttpRequestStateStore.d.ts +48 -48
- package/http-request-state/directives/HttpStateDirectiveBase.d.ts +16 -16
- package/http-request-state/directives/http-error-state-directive.d.ts +12 -12
- package/http-request-state/directives/http-inProgress-state-directive.d.ts +12 -12
- package/http-request-state/directives/http-notStarted-state-directive.d.ts +12 -12
- package/http-request-state/directives/http-success-state-directive.d.ts +21 -14
- package/http-request-state/directives/index.d.ts +5 -5
- package/http-request-state/directives/request-state-directive.d.ts +35 -30
- package/http-request-state/helpers.d.ts +9 -9
- package/http-request-state/http-request-state.d.ts +12 -12
- package/http-request-state/http-state-module.d.ts +11 -11
- package/http-request-state/index.d.ts +6 -6
- package/http-request-state/rxjs/getRequestorBody.d.ts +3 -3
- package/http-request-state/rxjs/getRequestorState.d.ts +3 -3
- package/http-request-state/rxjs/index.d.ts +4 -4
- package/http-request-state/rxjs/tapError.d.ts +3 -3
- package/http-request-state/rxjs/tapSuccess.d.ts +3 -3
- package/http-request-state/types.d.ts +36 -36
- package/index.d.ts +5 -5
- package/ngrx/actionable-selector.d.ts +15 -15
- package/ngrx/index.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +15 -15
- package/rxjs/defaultShareReplay.d.ts +2 -2
- package/rxjs/index.d.ts +4 -4
- package/rxjs/mapError.d.ts +2 -2
- package/rxjs/rxjs-operators.d.ts +12 -12
- package/rxjs/subjectifier.d.ts +9 -9
- package/table-builder/classes/DefaultSettings.d.ts +8 -8
- package/table-builder/classes/GenericTableDataSource.d.ts +8 -8
- package/table-builder/classes/MatTableObservableDataSource.d.ts +9 -9
- package/table-builder/classes/TableBuilderConfig.d.ts +19 -19
- package/table-builder/classes/TableState.d.ts +46 -46
- package/table-builder/classes/data-filter.d.ts +9 -9
- package/table-builder/classes/display-col.d.ts +5 -5
- package/table-builder/classes/filter-info.d.ts +40 -40
- package/table-builder/classes/table-builder-general-settings.d.ts +43 -43
- package/table-builder/classes/table-builder.d.ts +14 -14
- package/table-builder/classes/table-store.d.ts +114 -114
- package/table-builder/components/array-column.component.d.ts +14 -14
- package/table-builder/components/column-builder/column-builder.component.d.ts +50 -50
- package/table-builder/components/date-filter/date-filter.component.d.ts +10 -10
- package/table-builder/components/filter/filter.component.d.ts +294 -294
- package/table-builder/components/filter/in-list/in-list-filter.component.d.ts +27 -27
- package/table-builder/components/gen-col-displayer/gen-col-displayer.component.d.ts +16 -16
- package/table-builder/components/generic-table/generic-table.component.d.ts +73 -71
- package/table-builder/components/generic-table/paginator.component.d.ts +28 -28
- package/table-builder/components/group-by-list/group-by-list.component.d.ts +10 -10
- package/table-builder/components/header-menu/header-menu.component.d.ts +25 -25
- package/table-builder/components/in-filter/in-filter.component.d.ts +21 -21
- package/table-builder/components/index.d.ts +9 -9
- package/table-builder/components/initialization-component/initialization-component.d.ts +12 -12
- package/table-builder/components/link-column.component.d.ts +17 -17
- package/table-builder/components/number-filter/number-filter.component.d.ts +12 -12
- package/table-builder/components/sort-menu/sort-menu.component-store.d.ts +24 -24
- package/table-builder/components/sort-menu/sort-menu.component.d.ts +25 -25
- package/table-builder/components/table-container/table-container.d.ts +68 -65
- package/table-builder/components/table-container-filter/filter-list/filter-list.component.d.ts +17 -17
- package/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.d.ts +14 -14
- package/table-builder/components/table-container-filter/table-wrapper-filter-store.d.ts +14 -14
- package/table-builder/directives/custom-cell-directive.d.ts +19 -19
- package/table-builder/directives/index.d.ts +5 -5
- package/table-builder/directives/multi-sort.directive.d.ts +11 -11
- package/table-builder/directives/resize-column.directive.d.ts +43 -43
- package/table-builder/directives/table-wrapper.directive.d.ts +11 -11
- package/table-builder/directives/tb-filter.directive.d.ts +120 -120
- package/table-builder/enums/filterTypes.d.ts +31 -31
- package/table-builder/functions/boolean-filter-function.d.ts +3 -3
- package/table-builder/functions/date-filter-function.d.ts +3 -3
- package/table-builder/functions/download-data.d.ts +1 -1
- package/table-builder/functions/null-filter-function.d.ts +2 -2
- package/table-builder/functions/number-filter-function.d.ts +4 -4
- package/table-builder/functions/sort-data-function.d.ts +3 -3
- package/table-builder/functions/string-filter-function.d.ts +7 -7
- package/table-builder/interfaces/ColumnInfo.d.ts +6 -6
- package/table-builder/interfaces/dictionary.d.ts +3 -3
- package/table-builder/interfaces/report-def.d.ts +135 -135
- package/table-builder/material.module.d.ts +32 -32
- package/table-builder/ngrx/actions.d.ts +23 -23
- package/table-builder/ngrx/effects.d.ts +19 -19
- package/table-builder/ngrx/reducer.d.ts +15 -15
- package/table-builder/ngrx/selectors.d.ts +22 -22
- package/table-builder/pipes/column-total.pipe.d.ts +8 -8
- package/table-builder/pipes/format-filter-type.pipe.d.ts +8 -8
- package/table-builder/pipes/format-filter-value.pipe.d.ts +14 -14
- package/table-builder/pipes/key-display.d.ts +11 -11
- package/table-builder/services/export-to-csv.service.d.ts +22 -22
- package/table-builder/services/link-creator.service.d.ts +12 -12
- package/table-builder/services/table-template-service.d.ts +14 -14
- package/table-builder/services/transform-creator.d.ts +19 -19
- package/table-builder/table-builder.module.d.ts +45 -45
- package/utilities/directives/auto-focus.directive.d.ts +10 -10
- package/utilities/directives/clickEmitterDirective.d.ts +7 -7
- package/utilities/directives/clickSubject.d.ts +9 -9
- package/utilities/directives/conditional-classes.directive.d.ts +14 -14
- package/utilities/directives/dialog-service.d.ts +10 -10
- package/utilities/directives/dialog.d.ts +46 -46
- package/utilities/directives/mat-toggle-group-directive.d.ts +21 -21
- package/utilities/directives/prevent-enter.directive.d.ts +6 -6
- package/utilities/directives/stop-propagation.directive.d.ts +7 -7
- package/utilities/directives/styler.d.ts +9 -9
- package/utilities/directives/trim-whitespace.directive.d.ts +9 -9
- package/utilities/index.d.ts +15 -15
- package/utilities/module.d.ts +19 -19
- package/utilities/pipes/function.pipe.d.ts +7 -7
- package/utilities/pipes/phone.pipe.d.ts +7 -7
- package/utilities/pipes/space-case.pipes.d.ts +17 -17
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Directive, HostListener } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class PreventEnterDirective {
|
|
4
|
-
onKeyDown() {
|
|
5
|
-
return false;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
PreventEnterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PreventEnterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
-
PreventEnterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: PreventEnterDirective, selector: "preventEnter", host: { listeners: { "keydown.enter": "onKeyDown($event)" } }, ngImport: i0 });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PreventEnterDirective, decorators: [{
|
|
11
|
-
type: Directive,
|
|
12
|
-
args: [{
|
|
13
|
-
selector: 'preventEnter'
|
|
14
|
-
}]
|
|
15
|
-
}], propDecorators: { onKeyDown: [{
|
|
16
|
-
type: HostListener,
|
|
17
|
-
args: ['keydown.enter', ['$event']]
|
|
18
|
-
}] } });
|
|
1
|
+
import { Directive, HostListener } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class PreventEnterDirective {
|
|
4
|
+
onKeyDown() {
|
|
5
|
+
return false;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
PreventEnterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PreventEnterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
PreventEnterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: PreventEnterDirective, selector: "preventEnter", host: { listeners: { "keydown.enter": "onKeyDown($event)" } }, ngImport: i0 });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PreventEnterDirective, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'preventEnter'
|
|
14
|
+
}]
|
|
15
|
+
}], propDecorators: { onKeyDown: [{
|
|
16
|
+
type: HostListener,
|
|
17
|
+
args: ['keydown.enter', ['$event']]
|
|
18
|
+
}] } });
|
|
19
19
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJldmVudC1lbnRlci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLXV0aWxpdGllcy9zcmMvdXRpbGl0aWVzL2RpcmVjdGl2ZXMvcHJldmVudC1lbnRlci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBS3hELE1BQU0sT0FBTyxxQkFBcUI7SUFHaEMsU0FBUztRQUNMLE9BQU8sS0FBSyxDQUFBO0lBQ2hCLENBQUM7O2tIQUxVLHFCQUFxQjtzR0FBckIscUJBQXFCOzJGQUFyQixxQkFBcUI7a0JBSGpDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLGNBQWM7aUJBQ3pCOzhCQUlDLFNBQVM7c0JBRFIsWUFBWTt1QkFBQyxlQUFlLEVBQUUsQ0FBQyxRQUFRLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIEhvc3RMaXN0ZW5lciB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdwcmV2ZW50RW50ZXInXG59KVxuZXhwb3J0IGNsYXNzIFByZXZlbnRFbnRlckRpcmVjdGl2ZSB7XG5cbiAgQEhvc3RMaXN0ZW5lcigna2V5ZG93bi5lbnRlcicsIFsnJGV2ZW50J10pXG4gIG9uS2V5RG93bigpIHtcbiAgICAgIHJldHVybiBmYWxzZVxuICB9XG59XG4iXX0=
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Directive, HostListener } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class StopPropagationDirective {
|
|
4
|
-
onClick(event) {
|
|
5
|
-
event.stopPropagation();
|
|
6
|
-
}
|
|
7
|
-
onMousedown(event) {
|
|
8
|
-
event.stopPropagation();
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: StopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
-
StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: StopPropagationDirective, selector: "[stop-propagation]", host: { listeners: { "click": "onClick($event)", "mousedown": "onMousedown($event)" } }, ngImport: i0 });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: StopPropagationDirective, decorators: [{
|
|
14
|
-
type: Directive,
|
|
15
|
-
args: [{
|
|
16
|
-
selector: "[stop-propagation]"
|
|
17
|
-
}]
|
|
18
|
-
}], propDecorators: { onClick: [{
|
|
19
|
-
type: HostListener,
|
|
20
|
-
args: ["click", ["$event"]]
|
|
21
|
-
}], onMousedown: [{
|
|
22
|
-
type: HostListener,
|
|
23
|
-
args: ["mousedown", ["$event"]]
|
|
24
|
-
}] } });
|
|
1
|
+
import { Directive, HostListener } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class StopPropagationDirective {
|
|
4
|
+
onClick(event) {
|
|
5
|
+
event.stopPropagation();
|
|
6
|
+
}
|
|
7
|
+
onMousedown(event) {
|
|
8
|
+
event.stopPropagation();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: StopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
+
StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: StopPropagationDirective, selector: "[stop-propagation]", host: { listeners: { "click": "onClick($event)", "mousedown": "onMousedown($event)" } }, ngImport: i0 });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: StopPropagationDirective, decorators: [{
|
|
14
|
+
type: Directive,
|
|
15
|
+
args: [{
|
|
16
|
+
selector: "[stop-propagation]"
|
|
17
|
+
}]
|
|
18
|
+
}], propDecorators: { onClick: [{
|
|
19
|
+
type: HostListener,
|
|
20
|
+
args: ["click", ["$event"]]
|
|
21
|
+
}], onMousedown: [{
|
|
22
|
+
type: HostListener,
|
|
23
|
+
args: ["mousedown", ["$event"]]
|
|
24
|
+
}] } });
|
|
25
25
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcC1wcm9wYWdhdGlvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLXV0aWxpdGllcy9zcmMvdXRpbGl0aWVzL2RpcmVjdGl2ZXMvc3RvcC1wcm9wYWdhdGlvbi5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxZQUFZLEVBQUMsTUFBTSxlQUFlLENBQUM7O0FBS3RELE1BQU0sT0FBTyx3QkFBd0I7SUFHMUIsT0FBTyxDQUFDLEtBQVU7UUFFckIsS0FBSyxDQUFDLGVBQWUsRUFBRSxDQUFDO0lBQzVCLENBQUM7SUFHTSxXQUFXLENBQUMsS0FBVTtRQUV6QixLQUFLLENBQUMsZUFBZSxFQUFFLENBQUM7SUFDNUIsQ0FBQzs7cUhBWlEsd0JBQXdCO3lHQUF4Qix3QkFBd0I7MkZBQXhCLHdCQUF3QjtrQkFIcEMsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUsb0JBQW9CO2lCQUNqQzs4QkFJVSxPQUFPO3NCQURiLFlBQVk7dUJBQUMsT0FBTyxFQUFFLENBQUMsUUFBUSxDQUFDO2dCQU8xQixXQUFXO3NCQURqQixZQUFZO3VCQUFDLFdBQVcsRUFBRSxDQUFDLFFBQVEsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7RGlyZWN0aXZlLCBIb3N0TGlzdGVuZXJ9IGZyb20gXCJAYW5ndWxhci9jb3JlXCI7XG5cbkBEaXJlY3RpdmUoe1xuICAgIHNlbGVjdG9yOiBcIltzdG9wLXByb3BhZ2F0aW9uXVwiXG59KVxuZXhwb3J0IGNsYXNzIFN0b3BQcm9wYWdhdGlvbkRpcmVjdGl2ZVxue1xuICAgIEBIb3N0TGlzdGVuZXIoXCJjbGlja1wiLCBbXCIkZXZlbnRcIl0pXG4gICAgcHVibGljIG9uQ2xpY2soZXZlbnQ6IGFueSk6IHZvaWRcbiAgICB7XG4gICAgICAgIGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpO1xuICAgIH1cblxuICAgIEBIb3N0TGlzdGVuZXIoXCJtb3VzZWRvd25cIiwgW1wiJGV2ZW50XCJdKVxuICAgIHB1YmxpYyBvbk1vdXNlZG93bihldmVudDogYW55KTogdm9pZFxuICAgIHtcbiAgICAgICAgZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class StylerDirective {
|
|
4
|
-
constructor(el) {
|
|
5
|
-
this.el = el;
|
|
6
|
-
}
|
|
7
|
-
set styler(styles) {
|
|
8
|
-
if (styles) {
|
|
9
|
-
Object.keys(styles).forEach(style => {
|
|
10
|
-
this.el.nativeElement.style[style] = styles[style];
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
;
|
|
15
|
-
}
|
|
16
|
-
StylerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: StylerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17
|
-
StylerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: StylerDirective, selector: "[styler]", inputs: { styler: "styler" }, ngImport: i0 });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: StylerDirective, decorators: [{
|
|
19
|
-
type: Directive,
|
|
20
|
-
args: [{
|
|
21
|
-
selector: '[styler]',
|
|
22
|
-
}]
|
|
23
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { styler: [{
|
|
24
|
-
type: Input
|
|
25
|
-
}] } });
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class StylerDirective {
|
|
4
|
+
constructor(el) {
|
|
5
|
+
this.el = el;
|
|
6
|
+
}
|
|
7
|
+
set styler(styles) {
|
|
8
|
+
if (styles) {
|
|
9
|
+
Object.keys(styles).forEach(style => {
|
|
10
|
+
this.el.nativeElement.style[style] = styles[style];
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
;
|
|
15
|
+
}
|
|
16
|
+
StylerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: StylerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17
|
+
StylerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: StylerDirective, selector: "[styler]", inputs: { styler: "styler" }, ngImport: i0 });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: StylerDirective, decorators: [{
|
|
19
|
+
type: Directive,
|
|
20
|
+
args: [{
|
|
21
|
+
selector: '[styler]',
|
|
22
|
+
}]
|
|
23
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { styler: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}] } });
|
|
26
26
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci11dGlsaXRpZXMvc3JjL3V0aWxpdGllcy9kaXJlY3RpdmVzL3N0eWxlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFHLEtBQUssRUFBYyxNQUFNLGVBQWUsQ0FBQzs7QUFLM0QsTUFBTSxPQUFPLGVBQWU7SUFRN0IsWUFBb0IsRUFBYztRQUFkLE9BQUUsR0FBRixFQUFFLENBQVk7SUFDbkMsQ0FBQztJQVJBLElBQWEsTUFBTSxDQUFDLE1BQU07UUFDeEIsSUFBRyxNQUFNLEVBQUM7WUFDUixNQUFNLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxDQUFDLE9BQU8sQ0FBRSxLQUFLLENBQUMsRUFBRTtnQkFDbkMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxhQUFhLENBQUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxHQUFHLE1BQU0sQ0FBQyxLQUFLLENBQUMsQ0FBQztZQUNyRCxDQUFDLENBQUMsQ0FBQztTQUNKO0lBQ0gsQ0FBQztJQUFBLENBQUM7OzRHQVBZLGVBQWU7Z0dBQWYsZUFBZTsyRkFBZixlQUFlO2tCQUY5QixTQUFTO21CQUFDO29CQUNQLFFBQVEsRUFBRSxVQUFVO2lCQUN2QjtpR0FDYyxNQUFNO3NCQUFsQixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlLCAgSW5wdXQsIEVsZW1lbnRSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcblxyXG5ARGlyZWN0aXZlKHtcclxuICAgIHNlbGVjdG9yOiAnW3N0eWxlcl0nLFxyXG59KSBleHBvcnQgY2xhc3MgU3R5bGVyRGlyZWN0aXZlIHtcclxuICBASW5wdXQoKSBzZXQgc3R5bGVyKHN0eWxlcyl7XHJcbiAgICBpZihzdHlsZXMpe1xyXG4gICAgICBPYmplY3Qua2V5cyhzdHlsZXMpLmZvckVhY2goIHN0eWxlID0+IHtcclxuICAgICAgICB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuc3R5bGVbc3R5bGVdID0gc3R5bGVzW3N0eWxlXTtcclxuICAgICAgfSk7XHJcbiAgICB9XHJcbiAgfTtcclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGVsOiBFbGVtZW50UmVmKSB7XHJcbiB9XHJcbn1cclxuIl19
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Directive, HostListener } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class TrimWhitespaceDirective {
|
|
4
|
-
constructor(elem) {
|
|
5
|
-
this.elem = elem;
|
|
6
|
-
}
|
|
7
|
-
onBlur() {
|
|
8
|
-
const inputString = this.elem.nativeElement.value;
|
|
9
|
-
if (inputString) {
|
|
10
|
-
const newValue = inputString.trim().replace(/\t/g, '');
|
|
11
|
-
if (inputString !== newValue) {
|
|
12
|
-
this.elem.nativeElement.value = newValue;
|
|
13
|
-
this.elem.nativeElement.dispatchEvent(new Event('input', { bubbles: true }));
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
TrimWhitespaceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TrimWhitespaceDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
-
TrimWhitespaceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: TrimWhitespaceDirective, selector: "input[trimWhitespace]", host: { listeners: { "blur": "onBlur()" } }, ngImport: i0 });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TrimWhitespaceDirective, decorators: [{
|
|
21
|
-
type: Directive,
|
|
22
|
-
args: [{
|
|
23
|
-
selector: 'input[trimWhitespace]',
|
|
24
|
-
}]
|
|
25
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { onBlur: [{
|
|
26
|
-
type: HostListener,
|
|
27
|
-
args: ['blur']
|
|
28
|
-
}] } });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Directive, HostListener } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class TrimWhitespaceDirective {
|
|
4
|
+
constructor(elem) {
|
|
5
|
+
this.elem = elem;
|
|
6
|
+
}
|
|
7
|
+
onBlur() {
|
|
8
|
+
const inputString = this.elem.nativeElement.value;
|
|
9
|
+
if (inputString) {
|
|
10
|
+
const newValue = inputString.trim().replace(/\t/g, '');
|
|
11
|
+
if (inputString !== newValue) {
|
|
12
|
+
this.elem.nativeElement.value = newValue;
|
|
13
|
+
this.elem.nativeElement.dispatchEvent(new Event('input', { bubbles: true }));
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
TrimWhitespaceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TrimWhitespaceDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
TrimWhitespaceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: TrimWhitespaceDirective, selector: "input[trimWhitespace]", host: { listeners: { "blur": "onBlur()" } }, ngImport: i0 });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TrimWhitespaceDirective, decorators: [{
|
|
21
|
+
type: Directive,
|
|
22
|
+
args: [{
|
|
23
|
+
selector: 'input[trimWhitespace]',
|
|
24
|
+
}]
|
|
25
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { onBlur: [{
|
|
26
|
+
type: HostListener,
|
|
27
|
+
args: ['blur']
|
|
28
|
+
}] } });
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJpbS13aGl0ZXNwYWNlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItdXRpbGl0aWVzL3NyYy91dGlsaXRpZXMvZGlyZWN0aXZlcy90cmltLXdoaXRlc3BhY2UuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWMsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUtwRSxNQUFNLE9BQU8sdUJBQXVCO0lBRWxDLFlBQW9CLElBQWdCO1FBQWhCLFNBQUksR0FBSixJQUFJLENBQVk7SUFBSSxDQUFDO0lBRW5CLE1BQU07UUFDMUIsTUFBTSxXQUFXLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsS0FBSyxDQUFDO1FBQ2xELElBQUcsV0FBVyxFQUFFO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YWx1ZSA9IGlucHV0U3RyaW5nLnRyaW0oKS5yZXBsYWNlKC9cXHQvZywgJycpO1xuICAgICAgaWYoaW5wdXRTdHJpbmcgIT09IG5ld1ZhbHVlKSB7XG4gICAgICAgIHRoaXMuZWxlbS5uYXRpdmVFbGVtZW50LnZhbHVlID0gbmV3VmFsdWU7XG4gICAgICAgIHRoaXMuZWxlbS5uYXRpdmVFbGVtZW50LmRpc3BhdGNoRXZlbnQobmV3IEV2ZW50KCdpbnB1dCcsIHtidWJibGVzOnRydWV9KSk7XG4gICAgICB9XG4gICAgfVxuICB9XG59Il19
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export * from './directives/prevent-enter.directive';
|
|
2
|
-
export * from './directives/stop-propagation.directive';
|
|
3
|
-
export * from './directives/auto-focus.directive';
|
|
4
|
-
export * from './directives/clickSubject';
|
|
5
|
-
export * from './directives/clickEmitterDirective';
|
|
6
|
-
export * from './directives/dialog';
|
|
7
|
-
export * from './directives/styler';
|
|
8
|
-
export * from './directives/mat-toggle-group-directive';
|
|
9
|
-
export * from './directives/trim-whitespace.directive';
|
|
10
|
-
export * from './pipes/function.pipe';
|
|
11
|
-
export * from './pipes/phone.pipe';
|
|
12
|
-
export * from './pipes/space-case.pipes';
|
|
13
|
-
export * from './directives/dialog-service';
|
|
14
|
-
export * from './directives/conditional-classes.directive';
|
|
15
|
-
export * from './module';
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './directives/prevent-enter.directive';
|
|
2
|
+
export * from './directives/stop-propagation.directive';
|
|
3
|
+
export * from './directives/auto-focus.directive';
|
|
4
|
+
export * from './directives/clickSubject';
|
|
5
|
+
export * from './directives/clickEmitterDirective';
|
|
6
|
+
export * from './directives/dialog';
|
|
7
|
+
export * from './directives/styler';
|
|
8
|
+
export * from './directives/mat-toggle-group-directive';
|
|
9
|
+
export * from './directives/trim-whitespace.directive';
|
|
10
|
+
export * from './pipes/function.pipe';
|
|
11
|
+
export * from './pipes/phone.pipe';
|
|
12
|
+
export * from './pipes/space-case.pipes';
|
|
13
|
+
export * from './directives/dialog-service';
|
|
14
|
+
export * from './directives/conditional-classes.directive';
|
|
15
|
+
export * from './module';
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLXV0aWxpdGllcy9zcmMvdXRpbGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0NBQXNDLENBQUM7QUFDckQsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyxvQ0FBb0MsQ0FBQztBQUNuRCxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxjQUFjLHdDQUF3QyxDQUFDO0FBRXZELGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLDBCQUEwQixDQUFDO0FBRXpDLGNBQWMsNkJBQTZCLENBQUM7QUFFNUMsY0FBYyw0Q0FBNEMsQ0FBQTtBQUcxRCxjQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZGlyZWN0aXZlcy9wcmV2ZW50LWVudGVyLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2RpcmVjdGl2ZXMvc3RvcC1wcm9wYWdhdGlvbi5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9kaXJlY3RpdmVzL2F1dG8tZm9jdXMuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vZGlyZWN0aXZlcy9jbGlja1N1YmplY3QnO1xuZXhwb3J0ICogZnJvbSAnLi9kaXJlY3RpdmVzL2NsaWNrRW1pdHRlckRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2RpcmVjdGl2ZXMvZGlhbG9nJztcbmV4cG9ydCAqIGZyb20gJy4vZGlyZWN0aXZlcy9zdHlsZXInO1xuZXhwb3J0ICogZnJvbSAnLi9kaXJlY3RpdmVzL21hdC10b2dnbGUtZ3JvdXAtZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vZGlyZWN0aXZlcy90cmltLXdoaXRlc3BhY2UuZGlyZWN0aXZlJztcblxuZXhwb3J0ICogZnJvbSAnLi9waXBlcy9mdW5jdGlvbi5waXBlJztcbmV4cG9ydCAqIGZyb20gJy4vcGlwZXMvcGhvbmUucGlwZSc7XG5leHBvcnQgKiBmcm9tICcuL3BpcGVzL3NwYWNlLWNhc2UucGlwZXMnO1xuXG5leHBvcnQgKiBmcm9tICcuL2RpcmVjdGl2ZXMvZGlhbG9nLXNlcnZpY2UnO1xuXG5leHBvcnQgKiBmcm9tICcuL2RpcmVjdGl2ZXMvY29uZGl0aW9uYWwtY2xhc3Nlcy5kaXJlY3RpdmUnXG5cblxuZXhwb3J0ICogZnJvbSAnLi9tb2R1bGUnO1xuXG5cbiJdfQ==
|
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
import { NgModule } from "@angular/core";
|
|
2
|
-
import { AutoFocusDirective } from "./directives/auto-focus.directive";
|
|
3
|
-
import { ClickEmitterDirective } from "./directives/clickEmitterDirective";
|
|
4
|
-
import { ClickSubjectDirective } from "./directives/clickSubject";
|
|
5
|
-
import { ConditionalClassesDirective } from "./directives/conditional-classes.directive";
|
|
6
|
-
import { DialogDirective } from "./directives/dialog";
|
|
7
|
-
import { DialogService } from "./directives/dialog-service";
|
|
8
|
-
import { MatSlideToggleGroupDirective } from "./directives/mat-toggle-group-directive";
|
|
9
|
-
import { PreventEnterDirective } from "./directives/prevent-enter.directive";
|
|
10
|
-
import { StopPropagationDirective } from "./directives/stop-propagation.directive";
|
|
11
|
-
import { TrimWhitespaceDirective } from "./directives/trim-whitespace.directive";
|
|
12
|
-
import { StylerDirective } from "./directives/styler";
|
|
13
|
-
import { FunctionPipe } from "./pipes/function.pipe";
|
|
14
|
-
import { PhoneNumberPipe } from "./pipes/phone.pipe";
|
|
15
|
-
import { SpaceCasePipe } from "./pipes/space-case.pipes";
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
export class UtilitiesModule {
|
|
18
|
-
}
|
|
19
|
-
UtilitiesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: UtilitiesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
-
UtilitiesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: UtilitiesModule, declarations: [SpaceCasePipe,
|
|
21
|
-
PhoneNumberPipe,
|
|
22
|
-
FunctionPipe,
|
|
23
|
-
StopPropagationDirective,
|
|
24
|
-
StylerDirective,
|
|
25
|
-
PreventEnterDirective,
|
|
26
|
-
AutoFocusDirective,
|
|
27
|
-
TrimWhitespaceDirective,
|
|
28
|
-
ClickSubjectDirective,
|
|
29
|
-
ClickEmitterDirective,
|
|
30
|
-
DialogDirective,
|
|
31
|
-
MatSlideToggleGroupDirective,
|
|
32
|
-
ConditionalClassesDirective], exports: [StopPropagationDirective,
|
|
33
|
-
PreventEnterDirective,
|
|
34
|
-
SpaceCasePipe,
|
|
35
|
-
PhoneNumberPipe,
|
|
36
|
-
FunctionPipe,
|
|
37
|
-
StopPropagationDirective,
|
|
38
|
-
TrimWhitespaceDirective,
|
|
39
|
-
StylerDirective,
|
|
40
|
-
PreventEnterDirective,
|
|
41
|
-
AutoFocusDirective,
|
|
42
|
-
ClickSubjectDirective,
|
|
43
|
-
ClickEmitterDirective,
|
|
44
|
-
DialogDirective,
|
|
45
|
-
MatSlideToggleGroupDirective,
|
|
46
|
-
ConditionalClassesDirective] });
|
|
47
|
-
UtilitiesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: UtilitiesModule, providers: [
|
|
48
|
-
DialogService
|
|
49
|
-
] });
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: UtilitiesModule, decorators: [{
|
|
51
|
-
type: NgModule,
|
|
52
|
-
args: [{
|
|
53
|
-
imports: [],
|
|
54
|
-
exports: [
|
|
55
|
-
StopPropagationDirective,
|
|
56
|
-
PreventEnterDirective,
|
|
57
|
-
SpaceCasePipe,
|
|
58
|
-
PhoneNumberPipe,
|
|
59
|
-
FunctionPipe,
|
|
60
|
-
StopPropagationDirective,
|
|
61
|
-
TrimWhitespaceDirective,
|
|
62
|
-
StylerDirective,
|
|
63
|
-
PreventEnterDirective,
|
|
64
|
-
AutoFocusDirective,
|
|
65
|
-
ClickSubjectDirective,
|
|
66
|
-
ClickEmitterDirective,
|
|
67
|
-
DialogDirective,
|
|
68
|
-
MatSlideToggleGroupDirective,
|
|
69
|
-
ConditionalClassesDirective,
|
|
70
|
-
],
|
|
71
|
-
declarations: [
|
|
72
|
-
SpaceCasePipe,
|
|
73
|
-
PhoneNumberPipe,
|
|
74
|
-
FunctionPipe,
|
|
75
|
-
StopPropagationDirective,
|
|
76
|
-
StylerDirective,
|
|
77
|
-
PreventEnterDirective,
|
|
78
|
-
AutoFocusDirective,
|
|
79
|
-
TrimWhitespaceDirective,
|
|
80
|
-
ClickSubjectDirective,
|
|
81
|
-
ClickEmitterDirective,
|
|
82
|
-
DialogDirective,
|
|
83
|
-
MatSlideToggleGroupDirective,
|
|
84
|
-
ConditionalClassesDirective,
|
|
85
|
-
],
|
|
86
|
-
providers: [
|
|
87
|
-
DialogService
|
|
88
|
-
]
|
|
89
|
-
}]
|
|
90
|
-
}] });
|
|
91
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from "@angular/core";
|
|
2
|
+
import { AutoFocusDirective } from "./directives/auto-focus.directive";
|
|
3
|
+
import { ClickEmitterDirective } from "./directives/clickEmitterDirective";
|
|
4
|
+
import { ClickSubjectDirective } from "./directives/clickSubject";
|
|
5
|
+
import { ConditionalClassesDirective } from "./directives/conditional-classes.directive";
|
|
6
|
+
import { DialogDirective } from "./directives/dialog";
|
|
7
|
+
import { DialogService } from "./directives/dialog-service";
|
|
8
|
+
import { MatSlideToggleGroupDirective } from "./directives/mat-toggle-group-directive";
|
|
9
|
+
import { PreventEnterDirective } from "./directives/prevent-enter.directive";
|
|
10
|
+
import { StopPropagationDirective } from "./directives/stop-propagation.directive";
|
|
11
|
+
import { TrimWhitespaceDirective } from "./directives/trim-whitespace.directive";
|
|
12
|
+
import { StylerDirective } from "./directives/styler";
|
|
13
|
+
import { FunctionPipe } from "./pipes/function.pipe";
|
|
14
|
+
import { PhoneNumberPipe } from "./pipes/phone.pipe";
|
|
15
|
+
import { SpaceCasePipe } from "./pipes/space-case.pipes";
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
export class UtilitiesModule {
|
|
18
|
+
}
|
|
19
|
+
UtilitiesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: UtilitiesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
+
UtilitiesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: UtilitiesModule, declarations: [SpaceCasePipe,
|
|
21
|
+
PhoneNumberPipe,
|
|
22
|
+
FunctionPipe,
|
|
23
|
+
StopPropagationDirective,
|
|
24
|
+
StylerDirective,
|
|
25
|
+
PreventEnterDirective,
|
|
26
|
+
AutoFocusDirective,
|
|
27
|
+
TrimWhitespaceDirective,
|
|
28
|
+
ClickSubjectDirective,
|
|
29
|
+
ClickEmitterDirective,
|
|
30
|
+
DialogDirective,
|
|
31
|
+
MatSlideToggleGroupDirective,
|
|
32
|
+
ConditionalClassesDirective], exports: [StopPropagationDirective,
|
|
33
|
+
PreventEnterDirective,
|
|
34
|
+
SpaceCasePipe,
|
|
35
|
+
PhoneNumberPipe,
|
|
36
|
+
FunctionPipe,
|
|
37
|
+
StopPropagationDirective,
|
|
38
|
+
TrimWhitespaceDirective,
|
|
39
|
+
StylerDirective,
|
|
40
|
+
PreventEnterDirective,
|
|
41
|
+
AutoFocusDirective,
|
|
42
|
+
ClickSubjectDirective,
|
|
43
|
+
ClickEmitterDirective,
|
|
44
|
+
DialogDirective,
|
|
45
|
+
MatSlideToggleGroupDirective,
|
|
46
|
+
ConditionalClassesDirective] });
|
|
47
|
+
UtilitiesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: UtilitiesModule, providers: [
|
|
48
|
+
DialogService
|
|
49
|
+
] });
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: UtilitiesModule, decorators: [{
|
|
51
|
+
type: NgModule,
|
|
52
|
+
args: [{
|
|
53
|
+
imports: [],
|
|
54
|
+
exports: [
|
|
55
|
+
StopPropagationDirective,
|
|
56
|
+
PreventEnterDirective,
|
|
57
|
+
SpaceCasePipe,
|
|
58
|
+
PhoneNumberPipe,
|
|
59
|
+
FunctionPipe,
|
|
60
|
+
StopPropagationDirective,
|
|
61
|
+
TrimWhitespaceDirective,
|
|
62
|
+
StylerDirective,
|
|
63
|
+
PreventEnterDirective,
|
|
64
|
+
AutoFocusDirective,
|
|
65
|
+
ClickSubjectDirective,
|
|
66
|
+
ClickEmitterDirective,
|
|
67
|
+
DialogDirective,
|
|
68
|
+
MatSlideToggleGroupDirective,
|
|
69
|
+
ConditionalClassesDirective,
|
|
70
|
+
],
|
|
71
|
+
declarations: [
|
|
72
|
+
SpaceCasePipe,
|
|
73
|
+
PhoneNumberPipe,
|
|
74
|
+
FunctionPipe,
|
|
75
|
+
StopPropagationDirective,
|
|
76
|
+
StylerDirective,
|
|
77
|
+
PreventEnterDirective,
|
|
78
|
+
AutoFocusDirective,
|
|
79
|
+
TrimWhitespaceDirective,
|
|
80
|
+
ClickSubjectDirective,
|
|
81
|
+
ClickEmitterDirective,
|
|
82
|
+
DialogDirective,
|
|
83
|
+
MatSlideToggleGroupDirective,
|
|
84
|
+
ConditionalClassesDirective,
|
|
85
|
+
],
|
|
86
|
+
providers: [
|
|
87
|
+
DialogService
|
|
88
|
+
]
|
|
89
|
+
}]
|
|
90
|
+
}] });
|
|
91
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci11dGlsaXRpZXMvc3JjL3V0aWxpdGllcy9tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUN2RSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUMzRSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNsRSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSw0Q0FBNEMsQ0FBQztBQUN6RixPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDdEQsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQzVELE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLHlDQUF5QyxDQ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9nRGlyZWN0aXZlLFxuICAgICAgICBNYXRTbGlkZVRvZ2dsZUdyb3VwRGlyZWN0aXZlLFxuICAgICAgICBDb25kaXRpb25hbENsYXNzZXNEaXJlY3RpdmUsXG4gICAgXSxcbiAgICBwcm92aWRlcnMgOiBbXG4gICAgICBEaWFsb2dTZXJ2aWNlXG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBVdGlsaXRpZXNNb2R1bGUge1xufVxuIl19
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class FunctionPipe {
|
|
4
|
-
transform(func, ...args) {
|
|
5
|
-
if (typeof func === 'string') {
|
|
6
|
-
const [instance, ...tail] = args;
|
|
7
|
-
const method = instance[func].bind(instance);
|
|
8
|
-
return method(...tail);
|
|
9
|
-
}
|
|
10
|
-
return func(...args);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
FunctionPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: FunctionPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
-
FunctionPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: FunctionPipe, name: "func" });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: FunctionPipe, decorators: [{
|
|
16
|
-
type: Pipe,
|
|
17
|
-
args: [{
|
|
18
|
-
name: 'func'
|
|
19
|
-
}]
|
|
20
|
-
}] });
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class FunctionPipe {
|
|
4
|
+
transform(func, ...args) {
|
|
5
|
+
if (typeof func === 'string') {
|
|
6
|
+
const [instance, ...tail] = args;
|
|
7
|
+
const method = instance[func].bind(instance);
|
|
8
|
+
return method(...tail);
|
|
9
|
+
}
|
|
10
|
+
return func(...args);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
FunctionPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: FunctionPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
+
FunctionPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: FunctionPipe, name: "func" });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: FunctionPipe, decorators: [{
|
|
16
|
+
type: Pipe,
|
|
17
|
+
args: [{
|
|
18
|
+
name: 'func'
|
|
19
|
+
}]
|
|
20
|
+
}] });
|
|
21
21
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuY3Rpb24ucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItdXRpbGl0aWVzL3NyYy91dGlsaXRpZXMvcGlwZXMvZnVuY3Rpb24ucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQzs7QUFLcEQsTUFBTSxPQUFPLFlBQVk7SUFDdkIsU0FBUyxDQUFDLElBQXlDLEVBQUUsR0FBRyxJQUFXO1FBQ2pFLElBQUcsT0FBTyxJQUFJLEtBQUssUUFBUSxFQUFFO1lBQzNCLE1BQU0sQ0FBQyxRQUFRLEVBQUUsR0FBRyxJQUFJLENBQUMsR0FBRyxJQUFJLENBQUM7WUFDakMsTUFBTSxNQUFNLEdBQUcsUUFBUSxDQUFDLElBQUksQ0FBQyxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsQ0FBQztZQUM3QyxPQUFPLE1BQU0sQ0FBQyxHQUFHLElBQUksQ0FBQyxDQUFDO1NBQ3hCO1FBQ0MsT0FBTyxJQUFJLENBQUMsR0FBRyxJQUFJLENBQUMsQ0FBQztJQUN6QixDQUFDOzt5R0FSVSxZQUFZO3VHQUFaLFlBQVk7MkZBQVosWUFBWTtrQkFIeEIsSUFBSTttQkFBQztvQkFDSixJQUFJLEVBQUUsTUFBTTtpQkFDYiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFBpcGUsIFBpcGVUcmFuc2Zvcm0gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQFBpcGUoe1xuICBuYW1lOiAnZnVuYydcbn0pXG5leHBvcnQgY2xhc3MgRnVuY3Rpb25QaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIHRyYW5zZm9ybShmdW5jOiAoICguLi5hcmdzOiBhbnlbXSk9PiBhbnkgKSB8IHN0cmluZywgLi4uYXJnczogYW55W10pOiBhbnkge1xuICAgIGlmKHR5cGVvZiBmdW5jID09PSAnc3RyaW5nJykge1xuICAgICAgY29uc3QgW2luc3RhbmNlLCAuLi50YWlsXSA9IGFyZ3M7XG4gICAgICBjb25zdCBtZXRob2QgPSBpbnN0YW5jZVtmdW5jXS5iaW5kKGluc3RhbmNlKTtcbiAgICAgIHJldHVybiBtZXRob2QoLi4udGFpbCk7XG4gICAgfVxuICAgICAgcmV0dXJuIGZ1bmMoLi4uYXJncyk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class PhoneNumberPipe {
|
|
4
|
-
transform(phoneNum) {
|
|
5
|
-
if (phoneNum) {
|
|
6
|
-
phoneNum = phoneNum.replace(/\D/g, '');
|
|
7
|
-
if (phoneNum[0] === '1') {
|
|
8
|
-
phoneNum = phoneNum.substring(1);
|
|
9
|
-
}
|
|
10
|
-
return '(' + phoneNum.slice(0, 3) + ') ' + phoneNum.slice(3, 6) + '-' + phoneNum.slice(6, 10) + ' ' + phoneNum.slice(10);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
PhoneNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PhoneNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
15
|
-
PhoneNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: PhoneNumberPipe, name: "phone" });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PhoneNumberPipe, decorators: [{
|
|
17
|
-
type: Pipe,
|
|
18
|
-
args: [{ name: 'phone' }]
|
|
19
|
-
}] });
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class PhoneNumberPipe {
|
|
4
|
+
transform(phoneNum) {
|
|
5
|
+
if (phoneNum) {
|
|
6
|
+
phoneNum = phoneNum.replace(/\D/g, '');
|
|
7
|
+
if (phoneNum[0] === '1') {
|
|
8
|
+
phoneNum = phoneNum.substring(1);
|
|
9
|
+
}
|
|
10
|
+
return '(' + phoneNum.slice(0, 3) + ') ' + phoneNum.slice(3, 6) + '-' + phoneNum.slice(6, 10) + ' ' + phoneNum.slice(10);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
PhoneNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PhoneNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
15
|
+
PhoneNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: PhoneNumberPipe, name: "phone" });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PhoneNumberPipe, decorators: [{
|
|
17
|
+
type: Pipe,
|
|
18
|
+
args: [{ name: 'phone' }]
|
|
19
|
+
}] });
|
|
20
20
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGhvbmUucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItdXRpbGl0aWVzL3NyYy91dGlsaXRpZXMvcGlwZXMvcGhvbmUucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQzs7QUFHcEQsTUFBTSxPQUFPLGVBQWU7SUFFMUIsU0FBUyxDQUFDLFFBQWdCO1FBQ3hCLElBQUksUUFBUSxFQUFFO1lBQ1osUUFBUSxHQUFHLFFBQVEsQ0FBQyxPQUFPLENBQUMsS0FBSyxFQUFDLEVBQUUsQ0FBQyxDQUFDO1lBQ3RDLElBQUcsUUFBUSxDQUFDLENBQUMsQ0FBQyxLQUFLLEdBQUcsRUFBRTtnQkFDdEIsUUFBUSxHQUFHLFFBQVEsQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUM7YUFDbEM7WUFDRCxPQUFPLEdBQUcsR0FBSSxRQUFRLENBQUMsS0FBSyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsR0FBRyxJQUFJLEdBQUcsUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEdBQUcsR0FBRyxHQUFHLFFBQVEsQ0FBQyxLQUFLLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxHQUFHLEdBQUcsR0FBRyxRQUFRLENBQUMsS0FBSyxDQUFDLEVBQUUsQ0FBQyxDQUFDO1NBQzNIO0lBQ0gsQ0FBQzs7NEdBVlUsZUFBZTswR0FBZixlQUFlOzJGQUFmLGVBQWU7a0JBRDNCLElBQUk7bUJBQUMsRUFBQyxJQUFJLEVBQUUsT0FBTyxFQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AUGlwZSh7bmFtZTogJ3Bob25lJ30pXG5leHBvcnQgY2xhc3MgUGhvbmVOdW1iZXJQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG5cbiAgdHJhbnNmb3JtKHBob25lTnVtOiBzdHJpbmcpOiBhbnkge1xuICAgIGlmIChwaG9uZU51bSkge1xuICAgICAgcGhvbmVOdW0gPSBwaG9uZU51bS5yZXBsYWNlKC9cXEQvZywnJyk7XG4gICAgICBpZihwaG9uZU51bVswXSA9PT0gJzEnKSB7XG4gICAgICAgIHBob25lTnVtID0gcGhvbmVOdW0uc3Vic3RyaW5nKDEpO1xuICAgICAgfVxuICAgICAgcmV0dXJuICcoJyArICBwaG9uZU51bS5zbGljZSgwLCAzKSArICcpICcgKyBwaG9uZU51bS5zbGljZSgzLCA2KSArICctJyArIHBob25lTnVtLnNsaWNlKDYsIDEwKSArICcgJyArIHBob25lTnVtLnNsaWNlKDEwKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class SpaceCasePipe {
|
|
4
|
-
transform(value) {
|
|
5
|
-
return spaceCase(value);
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
SpaceCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: SpaceCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
9
|
-
SpaceCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: SpaceCasePipe, name: "spaceCase" });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: SpaceCasePipe, decorators: [{
|
|
11
|
-
type: Pipe,
|
|
12
|
-
args: [{ name: 'spaceCase' }]
|
|
13
|
-
}] });
|
|
14
|
-
/**
|
|
15
|
-
* Adds a space before uppercase letters that either
|
|
16
|
-
* 1. follows a lowercase letter or digit
|
|
17
|
-
* 2. or precedes a lowercase letter and follows an alpha-numeric character
|
|
18
|
-
*
|
|
19
|
-
* Uppercases the first digit
|
|
20
|
-
*
|
|
21
|
-
* Turns underscores into spaces
|
|
22
|
-
*/
|
|
23
|
-
export function spaceCase(value) {
|
|
24
|
-
const phrase = value?.replace(/([a-z0-9])([A-Z])|([a-zA-Z0-9])([A-Z])(?=[a-z])|_/g, '$1$3 $2$4');
|
|
25
|
-
// uppercase the first character of every word
|
|
26
|
-
return phrase?.replace(/(^| )(\w)/g, x => x.toUpperCase());
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class SpaceCasePipe {
|
|
4
|
+
transform(value) {
|
|
5
|
+
return spaceCase(value);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
SpaceCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: SpaceCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
9
|
+
SpaceCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: SpaceCasePipe, name: "spaceCase" });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: SpaceCasePipe, decorators: [{
|
|
11
|
+
type: Pipe,
|
|
12
|
+
args: [{ name: 'spaceCase' }]
|
|
13
|
+
}] });
|
|
14
|
+
/**
|
|
15
|
+
* Adds a space before uppercase letters that either
|
|
16
|
+
* 1. follows a lowercase letter or digit
|
|
17
|
+
* 2. or precedes a lowercase letter and follows an alpha-numeric character
|
|
18
|
+
*
|
|
19
|
+
* Uppercases the first digit
|
|
20
|
+
*
|
|
21
|
+
* Turns underscores into spaces
|
|
22
|
+
*/
|
|
23
|
+
export function spaceCase(value) {
|
|
24
|
+
const phrase = value?.replace(/([a-z0-9])([A-Z])|([a-zA-Z0-9])([A-Z])(?=[a-z])|_/g, '$1$3 $2$4');
|
|
25
|
+
// uppercase the first character of every word
|
|
26
|
+
return phrase?.replace(/(^| )(\w)/g, x => x.toUpperCase());
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BhY2UtY2FzZS5waXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItdXRpbGl0aWVzL3NyYy91dGlsaXRpZXMvcGlwZXMvc3BhY2UtY2FzZS5waXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQzs7QUFHcEQsTUFBTSxPQUFPLGFBQWE7SUFDeEIsU0FBUyxDQUFDLEtBQWE7UUFDckIsT0FBUSxTQUFTLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDM0IsQ0FBQzs7MEdBSFUsYUFBYTt3R0FBYixhQUFhOzJGQUFiLGFBQWE7a0JBRHpCLElBQUk7bUJBQUMsRUFBQyxJQUFJLEVBQUUsV0FBVyxFQUFDOztBQU96Qjs7Ozs7Ozs7R0FRRztBQUNILE1BQU0sVUFBVSxTQUFTLENBQUMsS0FBYTtJ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