@coolon/angular-ui-powerups 1.1.0 → 1.2.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/CHANGELOG.md +9 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +97 -56
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +2 -2
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.d.ts +29 -28
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +27 -26
- package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/components.module.js +6 -1
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js +35 -0
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -0
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.metadata.json +1 -0
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/forms/checkbox-input/checkbox-input.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/forms/number-input/number-input.component.js +1 -1
- package/esm2015/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.js +1 -1
- package/esm2015/lib/components/forms/string-input/string-input.component.js.map +1 -1
- package/esm2015/lib/components/index.js +1 -0
- package/esm2015/lib/components/index.js.map +1 -1
- package/esm2015/lib/components/index.metadata.json +1 -1
- package/esm2015/lib/components/resize-aware.component.js +2 -2
- package/esm2015/lib/components/resize-aware.component.js.map +1 -1
- package/esm2015/lib/place/place-router.js +1 -1
- package/esm2015/lib/place/place-router.js.map +1 -1
- package/esm2015/lib/place/route/parameter-decorators.js +8 -5
- package/esm2015/lib/place/route/parameter-decorators.js.map +1 -1
- package/esm2015/lib/place/route/parameter-decorators.metadata.json +1 -1
- package/esm5/coolon-angular-ui-powerups.js +27 -26
- package/esm5/coolon-angular-ui-powerups.js.map +1 -1
- package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/components.module.js +6 -1
- package/esm5/lib/components/components.module.js.map +1 -1
- package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js +38 -0
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.js.map +1 -0
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/forms/checkbox-input/checkbox-input.component.scss.shim.ngstyle.js.map +1 -0
- package/esm5/lib/components/forms/number-input/number-input.component.js +1 -1
- package/esm5/lib/components/forms/number-input/number-input.component.js.map +1 -1
- package/esm5/lib/components/forms/string-input/string-input.component.js +1 -1
- package/esm5/lib/components/forms/string-input/string-input.component.js.map +1 -1
- package/esm5/lib/components/index.js +1 -0
- package/esm5/lib/components/index.js.map +1 -1
- package/esm5/lib/components/resize-aware.component.js +2 -2
- package/esm5/lib/components/resize-aware.component.js.map +1 -1
- package/esm5/lib/place/place-router.js +1 -1
- package/esm5/lib/place/place-router.js.map +1 -1
- package/esm5/lib/place/route/parameter-decorators.js +8 -5
- package/esm5/lib/place/route/parameter-decorators.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +48 -11
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +51 -11
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +10 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/place/place-router.d.ts +3 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.2.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.1.1...v1.2.0) (2020-05-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* added aup-checkbox-input component ([529447f](https://bitbucket.org/coolon/angular-ui-powerups/commit/529447f972433b8bc70a965a2df7326fe2c493be))
|
|
11
|
+
|
|
12
|
+
### [1.1.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.1.0...v1.1.1) (2020-05-14)
|
|
13
|
+
|
|
5
14
|
## [1.1.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.0.2...v1.1.0) (2020-05-12)
|
|
6
15
|
|
|
7
16
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/input'), require('@angular/material/select'), require('@angular/material/tabs'), require('@angular/platform-browser/animations'), require('@angular/material/button'), require('@angular/material/icon'), require('@coolon/pectin'), require('@angular/cdk/portal'), require('@angular/material/dialog'), require('@angular/router'), require('@coolon/typescript-utilities'), require('lodash'), require('@angular/material/progress-spinner'), require('@angular/material/list'), require('@angular/material/tooltip'), require('@typescript-plus/fast-memoize-decorator/dist/src'), require('@typescript-plus/fast-memoize-decorator'), require('reflect-metadata'), require('@angular/animations'), require('resize-observer-polyfill'), require('rxjs')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@coolon/angular-ui-powerups', ['exports', '@angular/common', '@angular/core', '@angular/forms', '@angular/material/form-field', '@angular/material/input', '@angular/material/select', '@angular/material/tabs', '@angular/platform-browser/animations', '@angular/material/button', '@angular/material/icon', '@coolon/pectin', '@angular/cdk/portal', '@angular/material/dialog', '@angular/router', '@coolon/typescript-utilities', 'lodash', '@angular/material/progress-spinner', '@angular/material/list', '@angular/material/tooltip', '@typescript-plus/fast-memoize-decorator/dist/src', '@typescript-plus/fast-memoize-decorator', 'reflect-metadata', '@angular/animations', 'resize-observer-polyfill', 'rxjs'], factory) :
|
|
4
|
-
(global = global || self, factory((global.coolon = global.coolon || {}, global.coolon['angular-ui-powerups'] = {}), global.ng.common, global.ng.core, global.ng.forms, global.ng.material.formField, global.ng.material.input, global.ng.material.select, global.ng.material.tabs, global.ng.platformBrowser.animations, global.ng.material.button, global.ng.material.icon, global.pectin, global.ng.cdk.portal, global.ng.material.dialog, global.ng.router, global.typescriptUtilities, global.___default, global.ng.material.progressSpinner, global.ng.material.list, global.ng.material.tooltip, global.src, global.fastMemoizeDecorator, null, global.ng.animations, global.ResizeObserver, global.rxjs));
|
|
5
|
-
}(this, (function (exports, common, core, forms, formField, input, select, tabs, animations, button, icon, pectin, portal, dialog, router, typescriptUtilities, ___default, progressSpinner, list, tooltip, src, fastMemoizeDecorator, reflectMetadata, animations$1, ResizeObserver, rxjs) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/input'), require('@angular/material/select'), require('@angular/material/tabs'), require('@angular/platform-browser/animations'), require('@angular/material/checkbox'), require('@angular/material/button'), require('@angular/material/icon'), require('@coolon/pectin'), require('@angular/cdk/portal'), require('@angular/material/dialog'), require('@angular/router'), require('@coolon/typescript-utilities'), require('lodash'), require('@angular/material/progress-spinner'), require('@angular/material/list'), require('@angular/material/tooltip'), require('@typescript-plus/fast-memoize-decorator/dist/src'), require('@typescript-plus/fast-memoize-decorator'), require('reflect-metadata'), require('@angular/animations'), require('resize-observer-polyfill'), require('rxjs')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@coolon/angular-ui-powerups', ['exports', '@angular/common', '@angular/core', '@angular/forms', '@angular/material/form-field', '@angular/material/input', '@angular/material/select', '@angular/material/tabs', '@angular/platform-browser/animations', '@angular/material/checkbox', '@angular/material/button', '@angular/material/icon', '@coolon/pectin', '@angular/cdk/portal', '@angular/material/dialog', '@angular/router', '@coolon/typescript-utilities', 'lodash', '@angular/material/progress-spinner', '@angular/material/list', '@angular/material/tooltip', '@typescript-plus/fast-memoize-decorator/dist/src', '@typescript-plus/fast-memoize-decorator', 'reflect-metadata', '@angular/animations', 'resize-observer-polyfill', 'rxjs'], factory) :
|
|
4
|
+
(global = global || self, factory((global.coolon = global.coolon || {}, global.coolon['angular-ui-powerups'] = {}), global.ng.common, global.ng.core, global.ng.forms, global.ng.material.formField, global.ng.material.input, global.ng.material.select, global.ng.material.tabs, global.ng.platformBrowser.animations, global.ng.material.checkbox, global.ng.material.button, global.ng.material.icon, global.pectin, global.ng.cdk.portal, global.ng.material.dialog, global.ng.router, global.typescriptUtilities, global.___default, global.ng.material.progressSpinner, global.ng.material.list, global.ng.material.tooltip, global.src, global.fastMemoizeDecorator, null, global.ng.animations, global.ResizeObserver, global.rxjs));
|
|
5
|
+
}(this, (function (exports, common, core, forms, formField, input, select, tabs, animations, checkbox, button, icon, pectin, portal, dialog, router, typescriptUtilities, ___default, progressSpinner, list, tooltip, src, fastMemoizeDecorator, reflectMetadata, animations$1, ResizeObserver, rxjs) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var ___default__default = 'default' in ___default ? ___default['default'] : ___default;
|
|
8
8
|
ResizeObserver = ResizeObserver && Object.prototype.hasOwnProperty.call(ResizeObserver, 'default') ? ResizeObserver['default'] : ResizeObserver;
|
|
@@ -648,6 +648,39 @@
|
|
|
648
648
|
return AbstractInputComponent;
|
|
649
649
|
}(DisposableComponent));
|
|
650
650
|
|
|
651
|
+
var CheckboxInputComponent = /** @class */ (function (_super) {
|
|
652
|
+
__extends(CheckboxInputComponent, _super);
|
|
653
|
+
function CheckboxInputComponent() {
|
|
654
|
+
var _this = _super.call(this) || this;
|
|
655
|
+
_this.color = 'accent';
|
|
656
|
+
_this.labelPosition = 'after';
|
|
657
|
+
return _this;
|
|
658
|
+
}
|
|
659
|
+
CheckboxInputComponent.prototype.ngOnInit = function () {
|
|
660
|
+
};
|
|
661
|
+
__decorate([
|
|
662
|
+
core.Input(), pectin.TrackExternal({ delegateTo: 'delegatingFormValueModel' }),
|
|
663
|
+
__metadata("design:type", Object)
|
|
664
|
+
], CheckboxInputComponent.prototype, "valueModel", void 0);
|
|
665
|
+
__decorate([
|
|
666
|
+
core.Input(),
|
|
667
|
+
__metadata("design:type", String)
|
|
668
|
+
], CheckboxInputComponent.prototype, "color", void 0);
|
|
669
|
+
__decorate([
|
|
670
|
+
core.Input(),
|
|
671
|
+
__metadata("design:type", String)
|
|
672
|
+
], CheckboxInputComponent.prototype, "labelPosition", void 0);
|
|
673
|
+
CheckboxInputComponent = __decorate([
|
|
674
|
+
core.Component({
|
|
675
|
+
selector: 'aup-checkbox-input',
|
|
676
|
+
template: "<mat-checkbox\n [(ngModel)]=\"valueModel.value\"\n [color]=\"color\"\n [labelPosition]=\"labelPosition\"\n [disabled]=\"!isEnabled()\"\n>{{label}}</mat-checkbox>\n<mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n<mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n",
|
|
677
|
+
styles: [":host{display:inline-flex;flex-direction:column;margin-top:24px;margin-bottom:16px}mat-error,mat-hint{margin-top:4px;margin-left:24px;font-size:12px;font-weight:400;line-height:13.5px}"]
|
|
678
|
+
}),
|
|
679
|
+
__metadata("design:paramtypes", [])
|
|
680
|
+
], CheckboxInputComponent);
|
|
681
|
+
return CheckboxInputComponent;
|
|
682
|
+
}(AbstractInputComponent));
|
|
683
|
+
|
|
651
684
|
var NumberInputComponent = /** @class */ (function (_super) {
|
|
652
685
|
__extends(NumberInputComponent, _super);
|
|
653
686
|
function NumberInputComponent() {
|
|
@@ -656,7 +689,7 @@
|
|
|
656
689
|
NumberInputComponent.prototype.ngOnInit = function () {
|
|
657
690
|
};
|
|
658
691
|
__decorate([
|
|
659
|
-
core.Input(), pectin.TrackExternal({ delegateTo:
|
|
692
|
+
core.Input(), pectin.TrackExternal({ delegateTo: 'delegatingFormValueModel' }),
|
|
660
693
|
__metadata("design:type", Object)
|
|
661
694
|
], NumberInputComponent.prototype, "valueModel", void 0);
|
|
662
695
|
NumberInputComponent = __decorate([
|
|
@@ -758,7 +791,7 @@
|
|
|
758
791
|
StringInputComponent.prototype.ngOnInit = function () {
|
|
759
792
|
};
|
|
760
793
|
__decorate([
|
|
761
|
-
core.Input(), pectin.TrackExternal({ delegateTo:
|
|
794
|
+
core.Input(), pectin.TrackExternal({ delegateTo: 'delegatingFormValueModel' }),
|
|
762
795
|
__metadata("design:type", Object)
|
|
763
796
|
], StringInputComponent.prototype, "valueModel", void 0);
|
|
764
797
|
__decorate([
|
|
@@ -956,6 +989,7 @@
|
|
|
956
989
|
StringInputComponent,
|
|
957
990
|
PasswordInputComponent,
|
|
958
991
|
SelectInputComponent,
|
|
992
|
+
CheckboxInputComponent,
|
|
959
993
|
ScrollContainerComponent,
|
|
960
994
|
NoopComponent,
|
|
961
995
|
AbstractInputComponent,
|
|
@@ -973,12 +1007,14 @@
|
|
|
973
1007
|
tabs.MatTabsModule,
|
|
974
1008
|
DirectivesModule,
|
|
975
1009
|
icon.MatIconModule,
|
|
976
|
-
button.MatButtonModule
|
|
1010
|
+
button.MatButtonModule,
|
|
1011
|
+
checkbox.MatCheckboxModule
|
|
977
1012
|
],
|
|
978
1013
|
exports: [
|
|
979
1014
|
NumberInputComponent,
|
|
980
1015
|
StringInputComponent,
|
|
981
1016
|
PasswordInputComponent,
|
|
1017
|
+
CheckboxInputComponent,
|
|
982
1018
|
SelectInputComponent,
|
|
983
1019
|
ScrollContainerComponent,
|
|
984
1020
|
NoopComponent,
|
|
@@ -1528,7 +1564,7 @@
|
|
|
1528
1564
|
}());
|
|
1529
1565
|
|
|
1530
1566
|
var inplaceMonitorCount = 0;
|
|
1531
|
-
exports.ɵ
|
|
1567
|
+
exports.ɵba = /** @class */ (function () {
|
|
1532
1568
|
function InteractionService(modelInteractionContextFactory) {
|
|
1533
1569
|
this.modelInteractionContextFactory = modelInteractionContextFactory;
|
|
1534
1570
|
this.garbage = new pectin.GarbageCollector();
|
|
@@ -1688,7 +1724,7 @@
|
|
|
1688
1724
|
return ApiAdapter;
|
|
1689
1725
|
}());
|
|
1690
1726
|
InteractionService.ApiAdapter = ApiAdapter;
|
|
1691
|
-
})(exports.ɵ
|
|
1727
|
+
})(exports.ɵba || (exports.ɵba = {}));
|
|
1692
1728
|
|
|
1693
1729
|
var InPlaceInteractionContextComponent = /** @class */ (function (_super) {
|
|
1694
1730
|
__extends(InPlaceInteractionContextComponent, _super);
|
|
@@ -1732,7 +1768,7 @@
|
|
|
1732
1768
|
return this.activityContainerComponent.startActivity(activityType, data);
|
|
1733
1769
|
};
|
|
1734
1770
|
InPlaceInteractionContextComponent.ctorParameters = function () { return [
|
|
1735
|
-
{ type: exports.ɵ
|
|
1771
|
+
{ type: exports.ɵba }
|
|
1736
1772
|
]; };
|
|
1737
1773
|
__decorate([
|
|
1738
1774
|
core.ViewChild('activityContainer', { static: true }),
|
|
@@ -1744,7 +1780,7 @@
|
|
|
1744
1780
|
template: "<mat-tab-group no-tab-header [selectedIndex]=\"isActive() ? 1 : 0\" full-height-tabs [dynamicHeight]=\"false\">\n <mat-tab>\n <ng-content></ng-content>\n </mat-tab>\n <mat-tab>\n <aup-activity-container #activityContainer [dynamicHeight]=\"false\"></aup-activity-container>\n </mat-tab>\n</mat-tab-group>\n\n",
|
|
1745
1781
|
styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}"]
|
|
1746
1782
|
}),
|
|
1747
|
-
__metadata("design:paramtypes", [exports.ɵ
|
|
1783
|
+
__metadata("design:paramtypes", [exports.ɵba])
|
|
1748
1784
|
], InPlaceInteractionContextComponent);
|
|
1749
1785
|
return InPlaceInteractionContextComponent;
|
|
1750
1786
|
}(DisposableComponent));
|
|
@@ -1782,7 +1818,7 @@
|
|
|
1782
1818
|
AlertDialogComponent
|
|
1783
1819
|
],
|
|
1784
1820
|
providers: [
|
|
1785
|
-
exports.ɵ
|
|
1821
|
+
exports.ɵba,
|
|
1786
1822
|
]
|
|
1787
1823
|
})
|
|
1788
1824
|
], InteractionModule);
|
|
@@ -2901,7 +2937,7 @@
|
|
|
2901
2937
|
return PopStateNavigation;
|
|
2902
2938
|
}(AbstractPopStateNavigation));
|
|
2903
2939
|
|
|
2904
|
-
exports.ɵ
|
|
2940
|
+
exports.ɵbd = /** @class */ (function () {
|
|
2905
2941
|
function PlaceHistory() {
|
|
2906
2942
|
this._archive = new Map();
|
|
2907
2943
|
this.placeHistoryDepth = 4;
|
|
@@ -3038,7 +3074,7 @@
|
|
|
3038
3074
|
// }
|
|
3039
3075
|
//
|
|
3040
3076
|
// }
|
|
3041
|
-
})(exports.ɵ
|
|
3077
|
+
})(exports.ɵbd || (exports.ɵbd = {}));
|
|
3042
3078
|
|
|
3043
3079
|
exports.UrlSnapshot = /** @class */ (function () {
|
|
3044
3080
|
// TODO: Update this accept a url Parser so it can be immutable and generate new trees on mutation using toString() are parseUrl.
|
|
@@ -3298,7 +3334,7 @@
|
|
|
3298
3334
|
_this.navigationSessionName = chain(_this.navigationSessionModel)
|
|
3299
3335
|
.pluck('name')
|
|
3300
3336
|
.otherwise(idleStateName);
|
|
3301
|
-
pectin.DebugContext.tag(_this._activeVisits,
|
|
3337
|
+
pectin.DebugContext.tag(_this._activeVisits, 'PlaceRouter.activeVisits');
|
|
3302
3338
|
_this.activeVisitsByPlaceDefinition = chain(_this._activeVisits).indexBy('placeDefinition');
|
|
3303
3339
|
// TODO: make setup the callbacks in during module initiation to make this testable.
|
|
3304
3340
|
angularRouter.events.subscribe(function (event) {
|
|
@@ -3561,11 +3597,11 @@
|
|
|
3561
3597
|
PlaceRouter.ctorParameters = function () { return [
|
|
3562
3598
|
{ type: router.Router },
|
|
3563
3599
|
{ type: common.Location },
|
|
3564
|
-
{ type: exports.ɵ
|
|
3600
|
+
{ type: exports.ɵba },
|
|
3565
3601
|
{ type: UrlService },
|
|
3566
|
-
{ type: exports.ɵ
|
|
3602
|
+
{ type: exports.ɵbd }
|
|
3567
3603
|
]; };
|
|
3568
|
-
PlaceRouter.ɵprov = core.ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(core.ɵɵinject(router.Router), core.ɵɵinject(common.Location), core.ɵɵinject(exports.ɵ
|
|
3604
|
+
PlaceRouter.ɵprov = core.ɵɵdefineInjectable({ factory: function PlaceRouter_Factory() { return new PlaceRouter(core.ɵɵinject(router.Router), core.ɵɵinject(common.Location), core.ɵɵinject(exports.ɵba), core.ɵɵinject(UrlService), core.ɵɵinject(exports.ɵbd)); }, token: PlaceRouter, providedIn: "root" });
|
|
3569
3605
|
__decorate([
|
|
3570
3606
|
pectin.Trace(),
|
|
3571
3607
|
__metadata("design:type", Function),
|
|
@@ -3578,9 +3614,9 @@
|
|
|
3578
3614
|
}),
|
|
3579
3615
|
__metadata("design:paramtypes", [router.Router,
|
|
3580
3616
|
common.Location,
|
|
3581
|
-
exports.ɵ
|
|
3617
|
+
exports.ɵba,
|
|
3582
3618
|
UrlService,
|
|
3583
|
-
exports.ɵ
|
|
3619
|
+
exports.ɵbd])
|
|
3584
3620
|
], PlaceRouter);
|
|
3585
3621
|
return PlaceRouter;
|
|
3586
3622
|
}(pectin.GarbageCollector));
|
|
@@ -4140,7 +4176,7 @@
|
|
|
4140
4176
|
var _this = _super.call(this) || this;
|
|
4141
4177
|
_this.elementRef = elementRef;
|
|
4142
4178
|
_this.ngZone = ngZone;
|
|
4143
|
-
_this._boundsModel = new pectin.
|
|
4179
|
+
_this._boundsModel = new pectin.MutableValueModel(new exports.Bounds(0, 0, 0, 0));
|
|
4144
4180
|
return _this;
|
|
4145
4181
|
}
|
|
4146
4182
|
ResizeAwareComponent.prototype.ngAfterViewInit = function () {
|
|
@@ -4658,7 +4694,10 @@
|
|
|
4658
4694
|
mechanics.binding.dispose();
|
|
4659
4695
|
}
|
|
4660
4696
|
if (userModel) {
|
|
4661
|
-
mechanics.binding = new pectin.Binding(mechanics.backingModel, userModel
|
|
4697
|
+
mechanics.binding = new pectin.Binding(mechanics.backingModel, userModel, {
|
|
4698
|
+
toLeft: pectin.Functions.identity,
|
|
4699
|
+
toRight: pectin.Functions.identity
|
|
4700
|
+
});
|
|
4662
4701
|
if (isEmpty(userModel)) {
|
|
4663
4702
|
// console.log(`Push visit to model for ${tag}`, {value: mechanics.backingModel.value});
|
|
4664
4703
|
mechanics.binding.writeRight(); // push the visit into the user model;
|
|
@@ -4677,7 +4716,7 @@
|
|
|
4677
4716
|
return function (prototype, propertyKey) {
|
|
4678
4717
|
var param = new exports.ParameterDefinition.RouteId(propertyKey.toString(), options, type);
|
|
4679
4718
|
typescriptUtilities.Klass.get(prototype).addToOwnMetadataList(ROUTE_PARAMETER_LIST_KEY, param);
|
|
4680
|
-
installMechanics(prototype, propertyKey, new pectin.MutableValueModel(),
|
|
4719
|
+
installMechanics(prototype, propertyKey, new pectin.MutableValueModel(), '@RouteId', function (m) { return m.query().isNil(); });
|
|
4681
4720
|
};
|
|
4682
4721
|
}
|
|
4683
4722
|
function VisitParameter(options) {
|
|
@@ -4685,7 +4724,7 @@
|
|
|
4685
4724
|
return function (prototype, propertyKey) {
|
|
4686
4725
|
var param = new exports.ParameterDefinition.ValueParameter(propertyKey.toString(), options, opts.getOptional('storeInUrl', null));
|
|
4687
4726
|
typescriptUtilities.Klass.get(prototype).addToOwnMetadataList(ROUTE_PARAMETER_LIST_KEY, param);
|
|
4688
|
-
installMechanics(prototype, propertyKey, new pectin.MutableValueModel(),
|
|
4727
|
+
installMechanics(prototype, propertyKey, new pectin.MutableValueModel(), '@VisitParameter', function (m) { return m.query().isNil(); });
|
|
4689
4728
|
};
|
|
4690
4729
|
}
|
|
4691
4730
|
function VisitParameterList(options) {
|
|
@@ -4693,7 +4732,7 @@
|
|
|
4693
4732
|
return function (prototype, propertyKey) {
|
|
4694
4733
|
var param = new exports.ParameterDefinition.ArrayParameter(propertyKey.toString(), options, opts.getOptional('storeInUrl', null));
|
|
4695
4734
|
typescriptUtilities.Klass.get(prototype).addToOwnMetadataList(ROUTE_PARAMETER_LIST_KEY, param);
|
|
4696
|
-
installMechanics(prototype, propertyKey, new pectin.MutableListModel(),
|
|
4735
|
+
installMechanics(prototype, propertyKey, new pectin.MutableListModel(), '@VisitParameterList', function (m) { return m.query().isEmpty(); });
|
|
4697
4736
|
};
|
|
4698
4737
|
}
|
|
4699
4738
|
|
|
@@ -4710,6 +4749,7 @@
|
|
|
4710
4749
|
exports.AlertDialogComponent = AlertDialogComponent;
|
|
4711
4750
|
exports.AngularUiPowerupsModule = AngularUiPowerupsModule;
|
|
4712
4751
|
exports.BusyOverlayComponent = BusyOverlayComponent;
|
|
4752
|
+
exports.CheckboxInputComponent = CheckboxInputComponent;
|
|
4713
4753
|
exports.CommandDirective = CommandDirective;
|
|
4714
4754
|
exports.ComponentsModule = ComponentsModule;
|
|
4715
4755
|
exports.ConfirmThenDialogComponent = ConfirmThenDialogComponent;
|
|
@@ -4727,7 +4767,7 @@
|
|
|
4727
4767
|
exports.FocusBindingDirective = FocusBindingDirective;
|
|
4728
4768
|
exports.InPlaceInteractionContextComponent = InPlaceInteractionContextComponent;
|
|
4729
4769
|
exports.InteractionModule = InteractionModule;
|
|
4730
|
-
exports.InteractionService = exports.ɵ
|
|
4770
|
+
exports.InteractionService = exports.ɵba;
|
|
4731
4771
|
exports.InteractionServiceRoutingAdapter = InteractionServiceRoutingAdapter;
|
|
4732
4772
|
exports.LEFT_RIGHT_PLACE_ANIMATION = LEFT_RIGHT_PLACE_ANIMATION;
|
|
4733
4773
|
exports.ListPlaceNavComponent = ListPlaceNavComponent;
|
|
@@ -4743,7 +4783,7 @@
|
|
|
4743
4783
|
exports.PlaceComponentDeactivationHandler = PlaceComponentDeactivationHandler;
|
|
4744
4784
|
exports.PlaceDefinition = PlaceDefinition;
|
|
4745
4785
|
exports.PlaceGuard = PlaceGuard;
|
|
4746
|
-
exports.PlaceHistory = exports.ɵ
|
|
4786
|
+
exports.PlaceHistory = exports.ɵbd;
|
|
4747
4787
|
exports.PlaceModule = PlaceModule;
|
|
4748
4788
|
exports.PlaceOutletComponent = PlaceOutletComponent;
|
|
4749
4789
|
exports.PlaceRouter = PlaceRouter;
|
|
@@ -4776,21 +4816,21 @@
|
|
|
4776
4816
|
exports.slideRightOnEnterAnimation = slideRightOnEnterAnimation;
|
|
4777
4817
|
exports.ɵa = DirectivesModule;
|
|
4778
4818
|
exports.ɵb = CommandDirective;
|
|
4779
|
-
exports.ɵ
|
|
4780
|
-
exports.ɵ
|
|
4781
|
-
exports.ɵ
|
|
4782
|
-
exports.ɵ
|
|
4783
|
-
exports.ɵ
|
|
4784
|
-
exports.ɵ
|
|
4785
|
-
exports.ɵ
|
|
4786
|
-
exports.ɵ
|
|
4787
|
-
exports.ɵ
|
|
4788
|
-
exports.ɵ
|
|
4789
|
-
exports.ɵ
|
|
4790
|
-
exports.ɵ
|
|
4791
|
-
exports.ɵ
|
|
4792
|
-
exports.ɵ
|
|
4793
|
-
exports.ɵ
|
|
4819
|
+
exports.ɵbb = ModalInteractionContextFactory;
|
|
4820
|
+
exports.ɵbc = UrlService;
|
|
4821
|
+
exports.ɵbe = TabbedPlaceNavigationComponent;
|
|
4822
|
+
exports.ɵbf = AbstractPlaceNavigationComponent;
|
|
4823
|
+
exports.ɵbg = ListPlaceNavComponent;
|
|
4824
|
+
exports.ɵbh = InteractionModule;
|
|
4825
|
+
exports.ɵbi = ActivityContainerComponent;
|
|
4826
|
+
exports.ɵbj = AbstractInteractionContext;
|
|
4827
|
+
exports.ɵbk = ActivityOutletComponent;
|
|
4828
|
+
exports.ɵbl = ConfirmationDialogComponent;
|
|
4829
|
+
exports.ɵbm = ACTIVITY_DATA;
|
|
4830
|
+
exports.ɵbn = Activity;
|
|
4831
|
+
exports.ɵbp = ConfirmThenDialogComponent;
|
|
4832
|
+
exports.ɵbq = AlertDialogComponent;
|
|
4833
|
+
exports.ɵbs = InPlaceInteractionContextComponent;
|
|
4794
4834
|
exports.ɵc = FocusBindingDirective;
|
|
4795
4835
|
exports.ɵd = DisposableComponent;
|
|
4796
4836
|
exports.ɵe = ComponentsModule;
|
|
@@ -4799,20 +4839,21 @@
|
|
|
4799
4839
|
exports.ɵh = StringInputComponent;
|
|
4800
4840
|
exports.ɵi = PasswordInputComponent;
|
|
4801
4841
|
exports.ɵj = SelectInputComponent;
|
|
4802
|
-
exports.ɵk =
|
|
4803
|
-
exports.ɵl =
|
|
4804
|
-
exports.ɵm =
|
|
4805
|
-
exports.ɵn =
|
|
4806
|
-
exports.ɵo =
|
|
4807
|
-
exports.ɵp =
|
|
4808
|
-
exports.ɵq =
|
|
4809
|
-
exports.ɵr =
|
|
4810
|
-
exports.ɵs =
|
|
4811
|
-
exports.ɵt =
|
|
4812
|
-
exports.ɵu =
|
|
4813
|
-
exports.ɵv =
|
|
4814
|
-
exports.ɵw =
|
|
4815
|
-
exports.ɵ
|
|
4842
|
+
exports.ɵk = CheckboxInputComponent;
|
|
4843
|
+
exports.ɵl = ScrollContainerComponent;
|
|
4844
|
+
exports.ɵm = NoopComponent;
|
|
4845
|
+
exports.ɵn = SwitchCaseOption;
|
|
4846
|
+
exports.ɵo = SwitchCaseWhenDirective;
|
|
4847
|
+
exports.ɵp = SwitchCaseDefaultDirective;
|
|
4848
|
+
exports.ɵq = SwitchCaseComponent;
|
|
4849
|
+
exports.ɵr = PlaceModule;
|
|
4850
|
+
exports.ɵs = EmptyStateComponent;
|
|
4851
|
+
exports.ɵt = BusyOverlayComponent;
|
|
4852
|
+
exports.ɵu = PlaceOutletComponent;
|
|
4853
|
+
exports.ɵv = leftRightPlaceAnimation;
|
|
4854
|
+
exports.ɵw = LEFT_RIGHT_PLACE_ANIMATION;
|
|
4855
|
+
exports.ɵx = AUP_PLACE_CONFIG;
|
|
4856
|
+
exports.ɵz = PlaceRouter;
|
|
4816
4857
|
|
|
4817
4858
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4818
4859
|
|