@seniorsistemas/angular-components 17.25.1 → 17.25.2

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.
@@ -1081,6 +1081,9 @@
1081
1081
  __decorate([
1082
1082
  core.Input()
1083
1083
  ], BadgeComponent.prototype, "iconPosition", void 0);
1084
+ __decorate([
1085
+ core.Input()
1086
+ ], BadgeComponent.prototype, "infoSign", void 0);
1084
1087
  __decorate([
1085
1088
  core.Output()
1086
1089
  ], BadgeComponent.prototype, "selected", void 0);
@@ -1090,27 +1093,119 @@
1090
1093
  BadgeComponent = __decorate([
1091
1094
  core.Component({
1092
1095
  selector: "s-badge",
1093
- template: "<span\n class=\"badge\"\n [ngClass]=\"{\n 'badge--pill': type === 'pill',\n 'badge--chip': type === 'chip', \n 'badge--red': color === 'red',\n 'badge--orange': color === 'orange',\n 'badge--yellow': color === 'yellow',\n 'badge--blue': color === 'blue',\n 'badge--green': color === 'green',\n 'badge--gray': color === 'gray',\n 'badge--selectable': selectable\n }\">\n <span\n *ngIf=\"iconClass\"\n [class]=\"'badge-icon ' + iconClass\"\n [ngClass]=\"{\n 'badge-icon--left': iconPosition === 'left' && text,\n 'badge-icon--right': iconPosition === 'right' && text\n }\">\n </span>\n <span *ngIf=\"title\" class=\"badge-title\">{{ title }}:</span>\n <span class=\"badge-text\">{{ text }}</span>\n</span>",
1094
- styles: [".badge{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;min-height:1.25rem;-ms-flex-pack:center;justify-content:center;min-width:20px;padding:0 .5rem}.badge--chip{border-radius:4px}.badge--pill{border-radius:12px}.badge .badge-title{color:#212533;font-family:\"Open Sans\",sans-serif;font-size:12px;font-weight:700;line-height:150%;margin-right:.125rem}.badge .badge-text{color:#212533;font-family:\"Open Sans\",sans-serif;font-size:.75rem;font-weight:400;line-height:150%}.badge .badge-icon{color:#212533;font-size:10px}.badge .badge-icon--left{margin-right:8px}.badge .badge-icon--right{margin-left:8px;-ms-flex-order:2;order:2}.badge--red{background-color:#fcd2d2;border:1px solid #c13018}.badge--orange{background-color:#fce3ba;border:1px solid #f8931f}.badge--yellow{background-color:#fef4e3;border:1px solid #fcbf10}.badge--blue{background-color:#d5e8ec;border:1px solid #428bca}.badge--green{background-color:#e6ffb3;border:1px solid #0c9348}.badge--gray{background-color:#e5eaea;border:1px solid #697882}.badge--selectable{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}"]
1096
+ template: "<span\n class=\"badge\"\n [ngClass]=\"{\n 'badge--pill': type === 'pill',\n 'badge--chip': type === 'chip', \n 'badge--red': color === 'red',\n 'badge--orange': color === 'orange',\n 'badge--yellow': color === 'yellow',\n 'badge--blue': color === 'blue',\n 'badge--green': color === 'green',\n 'badge--gray': color === 'gray',\n 'badge--selectable': selectable\n }\">\n <ng-container *ngIf=\"infoSign\">\n <span *sInfoSign=\"infoSign.text; displayTime: infoSign.displayTime\"></span>\n </ng-container>\n <span\n *ngIf=\"iconClass\"\n [class]=\"'badge-icon ' + iconClass\"\n [ngClass]=\"{\n 'badge-icon--left': iconPosition === 'left' && text,\n 'badge-icon--right': iconPosition === 'right' && text\n }\">\n </span>\n <span *ngIf=\"title\" class=\"badge-title\">{{ title }}:</span>\n <span class=\"badge-text\">{{ text }}</span>\n</span>",
1097
+ styles: [".badge{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;gap:8px;min-height:1.25rem;-ms-flex-pack:center;justify-content:center;min-width:20px;padding:0 .5rem}.badge--chip{border-radius:4px}.badge--pill{border-radius:12px}.badge ::ng-deep .info-sign .info-sign__icon{padding:0!important}.badge .badge-title{color:#212533;font-family:\"Open Sans\",sans-serif;font-size:12px;font-weight:700;line-height:150%}.badge .badge-text{color:#212533;font-family:\"Open Sans\",sans-serif;font-size:.75rem;font-weight:400;line-height:150%}.badge .badge-icon{color:#212533;font-size:10px}.badge .badge-icon--right{-ms-flex-order:2;order:2}.badge--red{background-color:#fcd2d2;border:1px solid #c13018}.badge--orange{background-color:#fce3ba;border:1px solid #f8931f}.badge--yellow{background-color:#fef4e3;border:1px solid #fcbf10}.badge--blue{background-color:#d5e8ec;border:1px solid #428bca}.badge--green{background-color:#e6ffb3;border:1px solid #0c9348}.badge--gray{background-color:#e5eaea;border:1px solid #697882}.badge--selectable{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}"]
1095
1098
  })
1096
1099
  ], BadgeComponent);
1097
1100
  return BadgeComponent;
1098
1101
  }());
1099
1102
 
1100
- var BadgeModule = /** @class */ (function () {
1101
- function BadgeModule() {
1103
+ var InfoSignComponent = /** @class */ (function () {
1104
+ function InfoSignComponent() {
1102
1105
  }
1103
- BadgeModule = __decorate([
1106
+ InfoSignComponent = __decorate([
1107
+ core.Component({
1108
+ selector: "s-info-sign-component",
1109
+ template: "<span class=\"info-sign\">\n <span *ngTemplateOutlet=\"templateRef\"></span>\n <i\n class=\"info-sign__icon fa fa-info-circle\"\n aria-hidden=\"true\"\n [sTooltip]=\"tooltip\"\n [escape]=\"false\"\n tooltipPosition=\"top\"\n [displayTime]=\"displayTime\"\n mobileBehavior=\"tap\"\n showDelay=\"0\"\n [focusedInputRef]=\"focusedInputRef\">\n </i>\n</span>\n",
1110
+ styles: [".info-sign{-ms-flex-align:baseline;align-items:baseline;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:start;justify-content:flex-start}.info-sign .info-sign__icon{padding:0 12px}"]
1111
+ })
1112
+ ], InfoSignComponent);
1113
+ return InfoSignComponent;
1114
+ }());
1115
+
1116
+ var InfoSignDirective = /** @class */ (function () {
1117
+ function InfoSignDirective(templateRef, viewContainer, componentFactoryResolver) {
1118
+ this.templateRef = templateRef;
1119
+ this.viewContainer = viewContainer;
1120
+ this.componentFactoryResolver = componentFactoryResolver;
1121
+ this.displayTime = 5000;
1122
+ this.useFocusedInputRef = true;
1123
+ }
1124
+ InfoSignDirective.prototype.ngOnChanges = function () {
1125
+ this.createInfoSign();
1126
+ };
1127
+ InfoSignDirective.prototype.ngOnInit = function () {
1128
+ this.createInfoSign();
1129
+ };
1130
+ InfoSignDirective.prototype.ngOnDestroy = function () {
1131
+ if (this.componentRef) {
1132
+ this.componentRef.destroy();
1133
+ }
1134
+ };
1135
+ InfoSignDirective.prototype.createInfoSign = function () {
1136
+ if (!this.componentRef && this.sInfoSign) {
1137
+ this.viewContainer.clear();
1138
+ var componentFactory = this.componentFactoryResolver.resolveComponentFactory(InfoSignComponent);
1139
+ this.componentRef = this.viewContainer.createComponent(componentFactory);
1140
+ var _infoSignComponent = this.componentRef.instance;
1141
+ _infoSignComponent.templateRef = this.templateRef;
1142
+ _infoSignComponent.tooltip = this.sInfoSign;
1143
+ _infoSignComponent.displayTime = this.displayTime;
1144
+ if (this.useFocusedInputRef) {
1145
+ _infoSignComponent.focusedInputRef = this.focusedInputRef;
1146
+ }
1147
+ }
1148
+ else if (this.componentRef && this.sInfoSign) {
1149
+ this.componentRef.instance.tooltip = this.sInfoSign;
1150
+ }
1151
+ else {
1152
+ this.viewContainer.clear();
1153
+ this.viewContainer.createEmbeddedView(this.templateRef);
1154
+ }
1155
+ };
1156
+ InfoSignDirective.ctorParameters = function () { return [
1157
+ { type: core.TemplateRef },
1158
+ { type: core.ViewContainerRef },
1159
+ { type: core.ComponentFactoryResolver }
1160
+ ]; };
1161
+ __decorate([
1162
+ core.Input()
1163
+ ], InfoSignDirective.prototype, "sInfoSign", void 0);
1164
+ __decorate([
1165
+ core.Input('sInfoSignDisplayTime')
1166
+ ], InfoSignDirective.prototype, "displayTime", void 0);
1167
+ __decorate([
1168
+ core.Input('sInfoSignFocusedInputRef')
1169
+ ], InfoSignDirective.prototype, "focusedInputRef", void 0);
1170
+ __decorate([
1171
+ core.Input('sInfoSignUseFocusedInputRef')
1172
+ ], InfoSignDirective.prototype, "useFocusedInputRef", void 0);
1173
+ InfoSignDirective = __decorate([
1174
+ core.Directive({
1175
+ selector: "[sInfoSign]"
1176
+ })
1177
+ ], InfoSignDirective);
1178
+ return InfoSignDirective;
1179
+ }());
1180
+
1181
+ var InfoSignModule = /** @class */ (function () {
1182
+ function InfoSignModule() {
1183
+ }
1184
+ InfoSignModule = __decorate([
1104
1185
  core.NgModule({
1105
1186
  imports: [
1187
+ TooltipModule,
1106
1188
  common.CommonModule,
1107
- router.RouterModule,
1108
1189
  ],
1109
- declarations: [BadgeComponent],
1110
- exports: [
1111
- BadgeComponent,
1112
- router.RouterModule,
1190
+ declarations: [
1191
+ InfoSignDirective,
1192
+ InfoSignComponent,
1113
1193
  ],
1194
+ exports: [InfoSignDirective],
1195
+ entryComponents: [InfoSignComponent],
1196
+ })
1197
+ ], InfoSignModule);
1198
+ return InfoSignModule;
1199
+ }());
1200
+
1201
+ var BadgeModule = /** @class */ (function () {
1202
+ function BadgeModule() {
1203
+ }
1204
+ BadgeModule = __decorate([
1205
+ core.NgModule({
1206
+ imports: [common.CommonModule, router.RouterModule, InfoSignModule],
1207
+ declarations: [BadgeComponent],
1208
+ exports: [BadgeComponent, router.RouterModule],
1114
1209
  })
1115
1210
  ], BadgeModule);
1116
1211
  return BadgeModule;
@@ -8678,104 +8773,6 @@
8678
8773
  return FileUploadModule;
8679
8774
  }());
8680
8775
 
8681
- var InfoSignComponent = /** @class */ (function () {
8682
- function InfoSignComponent() {
8683
- }
8684
- InfoSignComponent = __decorate([
8685
- core.Component({
8686
- selector: "s-info-sign-component",
8687
- template: "<span class=\"info-sign\">\n <span *ngTemplateOutlet=\"templateRef\"></span>\n <i\n class=\"info-sign__icon fa fa-info-circle\"\n aria-hidden=\"true\"\n [sTooltip]=\"tooltip\"\n [escape]=\"false\"\n tooltipPosition=\"top\"\n [displayTime]=\"displayTime\"\n mobileBehavior=\"tap\"\n showDelay=\"0\"\n [focusedInputRef]=\"focusedInputRef\">\n </i>\n</span>\n",
8688
- styles: [".info-sign{-ms-flex-align:baseline;align-items:baseline;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:start;justify-content:flex-start}.info-sign .info-sign__icon{padding:0 12px}"]
8689
- })
8690
- ], InfoSignComponent);
8691
- return InfoSignComponent;
8692
- }());
8693
-
8694
- var InfoSignDirective = /** @class */ (function () {
8695
- function InfoSignDirective(templateRef, viewContainer, componentFactoryResolver) {
8696
- this.templateRef = templateRef;
8697
- this.viewContainer = viewContainer;
8698
- this.componentFactoryResolver = componentFactoryResolver;
8699
- this.displayTime = 5000;
8700
- this.useFocusedInputRef = true;
8701
- }
8702
- InfoSignDirective.prototype.ngOnChanges = function () {
8703
- this.createInfoSign();
8704
- };
8705
- InfoSignDirective.prototype.ngOnInit = function () {
8706
- this.createInfoSign();
8707
- };
8708
- InfoSignDirective.prototype.ngOnDestroy = function () {
8709
- if (this.componentRef) {
8710
- this.componentRef.destroy();
8711
- }
8712
- };
8713
- InfoSignDirective.prototype.createInfoSign = function () {
8714
- if (!this.componentRef && this.sInfoSign) {
8715
- this.viewContainer.clear();
8716
- var componentFactory = this.componentFactoryResolver.resolveComponentFactory(InfoSignComponent);
8717
- this.componentRef = this.viewContainer.createComponent(componentFactory);
8718
- var _infoSignComponent = this.componentRef.instance;
8719
- _infoSignComponent.templateRef = this.templateRef;
8720
- _infoSignComponent.tooltip = this.sInfoSign;
8721
- _infoSignComponent.displayTime = this.displayTime;
8722
- if (this.useFocusedInputRef) {
8723
- _infoSignComponent.focusedInputRef = this.focusedInputRef;
8724
- }
8725
- }
8726
- else if (this.componentRef && this.sInfoSign) {
8727
- this.componentRef.instance.tooltip = this.sInfoSign;
8728
- }
8729
- else {
8730
- this.viewContainer.clear();
8731
- this.viewContainer.createEmbeddedView(this.templateRef);
8732
- }
8733
- };
8734
- InfoSignDirective.ctorParameters = function () { return [
8735
- { type: core.TemplateRef },
8736
- { type: core.ViewContainerRef },
8737
- { type: core.ComponentFactoryResolver }
8738
- ]; };
8739
- __decorate([
8740
- core.Input()
8741
- ], InfoSignDirective.prototype, "sInfoSign", void 0);
8742
- __decorate([
8743
- core.Input('sInfoSignDisplayTime')
8744
- ], InfoSignDirective.prototype, "displayTime", void 0);
8745
- __decorate([
8746
- core.Input('sInfoSignFocusedInputRef')
8747
- ], InfoSignDirective.prototype, "focusedInputRef", void 0);
8748
- __decorate([
8749
- core.Input('sInfoSignUseFocusedInputRef')
8750
- ], InfoSignDirective.prototype, "useFocusedInputRef", void 0);
8751
- InfoSignDirective = __decorate([
8752
- core.Directive({
8753
- selector: "[sInfoSign]"
8754
- })
8755
- ], InfoSignDirective);
8756
- return InfoSignDirective;
8757
- }());
8758
-
8759
- var InfoSignModule = /** @class */ (function () {
8760
- function InfoSignModule() {
8761
- }
8762
- InfoSignModule = __decorate([
8763
- core.NgModule({
8764
- imports: [
8765
- TooltipModule,
8766
- common.CommonModule,
8767
- ],
8768
- declarations: [
8769
- InfoSignDirective,
8770
- InfoSignComponent,
8771
- ],
8772
- exports: [InfoSignDirective],
8773
- entryComponents: [InfoSignComponent],
8774
- })
8775
- ], InfoSignModule);
8776
- return InfoSignModule;
8777
- }());
8778
-
8779
8776
  var IAssistIconComponent = /** @class */ (function () {
8780
8777
  function IAssistIconComponent() {
8781
8778
  }
@@ -22831,7 +22828,7 @@
22831
22828
  exports.ɵbx = EditorFieldComponent;
22832
22829
  exports.ɵby = AutocompleteFieldComponent;
22833
22830
  exports.ɵbz = BooleanFieldComponent;
22834
- exports.ɵc = TieredMenuEventService;
22831
+ exports.ɵc = InfoSignComponent;
22835
22832
  exports.ɵca = BooleanSwitchFieldComponent;
22836
22833
  exports.ɵcb = CalendarFieldComponent;
22837
22834
  exports.ɵcc = ChipsFieldComponent;
@@ -22857,7 +22854,7 @@
22857
22854
  exports.ɵcx = IAInsightSidebarComponent;
22858
22855
  exports.ɵcy = IAInsightCardComponent;
22859
22856
  exports.ɵcz = IAInsightCardLoaderComponent;
22860
- exports.ɵd = TieredMenuService;
22857
+ exports.ɵd = TieredMenuEventService;
22861
22858
  exports.ɵda = GridMenuItemComponent;
22862
22859
  exports.ɵdb = InlineEditItemComponent;
22863
22860
  exports.ɵdc = InlineEditCalendarComponent;
@@ -22884,7 +22881,7 @@
22884
22881
  exports.ɵdx = TimelineIconItemComponent;
22885
22882
  exports.ɵdy = HorizontalTimelineModule;
22886
22883
  exports.ɵdz = HorizontalTimelineComponent;
22887
- exports.ɵe = TieredMenuGlobalService;
22884
+ exports.ɵe = TieredMenuService;
22888
22885
  exports.ɵea = VerticalTimelineModule;
22889
22886
  exports.ɵeb = VerticalTimelineComponent;
22890
22887
  exports.ɵec = RangeLineComponent;
@@ -22892,27 +22889,27 @@
22892
22889
  exports.ɵee = CollapsedItemsComponent;
22893
22890
  exports.ɵef = VerticalItemsComponent;
22894
22891
  exports.ɵeg = ChipItemComponent;
22895
- exports.ɵf = TieredMenuComponent;
22896
- exports.ɵg = TieredMenuNestedComponent;
22897
- exports.ɵh = TieredMenuItemComponent;
22898
- exports.ɵi = TieredMenuDividerComponent;
22899
- exports.ɵj = LocalizedCurrencyImpurePipe;
22900
- exports.ɵk = LocalizedBignumberPipe;
22901
- exports.ɵl = LocalizedBignumberImpurePipe;
22902
- exports.ɵm = NumericPipe;
22903
- exports.ɵn = ChatMessageComponent;
22904
- exports.ɵo = CustomTranslationsModule;
22905
- exports.ɵp = CodeEditorComponent;
22906
- exports.ɵq = CoreFacade;
22907
- exports.ɵr = CodeMirror6Core;
22908
- exports.ɵs = CountryPhonePickerService;
22909
- exports.ɵt = EmptyStateGoBackComponent;
22910
- exports.ɵu = IAssistIconComponent;
22911
- exports.ɵv = SeniorIconComponent;
22912
- exports.ɵw = DotsIndicatorComponent;
22913
- exports.ɵx = LoadingIndicatorComponent;
22914
- exports.ɵy = FileUploadService;
22915
- exports.ɵz = InfoSignComponent;
22892
+ exports.ɵf = TieredMenuGlobalService;
22893
+ exports.ɵg = TieredMenuComponent;
22894
+ exports.ɵh = TieredMenuNestedComponent;
22895
+ exports.ɵi = TieredMenuItemComponent;
22896
+ exports.ɵj = TieredMenuDividerComponent;
22897
+ exports.ɵk = LocalizedCurrencyImpurePipe;
22898
+ exports.ɵl = LocalizedBignumberPipe;
22899
+ exports.ɵm = LocalizedBignumberImpurePipe;
22900
+ exports.ɵn = NumericPipe;
22901
+ exports.ɵo = ChatMessageComponent;
22902
+ exports.ɵp = CustomTranslationsModule;
22903
+ exports.ɵq = CodeEditorComponent;
22904
+ exports.ɵr = CoreFacade;
22905
+ exports.ɵs = CodeMirror6Core;
22906
+ exports.ɵt = CountryPhonePickerService;
22907
+ exports.ɵu = EmptyStateGoBackComponent;
22908
+ exports.ɵv = IAssistIconComponent;
22909
+ exports.ɵw = SeniorIconComponent;
22910
+ exports.ɵx = DotsIndicatorComponent;
22911
+ exports.ɵy = LoadingIndicatorComponent;
22912
+ exports.ɵz = FileUploadService;
22916
22913
 
22917
22914
  Object.defineProperty(exports, '__esModule', { value: true });
22918
22915