@seniorsistemas/angular-components 16.8.0 → 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 +151 -20
- 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/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/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/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 +126 -7
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +134 -7
- 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';
|
|
@@ -4270,7 +4270,7 @@ LoadingStateComponent = LoadingStateComponent_1 = __decorate([
|
|
|
4270
4270
|
Component({
|
|
4271
4271
|
selector: "s-loading-state",
|
|
4272
4272
|
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>",
|
|
4273
|
-
styles: [".s-loading-state-container{position:relative}.s-loading-state-container>.loader{
|
|
4273
|
+
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}"]
|
|
4274
4274
|
})
|
|
4275
4275
|
], LoadingStateComponent);
|
|
4276
4276
|
|
|
@@ -6880,7 +6880,7 @@ DynamicFormModule = __decorate([
|
|
|
6880
6880
|
MultiSelectModule,
|
|
6881
6881
|
ButtonModule$1,
|
|
6882
6882
|
ButtonModule,
|
|
6883
|
-
PanelModule,
|
|
6883
|
+
PanelModule$1,
|
|
6884
6884
|
DialogModule,
|
|
6885
6885
|
RadioButtonModule,
|
|
6886
6886
|
TableModule$1,
|
|
@@ -8154,6 +8154,15 @@ ObjectCardMainComponent = ObjectCardMainComponent_1 = __decorate([
|
|
|
8154
8154
|
})
|
|
8155
8155
|
], ObjectCardMainComponent);
|
|
8156
8156
|
|
|
8157
|
+
var EnumSeverity;
|
|
8158
|
+
(function (EnumSeverity) {
|
|
8159
|
+
EnumSeverity["Default"] = "Default";
|
|
8160
|
+
EnumSeverity["Info"] = "Info";
|
|
8161
|
+
EnumSeverity["Warn"] = "Warn";
|
|
8162
|
+
EnumSeverity["Error"] = "Error";
|
|
8163
|
+
EnumSeverity["Success"] = "Success";
|
|
8164
|
+
})(EnumSeverity || (EnumSeverity = {}));
|
|
8165
|
+
|
|
8157
8166
|
var ObjectCardComponent_1;
|
|
8158
8167
|
const elementResizeDetectorMaker = elementResizeDetectorMaker_; // @HACK Necessary because of https://github.com/rollup/rollup/issues/670
|
|
8159
8168
|
let ObjectCardComponent = ObjectCardComponent_1 = class ObjectCardComponent {
|
|
@@ -8167,6 +8176,8 @@ let ObjectCardComponent = ObjectCardComponent_1 = class ObjectCardComponent {
|
|
|
8167
8176
|
this.fieldsMinWidth = 200;
|
|
8168
8177
|
this.expandedChange = new EventEmitter();
|
|
8169
8178
|
this.maxVisibleFields = 0;
|
|
8179
|
+
this.severity = EnumSeverity.Default;
|
|
8180
|
+
this.EnumSeverity = EnumSeverity;
|
|
8170
8181
|
}
|
|
8171
8182
|
ngAfterViewInit() {
|
|
8172
8183
|
this.update();
|
|
@@ -8255,10 +8266,16 @@ __decorate([
|
|
|
8255
8266
|
__decorate([
|
|
8256
8267
|
ContentChildren(ObjectCardFieldComponent, { descendants: true })
|
|
8257
8268
|
], ObjectCardComponent.prototype, "fields", void 0);
|
|
8269
|
+
__decorate([
|
|
8270
|
+
Input()
|
|
8271
|
+
], ObjectCardComponent.prototype, "severity", void 0);
|
|
8272
|
+
__decorate([
|
|
8273
|
+
Input()
|
|
8274
|
+
], ObjectCardComponent.prototype, "borderButtonOptions", void 0);
|
|
8258
8275
|
ObjectCardComponent = ObjectCardComponent_1 = __decorate([
|
|
8259
8276
|
Component({
|
|
8260
8277
|
selector: "s-object-card",
|
|
8261
|
-
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
|
|
8278
|
+
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",
|
|
8262
8279
|
animations: [
|
|
8263
8280
|
trigger("expandableContent", [
|
|
8264
8281
|
state("*", style$7({
|
|
@@ -8273,16 +8290,57 @@ ObjectCardComponent = ObjectCardComponent_1 = __decorate([
|
|
|
8273
8290
|
transition("* => true", animate("200ms ease-out")),
|
|
8274
8291
|
transition("false <=> true", animate("200ms ease-out")),
|
|
8275
8292
|
]),
|
|
8293
|
+
trigger("BorderButtonAnimation", [
|
|
8294
|
+
transition(":enter", [
|
|
8295
|
+
style$7({ transform: "scaleY(0)", opacity: 0 }),
|
|
8296
|
+
animate("300ms ease", style$7({ transform: "scaleY(1)", opacity: 1 })),
|
|
8297
|
+
]),
|
|
8298
|
+
transition(":leave", [
|
|
8299
|
+
style$7({ transform: "scaleY(1)", opacity: 1 }),
|
|
8300
|
+
animate("300ms ease", style$7({ transform: "scaleY(0)", opacity: 0 })),
|
|
8301
|
+
]),
|
|
8302
|
+
]),
|
|
8276
8303
|
],
|
|
8277
|
-
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)}}"]
|
|
8304
|
+
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)}}"]
|
|
8278
8305
|
})
|
|
8279
8306
|
], ObjectCardComponent);
|
|
8280
8307
|
|
|
8308
|
+
let BorderButtonComponent = class BorderButtonComponent {
|
|
8309
|
+
constructor() {
|
|
8310
|
+
this.severity = EnumSeverity.Default;
|
|
8311
|
+
this.EnumSeverity = EnumSeverity;
|
|
8312
|
+
this.TooltipPosition = TooltipPosition;
|
|
8313
|
+
}
|
|
8314
|
+
};
|
|
8315
|
+
__decorate([
|
|
8316
|
+
Input()
|
|
8317
|
+
], BorderButtonComponent.prototype, "severity", void 0);
|
|
8318
|
+
__decorate([
|
|
8319
|
+
Input()
|
|
8320
|
+
], BorderButtonComponent.prototype, "options", void 0);
|
|
8321
|
+
BorderButtonComponent = __decorate([
|
|
8322
|
+
Component({
|
|
8323
|
+
selector: "s-border-button",
|
|
8324
|
+
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>",
|
|
8325
|
+
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}"]
|
|
8326
|
+
})
|
|
8327
|
+
], BorderButtonComponent);
|
|
8328
|
+
|
|
8329
|
+
let BorderButtonModule = class BorderButtonModule {
|
|
8330
|
+
};
|
|
8331
|
+
BorderButtonModule = __decorate([
|
|
8332
|
+
NgModule({
|
|
8333
|
+
imports: [CommonModule, TooltipModule],
|
|
8334
|
+
declarations: [BorderButtonComponent],
|
|
8335
|
+
exports: [BorderButtonComponent]
|
|
8336
|
+
})
|
|
8337
|
+
], BorderButtonModule);
|
|
8338
|
+
|
|
8281
8339
|
let ObjectCardModule = class ObjectCardModule {
|
|
8282
8340
|
};
|
|
8283
8341
|
ObjectCardModule = __decorate([
|
|
8284
8342
|
NgModule({
|
|
8285
|
-
imports: [CommonModule, TooltipModule$1, ThumbnailModule, ButtonModule],
|
|
8343
|
+
imports: [CommonModule, TooltipModule$1, ThumbnailModule, ButtonModule, BorderButtonModule],
|
|
8286
8344
|
declarations: [ObjectCardComponent, ObjectCardMainComponent, ObjectCardFieldComponent],
|
|
8287
8345
|
exports: [ThumbnailModule, ObjectCardComponent, ObjectCardMainComponent, ObjectCardFieldComponent],
|
|
8288
8346
|
})
|
|
@@ -10986,6 +11044,67 @@ var ProgressBarColors;
|
|
|
10986
11044
|
ProgressBarColors["Yellow"] = "yellow";
|
|
10987
11045
|
})(ProgressBarColors || (ProgressBarColors = {}));
|
|
10988
11046
|
|
|
11047
|
+
let PanelComponent = class PanelComponent {
|
|
11048
|
+
constructor() {
|
|
11049
|
+
this.toggleable = true;
|
|
11050
|
+
this.collapsed = false;
|
|
11051
|
+
this.severity = EnumSeverity.Default;
|
|
11052
|
+
this.collapsedChange = new EventEmitter();
|
|
11053
|
+
this.EnumSeverity = EnumSeverity;
|
|
11054
|
+
}
|
|
11055
|
+
onCollapsedChange(collapsed) {
|
|
11056
|
+
this.collapsed = collapsed;
|
|
11057
|
+
this.collapsedChange.emit(this.collapsed);
|
|
11058
|
+
}
|
|
11059
|
+
};
|
|
11060
|
+
__decorate([
|
|
11061
|
+
Input()
|
|
11062
|
+
], PanelComponent.prototype, "header", void 0);
|
|
11063
|
+
__decorate([
|
|
11064
|
+
Input()
|
|
11065
|
+
], PanelComponent.prototype, "toggleable", void 0);
|
|
11066
|
+
__decorate([
|
|
11067
|
+
Input()
|
|
11068
|
+
], PanelComponent.prototype, "collapsed", void 0);
|
|
11069
|
+
__decorate([
|
|
11070
|
+
Input()
|
|
11071
|
+
], PanelComponent.prototype, "severity", void 0);
|
|
11072
|
+
__decorate([
|
|
11073
|
+
Input()
|
|
11074
|
+
], PanelComponent.prototype, "borderButtonOptions", void 0);
|
|
11075
|
+
__decorate([
|
|
11076
|
+
Output()
|
|
11077
|
+
], PanelComponent.prototype, "collapsedChange", void 0);
|
|
11078
|
+
PanelComponent = __decorate([
|
|
11079
|
+
Component({
|
|
11080
|
+
selector: "s-panel",
|
|
11081
|
+
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>",
|
|
11082
|
+
animations: [
|
|
11083
|
+
trigger("BorderButtonAnimation", [
|
|
11084
|
+
transition(":enter", [
|
|
11085
|
+
style$7({ transform: "scaleY(0)", opacity: 0 }),
|
|
11086
|
+
animate("300ms ease", style$7({ transform: "scaleY(1)", opacity: 1 })),
|
|
11087
|
+
]),
|
|
11088
|
+
transition(":leave", [
|
|
11089
|
+
style$7({ transform: "scaleY(1)", opacity: 1 }),
|
|
11090
|
+
animate("300ms ease", style$7({ transform: "scaleY(0)", opacity: 0 })),
|
|
11091
|
+
]),
|
|
11092
|
+
]),
|
|
11093
|
+
],
|
|
11094
|
+
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}"]
|
|
11095
|
+
})
|
|
11096
|
+
], PanelComponent);
|
|
11097
|
+
|
|
11098
|
+
let PanelModule = class PanelModule {
|
|
11099
|
+
};
|
|
11100
|
+
PanelModule = __decorate([
|
|
11101
|
+
NgModule({
|
|
11102
|
+
imports: [CommonModule, PanelModule$1, BorderButtonModule],
|
|
11103
|
+
declarations: [PanelComponent],
|
|
11104
|
+
exports: [PanelComponent],
|
|
11105
|
+
})
|
|
11106
|
+
], PanelModule);
|
|
11107
|
+
|
|
10989
11108
|
const fallback = {
|
|
10990
11109
|
"platform.angular_components.country_name_br": "Brasil",
|
|
10991
11110
|
"platform.angular_components.country_name_us": "Estados Unidos",
|
|
@@ -11218,5 +11337,5 @@ const fallback = {
|
|
|
11218
11337
|
* Generated bundle index. Do not edit.
|
|
11219
11338
|
*/
|
|
11220
11339
|
|
|
11221
|
-
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,
|
|
11340
|
+
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 };
|
|
11222
11341
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|