@one-paragon/angular-utilities 0.3.1 → 0.3.3
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/esm2022/action-state/action-state-spinner/action-state-spinner.component.mjs +7 -8
- package/esm2022/action-state/action-state-ui/action-state-ui.module.mjs +6 -7
- package/esm2022/action-state/ngrx-ext/ngrx-ext.module.mjs +6 -7
- package/esm2022/http-request-state/HttpRequestStateFactory.mjs +6 -7
- package/esm2022/http-request-state/HttpRequestStateStore.mjs +6 -7
- package/esm2022/http-request-state/directives/HttpStateDirectiveBase.mjs +6 -7
- package/esm2022/http-request-state/directives/http-error-state-directive.mjs +6 -7
- package/esm2022/http-request-state/directives/http-inProgress-state-directive.mjs +6 -7
- package/esm2022/http-request-state/directives/http-notStarted-state-directive.mjs +6 -7
- package/esm2022/http-request-state/directives/http-success-state-directive.mjs +6 -7
- package/esm2022/http-request-state/directives/request-state-directive.mjs +6 -7
- package/esm2022/http-request-state/http-state-module.mjs +6 -7
- package/esm2022/table-builder/classes/filter-info.mjs +1 -1
- package/esm2022/table-builder/classes/table-store.mjs +7 -8
- package/esm2022/table-builder/components/array-column.component.mjs +42 -35
- package/esm2022/table-builder/components/column-builder/column-builder.component.mjs +11 -11
- package/esm2022/table-builder/components/date-filter/date-filter.component.mjs +7 -9
- package/esm2022/table-builder/components/date-time-filter/date-time-filter.component.mjs +7 -9
- package/esm2022/table-builder/components/filter/filter.component.mjs +11 -13
- package/esm2022/table-builder/components/filter/in-list/in-list-filter.component.mjs +25 -20
- package/esm2022/table-builder/components/gen-col-displayer/gen-col-displayer.component.mjs +9 -10
- package/esm2022/table-builder/components/generic-table/generic-table.component.mjs +9 -10
- package/esm2022/table-builder/components/generic-table/paginator.component.mjs +19 -16
- package/esm2022/table-builder/components/group-by-list/group-by-list.component.mjs +7 -9
- package/esm2022/table-builder/components/header-menu/header-menu.component.mjs +9 -10
- package/esm2022/table-builder/components/in-filter/in-filter.component.mjs +9 -11
- package/esm2022/table-builder/components/initialization-component/initialization-component.mjs +5 -6
- package/esm2022/table-builder/components/link-column.component.mjs +24 -24
- package/esm2022/table-builder/components/number-filter/number-filter.component.mjs +7 -9
- package/esm2022/table-builder/components/sort-menu/sort-menu.component-store.mjs +6 -7
- package/esm2022/table-builder/components/sort-menu/sort-menu.component.mjs +10 -11
- package/esm2022/table-builder/components/table-container/table-container-imports.mjs +4 -3
- package/esm2022/table-builder/components/table-container/table-container.mjs +6 -7
- package/esm2022/table-builder/components/table-container-filter/filter-list/filter-list.component.mjs +9 -10
- package/esm2022/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.mjs +9 -10
- package/esm2022/table-builder/components/table-container-filter/table-wrapper-filter-store.mjs +6 -7
- package/esm2022/table-builder/directives/custom-cell-directive.mjs +7 -8
- package/esm2022/table-builder/directives/multi-sort.directive.mjs +6 -7
- package/esm2022/table-builder/directives/resize-column.directive.mjs +6 -7
- package/esm2022/table-builder/directives/table-wrapper.directive.mjs +5 -6
- package/esm2022/table-builder/directives/tb-filter.directive.mjs +57 -67
- package/esm2022/table-builder/enums/filterTypes.mjs +30 -30
- package/esm2022/table-builder/ngrx/tableBuilderStateStore.mjs +6 -7
- package/esm2022/table-builder/pipes/column-total.pipe.mjs +5 -6
- package/esm2022/table-builder/pipes/format-filter-type.pipe.mjs +5 -6
- package/esm2022/table-builder/pipes/format-filter-value.pipe.mjs +6 -7
- package/esm2022/table-builder/pipes/key-display.mjs +6 -7
- package/esm2022/table-builder/services/export-to-csv.service.mjs +7 -8
- package/esm2022/table-builder/services/table-template-service.mjs +6 -7
- package/esm2022/table-builder/services/transform-creator.mjs +7 -8
- package/esm2022/table-builder/table-builder.module.mjs +6 -7
- package/esm2022/utilities/directives/auto-focus.directive.mjs +6 -7
- package/esm2022/utilities/directives/clickEmitterDirective.mjs +6 -7
- package/esm2022/utilities/directives/clickSubject.mjs +6 -7
- package/esm2022/utilities/directives/conditional-classes.directive.mjs +6 -7
- package/esm2022/utilities/directives/dialog-service.mjs +5 -6
- package/esm2022/utilities/directives/dialog.mjs +11 -13
- package/esm2022/utilities/directives/mat-toggle-group-directive.mjs +5 -6
- package/esm2022/utilities/directives/prevent-enter.directive.mjs +5 -6
- package/esm2022/utilities/directives/stop-propagation.directive.mjs +5 -6
- package/esm2022/utilities/directives/styler.mjs +6 -7
- package/esm2022/utilities/directives/trim-whitespace.directive.mjs +6 -7
- package/esm2022/utilities/module.mjs +6 -7
- package/esm2022/utilities/pipes/function.pipe.mjs +5 -6
- package/esm2022/utilities/pipes/phone.pipe.mjs +5 -6
- package/esm2022/utilities/pipes/space-case.pipes.mjs +5 -6
- package/fesm2022/one-paragon-angular-utilities.mjs +436 -414
- package/fesm2022/one-paragon-angular-utilities.mjs.map +1 -1
- package/http-request-state/HttpRequestStateStore.d.ts +1 -1
- package/package.json +8 -8
- package/table-builder/classes/filter-info.d.ts +94 -7
- package/table-builder/components/array-column.component.d.ts +1 -1
- package/table-builder/components/column-builder/column-builder.component.d.ts +1 -1
- package/table-builder/components/filter/filter.component.d.ts +93 -352
- package/table-builder/components/in-filter/in-filter.component.d.ts +1 -1
- package/table-builder/components/table-container/table-container-imports.d.ts +3 -2
- package/table-builder/enums/filterTypes.d.ts +47 -7
- package/utilities/pipes/function.pipe.d.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Pipe } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
class PhoneNumberPipe {
|
|
3
|
+
export class PhoneNumberPipe {
|
|
4
4
|
transform(phoneNum) {
|
|
5
5
|
if (phoneNum) {
|
|
6
6
|
phoneNum = phoneNum.replace(/\D/g, '');
|
|
@@ -10,12 +10,11 @@ class PhoneNumberPipe {
|
|
|
10
10
|
return '(' + phoneNum.slice(0, 3) + ') ' + phoneNum.slice(3, 6) + '-' + phoneNum.slice(6, 10) + ' ' + phoneNum.slice(10);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: PhoneNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
14
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: PhoneNumberPipe, isStandalone: true, name: "phone" }); }
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: PhoneNumberPipe, decorators: [{
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: PhoneNumberPipe, decorators: [{
|
|
18
17
|
type: Pipe,
|
|
19
18
|
args: [{ name: 'phone', standalone: true }]
|
|
20
19
|
}] });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGhvbmUucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItdXRpbGl0aWVzL3NyYy91dGlsaXRpZXMvcGlwZXMvcGhvbmUucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQzs7QUFHcEQsTUFBTSxPQUFPLGVBQWU7SUFFMUIsU0FBUyxDQUFDLFFBQWdCO1FBQ3hCLElBQUksUUFBUSxFQUFFO1lBQ1osUUFBUSxHQUFHLFFBQVEsQ0FBQyxPQUFPLENBQUMsS0FBSyxFQUFDLE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iAgICAgICAgcGhvbmVOdW0gPSBwaG9uZU51bS5zdWJzdHJpbmcoMSk7XHJcbiAgICAgIH1cclxuICAgICAgcmV0dXJuICcoJyArICBwaG9uZU51bS5zbGljZSgwLCAzKSArICcpICcgKyBwaG9uZU51bS5zbGljZSgzLCA2KSArICctJyArIHBob25lTnVtLnNsaWNlKDYsIDEwKSArICcgJyArIHBob25lTnVtLnNsaWNlKDEwKTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { Pipe } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
class SpaceCasePipe {
|
|
3
|
+
export class SpaceCasePipe {
|
|
4
4
|
transform(value) {
|
|
5
5
|
return spaceCase(value);
|
|
6
6
|
}
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: SpaceCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
8
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: SpaceCasePipe, isStandalone: true, name: "spaceCase" }); }
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: SpaceCasePipe, decorators: [{
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: SpaceCasePipe, decorators: [{
|
|
12
11
|
type: Pipe,
|
|
13
12
|
args: [{ name: 'spaceCase', standalone: true }]
|
|
14
13
|
}] });
|
|
@@ -26,4 +25,4 @@ export function spaceCase(value) {
|
|
|
26
25
|
// uppercase the first character of every word
|
|
27
26
|
return phrase?.replace(/(^| )(\w)/g, x => x.toUpperCase());
|
|
28
27
|
}
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BhY2UtY2FzZS5waXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItdXRpbGl0aWVzL3NyYy91dGlsaXRpZXMvcGlwZXMvc3BhY2UtY2FzZS5waXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQzs7QUFHcEQsTUFBTSxPQUFPLGFBQWE7SUFDeEIsU0FBUyxDQUFDLEtBQWE7UUFDckIsT0FBUSxTQUFTLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDM0IsQ0FBQzs4R0FIVSxhQUFhOzRHQUFiLGFBQWE7OzJGQUFiLGFBQWE7a0JBRHpCLElBQUk7bUJBQUMsRUFBQyxJQUFJLEVBQUUsV0FBVyxFQUFFLFVBQVUsRUFBRSxJQUFJLEVBQUM7O0FBTzNDOzs7Ozs7OztHQVFHO0FBQ0gsTUFBTSxVQUFVLFNBQVMsQ0FBQyxLQUFhO0lBQ3JDLE1BQU0sTUFBTSxHQUFHLEtBQUssRUFBRSxPQUFPLENBQUMsb0RBQW9ELEVBQUUsV0FBVyxDQUFDLENBQUE7SUFDaEcsOENBQThDO0lBQzlDLE9BQU8sTUFBTSxFQUFFLE9BQU8sQ0FBQyxZQUFZLEVBQUUsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsV0FBVyxFQUFFLENBQUMsQ0FBQztBQUM3RCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5z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