@sixbell-telco/sdk 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/CHANGELOG.md +45 -16
  2. package/README.md +2 -2
  3. package/_index.css +7 -0
  4. package/components/data-table/src/data-table.component.d.ts +6 -1
  5. package/components/table/src/table.component.d.ts +6 -1
  6. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +6 -6
  7. package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
  8. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +21 -21
  9. package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
  10. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +3 -3
  11. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
  12. package/fesm2022/sixbell-telco-sdk-components-badge.mjs +3 -3
  13. package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
  14. package/fesm2022/sixbell-telco-sdk-components-button.mjs +3 -3
  15. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  16. package/fesm2022/sixbell-telco-sdk-components-card.mjs +42 -42
  17. package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
  18. package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +4 -4
  19. package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
  20. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs +3 -3
  21. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs.map +1 -1
  22. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +39 -33
  23. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
  24. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +16 -16
  25. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
  26. package/fesm2022/sixbell-telco-sdk-components-divider.mjs +3 -3
  27. package/fesm2022/sixbell-telco-sdk-components-divider.mjs.map +1 -1
  28. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +29 -29
  29. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
  30. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs +3 -3
  31. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs.map +1 -1
  32. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +45 -45
  33. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
  34. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +30 -30
  35. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  36. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +3 -3
  37. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
  38. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +6 -6
  39. package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
  40. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +3 -3
  41. package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
  42. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +3 -3
  43. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  44. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +3 -3
  45. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
  46. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +3 -3
  47. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
  48. package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs +3 -3
  49. package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs.map +1 -1
  50. package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs +3 -3
  51. package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs.map +1 -1
  52. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +6 -6
  53. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  54. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +3 -3
  55. package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
  56. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +3 -3
  57. package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
  58. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +3 -3
  59. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  60. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +3 -3
  61. package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
  62. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +3 -3
  63. package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
  64. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +3 -3
  65. package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
  66. package/fesm2022/sixbell-telco-sdk-components-icon.mjs +3 -3
  67. package/fesm2022/sixbell-telco-sdk-components-icon.mjs.map +1 -1
  68. package/fesm2022/sixbell-telco-sdk-components-link.mjs +3 -3
  69. package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
  70. package/fesm2022/sixbell-telco-sdk-components-notification.mjs +3 -3
  71. package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
  72. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs +9 -9
  73. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs.map +1 -1
  74. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +9 -9
  75. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  76. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +12 -12
  77. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
  78. package/fesm2022/sixbell-telco-sdk-components-progress.mjs +3 -3
  79. package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
  80. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs +8 -8
  81. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs.map +1 -1
  82. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs +8 -8
  83. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs.map +1 -1
  84. package/fesm2022/sixbell-telco-sdk-components-tab.mjs +9 -9
  85. package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
  86. package/fesm2022/sixbell-telco-sdk-components-table.mjs +24 -18
  87. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  88. package/fesm2022/sixbell-telco-sdk-components-text.mjs +3 -3
  89. package/fesm2022/sixbell-telco-sdk-components-text.mjs.map +1 -1
  90. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +6 -6
  91. package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
  92. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +27 -27
  93. package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
  94. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs +3 -3
  95. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs.map +1 -1
  96. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +3 -3
  97. package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -1
  98. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +3 -3
  99. package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -1
  100. package/fesm2022/sixbell-telco-sdk-directives-text.mjs +3 -3
  101. package/fesm2022/sixbell-telco-sdk-directives-text.mjs.map +1 -1
  102. package/fesm2022/sixbell-telco-sdk-utils-cn.mjs.map +1 -1
  103. package/fesm2022/sixbell-telco-sdk-utils-date.mjs.map +1 -1
  104. package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs +15 -15
  105. package/fesm2022/sixbell-telco-sdk-utils-formatting.mjs.map +1 -1
  106. package/fesm2022/sixbell-telco-sdk-utils-logger.mjs +3 -3
  107. package/fesm2022/sixbell-telco-sdk-utils-logger.mjs.map +1 -1
  108. package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs +3 -3
  109. package/fesm2022/sixbell-telco-sdk-utils-pipes-extract-extension.mjs.map +1 -1
  110. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs +3 -3
  111. package/fesm2022/sixbell-telco-sdk-utils-pipes-time.mjs.map +1 -1
  112. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs +3 -3
  113. package/fesm2022/sixbell-telco-sdk-utils-pipes-to-bytes-extesion.mjs.map +1 -1
  114. package/fesm2022/sixbell-telco-sdk-utils-runtime-config.mjs.map +1 -1
  115. package/fesm2022/sixbell-telco-sdk-utils-sync.mjs.map +1 -1
  116. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +15 -15
  117. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
  118. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +12 -12
  119. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
  120. package/package.json +96 -91
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-directives-auto-focus.mjs","sources":["../../../projects/sdk/directives/auto-focus/src/auto-focus.directive.ts","../../../projects/sdk/directives/auto-focus/sixbell-telco-sdk-directives-auto-focus.ts"],"sourcesContent":["import { AfterRenderRef, DestroyRef, Directive, ElementRef, afterRenderEffect, effect, inject, input, signal } from '@angular/core';\n\n/**\n * Directive that automatically focuses an element when it becomes visible.\n *\n * This directive uses multiple strategies to detect when an element becomes visible:\n * - IntersectionObserver to detect when the element enters the viewport\n * - MutationObserver to detect DOM changes that might affect visibility\n * - Polling at regular intervals as a fallback mechanism\n *\n * The directive works reliably with modals, dialogs, accordions, and other UI components\n * that dynamically show and hide content.\n *\n * @example\n * ```html\n * <!-- Basic usage -->\n * <input [stAutofocus]=\"true\" />\n *\n * <!-- Conditional autofocus -->\n * <input [stAutofocus]=\"shouldFocus\" />\n *\n * <!-- In a form inside a dialog -->\n * <st-dialog>\n * <input [stAutofocus]=\"true\" />\n * </st-dialog>\n * ```\n *\n * @usageNotes\n * The directive takes a boolean input that determines whether autofocus should be applied.\n * When this value is true, the directive will attempt to focus the element once it becomes visible,\n * and will continue to monitor the element's visibility state in case it changes.\n *\n * This is particularly useful for:\n * - Elements in modals that need focus when opened\n * - Elements in accordions/collapsible sections that should receive focus when expanded\n * - Elements that are conditionally rendered and need focus when they appear\n *\n * @publicApi\n */\n@Directive({\n\tselector: '[stAutofocus]',\n\tstandalone: true,\n})\nexport class AutofocusDirective {\n\t/**\n\t * Controls whether autofocus should be applied to the element.\n\t * Set to true to enable autofocus.\n\t */\n\tfocus = input<boolean>(false);\n\n\t/** Tracks the current visibility state of the element */\n\tprivate readonly isVisible = signal(false);\n\n\t/** Keeps a reference so the afterRenderEffect can be destroyed with the directive */\n\tprivate readonly focusAfterRenderRef: AfterRenderRef;\n\n\tprivate readonly destroyRef = inject(DestroyRef);\n\n\t/** Collection of observers for cleanup */\n\tprivate observers: (IntersectionObserver | MutationObserver)[] = [];\n\n\t/** Interval used for polling visibility */\n\tprivate pollingInterval: ReturnType<typeof globalThis.setInterval> | null = null;\n\n\t/** Flag to prevent concurrent visibility checks */\n\tprivate checkingVisibility = false;\n\n\tprivate readonly elementRef = inject(ElementRef);\n\n\tconstructor() {\n\t\tthis.focusAfterRenderRef = afterRenderEffect(() => {\n\t\t\tif (this.focus() && this.isVisible()) {\n\t\t\t\tthis.elementRef.nativeElement.focus();\n\t\t\t}\n\t\t});\n\n\t\teffect(() => {\n\t\t\tif (!this.focus()) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis.setupIntersectionObserver();\n\t\t\tthis.setupMutationObserver();\n\n\t\t\tthis.pollingInterval = globalThis.setInterval(() => {\n\t\t\t\tthis.checkVisibility(true);\n\t\t\t}, 500);\n\n\t\t\tthis.checkVisibility(true);\n\t\t});\n\n\t\tthis.destroyRef.onDestroy(() => {\n\t\t\tthis.cleanup();\n\t\t});\n\t}\n\n\t/**\n\t * Cleans up all observers and timers to prevent memory leaks\n\t */\n\tprivate cleanup() {\n\t\tfor (const observer of this.observers) {\n\t\t\tif (observer) {\n\t\t\t\tobserver.disconnect();\n\t\t\t}\n\t\t}\n\t\tthis.observers = [];\n\n\t\tif (this.pollingInterval !== null) {\n\t\t\tclearInterval(this.pollingInterval);\n\t\t\tthis.pollingInterval = null;\n\t\t}\n\n\t\tthis.focusAfterRenderRef.destroy();\n\t}\n\n\t/**\n\t * Sets up the IntersectionObserver to detect when the element enters or leaves the viewport\n\t * @private\n\t */\n\tprivate setupIntersectionObserver(): void {\n\t\tif ('IntersectionObserver' in globalThis) {\n\t\t\tconst intersectionObserver = new IntersectionObserver(\n\t\t\t\t(entries) => {\n\t\t\t\t\tif (entries[0].isIntersecting) {\n\t\t\t\t\t\tthis.checkVisibility(true);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.updateVisibility(false);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{ threshold: 0.1 },\n\t\t\t);\n\n\t\t\tintersectionObserver.observe(this.elementRef.nativeElement);\n\t\t\tthis.observers.push(intersectionObserver);\n\t\t}\n\t}\n\n\t/**\n\t * Sets up MutationObserver to detect style/class changes that might affect visibility\n\t * Also monitors parent elements to detect when containers like modals appear/disappear\n\t * @private\n\t */\n\tprivate setupMutationObserver(): void {\n\t\tconst mutationObserver = new MutationObserver(() => {\n\t\t\tthis.checkVisibility(true);\n\t\t});\n\n\t\t// Watch this element\n\t\tmutationObserver.observe(this.elementRef.nativeElement, {\n\t\t\tattributes: true,\n\t\t\tattributeFilter: ['style', 'class'],\n\t\t});\n\n\t\t// Watch parent elements - important for modals, accordions, etc.\n\t\tlet parent = this.elementRef.nativeElement.parentElement;\n\t\tlet level = 0;\n\n\t\t// Watch up to 3 parent levels\n\t\twhile (parent && level < 3) {\n\t\t\tmutationObserver.observe(parent, {\n\t\t\t\tattributes: true,\n\t\t\t\tattributeFilter: ['style', 'class'],\n\t\t\t\tchildList: true,\n\t\t\t});\n\t\t\tparent = parent.parentElement;\n\t\t\tlevel++;\n\t\t}\n\n\t\tthis.observers.push(mutationObserver);\n\t}\n\n\t/**\n\t * Checks if the element is truly visible by examining computed style and dimensions\n\t * @param force Whether to force a check even if one is already in progress\n\t * @private\n\t */\n\tprivate checkVisibility(force = false): void {\n\t\tif (this.checkingVisibility && !force) return;\n\n\t\tthis.checkingVisibility = true;\n\t\tconst el = this.elementRef.nativeElement;\n\n\t\trequestAnimationFrame(() => {\n\t\t\tconst style = globalThis.getComputedStyle(el);\n\t\t\tconst isNowVisible = el.offsetWidth > 0 && el.offsetHeight > 0 && style.visibility !== 'hidden' && style.display !== 'none';\n\n\t\t\tthis.updateVisibility(isNowVisible);\n\t\t\tthis.checkingVisibility = false;\n\t\t});\n\t}\n\n\t/**\n\t * Updates the visibility signal that drives the autofocus effect\n\t * @param visible The new visibility state\n\t * @private\n\t */\n\tprivate updateVisibility(visible: boolean): void {\n\t\tif (this.isVisible() !== visible) {\n\t\t\tthis.isVisible.set(visible);\n\t\t}\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCG;MAKU,kBAAkB,CAAA;AAC9B;;;AAGG;AACH,IAAA,KAAK,GAAG,KAAK,CAAU,KAAK,CAAC;;AAGZ,IAAA,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC;;AAGzB,IAAA,mBAAmB;AAEnB,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,C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kB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA;;;AC1CD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-directives-auto-focus.mjs","sources":["../../../projects/sdk/directives/auto-focus/src/auto-focus.directive.ts","../../../projects/sdk/directives/auto-focus/sixbell-telco-sdk-directives-auto-focus.ts"],"sourcesContent":["import { AfterRenderRef, DestroyRef, Directive, ElementRef, afterRenderEffect, effect, inject, input, signal } from '@angular/core';\n\n/**\n * Directive that automatically focuses an element when it becomes visible.\n *\n * This directive uses multiple strategies to detect when an element becomes visible:\n * - IntersectionObserver to detect when the element enters the viewport\n * - MutationObserver to detect DOM changes that might affect visibility\n * - Polling at regular intervals as a fallback mechanism\n *\n * The directive works reliably with modals, dialogs, accordions, and other UI components\n * that dynamically show and hide content.\n *\n * @example\n * ```html\n * <!-- Basic usage -->\n * <input [stAutofocus]=\"true\" />\n *\n * <!-- Conditional autofocus -->\n * <input [stAutofocus]=\"shouldFocus\" />\n *\n * <!-- In a form inside a dialog -->\n * <st-dialog>\n * <input [stAutofocus]=\"true\" />\n * </st-dialog>\n * ```\n *\n * @usageNotes\n * The directive takes a boolean input that determines whether autofocus should be applied.\n * When this value is true, the directive will attempt to focus the element once it becomes visible,\n * and will continue to monitor the element's visibility state in case it changes.\n *\n * This is particularly useful for:\n * - Elements in modals that need focus when opened\n * - Elements in accordions/collapsible sections that should receive focus when expanded\n * - Elements that are conditionally rendered and need focus when they appear\n *\n * @publicApi\n */\n@Directive({\n\tselector: '[stAutofocus]',\n\tstandalone: true,\n})\nexport class AutofocusDirective {\n\t/**\n\t * Controls whether autofocus should be applied to the element.\n\t * Set to true to enable autofocus.\n\t */\n\tfocus = input<boolean>(false);\n\n\t/** Tracks the current visibility state of the element */\n\tprivate readonly isVisible = signal(false);\n\n\t/** Keeps a reference so the afterRenderEffect can be destroyed with the directive */\n\tprivate readonly focusAfterRenderRef: AfterRenderRef;\n\n\tprivate readonly destroyRef = inject(DestroyRef);\n\n\t/** Collection of observers for cleanup */\n\tprivate observers: (IntersectionObserver | MutationObserver)[] = [];\n\n\t/** Interval used for polling visibility */\n\tprivate pollingInterval: ReturnType<typeof globalThis.setInterval> | null = null;\n\n\t/** Flag to prevent concurrent visibility checks */\n\tprivate checkingVisibility = false;\n\n\tprivate readonly elementRef = inject(ElementRef);\n\n\tconstructor() {\n\t\tthis.focusAfterRenderRef = afterRenderEffect(() => {\n\t\t\tif (this.focus() && this.isVisible()) {\n\t\t\t\tthis.elementRef.nativeElement.focus();\n\t\t\t}\n\t\t});\n\n\t\teffect(() => {\n\t\t\tif (!this.focus()) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis.setupIntersectionObserver();\n\t\t\tthis.setupMutationObserver();\n\n\t\t\tthis.pollingInterval = globalThis.setInterval(() => {\n\t\t\t\tthis.checkVisibility(true);\n\t\t\t}, 500);\n\n\t\t\tthis.checkVisibility(true);\n\t\t});\n\n\t\tthis.destroyRef.onDestroy(() => {\n\t\t\tthis.cleanup();\n\t\t});\n\t}\n\n\t/**\n\t * Cleans up all observers and timers to prevent memory leaks\n\t */\n\tprivate cleanup() {\n\t\tfor (const observer of this.observers) {\n\t\t\tif (observer) {\n\t\t\t\tobserver.disconnect();\n\t\t\t}\n\t\t}\n\t\tthis.observers = [];\n\n\t\tif (this.pollingInterval !== null) {\n\t\t\tclearInterval(this.pollingInterval);\n\t\t\tthis.pollingInterval = null;\n\t\t}\n\n\t\tthis.focusAfterRenderRef.destroy();\n\t}\n\n\t/**\n\t * Sets up the IntersectionObserver to detect when the element enters or leaves the viewport\n\t * @private\n\t */\n\tprivate setupIntersectionObserver(): void {\n\t\tif ('IntersectionObserver' in globalThis) {\n\t\t\tconst intersectionObserver = new IntersectionObserver(\n\t\t\t\t(entries) => {\n\t\t\t\t\tif (entries[0].isIntersecting) {\n\t\t\t\t\t\tthis.checkVisibility(true);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.updateVisibility(false);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{ threshold: 0.1 },\n\t\t\t);\n\n\t\t\tintersectionObserver.observe(this.elementRef.nativeElement);\n\t\t\tthis.observers.push(intersectionObserver);\n\t\t}\n\t}\n\n\t/**\n\t * Sets up MutationObserver to detect style/class changes that might affect visibility\n\t * Also monitors parent elements to detect when containers like modals appear/disappear\n\t * @private\n\t */\n\tprivate setupMutationObserver(): void {\n\t\tconst mutationObserver = new MutationObserver(() => {\n\t\t\tthis.checkVisibility(true);\n\t\t});\n\n\t\t// Watch this element\n\t\tmutationObserver.observe(this.elementRef.nativeElement, {\n\t\t\tattributes: true,\n\t\t\tattributeFilter: ['style', 'class'],\n\t\t});\n\n\t\t// Watch parent elements - important for modals, accordions, etc.\n\t\tlet parent = this.elementRef.nativeElement.parentElement;\n\t\tlet level = 0;\n\n\t\t// Watch up to 3 parent levels\n\t\twhile (parent && level < 3) {\n\t\t\tmutationObserver.observe(parent, {\n\t\t\t\tattributes: true,\n\t\t\t\tattributeFilter: ['style', 'class'],\n\t\t\t\tchildList: true,\n\t\t\t});\n\t\t\tparent = parent.parentElement;\n\t\t\tlevel++;\n\t\t}\n\n\t\tthis.observers.push(mutationObserver);\n\t}\n\n\t/**\n\t * Checks if the element is truly visible by examining computed style and dimensions\n\t * @param force Whether to force a check even if one is already in progress\n\t * @private\n\t */\n\tprivate checkVisibility(force = false): void {\n\t\tif (this.checkingVisibility && !force) return;\n\n\t\tthis.checkingVisibility = true;\n\t\tconst el = this.elementRef.nativeElement;\n\n\t\trequestAnimationFrame(() => {\n\t\t\tconst style = globalThis.getComputedStyle(el);\n\t\t\tconst isNowVisible = el.offsetWidth > 0 && el.offsetHeight > 0 && style.visibility !== 'hidden' && style.display !== 'none';\n\n\t\t\tthis.updateVisibility(isNowVisible);\n\t\t\tthis.checkingVisibility = false;\n\t\t});\n\t}\n\n\t/**\n\t * Updates the visibility signal that drives the autofocus effect\n\t * @param visible The new visibility state\n\t * @private\n\t */\n\tprivate updateVisibility(visible: boolean): void {\n\t\tif (this.isVisible() !== visible) {\n\t\t\tthis.isVisible.set(visible);\n\t\t}\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCG;MAKU,kBAAkB,CAAA;AAC9B;;;AAGG;AACH,IAAA,KAAK,GAAG,KAAK,CAAU,KAAK,CAAC;;AAGZ,IAAA,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC;;AAGzB,IAAA,mBAAmB;AAEnB,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;;IAGxC,SAAS,GAAgD,EAAE;;IAG3D,eAAe,GAAqD,IAAI;;IAGxE,kBAAkB,GAAG,KAAK;AAEjB,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAEhD,IAAA,WAAA,GAAA;AACC,QAAA,IAAI,CAAC,mBAAmB,GAAG,iBAAiB,CAAC,MAAK;YACjD,IAAI,IAAI,CAAC,KAAK,EAAE,IAAI,IAAI,CAAC,SAAS,EAAE,EAAE;AACrC,gBAAA,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,EAAE;YACtC;AACD,QAAA,CAAC,CAAC;QAEF,MAAM,CAAC,MAAK;AACX,YAAA,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE;gBAClB;YACD;YACA,IAAI,CAAC,yBAAyB,EAAE;YAChC,IAAI,CAAC,qBAAqB,EAAE;YAE5B,IAAI,CAAC,eAAe,GAAG,UAAU,CAAC,WAAW,CAAC,MAAK;AAClD,gBAAA,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;YAC3B,CAAC,EAAE,GAAG,CAAC;AAEP,YAAA,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;AAC3B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K;AAChC,QAAA,CAAC,CAAC;IACH;AAEA;;;;AAIG;AACK,IAAA,gBAAgB,CAAC,OAAgB,EAAA;AACxC,QAAA,IAAI,IAAI,CAAC,SAAS,EAAE,KAAK,OAAO,EAAE;AACjC,YAAA,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC;QAC5B;IACD;wGA5JY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA;;;AC1CD;;AAEG;;;;"}
@@ -55,10 +55,10 @@ class ClickOutsideDirective {
55
55
  this.outsideClick.emit();
56
56
  }
57
57
  }
58
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
59
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0", type: ClickOutsideDirective, isStandalone: true, selector: "[stClickOutside]", outputs: { outsideClick: "outsideClick" }, host: { listeners: { "document:click": "clickedOutside($event)" } }, ngImport: i0 });
58
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ClickOutsideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
59
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.25", type: ClickOutsideDirective, isStandalone: true, selector: "[stClickOutside]", outputs: { outsideClick: "outsideClick" }, host: { listeners: { "document:click": "clickedOutside($event)" } }, ngImport: i0 });
60
60
  }
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ClickOutsideDirective, decorators: [{
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: ClickOutsideDirective, decorators: [{
62
62
  type: Directive,
63
63
  args: [{
64
64
  selector: '[stClickOutside]',
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-directives-click-outside.mjs","sources":["../../../projects/sdk/directives/click-outside/src/click-outside.directive.ts","../../../projects/sdk/directives/click-outside/sixbell-telco-sdk-directives-click-outside.ts"],"sourcesContent":["import { Directive, ElementRef, inject, output } from '@angular/core';\n\n/**\n * Directive that detects clicks outside of an element and emits an event when they occur.\n *\n * This directive is useful for implementing dismissible UI components like dropdowns,\n * modals, and popups that should close when a user clicks outside of them.\n *\n * @example\n * ```html\n * <!-- Basic usage -->\n * <div stClickOutside (outsideClick)=\"closeDropdown()\">\n * Dropdown content\n * </div>\n *\n * <!-- With conditional behavior -->\n * <div stClickOutside (outsideClick)=\"isOpen ? closeDropdown() : null\">\n * Dropdown content that only closes when open\n * </div>\n * ```\n *\n * @usageNotes\n * The directive emits the `outsideClick` event when a click occurs outside\n * the element it's attached to. It does not automatically hide or modify\n * the element - you need to handle that in your component logic.\n *\n * Common use cases include:\n * - Closing dropdowns when clicking elsewhere on the page\n * - Dismissing modals when clicking outside the modal content\n * - Hiding tooltips or popovers when clicking outside\n *\n * @publicApi\n */\n@Directive({\n\tselector: '[stClickOutside]',\n\tstandalone: true,\n\thost: {\n\t\t'(document:click)': 'clickedOutside($event)',\n\t},\n})\nexport class ClickOutsideDirective {\n\t/**\n\t * Event emitted when a click occurs outside the element.\n\t *\n\t * @example\n\t * ```html\n\t * <div stClickOutside (outsideClick)=\"handleOutsideClick()\">...</div>\n\t * ```\n\t */\n\toutsideClick = output<void>();\n\n\tprivate readonly elementRef = inject(ElementRef);\n\n\t/**\n\t * Listens for clicks on the document and determines if they occurred\n\t * outside the element this directive is attached to.\n\t *\n\t * @param event The mouse event from the document click\n\t */\n\tclickedOutside(event: MouseEvent) {\n\t\tconst clickedInside = this.elementRef.nativeElement.contains(event.target);\n\t\tif (!clickedInside) {\n\t\t\tthis.outsideClick.emit();\n\t\t}\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BG;MAQU,qBAAqB,CAAA;AACjC;;;;;;;AAOG;IACH,YAAY,GAAG,MAAM,EAAQ;AAEZ,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAEhD;;;;;AAKG;AACH,IAAA,cAAc,CAAC,KAAiB,EAAA;AAC/B,QAAA,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC;QAC1E,IAAI,CAAC,aAAa,EAAE;AACnB,YAAA,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE;;;uGAtBd,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,OAAA,EAAA,EAAA,YAAA,EAAA,cAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,gBAAA,EAAA,wBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACL,wBAAA,kBAAkB,EAAE,wBAAwB;AAC5C,qBAAA;AACD,iBAAA;;;ACvCD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-directives-click-outside.mjs","sources":["../../../projects/sdk/directives/click-outside/src/click-outside.directive.ts","../../../projects/sdk/directives/click-outside/sixbell-telco-sdk-directives-click-outside.ts"],"sourcesContent":["import { Directive, ElementRef, inject, output } from '@angular/core';\n\n/**\n * Directive that detects clicks outside of an element and emits an event when they occur.\n *\n * This directive is useful for implementing dismissible UI components like dropdowns,\n * modals, and popups that should close when a user clicks outside of them.\n *\n * @example\n * ```html\n * <!-- Basic usage -->\n * <div stClickOutside (outsideClick)=\"closeDropdown()\">\n * Dropdown content\n * </div>\n *\n * <!-- With conditional behavior -->\n * <div stClickOutside (outsideClick)=\"isOpen ? closeDropdown() : null\">\n * Dropdown content that only closes when open\n * </div>\n * ```\n *\n * @usageNotes\n * The directive emits the `outsideClick` event when a click occurs outside\n * the element it's attached to. It does not automatically hide or modify\n * the element - you need to handle that in your component logic.\n *\n * Common use cases include:\n * - Closing dropdowns when clicking elsewhere on the page\n * - Dismissing modals when clicking outside the modal content\n * - Hiding tooltips or popovers when clicking outside\n *\n * @publicApi\n */\n@Directive({\n\tselector: '[stClickOutside]',\n\tstandalone: true,\n\thost: {\n\t\t'(document:click)': 'clickedOutside($event)',\n\t},\n})\nexport class ClickOutsideDirective {\n\t/**\n\t * Event emitted when a click occurs outside the element.\n\t *\n\t * @example\n\t * ```html\n\t * <div stClickOutside (outsideClick)=\"handleOutsideClick()\">...</div>\n\t * ```\n\t */\n\toutsideClick = output<void>();\n\n\tprivate readonly elementRef = inject(ElementRef);\n\n\t/**\n\t * Listens for clicks on the document and determines if they occurred\n\t * outside the element this directive is attached to.\n\t *\n\t * @param event The mouse event from the document click\n\t */\n\tclickedOutside(event: MouseEvent) {\n\t\tconst clickedInside = this.elementRef.nativeElement.contains(event.target);\n\t\tif (!clickedInside) {\n\t\t\tthis.outsideClick.emit();\n\t\t}\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BG;MAQU,qBAAqB,CAAA;AACjC;;;;;;;AAOG;IACH,YAAY,GAAG,MAAM,EAAQ;AAEZ,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAEhD;;;;;AAKG;AACH,IAAA,cAAc,CAAC,KAAiB,EAAA;AAC/B,QAAA,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC;QAC1E,IAAI,CAAC,aAAa,EAAE;AACnB,YAAA,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE;QACzB;IACD;wGAxBY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,OAAA,EAAA,EAAA,YAAA,EAAA,cAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,gBAAA,EAAA,wBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACL,wBAAA,kBAAkB,EAAE,wBAAwB;AAC5C,qBAAA;AACD,iBAAA;;;ACvCD;;AAEG;;;;"}
@@ -43,10 +43,10 @@ class OnlyNumbersDirective {
43
43
  }
44
44
  return true;
45
45
  }
46
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: OnlyNumbersDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
47
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.0", type: OnlyNumbersDirective, isStandalone: true, selector: "[stOnlyNumbers]", inputs: { stOnlyNumbers: { classPropertyName: "stOnlyNumbers", publicName: "stOnlyNumbers", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "paste": "blockPaste($event)", "keypress": "onKeyPress($event)" } }, ngImport: i0 });
46
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: OnlyNumbersDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
47
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.25", type: OnlyNumbersDirective, isStandalone: true, selector: "[stOnlyNumbers]", inputs: { stOnlyNumbers: { classPropertyName: "stOnlyNumbers", publicName: "stOnlyNumbers", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "paste": "blockPaste($event)", "keypress": "onKeyPress($event)" } }, ngImport: i0 });
48
48
  }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: OnlyNumbersDirective, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: OnlyNumbersDirective, decorators: [{
50
50
  type: Directive,
51
51
  args: [{
52
52
  selector: '[stOnlyNumbers]',
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-directives-only-numbers.mjs","sources":["../../../projects/sdk/directives/only-numbers/src/only-numbers.directive.ts","../../../projects/sdk/directives/only-numbers/sixbell-telco-sdk-directives-only-numbers.ts"],"sourcesContent":["import { Directive, input } from '@angular/core';\n\n/**\n * Directive that restricts input to numeric characters only.\n *\n * Use the `stOnlyNumbers` selector to enable numeric-only input restriction.\n *\n * @example\n * ```html\n * <!-- Modern usage (recommended) -->\n * <input stOnlyNumbers />\n * <input [stOnlyNumbers]=\"true\" />\n * ```\n */\n@Directive({\n\tselector: '[stOnlyNumbers]',\n\tstandalone: true,\n\thost: {\n\t\t'(paste)': 'blockPaste($event)',\n\t\t'(keypress)': 'onKeyPress($event)',\n\t},\n})\nexport class OnlyNumbersDirective {\n\t/**\n\t * Enable numeric-only input restriction.\n\t * @default false\n\t */\n\tstOnlyNumbers = input<boolean>(false);\n\n\tblockPaste(event: ClipboardEvent) {\n\t\tif (!this.stOnlyNumbers()) return true;\n\n\t\tconst justNumbersReg = new RegExp('^[0-9]+$');\n\t\tconst clipboardData = event.clipboardData;\n\t\tif (!clipboardData) return true;\n\n\t\tconst pastedValue = clipboardData.getData('Text');\n\t\tif (!justNumbersReg.test(pastedValue)) {\n\t\t\tevent.preventDefault();\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tonKeyPress(event: KeyboardEvent) {\n\t\tif (!this.stOnlyNumbers()) return true;\n\n\t\tconst key = event.key;\n\t\tif (!/^[0-9]$/.test(key)) {\n\t\t\tevent.preventDefault();\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;AAWG;MASU,oBAAoB,CAAA;AAChC;;;AAGG;AACH,IAAA,aAAa,GAAG,KAAK,CAAU,KAAK,CAAC;AAErC,IAAA,UAAU,CAAC,KAAqB,EAAA;AAC/B,QAAA,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;AAAE,YAAA,OAAO,IAAI;AAEtC,QAAA,MAAM,cAAc,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC;AAC7C,QAAA,MAAM,aAAa,GAAG,KAAK,CAAC,aAAa;AACzC,QAAA,IAA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AAA,YAAY,EAAE,oBAAoB;AAClC,qBAAA;AACD,iBAAA;;;ACrBD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-directives-only-numbers.mjs","sources":["../../../projects/sdk/directives/only-numbers/src/only-numbers.directive.ts","../../../projects/sdk/directives/only-numbers/sixbell-telco-sdk-directives-only-numbers.ts"],"sourcesContent":["import { Directive, input } from '@angular/core';\n\n/**\n * Directive that restricts input to numeric characters only.\n *\n * Use the `stOnlyNumbers` selector to enable numeric-only input restriction.\n *\n * @example\n * ```html\n * <!-- Modern usage (recommended) -->\n * <input stOnlyNumbers />\n * <input [stOnlyNumbers]=\"true\" />\n * ```\n */\n@Directive({\n\tselector: '[stOnlyNumbers]',\n\tstandalone: true,\n\thost: {\n\t\t'(paste)': 'blockPaste($event)',\n\t\t'(keypress)': 'onKeyPress($event)',\n\t},\n})\nexport class OnlyNumbersDirective {\n\t/**\n\t * Enable numeric-only input restriction.\n\t * @default false\n\t */\n\tstOnlyNumbers = input<boolean>(false);\n\n\tblockPaste(event: ClipboardEvent) {\n\t\tif (!this.stOnlyNumbers()) return true;\n\n\t\tconst justNumbersReg = new RegExp('^[0-9]+$');\n\t\tconst clipboardData = event.clipboardData;\n\t\tif (!clipboardData) return true;\n\n\t\tconst pastedValue = clipboardData.getData('Text');\n\t\tif (!justNumbersReg.test(pastedValue)) {\n\t\t\tevent.preventDefault();\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tonKeyPress(event: KeyboardEvent) {\n\t\tif (!this.stOnlyNumbers()) return true;\n\n\t\tconst key = event.key;\n\t\tif (!/^[0-9]$/.test(key)) {\n\t\t\tevent.preventDefault();\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;AAWG;MASU,oBAAoB,CAAA;AAChC;;;AAGG;AACH,IAAA,aAAa,GAAG,KAA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BAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBARhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACL,wBAAA,SAAS,EAAE,oBAAoB;AAC/B,wBAAA,YAAY,EAAE,oBAAoB;AAClC,qBAAA;AACD,iBAAA;;;ACrBD;;AAEG;;;;"}
@@ -138,10 +138,10 @@ class TextDirective {
138
138
  overflow: this.stTextOverflow(),
139
139
  }), this.stTextClass(), this.hostStaticClasses);
140
140
  });
141
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
142
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.0", type: TextDirective, isStandalone: true, selector: "[stText]", inputs: { stText: { classPropertyName: "stText", publicName: "stText", isSignal: true, isRequired: false, transformFunction: null }, stTextWeight: { classPropertyName: "stTextWeight", publicName: "stTextWeight", isSignal: true, isRequired: false, transformFunction: null }, stTextColor: { classPropertyName: "stTextColor", publicName: "stTextColor", isSignal: true, isRequired: false, transformFunction: null }, stTextOverflow: { classPropertyName: "stTextOverflow", publicName: "stTextOverflow", isSignal: true, isRequired: false, transformFunction: null }, stTextLineClamp: { classPropertyName: "stTextLineClamp", publicName: "stTextLineClamp", isSignal: true, isRequired: false, transformFunction: null }, stTextClass: { classPropertyName: "stTextClass", publicName: "stTextClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "computedClasses()" } }, ngImport: i0 });
141
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
142
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.25", type: TextDirective, isStandalone: true, selector: "[stText]", inputs: { stText: { classPropertyName: "stText", publicName: "stText", isSignal: true, isRequired: false, transformFunction: null }, stTextWeight: { classPropertyName: "stTextWeight", publicName: "stTextWeight", isSignal: true, isRequired: false, transformFunction: null }, stTextColor: { classPropertyName: "stTextColor", publicName: "stTextColor", isSignal: true, isRequired: false, transformFunction: null }, stTextOverflow: { classPropertyName: "stTextOverflow", publicName: "stTextOverflow", isSignal: true, isRequired: false, transformFunction: null }, stTextLineClamp: { classPropertyName: "stTextLineClamp", publicName: "stTextLineClamp", isSignal: true, isRequired: false, transformFunction: null }, stTextClass: { classPropertyName: "stTextClass", publicName: "stTextClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "computedClasses()" } }, ngImport: i0 });
143
143
  }
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TextDirective, decorators: [{
144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TextDirective, decorators: [{
145
145
  type: Directive,
146
146
  args: [{
147
147
  selector: '[stText]',
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-directives-text.mjs","sources":["../../../projects/sdk/directives/text/src/text.directive.ts","../../../projects/sdk/directives/text/sixbell-telco-sdk-directives-text.ts"],"sourcesContent":["import { computed, Directive, ElementRef, inject, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\n/**\n * @internal\n * CSS class generator for text presets using Major Second scale (1.125 ratio, 14px base).\n * Each preset bundles font-size, line-height, letter-spacing, font-family, and a default font-weight.\n */\nconst textPresets = cva([], {\n\tvariants: {\n\t\tpreset: {\n\t\t\t'1': ['text-[28.38px]', 'text-balance', 'font-heading', 'leading-tight', 'tracking-wide', 'font-bold'],\n\t\t\t'2': ['text-[25.23px]', 'text-balance', 'font-heading', 'leading-tight', 'tracking-wide', 'font-bold'],\n\t\t\t'3': ['text-[22.43px]', 'text-balance', 'font-heading', 'leading-tight', 'tracking-wide', 'font-semibold'],\n\t\t\t'4': ['text-[19.93px]', 'text-balance', 'font-heading', 'leading-snug', 'tracking-normal', 'font-semibold'],\n\t\t\t'5': ['text-[17.72px]', 'text-balance', 'font-heading', 'leading-snug', 'tracking-normal', 'font-medium'],\n\t\t\t'6': ['text-[15.75px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-normal', 'font-medium'],\n\t\t\t'7': ['text-[14px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight', 'font-normal'],\n\t\t\t'8': ['text-[12.44px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight', 'font-normal'],\n\t\t\t'9': ['text-[11.06px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight', 'font-normal'],\n\t\t\t'10': ['text-[9.83px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-normal', 'font-normal'],\n\t\t},\n\t\tweight: {\n\t\t\tbold: 'font-bold',\n\t\t\tsemibold: 'font-semibold',\n\t\t\tmedium: 'font-medium',\n\t\t\tnormal: 'font-normal',\n\t\t\tlight: 'font-light',\n\t\t\tinherit: 'font-inherit',\n\t\t},\n\t\tcolor: {\n\t\t\tbase: 'text-base-content',\n\t\t\t'base-placeholder': 'text-neutral',\n\t\t\tprimary: 'text-primary',\n\t\t\tsecondary: 'text-secondary',\n\t\t\taccent: 'text-accent',\n\t\t\tinherit: 'text-inherit',\n\t\t},\n\t\toverflow: {\n\t\t\tclip: 'text-clip',\n\t\t\tellipsis: 'text-ellipsis',\n\t\t\ttruncate: 'text-truncate',\n\t\t},\n\t\tlineClamp: {\n\t\t\t'1': 'line-clamp-1',\n\t\t\t'2': 'line-clamp-2',\n\t\t\t'3': 'line-clamp-3',\n\t\t\t'4': 'line-clamp-4',\n\t\t\t'5': 'line-clamp-5',\n\t\t\t'6': 'line-clamp-6',\n\t\t\tnone: 'line-clamp-none',\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tpreset: '7',\n\t\tcolor: 'inherit',\n\t\toverflow: 'clip',\n\t\tlineClamp: undefined,\n\t\tweight: 'normal',\n\t},\n});\n\n/** Numbered text preset (1 = largest, 10 = smallest) */\nexport type TextPreset = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | null | undefined;\n\n/** Font weight options for text */\nexport type TextWeight = 'bold' | 'semibold' | 'medium' | 'normal' | 'light' | 'inherit' | null | undefined;\n\n/** Text color variants */\nexport type TextColor = 'base' | 'base-placeholder' | 'primary' | 'secondary' | 'accent' | 'inherit' | null | undefined;\n\n/** Text overflow handling methods */\nexport type TextOverflow = 'clip' | 'ellipsis' | 'truncate' | null | undefined;\n\n/** Line clamp options (number of visible lines) */\nexport type TextLineClamp = '1' | '2' | '3' | '4' | '5' | '6' | 'none' | null | undefined;\n\n/** Configuration object for text styles */\nexport type TextProps = {\n\tpreset?: TextPreset;\n\tweight?: TextWeight;\n\tcolor?: TextColor;\n\toverflow?: TextOverflow;\n\tlineClamp?: TextLineClamp;\n};\n\n/**\n * A directive for applying consistent, preset-based typography styles using Tailwind CSS.\n *\n * Uses a numbered preset system (1-10) based on a Major Second scale (1.125 ratio, 14px base).\n * Each preset bundles sensible defaults for font-size, line-height, letter-spacing, and font-weight.\n * Weight, color, and overflow can be overridden independently.\n *\n * External Tailwind classes on the host element are automatically merged via `tailwind-merge`,\n * so they override conflicting directive defaults (e.g., `class=\"text-error\"` overrides the\n * default `text-base-content` color).\n *\n * @example\n * ```html\n * <!-- Basic: preset for styling, HTML tag for semantics -->\n * <h2 stText=\"3\">Section Title</h2>\n *\n * <!-- External class overrides directive default color -->\n * <h1 stText=\"1\" class=\"mb-4 text-primary\">Hero Title</h1>\n *\n * <!-- Explicit directive color -->\n * <p stText=\"7\" stTextWeight=\"bold\" stTextColor=\"primary\">Body text</p>\n *\n * <!-- Small label -->\n * <span stText=\"9\" class=\"uppercase tracking-wider\">Label</span>\n * ```\n *\n * @publicApi\n */\n@Directive({\n\tselector: '[stText]',\n\tstandalone: true,\n\thost: {\n\t\t'[class]': 'computedClasses()',\n\t},\n})\nexport class TextDirective {\n\t/**\n\t * Text preset (1 = largest, 10 = smallest).\n\t * Each preset bundles defaults for font-size, line-height, letter-spacing, and font-weight.\n\t * @defaultValue '7' (14px body text)\n\t */\n\tstText = input<TextPreset>('7');\n\n\t/**\n\t * Override the preset default font weight.\n\t * @defaultValue 'normal' (preset default weight)\n\t */\n\tstTextWeight = input<TextWeight>('normal');\n\n\t/**\n\t * Text color variant.\n\t * @defaultValue 'inherit' (text-inherit)\n\t */\n\tstTextColor = input<TextColor>('inherit');\n\n\t/**\n\t * Text overflow handling.\n\t * @defaultValue 'clip'\n\t */\n\tstTextOverflow = input<TextOverflow>('clip');\n\n\t/**\n\t * Line clamp — limits visible text to a given number of lines.\n\t * When not set, no line-clamp class is applied.\n\t */\n\tstTextLineClamp = input<TextLineClamp>(undefined);\n\n\t/**\n\t * Extra CSS classes merged after directive classes via `tailwind-merge`.\n\t * Useful for programmatic overrides (e.g., forwarded from a wrapper component).\n\t * Conflicting utilities in `stTextClass` win over directive defaults.\n\t */\n\tstTextClass = input<string>('');\n\n\t/** @internal Static classes captured from the host element before the first render. */\n\tprivate readonly hostStaticClasses = inject(ElementRef).nativeElement.getAttribute('class') ?? '';\n\n\t/** @internal Computed CSS class string merged via host binding */\n\tprotected computedClasses = computed(() => {\n\t\tconst weight = this.stTextWeight();\n\t\tconst color = this.stTextColor();\n\t\tconst lineClamp = this.stTextLineClamp();\n\t\treturn cn(\n\t\t\ttextPresets({\n\t\t\t\tpreset: this.stText(),\n\t\t\t\t...(weight ? { weight } : {}),\n\t\t\t\t...(color ? { color } : {}),\n\t\t\t\t...(lineClamp ? { lineClamp } : {}),\n\t\t\t\toverflow: this.stTextOverflow(),\n\t\t\t}),\n\t\t\tthis.stTextClass(),\n\t\t\tthis.hostStaticClasses,\n\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;AC1HD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-directives-text.mjs","sources":["../../../projects/sdk/directives/text/src/text.directive.ts","../../../projects/sdk/directives/text/sixbell-telco-sdk-directives-text.ts"],"sourcesContent":["import { computed, Directive, ElementRef, inject, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { cva } from 'class-variance-authority';\n\n/**\n * @internal\n * CSS class generator for text presets using Major Second scale (1.125 ratio, 14px base).\n * Each preset bundles font-size, line-height, letter-spacing, font-family, and a default font-weight.\n */\nconst textPresets = cva([], {\n\tvariants: {\n\t\tpreset: {\n\t\t\t'1': ['text-[28.38px]', 'text-balance', 'font-heading', 'leading-tight', 'tracking-wide', 'font-bold'],\n\t\t\t'2': ['text-[25.23px]', 'text-balance', 'font-heading', 'leading-tight', 'tracking-wide', 'font-bold'],\n\t\t\t'3': ['text-[22.43px]', 'text-balance', 'font-heading', 'leading-tight', 'tracking-wide', 'font-semibold'],\n\t\t\t'4': ['text-[19.93px]', 'text-balance', 'font-heading', 'leading-snug', 'tracking-normal', 'font-semibold'],\n\t\t\t'5': ['text-[17.72px]', 'text-balance', 'font-heading', 'leading-snug', 'tracking-normal', 'font-medium'],\n\t\t\t'6': ['text-[15.75px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-normal', 'font-medium'],\n\t\t\t'7': ['text-[14px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight', 'font-normal'],\n\t\t\t'8': ['text-[12.44px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight', 'font-normal'],\n\t\t\t'9': ['text-[11.06px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-tight', 'font-normal'],\n\t\t\t'10': ['text-[9.83px]', 'text-pretty', 'font-body', 'leading-normal', 'tracking-normal', 'font-normal'],\n\t\t},\n\t\tweight: {\n\t\t\tbold: 'font-bold',\n\t\t\tsemibold: 'font-semibold',\n\t\t\tmedium: 'font-medium',\n\t\t\tnormal: 'font-normal',\n\t\t\tlight: 'font-light',\n\t\t\tinherit: 'font-inherit',\n\t\t},\n\t\tcolor: {\n\t\t\tbase: 'text-base-content',\n\t\t\t'base-placeholder': 'text-neutral',\n\t\t\tprimary: 'text-primary',\n\t\t\tsecondary: 'text-secondary',\n\t\t\taccent: 'text-accent',\n\t\t\tinherit: 'text-inherit',\n\t\t},\n\t\toverflow: {\n\t\t\tclip: 'text-clip',\n\t\t\tellipsis: 'text-ellipsis',\n\t\t\ttruncate: 'text-truncate',\n\t\t},\n\t\tlineClamp: {\n\t\t\t'1': 'line-clamp-1',\n\t\t\t'2': 'line-clamp-2',\n\t\t\t'3': 'line-clamp-3',\n\t\t\t'4': 'line-clamp-4',\n\t\t\t'5': 'line-clamp-5',\n\t\t\t'6': 'line-clamp-6',\n\t\t\tnone: 'line-clamp-none',\n\t\t},\n\t},\n\tcompoundVariants: [],\n\tdefaultVariants: {\n\t\tpreset: '7',\n\t\tcolor: 'inherit',\n\t\toverflow: 'clip',\n\t\tlineClamp: undefined,\n\t\tweight: 'normal',\n\t},\n});\n\n/** Numbered text preset (1 = largest, 10 = smallest) */\nexport type TextPreset = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | null | undefined;\n\n/** Font weight options for text */\nexport type TextWeight = 'bold' | 'semibold' | 'medium' | 'normal' | 'light' | 'inherit' | null | undefined;\n\n/** Text color variants */\nexport type TextColor = 'base' | 'base-placeholder' | 'primary' | 'secondary' | 'accent' | 'inherit' | null | undefined;\n\n/** Text overflow handling methods */\nexport type TextOverflow = 'clip' | 'ellipsis' | 'truncate' | null | undefined;\n\n/** Line clamp options (number of visible lines) */\nexport type TextLineClamp = '1' | '2' | '3' | '4' | '5' | '6' | 'none' | null | undefined;\n\n/** Configuration object for text styles */\nexport type TextProps = {\n\tpreset?: TextPreset;\n\tweight?: TextWeight;\n\tcolor?: TextColor;\n\toverflow?: TextOverflow;\n\tlineClamp?: TextLineClamp;\n};\n\n/**\n * A directive for applying consistent, preset-based typography styles using Tailwind CSS.\n *\n * Uses a numbered preset system (1-10) based on a Major Second scale (1.125 ratio, 14px base).\n * Each preset bundles sensible defaults for font-size, line-height, letter-spacing, and font-weight.\n * Weight, color, and overflow can be overridden independently.\n *\n * External Tailwind classes on the host element are automatically merged via `tailwind-merge`,\n * so they override conflicting directive defaults (e.g., `class=\"text-error\"` overrides the\n * default `text-base-content` color).\n *\n * @example\n * ```html\n * <!-- Basic: preset for styling, HTML tag for semantics -->\n * <h2 stText=\"3\">Section Title</h2>\n *\n * <!-- External class overrides directive default color -->\n * <h1 stText=\"1\" class=\"mb-4 text-primary\">Hero Title</h1>\n *\n * <!-- Explicit directive color -->\n * <p stText=\"7\" stTextWeight=\"bold\" stTextColor=\"primary\">Body text</p>\n *\n * <!-- Small label -->\n * <span stText=\"9\" class=\"uppercase tracking-wider\">Label</span>\n * ```\n *\n * @publicApi\n */\n@Directive({\n\tselector: '[stText]',\n\tstandalone: true,\n\thost: {\n\t\t'[class]': 'computedClasses()',\n\t},\n})\nexport class TextDirective {\n\t/**\n\t * Text preset (1 = largest, 10 = smallest).\n\t * Each preset bundles defaults for font-size, line-height, letter-spacing, and font-weight.\n\t * @defaultValue '7' (14px body text)\n\t */\n\tstText = input<TextPreset>('7');\n\n\t/**\n\t * Override the preset default font weight.\n\t * @defaultValue 'normal' (preset default weight)\n\t */\n\tstTextWeight = input<TextWeight>('normal');\n\n\t/**\n\t * Text color variant.\n\t * @defaultValue 'inherit' (text-inherit)\n\t */\n\tstTextColor = input<TextColor>('inherit');\n\n\t/**\n\t * Text overflow handling.\n\t * @defaultValue 'clip'\n\t */\n\tstTextOverflow = input<TextOverflow>('clip');\n\n\t/**\n\t * Line clamp — limits visible text to a given number of lines.\n\t * When not set, no line-clamp class is applied.\n\t */\n\tstTextLineClamp = input<TextLineClamp>(undefined);\n\n\t/**\n\t * Extra CSS classes merged after directive classes via `tailwind-merge`.\n\t * Useful for programmatic overrides (e.g., forwarded from a wrapper component).\n\t * Conflicting utilities in `stTextClass` win over directive defaults.\n\t */\n\tstTextClass = input<string>('');\n\n\t/** @internal Static classes captured from the host element before the first render. */\n\tprivate readonly hostStaticClasses = inject(ElementRef).nativeElement.getAttribute('class') ?? '';\n\n\t/** @internal Computed CSS class string merged via host binding */\n\tprotected computedClasses = computed(() => {\n\t\tconst weight = this.stTextWeight();\n\t\tconst color = this.stTextColor();\n\t\tconst lineClamp = this.stTextLineClamp();\n\t\treturn cn(\n\t\t\ttextPresets({\n\t\t\t\tpreset: this.stText(),\n\t\t\t\t...(weight ? { weight } : {}),\n\t\t\t\t...(color ? { color } : {}),\n\t\t\t\t...(lineClamp ? { lineClamp } : {}),\n\t\t\t\toverflow: this.stTextOverflow(),\n\t\t\t}),\n\t\t\tthis.stTextClass(),\n\t\t\tthis.hostStaticClasses,\n\t\t);\n\t});\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAIA;;;;AAIG;AACH,MAAM,WAAW,GAAG,GAAG,CAAC,EAAE,EAAE;AAC3B,IAAA,QAAQ,EAAE;AACT,QAAA,MAAM,EAAE;AACP,YAAA,GAAG,EAAE,CAAC,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,WAAW,CAAC;AACtG,YAAA,GAAG,EAAE,CAAC,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,WAAW,CAAC;AACtG,YAAA,GAAG,EAAE,CAAC,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,CAAC;AAC1G,YAAA,GAAG,EAAE,CAAC,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,CAAC;AAC3G,YAAA,GAAG,EAAE,CAAC,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,CAAC;AACz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AAA,IAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAPzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACL,wBAAA,SAAS,EAAE,mBAAmB;AAC9B,qBAAA;AACD,iBAAA;;;AC1HD;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-utils-cn.mjs","sources":["../../../projects/sdk/utils/cn/src/cn.ts","../../../projects/sdk/utils/cn/sixbell-telco-sdk-utils-cn.ts"],"sourcesContent":["import { clsx, type ClassValue } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...classes: ClassValue[]) {\n\treturn twMerge(clsx(classes));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAGgB,SAAA,EAAE,CAAC,GAAG,OAAqB,EAAA;AAC1C,IAAA,OAAO,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAC9B;;ACLA;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-utils-cn.mjs","sources":["../../../projects/sdk/utils/cn/src/cn.ts","../../../projects/sdk/utils/cn/sixbell-telco-sdk-utils-cn.ts"],"sourcesContent":["import { clsx, type ClassValue } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...classes: ClassValue[]) {\n\treturn twMerge(clsx(classes));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAGM,SAAU,EAAE,CAAC,GAAG,OAAqB,EAAA;AAC1C,IAAA,OAAO,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAC9B;;ACLA;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-utils-date.mjs","sources":["../../../projects/sdk/utils/date/src/date-utils.ts","../../../projects/sdk/utils/date/sixbell-telco-sdk-utils-date.ts"],"sourcesContent":["import dayjs from 'dayjs';\n\n/**\n * Supported display / parsing formats for date utilities.\n * Internally all calculations use ISO `YYYY-MM-DD` and convert to the chosen format for display.\n */\nexport const SUPPORTED_DATE_FORMATS = [\n\t'DD/MM/YYYY', // Day/Month/Year (European)\n\t'MM/DD/YYYY', // Month/Day/Year (US)\n\t'YYYY-MM-DD', // Year-Month-Day (ISO)\n\t'DD-MM-YYYY', // Day-Month-Year (European with dashes)\n\t'MM-DD-YYYY', // Month-Day-Year (US with dashes)\n\t'YYYY/MM/DD', // Year/Month/Day (ISO with slashes)\n\t'DD.MM.YYYY', // Day.Month.Year (German style)\n\t'MM.DD.YYYY', // Month.Day.Year (US with dots)\n\t'YYYY.MM.DD', // Year.Month.Day (ISO with dots)\n] as const;\n\n/** Union type of all supported format strings. */\nexport type SupportedDateFormat = (typeof SUPPORTED_DATE_FORMATS)[number];\n\n/**\n * Supported time-only formats\n */\nexport const SUPPORTED_TIME_FORMATS = ['HH:mm', 'HH:mm:ss'] as const;\nexport type SupportedTimeFormat = (typeof SUPPORTED_TIME_FORMATS)[number];\n\n// Commonly used format constants\nexport const ISO_DATE_FORMAT: SupportedDateFormat = 'YYYY-MM-DD';\nexport const TIME_MINUTES_FORMAT: SupportedTimeFormat = 'HH:mm';\nexport const TIME_SECONDS_FORMAT: SupportedTimeFormat = 'HH:mm:ss';\n\n// 12-hour time format constants\nexport const TIME_12H_MINUTES_FORMAT = 'h:mm A';\nexport const TIME_12H_SECONDS_FORMAT = 'h:mm:ss A';\n\n// Application-wide default UI date display format\n\n/**\n * Quick action types for range picker\n */\nexport type QuickRangePreset = 'last7Days' | 'last30Days' | 'last6Months' | 'lastYear';\n\n/**\n * Date range representation\n */\nexport interface DateRange {\n\tstart: string;\n\tend: string;\n}\n\n/**\n * Reusable date utility service for date operations across the SDK.\n * Provides consistent date handling, formatting, and range operations.\n */\nexport class DateUtils {\n\t/**\n\t * Convert a date string to ISO format (YYYY-MM-DD)\n\t */\n\tstatic toISODate(date: string, format?: SupportedDateFormat): string {\n\t\tif (!date) return '';\n\t\t// If already ISO, return as-is to avoid misparsing when a display format is provided\n\t\tif (/^\\d{4}-\\d{2}-\\d{2}$/.test(date)) return date;\n\t\tif (format && format !== 'YYYY-MM-DD') {\n\t\t\tconst parsed = dayjs(date, format, true);\n\t\t\treturn parsed.isValid() ? parsed.format('YYYY-MM-DD') : dayjs(date).format('YYYY-MM-DD');\n\t\t}\n\t\treturn dayjs(date).format('YYYY-MM-DD');\n\t}\n\n\t/**\n\t * Convert ISO date to display format\n\t */\n\tstatic toDisplayDate(isoDate: string, format: SupportedDateFormat): string {\n\t\tif (!isoDate) return '';\n\t\treturn dayjs(isoDate).format(format);\n\t}\n\n\t/** Build a combined date-time format string, e.g. `YYYY-MM-DD HH:mm:ss` */\n\tstatic buildDateTimeFormat(dateFmt: SupportedDateFormat, timeFmt: SupportedTimeFormat): string {\n\t\treturn `${dateFmt} ${timeFmt}`;\n\t}\n\n\t/** Infer time format from a time string (returns seconds precision if length is 8) */\n\tstatic inferTimeFormat(time: string | null | undefined): SupportedTimeFormat {\n\t\treturn time?.length === 8 ? TIME_SECONDS_FORMAT : TIME_MINUTES_FORMAT;\n\t}\n\n\t/** Current time formatted per the provided time format */\n\tstatic timeNow(format: SupportedTimeFormat = TIME_SECONDS_FORMAT): string {\n\t\treturn dayjs().format(format);\n\t}\n\n\t/** Milliseconds since epoch for now */\n\tstatic nowMillis(): number {\n\t\treturn dayjs().valueOf();\n\t}\n\n\t/** Convert ISO date + time string into epoch milliseconds using provided time format */\n\tstatic toMillis(isoDate: string, time: string, timeFmt: SupportedTimeFormat): number | null {\n\t\tif (!isoDate || !time) return null;\n\t\tconst fmt = this.buildDateTimeFormat(ISO_DATE_FORMAT, timeFmt);\n\t\tconst dt = dayjs(`${isoDate} ${time}`, fmt);\n\t\treturn dt.isValid() ? dt.valueOf() : null;\n\t}\n\n\t/** Whether a given ISO date equals today (local) */\n\tstatic isTodayISO(isoDate: string): boolean {\n\t\treturn !!isoDate && isoDate === this.today();\n\t}\n\n\t/** End-of-day string for the given time format */\n\tstatic endOfDay(format: SupportedTimeFormat): string {\n\t\treturn format === TIME_SECONDS_FORMAT ? '23:59:59' : '23:59';\n\t}\n\n\t/** Start-of-day string for the given time format */\n\tstatic startOfDay(format: SupportedTimeFormat): string {\n\t\treturn format === TIME_SECONDS_FORMAT ? '00:00:00' : '00:00';\n\t}\n\n\t/** Checks if the provided time string represents end-of-day */\n\tstatic isEndOfDay(time: string | null | undefined): boolean {\n\t\treturn time === '23:59' || time === '23:59:59';\n\t}\n\n\t/**\n\t * Convert 24-hour time format to 12-hour format with AM/PM\n\t * @param time24h Time in HH:mm or HH:mm:ss format\n\t * @param includeSeconds Whether to include seconds in the output\n\t * @returns Time in 12-hour format (h:mm A or h:mm:ss A)\n\t */\n\tstatic to12HourFormat(time24h: string, includeSeconds: boolean = false): string {\n\t\tif (!time24h) return '';\n\n\t\t// Parse the time using dayjs\n\t\tconst timeFormat = includeSeconds ? TIME_SECONDS_FORMAT : TIME_MINUTES_FORMAT;\n\t\tconst timeObj = dayjs(`2000-01-01 ${time24h}`, `YYYY-MM-DD ${timeFormat}`);\n\n\t\tif (!timeObj.isValid()) return time24h;\n\n\t\tconst outputFormat = includeSeconds ? TIME_12H_SECONDS_FORMAT : TIME_12H_MINUTES_FORMAT;\n\t\treturn timeObj.format(outputFormat);\n\t}\n\n\t/**\n\t * Generate range value string for calendar components (ISO/ISO format)\n\t */\n\tstatic toRangeValue(range: DateRange | null): string {\n\t\tif (!range?.start || !range?.end) return '';\n\t\treturn `${range.start}/${range.end}`;\n\t}\n\n\t/**\n\t * Parse range value string from calendar components (ISO/ISO format)\n\t */\n\tstatic parseRangeValue(value: string): DateRange | null {\n\t\tif (!value?.includes('/')) return null;\n\t\tconst [start, end] = value.split('/');\n\t\tif (!start || !end) return null;\n\t\treturn { start, end };\n\t}\n\n\t/**\n\t * Generate quick range based on preset\n\t */\n\tstatic generateQuickRange(preset: QuickRangePreset): DateRange {\n\t\tconst today = dayjs();\n\t\tlet startDate: dayjs.Dayjs;\n\n\t\tswitch (preset) {\n\t\t\tcase 'last7Days':\n\t\t\t\tstartDate = today.subtract(6, 'day'); // inclusive of today => 7 days\n\t\t\t\tbreak;\n\t\t\tcase 'last30Days':\n\t\t\t\tstartDate = today.subtract(29, 'day');\n\t\t\t\tbreak;\n\t\t\tcase 'last6Months':\n\t\t\t\tstartDate = today.subtract(6, 'month');\n\t\t\t\tbreak;\n\t\t\tcase 'lastYear':\n\t\t\t\tstartDate = today.subtract(1, 'year');\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Unknown preset: ${preset}`);\n\t\t}\n\n\t\treturn {\n\t\t\tstart: startDate.format('YYYY-MM-DD'),\n\t\t\tend: today.format('YYYY-MM-DD'),\n\t\t};\n\t}\n\n\t/**\n\t * Generate a range representing the last N hours relative to now, including times.\n\t * Returns ISO date range plus HH:mm:ss start/end time strings.\n\t */\n\tstatic generateLastHoursRange(hours: number): { range: DateRange; startTime: string; endTime: string } {\n\t\tconst now = dayjs();\n\t\tconst start = now.subtract(hours, 'hour');\n\t\treturn {\n\t\t\trange: {\n\t\t\t\tstart: start.format('YYYY-MM-DD'),\n\t\t\t\tend: now.format('YYYY-MM-DD'),\n\t\t\t},\n\t\t\tstartTime: start.format('HH:mm:ss'),\n\t\t\tendTime: now.format('HH:mm:ss'),\n\t\t};\n\t}\n\n\t/**\n\t * Validate date range\n\t */\n\tstatic isValidRange(range: DateRange | null): boolean {\n\t\tif (!range?.start || !range?.end) return false;\n\t\treturn dayjs(range.start).isValid() && dayjs(range.end).isValid();\n\t}\n\n\t/**\n\t * Check if a date is valid\n\t */\n\tstatic isValidDate(date: string): boolean {\n\t\treturn dayjs(date).isValid();\n\t}\n\n\t/**\n\t * Get today's date in ISO format\n\t */\n\tstatic today(): string {\n\t\treturn dayjs().format('YYYY-MM-DD');\n\t}\n\n\t/**\n\t * Get yesterday's date in ISO format\n\t */\n\tstatic yesterday(): string {\n\t\treturn dayjs().subtract(1, 'day').format('YYYY-MM-DD');\n\t}\n\n\t/**\n\t * Get tomorrow's date in ISO format\n\t */\n\tstatic tomorrow(): string {\n\t\treturn dayjs().add(1, 'day').format('YYYY-MM-DD');\n\t}\n\n\t/**\n\t * Add/subtract time from a date\n\t */\n\tstatic addTime(date: string, amount: number, unit: dayjs.ManipulateType): string {\n\t\treturn dayjs(date).add(amount, unit).format('YYYY-MM-DD');\n\t}\n\n\t/**\n\t * Get difference between two dates\n\t */\n\tstatic diff(date1: string, date2: string, unit: dayjs.QUnitType = 'day'): number {\n\t\treturn dayjs(date1).diff(dayjs(date2), unit);\n\t}\n\n\t/**\n\t * Check if date is between two dates (inclusive)\n\t */\n\tstatic isBetween(date: string, start: string, end: string): boolean {\n\t\tconst dateObj = dayjs(date);\n\t\tconst startObj = dayjs(start);\n\t\tconst endObj = dayjs(end);\n\t\treturn (dateObj.isAfter(startObj) || dateObj.isSame(startObj)) && (dateObj.isBefore(endObj) || dateObj.isSame(endObj));\n\t}\n\n\t/**\n\t * Format date with custom pattern\n\t */\n\tstatic format(date: string, pattern: string): string {\n\t\treturn dayjs(date).format(pattern);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;AAEA;;;AAGG;AACU,MAAA,sBAAsB,GAAG;AACrC,IAAA,YAAY;AACZ,IAAA,YAAY;AACZ,IAAA,YAAY;AACZ,IAAA,Y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CAAC,MAAM,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;;AAGvH;;AAEG;AACH,IAAA,OAAO,MAAM,CAAC,IAAY,EAAE,OAAe,EAAA;QAC1C,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;;AAEnC;;ACpRD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-utils-date.mjs","sources":["../../../projects/sdk/utils/date/src/date-utils.ts","../../../projects/sdk/utils/date/sixbell-telco-sdk-utils-date.ts"],"sourcesContent":["import dayjs from 'dayjs';\n\n/**\n * Supported display / parsing formats for date utilities.\n * Internally all calculations use ISO `YYYY-MM-DD` and convert to the chosen format for display.\n */\nexport const SUPPORTED_DATE_FORMATS = [\n\t'DD/MM/YYYY', // Day/Month/Year (European)\n\t'MM/DD/YYYY', // Month/Day/Year (US)\n\t'YYYY-MM-DD', // Year-Month-Day (ISO)\n\t'DD-MM-YYYY', // Day-Month-Year (European with dashes)\n\t'MM-DD-YYYY', // Month-Day-Year (US with dashes)\n\t'YYYY/MM/DD', // Year/Month/Day (ISO with slashes)\n\t'DD.MM.YYYY', // Day.Month.Year (German style)\n\t'MM.DD.YYYY', // Month.Day.Year (US with dots)\n\t'YYYY.MM.DD', // Year.Month.Day (ISO with dots)\n] as const;\n\n/** Union type of all supported format strings. */\nexport type SupportedDateFormat = (typeof SUPPORTED_DATE_FORMATS)[number];\n\n/**\n * Supported time-only formats\n */\nexport const SUPPORTED_TIME_FORMATS = ['HH:mm', 'HH:mm:ss'] as const;\nexport type SupportedTimeFormat = (typeof SUPPORTED_TIME_FORMATS)[number];\n\n// Commonly used format constants\nexport const ISO_DATE_FORMAT: SupportedDateFormat = 'YYYY-MM-DD';\nexport const TIME_MINUTES_FORMAT: SupportedTimeFormat = 'HH:mm';\nexport const TIME_SECONDS_FORMAT: SupportedTimeFormat = 'HH:mm:ss';\n\n// 12-hour time format constants\nexport const TIME_12H_MINUTES_FORMAT = 'h:mm A';\nexport const TIME_12H_SECONDS_FORMAT = 'h:mm:ss A';\n\n// Application-wide default UI date display format\n\n/**\n * Quick action types for range picker\n */\nexport type QuickRangePreset = 'last7Days' | 'last30Days' | 'last6Months' | 'lastYear';\n\n/**\n * Date range representation\n */\nexport interface DateRange {\n\tstart: string;\n\tend: string;\n}\n\n/**\n * Reusable date utility service for date operations across the SDK.\n * Provides consistent date handling, formatting, and range operations.\n */\nexport class DateUtils {\n\t/**\n\t * Convert a date string to ISO format (YYYY-MM-DD)\n\t */\n\tstatic toISODate(date: string, format?: SupportedDateFormat): string {\n\t\tif (!date) return '';\n\t\t// If already ISO, return as-is to avoid misparsing when a display format is provided\n\t\tif (/^\\d{4}-\\d{2}-\\d{2}$/.test(date)) return date;\n\t\tif (format && format !== 'YYYY-MM-DD') {\n\t\t\tconst parsed = dayjs(date, format, true);\n\t\t\treturn parsed.isValid() ? parsed.format('YYYY-MM-DD') : dayjs(date).format('YYYY-MM-DD');\n\t\t}\n\t\treturn dayjs(date).format('YYYY-MM-DD');\n\t}\n\n\t/**\n\t * Convert ISO date to display format\n\t */\n\tstatic toDisplayDate(isoDate: string, format: SupportedDateFormat): string {\n\t\tif (!isoDate) return '';\n\t\treturn dayjs(isoDate).format(format);\n\t}\n\n\t/** Build a combined date-time format string, e.g. `YYYY-MM-DD HH:mm:ss` */\n\tstatic buildDateTimeFormat(dateFmt: SupportedDateFormat, timeFmt: SupportedTimeFormat): string {\n\t\treturn `${dateFmt} ${timeFmt}`;\n\t}\n\n\t/** Infer time format from a time string (returns seconds precision if length is 8) */\n\tstatic inferTimeFormat(time: string | null | undefined): SupportedTimeFormat {\n\t\treturn time?.length === 8 ? TIME_SECONDS_FORMAT : TIME_MINUTES_FORMAT;\n\t}\n\n\t/** Current time formatted per the provided time format */\n\tstatic timeNow(format: SupportedTimeFormat = TIME_SECONDS_FORMAT): string {\n\t\treturn dayjs().format(format);\n\t}\n\n\t/** Milliseconds since epoch for now */\n\tstatic nowMillis(): number {\n\t\treturn dayjs().valueOf();\n\t}\n\n\t/** Convert ISO date + time string into epoch milliseconds using provided time format */\n\tstatic toMillis(isoDate: string, time: string, timeFmt: SupportedTimeFormat): number | null {\n\t\tif (!isoDate || !time) return null;\n\t\tconst fmt = this.buildDateTimeFormat(ISO_DATE_FORMAT, timeFmt);\n\t\tconst dt = dayjs(`${isoDate} ${time}`, fmt);\n\t\treturn dt.isValid() ? dt.valueOf() : null;\n\t}\n\n\t/** Whether a given ISO date equals today (local) */\n\tstatic isTodayISO(isoDate: string): boolean {\n\t\treturn !!isoDate && isoDate === this.today();\n\t}\n\n\t/** End-of-day string for the given time format */\n\tstatic endOfDay(format: SupportedTimeFormat): string {\n\t\treturn format === TIME_SECONDS_FORMAT ? '23:59:59' : '23:59';\n\t}\n\n\t/** Start-of-day string for the given time format */\n\tstatic startOfDay(format: SupportedTimeFormat): string {\n\t\treturn format === TIME_SECONDS_FORMAT ? '00:00:00' : '00:00';\n\t}\n\n\t/** Checks if the provided time string represents end-of-day */\n\tstatic isEndOfDay(time: string | null | undefined): boolean {\n\t\treturn time === '23:59' || time === '23:59:59';\n\t}\n\n\t/**\n\t * Convert 24-hour time format to 12-hour format with AM/PM\n\t * @param time24h Time in HH:mm or HH:mm:ss format\n\t * @param includeSeconds Whether to include seconds in the output\n\t * @returns Time in 12-hour format (h:mm A or h:mm:ss A)\n\t */\n\tstatic to12HourFormat(time24h: string, includeSeconds: boolean = false): string {\n\t\tif (!time24h) return '';\n\n\t\t// Parse the time using dayjs\n\t\tconst timeFormat = includeSeconds ? TIME_SECONDS_FORMAT : TIME_MINUTES_FORMAT;\n\t\tconst timeObj = dayjs(`2000-01-01 ${time24h}`, `YYYY-MM-DD ${timeFormat}`);\n\n\t\tif (!timeObj.isValid()) return time24h;\n\n\t\tconst outputFormat = includeSeconds ? TIME_12H_SECONDS_FORMAT : TIME_12H_MINUTES_FORMAT;\n\t\treturn timeObj.format(outputFormat);\n\t}\n\n\t/**\n\t * Generate range value string for calendar components (ISO/ISO format)\n\t */\n\tstatic toRangeValue(range: DateRange | null): string {\n\t\tif (!range?.start || !range?.end) return '';\n\t\treturn `${range.start}/${range.end}`;\n\t}\n\n\t/**\n\t * Parse range value string from calendar components (ISO/ISO format)\n\t */\n\tstatic parseRangeValue(value: string): DateRange | null {\n\t\tif (!value?.includes('/')) return null;\n\t\tconst [start, end] = value.split('/');\n\t\tif (!start || !end) return null;\n\t\treturn { start, end };\n\t}\n\n\t/**\n\t * Generate quick range based on preset\n\t */\n\tstatic generateQuickRange(preset: QuickRangePreset): DateRange {\n\t\tconst today = dayjs();\n\t\tlet startDate: dayjs.Dayjs;\n\n\t\tswitch (preset) {\n\t\t\tcase 'last7Days':\n\t\t\t\tstartDate = today.subtract(6, 'day'); // inclusive of today => 7 days\n\t\t\t\tbreak;\n\t\t\tcase 'last30Days':\n\t\t\t\tstartDate = today.subtract(29, 'day');\n\t\t\t\tbreak;\n\t\t\tcase 'last6Months':\n\t\t\t\tstartDate = today.subtract(6, 'month');\n\t\t\t\tbreak;\n\t\t\tcase 'lastYear':\n\t\t\t\tstartDate = today.subtract(1, 'year');\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthrow new Error(`Unknown preset: ${preset}`);\n\t\t}\n\n\t\treturn {\n\t\t\tstart: startDate.format('YYYY-MM-DD'),\n\t\t\tend: today.format('YYYY-MM-DD'),\n\t\t};\n\t}\n\n\t/**\n\t * Generate a range representing the last N hours relative to now, including times.\n\t * Returns ISO date range plus HH:mm:ss start/end time strings.\n\t */\n\tstatic generateLastHoursRange(hours: number): { range: DateRange; startTime: string; endTime: string } {\n\t\tconst now = dayjs();\n\t\tconst start = now.subtract(hours, 'hour');\n\t\treturn {\n\t\t\trange: {\n\t\t\t\tstart: start.format('YYYY-MM-DD'),\n\t\t\t\tend: now.format('YYYY-MM-DD'),\n\t\t\t},\n\t\t\tstartTime: start.format('HH:mm:ss'),\n\t\t\tendTime: now.format('HH:mm:ss'),\n\t\t};\n\t}\n\n\t/**\n\t * Validate date range\n\t */\n\tstatic isValidRange(range: DateRange | null): boolean {\n\t\tif (!range?.start || !range?.end) return false;\n\t\treturn dayjs(range.start).isValid() && dayjs(range.end).isValid();\n\t}\n\n\t/**\n\t * Check if a date is valid\n\t */\n\tstatic isValidDate(date: string): boolean {\n\t\treturn dayjs(date).isValid();\n\t}\n\n\t/**\n\t * Get today's date in ISO format\n\t */\n\tstatic today(): string {\n\t\treturn dayjs().format('YYYY-MM-DD');\n\t}\n\n\t/**\n\t * Get yesterday's date in ISO format\n\t */\n\tstatic yesterday(): string {\n\t\treturn dayjs().subtract(1, 'day').format('YYYY-MM-DD');\n\t}\n\n\t/**\n\t * Get tomorrow's date in ISO format\n\t */\n\tstatic tomorrow(): string {\n\t\treturn dayjs().add(1, 'day').format('YYYY-MM-DD');\n\t}\n\n\t/**\n\t * Add/subtract time from a date\n\t */\n\tstatic addTime(date: string, amount: number, unit: dayjs.ManipulateType): string {\n\t\treturn dayjs(date).add(amount, unit).format('YYYY-MM-DD');\n\t}\n\n\t/**\n\t * Get difference between two dates\n\t */\n\tstatic diff(date1: string, date2: string, unit: dayjs.QUnitType = 'day'): number {\n\t\treturn dayjs(date1).diff(dayjs(date2), unit);\n\t}\n\n\t/**\n\t * Check if date is between two dates (inclusive)\n\t */\n\tstatic isBetween(date: string, start: string, end: string): boolean {\n\t\tconst dateObj = dayjs(date);\n\t\tconst startObj = dayjs(start);\n\t\tconst endObj = dayjs(end);\n\t\treturn (dateObj.isAfter(startObj) || dateObj.isSame(startObj)) && (dateObj.isBefore(endObj) || dateObj.isSame(endObj));\n\t}\n\n\t/**\n\t * Format date with custom pattern\n\t */\n\tstatic format(date: string, pattern: string): string {\n\t\treturn dayjs(date).format(pattern);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;AAEA;;;AAGG;AACI,MAAM,sBAAsB,GAAG;AAC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AK,CAAC;AAC7B,QAAA,MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC;AACzB,QAAA,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACvH;AAEA;;AAEG;AACH,IAAA,OAAO,MAAM,CAAC,IAAY,EAAE,OAAe,EAAA;QAC1C,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;IACnC;AACA;;ACpRD;;AAEG;;;;"}
@@ -406,10 +406,10 @@ class FormattingService {
406
406
  ...parseDigitsInfo(options?.digitsInfo ?? DEFAULT_PERCENT_DIGITS),
407
407
  }).format(numericValue);
408
408
  }
409
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FormattingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
410
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FormattingService, providedIn: 'root' });
409
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormattingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
410
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormattingService, providedIn: 'root' });
411
411
  }
412
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FormattingService, decorators: [{
412
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormattingService, decorators: [{
413
413
  type: Injectable,
414
414
  args: [{ providedIn: 'root' }]
415
415
  }] });
@@ -419,10 +419,10 @@ class StCurrencyPipe {
419
419
  transform(value, currencyCode, display = 'symbol', digitsInfo, fallback = '') {
420
420
  return this.formattingService.formatCurrency(value, currencyCode, { display, digitsInfo, fallback });
421
421
  }
422
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: StCurrencyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
423
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0", ngImport: i0, type: StCurrencyPipe, isStandalone: true, name: "stCurrency", pure: false });
422
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: StCurrencyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
423
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: StCurrencyPipe, isStandalone: true, name: "stCurrency", pure: false });
424
424
  }
425
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: StCurrencyPipe, decorators: [{
425
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: StCurrencyPipe, decorators: [{
426
426
  type: Pipe,
427
427
  args: [{
428
428
  name: 'stCurrency',
@@ -436,10 +436,10 @@ class StDatePipe {
436
436
  transform(value, format = DEFAULT_DATE_FORMAT, fallback = '') {
437
437
  return this.formattingService.formatDate(value, format, { fallback });
438
438
  }
439
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: StDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
440
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0", ngImport: i0, type: StDatePipe, isStandalone: true, name: "stDate", pure: false });
439
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: StDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
440
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: StDatePipe, isStandalone: true, name: "stDate", pure: false });
441
441
  }
442
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: StDatePipe, decorators: [{
442
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: StDatePipe, decorators: [{
443
443
  type: Pipe,
444
444
  args: [{
445
445
  name: 'stDate',
@@ -453,10 +453,10 @@ class StDecimalPipe {
453
453
  transform(value, digitsInfo, fallback = '') {
454
454
  return this.formattingService.formatDecimal(value, { digitsInfo, fallback });
455
455
  }
456
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: StDecimalPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
457
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0", ngImport: i0, type: StDecimalPipe, isStandalone: true, name: "stDecimal", pure: false });
456
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: StDecimalPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
457
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: StDecimalPipe, isStandalone: true, name: "stDecimal", pure: false });
458
458
  }
459
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: StDecimalPipe, decorators: [{
459
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: StDecimalPipe, decorators: [{
460
460
  type: Pipe,
461
461
  args: [{
462
462
  name: 'stDecimal',
@@ -470,10 +470,10 @@ class StPercentPipe {
470
470
  transform(value, digitsInfo, fallback = '') {
471
471
  return this.formattingService.formatPercent(value, { digitsInfo, fallback });
472
472
  }
473
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: StPercentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
474
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.0", ngImport: i0, type: StPercentPipe, isStandalone: true, name: "stPercent", pure: false });
473
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: StPercentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
474
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: StPercentPipe, isStandalone: true, name: "stPercent", pure: false });
475
475
  }
476
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: StPercentPipe, decorators: [{
476
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: StPercentPipe, decorators: [{
477
477
  type: Pipe,
478
478
  args: [{
479
479
  name: 'stPercent',
@@ -1 +1 @@
1
- {"version":3,"file":"sixbell-telco-sdk-utils-formatting.mjs","sources":["../../../projects/sdk/utils/formatting/src/constants/constants.ts","../../../projects/sdk/utils/formatting/src/utils/date-format/date-format.ts","../../../projects/sdk/utils/formatting/src/utils/number-format/number-format.ts","../../../projects/sdk/utils/formatting/src/service/formatting.service.ts","../../../projects/sdk/utils/formatting/src/pipes/currency/st-currency.pipe.ts","../../../projects/sdk/utils/formatting/src/pipes/date/st-date.pipe.ts","../../../projects/sdk/utils/formatting/src/pipes/decimal/st-decimal.pipe.ts","../../../projects/sdk/utils/formatting/src/pipes/percent/st-percent.pipe.ts","../../../projects/sdk/utils/formatting/sixbell-telco-sdk-utils-formatting.ts"],"sourcesContent":["/**\n * Source for ISO 4217 currency codes: SIX Group list-one.xml (published 2026-01-01).\n * Codes are deduplicated and checked in to keep the SDK self-contained at runtime.\n */\nexport const CURRENCY_CODES = [\n\t'AED',\n\t'AFN',\n\t'ALL',\n\t'AMD',\n\t'AOA',\n\t'ARS',\n\t'AUD',\n\t'AWG',\n\t'AZN',\n\t'BAM',\n\t'BBD',\n\t'BDT',\n\t'BHD',\n\t'BIF',\n\t'BMD',\n\t'BND',\n\t'BOB',\n\t'BOV',\n\t'BRL',\n\t'BSD',\n\t'BTN',\n\t'BWP',\n\t'BYN',\n\t'BZD',\n\t'CAD',\n\t'CDF',\n\t'CHE',\n\t'CHF',\n\t'CHW',\n\t'CLF',\n\t'CLP',\n\t'CNY',\n\t'COP',\n\t'COU',\n\t'CRC',\n\t'CUP',\n\t'CVE',\n\t'CZK',\n\t'DJF',\n\t'DKK',\n\t'DOP',\n\t'DZD',\n\t'EGP',\n\t'ERN',\n\t'ETB',\n\t'EUR',\n\t'FJD',\n\t'FKP',\n\t'GBP',\n\t'GEL',\n\t'GHS',\n\t'GIP',\n\t'GMD',\n\t'GNF',\n\t'GTQ',\n\t'GYD',\n\t'HKD',\n\t'HNL',\n\t'HTG',\n\t'HUF',\n\t'IDR',\n\t'ILS',\n\t'INR',\n\t'IQD',\n\t'IRR',\n\t'ISK',\n\t'JMD',\n\t'JOD',\n\t'JPY',\n\t'KES',\n\t'KGS',\n\t'KHR',\n\t'KMF',\n\t'KPW',\n\t'KRW',\n\t'KWD',\n\t'KYD',\n\t'KZT',\n\t'LAK',\n\t'LBP',\n\t'LKR',\n\t'LRD',\n\t'LSL',\n\t'LYD',\n\t'MAD',\n\t'MDL',\n\t'MGA',\n\t'MKD',\n\t'MMK',\n\t'MNT',\n\t'MOP',\n\t'MRU',\n\t'MUR',\n\t'MVR',\n\t'MWK',\n\t'MXN',\n\t'MXV',\n\t'MYR',\n\t'MZN',\n\t'NAD',\n\t'NGN',\n\t'NIO',\n\t'NOK',\n\t'NPR',\n\t'NZD',\n\t'OMR',\n\t'PAB',\n\t'PEN',\n\t'PGK',\n\t'PHP',\n\t'PKR',\n\t'PLN',\n\t'PYG',\n\t'QAR',\n\t'RON',\n\t'RSD',\n\t'RUB',\n\t'RWF',\n\t'SAR',\n\t'SBD',\n\t'SCR',\n\t'SDG',\n\t'SEK',\n\t'SGD',\n\t'SHP',\n\t'SLE',\n\t'SOS',\n\t'SRD',\n\t'SSP',\n\t'STN',\n\t'SVC',\n\t'SYP',\n\t'SZL',\n\t'THB',\n\t'TJS',\n\t'TMT',\n\t'TND',\n\t'TOP',\n\t'TRY',\n\t'TTD',\n\t'TWD',\n\t'TZS',\n\t'UAH',\n\t'UGX',\n\t'USD',\n\t'USN',\n\t'UYI',\n\t'UYU',\n\t'UYW',\n\t'UZS',\n\t'VED',\n\t'VES',\n\t'VND',\n\t'VUV',\n\t'WST',\n\t'XAD',\n\t'XAF',\n\t'XAG',\n\t'XAU',\n\t'XBA',\n\t'XBB',\n\t'XBC',\n\t'XBD',\n\t'XCD',\n\t'XCG',\n\t'XDR',\n\t'XOF',\n\t'XPD',\n\t'XPF',\n\t'XPT',\n\t'XSU',\n\t'XTS',\n\t'XUA',\n\t'XXX',\n\t'YER',\n\t'ZAR',\n\t'ZMW',\n\t'ZWG',\n] as const;\n\nexport const CURRENCY_DISPLAYS = ['symbol', 'code', 'name', 'narrowSymbol'] as const;\n\nexport const DATE_LOCALE_PRESETS = ['locale-short', 'locale-medium', 'locale-long', 'locale-full'] as const;\n\nexport const DATE_COMMON_FORMATS = ['YYYY-MM-DD', 'DD/MM/YYYY', 'DD/MM/YYYY HH:mm:ss', 'MMMM D, YYYY', 'dddd, D [de] MMMM [de] YYYY'] as const;\n\nexport const DATE_FORMAT_OPTIONS = [...DATE_COMMON_FORMATS, ...DATE_LOCALE_PRESETS] as const;\n\nexport const CURRENCY_DIGITS_PRESETS = ['1.0-0', '1.2-2', '1.2-4'] as const;\n\nexport const DECIMAL_DIGITS_PRESETS = ['1.0-0', '1.2-2', '1.2-4'] as const;\n\nexport const PERCENT_DIGITS_PRESETS = ['1.0-0', '1.1-1', '1.2-2'] as const;\n\nexport const DIGITS_INFO_PRESETS = ['1.0-0', '1.0-2', '1.1-1', '1.2-2', '1.2-4'] as const;\n\nexport const DEFAULT_DATE_FORMAT = 'locale-medium' as const;\nexport const DEFAULT_DATE_FALLBACK = '' as const;\nexport const DEFAULT_CURRENCY_DIGITS = '1.2-2' as const;\nexport const DEFAULT_DECIMAL_DIGITS = '1.0-3' as const;\nexport const DEFAULT_PERCENT_DIGITS = '1.0-2' as const;\n","import dayjs from 'dayjs';\nimport customParseFormat from 'dayjs/plugin/customParseFormat';\nimport { DATE_LOCALE_PRESETS, DEFAULT_DATE_FALLBACK } from '../../constants/constants';\nimport { DateFormat, DatePreset, DateValue } from '../../models/formatting';\n\ndayjs.extend(customParseFormat);\n\nconst DATE_ONLY_PATTERN = /^(\\d{4})-(\\d{2})-(\\d{2})$/;\n\nfunction isDateInstance(value: unknown): value is Date {\n\treturn value instanceof Date && !Number.isNaN(value.getTime());\n}\n\nfunction parseDateOnly(value: string): Date | null {\n\tconst match = DATE_ONLY_PATTERN.exec(value);\n\tif (!match) {\n\t\treturn null;\n\t}\n\n\tconst [, year, month, day] = match;\n\treturn new Date(Number(year), Number(month) - 1, Number(day));\n}\n\nexport function isLocaleDatePreset(value: DateFormat): value is DatePreset {\n\treturn typeof value === 'string' && (DATE_LOCALE_PRESETS as readonly string[]).includes(value);\n}\n\nexport function isDatePreset(value: string): value is DatePreset {\n\treturn (DATE_LOCALE_PRESETS as readonly string[]).includes(value);\n}\n\nexport function normalizeDateForIntl(value: DateValue): Date | null {\n\tif (value === null || value === undefined || value === '') {\n\t\treturn null;\n\t}\n\n\tif (isDateInstance(value)) {\n\t\treturn value;\n\t}\n\n\tif (typeof value === 'number') {\n\t\tconst date = new Date(value);\n\t\treturn Number.isNaN(date.getTime()) ? null : date;\n\t}\n\n\tif (typeof value === 'string') {\n\t\tconst dateOnly = parseDateOnly(value);\n\t\tif (dateOnly) {\n\t\t\treturn dateOnly;\n\t\t}\n\n\t\tconst date = new Date(value);\n\t\treturn Number.isNaN(date.getTime()) ? null : date;\n\t}\n\n\treturn null;\n}\n\nexport function normalizeDateForPattern(value: DateValue) {\n\tif (value === null || value === undefined || value === '') {\n\t\treturn null;\n\t}\n\n\tif (typeof value === 'string') {\n\t\tconst dateOnly = parseDateOnly(value);\n\t\tif (dateOnly) {\n\t\t\treturn dayjs(dateOnly);\n\t\t}\n\t}\n\n\tconst parsed = dayjs(value);\n\treturn parsed.isValid() ? parsed : null;\n}\n\nexport function resolveIntlDateOptions(format: DatePreset): Intl.DateTimeFormatOptions {\n\tswitch (format) {\n\t\tcase 'locale-short':\n\t\t\treturn { dateStyle: 'short' };\n\t\tcase 'locale-long':\n\t\t\treturn { dateStyle: 'long' };\n\t\tcase 'locale-full':\n\t\t\treturn { dateStyle: 'full' };\n\t\tcase 'locale-medium':\n\t\tdefault:\n\t\t\treturn { dateStyle: 'medium' };\n\t}\n}\n\nexport function formatDateWithIntl(value: DateValue, format: DatePreset, locale: string, fallback: string = DEFAULT_DATE_FALLBACK): string {\n\tconst normalized = normalizeDateForIntl(value);\n\tif (!normalized) {\n\t\treturn fallback;\n\t}\n\n\treturn new Intl.DateTimeFormat(locale, resolveIntlDateOptions(format)).format(normalized);\n}\n\nexport function formatDateWithPattern(value: DateValue, format: string, locale: string, fallback: string = DEFAULT_DATE_FALLBACK): string {\n\tconst normalized = normalizeDateForPattern(value);\n\tif (!normalized) {\n\t\treturn fallback;\n\t}\n\n\tconst date = normalized.toDate();\n\tconst hour24 = date.getHours();\n\tconst hour12 = hour24 % 12 || 12;\n\tconst monthLong = new Intl.DateTimeFormat(locale, { month: 'long' }).format(date);\n\tconst monthShort = new Intl.DateTimeFormat(locale, { month: 'short' }).format(date);\n\tconst weekdayLong = new Intl.DateTimeFormat(locale, { weekday: 'long' }).format(date);\n\tconst weekdayShort = new Intl.DateTimeFormat(locale, { weekday: 'short' }).format(date);\n\n\tconst replacements: Array<[string, string]> = [\n\t\t['YYYY', String(date.getFullYear()).padStart(4, '0')],\n\t\t['YY', String(date.getFullYear()).slice(-2)],\n\t\t['MMMM', monthLong],\n\t\t['MMM', monthShort],\n\t\t['MM', String(date.getMonth() + 1).padStart(2, '0')],\n\t\t['M', String(date.getMonth() + 1)],\n\t\t['DD', String(date.getDate()).padStart(2, '0')],\n\t\t['D', String(date.getDate())],\n\t\t['dddd', weekdayLong],\n\t\t['ddd', weekdayShort],\n\t\t['HH', String(hour24).padStart(2, '0')],\n\t\t['H', String(hour24)],\n\t\t['hh', String(hour12).padStart(2, '0')],\n\t\t['h', String(hour12)],\n\t\t['mm', String(date.getMinutes()).padStart(2, '0')],\n\t\t['m', String(date.getMinutes())],\n\t\t['ss', String(date.getSeconds()).padStart(2, '0')],\n\t\t['s', String(date.getSeconds())],\n\t\t['A', hour24 >= 12 ? 'PM' : 'AM'],\n\t\t['a', hour24 >= 12 ? 'pm' : 'am'],\n\t];\n\n\tconst replacementMap = new Map(replacements);\n\tconst tokenPattern = /(YYYY|MMMM|dddd|MMM|ddd|YY|MM|DD|HH|hh|mm|ss|M|D|H|h|m|s|A|a)/g;\n\n\treturn format.replace(tokenPattern, (token) => replacementMap.get(token) ?? token);\n}\n","import { CURRENCY_CODES, CURRENCY_DISPLAYS } from '../../constants/constants';\nimport { CurrencyDisplay } from '../../models/formatting';\n\nexport interface ParsedDigitsInfo {\n\tminimumIntegerDigits?: number;\n\tminimumFractionDigits?: number;\n\tmaximumFractionDigits?: number;\n}\n\nexport const DIGITS_INFO_PATTERN = /^(\\d+)?\\.((\\d+)(-(\\d+))?)$/;\n\nconst currencyCodeSet = new Set<string>(CURRENCY_CODES);\nconst currencyDisplaySet = new Set<string>(CURRENCY_DISPLAYS);\n\nexport function isDigitsInfo(value: string): boolean {\n\treturn DIGITS_INFO_PATTERN.test(value.trim());\n}\n\nexport function isCurrencyDisplay(value: string): value is CurrencyDisplay {\n\treturn currencyDisplaySet.has(value);\n}\n\nexport function isIso4217CurrencyCode(value: string): boolean {\n\treturn currencyCodeSet.has(value.toUpperCase());\n}\n\nexport function parseDigitsInfo(digitsInfo?: string): ParsedDigitsInfo {\n\tif (!digitsInfo) {\n\t\treturn {};\n\t}\n\n\tconst match = DIGITS_INFO_PATTERN.exec(digitsInfo.trim());\n\tif (!match) {\n\t\treturn {};\n\t}\n\n\tconst minimumIntegerDigits = Number(match[1] ?? '1');\n\tconst minimumFractionDigits = Number(match[3] ?? '0');\n\tconst maximumFractionDigits = Number(match[5] ?? match[3] ?? '0');\n\n\treturn {\n\t\tminimumIntegerDigits,\n\t\tminimumFractionDigits,\n\t\tmaximumFractionDigits: Math.max(minimumFractionDigits, maximumFractionDigits),\n\t};\n}\n\nexport function toNumericValue(value: number | string | null | undefined): number | null {\n\tif (value === null || value === undefined || value === '') {\n\t\treturn null;\n\t}\n\n\tconst numericValue = typeof value === 'number' ? value : Number(value);\n\treturn Number.isFinite(numericValue) ? numericValue : null;\n}\n","import { computed, inject, Injectable } from '@angular/core';\nimport { TranslationService } from '@sixbell-telco/sdk/utils/translation';\nimport { DEFAULT_DATE_FALLBACK, DEFAULT_DATE_FORMAT, DEFAULT_DECIMAL_DIGITS, DEFAULT_PERCENT_DIGITS } from '../constants/constants';\nimport {\n\tCurrencyCode,\n\tCurrencyFormatOptions,\n\tDateFormat,\n\tDateFormatOptions,\n\tDateValue,\n\tDecimalFormatOptions,\n\tNumberValue,\n\tPercentFormatOptions,\n} from '../models/formatting';\nimport { formatDateWithIntl, formatDateWithPattern, isLocaleDatePreset } from '../utils/date-format/date-format';\nimport { parseDigitsInfo, toNumericValue } from '../utils/number-format/number-format';\n\n@Injectable({ providedIn: 'root' })\nexport class FormattingService {\n\tprivate readonly translationService = inject(TranslationService);\n\n\tpublic readonly currentLocale = computed(() => this.translationService.currentLocale());\n\n\tpublic getCurrentLocale(): string {\n\t\treturn this.currentLocale();\n\t}\n\n\tpublic formatDate(value: DateValue, format: DateFormat = DEFAULT_DATE_FORMAT, options?: DateFormatOptions): string {\n\t\tconst locale = options?.locale ?? this.getCurrentLocale();\n\t\tconst fallback = options?.fallback ?? DEFAULT_DATE_FALLBACK;\n\n\t\tif (isLocaleDatePreset(format)) {\n\t\t\treturn formatDateWithIntl(value, format, locale, fallback);\n\t\t}\n\n\t\treturn formatDateWithPattern(value, format, locale, fallback);\n\t}\n\n\tpublic formatCurrency(value: NumberValue, currencyCode: CurrencyCode, options?: CurrencyFormatOptions): string {\n\t\tconst numericValue = toNumericValue(value);\n\t\tif (numericValue === null) {\n\t\t\treturn options?.fallback ?? DEFAULT_DATE_FALLBACK;\n\t\t}\n\n\t\ttry {\n\t\t\treturn new Intl.NumberFormat(options?.locale ?? this.getCurrentLocale(), {\n\t\t\t\tstyle: 'currency',\n\t\t\t\tcurrency: currencyCode,\n\t\t\t\tcurrencyDisplay: options?.display ?? 'symbol',\n\t\t\t\t...parseDigitsInfo(options?.digitsInfo),\n\t\t\t}).format(numericValue);\n\t\t} catch {\n\t\t\tconst formattedNumber = new Intl.NumberFormat(options?.locale ?? this.getCurrentLocale(), {\n\t\t\t\tstyle: 'decimal',\n\t\t\t\t...parseDigitsInfo(options?.digitsInfo ?? DEFAULT_DECIMAL_DIGITS),\n\t\t\t}).format(numericValue);\n\n\t\t\treturn `${currencyCode} ${formattedNumber}`;\n\t\t}\n\t}\n\n\tpublic formatDecimal(value: NumberValue, options?: DecimalFormatOptions): string {\n\t\tconst numericValue = toNumericValue(value);\n\t\tif (numericValue === null) {\n\t\t\treturn options?.fallback ?? DEFAULT_DATE_FALLBACK;\n\t\t}\n\n\t\treturn new Intl.NumberFormat(options?.locale ?? this.getCurrentLocale(), {\n\t\t\tstyle: 'decimal',\n\t\t\t...parseDigitsInfo(options?.digitsInfo ?? DEFAULT_DECIMAL_DIGITS),\n\t\t}).format(numericValue);\n\t}\n\n\tpublic formatPercent(value: NumberValue, options?: PercentFormatOptions): string {\n\t\tconst numericValue = toNumericValue(value);\n\t\tif (numericValue === null) {\n\t\t\treturn options?.fallback ?? DEFAULT_DATE_FALLBACK;\n\t\t}\n\n\t\treturn new Intl.NumberFormat(options?.locale ?? this.getCurrentLocale(), {\n\t\t\tstyle: 'percent',\n\t\t\t...parseDigitsInfo(options?.digitsInfo ?? DEFAULT_PERCENT_DIGITS),\n\t\t}).format(numericValue);\n\t}\n}\n","import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { CurrencyCode, CurrencyDisplay, DigitsInfo, NumberValue } from '../../models/formatting';\nimport { FormattingService } from '../../service/formatting.service';\n\n@Pipe({\n\tname: 'stCurrency',\n\tstandalone: true,\n\tpure: false,\n})\nexport class StCurrencyPipe implements PipeTransform {\n\tprivate readonly formattingService = inject(FormattingService);\n\n\ttransform(value: NumberValue, currencyCode: CurrencyCode, display: CurrencyDisplay = 'symbol', digitsInfo?: DigitsInfo, fallback = ''): string {\n\t\treturn this.formattingService.formatCurrency(value, currencyCode, { display, digitsInfo, fallback });\n\t}\n}\n","import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { DEFAULT_DATE_FORMAT } from '../../constants/constants';\nimport { DateFormat, DateValue } from '../../models/formatting';\nimport { FormattingService } from '../../service/formatting.service';\n\n@Pipe({\n\tname: 'stDate',\n\tstandalone: true,\n\tpure: false,\n})\nexport class StDatePipe implements PipeTransform {\n\tprivate readonly formattingService = inject(FormattingService);\n\n\ttransform(value: DateValue, format: DateFormat = DEFAULT_DATE_FORMAT, fallback = ''): string {\n\t\treturn this.formattingService.formatDate(value, format, { fallback });\n\t}\n}\n","import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { DigitsInfo, NumberValue } from '../../models/formatting';\nimport { FormattingService } from '../../service/formatting.service';\n\n@Pipe({\n\tname: 'stDecimal',\n\tstandalone: true,\n\tpure: false,\n})\nexport class StDecimalPipe implements PipeTransform {\n\tprivate readonly formattingService = inject(FormattingService);\n\n\ttransform(value: NumberValue, digitsInfo?: DigitsInfo, fallback = ''): string {\n\t\treturn this.formattingService.formatDecimal(value, { digitsInfo, fallback });\n\t}\n}\n","import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { DigitsInfo, NumberValue } from '../../models/formatting';\nimport { FormattingService } from '../../service/formatting.service';\n\n@Pipe({\n\tname: 'stPercent',\n\tstandalone: true,\n\tpure: false,\n})\nexport class StPercentPipe implements PipeTransform {\n\tprivate readonly formattingService = inject(FormattingService);\n\n\ttransform(value: NumberValue, digitsInfo?: DigitsInfo, fallback = ''): string {\n\t\treturn this.formattingService.formatPercent(value, { digitsInfo, fallback });\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAAA;;;AAGG;AACU,MAAA,cAAc,GAAG;IAC7B,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,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B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,WAAW;AACjB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,KAAK;AACX,iBAAA;;;MCCY,aAAa,CAAA;AACR,IAAA,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAE9D,IAAA,SAAS,CAAC,KAAkB,EAAE,UAAuB,EAAE,QAAQ,GAAG,EAAE,EAAA;AACnE,QAAA,OAAO,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC;;uGAJjE,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;qGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,KAAA,EAAA,CAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,WAAW;AACjB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,KAAK;AACX,iBAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"sixbell-telco-sdk-utils-formatting.mjs","sources":["../../../projects/sdk/utils/formatting/src/constants/constants.ts","../../../projects/sdk/utils/formatting/src/utils/date-format/date-format.ts","../../../projects/sdk/utils/formatting/src/utils/number-format/number-format.ts","../../../projects/sdk/utils/formatting/src/service/formatting.service.ts","../../../projects/sdk/utils/formatting/src/pipes/currency/st-currency.pipe.ts","../../../projects/sdk/utils/formatting/src/pipes/date/st-date.pipe.ts","../../../projects/sdk/utils/formatting/src/pipes/decimal/st-decimal.pipe.ts","../../../projects/sdk/utils/formatting/src/pipes/percent/st-percent.pipe.ts","../../../projects/sdk/utils/formatting/sixbell-telco-sdk-utils-formatting.ts"],"sourcesContent":["/**\n * Source for ISO 4217 currency codes: SIX Group list-one.xml (published 2026-01-01).\n * Codes are deduplicated and checked in to keep the SDK self-contained at runtime.\n */\nexport const CURRENCY_CODES = [\n\t'AED',\n\t'AFN',\n\t'ALL',\n\t'AMD',\n\t'AOA',\n\t'ARS',\n\t'AUD',\n\t'AWG',\n\t'AZN',\n\t'BAM',\n\t'BBD',\n\t'BDT',\n\t'BHD',\n\t'BIF',\n\t'BMD',\n\t'BND',\n\t'BOB',\n\t'BOV',\n\t'BRL',\n\t'BSD',\n\t'BTN',\n\t'BWP',\n\t'BYN',\n\t'BZD',\n\t'CAD',\n\t'CDF',\n\t'CHE',\n\t'CHF',\n\t'CHW',\n\t'CLF',\n\t'CLP',\n\t'CNY',\n\t'COP',\n\t'COU',\n\t'CRC',\n\t'CUP',\n\t'CVE',\n\t'CZK',\n\t'DJF',\n\t'DKK',\n\t'DOP',\n\t'DZD',\n\t'EGP',\n\t'ERN',\n\t'ETB',\n\t'EUR',\n\t'FJD',\n\t'FKP',\n\t'GBP',\n\t'GEL',\n\t'GHS',\n\t'GIP',\n\t'GMD',\n\t'GNF',\n\t'GTQ',\n\t'GYD',\n\t'HKD',\n\t'HNL',\n\t'HTG',\n\t'HUF',\n\t'IDR',\n\t'ILS',\n\t'INR',\n\t'IQD',\n\t'IRR',\n\t'ISK',\n\t'JMD',\n\t'JOD',\n\t'JPY',\n\t'KES',\n\t'KGS',\n\t'KHR',\n\t'KMF',\n\t'KPW',\n\t'KRW',\n\t'KWD',\n\t'KYD',\n\t'KZT',\n\t'LAK',\n\t'LBP',\n\t'LKR',\n\t'LRD',\n\t'LSL',\n\t'LYD',\n\t'MAD',\n\t'MDL',\n\t'MGA',\n\t'MKD',\n\t'MMK',\n\t'MNT',\n\t'MOP',\n\t'MRU',\n\t'MUR',\n\t'MVR',\n\t'MWK',\n\t'MXN',\n\t'MXV',\n\t'MYR',\n\t'MZN',\n\t'NAD',\n\t'NGN',\n\t'NIO',\n\t'NOK',\n\t'NPR',\n\t'NZD',\n\t'OMR',\n\t'PAB',\n\t'PEN',\n\t'PGK',\n\t'PHP',\n\t'PKR',\n\t'PLN',\n\t'PYG',\n\t'QAR',\n\t'RON',\n\t'RSD',\n\t'RUB',\n\t'RWF',\n\t'SAR',\n\t'SBD',\n\t'SCR',\n\t'SDG',\n\t'SEK',\n\t'SGD',\n\t'SHP',\n\t'SLE',\n\t'SOS',\n\t'SRD',\n\t'SSP',\n\t'STN',\n\t'SVC',\n\t'SYP',\n\t'SZL',\n\t'THB',\n\t'TJS',\n\t'TMT',\n\t'TND',\n\t'TOP',\n\t'TRY',\n\t'TTD',\n\t'TWD',\n\t'TZS',\n\t'UAH',\n\t'UGX',\n\t'USD',\n\t'USN',\n\t'UYI',\n\t'UYU',\n\t'UYW',\n\t'UZS',\n\t'VED',\n\t'VES',\n\t'VND',\n\t'VUV',\n\t'WST',\n\t'XAD',\n\t'XAF',\n\t'XAG',\n\t'XAU',\n\t'XBA',\n\t'XBB',\n\t'XBC',\n\t'XBD',\n\t'XCD',\n\t'XCG',\n\t'XDR',\n\t'XOF',\n\t'XPD',\n\t'XPF',\n\t'XPT',\n\t'XSU',\n\t'XTS',\n\t'XUA',\n\t'XXX',\n\t'YER',\n\t'ZAR',\n\t'ZMW',\n\t'ZWG',\n] as const;\n\nexport const CURRENCY_DISPLAYS = ['symbol', 'code', 'name', 'narrowSymbol'] as const;\n\nexport const DATE_LOCALE_PRESETS = ['locale-short', 'locale-medium', 'locale-long', 'locale-full'] as const;\n\nexport const DATE_COMMON_FORMATS = ['YYYY-MM-DD', 'DD/MM/YYYY', 'DD/MM/YYYY HH:mm:ss', 'MMMM D, YYYY', 'dddd, D [de] MMMM [de] YYYY'] as const;\n\nexport const DATE_FORMAT_OPTIONS = [...DATE_COMMON_FORMATS, ...DATE_LOCALE_PRESETS] as const;\n\nexport const CURRENCY_DIGITS_PRESETS = ['1.0-0', '1.2-2', '1.2-4'] as const;\n\nexport const DECIMAL_DIGITS_PRESETS = ['1.0-0', '1.2-2', '1.2-4'] as const;\n\nexport const PERCENT_DIGITS_PRESETS = ['1.0-0', '1.1-1', '1.2-2'] as const;\n\nexport const DIGITS_INFO_PRESETS = ['1.0-0', '1.0-2', '1.1-1', '1.2-2', '1.2-4'] as const;\n\nexport const DEFAULT_DATE_FORMAT = 'locale-medium' as const;\nexport const DEFAULT_DATE_FALLBACK = '' as const;\nexport const DEFAULT_CURRENCY_DIGITS = '1.2-2' as const;\nexport const DEFAULT_DECIMAL_DIGITS = '1.0-3' as const;\nexport const DEFAULT_PERCENT_DIGITS = '1.0-2' as const;\n","import dayjs from 'dayjs';\nimport customParseFormat from 'dayjs/plugin/customParseFormat';\nimport { DATE_LOCALE_PRESETS, DEFAULT_DATE_FALLBACK } from '../../constants/constants';\nimport { DateFormat, DatePreset, DateValue } from '../../models/formatting';\n\ndayjs.extend(customParseFormat);\n\nconst DATE_ONLY_PATTERN = /^(\\d{4})-(\\d{2})-(\\d{2})$/;\n\nfunction isDateInstance(value: unknown): value is Date {\n\treturn value instanceof Date && !Number.isNaN(value.getTime());\n}\n\nfunction parseDateOnly(value: string): Date | null {\n\tconst match = DATE_ONLY_PATTERN.exec(value);\n\tif (!match) {\n\t\treturn null;\n\t}\n\n\tconst [, year, month, day] = match;\n\treturn new Date(Number(year), Number(month) - 1, Number(day));\n}\n\nexport function isLocaleDatePreset(value: DateFormat): value is DatePreset {\n\treturn typeof value === 'string' && (DATE_LOCALE_PRESETS as readonly string[]).includes(value);\n}\n\nexport function isDatePreset(value: string): value is DatePreset {\n\treturn (DATE_LOCALE_PRESETS as readonly string[]).includes(value);\n}\n\nexport function normalizeDateForIntl(value: DateValue): Date | null {\n\tif (value === null || value === undefined || value === '') {\n\t\treturn null;\n\t}\n\n\tif (isDateInstance(value)) {\n\t\treturn value;\n\t}\n\n\tif (typeof value === 'number') {\n\t\tconst date = new Date(value);\n\t\treturn Number.isNaN(date.getTime()) ? null : date;\n\t}\n\n\tif (typeof value === 'string') {\n\t\tconst dateOnly = parseDateOnly(value);\n\t\tif (dateOnly) {\n\t\t\treturn dateOnly;\n\t\t}\n\n\t\tconst date = new Date(value);\n\t\treturn Number.isNaN(date.getTime()) ? null : date;\n\t}\n\n\treturn null;\n}\n\nexport function normalizeDateForPattern(value: DateValue) {\n\tif (value === null || value === undefined || value === '') {\n\t\treturn null;\n\t}\n\n\tif (typeof value === 'string') {\n\t\tconst dateOnly = parseDateOnly(value);\n\t\tif (dateOnly) {\n\t\t\treturn dayjs(dateOnly);\n\t\t}\n\t}\n\n\tconst parsed = dayjs(value);\n\treturn parsed.isValid() ? parsed : null;\n}\n\nexport function resolveIntlDateOptions(format: DatePreset): Intl.DateTimeFormatOptions {\n\tswitch (format) {\n\t\tcase 'locale-short':\n\t\t\treturn { dateStyle: 'short' };\n\t\tcase 'locale-long':\n\t\t\treturn { dateStyle: 'long' };\n\t\tcase 'locale-full':\n\t\t\treturn { dateStyle: 'full' };\n\t\tcase 'locale-medium':\n\t\tdefault:\n\t\t\treturn { dateStyle: 'medium' };\n\t}\n}\n\nexport function formatDateWithIntl(value: DateValue, format: DatePreset, locale: string, fallback: string = DEFAULT_DATE_FALLBACK): string {\n\tconst normalized = normalizeDateForIntl(value);\n\tif (!normalized) {\n\t\treturn fallback;\n\t}\n\n\treturn new Intl.DateTimeFormat(locale, resolveIntlDateOptions(format)).format(normalized);\n}\n\nexport function formatDateWithPattern(value: DateValue, format: string, locale: string, fallback: string = DEFAULT_DATE_FALLBACK): string {\n\tconst normalized = normalizeDateForPattern(value);\n\tif (!normalized) {\n\t\treturn fallback;\n\t}\n\n\tconst date = normalized.toDate();\n\tconst hour24 = date.getHours();\n\tconst hour12 = hour24 % 12 || 12;\n\tconst monthLong = new Intl.DateTimeFormat(locale, { month: 'long' }).format(date);\n\tconst monthShort = new Intl.DateTimeFormat(locale, { month: 'short' }).format(date);\n\tconst weekdayLong = new Intl.DateTimeFormat(locale, { weekday: 'long' }).format(date);\n\tconst weekdayShort = new Intl.DateTimeFormat(locale, { weekday: 'short' }).format(date);\n\n\tconst replacements: Array<[string, string]> = [\n\t\t['YYYY', String(date.getFullYear()).padStart(4, '0')],\n\t\t['YY', String(date.getFullYear()).slice(-2)],\n\t\t['MMMM', monthLong],\n\t\t['MMM', monthShort],\n\t\t['MM', String(date.getMonth() + 1).padStart(2, '0')],\n\t\t['M', String(date.getMonth() + 1)],\n\t\t['DD', String(date.getDate()).padStart(2, '0')],\n\t\t['D', String(date.getDate())],\n\t\t['dddd', weekdayLong],\n\t\t['ddd', weekdayShort],\n\t\t['HH', String(hour24).padStart(2, '0')],\n\t\t['H', String(hour24)],\n\t\t['hh', String(hour12).padStart(2, '0')],\n\t\t['h', String(hour12)],\n\t\t['mm', String(date.getMinutes()).padStart(2, '0')],\n\t\t['m', String(date.getMinutes())],\n\t\t['ss', String(date.getSeconds()).padStart(2, '0')],\n\t\t['s', String(date.getSeconds())],\n\t\t['A', hour24 >= 12 ? 'PM' : 'AM'],\n\t\t['a', hour24 >= 12 ? 'pm' : 'am'],\n\t];\n\n\tconst replacementMap = new Map(replacements);\n\tconst tokenPattern = /(YYYY|MMMM|dddd|MMM|ddd|YY|MM|DD|HH|hh|mm|ss|M|D|H|h|m|s|A|a)/g;\n\n\treturn format.replace(tokenPattern, (token) => replacementMap.get(token) ?? token);\n}\n","import { CURRENCY_CODES, CURRENCY_DISPLAYS } from '../../constants/constants';\nimport { CurrencyDisplay } from '../../models/formatting';\n\nexport interface ParsedDigitsInfo {\n\tminimumIntegerDigits?: number;\n\tminimumFractionDigits?: number;\n\tmaximumFractionDigits?: number;\n}\n\nexport const DIGITS_INFO_PATTERN = /^(\\d+)?\\.((\\d+)(-(\\d+))?)$/;\n\nconst currencyCodeSet = new Set<string>(CURRENCY_CODES);\nconst currencyDisplaySet = new Set<string>(CURRENCY_DISPLAYS);\n\nexport function isDigitsInfo(value: string): boolean {\n\treturn DIGITS_INFO_PATTERN.test(value.trim());\n}\n\nexport function isCurrencyDisplay(value: string): value is CurrencyDisplay {\n\treturn currencyDisplaySet.has(value);\n}\n\nexport function isIso4217CurrencyCode(value: string): boolean {\n\treturn currencyCodeSet.has(value.toUpperCase());\n}\n\nexport function parseDigitsInfo(digitsInfo?: string): ParsedDigitsInfo {\n\tif (!digitsInfo) {\n\t\treturn {};\n\t}\n\n\tconst match = DIGITS_INFO_PATTERN.exec(digitsInfo.trim());\n\tif (!match) {\n\t\treturn {};\n\t}\n\n\tconst minimumIntegerDigits = Number(match[1] ?? '1');\n\tconst minimumFractionDigits = Number(match[3] ?? '0');\n\tconst maximumFractionDigits = Number(match[5] ?? match[3] ?? '0');\n\n\treturn {\n\t\tminimumIntegerDigits,\n\t\tminimumFractionDigits,\n\t\tmaximumFractionDigits: Math.max(minimumFractionDigits, maximumFractionDigits),\n\t};\n}\n\nexport function toNumericValue(value: number | string | null | undefined): number | null {\n\tif (value === null || value === undefined || value === '') {\n\t\treturn null;\n\t}\n\n\tconst numericValue = typeof value === 'number' ? value : Number(value);\n\treturn Number.isFinite(numericValue) ? numericValue : null;\n}\n","import { computed, inject, Injectable } from '@angular/core';\nimport { TranslationService } from '@sixbell-telco/sdk/utils/translation';\nimport { DEFAULT_DATE_FALLBACK, DEFAULT_DATE_FORMAT, DEFAULT_DECIMAL_DIGITS, DEFAULT_PERCENT_DIGITS } from '../constants/constants';\nimport {\n\tCurrencyCode,\n\tCurrencyFormatOptions,\n\tDateFormat,\n\tDateFormatOptions,\n\tDateValue,\n\tDecimalFormatOptions,\n\tNumberValue,\n\tPercentFormatOptions,\n} from '../models/formatting';\nimport { formatDateWithIntl, formatDateWithPattern, isLocaleDatePreset } from '../utils/date-format/date-format';\nimport { parseDigitsInfo, toNumericValue } from '../utils/number-format/number-format';\n\n@Injectable({ providedIn: 'root' })\nexport class FormattingService {\n\tprivate readonly translationService = inject(TranslationService);\n\n\tpublic readonly currentLocale = computed(() => this.translationService.currentLocale());\n\n\tpublic getCurrentLocale(): string {\n\t\treturn this.currentLocale();\n\t}\n\n\tpublic formatDate(value: DateValue, format: DateFormat = DEFAULT_DATE_FORMAT, options?: DateFormatOptions): string {\n\t\tconst locale = options?.locale ?? this.getCurrentLocale();\n\t\tconst fallback = options?.fallback ?? DEFAULT_DATE_FALLBACK;\n\n\t\tif (isLocaleDatePreset(format)) {\n\t\t\treturn formatDateWithIntl(value, format, locale, fallback);\n\t\t}\n\n\t\treturn formatDateWithPattern(value, format, locale, fallback);\n\t}\n\n\tpublic formatCurrency(value: NumberValue, currencyCode: CurrencyCode, options?: CurrencyFormatOptions): string {\n\t\tconst numericValue = toNumericValue(value);\n\t\tif (numericValue === null) {\n\t\t\treturn options?.fallback ?? DEFAULT_DATE_FALLBACK;\n\t\t}\n\n\t\ttry {\n\t\t\treturn new Intl.NumberFormat(options?.locale ?? this.getCurrentLocale(), {\n\t\t\t\tstyle: 'currency',\n\t\t\t\tcurrency: currencyCode,\n\t\t\t\tcurrencyDisplay: options?.display ?? 'symbol',\n\t\t\t\t...parseDigitsInfo(options?.digitsInfo),\n\t\t\t}).format(numericValue);\n\t\t} catch {\n\t\t\tconst formattedNumber = new Intl.NumberFormat(options?.locale ?? this.getCurrentLocale(), {\n\t\t\t\tstyle: 'decimal',\n\t\t\t\t...parseDigitsInfo(options?.digitsInfo ?? DEFAULT_DECIMAL_DIGITS),\n\t\t\t}).format(numericValue);\n\n\t\t\treturn `${currencyCode} ${formattedNumber}`;\n\t\t}\n\t}\n\n\tpublic formatDecimal(value: NumberValue, options?: DecimalFormatOptions): string {\n\t\tconst numericValue = toNumericValue(value);\n\t\tif (numericValue === null) {\n\t\t\treturn options?.fallback ?? DEFAULT_DATE_FALLBACK;\n\t\t}\n\n\t\treturn new Intl.NumberFormat(options?.locale ?? this.getCurrentLocale(), {\n\t\t\tstyle: 'decimal',\n\t\t\t...parseDigitsInfo(options?.digitsInfo ?? DEFAULT_DECIMAL_DIGITS),\n\t\t}).format(numericValue);\n\t}\n\n\tpublic formatPercent(value: NumberValue, options?: PercentFormatOptions): string {\n\t\tconst numericValue = toNumericValue(value);\n\t\tif (numericValue === null) {\n\t\t\treturn options?.fallback ?? DEFAULT_DATE_FALLBACK;\n\t\t}\n\n\t\treturn new Intl.NumberFormat(options?.locale ?? this.getCurrentLocale(), {\n\t\t\tstyle: 'percent',\n\t\t\t...parseDigitsInfo(options?.digitsInfo ?? DEFAULT_PERCENT_DIGITS),\n\t\t}).format(numericValue);\n\t}\n}\n","import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { CurrencyCode, CurrencyDisplay, DigitsInfo, NumberValue } from '../../models/formatting';\nimport { FormattingService } from '../../service/formatting.service';\n\n@Pipe({\n\tname: 'stCurrency',\n\tstandalone: true,\n\tpure: false,\n})\nexport class StCurrencyPipe implements PipeTransform {\n\tprivate readonly formattingService = inject(FormattingService);\n\n\ttransform(value: NumberValue, currencyCode: CurrencyCode, display: CurrencyDisplay = 'symbol', digitsInfo?: DigitsInfo, fallback = ''): string {\n\t\treturn this.formattingService.formatCurrency(value, currencyCode, { display, digitsInfo, fallback });\n\t}\n}\n","import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { DEFAULT_DATE_FORMAT } from '../../constants/constants';\nimport { DateFormat, DateValue } from '../../models/formatting';\nimport { FormattingService } from '../../service/formatting.service';\n\n@Pipe({\n\tname: 'stDate',\n\tstandalone: true,\n\tpure: false,\n})\nexport class StDatePipe implements PipeTransform {\n\tprivate readonly formattingService = inject(FormattingService);\n\n\ttransform(value: DateValue, format: DateFormat = DEFAULT_DATE_FORMAT, fallback = ''): string {\n\t\treturn this.formattingService.formatDate(value, format, { fallback });\n\t}\n}\n","import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { DigitsInfo, NumberValue } from '../../models/formatting';\nimport { FormattingService } from '../../service/formatting.service';\n\n@Pipe({\n\tname: 'stDecimal',\n\tstandalone: true,\n\tpure: false,\n})\nexport class StDecimalPipe implements PipeTransform {\n\tprivate readonly formattingService = inject(FormattingService);\n\n\ttransform(value: NumberValue, digitsInfo?: DigitsInfo, fallback = ''): string {\n\t\treturn this.formattingService.formatDecimal(value, { digitsInfo, fallback });\n\t}\n}\n","import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { DigitsInfo, NumberValue } from '../../models/formatting';\nimport { FormattingService } from '../../service/formatting.service';\n\n@Pipe({\n\tname: 'stPercent',\n\tstandalone: true,\n\tpure: false,\n})\nexport class StPercentPipe implements PipeTransform {\n\tprivate readonly formattingService = inject(FormattingService);\n\n\ttransform(value: NumberValue, digitsInfo?: DigitsInfo, fallback = ''): string {\n\t\treturn this.formattingService.formatPercent(value, { digitsInfo, fallback });\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAAA;;;AAGG;AACI,MAAM,cAAc,GAAG;IAC7B,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;;AAGC,MAAM,iBAAiB,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,M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AA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,KAAA,EAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,WAAW;AACjB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,KAAK;AACX,iBAAA;;;MCCY,aAAa,CAAA;AACR,IAAA,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAE9D,IAAA,SAAS,CAAC,KAAkB,EAAE,UAAuB,EAAE,QAAQ,GAAG,EAAE,EAAA;AACnE,QAAA,OAAO,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC;IAC7E;wGALY,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,KAAA,EAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,WAAW;AACjB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,KAAK;AACX,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -547,10 +547,10 @@ class LoggerService {
547
547
  timestamp: Date.now(),
548
548
  };
549
549
  }
550
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LoggerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
551
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LoggerService, providedIn: 'root' });
550
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: LoggerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
551
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: LoggerService, providedIn: 'root' });
552
552
  }
553
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LoggerService, decorators: [{
553
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: LoggerService, decorators: [{
554
554
  type: Injectable,
555
555
  args: [{
556
556
  providedIn: 'root',