@energycap/components 0.28.13 → 0.28.14
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/energycap-components.umd.js +27 -2
- package/bundles/energycap-components.umd.js.map +1 -1
- package/bundles/energycap-components.umd.min.js +1 -1
- package/bundles/energycap-components.umd.min.js.map +1 -1
- package/energycap-components.metadata.json +1 -1
- package/esm2015/lib/components.module.js +6 -3
- package/esm2015/lib/controls/help-popover/help-popover.component.js +22 -0
- package/esm2015/public-api.js +2 -1
- package/fesm2015/energycap-components.js +26 -3
- package/fesm2015/energycap-components.js.map +1 -1
- package/lib/controls/help-popover/help-popover.component.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -9013,6 +9013,28 @@
|
|
|
9013
9013
|
defaultSelectedItemTemplate: [{ type: i0.ViewChild, args: ['defaultSelectedItemTemplate', { static: true },] }]
|
|
9014
9014
|
};
|
|
9015
9015
|
|
|
9016
|
+
var HelpPopoverComponent = /** @class */ (function () {
|
|
9017
|
+
function HelpPopoverComponent() {
|
|
9018
|
+
this.id = '';
|
|
9019
|
+
this.text = '';
|
|
9020
|
+
this.contentPosition = 'top-left';
|
|
9021
|
+
}
|
|
9022
|
+
return HelpPopoverComponent;
|
|
9023
|
+
}());
|
|
9024
|
+
HelpPopoverComponent.decorators = [
|
|
9025
|
+
{ type: i0.Component, args: [{
|
|
9026
|
+
selector: 'ec-help-popover',
|
|
9027
|
+
template: "<ec-popover id=\"{{id}}_popover\"\r\n icon=\"icon-help-circle\"\r\n [contentPosition]=\"contentPosition\"\r\n iconHoverClass=\"font-color-primary-light\">\r\n <div id=\"{{id}}_popoverContent\"\r\n class=\"help-popover-content text-body-1\"\r\n [class.is-right]=\"contentPosition == 'top-right' || contentPosition == 'bottom-right'\">\r\n <div *ngIf=\"text\"\r\n [innerHTML]=\"text | translate\"></div>\r\n <ng-content></ng-content>\r\n </div>\r\n</ec-popover>",
|
|
9028
|
+
styles: [".help-popover-content{background-color:#162f3b;color:#fff;max-width:15rem;padding:.375rem .5rem .375rem 1.75rem}.help-popover-content.is-right{padding:.375rem 1.75rem .375rem .5rem}"]
|
|
9029
|
+
},] }
|
|
9030
|
+
];
|
|
9031
|
+
HelpPopoverComponent.ctorParameters = function () { return []; };
|
|
9032
|
+
HelpPopoverComponent.propDecorators = {
|
|
9033
|
+
id: [{ type: i0.Input }, { type: i0.HostBinding, args: ['attr.id',] }],
|
|
9034
|
+
text: [{ type: i0.Input }],
|
|
9035
|
+
contentPosition: [{ type: i0.Input }]
|
|
9036
|
+
};
|
|
9037
|
+
|
|
9016
9038
|
var ComponentsModule = /** @class */ (function () {
|
|
9017
9039
|
function ComponentsModule() {
|
|
9018
9040
|
}
|
|
@@ -9095,7 +9117,8 @@
|
|
|
9095
9117
|
ResizableComponent,
|
|
9096
9118
|
HighlightTextPipe,
|
|
9097
9119
|
FormControlLabelComponent,
|
|
9098
|
-
ItemPickerComponent
|
|
9120
|
+
ItemPickerComponent,
|
|
9121
|
+
HelpPopoverComponent
|
|
9099
9122
|
],
|
|
9100
9123
|
imports: [
|
|
9101
9124
|
common.CommonModule,
|
|
@@ -9172,7 +9195,8 @@
|
|
|
9172
9195
|
ResizableComponent,
|
|
9173
9196
|
HighlightTextPipe,
|
|
9174
9197
|
FormControlLabelComponent,
|
|
9175
|
-
ItemPickerComponent
|
|
9198
|
+
ItemPickerComponent,
|
|
9199
|
+
HelpPopoverComponent
|
|
9176
9200
|
]
|
|
9177
9201
|
},] }
|
|
9178
9202
|
];
|
|
@@ -10335,6 +10359,7 @@
|
|
|
10335
10359
|
exports.FormControlLabelComponent = FormControlLabelComponent;
|
|
10336
10360
|
exports.FormGroupComponent = FormGroupComponent;
|
|
10337
10361
|
exports.FormGroupHelper = FormGroupHelper;
|
|
10362
|
+
exports.HelpPopoverComponent = HelpPopoverComponent;
|
|
10338
10363
|
exports.HierarchyBase = HierarchyBase;
|
|
10339
10364
|
exports.HierarchyBaseTestInjectorFactory = HierarchyBaseTestInjectorFactory;
|
|
10340
10365
|
exports.HierarchyItem = HierarchyItem;
|