@tectra-ng/ui 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/README.md +1 -1
  2. package/autocomplete/README.md +1 -1
  3. package/avatar/README.md +1 -1
  4. package/breadcrumb/README.md +1 -1
  5. package/carousel/README.md +7 -0
  6. package/color-swatches/README.md +53 -0
  7. package/data-view/README.md +8 -0
  8. package/fesm2022/tectra-ng-ui-autocomplete.mjs +17 -6
  9. package/fesm2022/tectra-ng-ui-autocomplete.mjs.map +1 -1
  10. package/fesm2022/tectra-ng-ui-avatar.mjs +11 -4
  11. package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
  12. package/fesm2022/tectra-ng-ui-breadcrumb.mjs +5 -5
  13. package/fesm2022/tectra-ng-ui-breadcrumb.mjs.map +1 -1
  14. package/fesm2022/tectra-ng-ui-card.mjs +4 -2
  15. package/fesm2022/tectra-ng-ui-card.mjs.map +1 -1
  16. package/fesm2022/tectra-ng-ui-carousel.mjs +21 -2
  17. package/fesm2022/tectra-ng-ui-carousel.mjs.map +1 -1
  18. package/fesm2022/tectra-ng-ui-cascade-select.mjs +2 -2
  19. package/fesm2022/tectra-ng-ui-cascade-select.mjs.map +1 -1
  20. package/fesm2022/tectra-ng-ui-checkbox.mjs +7 -4
  21. package/fesm2022/tectra-ng-ui-checkbox.mjs.map +1 -1
  22. package/fesm2022/tectra-ng-ui-chips-input.mjs +5 -2
  23. package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
  24. package/fesm2022/tectra-ng-ui-color-picker.mjs +2 -2
  25. package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
  26. package/fesm2022/tectra-ng-ui-color-swatches.mjs +378 -0
  27. package/fesm2022/tectra-ng-ui-color-swatches.mjs.map +1 -0
  28. package/fesm2022/tectra-ng-ui-country-select.mjs +4 -2
  29. package/fesm2022/tectra-ng-ui-country-select.mjs.map +1 -1
  30. package/fesm2022/tectra-ng-ui-data-view.mjs +50 -7
  31. package/fesm2022/tectra-ng-ui-data-view.mjs.map +1 -1
  32. package/fesm2022/tectra-ng-ui-datepicker.mjs +12 -0
  33. package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
  34. package/fesm2022/tectra-ng-ui-dialog.mjs +7 -2
  35. package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -1
  36. package/fesm2022/tectra-ng-ui-export.mjs +5 -1
  37. package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
  38. package/fesm2022/tectra-ng-ui-file-upload.mjs +44 -30
  39. package/fesm2022/tectra-ng-ui-file-upload.mjs.map +1 -1
  40. package/fesm2022/tectra-ng-ui-galleria.mjs +63 -6
  41. package/fesm2022/tectra-ng-ui-galleria.mjs.map +1 -1
  42. package/fesm2022/tectra-ng-ui-image.mjs +6 -2
  43. package/fesm2022/tectra-ng-ui-image.mjs.map +1 -1
  44. package/fesm2022/tectra-ng-ui-input.mjs +2 -2
  45. package/fesm2022/tectra-ng-ui-input.mjs.map +1 -1
  46. package/fesm2022/tectra-ng-ui-knob.mjs +3 -0
  47. package/fesm2022/tectra-ng-ui-knob.mjs.map +1 -1
  48. package/fesm2022/tectra-ng-ui-list-input.mjs +2 -2
  49. package/fesm2022/tectra-ng-ui-list-input.mjs.map +1 -1
  50. package/fesm2022/tectra-ng-ui-menu.mjs +110 -10
  51. package/fesm2022/tectra-ng-ui-menu.mjs.map +1 -1
  52. package/fesm2022/tectra-ng-ui-message.mjs +61 -18
  53. package/fesm2022/tectra-ng-ui-message.mjs.map +1 -1
  54. package/fesm2022/tectra-ng-ui-multiselect.mjs +14 -6
  55. package/fesm2022/tectra-ng-ui-multiselect.mjs.map +1 -1
  56. package/fesm2022/tectra-ng-ui-paginator.mjs +8 -2
  57. package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -1
  58. package/fesm2022/tectra-ng-ui-panel-menu.mjs +15 -8
  59. package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
  60. package/fesm2022/tectra-ng-ui-panel.mjs +2 -0
  61. package/fesm2022/tectra-ng-ui-panel.mjs.map +1 -1
  62. package/fesm2022/tectra-ng-ui-password.mjs +9 -0
  63. package/fesm2022/tectra-ng-ui-password.mjs.map +1 -1
  64. package/fesm2022/tectra-ng-ui-popover.mjs +16 -9
  65. package/fesm2022/tectra-ng-ui-popover.mjs.map +1 -1
  66. package/fesm2022/tectra-ng-ui-progress-bar.mjs +3 -0
  67. package/fesm2022/tectra-ng-ui-progress-bar.mjs.map +1 -1
  68. package/fesm2022/tectra-ng-ui-radio-button.mjs +28 -8
  69. package/fesm2022/tectra-ng-ui-radio-button.mjs.map +1 -1
  70. package/fesm2022/tectra-ng-ui-rating.mjs +6 -0
  71. package/fesm2022/tectra-ng-ui-rating.mjs.map +1 -1
  72. package/fesm2022/tectra-ng-ui-select.mjs +193 -10
  73. package/fesm2022/tectra-ng-ui-select.mjs.map +1 -1
  74. package/fesm2022/tectra-ng-ui-split-button.mjs +6 -3
  75. package/fesm2022/tectra-ng-ui-split-button.mjs.map +1 -1
  76. package/fesm2022/tectra-ng-ui-table.mjs +245 -49
  77. package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
  78. package/fesm2022/tectra-ng-ui-tabs.mjs +10 -7
  79. package/fesm2022/tectra-ng-ui-tabs.mjs.map +1 -1
  80. package/fesm2022/tectra-ng-ui-timeline.mjs +87 -10
  81. package/fesm2022/tectra-ng-ui-timeline.mjs.map +1 -1
  82. package/fesm2022/tectra-ng-ui-toast.mjs +24 -7
  83. package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -1
  84. package/fesm2022/tectra-ng-ui-toggle-switch.mjs +7 -4
  85. package/fesm2022/tectra-ng-ui-toggle-switch.mjs.map +1 -1
  86. package/fesm2022/tectra-ng-ui-tooltip.mjs +5 -4
  87. package/fesm2022/tectra-ng-ui-tooltip.mjs.map +1 -1
  88. package/fesm2022/tectra-ng-ui-tree-select.mjs +14 -6
  89. package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
  90. package/fesm2022/tectra-ng-ui-tree-table.mjs +3 -1
  91. package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
  92. package/fesm2022/tectra-ng-ui-tree.mjs +47 -14
  93. package/fesm2022/tectra-ng-ui-tree.mjs.map +1 -1
  94. package/fesm2022/tectra-ng-ui-virtual-scroller.mjs +45 -4
  95. package/fesm2022/tectra-ng-ui-virtual-scroller.mjs.map +1 -1
  96. package/fesm2022/tectra-ng-ui.mjs +1 -1
  97. package/file-upload/README.md +2 -1
  98. package/galleria/README.md +9 -0
  99. package/menu/README.md +10 -2
  100. package/message/README.md +4 -3
  101. package/multiselect/README.md +1 -1
  102. package/package.json +8 -4
  103. package/popover/README.md +2 -2
  104. package/select/README.md +9 -0
  105. package/split-button/README.md +1 -1
  106. package/table/README.md +15 -2
  107. package/tabs/README.md +1 -1
  108. package/timeline/README.md +10 -2
  109. package/tree/README.md +7 -0
  110. package/tree-select/README.md +1 -1
  111. package/types/tectra-ng-ui-autocomplete.d.ts +2 -1
  112. package/types/tectra-ng-ui-autocomplete.d.ts.map +1 -1
  113. package/types/tectra-ng-ui-avatar.d.ts +4 -2
  114. package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
  115. package/types/tectra-ng-ui-breadcrumb.d.ts +3 -3
  116. package/types/tectra-ng-ui-card.d.ts.map +1 -1
  117. package/types/tectra-ng-ui-carousel.d.ts +14 -5
  118. package/types/tectra-ng-ui-carousel.d.ts.map +1 -1
  119. package/types/tectra-ng-ui-checkbox.d.ts +1 -0
  120. package/types/tectra-ng-ui-checkbox.d.ts.map +1 -1
  121. package/types/tectra-ng-ui-chips-input.d.ts +1 -0
  122. package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
  123. package/types/tectra-ng-ui-color-swatches.d.ts +141 -0
  124. package/types/tectra-ng-ui-color-swatches.d.ts.map +1 -0
  125. package/types/tectra-ng-ui-data-view.d.ts +31 -12
  126. package/types/tectra-ng-ui-data-view.d.ts.map +1 -1
  127. package/types/tectra-ng-ui-datepicker.d.ts +6 -0
  128. package/types/tectra-ng-ui-datepicker.d.ts.map +1 -1
  129. package/types/tectra-ng-ui-dialog.d.ts +1 -0
  130. package/types/tectra-ng-ui-dialog.d.ts.map +1 -1
  131. package/types/tectra-ng-ui-file-upload.d.ts +10 -7
  132. package/types/tectra-ng-ui-file-upload.d.ts.map +1 -1
  133. package/types/tectra-ng-ui-galleria.d.ts +42 -15
  134. package/types/tectra-ng-ui-galleria.d.ts.map +1 -1
  135. package/types/tectra-ng-ui-image.d.ts.map +1 -1
  136. package/types/tectra-ng-ui-knob.d.ts +1 -0
  137. package/types/tectra-ng-ui-knob.d.ts.map +1 -1
  138. package/types/tectra-ng-ui-menu.d.ts +35 -12
  139. package/types/tectra-ng-ui-menu.d.ts.map +1 -1
  140. package/types/tectra-ng-ui-message.d.ts +15 -6
  141. package/types/tectra-ng-ui-message.d.ts.map +1 -1
  142. package/types/tectra-ng-ui-multiselect.d.ts +2 -2
  143. package/types/tectra-ng-ui-multiselect.d.ts.map +1 -1
  144. package/types/tectra-ng-ui-paginator.d.ts +2 -0
  145. package/types/tectra-ng-ui-paginator.d.ts.map +1 -1
  146. package/types/tectra-ng-ui-panel-menu.d.ts.map +1 -1
  147. package/types/tectra-ng-ui-panel.d.ts.map +1 -1
  148. package/types/tectra-ng-ui-password.d.ts +3 -0
  149. package/types/tectra-ng-ui-password.d.ts.map +1 -1
  150. package/types/tectra-ng-ui-popover.d.ts +4 -2
  151. package/types/tectra-ng-ui-popover.d.ts.map +1 -1
  152. package/types/tectra-ng-ui-progress-bar.d.ts +1 -0
  153. package/types/tectra-ng-ui-progress-bar.d.ts.map +1 -1
  154. package/types/tectra-ng-ui-radio-button.d.ts +3 -1
  155. package/types/tectra-ng-ui-radio-button.d.ts.map +1 -1
  156. package/types/tectra-ng-ui-rating.d.ts +2 -0
  157. package/types/tectra-ng-ui-rating.d.ts.map +1 -1
  158. package/types/tectra-ng-ui-select.d.ts +85 -20
  159. package/types/tectra-ng-ui-select.d.ts.map +1 -1
  160. package/types/tectra-ng-ui-split-button.d.ts.map +1 -1
  161. package/types/tectra-ng-ui-table.d.ts +121 -46
  162. package/types/tectra-ng-ui-table.d.ts.map +1 -1
  163. package/types/tectra-ng-ui-tabs.d.ts +6 -4
  164. package/types/tectra-ng-ui-tabs.d.ts.map +1 -1
  165. package/types/tectra-ng-ui-timeline.d.ts +46 -9
  166. package/types/tectra-ng-ui-timeline.d.ts.map +1 -1
  167. package/types/tectra-ng-ui-toast.d.ts +3 -0
  168. package/types/tectra-ng-ui-toast.d.ts.map +1 -1
  169. package/types/tectra-ng-ui-toggle-switch.d.ts +1 -0
  170. package/types/tectra-ng-ui-toggle-switch.d.ts.map +1 -1
  171. package/types/tectra-ng-ui-tooltip.d.ts.map +1 -1
  172. package/types/tectra-ng-ui-tree-select.d.ts +1 -1
  173. package/types/tectra-ng-ui-tree.d.ts +18 -7
  174. package/types/tectra-ng-ui-tree.d.ts.map +1 -1
  175. package/types/tectra-ng-ui-virtual-scroller.d.ts +29 -10
  176. package/types/tectra-ng-ui-virtual-scroller.d.ts.map +1 -1
  177. package/types/tectra-ng-ui.d.ts +1 -1
  178. package/virtual-scroller/README.md +8 -0
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-virtual-scroller.mjs","names":[],"sources":["../../../../packages/ui/virtual-scroller/src/virtual-scroller.templates.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.icons.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.theme.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.component.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.component.html"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\nimport { TxVirtualScrollerContentContext, TxVirtualScrollerItemContext, TxVirtualScrollerLoaderContext } from './virtual-scroller.types';\n\n@Directive({ selector: 'ng-template[txVirtualScrollerItem]' })\nexport class TxVirtualScrollerItem {\n readonly templateRef = inject<TemplateRef<TxVirtualScrollerItemContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[txVirtualScrollerLoader]' })\nexport class TxVirtualScrollerLoader {\n readonly templateRef = inject<TemplateRef<TxVirtualScrollerLoaderContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[txVirtualScrollerLoadingIcon]' })\nexport class TxVirtualScrollerLoadingIcon {\n readonly templateRef = inject<TemplateRef<void>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[txVirtualScrollerContent]' })\nexport class TxVirtualScrollerContent {\n readonly templateRef = inject<TemplateRef<TxVirtualScrollerContentContext>>(TemplateRef);\n}\n","import { TxIconSet, txIconSpinner } from '@tectra-ng/icons';\n\nexport const VIRTUAL_SCROLLER_ICON_DEFAULTS: TxIconSet = {\n spinner: txIconSpinner,\n};\n","import { virtualScrollerTokens } from '@tectra-ng/themes';\n\nexport const VIRTUAL_SCROLLER_THEME = {\n virtualScroller: virtualScrollerTokens,\n};\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n numberAttribute,\n output,\n signal,\n untracked,\n} from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean, optionalNumber } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraVirtualScrollerTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxVirtualScrollerContent, TxVirtualScrollerItem, TxVirtualScrollerLoader, TxVirtualScrollerLoadingIcon } from './virtual-scroller.templates';\nimport {\n TxVirtualScrollerContentContext,\n TxVirtualScrollerItemContext,\n TxVirtualScrollerLazyLoadEvent,\n TxVirtualScrollerOrientation,\n TxVirtualScrollerPart,\n TxVirtualScrollerPosition,\n TxVirtualScrollerRenderedRange,\n TxVirtualScrollerScrollEvent,\n} from './virtual-scroller.types';\nimport { VIRTUAL_SCROLLER_ICON_DEFAULTS } from './virtual-scroller.icons';\nimport { VIRTUAL_SCROLLER_THEME } from './virtual-scroller.theme';\n\n/** Rendered span of one axis and the visible span inside it, as indexes. */\ninterface TxAxisRange {\n /** Index of the first rendered item. */\n first: number;\n /** Index after the last rendered item. */\n last: number;\n /** Index of the first visible item. */\n viewFirst: number;\n /** Index after the last visible item. */\n viewLast: number;\n}\n\n/** One rendered item with its index. */\ninterface TxRenderedCell<T> {\n /** Index of the item on its axis. */\n index: number;\n /** The item; `undefined` while it is not loaded. */\n item: T | undefined;\n}\n\n/** One rendered row of a `both` grid. */\ninterface TxRenderedRow<T> {\n /** Index of the row. */\n index: number;\n /** The rendered cells of the row. */\n cells: TxRenderedCell<T>[];\n}\n\n/**\n * Renders only the items that fit in its scroll area, so long lists scroll smoothly;\n * vertical, horizontal or as a grid.\n */\n@Component({\n selector: 'tx-virtual-scroller',\n imports: [NgTemplateOutlet, TxIcon],\n templateUrl: './virtual-scroller.component.html',\n styleUrl: './virtual-scroller.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-virtual-scroller',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-orientation]': 'orientation()',\n '[class.tx-virtual-scroller--disabled]': 'disabled()',\n '[class.tx-virtual-scroller--loading]': 'showLoaderMask()',\n '[attr.tabindex]': 'tabindex()',\n '[attr.role]': 'ariaLabel() || ariaLabelledBy() ? \"region\" : null',\n '[attr.aria-label]': 'ariaLabel() ?? null',\n '[attr.aria-labelledby]': 'ariaLabelledBy() ?? null',\n '[attr.aria-busy]': 'loading() || null',\n '(scroll)': 'onScroll($event)',\n },\n viewProviders: [provideTxIconDefaults(VIRTUAL_SCROLLER_ICON_DEFAULTS)],\n})\nexport class TxVirtualScroller<T = unknown> {\n private readonly virtualScrollerTheme = injectTokens(VIRTUAL_SCROLLER_THEME);\n\n readonly items = input<readonly (T | undefined)[] | readonly (readonly (T | undefined)[])[] | null | undefined>(undefined);\n readonly itemSize = input<number | readonly [number, number]>(40);\n readonly scrollHeight = input<string | undefined>(undefined);\n readonly scrollWidth = input<string | undefined>(undefined);\n readonly orientation = input<TxVirtualScrollerOrientation>('vertical');\n readonly numToleratedItems = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly delay = input(0, { transform: numberAttribute });\n readonly step = input(0, { transform: numberAttribute });\n readonly lazy = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly appendOnly = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly disabled = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly showSpacer = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly showLoader = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly loading = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly loadingIcon = input('spinner');\n readonly trackBy = input<((index: number, item: T | undefined) => unknown) | undefined>(undefined);\n readonly tabindex = input(0, { transform: numberAttribute });\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraVirtualScrollerTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxVirtualScrollerPart, TxVirtualScroller<T>> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly lazyLoad = output<TxVirtualScrollerLazyLoadEvent>();\n readonly scrolled = output<TxVirtualScrollerScrollEvent>();\n readonly scrollIndexChange = output<TxVirtualScrollerRenderedRange['viewport']>();\n\n readonly itemTemplate = contentChild(TxVirtualScrollerItem);\n readonly loaderTemplate = contentChild(TxVirtualScrollerLoader);\n readonly loadingIconTemplate = contentChild(TxVirtualScrollerLoadingIcon);\n readonly contentTemplate = contentChild(TxVirtualScrollerContent);\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly destroy = inject(DestroyRef);\n private readonly cleanup = this.destroy.onDestroy(() => clearTimeout(this.timer));\n private timer: ReturnType<typeof setTimeout> | undefined;\n private lastLazy = '';\n private lastViewport = '';\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('virtualScroller', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({\n ...toStyleObject(this.dt(), '--tx-virtual-scroller'),\n ...(this.scrollHeight() ? { height: this.scrollHeight() } : {}),\n ...(this.scrollWidth() ? { width: this.scrollWidth() } : {}),\n ...this.passThrough().root?.style,\n }));\n\n readonly scrollTop = signal(0);\n readonly scrollLeft = signal(0);\n readonly viewportHeight = signal(0);\n readonly viewportWidth = signal(0);\n readonly scrolling = signal(false);\n\n readonly both = computed(() => this.orientation() === 'both');\n readonly horizontal = computed(() => this.orientation() === 'horizontal');\n readonly rowSize = computed(() => {\n const size = this.itemSize();\n return typeof size === 'number' ? size : size[0];\n });\n readonly columnSize = computed(() => {\n const size = this.itemSize();\n return typeof size === 'number' ? size : size[1];\n });\n readonly list = computed(() => (this.items() ?? []) as readonly (T | undefined)[]);\n readonly grid = computed(() => (this.both() ? ((this.items() ?? []) as readonly (readonly (T | undefined)[])[]) : []));\n readonly rowCount = computed(() => (this.horizontal() ? 1 : this.both() ? this.grid().length : this.list().length));\n readonly columnCount = computed(() => {\n if (this.horizontal()) return this.list().length;\n if (!this.both()) return 1;\n return this.grid().reduce((max, row) => Math.max(max, row?.length ?? 0), 0);\n });\n readonly rows = computed(() => (this.horizontal() ? this.fullRange(1) : this.axisRange(this.scrollTop(), this.viewportHeight(), this.rowSize(), this.rowCount())));\n readonly columns = computed(() => {\n if (!this.horizontal() && !this.both()) return this.fullRange(1);\n return this.axisRange(this.scrollLeft(), this.viewportWidth(), this.columnSize(), this.columnCount());\n });\n readonly totalHeight = computed(() => (this.horizontal() ? null : this.rowCount() * this.rowSize()));\n readonly totalWidth = computed(() => (this.horizontal() || this.both() ? this.columnCount() * this.columnSize() : null));\n readonly offsetTop = computed(() => (this.horizontal() ? 0 : this.rows().first * this.rowSize()));\n readonly offsetLeft = computed(() => (this.horizontal() || this.both() ? this.columns().first * this.columnSize() : 0));\n readonly contentTransform = computed(() => `translate3d(${this.offsetLeft()}px, ${this.offsetTop()}px, 0)`);\n\n readonly renderedItems = computed<TxRenderedCell<T>[]>(() => {\n if (this.both()) return [];\n const { first, last } = this.horizontal() ? this.columns() : this.rows();\n const list = this.list();\n const cells: TxRenderedCell<T>[] = [];\n for (let index = first; index < last; index += 1) cells.push({ index, item: list[index] });\n return cells;\n });\n readonly renderedRows = computed<TxRenderedRow<T>[]>(() => {\n if (!this.both()) return [];\n const rows = this.rows();\n const columns = this.columns();\n const grid = this.grid();\n const result: TxRenderedRow<T>[] = [];\n for (let row = rows.first; row < rows.last; row += 1) {\n const cells: TxRenderedCell<T>[] = [];\n for (let column = columns.first; column < columns.last; column += 1) cells.push({ index: column, item: grid[row]?.[column] });\n result.push({ index: row, cells });\n }\n return result;\n });\n readonly showLoaderMask = computed(() => this.showLoader() && (this.loading() || this.scrolling()) && !this.loaderTemplate());\n readonly showLoaderItems = computed(() => this.showLoader() && (this.loading() || this.scrolling()) && !!this.loaderTemplate());\n readonly contentContext = computed<TxVirtualScrollerContentContext<T | undefined>>(() => {\n const items = this.renderedItems().map((cell) => cell.item);\n const range = this.horizontal() ? this.columns() : this.rows();\n return {\n $implicit: items,\n items,\n first: range.first,\n last: range.last,\n count: this.horizontal() ? this.columnCount() : this.rowCount(),\n spacerBefore: this.horizontal() ? this.offsetLeft() : this.offsetTop(),\n itemSize: this.horizontal() ? this.columnSize() : this.rowSize(),\n };\n });\n\n constructor() {\n afterNextRender(() => {\n this.measure();\n if (typeof ResizeObserver === 'undefined') return;\n const observer = new ResizeObserver(() => this.measure());\n observer.observe(this.host.nativeElement);\n this.destroy.onDestroy(() => observer.disconnect());\n });\n\n effect(() => {\n if (!this.lazy()) return;\n const range = this.horizontal() ? this.columns() : this.rows();\n const step = this.step();\n const count = this.horizontal() ? this.columnCount() : this.rowCount();\n const first = step > 0 ? Math.floor(range.first / step) * step : range.first;\n const last = step > 0 ? Math.min(Math.max(count, range.last), Math.ceil(range.last / step) * step) : range.last;\n const key = `${first}:${last}`;\n if (key === this.lastLazy) return;\n this.lastLazy = key;\n untracked(() => this.lazyLoad.emit({ first, last }));\n });\n\n effect(() => {\n const viewport = this.renderedRange().viewport;\n const key = JSON.stringify(viewport);\n if (key === this.lastViewport) return;\n this.lastViewport = key;\n untracked(() => this.scrollIndexChange.emit(viewport));\n });\n }\n\n readonly renderedRange = computed<TxVirtualScrollerRenderedRange>(() => {\n const rows = this.rows();\n const columns = this.columns();\n if (this.both()) {\n return {\n first: [rows.first, columns.first],\n last: [rows.last, columns.last],\n viewport: { first: [rows.viewFirst, columns.viewFirst], last: [rows.viewLast, columns.viewLast] },\n };\n }\n const range = this.horizontal() ? columns : rows;\n return { first: range.first, last: range.last, viewport: { first: range.viewFirst, last: range.viewLast } };\n });\n\n getRenderedRange(): TxVirtualScrollerRenderedRange {\n return this.renderedRange();\n }\n\n trackOf(index: number, item: T | undefined): unknown {\n const own = this.trackBy();\n return own ? own(index, item) : index;\n }\n\n itemContext(cell: TxRenderedCell<T>, count: number): TxVirtualScrollerItemContext<T | undefined> {\n return {\n $implicit: cell.item,\n index: cell.index,\n count,\n first: cell.index === 0,\n last: cell.index === count - 1,\n even: cell.index % 2 === 0,\n odd: cell.index % 2 === 1,\n };\n }\n\n onScroll(event: Event): void {\n const element = event.target as HTMLElement;\n const top = element.scrollTop;\n const left = element.scrollLeft;\n this.scrolled.emit({ originalEvent: event });\n const apply = () => {\n this.scrollTop.set(top);\n this.scrollLeft.set(left);\n this.viewportHeight.set(element.clientHeight);\n this.viewportWidth.set(element.clientWidth);\n this.scrolling.set(false);\n };\n if (this.delay() > 0) {\n clearTimeout(this.timer);\n this.scrolling.set(true);\n this.timer = setTimeout(apply, this.delay());\n } else {\n apply();\n }\n }\n\n scrollTo(options: ScrollToOptions): void {\n const element = this.host.nativeElement;\n element.scrollTo?.(options);\n if (options.behavior === 'smooth') return;\n if (options.top !== undefined) this.scrollTop.set(Math.max(0, options.top));\n if (options.left !== undefined) this.scrollLeft.set(Math.max(0, options.left));\n }\n\n scrollToIndex(index: TxVirtualScrollerPosition, behavior: ScrollBehavior = 'auto'): void {\n const [row, column] = this.positionOf(index);\n this.scrollTo({ top: row * this.rowSize(), left: column * this.columnSize(), behavior });\n }\n\n scrollInView(index: TxVirtualScrollerPosition, to: 'to-start' | 'to-end', behavior: ScrollBehavior = 'auto'): void {\n const [row, column] = this.positionOf(index);\n if (to === 'to-start') {\n this.scrollToIndex(index, behavior);\n return;\n }\n this.scrollTo({\n top: Math.max(0, (row + 1) * this.rowSize() - this.viewportHeight()),\n left: Math.max(0, (column + 1) * this.columnSize() - this.viewportWidth()),\n behavior,\n });\n }\n\n refresh(): void {\n this.measure();\n }\n\n private positionOf(index: TxVirtualScrollerPosition): [number, number] {\n if (typeof index !== 'number') return [index[0], index[1]];\n return this.horizontal() ? [0, index] : [index, 0];\n }\n\n private measure(): void {\n const element = this.host.nativeElement;\n this.viewportHeight.set(element.clientHeight);\n this.viewportWidth.set(element.clientWidth);\n }\n\n private fullRange(count: number): TxAxisRange {\n return { first: 0, last: count, viewFirst: 0, viewLast: count };\n }\n\n private axisRange(scroll: number, viewport: number, size: number, count: number): TxAxisRange {\n if (this.disabled() || size <= 0) return this.fullRange(count);\n const space = viewport || size * 10;\n const visible = Math.ceil(space / size);\n const tolerance = this.numToleratedItems() ?? Math.ceil(visible / 2);\n const viewFirst = Math.min(count, Math.floor(scroll / size));\n const viewLast = Math.min(count, Math.ceil((scroll + space) / size));\n const first = this.appendOnly() ? 0 : Math.max(0, viewFirst - tolerance);\n const last = Math.min(count, viewLast + tolerance);\n return { first, last, viewFirst, viewLast };\n }\n}\n","@if (showSpacer()) {\n <div\n class=\"tx-virtual-scroller__spacer\"\n aria-hidden=\"true\"\n [style.height.px]=\"totalHeight()\"\n [style.width.px]=\"totalWidth()\"\n [class]=\"passThrough().spacer?.class\"\n [style]=\"passThrough().spacer?.style\"\n ></div>\n}\n\n<div\n class=\"tx-virtual-scroller__content\"\n [class.tx-virtual-scroller__content--horizontal]=\"horizontal()\"\n [style.transform]=\"contentTransform()\"\n [class]=\"passThrough().content?.class\"\n [style]=\"passThrough().content?.style\"\n>\n @if (contentTemplate(); as content) {\n <ng-container [ngTemplateOutlet]=\"content.templateRef\" [ngTemplateOutletContext]=\"contentContext()\" />\n } @else if (both()) {\n @for (row of renderedRows(); track row.index) {\n <div class=\"tx-virtual-scroller__row\" [style.height.px]=\"rowSize()\" [class]=\"passThrough().row?.class\" [style]=\"passThrough().row?.style\">\n @for (cell of row.cells; track trackOf(cell.index, cell.item)) {\n <div class=\"tx-virtual-scroller__item\" [style.width.px]=\"columnSize()\" [class]=\"passThrough().item?.class\" [style]=\"passThrough().item?.style\">\n <ng-container [ngTemplateOutlet]=\"cellContent\" [ngTemplateOutletContext]=\"{ $implicit: cell, count: columnCount() }\" />\n </div>\n }\n </div>\n }\n } @else {\n @for (cell of renderedItems(); track trackOf(cell.index, cell.item)) {\n <div\n class=\"tx-virtual-scroller__item\"\n [style.height.px]=\"horizontal() ? null : rowSize()\"\n [style.width.px]=\"horizontal() ? columnSize() : null\"\n [class]=\"passThrough().item?.class\"\n [style]=\"passThrough().item?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"cellContent\" [ngTemplateOutletContext]=\"{ $implicit: cell, count: horizontal() ? columnCount() : rowCount() }\" />\n </div>\n }\n }\n</div>\n\n@if (showLoaderMask()) {\n <div class=\"tx-virtual-scroller__loader\" [class]=\"passThrough().loader?.class\" [style]=\"passThrough().loader?.style\">\n @if (loadingIconTemplate(); as icon) {\n <ng-container [ngTemplateOutlet]=\"icon.templateRef\" />\n } @else {\n <tx-icon\n class=\"tx-virtual-scroller__loading-icon\"\n role=\"img\"\n [name]=\"loadingIcon()\"\n [attr.aria-label]=\"translations().loading\"\n [class]=\"passThrough().loadingIcon?.class\"\n [style]=\"passThrough().loadingIcon?.style\"\n />\n }\n </div>\n}\n\n<ng-template #cellContent let-cell let-count=\"count\">\n @if (showLoaderItems() || (cell.item === undefined && loaderTemplate())) {\n <ng-container [ngTemplateOutlet]=\"loaderTemplate()?.templateRef ?? null\" [ngTemplateOutletContext]=\"{ $implicit: cell.index, index: cell.index, count }\" />\n } @else if (itemTemplate(); as item) {\n <ng-container [ngTemplateOutlet]=\"item.templateRef\" [ngTemplateOutletContext]=\"itemContext(cell, count)\" />\n }\n</ng-template>\n"],"mappings":";;;;;;;;AAIA,IAAa,wBAAb,MAAa,sBAAqB;CACvB,cAAc,OAAkD,WAAW;CADzE,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAqB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAArB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAqB,cAAA;EAAA,UAAA;EAAA,UAAA;CAAA,CAAA;;AAArB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAqB,YAAA,CAAA;EADjC,MAAA;EAAU,MAAA,CAAA,EAAE,UAAU,qCAAoC,CAAE;;;AAM7D,IAAa,0BAAb,MAAa,wBAAuB;CACzB,cAAc,OAAoD,WAAW;CAD3E,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAuB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAvB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAuB,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AAA,MAAA,CAAA,GAAA,iBAAA,qBAAqB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,gBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBACnB,uBAAuB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,qBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAClB,4BAA4B,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,iBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAChC,wBAAwB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-virtual-scroller.mjs","names":[],"sources":["../../../../packages/ui/virtual-scroller/src/virtual-scroller.templates.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.icons.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.theme.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.component.ts","../../../../packages/ui/virtual-scroller/src/virtual-scroller.component.html"],"sourcesContent":["import { Directive, TemplateRef, inject, input } from '@angular/core';\nimport { TxVirtualScrollerContentContext, TxVirtualScrollerItemContext, TxVirtualScrollerLoaderContext } from './virtual-scroller.types';\n\n@Directive({ selector: 'ng-template[txVirtualScrollerItem]' })\nexport class TxVirtualScrollerItem<T> {\n readonly templateRef = inject<TemplateRef<TxVirtualScrollerItemContext<T>>>(TemplateRef);\n readonly txVirtualScrollerItemOf = input<readonly T[] | null | undefined>(undefined);\n\n static ngTemplateContextGuard<T>(_directive: TxVirtualScrollerItem<T>, context: unknown): context is TxVirtualScrollerItemContext<T> {\n return !!context;\n }\n}\n\n@Directive({ selector: 'ng-template[txVirtualScrollerLoader]' })\nexport class TxVirtualScrollerLoader {\n readonly templateRef = inject<TemplateRef<TxVirtualScrollerLoaderContext>>(TemplateRef);\n\n static ngTemplateContextGuard(_directive: TxVirtualScrollerLoader, context: unknown): context is TxVirtualScrollerLoaderContext {\n return !!context;\n }\n}\n\n@Directive({ selector: 'ng-template[txVirtualScrollerLoadingIcon]' })\nexport class TxVirtualScrollerLoadingIcon {\n readonly templateRef = inject<TemplateRef<void>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[txVirtualScrollerContent]' })\nexport class TxVirtualScrollerContent<T> {\n readonly templateRef = inject<TemplateRef<TxVirtualScrollerContentContext<T>>>(TemplateRef);\n readonly txVirtualScrollerContentOf = input<readonly T[] | null | undefined>(undefined);\n\n static ngTemplateContextGuard<T>(_directive: TxVirtualScrollerContent<T>, context: unknown): context is TxVirtualScrollerContentContext<T> {\n return !!context;\n }\n}\n","import { TxIconSet, txIconSpinner } from '@tectra-ng/icons';\n\nexport const VIRTUAL_SCROLLER_ICON_DEFAULTS: TxIconSet = {\n spinner: txIconSpinner,\n};\n","import { virtualScrollerTokens } from '@tectra-ng/themes';\n\nexport const VIRTUAL_SCROLLER_THEME = {\n virtualScroller: virtualScrollerTokens,\n};\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n numberAttribute,\n output,\n signal,\n untracked,\n} from '@angular/core';\nimport { injectPassThrough, injectTokens, injectUnstyled, TxPassThrough, TxPassThroughOptions } from '@tectra-ng/core/config';\nimport { injectTranslations } from '@tectra-ng/core/i18n';\nimport { optionalBoolean, optionalNumber } from '@tectra-ng/core/utils';\nimport { provideTxIconDefaults, TxIcon } from '@tectra-ng/icons';\nimport { TectraDeepPartial, TectraVirtualScrollerTokens, toStyleObject } from '@tectra-ng/themes';\nimport { TxVirtualScrollerContent, TxVirtualScrollerItem, TxVirtualScrollerLoader, TxVirtualScrollerLoadingIcon } from './virtual-scroller.templates';\nimport {\n TxVirtualScrollerContentContext,\n TxVirtualScrollerItemContext,\n TxVirtualScrollerLazyLoadEvent,\n TxVirtualScrollerOrientation,\n TxVirtualScrollerPart,\n TxVirtualScrollerPosition,\n TxVirtualScrollerRenderedRange,\n TxVirtualScrollerScrollEvent,\n} from './virtual-scroller.types';\nimport { VIRTUAL_SCROLLER_ICON_DEFAULTS } from './virtual-scroller.icons';\nimport { VIRTUAL_SCROLLER_THEME } from './virtual-scroller.theme';\n\n/** Rendered span of one axis and the visible span inside it, as indexes. */\ninterface TxAxisRange {\n /** Index of the first rendered item. */\n first: number;\n /** Index after the last rendered item. */\n last: number;\n /** Index of the first visible item. */\n viewFirst: number;\n /** Index after the last visible item. */\n viewLast: number;\n}\n\n/** One rendered item with its index. */\ninterface TxRenderedCell<T> {\n /** Index of the item on its axis. */\n index: number;\n /** The item; `undefined` while it is not loaded. */\n item: T | undefined;\n}\n\n/** One rendered row of a `both` grid. */\ninterface TxRenderedRow<T> {\n /** Index of the row. */\n index: number;\n /** The rendered cells of the row. */\n cells: TxRenderedCell<T>[];\n}\n\n/**\n * Renders only the items that fit in its scroll area, so long lists scroll smoothly;\n * vertical, horizontal or as a grid.\n */\n@Component({\n selector: 'tx-virtual-scroller',\n imports: [NgTemplateOutlet, TxIcon],\n templateUrl: './virtual-scroller.component.html',\n styleUrl: './virtual-scroller.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tx-virtual-scroller',\n '[class]': 'passThrough().root?.class',\n '[style]': 'hostStyle()',\n '[attr.data-styled]': '!isUnstyled() || null',\n '[attr.data-orientation]': 'orientation()',\n '[class.tx-virtual-scroller--disabled]': 'disabled()',\n '[class.tx-virtual-scroller--loading]': 'showLoaderMask()',\n '[attr.tabindex]': 'tabindex()',\n '[attr.role]': 'ariaLabel() || ariaLabelledBy() ? \"region\" : null',\n '[attr.aria-label]': 'ariaLabel() ?? null',\n '[attr.aria-labelledby]': 'ariaLabelledBy() ?? null',\n '[attr.aria-busy]': 'loading() || null',\n '(scroll)': 'onScroll($event)',\n },\n viewProviders: [provideTxIconDefaults(VIRTUAL_SCROLLER_ICON_DEFAULTS)],\n})\nexport class TxVirtualScroller<T = unknown> {\n private readonly virtualScrollerTheme = injectTokens(VIRTUAL_SCROLLER_THEME);\n\n readonly items = input<readonly (T | undefined)[] | readonly (readonly (T | undefined)[])[] | null | undefined>(undefined);\n readonly itemSize = input<number | readonly [number, number]>(40);\n readonly scrollHeight = input<string | undefined>(undefined);\n readonly scrollWidth = input<string | undefined>(undefined);\n readonly orientation = input<TxVirtualScrollerOrientation>('vertical');\n readonly numToleratedItems = input<number | undefined, unknown>(undefined, { transform: optionalNumber });\n readonly delay = input(0, { transform: numberAttribute });\n readonly step = input(0, { transform: numberAttribute });\n readonly lazy = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly appendOnly = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly disabled = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly showSpacer = input<boolean, unknown>(true, { transform: booleanAttribute });\n readonly showLoader = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly loading = input<boolean, unknown>(false, { transform: booleanAttribute });\n readonly loadingIcon = input('spinner');\n readonly trackBy = input<((index: number, item: T | undefined) => unknown) | undefined>(undefined);\n readonly tabindex = input(0, { transform: numberAttribute });\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly ariaLabelledBy = input<string | undefined>(undefined);\n readonly dt = input<TectraDeepPartial<TectraVirtualScrollerTokens> | undefined>(undefined);\n readonly pt = input<TxPassThrough<TxVirtualScrollerPart, TxVirtualScroller<T>> | undefined>(undefined);\n readonly ptOptions = input<TxPassThroughOptions | undefined>(undefined);\n readonly unstyled = input<boolean | undefined, unknown>(undefined, { transform: optionalBoolean });\n\n readonly lazyLoad = output<TxVirtualScrollerLazyLoadEvent>();\n readonly scrolled = output<TxVirtualScrollerScrollEvent>();\n readonly scrollIndexChange = output<TxVirtualScrollerRenderedRange['viewport']>();\n\n readonly itemTemplate = contentChild(TxVirtualScrollerItem);\n readonly loaderTemplate = contentChild(TxVirtualScrollerLoader);\n readonly loadingIconTemplate = contentChild(TxVirtualScrollerLoadingIcon);\n readonly contentTemplate = contentChild(TxVirtualScrollerContent);\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly destroy = inject(DestroyRef);\n private readonly cleanup = this.destroy.onDestroy(() => clearTimeout(this.timer));\n private timer: ReturnType<typeof setTimeout> | undefined;\n private lastLazy = '';\n private lastViewport = '';\n\n readonly translations = injectTranslations();\n readonly isUnstyled = injectUnstyled(this.unstyled);\n readonly passThrough = injectPassThrough('virtualScroller', this, this.pt, this.ptOptions);\n readonly hostStyle = computed(() => ({\n ...toStyleObject(this.dt(), '--tx-virtual-scroller'),\n ...(this.scrollHeight() ? { height: this.scrollHeight() } : {}),\n ...(this.scrollWidth() ? { width: this.scrollWidth() } : {}),\n ...this.passThrough().root?.style,\n }));\n\n readonly scrollTop = signal(0);\n readonly scrollLeft = signal(0);\n readonly viewportHeight = signal(0);\n readonly viewportWidth = signal(0);\n readonly scrolling = signal(false);\n\n readonly both = computed(() => this.orientation() === 'both');\n readonly horizontal = computed(() => this.orientation() === 'horizontal');\n readonly rowSize = computed(() => {\n const size = this.itemSize();\n return typeof size === 'number' ? size : size[0];\n });\n readonly columnSize = computed(() => {\n const size = this.itemSize();\n return typeof size === 'number' ? size : size[1];\n });\n readonly list = computed(() => (this.items() ?? []) as readonly (T | undefined)[]);\n readonly grid = computed(() => (this.both() ? ((this.items() ?? []) as readonly (readonly (T | undefined)[])[]) : []));\n readonly rowCount = computed(() => (this.horizontal() ? 1 : this.both() ? this.grid().length : this.list().length));\n readonly columnCount = computed(() => {\n if (this.horizontal()) return this.list().length;\n if (!this.both()) return 1;\n return this.grid().reduce((max, row) => Math.max(max, row?.length ?? 0), 0);\n });\n readonly rows = computed(() => (this.horizontal() ? this.fullRange(1) : this.axisRange(this.scrollTop(), this.viewportHeight(), this.rowSize(), this.rowCount())));\n readonly columns = computed(() => {\n if (!this.horizontal() && !this.both()) return this.fullRange(1);\n return this.axisRange(this.scrollLeft(), this.viewportWidth(), this.columnSize(), this.columnCount());\n });\n readonly totalHeight = computed(() => (this.horizontal() ? null : this.rowCount() * this.rowSize()));\n readonly totalWidth = computed(() => (this.horizontal() || this.both() ? this.columnCount() * this.columnSize() : null));\n readonly offsetTop = computed(() => (this.horizontal() ? 0 : this.rows().first * this.rowSize()));\n readonly offsetLeft = computed(() => (this.horizontal() || this.both() ? this.columns().first * this.columnSize() : 0));\n readonly contentTransform = computed(() => `translate3d(${this.offsetLeft()}px, ${this.offsetTop()}px, 0)`);\n\n readonly renderedItems = computed<TxRenderedCell<T>[]>(() => {\n if (this.both()) return [];\n const { first, last } = this.horizontal() ? this.columns() : this.rows();\n const list = this.list();\n const cells: TxRenderedCell<T>[] = [];\n for (let index = first; index < last; index += 1) cells.push({ index, item: list[index] });\n return cells;\n });\n readonly renderedRows = computed<TxRenderedRow<T>[]>(() => {\n if (!this.both()) return [];\n const rows = this.rows();\n const columns = this.columns();\n const grid = this.grid();\n const result: TxRenderedRow<T>[] = [];\n for (let row = rows.first; row < rows.last; row += 1) {\n const cells: TxRenderedCell<T>[] = [];\n for (let column = columns.first; column < columns.last; column += 1) cells.push({ index: column, item: grid[row]?.[column] });\n result.push({ index: row, cells });\n }\n return result;\n });\n readonly showLoaderMask = computed(() => this.showLoader() && (this.loading() || this.scrolling()) && !this.loaderTemplate());\n readonly showLoaderItems = computed(() => this.showLoader() && (this.loading() || this.scrolling()) && !!this.loaderTemplate());\n readonly contentContext = computed<TxVirtualScrollerContentContext<T | undefined>>(() => {\n const items = this.renderedItems().map((cell) => cell.item);\n const range = this.horizontal() ? this.columns() : this.rows();\n return {\n $implicit: items,\n items,\n first: range.first,\n last: range.last,\n count: this.horizontal() ? this.columnCount() : this.rowCount(),\n spacerBefore: this.horizontal() ? this.offsetLeft() : this.offsetTop(),\n itemSize: this.horizontal() ? this.columnSize() : this.rowSize(),\n };\n });\n\n constructor() {\n afterNextRender(() => {\n this.measure();\n if (typeof ResizeObserver === 'undefined') return;\n const observer = new ResizeObserver(() => this.measure());\n observer.observe(this.host.nativeElement);\n this.destroy.onDestroy(() => observer.disconnect());\n });\n\n effect(() => {\n if (!this.lazy()) return;\n const range = this.horizontal() ? this.columns() : this.rows();\n const step = this.step();\n const count = this.horizontal() ? this.columnCount() : this.rowCount();\n const first = step > 0 ? Math.floor(range.first / step) * step : range.first;\n const last = step > 0 ? Math.min(Math.max(count, range.last), Math.ceil(range.last / step) * step) : range.last;\n const key = `${first}:${last}`;\n if (key === this.lastLazy) return;\n this.lastLazy = key;\n untracked(() => this.lazyLoad.emit({ first, last }));\n });\n\n effect(() => {\n const viewport = this.renderedRange().viewport;\n const key = JSON.stringify(viewport);\n if (key === this.lastViewport) return;\n this.lastViewport = key;\n untracked(() => this.scrollIndexChange.emit(viewport));\n });\n }\n\n readonly renderedRange = computed<TxVirtualScrollerRenderedRange>(() => {\n const rows = this.rows();\n const columns = this.columns();\n if (this.both()) {\n return {\n first: [rows.first, columns.first],\n last: [rows.last, columns.last],\n viewport: { first: [rows.viewFirst, columns.viewFirst], last: [rows.viewLast, columns.viewLast] },\n };\n }\n const range = this.horizontal() ? columns : rows;\n return { first: range.first, last: range.last, viewport: { first: range.viewFirst, last: range.viewLast } };\n });\n\n getRenderedRange(): TxVirtualScrollerRenderedRange {\n return this.renderedRange();\n }\n\n trackOf(index: number, item: T | undefined): unknown {\n const own = this.trackBy();\n return own ? own(index, item) : index;\n }\n\n itemContext(cell: TxRenderedCell<T>, count: number): TxVirtualScrollerItemContext<T | undefined> {\n return {\n $implicit: cell.item,\n index: cell.index,\n count,\n first: cell.index === 0,\n last: cell.index === count - 1,\n even: cell.index % 2 === 0,\n odd: cell.index % 2 === 1,\n };\n }\n\n onScroll(event: Event): void {\n const element = event.target as HTMLElement;\n const top = element.scrollTop;\n const left = element.scrollLeft;\n this.scrolled.emit({ originalEvent: event });\n const apply = () => {\n this.scrollTop.set(top);\n this.scrollLeft.set(left);\n this.viewportHeight.set(element.clientHeight);\n this.viewportWidth.set(element.clientWidth);\n this.scrolling.set(false);\n };\n if (this.delay() > 0) {\n clearTimeout(this.timer);\n this.scrolling.set(true);\n this.timer = setTimeout(apply, this.delay());\n } else {\n apply();\n }\n }\n\n scrollTo(options: ScrollToOptions): void {\n const element = this.host.nativeElement;\n element.scrollTo?.(options);\n if (options.behavior === 'smooth') return;\n if (options.top !== undefined) this.scrollTop.set(Math.max(0, options.top));\n if (options.left !== undefined) this.scrollLeft.set(Math.max(0, options.left));\n }\n\n scrollToIndex(index: TxVirtualScrollerPosition, behavior: ScrollBehavior = 'auto'): void {\n const [row, column] = this.positionOf(index);\n this.scrollTo({ top: row * this.rowSize(), left: column * this.columnSize(), behavior });\n }\n\n scrollInView(index: TxVirtualScrollerPosition, to: 'to-start' | 'to-end', behavior: ScrollBehavior = 'auto'): void {\n const [row, column] = this.positionOf(index);\n if (to === 'to-start') {\n this.scrollToIndex(index, behavior);\n return;\n }\n this.scrollTo({\n top: Math.max(0, (row + 1) * this.rowSize() - this.viewportHeight()),\n left: Math.max(0, (column + 1) * this.columnSize() - this.viewportWidth()),\n behavior,\n });\n }\n\n refresh(): void {\n this.measure();\n }\n\n private positionOf(index: TxVirtualScrollerPosition): [number, number] {\n if (typeof index !== 'number') return [index[0], index[1]];\n return this.horizontal() ? [0, index] : [index, 0];\n }\n\n private measure(): void {\n const element = this.host.nativeElement;\n this.viewportHeight.set(element.clientHeight);\n this.viewportWidth.set(element.clientWidth);\n }\n\n private fullRange(count: number): TxAxisRange {\n return { first: 0, last: count, viewFirst: 0, viewLast: count };\n }\n\n private axisRange(scroll: number, viewport: number, size: number, count: number): TxAxisRange {\n if (this.disabled() || size <= 0) return this.fullRange(count);\n const space = viewport || size * 10;\n const visible = Math.ceil(space / size);\n const tolerance = this.numToleratedItems() ?? Math.ceil(visible / 2);\n const viewFirst = Math.min(count, Math.floor(scroll / size));\n const viewLast = Math.min(count, Math.ceil((scroll + space) / size));\n const first = this.appendOnly() ? 0 : Math.max(0, viewFirst - tolerance);\n const last = Math.min(count, viewLast + tolerance);\n return { first, last, viewFirst, viewLast };\n }\n}\n","@if (showSpacer()) {\n <div\n class=\"tx-virtual-scroller__spacer\"\n aria-hidden=\"true\"\n [style.height.px]=\"totalHeight()\"\n [style.width.px]=\"totalWidth()\"\n [class]=\"passThrough().spacer?.class\"\n [style]=\"passThrough().spacer?.style\"\n ></div>\n}\n\n<div\n class=\"tx-virtual-scroller__content\"\n [class.tx-virtual-scroller__content--horizontal]=\"horizontal()\"\n [style.transform]=\"contentTransform()\"\n [class]=\"passThrough().content?.class\"\n [style]=\"passThrough().content?.style\"\n>\n @if (contentTemplate(); as content) {\n <ng-container [ngTemplateOutlet]=\"content.templateRef\" [ngTemplateOutletContext]=\"contentContext()\" />\n } @else if (both()) {\n @for (row of renderedRows(); track row.index) {\n <div class=\"tx-virtual-scroller__row\" [style.height.px]=\"rowSize()\" [class]=\"passThrough().row?.class\" [style]=\"passThrough().row?.style\">\n @for (cell of row.cells; track trackOf(cell.index, cell.item)) {\n <div class=\"tx-virtual-scroller__item\" [style.width.px]=\"columnSize()\" [class]=\"passThrough().item?.class\" [style]=\"passThrough().item?.style\">\n <ng-container [ngTemplateOutlet]=\"cellContent\" [ngTemplateOutletContext]=\"{ $implicit: cell, count: columnCount() }\" />\n </div>\n }\n </div>\n }\n } @else {\n @for (cell of renderedItems(); track trackOf(cell.index, cell.item)) {\n <div\n class=\"tx-virtual-scroller__item\"\n [style.height.px]=\"horizontal() ? null : rowSize()\"\n [style.width.px]=\"horizontal() ? columnSize() : null\"\n [class]=\"passThrough().item?.class\"\n [style]=\"passThrough().item?.style\"\n >\n <ng-container [ngTemplateOutlet]=\"cellContent\" [ngTemplateOutletContext]=\"{ $implicit: cell, count: horizontal() ? columnCount() : rowCount() }\" />\n </div>\n }\n }\n</div>\n\n@if (showLoaderMask()) {\n <div class=\"tx-virtual-scroller__loader\" [class]=\"passThrough().loader?.class\" [style]=\"passThrough().loader?.style\">\n @if (loadingIconTemplate(); as icon) {\n <ng-container [ngTemplateOutlet]=\"icon.templateRef\" />\n } @else {\n <tx-icon\n class=\"tx-virtual-scroller__loading-icon\"\n role=\"img\"\n [name]=\"loadingIcon()\"\n [attr.aria-label]=\"translations().loading\"\n [class]=\"passThrough().loadingIcon?.class\"\n [style]=\"passThrough().loadingIcon?.style\"\n />\n }\n </div>\n}\n\n<ng-template #cellContent let-cell let-count=\"count\">\n @if (showLoaderItems() || (cell.item === undefined && loaderTemplate())) {\n <ng-container [ngTemplateOutlet]=\"loaderTemplate()?.templateRef ?? null\" [ngTemplateOutletContext]=\"{ $implicit: cell.index, index: cell.index, count }\" />\n } @else if (itemTemplate(); as item) {\n <ng-container [ngTemplateOutlet]=\"item.templateRef\" [ngTemplateOutletContext]=\"itemContext(cell, count)\" />\n }\n</ng-template>\n"],"mappings":";;;;;;;;AAIA,IAAa,wBAAb,MAAa,sBAAqB;CACvB,cAAc,OAAqD,WAAW;CAC9E,0BAA0B,MAAuC,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,0BAAA,CAAA,+BAAA,CAAA,CAAA;CAEpF,OAAO,uBAA0B,YAAsC,SAAgB;EACrF,OAAO,CAAC,CAAC;CACX;CANW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAqB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAArB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAqB,cAAA;EAAA,UAAA;EAAA,QAAA,EAAA,yBAAA;GAAA,mBAAA;GAAA,YAAA;GAAA,UAAA;GAAA,YAAA;GAAA,mBAAA;EAAA,EAAA;EAAA,UAAA;CAAA,CAAA;;AAArB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAqB,YAAA,CAAA;EADjC,MAAA;EAAU,MAAA,CAAA,EAAE,UAAU,qC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s.map
@@ -33,6 +33,7 @@ The value of a form control is the `File` (or `null`), or the `File[]` with `mul
33
33
  | headers | Request headers, `HttpHeaders` or a plain object |
34
34
  | withCredentials | Sends cookies with the request |
35
35
  | customUpload | Hands the files to `uploadHandler` instead of sending them |
36
+ | keepUploaded | `false` drops a file from the list a moment after it shows "Uploaded"; `true` (default) keeps uploaded files until they are removed or `clearUploaded()` runs |
36
37
  | description | Hint under the prompt, e.g. the types and the size limit |
37
38
  | chooseLabel | Text of the browse link and the basic button |
38
39
  | uploadLabel | Text of the Upload button |
@@ -52,7 +53,7 @@ The value of a form control is the `File` (or `null`), or the `File[]` with `mul
52
53
  | ptOptions | How `pt` merges with the global pass-through |
53
54
  | unstyled | Removes the tectra styles |
54
55
 
55
- `choose()` opens the file dialog, `upload()` sends the waiting files, `clear()` removes them (and stops a running request); `entries()` and `uploadedEntries()` read the files with their status and progress, `uploading()` tells whether a request runs.
56
+ `choose()` opens the file dialog, `upload()` sends the waiting files, `clear()` removes them (and stops a running request), `clearUploaded()` empties the list of uploaded files; `entries()` and `uploadedEntries()` read the files with their status and progress, `uploading()` tells whether a request runs.
56
57
 
57
58
  ## Outputs
58
59
  | Name | Description |
@@ -52,6 +52,15 @@ Items with `src` (`TxGalleriaImage`: `src`, `thumbnailSrc`, `alt`, `title`, `des
52
52
  | txGalleriaHeader | Content above the gallery |
53
53
  | txGalleriaFooter | Content below the gallery |
54
54
 
55
+ The item templates take the items only for typing — `<ng-template txGalleriaItem [txGalleriaItemOf]="photos" let-photo>` gives `photo` the item type in strict templates; without it the item stays untyped.
56
+
57
+ ## Inputs — item templates
58
+ | Name | Description |
59
+ |---|---|
60
+ | txGalleriaItemOf | `txGalleriaItem`: the items, only for the type of `let-item` |
61
+ | txGalleriaThumbnailOf | `txGalleriaThumbnail`: the items, only for the type of `let-item` |
62
+ | txGalleriaCaptionOf | `txGalleriaCaption`: the items, only for the type of `let-item` |
63
+
55
64
  ## Keyboard
56
65
  | Key | Action |
57
66
  |---|---|
package/menu/README.md CHANGED
@@ -27,7 +27,8 @@ A popup menu opens from `[txMenuTrigger]` (click, Arrow Down / Up), or from code
27
27
  | popup | Opens as a popup from a trigger instead of showing in place |
28
28
  | tiered | Nested items open as sub-menus (on by default for `tx-tiered-menu`) |
29
29
  | placement | Popup placement, `bottom-start` by default; flips when there is no room |
30
- | offset | Gap between the popup and its trigger in px |
30
+ | offset | Gap between the popup and its trigger in px (default 4, 10 with `arrow`) |
31
+ | arrow | Gives the popup an arrow that points at the trigger: at its middle for a centred placement, near its start or end for `-start` / `-end`; next to a small trigger the popup moves out a little so that the arrow points at its centre |
31
32
  | variant | `default`, or `context` for the look of a context menu (set by `tx-context-menu`) |
32
33
  | ariaLabel | Name of the menu |
33
34
  | ariaLabelledBy | Id of the element that names the menu |
@@ -35,7 +36,7 @@ A popup menu opens from `[txMenuTrigger]` (click, Arrow Down / Up), or from code
35
36
  | global | `tx-context-menu`: opens on right-click anywhere on the page |
36
37
  | txMenuTrigger | On a button: the popup menu it opens |
37
38
  | dt | Design tokens of this menu (`menu`) |
38
- | pt | Classes and styles of the parts: `root`, `item`, `icon`, `label`, `shortcut`, `badge`, `separator`, `groupLabel`, `submenuIcon` |
39
+ | pt | Classes and styles of the parts: `root`, `item`, `icon`, `label`, `shortcut`, `badge`, `separator`, `groupLabel`, `submenuIcon`, `arrow` |
39
40
  | ptOptions | How `pt` merges with the global pass-through |
40
41
  | unstyled | Removes the tectra styles |
41
42
 
@@ -51,6 +52,13 @@ A popup menu opens from `[txMenuTrigger]` (click, Arrow Down / Up), or from code
51
52
  |---|---|
52
53
  | txMenuItem | `<ng-template txMenuItem let-item let-hasSubmenu="hasSubmenu">` — own content of every item |
53
54
 
55
+ The item template takes the items only for typing — `<ng-template txMenuItem [txMenuItemOf]="items" let-item>` gives `item.data` the type of the items in strict templates; without it `data` stays untyped.
56
+
57
+ ## Inputs — item template
58
+ | Name | Description |
59
+ |---|---|
60
+ | txMenuItemOf | `txMenuItem`: the items of `model`, only for the type of `let-item` |
61
+
54
62
  ## Keyboard
55
63
  | Key | Action |
56
64
  |---|---|
package/message/README.md CHANGED
@@ -16,7 +16,7 @@ Error texts: `messages` on the field, then `provideTectra({ validationMessages }
16
16
  | Name | Description |
17
17
  |---|---|
18
18
  | severity | `tx-message`: `primary`, `secondary`, `success`, `info`, `warn`, `danger`, `help`, `contrast`. `tx-field-hint`: `secondary` or `success` |
19
- | text | `tx-message`: the text; without it the content is shown |
19
+ | text | `tx-message`: the text; the projected content follows it |
20
20
  | icon | Icon name (`exclamation-triangle`, also `pi-exclamation-triangle`) or an icon class; no icon by default |
21
21
  | size | `tx-message`: `small`, `medium`, `large` |
22
22
  | variant | `tx-message`: tinted box by default, `outlined` without the fill, `text` without the box, `simple` without the box and padding |
@@ -31,7 +31,7 @@ Error texts: `messages` on the field, then `provideTectra({ validationMessages }
31
31
  | for | `tx-field-hint`, `tx-field-error`: id of the field; adds this text to its `aria-describedby` |
32
32
  | id | `tx-field-hint`, `tx-field-error`: own id instead of a generated one |
33
33
  | dt | Design tokens of this instance (`message` or `fieldMessage`) |
34
- | pt | Classes and styles of the parts: `root`, `icon`, `content`, `closeButton` (message); `root`, `icon`, `text` (hint, error) |
34
+ | pt | Classes and styles of the parts: `root`, `icon`, `content`, `actions`, `closeButton` (message); `root`, `icon`, `text` (hint, error) |
35
35
  | ptOptions | How `pt` merges with the global pass-through |
36
36
  | unstyled | Removes the tectra styles, keeps behaviour and ARIA |
37
37
 
@@ -43,7 +43,8 @@ Error texts: `messages` on the field, then `provideTectra({ validationMessages }
43
43
  ## Slots
44
44
  | Name | Description |
45
45
  |---|---|
46
- | default | `tx-message`: content when there is no `text`; `tx-field-hint`: the hint |
46
+ | default | `tx-message`: content after the `text`; `tx-field-hint`: the hint |
47
+ | txMessageActions | `tx-message`: buttons or links at the end of the message, before the close button (`<button txButton txMessageActions>`) |
47
48
  | txMessageIcon | `<ng-template txMessageIcon>` — own icon |
48
49
  | txMessageCloseIcon | `<ng-template txMessageCloseIcon>` — own close icon |
49
50
 
@@ -15,7 +15,7 @@ Texts come from the tectra locale — `selectAll`, `selectedOfTotal`, `selectedI
15
15
  | optionGroupLabel | Field of a group shown as its header |
16
16
  | optionGroupChildren | Field of a group that holds its items |
17
17
  | dataKey | Field that identifies an object value |
18
- | display | `comma` (text) or `chip` (removable chips) |
18
+ | display | `comma` (text) or `chip` (removable chips on one line; the ones that do not fit are counted in a `+N` chip) |
19
19
  | maxSelectedLabels | Above this many values the field shows "N selected" |
20
20
  | selectedItemsLabel | Own summary text, `{count}` is replaced |
21
21
  | selectAllLabel | Own text of the select-all checkbox (the translated "Select all" by default) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tectra-ng/ui",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Angular UI components on signals: table, datepicker, select, multiselect, dialog, drawer, toast, tooltip, tree and 80+ more. Standalone, OnPush, zoneless, accessible and themable, one entry point per component.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://tectra-ng.com",
@@ -60,9 +60,9 @@
60
60
  "@angular/forms": "^22.2.0",
61
61
  "@angular/router": "^22.2.0",
62
62
  "rxjs": "^7.8.0",
63
- "@tectra-ng/core": "^0.4.1",
64
- "@tectra-ng/icons": "^0.4.1",
65
- "@tectra-ng/themes": "^0.4.1"
63
+ "@tectra-ng/core": "^0.4.2",
64
+ "@tectra-ng/icons": "^0.4.2",
65
+ "@tectra-ng/themes": "^0.4.2"
66
66
  },
67
67
  "peerDependenciesMeta": {
68
68
  "@angular/router": {
@@ -146,6 +146,10 @@
146
146
  "types": "./types/tectra-ng-ui-color-picker.d.ts",
147
147
  "default": "./fesm2022/tectra-ng-ui-color-picker.mjs"
148
148
  },
149
+ "./color-swatches": {
150
+ "types": "./types/tectra-ng-ui-color-swatches.d.ts",
151
+ "default": "./fesm2022/tectra-ng-ui-color-swatches.mjs"
152
+ },
149
153
  "./confirm": {
150
154
  "types": "./types/tectra-ng-ui-confirm.d.ts",
151
155
  "default": "./fesm2022/tectra-ng-ui-confirm.mjs"
package/popover/README.md CHANGED
@@ -16,7 +16,7 @@ A panel of content next to an element — a share box, a small form, a list of n
16
16
  |---|---|
17
17
  | placement | `bottom-start` (default) or any of the 12 placements; flips when there is no room |
18
18
  | offset | Gap to the element in px (default 10, the arrow fills it) |
19
- | arrow | Shows the arrow: at the middle of the element for a centred placement, near its start or end for `-start` / `-end` (default on; `[arrow]="false"` hides it) |
19
+ | arrow | Shows the arrow: at the middle of the element for a centred placement, near its start or end for `-start` / `-end`, always clear of the rounded corners — next to a small element the panel moves out a little so that the arrow points at its centre (default on; `[arrow]="false"` hides it) |
20
20
  | header | Title text; also names the dialog |
21
21
  | closeButton | Shows a close button (translated "Close" label) |
22
22
  | dismissable | Closes on a click outside (default on) |
@@ -44,7 +44,7 @@ A panel of content next to an element — a share box, a small form, a list of n
44
44
  | Name | Description |
45
45
  |---|---|
46
46
  | default | Content of the popover |
47
- | txPopoverHeader | `<div txPopoverHeader>` — header content after the `header` text |
47
+ | txPopoverHeader | `<div txPopoverHeader>` — header content (badges, actions) between the title and the close button; only the `header` text names the dialog |
48
48
  | txPopoverFooter | `<div txPopoverFooter>` — actions at the bottom, aligned to the end |
49
49
  | txPopoverContent | `<ng-template txPopoverContent let-close>` — content created on open; `close()` hides the popover |
50
50
  | txPopoverTrigger | `[txPopoverTrigger]="popover"` on a button — toggles the popover |
package/select/README.md CHANGED
@@ -66,6 +66,15 @@ The option engine (`buildOptionRows`, `readOptionField`, `foldText`) is exported
66
66
  | txSelectEmpty | `<ng-template txSelectEmpty>` — own empty list |
67
67
  | txSelectEmptyFilter | `<ng-template txSelectEmptyFilter let-query>` — shown when the search found nothing, e.g. "Create «query»" |
68
68
 
69
+ The option templates take the options only for typing — `<ng-template txSelectOption [txSelectOptionOf]="cities" let-city>` gives `city` the option type in strict templates; without it the option stays untyped.
70
+
71
+ ## Inputs — option templates
72
+ | Name | Description |
73
+ |---|---|
74
+ | txSelectOptionOf | `txSelectOption`: the options, only for the type of `let-option` |
75
+ | txSelectValueOf | `txSelectValue`: the options, only for the type of `let-option` |
76
+ | txSelectGroupOf | `txSelectGroup`: the groups of `options`, only for the type of `let-group` |
77
+
69
78
  ## Keyboard
70
79
  | Key | Action |
71
80
  |---|---|
@@ -6,7 +6,7 @@ A button with a main action and a menu of related ones — Save with Save as dra
6
6
  <tx-split-button label="Save" icon="check" [model]="saveOptions" (clicked)="save()" />
7
7
  ```
8
8
 
9
- The menu takes the same `TxMenuItem` items as `tx-menu` (sub-menus included) and opens under the button, aligned to its end.
9
+ The menu takes the same `TxMenuItem` items as `tx-menu` (sub-menus included) and opens under the menu button, aligned to its end, with an arrow that points at the menu button.
10
10
 
11
11
  ## Inputs
12
12
  | Name | Description |
package/table/README.md CHANGED
@@ -135,7 +135,7 @@ Filtering, sorting and pagination run on `value` unless `lazy` is on — then `l
135
135
  | txTableCell | `<ng-template txTableCell="field" let-row let-value="value" let-index="index">` — content of the cells of a column |
136
136
  | txTableHeaderCell | `<ng-template txTableHeaderCell="field" let-column>` — own header content |
137
137
  | txTableFooterCell | `<ng-template txTableFooterCell="field" let-column>` — footer content of a column |
138
- | txTableActions | `<ng-template txTableActions let-row>` — actions column; put `tx-table-actions` with buttons marked `*txTableAction="{ label }"` inside |
138
+ | txTableActions | `<ng-template txTableActions let-row>` — actions column; put `tx-table-actions` with buttons marked `*txTableAction="{ label }"` inside; the `…` popover closes once an action in it is clicked |
139
139
  | txTableExpansion | `<ng-template txTableExpansion let-row>` — content of an expanded row; adds the expand column |
140
140
  | txTableCard | `<ng-template txTableCard let-row let-index="index">` — own card for a row on narrow screens |
141
141
  | txTableEmpty | `<ng-template txTableEmpty>` — own content of an empty table |
@@ -144,6 +144,19 @@ Filtering, sorting and pagination run on `value` unless `lazy` is on — then `l
144
144
  | txTableGroupFooter | `<ng-template txTableGroupFooter let-value="value" let-count="count" let-rows="rows">` — row after a group, e.g. its total |
145
145
  | txTableToolbar | `<div txTableToolbar>` — content on the left of the toolbar row, next to the settings gear |
146
146
 
147
+ The row templates take the table rows only for typing — `<ng-template txTableCell="name" [txTableCellOf]="deals()" let-deal>` gives `deal` the row type in strict templates; without it the row stays untyped.
148
+
149
+ ## Inputs — row templates
150
+ | Name | Description |
151
+ |---|---|
152
+ | txTableCellOf | `txTableCell`: the rows of the table, only for the type of `let-row` |
153
+ | txTableEditorOf | `txTableEditor`: the rows of the table, only for the type of `let-row` |
154
+ | txTableActionsOf | `txTableActions`: the rows of the table, only for the type of `let-row` |
155
+ | txTableExpansionOf | `txTableExpansion`: the rows of the table, only for the type of `let-row` |
156
+ | txTableCardOf | `txTableCard`: the rows of the table, only for the type of `let-row` |
157
+ | txTableGroupHeaderOf | `txTableGroupHeader`: the rows of the table, only for the type of `let-row` and `rows` |
158
+ | txTableGroupFooterOf | `txTableGroupFooter`: the rows of the table, only for the type of `let-row` and `rows` |
159
+
147
160
  ## Methods
148
161
  | Name | Description |
149
162
  |---|---|
@@ -159,7 +172,7 @@ Filtering, sorting and pagination run on `value` unless `lazy` is on — then `l
159
172
  ## Inputs — *txTableAction
160
173
  | Name | Description |
161
174
  |---|---|
162
- | txTableAction | `{ label, id? }` — the label is used in the settings and the right-click menu; `id` defaults to a slug of the label |
175
+ | txTableAction | `{ label, id? }` — the label is used in the settings and the right-click menu; `id` defaults to a slug of the label. Works inside `@if` and other blocks; an action without a config is left out |
163
176
 
164
177
  ## Keyboard
165
178
  | Key | Action |
package/tabs/README.md CHANGED
@@ -30,7 +30,7 @@ Switch between views, modes or filters. Three looks: `segmented` (equal items in
30
30
  | size | `small` or `medium` (segmented) |
31
31
  | orientation | `horizontal` or `vertical` (full-width tabs in a column) |
32
32
  | raised | Card background, ring and shadow — for tabs on the page background |
33
- | scrollable | Previous / next buttons when the tabs do not fit |
33
+ | scrollable | Previous / next buttons: shown by themselves while the tabs do not fit; `true` keeps them on, `false` turns them off |
34
34
  | showNavigators | Shows the previous / next buttons of a scrollable list |
35
35
  | lazy | Renders only the active panel |
36
36
  | selectOnFocus | The arrow keys pick the tab at once |
@@ -26,11 +26,19 @@ Shows events in order along a line — an order history, a release log, the step
26
26
  | Name | Description |
27
27
  |---|---|
28
28
  | txTimelineContent | `<ng-template txTimelineContent let-event let-index="index">` — content of an event |
29
- | txTimelineOpposite | `<ng-template txTimelineOpposite let-event>` — content on the other side of the line, e.g. the date |
29
+ | txTimelineOpposite | `<ng-template txTimelineOpposite let-event>` — content on the other side of the line, e.g. the date; without it the content takes the whole width (except in `alternate`) |
30
30
  | txTimelineMarker | `<ng-template txTimelineMarker let-event>` — own marker, e.g. an icon in a tinted circle |
31
31
  | txTimelineConnector | `<ng-template txTimelineConnector let-event>` — own line to the next event; the last event has none |
32
32
 
33
- Every template gets the event as `$implicit` plus `index`, `first` and `last`.
33
+ Every template gets the event as `$implicit` plus `index`, `first` and `last`. Give a template the events for typing — `<ng-template txTimelineContent [txTimelineContentOf]="events" let-event>` — and `event` gets their type in strict templates; without it the event stays untyped.
34
+
35
+ ## Inputs — event templates
36
+ | Name | Description |
37
+ |---|---|
38
+ | txTimelineContentOf | `txTimelineContent`: the events, only for the type of `let-event` |
39
+ | txTimelineOppositeOf | `txTimelineOpposite`: the events, only for the type of `let-event` |
40
+ | txTimelineMarkerOf | `txTimelineMarker`: the events, only for the type of `let-event` |
41
+ | txTimelineConnectorOf | `txTimelineConnector`: the events, only for the type of `let-event` |
34
42
 
35
43
  ## Keyboard
36
44
  | Key | Action |
package/tree/README.md CHANGED
@@ -68,6 +68,13 @@ Shows a hierarchy — folders, categories, menus — as a WAI-ARIA tree (`role="
68
68
  | txTreeToggleIcon | `<ng-template txTreeToggleIcon let-expanded>` — own toggler icon (`loading` in the context) |
69
69
  | txTreeCheckboxIcon | `<ng-template txTreeCheckboxIcon let-checked let-partial="partial">` — own checkbox icon |
70
70
 
71
+ The node template takes the tree nodes only for typing — `<ng-template txTreeNode [txTreeNodeOf]="nodes()" let-node>` gives `node.data` the type of the nodes in strict templates; without it `data` stays untyped.
72
+
73
+ ## Inputs — node template
74
+ | Name | Description |
75
+ |---|---|
76
+ | txTreeNodeOf | `txTreeNode`: the nodes of the tree, only for the type of `let-node` |
77
+
71
78
  ## Methods
72
79
  | Name | Description |
73
80
  |---|---|
@@ -7,7 +7,7 @@ Pick from a hierarchy — folders, categories, org units. A select whose panel i
7
7
  |---|---|
8
8
  | options | Nodes: `{ key, label, children?, icon?, selectable?, disabled?, data? }` |
9
9
  | selectionMode | `single`, `multiple` or `checkbox` (a parent checks its branch; partly checked parents show a dash) |
10
- | display | With several values: `comma` or `chip` |
10
+ | display | With several values: `comma` or `chip` (removable chips on one line; the ones that do not fit are counted in a `+N` chip) |
11
11
  | expandedKeys | Keys of the open nodes; two-way with `[(expandedKeys)]` |
12
12
  | filter | Search field in the panel |
13
13
  | filterBy | Fields searched, comma separated (`label` by default, e.g. `label, data.code`) |
@@ -31,7 +31,7 @@ export declare class TxAutocomplete extends TxSelectBase<unknown> {
31
31
  private readonly autocompleteTheme;
32
32
  /** Items to suggest — objects, or plain strings / numbers */
33
33
  readonly suggestions: import("@angular/core").InputSignal<readonly unknown[]>;
34
- /** Several values shown as chips; the value is an array */
34
+ /** Several values shown as chips; the value is an array. Without focus the chips stay on one line and the ones that do not fit are counted in a `+N` chip; with focus they wrap so every value shows */
35
35
  readonly multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
36
36
  /** Button that shows suggestions without typing */
37
37
  readonly dropdown: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
@@ -77,6 +77,7 @@ export declare class TxAutocomplete extends TxSelectBase<unknown> {
77
77
  readonly selectedValues: import("@angular/core").Signal<unknown[]>;
78
78
  readonly selectedItems: import("@angular/core").Signal<TxSelectItem[]>;
79
79
  readonly hasValue: import("@angular/core").Signal<boolean>;
80
+ protected readonly focused: import("@angular/core").WritableSignal<boolean>;
80
81
  readonly showPanel: import("@angular/core").Signal<boolean>;
81
82
  readonly tokenStyle: import("@angular/core").Signal<Record<string, string>>;
82
83
  readonly hostStyle: import("@angular/core").Signal<{
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-autocomplete.d.ts","names":[],"sources":["../../../../packages/ui/autocomplete/src/autocomplete.types.ts","../../../../packages/ui/autocomplete/src/autocomplete.component.ts"],"mappings":";;;;;;YAGY;;;;YAKA,qBAAqB;;iBAGhB;;EAEf;;;iBAIe;;EAEf;;EAEA;;EAEA;;;;;;qBCyBW,uBAAuB;mBACjB;;WAER,qCAAW;;WACX,kCAAQ;;WACR,kCAAQ;;WACR,sCAAY,YAAA;;WACZ,sCAAY,YAAA;;WACZ,wCAAc;;WACd,qCAAW;;WACX,+BAAK;;WACL,mCAAS;;WACT,yCAAe;;WACf,yCAAe;;WACf,0CAAgB;;WAChB,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,mCAAS,iBAAA;;WACT,iCAAO,iBAAA;WAEP,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,qDAAA;qBACD,gCAAM;qBACG,oCAAU;mBACrB;UACT;mBACS;WAER,wCAAc;WAOd,uCAAa,OAAA;WAiBb,kCAAQ;WACR,mCAAS;WACT,oCAAU,OAAA;WACV,mCAAS;;;WACT,oCAAU;;;gBAEI;EAId,WAAW;EAOX;EAST,QAAQ,OAAO;EAuBf;EAMA,OAAO,OAAO;EAQd,gBAAgB,OAAO;EAUd,WAAW,OAAO;EAMlB;EAKT,WAAW,MAAM,cAAc,OAAO;YAU5B,WAAW;YAIX,SAAS,MAAM;YAmBf;YAOA;YAIA,eAAe,OAAO;YAsBtB;UAIF;UAiBA;UAOA;UAuBA;UAIA;SArQG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAc;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-autocomplete.d.ts","names":[],"sources":["../../../../packages/ui/autocomplete/src/autocomplete.types.ts","../../../../packages/ui/autocomplete/src/autocomplete.component.ts"],"mappings":";;;;;;YAGY;;;;YAKA,qBAAqB;;iBAGhB;;EAEf;;;iBAIe;;EAEf;;EAEA;;EAEA;;;;;;qBCyBW,uBAAuB;mBACjB;;WAER,qCAAW;;WACX,kCAAQ;;WACR,kCAAQ;;WACR,sCAAY,YAAA;;WACZ,sCAAY,YAAA;;WACZ,wCAAc;;WACd,qCAAW;;WACX,+BAAK;;WACL,mCAAS;;WACT,yCAAe;;WACf,yCAAe;;WACf,0CAAgB;;WAChB,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,mCAAS,iBAAA;;WACT,iCAAO,iBAAA;WAEP,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,qDAAA;qBACD,gCAAM;qBACG,oCAAU;mBACrB;UACT;mBACS;WAER,wCAAc;WAOd,uCAAa,OAAA;WAiBb,kCAAQ;qBACE,iCAAO;WACjB,mCAAS;WACT,oCAAU,OAAA;WACV,mCAAS;;;WACT,oCAAU;;;gBAEI;EAId,WAAW;EAOX;EAST,QAAQ,OAAO;EAuBf;EAOA,OAAO,OAAO;EASd,gBAAgB,OAAO;EAUd,WAAW,OAAO;EAMlB;EAKT,WAAW,MAAM,cAAc,OAAO;YAU5B,WAAW;YAIX,SAAS,MAAM;YAmBf;YAOA;YAIA,eAAe,OAAO;YAsBtB;UAIF;UAiBA;UAOA;UAuBA;UAIA;SAxQG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAc;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
@@ -11,6 +11,8 @@ export type TxAvatarSize = 'small' | 'medium' | 'large' | 'xlarge';
11
11
  export type TxAvatarShape = 'circle' | 'square';
12
12
  /** Background colour of an avatar with initials. */
13
13
  export type TxAvatarTone = 'blue' | 'green' | 'sky' | 'orange' | 'purple' | 'red';
14
+ /** Name hint of an avatar: `true` the kit tooltip, `false` the native title, `none` no hint at all. */
15
+ export type TxAvatarTooltip = boolean | 'none';
14
16
  /** Names of the parts of `tx-avatar` that `pt` can style. */
15
17
  export type TxAvatarPart = 'root' | 'image' | 'label' | 'icon';
16
18
  /** Names of the parts of `tx-avatar-group` that `pt` can style. */
@@ -63,8 +65,8 @@ export declare class TxAvatar {
63
65
  readonly tone: import("@angular/core").InputSignal<TxAvatarTone | undefined>;
64
66
  /** Accessible name instead of `name`; without both the avatar is decorative */
65
67
  readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
66
- /** Shows `name` (or `ariaLabel`) in a tooltip instead of the native title; inherits `tooltips` of the group, off on its own */
67
- readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
68
+ /** Shows `name` (or `ariaLabel`) in a tooltip instead of the native title; `none` shows no hint at all (neither tooltip nor title); inherits `tooltips` of the group, off on its own */
69
+ readonly tooltip: import("@angular/core").InputSignalWithTransform<TxAvatarTooltip | undefined, unknown>;
68
70
  /** Design tokens of this instance (`avatar`) */
69
71
  readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraAvatarTokens> | undefined>;
70
72
  /** Classes and styles of the parts: `root`, `image`, `label`, `icon`; group: `root`, `more`, `add`, `list`, `item`, `name` */
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-avatar.d.ts","names":[],"sources":["../../../../packages/ui/avatar/src/avatar.types.ts","../../../../packages/ui/avatar/src/avatar-group.token.ts","../../../../packages/ui/avatar/src/avatar.component.ts","../../../../packages/ui/avatar/src/avatar-group.component.ts","../../../../packages/ui/avatar/src/avatar-editor.component.ts"],"mappings":";;;;;;;;YACY;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;iBAGK;;WAEN,MAAM;;WAEN,QAAQ;;;iBChBF;;WAEN,MAAM,OAAO;;WAEb,OAAO,OAAO;;WAEd,UAAU;;EAEnB,SAAS;;;qBAIE,iBAAe,eAAA;;;;;qBCmCf;mBACM;UAET;UACA;;WAEC,+BAAK;;WACL,8BAAI;;WACJ,+BAAK;;WACL,8BAAI,YAAA;;WACJ,8BAAI,qBAAA;;WACJ,+BAAK,YAAA;;WACL,8BAAI,YAAA;;WACJ,mCAAS;;WACT,iCAAO;;WACP,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,+CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,oCAAU,iBAAA;WAEV,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,+CAAA;WACX,gCAAM;WACN,mCAAS;WACT,kCAAQ;WACR,sCAAY,gBAAA;WACZ,oCAA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MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;IAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-avatar.d.ts","names":[],"sources":["../../../../packages/ui/avatar/src/avatar.types.ts","../../../../packages/ui/avatar/src/avatar-group.token.ts","../../../../packages/ui/avatar/src/avatar.component.ts","../../../../packages/ui/avatar/src/avatar-group.component.ts","../../../../packages/ui/avatar/src/avatar-editor.component.ts"],"mappings":";;;;;;;;YACY;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;YAEA;;iBAGK;;WAEN,MAAM;;WAEN,QAAQ;;;iBClBF;;WAEN,MAAM,OAAO;;WAEb,OAAO,OAAO;;WAEd,UAAU;;EAEnB,SAAS;;;qBAIE,iBAAe,eAAA;;;;;qBCmCf;mBACM;UAET;UACA;;WAEC,+BAAK;;WACL,8BAAI;;WACJ,+BAAK;;WACL,8BAAI,YAAA;;WACJ,8BAAI,qBAAA;;WACJ,+BAAK,YAAA;;WACL,8BAAI,YAAA;;WACJ,mCAAS;;WACT,iCAAO,yBAAA;;WACP,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,+CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,oCAAU,iBAAA;WAEV,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,+CAAA;WACX,gCAAM;WACN,mCAAS;WACT,kCAAQ;WACR,sCAAY,gBAAA;WACZ,oCAAU,gBAAA;WACV,uCAAa,OAAA;WACb,sCAAY,OAAA;WACZ,wCAAc;WACd,sCAAY;WAIZ,qCAAW;WACX,kCAAQ;WACR,kCAAQ,OAAA;WACR,mCAAS;;;;EAiBlB,aAAa,OAAO;SAxDT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAQ;MAAA;MAAA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ions } from "@tectra-ng/core/config";
4
4
  import { TectraBreadcrumbTokens, TectraDeepPartial } from "@tectra-ng/themes";
5
5
  /** Names of the parts of `tx-breadcrumb` that `pt` can style. */
6
- export type TxBreadcrumbPart = 'root' | 'list' | 'item' | 'link' | 'icon' | 'label' | 'separator';
6
+ export type TxBreadcrumbPart = 'root' | 'list' | 'item' | 'link' | 'text' | 'icon' | 'label' | 'separator';
7
7
  /** Mark between items: `chevron` or `slash`. */
8
8
  export type TxBreadcrumbSeparator = 'chevron' | 'slash';
9
9
  /** Router link target: a path string or a list of commands. */
@@ -71,7 +71,7 @@ export declare class TxBreadcrumbSeparatorTemplate {
71
71
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxBreadcrumbSeparatorTemplate, "ng-template[txBreadcrumbSeparator]", never, {}, {}, never, never, true, never>;
72
72
  }
73
73
  /** How an item is rendered: the current page, a router link, a plain link, a command button or plain text. */
74
- type TxBreadcrumbKind = 'current' | 'router' | 'url' | 'command' | 'text';
74
+ type TxBreadcrumbKind = 'current' | 'disabled' | 'router' | 'url' | 'command' | 'text';
75
75
  /** An item prepared for rendering, with its kind and resolved icon. */
76
76
  interface TxBreadcrumbEntry {
77
77
  /** The source item. */
@@ -103,7 +103,7 @@ export declare class TxBreadcrumb {
103
103
  readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
104
104
  /** Design tokens of this instance (`breadcrumb`) */
105
105
  readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraBreadcrumbTokens> | undefined>;
106
- /** Classes and styles of the parts: `root`, `list`, `item`, `link`, `icon`, `label`, `separator` */
106
+ /** Classes and styles of the parts: `root`, `list`, `item`, `link` (links, commands, the current page and disabled items), `text` (an item without a link or command), `icon`, `label`, `separator` */
107
107
  readonly pt: import("@angular/core").InputSignal<Partial<Record<TxBreadcrumbPart, import("@tectra-ng/core/config").TxPassThroughValue<TxBreadcrumb>>> | undefined>;
108
108
  /** How `pt` merges with the global pass-through */
109
109
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-card.d.ts","names":[],"sources":["../../../../packages/ui/card/src/card.types.ts","../../../../packages/ui/card/src/card.component.ts"],"mappings":";;;;YACY;;;;;qBCkCC;mBACM;;WAER,+BAAK;;WACL,kCAAQ;;WACR,sCAAY;;WACZ,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,6CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,6CAAA;WACX,mCAAS;;;SAbP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAM;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-card.d.ts","names":[],"sources":["../../../../packages/ui/card/src/card.types.ts","../../../../packages/ui/card/src/card.component.ts"],"mappings":";;;;YACY;;;;;qBCmCC;mBACM;;WAER,+BAAK;;WACL,kCAAQ;;WACR,sCAAY;;WACZ,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,6CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,6CAAA;WACX,mCAAS;;;SAbP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAM;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}