@covalent/core 2.0.0-rc.2 → 2.1.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/breadcrumbs/_breadcrumbs-theme.scss +1 -2
- package/breadcrumbs/breadcrumb/breadcrumb.component.scss +22 -0
- package/breadcrumbs/breadcrumbs.component.scss +7 -0
- package/breadcrumbs/covalent-core-breadcrumbs.metadata.json +1 -1
- package/bundles/covalent-core-breadcrumbs.umd.js +1 -1
- package/bundles/covalent-core-breadcrumbs.umd.min.js +1 -1
- package/bundles/covalent-core-breadcrumbs.umd.min.js.map +1 -1
- package/bundles/covalent-core-chips.umd.js +6 -6
- package/bundles/covalent-core-chips.umd.js.map +1 -1
- package/bundles/covalent-core-chips.umd.min.js +1 -1
- package/bundles/covalent-core-chips.umd.min.js.map +1 -1
- package/bundles/covalent-core-common.umd.js +251 -84
- package/bundles/covalent-core-common.umd.js.map +1 -1
- package/bundles/covalent-core-common.umd.min.js +1 -1
- package/bundles/covalent-core-common.umd.min.js.map +1 -1
- package/bundles/covalent-core-data-table.umd.js +9 -9
- package/bundles/covalent-core-data-table.umd.js.map +1 -1
- package/bundles/covalent-core-data-table.umd.min.js +1 -1
- package/bundles/covalent-core-data-table.umd.min.js.map +1 -1
- package/bundles/covalent-core-dialogs.umd.js +3 -20
- package/bundles/covalent-core-dialogs.umd.js.map +1 -1
- package/bundles/covalent-core-dialogs.umd.min.js +1 -1
- package/bundles/covalent-core-dialogs.umd.min.js.map +1 -1
- package/bundles/covalent-core-expansion-panel.umd.js +1 -1
- package/bundles/covalent-core-expansion-panel.umd.min.js +1 -1
- package/bundles/covalent-core-expansion-panel.umd.min.js.map +1 -1
- package/bundles/covalent-core-file.umd.min.js +1 -1
- package/bundles/covalent-core-file.umd.min.js.map +1 -1
- package/bundles/covalent-core-json-formatter.umd.js +1 -1
- package/bundles/covalent-core-json-formatter.umd.min.js +1 -1
- package/bundles/covalent-core-json-formatter.umd.min.js.map +1 -1
- package/bundles/covalent-core-layout.umd.js +8 -7
- package/bundles/covalent-core-layout.umd.js.map +1 -1
- package/bundles/covalent-core-layout.umd.min.js +1 -1
- package/bundles/covalent-core-layout.umd.min.js.map +1 -1
- package/bundles/covalent-core-loading.umd.js +1 -1
- package/bundles/covalent-core-loading.umd.min.js +1 -1
- package/bundles/covalent-core-loading.umd.min.js.map +1 -1
- package/bundles/covalent-core-media.umd.min.js +1 -1
- package/bundles/covalent-core-media.umd.min.js.map +1 -1
- package/bundles/covalent-core-menu.umd.js +1 -1
- package/bundles/covalent-core-menu.umd.min.js +1 -1
- package/bundles/covalent-core-menu.umd.min.js.map +1 -1
- package/bundles/covalent-core-message.umd.js +1 -1
- package/bundles/covalent-core-message.umd.min.js +1 -1
- package/bundles/covalent-core-message.umd.min.js.map +1 -1
- package/bundles/covalent-core-notifications.umd.min.js +1 -1
- package/bundles/covalent-core-notifications.umd.min.js.map +1 -1
- package/bundles/covalent-core-paging.umd.js +1 -1
- package/bundles/covalent-core-paging.umd.min.js +1 -1
- package/bundles/covalent-core-paging.umd.min.js.map +1 -1
- package/bundles/covalent-core-search.umd.js +5 -4
- package/bundles/covalent-core-search.umd.js.map +1 -1
- package/bundles/covalent-core-search.umd.min.js +1 -1
- package/bundles/covalent-core-search.umd.min.js.map +1 -1
- package/bundles/covalent-core-sidesheet.umd.js +137 -0
- package/bundles/covalent-core-sidesheet.umd.js.map +1 -0
- package/bundles/covalent-core-sidesheet.umd.min.js +2 -0
- package/bundles/covalent-core-sidesheet.umd.min.js.map +1 -0
- package/bundles/covalent-core-steps.umd.js +5 -5
- package/bundles/covalent-core-steps.umd.min.js +1 -1
- package/bundles/covalent-core-steps.umd.min.js.map +1 -1
- package/bundles/covalent-core-tab-select.umd.js +3 -2
- package/bundles/covalent-core-tab-select.umd.js.map +1 -1
- package/bundles/covalent-core-tab-select.umd.min.js +1 -1
- package/bundles/covalent-core-tab-select.umd.min.js.map +1 -1
- package/bundles/covalent-core-virtual-scroll.umd.min.js +1 -1
- package/bundles/covalent-core-virtual-scroll.umd.min.js.map +1 -1
- package/bundles/covalent-core.umd.js +223 -82
- package/bundles/covalent-core.umd.js.map +1 -1
- package/bundles/covalent-core.umd.min.js +1 -1
- package/bundles/covalent-core.umd.min.js.map +1 -1
- package/chips/chips.component.scss +143 -0
- package/chips/covalent-core-chips.metadata.json +1 -1
- package/common/covalent-core-common.d.ts +4 -3
- package/common/covalent-core-common.metadata.json +1 -1
- package/common/directives/fullscreen/fullscreen.directive.d.ts +22 -0
- package/common/material-icons.css.map +1 -1
- package/common/platform.css +10 -10
- package/common/platform.css.map +1 -1
- package/common/styles/_layout.scss +1 -1
- package/covalent-core.d.ts +8 -7
- package/covalent-core.metadata.json +1 -1
- package/data-table/README.md +2 -2
- package/data-table/covalent-core-data-table.metadata.json +1 -1
- package/data-table/data-table-cell/data-table-cell.component.scss +57 -0
- package/data-table/data-table-column/data-table-column.component.scss +78 -0
- package/data-table/data-table-row/data-table-row.component.scss +12 -0
- package/data-table/data-table-table/data-table-table.component.scss +7 -0
- package/data-table/data-table.component.scss +77 -0
- package/dialogs/alert-dialog/alert-dialog.component.scss +3 -0
- package/dialogs/confirm-dialog/confirm-dialog.component.scss +3 -0
- package/dialogs/covalent-core-dialogs.metadata.json +1 -1
- package/dialogs/dialog.component.scss +43 -0
- package/dialogs/prompt-dialog/prompt-dialog.component.scss +15 -0
- package/dialogs/services/dialog.service.d.ts +0 -3
- package/esm2015/breadcrumbs/breadcrumb/breadcrumb.component.js +1 -1
- package/esm2015/chips/chips.component.js +3 -3
- package/esm2015/common/common.module.js +8 -26
- package/esm2015/common/covalent-core-common.js +5 -4
- package/esm2015/common/directives/fullscreen/fullscreen.directive.js +136 -0
- package/esm2015/covalent-core.js +10 -9
- package/esm2015/data-table/data-table-cell/data-table-cell.component.js +1 -1
- package/esm2015/data-table/data-table-column/data-table-column.component.js +1 -1
- package/esm2015/data-table/data-table.component.js +5 -4
- package/esm2015/dialogs/covalent-core-dialogs.js +2 -2
- package/esm2015/dialogs/dialog.component.js +1 -1
- package/esm2015/dialogs/dialogs.module.js +3 -3
- package/esm2015/dialogs/index.js +2 -2
- package/esm2015/dialogs/prompt-dialog/prompt-dialog.component.js +1 -1
- package/esm2015/dialogs/public-api.js +2 -2
- package/esm2015/dialogs/services/dialog.service.js +2 -17
- package/esm2015/expansion-panel/expansion-panel.component.js +1 -1
- package/esm2015/index.js +2 -2
- package/esm2015/json-formatter/json-formatter.component.js +1 -1
- package/esm2015/layout/layout-card-over/layout-card-over.component.js +1 -1
- package/esm2015/layout/layout-manage-list/layout-manage-list.component.js +1 -1
- package/esm2015/layout/layout-nav/layout-nav.component.js +1 -1
- package/esm2015/layout/layout-nav-list/layout-nav-list.component.js +1 -1
- package/esm2015/layout/layout.component.js +1 -1
- package/esm2015/layout/navigation-drawer/navigation-drawer.component.js +12 -3
- package/esm2015/loading/loading.component.js +1 -1
- package/esm2015/menu/menu.component.js +1 -1
- package/esm2015/message/message.component.js +1 -1
- package/esm2015/paging/paging-bar.component.js +1 -1
- package/esm2015/public_api.js +2 -2
- package/esm2015/search/search-box/search-box.component.js +3 -3
- package/esm2015/search/search-input/search-input.component.js +10 -3
- package/esm2015/sidesheet/covalent-core-sidesheet.js +9 -0
- package/esm2015/sidesheet/index.js +6 -0
- package/esm2015/sidesheet/public-api.js +7 -0
- package/esm2015/sidesheet/sidesheet.component.js +70 -0
- package/esm2015/sidesheet/sidesheet.module.js +33 -0
- package/esm2015/steps/nav/nav-step-link/nav-step-link.component.js +1 -1
- package/esm2015/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +1 -1
- package/esm2015/steps/step-body/step-body.component.js +1 -1
- package/esm2015/steps/step-header/step-header.component.js +1 -1
- package/esm2015/steps/steps.component.js +1 -1
- package/esm2015/tab-select/tab-select.component.js +4 -3
- package/esm5/breadcrumbs/breadcrumb/breadcrumb.component.js +1 -1
- package/esm5/chips/chips.component.js +3 -3
- package/esm5/common/common.module.js +8 -26
- package/esm5/common/covalent-core-common.js +5 -4
- package/esm5/common/directives/fullscreen/fullscreen.directive.js +184 -0
- package/esm5/covalent-core.js +10 -9
- package/esm5/data-table/data-table-cell/data-table-cell.component.js +1 -1
- package/esm5/data-table/data-table-column/data-table-column.component.js +1 -1
- package/esm5/data-table/data-table.component.js +5 -4
- package/esm5/dialogs/covalent-core-dialogs.js +2 -2
- package/esm5/dialogs/dialog.component.js +1 -1
- package/esm5/dialogs/dialogs.module.js +3 -3
- package/esm5/dialogs/index.js +2 -2
- package/esm5/dialogs/prompt-dialog/prompt-dialog.component.js +1 -1
- package/esm5/dialogs/public-api.js +2 -2
- package/esm5/dialogs/services/dialog.service.js +2 -17
- package/esm5/expansion-panel/expansion-panel.component.js +1 -1
- package/esm5/index.js +2 -2
- package/esm5/json-formatter/json-formatter.component.js +1 -1
- package/esm5/layout/layout-card-over/layout-card-over.component.js +1 -1
- package/esm5/layout/layout-manage-list/layout-manage-list.component.js +1 -1
- package/esm5/layout/layout-nav/layout-nav.component.js +1 -1
- package/esm5/layout/layout-nav-list/layout-nav-list.component.js +1 -1
- package/esm5/layout/layout.component.js +1 -1
- package/esm5/layout/navigation-drawer/navigation-drawer.component.js +12 -3
- package/esm5/loading/loading.component.js +1 -1
- package/esm5/menu/menu.component.js +1 -1
- package/esm5/message/message.component.js +1 -1
- package/esm5/paging/paging-bar.component.js +1 -1
- package/esm5/public_api.js +2 -2
- package/esm5/search/search-box/search-box.component.js +3 -3
- package/esm5/search/search-input/search-input.component.js +10 -3
- package/esm5/sidesheet/covalent-core-sidesheet.js +9 -0
- package/esm5/sidesheet/index.js +6 -0
- package/esm5/sidesheet/public-api.js +7 -0
- package/esm5/sidesheet/sidesheet.component.js +88 -0
- package/esm5/sidesheet/sidesheet.module.js +37 -0
- package/esm5/steps/nav/nav-step-link/nav-step-link.component.js +1 -1
- package/esm5/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +1 -1
- package/esm5/steps/step-body/step-body.component.js +1 -1
- package/esm5/steps/step-header/step-header.component.js +1 -1
- package/esm5/steps/steps.component.js +1 -1
- package/esm5/tab-select/tab-select.component.js +4 -3
- package/expansion-panel/covalent-core-expansion-panel.metadata.json +1 -1
- package/expansion-panel/expansion-panel-group.component.scss +0 -0
- package/expansion-panel/expansion-panel.component.scss +50 -0
- package/fesm2015/covalent-core-breadcrumbs.js +1 -1
- package/fesm2015/covalent-core-chips.js +2 -3
- package/fesm2015/covalent-core-chips.js.map +1 -1
- package/fesm2015/covalent-core-common.js +114 -26
- package/fesm2015/covalent-core-common.js.map +1 -1
- package/fesm2015/covalent-core-data-table.js +6 -6
- package/fesm2015/covalent-core-data-table.js.map +1 -1
- package/fesm2015/covalent-core-dialogs.js +5 -20
- package/fesm2015/covalent-core-dialogs.js.map +1 -1
- package/fesm2015/covalent-core-expansion-panel.js +1 -1
- package/fesm2015/covalent-core-json-formatter.js +1 -1
- package/fesm2015/covalent-core-layout.js +8 -7
- package/fesm2015/covalent-core-layout.js.map +1 -1
- package/fesm2015/covalent-core-loading.js +1 -1
- package/fesm2015/covalent-core-menu.js +1 -1
- package/fesm2015/covalent-core-message.js +1 -1
- package/fesm2015/covalent-core-paging.js +1 -1
- package/fesm2015/covalent-core-search.js +5 -4
- package/fesm2015/covalent-core-search.js.map +1 -1
- package/fesm2015/covalent-core-sidesheet.js +110 -0
- package/fesm2015/covalent-core-sidesheet.js.map +1 -0
- package/fesm2015/covalent-core-steps.js +5 -5
- package/fesm2015/covalent-core-tab-select.js +3 -2
- package/fesm2015/covalent-core-tab-select.js.map +1 -1
- package/fesm2015/covalent-core.js +151 -75
- package/fesm2015/covalent-core.js.map +1 -1
- package/fesm5/covalent-core-breadcrumbs.js +1 -1
- package/fesm5/covalent-core-chips.js +2 -3
- package/fesm5/covalent-core-chips.js.map +1 -1
- package/fesm5/covalent-core-common.js +161 -27
- package/fesm5/covalent-core-common.js.map +1 -1
- package/fesm5/covalent-core-data-table.js +6 -6
- package/fesm5/covalent-core-data-table.js.map +1 -1
- package/fesm5/covalent-core-dialogs.js +5 -20
- package/fesm5/covalent-core-dialogs.js.map +1 -1
- package/fesm5/covalent-core-expansion-panel.js +1 -1
- package/fesm5/covalent-core-json-formatter.js +1 -1
- package/fesm5/covalent-core-layout.js +8 -7
- package/fesm5/covalent-core-layout.js.map +1 -1
- package/fesm5/covalent-core-loading.js +1 -1
- package/fesm5/covalent-core-menu.js +1 -1
- package/fesm5/covalent-core-message.js +1 -1
- package/fesm5/covalent-core-paging.js +1 -1
- package/fesm5/covalent-core-search.js +5 -4
- package/fesm5/covalent-core-search.js.map +1 -1
- package/fesm5/covalent-core-sidesheet.js +126 -0
- package/fesm5/covalent-core-sidesheet.js.map +1 -0
- package/fesm5/covalent-core-steps.js +5 -5
- package/fesm5/covalent-core-tab-select.js +3 -2
- package/fesm5/covalent-core-tab-select.js.map +1 -1
- package/fesm5/covalent-core.js +198 -76
- package/fesm5/covalent-core.js.map +1 -1
- package/file/file-input/file-input.component.scss +19 -0
- package/file/file-upload/file-upload.component.scss +29 -0
- package/json-formatter/covalent-core-json-formatter.metadata.json +1 -1
- package/json-formatter/json-formatter.component.scss +61 -0
- package/layout/README.md +5 -2
- package/layout/covalent-core-layout.metadata.json +1 -1
- package/layout/layout-card-over/layout-card-over.component.scss +42 -0
- package/layout/layout-footer/layout-footer.component.scss +4 -0
- package/layout/layout-manage-list/layout-manage-list.component.scss +77 -0
- package/layout/layout-nav/layout-nav.component.scss +50 -0
- package/layout/layout-nav-list/layout-nav-list.component.scss +109 -0
- package/layout/layout.component.scss +20 -0
- package/layout/navigation-drawer/navigation-drawer.component.d.ts +7 -0
- package/layout/navigation-drawer/navigation-drawer.component.scss +57 -0
- package/loading/covalent-core-loading.metadata.json +1 -1
- package/loading/loading.component.scss +42 -0
- package/menu/covalent-core-menu.metadata.json +1 -1
- package/menu/menu.component.scss +43 -0
- package/message/covalent-core-message.metadata.json +1 -1
- package/message/message.component.scss +29 -0
- package/notifications/notification-count.component.scss +89 -0
- package/package.json +1 -1
- package/paging/covalent-core-paging.metadata.json +1 -1
- package/paging/paging-bar.component.scss +23 -0
- package/search/covalent-core-search.metadata.json +1 -1
- package/search/search-box/search-box.component.scss +32 -0
- package/search/search-input/README.md +5 -2
- package/search/search-input/search-input.component.d.ts +6 -0
- package/search/search-input/search-input.component.scss +63 -0
- package/sidesheet/README.md +68 -0
- package/sidesheet/covalent-core-sidesheet.d.ts +4 -0
- package/sidesheet/covalent-core-sidesheet.metadata.json +1 -0
- package/sidesheet/index.d.ts +1 -0
- package/sidesheet/package.json +13 -0
- package/sidesheet/public-api.d.ts +2 -0
- package/sidesheet/sidesheet.component.d.ts +13 -0
- package/sidesheet/sidesheet.component.scss +96 -0
- package/sidesheet/sidesheet.module.d.ts +2 -0
- package/steps/covalent-core-steps.metadata.json +1 -1
- package/steps/nav/nav-step-link/nav-step-link.component.scss +17 -0
- package/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.scss +81 -0
- package/steps/nav/nav-steps-vertical/nav-steps-vertical.component.scss +18 -0
- package/steps/step-body/step-body.component.scss +29 -0
- package/steps/step-header/step-header.component.scss +90 -0
- package/steps/steps.component.scss +53 -0
- package/tab-select/covalent-core-tab-select.metadata.json +1 -1
- package/tab-select/tab-option.component.scss +0 -0
- package/tab-select/tab-select.component.scss +3 -0
- package/theming/prebuilt/blue-grey-deep-orange.css +92 -87
- package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
- package/theming/prebuilt/blue-orange.css +92 -87
- package/theming/prebuilt/blue-orange.css.map +1 -1
- package/theming/prebuilt/indigo-pink.css +92 -87
- package/theming/prebuilt/indigo-pink.css.map +1 -1
- package/theming/prebuilt/orange-light-blue.css +92 -87
- package/theming/prebuilt/orange-light-blue.css.map +1 -1
- package/theming/prebuilt/teal-orange.css +92 -87
- package/theming/prebuilt/teal-orange.css.map +1 -1
- package/virtual-scroll/virtual-scroll-container.component.scss +7 -0
@@ -47,6 +47,248 @@
|
|
47
47
|
return TdAutoTrimDirective;
|
48
48
|
}());
|
49
49
|
|
50
|
+
/*! *****************************************************************************
|
51
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
52
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
53
|
+
this file except in compliance with the License. You may obtain a copy of the
|
54
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
55
|
+
|
56
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
57
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
58
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
59
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
60
|
+
|
61
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
62
|
+
and limitations under the License.
|
63
|
+
***************************************************************************** */
|
64
|
+
/* global Reflect, Promise */
|
65
|
+
var extendStatics = function (d, b) {
|
66
|
+
extendStatics = Object.setPrototypeOf ||
|
67
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
68
|
+
function (d, b) { for (var p in b)
|
69
|
+
if (b.hasOwnProperty(p))
|
70
|
+
d[p] = b[p]; };
|
71
|
+
return extendStatics(d, b);
|
72
|
+
};
|
73
|
+
function __extends(d, b) {
|
74
|
+
extendStatics(d, b);
|
75
|
+
function __() { this.constructor = d; }
|
76
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
77
|
+
}
|
78
|
+
function __values(o) {
|
79
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
|
80
|
+
if (m)
|
81
|
+
return m.call(o);
|
82
|
+
return {
|
83
|
+
next: function () {
|
84
|
+
if (o && i >= o.length)
|
85
|
+
o = void 0;
|
86
|
+
return { value: o && o[i++], done: !o };
|
87
|
+
}
|
88
|
+
};
|
89
|
+
}
|
90
|
+
function __read(o, n) {
|
91
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
92
|
+
if (!m)
|
93
|
+
return o;
|
94
|
+
var i = m.call(o), r, ar = [], e;
|
95
|
+
try {
|
96
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
97
|
+
ar.push(r.value);
|
98
|
+
}
|
99
|
+
catch (error) {
|
100
|
+
e = { error: error };
|
101
|
+
}
|
102
|
+
finally {
|
103
|
+
try {
|
104
|
+
if (r && !r.done && (m = i["return"]))
|
105
|
+
m.call(i);
|
106
|
+
}
|
107
|
+
finally {
|
108
|
+
if (e)
|
109
|
+
throw e.error;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
return ar;
|
113
|
+
}
|
114
|
+
function __spread() {
|
115
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
116
|
+
ar = ar.concat(__read(arguments[i]));
|
117
|
+
return ar;
|
118
|
+
}
|
119
|
+
|
120
|
+
/**
|
121
|
+
* @fileoverview added by tsickle
|
122
|
+
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
|
123
|
+
*/
|
124
|
+
var TdFullscreenDirective = /** @class */ (function () {
|
125
|
+
function TdFullscreenDirective(_document, _el) {
|
126
|
+
this._document = _document;
|
127
|
+
this._el = _el;
|
128
|
+
this.fullScreenIsActive = false;
|
129
|
+
}
|
130
|
+
/**
|
131
|
+
* @param {?} event
|
132
|
+
* @return {?}
|
133
|
+
*/
|
134
|
+
TdFullscreenDirective.prototype.fsChangeHandler = /**
|
135
|
+
* @param {?} event
|
136
|
+
* @return {?}
|
137
|
+
*/
|
138
|
+
function (event) {
|
139
|
+
this.fullScreenIsActive = event.srcElement === this._getFullScreenElement();
|
140
|
+
};
|
141
|
+
/**
|
142
|
+
* @return {?}
|
143
|
+
*/
|
144
|
+
TdFullscreenDirective.prototype.toggleFullScreen = /**
|
145
|
+
* @return {?}
|
146
|
+
*/
|
147
|
+
function () {
|
148
|
+
this._getFullScreenElement() === this._el.nativeElement ? this.exitFullScreen() : this.enterFullScreen();
|
149
|
+
};
|
150
|
+
/**
|
151
|
+
* @return {?}
|
152
|
+
*/
|
153
|
+
TdFullscreenDirective.prototype.enterFullScreen = /**
|
154
|
+
* @return {?}
|
155
|
+
*/
|
156
|
+
function () {
|
157
|
+
var e_1, _a;
|
158
|
+
var nativeElement = this._el.nativeElement;
|
159
|
+
/** @type {?} */
|
160
|
+
var enterFullScreenMap = {
|
161
|
+
requestFullscreen: function () { return nativeElement.requestFullscreen(); },
|
162
|
+
// Chrome
|
163
|
+
webkitRequestFullscreen: function () { return nativeElement.webkitRequestFullscreen(); },
|
164
|
+
// Safari
|
165
|
+
mozRequestFullScreen: function () { return nativeElement.mozRequestFullScreen(); },
|
166
|
+
// Firefox
|
167
|
+
msRequestFullscreen: function () { return nativeElement.msRequestFullscreen(); },
|
168
|
+
};
|
169
|
+
try {
|
170
|
+
for (var _b = __values(Object.keys(enterFullScreenMap)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
171
|
+
var handler = _c.value;
|
172
|
+
if (nativeElement[handler]) {
|
173
|
+
enterFullScreenMap[handler]();
|
174
|
+
}
|
175
|
+
}
|
176
|
+
}
|
177
|
+
catch (e_1_1) {
|
178
|
+
e_1 = { error: e_1_1 };
|
179
|
+
}
|
180
|
+
finally {
|
181
|
+
try {
|
182
|
+
if (_c && !_c.done && (_a = _b.return))
|
183
|
+
_a.call(_b);
|
184
|
+
}
|
185
|
+
finally {
|
186
|
+
if (e_1)
|
187
|
+
throw e_1.error;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
};
|
191
|
+
/**
|
192
|
+
* @return {?}
|
193
|
+
*/
|
194
|
+
TdFullscreenDirective.prototype.exitFullScreen = /**
|
195
|
+
* @return {?}
|
196
|
+
*/
|
197
|
+
function () {
|
198
|
+
var e_2, _a;
|
199
|
+
var _b = this, _document = _b._document, nativeElement = _b._el.nativeElement;
|
200
|
+
/** @type {?} */
|
201
|
+
var exitFullScreenMap = {
|
202
|
+
exitFullscreen: function () { return _document.exitFullscreen(); },
|
203
|
+
// Chrome
|
204
|
+
webkitExitFullscreen: function () { return _document.webkitExitFullscreen(); },
|
205
|
+
// Safari
|
206
|
+
mozCancelFullScreen: function () { return _document.mozCancelFullScreen(); },
|
207
|
+
// Firefox
|
208
|
+
msExitFullscreen: function () { return _document.msExitFullscreen(); },
|
209
|
+
};
|
210
|
+
try {
|
211
|
+
for (var _c = __values(Object.keys(exitFullScreenMap)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
212
|
+
var handler = _d.value;
|
213
|
+
if (_document[handler] && this._getFullScreenElement() === nativeElement) {
|
214
|
+
exitFullScreenMap[handler]();
|
215
|
+
}
|
216
|
+
}
|
217
|
+
}
|
218
|
+
catch (e_2_1) {
|
219
|
+
e_2 = { error: e_2_1 };
|
220
|
+
}
|
221
|
+
finally {
|
222
|
+
try {
|
223
|
+
if (_d && !_d.done && (_a = _c.return))
|
224
|
+
_a.call(_c);
|
225
|
+
}
|
226
|
+
finally {
|
227
|
+
if (e_2)
|
228
|
+
throw e_2.error;
|
229
|
+
}
|
230
|
+
}
|
231
|
+
};
|
232
|
+
/**
|
233
|
+
* @return {?}
|
234
|
+
*/
|
235
|
+
TdFullscreenDirective.prototype._getFullScreenElement = /**
|
236
|
+
* @return {?}
|
237
|
+
*/
|
238
|
+
function () {
|
239
|
+
var e_3, _a;
|
240
|
+
var _document = this._document;
|
241
|
+
/** @type {?} */
|
242
|
+
var tdFullScreenElementMap = {
|
243
|
+
fullscreenElement: function () { return _document.fullscreenElement; },
|
244
|
+
// Chrome, Opera
|
245
|
+
webkitFullscreenElement: function () { return _document.webkitFullscreenElement; },
|
246
|
+
// Safari
|
247
|
+
mozFullscreenElement: function () { return _document.mozFullscreenElement; },
|
248
|
+
// Firefox
|
249
|
+
msFullscreenElement: function () { return _document.msFullscreenElement; },
|
250
|
+
};
|
251
|
+
try {
|
252
|
+
for (var _b = __values(Object.keys(tdFullScreenElementMap)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
253
|
+
var props = _c.value;
|
254
|
+
if (_document[props]) {
|
255
|
+
return _document[props];
|
256
|
+
}
|
257
|
+
}
|
258
|
+
}
|
259
|
+
catch (e_3_1) {
|
260
|
+
e_3 = { error: e_3_1 };
|
261
|
+
}
|
262
|
+
finally {
|
263
|
+
try {
|
264
|
+
if (_c && !_c.done && (_a = _b.return))
|
265
|
+
_a.call(_b);
|
266
|
+
}
|
267
|
+
finally {
|
268
|
+
if (e_3)
|
269
|
+
throw e_3.error;
|
270
|
+
}
|
271
|
+
}
|
272
|
+
};
|
273
|
+
TdFullscreenDirective.decorators = [
|
274
|
+
{ type: core.Directive, args: [{
|
275
|
+
selector: '[tdFullScreen]',
|
276
|
+
exportAs: 'tdFullScreen',
|
277
|
+
},] }
|
278
|
+
];
|
279
|
+
/** @nocollapse */
|
280
|
+
TdFullscreenDirective.ctorParameters = function () {
|
281
|
+
return [
|
282
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] },
|
283
|
+
{ type: core.ElementRef }
|
284
|
+
];
|
285
|
+
};
|
286
|
+
TdFullscreenDirective.propDecorators = {
|
287
|
+
fsChangeHandler: [{ type: core.HostListener, args: ['document:fullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:webkitfullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:mozfullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:msfullscreenchange', ['$event'],] }]
|
288
|
+
};
|
289
|
+
return TdFullscreenDirective;
|
290
|
+
}());
|
291
|
+
|
50
292
|
/**
|
51
293
|
* @fileoverview added by tsickle
|
52
294
|
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
|
@@ -1361,9 +1603,7 @@
|
|
1361
1603
|
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
|
1362
1604
|
*/
|
1363
1605
|
/** @type {?} */
|
1364
|
-
var
|
1365
|
-
TdAutoTrimDirective,
|
1366
|
-
];
|
1606
|
+
var TD_DIRECTIVES = [TdAutoTrimDirective, TdFullscreenDirective];
|
1367
1607
|
// Validators
|
1368
1608
|
/** @type {?} */
|
1369
1609
|
var TD_VALIDATORS = [];
|
@@ -1382,26 +1622,10 @@
|
|
1382
1622
|
}
|
1383
1623
|
CovalentCommonModule.decorators = [
|
1384
1624
|
{ type: core.NgModule, args: [{
|
1385
|
-
imports: [
|
1386
|
-
|
1387
|
-
|
1388
|
-
],
|
1389
|
-
declarations: [
|
1390
|
-
TD_FORMS,
|
1391
|
-
TD_PIPES,
|
1392
|
-
TD_VALIDATORS,
|
1393
|
-
],
|
1394
|
-
exports: [
|
1395
|
-
forms.FormsModule,
|
1396
|
-
common.CommonModule,
|
1397
|
-
TD_FORMS,
|
1398
|
-
TD_PIPES,
|
1399
|
-
TD_VALIDATORS,
|
1400
|
-
],
|
1401
|
-
providers: [
|
1402
|
-
RouterPathService,
|
1403
|
-
IconService,
|
1404
|
-
],
|
1625
|
+
imports: [forms.FormsModule, common.CommonModule],
|
1626
|
+
declarations: [TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
|
1627
|
+
exports: [forms.FormsModule, common.CommonModule, TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
|
1628
|
+
providers: [RouterPathService, IconService],
|
1405
1629
|
},] }
|
1406
1630
|
];
|
1407
1631
|
return CovalentCommonModule;
|
@@ -1734,64 +1958,6 @@
|
|
1734
1958
|
], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
|
1735
1959
|
]);
|
1736
1960
|
|
1737
|
-
/*! *****************************************************************************
|
1738
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
1739
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
1740
|
-
this file except in compliance with the License. You may obtain a copy of the
|
1741
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
1742
|
-
|
1743
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
1744
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
1745
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
1746
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
1747
|
-
|
1748
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
1749
|
-
and limitations under the License.
|
1750
|
-
***************************************************************************** */
|
1751
|
-
/* global Reflect, Promise */
|
1752
|
-
var extendStatics = function (d, b) {
|
1753
|
-
extendStatics = Object.setPrototypeOf ||
|
1754
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
1755
|
-
function (d, b) { for (var p in b)
|
1756
|
-
if (b.hasOwnProperty(p))
|
1757
|
-
d[p] = b[p]; };
|
1758
|
-
return extendStatics(d, b);
|
1759
|
-
};
|
1760
|
-
function __extends(d, b) {
|
1761
|
-
extendStatics(d, b);
|
1762
|
-
function __() { this.constructor = d; }
|
1763
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
1764
|
-
}
|
1765
|
-
function __read(o, n) {
|
1766
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
1767
|
-
if (!m)
|
1768
|
-
return o;
|
1769
|
-
var i = m.call(o), r, ar = [], e;
|
1770
|
-
try {
|
1771
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
1772
|
-
ar.push(r.value);
|
1773
|
-
}
|
1774
|
-
catch (error) {
|
1775
|
-
e = { error: error };
|
1776
|
-
}
|
1777
|
-
finally {
|
1778
|
-
try {
|
1779
|
-
if (r && !r.done && (m = i["return"]))
|
1780
|
-
m.call(i);
|
1781
|
-
}
|
1782
|
-
finally {
|
1783
|
-
if (e)
|
1784
|
-
throw e.error;
|
1785
|
-
}
|
1786
|
-
}
|
1787
|
-
return ar;
|
1788
|
-
}
|
1789
|
-
function __spread() {
|
1790
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
1791
|
-
ar = ar.concat(__read(arguments[i]));
|
1792
|
-
return ar;
|
1793
|
-
}
|
1794
|
-
|
1795
1961
|
/**
|
1796
1962
|
* @fileoverview added by tsickle
|
1797
1963
|
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
|
@@ -2097,9 +2263,10 @@
|
|
2097
2263
|
exports.TdDigitsPipe = TdDigitsPipe;
|
2098
2264
|
exports.TdTruncatePipe = TdTruncatePipe;
|
2099
2265
|
exports.TdDecimalBytesPipe = TdDecimalBytesPipe;
|
2100
|
-
exports.ɵa =
|
2101
|
-
exports.ɵ
|
2102
|
-
exports.ɵ
|
2266
|
+
exports.ɵa = TdFullscreenDirective;
|
2267
|
+
exports.ɵb = TdTimeUntilPipe;
|
2268
|
+
exports.ɵd = IconService;
|
2269
|
+
exports.ɵc = RouterPathService;
|
2103
2270
|
|
2104
2271
|
Object.defineProperty(exports, '__esModule', { value: true });
|
2105
2272
|
|