@seniorsistemas/angular-components 15.0.4 → 15.1.1
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 +17 -6
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/table/table-column/models/column-values.interface.d.ts +1 -0
- package/components/table/table-column/models/column.interface.d.ts +1 -0
- package/components/table/table-column/table-columns.component.d.ts +1 -0
- package/esm2015/components/table/table-column/models/column-values.interface.js +1 -1
- package/esm2015/components/table/table-column/models/column.interface.js +1 -1
- package/esm2015/components/table/table-column/table-columns.component.js +12 -2
- package/esm2015/components/table/table.module.js +4 -2
- package/esm2015/components/timeline/timeline.component.js +2 -2
- package/esm2015/seniorsistemas-angular-components.js +4 -4
- package/esm5/components/table/table-column/models/column-values.interface.js +1 -1
- package/esm5/components/table/table-column/models/column.interface.js +1 -1
- package/esm5/components/table/table-column/table-columns.component.js +12 -2
- package/esm5/components/table/table.module.js +4 -2
- package/esm5/components/timeline/timeline.component.js +2 -2
- package/esm5/seniorsistemas-angular-components.js +4 -4
- package/fesm2015/seniorsistemas-angular-components.js +15 -4
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +15 -4
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +3 -3
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -4274,6 +4274,7 @@ var TableColumnsComponent = /** @class */ (function () {
|
|
|
4274
4274
|
uninformed: uninformed,
|
|
4275
4275
|
type: column.type,
|
|
4276
4276
|
tooltip: this.getColumnTooltip(column.tooltip),
|
|
4277
|
+
infoSign: this.getColumnInfoSign(column.infoSign),
|
|
4277
4278
|
onLinkClick: column.onLinkClick,
|
|
4278
4279
|
onColumnClick: column.onColumnClick
|
|
4279
4280
|
};
|
|
@@ -4293,6 +4294,15 @@ var TableColumnsComponent = /** @class */ (function () {
|
|
|
4293
4294
|
}
|
|
4294
4295
|
return scale;
|
|
4295
4296
|
};
|
|
4297
|
+
TableColumnsComponent.prototype.getColumnInfoSign = function (infoSign) {
|
|
4298
|
+
if (infoSign !== undefined && infoSign !== null) {
|
|
4299
|
+
if (typeof infoSign === "function") {
|
|
4300
|
+
return infoSign(this.rowValue);
|
|
4301
|
+
}
|
|
4302
|
+
return infoSign;
|
|
4303
|
+
}
|
|
4304
|
+
return null;
|
|
4305
|
+
};
|
|
4296
4306
|
TableColumnsComponent.prototype.getColumnTooltip = function (tooltip) {
|
|
4297
4307
|
if (tooltip !== undefined && tooltip !== null) {
|
|
4298
4308
|
if (typeof tooltip === "function") {
|
|
@@ -4370,7 +4380,7 @@ var TableColumnsComponent = /** @class */ (function () {
|
|
|
4370
4380
|
], TableColumnsComponent.prototype, "locale", void 0);
|
|
4371
4381
|
TableColumnsComponent = __decorate([
|
|
4372
4382
|
Component({
|
|
4373
|
-
template: "
|
|
4383
|
+
template: "<ng-template #columnsTemplate>\n <td *ngFor=\"let column of formattedColumns\"\n [ngStyle]=\"column.style\"\n (click)=\"column.onColumnClick ? column.onColumnClick(rowValue) : null\">\n\n <div *ngIf=\"column.type !== 'TOKENS' || !isArray(column.columnValue); else tokensTemplate\">\n <span *ngIf=\"column.type !== 'LINK'\"\n [pTooltip]=\"column.tooltip\"\n [escape]=\"false\"\n [ngClass]=\"column.badgeClass\">\n <ng-container *ngTemplateOutlet=\"columnValueTemplate\"></ng-container> \n </span>\n\n <a *ngIf=\"column.type === 'LINK'\"\n [pTooltip]=\"column.tooltip\"\n [escape]=\"false\"\n (click)=\"column.onLinkClick ? column.onLinkClick(rowValue) : null\">\n <ng-container *ngTemplateOutlet=\"columnValueTemplate\"></ng-container> \n </a>\n\n <ng-template #columnValueTemplate>\n <span *ngFor=\"let value of getSplittedString(column)\">\n <span [ngClass]=\"{ 'sds-empty-value': value.isUninformed }\">{{value.value}}</span>\n <span>{{value.separator}}</span>\n </span>\n <ng-container *ngIf=\"!!column.infoSign\">\n <span *sInfoSign=\"column.infoSign\"></span>\n </ng-container>\n </ng-template>\n </div>\n\n <ng-template #tokensTemplate>\n <s-token-list\n [tokens]=\"column.columnValue\"\n [hidePointerEvents]=\"true\"\n >\n </s-token-list>\n <ng-container *ngIf=\"!!column.infoSign\">\n <span *sInfoSign=\"column.infoSign\"></span>\n </ng-container>\n </ng-template>\n </td>\n</ng-template>\n",
|
|
4374
4384
|
selector: "s-table-columns",
|
|
4375
4385
|
styles: [":host{display:none}"]
|
|
4376
4386
|
}),
|
|
@@ -4614,7 +4624,8 @@ var TableModule = /** @class */ (function () {
|
|
|
4614
4624
|
TooltipModule,
|
|
4615
4625
|
TokenListModule,
|
|
4616
4626
|
TranslateModule,
|
|
4617
|
-
ButtonModule
|
|
4627
|
+
ButtonModule,
|
|
4628
|
+
InfoSignModule
|
|
4618
4629
|
],
|
|
4619
4630
|
exports: [
|
|
4620
4631
|
RowTogllerDirective,
|
|
@@ -7461,7 +7472,7 @@ var TimelineComponent = /** @class */ (function () {
|
|
|
7461
7472
|
TimelineComponent = __decorate([
|
|
7462
7473
|
Component({
|
|
7463
7474
|
selector: "s-timeline",
|
|
7464
|
-
template: "<div *ngIf=\"changeToVertical(); then vertical else horizontal\"></div>\n\n<ng-template #horizontal>\n <s-horizontal-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\">\n </s-horizontal-timeline>\n</ng-template>\n\n<ng-template #vertical>\n <s-vertical-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\"\n [counterLabel]=\"counterLabel\"\n [collapsable]=\"collapsable\">\n </s-vertical-timeline>\n</ng-template>"
|
|
7475
|
+
template: "<ng-template *ngIf=\"items?.length\">\n <div *ngIf=\"changeToVertical(); then vertical else horizontal\"></div>\n</ng-template>\n\n<ng-template #horizontal>\n <s-horizontal-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\">\n </s-horizontal-timeline>\n</ng-template>\n\n<ng-template #vertical>\n <s-vertical-timeline\n [items]=\"items\"\n [activeIndex]=\"activeIndex\"\n [counterLabel]=\"counterLabel\"\n [collapsable]=\"collapsable\">\n </s-vertical-timeline>\n</ng-template>"
|
|
7465
7476
|
})
|
|
7466
7477
|
], TimelineComponent);
|
|
7467
7478
|
return TimelineComponent;
|
|
@@ -9650,5 +9661,5 @@ var CodeEditorModule = /** @class */ (function () {
|
|
|
9650
9661
|
* Generated bundle index. Do not edit.
|
|
9651
9662
|
*/
|
|
9652
9663
|
|
|
9653
|
-
export { AngularComponentsModule, AutocompleteField, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, 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, ProductHeaderComponent, ProductHeaderModule, 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, ValidateErrors, LocalizedCurrencyImpurePipe as ɵa, LocalizedBignumberPipe as ɵb, DecimalField as ɵbb, StructureModule as ɵbc, HeaderComponent as ɵbd, FooterComponent as ɵbe, NumberLocaleOptions as ɵbf, ThumbnailService as ɵbg, TimelineItemModule as ɵbh, TimelineIconItemComponent as ɵbi, HorizontalTimelineModule as ɵbj, HorizontalTimelineComponent as ɵbk, VerticalTimelineModule as ɵbl, VerticalTimelineComponent as ɵbm, RangeLineComponent as ɵbn, CollapseOptionComponent as ɵbo, CollapsedItemsComponent as ɵbp, VerticalItemsComponent as ɵbq, InfiniteScrollModule as ɵbr, InfiniteScrollDirective as ɵbs, CustomTranslationsModule as ɵbt, CodeEditorComponent as ɵbu, CoreFacade as ɵbv, CodeMirror6Core as ɵbw, LocalizedBignumberImpurePipe as ɵc, EmptyStateGoBackComponent as ɵd,
|
|
9664
|
+
export { AngularComponentsModule, AutocompleteField, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, 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, ProductHeaderComponent, ProductHeaderModule, 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, ValidateErrors, LocalizedCurrencyImpurePipe as ɵa, LocalizedBignumberPipe as ɵb, DecimalField as ɵbb, StructureModule as ɵbc, HeaderComponent as ɵbd, FooterComponent as ɵbe, NumberLocaleOptions as ɵbf, ThumbnailService as ɵbg, TimelineItemModule as ɵbh, TimelineIconItemComponent as ɵbi, HorizontalTimelineModule as ɵbj, HorizontalTimelineComponent as ɵbk, VerticalTimelineModule as ɵbl, VerticalTimelineComponent as ɵbm, RangeLineComponent as ɵbn, CollapseOptionComponent as ɵbo, CollapsedItemsComponent as ɵbp, VerticalItemsComponent as ɵbq, InfiniteScrollModule as ɵbr, InfiniteScrollDirective as ɵbs, CustomTranslationsModule as ɵbt, CodeEditorComponent as ɵbu, CoreFacade as ɵbv, CodeMirror6Core as ɵbw, LocalizedBignumberImpurePipe as ɵc, EmptyStateGoBackComponent as ɵd, InfoSignComponent as ɵe, TableColumnsComponent as ɵf, TablePagingComponent as ɵg, AutocompleteFieldComponent as ɵh, BooleanFieldComponent as ɵi, CalendarFieldComponent as ɵj, ChipsFieldComponent as ɵk, CurrencyFieldComponent as ɵl, DynamicFieldComponent as ɵm, DynamicFormDirective as ɵn, FieldsetComponent as ɵo, FileUploadComponent$1 as ɵp, LookupFieldComponent as ɵq, NumberFieldComponent as ɵr, BignumberFieldComponent as ɵs, RadioButtonComponent as ɵt, RowComponent as ɵu, SectionComponent as ɵv, SelectFieldComponent as ɵw, TextAreaFieldComponent as ɵx, TextFieldComponent as ɵy, BooleanSwitchFieldComponent as ɵz };
|
|
9654
9665
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|