@covalent/core 3.1.2 → 4.0.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/bundles/covalent-core-user-profile.umd.js +1 -9
- package/bundles/covalent-core-user-profile.umd.js.map +1 -1
- package/bundles/covalent-core-user-profile.umd.min.js.map +1 -1
- package/esm2015/user-profile/user-profile.module.js +3 -11
- package/fesm2015/covalent-core-user-profile.js +1 -9
- package/fesm2015/covalent-core-user-profile.js.map +1 -1
- package/package.json +1 -1
- package/schematics/components.js +1 -14
- package/schematics/components.js.map +1 -1
- package/theming/_all-theme.scss +0 -14
- package/theming/prebuilt/blue-grey-deep-orange.css +0 -248
- package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
- package/theming/prebuilt/blue-orange.css +0 -248
- package/theming/prebuilt/blue-orange.css.map +1 -1
- package/theming/prebuilt/indigo-pink.css +0 -248
- package/theming/prebuilt/indigo-pink.css.map +1 -1
- package/theming/prebuilt/orange-light-blue.css +0 -248
- package/theming/prebuilt/orange-light-blue.css.map +1 -1
- package/theming/prebuilt/teal-orange.css +0 -248
- package/theming/prebuilt/teal-orange.css.map +1 -1
- package/typography/_all-typography.scss +0 -10
- package/user-profile/covalent-core-user-profile.metadata.json +1 -1
- package/bundles/covalent-core-chips.umd.js +0 -1507
- package/bundles/covalent-core-chips.umd.js.map +0 -1
- package/bundles/covalent-core-chips.umd.min.js +0 -16
- package/bundles/covalent-core-chips.umd.min.js.map +0 -1
- package/bundles/covalent-core-data-table.umd.js +0 -2756
- package/bundles/covalent-core-data-table.umd.js.map +0 -1
- package/bundles/covalent-core-data-table.umd.min.js +0 -16
- package/bundles/covalent-core-data-table.umd.min.js.map +0 -1
- package/bundles/covalent-core-expansion-panel.umd.js +0 -853
- package/bundles/covalent-core-expansion-panel.umd.js.map +0 -1
- package/bundles/covalent-core-expansion-panel.umd.min.js +0 -16
- package/bundles/covalent-core-expansion-panel.umd.min.js.map +0 -1
- package/bundles/covalent-core-loading.umd.js +0 -1534
- package/bundles/covalent-core-loading.umd.js.map +0 -1
- package/bundles/covalent-core-loading.umd.min.js +0 -16
- package/bundles/covalent-core-loading.umd.min.js.map +0 -1
- package/bundles/covalent-core-media.umd.js +0 -749
- package/bundles/covalent-core-media.umd.js.map +0 -1
- package/bundles/covalent-core-media.umd.min.js +0 -16
- package/bundles/covalent-core-media.umd.min.js.map +0 -1
- package/bundles/covalent-core-nav-links.umd.js +0 -197
- package/bundles/covalent-core-nav-links.umd.js.map +0 -1
- package/bundles/covalent-core-nav-links.umd.min.js +0 -2
- package/bundles/covalent-core-nav-links.umd.min.js.map +0 -1
- package/bundles/covalent-core-notifications.umd.js +0 -275
- package/bundles/covalent-core-notifications.umd.js.map +0 -1
- package/bundles/covalent-core-notifications.umd.min.js +0 -2
- package/bundles/covalent-core-notifications.umd.min.js.map +0 -1
- package/bundles/covalent-core-paging.umd.js +0 -491
- package/bundles/covalent-core-paging.umd.js.map +0 -1
- package/bundles/covalent-core-paging.umd.min.js +0 -2
- package/bundles/covalent-core-paging.umd.min.js.map +0 -1
- package/bundles/covalent-core-sidesheet.umd.js +0 -145
- package/bundles/covalent-core-sidesheet.umd.js.map +0 -1
- package/bundles/covalent-core-sidesheet.umd.min.js +0 -2
- package/bundles/covalent-core-sidesheet.umd.min.js.map +0 -1
- package/bundles/covalent-core-steps.umd.js +0 -1756
- package/bundles/covalent-core-steps.umd.js.map +0 -1
- package/bundles/covalent-core-steps.umd.min.js +0 -16
- package/bundles/covalent-core-steps.umd.min.js.map +0 -1
- package/bundles/covalent-core-tab-select.umd.js +0 -732
- package/bundles/covalent-core-tab-select.umd.js.map +0 -1
- package/bundles/covalent-core-tab-select.umd.min.js +0 -16
- package/bundles/covalent-core-tab-select.umd.min.js.map +0 -1
- package/bundles/covalent-core-virtual-scroll.umd.js +0 -785
- package/bundles/covalent-core-virtual-scroll.umd.js.map +0 -1
- package/bundles/covalent-core-virtual-scroll.umd.min.js +0 -16
- package/bundles/covalent-core-virtual-scroll.umd.min.js.map +0 -1
- package/chips/README.md +0 -99
- package/chips/_chips-theme.scss +0 -87
- package/chips/chips.component.d.ts +0 -287
- package/chips/chips.component.scss +0 -147
- package/chips/chips.module.d.ts +0 -2
- package/chips/covalent-core-chips.d.ts +0 -4
- package/chips/covalent-core-chips.metadata.json +0 -1
- package/chips/index.d.ts +0 -1
- package/chips/package.json +0 -11
- package/chips/public-api.d.ts +0 -2
- package/data-table/README.md +0 -134
- package/data-table/_data-table-theme.scss +0 -115
- package/data-table/covalent-core-data-table.d.ts +0 -4
- package/data-table/covalent-core-data-table.metadata.json +0 -1
- package/data-table/data-table-cell/data-table-cell.component.d.ts +0 -22
- package/data-table/data-table-cell/data-table-cell.component.scss +0 -58
- package/data-table/data-table-column/data-table-column.component.d.ts +0 -63
- package/data-table/data-table-column/data-table-column.component.scss +0 -80
- package/data-table/data-table-row/data-table-row.component.d.ts +0 -20
- package/data-table/data-table-row/data-table-row.component.scss +0 -12
- package/data-table/data-table-table/data-table-table.component.d.ts +0 -6
- package/data-table/data-table-table/data-table-table.component.scss +0 -7
- package/data-table/data-table.component.d.ts +0 -356
- package/data-table/data-table.component.scss +0 -93
- package/data-table/data-table.module.d.ts +0 -2
- package/data-table/directives/data-table-template.directive.d.ts +0 -6
- package/data-table/index.d.ts +0 -1
- package/data-table/package.json +0 -11
- package/data-table/public-api.d.ts +0 -8
- package/data-table/services/data-table.service.d.ts +0 -31
- package/esm2015/chips/chips.component.js +0 -1115
- package/esm2015/chips/chips.module.js +0 -23
- package/esm2015/chips/covalent-core-chips.js +0 -10
- package/esm2015/chips/index.js +0 -7
- package/esm2015/chips/public-api.js +0 -8
- package/esm2015/data-table/covalent-core-data-table.js +0 -10
- package/esm2015/data-table/data-table-cell/data-table-cell.component.js +0 -88
- package/esm2015/data-table/data-table-column/data-table-column.component.js +0 -218
- package/esm2015/data-table/data-table-row/data-table-row.component.js +0 -132
- package/esm2015/data-table/data-table-table/data-table-table.component.js +0 -43
- package/esm2015/data-table/data-table.component.js +0 -1640
- package/esm2015/data-table/data-table.module.js +0 -39
- package/esm2015/data-table/directives/data-table-template.directive.js +0 -32
- package/esm2015/data-table/index.js +0 -7
- package/esm2015/data-table/public-api.js +0 -14
- package/esm2015/data-table/services/data-table.service.js +0 -116
- package/esm2015/expansion-panel/covalent-core-expansion-panel.js +0 -10
- package/esm2015/expansion-panel/expansion-panel-group.component.js +0 -212
- package/esm2015/expansion-panel/expansion-panel.component.js +0 -272
- package/esm2015/expansion-panel/expansion-panel.module.js +0 -31
- package/esm2015/expansion-panel/index.js +0 -7
- package/esm2015/expansion-panel/public-api.js +0 -9
- package/esm2015/loading/covalent-core-loading.js +0 -10
- package/esm2015/loading/directives/loading.directive.js +0 -231
- package/esm2015/loading/index.js +0 -7
- package/esm2015/loading/loading.component.js +0 -302
- package/esm2015/loading/loading.module.js +0 -30
- package/esm2015/loading/public-api.js +0 -11
- package/esm2015/loading/services/loading.factory.js +0 -297
- package/esm2015/loading/services/loading.service.js +0 -319
- package/esm2015/media/covalent-core-media.js +0 -10
- package/esm2015/media/directives/media-toggle.directive.js +0 -207
- package/esm2015/media/index.js +0 -7
- package/esm2015/media/media.module.js +0 -20
- package/esm2015/media/public-api.js +0 -9
- package/esm2015/media/services/media.service.js +0 -169
- package/esm2015/nav-links/covalent-core-nav-links.js +0 -10
- package/esm2015/nav-links/index.js +0 -7
- package/esm2015/nav-links/nav-links.component.js +0 -138
- package/esm2015/nav-links/nav-links.module.js +0 -37
- package/esm2015/nav-links/public-api.js +0 -8
- package/esm2015/notifications/covalent-core-notifications.js +0 -10
- package/esm2015/notifications/index.js +0 -7
- package/esm2015/notifications/notification-count.component.js +0 -191
- package/esm2015/notifications/notifications.module.js +0 -20
- package/esm2015/notifications/public-api.js +0 -8
- package/esm2015/paging/covalent-core-paging.js +0 -10
- package/esm2015/paging/index.js +0 -7
- package/esm2015/paging/paging-bar.component.js +0 -412
- package/esm2015/paging/paging.module.js +0 -20
- package/esm2015/paging/public-api.js +0 -8
- package/esm2015/sidesheet/covalent-core-sidesheet.js +0 -10
- package/esm2015/sidesheet/index.js +0 -7
- package/esm2015/sidesheet/public-api.js +0 -8
- package/esm2015/sidesheet/sidesheet.component.js +0 -72
- package/esm2015/sidesheet/sidesheet.module.js +0 -27
- package/esm2015/steps/covalent-core-steps.js +0 -10
- package/esm2015/steps/index.js +0 -7
- package/esm2015/steps/nav/nav-step-link/nav-step-link.component.js +0 -144
- package/esm2015/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +0 -371
- package/esm2015/steps/nav/nav-steps-vertical/nav-steps-vertical.component.js +0 -130
- package/esm2015/steps/public-api.js +0 -14
- package/esm2015/steps/step-body/step-body.component.js +0 -83
- package/esm2015/steps/step-header/step-header.component.js +0 -79
- package/esm2015/steps/step.component.js +0 -312
- package/esm2015/steps/steps.component.js +0 -234
- package/esm2015/steps/steps.module.js +0 -44
- package/esm2015/tab-select/covalent-core-tab-select.js +0 -10
- package/esm2015/tab-select/index.js +0 -7
- package/esm2015/tab-select/public-api.js +0 -9
- package/esm2015/tab-select/tab-option.component.js +0 -82
- package/esm2015/tab-select/tab-select.component.js +0 -291
- package/esm2015/tab-select/tab-select.module.js +0 -31
- package/esm2015/virtual-scroll/covalent-core-virtual-scroll.js +0 -10
- package/esm2015/virtual-scroll/index.js +0 -7
- package/esm2015/virtual-scroll/public-api.js +0 -9
- package/esm2015/virtual-scroll/virtual-scroll-container.component.js +0 -391
- package/esm2015/virtual-scroll/virtual-scroll-row.directive.js +0 -25
- package/esm2015/virtual-scroll/virtual-scroll.module.js +0 -21
- package/expansion-panel/README.md +0 -116
- package/expansion-panel/_expansion-panel-theme.scss +0 -80
- package/expansion-panel/covalent-core-expansion-panel.d.ts +0 -4
- package/expansion-panel/covalent-core-expansion-panel.metadata.json +0 -1
- package/expansion-panel/expansion-panel-group.component.d.ts +0 -31
- package/expansion-panel/expansion-panel-group.component.scss +0 -0
- package/expansion-panel/expansion-panel.component.d.ts +0 -82
- package/expansion-panel/expansion-panel.component.scss +0 -50
- package/expansion-panel/expansion-panel.module.d.ts +0 -2
- package/expansion-panel/index.d.ts +0 -1
- package/expansion-panel/package.json +0 -11
- package/expansion-panel/public-api.d.ts +0 -3
- package/fesm2015/covalent-core-chips.js +0 -1151
- package/fesm2015/covalent-core-chips.js.map +0 -1
- package/fesm2015/covalent-core-data-table.js +0 -2309
- package/fesm2015/covalent-core-data-table.js.map +0 -1
- package/fesm2015/covalent-core-expansion-panel.js +0 -528
- package/fesm2015/covalent-core-expansion-panel.js.map +0 -1
- package/fesm2015/covalent-core-loading.js +0 -1179
- package/fesm2015/covalent-core-loading.js.map +0 -1
- package/fesm2015/covalent-core-media.js +0 -411
- package/fesm2015/covalent-core-media.js.map +0 -1
- package/fesm2015/covalent-core-nav-links.js +0 -193
- package/fesm2015/covalent-core-nav-links.js.map +0 -1
- package/fesm2015/covalent-core-notifications.js +0 -228
- package/fesm2015/covalent-core-notifications.js.map +0 -1
- package/fesm2015/covalent-core-paging.js +0 -451
- package/fesm2015/covalent-core-paging.js.map +0 -1
- package/fesm2015/covalent-core-sidesheet.js +0 -118
- package/fesm2015/covalent-core-sidesheet.js.map +0 -1
- package/fesm2015/covalent-core-steps.js +0 -1384
- package/fesm2015/covalent-core-steps.js.map +0 -1
- package/fesm2015/covalent-core-tab-select.js +0 -416
- package/fesm2015/covalent-core-tab-select.js.map +0 -1
- package/fesm2015/covalent-core-virtual-scroll.js +0 -453
- package/fesm2015/covalent-core-virtual-scroll.js.map +0 -1
- package/loading/README.md +0 -180
- package/loading/_loading-theme.scss +0 -10
- package/loading/covalent-core-loading.d.ts +0 -4
- package/loading/covalent-core-loading.metadata.json +0 -1
- package/loading/directives/loading.directive.d.ts +0 -71
- package/loading/index.d.ts +0 -1
- package/loading/loading.component.d.ts +0 -87
- package/loading/loading.component.scss +0 -42
- package/loading/loading.module.d.ts +0 -2
- package/loading/package.json +0 -11
- package/loading/public-api.d.ts +0 -5
- package/loading/services/loading.factory.d.ts +0 -66
- package/loading/services/loading.service.d.ts +0 -118
- package/media/covalent-core-media.d.ts +0 -4
- package/media/covalent-core-media.metadata.json +0 -1
- package/media/directives/media-toggle.directive.d.ts +0 -42
- package/media/index.d.ts +0 -1
- package/media/media.module.d.ts +0 -2
- package/media/package.json +0 -11
- package/media/public-api.d.ts +0 -3
- package/media/services/media.service.d.ts +0 -31
- package/nav-links/README.md +0 -1
- package/nav-links/covalent-core-nav-links.d.ts +0 -4
- package/nav-links/covalent-core-nav-links.metadata.json +0 -1
- package/nav-links/index.d.ts +0 -1
- package/nav-links/nav-links.component.d.ts +0 -51
- package/nav-links/nav-links.component.scss +0 -15
- package/nav-links/nav-links.module.d.ts +0 -2
- package/nav-links/package.json +0 -11
- package/nav-links/public-api.d.ts +0 -2
- package/notifications/README.md +0 -69
- package/notifications/_notification-count-theme.scss +0 -27
- package/notifications/covalent-core-notifications.d.ts +0 -4
- package/notifications/covalent-core-notifications.metadata.json +0 -1
- package/notifications/index.d.ts +0 -1
- package/notifications/notification-count.component.d.ts +0 -74
- package/notifications/notification-count.component.scss +0 -90
- package/notifications/notifications.module.d.ts +0 -2
- package/notifications/package.json +0 -11
- package/notifications/public-api.d.ts +0 -2
- package/paging/README.md +0 -141
- package/paging/_paging-bar-theme.scss +0 -26
- package/paging/covalent-core-paging.d.ts +0 -4
- package/paging/covalent-core-paging.metadata.json +0 -1
- package/paging/index.d.ts +0 -1
- package/paging/package.json +0 -11
- package/paging/paging-bar.component.d.ts +0 -115
- package/paging/paging-bar.component.scss +0 -23
- package/paging/paging.module.d.ts +0 -2
- package/paging/public-api.d.ts +0 -2
- package/sidesheet/README.md +0 -68
- package/sidesheet/covalent-core-sidesheet.d.ts +0 -4
- package/sidesheet/covalent-core-sidesheet.metadata.json +0 -1
- package/sidesheet/index.d.ts +0 -1
- package/sidesheet/package.json +0 -11
- package/sidesheet/public-api.d.ts +0 -2
- package/sidesheet/sidesheet.component.d.ts +0 -13
- package/sidesheet/sidesheet.component.scss +0 -101
- package/sidesheet/sidesheet.module.d.ts +0 -2
- package/steps/README.md +0 -159
- package/steps/_steps-theme.scss +0 -108
- package/steps/covalent-core-steps.d.ts +0 -4
- package/steps/covalent-core-steps.metadata.json +0 -1
- package/steps/index.d.ts +0 -1
- package/steps/nav/README.md +0 -90
- package/steps/nav/nav-step-link/nav-step-link.component.d.ts +0 -42
- package/steps/nav/nav-step-link/nav-step-link.component.scss +0 -17
- package/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.d.ts +0 -79
- package/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.scss +0 -83
- package/steps/nav/nav-steps-vertical/nav-steps-vertical.component.d.ts +0 -18
- package/steps/nav/nav-steps-vertical/nav-steps-vertical.component.scss +0 -18
- package/steps/package.json +0 -11
- package/steps/public-api.d.ts +0 -8
- package/steps/step-body/step-body.component.d.ts +0 -25
- package/steps/step-body/step-body.component.scss +0 -29
- package/steps/step-header/step-header.component.d.ts +0 -35
- package/steps/step-header/step-header.component.scss +0 -90
- package/steps/step.component.d.ts +0 -97
- package/steps/steps.component.d.ts +0 -60
- package/steps/steps.component.scss +0 -55
- package/steps/steps.module.d.ts +0 -2
- package/tab-select/README.md +0 -93
- package/tab-select/covalent-core-tab-select.d.ts +0 -4
- package/tab-select/covalent-core-tab-select.metadata.json +0 -1
- package/tab-select/index.d.ts +0 -1
- package/tab-select/package.json +0 -11
- package/tab-select/public-api.d.ts +0 -3
- package/tab-select/tab-option.component.d.ts +0 -20
- package/tab-select/tab-option.component.scss +0 -0
- package/tab-select/tab-select.component.d.ts +0 -62
- package/tab-select/tab-select.component.scss +0 -3
- package/tab-select/tab-select.module.d.ts +0 -2
- package/virtual-scroll/README.md +0 -68
- package/virtual-scroll/covalent-core-virtual-scroll.d.ts +0 -4
- package/virtual-scroll/covalent-core-virtual-scroll.metadata.json +0 -1
- package/virtual-scroll/index.d.ts +0 -1
- package/virtual-scroll/package.json +0 -11
- package/virtual-scroll/public-api.d.ts +0 -3
- package/virtual-scroll/virtual-scroll-container.component.d.ts +0 -73
- package/virtual-scroll/virtual-scroll-container.component.scss +0 -7
- package/virtual-scroll/virtual-scroll-row.directive.d.ts +0 -5
- package/virtual-scroll/virtual-scroll.module.d.ts +0 -2
@@ -1 +0,0 @@
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"CovalentLoadingModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":18,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":19,"character":12},{"__symbolic":"reference","module":"@angular/material/progress-bar","name":"MatProgressBarModule","line":19,"character":26},{"__symbolic":"reference","module":"@angular/material/progress-spinner","name":"MatProgressSpinnerModule","line":19,"character":48},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"OverlayModule","line":19,"character":74},{"__symbolic":"reference","module":"@angular/cdk/portal","name":"PortalModule","line":19,"character":89}],"declarations":[[{"__symbolic":"reference","name":"TdLoadingComponent"},{"__symbolic":"reference","name":"TdLoadingDirective"}]],"exports":[[{"__symbolic":"reference","name":"TdLoadingComponent"},{"__symbolic":"reference","name":"TdLoadingDirective"}]],"providers":[{"__symbolic":"reference","name":"LOADING_FACTORY_PROVIDER"},{"__symbolic":"reference","name":"LOADING_PROVIDER"}]}]}],"members":{}},"LoadingType":{"Circular":"circular","Linear":"linear"},"LoadingMode":{"Determinate":"determinate","Indeterminate":"indeterminate"},"LoadingStrategy":{"Overlay":"overlay","Replace":"replace"},"LoadingStyle":{"FullScreen":"fullscreen","Overlay":"overlay","None":"none"},"TD_CIRCLE_DIAMETER":100,"TdLoadingComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":28,"character":1},"arguments":[{"selector":"td-loading","animations":[{"__symbolic":"reference","module":"@covalent/core/common","name":"tdFadeInOutAnimation","line":32,"character":15}],"template":"<div\n class=\"td-loading-wrapper\"\n [style.min-height]=\"getHeight()\"\n [class.td-overlay-circular]=\"(isOverlay() || isFullScreen()) && !isLinear()\"\n [class.td-overlay]=\"isOverlay() || isFullScreen()\"\n [class.td-fullscreen]=\"isFullScreen()\"\n>\n <div [@tdFadeInOut]=\"animation\" [style.min-height]=\"getHeight()\" class=\"td-loading\">\n <mat-progress-spinner\n *ngIf=\"isCircular()\"\n [mode]=\"mode\"\n [value]=\"value\"\n [color]=\"color\"\n [diameter]=\"getCircleDiameter()\"\n [strokeWidth]=\"getCircleStrokeWidth()\"\n ></mat-progress-spinner>\n <mat-progress-bar *ngIf=\"isLinear()\" [mode]=\"mode\" [value]=\"value\" [color]=\"color\"></mat-progress-bar>\n </div>\n <ng-template [cdkPortalOutlet]=\"content\"></ng-template>\n</div>\n","styles":[".td-loading-wrapper{display:block;position:relative}.td-loading-wrapper.td-fullscreen{position:inherit}.td-loading-wrapper .td-loading{-ms-flex:1;-ms-flex-align:center;-ms-flex-direction:row;-ms-flex-line-pack:center;-ms-flex-pack:center;align-content:center;align-items:center;box-sizing:border-box;display:-ms-flexbox;display:flex;flex:1;flex-direction:row;justify-content:center;max-width:100%}.td-loading-wrapper.td-overlay .td-loading{left:0;margin:0;position:absolute;right:0;top:0;z-index:1000}.td-loading-wrapper.td-overlay .td-loading mat-progress-bar{left:0;position:absolute;right:0;top:0}.td-loading-wrapper.td-overlay-circular .td-loading{bottom:0}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":92,"character":35},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":92,"character":75}]}],"ngDoCheck":[{"__symbolic":"method"}],"getHeight":[{"__symbolic":"method"}],"getCircleDiameter":[{"__symbolic":"method"}],"getCircleStrokeWidth":[{"__symbolic":"method"}],"isCircular":[{"__symbolic":"method"}],"isLinear":[{"__symbolic":"method"}],"isFullScreen":[{"__symbolic":"method"}],"isOverlay":[{"__symbolic":"method"}],"show":[{"__symbolic":"method"}],"hide":[{"__symbolic":"method"}],"_setCircleDiameter":[{"__symbolic":"method"}],"_hostHeight":[{"__symbolic":"method"}]}},"TdLoadingContext":{"__symbolic":"class","members":{}},"TdLoadingDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":18,"character":1},"arguments":[{"selector":"[tdLoading]"}]}],"members":{"name":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3},"arguments":["tdLoading"]}]}],"until":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3},"arguments":["tdLoadingUntil"]}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":3},"arguments":["tdLoadingType"]}]}],"mode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":3},"arguments":["tdLoadingMode"]}]}],"strategy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":92,"character":3},"arguments":["tdLoadingStrategy"]}]}],"color":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":105,"character":3},"arguments":["tdLoadingColor"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":108,"character":31},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"TdLoadingContext"}]},{"__symbolic":"reference","name":"TdLoadingService"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"_registerComponent":[{"__symbolic":"method"}]}},"ITdLoadingConfig":{"__symbolic":"interface"},"TdLoadingConfig":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"ITdLoadingDirectiveConfig":{"__symbolic":"interface"},"TdLoadingDirectiveConfig":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"TdLoadingConfig"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"TdLoadingService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":48,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TdLoadingFactory"}]}],"createComponent":[{"__symbolic":"method"}],"create":[{"__symbolic":"method"}],"removeComponent":[{"__symbolic":"method"}],"register":[{"__symbolic":"method"}],"resolve":[{"__symbolic":"method"}],"resolveAll":[{"__symbolic":"method"}],"setValue":[{"__symbolic":"method"}],"_clearTimeout":[{"__symbolic":"method"}]}},"LOADING_PROVIDER_FACTORY":{"__symbolic":"function","parameters":["parent","loadingFactory"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"reference","name":"parent"},"right":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"TdLoadingService"},"arguments":[{"__symbolic":"reference","name":"loadingFactory"}]}}},"LOADING_PROVIDER":{"provide":{"__symbolic":"reference","name":"TdLoadingService"},"deps":[[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":250,"character":14}},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":250,"character":30}},{"__symbolic":"reference","name":"TdLoadingService"}],{"__symbolic":"reference","name":"TdLoadingFactory"}],"useFactory":{"__symbolic":"reference","name":"LOADING_PROVIDER_FACTORY"}},"IInternalLoadingOptions":{"__symbolic":"interface"},"ILoadingRef":{"__symbolic":"interface"},"TdLoadingFactory":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":35,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver","line":38,"character":39},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":39,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":40,"character":23}]}],"createFullScreenComponent":[{"__symbolic":"method"}],"createOverlayComponent":[{"__symbolic":"method"}],"createReplaceComponent":[{"__symbolic":"method"}],"_createOverlay":[{"__symbolic":"method"}],"_createComponent":[{"__symbolic":"method"}],"_initializeContext":[{"__symbolic":"method"}],"_mapOptions":[{"__symbolic":"method"}]}},"LOADING_FACTORY_PROVIDER_FACTORY":{"__symbolic":"function","parameters":["parent","componentFactoryResolver","overlay","injector"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"reference","name":"parent"},"right":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"TdLoadingFactory"},"arguments":[{"__symbolic":"reference","name":"componentFactoryResolver"},{"__symbolic":"reference","name":"overlay"},{"__symbolic":"reference","name":"injector"}]}}},"LOADING_FACTORY_PROVIDER":{"provide":{"__symbolic":"reference","name":"TdLoadingFactory"},"deps":[[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":223,"character":14}},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":223,"character":30}},{"__symbolic":"reference","name":"TdLoadingFactory"}],{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver","line":38,"character":39},{"__symbolic":"reference","module":"@angular/cdk/overlay","name":"Overlay","line":39,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":40,"character":23}],"useFactory":{"__symbolic":"reference","name":"LOADING_FACTORY_PROVIDER_FACTORY"}}},"origins":{"CovalentLoadingModule":"./loading.module","LoadingType":"./loading.component","LoadingMode":"./loading.component","LoadingStrategy":"./loading.component","LoadingStyle":"./loading.component","TD_CIRCLE_DIAMETER":"./loading.component","TdLoadingComponent":"./loading.component","TdLoadingContext":"./directives/loading.directive","TdLoadingDirective":"./directives/loading.directive","ITdLoadingConfig":"./services/loading.service","TdLoadingConfig":"./services/loading.service","ITdLoadingDirectiveConfig":"./services/loading.service","TdLoadingDirectiveConfig":"./services/loading.service","TdLoadingService":"./services/loading.service","LOADING_PROVIDER_FACTORY":"./services/loading.service","LOADING_PROVIDER":"./services/loading.service","IInternalLoadingOptions":"./services/loading.factory","ILoadingRef":"./services/loading.factory","TdLoadingFactory":"./services/loading.factory","LOADING_FACTORY_PROVIDER_FACTORY":"./services/loading.factory","LOADING_FACTORY_PROVIDER":"./services/loading.factory"},"importAs":"@covalent/core/loading"}
|
@@ -1,71 +0,0 @@
|
|
1
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
2
|
-
import { ViewContainerRef, TemplateRef } from '@angular/core';
|
3
|
-
import { LoadingType, LoadingMode, LoadingStrategy } from '../loading.component';
|
4
|
-
import { TdLoadingService } from '../services/loading.service';
|
5
|
-
/**
|
6
|
-
* Context class for variable reference
|
7
|
-
*/
|
8
|
-
export declare class TdLoadingContext {
|
9
|
-
$implicit: any;
|
10
|
-
tdLoading: any;
|
11
|
-
}
|
12
|
-
export declare class TdLoadingDirective implements OnInit, OnDestroy {
|
13
|
-
private _viewContainerRef;
|
14
|
-
private _templateRef;
|
15
|
-
private _loadingService;
|
16
|
-
private _context;
|
17
|
-
private _type;
|
18
|
-
private _mode;
|
19
|
-
private _strategy;
|
20
|
-
private _name;
|
21
|
-
private _loadingRef;
|
22
|
-
/**
|
23
|
-
* tdLoading: string
|
24
|
-
* Name reference of the loading mask, used to register/resolve requests to the mask.
|
25
|
-
*/
|
26
|
-
set name(name: string);
|
27
|
-
/**
|
28
|
-
* tdLoadingUntil?: any
|
29
|
-
* If its null, undefined or false it will be used to register requests to the mask.
|
30
|
-
* Else if its any value that can be resolved as true, it will resolve the mask.
|
31
|
-
* [name] is optional when using [until], but can still be used to register/resolve it manually.
|
32
|
-
*/
|
33
|
-
set until(until: any);
|
34
|
-
/**
|
35
|
-
* tdLoadingType?: LoadingType or ['linear' | 'circular']
|
36
|
-
* Sets the type of loading mask depending on value.
|
37
|
-
* Defaults to [LoadingType.Circular | 'circular'].
|
38
|
-
*/
|
39
|
-
set type(type: LoadingType);
|
40
|
-
/**
|
41
|
-
* tdLoadingMode?: LoadingMode or ['determinate' | 'indeterminate']
|
42
|
-
* Sets the mode of loading mask depending on value.
|
43
|
-
* Defaults to [LoadingMode.Indeterminate | 'indeterminate'].
|
44
|
-
*/
|
45
|
-
set mode(mode: LoadingMode);
|
46
|
-
/**
|
47
|
-
* tdLoadingStrategy?: LoadingStrategy or ['replace' | 'overlay']
|
48
|
-
* Sets the strategy of loading mask depending on value.
|
49
|
-
* Defaults to [LoadingMode.Replace | 'replace'].
|
50
|
-
*/
|
51
|
-
set strategy(strategy: LoadingStrategy);
|
52
|
-
/**
|
53
|
-
* tdLoadingColor?: "primary" | "accent" | "warn"
|
54
|
-
* Sets the theme color of the loading component. Defaults to "primary"
|
55
|
-
*/
|
56
|
-
color: 'primary' | 'accent' | 'warn';
|
57
|
-
constructor(_viewContainerRef: ViewContainerRef, _templateRef: TemplateRef<TdLoadingContext>, _loadingService: TdLoadingService);
|
58
|
-
/**
|
59
|
-
* Registers component in the DOM, so it will be available when calling resolve/register.
|
60
|
-
*/
|
61
|
-
ngOnInit(): void;
|
62
|
-
/**
|
63
|
-
* Remove component when directive is destroyed.
|
64
|
-
*/
|
65
|
-
ngOnDestroy(): void;
|
66
|
-
/**
|
67
|
-
* Creates [TdLoadingComponent] and attaches it to this directive's [ViewContainerRef].
|
68
|
-
* Passes this directive's [TemplateRef] to modify DOM depending on loading `strategy`.
|
69
|
-
*/
|
70
|
-
private _registerComponent;
|
71
|
-
}
|
package/loading/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './public-api';
|
@@ -1,87 +0,0 @@
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, DoCheck } from '@angular/core';
|
2
|
-
import { TemplatePortal } from '@angular/cdk/portal';
|
3
|
-
export declare enum LoadingType {
|
4
|
-
Circular = "circular",
|
5
|
-
Linear = "linear"
|
6
|
-
}
|
7
|
-
export declare enum LoadingMode {
|
8
|
-
Determinate = "determinate",
|
9
|
-
Indeterminate = "indeterminate"
|
10
|
-
}
|
11
|
-
export declare enum LoadingStrategy {
|
12
|
-
Overlay = "overlay",
|
13
|
-
Replace = "replace"
|
14
|
-
}
|
15
|
-
export declare enum LoadingStyle {
|
16
|
-
FullScreen = "fullscreen",
|
17
|
-
Overlay = "overlay",
|
18
|
-
None = "none"
|
19
|
-
}
|
20
|
-
export declare const TD_CIRCLE_DIAMETER: number;
|
21
|
-
export declare class TdLoadingComponent implements DoCheck {
|
22
|
-
private _elementRef;
|
23
|
-
private _changeDetectorRef;
|
24
|
-
private _mode;
|
25
|
-
private _defaultMode;
|
26
|
-
private _value;
|
27
|
-
private _circleDiameter;
|
28
|
-
/**
|
29
|
-
* Flag for animation
|
30
|
-
*/
|
31
|
-
animation: boolean;
|
32
|
-
/**
|
33
|
-
* Content injected into loading component.
|
34
|
-
*/
|
35
|
-
content: TemplatePortal<any>;
|
36
|
-
/**
|
37
|
-
* Sets mode of [TdLoadingComponent] to LoadingMode.Determinate or LoadingMode.Indeterminate
|
38
|
-
*/
|
39
|
-
set mode(mode: LoadingMode);
|
40
|
-
get mode(): LoadingMode;
|
41
|
-
/**
|
42
|
-
* Sets value of [TdLoadingComponent] if mode is 'LoadingMode.Determinate'
|
43
|
-
*/
|
44
|
-
set value(value: number);
|
45
|
-
get value(): number;
|
46
|
-
style: LoadingStyle;
|
47
|
-
/**
|
48
|
-
* height: number
|
49
|
-
* Sets height of [TdLoadingComponent].
|
50
|
-
*/
|
51
|
-
height: number;
|
52
|
-
/**
|
53
|
-
* type: LoadingType
|
54
|
-
* Sets type of [TdLoadingComponent] rendered.
|
55
|
-
*/
|
56
|
-
type: LoadingType;
|
57
|
-
/**
|
58
|
-
* color: primary' | 'accent' | 'warn'
|
59
|
-
* Sets theme color of [TdLoadingComponent] rendered.
|
60
|
-
*/
|
61
|
-
color: 'primary' | 'accent' | 'warn';
|
62
|
-
constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
|
63
|
-
ngDoCheck(): void;
|
64
|
-
getHeight(): string;
|
65
|
-
getCircleDiameter(): number;
|
66
|
-
getCircleStrokeWidth(): number;
|
67
|
-
isCircular(): boolean;
|
68
|
-
isLinear(): boolean;
|
69
|
-
isFullScreen(): boolean;
|
70
|
-
isOverlay(): boolean;
|
71
|
-
/**
|
72
|
-
* Starts in animation and returns an observable for completition event.
|
73
|
-
*/
|
74
|
-
show(): void;
|
75
|
-
/**
|
76
|
-
* Starts out animation and returns an observable for completition event.
|
77
|
-
*/
|
78
|
-
hide(): void;
|
79
|
-
/**
|
80
|
-
* Calculate the proper diameter for the circle and set it
|
81
|
-
*/
|
82
|
-
private _setCircleDiameter;
|
83
|
-
/**
|
84
|
-
* Returns the host height of the loading component
|
85
|
-
*/
|
86
|
-
private _hostHeight;
|
87
|
-
}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
.td-loading-wrapper {
|
2
|
-
position: relative;
|
3
|
-
display: block;
|
4
|
-
&.td-fullscreen {
|
5
|
-
position: inherit;
|
6
|
-
}
|
7
|
-
.td-loading {
|
8
|
-
// layout
|
9
|
-
box-sizing: border-box;
|
10
|
-
display: flex;
|
11
|
-
// [layout="row"]
|
12
|
-
flex-direction: row;
|
13
|
-
// [layout-align="center center"]
|
14
|
-
align-items: center;
|
15
|
-
align-content: center;
|
16
|
-
max-width: 100%;
|
17
|
-
justify-content: center;
|
18
|
-
// flex
|
19
|
-
flex: 1;
|
20
|
-
}
|
21
|
-
&.td-overlay {
|
22
|
-
.td-loading {
|
23
|
-
position: absolute;
|
24
|
-
margin: 0;
|
25
|
-
top: 0;
|
26
|
-
left: 0;
|
27
|
-
right: 0;
|
28
|
-
z-index: 1000;
|
29
|
-
mat-progress-bar {
|
30
|
-
position: absolute;
|
31
|
-
top: 0;
|
32
|
-
left: 0;
|
33
|
-
right: 0;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
&.td-overlay-circular {
|
38
|
-
.td-loading {
|
39
|
-
bottom: 0;
|
40
|
-
}
|
41
|
-
}
|
42
|
-
}
|
package/loading/package.json
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"main": "../bundles/covalent-core-loading.umd.js",
|
3
|
-
"module": "../fesm2015/covalent-core-loading.js",
|
4
|
-
"es2015": "../fesm2015/covalent-core-loading.js",
|
5
|
-
"esm2015": "../esm2015/loading/covalent-core-loading.js",
|
6
|
-
"fesm2015": "../fesm2015/covalent-core-loading.js",
|
7
|
-
"typings": "covalent-core-loading.d.ts",
|
8
|
-
"metadata": "covalent-core-loading.metadata.json",
|
9
|
-
"sideEffects": false,
|
10
|
-
"name": "@covalent/core/loading"
|
11
|
-
}
|
package/loading/public-api.d.ts
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
import { ComponentFactoryResolver, Provider } from '@angular/core';
|
2
|
-
import { Injector, ComponentRef, ViewContainerRef, TemplateRef } from '@angular/core';
|
3
|
-
import { Overlay } from '@angular/cdk/overlay';
|
4
|
-
import { Observable, Subject } from 'rxjs';
|
5
|
-
import { TdLoadingContext } from '../directives/loading.directive';
|
6
|
-
import { LoadingStyle } from '../loading.component';
|
7
|
-
import { ITdLoadingConfig } from './loading.service';
|
8
|
-
export interface IInternalLoadingOptions extends ITdLoadingConfig {
|
9
|
-
height?: number;
|
10
|
-
style?: LoadingStyle;
|
11
|
-
}
|
12
|
-
export interface ILoadingRef {
|
13
|
-
observable: Observable<any>;
|
14
|
-
componentRef: ComponentRef<any>;
|
15
|
-
subject?: Subject<any>;
|
16
|
-
times?: number;
|
17
|
-
}
|
18
|
-
/**
|
19
|
-
* NOTE: @internal usage only.
|
20
|
-
*/
|
21
|
-
export declare class TdLoadingFactory {
|
22
|
-
private _componentFactoryResolver;
|
23
|
-
private _overlay;
|
24
|
-
private _injector;
|
25
|
-
constructor(_componentFactoryResolver: ComponentFactoryResolver, _overlay: Overlay, _injector: Injector);
|
26
|
-
/**
|
27
|
-
* Uses material `Overlay` services to create a DOM element and attach the loading component
|
28
|
-
* into it. Leveraging the state and configuration from it.
|
29
|
-
*
|
30
|
-
* Saves a reference in context to be called when registering/resolving the loading element.
|
31
|
-
*/
|
32
|
-
createFullScreenComponent(options: ITdLoadingConfig): ILoadingRef;
|
33
|
-
/**
|
34
|
-
* Creates a loading component dynamically and attaches it into the given viewContainerRef.
|
35
|
-
* Leverages TemplatePortals from material to inject the template inside of it so it fits
|
36
|
-
* perfectly when overlaying it.
|
37
|
-
*
|
38
|
-
* Saves a reference in context to be called when registering/resolving the loading element.
|
39
|
-
*/
|
40
|
-
createOverlayComponent(options: ITdLoadingConfig, viewContainerRef: ViewContainerRef, templateRef: TemplateRef<object>): ILoadingRef;
|
41
|
-
/**
|
42
|
-
* Creates a loading component dynamically and attaches it into the given viewContainerRef.
|
43
|
-
* Replaces the template with the loading component depending if it was registered or resolved.
|
44
|
-
*
|
45
|
-
* Saves a reference in context to be called when registering/resolving the loading element.
|
46
|
-
*/
|
47
|
-
createReplaceComponent(options: ITdLoadingConfig, viewContainerRef: ViewContainerRef, templateRef: TemplateRef<object>, context: TdLoadingContext): ILoadingRef;
|
48
|
-
/**
|
49
|
-
* Creates a fullscreen overlay for the loading usage.
|
50
|
-
*/
|
51
|
-
private _createOverlay;
|
52
|
-
/**
|
53
|
-
* Creates a generic component dynamically waiting to be attached to a viewContainerRef.
|
54
|
-
*/
|
55
|
-
private _createComponent;
|
56
|
-
/**
|
57
|
-
* Initialize context for loading component.
|
58
|
-
*/
|
59
|
-
private _initializeContext;
|
60
|
-
/**
|
61
|
-
* Maps configuration to the loading component instance.
|
62
|
-
*/
|
63
|
-
private _mapOptions;
|
64
|
-
}
|
65
|
-
export declare function LOADING_FACTORY_PROVIDER_FACTORY(parent: TdLoadingFactory, componentFactoryResolver: ComponentFactoryResolver, overlay: Overlay, injector: Injector): TdLoadingFactory;
|
66
|
-
export declare const LOADING_FACTORY_PROVIDER: Provider;
|
@@ -1,118 +0,0 @@
|
|
1
|
-
import { Provider } from '@angular/core';
|
2
|
-
import { ViewContainerRef, TemplateRef } from '@angular/core';
|
3
|
-
import { TdLoadingContext } from '../directives/loading.directive';
|
4
|
-
import { LoadingMode, LoadingStrategy, LoadingType } from '../loading.component';
|
5
|
-
import { TdLoadingFactory, ILoadingRef } from './loading.factory';
|
6
|
-
export interface ITdLoadingConfig {
|
7
|
-
name: string;
|
8
|
-
type?: LoadingType;
|
9
|
-
mode?: LoadingMode;
|
10
|
-
color?: 'primary' | 'accent' | 'warn';
|
11
|
-
}
|
12
|
-
export declare class TdLoadingConfig implements ITdLoadingConfig {
|
13
|
-
name: string;
|
14
|
-
type?: LoadingType;
|
15
|
-
mode?: LoadingMode;
|
16
|
-
color?: 'primary' | 'accent' | 'warn';
|
17
|
-
constructor(config: ITdLoadingConfig);
|
18
|
-
}
|
19
|
-
export interface ITdLoadingDirectiveConfig extends ITdLoadingConfig {
|
20
|
-
strategy?: LoadingStrategy;
|
21
|
-
}
|
22
|
-
export declare class TdLoadingDirectiveConfig extends TdLoadingConfig implements ITdLoadingDirectiveConfig {
|
23
|
-
name: string;
|
24
|
-
type: LoadingType;
|
25
|
-
mode: LoadingMode;
|
26
|
-
strategy: LoadingStrategy;
|
27
|
-
constructor(config: ITdLoadingDirectiveConfig);
|
28
|
-
}
|
29
|
-
export declare class TdLoadingService {
|
30
|
-
private _loadingFactory;
|
31
|
-
private _context;
|
32
|
-
private _timeouts;
|
33
|
-
constructor(_loadingFactory: TdLoadingFactory);
|
34
|
-
/**
|
35
|
-
* params:
|
36
|
-
* - config: ILoadingDirectiveConfig
|
37
|
-
* - viewContainerRef: ViewContainerRef
|
38
|
-
* - templateRef: TemplateRef<Object>
|
39
|
-
*
|
40
|
-
* Creates an replace loading mask and attaches it to the viewContainerRef.
|
41
|
-
* Replaces the templateRef with the mask when a request is registered on it.
|
42
|
-
*
|
43
|
-
* NOTE: @internal usage only.
|
44
|
-
*/
|
45
|
-
createComponent(config: ITdLoadingDirectiveConfig, viewContainerRef: ViewContainerRef, templateRef: TemplateRef<object>, context: TdLoadingContext): ILoadingRef;
|
46
|
-
/**
|
47
|
-
* params:
|
48
|
-
* - config: ITdLoadingConfig
|
49
|
-
*
|
50
|
-
* Creates a fullscreen loading mask and attaches it to the DOM with the given configuration.
|
51
|
-
* Only displayed when the mask has a request registered on it.
|
52
|
-
*/
|
53
|
-
create(config: ITdLoadingConfig): void;
|
54
|
-
/**
|
55
|
-
* params:
|
56
|
-
* - name: string
|
57
|
-
*
|
58
|
-
* Removes `loading` component from service context.
|
59
|
-
*/
|
60
|
-
removeComponent(name: string): void;
|
61
|
-
/**
|
62
|
-
* params:
|
63
|
-
* - name: string
|
64
|
-
* - registers?: number
|
65
|
-
* returns: true if successful
|
66
|
-
*
|
67
|
-
* Resolves a request for the loading mask referenced by the name parameter.
|
68
|
-
* Can optionally pass registers argument to set a number of register calls.
|
69
|
-
*
|
70
|
-
* If no paramemeters are used, then default main mask will be used.
|
71
|
-
*
|
72
|
-
* e.g. loadingService.register()
|
73
|
-
*/
|
74
|
-
register(name?: string, registers?: number): boolean;
|
75
|
-
/**
|
76
|
-
* params:
|
77
|
-
* - name: string
|
78
|
-
* - resolves?: number
|
79
|
-
* returns: true if successful
|
80
|
-
*
|
81
|
-
* Resolves a request for the loading mask referenced by the name parameter.
|
82
|
-
* Can optionally pass resolves argument to set a number of resolve calls.
|
83
|
-
*
|
84
|
-
* If no paramemeters are used, then default main mask will be used.
|
85
|
-
*
|
86
|
-
* e.g. loadingService.resolve()
|
87
|
-
*/
|
88
|
-
resolve(name?: string, resolves?: number): boolean;
|
89
|
-
/**
|
90
|
-
* params:
|
91
|
-
* - name: string
|
92
|
-
* returns: true if successful
|
93
|
-
*
|
94
|
-
* Resolves all request for the loading mask referenced by the name parameter.
|
95
|
-
*
|
96
|
-
* If no paramemeters are used, then default main mask will be used.
|
97
|
-
*
|
98
|
-
* e.g. loadingService.resolveAll()
|
99
|
-
*/
|
100
|
-
resolveAll(name?: string): boolean;
|
101
|
-
/**
|
102
|
-
* params:
|
103
|
-
* - name: string
|
104
|
-
* - value: number
|
105
|
-
* returns: true if successful
|
106
|
-
*
|
107
|
-
* Set value on a loading mask referenced by the name parameter.
|
108
|
-
* Usage only available if its mode is 'determinate' and if loading is showing.
|
109
|
-
*/
|
110
|
-
setValue(name: string, value: number): boolean;
|
111
|
-
/**
|
112
|
-
* Clears timeout linked to the name.
|
113
|
-
* @param name Name of the loading component to be cleared
|
114
|
-
*/
|
115
|
-
private _clearTimeout;
|
116
|
-
}
|
117
|
-
export declare function LOADING_PROVIDER_FACTORY(parent: TdLoadingService, loadingFactory: TdLoadingFactory): TdLoadingService;
|
118
|
-
export declare const LOADING_PROVIDER: Provider;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"CovalentMediaModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":8,"character":1},"arguments":[{"declarations":[[{"__symbolic":"reference","name":"TdMediaToggleDirective"}]],"exports":[[{"__symbolic":"reference","name":"TdMediaToggleDirective"}]],"providers":[{"__symbolic":"reference","name":"TdMediaService"}]}]}],"members":{}},"TdMediaToggleDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":6,"character":1},"arguments":[{"selector":"[tdMediaToggle]"}]}],"members":{"query":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3},"arguments":["tdMediaToggle"]}]}],"attributes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3},"arguments":["mediaAttributes"]}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3},"arguments":["mediaClasses"]}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3},"arguments":["mediaStyles"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":58,"character":33},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":58,"character":65},{"__symbolic":"reference","name":"TdMediaService"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"_mediaChange":[{"__symbolic":"method"}],"_changeAttributes":[{"__symbolic":"method"}],"_changeClasses":[{"__symbolic":"method"}],"_changeStyles":[{"__symbolic":"method"}]}},"TdMediaService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":11,"character":31}]}],"deregisterQuery":[{"__symbolic":"method"}],"query":[{"__symbolic":"method"}],"registerQuery":[{"__symbolic":"method"}],"broadcast":[{"__symbolic":"method"}],"_onResize":[{"__symbolic":"method"}],"_matchMediaTrigger":[{"__symbolic":"method"}]}}},"origins":{"CovalentMediaModule":"./media.module","TdMediaToggleDirective":"./directives/media-toggle.directive","TdMediaService":"./services/media.service"},"importAs":"@covalent/core/media"}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
import { ElementRef, OnInit, OnDestroy } from '@angular/core';
|
2
|
-
import { Renderer2 } from '@angular/core';
|
3
|
-
import { TdMediaService } from '../services/media.service';
|
4
|
-
export declare class TdMediaToggleDirective implements OnInit, OnDestroy {
|
5
|
-
private _renderer;
|
6
|
-
private _elementRef;
|
7
|
-
private _mediaService;
|
8
|
-
private _subscription;
|
9
|
-
private _query;
|
10
|
-
private _matches;
|
11
|
-
private _attributes;
|
12
|
-
private _styles;
|
13
|
-
private _classes;
|
14
|
-
/**
|
15
|
-
* tdMediaToggle: string
|
16
|
-
* Media query used to evaluate screen/window size.
|
17
|
-
* Toggles attributes, classes and styles if media query is matched.
|
18
|
-
*/
|
19
|
-
set query(query: string);
|
20
|
-
/**
|
21
|
-
* mediaAttributes: {[key: string]: string}
|
22
|
-
* Attributes to be toggled when media query matches.
|
23
|
-
*/
|
24
|
-
set attributes(attributes: any);
|
25
|
-
/**
|
26
|
-
* mediaClasses: string[]
|
27
|
-
* CSS Classes to be toggled when media query matches.
|
28
|
-
*/
|
29
|
-
set classes(classes: string[]);
|
30
|
-
/**
|
31
|
-
* mediaStyles: {[key: string]: string}
|
32
|
-
* CSS Styles to be toggled when media query matches.
|
33
|
-
*/
|
34
|
-
set styles(styles: any);
|
35
|
-
constructor(_renderer: Renderer2, _elementRef: ElementRef, _mediaService: TdMediaService);
|
36
|
-
ngOnInit(): void;
|
37
|
-
ngOnDestroy(): void;
|
38
|
-
private _mediaChange;
|
39
|
-
private _changeAttributes;
|
40
|
-
private _changeClasses;
|
41
|
-
private _changeStyles;
|
42
|
-
}
|
package/media/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './public-api';
|
package/media/media.module.d.ts
DELETED
package/media/package.json
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"main": "../bundles/covalent-core-media.umd.js",
|
3
|
-
"module": "../fesm2015/covalent-core-media.js",
|
4
|
-
"es2015": "../fesm2015/covalent-core-media.js",
|
5
|
-
"esm2015": "../esm2015/media/covalent-core-media.js",
|
6
|
-
"fesm2015": "../fesm2015/covalent-core-media.js",
|
7
|
-
"typings": "covalent-core-media.d.ts",
|
8
|
-
"metadata": "covalent-core-media.metadata.json",
|
9
|
-
"sideEffects": false,
|
10
|
-
"name": "@covalent/core/media"
|
11
|
-
}
|
package/media/public-api.d.ts
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
import { NgZone } from '@angular/core';
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
export declare class TdMediaService {
|
4
|
-
private _ngZone;
|
5
|
-
private _resizing;
|
6
|
-
private _globalSubscription;
|
7
|
-
private _queryMap;
|
8
|
-
private _querySources;
|
9
|
-
private _queryObservables;
|
10
|
-
constructor(_ngZone: NgZone);
|
11
|
-
/**
|
12
|
-
* Deregisters a query so its stops being notified or used.
|
13
|
-
*/
|
14
|
-
deregisterQuery(query: string): void;
|
15
|
-
/**
|
16
|
-
* Used to evaluate whether a given media query is true or false given the current device's screen / window size.
|
17
|
-
*/
|
18
|
-
query(query: string): boolean;
|
19
|
-
/**
|
20
|
-
* Registers a media query and returns an [Observable] that will re-evaluate and
|
21
|
-
* return if the given media query matches on window resize.
|
22
|
-
* Note: don't forget to unsubscribe from [Observable] when finished watching.
|
23
|
-
*/
|
24
|
-
registerQuery(query: string): Observable<boolean>;
|
25
|
-
/**
|
26
|
-
* Trigger a match media event on all subscribed observables.
|
27
|
-
*/
|
28
|
-
broadcast(): void;
|
29
|
-
private _onResize;
|
30
|
-
private _matchMediaTrigger;
|
31
|
-
}
|
package/nav-links/README.md
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
# td-nav-links
|
@@ -1 +0,0 @@
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"CovalentNavLinksModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":16,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"TdNavLinksComponent"}],"exports":[{"__symbolic":"reference","name":"TdNavLinksComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":20,"character":4},{"__symbolic":"reference","module":"@covalent/core/common","name":"CovalentCommonModule","line":21,"character":4},{"__symbolic":"reference","module":"@covalent/core/expansion-panel","name":"CovalentExpansionPanelModule","line":22,"character":4},{"__symbolic":"reference","module":"@angular/material/core","name":"MatRippleModule","line":23,"character":4},{"__symbolic":"reference","module":"@angular/material/menu","name":"MatMenuModule","line":24,"character":4},{"__symbolic":"reference","module":"@angular/material/list","name":"MatListModule","line":25,"character":4},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/material/divider","name":"MatDividerModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":28,"character":4}]}]}],"members":{}},"ITdNavNode":{"__symbolic":"interface"},"ITdNavHeader":{"__symbolic":"interface"},"ITdNavExpansion":{"__symbolic":"interface"},"ITdLink":{"__symbolic":"interface"},"TdNavLinksComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":24,"character":1},"arguments":[{"selector":"td-nav-links","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":28,"character":19},"member":"OnPush"},"animations":[{"__symbolic":"reference","module":"@covalent/core/common","name":"tdCollapseAnimation","line":29,"character":15},{"__symbolic":"reference","module":"@covalent/core/common","name":"tdRotateAnimation","line":29,"character":36}],"template":"<mat-nav-list dense *ngIf=\"links && links.length > 0\">\n <ng-template ngFor [ngForOf]=\"links\" let-link let-linkIndex=\"index\">\n <ng-container *ngIf=\"link.show === undefined || link.show\">\n <ng-container *ngIf=\"link.children?.length && !link.link\">\n <h3\n [class.td-nav-link-cursor]=\"link.collapsable\"\n matSubheader\n matRipple\n [matRippleDisabled]=\"!link.collapsable\"\n (click)=\"link.collapsable && _toggle(link)\"\n >\n <mat-icon *ngIf=\"link.icon\" [fontSet]=\"link.icon?.fontSet\">{{ link.icon?.name }}</mat-icon>\n <span [style.width.%]=\"100\">{{ link.label }}</span>\n <mat-icon [@tdRotate]=\"!_isCollapsed(link)\" *ngIf=\"link.collapsable\">keyboard_arrow_down</mat-icon>\n </h3>\n <td-nav-links\n [id]=\"id + '-' + linkIndex\"\n [@tdCollapse]=\"!!_isCollapsed(link)\"\n [links]=\"link.children\"\n ></td-nav-links>\n </ng-container>\n <ng-container *ngIf=\"link.link\">\n <a\n mat-list-item\n *ngIf=\"_href(link)\"\n [href]=\"_href(link)\"\n [target]=\"link.link.openInNewTab ? '_blank' : undefined\"\n id=\"{{ id }}-{{ linkIndex }}\"\n class=\"td-nav-link\"\n (click)=\"_linkClicked(link)\"\n >\n <mat-icon matListIcon [fontSet]=\"link.icon?.fontSet\">{{ link.icon?.name }}</mat-icon>\n <span matLine>{{ link.label }}</span>\n <mat-icon *ngIf=\"link.link.openInNewTab\">launch</mat-icon>\n </a>\n <a\n mat-list-item\n *ngIf=\"_routerLink(link)\"\n [routerLink]=\"_routerLink(link)\"\n [target]=\"link.link.openInNewTab ? '_blank' : undefined\"\n id=\"{{ id }}-{{ linkIndex }}\"\n class=\"td-nav-link\"\n (click)=\"_linkClicked(link)\"\n >\n <mat-icon matListIcon [fontSet]=\"link.icon?.fontSet\">{{ link.icon?.name }}</mat-icon>\n <span matLine>{{ link.label }}</span>\n <mat-icon *ngIf=\"link.link.openInNewTab\">launch</mat-icon>\n </a>\n </ng-container>\n </ng-container>\n </ng-template>\n</mat-nav-list>\n","styles":[":host{display:block}:host .mat-nav-list.mat-list-base{padding-top:2px}:host .mat-nav-list.mat-list-base .td-nav-link-cursor{cursor:pointer}:host .mat-nav-list.mat-list-base .mat-list-item{height:40px}:host .mat-icon{margin-right:0}"]}]}],"members":{"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"links":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"afterNavigation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":47,"character":3}}]}],"_linkClicked":[{"__symbolic":"method"}],"_href":[{"__symbolic":"method"}],"_routerLink":[{"__symbolic":"method"}],"_toggle":[{"__symbolic":"method"}],"_isCollapsed":[{"__symbolic":"method"}]}}},"origins":{"CovalentNavLinksModule":"./nav-links.module","ITdNavNode":"./nav-links.component","ITdNavHeader":"./nav-links.component","ITdNavExpansion":"./nav-links.component","ITdLink":"./nav-links.component","TdNavLinksComponent":"./nav-links.component"},"importAs":"@covalent/core/nav-links"}
|
package/nav-links/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './public-api';
|