@ts-core/angular 13.0.51 → 13.0.52
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/bottomSheet/component/BottomSheetBaseComponent.d.ts +1 -2
- package/bottomSheet/component/bottom-sheet-close-element/bottom-sheet-close-element.component.d.ts +1 -1
- package/esm2020/bottomSheet/component/BottomSheetBaseComponent.mjs +3 -3
- package/esm2020/bottomSheet/component/bottom-sheet-close-element/bottom-sheet-close-element.component.mjs +3 -3
- package/fesm2015/ts-core-angular.mjs +51 -51
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +51 -51
- package/fesm2020/ts-core-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/style/mat/vi-mat.scss +1 -0
|
@@ -5120,56 +5120,6 @@ class BottomSheetImpl extends DestroyableContainer {
|
|
|
5120
5120
|
BottomSheetImpl.BLINK_DELAY = 500;
|
|
5121
5121
|
BottomSheetImpl.SHAKE_DELAY = 500;
|
|
5122
5122
|
|
|
5123
|
-
class BottomSheetCloseElementComponent extends WindowElement {
|
|
5124
|
-
// --------------------------------------------------------------------------
|
|
5125
|
-
//
|
|
5126
|
-
// Constructor
|
|
5127
|
-
//
|
|
5128
|
-
// --------------------------------------------------------------------------
|
|
5129
|
-
constructor(element) {
|
|
5130
|
-
super(element);
|
|
5131
|
-
}
|
|
5132
|
-
// --------------------------------------------------------------------------
|
|
5133
|
-
//
|
|
5134
|
-
// Private Methods
|
|
5135
|
-
//
|
|
5136
|
-
// --------------------------------------------------------------------------
|
|
5137
|
-
createChildren() {
|
|
5138
|
-
super.createChildren();
|
|
5139
|
-
if (!_.isNil(BottomSheetCloseElementComponent.ICON_VALUE)) {
|
|
5140
|
-
ViewUtil.setProperty(this.nativeElement, 'innerHTML', BottomSheetCloseElementComponent.ICON_VALUE);
|
|
5141
|
-
}
|
|
5142
|
-
if (!_.isNil(BottomSheetCloseElementComponent.ICON_CLASS)) {
|
|
5143
|
-
ViewUtil.addClasses(this.nativeElement, BottomSheetCloseElementComponent.ICON_CLASS);
|
|
5144
|
-
}
|
|
5145
|
-
ViewUtil.addClass(this.nativeElement, 'mouse-active');
|
|
5146
|
-
}
|
|
5147
|
-
// --------------------------------------------------------------------------
|
|
5148
|
-
//
|
|
5149
|
-
// Event Handlers
|
|
5150
|
-
//
|
|
5151
|
-
// --------------------------------------------------------------------------
|
|
5152
|
-
clickHandler(event) {
|
|
5153
|
-
super.clickHandler(event);
|
|
5154
|
-
if (!_.isNil(this.window)) {
|
|
5155
|
-
this.window.close();
|
|
5156
|
-
}
|
|
5157
|
-
}
|
|
5158
|
-
}
|
|
5159
|
-
// --------------------------------------------------------------------------
|
|
5160
|
-
//
|
|
5161
|
-
// Constants
|
|
5162
|
-
//
|
|
5163
|
-
// --------------------------------------------------------------------------
|
|
5164
|
-
BottomSheetCloseElementComponent.ICON_CLASS = 'fas fa-times';
|
|
5165
|
-
BottomSheetCloseElementComponent.ICON_VALUE = null;
|
|
5166
|
-
BottomSheetCloseElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BottomSheetCloseElementComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5167
|
-
BottomSheetCloseElementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BottomSheetCloseElementComponent, selector: "vi-bottom-sheet-close-element", usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [":host{display:block;position:absolute;color:#fff;background-color:#0006;border-radius:50%;padding:8px;font-size:14px;font-weight:700;text-align:center}:host:hover{background-color:#0009}:host.small{font-size:10px;padding:4px}\n"] });
|
|
5168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BottomSheetCloseElementComponent, decorators: [{
|
|
5169
|
-
type: Component,
|
|
5170
|
-
args: [{ selector: 'vi-bottom-sheet-close-element', template: '', styles: [":host{display:block;position:absolute;color:#fff;background-color:#0006;border-radius:50%;padding:8px;font-size:14px;font-weight:700;text-align:center}:host:hover{background-color:#0009}:host.small{font-size:10px;padding:4px}\n"] }]
|
|
5171
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
5172
|
-
|
|
5173
5123
|
class BottomSheetBaseComponent extends BottomSheetImpl {
|
|
5174
5124
|
// --------------------------------------------------------------------------
|
|
5175
5125
|
//
|
|
@@ -5219,7 +5169,7 @@ class BottomSheetBaseComponent extends BottomSheetImpl {
|
|
|
5219
5169
|
// Static Properties
|
|
5220
5170
|
//
|
|
5221
5171
|
// --------------------------------------------------------------------------
|
|
5222
|
-
BottomSheetBaseComponent.CLOSE_COMPONENT =
|
|
5172
|
+
BottomSheetBaseComponent.CLOSE_COMPONENT = WindowBaseComponent.CLOSE_COMPONENT;
|
|
5223
5173
|
|
|
5224
5174
|
class BottomSheetService extends Destroyable {
|
|
5225
5175
|
// --------------------------------------------------------------------------
|
|
@@ -5307,6 +5257,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
5307
5257
|
args: [{ providedIn: 'root' }]
|
|
5308
5258
|
}], ctorParameters: function () { return [{ type: i1$2.MatBottomSheet }, { type: i1$1.LanguageService }]; } });
|
|
5309
5259
|
|
|
5260
|
+
class BottomSheetCloseElementComponent extends WindowElement {
|
|
5261
|
+
// --------------------------------------------------------------------------
|
|
5262
|
+
//
|
|
5263
|
+
// Constructor
|
|
5264
|
+
//
|
|
5265
|
+
// --------------------------------------------------------------------------
|
|
5266
|
+
constructor(element) {
|
|
5267
|
+
super(element);
|
|
5268
|
+
}
|
|
5269
|
+
// --------------------------------------------------------------------------
|
|
5270
|
+
//
|
|
5271
|
+
// Private Methods
|
|
5272
|
+
//
|
|
5273
|
+
// --------------------------------------------------------------------------
|
|
5274
|
+
createChildren() {
|
|
5275
|
+
super.createChildren();
|
|
5276
|
+
if (!_.isNil(BottomSheetCloseElementComponent.ICON_VALUE)) {
|
|
5277
|
+
ViewUtil.setProperty(this.nativeElement, 'innerHTML', BottomSheetCloseElementComponent.ICON_VALUE);
|
|
5278
|
+
}
|
|
5279
|
+
if (!_.isNil(BottomSheetCloseElementComponent.ICON_CLASS)) {
|
|
5280
|
+
ViewUtil.addClasses(this.nativeElement, BottomSheetCloseElementComponent.ICON_CLASS);
|
|
5281
|
+
}
|
|
5282
|
+
ViewUtil.addClass(this.nativeElement, 'mouse-active');
|
|
5283
|
+
}
|
|
5284
|
+
// --------------------------------------------------------------------------
|
|
5285
|
+
//
|
|
5286
|
+
// Event Handlers
|
|
5287
|
+
//
|
|
5288
|
+
// --------------------------------------------------------------------------
|
|
5289
|
+
clickHandler(event) {
|
|
5290
|
+
super.clickHandler(event);
|
|
5291
|
+
if (!_.isNil(this.window)) {
|
|
5292
|
+
this.window.close();
|
|
5293
|
+
}
|
|
5294
|
+
}
|
|
5295
|
+
}
|
|
5296
|
+
// --------------------------------------------------------------------------
|
|
5297
|
+
//
|
|
5298
|
+
// Constants
|
|
5299
|
+
//
|
|
5300
|
+
// --------------------------------------------------------------------------
|
|
5301
|
+
BottomSheetCloseElementComponent.ICON_CLASS = 'fas fa-times';
|
|
5302
|
+
BottomSheetCloseElementComponent.ICON_VALUE = null;
|
|
5303
|
+
BottomSheetCloseElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BottomSheetCloseElementComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5304
|
+
BottomSheetCloseElementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BottomSheetCloseElementComponent, selector: "sheet-close-element", usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [":host{display:block;position:absolute;color:#fff;background-color:#0006;border-radius:50%;padding:8px;font-size:14px;font-weight:700;text-align:center}:host:hover{background-color:#0009}:host.small{font-size:10px;padding:4px}\n"] });
|
|
5305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BottomSheetCloseElementComponent, decorators: [{
|
|
5306
|
+
type: Component,
|
|
5307
|
+
args: [{ selector: 'sheet-close-element', template: '', styles: [":host{display:block;position:absolute;color:#fff;background-color:#0006;border-radius:50%;padding:8px;font-size:14px;font-weight:700;text-align:center}:host:hover{background-color:#0009}:host.small{font-size:10px;padding:4px}\n"] }]
|
|
5308
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
5309
|
+
|
|
5310
5310
|
const IMPORTS$4 = [CommonModule, FormsModule, MatBottomSheetModule, MatButtonModule, LanguageModule];
|
|
5311
5311
|
const ENTRY_COMPONENTS$3 = [BottomSheetCloseElementComponent];
|
|
5312
5312
|
const DECLARATIONS$4 = [...ENTRY_COMPONENTS$3];
|