@seniorsistemas/angular-components 16.7.6 → 16.9.0
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/seniorsistemas-angular-components.umd.js +152 -21
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/dynamic-form/configurations/form-field.d.ts +2 -0
- package/components/object-card/object-card.component.d.ts +5 -0
- package/components/panel/index.d.ts +2 -0
- package/components/panel/panel.component.d.ts +13 -0
- package/components/panel/panel.module.d.ts +2 -0
- package/components/shared/border-button/border-button.component.d.ts +9 -0
- package/components/shared/border-button/border-button.module.d.ts +2 -0
- package/components/shared/index.d.ts +2 -0
- package/components/shared/models/border-button-options.d.ts +9 -0
- package/components/shared/models/enum-severity.d.ts +7 -0
- package/esm2015/components/dynamic-form/components/grid/row/row.component.js +2 -1
- package/esm2015/components/dynamic-form/configurations/form-field.js +1 -1
- package/esm2015/components/loading-state/loading-state.component.js +1 -1
- package/esm2015/components/object-card/object-card.component.js +22 -3
- package/esm2015/components/object-card/object-card.module.js +3 -2
- package/esm2015/components/panel/index.js +3 -0
- package/esm2015/components/panel/panel.component.js +56 -0
- package/esm2015/components/panel/panel.module.js +17 -0
- package/esm2015/components/shared/border-button/border-button.component.js +26 -0
- package/esm2015/components/shared/border-button/border-button.module.js +16 -0
- package/esm2015/components/shared/index.js +2 -0
- package/esm2015/components/shared/models/border-button-options.js +1 -0
- package/esm2015/components/shared/models/enum-severity.js +9 -0
- package/esm2015/public-api.js +3 -1
- package/esm2015/seniorsistemas-angular-components.js +19 -17
- package/esm5/components/dynamic-form/components/grid/row/row.component.js +2 -2
- package/esm5/components/dynamic-form/configurations/form-field.js +1 -1
- package/esm5/components/loading-state/loading-state.component.js +1 -1
- package/esm5/components/object-card/object-card.component.js +22 -3
- package/esm5/components/object-card/object-card.module.js +3 -2
- package/esm5/components/panel/index.js +3 -0
- package/esm5/components/panel/panel.component.js +57 -0
- package/esm5/components/panel/panel.module.js +20 -0
- package/esm5/components/shared/border-button/border-button.component.js +27 -0
- package/esm5/components/shared/border-button/border-button.module.js +19 -0
- package/esm5/components/shared/index.js +2 -0
- package/esm5/components/shared/models/border-button-options.js +1 -0
- package/esm5/components/shared/models/enum-severity.js +9 -0
- package/esm5/public-api.js +3 -1
- package/esm5/seniorsistemas-angular-components.js +19 -17
- package/fesm2015/seniorsistemas-angular-components.js +127 -7
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +135 -8
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/seniorsistemas-angular-components.d.ts +18 -16
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -35,7 +35,7 @@ import { InputTextareaModule } from 'primeng/inputtextarea';
|
|
|
35
35
|
import { KeyFilterModule } from 'primeng/keyfilter';
|
|
36
36
|
import { MultiSelectModule } from 'primeng/multiselect';
|
|
37
37
|
import { InputSwitchModule } from 'primeng/inputswitch';
|
|
38
|
-
import { PanelModule } from 'primeng/panel';
|
|
38
|
+
import { PanelModule as PanelModule$1 } from 'primeng/panel';
|
|
39
39
|
import { RadioButtonModule } from 'primeng/radiobutton';
|
|
40
40
|
import { ProgressBarModule as ProgressBarModule$1 } from 'primeng/progressbar';
|
|
41
41
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
@@ -4621,7 +4621,7 @@ var LoadingStateComponent = /** @class */ (function () {
|
|
|
4621
4621
|
Component({
|
|
4622
4622
|
selector: "s-loading-state",
|
|
4623
4623
|
template: "<div\n [id]=\"id\"\n class=\"s-loading-state-container\"\n [ngClass]=\"{'loading': loading, 'blocking': blocking, 'fullscreen': blockWindow}\">\n <div\n [id]=\"id + '-loader'\"\n class=\"loader\">\n <div\n [id]=\"id + '-spinner'\"\n class=\"spinner\">\n <div class=\"bounce bounce-1\"></div>\n <div class=\"bounce bounce-2\"></div>\n <div class=\"bounce bounce-3\"></div>\n </div>\n <div\n [id]=\"id + '-overlay'\"\n class=\"overlay\">\n </div>\n </div>\n <div\n [id]=\"id + '-contents'\"\n class=\"contents\">\n <ng-container *ngTemplateOutlet=\"contents || originalContent\"></ng-container>\n <ng-template #originalContent>\n <ng-content></ng-content>\n </ng-template>\n </div>\n</div>",
|
|
4624
|
-
styles: [".s-loading-state-container{position:relative}.s-loading-state-container>.loader{
|
|
4624
|
+
styles: [".s-loading-state-container{position:relative}.s-loading-state-container>.loader{opacity:0;position:absolute;transition:opacity .2s ease-out,display .2s ease-out;visibility:hidden;inset:1px}.s-loading-state-container>.loader>.overlay{background-color:#fff;height:100%;opacity:.8;transition:opacity .2s ease-out,display .2s ease-out;width:100%}.s-loading-state-container>.loader>.spinner{display:table;left:50%;position:absolute;text-align:center;top:calc(50% - 9px);transform:translate(-50%);vertical-align:middle;z-index:2}.s-loading-state-container.blocking>.loader,.s-loading-state-container.loading>.loader{visibility:visible}.s-loading-state-container.blocking>.loader,.s-loading-state-container.blocking>.loader>.overlay,.s-loading-state-container.loading>.loader,.s-loading-state-container.loading>.loader>.overlay{cursor:wait;z-index:1}.s-loading-state-container.blocking>.contents,.s-loading-state-container.loading>.contents{z-index:0!important}.s-loading-state-container.loading>.loader>.spinner>.bounce{animation:1.2s ease-out infinite bounce;background-color:#333;border-radius:100%;display:inline-block;height:10px;width:10px}.s-loading-state-container.loading>.loader>.spinner>.bounce+.bounce{margin-left:15px}.s-loading-state-container.loading>.loader>.spinner>.bounce.bounce-1{animation-delay:0s}.s-loading-state-container.loading>.loader>.spinner>.bounce.bounce-2{animation-delay:.1s}.s-loading-state-container.loading>.loader>.spinner>.bounce.bounce-3{animation-delay:.2s}.s-loading-state-container.blocking.loading>.loader{opacity:1}.s-loading-state-container.fullscreen>.loader{left:0;position:fixed;top:0;z-index:1005}@keyframes bounce{100%,80%{transform:scale(1)}90%{transform:scale(1.8)}}::ng-deep .s-loading-state-container.loading.blocking s-loading-state .s-loading-state-container>.loader{opacity:0;visibility:hidden}::ng-deep .s-loading-state-container.loading.blocking s-loading-state .s-loading-state-container>.contents{z-index:0!important}"]
|
|
4625
4625
|
})
|
|
4626
4626
|
], LoadingStateComponent);
|
|
4627
4627
|
return LoadingStateComponent;
|
|
@@ -6500,7 +6500,7 @@ var RowComponent = /** @class */ (function () {
|
|
|
6500
6500
|
], RowComponent.prototype, "errorMessages", void 0);
|
|
6501
6501
|
RowComponent = __decorate([
|
|
6502
6502
|
Component({
|
|
6503
|
-
template: "\n <div class=\"ui-fluid\" [formGroup]=\"group\">\n <div class=\"ui-g\">\n <ng-container *ngFor=\"let field of config.fields\">\n <div [ngClass]=\"field.gridClass\" *ngIf=\"field.visible()\">\n <label\n [for]=\"field.name\"\n [ngClass]=\"{ 'required': field.required() }\"\n *sInfoSign=\"field.infoSign\"\n >\n {{ field.label }}\n </label>\n <ng-container *sDynamicForm=\"{ id: id, config: field, group: group}\"></ng-container>\n <s-control-errors [form]=\"group\" [control]=\"group.controls[field.name]\"\n [errorMessages]=\"getErrorMessages(field.errorMessages)\"></s-control-errors>\n </div>\n </ng-container>\n </div>\n "
|
|
6503
|
+
template: "\n <div class=\"ui-fluid\" [formGroup]=\"group\">\n <div class=\"ui-g\">\n <ng-container *ngFor=\"let field of config.fields\">\n <div [ngClass]=\"field.gridClass\" *ngIf=\"field.visible()\">\n <label\n [for]=\"field.name\"\n [ngClass]=\"{ 'required': field.required() }\"\n *sInfoSign=\"field.infoSign\"\n >\n {{ field.label }}\n </label>\n <ng-container *sDynamicForm=\"{ id: id, config: field, group: group}\"></ng-container>\n <s-control-errors [form]=\"group\" [control]=\"group.controls[field.name]\"\n [errorMessages]=\"getErrorMessages(field.errorMessages)\"></s-control-errors>\n <ng-template *ngIf=\"field?.bottomTemplate\" [ngTemplateOutlet]=\"field.bottomTemplate\"></ng-template>\n </div>\n </ng-container>\n </div>\n "
|
|
6504
6504
|
})
|
|
6505
6505
|
], RowComponent);
|
|
6506
6506
|
return RowComponent;
|
|
@@ -7426,7 +7426,7 @@ var DynamicFormModule = /** @class */ (function () {
|
|
|
7426
7426
|
MultiSelectModule,
|
|
7427
7427
|
ButtonModule$1,
|
|
7428
7428
|
ButtonModule,
|
|
7429
|
-
PanelModule,
|
|
7429
|
+
PanelModule$1,
|
|
7430
7430
|
DialogModule,
|
|
7431
7431
|
RadioButtonModule,
|
|
7432
7432
|
TableModule$1,
|
|
@@ -8776,6 +8776,15 @@ var ObjectCardMainComponent = /** @class */ (function () {
|
|
|
8776
8776
|
return ObjectCardMainComponent;
|
|
8777
8777
|
}());
|
|
8778
8778
|
|
|
8779
|
+
var EnumSeverity;
|
|
8780
|
+
(function (EnumSeverity) {
|
|
8781
|
+
EnumSeverity["Default"] = "Default";
|
|
8782
|
+
EnumSeverity["Info"] = "Info";
|
|
8783
|
+
EnumSeverity["Warn"] = "Warn";
|
|
8784
|
+
EnumSeverity["Error"] = "Error";
|
|
8785
|
+
EnumSeverity["Success"] = "Success";
|
|
8786
|
+
})(EnumSeverity || (EnumSeverity = {}));
|
|
8787
|
+
|
|
8779
8788
|
var elementResizeDetectorMaker = elementResizeDetectorMaker_; // @HACK Necessary because of https://github.com/rollup/rollup/issues/670
|
|
8780
8789
|
var ObjectCardComponent = /** @class */ (function () {
|
|
8781
8790
|
function ObjectCardComponent(cdr, elementRef) {
|
|
@@ -8788,6 +8797,8 @@ var ObjectCardComponent = /** @class */ (function () {
|
|
|
8788
8797
|
this.fieldsMinWidth = 200;
|
|
8789
8798
|
this.expandedChange = new EventEmitter();
|
|
8790
8799
|
this.maxVisibleFields = 0;
|
|
8800
|
+
this.severity = EnumSeverity.Default;
|
|
8801
|
+
this.EnumSeverity = EnumSeverity;
|
|
8791
8802
|
}
|
|
8792
8803
|
ObjectCardComponent_1 = ObjectCardComponent;
|
|
8793
8804
|
ObjectCardComponent.prototype.ngAfterViewInit = function () {
|
|
@@ -8889,10 +8900,16 @@ var ObjectCardComponent = /** @class */ (function () {
|
|
|
8889
8900
|
__decorate([
|
|
8890
8901
|
ContentChildren(ObjectCardFieldComponent, { descendants: true })
|
|
8891
8902
|
], ObjectCardComponent.prototype, "fields", void 0);
|
|
8903
|
+
__decorate([
|
|
8904
|
+
Input()
|
|
8905
|
+
], ObjectCardComponent.prototype, "severity", void 0);
|
|
8906
|
+
__decorate([
|
|
8907
|
+
Input()
|
|
8908
|
+
], ObjectCardComponent.prototype, "borderButtonOptions", void 0);
|
|
8892
8909
|
ObjectCardComponent = ObjectCardComponent_1 = __decorate([
|
|
8893
8910
|
Component({
|
|
8894
8911
|
selector: "s-object-card",
|
|
8895
|
-
template: "<div [id]=\"id\" class=\"container\">\n <div\n [id]=\"id + '-main-container'\"\n class=\"main-container\"\n [ngClass]=\"{\n 'with-hidden-fields': fields.length > maxVisibleFields,\n 'with-visible-fields': fields.length && maxVisibleFields\n }\"\n >\n <div class=\"object-content\">\n <div class=\"s-object-card-main\"><ng-content select=\"s-object-card-main\"></ng-content></div>\n\n <div class=\"divider\" *ngIf=\"maxVisibleFields && fields.length\"></div>\n\n <div *ngFor=\"let field of (fields.toArray() | slice: 0:maxVisibleFields)\" class=\"s-object-card-field\">\n <ng-container *ngTemplateOutlet=\"field.content\"></ng-container>\n </div>\n </div>\n\n <div\n [id]=\"id + '-expand-icon-container'\"\n class=\"expand-icon-container\"\n (click)=\"toggle()\"\n [pTooltip]=\"expanded ? collapseTooltip : expandTooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n >\n <span [id]=\"id + '-expand-icon'\" class=\"expand-icon fa\" [ngClass]=\"{ 'fa-minus': expanded, 'fa-plus': !expanded }\"></span>\n </div>\n </div>\n\n <div
|
|
8912
|
+
template: "<div [id]=\"id\" class=\"container\">\n <s-border-button\n *ngIf=\"\n borderButtonOptions?.visible\n ? borderButtonOptions?.visible(severity)\n : false\n \"\n [severity]=\"severity\"\n [options]=\"borderButtonOptions\"\n class=\"object-card__border-button\"\n [@BorderButtonAnimation]\n ></s-border-button>\n\n <div\n [id]=\"id + '-main-container'\"\n class=\"main-container\"\n [ngClass]=\"{\n 'with-hidden-fields': fields.length > maxVisibleFields,\n 'with-visible-fields': fields.length && maxVisibleFields,\n 'main-container--severity-default': severity === EnumSeverity.Default,\n 'main-container--severity-info': severity === EnumSeverity.Info,\n 'main-container--severity-warn': severity === EnumSeverity.Warn,\n 'main-container--severity-error': severity === EnumSeverity.Error,\n 'main-container--severity-success': severity == EnumSeverity.Success\n }\"\n >\n <div class=\"object-content\">\n <div class=\"s-object-card-main\"><ng-content select=\"s-object-card-main\"></ng-content></div>\n\n <div class=\"divider\" *ngIf=\"maxVisibleFields && fields.length\"></div>\n\n <div *ngFor=\"let field of (fields.toArray() | slice: 0:maxVisibleFields)\" class=\"s-object-card-field\">\n <ng-container *ngTemplateOutlet=\"field.content\"></ng-container>\n </div>\n </div>\n\n <div\n [id]=\"id + '-expand-icon-container'\"\n class=\"expand-icon-container\"\n (click)=\"toggle()\"\n [pTooltip]=\"expanded ? collapseTooltip : expandTooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n >\n <span [id]=\"id + '-expand-icon'\" class=\"expand-icon fa\" [ngClass]=\"{ 'fa-minus': expanded, 'fa-plus': !expanded }\"></span>\n </div>\n </div>\n\n <div\n [id]=\"id + '-expandable-container'\"\n [@expandableContent]=\"expanded\"\n class=\"expandable-container\"\n [ngClass]=\"{\n 'expandable-container--severity-default':\n severity === EnumSeverity.Default,\n 'expandable-container--severity-info': severity === EnumSeverity.Info,\n 'expandable-container--severity-warn': severity === EnumSeverity.Warn,\n 'expandable-container--severity-error': severity === EnumSeverity.Error,\n 'expandable-container--severity-success':\n severity == EnumSeverity.Success\n }\"\n >\n <div class=\"ui-g ui-g-12\">\n <ng-container\n *ngFor=\"\n let field of fields.toArray()\n | slice : maxVisibleFields : fields.length\n \"\n >\n <div class=\"ui-g-{{ getExpandedFieldWidth() }}\">\n <div class=\"s-object-card-field\">\n <ng-container\n *ngTemplateOutlet=\"field.content\"\n ></ng-container>\n </div>\n </div>\n </ng-container>\n </div>\n </div>\n</div>\n",
|
|
8896
8913
|
animations: [
|
|
8897
8914
|
trigger("expandableContent", [
|
|
8898
8915
|
state("*", style$7({
|
|
@@ -8907,19 +8924,64 @@ var ObjectCardComponent = /** @class */ (function () {
|
|
|
8907
8924
|
transition("* => true", animate("200ms ease-out")),
|
|
8908
8925
|
transition("false <=> true", animate("200ms ease-out")),
|
|
8909
8926
|
]),
|
|
8927
|
+
trigger("BorderButtonAnimation", [
|
|
8928
|
+
transition(":enter", [
|
|
8929
|
+
style$7({ transform: "scaleY(0)", opacity: 0 }),
|
|
8930
|
+
animate("300ms ease", style$7({ transform: "scaleY(1)", opacity: 1 })),
|
|
8931
|
+
]),
|
|
8932
|
+
transition(":leave", [
|
|
8933
|
+
style$7({ transform: "scaleY(1)", opacity: 1 }),
|
|
8934
|
+
animate("300ms ease", style$7({ transform: "scaleY(0)", opacity: 0 })),
|
|
8935
|
+
]),
|
|
8936
|
+
]),
|
|
8910
8937
|
],
|
|
8911
|
-
styles: [":host{display:block}.container{margin-bottom:20px}.main-container{display:-ms-flexbox;display:flex}.expandable-container,.main-container{background-color:#fff;border:1px solid #ccc;position:relative;overflow:hidden;width:100%}.expandable-container{border-top:none;box-shadow:inset 0 6px 4px -4px #ddd;margin-top:-1px}.expand-icon-container{display:none;text-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;width:25px;position:absolute;right:15px;height:25px;top:calc(50% - 12px)}.expand-icon{-ms-flex:1;flex:1}.object-content{display:-ms-flexbox;display:flex;width:100%}.s-object-card-main{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:1;flex-grow:1;overflow:hidden;padding:15px}.main-container.with-visible-fields .s-object-card-main{max-width:30%}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.main-container.with-visible-fields .s-object-card-main{width:20%}}.s-object-card-field{overflow:hidden;height:100%}.main-container .s-object-card-field{padding:15px}.main-container .divider{width:1px;-ms-flex-negative:0;flex-shrink:0;background-color:#ccc;margin:15px -1px 15px 0}.main-container.with-hidden-fields .object-content{width:calc(100% - 35px)}.main-container.with-hidden-fields .expand-icon-container{display:-ms-flexbox;display:flex}::ng-deep .object-card-button{padding-left:0!important;padding-right:10px!important;border:none!important;height:auto!important;min-width:auto!important;text-align:left!important}@media (max-width:767px){.s-object-card-main{max-width:calc(100% - 50px)}}"]
|
|
8938
|
+
styles: [":host{display:block}.container{margin-bottom:20px;position:relative}.main-container{display:-ms-flexbox;display:flex}.expandable-container,.main-container{background-color:#fff;border:1px solid #ccc;position:relative;overflow:hidden;width:100%}.expandable-container--severity-default{border-color:#ccc;border-top:initial}.expandable-container--severity-info{transition:border-color .5s;border-color:#428bca;border-top:initial}.expandable-container--severity-warn{transition:border-color .5s;border-color:#f8931f;border-top:initial}.expandable-container--severity-error{transition:border-color .5s;border-color:#c13018;border-top:initial}.expandable-container--severity-success{transition:border-color .5s;border-color:#0c9348;border-top:initial}.main-container--severity-default{border-color:#ccc}.main-container--severity-info{transition:border-color .5s;border-color:#428bca}.main-container--severity-warn{transition:border-color .5s;border-color:#f8931f}.main-container--severity-error{transition:border-color .5s;border-color:#c13018}.main-container--severity-success{transition:border-color .5s;border-color:#0c9348}.object-card__border-button{position:absolute;top:-13px;right:15px;z-index:1}.expandable-container{border-top:none;box-shadow:inset 0 6px 4px -4px #ddd;margin-top:-1px}.expand-icon-container{display:none;text-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;width:25px;position:absolute;right:15px;height:25px;top:calc(50% - 12px)}.expand-icon{-ms-flex:1;flex:1}.object-content{display:-ms-flexbox;display:flex;width:100%}.s-object-card-main{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:1;flex-grow:1;overflow:hidden;padding:15px}.main-container.with-visible-fields .s-object-card-main{max-width:30%}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.main-container.with-visible-fields .s-object-card-main{width:20%}}.s-object-card-field{overflow:hidden;height:100%}.main-container .s-object-card-field{padding:15px}.main-container .divider{width:1px;-ms-flex-negative:0;flex-shrink:0;background-color:#ccc;margin:15px -1px 15px 0}.main-container.with-hidden-fields .object-content{width:calc(100% - 35px)}.main-container.with-hidden-fields .expand-icon-container{display:-ms-flexbox;display:flex}::ng-deep .object-card-button{padding-left:0!important;padding-right:10px!important;border:none!important;height:auto!important;min-width:auto!important;text-align:left!important}@media (max-width:767px){.s-object-card-main{max-width:calc(100% - 50px)}}"]
|
|
8912
8939
|
})
|
|
8913
8940
|
], ObjectCardComponent);
|
|
8914
8941
|
return ObjectCardComponent;
|
|
8915
8942
|
}());
|
|
8916
8943
|
|
|
8944
|
+
var BorderButtonComponent = /** @class */ (function () {
|
|
8945
|
+
function BorderButtonComponent() {
|
|
8946
|
+
this.severity = EnumSeverity.Default;
|
|
8947
|
+
this.EnumSeverity = EnumSeverity;
|
|
8948
|
+
this.TooltipPosition = TooltipPosition;
|
|
8949
|
+
}
|
|
8950
|
+
__decorate([
|
|
8951
|
+
Input()
|
|
8952
|
+
], BorderButtonComponent.prototype, "severity", void 0);
|
|
8953
|
+
__decorate([
|
|
8954
|
+
Input()
|
|
8955
|
+
], BorderButtonComponent.prototype, "options", void 0);
|
|
8956
|
+
BorderButtonComponent = __decorate([
|
|
8957
|
+
Component({
|
|
8958
|
+
selector: "s-border-button",
|
|
8959
|
+
template: "<button\n class=\"border-button\"\n [ngClass]=\"{\n 'border-button--severity-default': severity === EnumSeverity.Default,\n 'border-button--severity-info': severity === EnumSeverity.Info,\n 'border-button--severity-warn': severity === EnumSeverity.Warn,\n 'border-button--severity-error': severity === EnumSeverity.Error,\n 'border-button--severity-success': severity == EnumSeverity.Success,\n 'border-button--disabled': options?.disabled\n ? options?.disabled(severity)\n : false\n }\"\n (click)=\"options?.onClick ? options?.onClick(severity) : null\"\n [sTooltip]=\"options?.tooltip ? options?.tooltip(severity) : null\"\n [tooltipPosition]=\"TooltipPosition.Left\"\n [disabled]=\"options?.disabled ? options?.disabled(severity) : false\"\n>\n <span class=\"border-button__label\">\n {{ options?.label ? options?.label(severity) : null }}\n </span>\n <span\n *ngIf=\"options?.icon ? options?.icon(severity) : false\"\n class=\"border-button__icon {{ options?.icon(severity) }}\"\n ></span>\n</button>",
|
|
8960
|
+
styles: [".border-button{padding:0 8px;border:1px solid;border-radius:12px;height:23px;max-width:320px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.border-button__label{font-family:\"Open Sans\" sans-serif;font-size:12px;line-height:150%;width:100%;display:block;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.border-button__icon{font-size:12px;color:#333;margin-left:8px}.border-button--severity-default{border-color:#ccc;background-color:#fff}.border-button--severity-info{border-color:#428bca;background-color:#d5e8ec;transition:background-color .5s,border-color .5s}.border-button--severity-info:enabled:hover{background-color:#9ecad4;cursor:pointer}.border-button--severity-info:enabled:active{transition:none;background-color:#67acbc;border-color:#67acbc}.border-button--severity-warn{border-color:#f8931f;background-color:#fce3ba;transition:background-color .5s,border-color .5s}.border-button--severity-warn:enabled:hover{background-color:#f8bf5e;cursor:pointer}.border-button--severity-warn:enabled:active{transition:none;background-color:#f5a319;border-color:#f5a319}.border-button--severity-error{border-color:#c13018;background-color:#fcd2d2;transition:background-color .5s,border-color .5s}.border-button--severity-error:enabled:hover{background-color:#f89696;cursor:pointer}.border-button--severity-error:enabled:active{transition:none;background-color:#f45b5b;border-color:#f45b5b}.border-button--severity-success{border-color:#0c9348;background-color:#e6ffb3;transition:background-color .5s,border-color .5s}.border-button--severity-success:enabled:hover{background-color:#c8ff5c;cursor:pointer}.border-button--severity-success:enabled:active{transition:none;background-color:#ade500;border-color:#ade500}.border-button--disabled:disabled:hover{cursor:default}"]
|
|
8961
|
+
})
|
|
8962
|
+
], BorderButtonComponent);
|
|
8963
|
+
return BorderButtonComponent;
|
|
8964
|
+
}());
|
|
8965
|
+
|
|
8966
|
+
var BorderButtonModule = /** @class */ (function () {
|
|
8967
|
+
function BorderButtonModule() {
|
|
8968
|
+
}
|
|
8969
|
+
BorderButtonModule = __decorate([
|
|
8970
|
+
NgModule({
|
|
8971
|
+
imports: [CommonModule, TooltipModule],
|
|
8972
|
+
declarations: [BorderButtonComponent],
|
|
8973
|
+
exports: [BorderButtonComponent]
|
|
8974
|
+
})
|
|
8975
|
+
], BorderButtonModule);
|
|
8976
|
+
return BorderButtonModule;
|
|
8977
|
+
}());
|
|
8978
|
+
|
|
8917
8979
|
var ObjectCardModule = /** @class */ (function () {
|
|
8918
8980
|
function ObjectCardModule() {
|
|
8919
8981
|
}
|
|
8920
8982
|
ObjectCardModule = __decorate([
|
|
8921
8983
|
NgModule({
|
|
8922
|
-
imports: [CommonModule, TooltipModule$1, ThumbnailModule, ButtonModule],
|
|
8984
|
+
imports: [CommonModule, TooltipModule$1, ThumbnailModule, ButtonModule, BorderButtonModule],
|
|
8923
8985
|
declarations: [ObjectCardComponent, ObjectCardMainComponent, ObjectCardFieldComponent],
|
|
8924
8986
|
exports: [ThumbnailModule, ObjectCardComponent, ObjectCardMainComponent, ObjectCardFieldComponent],
|
|
8925
8987
|
})
|
|
@@ -11767,6 +11829,71 @@ var ProgressBarColors;
|
|
|
11767
11829
|
ProgressBarColors["Yellow"] = "yellow";
|
|
11768
11830
|
})(ProgressBarColors || (ProgressBarColors = {}));
|
|
11769
11831
|
|
|
11832
|
+
var PanelComponent = /** @class */ (function () {
|
|
11833
|
+
function PanelComponent() {
|
|
11834
|
+
this.toggleable = true;
|
|
11835
|
+
this.collapsed = false;
|
|
11836
|
+
this.severity = EnumSeverity.Default;
|
|
11837
|
+
this.collapsedChange = new EventEmitter();
|
|
11838
|
+
this.EnumSeverity = EnumSeverity;
|
|
11839
|
+
}
|
|
11840
|
+
PanelComponent.prototype.onCollapsedChange = function (collapsed) {
|
|
11841
|
+
this.collapsed = collapsed;
|
|
11842
|
+
this.collapsedChange.emit(this.collapsed);
|
|
11843
|
+
};
|
|
11844
|
+
__decorate([
|
|
11845
|
+
Input()
|
|
11846
|
+
], PanelComponent.prototype, "header", void 0);
|
|
11847
|
+
__decorate([
|
|
11848
|
+
Input()
|
|
11849
|
+
], PanelComponent.prototype, "toggleable", void 0);
|
|
11850
|
+
__decorate([
|
|
11851
|
+
Input()
|
|
11852
|
+
], PanelComponent.prototype, "collapsed", void 0);
|
|
11853
|
+
__decorate([
|
|
11854
|
+
Input()
|
|
11855
|
+
], PanelComponent.prototype, "severity", void 0);
|
|
11856
|
+
__decorate([
|
|
11857
|
+
Input()
|
|
11858
|
+
], PanelComponent.prototype, "borderButtonOptions", void 0);
|
|
11859
|
+
__decorate([
|
|
11860
|
+
Output()
|
|
11861
|
+
], PanelComponent.prototype, "collapsedChange", void 0);
|
|
11862
|
+
PanelComponent = __decorate([
|
|
11863
|
+
Component({
|
|
11864
|
+
selector: "s-panel",
|
|
11865
|
+
template: "<p-panel\n [toggleable]=\"toggleable\"\n [collapsed]=\"collapsed\"\n [ngClass]=\"{\n 'panel--severity-default': severity === EnumSeverity.Default,\n 'panel--severity-info': severity === EnumSeverity.Info,\n 'panel--severity-warn': severity === EnumSeverity.Warn,\n 'panel--severity-error': severity === EnumSeverity.Error,\n 'panel--severity-success': severity == EnumSeverity.Success\n }\"\n (collapsedChange)=\"onCollapsedChange($event)\"\n>\n <p-header>\n <s-border-button\n *ngIf=\"\n borderButtonOptions?.visible\n ? borderButtonOptions?.visible(severity)\n : false\n \"\n [severity]=\"severity\"\n [options]=\"borderButtonOptions\"\n class=\"panel__border-button\"\n [@BorderButtonAnimation]\n ></s-border-button>\n <span>\n {{ header }}\n </span>\n </p-header>\n\n <ng-content></ng-content>\n</p-panel>",
|
|
11866
|
+
animations: [
|
|
11867
|
+
trigger("BorderButtonAnimation", [
|
|
11868
|
+
transition(":enter", [
|
|
11869
|
+
style$7({ transform: "scaleY(0)", opacity: 0 }),
|
|
11870
|
+
animate("300ms ease", style$7({ transform: "scaleY(1)", opacity: 1 })),
|
|
11871
|
+
]),
|
|
11872
|
+
transition(":leave", [
|
|
11873
|
+
style$7({ transform: "scaleY(1)", opacity: 1 }),
|
|
11874
|
+
animate("300ms ease", style$7({ transform: "scaleY(0)", opacity: 0 })),
|
|
11875
|
+
]),
|
|
11876
|
+
]),
|
|
11877
|
+
],
|
|
11878
|
+
styles: [":host{display:block}:host ::ng-deep .ui-panel{position:relative}:host ::ng-deep .panel--severity-default .ui-panel{border-color:#ccc}:host ::ng-deep .panel--severity-info .ui-panel{border-color:#428bca;transition:border-color .5s}:host ::ng-deep .panel--severity-warn .ui-panel{border-color:#f8931f;transition:border-color .5s}:host ::ng-deep .panel--severity-error .ui-panel{border-color:#c13018;transition:border-color .5s}:host ::ng-deep .panel--severity-success .ui-panel{border-color:#0c9348;transition:border-color .5s}.panel__border-button{position:absolute;top:-13px;right:15px;z-index:1}"]
|
|
11879
|
+
})
|
|
11880
|
+
], PanelComponent);
|
|
11881
|
+
return PanelComponent;
|
|
11882
|
+
}());
|
|
11883
|
+
|
|
11884
|
+
var PanelModule = /** @class */ (function () {
|
|
11885
|
+
function PanelModule() {
|
|
11886
|
+
}
|
|
11887
|
+
PanelModule = __decorate([
|
|
11888
|
+
NgModule({
|
|
11889
|
+
imports: [CommonModule, PanelModule$1, BorderButtonModule],
|
|
11890
|
+
declarations: [PanelComponent],
|
|
11891
|
+
exports: [PanelComponent],
|
|
11892
|
+
})
|
|
11893
|
+
], PanelModule);
|
|
11894
|
+
return PanelModule;
|
|
11895
|
+
}());
|
|
11896
|
+
|
|
11770
11897
|
var fallback = {
|
|
11771
11898
|
"platform.angular_components.country_name_br": "Brasil",
|
|
11772
11899
|
"platform.angular_components.country_name_us": "Estados Unidos",
|
|
@@ -11999,5 +12126,5 @@ var fallback = {
|
|
|
11999
12126
|
* Generated bundle index. Do not edit.
|
|
12000
12127
|
*/
|
|
12001
12128
|
|
|
12002
|
-
export { AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RationButtonOption, RowTogllerDirective, Section, SelectField, SelectOption, SidebarComponent, SidebarModule, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, WorkspaceSwitchComponent, WorkspaceSwitchModule, fallback, CountryPhonePickerService as ɵa, LocalizedCurrencyImpurePipe as ɵb, SelectFieldComponent as ɵba, TextAreaFieldComponent as ɵbb, TextFieldComponent as ɵbc, BooleanSwitchFieldComponent as ɵbd, PasswordFieldComponent as ɵbe, DecimalField as ɵbg, StructureModule as ɵbh, HeaderComponent as ɵbi, FooterComponent as ɵbj, NumberLocaleOptions as ɵbk, ThumbnailService as ɵbl,
|
|
12129
|
+
export { AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RationButtonOption, RowTogllerDirective, Section, SelectField, SelectOption, SidebarComponent, SidebarModule, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, WorkspaceSwitchComponent, WorkspaceSwitchModule, fallback, CountryPhonePickerService as ɵa, LocalizedCurrencyImpurePipe as ɵb, SelectFieldComponent as ɵba, TextAreaFieldComponent as ɵbb, TextFieldComponent as ɵbc, BooleanSwitchFieldComponent as ɵbd, PasswordFieldComponent as ɵbe, DecimalField as ɵbg, StructureModule as ɵbh, HeaderComponent as ɵbi, FooterComponent as ɵbj, NumberLocaleOptions as ɵbk, ThumbnailService as ɵbl, BorderButtonModule as ɵbm, BorderButtonComponent as ɵbn, TimelineItemModule as ɵbo, TimelineIconItemComponent as ɵbp, HorizontalTimelineModule as ɵbq, HorizontalTimelineComponent as ɵbr, VerticalTimelineModule as ɵbs, VerticalTimelineComponent as ɵbt, RangeLineComponent as ɵbu, CollapseOptionComponent as ɵbv, CollapsedItemsComponent as ɵbw, VerticalItemsComponent as ɵbx, InfiniteScrollModule as ɵby, InfiniteScrollDirective as ɵbz, LocalizedBignumberPipe as ɵc, CustomTranslationsModule as ɵca, CodeEditorComponent as ɵcb, CoreFacade as ɵcc, CodeMirror6Core as ɵcd, LocalizedBignumberImpurePipe as ɵd, TooltipComponent as ɵe, TooltipDirective as ɵf, EmptyStateGoBackComponent as ɵg, FileUploadService as ɵh, InfoSignComponent as ɵi, TableColumnsComponent as ɵj, TablePagingComponent as ɵk, AutocompleteFieldComponent as ɵl, BooleanFieldComponent as ɵm, CalendarFieldComponent as ɵn, ChipsFieldComponent as ɵo, CurrencyFieldComponent as ɵp, DynamicFieldComponent as ɵq, DynamicFormDirective as ɵr, FieldsetComponent as ɵs, FileUploadComponent$1 as ɵt, LookupFieldComponent as ɵu, NumberFieldComponent as ɵv, BignumberFieldComponent as ɵw, RadioButtonComponent as ɵx, RowComponent as ɵy, SectionComponent as ɵz };
|
|
12003
12130
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|