Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 808f6ff

Browse files
committed
feat(template): rename PushPipe to RxPush
BREAKING CHANGE: The PushPipe was renamed to RxPush
1 parent 5da7cb6 commit 808f6ff

File tree

37 files changed

+81
-82
lines changed

37 files changed

+81
-82
lines changed

apps/demos/src/app/features/concepts/coalescing/coalescing.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { NgModule } from '@angular/core';
22
import { CommonModule } from '@angular/common';
33
import { RouterModule } from '@angular/router';
4-
import { PushPipe } from '@rx-angular/template/push';
4+
import { RxPush } from '@rx-angular/template/push';
55
import { UnpatchModule } from '@rx-angular/template/unpatch';
66

77
import { ROUTES } from './coalescing.routes';
@@ -21,7 +21,7 @@ const DECLARATIONS = [CoalescingComponent];
2121
StrategySelectModule,
2222
UnpatchModule,
2323
MatButtonModule,
24-
PushPipe,
24+
RxPush,
2525
],
2626
providers: [],
2727
exports: [DECLARATIONS],

apps/demos/src/app/features/concepts/passing-values/passing-values.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MatLegacyInputModule as MatInputModule } from '@angular/material/legacy
66
import { RouterModule } from '@angular/router';
77
import { ROUTES } from './passing-values.routes';
88
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
9-
import { PushPipe } from '@rx-angular/template/push';
9+
import { RxPush } from '@rx-angular/template/push';
1010
import { UnpatchModule } from '@rx-angular/template/unpatch';
1111
import { PassingValuesComponent } from './passing-values.component';
1212
import { VisualizerModule } from '../../../shared/debug-helper/visualizer';
@@ -31,7 +31,7 @@ import { FormsModule } from '@angular/forms';
3131
FormsModule,
3232
UnpatchModule,
3333
MatButtonModule,
34-
PushPipe,
34+
RxPush,
3535
],
3636
exports: [],
3737
})

apps/demos/src/app/features/concepts/scheduling/scheduling.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { NgModule } from '@angular/core';
22
import { CommonModule } from '@angular/common';
33
import { RouterModule } from '@angular/router';
44
import { SchedulingComponent } from './scheduling/scheduling.component';
5-
import { PushPipe } from '@rx-angular/template/push';
5+
import { RxPush } from '@rx-angular/template/push';
66
import { RxLet } from '@rx-angular/template/let';
77
import { UnpatchModule } from '@rx-angular/template/unpatch';
88
import { ROUTES } from './scheduling.routes';
@@ -17,7 +17,7 @@ const DECLARATIONS = [SchedulingComponent];
1717
CommonModule,
1818
RouterModule.forChild(ROUTES),
1919
RxLet,
20-
PushPipe,
20+
RxPush,
2121
UnpatchModule,
2222
MatButtonModule,
2323
VisualizerModule,

apps/demos/src/app/features/concepts/zone-patched-apis/zone-patched-apis.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { CommonModule } from '@angular/common';
33
import { RouterModule } from '@angular/router';
44
import { ROUTES } from './zone-patched-apis.routes';
55
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
6-
import { PushPipe } from '@rx-angular/template/push';
6+
import { RxPush } from '@rx-angular/template/push';
77
import { UnpatchModule } from '@rx-angular/template/unpatch';
88
import { ZonePatchedApisComponent } from './zone-patched-apis.component';
99
import { DirtyChecksModule } from '../../../shared/debug-helper/dirty-checks';
@@ -19,7 +19,7 @@ import { ValueProvidersModule } from '../../../shared/debug-helper/value-provide
1919
MatButtonModule,
2020
DirtyChecksModule,
2121
UnpatchModule,
22-
PushPipe,
22+
RxPush,
2323
VisualizerModule,
2424
CdDefaultModule,
2525
ValueProvidersModule,

apps/demos/src/app/features/experiments/state/rx-state.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { MatLegacyListModule as MatListModule } from '@angular/material/legacy-l
99
import { MatLegacySelectModule as MatSelectModule } from '@angular/material/legacy-select';
1010
import { MatLegacyTableModule as MatTableModule } from '@angular/material/legacy-table';
1111
import { MatToolbarModule } from '@angular/material/toolbar';
12-
import { PushPipe } from '@rx-angular/template/push';
12+
import { RxPush } from '@rx-angular/template/push';
1313
import { RxLet } from '@rx-angular/template/let';
1414
import { RouterModule } from '@angular/router';
1515
import { ROUTES as RX_STATE_ROUTES } from './rx-state.routes';
@@ -46,7 +46,7 @@ import { RxStateSelectSliceComponent } from './selectslice/select-slice.componen
4646
MatInputModule,
4747
MatSelectModule,
4848
RxLet,
49-
PushPipe,
49+
RxPush,
5050
FormsModule,
5151
ReactiveFormsModule,
5252
],

apps/demos/src/app/features/experiments/structural-directives/rx-switch-poc/rx-switch-poc.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { CommonModule } from '@angular/common';
33
import { RouterModule } from '@angular/router';
44
import { ROUTES } from './rx-switch-poc.routes';
55
import { VisualizerModule } from '../../../../shared/debug-helper/visualizer';
6-
import { PushPipe } from '@rx-angular/template/push';
6+
import { RxPush } from '@rx-angular/template/push';
77
import { RxLet } from '@rx-angular/template/let';
88
import { UnpatchModule } from '@rx-angular/template/unpatch';
99
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
@@ -26,7 +26,7 @@ import { ValueProvidersModule } from '../../../../shared/debug-helper/value-prov
2626
UnpatchModule,
2727
MatButtonModule,
2828
DirtyChecksModule,
29-
PushPipe,
29+
RxPush,
3030
RxLet,
3131
MatFormFieldModule,
3232
MatSliderModule,

apps/demos/src/app/features/integrations/dynamic-counter/shared/shared.module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { NgModule } from '@angular/core';
22
import { CommonModule } from '@angular/common';
33
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
44
import { MatLegacyInputModule as MatInputModule } from '@angular/material/legacy-input';
5-
import { PushPipe } from '@rx-angular/template/push';
5+
import { RxPush } from '@rx-angular/template/push';
66
import { RxLet } from '@rx-angular/template/let';
77
import { CounterDisplayComponent } from './counter-display.component';
88
import { MatLegacyFormFieldModule as MatFormFieldModule } from '@angular/material/legacy-form-field';
@@ -13,7 +13,7 @@ const DECLARATIONS = [CounterDisplayComponent];
1313

1414
@NgModule({
1515
declarations: DECLARATIONS,
16-
imports: [CommonModule, RxLet, PushPipe, UtilsModule],
16+
imports: [CommonModule, RxLet, RxPush, UtilsModule],
1717
exports: [
1818
DECLARATIONS,
1919
FormsModule,
@@ -22,7 +22,7 @@ const DECLARATIONS = [CounterDisplayComponent];
2222
MatButtonModule,
2323
MatFormFieldModule,
2424
RxLet,
25-
PushPipe,
25+
RxPush,
2626
UtilsModule,
2727
],
2828
})

apps/demos/src/app/features/performance/rx-let-vs-push/rx-let-vs-push.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ import { RenderingWorkModule } from '../../../shared/debug-helper/rendering-work
55
import { RouterModule } from '@angular/router';
66
import { ROUTES as RX_LET_VS_PUSH_ROUTES } from './rx-let-vs-push.routes';
77
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
8-
import { PushPipe } from '@rx-angular/template/push';
8+
import { RxPush } from '@rx-angular/template/push';
99
import { RxLet } from '@rx-angular/template/let';
1010
import { ListToggleTestComponent } from './list-toggle-test-component/list-toggle-test.component';
1111

1212
@NgModule({
1313
declarations: [RxLetVsPushComponent, ListToggleTestComponent],
1414
imports: [
1515
RxLet,
16-
PushPipe,
16+
RxPush,
1717
CommonModule,
1818
RenderingWorkModule,
1919
MatButtonModule,

apps/demos/src/app/features/template/pipes/pipe-poc/pipe-poc.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { CommonModule } from '@angular/common';
22
import { NgModule } from '@angular/core';
33
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
44
import { RouterModule } from '@angular/router';
5-
import { PushPipe } from '@rx-angular/template/push';
5+
import { RxPush } from '@rx-angular/template/push';
66
import { RxLet } from '@rx-angular/template/let';
77
import { UnpatchModule } from '@rx-angular/template/unpatch';
88
import { PipeModule } from '../../../../rx-angular-pocs/template/pipes/pipe/pipe.module';
@@ -21,7 +21,7 @@ const DECLARATIONS = [PipePocComponent];
2121
DirtyChecksModule,
2222
MatButtonModule,
2323
UnpatchModule,
24-
PushPipe,
24+
RxPush,
2525
RxLet,
2626
],
2727
exports: [DECLARATIONS],

apps/demos/src/app/features/template/push/push-basic/push-basic.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { CommonModule } from '@angular/common';
22
import { NgModule } from '@angular/core';
33
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
44
import { RouterModule } from '@angular/router';
5-
import { PushPipe } from '@rx-angular/template/push';
5+
import { RxPush } from '@rx-angular/template/push';
66
import { UnpatchModule } from '@rx-angular/template/unpatch';
77
import { DirtyChecksModule } from '../../../../shared/debug-helper/dirty-checks/index';
88
import { PushBasicComponent } from './push-basic.component';
@@ -15,7 +15,7 @@ const DECLARATIONS = [PushBasicComponent];
1515
imports: [
1616
CommonModule,
1717
RouterModule.forChild(ROUTES),
18-
PushPipe,
18+
RxPush,
1919
DirtyChecksModule,
2020
MatButtonModule,
2121
UnpatchModule,

apps/demos/src/app/features/template/push/push-vs-async/push-vs-async.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { MatLegacyFormFieldModule as MatFormFieldModule } from '@angular/materia
77
import { MatIconModule } from '@angular/material/icon';
88
import { MatLegacyInputModule as MatInputModule } from '@angular/material/legacy-input';
99
import { RouterModule } from '@angular/router';
10-
import { PushPipe } from '@rx-angular/template/push';
10+
import { RxPush } from '@rx-angular/template/push';
1111
import { UnpatchModule } from '@rx-angular/template/unpatch';
1212
import { DirtyChecksModule } from '../../../../shared/debug-helper/dirty-checks';
1313
import { ValueProvidersModule } from '../../../../shared/debug-helper/value-provider/value-providers.module';
@@ -23,7 +23,7 @@ const DECLARATIONS = [PushVsAsyncComponent];
2323
imports: [
2424
CommonModule,
2525
RouterModule.forChild(ROUTES),
26-
PushPipe,
26+
RxPush,
2727
DirtyChecksModule,
2828
MatButtonModule,
2929
UnpatchModule,

apps/demos/src/app/features/template/render-callback/render-callback.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { DirtyChecksModule } from '../../../shared/debug-helper/dirty-checks/ind
77
import { RenderCallbackComponent } from './render-callback.component';
88
import { RENDER_CALLBACK_ROUTES } from './render-callback.routes';
99
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
10-
import { PushPipe } from '@rx-angular/template/push';
10+
import { RxPush } from '@rx-angular/template/push';
1111
import { RxLet } from '@rx-angular/template/let';
1212
import { UnpatchModule } from '@rx-angular/template/unpatch';
1313

@@ -21,7 +21,7 @@ import { UnpatchModule } from '@rx-angular/template/unpatch';
2121
DirtyChecksModule,
2222
MatButtonModule,
2323
UnpatchModule,
24-
PushPipe,
24+
RxPush,
2525
RxLet,
2626
],
2727
})

apps/demos/src/app/features/template/rx-for/list-actions/list-actions.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { MatLegacyFormFieldModule as MatFormFieldModule } from '@angular/materia
77
import { MatIconModule } from '@angular/material/icon';
88
import { MatLegacyInputModule as MatInputModule } from '@angular/material/legacy-input';
99
import { RouterModule } from '@angular/router';
10-
import { PushPipe } from '@rx-angular/template/push';
10+
import { RxPush } from '@rx-angular/template/push';
1111
import { RxLet } from '@rx-angular/template/let';
1212
import { RxFor } from '@rx-angular/template/for';
1313
import { UnpatchModule } from '@rx-angular/template/unpatch';
@@ -27,7 +27,7 @@ const DECLARATIONS = [ListActionsComponent];
2727
imports: [
2828
CommonModule,
2929
RouterModule.forChild(ROUTES),
30-
PushPipe,
30+
RxPush,
3131
DirtyChecksModule,
3232
MatButtonModule,
3333
UnpatchModule,

apps/demos/src/app/features/template/rx-for/nested-lists/nested-lists.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { NgModule } from '@angular/core';
22
import { CommonModule } from '@angular/common';
33
import { RxFor } from '@rx-angular/template/for';
44
import { RxLet } from '@rx-angular/template/let';
5-
import { PushPipe } from '@rx-angular/template/push';
5+
import { RxPush } from '@rx-angular/template/push';
66
import { VisualizerModule } from '../../../../shared/debug-helper/visualizer';
77
import { UnpatchModule } from '@rx-angular/template/unpatch';
88
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
@@ -41,7 +41,7 @@ const DECLARATIONS = [
4141
RxLet,
4242
RxFor,
4343
StrategySelectModule,
44-
PushPipe,
44+
RxPush,
4545
],
4646
exports: DECLARATIONS,
4747
})

apps/demos/src/app/features/template/rx-let/let-template-binding/let-template-binding.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { MatLegacyCardModule as MatCardModule } from '@angular/material/legacy-c
99
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
1010
import { MatIconModule } from '@angular/material/icon';
1111
import { MatLegacyProgressSpinnerModule as MatProgressSpinnerModule } from '@angular/material/legacy-progress-spinner';
12-
import { PushPipe } from '@rx-angular/template/push';
12+
import { RxPush } from '@rx-angular/template/push';
1313
import { RxLet } from '@rx-angular/template/let';
1414
import { UnpatchModule } from '@rx-angular/template/unpatch';
1515
import { MatBadgeModule } from '@angular/material/badge';
@@ -32,7 +32,7 @@ const DECLARATIONS = [
3232
MatIconModule,
3333
MatProgressSpinnerModule,
3434
UnpatchModule,
35-
PushPipe,
35+
RxPush,
3636
MatBadgeModule,
3737
RxLet,
3838
],

apps/demos/src/app/features/template/rx-let/ng-if-hack/ng-if-hack.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { RouterModule } from '@angular/router';
44
import { DirtyChecksModule } from '../../../../shared/debug-helper/dirty-checks';
55
import { ROUTES } from './ng-if-hack.routes';
66
import { NgIfHackComponent } from './ng-if-hack.component';
7-
import { PushPipe } from '@rx-angular/template/push';
7+
import { RxPush } from '@rx-angular/template/push';
88
import { RxLet } from '@rx-angular/template/let';
99
import { UnpatchModule } from '@rx-angular/template/unpatch';
1010
import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';
@@ -39,7 +39,7 @@ const DECLARATIONS = [
3939
MatIconModule,
4040
ValueProvidersModule,
4141
VisualizerModule,
42-
PushPipe,
42+
RxPush,
4343
MatButtonToggleModule,
4444
GhostElementsModule,
4545
MatButtonModule,

apps/demos/src/app/features/template/strategies/comparison/comparison.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { NgModule } from '@angular/core';
22
import { CommonModule } from '@angular/common';
33
import { RouterModule } from '@angular/router';
44
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
5-
import { PushPipe } from '@rx-angular/template/push';
5+
import { RxPush } from '@rx-angular/template/push';
66
import { RxLet } from '@rx-angular/template/let';
77
import { UnpatchModule } from '@rx-angular/template/unpatch';
88
import { ComparisonComponent } from './comparison.component';
@@ -31,7 +31,7 @@ import { RxIf } from '@rx-angular/template/if';
3131
MatFormFieldModule,
3232
FormsModule,
3333
MatInputModule,
34-
PushPipe,
34+
RxPush,
3535
ImageArrayModule,
3636
RxLet,
3737
RxForModule,

apps/demos/src/app/features/template/strategies/pixel-priority/pixel-priority.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { MatLegacyCheckboxModule as MatCheckboxModule } from '@angular/material/
77
import { SiblingModule } from '../../../../shared/template-structures/sibling/sibling.module';
88
import { RouterModule } from '@angular/router';
99
import { RxLet } from '@rx-angular/template/let';
10-
import { PushPipe } from '@rx-angular/template/push';
10+
import { RxPush } from '@rx-angular/template/push';
1111
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
1212
import { MatLegacyFormFieldModule as MatFormFieldModule } from '@angular/material/legacy-form-field';
1313
import { MatLegacyInputModule as MatInputModule } from '@angular/material/legacy-input';
@@ -32,7 +32,7 @@ import { UnpatchEventsModule } from '../../../../rx-angular-pocs/template/direct
3232
MatCheckboxModule,
3333
SiblingModule,
3434
RxLet,
35-
PushPipe,
35+
RxPush,
3636
UnpatchEventsModule,
3737
MatButtonModule,
3838
MatFormFieldModule,

apps/demos/src/app/features/template/viewport-prio/basic-example/basic-example.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { CommonModule } from '@angular/common';
33
import { RouterModule } from '@angular/router';
44
import { ROUTES } from './basic-example.routes';
55
import { BasicExampleComponent } from './basic-example.component';
6-
import { PushPipe } from '@rx-angular/template/push';
6+
import { RxPush } from '@rx-angular/template/push';
77
import { RxLet } from '@rx-angular/template/let';
88
import { UnpatchModule } from '@rx-angular/template/unpatch';
99
import { DirtyChecksModule } from '../../../../shared/debug-helper/dirty-checks';
@@ -22,7 +22,7 @@ const DECLARATIONS = [BasicExampleComponent];
2222
DirtyChecksModule,
2323
RouterModule.forChild(ROUTES),
2424
MatButtonModule,
25-
PushPipe,
25+
RxPush,
2626
RxLet,
2727
VisualizerModule,
2828
ValueProvidersModule,

apps/demos/src/app/shared/debug-helper/renderings/renderings.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import { NgModule } from '@angular/core';
22
import { RenderingsComponent } from './renderings.component';
33
import { CommonModule } from '@angular/common';
44
import { MatRippleModule } from '@angular/material/core';
5-
import { PushPipe } from '@rx-angular/template/push';
5+
import { RxPush } from '@rx-angular/template/push';
66

77
const DECLARATIONS = [RenderingsComponent];
88

99
@NgModule({
1010
declarations: [...DECLARATIONS],
11-
imports: [CommonModule, MatRippleModule, PushPipe],
11+
imports: [CommonModule, MatRippleModule, RxPush],
1212
exports: [...DECLARATIONS],
1313
})
1414
export class RenderingsModule {}

apps/demos/src/app/shared/debug-helper/strategy-select/strategy-select.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { NgModule } from '@angular/core';
22
import { CommonModule } from '@angular/common';
33
import { MatIconModule } from '@angular/material/icon';
44
import { MatLegacySelectModule as MatSelectModule } from '@angular/material/legacy-select';
5-
import { PushPipe } from '@rx-angular/template/push';
5+
import { RxPush } from '@rx-angular/template/push';
66
import { RxLet } from '@rx-angular/template/let';
77
import { UnpatchModule } from '@rx-angular/template/unpatch';
88
import { RxForModule } from '../../../rx-angular-pocs/template/directives/for/rx-for.module';
@@ -13,7 +13,7 @@ import { StrategySelectComponent } from './strategy-select/strategy-select.compo
1313
imports: [
1414
CommonModule,
1515
UnpatchModule,
16-
PushPipe,
16+
RxPush,
1717
MatIconModule,
1818
MatSelectModule,
1919
RxForModule,

0 commit comments

Comments
 (0)