@ts-core/angular 11.0.67 → 11.0.71
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/ts-core-angular.umd.js +22 -18
- package/bundles/ts-core-angular.umd.js.map +1 -1
- package/bundles/ts-core-angular.umd.min.js +1 -1
- package/bundles/ts-core-angular.umd.min.js.map +1 -1
- package/esm2015/bottomSheet/BottomSheetModule.js +3 -3
- package/esm2015/bottomSheet/component/BottomSheetImpl.js +3 -4
- package/esm2015/notification/NotificationImpl.js +2 -2
- package/esm2015/service/RouterBaseService.js +9 -8
- package/esm2015/window/WindowImpl.js +3 -3
- package/esm2015/window/component/WindowBaseComponent.js +3 -3
- package/esm2015/window/component/WindowDragable.js +2 -2
- package/esm2015/window/component/WindowResizeable.js +2 -2
- package/esm2015/window/component/window-close-element/window-close-element.component.js +2 -1
- package/esm2015/window/component/window-minimize-element/window-minimize-element.component.js +2 -1
- package/esm2015/window/component/window-resize-element/window-resize-element.component.js +2 -1
- package/fesm2015/ts-core-angular.js +22 -18
- package/fesm2015/ts-core-angular.js.map +1 -1
- package/package.json +1 -1
- package/service/RouterBaseService.d.ts +1 -1
- package/style/mat/vi-mat.scss +9 -10
- package/ts-core-angular.metadata.json +1 -1
|
@@ -2036,7 +2036,7 @@
|
|
|
2036
2036
|
// --------------------------------------------------------------------------
|
|
2037
2037
|
NotificationImpl.prototype.setProperties = function () {
|
|
2038
2038
|
_super.prototype.setProperties.call(this);
|
|
2039
|
-
ViewUtil.addClass(this.container, 'notification');
|
|
2039
|
+
ViewUtil.addClass(this.container, 'vi-notification');
|
|
2040
2040
|
};
|
|
2041
2041
|
NotificationImpl.prototype.getConfig = function () {
|
|
2042
2042
|
return this.properties.config;
|
|
@@ -4823,8 +4823,8 @@
|
|
|
4823
4823
|
}
|
|
4824
4824
|
WindowImpl.prototype.setProperties = function () {
|
|
4825
4825
|
_super.prototype.setProperties.call(this);
|
|
4826
|
-
ViewUtil.addClass(this.container, 'window');
|
|
4827
|
-
ViewUtil.toggleClass(this.container, 'modal', this.config.isModal);
|
|
4826
|
+
ViewUtil.addClass(this.container, 'vi-window');
|
|
4827
|
+
ViewUtil.toggleClass(this.container, 'vi-modal', this.config.isModal);
|
|
4828
4828
|
if (!this.config.isModal) {
|
|
4829
4829
|
this.container.addEventListener('click', this.mouseClickHandlerProxy, true);
|
|
4830
4830
|
this.container.addEventListener('mousedown', this.mouseDownHandlerProxy);
|
|
@@ -5146,7 +5146,6 @@
|
|
|
5146
5146
|
_this.isBlink = !_this.isBlink;
|
|
5147
5147
|
};
|
|
5148
5148
|
_this.observer = new rxjs.Subject();
|
|
5149
|
-
console.log(_this);
|
|
5150
5149
|
_this.properties = properties;
|
|
5151
5150
|
_this.content.window = _this;
|
|
5152
5151
|
_this.setProperties();
|
|
@@ -5155,8 +5154,8 @@
|
|
|
5155
5154
|
return _this;
|
|
5156
5155
|
}
|
|
5157
5156
|
BottomSheetImpl.prototype.setProperties = function () {
|
|
5158
|
-
ViewUtil.addClass(this.container, 'bottom-sheet');
|
|
5159
|
-
ViewUtil.toggleClass(this.container, 'modal', this.config.isModal);
|
|
5157
|
+
ViewUtil.addClass(this.container, 'vi-bottom-sheet');
|
|
5158
|
+
ViewUtil.toggleClass(this.container, 'vi-modal', this.config.isModal);
|
|
5160
5159
|
};
|
|
5161
5160
|
BottomSheetImpl.prototype.commitIsBlinkProperties = function () { };
|
|
5162
5161
|
BottomSheetImpl.prototype.commitIsDisabledProperties = function () { };
|
|
@@ -5724,6 +5723,7 @@
|
|
|
5724
5723
|
WindowCloseElementComponent.ICON_VALUE = null;
|
|
5725
5724
|
WindowCloseElementComponent.decorators = [
|
|
5726
5725
|
{ type: i0.Component, args: [{
|
|
5726
|
+
selector: 'vi-window-close-element',
|
|
5727
5727
|
template: '',
|
|
5728
5728
|
styles: [":host{display:block;position:absolute;color:#fff;background-color:rgba(0,0,0,.4);border-radius:50%;padding:8px;font-size:14px;font-weight:700}:host:hover{background-color:rgba(0,0,0,.6)}:host.small{font-size:10px;padding:4px}"]
|
|
5729
5729
|
},] }
|
|
@@ -5804,6 +5804,7 @@
|
|
|
5804
5804
|
WindowMinimizeElementComponent.ICON_MAXIMIZE_VALUE = null;
|
|
5805
5805
|
WindowMinimizeElementComponent.decorators = [
|
|
5806
5806
|
{ type: i0.Component, args: [{
|
|
5807
|
+
selector: 'vi-window-minimize-element',
|
|
5807
5808
|
template: '',
|
|
5808
5809
|
styles: [":host{display:block;position:absolute;color:#fff;background-color:rgba(0,0,0,.4);border-radius:50%;padding:8px;font-size:14px;font-weight:700}:host:hover{background-color:rgba(0,0,0,.6)}:host.small{font-size:10px;padding:4px}"]
|
|
5809
5810
|
},] }
|
|
@@ -5864,6 +5865,7 @@
|
|
|
5864
5865
|
WindowResizeElementComponent.ICON_VALUE = null;
|
|
5865
5866
|
WindowResizeElementComponent.decorators = [
|
|
5866
5867
|
{ type: i0.Component, args: [{
|
|
5868
|
+
selector: 'vi-window-resize-element',
|
|
5867
5869
|
template: '',
|
|
5868
5870
|
styles: [":host{display:block;position:absolute;color:#fff;background-color:rgba(0,0,0,.4);border-radius:50%;padding:8px;font-size:14px;font-weight:700}:host:hover{background-color:rgba(0,0,0,.6)}:host.small{font-size:10px;padding:4px}"]
|
|
5869
5871
|
},] }
|
|
@@ -5887,7 +5889,7 @@
|
|
|
5887
5889
|
if (!this.config.isResizeable) {
|
|
5888
5890
|
return;
|
|
5889
5891
|
}
|
|
5890
|
-
ViewUtil.addClass(this.container, 'resizeable');
|
|
5892
|
+
ViewUtil.addClass(this.container, 'vi-resizeable');
|
|
5891
5893
|
if (_.isNil(this.resizeMoveHandlerProxy)) {
|
|
5892
5894
|
this.resizeMoveHandlerProxy = this.resizeMoveHandler.bind(this);
|
|
5893
5895
|
}
|
|
@@ -5982,7 +5984,7 @@
|
|
|
5982
5984
|
if (this.config.isModal) {
|
|
5983
5985
|
return;
|
|
5984
5986
|
}
|
|
5985
|
-
ViewUtil.addClass(this.container, 'draggable');
|
|
5987
|
+
ViewUtil.addClass(this.container, 'vi-draggable');
|
|
5986
5988
|
if (!this.config.isContentDragable) {
|
|
5987
5989
|
return;
|
|
5988
5990
|
}
|
|
@@ -6109,14 +6111,14 @@
|
|
|
6109
6111
|
});
|
|
6110
6112
|
Object.defineProperty(WindowBaseComponent.prototype, "disabledClass", {
|
|
6111
6113
|
get: function () {
|
|
6112
|
-
return 'disabled';
|
|
6114
|
+
return 'vi-disabled';
|
|
6113
6115
|
},
|
|
6114
6116
|
enumerable: false,
|
|
6115
6117
|
configurable: true
|
|
6116
6118
|
});
|
|
6117
6119
|
Object.defineProperty(WindowBaseComponent.prototype, "minimizedClass", {
|
|
6118
6120
|
get: function () {
|
|
6119
|
-
return 'minimized';
|
|
6121
|
+
return 'vi-minimized';
|
|
6120
6122
|
},
|
|
6121
6123
|
enumerable: false,
|
|
6122
6124
|
configurable: true
|
|
@@ -6617,7 +6619,8 @@
|
|
|
6617
6619
|
{ type: language.LanguageService }
|
|
6618
6620
|
]; };
|
|
6619
6621
|
|
|
6620
|
-
|
|
6622
|
+
// import { WindowQuestionComponent } from '../window/component/window-question/window-question.component';
|
|
6623
|
+
var IMPORTS = [common$1.CommonModule, forms.FormsModule, i1$1.MatBottomSheetModule, button.MatButtonModule, LanguageModule];
|
|
6621
6624
|
var ENTRY_COMPONENTS = [];
|
|
6622
6625
|
var DECLARATIONS = __spread(ENTRY_COMPONENTS);
|
|
6623
6626
|
var EXPORTS = __spread(DECLARATIONS);
|
|
@@ -10311,17 +10314,18 @@
|
|
|
10311
10314
|
// Public Methods
|
|
10312
10315
|
//
|
|
10313
10316
|
// --------------------------------------------------------------------------
|
|
10314
|
-
RouterBaseService.prototype.isUrlActive = function (
|
|
10317
|
+
RouterBaseService.prototype.isUrlActive = function (item, isExact) {
|
|
10315
10318
|
if (isExact === void 0) { isExact = false; }
|
|
10316
10319
|
if (isExact) {
|
|
10317
|
-
return this.router.isActive(
|
|
10320
|
+
return this.router.isActive(item, isExact);
|
|
10318
10321
|
}
|
|
10319
|
-
if (_.isString(
|
|
10320
|
-
|
|
10322
|
+
if (_.isString(item)) {
|
|
10323
|
+
item = this.router.parseUrl(item);
|
|
10321
10324
|
}
|
|
10322
|
-
var
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
+
var current = this.router.parseUrl(this.urlTree.toString());
|
|
10326
|
+
item.fragment = current.fragment = null;
|
|
10327
|
+
item.queryParams = current.queryParams = {};
|
|
10328
|
+
return item.toString() === current.toString();
|
|
10325
10329
|
};
|
|
10326
10330
|
// --------------------------------------------------------------------------
|
|
10327
10331
|
//
|