ps-toolkit-ui 0.0.148 → 0.0.153
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/ps-toolkit-ui.umd.js +10 -9
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/label/form.label.component.js +2 -2
- package/esm2015/lib/components/sidebar/item/sidebar.item.component.js +11 -9
- package/fesm2015/ps-toolkit-ui.js +10 -9
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -2080,14 +2080,15 @@
|
|
|
2080
2080
|
};
|
|
2081
2081
|
}
|
|
2082
2082
|
SidebarItemComponent.prototype.openClose = function (e) {
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2083
|
+
var op = $__namespace(e.target).closest('.user-sidebar-item');
|
|
2084
|
+
if (op.hasClass('open')) {
|
|
2085
|
+
op.removeClass('open');
|
|
2086
|
+
op.find(' > .children').slideUp();
|
|
2087
|
+
}
|
|
2088
|
+
else {
|
|
2089
|
+
op.addClass('open');
|
|
2090
|
+
op.find(' > .children').slideDown();
|
|
2091
|
+
}
|
|
2091
2092
|
};
|
|
2092
2093
|
SidebarItemComponent.prototype.isActive = function (item) {
|
|
2093
2094
|
var e_1, _a;
|
|
@@ -4042,7 +4043,7 @@
|
|
|
4042
4043
|
FormLabelComponent.decorators = [
|
|
4043
4044
|
{ type: core.Component, args: [{
|
|
4044
4045
|
selector: 'lib-form-label',
|
|
4045
|
-
template: "<div [id]=\"inp.name + 'Input'\" (click)=\"onClick()\" #inputDiv [className]=\"inp.class + ' form-input label'\" [innerHTML]=\"inp.
|
|
4046
|
+
template: "<div [id]=\"inp.name + 'Input'\" (click)=\"onClick()\" #inputDiv [className]=\"inp.class + ' form-input label'\" [innerHTML]=\"inp.value\">\r\n</div>\r\n<div>{{inp.value}}</div>\r\n<div>{{inp.l('CloseYearLabel')}}</div>\r\n",
|
|
4046
4047
|
styles: [".form-input.label{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:default;float:right;font-size:12px;line-height:30px;padding:0 15px;position:relative;text-align:center;width:100%}.form-input.label.underline{margin:20px 15px;width:calc(100% - 30px)}.form-input.label.form-group-title{margin:0 15px 10px;width:calc(100% - 30px)}.form-input.label.space{margin:10px 15px;width:calc(100% - 30px)}.form-input.label.h-58{height:58px;line-height:58px}.form-input.label.h-45{height:45px;line-height:45px}.form-input.label.h-30{height:30px;line-height:30px}.form-input.label.h-25{height:25px;line-height:25px}"]
|
|
4047
4048
|
},] }
|
|
4048
4049
|
];
|