@angular/material 7.2.2 → 7.3.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/material-button.umd.js +2 -2
- package/bundles/material-button.umd.js.map +1 -1
- package/bundles/material-button.umd.min.js +1 -1
- package/bundles/material-button.umd.min.js.map +1 -1
- package/bundles/material-chips.umd.js +3 -19
- package/bundles/material-chips.umd.js.map +1 -1
- package/bundles/material-chips.umd.min.js +1 -1
- package/bundles/material-chips.umd.min.js.map +1 -1
- package/bundles/material-core.umd.js.map +1 -1
- package/bundles/material-core.umd.min.js.map +1 -1
- package/bundles/material-datepicker.umd.js +3 -0
- package/bundles/material-datepicker.umd.js.map +1 -1
- package/bundles/material-datepicker.umd.min.js +1 -1
- package/bundles/material-datepicker.umd.min.js.map +1 -1
- package/bundles/material-dialog.umd.js +38 -0
- package/bundles/material-dialog.umd.js.map +1 -1
- package/bundles/material-dialog.umd.min.js +1 -1
- package/bundles/material-dialog.umd.min.js.map +1 -1
- package/bundles/material-grid-list.umd.js +1 -1
- package/bundles/material-grid-list.umd.min.js +1 -1
- package/bundles/material-menu.umd.js +6 -6
- package/bundles/material-menu.umd.min.js +1 -1
- package/bundles/material-stepper.umd.js +21 -1
- package/bundles/material-stepper.umd.js.map +1 -1
- package/bundles/material-stepper.umd.min.js +1 -1
- package/bundles/material-stepper.umd.min.js.map +1 -1
- package/bundles/material-table.umd.js +1 -1
- package/bundles/material-table.umd.js.map +1 -1
- package/bundles/material-table.umd.min.js.map +1 -1
- package/bundles/material-tabs.umd.js +179 -45
- package/bundles/material-tabs.umd.js.map +1 -1
- package/bundles/material-tabs.umd.min.js +2 -2
- package/bundles/material-tabs.umd.min.js.map +1 -1
- package/bundles/material-tooltip.umd.js +3 -0
- package/bundles/material-tooltip.umd.js.map +1 -1
- package/bundles/material-tooltip.umd.min.js +1 -1
- package/bundles/material-tooltip.umd.min.js.map +1 -1
- package/bundles/material.umd.js +258 -76
- package/bundles/material.umd.js.map +1 -1
- package/bundles/material.umd.min.js +19 -19
- package/bundles/material.umd.min.js.map +1 -1
- package/button/typings/index.metadata.json +1 -1
- package/chips/typings/chip.d.ts +5 -5
- package/chips/typings/index.metadata.json +1 -1
- package/core/typings/ripple/ripple.d.ts +1 -1
- package/dialog/typings/dialog-ref.d.ts +4 -0
- package/dialog/typings/index.metadata.json +1 -1
- package/esm2015/button.js +2 -2
- package/esm2015/button.js.map +1 -1
- package/esm2015/chips.js +4 -20
- package/esm2015/chips.js.map +1 -1
- package/esm2015/core.js +1 -1
- package/esm2015/core.js.map +1 -1
- package/esm2015/datepicker.js +3 -0
- package/esm2015/datepicker.js.map +1 -1
- package/esm2015/dialog.js +22 -0
- package/esm2015/dialog.js.map +1 -1
- package/esm2015/grid-list.js +1 -1
- package/esm2015/material.js +4 -4
- package/esm2015/material.js.map +1 -1
- package/esm2015/menu.js +1 -1
- package/esm2015/stepper.js +17 -1
- package/esm2015/stepper.js.map +1 -1
- package/esm2015/table.js +1 -1
- package/esm2015/table.js.map +1 -1
- package/esm2015/tabs.js +130 -36
- package/esm2015/tabs.js.map +1 -1
- package/esm2015/tooltip.js +3 -0
- package/esm2015/tooltip.js.map +1 -1
- package/esm5/button.es5.js +2 -2
- package/esm5/button.es5.js.map +1 -1
- package/esm5/chips.es5.js +3 -19
- package/esm5/chips.es5.js.map +1 -1
- package/esm5/core.es5.js.map +1 -1
- package/esm5/datepicker.es5.js +3 -0
- package/esm5/datepicker.es5.js.map +1 -1
- package/esm5/dialog.es5.js +38 -0
- package/esm5/dialog.es5.js.map +1 -1
- package/esm5/grid-list.es5.js +1 -1
- package/esm5/material.es5.js +4 -4
- package/esm5/material.es5.js.map +1 -1
- package/esm5/menu.es5.js +1 -1
- package/esm5/stepper.es5.js +21 -1
- package/esm5/stepper.es5.js.map +1 -1
- package/esm5/table.es5.js +1 -1
- package/esm5/table.es5.js.map +1 -1
- package/esm5/tabs.es5.js +171 -37
- package/esm5/tabs.es5.js.map +1 -1
- package/esm5/tooltip.es5.js +3 -0
- package/esm5/tooltip.es5.js.map +1 -1
- package/grid-list/typings/index.d.ts +1 -1
- package/grid-list/typings/index.metadata.json +1 -1
- package/material.d.ts +1 -1
- package/material.metadata.json +3 -3
- package/menu/typings/index.d.ts +4 -4
- package/menu/typings/index.metadata.json +1 -1
- package/package.json +5 -5
- package/stepper/typings/index.metadata.json +1 -1
- package/stepper/typings/step-header.d.ts +1 -0
- package/tabs/typings/index.d.ts +5 -5
- package/tabs/typings/index.metadata.json +1 -1
- package/tabs/typings/tab-header.d.ts +28 -3
- package/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts +6 -6
- package/tooltip/typings/index.metadata.json +1 -1
- package/tooltip/typings/tooltip.d.ts +1 -0
- package/typings/button/index.metadata.json +1 -1
- package/typings/chips/chip.d.ts +5 -5
- package/typings/chips/index.metadata.json +1 -1
- package/typings/core/ripple/ripple.d.ts +1 -1
- package/typings/dialog/dialog-ref.d.ts +4 -0
- package/typings/dialog/index.metadata.json +1 -1
- package/typings/esm5/button/index.metadata.json +1 -1
- package/typings/esm5/chips/chip.d.ts +5 -5
- package/typings/esm5/chips/index.metadata.json +1 -1
- package/typings/esm5/core/ripple/ripple.d.ts +1 -1
- package/typings/esm5/dialog/dialog-ref.d.ts +4 -0
- package/typings/esm5/dialog/index.metadata.json +1 -1
- package/typings/esm5/grid-list/index.d.ts +1 -1
- package/typings/esm5/grid-list/index.metadata.json +1 -1
- package/typings/esm5/index.metadata.json +1 -1
- package/typings/esm5/menu/index.d.ts +4 -4
- package/typings/esm5/menu/index.metadata.json +1 -1
- package/typings/esm5/stepper/index.metadata.json +1 -1
- package/typings/esm5/stepper/step-header.d.ts +1 -0
- package/typings/esm5/tabs/index.d.ts +5 -5
- package/typings/esm5/tabs/index.metadata.json +1 -1
- package/typings/esm5/tabs/tab-header.d.ts +28 -3
- package/typings/esm5/tabs/tab-nav-bar/tab-nav-bar.d.ts +6 -6
- package/typings/esm5/tooltip/index.metadata.json +1 -1
- package/typings/esm5/tooltip/tooltip.d.ts +1 -0
- package/typings/grid-list/index.d.ts +1 -1
- package/typings/grid-list/index.metadata.json +1 -1
- package/typings/index.metadata.json +1 -1
- package/typings/menu/index.d.ts +4 -4
- package/typings/menu/index.metadata.json +1 -1
- package/typings/stepper/index.metadata.json +1 -1
- package/typings/stepper/step-header.d.ts +1 -0
- package/typings/tabs/index.d.ts +5 -5
- package/typings/tabs/index.metadata.json +1 -1
- package/typings/tabs/tab-header.d.ts +28 -3
- package/typings/tabs/tab-nav-bar/tab-nav-bar.d.ts +6 -6
- package/typings/tooltip/index.metadata.json +1 -1
- package/typings/tooltip/tooltip.d.ts +1 -0
package/bundles/material.umd.js
CHANGED
|
@@ -6411,7 +6411,7 @@ var MatButton = /** @class */ (function (_super) {
|
|
|
6411
6411
|
'[class._mat-animation-noopable]': '_animationMode === "NoopAnimations"',
|
|
6412
6412
|
},
|
|
6413
6413
|
template: "<span class=\"mat-button-wrapper\"><ng-content></ng-content></span><div matRipple class=\"mat-button-ripple\" [class.mat-button-ripple-round]=\"isRoundButton || isIconButton\" [matRippleDisabled]=\"_isRippleDisabled()\" [matRippleCentered]=\"isIconButton\" [matRippleTrigger]=\"_getHostElement()\"></div><div class=\"mat-button-focus-overlay\"></div>",
|
|
6414
|
-
styles: [".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:
|
|
6414
|
+
styles: [".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],
|
|
6415
6415
|
inputs: ['disabled', 'disableRipple', 'color'],
|
|
6416
6416
|
encapsulation: core.ViewEncapsulation.None,
|
|
6417
6417
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
@@ -6469,7 +6469,7 @@ var MatAnchor = /** @class */ (function (_super) {
|
|
|
6469
6469
|
},
|
|
6470
6470
|
inputs: ['disabled', 'disableRipple', 'color'],
|
|
6471
6471
|
template: "<span class=\"mat-button-wrapper\"><ng-content></ng-content></span><div matRipple class=\"mat-button-ripple\" [class.mat-button-ripple-round]=\"isRoundButton || isIconButton\" [matRippleDisabled]=\"_isRippleDisabled()\" [matRippleCentered]=\"isIconButton\" [matRippleTrigger]=\"_getHostElement()\"></div><div class=\"mat-button-focus-overlay\"></div>",
|
|
6472
|
-
styles: [".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:
|
|
6472
|
+
styles: [".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],
|
|
6473
6473
|
encapsulation: core.ViewEncapsulation.None,
|
|
6474
6474
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
6475
6475
|
},] },
|
|
@@ -8312,19 +8312,10 @@ var MatChipTrailingIcon = /** @class */ (function () {
|
|
|
8312
8312
|
*/
|
|
8313
8313
|
var MatChip = /** @class */ (function (_super) {
|
|
8314
8314
|
__extends(MatChip, _super);
|
|
8315
|
-
function MatChip(_elementRef, _ngZone, platform$$1,
|
|
8315
|
+
function MatChip(_elementRef, _ngZone, platform$$1, globalRippleOptions) {
|
|
8316
8316
|
var _this = _super.call(this, _elementRef) || this;
|
|
8317
8317
|
_this._elementRef = _elementRef;
|
|
8318
8318
|
_this._ngZone = _ngZone;
|
|
8319
|
-
/**
|
|
8320
|
-
* Whether the ripples are globally disabled through the RippleGlobalOptions
|
|
8321
|
-
*/
|
|
8322
|
-
_this._ripplesGloballyDisabled = false;
|
|
8323
|
-
/**
|
|
8324
|
-
* Ripple configuration for ripples that are launched on pointer down.
|
|
8325
|
-
* \@docs-private
|
|
8326
|
-
*/
|
|
8327
|
-
_this.rippleConfig = {};
|
|
8328
8319
|
/**
|
|
8329
8320
|
* Whether the chip has focus.
|
|
8330
8321
|
*/
|
|
@@ -8359,14 +8350,7 @@ var MatChip = /** @class */ (function (_super) {
|
|
|
8359
8350
|
_this._addHostClassName();
|
|
8360
8351
|
_this._chipRipple = new RippleRenderer(_this, _ngZone, _elementRef, platform$$1);
|
|
8361
8352
|
_this._chipRipple.setupTriggerEvents(_elementRef.nativeElement);
|
|
8362
|
-
|
|
8363
|
-
// TODO(paul): Do not copy each option manually. Allow dynamic global option changes: #9729
|
|
8364
|
-
_this._ripplesGloballyDisabled = !!globalOptions.disabled;
|
|
8365
|
-
_this.rippleConfig = {
|
|
8366
|
-
animation: globalOptions.animation,
|
|
8367
|
-
terminateOnPointerUp: globalOptions.terminateOnPointerUp,
|
|
8368
|
-
};
|
|
8369
|
-
}
|
|
8353
|
+
_this.rippleConfig = globalRippleOptions || {};
|
|
8370
8354
|
return _this;
|
|
8371
8355
|
}
|
|
8372
8356
|
Object.defineProperty(MatChip.prototype, "rippleDisabled", {
|
|
@@ -8380,7 +8364,7 @@ var MatChip = /** @class */ (function (_super) {
|
|
|
8380
8364
|
* @return {?}
|
|
8381
8365
|
*/
|
|
8382
8366
|
function () {
|
|
8383
|
-
return this.disabled || this.disableRipple || this.
|
|
8367
|
+
return this.disabled || this.disableRipple || !!this.rippleConfig.disabled;
|
|
8384
8368
|
},
|
|
8385
8369
|
enumerable: true,
|
|
8386
8370
|
configurable: true
|
|
@@ -10866,6 +10850,44 @@ MatDialogRef = /** @class */ (function () {
|
|
|
10866
10850
|
(/** @type {?} */ (this))._overlayRef.updatePosition();
|
|
10867
10851
|
return (/** @type {?} */ (this));
|
|
10868
10852
|
};
|
|
10853
|
+
/** Add a CSS class or an array of classes to the overlay pane. */
|
|
10854
|
+
/**
|
|
10855
|
+
* Add a CSS class or an array of classes to the overlay pane.
|
|
10856
|
+
* @template THIS
|
|
10857
|
+
* @this {THIS}
|
|
10858
|
+
* @param {?} classes
|
|
10859
|
+
* @return {THIS}
|
|
10860
|
+
*/
|
|
10861
|
+
MatDialogRef.prototype.addPanelClass = /**
|
|
10862
|
+
* Add a CSS class or an array of classes to the overlay pane.
|
|
10863
|
+
* @template THIS
|
|
10864
|
+
* @this {THIS}
|
|
10865
|
+
* @param {?} classes
|
|
10866
|
+
* @return {THIS}
|
|
10867
|
+
*/
|
|
10868
|
+
function (classes) {
|
|
10869
|
+
(/** @type {?} */ (this))._overlayRef.addPanelClass(classes);
|
|
10870
|
+
return (/** @type {?} */ (this));
|
|
10871
|
+
};
|
|
10872
|
+
/** Remove a CSS class or an array of classes from the overlay pane. */
|
|
10873
|
+
/**
|
|
10874
|
+
* Remove a CSS class or an array of classes from the overlay pane.
|
|
10875
|
+
* @template THIS
|
|
10876
|
+
* @this {THIS}
|
|
10877
|
+
* @param {?} classes
|
|
10878
|
+
* @return {THIS}
|
|
10879
|
+
*/
|
|
10880
|
+
MatDialogRef.prototype.removePanelClass = /**
|
|
10881
|
+
* Remove a CSS class or an array of classes from the overlay pane.
|
|
10882
|
+
* @template THIS
|
|
10883
|
+
* @this {THIS}
|
|
10884
|
+
* @param {?} classes
|
|
10885
|
+
* @return {THIS}
|
|
10886
|
+
*/
|
|
10887
|
+
function (classes) {
|
|
10888
|
+
(/** @type {?} */ (this))._overlayRef.removePanelClass(classes);
|
|
10889
|
+
return (/** @type {?} */ (this));
|
|
10890
|
+
};
|
|
10869
10891
|
/**
|
|
10870
10892
|
* Gets an observable that is notified when the dialog is finished opening.
|
|
10871
10893
|
* @deprecated Use `afterOpened` instead.
|
|
@@ -15563,6 +15585,9 @@ var MatDatepickerInput = /** @class */ (function () {
|
|
|
15563
15585
|
this._valueChange.emit(date);
|
|
15564
15586
|
this.dateInput.emit(new MatDatepickerInputEvent(this, this._elementRef.nativeElement));
|
|
15565
15587
|
}
|
|
15588
|
+
else {
|
|
15589
|
+
this._validatorOnChange();
|
|
15590
|
+
}
|
|
15566
15591
|
};
|
|
15567
15592
|
/**
|
|
15568
15593
|
* @return {?}
|
|
@@ -24584,6 +24609,9 @@ var MatTooltip = /** @class */ (function () {
|
|
|
24584
24609
|
_ngZone.run(function () { return _this.show(); });
|
|
24585
24610
|
}
|
|
24586
24611
|
});
|
|
24612
|
+
if (_defaultOptions && _defaultOptions.position) {
|
|
24613
|
+
this.position = _defaultOptions.position;
|
|
24614
|
+
}
|
|
24587
24615
|
}
|
|
24588
24616
|
Object.defineProperty(MatTooltip.prototype, "position", {
|
|
24589
24617
|
/** Allows the user to define the position of the tooltip relative to the parent element */
|
|
@@ -32342,9 +32370,29 @@ var MatStepHeader = /** @class */ (function (_super) {
|
|
|
32342
32370
|
optional: this.optional
|
|
32343
32371
|
};
|
|
32344
32372
|
};
|
|
32373
|
+
/**
|
|
32374
|
+
* @param {?} state
|
|
32375
|
+
* @return {?}
|
|
32376
|
+
*/
|
|
32377
|
+
MatStepHeader.prototype._getDefaultTextForState = /**
|
|
32378
|
+
* @param {?} state
|
|
32379
|
+
* @return {?}
|
|
32380
|
+
*/
|
|
32381
|
+
function (state$$1) {
|
|
32382
|
+
if (state$$1 == 'number') {
|
|
32383
|
+
return "" + (this.index + 1);
|
|
32384
|
+
}
|
|
32385
|
+
if (state$$1 == 'edit') {
|
|
32386
|
+
return 'create';
|
|
32387
|
+
}
|
|
32388
|
+
if (state$$1 == 'error') {
|
|
32389
|
+
return 'warning';
|
|
32390
|
+
}
|
|
32391
|
+
return state$$1;
|
|
32392
|
+
};
|
|
32345
32393
|
MatStepHeader.decorators = [
|
|
32346
32394
|
{ type: core.Component, args: [{selector: 'mat-step-header',
|
|
32347
|
-
template: "<div class=\"mat-step-header-ripple\" mat-ripple [matRippleTrigger]=\"_getHostElement()\"></div><div class=\"mat-step-icon-state-{{state}} mat-step-icon\" [class.mat-step-icon-selected]=\"selected\"
|
|
32395
|
+
template: "<div class=\"mat-step-header-ripple\" mat-ripple [matRippleTrigger]=\"_getHostElement()\"></div><div class=\"mat-step-icon-state-{{state}} mat-step-icon\" [class.mat-step-icon-selected]=\"selected\"><div class=\"mat-step-icon-content\" [ngSwitch]=\"!!(iconOverrides && iconOverrides[state])\"><ng-container *ngSwitchCase=\"true\" [ngTemplateOutlet]=\"iconOverrides[state]\" [ngTemplateOutletContext]=\"_getIconContext()\"></ng-container><ng-container *ngSwitchDefault [ngSwitch]=\"state\"><span *ngSwitchCase=\"'number'\">{{_getDefaultTextForState(state)}}</span><mat-icon *ngSwitchDefault>{{_getDefaultTextForState(state)}}</mat-icon></ng-container></div></div><div class=\"mat-step-label\" [class.mat-step-label-active]=\"active\" [class.mat-step-label-selected]=\"selected\" [class.mat-step-label-error]=\"state == 'error'\"><ng-container *ngIf=\"_templateLabel()\" [ngTemplateOutlet]=\"_templateLabel()!.template\"></ng-container><div class=\"mat-step-text-label\" *ngIf=\"_stringLabel()\">{{label}}</div><div class=\"mat-step-optional\" *ngIf=\"optional && state != 'error'\">{{_intl.optionalLabel}}</div><div class=\"mat-step-sub-label-error\" *ngIf=\"state == 'error'\">{{errorMessage}}</div></div>",
|
|
32348
32396
|
styles: [".mat-step-header{overflow:hidden;outline:0;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon .mat-icon,.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],
|
|
32349
32397
|
host: {
|
|
32350
32398
|
'class': 'mat-step-header',
|
|
@@ -33046,7 +33094,7 @@ var EXPORTED_DECLARATIONS = [
|
|
|
33046
33094
|
MatHeaderCell,
|
|
33047
33095
|
MatCell,
|
|
33048
33096
|
MatFooterCell,
|
|
33049
|
-
// Row
|
|
33097
|
+
// Row directives
|
|
33050
33098
|
MatHeaderRow,
|
|
33051
33099
|
MatRow,
|
|
33052
33100
|
MatFooterRow,
|
|
@@ -34229,12 +34277,29 @@ var MatTabLabelWrapper = /** @class */ (function (_super) {
|
|
|
34229
34277
|
* @fileoverview added by tsickle
|
|
34230
34278
|
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
34231
34279
|
*/
|
|
34280
|
+
/**
|
|
34281
|
+
* Config used to bind passive event listeners
|
|
34282
|
+
* @type {?}
|
|
34283
|
+
*/
|
|
34284
|
+
var passiveEventListenerOptions$1 = (/** @type {?} */ (platform.normalizePassiveListenerOptions({ passive: true })));
|
|
34232
34285
|
/**
|
|
34233
34286
|
* The distance in pixels that will be overshot when scrolling a tab label into view. This helps
|
|
34234
34287
|
* provide a small affordance to the label next to it.
|
|
34235
34288
|
* @type {?}
|
|
34236
34289
|
*/
|
|
34237
34290
|
var EXAGGERATED_OVERSCROLL = 60;
|
|
34291
|
+
/**
|
|
34292
|
+
* Amount of milliseconds to wait before starting to scroll the header automatically.
|
|
34293
|
+
* Set a little conservatively in order to handle fake events dispatched on touch devices.
|
|
34294
|
+
* @type {?}
|
|
34295
|
+
*/
|
|
34296
|
+
var HEADER_SCROLL_DELAY = 650;
|
|
34297
|
+
/**
|
|
34298
|
+
* Interval in milliseconds at which to scroll the header
|
|
34299
|
+
* while the user is holding their pointer.
|
|
34300
|
+
* @type {?}
|
|
34301
|
+
*/
|
|
34302
|
+
var HEADER_SCROLL_INTERVAL = 100;
|
|
34238
34303
|
// Boilerplate for applying mixins to MatTabHeader.
|
|
34239
34304
|
/**
|
|
34240
34305
|
* \@docs-private
|
|
@@ -34292,6 +34357,10 @@ var MatTabHeader = /** @class */ (function (_super) {
|
|
|
34292
34357
|
* Whether the tab list can be scrolled more towards the beginning of the tab label list.
|
|
34293
34358
|
*/
|
|
34294
34359
|
_this._disableScrollBefore = true;
|
|
34360
|
+
/**
|
|
34361
|
+
* Stream that will stop the automated scrolling.
|
|
34362
|
+
*/
|
|
34363
|
+
_this._stopScrolling = new rxjs.Subject();
|
|
34295
34364
|
_this._selectedIndex = 0;
|
|
34296
34365
|
/**
|
|
34297
34366
|
* Event emitted when the option is selected.
|
|
@@ -34301,6 +34370,24 @@ var MatTabHeader = /** @class */ (function (_super) {
|
|
|
34301
34370
|
* Event emitted when a label is focused.
|
|
34302
34371
|
*/
|
|
34303
34372
|
_this.indexFocused = new core.EventEmitter();
|
|
34373
|
+
/** @type {?} */
|
|
34374
|
+
var element = _elementRef.nativeElement;
|
|
34375
|
+
/** @type {?} */
|
|
34376
|
+
var bindEvent = function () {
|
|
34377
|
+
rxjs.fromEvent(element, 'mouseleave')
|
|
34378
|
+
.pipe(operators.takeUntil(_this._destroyed))
|
|
34379
|
+
.subscribe(function () {
|
|
34380
|
+
_this._stopInterval();
|
|
34381
|
+
});
|
|
34382
|
+
};
|
|
34383
|
+
// @breaking-change 8.0.0 remove null check once _ngZone is made into a required parameter.
|
|
34384
|
+
if (_ngZone) {
|
|
34385
|
+
// Bind the `mouseleave` event on the outside since it doesn't change anything in the view.
|
|
34386
|
+
_ngZone.runOutsideAngular(bindEvent);
|
|
34387
|
+
}
|
|
34388
|
+
else {
|
|
34389
|
+
bindEvent();
|
|
34390
|
+
}
|
|
34304
34391
|
return _this;
|
|
34305
34392
|
}
|
|
34306
34393
|
Object.defineProperty(MatTabHeader.prototype, "selectedIndex", {
|
|
@@ -34355,11 +34442,14 @@ var MatTabHeader = /** @class */ (function (_super) {
|
|
|
34355
34442
|
this._changeDetectorRef.markForCheck();
|
|
34356
34443
|
}
|
|
34357
34444
|
};
|
|
34445
|
+
/** Handles keyboard events on the header. */
|
|
34358
34446
|
/**
|
|
34447
|
+
* Handles keyboard events on the header.
|
|
34359
34448
|
* @param {?} event
|
|
34360
34449
|
* @return {?}
|
|
34361
34450
|
*/
|
|
34362
34451
|
MatTabHeader.prototype._handleKeydown = /**
|
|
34452
|
+
* Handles keyboard events on the header.
|
|
34363
34453
|
* @param {?} event
|
|
34364
34454
|
* @return {?}
|
|
34365
34455
|
*/
|
|
@@ -34429,6 +34519,26 @@ var MatTabHeader = /** @class */ (function (_super) {
|
|
|
34429
34519
|
_this._setTabFocus(newFocusIndex);
|
|
34430
34520
|
});
|
|
34431
34521
|
};
|
|
34522
|
+
/**
|
|
34523
|
+
* @return {?}
|
|
34524
|
+
*/
|
|
34525
|
+
MatTabHeader.prototype.ngAfterViewInit = /**
|
|
34526
|
+
* @return {?}
|
|
34527
|
+
*/
|
|
34528
|
+
function () {
|
|
34529
|
+
var _this = this;
|
|
34530
|
+
// We need to handle these events manually, because we want to bind passive event listeners.
|
|
34531
|
+
rxjs.fromEvent(this._previousPaginator.nativeElement, 'touchstart', passiveEventListenerOptions$1)
|
|
34532
|
+
.pipe(operators.takeUntil(this._destroyed))
|
|
34533
|
+
.subscribe(function () {
|
|
34534
|
+
_this._handlePaginatorPress('before');
|
|
34535
|
+
});
|
|
34536
|
+
rxjs.fromEvent(this._nextPaginator.nativeElement, 'touchstart', passiveEventListenerOptions$1)
|
|
34537
|
+
.pipe(operators.takeUntil(this._destroyed))
|
|
34538
|
+
.subscribe(function () {
|
|
34539
|
+
_this._handlePaginatorPress('after');
|
|
34540
|
+
});
|
|
34541
|
+
};
|
|
34432
34542
|
/**
|
|
34433
34543
|
* @return {?}
|
|
34434
34544
|
*/
|
|
@@ -34438,6 +34548,7 @@ var MatTabHeader = /** @class */ (function (_super) {
|
|
|
34438
34548
|
function () {
|
|
34439
34549
|
this._destroyed.next();
|
|
34440
34550
|
this._destroyed.complete();
|
|
34551
|
+
this._stopScrolling.complete();
|
|
34441
34552
|
};
|
|
34442
34553
|
/**
|
|
34443
34554
|
* Callback for when the MutationObserver detects that the content has changed.
|
|
@@ -34636,15 +34747,11 @@ var MatTabHeader = /** @class */ (function (_super) {
|
|
|
34636
34747
|
*/
|
|
34637
34748
|
function () { return this._scrollDistance; },
|
|
34638
34749
|
set: /**
|
|
34639
|
-
* @param {?}
|
|
34750
|
+
* @param {?} value
|
|
34640
34751
|
* @return {?}
|
|
34641
34752
|
*/
|
|
34642
|
-
function (
|
|
34643
|
-
this.
|
|
34644
|
-
// Mark that the scroll distance has changed so that after the view is checked, the CSS
|
|
34645
|
-
// transformation can move the header.
|
|
34646
|
-
this._scrollDistanceChanged = true;
|
|
34647
|
-
this._checkScrollingControls();
|
|
34753
|
+
function (value) {
|
|
34754
|
+
this._scrollTo(value);
|
|
34648
34755
|
},
|
|
34649
34756
|
enumerable: true,
|
|
34650
34757
|
configurable: true
|
|
@@ -34664,7 +34771,7 @@ var MatTabHeader = /** @class */ (function (_super) {
|
|
|
34664
34771
|
*
|
|
34665
34772
|
* This is an expensive call that forces a layout reflow to compute box and scroll metrics and
|
|
34666
34773
|
* should be called sparingly.
|
|
34667
|
-
* @param {?}
|
|
34774
|
+
* @param {?} direction
|
|
34668
34775
|
* @return {?}
|
|
34669
34776
|
*/
|
|
34670
34777
|
MatTabHeader.prototype._scrollHeader = /**
|
|
@@ -34674,14 +34781,31 @@ var MatTabHeader = /** @class */ (function (_super) {
|
|
|
34674
34781
|
*
|
|
34675
34782
|
* This is an expensive call that forces a layout reflow to compute box and scroll metrics and
|
|
34676
34783
|
* should be called sparingly.
|
|
34677
|
-
* @param {?}
|
|
34784
|
+
* @param {?} direction
|
|
34678
34785
|
* @return {?}
|
|
34679
34786
|
*/
|
|
34680
|
-
function (
|
|
34787
|
+
function (direction) {
|
|
34681
34788
|
/** @type {?} */
|
|
34682
34789
|
var viewLength = this._tabListContainer.nativeElement.offsetWidth;
|
|
34683
34790
|
// Move the scroll distance one-third the length of the tab list's viewport.
|
|
34684
|
-
|
|
34791
|
+
/** @type {?} */
|
|
34792
|
+
var scrollAmount = (direction == 'before' ? -1 : 1) * viewLength / 3;
|
|
34793
|
+
return this._scrollTo(this._scrollDistance + scrollAmount);
|
|
34794
|
+
};
|
|
34795
|
+
/** Handles click events on the pagination arrows. */
|
|
34796
|
+
/**
|
|
34797
|
+
* Handles click events on the pagination arrows.
|
|
34798
|
+
* @param {?} direction
|
|
34799
|
+
* @return {?}
|
|
34800
|
+
*/
|
|
34801
|
+
MatTabHeader.prototype._handlePaginatorClick = /**
|
|
34802
|
+
* Handles click events on the pagination arrows.
|
|
34803
|
+
* @param {?} direction
|
|
34804
|
+
* @return {?}
|
|
34805
|
+
*/
|
|
34806
|
+
function (direction) {
|
|
34807
|
+
this._stopInterval();
|
|
34808
|
+
this._scrollHeader(direction);
|
|
34685
34809
|
};
|
|
34686
34810
|
/**
|
|
34687
34811
|
* Moves the tab list such that the desired tab label (marked by index) is moved into view.
|
|
@@ -34857,10 +34981,82 @@ var MatTabHeader = /** @class */ (function (_super) {
|
|
|
34857
34981
|
null;
|
|
34858
34982
|
this._inkBar.alignToElement((/** @type {?} */ (selectedLabelWrapper)));
|
|
34859
34983
|
};
|
|
34984
|
+
/** Stops the currently-running paginator interval. */
|
|
34985
|
+
/**
|
|
34986
|
+
* Stops the currently-running paginator interval.
|
|
34987
|
+
* @return {?}
|
|
34988
|
+
*/
|
|
34989
|
+
MatTabHeader.prototype._stopInterval = /**
|
|
34990
|
+
* Stops the currently-running paginator interval.
|
|
34991
|
+
* @return {?}
|
|
34992
|
+
*/
|
|
34993
|
+
function () {
|
|
34994
|
+
this._stopScrolling.next();
|
|
34995
|
+
};
|
|
34996
|
+
/**
|
|
34997
|
+
* Handles the user pressing down on one of the paginators.
|
|
34998
|
+
* Starts scrolling the header after a certain amount of time.
|
|
34999
|
+
* @param direction In which direction the paginator should be scrolled.
|
|
35000
|
+
*/
|
|
35001
|
+
/**
|
|
35002
|
+
* Handles the user pressing down on one of the paginators.
|
|
35003
|
+
* Starts scrolling the header after a certain amount of time.
|
|
35004
|
+
* @param {?} direction In which direction the paginator should be scrolled.
|
|
35005
|
+
* @return {?}
|
|
35006
|
+
*/
|
|
35007
|
+
MatTabHeader.prototype._handlePaginatorPress = /**
|
|
35008
|
+
* Handles the user pressing down on one of the paginators.
|
|
35009
|
+
* Starts scrolling the header after a certain amount of time.
|
|
35010
|
+
* @param {?} direction In which direction the paginator should be scrolled.
|
|
35011
|
+
* @return {?}
|
|
35012
|
+
*/
|
|
35013
|
+
function (direction) {
|
|
35014
|
+
var _this = this;
|
|
35015
|
+
// Avoid overlapping timers.
|
|
35016
|
+
this._stopInterval();
|
|
35017
|
+
// Start a timer after the delay and keep firing based on the interval.
|
|
35018
|
+
rxjs.timer(HEADER_SCROLL_DELAY, HEADER_SCROLL_INTERVAL)
|
|
35019
|
+
// Keep the timer going until something tells it to stop or the component is destroyed.
|
|
35020
|
+
.pipe(operators.takeUntil(rxjs.merge(this._stopScrolling, this._destroyed)))
|
|
35021
|
+
.subscribe(function () {
|
|
35022
|
+
var _a = _this._scrollHeader(direction), maxScrollDistance = _a.maxScrollDistance, distance = _a.distance;
|
|
35023
|
+
// Stop the timer if we've reached the start or the end.
|
|
35024
|
+
if (distance === 0 || distance >= maxScrollDistance) {
|
|
35025
|
+
_this._stopInterval();
|
|
35026
|
+
}
|
|
35027
|
+
});
|
|
35028
|
+
};
|
|
35029
|
+
/**
|
|
35030
|
+
* Scrolls the header to a given position.
|
|
35031
|
+
* @param position Position to which to scroll.
|
|
35032
|
+
* @returns Information on the current scroll distance and the maximum.
|
|
35033
|
+
*/
|
|
35034
|
+
/**
|
|
35035
|
+
* Scrolls the header to a given position.
|
|
35036
|
+
* @private
|
|
35037
|
+
* @param {?} position Position to which to scroll.
|
|
35038
|
+
* @return {?} Information on the current scroll distance and the maximum.
|
|
35039
|
+
*/
|
|
35040
|
+
MatTabHeader.prototype._scrollTo = /**
|
|
35041
|
+
* Scrolls the header to a given position.
|
|
35042
|
+
* @private
|
|
35043
|
+
* @param {?} position Position to which to scroll.
|
|
35044
|
+
* @return {?} Information on the current scroll distance and the maximum.
|
|
35045
|
+
*/
|
|
35046
|
+
function (position) {
|
|
35047
|
+
/** @type {?} */
|
|
35048
|
+
var maxScrollDistance = this._getMaxScrollDistance();
|
|
35049
|
+
this._scrollDistance = Math.max(0, Math.min(maxScrollDistance, position));
|
|
35050
|
+
// Mark that the scroll distance has changed so that after the view is checked, the CSS
|
|
35051
|
+
// transformation can move the header.
|
|
35052
|
+
this._scrollDistanceChanged = true;
|
|
35053
|
+
this._checkScrollingControls();
|
|
35054
|
+
return { maxScrollDistance: maxScrollDistance, distance: this._scrollDistance };
|
|
35055
|
+
};
|
|
34860
35056
|
MatTabHeader.decorators = [
|
|
34861
35057
|
{ type: core.Component, args: [{selector: 'mat-tab-header',
|
|
34862
|
-
template: "<div class=\"mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4\" aria-hidden=\"true\" mat-ripple [matRippleDisabled]=\"_disableScrollBefore || disableRipple\" [class.mat-tab-header-pagination-disabled]=\"_disableScrollBefore\" (click)=\"
|
|
34863
|
-
styles: [".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-header-pagination{position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}"],
|
|
35058
|
+
template: "<div class=\"mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4\" #previousPaginator aria-hidden=\"true\" mat-ripple [matRippleDisabled]=\"_disableScrollBefore || disableRipple\" [class.mat-tab-header-pagination-disabled]=\"_disableScrollBefore\" (click)=\"_handlePaginatorClick('before')\" (mousedown)=\"_handlePaginatorPress('before')\" (touchend)=\"_stopInterval()\"><div class=\"mat-tab-header-pagination-chevron\"></div></div><div class=\"mat-tab-label-container\" #tabListContainer (keydown)=\"_handleKeydown($event)\"><div class=\"mat-tab-list\" #tabList role=\"tablist\" (cdkObserveContent)=\"_onContentChanges()\"><div class=\"mat-tab-labels\"><ng-content></ng-content></div><mat-ink-bar></mat-ink-bar></div></div><div class=\"mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4\" #nextPaginator aria-hidden=\"true\" mat-ripple [matRippleDisabled]=\"_disableScrollAfter || disableRipple\" [class.mat-tab-header-pagination-disabled]=\"_disableScrollAfter\" (mousedown)=\"_handlePaginatorPress('after')\" (click)=\"_handlePaginatorClick('after')\" (touchend)=\"_stopInterval()\"><div class=\"mat-tab-header-pagination-chevron\"></div></div>",
|
|
35059
|
+
styles: [".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}"],
|
|
34864
35060
|
inputs: ['disableRipple'],
|
|
34865
35061
|
encapsulation: core.ViewEncapsulation.None,
|
|
34866
35062
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
@@ -34885,6 +35081,8 @@ var MatTabHeader = /** @class */ (function (_super) {
|
|
|
34885
35081
|
_inkBar: [{ type: core.ViewChild, args: [MatInkBar,] }],
|
|
34886
35082
|
_tabListContainer: [{ type: core.ViewChild, args: ['tabListContainer',] }],
|
|
34887
35083
|
_tabList: [{ type: core.ViewChild, args: ['tabList',] }],
|
|
35084
|
+
_nextPaginator: [{ type: core.ViewChild, args: ['nextPaginator',] }],
|
|
35085
|
+
_previousPaginator: [{ type: core.ViewChild, args: ['previousPaginator',] }],
|
|
34888
35086
|
selectedIndex: [{ type: core.Input }],
|
|
34889
35087
|
selectFocusedIndex: [{ type: core.Output }],
|
|
34890
35088
|
indexFocused: [{ type: core.Output }]
|
|
@@ -35588,7 +35786,7 @@ var _MatTabLinkMixinBase = mixinTabIndex(mixinDisableRipple(mixinDisabled(MatTab
|
|
|
35588
35786
|
*/
|
|
35589
35787
|
var MatTabLink = /** @class */ (function (_super) {
|
|
35590
35788
|
__extends(MatTabLink, _super);
|
|
35591
|
-
function MatTabLink(_tabNavBar, _elementRef, ngZone, platform$$1,
|
|
35789
|
+
function MatTabLink(_tabNavBar, _elementRef, ngZone, platform$$1, globalRippleOptions, tabIndex, _focusMonitor) {
|
|
35592
35790
|
var _this = _super.call(this) || this;
|
|
35593
35791
|
_this._tabNavBar = _tabNavBar;
|
|
35594
35792
|
_this._elementRef = _elementRef;
|
|
@@ -35597,26 +35795,10 @@ var MatTabLink = /** @class */ (function (_super) {
|
|
|
35597
35795
|
* Whether the tab link is active or not.
|
|
35598
35796
|
*/
|
|
35599
35797
|
_this._isActive = false;
|
|
35600
|
-
/**
|
|
35601
|
-
* Whether the ripples are globally disabled through the RippleGlobalOptions
|
|
35602
|
-
*/
|
|
35603
|
-
_this._ripplesGloballyDisabled = false;
|
|
35604
|
-
/**
|
|
35605
|
-
* Ripple configuration for ripples that are launched on pointer down.
|
|
35606
|
-
* \@docs-private
|
|
35607
|
-
*/
|
|
35608
|
-
_this.rippleConfig = {};
|
|
35609
35798
|
_this._tabLinkRipple = new RippleRenderer(_this, ngZone, _elementRef, platform$$1);
|
|
35610
35799
|
_this._tabLinkRipple.setupTriggerEvents(_elementRef.nativeElement);
|
|
35800
|
+
_this.rippleConfig = globalRippleOptions || {};
|
|
35611
35801
|
_this.tabIndex = parseInt(tabIndex) || 0;
|
|
35612
|
-
if (globalOptions) {
|
|
35613
|
-
// TODO(paul): Do not copy each option manually. Allow dynamic global option changes: #9729
|
|
35614
|
-
_this._ripplesGloballyDisabled = !!globalOptions.disabled;
|
|
35615
|
-
_this.rippleConfig = {
|
|
35616
|
-
terminateOnPointerUp: globalOptions.terminateOnPointerUp,
|
|
35617
|
-
animation: globalOptions.animation,
|
|
35618
|
-
};
|
|
35619
|
-
}
|
|
35620
35802
|
if (_focusMonitor) {
|
|
35621
35803
|
_focusMonitor.monitor(_elementRef);
|
|
35622
35804
|
}
|
|
@@ -35644,17 +35826,17 @@ var MatTabLink = /** @class */ (function (_super) {
|
|
|
35644
35826
|
});
|
|
35645
35827
|
Object.defineProperty(MatTabLink.prototype, "rippleDisabled", {
|
|
35646
35828
|
/**
|
|
35647
|
-
* Whether ripples are disabled on interaction
|
|
35829
|
+
* Whether ripples are disabled on interaction.
|
|
35648
35830
|
* @docs-private
|
|
35649
35831
|
*/
|
|
35650
35832
|
get: /**
|
|
35651
|
-
* Whether ripples are disabled on interaction
|
|
35833
|
+
* Whether ripples are disabled on interaction.
|
|
35652
35834
|
* \@docs-private
|
|
35653
35835
|
* @return {?}
|
|
35654
35836
|
*/
|
|
35655
35837
|
function () {
|
|
35656
35838
|
return this.disabled || this.disableRipple || this._tabNavBar.disableRipple ||
|
|
35657
|
-
this.
|
|
35839
|
+
!!this.rippleConfig.disabled;
|
|
35658
35840
|
},
|
|
35659
35841
|
enumerable: true,
|
|
35660
35842
|
configurable: true
|
|
@@ -36529,7 +36711,7 @@ MatTreeNestedDataSource = /** @class */ (function (_super) {
|
|
|
36529
36711
|
* Current version of Angular Material.
|
|
36530
36712
|
* @type {?}
|
|
36531
36713
|
*/
|
|
36532
|
-
var VERSION = new core.Version('7.
|
|
36714
|
+
var VERSION = new core.Version('7.3.0');
|
|
36533
36715
|
|
|
36534
36716
|
exports.VERSION = VERSION;
|
|
36535
36717
|
exports.MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY = MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY;
|
|
@@ -36742,7 +36924,7 @@ exports.MatPrefix = MatPrefix;
|
|
|
36742
36924
|
exports.MatSuffix = MatSuffix;
|
|
36743
36925
|
exports.MatLabel = MatLabel;
|
|
36744
36926
|
exports.matFormFieldAnimations = matFormFieldAnimations;
|
|
36745
|
-
exports.ɵ
|
|
36927
|
+
exports.ɵa3 = MAT_GRID_LIST;
|
|
36746
36928
|
exports.MatGridListModule = MatGridListModule;
|
|
36747
36929
|
exports.MatGridList = MatGridList;
|
|
36748
36930
|
exports.MatGridTile = MatGridTile;
|
|
@@ -36789,12 +36971,12 @@ exports.MAT_SELECTION_LIST_VALUE_ACCESSOR = MAT_SELECTION_LIST_VALUE_ACCESSOR;
|
|
|
36789
36971
|
exports.MatSelectionListChange = MatSelectionListChange;
|
|
36790
36972
|
exports.MatListOption = MatListOption;
|
|
36791
36973
|
exports.MatSelectionList = MatSelectionList;
|
|
36792
|
-
exports.ɵ
|
|
36793
|
-
exports.ɵ
|
|
36794
|
-
exports.ɵ
|
|
36795
|
-
exports.ɵ
|
|
36796
|
-
exports.ɵ
|
|
36797
|
-
exports.ɵ
|
|
36974
|
+
exports.ɵa23 = MAT_MENU_DEFAULT_OPTIONS_FACTORY;
|
|
36975
|
+
exports.ɵb23 = MatMenuItemBase;
|
|
36976
|
+
exports.ɵc23 = _MatMenuItemMixinBase;
|
|
36977
|
+
exports.ɵf23 = MAT_MENU_PANEL;
|
|
36978
|
+
exports.ɵd23 = MAT_MENU_SCROLL_STRATEGY_FACTORY;
|
|
36979
|
+
exports.ɵe23 = MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER;
|
|
36798
36980
|
exports.MAT_MENU_SCROLL_STRATEGY = MAT_MENU_SCROLL_STRATEGY;
|
|
36799
36981
|
exports.MatMenuModule = MatMenuModule;
|
|
36800
36982
|
exports.MatMenu = MatMenu;
|
|
@@ -36925,17 +37107,17 @@ exports.MatHeaderRow = MatHeaderRow;
|
|
|
36925
37107
|
exports.MatFooterRow = MatFooterRow;
|
|
36926
37108
|
exports.MatRow = MatRow;
|
|
36927
37109
|
exports.MatTableDataSource = MatTableDataSource;
|
|
36928
|
-
exports.ɵ
|
|
36929
|
-
exports.ɵ
|
|
36930
|
-
exports.ɵ
|
|
36931
|
-
exports.ɵ
|
|
36932
|
-
exports.ɵ
|
|
36933
|
-
exports.ɵ
|
|
36934
|
-
exports.ɵ
|
|
36935
|
-
exports.ɵ
|
|
36936
|
-
exports.ɵ
|
|
36937
|
-
exports.ɵ
|
|
36938
|
-
exports.ɵ
|
|
37110
|
+
exports.ɵa22 = _MAT_INK_BAR_POSITIONER_FACTORY;
|
|
37111
|
+
exports.ɵf22 = MatTabBase;
|
|
37112
|
+
exports.ɵg22 = _MatTabMixinBase;
|
|
37113
|
+
exports.ɵb22 = MatTabHeaderBase;
|
|
37114
|
+
exports.ɵc22 = _MatTabHeaderMixinBase;
|
|
37115
|
+
exports.ɵd22 = MatTabLabelWrapperBase;
|
|
37116
|
+
exports.ɵe22 = _MatTabLabelWrapperMixinBase;
|
|
37117
|
+
exports.ɵj22 = MatTabLinkBase;
|
|
37118
|
+
exports.ɵh22 = MatTabNavBase;
|
|
37119
|
+
exports.ɵk22 = _MatTabLinkMixinBase;
|
|
37120
|
+
exports.ɵi22 = _MatTabNavMixinBase;
|
|
36939
37121
|
exports.MatInkBar = MatInkBar;
|
|
36940
37122
|
exports._MAT_INK_BAR_POSITIONER = _MAT_INK_BAR_POSITIONER;
|
|
36941
37123
|
exports.MatTabBody = MatTabBody;
|