@xsmusices/ui 2.0.1 → 2.0.3

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.
Files changed (48) hide show
  1. package/fesm2022/{xsmusices-ui-country-flag.xsstory-BPTu5b4i.mjs → xsmusices-ui-country-flag.xsstory-Z3oNFSU_.mjs} +8 -1
  2. package/fesm2022/{xsmusices-ui-country-flag.xsstory-BPTu5b4i.mjs.map → xsmusices-ui-country-flag.xsstory-Z3oNFSU_.mjs.map} +1 -1
  3. package/fesm2022/{xsmusices-ui-country-name.xsstory-ENhKrPTw.mjs → xsmusices-ui-country-name.xsstory-DjltbuxD.mjs} +8 -1
  4. package/fesm2022/{xsmusices-ui-country-name.xsstory-ENhKrPTw.mjs.map → xsmusices-ui-country-name.xsstory-DjltbuxD.mjs.map} +1 -1
  5. package/fesm2022/{xsmusices-ui-date-chat.xsstory-BBAJebr1.mjs → xsmusices-ui-date-chat.xsstory-CQtKdsMm.mjs} +8 -1
  6. package/fesm2022/xsmusices-ui-date-chat.xsstory-CQtKdsMm.mjs.map +1 -0
  7. package/fesm2022/{xsmusices-ui-date-format.xsstory-Chrcn1yu.mjs → xsmusices-ui-date-format.xsstory-CrdrFYcc.mjs} +8 -1
  8. package/fesm2022/xsmusices-ui-date-format.xsstory-CrdrFYcc.mjs.map +1 -0
  9. package/fesm2022/{xsmusices-ui-date-long.xsstory-CkYL5e1z.mjs → xsmusices-ui-date-long.xsstory-BjOIOC1H.mjs} +8 -1
  10. package/fesm2022/xsmusices-ui-date-long.xsstory-BjOIOC1H.mjs.map +1 -0
  11. package/fesm2022/{xsmusices-ui-first-letter-case.xsstory-BJDtnUwE.mjs → xsmusices-ui-first-letter-case.xsstory-C2fNXgOe.mjs} +8 -1
  12. package/fesm2022/xsmusices-ui-first-letter-case.xsstory-C2fNXgOe.mjs.map +1 -0
  13. package/fesm2022/{xsmusices-ui-max-count.xsstory-kWzvhDsC.mjs → xsmusices-ui-max-count.xsstory-CsVhR149.mjs} +8 -1
  14. package/fesm2022/xsmusices-ui-max-count.xsstory-CsVhR149.mjs.map +1 -0
  15. package/fesm2022/{xsmusices-ui-number-to-month.xsstory-LUhA1uRx.mjs → xsmusices-ui-number-to-month.xsstory-CVZxU6NA.mjs} +8 -1
  16. package/fesm2022/xsmusices-ui-number-to-month.xsstory-CVZxU6NA.mjs.map +1 -0
  17. package/fesm2022/{xsmusices-ui-slice-array.xsstory-ElPwFlwd.mjs → xsmusices-ui-slice-array.xsstory-KvdMXkXI.mjs} +8 -1
  18. package/fesm2022/xsmusices-ui-slice-array.xsstory-KvdMXkXI.mjs.map +1 -0
  19. package/fesm2022/{xsmusices-ui-thousands-separator.xsstory-Q9Q7cCAG.mjs → xsmusices-ui-thousands-separator.xsstory-Gnfhsxyh.mjs} +8 -1
  20. package/fesm2022/xsmusices-ui-thousands-separator.xsstory-Gnfhsxyh.mjs.map +1 -0
  21. package/fesm2022/{xsmusices-ui-title-media.xsstory-C4qa-mT2.mjs → xsmusices-ui-title-media.xsstory-BoxLfHKN.mjs} +8 -1
  22. package/fesm2022/xsmusices-ui-title-media.xsstory-BoxLfHKN.mjs.map +1 -0
  23. package/fesm2022/{xsmusices-ui-truncate-text.xsstory-B3RQ9xZ3.mjs → xsmusices-ui-truncate-text.xsstory-BDVuKaja.mjs} +8 -1
  24. package/fesm2022/{xsmusices-ui-truncate-text.xsstory-B3RQ9xZ3.mjs.map → xsmusices-ui-truncate-text.xsstory-BDVuKaja.mjs.map} +1 -1
  25. package/fesm2022/{xsmusices-ui-xs-breadcrumbs.xsstory-CNyBeURd.mjs → xsmusices-ui-xs-breadcrumbs.xsstory-D2NxXjKe.mjs} +8 -1
  26. package/fesm2022/{xsmusices-ui-xs-breadcrumbs.xsstory-CNyBeURd.mjs.map → xsmusices-ui-xs-breadcrumbs.xsstory-D2NxXjKe.mjs.map} +1 -1
  27. package/fesm2022/{xsmusices-ui-xs-customize-profile.xsstory-Ba7wmXF7.mjs → xsmusices-ui-xs-customize-profile.xsstory-BolHLdwK.mjs} +7 -1
  28. package/fesm2022/xsmusices-ui-xs-customize-profile.xsstory-BolHLdwK.mjs.map +1 -0
  29. package/fesm2022/{xsmusices-ui-xs-profile-tops.xsstory-BhgHy7Gc.mjs → xsmusices-ui-xs-profile-tops.xsstory-DSwdyEYc.mjs} +6 -6
  30. package/fesm2022/xsmusices-ui-xs-profile-tops.xsstory-DSwdyEYc.mjs.map +1 -0
  31. package/fesm2022/{xsmusices-ui-xs-tabs.xsstory-ColZVzXZ.mjs → xsmusices-ui-xs-tabs.xsstory-DxQ7WEeb.mjs} +8 -1
  32. package/fesm2022/xsmusices-ui-xs-tabs.xsstory-DxQ7WEeb.mjs.map +1 -0
  33. package/fesm2022/xsmusices-ui.mjs +20 -35
  34. package/fesm2022/xsmusices-ui.mjs.map +1 -1
  35. package/index.d.ts +16 -26
  36. package/package.json +1 -1
  37. package/fesm2022/xsmusices-ui-date-chat.xsstory-BBAJebr1.mjs.map +0 -1
  38. package/fesm2022/xsmusices-ui-date-format.xsstory-Chrcn1yu.mjs.map +0 -1
  39. package/fesm2022/xsmusices-ui-date-long.xsstory-CkYL5e1z.mjs.map +0 -1
  40. package/fesm2022/xsmusices-ui-first-letter-case.xsstory-BJDtnUwE.mjs.map +0 -1
  41. package/fesm2022/xsmusices-ui-max-count.xsstory-kWzvhDsC.mjs.map +0 -1
  42. package/fesm2022/xsmusices-ui-number-to-month.xsstory-LUhA1uRx.mjs.map +0 -1
  43. package/fesm2022/xsmusices-ui-slice-array.xsstory-ElPwFlwd.mjs.map +0 -1
  44. package/fesm2022/xsmusices-ui-thousands-separator.xsstory-Q9Q7cCAG.mjs.map +0 -1
  45. package/fesm2022/xsmusices-ui-title-media.xsstory-C4qa-mT2.mjs.map +0 -1
  46. package/fesm2022/xsmusices-ui-xs-customize-profile.xsstory-Ba7wmXF7.mjs.map +0 -1
  47. package/fesm2022/xsmusices-ui-xs-profile-tops.xsstory-BhgHy7Gc.mjs.map +0 -1
  48. package/fesm2022/xsmusices-ui-xs-tabs.xsstory-ColZVzXZ.mjs.map +0 -1
package/index.d.ts CHANGED
@@ -121,7 +121,7 @@ interface XSItemData {
121
121
 
122
122
  declare class XSItemActionComponent {
123
123
  item: _angular_core.InputSignal<XSItemData>;
124
- size: _angular_core.InputSignal<"profile" | "small" | "normal">;
124
+ size: _angular_core.InputSignal<"profile" | "normal" | "small">;
125
125
  isLink: _angular_core.InputSignal<boolean>;
126
126
  showBorder: _angular_core.InputSignal<boolean>;
127
127
  rounded: _angular_core.InputSignal<boolean>;
@@ -1635,7 +1635,7 @@ declare class XSChatConversationInfoComponent {
1635
1635
  }>;
1636
1636
  readonly otherUserId: _angular_core.Signal<string>;
1637
1637
  readonly displayName: _angular_core.Signal<string>;
1638
- readonly displayUser: _angular_core.Signal<XSChatItem | XSChatUser | null>;
1638
+ readonly displayUser: _angular_core.Signal<XSChatUser | XSChatItem | null>;
1639
1639
  readonly displayUserType: _angular_core.Signal<string>;
1640
1640
  readonly displayCountry: _angular_core.Signal<string>;
1641
1641
  readonly displayUserRole: _angular_core.Signal<string>;
@@ -1644,16 +1644,6 @@ declare class XSChatConversationInfoComponent {
1644
1644
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<XSChatConversationInfoComponent, "xs-chat-conversation-info", never, { "currentChatInfo": { "alias": "currentChatInfo"; "required": false; "isSignal": true; }; "userId": { "alias": "userId"; "required": false; "isSignal": true; }; "typingUserId": { "alias": "typingUserId"; "required": false; "isSignal": true; }; "typingLabel": { "alias": "typingLabel"; "required": false; "isSignal": true; }; "onlineLabel": { "alias": "onlineLabel"; "required": false; "isSignal": true; }; "offlineLabel": { "alias": "offlineLabel"; "required": false; "isSignal": true; }; "roleLabel": { "alias": "roleLabel"; "required": false; "isSignal": true; }; "buttons": { "alias": "buttons"; "required": false; "isSignal": true; }; }, { "goToList": "goToList"; "clickButton": "clickButton"; }, never, never, true, never>;
1645
1645
  }
1646
1646
 
1647
- declare class XSOtaProgressBarComponent {
1648
- visible: _angular_core.InputSignal<boolean>;
1649
- progress: _angular_core.InputSignal<number>;
1650
- webUpdateAvailable: _angular_core.InputSignal<boolean>;
1651
- readyLabel: _angular_core.InputSignal<string>;
1652
- reload: _angular_core.OutputEmitterRef<void>;
1653
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<XSOtaProgressBarComponent, never>;
1654
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<XSOtaProgressBarComponent, "xs-ota-progress-bar", never, { "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "progress": { "alias": "progress"; "required": false; "isSignal": true; }; "webUpdateAvailable": { "alias": "webUpdateAvailable"; "required": false; "isSignal": true; }; "readyLabel": { "alias": "readyLabel"; "required": false; "isSignal": true; }; }, { "reload": "reload"; }, never, never, true, never>;
1655
- }
1656
-
1657
1647
  interface XSCustomizeBlock {
1658
1648
  id: string;
1659
1649
  label: string;
@@ -1758,7 +1748,7 @@ declare class XSButtonGroupService {
1758
1748
  declare class XSIconComponent {
1759
1749
  private library;
1760
1750
  icon: _angular_core.InputSignal<string | string[] | [IconPrefix, IconName] | _fortawesome_fontawesome_common_types.IconLookup>;
1761
- size: _angular_core.InputSignal<"normal" | "sm" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl">;
1751
+ size: _angular_core.InputSignal<"normal" | "sm" | "xs" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl">;
1762
1752
  class: _angular_core.InputSignal<string>;
1763
1753
  resolvedIcon: _angular_core.Signal<IconProp | IconDefinition>;
1764
1754
  isValidIcon: _angular_core.Signal<boolean>;
@@ -2019,13 +2009,13 @@ declare class XSImageComponent {
2019
2009
  alt: _angular_core.InputSignal<string | undefined>;
2020
2010
  width: _angular_core.InputSignal<string | number | undefined>;
2021
2011
  height: _angular_core.InputSignal<string | number | undefined>;
2022
- size: _angular_core.InputSignal<"md" | "sm" | "lg" | "xs" | "xl" | "2xl" | "full" | undefined>;
2023
- rounded: _angular_core.InputSignal<"md" | "sm" | "lg" | "none" | "xl" | "2xl" | "full" | "3xl" | undefined>;
2024
- objectFit: _angular_core.InputSignal<"fill" | "none" | "cover" | "contain" | "scale-down" | undefined>;
2012
+ size: _angular_core.InputSignal<"md" | "sm" | "xs" | "lg" | "xl" | "2xl" | "full" | undefined>;
2013
+ rounded: _angular_core.InputSignal<"none" | "md" | "sm" | "lg" | "xl" | "2xl" | "full" | "3xl" | undefined>;
2014
+ objectFit: _angular_core.InputSignal<"none" | "cover" | "fill" | "contain" | "scale-down" | undefined>;
2025
2015
  clickable: _angular_core.InputSignal<boolean | undefined>;
2026
2016
  item: _angular_core.InputSignal<XSImageItem | null | undefined>;
2027
2017
  typeItem: _angular_core.InputSignal<string | undefined>;
2028
- imageType: _angular_core.InputSignal<"small" | "normal" | undefined>;
2018
+ imageType: _angular_core.InputSignal<"normal" | "small" | undefined>;
2029
2019
  fallbackSrc: _angular_core.InputSignal<string | undefined>;
2030
2020
  loading: _angular_core.InputSignal<"lazy" | "eager" | undefined>;
2031
2021
  priority: _angular_core.InputSignal<boolean | undefined>;
@@ -2071,7 +2061,7 @@ declare class XSStatsCardComponent {
2071
2061
  likes?: number;
2072
2062
  comments?: number;
2073
2063
  } | undefined>;
2074
- type: _angular_core.InputSignal<"visits" | "comments" | "likes">;
2064
+ type: _angular_core.InputSignal<"comments" | "likes" | "visits">;
2075
2065
  stats: _angular_core.InputSignal<{
2076
2066
  currentValue: number;
2077
2067
  differencePercent: string;
@@ -3017,8 +3007,8 @@ declare class XSListComponent {
3017
3007
  initialLoading: _angular_core.InputSignal<boolean>;
3018
3008
  columns: _angular_core.InputSignal<1 | 3 | 2>;
3019
3009
  isLink: _angular_core.InputSignal<boolean>;
3020
- size: _angular_core.InputSignal<"profile" | "small" | "normal">;
3021
- hasScroll: _angular_core.InputSignal<boolean | "mobile" | "lg" | "xl">;
3010
+ size: _angular_core.InputSignal<"profile" | "normal" | "small">;
3011
+ hasScroll: _angular_core.InputSignal<boolean | "lg" | "xl" | "mobile">;
3022
3012
  class: _angular_core.InputSignal<string | undefined>;
3023
3013
  rounded: _angular_core.InputSignal<boolean>;
3024
3014
  showChevron: _angular_core.InputSignal<boolean>;
@@ -3528,7 +3518,7 @@ interface XSProfileTopTextsI {
3528
3518
  label?: string;
3529
3519
  /** Título del bloque editorial. Fallback: label. */
3530
3520
  title?: string;
3531
- /** CTA "Ver ranking". Fallback: 'Ver ranking'. */
3521
+ /** CTA "Ver top". Fallback: 'Ver top'. */
3532
3522
  viewRanking?: string;
3533
3523
  /** Estado vacío sin ninguna posición. */
3534
3524
  noPositionYet?: string;
@@ -4751,7 +4741,7 @@ declare abstract class XSItemTypeBaseComponent {
4751
4741
  item: _angular_core.InputSignal<XSItemData>;
4752
4742
  isLink: _angular_core.InputSignal<boolean>;
4753
4743
  showChevron: _angular_core.InputSignal<boolean>;
4754
- size: _angular_core.InputSignal<"profile" | "small" | "normal">;
4744
+ size: _angular_core.InputSignal<"profile" | "normal" | "small">;
4755
4745
  rounded: _angular_core.InputSignal<boolean>;
4756
4746
  loading: _angular_core.InputSignal<boolean>;
4757
4747
  readonly onClick: _angular_core.OutputEmitterRef<XSItemData>;
@@ -4776,7 +4766,7 @@ declare class XSItemTypeComponent {
4776
4766
  itemType: _angular_core.InputSignal<XSGenericItemType>;
4777
4767
  isLink: _angular_core.InputSignal<boolean>;
4778
4768
  showChevron: _angular_core.InputSignal<boolean>;
4779
- size: _angular_core.InputSignal<"profile" | "small" | "normal">;
4769
+ size: _angular_core.InputSignal<"profile" | "normal" | "small">;
4780
4770
  rounded: _angular_core.InputSignal<boolean>;
4781
4771
  loading: _angular_core.InputSignal<boolean>;
4782
4772
  readonly onClick: _angular_core.OutputEmitterRef<XSItemData>;
@@ -5004,7 +4994,7 @@ declare class XSModalComponent {
5004
4994
  closeOnBackdropClick: _angular_core.WritableSignal<boolean>;
5005
4995
  showCloseButton: _angular_core.WritableSignal<boolean>;
5006
4996
  closeLabel: _angular_core.WritableSignal<string>;
5007
- contentPadding: _angular_core.WritableSignal<"default" | "none">;
4997
+ contentPadding: _angular_core.WritableSignal<"none" | "default">;
5008
4998
  panelSize: _angular_core.WritableSignal<"md" | "sm" | "lg" | "xl">;
5009
4999
  onAction: Subject<unknown>;
5010
5000
  constructor();
@@ -5439,12 +5429,12 @@ declare class XSTableItemsVisitsComponent {
5439
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>;
5440
5430
  }
5441
5431
 
5442
- declare const STANDALONE_PIPES: (typeof CountryFlagPipe | typeof ImageApiPipe | typeof VisitsMonthTotalPipe | typeof CountryNamePipe | typeof DateLongPipe | typeof XSDateFormatPipe | typeof SliceArrayPipe | typeof TruncateTextPipe | typeof NumberToMonthPipe | typeof NumberDaysPipe | typeof RandomImagePipe | typeof TimeAgoPipe | typeof TableLinkPipe | typeof TitleMediaPipe | typeof SocialPipe | typeof IncludeEventPipe | typeof FilterArrayPipe | typeof XSFindLabelByValuePipe)[];
5432
+ declare const STANDALONE_PIPES: (typeof CountryFlagPipe | typeof CountryNamePipe | typeof XSDateFormatPipe | typeof DateLongPipe | typeof NumberToMonthPipe | typeof SliceArrayPipe | typeof TitleMediaPipe | typeof TruncateTextPipe | typeof ImageApiPipe | typeof NumberDaysPipe | typeof VisitsMonthTotalPipe | typeof RandomImagePipe | typeof TimeAgoPipe | typeof TableLinkPipe | typeof SocialPipe | typeof IncludeEventPipe | typeof FilterArrayPipe | typeof XSFindLabelByValuePipe)[];
5443
5433
 
5444
5434
  declare const LIB_STORIES: Array<() => Promise<any>>;
5445
5435
 
5446
5436
  declare const uiComponents: Array<Type<unknown>>;
5447
5437
  declare const uiComponentsExport: Array<Type<unknown>>;
5448
5438
 
5449
- 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, XSOtaProgressBarComponent, 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 };
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 };
5450
5440
  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.1",
3
+ "version": "2.0.3",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -1 +0,0 @@
1
- {"version":3,"file":"xsmusices-ui-date-chat.xsstory-BBAJebr1.mjs","sources":["../../../projects/xs-ui/src/lib/pipes/date-chat/date-chat.xsstory.ts"],"sourcesContent":["import { StoryMeta } from '../../story.types';\nimport { DateChatPipe } from './date-chat.pipe';\n\nexport const story: StoryMeta = {\n id: 'date-chat-pipe',\n name: 'Date Chat',\n subtype: 'Pipe',\n status: 'pending',\n usage: ['admin', 'app', 'monitor'],\n description:\n 'Pipe que formatea fechas de manera amigable para chats, mostrando \"Hoy\", \"Ayer\", días de la semana o fecha completa según corresponda.',\n created: '2026-01-01T12:12:55.862Z',\n updated: '2025-12-27T17:13:14.857Z',\n component: DateChatPipe as any,\n selector: 'dateChat',\n type: 'pipe',\n inputs: [\n {\n key: 'date',\n label: 'Fecha a formatear',\n type: 'text',\n default: new Date().toISOString(),\n },\n {\n key: 'lang',\n label: 'Idioma',\n type: 'select',\n options: ['es', 'en'],\n default: 'es',\n },\n ],\n examples: [\n {\n name: 'Fecha de hoy',\n description: 'Muestra la hora actual en formato HH:MM',\n inputs: {\n date: new Date().toISOString(),\n lang: 'es',\n },\n },\n {\n name: 'Fecha de ayer',\n description: 'Muestra \"Ayer\" o \"Yesterday\"',\n inputs: {\n date: new Date(\n Date.now() - 24 * 60 * 60 * 1000,\n ).toISOString(),\n lang: 'es',\n },\n },\n {\n name: 'Fecha de esta semana',\n description: 'Muestra el día de la semana',\n inputs: {\n date: new Date(\n Date.now() - 2 * 24 * 60 * 60 * 1000,\n ).toISOString(),\n lang: 'es',\n },\n },\n {\n name: 'Fecha antigua',\n description: 'Muestra fecha completa',\n inputs: {\n date: '2023-01-15T10:30:00Z',\n lang: 'es',\n },\n },\n {\n name: 'En inglés',\n description: 'Muestra en inglés',\n inputs: {\n date: new Date(\n Date.now() - 24 * 60 * 60 * 1000,\n ).toISOString(),\n lang: 'en',\n },\n },\n ],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,KAAK,GAAc;AAC9B,IAAA,EAAE,EAAE,gBAAgB;AACpB,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,OAAO,EAAE,MAAM;AACf,IAAA,MAAM,EAAE,SAAS;AACjB,IAAA,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC;AAClC,IAAA,WAAW,EACT,wIAAwI;AAC1I,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,SAAS,EAAE,YAAmB;AAC9B,IAAA,QAAQ,EAAE,UAAU;AACpB,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,MAAM,EAAE;AACN,QAAA;AACE,YAAA,GAAG,EAAE,MAAM;AACX,YAAA,KAAK,EAAE,mBAAmB;AAC1B,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;AAClC,SAAA;AACD,QAAA;AACE,YAAA,GAAG,EAAE,MAAM;AACX,YAAA,KAAK,EAAE,QAAQ;AACf,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;AACrB,YAAA,OAAO,EAAE,IAAI;AACd,SAAA;AACF,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA;AACE,YAAA,IAAI,EAAE,cAAc;AACpB,YAAA,WAAW,EAAE,yCAAyC;AACtD,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;AAC9B,gBAAA,IAAI,EAAE,IAAI;AACX,aAAA;AACF,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,eAAe;AACrB,YAAA,WAAW,EAAE,8BAA8B;AAC3C,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,IAAI,IAAI,CACZ,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CACjC,CAAC,WAAW,EAAE;AACf,gBAAA,IAAI,EAAE,IAAI;AACX,aAAA;AACF,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,sBAAsB;AAC5B,YAAA,WAAW,EAAE,6BAA6B;AAC1C,YAAA,MAAM,EAAE;gBACN,IAAI,EAAE,IAAI,IAAI,CACZ,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CACrC,CAAC,WAAW,EAAE;AACf,gBAAA,IAAI,EAAE,IAAI;AACX,aAAA;AACF,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,eAAe;AACrB,YAAA,WAAW,EAAE,wBAAwB;AACrC,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,sBAAsB;AAC5B,gBAAA,IAAI,EAAE,IAAI;AACX,aAAA;AACF,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,WAAW,EAAE,mBAAmB;AAChC,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,IAAI,IAAI,CACZ,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CACjC,CAAC,WAAW,EAAE;AACf,gBAAA,IAAI,EAAE,IAAI;AACX,aAAA;AACF,SAAA;AACF,KAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"xsmusices-ui-date-format.xsstory-Chrcn1yu.mjs","sources":["../../../projects/xs-ui/src/lib/pipes/date-format/date-format.xsstory.ts"],"sourcesContent":["import { StoryMeta } from '../../story.types';\nimport { XSDateFormatPipe } from './date-format.pipe';\n\nexport const story: StoryMeta = {\n id: 'date-format-pipe',\n name: 'Date Format',\n subtype: 'Pipe',\n status: 'pending',\n usage: ['admin', 'app', 'monitor'],\n description:\n 'Pipe que formatea fechas usando diferentes formatos y locales. Soporta formatos como \"MMMM\" para mes largo, \"MMM\" para mes corto.',\n created: '2026-01-01T12:12:55.864Z',\n updated: '2025-12-27T17:13:14.832Z',\n component: XSDateFormatPipe as any,\n selector: 'dateFormat',\n type: 'pipe',\n inputs: [\n {\n key: 'date',\n label: 'Fecha a formatear',\n type: 'text',\n default: '2025-12-25',\n },\n {\n key: 'format',\n label: 'Formato',\n type: 'select',\n options: ['MMMM', 'MMM', 'default'],\n default: 'MMMM',\n },\n {\n key: 'locale',\n label: 'Locale',\n type: 'select',\n options: ['es', 'en', 'fr', 'de'],\n default: 'es',\n },\n ],\n examples: [\n {\n name: 'Mes largo en español',\n description: 'Formato MMMM con locale español',\n inputs: {\n date: '2025-12-25',\n format: 'MMMM',\n locale: 'es',\n },\n },\n {\n name: 'Mes corto en inglés',\n description: 'Formato MMM con locale inglés',\n inputs: {\n date: '2025-12-25',\n format: 'MMM',\n locale: 'en',\n },\n },\n {\n name: 'Fecha completa',\n description: 'Formato por defecto con locale español',\n inputs: {\n date: '2025-12-25T10:30:00',\n format: 'default',\n locale: 'es',\n },\n },\n ],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,KAAK,GAAc;AAC9B,IAAA,EAAE,EAAE,kBAAkB;AACtB,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,OAAO,EAAE,MAAM;AACf,IAAA,MAAM,EAAE,SAAS;AACjB,IAAA,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC;AAClC,IAAA,WAAW,EACT,mIAAmI;AACrI,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,SAAS,EAAE,gBAAuB;AAClC,IAAA,QAAQ,EAAE,YAAY;AACtB,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,MAAM,EAAE;AAC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AACF,SAAA;AACF,KAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"xsmusices-ui-date-long.xsstory-CkYL5e1z.mjs","sources":["../../../projects/xs-ui/src/lib/pipes/date-long/date-long.xsstory.ts"],"sourcesContent":["import { StoryMeta } from '../../story.types';\nimport { DateLongPipe } from './date-long.pipe';\n\nexport const story: StoryMeta = {\n id: 'date-long-pipe',\n name: 'Date Long',\n subtype: 'Pipe',\n status: 'pending',\n usage: ['admin', 'app', 'monitor'],\n description:\n 'Pipe que formatea fechas en formato largo con día, mes y año. Ejemplo: \"25 Diciembre 2025\".',\n created: '2026-01-01T12:12:55.866Z',\n updated: '2025-12-27T17:13:14.830Z',\n component: DateLongPipe as any,\n selector: 'dateLong',\n type: 'pipe',\n inputs: [\n {\n key: 'date',\n label: 'Fecha a formatear',\n type: 'text',\n default: '2025-12-25',\n },\n {\n key: 'language',\n label: 'Idioma',\n type: 'select',\n options: ['es', 'en'],\n default: 'es',\n },\n ],\n examples: [\n {\n name: 'Fecha en español',\n description: 'Formato largo en español',\n inputs: {\n date: '2025-12-25',\n language: 'es',\n },\n },\n {\n name: 'Fecha en inglés',\n description: 'Formato largo en inglés',\n inputs: {\n date: '2025-12-25',\n language: 'en',\n },\n },\n {\n name: 'Fecha actual',\n description: 'Fecha actual del sistema',\n inputs: {\n date: new Date().toISOString().split('T')[0],\n language: 'es',\n },\n },\n {\n name: 'Fecha antigua',\n description: 'Fecha del pasado',\n inputs: {\n date: '2000-01-01',\n language: 'es',\n },\n },\n ],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,KAAK,GAAc;AAC9B,IAAA,EAAE,EAAE,gBAAgB;AACpB,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,OAAO,EAAE,MAAM;AACf,IAAA,MAAM,EAAE,SAAS;AACjB,IAAA,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC;AAClC,IAAA,WAAW,EACT,6FAA6F;AAC/F,IAAA,OAAO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AkB;AAC/B,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,YAAY;AAClB,gBAAA,QAAQ,EAAE,IAAI;AACf,aAAA;AACF,SAAA;AACF,KAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"xsmusices-ui-first-letter-case.xsstory-BJDtnUwE.mjs","sources":["../../../projects/xs-ui/src/lib/pipes/first-letter-case/first-letter-case.xsstory.ts"],"sourcesContent":["import { StoryMeta } from '../../story.types';\nimport { XSFirstLetterPipe } from './first-letter-case.pipe';\n\nexport const story: StoryMeta = {\n id: 'first-letter-case-pipe',\n name: 'First Letter Case',\n subtype: 'Pipe',\n status: 'pending',\n usage: ['admin', 'app', 'monitor'],\n description:\n 'Pipe que capitaliza la primera letra de un texto, convirtiendo el resto a minúsculas.',\n created: '2026-01-01T12:12:55.868Z',\n updated: '2025-12-27T17:13:14.825Z',\n component: XSFirstLetterPipe as any,\n selector: 'firstLetterCase',\n type: 'pipe',\n inputs: [\n {\n key: 'text',\n label: 'Texto a capitalizar',\n type: 'text',\n default: 'hola mundo',\n },\n ],\n examples: [\n {\n name: 'Texto en minúsculas',\n description: 'Convierte la primera letra a mayúscula',\n inputs: {\n text: 'hola mundo',\n },\n },\n {\n name: 'Texto en mayúsculas',\n description:\n 'Convierte todo a minúsculas excepto la primera letra',\n inputs: {\n text: 'HOLA MUNDO',\n },\n },\n {\n name: 'Texto mixto',\n description:\n 'Normaliza el texto con primera letra mayúscula',\n inputs: {\n text: 'HoLa MuNdO',\n },\n },\n ],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,KAAK,GAAc;AAC9B,IAAA,EAAE,EAAE,wBAAwB;AAC5B,IAAA,IAAI,EAAE,mBAAmB;AACzB,IAAA,OAAO,EAAE,MAAM;AACf,IAAA,MAAM,EAAE,SAAS;AACjB,IAAA,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC;AAClC,IAAA,WAAW,EACT,uFAAuF;AACzF,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,SAAS,EAAE,iBAAwB;AACnC,IAAA,QAAQ,EAAE,iBAAiB;AAC3B,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,MAAM,EAAE;AACN,QAAA;AACE,YAAA,GAAG,EAAE,MAAM;AACX,YAAA,KAAK,EAAE,qBAAqB;AAC5B,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,YAAY;AACtB,SAAA;AACF,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA;AACE,YAAA,IAAI,EAAE,qBAAqB;AAC3B,YAAA,WAAW,EAAE,wCAAwC;AACrD,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,YAAY;AACnB,aAAA;AACF,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,qBAAqB;AAC3B,YAAA,WAAW,EACT,sDAAsD;AACxD,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,YAAY;AACnB,aAAA;AACF,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,aAAa;AACnB,YAAA,WAAW,EACT,gDAAgD;AAClD,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,YAAY;AACnB,aAAA;AACF,SAAA;AACF,KAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"xsmusices-ui-max-count.xsstory-kWzvhDsC.mjs","sources":["../../../projects/xs-ui/src/lib/pipes/max-count/max-count.xsstory.ts"],"sourcesContent":["import { StoryMeta } from '../../story.types';\nimport { XSMaxCountPipe } from './max-count.pipe';\n\nexport const story: StoryMeta = {\n id: 'max-count-pipe',\n name: 'Max Count',\n subtype: 'Pipe',\n status: 'pending',\n usage: ['admin', 'app', 'monitor'],\n description:\n 'Pipe que encuentra el valor máximo de la propiedad \"count\" en un array de objetos.',\n created: '2026-01-01T12:12:55.875Z',\n updated: '2025-12-27T17:13:14.828Z',\n component: XSMaxCountPipe as any,\n selector: 'maxCount',\n type: 'pipe',\n inputs: [\n {\n key: 'data',\n label: 'Array de objetos con count',\n type: 'json',\n default: [\n { count: 5, name: 'A' },\n { count: 12, name: 'B' },\n { count: 8, name: 'C' },\n { count: 3, name: 'D' },\n ],\n },\n ],\n examples: [\n {\n name: 'Array con diferentes counts',\n description: 'Encuentra el máximo count en el array',\n inputs: {\n data: [\n { count: 5, name: 'A' },\n { count: 12, name: 'B' },\n { count: 8, name: 'C' },\n { count: 3, name: 'D' },\n ],\n },\n },\n {\n name: 'Todos iguales',\n description: 'Cuando todos los counts son iguales',\n inputs: {\n data: [\n { count: 10, name: 'A' },\n { count: 10, name: 'B' },\n { count: 10, name: 'C' },\n ],\n },\n },\n {\n name: 'Solo uno',\n description: 'Array con un solo elemento',\n inputs: {\n data: [{ count: 7, name: 'Solo' }],\n },\n },\n {\n name: 'Array vacío',\n description: 'Array vacío devuelve 1',\n inputs: {\n data: [],\n },\n },\n ],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,KAAK,GAAc;AAC9B,IAAA,EAAE,EAAE,gBAAgB;AACpB,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,OAAO,EAAE,MAAM;AACf,IAAA,MAAM,EAAE,SAAS;AACjB,IAAA,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC;AAClC,IAAA,WAAW,EACT,oFAAoF;AACtF,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,SAAS,EAAE,cAAqB;AAChC,IAAA,QAAQ,EAAE,UAAU;AACpB,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,MAAM,EAAE;AACN,QAAA;AACE,YAAA,GAAG,EAAE,MAAM;AACX,YAAA,KAAK,EAAE,4BAA4B;AACnC,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE;AACP,gBAAA,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE;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AAA;AACF,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,aAAa;AACnB,YAAA,WAAW,EAAE,wBAAwB;AACrC,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,EAAE;AACT,aAAA;AACF,SAAA;AACF,KAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"xsmusices-ui-number-to-month.xsstory-LUhA1uRx.mjs","sources":["../../../projects/xs-ui/src/lib/pipes/number-to-month/number-to-month.xsstory.ts"],"sourcesContent":["import { StoryMeta } from '../../story.types';\nimport { NumberToMonthPipe } from './number-to-month.pipe';\n\nexport const story: StoryMeta = {\n id: 'number-to-month-pipe',\n name: 'Number to Month',\n subtype: 'Pipe',\n status: 'pending',\n usage: [],\n description:\n 'Pipe que convierte un número de mes (1-12) en el nombre completo del mes.',\n created: '2026-01-01T12:12:55.878Z',\n updated: '2025-12-27T17:13:14.863Z',\n component: NumberToMonthPipe as any,\n selector: 'numberToMonth',\n type: 'pipe',\n inputs: [\n {\n key: 'month',\n label: 'Número del mes',\n type: 'select',\n options: [\n '1',\n '2',\n '3',\n '4',\n '5',\n '6',\n '7',\n '8',\n '9',\n '10',\n '11',\n '12',\n ],\n default: '1',\n },\n {\n key: 'locale',\n label: 'Locale',\n type: 'select',\n options: ['es-ES', 'en-US', 'fr-FR', 'de-DE'],\n default: 'es-ES',\n },\n ],\n examples: [\n {\n name: 'Enero en español',\n description: 'Mes 1 en español',\n inputs: {\n month: '1',\n locale: 'es-ES',\n },\n },\n {\n name: 'Junio en inglés',\n description: 'Mes 6 en inglés',\n inputs: {\n month: '6',\n locale: 'en-US',\n },\n },\n {\n name: 'Diciembre en francés',\n description: 'Mes 12 en francés',\n inputs: {\n month: '12',\n locale: 'fr-FR',\n },\n },\n {\n name: 'Mes inválido',\n description: 'Número fuera de rango devuelve string vacío',\n inputs: {\n month: '13',\n locale: 'es-ES',\n },\n },\n ],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,KAAK,GAAc;AA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AAA,KAAK,EAAE,GAAG;AACV,gBAAA,MAAM,EAAE,OAAO;AAChB,aAAA;AACF,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,sBAAsB;AAC5B,YAAA,WAAW,EAAE,mBAAmB;AAChC,YAAA,MAAM,EAAE;AACN,gBAAA,KAAK,EAAE,IAAI;AACX,gBAAA,MAAM,EAAE,OAAO;AAChB,aAAA;AACF,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,cAAc;AACpB,YAAA,WAAW,EAAE,6CAA6C;AAC1D,YAAA,MAAM,EAAE;AACN,gBAAA,KAAK,EAAE,IAAI;AACX,gBAAA,MAAM,EAAE,OAAO;AAChB,aAAA;AACF,SAAA;AACF,KAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"xsmusices-ui-slice-array.xsstory-ElPwFlwd.mjs","sources":["../../../projects/xs-ui/src/lib/pipes/slice-array/slice-array.xsstory.ts"],"sourcesContent":["import { StoryMeta } from '../../story.types';\nimport { SliceArrayPipe } from './slice-array.pipe';\n\nexport const story: StoryMeta = {\n id: 'slice-array-pipe',\n name: 'Slice Array',\n subtype: 'Pipe',\n status: 'active',\n usage: [],\n description:\n 'Pipe que corta un array desde un índice inicial hasta un índice final (excluyendo el final).',\n created: '2026-01-01T12:12:55.884Z',\n updated: '2025-12-27T17:13:14.861Z',\n component: SliceArrayPipe as any,\n selector: 'sliceArray',\n type: 'pipe',\n inputs: [\n {\n key: 'array',\n label: 'Array a cortar',\n type: 'json',\n default: ['a', 'b', 'c', 'd', 'e', 'f', 'g'],\n },\n {\n key: 'start',\n label: 'Índice inicial',\n type: 'number',\n default: 0,\n },\n {\n key: 'end',\n label: 'Índice final (excluido)',\n type: 'number',\n default: 3,\n },\n ],\n examples: [\n {\n name: 'Primeros 3 elementos',\n description: 'Cortar desde el inicio hasta el índice 3',\n inputs: {\n array: ['a', 'b', 'c', 'd', 'e', 'f', 'g'],\n start: 0,\n end: 3,\n },\n },\n {\n name: 'Elementos del medio',\n description: 'Cortar desde el índice 2 hasta el 5',\n inputs: {\n array: ['a', 'b', 'c', 'd', 'e', 'f', 'g'],\n start: 2,\n end: 5,\n },\n },\n {\n name: 'Últimos elementos',\n description: 'Cortar desde el índice 4 hasta el final',\n inputs: {\n array: ['a', 'b', 'c', 'd', 'e', 'f', 'g'],\n start: 4,\n end: 7,\n },\n },\n {\n name: 'Array vacío',\n description: 'Array vacío devuelve array vacío',\n inputs: {\n array: [],\n start: 0,\n end: 3,\n },\n },\n ],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,KAAK,GAAc;AAC9B,IAAA,EAAE,EAAE,kBAAkB;AACtB,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,OAAO,EAAE,MAAM;AACf,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,EAAE;AACT,IAAA,WAAW,EACT,8FAA8F;AAChG,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,SAAS,EAAE,cAAqB;AAChC,IAAA,QAAQ,EAAE,YAAY;AACtB,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,MAAM,EAAE;AACN,QAAA;AACE,YAAA,GAAG,EAAE,OAAO;AACZ,YAAA,KAAK,EAAE,gBAAgB;AACvB,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;AAC7C,SAAA;AACD,QAAA;AACE,YAAA,GAAG,EAAE,OAAO;AACZ,YAAA,KAAK,EAAE,gBAAgB;AACvB,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,OAAO,EAAE,CAAC;AACX,SAAA;AACD,QAAA;AACE,YAAA,GAAG,EAAE,KAAK;AACV,YAAA,KAAK,EAAE,yBAAyB;AAChC,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,OAAO,EAAE,CAAC;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7cCAG.mjs","sources":["../../../projects/xs-ui/src/lib/pipes/thousands-separator/thousands-separator.xsstory.ts"],"sourcesContent":["import { StoryMeta } from '../../story.types';\nimport { XSThousandsSeparatorPipe } from './thousands-separator.pipe';\n\nexport const story: StoryMeta = {\n id: 'thousands-separator-pipe',\n name: 'Thousands Separator',\n subtype: 'Pipe',\n status: 'active',\n usage: [],\n description:\n 'Pipe que formatea números añadiendo separadores de miles con puntos para mejorar la legibilidad.',\n created: '2026-01-01T12:12:55.894Z',\n updated: '2025-12-27T17:13:14.842Z',\n component: XSThousandsSeparatorPipe as any,\n selector: 'thousandsSeparator',\n type: 'pipe',\n inputs: [\n {\n key: 'number',\n label: 'Número a formatear',\n type: 'number',\n default: 1234567,\n },\n ],\n examples: [\n {\n name: 'Número pequeño',\n description: 'Número sin separadores',\n inputs: {\n number: 123,\n },\n },\n {\n name: 'Número mediano',\n description: 'Número con un separador',\n inputs: {\n number: 12345,\n },\n },\n {\n name: 'Número grande',\n description: 'Número con múltiples separadores',\n inputs: {\n number: 123456789,\n },\n },\n ],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,KAAK,GAAc;AAC9B,IAAA,EAAE,EAAE,0BAA0B;AAC9B,IAAA,IAAI,EAAE,qBAAqB;AAC3B,IAAA,OAAO,EAAE,MAAM;AACf,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,EAAE;AACT,IAAA,WAAW,EACT,kGAAkG;AACpG,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,SAAS,EAAE,wBAA+B;AAC1C,IAAA,QAAQ,EAAE,oBAAoB;AAC9B,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,MAAM,EAAE;AACN,QAAA;AACE,YAAA,GAAG,EAAE,QAAQ;AACb,YAAA,KAAK,EAAE,oBAAoB;AAC3B,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,OAAO,EAAE,OAAO;AACjB,SAAA;AACF,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA;AACE,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,WAAW,EAAE,wBAAwB;AACrC,YAAA,MAAM,EAAE;AACN,gBAAA,MAAM,EAAE,GAAG;AACZ,aAAA;AACF,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,WAAW,EAAE,yBAAyB;AACtC,YAAA,MAAM,EAAE;AACN,gBAAA,MAAM,EAAE,KAAK;AACd,aAAA;AACF,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,eAAe;AACrB,YAAA,WAAW,EAAE,kCAAkC;AAC/C,YAAA,MAAM,EAAE;AACN,gBAAA,MAAM,EAAE,SAAS;AAClB,aAAA;AACF,SAAA;AACF,KAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"xsmusices-ui-title-media.xsstory-C4qa-mT2.mjs","sources":["../../../projects/xs-ui/src/lib/pipes/title-media/title-media.xsstory.ts"],"sourcesContent":["import { StoryMeta } from '../../story.types';\nimport { TitleMediaPipe } from './title-media.pipe';\n\nexport const story: StoryMeta = {\n id: 'title-media-pipe',\n name: 'Title Media',\n subtype: 'Pipe',\n status: 'pending',\n usage: ['app'],\n description:\n 'Pipe que construye títulos descriptivos para medios musicales combinando nombre, artistas, sitio y año.',\n created: '2026-01-01T12:12:55.896Z',\n updated: '2025-12-27T17:13:14.837Z',\n component: TitleMediaPipe as any,\n selector: 'titleMedia',\n type: 'pipe',\n inputs: [\n {\n key: 'item',\n label: 'Objeto media (JSON)',\n type: 'json',\n default: {\n name: 'Summer Vibes',\n artists: [{ name: 'DJ Cool' }],\n site: { name: 'Club Underground' },\n year: 2025,\n },\n },\n ],\n examples: [\n {\n name: 'Track completo',\n description: 'Track con artista, sitio y año',\n inputs: {\n item: {\n name: 'Summer Vibes',\n artists: [{ name: 'DJ Cool' }],\n site: { name: 'Club Underground' },\n year: 2025,\n },\n },\n },\n {\n name: 'Múltiples artistas',\n description: 'Track con varios artistas',\n inputs: {\n item: {\n name: 'Epic Remix',\n artists: [{ name: 'DJ Cool' }, { name: 'MC Hot' }],\n site: { name: 'Festival Arena' },\n year: 2024,\n },\n },\n },\n {\n name: 'Sin sitio conocido',\n description: 'Track sin sitio específico',\n inputs: {\n item: {\n name: 'Underground Hit',\n artists: [{ name: 'Unknown Artist' }],\n site: { name: 'Desconocido' },\n year: 2023,\n },\n },\n },\n {\n name: 'Sin año',\n description: 'Track sin año especificado',\n inputs: {\n item: {\n name: 'Timeless Classic',\n artists: [{ name: 'Legend DJ' }],\n site: { name: 'Classic Club' },\n year: 0,\n },\n },\n },\n ],\n};\n"],"names":[],"mappings":";;AAGO,MAAM,KAAK,GAAc;AAC9B,IAAA,EAAE,EAAE,kBAAkB;AACtB,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,OAAO,EAAE,MAAM;AACf,IAAA,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,CAAC,KAAK,CAAC;AACd,IAAA,WAAW,EACT,yGAAyG;AAC3G,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,SAAS,EAAE,cAAqB;AAChC,IAAA,QAAQ,EAAE,YAAY;AACtB,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,MAAM,EAAE;AACN,QAAA;AACE,YAAA,GAAG,EAAE,MAAM;AACX,YAAA,KAAK,EAAE,qBAAqB;AAC5B,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,OAAO,EAAE;AACP,gBAAA,IAAI,EAAE,cAAc;AACpB,gBAAA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAC9B,gBAAA,IAAI,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE;AAClC,gBAAA,IAAI,EAAE,IAAI;AACX,aAAA;AACF,SAAA;AACF,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA;AACE,YAAA,IAAI,EAAE,gBA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AAI,EAAE,WAAW,EAAE,CAAC;AAChC,oBAAA,IAAI,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE;AAC9B,oBAAA,IAAI,EAAE,CAAC;AACR,iBAAA;AACF,aAAA;AACF,SAAA;AACF,KAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"xsmusices-ui-xs-customize-profile.xsstory-Ba7wmXF7.mjs","sources":["../../../projects/xs-ui/src/lib/components/ui/customize-profile/xs-customize-profile.xsstory.ts"],"sourcesContent":["import { Component, signal } from '@angular/core';\nimport { StoryMeta } from '../../../story.types';\nimport {\n XSCustomizeProfileComponent,\n XSCustomizeBlock,\n} from './xs-customize-profile.component';\n\nconst defaultBlocks: XSCustomizeBlock[] = [\n { id: 'info', label: 'Información', enabled: true },\n { id: 'map', label: 'Mapa', enabled: true },\n {\n id: 'eventsFuture',\n label: 'Próximos eventos',\n enabled: true,\n },\n { id: 'media', label: 'Música', enabled: true },\n { id: 'tops', label: 'Rankings', enabled: true },\n {\n id: 'artists',\n label: 'Artistas relacionados',\n enabled: true,\n },\n {\n id: 'organizations',\n label: 'Organizaciones',\n enabled: true,\n },\n { id: 'comments', label: 'Comentarios', enabled: true },\n {\n id: 'claim',\n label: 'Reclamar perfil',\n enabled: true,\n changeOnlyAdmin: true,\n show: false,\n },\n];\n\n@Component({\n selector: 'xs-customize-profile-demo',\n standalone: true,\n imports: [XSCustomizeProfileComponent],\n template: `\n <div class=\"max-w-lg mx-auto\">\n <p class=\"text-sm text-zinc-400 mb-4\">\n Arrastra los bloques para ordenarlos. Usa el toggle para\n mostrar u ocultar cada sección.\n </p>\n <xs-customize-profile\n [components]=\"blocks()\"\n (componentsChange)=\"blocks.set($event)\"\n >\n </xs-customize-profile>\n </div>\n `,\n})\nclass CustomizeDemoComponent {\n blocks = signal<XSCustomizeBlock[]>(defaultBlocks);\n}\n\nexport const story: StoryMeta = {\n id: 'customize-profile',\n name: 'Customize Profile',\n type: 'component',\n subtype: 'UI',\n status: 'active',\n description:\n 'Lista de bloques del perfil con drag & drop para ordenar y toggle para mostrar/ocultar.',\n component: CustomizeDemoComponent,\n selector: 'xs-customize-profile-demo',\n inputs: [],\n examples: [],\n usage: ['profile', 'customization'],\n multilanguage: true,\n notes: [\n {\n text: 'Los bloques con changeOnlyAdmin=true y show=false se omiten del editor.',\n type: 'info',\n },\n {\n text: 'La columna izquierda/derecha en desktop se asigna automáticamente según el tipo de bloque.',\n type: 'info',\n },\n ],\n};\n"],"names":[],"mappings":";;;;AAOA,MAAM,aAAa,GAAuB;IACxC,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,IAAI,EAAE;IACnD,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE;AAC3C,IAAA;AACE,QAAA,EAAE,EAAE,cAAc;AAClB,QAAA,KAAK,EAAE,kBAAkB;AACzB,QAAA,OAAO,EAAE,IAAI;AACd,KAAA;IACD,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE;IAC/C,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE;AAChD,IAAA;AACE,QAAA,EAAE,EAAE,SAAS;AACb,QAAA,KAAK,EAAE,uBAAuB;AAC9B,QAAA,OAAO,EAAE,IAAI;AACd,KAAA;AACD,IAAA;AACE,QAAA,EAAE,EAAE,eAAe;AACnB,QAAA,KAAK,EAAE,gBAAgB;AACvB,QAAA,OAAO,EAAE,IAAI;AACd,KAAA;IACD,EAAE,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,IAAI,EAAE;AACvD,IAAA;AACE,QAAA,EAAE,EAAE,OAAO;AACX,QAAA,KAAK,EAAE,iBAAiB;AACxB,QAAA,OAAO,EAAE,IAAI;AACb,QAAA,eAAe,EAAE,IAAI;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AE,2BAA2B;AACrC,IAAA,MAAM,EAAE,EAAE;AACV,IAAA,QAAQ,EAAE,EAAE;AACZ,IAAA,KAAK,EAAE,CAAC,SAAS,EAAE,eAAe,CAAC;AACnC,IAAA,aAAa,EAAE,IAAI;AACnB,IAAA,KAAK,EAAE;AACL,QAAA;AACE,YAAA,IAAI,EAAE,yEAAyE;AAC/E,YAAA,IAAI,EAAE,MAAM;AACb,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,4FAA4F;AAClG,YAAA,IAAI,EAAE,MAAM;AACb,SAAA;AACF,KAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"xsmusices-ui-xs-profile-tops.xsstory-BhgHy7Gc.mjs","sources":["../../../projects/xs-ui/src/lib/components/ui/profile/profile-top/xs-profile-tops.xsstory.ts"],"sourcesContent":["import { StoryMeta } from '../../../../story.types';\nimport { XSProfileTopsComponent } from './xs-profile-tops.component';\n\nexport const story: StoryMeta = {\n id: 'profile-tops',\n name: 'Profile Tops',\n type: 'component',\n subtype: 'UI',\n status: 'active',\n usage: ['admin', 'app', 'monitor'],\n description:\n 'Bloque editorial de ranking: posición destacada con tabs global/país y total/anual/mensual, con enlace al top correspondiente.',\n created: '2025-07-23T14:20:25.624Z',\n updated: '2026-11-06T22:45:00.000Z',\n component: XSProfileTopsComponent,\n selector: 'xs-profile-tops',\n inputs: [\n {\n key: 'itemType',\n label: 'Tipo de elemento',\n type: 'select',\n options: [\n 'artist',\n 'event',\n 'media',\n 'site',\n 'organization',\n ],\n default: 'artist',\n },\n {\n key: 'itemSubtype',\n label: 'Subtipo de elemento',\n type: 'select',\n options: [\n 'club',\n 'festival',\n 'set',\n 'track',\n 'podcast',\n 'radioshow',\n 'radio',\n 'collective',\n 'promoter',\n 'label',\n ],\n default: '',\n },\n {\n key: 'loading',\n label: 'Estado de carga',\n type: 'boolean',\n default: true,\n },\n {\n key: 'texts',\n label: 'Textos y configuración',\n type: 'json',\n default: {\n currentMonth: 'Este mes',\n worldwide: 'Mundial',\n total: 'Total',\n country: 'España',\n countryCode: 'ES',\n label: 'Posiciones en rankings',\n title: 'Ranking',\n viewRanking: 'Ver ranking',\n noPositionYet: 'Sin posición todavía',\n noPositionHere: 'Sin posición en este tramo',\n annual: 'Anual',\n monthly: 'Mensual',\n topWorld: 'Top mundial',\n },\n },\n {\n key: 'positions',\n label: 'Posiciones en rankings',\n type: 'json',\n default: {\n totalPosition: null,\n countryPosition: null,\n yearPosition: null,\n countryYearPosition: null,\n monthYearPosition: null,\n countryMonthYearPosition: null,\n },\n },\n {\n key: 'admin',\n label: 'Modo administrador',\n type: 'boolean',\n default: false,\n },\n {\n key: 'links',\n label: 'Enlaces activos',\n type: 'boolean',\n default: false,\n },\n ],\n examples: [\n {\n name: 'Artista con múltiples posiciones',\n description:\n 'Artista con posiciones destacadas: tabs global/país y total/anual/mensual, con acento rojo al entrar en top 3',\n inputs: {\n itemType: 'artist',\n loading: false,\n texts: {\n currentMonth: 'Este mes',\n worldwide: 'Mundial',\n total: 'Total',\n country: 'España',\n countryCode: 'ES',\n label: 'Posiciones en rankings',\n title: 'Ranking',\n viewRanking: 'Ver ranking',\n noPositionYet: 'Sin posición todavía',\n noPositionHere: 'Sin posición en este tramo',\n annual: 'Anual',\n monthly: 'Mensual',\n topWorld: 'Top mundial',\n },\n positions: {\n totalPosition: 15,\n countryPosition: 3,\n yearPosition: 8,\n countryYearPosition: 2,\n monthYearPosition: 5,\n countryMonthYearPosition: 1,\n },\n admin: false,\n links: false,\n },\n },\n {\n name: 'Media con posiciones limitadas',\n description:\n 'Contenido multimedia con solo algunas posiciones en rankings',\n inputs: {\n itemType: 'media',\n itemSubtype: 'track',\n loading: false,\n texts: {\n currentMonth: 'Este mes',\n worldwide: 'Mundial',\n total: 'Total',\n country: 'México',\n countryCode: 'MX',\n label: 'Ranking del track',\n },\n positions: {\n totalPosition: 45,\n countryPosition: 12,\n yearPosition: null,\n countryYearPosition: null,\n monthYearPosition: 25,\n countryMonthYearPosition: 8,\n },\n admin: false,\n },\n },\n {\n name: 'Modo administrador',\n description:\n 'Vista en modo administrador con navegación al listado con filtros',\n inputs: {\n itemType: 'event',\n loading: false,\n texts: {\n currentMonth: 'Este mes',\n worldwide: 'Mundial',\n total: 'Total',\n country: 'Argentina',\n countryCode: 'AR',\n label: 'Estadísticas del evento',\n title: 'Ranking',\n viewRanking: 'Ver ranking',\n noPositionYet: 'Sin posición todavía',\n noPositionHere: 'Sin posición en este tramo',\n annual: 'Anual',\n monthly: 'Mensual',\n topWorld: 'Top mundial',\n },\n positions: {\n totalPosition: 7,\n countryPosition: 2,\n yearPosition: 15,\n countryYearPosition: 5,\n monthYearPosition: 3,\n countryMonthYearPosition: 1,\n },\n admin: true,\n links: false,\n },\n },\n {\n name: 'Sin país',\n description:\n 'Sin countryCode solo hay tab global; prueba también una posición con miles (1.234)',\n inputs: {\n itemType: 'organization',\n loading: false,\n texts: {\n currentMonth: 'Este mes',\n worldwide: 'Mundial',\n total: 'Total',\n title: 'Ranking',\n viewRanking: 'Ver ranking',\n noPositionYet: 'Sin posición todavía',\n noPositionHere: 'Sin posición en este tramo',\n annual: 'Anual',\n monthly: 'Mensual',\n topWorld: 'Top mundial',\n },\n positions: {\n totalPosition: 1234,\n countryPosition: null,\n yearPosition: 987,\n countryYearPosition: null,\n monthYearPosition: null,\n countryMonthYearPosition: null,\n },\n admin: false,\n links: false,\n },\n },\n {\n name: 'Estado de carga',\n description:\n 'Vista en estado de carga (componente oculto)',\n inputs: {\n itemType: 'artist',\n loading: true,\n texts: {\n currentMonth: 'Este mes',\n worldwide: 'Mundial',\n total: 'Total',\n country: 'Colombia',\n countryCode: 'CO',\n label: 'Posiciones',\n },\n positions: {\n totalPosition: 20,\n countryPosition: 5,\n yearPosition: 10,\n countryYearPosition: 3,\n monthYearPosition: 8,\n countryMonthYearPosition: 2,\n },\n admin: false,\n },\n },\n {\n name: 'Sin posiciones',\n description:\n 'Estado cuando no hay posiciones disponibles (componente oculto)',\n inputs: {\n itemType: 'site',\n loading: false,\n texts: {\n currentMonth: 'Este mes',\n worldwide: 'Mundial',\n total: 'Total',\n country: 'Chile',\n countryCode: 'CL',\n label: 'Ranking del sitio',\n },\n positions: {\n totalPosition: null,\n countryPosition: null,\n yearPosition: null,\n countryYearPosition: null,\n monthYearPosition: null,\n countryMonthYearPosition: null,\n },\n admin: false,\n },\n },\n ],\n multilanguage: true,\n notes: [\n {\n text: 'Muestra skeleton cuando loading=true; con posiciones a null muestra estado vacío',\n type: 'info',\n },\n {\n text: 'Los tabs de scope/period cambian la posición mostrada y emiten rankingTab; el enlace \"Ver ranking\" apunta al top del tramo activo y emite rankingClick',\n type: 'info',\n },\n {\n text: 'En modo admin, el enlace navega al listado con filtros (order=visits-desc + sortVisitsByYear/sortVisitsByMonth + country)',\n type: 'info',\n },\n {\n text: 'Textos nuevos (title, viewRanking, noPositionYet, noPositionHere, annual, monthly, topWorld) son opcionales con fallback',\n type: 'info',\n },\n ],\n coverage: {\n statements: 0,\n branches: 0,\n functions: 0,\n lines: 0,\n },\n};\n"],"names":[],"mappings":";;AAGO,MAAM,KAAK,GAAc;AAC9B,IAAA,EAAE,EAAE,cAAc;AAClB,IAAA,IAAI,EAAE,cAAc;AACpB,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,OAAO,EAAE,IAAI;AACb,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,SAAS,CAAC;AAClC,IAAA,WAAW,EACT,gIAAgI;AAClI,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,SAAS,EAAE,sBAAsB;AACjC,IAAA,QAAQ,EAAE,iBAAiB;AAC3B,IAAA,MAAM,EAAE;AACN,QAAA;AACE,YAAA,GAAG,EAAE,UAAU;AACf,YAAA,KAAK,EAAE,kBAAkB;AACzB,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,OAAO,EAAE;gBACP,Q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EAAE,IAAI;AACjB,oBAAA,KAAK,EAAE,mBAAmB;AAC3B,iBAAA;AACD,gBAAA,SAAS,EAAE;AACT,oBAAA,aAAa,EAAE,IAAI;AACnB,oBAAA,eAAe,EAAE,IAAI;AACrB,oBAAA,YAAY,EAAE,IAAI;AAClB,oBAAA,mBAAmB,EAAE,IAAI;AACzB,oBAAA,iBAAiB,EAAE,IAAI;AACvB,oBAAA,wBAAwB,EAAE,IAAI;AAC/B,iBAAA;AACD,gBAAA,KAAK,EAAE,KAAK;AACb,aAAA;AACF,SAAA;AACF,KAAA;AACD,IAAA,aAAa,EAAE,IAAI;AACnB,IAAA,KAAK,EAAE;AACL,QAAA;AACE,YAAA,IAAI,EAAE,kFAAkF;AACxF,YAAA,IAAI,EAAE,MAAM;AACb,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,wJAAwJ;AAC9J,YAAA,IAAI,EAAE,MAAM;AACb,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,2HAA2H;AACjI,YAAA,IAAI,EAAE,MAAM;AACb,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,0HAA0H;AAChI,YAAA,IAAI,EAAE,MAAM;AACb,SAAA;AACF,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,UAAU,EAAE,CAAC;AACb,QAAA,QAAQ,EAAE,CAAC;AACX,QAAA,SAAS,EAAE,CAAC;AACZ,QAAA,KAAK,EAAE,CAAC;AACT,KAAA;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"xsmusices-ui-xs-tabs.xsstory-ColZVzXZ.mjs","sources":["../../../projects/xs-ui/src/lib/components/ui/tabs/xs-tabs.xsstory.ts"],"sourcesContent":["import { StoryMeta } from '../../../story.types';\nimport { XSTabsComponent } from './xs-tabs.component';\n\nexport const story: StoryMeta = {\n id: 'tabs',\n name: 'Tabs',\n type: 'component',\n subtype: 'UI',\n status: 'active',\n usage: ['app', 'admin'],\n updated: '2026-05-15T12:00:00.000Z',\n created: '2026-05-15T12:00:00.000Z',\n description:\n 'Barra de tabs con diseño pill. Soporta scroll horizontal en dispositivos pequeños con scrollbar oculto.',\n component: XSTabsComponent,\n selector: 'xs-tabs',\n inputs: [\n {\n key: 'tabs',\n label: 'Tabs',\n type: 'json',\n default: [\n { id: 'new', label: 'Nueva' },\n { id: 'playlists', label: 'Tus Playlists' },\n ],\n },\n {\n key: 'selectedTab',\n label: 'Tab seleccionado',\n type: 'text',\n default: 'new',\n },\n {\n key: 'scrollable',\n label: 'Scroll horizontal',\n type: 'boolean',\n default: false,\n },\n ],\n examples: [\n {\n name: 'Dos tabs',\n description:\n 'Dos tabs, como en el modal de add-to-playlist.',\n inputs: {\n tabs: [\n { id: 'new', label: 'Nueva' },\n { id: 'playlists', label: 'Tus Playlists' },\n ],\n selectedTab: 'new',\n scrollable: false,\n },\n },\n {\n name: 'Scrollable',\n description:\n 'Múltiples tabs con scroll horizontal en móvil.',\n inputs: {\n tabs: [\n { id: '1', label: 'Artistas' },\n { id: '2', label: 'Álbumes' },\n { id: '3', label: 'Canciones' },\n { id: '4', label: 'Playlists' },\n { id: '5', label: 'Podcasts' },\n { id: '6', label: 'Eventos' },\n ],\n selectedTab: '1',\n scrollable: true,\n },\n },\n ],\n multilanguage: false,\n};\n"],"names":[],"mappings":";;AAGO,MAAM,KAAK,GAAc;AAC9B,IAAA,EAAE,EAAE,MAAM;AACV,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,OAAO,EAAE,IAAI;AACb,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC;AACvB,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,OAAO,EAAE,0BAA0B;AACnC,IAAA,WAAW,EACT,yGAAyG;AAC3G,IAAA,SAAS,EAAE,eAAe;AAC1B,IAAA,QAAQ,EAAE,SAAS;AACnB,IAAA,MAAM,EAAE;AACN,QAAA;AACE,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