@angular/material 5.2.1 → 5.2.5
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/_theming.scss +13 -10
- package/autocomplete/typings/index.metadata.json +1 -1
- package/bundles/material-autocomplete.umd.js +1 -1
- package/bundles/material-autocomplete.umd.js.map +1 -1
- package/bundles/material-autocomplete.umd.min.js +1 -1
- package/bundles/material-autocomplete.umd.min.js.map +1 -1
- 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 +4 -0
- 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 +64 -33
- package/bundles/material-core.umd.js.map +1 -1
- package/bundles/material-core.umd.min.js +1 -1
- package/bundles/material-core.umd.min.js.map +1 -1
- package/bundles/material-dialog.umd.js +12 -9
- 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-expansion.umd.js +1 -1
- package/bundles/material-expansion.umd.js.map +1 -1
- package/bundles/material-expansion.umd.min.js +1 -1
- package/bundles/material-expansion.umd.min.js.map +1 -1
- package/bundles/material-grid-list.umd.js +7 -7
- package/bundles/material-grid-list.umd.js.map +1 -1
- package/bundles/material-grid-list.umd.min.js +1 -1
- package/bundles/material-grid-list.umd.min.js.map +1 -1
- package/bundles/material-list.umd.js +46 -41
- package/bundles/material-list.umd.js.map +1 -1
- package/bundles/material-list.umd.min.js +3 -3
- package/bundles/material-list.umd.min.js.map +1 -1
- package/bundles/material-menu.umd.js +5 -5
- package/bundles/material-menu.umd.js.map +1 -1
- package/bundles/material-menu.umd.min.js +1 -1
- package/bundles/material-menu.umd.min.js.map +1 -1
- package/bundles/material-paginator.umd.js +2 -2
- package/bundles/material-paginator.umd.js.map +1 -1
- package/bundles/material-paginator.umd.min.js +1 -1
- package/bundles/material-paginator.umd.min.js.map +1 -1
- package/bundles/material-progress-spinner.umd.js +7 -3
- package/bundles/material-progress-spinner.umd.js.map +1 -1
- package/bundles/material-progress-spinner.umd.min.js +1 -1
- package/bundles/material-progress-spinner.umd.min.js.map +1 -1
- package/bundles/material-select.umd.js +3 -3
- package/bundles/material-select.umd.js.map +1 -1
- package/bundles/material-select.umd.min.js +1 -1
- package/bundles/material-select.umd.min.js.map +1 -1
- package/bundles/material-sidenav.umd.js +22 -31
- package/bundles/material-sidenav.umd.js.map +1 -1
- package/bundles/material-sidenav.umd.min.js +1 -1
- package/bundles/material-sidenav.umd.min.js.map +1 -1
- package/bundles/material-tabs.umd.js +13 -13
- package/bundles/material-tabs.umd.js.map +1 -1
- package/bundles/material-tabs.umd.min.js +1 -1
- package/bundles/material-tabs.umd.min.js.map +1 -1
- package/bundles/material.umd.js +186 -148
- package/bundles/material.umd.js.map +1 -1
- package/bundles/material.umd.min.js +17 -17
- package/bundles/material.umd.min.js.map +1 -1
- package/button/typings/index.metadata.json +1 -1
- package/core/typings/datetime/native-date-adapter.d.ts +17 -0
- package/core/typings/index.metadata.json +1 -1
- package/core/typings/ripple/ripple-renderer.d.ts +4 -1
- package/core/typings/ripple/ripple.d.ts +12 -2
- package/dialog/typings/index.metadata.json +1 -1
- package/esm2015/autocomplete.js +1 -1
- package/esm2015/autocomplete.js.map +1 -1
- package/esm2015/button.js +2 -2
- package/esm2015/button.js.map +1 -1
- package/esm2015/chips.js +4 -0
- package/esm2015/chips.js.map +1 -1
- package/esm2015/core.js +43 -26
- package/esm2015/core.js.map +1 -1
- package/esm2015/dialog.js +12 -9
- package/esm2015/dialog.js.map +1 -1
- package/esm2015/expansion.js +1 -1
- package/esm2015/expansion.js.map +1 -1
- package/esm2015/grid-list.js +7 -7
- package/esm2015/grid-list.js.map +1 -1
- package/esm2015/list.js +45 -36
- package/esm2015/list.js.map +1 -1
- package/esm2015/material.js +4 -4
- package/esm2015/material.js.map +1 -1
- package/esm2015/menu.js +2 -2
- package/esm2015/menu.js.map +1 -1
- package/esm2015/paginator.js +2 -2
- package/esm2015/paginator.js.map +1 -1
- package/esm2015/progress-spinner.js +13 -9
- package/esm2015/progress-spinner.js.map +1 -1
- package/esm2015/select.js +3 -3
- package/esm2015/select.js.map +1 -1
- package/esm2015/sidenav.js +18 -17
- package/esm2015/sidenav.js.map +1 -1
- package/esm2015/tabs.js +4 -4
- package/esm2015/tabs.js.map +1 -1
- package/esm5/autocomplete.es5.js +1 -1
- package/esm5/autocomplete.es5.js.map +1 -1
- package/esm5/button.es5.js +2 -2
- package/esm5/button.es5.js.map +1 -1
- package/esm5/chips.es5.js +4 -0
- package/esm5/chips.es5.js.map +1 -1
- package/esm5/core.es5.js +64 -33
- package/esm5/core.es5.js.map +1 -1
- package/esm5/dialog.es5.js +12 -9
- package/esm5/dialog.es5.js.map +1 -1
- package/esm5/expansion.es5.js +1 -1
- package/esm5/expansion.es5.js.map +1 -1
- package/esm5/grid-list.es5.js +7 -7
- package/esm5/grid-list.es5.js.map +1 -1
- package/esm5/list.es5.js +47 -42
- package/esm5/list.es5.js.map +1 -1
- package/esm5/material.es5.js +4 -4
- package/esm5/material.es5.js.map +1 -1
- package/esm5/menu.es5.js +2 -2
- package/esm5/menu.es5.js.map +1 -1
- package/esm5/paginator.es5.js +2 -2
- package/esm5/paginator.es5.js.map +1 -1
- package/esm5/progress-spinner.es5.js +7 -3
- package/esm5/progress-spinner.es5.js.map +1 -1
- package/esm5/select.es5.js +3 -3
- package/esm5/select.es5.js.map +1 -1
- package/esm5/sidenav.es5.js +19 -27
- package/esm5/sidenav.es5.js.map +1 -1
- package/esm5/tabs.es5.js +4 -4
- package/esm5/tabs.es5.js.map +1 -1
- package/expansion/typings/index.metadata.json +1 -1
- package/list/typings/index.metadata.json +1 -1
- package/list/typings/list.d.ts +1 -2
- package/list/typings/selection-list.d.ts +10 -7
- package/menu/typings/index.d.ts +2 -2
- package/menu/typings/index.metadata.json +1 -1
- package/package.json +4 -4
- package/paginator/typings/index.metadata.json +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/progress-spinner/typings/index.metadata.json +1 -1
- package/select/typings/index.metadata.json +1 -1
- package/select/typings/select.d.ts +1 -1
- package/sidenav/typings/drawer.d.ts +2 -6
- package/sidenav/typings/index.metadata.json +1 -1
- package/tabs/typings/index.d.ts +4 -4
- package/tabs/typings/index.metadata.json +1 -1
- package/typings/autocomplete/index.metadata.json +1 -1
- package/typings/button/index.metadata.json +1 -1
- package/typings/core/datetime/native-date-adapter.d.ts +17 -0
- package/typings/core/index.metadata.json +1 -1
- package/typings/core/ripple/ripple-renderer.d.ts +4 -1
- package/typings/core/ripple/ripple.d.ts +12 -2
- package/typings/dialog/index.metadata.json +1 -1
- package/typings/esm5/autocomplete/index.metadata.json +1 -1
- package/typings/esm5/button/index.metadata.json +1 -1
- package/typings/esm5/core/datetime/native-date-adapter.d.ts +17 -0
- package/typings/esm5/core/index.metadata.json +1 -1
- package/typings/esm5/core/ripple/ripple-renderer.d.ts +4 -1
- package/typings/esm5/core/ripple/ripple.d.ts +12 -2
- package/typings/esm5/dialog/index.metadata.json +1 -1
- package/typings/esm5/expansion/index.metadata.json +1 -1
- package/typings/esm5/index.metadata.json +1 -1
- package/typings/esm5/list/index.metadata.json +1 -1
- package/typings/esm5/list/list.d.ts +1 -2
- package/typings/esm5/list/selection-list.d.ts +10 -7
- package/typings/esm5/menu/index.d.ts +2 -2
- package/typings/esm5/menu/index.metadata.json +1 -1
- package/typings/esm5/paginator/index.metadata.json +1 -1
- package/typings/esm5/progress-spinner/index.metadata.json +1 -1
- package/typings/esm5/select/index.metadata.json +1 -1
- package/typings/esm5/select/select.d.ts +1 -1
- package/typings/esm5/sidenav/drawer.d.ts +2 -6
- package/typings/esm5/sidenav/index.metadata.json +1 -1
- package/typings/esm5/tabs/index.d.ts +4 -4
- package/typings/esm5/tabs/index.metadata.json +1 -1
- package/typings/expansion/index.metadata.json +1 -1
- package/typings/index.metadata.json +1 -1
- package/typings/list/index.metadata.json +1 -1
- package/typings/list/list.d.ts +1 -2
- package/typings/list/selection-list.d.ts +10 -7
- package/typings/menu/index.d.ts +2 -2
- package/typings/menu/index.metadata.json +1 -1
- package/typings/paginator/index.metadata.json +1 -1
- package/typings/progress-spinner/index.metadata.json +1 -1
- package/typings/select/index.metadata.json +1 -1
- package/typings/select/select.d.ts +1 -1
- package/typings/sidenav/drawer.d.ts +2 -6
- package/typings/sidenav/index.metadata.json +1 -1
- package/typings/tabs/index.d.ts +4 -4
- package/typings/tabs/index.metadata.json +1 -1
|
@@ -896,8 +896,10 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
896
896
|
function (style) {
|
|
897
897
|
var _this = this;
|
|
898
898
|
if (SUPPORTS_INTL_API) {
|
|
899
|
-
var /** @type {?} */ dtf_1 = new Intl.DateTimeFormat(this.locale, { month: style });
|
|
900
|
-
return range(12, function (i) {
|
|
899
|
+
var /** @type {?} */ dtf_1 = new Intl.DateTimeFormat(this.locale, { month: style, timeZone: 'utc' });
|
|
900
|
+
return range(12, function (i) {
|
|
901
|
+
return _this._stripDirectionalityCharacters(_this._format(dtf_1, new Date(2017, i, 1)));
|
|
902
|
+
});
|
|
901
903
|
}
|
|
902
904
|
return DEFAULT_MONTH_NAMES[style];
|
|
903
905
|
};
|
|
@@ -910,9 +912,9 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
910
912
|
function () {
|
|
911
913
|
var _this = this;
|
|
912
914
|
if (SUPPORTS_INTL_API) {
|
|
913
|
-
var /** @type {?} */ dtf_2 = new Intl.DateTimeFormat(this.locale, { day: 'numeric' });
|
|
915
|
+
var /** @type {?} */ dtf_2 = new Intl.DateTimeFormat(this.locale, { day: 'numeric', timeZone: 'utc' });
|
|
914
916
|
return range(31, function (i) {
|
|
915
|
-
return _this._stripDirectionalityCharacters(
|
|
917
|
+
return _this._stripDirectionalityCharacters(_this._format(dtf_2, new Date(2017, 0, i + 1)));
|
|
916
918
|
});
|
|
917
919
|
}
|
|
918
920
|
return DEFAULT_DATE_NAMES;
|
|
@@ -928,9 +930,9 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
928
930
|
function (style) {
|
|
929
931
|
var _this = this;
|
|
930
932
|
if (SUPPORTS_INTL_API) {
|
|
931
|
-
var /** @type {?} */ dtf_3 = new Intl.DateTimeFormat(this.locale, { weekday: style });
|
|
933
|
+
var /** @type {?} */ dtf_3 = new Intl.DateTimeFormat(this.locale, { weekday: style, timeZone: 'utc' });
|
|
932
934
|
return range(7, function (i) {
|
|
933
|
-
return _this._stripDirectionalityCharacters(
|
|
935
|
+
return _this._stripDirectionalityCharacters(_this._format(dtf_3, new Date(2017, 0, i + 1)));
|
|
934
936
|
});
|
|
935
937
|
}
|
|
936
938
|
return DEFAULT_DAY_OF_WEEK_NAMES[style];
|
|
@@ -945,8 +947,8 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
945
947
|
*/
|
|
946
948
|
function (date) {
|
|
947
949
|
if (SUPPORTS_INTL_API) {
|
|
948
|
-
var /** @type {?} */ dtf = new Intl.DateTimeFormat(this.locale, { year: 'numeric' });
|
|
949
|
-
return this._stripDirectionalityCharacters(
|
|
950
|
+
var /** @type {?} */ dtf = new Intl.DateTimeFormat(this.locale, { year: 'numeric', timeZone: 'utc' });
|
|
951
|
+
return this._stripDirectionalityCharacters(this._format(dtf, date));
|
|
950
952
|
}
|
|
951
953
|
return String(this.getYear(date));
|
|
952
954
|
};
|
|
@@ -1056,12 +1058,9 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
1056
1058
|
date = this.clone(date);
|
|
1057
1059
|
date.setFullYear(Math.max(1, Math.min(9999, date.getFullYear())));
|
|
1058
1060
|
}
|
|
1059
|
-
|
|
1060
|
-
date = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));
|
|
1061
|
-
displayFormat = __assign({}, displayFormat, { timeZone: 'utc' });
|
|
1062
|
-
}
|
|
1061
|
+
displayFormat = __assign({}, displayFormat, { timeZone: 'utc' });
|
|
1063
1062
|
var /** @type {?} */ dtf = new Intl.DateTimeFormat(this.locale, displayFormat);
|
|
1064
|
-
return this._stripDirectionalityCharacters(
|
|
1063
|
+
return this._stripDirectionalityCharacters(this._format(dtf, date));
|
|
1065
1064
|
}
|
|
1066
1065
|
return this._stripDirectionalityCharacters(date.toDateString());
|
|
1067
1066
|
};
|
|
@@ -1246,6 +1245,32 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
1246
1245
|
function (str) {
|
|
1247
1246
|
return str.replace(/[\u200e\u200f]/g, '');
|
|
1248
1247
|
};
|
|
1248
|
+
/**
|
|
1249
|
+
* When converting Date object to string, javascript built-in functions may return wrong
|
|
1250
|
+
* results because it applies its internal DST rules. The DST rules around the world change
|
|
1251
|
+
* very frequently, and the current valid rule is not always valid in previous years though.
|
|
1252
|
+
* We work around this problem building a new Date object which has its internal UTC
|
|
1253
|
+
* representation with the local date and time.
|
|
1254
|
+
* @param {?} dtf Intl.DateTimeFormat object, containg the desired string format. It must have
|
|
1255
|
+
* timeZone set to 'utc' to work fine.
|
|
1256
|
+
* @param {?} date Date from which we want to get the string representation according to dtf
|
|
1257
|
+
* @return {?} A Date object with its UTC representation based on the passed in date info
|
|
1258
|
+
*/
|
|
1259
|
+
NativeDateAdapter.prototype._format = /**
|
|
1260
|
+
* When converting Date object to string, javascript built-in functions may return wrong
|
|
1261
|
+
* results because it applies its internal DST rules. The DST rules around the world change
|
|
1262
|
+
* very frequently, and the current valid rule is not always valid in previous years though.
|
|
1263
|
+
* We work around this problem building a new Date object which has its internal UTC
|
|
1264
|
+
* representation with the local date and time.
|
|
1265
|
+
* @param {?} dtf Intl.DateTimeFormat object, containg the desired string format. It must have
|
|
1266
|
+
* timeZone set to 'utc' to work fine.
|
|
1267
|
+
* @param {?} date Date from which we want to get the string representation according to dtf
|
|
1268
|
+
* @return {?} A Date object with its UTC representation based on the passed in date info
|
|
1269
|
+
*/
|
|
1270
|
+
function (dtf, date) {
|
|
1271
|
+
var /** @type {?} */ d = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));
|
|
1272
|
+
return dtf.format(d);
|
|
1273
|
+
};
|
|
1249
1274
|
NativeDateAdapter.decorators = [
|
|
1250
1275
|
{ type: _angular_core.Injectable },
|
|
1251
1276
|
];
|
|
@@ -2031,24 +2056,6 @@ var MatRipple = /** @class */ (function () {
|
|
|
2031
2056
|
function () {
|
|
2032
2057
|
this._rippleRenderer._removeTriggerEvents();
|
|
2033
2058
|
};
|
|
2034
|
-
/** Launches a manual ripple at the specified position. */
|
|
2035
|
-
/**
|
|
2036
|
-
* Launches a manual ripple at the specified position.
|
|
2037
|
-
* @param {?} x
|
|
2038
|
-
* @param {?} y
|
|
2039
|
-
* @param {?=} config
|
|
2040
|
-
* @return {?}
|
|
2041
|
-
*/
|
|
2042
|
-
MatRipple.prototype.launch = /**
|
|
2043
|
-
* Launches a manual ripple at the specified position.
|
|
2044
|
-
* @param {?} x
|
|
2045
|
-
* @param {?} y
|
|
2046
|
-
* @param {?=} config
|
|
2047
|
-
* @return {?}
|
|
2048
|
-
*/
|
|
2049
|
-
function (x, y, config) {
|
|
2050
|
-
return this._rippleRenderer.fadeInRipple(x, y, __assign({}, this.rippleConfig, config));
|
|
2051
|
-
};
|
|
2052
2059
|
/** Fades out all currently showing ripple elements. */
|
|
2053
2060
|
/**
|
|
2054
2061
|
* Fades out all currently showing ripple elements.
|
|
@@ -2105,6 +2112,30 @@ var MatRipple = /** @class */ (function () {
|
|
|
2105
2112
|
this._rippleRenderer.setupTriggerEvents(this.trigger);
|
|
2106
2113
|
}
|
|
2107
2114
|
};
|
|
2115
|
+
/** Launches a manual ripple at the specified coordinated or just by the ripple config. */
|
|
2116
|
+
/**
|
|
2117
|
+
* Launches a manual ripple at the specified coordinated or just by the ripple config.
|
|
2118
|
+
* @param {?} configOrX
|
|
2119
|
+
* @param {?=} y
|
|
2120
|
+
* @param {?=} config
|
|
2121
|
+
* @return {?}
|
|
2122
|
+
*/
|
|
2123
|
+
MatRipple.prototype.launch = /**
|
|
2124
|
+
* Launches a manual ripple at the specified coordinated or just by the ripple config.
|
|
2125
|
+
* @param {?} configOrX
|
|
2126
|
+
* @param {?=} y
|
|
2127
|
+
* @param {?=} config
|
|
2128
|
+
* @return {?}
|
|
2129
|
+
*/
|
|
2130
|
+
function (configOrX, y, config) {
|
|
2131
|
+
if (y === void 0) { y = 0; }
|
|
2132
|
+
if (typeof configOrX === 'number') {
|
|
2133
|
+
return this._rippleRenderer.fadeInRipple(configOrX, y, __assign({}, this.rippleConfig, config));
|
|
2134
|
+
}
|
|
2135
|
+
else {
|
|
2136
|
+
return this._rippleRenderer.fadeInRipple(0, 0, __assign({}, this.rippleConfig, configOrX));
|
|
2137
|
+
}
|
|
2138
|
+
};
|
|
2108
2139
|
MatRipple.decorators = [
|
|
2109
2140
|
{ type: _angular_core.Directive, args: [{
|
|
2110
2141
|
selector: '[mat-ripple], [matRipple]',
|
|
@@ -2264,7 +2295,7 @@ var MatOptgroup = /** @class */ (function (_super) {
|
|
|
2264
2295
|
preserveWhitespaces: false,
|
|
2265
2296
|
changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,
|
|
2266
2297
|
inputs: ['disabled'],
|
|
2267
|
-
styles: [".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],
|
|
2298
|
+
styles: [".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],
|
|
2268
2299
|
host: {
|
|
2269
2300
|
'class': 'mat-optgroup',
|
|
2270
2301
|
'role': 'group',
|
|
@@ -2643,7 +2674,7 @@ var MatOption = /** @class */ (function () {
|
|
|
2643
2674
|
'(keydown)': '_handleKeydown($event)',
|
|
2644
2675
|
'class': 'mat-option',
|
|
2645
2676
|
},
|
|
2646
|
-
styles: [".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media screen and (-ms-high-contrast:active){.mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],
|
|
2677
|
+
styles: [".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media screen and (-ms-high-contrast:active){.mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],
|
|
2647
2678
|
template: "<mat-pseudo-checkbox *ngIf=\"multiple\" class=\"mat-option-pseudo-checkbox\" [state]=\"selected ? 'checked' : ''\" [disabled]=\"disabled\"></mat-pseudo-checkbox><span class=\"mat-option-text\"><ng-content></ng-content></span><div class=\"mat-option-ripple\" mat-ripple [matRippleTrigger]=\"_getHostElement()\" [matRippleDisabled]=\"disabled || disableRipple\"></div>",
|
|
2648
2679
|
encapsulation: _angular_core.ViewEncapsulation.None,
|
|
2649
2680
|
preserveWhitespaces: false,
|