@theseam/ui-common 0.3.7 → 0.3.9
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/breadcrumbs/_breadcrumbs-theme.scss +3 -3
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.scss +10 -10
- package/bundles/theseam-ui-common-framework.umd.js +40 -13
- package/bundles/theseam-ui-common-framework.umd.js.map +1 -1
- package/bundles/theseam-ui-common-google-maps.umd.js +1 -1
- package/bundles/theseam-ui-common-google-maps.umd.js.map +1 -1
- package/bundles/theseam-ui-common-utils.umd.js +83 -5
- package/bundles/theseam-ui-common-utils.umd.js.map +1 -1
- package/esm2015/framework/base-layout/base-layout.module.js +4 -1
- package/esm2015/framework/base-layout/directives/base-layout-side-bar-footer.directive.js +15 -0
- package/esm2015/framework/side-nav/side-nav.component.js +16 -6
- package/esm2015/framework/side-nav/side-nav.module.js +4 -2
- package/esm2015/framework/theseam-ui-common-framework.js +10 -9
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.js +2 -2
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.js +1 -1
- package/esm2015/utils/geo-json/coerce-feature-collection.js +1 -1
- package/esm2015/utils/geo-json/geo-json-to-area.js +1 -1
- package/esm2015/utils/geo-json/is-feature-collection.validator.js +1 -1
- package/esm2015/utils/geo-json/is-only-geometry-types.js +1 -1
- package/esm2015/utils/geo-json/is-only-geometry-types.validator.js +1 -1
- package/esm2015/utils/geo-json/merge-polygons.js +1 -1
- package/esm2015/utils/geo-json/min-max-points.validator.js +56 -0
- package/esm2015/utils/geo-json/no-inner-rings.validator.js +1 -1
- package/esm2015/utils/geo-json/no-kinks.validator.js +2 -2
- package/esm2015/utils/geo-json/split-multi-polygons.js +1 -1
- package/esm2015/utils/public-api.js +2 -1
- package/fesm2015/theseam-ui-common-framework.js +31 -6
- package/fesm2015/theseam-ui-common-framework.js.map +1 -1
- package/fesm2015/theseam-ui-common-google-maps.js +1 -1
- package/fesm2015/theseam-ui-common-google-maps.js.map +1 -1
- package/fesm2015/theseam-ui-common-utils.js +59 -6
- package/fesm2015/theseam-ui-common-utils.js.map +1 -1
- package/framework/base-layout/directives/base-layout-side-bar-footer.directive.d.ts +6 -0
- package/framework/side-nav/side-nav.component.d.ts +7 -2
- package/framework/theseam-ui-common-framework.d.ts +9 -8
- package/framework/theseam-ui-common-framework.metadata.json +1 -1
- package/framework/top-bar/_top-bar-theme.scss +5 -5
- package/google-maps/theseam-ui-common-google-maps.metadata.json +1 -1
- package/package.json +1 -1
- package/utils/geo-json/min-max-points.validator.d.ts +3 -0
- package/utils/public-api.d.ts +1 -0
- package/utils/theseam-ui-common-utils.metadata.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@import './styles/utilities';
|
|
2
|
-
|
|
3
|
-
@import './breadcrumbs/breadcrumbs.component.scss';
|
|
1
|
+
@import './styles/utilities';
|
|
2
|
+
|
|
3
|
+
@import './breadcrumbs/breadcrumbs.component.scss';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
@import '../styles/utilities';
|
|
2
|
-
|
|
3
|
-
seam-breadcrumbs {
|
|
4
|
-
li {
|
|
5
|
-
color: $breadcrumb-color;
|
|
6
|
-
a {
|
|
7
|
-
color: inherit;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
@import '../styles/utilities';
|
|
2
|
+
|
|
3
|
+
seam-breadcrumbs {
|
|
4
|
+
li {
|
|
5
|
+
color: $breadcrumb-color;
|
|
6
|
+
a {
|
|
7
|
+
color: inherit;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -261,6 +261,21 @@
|
|
|
261
261
|
_contentFooterTpl: [{ type: i0.ContentChild, args: [BaseLayoutContentFooterDirective, { static: true, read: i0.TemplateRef },] }]
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
+
var BaseLayoutSideBarFooterDirective = /** @class */ (function () {
|
|
265
|
+
function BaseLayoutSideBarFooterDirective(_elementRef) {
|
|
266
|
+
this._elementRef = _elementRef;
|
|
267
|
+
}
|
|
268
|
+
return BaseLayoutSideBarFooterDirective;
|
|
269
|
+
}());
|
|
270
|
+
BaseLayoutSideBarFooterDirective.decorators = [
|
|
271
|
+
{ type: i0.Directive, args: [{
|
|
272
|
+
selector: '[seamBaseLayoutSideBarFooter]'
|
|
273
|
+
},] }
|
|
274
|
+
];
|
|
275
|
+
BaseLayoutSideBarFooterDirective.ctorParameters = function () { return [
|
|
276
|
+
{ type: i0.ElementRef }
|
|
277
|
+
]; };
|
|
278
|
+
|
|
264
279
|
var TheSeamBaseLayoutModule = /** @class */ (function () {
|
|
265
280
|
function TheSeamBaseLayoutModule() {
|
|
266
281
|
}
|
|
@@ -272,6 +287,7 @@
|
|
|
272
287
|
TheSeamBaseLayoutComponent,
|
|
273
288
|
BaseLayoutContentDirective,
|
|
274
289
|
BaseLayoutSideBarDirective,
|
|
290
|
+
BaseLayoutSideBarFooterDirective,
|
|
275
291
|
BaseLayoutTopBarDirective,
|
|
276
292
|
BaseLayoutNavToggleDirective,
|
|
277
293
|
BaseLayoutContentHeaderDirective,
|
|
@@ -288,6 +304,7 @@
|
|
|
288
304
|
TheSeamBaseLayoutComponent,
|
|
289
305
|
BaseLayoutContentDirective,
|
|
290
306
|
BaseLayoutSideBarDirective,
|
|
307
|
+
BaseLayoutSideBarFooterDirective,
|
|
291
308
|
BaseLayoutTopBarDirective,
|
|
292
309
|
BaseLayoutNavToggleDirective,
|
|
293
310
|
BaseLayoutContentHeaderDirective,
|
|
@@ -1750,8 +1767,9 @@
|
|
|
1750
1767
|
(EXPANDED_STATES.indexOf(toState) !== -1 && COLLAPSED_STATES.indexOf(fromState) !== -1)));
|
|
1751
1768
|
}
|
|
1752
1769
|
var SideNavComponent = /** @class */ (function () {
|
|
1753
|
-
function SideNavComponent(_layout, _sideNav, _baseLayoutRef) {
|
|
1770
|
+
function SideNavComponent(_viewContainerRef, _layout, _sideNav, _baseLayoutRef) {
|
|
1754
1771
|
var _this = this;
|
|
1772
|
+
this._viewContainerRef = _viewContainerRef;
|
|
1755
1773
|
this._layout = _layout;
|
|
1756
1774
|
this._sideNav = _sideNav;
|
|
1757
1775
|
this._baseLayoutRef = _baseLayoutRef;
|
|
@@ -1763,9 +1781,10 @@
|
|
|
1763
1781
|
this.hasHeaderToggle = true;
|
|
1764
1782
|
this._items = new rxjs.BehaviorSubject([]);
|
|
1765
1783
|
this._expanded = new rxjs.BehaviorSubject(true);
|
|
1766
|
-
this.expanded$ = this._expanded.asObservable();
|
|
1784
|
+
this.expanded$ = this._expanded.asObservable().pipe(operators.tap(function (expanded) { return _this.toggleExpand.emit(expanded); }));
|
|
1767
1785
|
this._overlay = new rxjs.BehaviorSubject(false);
|
|
1768
1786
|
this.overlay$ = this._overlay.asObservable();
|
|
1787
|
+
this.toggleExpand = new i0.EventEmitter();
|
|
1769
1788
|
this._backdropHidden = new rxjs.BehaviorSubject(true);
|
|
1770
1789
|
this.items$ = this._items.asObservable().pipe(operators.switchMap(function (items) { return _this._sideNav.createItemsObservable(items); }), operators.shareReplay({ bufferSize: 1, refCount: true }));
|
|
1771
1790
|
this.isMobile$ = this._layout.isMobile$.pipe(operators.tap(function (isMobile) { return isMobile && _this.collapse(); }));
|
|
@@ -1805,6 +1824,9 @@
|
|
|
1805
1824
|
this.sideNavExpandedState$
|
|
1806
1825
|
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
1807
1826
|
.subscribe(function (v) { return _this._sideNavExpand = v; });
|
|
1827
|
+
if (this._sideBarFooterTpl) {
|
|
1828
|
+
this._sideBarFooterPortal = new portal.TemplatePortal(this._sideBarFooterTpl, this._viewContainerRef);
|
|
1829
|
+
}
|
|
1808
1830
|
};
|
|
1809
1831
|
SideNavComponent.prototype.ngOnDestroy = function () {
|
|
1810
1832
|
this._ngUnsubscribe.next();
|
|
@@ -1837,7 +1859,7 @@
|
|
|
1837
1859
|
SideNavComponent.decorators = [
|
|
1838
1860
|
{ type: i0.Component, args: [{
|
|
1839
1861
|
selector: 'seam-side-nav',
|
|
1840
|
-
template: "<div class=\"side-nav-backdrop\" *ngIf=\"isMobile$ | async\"\n [@sideNavBackdrop]=\"_sideNavExpand\"\n [class.side-nav-backdrop-hidden]=\"_backdropHidden | async\"></div>\n\n<div class=\"side-nav-inner-wrapper\" [@sideNavExpand]=\"_sideNavExpand\"\n (@sideNavExpand.start)=\"animateStart()\"\n (@sideNavExpand.done)=\"animateEnd()\">\n <nav class=\"nav side-nav-content\">\n <seam-side-nav-toggle *ngIf=\"hasHeaderToggle\"\n [expanded]=\"expanded$ | async\"\n (toggleExpand)=\"toggle()\">\n </seam-side-nav-toggle>\n <div class=\"side-nav-items-container\" seamOverlayScrollbar>\n <seam-side-nav-item *ngFor=\"let item of items$ | async\"\n [compact]=\"!(expanded$ | async)\"\n [itemType]=\"$any(item)?.itemType\"\n [icon]=\"$any(item)?.icon\"\n [label]=\"$any(item)?.label\"\n [link]=\"$any(item)?.link\"\n [badgeText]=\"$any(item)?.badge?.text\"\n [badgeTheme]=\"$any(item)?.badge?.theme || 'danger'\"\n [badgeSrContent]=\"$any(item)?.badge?.srContent\"\n [badgeTooltip]=\"$any(item)?.badge?.tooltip\"\n [queryParams]=\"$any(item)?.queryParams\"\n [children]=\"$any(item)?.children\"\n [active]=\"$any(item).__state.active\"\n [expanded]=\"$any(item).__state.expanded\">\n </seam-side-nav-item>\n </div>\n </nav>\n</div>\n",
|
|
1862
|
+
template: "<div class=\"side-nav-backdrop\" *ngIf=\"isMobile$ | async\"\n [@sideNavBackdrop]=\"_sideNavExpand\"\n [class.side-nav-backdrop-hidden]=\"_backdropHidden | async\"></div>\n\n<div class=\"side-nav-inner-wrapper\" [@sideNavExpand]=\"_sideNavExpand\"\n (@sideNavExpand.start)=\"animateStart()\"\n (@sideNavExpand.done)=\"animateEnd()\">\n <nav class=\"nav side-nav-content\">\n <seam-side-nav-toggle *ngIf=\"hasHeaderToggle\"\n [expanded]=\"expanded$ | async\"\n (toggleExpand)=\"toggle()\">\n </seam-side-nav-toggle>\n <div class=\"side-nav-items-container\" seamOverlayScrollbar>\n <seam-side-nav-item *ngFor=\"let item of items$ | async\"\n [compact]=\"!(expanded$ | async)\"\n [itemType]=\"$any(item)?.itemType\"\n [icon]=\"$any(item)?.icon\"\n [label]=\"$any(item)?.label\"\n [link]=\"$any(item)?.link\"\n [badgeText]=\"$any(item)?.badge?.text\"\n [badgeTheme]=\"$any(item)?.badge?.theme || 'danger'\"\n [badgeSrContent]=\"$any(item)?.badge?.srContent\"\n [badgeTooltip]=\"$any(item)?.badge?.tooltip\"\n [queryParams]=\"$any(item)?.queryParams\"\n [children]=\"$any(item)?.children\"\n [active]=\"$any(item).__state.active\"\n [expanded]=\"$any(item).__state.expanded\">\n </seam-side-nav-item>\n </div>\n <ng-template [cdkPortalOutlet]=\"_sideBarFooterPortal\"></ng-template>\n </nav>\n</div>\n",
|
|
1841
1863
|
providers: [
|
|
1842
1864
|
TheSeamSideNavService
|
|
1843
1865
|
],
|
|
@@ -1910,6 +1932,7 @@
|
|
|
1910
1932
|
},] }
|
|
1911
1933
|
];
|
|
1912
1934
|
SideNavComponent.ctorParameters = function () { return [
|
|
1935
|
+
{ type: i0.ViewContainerRef },
|
|
1913
1936
|
{ type: layout.TheSeamLayoutService },
|
|
1914
1937
|
{ type: TheSeamSideNavService },
|
|
1915
1938
|
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_BASE_LAYOUT_REF,] }] }
|
|
@@ -1919,7 +1942,9 @@
|
|
|
1919
1942
|
hasHeaderToggle: [{ type: i0.Input }],
|
|
1920
1943
|
items: [{ type: i0.Input }],
|
|
1921
1944
|
expanded: [{ type: i0.Input }],
|
|
1922
|
-
overlay: [{ type: i0.Input }]
|
|
1945
|
+
overlay: [{ type: i0.Input }],
|
|
1946
|
+
toggleExpand: [{ type: i0.Output }],
|
|
1947
|
+
_sideBarFooterTpl: [{ type: i0.ContentChild, args: [BaseLayoutSideBarFooterDirective, { static: true, read: i0.TemplateRef },] }]
|
|
1923
1948
|
};
|
|
1924
1949
|
__decorate([
|
|
1925
1950
|
core.InputBoolean()
|
|
@@ -2148,7 +2173,8 @@
|
|
|
2148
2173
|
a11y.A11yModule,
|
|
2149
2174
|
scrollbar.TheSeamScrollbarModule,
|
|
2150
2175
|
layout.TheSeamLayoutModule,
|
|
2151
|
-
ngBootstrap.NgbTooltipModule
|
|
2176
|
+
ngBootstrap.NgbTooltipModule,
|
|
2177
|
+
portal.PortalModule
|
|
2152
2178
|
],
|
|
2153
2179
|
exports: [
|
|
2154
2180
|
SideNavItemComponent,
|
|
@@ -3330,14 +3356,15 @@
|
|
|
3330
3356
|
exports.slider = slider;
|
|
3331
3357
|
exports.stepper = stepper;
|
|
3332
3358
|
exports.transformer = transformer;
|
|
3333
|
-
exports["ɵa"] =
|
|
3334
|
-
exports["ɵb"] =
|
|
3335
|
-
exports["ɵc"] =
|
|
3336
|
-
exports["ɵd"] =
|
|
3337
|
-
exports["ɵe"] =
|
|
3338
|
-
exports["ɵf"] =
|
|
3339
|
-
exports["ɵg"] =
|
|
3340
|
-
exports["ɵh"] =
|
|
3359
|
+
exports["ɵa"] = BaseLayoutSideBarFooterDirective;
|
|
3360
|
+
exports["ɵb"] = TheSeamSideNavService;
|
|
3361
|
+
exports["ɵc"] = TheSeamSchemaFormControlsModule;
|
|
3362
|
+
exports["ɵd"] = TheSeamSchemaFormCheckboxComponent;
|
|
3363
|
+
exports["ɵe"] = TheSeamSchemaFormSubmitComponent;
|
|
3364
|
+
exports["ɵf"] = TheSeamSchemaFormSelectComponent;
|
|
3365
|
+
exports["ɵg"] = TheSeamSchemaFormInputComponent;
|
|
3366
|
+
exports["ɵh"] = TheSeamSchemaFormNumberComponent;
|
|
3367
|
+
exports["ɵi"] = TheSeamSchemaFormSubmitSplitComponent;
|
|
3341
3368
|
|
|
3342
3369
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3343
3370
|
|