@xsmusices/ui 2.0.5 → 2.0.13

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/index.d.ts CHANGED
@@ -2061,7 +2061,7 @@ declare class XSStatsCardComponent {
2061
2061
  likes?: number;
2062
2062
  comments?: number;
2063
2063
  } | undefined>;
2064
- type: _angular_core.InputSignal<"visits" | "comments" | "likes">;
2064
+ type: _angular_core.InputSignal<"comments" | "likes" | "visits">;
2065
2065
  stats: _angular_core.InputSignal<{
2066
2066
  currentValue: number;
2067
2067
  differencePercent: string;
@@ -2491,6 +2491,17 @@ declare class XSThousandsSeparatorPipe implements PipeTransform {
2491
2491
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<XSThousandsSeparatorPipe, "XSThousandsSeparator", true>;
2492
2492
  }
2493
2493
 
2494
+ /**
2495
+ * XS-985 — «reales (boost)» p. ej. `51 (4)`. Solo admin: la app
2496
+ * pública nunca lo usa (ningún endpoint/template público expone
2497
+ * boosted). Sin impulsadas devuelve el total con formato es-ES.
2498
+ */
2499
+ declare class VisitsSplitPipe implements PipeTransform {
2500
+ transform(total: number | null | undefined, boosted: number | null | undefined): string;
2501
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<VisitsSplitPipe, never>;
2502
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<VisitsSplitPipe, "visitsSplit", true>;
2503
+ }
2504
+
2494
2505
  declare class TimeAgoPipe implements PipeTransform {
2495
2506
  private translateService;
2496
2507
  constructor();
@@ -5422,19 +5433,35 @@ declare class XSTableItemsVisitsComponent {
5422
5433
  header: _angular_core.InputSignal<XSTableHeader<string>>;
5423
5434
  item: _angular_core.InputSignal<XSTableItem>;
5424
5435
  filters: _angular_core.InputSignal<XSTableFilters | null>;
5436
+ /**
5437
+ * XS-985 — Solo el admin ve el desglose reales (boost).
5438
+ * La app pública nunca activa este flag (ver admin=false por
5439
+ * defecto): ningún endpoint/template público muestra boosted.
5440
+ */
5441
+ admin: _angular_core.InputSignal<boolean>;
5425
5442
  textsService: XSTableItemsTextsService;
5426
5443
  currentDate: Date;
5427
5444
  isNotArray(value: unknown): boolean;
5445
+ /**
5446
+ * Reales = total - impulsadas (nunca negativo ante datos
5447
+ * históricos sin backfill). Formato «51 (4)». Acepta string
5448
+ * porque los pipes de mes pueden devolver texto.
5449
+ */
5450
+ organic(total: number | string | null | undefined, boosted: number | string | null | undefined): number;
5451
+ boostedTotal(): number;
5452
+ boostedMonthly(): number;
5453
+ showTotalBoost(): boolean;
5454
+ showMonthlyBoost(): boolean;
5428
5455
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<XSTableItemsVisitsComponent, never>;
5429
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<XSTableItemsVisitsComponent, "xs-table-items-visits", never, { "header": { "alias": "header"; "required": true; "isSignal": true; }; "item": { "alias": "item"; "required": true; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
5456
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<XSTableItemsVisitsComponent, "xs-table-items-visits", never, { "header": { "alias": "header"; "required": true; "isSignal": true; }; "item": { "alias": "item"; "required": true; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "admin": { "alias": "admin"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
5430
5457
  }
5431
5458
 
5432
- declare const STANDALONE_PIPES: (typeof CountryFlagPipe | typeof CountryNamePipe | typeof DateLongPipe | typeof XSDateFormatPipe | typeof ImageApiPipe | typeof SliceArrayPipe | typeof TruncateTextPipe | typeof NumberToMonthPipe | typeof NumberDaysPipe | typeof VisitsMonthTotalPipe | typeof RandomImagePipe | typeof TimeAgoPipe | typeof TableLinkPipe | typeof TitleMediaPipe | typeof SocialPipe | typeof IncludeEventPipe | typeof FilterArrayPipe | typeof XSFindLabelByValuePipe)[];
5459
+ declare const STANDALONE_PIPES: (typeof CountryFlagPipe | typeof CountryNamePipe | typeof DateLongPipe | typeof XSDateFormatPipe | typeof ImageApiPipe | typeof SliceArrayPipe | typeof TruncateTextPipe | typeof NumberToMonthPipe | typeof NumberDaysPipe | typeof VisitsMonthTotalPipe | typeof RandomImagePipe | typeof VisitsSplitPipe | typeof TimeAgoPipe | typeof TableLinkPipe | typeof TitleMediaPipe | typeof SocialPipe | typeof IncludeEventPipe | typeof FilterArrayPipe | typeof XSFindLabelByValuePipe)[];
5433
5460
 
5434
5461
  declare const LIB_STORIES: Array<() => Promise<any>>;
5435
5462
 
5436
5463
  declare const uiComponents: Array<Type<unknown>>;
5437
5464
  declare const uiComponentsExport: Array<Type<unknown>>;
5438
5465
 
5439
- export { ApiService, BREADCRUMBS_PROVIDER, Comment, CountryFlagPipe, CountryNamePipe, DEFAULT_FLOW_LABELS, DateChatPipe, DateDisplayMode, DateFunctions, DateLocaleFormatPipe, DateLongPipe, DateToDayOrMonthPipe, Event$1 as Event, FilterArrayPipe, FixRegionPipe, ImageApiPipe, ImportantItems, IncludeEventPipe, LIB_STORIES, LeadStatusPipe, MediaType, NumberDaysPipe, NumberToMonthPipe, OnImageErrorDirective, OrganizationType, PipesModule, PrioritiesPipe, RandomImagePipe, RolePipe, STANDALONE_PIPES, STYLE_INTENSITIES, SiteType, SliceArrayPipe, SocialPipe, SoundcloudNamePipe, StateIconPipe, StateNamePipe, SuggestionTypePipe, TableLinkPipe, TimeAgoPipe, TitleMediaPipe, TruncateTextPipe, TypeESPipe, User, UserRole, UserType, VisitsMonthTotalPipe, XSActionSheetComponent, XSActionSheetService, XSAlertComponent, XSAlertGroupComponent, XSAlertTextsService, XSAuthComponent, XSAvatarService, XSBadgeComponent, XSBlockComponent, XSBrandMediaPipe, XSBreadcrumbsComponent, XSButtonComponent, XSButtonGroupService, XSButtonsGroupComponent, XSChartComponent, XSChatAlertComponent, XSChatConversationComponent, XSChatConversationInfoComponent, XSChatFloatingPanelComponent, XSChatListComponent, XSChatTextareaComponent, XSCustomizeProfileComponent, XSDateFormatPipe, XSDateMiniComponent, XSDatePipe, XSDocumentService, XSEmptyStateComponent, XSFeedbackComponent, XSFilterPanelComponent, XSFindLabelByValuePipe, XSFirstLetterPipe, XSFormlyAddressSearchComponent, XSFormlyArrayComponent, XSFormlyButtonComponent, XSFormlyCheckboxComponent, XSFormlyComponent, XSFormlyDateComponent, XSFormlyDateRangeComponent, XSFormlyDatetimeComponent, XSFormlyEntityPickerComponent, XSFormlyHiddenComponent, XSFormlyHtmlEditorComponent, XSFormlyInputComponent, XSFormlyInputWithActionsComponent, XSFormlyJsonComponent, XSFormlyJsonEditorComponent, XSFormlyLabelComponent, XSFormlyModule, XSFormlySelectButtonComponent, XSFormlySelectComponent, XSFormlySelectionListComponent, XSFormlySocialComponent, XSFormlyTextareaComponent, XSFormlyTextareaSimpleComponent, XSFormlyType, XSFormlyUploadImageComponent, XSFullImageComponent, XSFullImageService, XSIconComponent, XSImageComponent, XSImportMediaBottomBarComponent, XSImportMediaCardComponent, XSImportMediaFlowComponent, XSImportMediaHeaderComponent, XSInfoBlocksComponent, XSItemActionComponent, XSItemTypeArtistComponent, XSItemTypeBaseComponent, XSItemTypeComponent, XSItemTypeEquipmentComponent, XSItemTypeEventComponent, XSItemTypeLastLoginComponent, XSItemTypeLastVisitComponent, XSItemTypeMediaComponent, XSItemTypeOrganizationComponent, XSItemTypePlaylistComponent, XSItemTypeSiteComponent, XSItemTypeTipComponent, XSItemTypeTrackingComponent, XSItemTypeUserComponent, XSItemTypeUserStatsComponent, XSListComponent, XSMapComponent, XSMapInfoBlockComponent, XSMapLibreComponent, XSMapLibreMapperService, XSMapLibrePopupService, XSMapLibreService, XSMapService, XSMaxCountPipe, XSModalAuthComponent, XSModalClaimComponent, XSModalComponent, XSModalConfirmComponent, XSModalDateComponent, XSModalFormComponent, XSModalImageSearchComponent, XSModalInfoComponent, XSModalInputComponent, XSModalSavedFiltersComponent, XSModalService, XSNavbarComponent, XSNavbarSidebarComponent, XSPopoverInfoComponent, XSProfileCommentsComponent, XSProfileInfoComponent, XSProfileTopsComponent, XSSafeUrlPipe, XSScrollAreaComponent, XSSectionTitleComponent, XSSelectComponent, XSSetupNamePipe, XSSpinnerComponent, XSStatsCardComponent, XSStepperComponent, XSTableCheckboxComponent, XSTableComponent, XSTableItemsChatComponent, XSTableItemsComponent, XSTableItemsContactComponent, XSTableItemsCountryComponent, XSTableItemsDateComponent, XSTableItemsEntityComponent, XSTableItemsPromotionComponent, XSTableItemsRoleComponent, XSTableItemsStateComponent, XSTableItemsVisitsComponent, XSTabsComponent, XSThousandsSeparatorPipe, XSTitleCollapseComponent, XSToastChatComponent, XSToastComponent, XSToastGenericComponent, XSToastService, XSTranslateService, XSTypeUserPipe, XSWindowService, XS_ADMIN_URL, XS_API_URL, XS_CHART_DEFAULT_COLORS, XS_DEFAULT_ADMIN_USER_ID, XS_DEFAULT_IMAGE_PATH, XS_DEFAULT_LOGO_URL, XS_ENV_NAME, XsLongPressDirective, countries, countries_africa, countries_americas, countries_asia, countries_europe, countries_oceania, datetimeLocalToIso, deslugify, firstLetterCase, flags, getColorByType, getColors, getCountryItem, getCountryNameByCode, getNumberWithZero, getTitleMedia, getTypeForApi, getTypePlural, getTypeSingular, getUserTypes, iconNameForSocial, iconNameForType, isBrowser, isMobile, isMobileUI, registerXSUiIcons, stringifyId, titleCase, toDatetimeLocalInput, truncateText, typeToValidType, uiComponents, uiComponentsExport };
5466
+ export { ApiService, BREADCRUMBS_PROVIDER, Comment, CountryFlagPipe, CountryNamePipe, DEFAULT_FLOW_LABELS, DateChatPipe, DateDisplayMode, DateFunctions, DateLocaleFormatPipe, DateLongPipe, DateToDayOrMonthPipe, Event$1 as Event, FilterArrayPipe, FixRegionPipe, ImageApiPipe, ImportantItems, IncludeEventPipe, LIB_STORIES, LeadStatusPipe, MediaType, NumberDaysPipe, NumberToMonthPipe, OnImageErrorDirective, OrganizationType, PipesModule, PrioritiesPipe, RandomImagePipe, RolePipe, STANDALONE_PIPES, STYLE_INTENSITIES, SiteType, SliceArrayPipe, SocialPipe, SoundcloudNamePipe, StateIconPipe, StateNamePipe, SuggestionTypePipe, TableLinkPipe, TimeAgoPipe, TitleMediaPipe, TruncateTextPipe, TypeESPipe, User, UserRole, UserType, VisitsMonthTotalPipe, VisitsSplitPipe, XSActionSheetComponent, XSActionSheetService, XSAlertComponent, XSAlertGroupComponent, XSAlertTextsService, XSAuthComponent, XSAvatarService, XSBadgeComponent, XSBlockComponent, XSBrandMediaPipe, XSBreadcrumbsComponent, XSButtonComponent, XSButtonGroupService, XSButtonsGroupComponent, XSChartComponent, XSChatAlertComponent, XSChatConversationComponent, XSChatConversationInfoComponent, XSChatFloatingPanelComponent, XSChatListComponent, XSChatTextareaComponent, XSCustomizeProfileComponent, XSDateFormatPipe, XSDateMiniComponent, XSDatePipe, XSDocumentService, XSEmptyStateComponent, XSFeedbackComponent, XSFilterPanelComponent, XSFindLabelByValuePipe, XSFirstLetterPipe, XSFormlyAddressSearchComponent, XSFormlyArrayComponent, XSFormlyButtonComponent, XSFormlyCheckboxComponent, XSFormlyComponent, XSFormlyDateComponent, XSFormlyDateRangeComponent, XSFormlyDatetimeComponent, XSFormlyEntityPickerComponent, XSFormlyHiddenComponent, XSFormlyHtmlEditorComponent, XSFormlyInputComponent, XSFormlyInputWithActionsComponent, XSFormlyJsonComponent, XSFormlyJsonEditorComponent, XSFormlyLabelComponent, XSFormlyModule, XSFormlySelectButtonComponent, XSFormlySelectComponent, XSFormlySelectionListComponent, XSFormlySocialComponent, XSFormlyTextareaComponent, XSFormlyTextareaSimpleComponent, XSFormlyType, XSFormlyUploadImageComponent, XSFullImageComponent, XSFullImageService, XSIconComponent, XSImageComponent, XSImportMediaBottomBarComponent, XSImportMediaCardComponent, XSImportMediaFlowComponent, XSImportMediaHeaderComponent, XSInfoBlocksComponent, XSItemActionComponent, XSItemTypeArtistComponent, XSItemTypeBaseComponent, XSItemTypeComponent, XSItemTypeEquipmentComponent, XSItemTypeEventComponent, XSItemTypeLastLoginComponent, XSItemTypeLastVisitComponent, XSItemTypeMediaComponent, XSItemTypeOrganizationComponent, XSItemTypePlaylistComponent, XSItemTypeSiteComponent, XSItemTypeTipComponent, XSItemTypeTrackingComponent, XSItemTypeUserComponent, XSItemTypeUserStatsComponent, XSListComponent, XSMapComponent, XSMapInfoBlockComponent, XSMapLibreComponent, XSMapLibreMapperService, XSMapLibrePopupService, XSMapLibreService, XSMapService, XSMaxCountPipe, XSModalAuthComponent, XSModalClaimComponent, XSModalComponent, XSModalConfirmComponent, XSModalDateComponent, XSModalFormComponent, XSModalImageSearchComponent, XSModalInfoComponent, XSModalInputComponent, XSModalSavedFiltersComponent, XSModalService, XSNavbarComponent, XSNavbarSidebarComponent, XSPopoverInfoComponent, XSProfileCommentsComponent, XSProfileInfoComponent, XSProfileTopsComponent, XSSafeUrlPipe, XSScrollAreaComponent, XSSectionTitleComponent, XSSelectComponent, XSSetupNamePipe, XSSpinnerComponent, XSStatsCardComponent, XSStepperComponent, XSTableCheckboxComponent, XSTableComponent, XSTableItemsChatComponent, XSTableItemsComponent, XSTableItemsContactComponent, XSTableItemsCountryComponent, XSTableItemsDateComponent, XSTableItemsEntityComponent, XSTableItemsPromotionComponent, XSTableItemsRoleComponent, XSTableItemsStateComponent, XSTableItemsVisitsComponent, XSTabsComponent, XSThousandsSeparatorPipe, XSTitleCollapseComponent, XSToastChatComponent, XSToastComponent, XSToastGenericComponent, XSToastService, XSTranslateService, XSTypeUserPipe, XSWindowService, XS_ADMIN_URL, XS_API_URL, XS_CHART_DEFAULT_COLORS, XS_DEFAULT_ADMIN_USER_ID, XS_DEFAULT_IMAGE_PATH, XS_DEFAULT_LOGO_URL, XS_ENV_NAME, XsLongPressDirective, countries, countries_africa, countries_americas, countries_asia, countries_europe, countries_oceania, datetimeLocalToIso, deslugify, firstLetterCase, flags, getColorByType, getColors, getCountryItem, getCountryNameByCode, getNumberWithZero, getTitleMedia, getTypeForApi, getTypePlural, getTypeSingular, getUserTypes, iconNameForSocial, iconNameForType, isBrowser, isMobile, isMobileUI, registerXSUiIcons, stringifyId, titleCase, toDatetimeLocalInput, truncateText, typeToValidType, uiComponents, uiComponentsExport };
5440
5467
  export type { BadgeSize, BadgeVariant, Breadcrumb, BreadcrumbsProvider, ButtonDto, ButtonGroupItem, ButtonIcon, ButtonLayout, ButtonType, ButtonVariant, ChartDataItem, ClaimType, Equipment, EquipmentSetupFormComponent, EquipmentType, FeedbackResponseData, FeedbackState, FeedbackSurvey, FeedbackVote, ImportMediaCardItem, ImportMediaFlowItem, ImportMediaFlowLabels, MapLibreItem, MapLibrePopupData, NavbarSidebarItem, NavbarSidebarSubItem, OrganizationsTypes, RawItemType$1 as RawItemType, ReportType, ShowImageI, SpinnerDimensions, SpinnerSize, StateType, StepperSize, StepperVariant, StoryExample, StoryInputControl, StoryMeta, StoryNote, StorySlot, StyleIntensity, Tab, ToastConfig, ToastType, XSActionItemI, XSActionListItemI, XSActionSheetItemI, XSActionSheetType, XSAdminTableHeaderType, XSAlertGroupActionEvent, XSAlertGroupCloseEvent, XSAlertGroupItem, XSAlertType, XSAppTableHeaderType, XSAuthAction, XSAuthConfig, XSAuthEmailSubmitEvent, XSAuthForgotPasswordSubmitEvent, XSAuthMode, XSAuthOnAction, XSAuthRegisterSubmitEvent, XSAuthSocialButton, XSAuthSocialEvent, XSAuthTexts, XSBlockSelectOption, XSBlockState, XSButtonI, XSButtonIcon, XSButtonLayout, XSButtonType, XSButtonVariant, XSChartConfig, XSChartData, XSChartOptions, XSChartType, XSChat, XSChatAttachmentDraft, XSChatDropdownItem, XSChatInfo, XSChatItem, XSChatMessage, XSChatSendPayload, XSChatUser, XSCustomizeBlock, XSDateOptions, XSEmptyStateAction, XSEmptyStateButtonVariant, XSEmptyStateConfig, XSEmptyStateIllustration, XSEmptyStateLayout, XSEmptyStateSize, XSEmptyStateVariant, XSFilterChangeEvent, XSFilterGroup, XSFilterGroupType, XSFilterOption, XSFormGroup, XSFormlyFields, XSFormlyOptions, XSFormlyValueChange, XSGenericItemType, XSGenericSubItemType, XSImageConfig, XSImageEvent, XSImageItem, XSInfoBlockItem, XSLanguage, XSListBadgeI, XSListConfigI, XSMarker, XSMarkerData, XSModalClaim, XSModalConfirmOptions, XSModalFormOptions, XSModalImageSearchData, XSModalInfoOptions, XSModalInputOptions, XSModalOptions, XSModalRef, XSModalType, XSProfileCommentsTexts, XSProfileInfoTexts, XSProfileTopTextsI, XSProfileTopsClickEvent, XSProfileTopsI, XSProfileTopsPeriod, XSProfileTopsScope, XSProfileTopsTabEvent, XSSelectOption, XSSelectSize, XSTableActionButton, XSTableFilters, XSTableHeader, XSTableHeaderSet, XSTableHeaderType, XSTableItem, XSTableSelectedButton, XSTableToolbarButton, XSTitleCollapseConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsmusices/ui",
3
- "version": "2.0.5",
3
+ "version": "2.0.13",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },