@cngx/ui 0.1.0-rc.8 → 0.3.0

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 (108) hide show
  1. package/README.md +118 -59
  2. package/action-button/README.md +170 -53
  3. package/breadcrumb/README.md +5 -6
  4. package/collection/README.md +1 -1
  5. package/command-palette/README.md +9 -5
  6. package/data-grid-accordion/README.md +1 -1
  7. package/empty-state/README.md +2 -3
  8. package/feedback/README.md +1 -1
  9. package/fesm2022/cngx-ui-a11y.mjs +13 -23
  10. package/fesm2022/cngx-ui-a11y.mjs.map +1 -1
  11. package/fesm2022/cngx-ui-accordion.mjs +55 -60
  12. package/fesm2022/cngx-ui-accordion.mjs.map +1 -1
  13. package/fesm2022/cngx-ui-action-button.mjs +220 -339
  14. package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
  15. package/fesm2022/cngx-ui-breadcrumb.mjs +100 -80
  16. package/fesm2022/cngx-ui-breadcrumb.mjs.map +1 -1
  17. package/fesm2022/cngx-ui-chart-panel.mjs +18 -31
  18. package/fesm2022/cngx-ui-chart-panel.mjs.map +1 -1
  19. package/fesm2022/cngx-ui-collection.mjs +28 -34
  20. package/fesm2022/cngx-ui-collection.mjs.map +1 -1
  21. package/fesm2022/cngx-ui-command-palette.mjs +29 -51
  22. package/fesm2022/cngx-ui-command-palette.mjs.map +1 -1
  23. package/fesm2022/cngx-ui-context-menu.mjs +138 -89
  24. package/fesm2022/cngx-ui-context-menu.mjs.map +1 -1
  25. package/fesm2022/cngx-ui-data-grid-accordion.mjs +135 -77
  26. package/fesm2022/cngx-ui-data-grid-accordion.mjs.map +1 -1
  27. package/fesm2022/cngx-ui-empty-state.mjs +17 -44
  28. package/fesm2022/cngx-ui-empty-state.mjs.map +1 -1
  29. package/fesm2022/cngx-ui-feedback.mjs +648 -495
  30. package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
  31. package/fesm2022/cngx-ui-layout.mjs +17 -13
  32. package/fesm2022/cngx-ui-layout.mjs.map +1 -1
  33. package/fesm2022/cngx-ui-mat-accordion.mjs +6 -7
  34. package/fesm2022/cngx-ui-mat-accordion.mjs.map +1 -1
  35. package/fesm2022/cngx-ui-mat-paginator.mjs +5 -9
  36. package/fesm2022/cngx-ui-mat-paginator.mjs.map +1 -1
  37. package/fesm2022/cngx-ui-mat-stepper.mjs +6 -9
  38. package/fesm2022/cngx-ui-mat-stepper.mjs.map +1 -1
  39. package/fesm2022/cngx-ui-mat-tabs.mjs +315 -134
  40. package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -1
  41. package/fesm2022/cngx-ui-nav-rail.mjs +440 -0
  42. package/fesm2022/cngx-ui-nav-rail.mjs.map +1 -0
  43. package/fesm2022/cngx-ui-overlay.mjs +9 -10
  44. package/fesm2022/cngx-ui-overlay.mjs.map +1 -1
  45. package/fesm2022/cngx-ui-paginator.mjs +212 -188
  46. package/fesm2022/cngx-ui-paginator.mjs.map +1 -1
  47. package/fesm2022/cngx-ui-sidenav.mjs +872 -721
  48. package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
  49. package/fesm2022/cngx-ui-skeleton.mjs +17 -19
  50. package/fesm2022/cngx-ui-skeleton.mjs.map +1 -1
  51. package/fesm2022/cngx-ui-speak.mjs +21 -74
  52. package/fesm2022/cngx-ui-speak.mjs.map +1 -1
  53. package/fesm2022/cngx-ui-stat-card.mjs +39 -62
  54. package/fesm2022/cngx-ui-stat-card.mjs.map +1 -1
  55. package/fesm2022/cngx-ui-stepper.mjs +259 -130
  56. package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
  57. package/fesm2022/cngx-ui-tabs.mjs +148 -50
  58. package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
  59. package/fesm2022/cngx-ui-timeline.mjs +48 -32
  60. package/fesm2022/cngx-ui-timeline.mjs.map +1 -1
  61. package/fesm2022/cngx-ui-toc.mjs +59 -48
  62. package/fesm2022/cngx-ui-toc.mjs.map +1 -1
  63. package/fesm2022/cngx-ui.mjs +5 -5
  64. package/fesm2022/cngx-ui.mjs.map +1 -1
  65. package/mat-tabs/README.md +57 -19
  66. package/mat-tabs/styles/mat-tabs.css +285 -163
  67. package/nav-rail/README.md +325 -0
  68. package/package.json +37 -8
  69. package/paginator/README.md +10 -0
  70. package/schematics/collection.json +9 -0
  71. package/schematics/ng-add/index.js +9 -0
  72. package/schematics/ng-add/schema.json +96 -0
  73. package/schematics/package.json +3 -0
  74. package/sidenav/README.md +150 -55
  75. package/skeleton/README.md +1 -1
  76. package/speak/README.md +1 -2
  77. package/stepper/README.md +20 -5
  78. package/tabs/README.md +13 -0
  79. package/timeline/README.md +1 -1
  80. package/toc/README.md +1 -1
  81. package/types/cngx-ui-a11y.d.ts +20 -38
  82. package/types/cngx-ui-accordion.d.ts +46 -71
  83. package/types/cngx-ui-action-button.d.ts +113 -151
  84. package/types/cngx-ui-breadcrumb.d.ts +60 -85
  85. package/types/cngx-ui-chart-panel.d.ts +22 -40
  86. package/types/cngx-ui-collection.d.ts +30 -43
  87. package/types/cngx-ui-command-palette.d.ts +40 -64
  88. package/types/cngx-ui-context-menu.d.ts +109 -48
  89. package/types/cngx-ui-data-grid-accordion.d.ts +50 -75
  90. package/types/cngx-ui-empty-state.d.ts +18 -8
  91. package/types/cngx-ui-feedback.d.ts +275 -292
  92. package/types/cngx-ui-layout.d.ts +4 -12
  93. package/types/cngx-ui-mat-accordion.d.ts +5 -5
  94. package/types/cngx-ui-mat-paginator.d.ts +4 -10
  95. package/types/cngx-ui-mat-stepper.d.ts +5 -10
  96. package/types/cngx-ui-mat-tabs.d.ts +86 -89
  97. package/types/cngx-ui-nav-rail.d.ts +416 -0
  98. package/types/cngx-ui-overlay.d.ts +4 -13
  99. package/types/cngx-ui-paginator.d.ts +186 -161
  100. package/types/cngx-ui-sidenav.d.ts +557 -437
  101. package/types/cngx-ui-skeleton.d.ts +7 -13
  102. package/types/cngx-ui-speak.d.ts +40 -24
  103. package/types/cngx-ui-stat-card.d.ts +45 -36
  104. package/types/cngx-ui-stepper.d.ts +205 -84
  105. package/types/cngx-ui-tabs.d.ts +104 -28
  106. package/types/cngx-ui-timeline.d.ts +31 -51
  107. package/types/cngx-ui-toc.d.ts +43 -54
  108. package/types/cngx-ui.d.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"cngx-ui-action-button.mjs","sources":["../../../projects/ui/action-button/action-button.ts","../../../projects/ui/action-button/public-api.ts","../../../projects/ui/action-button/cngx-ui-action-button.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n effect,\n inject,\n input,\n signal,\n untracked,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n CngxAsyncClick,\n CngxFailed,\n CngxPending,\n CngxSucceeded,\n injectInteractiveI18n,\n reflectAsyncDisplayStatus,\n type AsyncAction,\n} from '@cngx/common/interactive';\nimport {\n buildAsyncStateView,\n createTransitionTracker,\n nextUid,\n type CngxAsyncState,\n} from '@cngx/core/utils';\nimport { CngxToastOn, CngxToaster, injectErrorDetail, injectFeedbackI18n } from '@cngx/ui/feedback';\n\n/**\n * Visual variant for the action button - maps to a CSS class.\n *\n * @category ui/action-button\n */\nexport type ActionButtonVariant = 'primary' | 'secondary' | 'ghost';\n\n/**\n * Action button organism with built-in status communication.\n *\n * Coordinates between the `CngxAsyncClick` atom (mechanism, ARIA, lifecycle)\n * and the consumer (intent, styling, labels). Provides template projection\n * for pending/succeeded/failed states and an `aria-live` region for screen\n * reader announcements.\n *\n * Uses `display: contents` - the host produces no DOM box. The inner `<button>`\n * carries the `[cngxAsyncClick]` directive directly.\n *\n * For full control, use `[cngxAsyncClick]` directly on any element instead.\n *\n * ### Minimal (covers 80% of cases)\n * ```html\n * <cngx-action-button [action]=\"save\">Save</cngx-action-button>\n * ```\n *\n * ### With string labels\n * ```html\n * <cngx-action-button [action]=\"save\"\n * pendingLabel=\"Saving...\" succeededLabel=\"Saved!\" failedLabel=\"Failed\">\n * Save\n * </cngx-action-button>\n * ```\n *\n * ### With template slots\n * ```html\n * <cngx-action-button [action]=\"save\">\n * Save Draft\n * <ng-template cngxPending><mat-spinner diameter=\"18\" /> Saving...</ng-template>\n * <ng-template cngxSucceeded>Saved!</ng-template>\n * <ng-template cngxFailed let-err>{{ err }} - retry?</ng-template>\n * </cngx-action-button>\n * ```\n *\n * ### With toast feedback\n * ```html\n * <cngx-action-button [action]=\"save\" toastSuccess=\"Saved\" toastError=\"Save failed\">\n * Save\n * </cngx-action-button>\n * ```\n *\n * @category ui/action-button\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/action-button/action-button.ts\n * @since 0.1.0\n * @relatedTo CngxAsyncClick, CngxPending, CngxSucceeded, CngxFailed, CngxToaster\n * @slot cngxPending Replaces the label while the action runs.\n * @slot cngxSucceeded Replaces the label after the action succeeds.\n * @slot cngxFailed Replaces the label when the action fails; gets the error.\n * <example-url>http://localhost:4200/#/ui/action-button/async-button/random-outcome</example-url>\n * <example-url>http://localhost:4200/#/ui/action-button/async-button/string-labels</example-url>\n * <example-url>http://localhost:4200/#/ui/action-button/async-button/template-slots</example-url>\n */\n@Component({\n selector: 'cngx-action-button',\n standalone: true,\n imports: [NgTemplateOutlet, CngxAsyncClick],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'cngxActionButton',\n host: {\n style: 'display: contents',\n },\n template: `\n <ng-template #idle><ng-content /></ng-template>\n\n <button\n [type]=\"type()\"\n [cngxAsyncClick]=\"action()\"\n [feedbackDuration]=\"feedbackDuration()\"\n [enabled]=\"clickEnabled()\"\n [busy]=\"effectiveBusy()\"\n [autoAnnounce]=\"false\"\n [succeededAnnouncement]=\"succeededAnnouncement() ?? succeededLabel()\"\n [failedAnnouncement]=\"failedAnnouncement() ?? failedLabel()\"\n [attr.aria-describedby]=\"describedBy()\"\n [class]=\"'cngx-action-button cngx-action-button--' + variant()\"\n >\n @switch (effectiveStatus()) {\n @case ('pending') {\n @if (pendingTpl(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl.templateRef\" />\n } @else if (pendingLabel()) {\n {{ pendingLabel() }}\n } @else {\n <ng-container *ngTemplateOutlet=\"idle\" />\n }\n }\n @case ('success') {\n @if (succeededTpl(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl.templateRef\" />\n } @else if (succeededLabel()) {\n {{ succeededLabel() }}\n } @else {\n <ng-container *ngTemplateOutlet=\"idle\" />\n }\n }\n @case ('error') {\n @if (failedTpl(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl.templateRef; context: { $implicit: effectiveError() }\"\n />\n } @else if (failedLabel()) {\n {{ failedLabel() }}\n } @else {\n <ng-container *ngTemplateOutlet=\"idle\" />\n }\n }\n @default {\n <ng-container *ngTemplateOutlet=\"idle\" />\n }\n }\n </button>\n @if (disabledReason(); as reason) {\n <span [id]=\"reasonId\" class=\"cngx-action-button__sr-only\">{{ reason }}</span>\n }\n <span aria-live=\"polite\" aria-atomic=\"true\" class=\"cngx-action-button__sr-only\">{{\n effectiveAnnouncement()\n }}</span>\n `,\n styleUrls: ['./action-button.css'],\n})\nexport class CngxActionButton {\n private readonly toaster = inject(CngxToaster, { optional: true });\n private readonly errorDetail = injectErrorDetail();\n private readonly feedbackI18n = injectFeedbackI18n();\n private readonly externalToastOn = inject(CngxToastOn, { self: true, optional: true });\n protected readonly i18n = injectInteractiveI18n();\n\n /** The async action to execute on click. */\n readonly action = input.required<AsyncAction>();\n\n /** Duration in ms to show success/error feedback. Passed through to `cngxAsyncClick`. */\n readonly feedbackDuration = input<number>(2000);\n\n /** When `false`, clicks are ignored. Passed through to `cngxAsyncClick`. */\n readonly enabled = input<boolean>(true);\n\n /** Button type attribute. Defaults to `'button'` to prevent accidental form submits. */\n readonly type = input<'button' | 'submit' | 'reset'>('button');\n\n /** Visual variant - sets CSS class `cngx-action-button--{variant}`. */\n readonly variant = input<ActionButtonVariant>('primary');\n\n /**\n * SR announcement on success. Falls back to `succeededLabel`, then\n * `CNGX_INTERACTIVE_I18N.asyncClickSucceeded`.\n */\n readonly succeededAnnouncement = input<string | undefined>(undefined);\n\n /**\n * SR announcement on failure. Falls back to `failedLabel`, then\n * `CNGX_INTERACTIVE_I18N.asyncClickFailed`.\n */\n readonly failedAnnouncement = input<string | undefined>(undefined);\n\n /** Fallback text while pending (when no `cngxPending` template is projected). */\n readonly pendingLabel = input<string | undefined>(undefined);\n\n /** Fallback text after success (when no `cngxSucceeded` template is projected). */\n readonly succeededLabel = input<string | undefined>(undefined);\n\n /** Fallback text after failure (when no `cngxFailed` template is projected). */\n readonly failedLabel = input<string | undefined>(undefined);\n\n /**\n * Bind an external async state to derive visual status from.\n * When set, the button's status display follows `externalState.status()`.\n */\n readonly externalState = input<CngxAsyncState<unknown> | undefined>(undefined);\n\n /**\n * Reason the button is disabled, announced to screen readers while\n * `[enabled]` is `false`. Rendered into a hidden region and referenced by\n * `aria-describedby` only while disabled - an enabled button never carries\n * the reference. No effect when `[enabled]` is `true`.\n */\n readonly disabledReason = input<string | undefined>(undefined);\n\n /**\n * Toast message on success. Requires `CngxToaster` (via `provideFeedback(withToasts())`\n * or `provideToasts()`). Silently ignored when toaster is not provided.\n *\n * `toastSuccessDuration` should be >= `feedbackDuration` to avoid rapid re-fire\n * on repeated clicks that floods the SR announcement queue.\n */\n readonly toastSuccess = input<string | undefined>(undefined);\n\n /** Toast message on error. */\n readonly toastError = input<string | undefined>(undefined);\n\n /** Include the error detail message in the error toast body. */\n readonly toastErrorDetail = input<boolean>(false);\n\n /** Duration for success toasts in ms. */\n readonly toastSuccessDuration = input<number>(3000);\n\n /** Duration for error toasts - `'persistent'` means manual dismiss only. */\n readonly toastErrorDuration = input<number | 'persistent'>('persistent');\n\n /** @internal - inner CngxAsyncClick directive instance. Non-required to allow safe pre-view-init reads. */\n private readonly asyncClick = viewChild(CngxAsyncClick);\n\n /**\n * @internal - effective status: reflects external `[externalState]` if\n * bound (through the shared `CngxAsyncStatus` reflection - one home for\n * the state→display-bucket mapping), otherwise reads the inner\n * `CngxAsyncClick` directive.\n */\n protected readonly effectiveStatus = computed(() => {\n const ext = this.externalState();\n if (ext) {\n return reflectAsyncDisplayStatus(ext);\n }\n // Guard against pre-view-init reads of `state` from consumers.\n const click = this.asyncClick();\n return click ? click.status() : ('idle' as const);\n });\n\n /** @internal - effective error value from external state or inner directive. */\n protected readonly effectiveError = computed(() => {\n const ext = this.externalState();\n if (ext) {\n return ext.error();\n }\n const click = this.asyncClick();\n return click ? click.error() : undefined;\n });\n\n /** @internal - busy while the effective status (inner or external) is pending. */\n protected readonly effectiveBusy = computed(() => this.effectiveStatus() === 'pending');\n\n /**\n * @internal - what the inner `CngxAsyncClick` may act on: only when the\n * consumer enabled it AND no effective operation is in flight. Feeding this\n * as `[enabled]` routes external-pending through the atom's own click guard,\n * so a click cannot start a second run while an external state is pending.\n */\n protected readonly clickEnabled = computed(\n () => this.enabled() && this.effectiveStatus() !== 'pending',\n );\n\n /**\n * @internal - SR announcement derived from the effective status, so an\n * external success/error settles audibly too (the inner directive only\n * knows its own runs). Mirrors the label fallback chain the template uses.\n */\n protected readonly effectiveAnnouncement = computed(() => {\n switch (this.effectiveStatus()) {\n case 'success':\n return untracked(\n () =>\n this.succeededAnnouncement() ??\n this.succeededLabel() ??\n this.i18n().asyncClickSucceeded,\n );\n case 'error':\n return untracked(\n () => this.failedAnnouncement() ?? this.failedLabel() ?? this.i18n().asyncClickFailed,\n );\n default:\n return '';\n }\n });\n\n /** @internal - stable id for the disabled-reason region. */\n protected readonly reasonId = nextUid('cngx-action-button-reason');\n\n /**\n * @internal - reference the reason region only while actually disabled by\n * intent and a reason exists. accname traverses a directly referenced hidden\n * node, so the id must be gated on the state it describes rather than left\n * permanently pointing at a hidden region.\n */\n protected readonly describedBy = computed(() =>\n !this.enabled() && this.disabledReason() ? this.reasonId : null,\n );\n\n private readonly lastUpdatedState = signal<Date | undefined>(undefined);\n\n /**\n * Full `CngxAsyncState` view of this button's effective lifecycle.\n *\n * Reflects the external state when `[externalState]` is bound,\n * otherwise the inner `CngxAsyncClick` directive's state.\n *\n * Bind to any state consumer: `<cngx-alert [state]=\"btn.state\" />`.\n */\n readonly state: CngxAsyncState<unknown> = buildAsyncStateView<unknown>({\n status: this.effectiveStatus,\n data: computed(() => undefined),\n error: this.effectiveError,\n lastUpdated: this.lastUpdatedState.asReadonly(),\n });\n\n /** @internal */\n protected readonly pendingTpl = contentChild(CngxPending);\n /** @internal */\n protected readonly succeededTpl = contentChild(CngxSucceeded);\n /** @internal */\n protected readonly failedTpl = contentChild(CngxFailed);\n\n constructor() {\n // Double-toast guard, consumer placed [cngxToastOn] on the same element.\n if (\n typeof ngDevMode !== 'undefined' &&\n ngDevMode &&\n this.externalToastOn &&\n (this.toastSuccess() || this.toastError())\n ) {\n console.warn(\n 'CngxActionButton: [toastSuccess]/[toastError] inputs and [cngxToastOn] ' +\n 'on the same element will fire duplicate toasts. Use one or the other.',\n );\n }\n\n const tracker = createTransitionTracker(() => this.effectiveStatus());\n\n effect(() => {\n const status = tracker.current();\n const previous = tracker.previous();\n\n if (status === previous) {\n return;\n }\n\n // Only the transition edge may re-run this body. The toast inputs and\n // effectiveError are read untracked: previous() stays stale for the whole\n // settled window, so a tracked read would re-fire the toast on any input\n // rebind while status sits in success/error. Doctrine: bridge effects\n // untrack service calls.\n untracked(() => {\n if (status === 'success') {\n // Producer write for the buildAsyncStateView `lastUpdated` slot (no other\n // source feeds it) - state production, not derived-state sync. This is the\n // sanctioned signal-write-in-effect class, same as the async-state-view pattern.\n this.lastUpdatedState.set(new Date());\n const msg = this.toastSuccess();\n if (msg && this.toaster) {\n this.toaster.show({\n message: msg,\n severity: 'success',\n duration: this.toastSuccessDuration(),\n });\n }\n }\n\n if (status === 'error') {\n const msg = this.toastError();\n if (msg && this.toaster) {\n const err = this.effectiveError();\n const detail =\n this.toastErrorDetail() && err != null ? this.errorDetail(err) : undefined;\n this.toaster.show({\n message: detail ? this.feedbackI18n().errorWithDetail(msg, detail) : msg,\n severity: 'error',\n duration: this.toastErrorDuration(),\n });\n }\n }\n });\n });\n }\n}\n","/**\n * @module @cngx/ui/action-button\n */\n\nexport { CngxActionButton, type ActionButtonVariant } from './action-button';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAsCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuDG;MAsEU,gBAAgB,CAAA;IACV,OAAO,GAAG,MAAM,CAAC,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjD,WAAW,GAAG,iBAAiB,EAAE;IACjC,YAAY,GAAG,kBAAkB,EAAE;AACnC,IAAA,eAAe,GAAG,MAAM,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACnE,IAAI,GAAG,qBAAqB,EAAE;;AAGxC,IAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,4EAAe;;AAGtC,IAAA,gBAAgB,GAAG,KAAK,CAAS,IAAI,uFAAC;;AAGtC,IAAA,OAAO,GAAG,KAAK,CAAU,IAAI,8EAAC;;AAG9B,IAAA,IAAI,GAAG,KAAK,CAAgC,QAAQ,2EAAC;;AAGrD,IAAA,OAAO,GAAG,KAAK,CAAsB,SAAS,8EAAC;AAExD;;;AAGG;AACM,IAAA,qBAAqB,GAAG,KAAK,CAAqB,SAAS,4FAAC;AAErE;;;AAGG;AACM,IAAA,kBAAkB,GAAG,KAAK,CAAqB,SAAS,yFAAC;;AAGzD,IAAA,YAAY,GAAG,KAAK,CAAqB,SAAS,mFAAC;;AAGnD,IAAA,cAAc,GAAG,KAAK,CAAqB,SAAS,qFAAC;;AAGrD,IAAA,WAAW,GAAG,KAAK,CAAqB,SAAS,kFAAC;AAE3D;;;AAGG;AACM,IAAA,aAAa,GAAG,KAA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":"cngx-ui-action-button.mjs","sources":["../../../projects/ui/action-button/action-toast.directive.ts","../../../projects/ui/action-button/action-button.ts","../../../projects/ui/action-button/public-api.ts","../../../projects/ui/action-button/cngx-ui-action-button.ts"],"sourcesContent":["import { afterNextRender, Directive, inject, input, untracked } from '@angular/core';\nimport {\n CNGX_ACTION_STATUS,\n CNGX_ANNOUNCEMENT_COVER,\n type CngxActionOutcome,\n type CngxAnnouncementCover,\n} from '@cngx/common/interactive';\nimport {\n CngxToastOn,\n CngxToaster,\n injectErrorDetail,\n injectFeedbackI18n,\n resolveOutcomeToast,\n} from '@cngx/ui/feedback';\nimport { cngxDevWarn } from '@cngx/utils';\n\n/**\n * Raises one toast per outcome of an action host on `CngxActionStatusBrain`: each own settle\n * and each `success` / `error` edge of a bound `[externalState]`, read from\n * `CNGX_ACTION_STATUS.outcome`. Two settles before one render are two toasts.\n *\n * Host directive only: `CngxActionButton` co-hosts it, an ejected action host lists it in\n * `hostDirectives`. Without a `CngxToaster` (`provideFeedback(withToasts())` or\n * `provideToasts()`) it does nothing.\n *\n * A shown toast already announces its outcome, so via `CNGX_ANNOUNCEMENT_COVER` the live region\n * stays empty for that outcome unless the brain's `announce` is `'always'`.\n *\n * Do not combine it with `[cngxToastOn]` on the same element: both toast the same outcome, and\n * development builds warn [`CNGX3008`](/error-codes/cngx3008.md).\n *\n * ```ts\n * hostDirectives: [\n * // ...button brain, async click, action status brain\n * { directive: CngxActionToast, inputs: ['toastSuccess', 'toastError'] },\n * ],\n * ```\n *\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/action-button/action-toast.directive.ts\n * @since 0.3.0\n * @relatedTo CngxActionButton, CngxActionStatusBrain, CNGX_ANNOUNCEMENT_COVER, CngxToaster, CngxToastOn, withToasts, provideToasts, withErrorDetail, CNGX_ACTION_STATUS\n * <example-url>/#/ui/action-button/async-button/toasts</example-url>\n * @axis level molecule\n */\n@Directive({\n standalone: true,\n exportAs: 'cngxActionToast',\n providers: [{ provide: CNGX_ANNOUNCEMENT_COVER, useExisting: CngxActionToast, multi: true }],\n})\nexport class CngxActionToast implements CngxAnnouncementCover {\n private readonly status = inject(CNGX_ACTION_STATUS);\n private readonly toaster = inject(CngxToaster, { optional: true });\n private readonly errorDetail = injectErrorDetail();\n private readonly feedbackI18n = injectFeedbackI18n();\n private readonly externalToastOn = inject(CngxToastOn, { self: true, optional: true });\n\n /**\n * Toast message on success. Repeats inside the toaster's dedup window\n * (`withToasts({ dedupWindow })`, 1000 ms by default) merge into one toast with a count.\n */\n readonly toastSuccess = input<string | undefined>(undefined);\n\n /** Toast message on error. */\n readonly toastError = input<string | undefined>(undefined);\n\n /**\n * Appends the error detail to the error toast message. The detail comes from\n * `provideFeedback(withErrorDetail(...))`. Without a mapping, development builds append the\n * raw error message and warn once ([`CNGX3004`](/error-codes/cngx3004.md)); production builds\n * append nothing.\n */\n readonly toastErrorDetail = input<boolean>(false);\n\n /**\n * Duration for success toasts in ms. Unbound, `CngxToaster` resolves it:\n * `withToasts({ defaultDuration })`, else 5000 ms.\n */\n readonly toastSuccessDuration = input<number | undefined>(undefined);\n\n /**\n * Duration for error toasts in ms, or `'persistent'` for manual dismiss only. Unbound, the\n * toaster keeps an error toast until it is dismissed.\n */\n readonly toastErrorDuration = input<number | 'persistent' | undefined>(undefined);\n\n constructor() {\n // Double-toast guard, consumer placed [cngxToastOn] on the same element.\n // After the first render: template-bound inputs are unset in the constructor.\n if (typeof ngDevMode !== 'undefined' && ngDevMode && this.externalToastOn) {\n afterNextRender(() => {\n if (this.toastSuccess() || this.toastError()) {\n cngxDevWarn(\n 'CNGX3008',\n '[cngxActionToast] [toastSuccess]/[toastError] inputs and [cngxToastOn] ' +\n 'on the same element will fire duplicate toasts. Use one or the other.',\n );\n }\n });\n }\n\n this.status.outcome.subscribe((outcome) => untracked(() => this.showToast(outcome)));\n }\n\n /**\n * `true` when a shown toast already announces this outcome, unless the\n * brain's `[announce]` is `'always'`.\n */\n covers(status: 'success' | 'error'): boolean {\n return untracked(() => this.status.announce() !== 'always' && this.toastCovers(status));\n }\n\n private toastCovers(status: 'success' | 'error'): boolean {\n if (!this.toaster) {\n return false;\n }\n return status === 'success' ? !!this.toastSuccess() : !!this.toastError();\n }\n\n private showToast({ status, error }: CngxActionOutcome): void {\n if (!this.toaster) {\n return;\n }\n const toast = resolveOutcomeToast(this, status, error, this.errorDetail, this.feedbackI18n());\n if (toast) {\n this.toaster.show(toast);\n }\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n contentChild,\n inject,\n ViewEncapsulation,\n type Signal,\n} from '@angular/core';\nimport {\n CngxButtonAdornment,\n CngxButtonBrain,\n CngxButtonEnd,\n CngxButtonStart,\n provideActionStatusHost,\n provideButtonHost,\n} from '@cngx/common/button';\nimport {\n CNGX_ACTION_STATUS,\n CngxActionStatusBrain,\n CngxActionStatusStack,\n CngxAsyncClick,\n} from '@cngx/common/interactive';\nimport type { AsyncStatus, CngxAsyncState } from '@cngx/core/utils';\n\nimport { CngxActionToast } from './action-toast.directive';\n\n/**\n * Async action button on the cngx button brain. Runs an action on click and reports the\n * outcome in its label, in a live region and, with the toast inputs, in a toast.\n *\n * Use it over `cngxButton` with `[cngxAsyncClick]` when the label should change per outcome,\n * when the button reflects an `[externalState]` it does not own, or when the outcome raises a\n * toast. Variant, tone, size and `disabled` with a reason work as on `cngxButton`.\n *\n * The labels sit stacked in one cell, so the width never jumps. The result label shows once the\n * busy visual releases; `aria-busy` and the click guard hold until then. Each outcome is spoken\n * once in the live region, in the words the button shows.\n *\n * The English language pack ships no status labels. Without a bound label, a template or\n * `withActionStatusLabels` the visible label never changes and only the live region reports\n * the outcome. The slot directives come from `@cngx/common/interactive`.\n *\n * The button publishes `CNGX_BUTTON_STATE`, so it can be the main action of a `cngxSplitButton`.\n *\n * To eject, list `CngxButtonBrain`, `CngxAsyncClick`, `CngxActionStatusBrain` and\n * `CngxActionToast` in `hostDirectives` with `provideButtonHost()` and\n * `provideActionStatusHost()`.\n *\n * ```html\n * <button cngxActionButton [action]=\"save\">\n * Save Draft\n * <ng-template cngxPending>Saving...</ng-template>\n * <ng-template cngxSucceeded>Saved!</ng-template>\n * <ng-template cngxFailed let-err>{{ err }} - retry?</ng-template>\n * </button>\n * ```\n *\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/action-button/action-button.ts\n * @since 0.3.0\n * @relatedTo CngxButton, CngxButtonBrain, CngxAsyncClick, CngxActionStatusBrain, CngxActionToast, CngxPending, CngxSucceeded, CngxFailed, CngxSplitButton, CngxToastOn, withActionStatusLabels, withActionStatusTemplates, CngxPopoverAction\n * @slot cngxPending Replaces the label while the action runs, once the run outlasts the show delay.\n * @slot cngxSucceeded Replaces the label after the action succeeds, once the busy visual releases.\n * @slot cngxFailed Replaces the label when the action fails, once the busy visual releases; gets the error.\n * <example-url>/#/ui/action-button/async-button/random-outcome</example-url>\n * <example-url>/#/ui/action-button/async-button/string-labels</example-url>\n * <example-url>/#/ui/action-button/async-button/template-slots</example-url>\n * <example-url>/#/ui/action-button/async-button/external-state</example-url>\n * <example-url>/#/ui/action-button/async-button/toasts</example-url>\n * <example-url>/#/ui/action-button/async-button/disabled-with-reason</example-url>\n * <example-url>/#/ui/action-button/async-button/busy-timing</example-url>\n * <example-url>/#/ui/action-button/async-button/announcements-and-outputs</example-url>\n * <example-url>/#/ui/action-button/async-button/app-wide-labels</example-url>\n * @axis level organism\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector -- attribute selector by design (sits on the native button)\n selector: 'button[cngxActionButton]',\n standalone: true,\n imports: [CngxActionStatusStack, CngxButtonAdornment],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'cngxActionButton',\n hostDirectives: [\n {\n directive: CngxButtonBrain,\n inputs: [\n 'variant: cngxActionButton',\n 'tone',\n 'size',\n 'disabled',\n 'disabledReason',\n 'cngxDescribedBy',\n 'type',\n ],\n },\n {\n directive: CngxAsyncClick,\n inputs: ['cngxAsyncClick: action', 'feedbackDuration', 'showDelay', 'minDwell'],\n outputs: ['settled'],\n },\n {\n directive: CngxActionStatusBrain,\n outputs: ['outcome'],\n inputs: [\n 'succeededAnnouncement',\n 'failedAnnouncement',\n 'announce',\n 'pendingLabel',\n 'succeededLabel',\n 'failedLabel',\n 'externalState',\n ],\n },\n {\n directive: CngxActionToast,\n inputs: [\n 'toastSuccess',\n 'toastError',\n 'toastErrorDetail',\n 'toastSuccessDuration',\n 'toastErrorDuration',\n ],\n },\n ],\n providers: [\n provideButtonHost('cngxActionButton', { defaultVariant: 'solid' }),\n provideActionStatusHost(),\n ],\n host: {\n class: 'cngx-button cngx-action-button',\n '[attr.data-start]': 'startSlot() ? \"\" : null',\n '[attr.data-end]': 'endSlot() ? \"\" : null',\n },\n template: `\n <ng-content select=\"[cngxButtonStart]\" />\n <span\n class=\"cngx-button__label cngx-action-button__labels\"\n cngxActionStatusStack\n cellClass=\"cngx-action-button__label\"\n >\n <ng-content />\n </span>\n <ng-content select=\"[cngxButtonEnd]\" />\n <cngx-button-adornment />\n `,\n styleUrls: ['./action-button.css'],\n})\nexport class CngxActionButton {\n protected readonly brain = inject(CngxButtonBrain);\n protected readonly actionStatus = inject(CNGX_ACTION_STATUS);\n\n protected readonly startSlot = contentChild(CngxButtonStart);\n protected readonly endSlot = contentChild(CngxButtonEnd);\n\n /** Effective status: `[externalState]` when bound, else the run. Immediate, not gated. */\n readonly status: Signal<AsyncStatus> = this.actionStatus.status;\n\n /** `true` while the busy visual shows (the run after the show delay, held for its min-dwell). */\n readonly busyVisible: Signal<boolean> = this.brain.busyVisible;\n\n /**\n * Effective lifecycle as `CngxAsyncState`, for `[state]=\"btn.state\"`. `lastUpdated` is the\n * last successful own run, or the bound state's value with no fallback to own runs.\n */\n readonly state: CngxAsyncState<unknown> = this.actionStatus.state;\n}\n","/**\n * @module `@cngx/ui/action-button`\n */\n\nexport { CngxActionButton } from './action-button';\nexport { CngxActionToast } from './action-toast.directive';\n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