@sdcorejs/angular 21.2.5 → 22.2.5

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 (185) hide show
  1. package/assets/fonts/fonts.scss +2 -2
  2. package/assets/images/coming-soon.svg +6 -6
  3. package/assets/images/data-empty.svg +2 -2
  4. package/assets/images/expired.svg +6 -6
  5. package/assets/images/file-error.svg +6 -6
  6. package/assets/images/filter-empty.svg +2 -2
  7. package/assets/images/filter-required.svg +2 -2
  8. package/assets/images/forbidden.svg +2 -2
  9. package/assets/images/image-error.svg +8 -8
  10. package/assets/images/maintenance.svg +3 -3
  11. package/assets/images/not-found.svg +2 -2
  12. package/assets/images/offline.svg +5 -5
  13. package/assets/images/submitted.svg +5 -5
  14. package/assets/images/success.svg +3 -3
  15. package/assets/images/unauthorized.svg +2 -2
  16. package/assets/images/unknown-error.svg +2 -2
  17. package/fesm2022/sdcorejs-angular-components-anchor.mjs +46 -29
  18. package/fesm2022/sdcorejs-angular-components-anchor.mjs.map +1 -1
  19. package/fesm2022/sdcorejs-angular-components-api-contract-builder.mjs +167 -94
  20. package/fesm2022/sdcorejs-angular-components-api-contract-builder.mjs.map +1 -1
  21. package/fesm2022/sdcorejs-angular-components-audit-diff.mjs +20 -13
  22. package/fesm2022/sdcorejs-angular-components-audit-diff.mjs.map +1 -1
  23. package/fesm2022/sdcorejs-angular-components-autoid-inspector.mjs +65 -40
  24. package/fesm2022/sdcorejs-angular-components-autoid-inspector.mjs.map +1 -1
  25. package/fesm2022/sdcorejs-angular-components-avatar.mjs +15 -9
  26. package/fesm2022/sdcorejs-angular-components-avatar.mjs.map +1 -1
  27. package/fesm2022/sdcorejs-angular-components-badge.mjs +31 -17
  28. package/fesm2022/sdcorejs-angular-components-badge.mjs.map +1 -1
  29. package/fesm2022/sdcorejs-angular-components-breadcrumb.mjs +17 -10
  30. package/fesm2022/sdcorejs-angular-components-breadcrumb.mjs.map +1 -1
  31. package/fesm2022/sdcorejs-angular-components-button.mjs +17 -10
  32. package/fesm2022/sdcorejs-angular-components-button.mjs.map +1 -1
  33. package/fesm2022/sdcorejs-angular-components-card.mjs +28 -17
  34. package/fesm2022/sdcorejs-angular-components-card.mjs.map +1 -1
  35. package/fesm2022/sdcorejs-angular-components-chart.mjs +52 -32
  36. package/fesm2022/sdcorejs-angular-components-chart.mjs.map +1 -1
  37. package/fesm2022/sdcorejs-angular-components-ckeditor-styles.mjs +3 -3
  38. package/fesm2022/sdcorejs-angular-components-ckeditor-styles.mjs.map +1 -1
  39. package/fesm2022/sdcorejs-angular-components-code-editor.mjs +15 -9
  40. package/fesm2022/sdcorejs-angular-components-code-editor.mjs.map +1 -1
  41. package/fesm2022/sdcorejs-angular-components-data-state.mjs +32 -19
  42. package/fesm2022/sdcorejs-angular-components-data-state.mjs.map +1 -1
  43. package/fesm2022/sdcorejs-angular-components-editor.mjs +38 -21
  44. package/fesm2022/sdcorejs-angular-components-editor.mjs.map +1 -1
  45. package/fesm2022/sdcorejs-angular-components-form-generic.mjs +396 -306
  46. package/fesm2022/sdcorejs-angular-components-form-generic.mjs.map +1 -1
  47. package/fesm2022/sdcorejs-angular-components-history.mjs +10 -10
  48. package/fesm2022/sdcorejs-angular-components-history.mjs.map +1 -1
  49. package/fesm2022/sdcorejs-angular-components-import-excel.mjs +12 -12
  50. package/fesm2022/sdcorejs-angular-components-import-excel.mjs.map +1 -1
  51. package/fesm2022/sdcorejs-angular-components-inform.mjs +42 -24
  52. package/fesm2022/sdcorejs-angular-components-inform.mjs.map +1 -1
  53. package/fesm2022/sdcorejs-angular-components-job-progress.mjs +39 -21
  54. package/fesm2022/sdcorejs-angular-components-job-progress.mjs.map +1 -1
  55. package/fesm2022/sdcorejs-angular-components-mini-editor.mjs +9 -8
  56. package/fesm2022/sdcorejs-angular-components-mini-editor.mjs.map +1 -1
  57. package/fesm2022/sdcorejs-angular-components-modal-resizable.mjs +22 -14
  58. package/fesm2022/sdcorejs-angular-components-modal-resizable.mjs.map +1 -1
  59. package/fesm2022/sdcorejs-angular-components-modal.mjs +21 -12
  60. package/fesm2022/sdcorejs-angular-components-modal.mjs.map +1 -1
  61. package/fesm2022/sdcorejs-angular-components-operator.mjs +17 -10
  62. package/fesm2022/sdcorejs-angular-components-operator.mjs.map +1 -1
  63. package/fesm2022/sdcorejs-angular-components-org-chart.mjs +26 -16
  64. package/fesm2022/sdcorejs-angular-components-org-chart.mjs.map +1 -1
  65. package/fesm2022/sdcorejs-angular-components-preview.mjs +288 -147
  66. package/fesm2022/sdcorejs-angular-components-preview.mjs.map +1 -1
  67. package/fesm2022/sdcorejs-angular-components-query-bar.mjs +279 -153
  68. package/fesm2022/sdcorejs-angular-components-query-bar.mjs.map +1 -1
  69. package/fesm2022/sdcorejs-angular-components-query-builder.mjs +69 -36
  70. package/fesm2022/sdcorejs-angular-components-query-builder.mjs.map +1 -1
  71. package/fesm2022/sdcorejs-angular-components-quick-action.mjs +3 -3
  72. package/fesm2022/sdcorejs-angular-components-quick-action.mjs.map +1 -1
  73. package/fesm2022/sdcorejs-angular-components-section.mjs +17 -13
  74. package/fesm2022/sdcorejs-angular-components-section.mjs.map +1 -1
  75. package/fesm2022/sdcorejs-angular-components-side-drawer.mjs +26 -16
  76. package/fesm2022/sdcorejs-angular-components-side-drawer.mjs.map +1 -1
  77. package/fesm2022/sdcorejs-angular-components-splitter.mjs +58 -37
  78. package/fesm2022/sdcorejs-angular-components-splitter.mjs.map +1 -1
  79. package/fesm2022/sdcorejs-angular-components-stepper.mjs +36 -21
  80. package/fesm2022/sdcorejs-angular-components-stepper.mjs.map +1 -1
  81. package/fesm2022/sdcorejs-angular-components-tab-router.mjs +27 -23
  82. package/fesm2022/sdcorejs-angular-components-tab-router.mjs.map +1 -1
  83. package/fesm2022/sdcorejs-angular-components-tab.mjs +34 -20
  84. package/fesm2022/sdcorejs-angular-components-tab.mjs.map +1 -1
  85. package/fesm2022/sdcorejs-angular-components-table.mjs +432 -272
  86. package/fesm2022/sdcorejs-angular-components-table.mjs.map +1 -1
  87. package/fesm2022/sdcorejs-angular-components-tree.mjs +86 -46
  88. package/fesm2022/sdcorejs-angular-components-tree.mjs.map +1 -1
  89. package/fesm2022/sdcorejs-angular-components-upload-file.mjs +65 -40
  90. package/fesm2022/sdcorejs-angular-components-upload-file.mjs.map +1 -1
  91. package/fesm2022/sdcorejs-angular-components-view.mjs +25 -14
  92. package/fesm2022/sdcorejs-angular-components-view.mjs.map +1 -1
  93. package/fesm2022/sdcorejs-angular-configurations.mjs.map +1 -1
  94. package/fesm2022/sdcorejs-angular-directives.mjs +42 -33
  95. package/fesm2022/sdcorejs-angular-directives.mjs.map +1 -1
  96. package/fesm2022/sdcorejs-angular-forms-autocomplete.mjs +80 -42
  97. package/fesm2022/sdcorejs-angular-forms-autocomplete.mjs.map +1 -1
  98. package/fesm2022/sdcorejs-angular-forms-checkbox.mjs +15 -9
  99. package/fesm2022/sdcorejs-angular-forms-checkbox.mjs.map +1 -1
  100. package/fesm2022/sdcorejs-angular-forms-chip-calendar.mjs +41 -24
  101. package/fesm2022/sdcorejs-angular-forms-chip-calendar.mjs.map +1 -1
  102. package/fesm2022/sdcorejs-angular-forms-chip.mjs +37 -22
  103. package/fesm2022/sdcorejs-angular-forms-chip.mjs.map +1 -1
  104. package/fesm2022/sdcorejs-angular-forms-date-range.mjs +55 -30
  105. package/fesm2022/sdcorejs-angular-forms-date-range.mjs.map +1 -1
  106. package/fesm2022/sdcorejs-angular-forms-date.mjs +63 -34
  107. package/fesm2022/sdcorejs-angular-forms-date.mjs.map +1 -1
  108. package/fesm2022/sdcorejs-angular-forms-datetime.mjs +65 -35
  109. package/fesm2022/sdcorejs-angular-forms-datetime.mjs.map +1 -1
  110. package/fesm2022/sdcorejs-angular-forms-directives.mjs +12 -12
  111. package/fesm2022/sdcorejs-angular-forms-directives.mjs.map +1 -1
  112. package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs +94 -53
  113. package/fesm2022/sdcorejs-angular-forms-entity-picker.mjs.map +1 -1
  114. package/fesm2022/sdcorejs-angular-forms-inline-text.mjs +33 -18
  115. package/fesm2022/sdcorejs-angular-forms-inline-text.mjs.map +1 -1
  116. package/fesm2022/sdcorejs-angular-forms-input-color.mjs +25 -14
  117. package/fesm2022/sdcorejs-angular-forms-input-color.mjs.map +1 -1
  118. package/fesm2022/sdcorejs-angular-forms-input-number.mjs +66 -35
  119. package/fesm2022/sdcorejs-angular-forms-input-number.mjs.map +1 -1
  120. package/fesm2022/sdcorejs-angular-forms-input.mjs +94 -49
  121. package/fesm2022/sdcorejs-angular-forms-input.mjs.map +1 -1
  122. package/fesm2022/sdcorejs-angular-forms-label.mjs +3 -3
  123. package/fesm2022/sdcorejs-angular-forms-label.mjs.map +1 -1
  124. package/fesm2022/sdcorejs-angular-forms-models.mjs +13 -8
  125. package/fesm2022/sdcorejs-angular-forms-models.mjs.map +1 -1
  126. package/fesm2022/sdcorejs-angular-forms-radio.mjs +41 -22
  127. package/fesm2022/sdcorejs-angular-forms-radio.mjs.map +1 -1
  128. package/fesm2022/sdcorejs-angular-forms-select.mjs +112 -59
  129. package/fesm2022/sdcorejs-angular-forms-select.mjs.map +1 -1
  130. package/fesm2022/sdcorejs-angular-forms-switch.mjs +21 -12
  131. package/fesm2022/sdcorejs-angular-forms-switch.mjs.map +1 -1
  132. package/fesm2022/sdcorejs-angular-forms-textarea.mjs +48 -26
  133. package/fesm2022/sdcorejs-angular-forms-textarea.mjs.map +1 -1
  134. package/fesm2022/sdcorejs-angular-forms-time-range.mjs +83 -43
  135. package/fesm2022/sdcorejs-angular-forms-time-range.mjs.map +1 -1
  136. package/fesm2022/sdcorejs-angular-forms-time.mjs +72 -38
  137. package/fesm2022/sdcorejs-angular-forms-time.mjs.map +1 -1
  138. package/fesm2022/sdcorejs-angular-forms-tree-select.mjs +76 -41
  139. package/fesm2022/sdcorejs-angular-forms-tree-select.mjs.map +1 -1
  140. package/fesm2022/sdcorejs-angular-forms.mjs +4 -4
  141. package/fesm2022/sdcorejs-angular-forms.mjs.map +1 -1
  142. package/fesm2022/sdcorejs-angular-handlers.mjs +3 -3
  143. package/fesm2022/sdcorejs-angular-handlers.mjs.map +1 -1
  144. package/fesm2022/sdcorejs-angular-i18n.mjs +12 -9
  145. package/fesm2022/sdcorejs-angular-i18n.mjs.map +1 -1
  146. package/fesm2022/sdcorejs-angular-interceptors.mjs +6 -6
  147. package/fesm2022/sdcorejs-angular-interceptors.mjs.map +1 -1
  148. package/fesm2022/sdcorejs-angular-modules-auth.mjs +11 -10
  149. package/fesm2022/sdcorejs-angular-modules-auth.mjs.map +1 -1
  150. package/fesm2022/sdcorejs-angular-modules-icon.mjs +19 -11
  151. package/fesm2022/sdcorejs-angular-modules-icon.mjs.map +1 -1
  152. package/fesm2022/sdcorejs-angular-modules-keycloak.mjs +7 -7
  153. package/fesm2022/sdcorejs-angular-modules-keycloak.mjs.map +1 -1
  154. package/fesm2022/sdcorejs-angular-modules-layout.mjs +387 -247
  155. package/fesm2022/sdcorejs-angular-modules-layout.mjs.map +1 -1
  156. package/fesm2022/sdcorejs-angular-modules-permission.mjs +13 -11
  157. package/fesm2022/sdcorejs-angular-modules-permission.mjs.map +1 -1
  158. package/fesm2022/sdcorejs-angular-pipes.mjs +25 -25
  159. package/fesm2022/sdcorejs-angular-pipes.mjs.map +1 -1
  160. package/fesm2022/sdcorejs-angular-services-api.mjs +10 -10
  161. package/fesm2022/sdcorejs-angular-services-api.mjs.map +1 -1
  162. package/fesm2022/sdcorejs-angular-services-cache.mjs +3 -3
  163. package/fesm2022/sdcorejs-angular-services-cache.mjs.map +1 -1
  164. package/fesm2022/sdcorejs-angular-services-confirm.mjs +9 -9
  165. package/fesm2022/sdcorejs-angular-services-confirm.mjs.map +1 -1
  166. package/fesm2022/sdcorejs-angular-services-excel.mjs +3 -3
  167. package/fesm2022/sdcorejs-angular-services-excel.mjs.map +1 -1
  168. package/fesm2022/sdcorejs-angular-services-loading.mjs +3 -3
  169. package/fesm2022/sdcorejs-angular-services-loading.mjs.map +1 -1
  170. package/fesm2022/sdcorejs-angular-services-notify.mjs +21 -16
  171. package/fesm2022/sdcorejs-angular-services-notify.mjs.map +1 -1
  172. package/fesm2022/sdcorejs-angular-services-persistence.mjs +3 -3
  173. package/fesm2022/sdcorejs-angular-services-persistence.mjs.map +1 -1
  174. package/fesm2022/sdcorejs-angular-services-storage.mjs +3 -3
  175. package/fesm2022/sdcorejs-angular-services-storage.mjs.map +1 -1
  176. package/fesm2022/sdcorejs-angular-services-task.mjs +19 -11
  177. package/fesm2022/sdcorejs-angular-services-task.mjs.map +1 -1
  178. package/fesm2022/sdcorejs-angular-services-unsaved-changes.mjs +17 -10
  179. package/fesm2022/sdcorejs-angular-services-unsaved-changes.mjs.map +1 -1
  180. package/fesm2022/sdcorejs-angular-services-viewport.mjs +15 -9
  181. package/fesm2022/sdcorejs-angular-services-viewport.mjs.map +1 -1
  182. package/fesm2022/sdcorejs-angular-utilities-data-state.mjs.map +1 -1
  183. package/fesm2022/sdcorejs-angular-utilities-extensions.mjs.map +1 -1
  184. package/fesm2022/sdcorejs-angular-utilities-models.mjs.map +1 -1
  185. package/package.json +11 -11
@@ -87,7 +87,7 @@
87
87
  direction: ltr;
88
88
  /* 1. Hỗ trợ trình duyệt cũ (Webkit/Chrome cũ) */
89
89
  -webkit-font-feature-settings: 'liga';
90
-
90
+
91
91
  /* 2. Thuộc tính chuẩn (Standard) - Bắt buộc phải có để hết warning */
92
92
  font-feature-settings: 'liga';
93
93
  /* ======================================================== */
@@ -111,6 +111,6 @@
111
111
  .material-symbols-outlined {
112
112
  font-family: 'Material Symbols Outlined';
113
113
  @extend %icon-shared-style;
114
- /* Symbols có thể cần thêm settings riêng nếu dùng variable font,
114
+ /* Symbols có thể cần thêm settings riêng nếu dùng variable font,
115
115
  nhưng với file woff2 tĩnh của bạn thì setting trên là đủ */
116
116
  }
@@ -2,20 +2,20 @@
2
2
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
3
3
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
4
4
 
5
-
5
+
6
6
  <rect x="44" y="62" width="104" height="84" rx="6" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></rect>
7
-
7
+
8
8
  <path d="M44 78 v-10 a6 6 0 0 1 6 -6 h92 a6 6 0 0 1 6 6 v10 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
9
-
9
+
10
10
  <rect x="62" y="50" width="6" height="20" rx="2" fill="#52525B"></rect>
11
11
  <rect x="124" y="50" width="6" height="20" rx="2" fill="#52525B"></rect>
12
-
12
+
13
13
  <circle cx="60" cy="92" r="1.6" fill="#D4D4D8"></circle><circle cx="78" cy="92" r="1.6" fill="#D4D4D8"></circle><circle cx="96" cy="92" r="1.6" fill="#D4D4D8"></circle><circle cx="114" cy="92" r="1.6" fill="#D4D4D8"></circle><circle cx="132" cy="92" r="1.6" fill="#D4D4D8"></circle><circle cx="60" cy="104" r="1.6" fill="#D4D4D8"></circle><circle cx="78" cy="104" r="1.6" fill="#D4D4D8"></circle><circle cx="96" cy="104" r="1.6" fill="#D4D4D8"></circle><circle cx="114" cy="104" r="1.6" fill="#D4D4D8"></circle><circle cx="132" cy="104" r="1.6" fill="#D4D4D8"></circle><circle cx="60" cy="116" r="1.6" fill="#D4D4D8"></circle><circle cx="78" cy="116" r="1.6" fill="#D4D4D8"></circle><circle cx="96" cy="116" r="1.6" fill="#D4D4D8"></circle><circle cx="114" cy="116" r="1.6" fill="#D4D4D8"></circle><circle cx="132" cy="116" r="1.6" fill="#D4D4D8"></circle><circle cx="60" cy="128" r="1.6" fill="#D4D4D8"></circle><circle cx="78" cy="128" r="1.6" fill="#D4D4D8"></circle><circle cx="96" cy="128" r="1.6" fill="#D4D4D8"></circle><circle cx="114" cy="128" r="1.6" fill="#D4D4D8"></circle><circle cx="132" cy="128" r="1.6" fill="#D4D4D8"></circle>
14
-
14
+
15
15
  <g transform="translate(114 122)">
16
16
  <path d="M0 -10 L3 -3 L10 -2 L5 3 L6 10 L0 7 L-6 10 L-5 3 L-10 -2 L-3 -3 Z" fill="#52525B" stroke="#52525B" stroke-width="1.5" stroke-linejoin="round"></path>
17
17
  </g>
18
-
18
+
19
19
  <path d="M36 50 l0 -8 M32 46 l8 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
20
20
  <circle cx="156" cy="44" r="3" fill="#D4D4D8"></circle>
21
21
  <path d="M160 102 l0 -5 M157.5 99.5 l5 0" stroke="#71717A" stroke-width="1.8" stroke-linecap="round"></path>
@@ -1,7 +1,7 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
2
-
2
+
3
3
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
4
-
4
+
5
5
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
6
6
 
7
7
  <g>
@@ -2,18 +2,18 @@
2
2
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
3
3
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
4
4
 
5
-
5
+
6
6
  <rect x="58" y="46" width="76" height="6" rx="2" fill="#52525B"></rect>
7
7
  <rect x="58" y="140" width="76" height="6" rx="2" fill="#52525B"></rect>
8
-
8
+
9
9
  <path d="M62 52 L130 52 L102 94 L130 140 L62 140 L90 94 Z" fill="#FFFFFF" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
10
-
10
+
11
11
  <path d="M68 56 L124 56 L100 92 L92 92 Z" fill="#F4F4F5" stroke="#A1A1AA" stroke-width="1.2" stroke-dasharray="3 3" stroke-linejoin="round"></path>
12
-
12
+
13
13
  <path d="M68 136 L124 136 L100 100 L92 100 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="1.5" stroke-linejoin="round"></path>
14
-
14
+
15
15
  <circle cx="96" cy="100" r="2" fill="#52525B"></circle>
16
-
16
+
17
17
  <circle cx="40" cy="58" r="2.5" fill="#71717A"></circle>
18
18
  <circle cx="156" cy="64" r="2.8" fill="#D4D4D8"></circle>
19
19
  <path d="M36 124 l0 -5 M33.5 121.5 l5 0" stroke="#71717A" stroke-width="1.8" stroke-linecap="round"></path>
@@ -2,24 +2,24 @@
2
2
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
3
3
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
4
4
 
5
-
5
+
6
6
  <g transform="translate(64 44)">
7
7
  <path d="M0 0 H44 L62 18 V96 a4 4 0 0 1 -4 4 H0 a4 4 0 0 1 -4 -4 V4 a4 4 0 0 1 4 -4 Z" fill="#FFFFFF" stroke="#A1A1AA" stroke-width="1.5" stroke-linejoin="round"></path>
8
8
  <path d="M44 0 V14 a4 4 0 0 0 4 4 H62" fill="#F4F4F5" stroke="#A1A1AA" stroke-width="1.5" stroke-linejoin="round"></path>
9
9
  </g>
10
-
10
+
11
11
  <g transform="translate(48 56)">
12
12
  <path d="M0 0 H48 L68 20 V108 a4 4 0 0 1 -4 4 H0 a4 4 0 0 1 -4 -4 V4 a4 4 0 0 1 4 -4 Z" fill="#FFFFFF" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
13
-
13
+
14
14
  <path d="M48 0 V16 a4 4 0 0 0 4 4 H68 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
15
-
15
+
16
16
  <line x1="10" y1="36" x2="50" y2="36" stroke="#D4D4D8" stroke-width="2.5" stroke-linecap="round"></line>
17
17
  <line x1="10" y1="48" x2="58" y2="48" stroke="#D4D4D8" stroke-width="2.5" stroke-linecap="round"></line>
18
18
  <line x1="10" y1="60" x2="44" y2="60" stroke="#D4D4D8" stroke-width="2.5" stroke-linecap="round"></line>
19
-
19
+
20
20
  <path d="M16 78 L52 108 M52 78 L16 108" stroke="#52525B" stroke-width="5" stroke-linecap="round"></path>
21
21
  </g>
22
-
22
+
23
23
  <circle cx="32" cy="58" r="2.5" fill="#71717A"></circle>
24
24
  <path d="M158 60 l0 -6 M155 57 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
25
25
  <circle cx="38" cy="128" r="2.2" fill="#D4D4D8"></circle>
@@ -1,7 +1,7 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
2
-
2
+
3
3
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
4
-
4
+
5
5
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
6
6
 
7
7
  <circle cx="76" cy="38" r="3" fill="#71717A"></circle>
@@ -1,7 +1,7 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
2
-
2
+
3
3
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
4
-
4
+
5
5
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
6
6
 
7
7
  <circle cx="96" cy="90" r="58" stroke="#71717A" stroke-width="1.5" stroke-dasharray="3 4" fill="none" stroke-opacity="0.45"></circle>
@@ -1,7 +1,7 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
2
-
2
+
3
3
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
4
-
4
+
5
5
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
6
6
 
7
7
  <path d="M96 38 L138 54 V96 c0 26 -20 44 -42 50 c-22 -6 -42 -24 -42 -50 V54 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
@@ -2,24 +2,24 @@
2
2
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
3
3
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
4
4
 
5
-
5
+
6
6
  <rect x="40" y="50" width="112" height="92" rx="8" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></rect>
7
-
7
+
8
8
  <rect x="46" y="56" width="100" height="80" rx="5" fill="#F4F4F5" stroke="#52525B" stroke-width="1.2" stroke-opacity="0.35"></rect>
9
-
9
+
10
10
  <circle cx="120" cy="78" r="6" fill="#D4D4D8" stroke="#52525B" stroke-width="2"></circle>
11
-
11
+
12
12
  <path d="M46 124 L80 86 L106 116 L118 104 L146 124 L146 136 H46 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
13
-
13
+
14
14
  <path d="M46 136 L70 110 L90 126 L114 108 L146 136 Z" fill="#D4D4D8" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
15
-
15
+
16
16
  <path d="M58 70 L76 88 L66 100 L86 116 L78 128" stroke="#52525B" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" fill="none" stroke-dasharray="6 5"></path>
17
-
17
+
18
18
  <g transform="translate(146 134)">
19
19
  <circle r="14" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></circle>
20
20
  <path d="M-5 -5 L5 5 M5 -5 L-5 5" stroke="#52525B" stroke-width="2.6" stroke-linecap="round"></path>
21
21
  </g>
22
-
22
+
23
23
  <circle cx="34" cy="50" r="2.5" fill="#71717A"></circle>
24
24
  <path d="M158 50 l0 -6 M155 47 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
25
25
  <circle cx="32" cy="120" r="2.2" fill="#D4D4D8"></circle>
@@ -2,7 +2,7 @@
2
2
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
3
3
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
4
4
 
5
-
5
+
6
6
  <g transform="translate(96 96)">
7
7
  <g fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round">
8
8
  <rect x="34" y="-6" width="12" height="12" rx="2" transform="rotate(0 40 0)"></rect><rect x="22.284271247461902" y="22.2842712474619" width="12" height="12" rx="2" transform="rotate(45 28.284271247461902 28.2842712474619)"></rect><rect x="-5.999999999999997" y="34" width="12" height="12" rx="2" transform="rotate(90 2.4492935982947065e-15 40)"></rect><rect x="-34.2842712474619" y="22.284271247461902" width="12" height="12" rx="2" transform="rotate(135 -28.2842712474619 28.284271247461902)"></rect><rect x="-46" y="-5.999999999999995" width="12" height="12" rx="2" transform="rotate(180 -40 4.898587196589413e-15)"></rect><rect x="-34.28427124746191" y="-34.2842712474619" width="12" height="12" rx="2" transform="rotate(225 -28.28427124746191 -28.2842712474619)"></rect><rect x="-6.000000000000007" y="-46" width="12" height="12" rx="2" transform="rotate(270 -7.347880794884118e-15 -40)"></rect><rect x="22.284271247461895" y="-34.28427124746191" width="12" height="12" rx="2" transform="rotate(315 28.284271247461895 -28.28427124746191)"></rect>
@@ -11,11 +11,11 @@
11
11
  <circle r="14" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></circle>
12
12
  <circle r="6" fill="#52525B"></circle>
13
13
  </g>
14
-
14
+
15
15
  <g transform="translate(132 60) rotate(40)">
16
16
  <path d="M0 -8 a10 10 0 1 0 8 17 L34 35 a4 4 0 0 0 6 0 l4 -4 a4 4 0 0 0 0 -6 L18 18 a10 10 0 0 0 -8 -18 a10 10 0 0 0 -10 0 Z" fill="#FFFFFF" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
17
17
  </g>
18
-
18
+
19
19
  <circle cx="40" cy="56" r="2.5" fill="#71717A"></circle>
20
20
  <path d="M40 132 l0 -6 M37 129 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
21
21
  <circle cx="158" cy="124" r="2.5" fill="#D4D4D8"></circle>
@@ -1,7 +1,7 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
2
-
2
+
3
3
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
4
-
4
+
5
5
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
6
6
 
7
7
  <rect x="46" y="58" width="80" height="80" rx="8" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></rect>
@@ -2,17 +2,17 @@
2
2
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
3
3
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
4
4
 
5
-
5
+
6
6
  <path d="M62 110 a18 18 0 0 1 6 -35 a24 24 0 0 1 46 4 a16 16 0 0 1 12 31 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
7
-
7
+
8
8
  <path d="M72 102 a12 12 0 0 1 4 -22 a16 16 0 0 1 28 2" fill="none" stroke="#71717A" stroke-width="1.2" stroke-opacity="0.4" stroke-linecap="round"></path>
9
-
9
+
10
10
  <line x1="56" y1="56" x2="138" y2="132" stroke="#FFFFFF" stroke-width="8" stroke-linecap="round"></line>
11
11
  <line x1="56" y1="56" x2="138" y2="132" stroke="#52525B" stroke-width="4" stroke-linecap="round"></line>
12
-
12
+
13
13
  <path d="M40 138 q4 -6 10 -6" stroke="#71717A" stroke-width="2" fill="none" stroke-linecap="round"></path>
14
14
  <path d="M148 142 q4 -8 12 -8" stroke="#71717A" stroke-width="2" fill="none" stroke-linecap="round"></path>
15
-
15
+
16
16
  <circle cx="40" cy="60" r="2.5" fill="#71717A"></circle>
17
17
  <circle cx="158" cy="48" r="3" fill="#D4D4D8"></circle>
18
18
  <path d="M158 100 l0 -6 M155 97 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
@@ -2,15 +2,15 @@
2
2
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
3
3
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
4
4
 
5
-
5
+
6
6
  <path d="M40 138 Q80 110 120 80" stroke="#A1A1AA" stroke-width="2" stroke-dasharray="4 4" stroke-linecap="round" fill="none"></path>
7
-
7
+
8
8
  <path d="M44 102 L150 50 L130 138 L100 110 L44 102 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
9
-
9
+
10
10
  <path d="M44 102 L100 110 L150 50" fill="none" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
11
-
11
+
12
12
  <path d="M100 110 L130 138 L116 96 Z" fill="#D4D4D8" stroke="#52525B" stroke-width="1.5" stroke-linejoin="round"></path>
13
-
13
+
14
14
  <circle cx="46" cy="50" r="2.5" fill="#71717A"></circle>
15
15
  <path d="M152 100 l0 -6 M149 97 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
16
16
  <circle cx="156" cy="138" r="2.5" fill="#D4D4D8"></circle>
@@ -2,12 +2,12 @@
2
2
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
3
3
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
4
4
 
5
-
5
+
6
6
  <circle cx="96" cy="96" r="44" fill="#E4E4E7" stroke="#52525B" stroke-width="2"></circle>
7
7
  <circle cx="96" cy="96" r="32" fill="#FFFFFF" stroke="#52525B" stroke-width="1.5" stroke-opacity="0.45"></circle>
8
-
8
+
9
9
  <path d="M80 96 L92 108 L114 84" fill="none" stroke="#52525B" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"></path>
10
-
10
+
11
11
  <circle cx="44" cy="50" r="3" fill="#71717A"></circle>
12
12
  <rect x="148" y="44" width="6" height="6" rx="1.5" transform="rotate(20 151 47)" fill="#D4D4D8"></rect>
13
13
  <circle cx="36" cy="118" r="2.5" fill="#D4D4D8"></circle>
@@ -1,7 +1,7 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
2
-
2
+
3
3
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
4
-
4
+
5
5
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
6
6
 
7
7
  <path d="M70 84 V64 a26 26 0 0 1 52 0 V84" fill="none" stroke="#52525B" stroke-width="6" stroke-linecap="round"></path>
@@ -1,7 +1,7 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
2
-
2
+
3
3
  <circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
4
-
4
+
5
5
  <ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
6
6
 
7
7
  <path d="M96 44 L150 134 a6 6 0 0 1 -5 9 H51 a6 6 0 0 1 -5 -9 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
@@ -1,17 +1,20 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, inject, ElementRef, effect, ChangeDetectionStrategy, Component, computed, output, viewChild, contentChildren, booleanAttribute, signal, afterNextRender, untracked } from '@angular/core';
1
3
  import * as i1 from '@angular/common';
2
4
  import { CommonModule } from '@angular/common';
3
- import * as i0 from '@angular/core';
4
- import { input, inject, ElementRef, effect, Component, computed, output, ChangeDetectionStrategy, viewChild, contentChildren, booleanAttribute, signal, afterNextRender, untracked } from '@angular/core';
5
5
  import { Utilities } from '@sdcorejs/utils/fns';
6
6
  import { SdViewportService } from '@sdcorejs/angular/services/viewport';
7
7
  import { Subject, Subscription, debounceTime, fromEvent, take } from 'rxjs';
8
8
  import { SdIcon } from '@sdcorejs/angular/modules/icon';
9
9
 
10
10
  class SdAnchorItem {
11
- title = input.required(...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
12
- icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
11
+ title = input.required(/* @ts-ignore */
12
+ ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
13
+ icon = input(/* @ts-ignore */
14
+ ...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
13
15
  // Stable key dùng cho data-autoId. Nếu không truyền thì fallback về uuid (không stable giữa các lần render).
14
- key = input(undefined, ...(ngDevMode ? [{ debugName: "key" }] : /* istanbul ignore next */ []));
16
+ key = input(undefined, /* @ts-ignore */
17
+ ...(ngDevMode ? [{ debugName: "key" }] : /* istanbul ignore next */ []));
15
18
  id = Utilities.generateUuid();
16
19
  elementRef = inject(ElementRef);
17
20
  constructor() {
@@ -21,25 +24,32 @@ class SdAnchorItem {
21
24
  }
22
25
  });
23
26
  }
24
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SdAnchorItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
25
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.17", type: SdAnchorItem, isStandalone: true, selector: "sd-anchor-item", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<section>\n <ng-content></ng-content>\n</section>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SdAnchorItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
28
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.5", type: SdAnchorItem, isStandalone: true, selector: "sd-anchor-item", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<section>\n <ng-content></ng-content>\n</section>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.Eager });
26
29
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SdAnchorItem, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SdAnchorItem, decorators: [{
28
31
  type: Component,
29
- args: [{ selector: 'sd-anchor-item', imports: [CommonModule], standalone: true, template: "<section>\n <ng-content></ng-content>\n</section>\n" }]
32
+ args: [{ changeDetection: ChangeDetectionStrategy.Eager, selector: 'sd-anchor-item', imports: [CommonModule], standalone: true, template: "<section>\n <ng-content></ng-content>\n</section>\n" }]
30
33
  }], ctorParameters: () => [], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: false }] }] } });
31
34
 
32
35
  class AnchorNav {
33
- sections = input.required(...(ngDevMode ? [{ debugName: "sections" }] : /* istanbul ignore next */ []));
34
- activeSectionId = input('', ...(ngDevMode ? [{ debugName: "activeSectionId" }] : /* istanbul ignore next */ []));
35
- ellipsis = input(false, ...(ngDevMode ? [{ debugName: "ellipsis" }] : /* istanbul ignore next */ []));
36
- sidebarWidth = input('', ...(ngDevMode ? [{ debugName: "sidebarWidth" }] : /* istanbul ignore next */ []));
36
+ sections = input.required(/* @ts-ignore */
37
+ ...(ngDevMode ? [{ debugName: "sections" }] : /* istanbul ignore next */ []));
38
+ activeSectionId = input('', /* @ts-ignore */
39
+ ...(ngDevMode ? [{ debugName: "activeSectionId" }] : /* istanbul ignore next */ []));
40
+ ellipsis = input(false, /* @ts-ignore */
41
+ ...(ngDevMode ? [{ debugName: "ellipsis" }] : /* istanbul ignore next */ []));
42
+ sidebarWidth = input('', /* @ts-ignore */
43
+ ...(ngDevMode ? [{ debugName: "sidebarWidth" }] : /* istanbul ignore next */ []));
37
44
  // autoId được forward từ <sd-anchor>. Derive per-item autoId theo `key` của item (nếu có).
38
- parentAutoId = input(undefined, ...(ngDevMode ? [{ debugName: "parentAutoId" }] : /* istanbul ignore next */ []));
39
- color = input('primary', ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
45
+ parentAutoId = input(undefined, /* @ts-ignore */
46
+ ...(ngDevMode ? [{ debugName: "parentAutoId" }] : /* istanbul ignore next */ []));
47
+ color = input('primary', /* @ts-ignore */
48
+ ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
40
49
  // CSS var binding cho active state — map Color → global token `--sd-{color}`.
41
50
  // SCSS đọc qua `var(--anchor-active-color)` cho border + text + icon.
42
- cssActiveVar = computed(() => `var(--sd-${this.color()})`, ...(ngDevMode ? [{ debugName: "cssActiveVar" }] : /* istanbul ignore next */ []));
51
+ cssActiveVar = computed(() => `var(--sd-${this.color()})`, /* @ts-ignore */
52
+ ...(ngDevMode ? [{ debugName: "cssActiveVar" }] : /* istanbul ignore next */ []));
43
53
  itemAutoId(section) {
44
54
  const parent = this.parentAutoId();
45
55
  const key = section.key();
@@ -58,20 +68,24 @@ class AnchorNav {
58
68
  ngOnDestroy() {
59
69
  this.#subscription.unsubscribe();
60
70
  }
61
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: AnchorNav, deps: [], target: i0.ɵɵFactoryTarget.Component });
62
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: AnchorNav, isStandalone: true, selector: "anchor-nav", inputs: { sections: { classPropertyName: "sections", publicName: "sections", isSignal: true, isRequired: true, transformFunction: null }, activeSectionId: { classPropertyName: "activeSectionId", publicName: "activeSectionId", isSignal: true, isRequired: false, transformFunction: null }, ellipsis: { classPropertyName: "ellipsis", publicName: "ellipsis", isSignal: true, isRequired: false, transformFunction: null }, sidebarWidth: { classPropertyName: "sidebarWidth", publicName: "sidebarWidth", isSignal: true, isRequired: false, transformFunction: null }, parentAutoId: { classPropertyName: "parentAutoId", publicName: "parentAutoId", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clickSection: "clickSection" }, ngImport: i0, template: "<div\n class=\"c-anchor-list\"\n [style.width]=\"sidebarWidth()\"\n [style.--anchor-active-color]=\"cssActiveVar()\">\n @for (section of sections(); track section.id) {\n <div\n class=\"c-anchor-list-item\"\n [class.active]=\"section.id === activeSectionId()\"\n (click)=\"onClickSection(section.id)\"\n (keydown.enter)=\"onClickSection(section.id)\"\n [attr.data-autoId]=\"itemAutoId(section)\"\n tabindex=\"0\">\n @if (section.icon()) {\n <sd-icon class=\"c-anchor-list-item-icon\" [name]=\"section.icon()\"></sd-icon>\n }\n <div class=\"c-anchor-list-item-text\" [class.ellipsis]=\"ellipsis()\">\n {{ section.title() }}\n </div>\n </div>\n }\n</div>\n", styles: [".text-primary{color:var(--sd-primary)!important}.bg-primary{background:var(--sd-primary)!important}.border-primary{border-color:var(--sd-primary)!important}.text-primary-light{color:var(--sd-primary-light)!important}.bg-primary-light{background:var(--sd-primary-light)!important}.border-primary-light{border-color:var(--sd-primary-light)!important}.text-primary-dark{color:var(--sd-primary-dark)!important}.bg-primary-dark{background:var(--sd-primary-dark)!important}.border-primary-dark{border-color:var(--sd-primary-dark)!important}.text-primary-contrast{color:var(--sd-primary-contrast)!important}.bg-primary-contrast{background:var(--sd-primary-contrast)!important}.border-primary-contrast{border-color:var(--sd-primary-contrast)!important}.text-secondary{color:var(--sd-secondary)!important}.bg-secondary{background:var(--sd-secondary)!important}.border-secondary{border-color:var(--sd-secondary)!important}.text-secondary-light{color:var(--sd-secondary-light)!important}.bg-secondary-light{background:var(--sd-secondary-light)!important}.border-secondary-light{border-color:var(--sd-secondary-light)!important}.text-secondary-dark{color:var(--sd-secondary-dark)!important}.bg-secondary-dark{background:var(--sd-secondary-dark)!important}.border-secondary-dark{border-color:var(--sd-secondary-dark)!important}.text-secondary-contrast{color:var(--sd-secondary-contrast)!important}.bg-secondary-contrast{background:var(--sd-secondary-contrast)!important}.border-secondary-contrast{border-color:var(--sd-secondary-contrast)!important}.text-info{color:var(--sd-info)!important}.bg-info{background:var(--sd-info)!important}.border-info{border-color:var(--sd-info)!important}.text-info-light{color:var(--sd-info-light)!important}.bg-info-light{background:var(--sd-info-light)!important}.border-info-light{border-color:var(--sd-info-light)!important}.text-info-dark{color:var(--sd-info-dark)!important}.bg-info-dark{background:var(--sd-info-dark)!important}.border-info-dark{border-color:var(--sd-info-dark)!important}.text-info-contrast{color:var(--sd-info-contrast)!important}.bg-info-contrast{background:var(--sd-info-contrast)!important}.border-info-contrast{border-color:var(--sd-info-contrast)!important}.text-success{color:var(--sd-success)!important}.bg-success{background:var(--sd-success)!important}.border-success{border-color:var(--sd-success)!important}.text-success-light{color:var(--sd-success-light)!important}.bg-success-light{background:var(--sd-success-light)!important}.border-success-light{border-color:var(--sd-success-light)!important}.text-success-dark{color:var(--sd-success-dark)!important}.bg-success-dark{background:var(--sd-success-dark)!important}.border-success-dark{border-color:var(--sd-success-dark)!important}.text-success-contrast{color:var(--sd-success-contrast)!important}.bg-success-contrast{background:var(--sd-success-contrast)!important}.border-success-contrast{border-color:var(--sd-success-contrast)!important}.text-warning{color:var(--sd-warning)!important}.bg-warning{background:var(--sd-warning)!important}.border-warning{border-color:var(--sd-warning)!important}.text-warning-light{color:var(--sd-warning-light)!important}.bg-warning-light{background:var(--sd-warning-light)!important}.border-warning-light{border-color:var(--sd-warning-light)!important}.text-warning-dark{color:var(--sd-warning-dark)!important}.bg-warning-dark{background:var(--sd-warning-dark)!important}.border-warning-dark{border-color:var(--sd-warning-dark)!important}.text-warning-contrast{color:var(--sd-warning-contrast)!important}.bg-warning-contrast{background:var(--sd-warning-contrast)!important}.border-warning-contrast{border-color:var(--sd-warning-contrast)!important}.text-error{color:var(--sd-error)!important}.bg-error{background:var(--sd-error)!important}.border-error{border-color:var(--sd-error)!important}.text-error-light{color:var(--sd-error-light)!important}.bg-error-light{background:var(--sd-error-light)!important}.border-error-light{border-color:var(--sd-error-light)!important}.text-error-dark{color:var(--sd-error-dark)!important}.bg-error-dark{background:var(--sd-error-dark)!important}.border-error-dark{border-color:var(--sd-error-dark)!important}.text-error-contrast{color:var(--sd-error-contrast)!important}.bg-error-contrast{background:var(--sd-error-contrast)!important}.border-error-contrast{border-color:var(--sd-error-contrast)!important}.text-surface{color:var(--sd-surface)!important}.bg-surface{background:var(--sd-surface)!important}.border-surface{border-color:var(--sd-surface)!important}.text-surface-muted{color:var(--sd-surface-muted)!important}.bg-surface-muted{background:var(--sd-surface-muted)!important}.border-surface-muted{border-color:var(--sd-surface-muted)!important}.text-text{color:var(--sd-text)!important}.bg-text{background:var(--sd-text)!important}.border-text{border-color:var(--sd-text)!important}.text-text-secondary{color:var(--sd-text-secondary)!important}.bg-text-secondary{background:var(--sd-text-secondary)!important}.border-text-secondary{border-color:var(--sd-text-secondary)!important}.text-text-muted{color:var(--sd-text-muted)!important}.bg-text-muted{background:var(--sd-text-muted)!important}.border-text-muted{border-color:var(--sd-text-muted)!important}.text-border{color:var(--sd-border)!important}.bg-border{background:var(--sd-border)!important}.border-border{border-color:var(--sd-border)!important}.text-border-strong{color:var(--sd-border-strong)!important}.bg-border-strong{background:var(--sd-border-strong)!important}.border-border-strong{border-color:var(--sd-border-strong)!important}.text-disabled-bg{color:var(--sd-disabled-bg)!important}.bg-disabled-bg{background:var(--sd-disabled-bg)!important}.border-disabled-bg{border-color:var(--sd-disabled-bg)!important}.text-disabled-text{color:var(--sd-disabled-text)!important}.bg-disabled-text{background:var(--sd-disabled-text)!important}.border-disabled-text{border-color:var(--sd-disabled-text)!important}.text-white{color:#fff!important}.bg-white{background:#fff!important}.border-white{border-color:#fff!important}.text-black{color:#000!important}.bg-black{background:#000!important}.border-black{border-color:#000!important}.text-secondary{color:var(--sd-text-secondary)!important}.text-muted{color:var(--sd-text-muted)!important}.text-body{color:var(--sd-text)!important}.bg-muted{background:var(--sd-surface-muted)!important}.c-anchor-list{height:100%;display:flex;flex-direction:column}.c-anchor-list .c-anchor-list-item{border-left:2px solid var(--sd-secondary-light);color:var(--sd-text);padding:.5rem 1.5rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;min-width:0;overflow:hidden}.c-anchor-list .c-anchor-list-item .c-anchor-list-item-icon{flex:0 0 auto}.c-anchor-list .c-anchor-list-item .c-anchor-list-item-text{flex:1 1 0;min-width:0;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.c-anchor-list .c-anchor-list-item .c-anchor-list-item-text.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-anchor-list .c-anchor-list-item.active{border-left:2px solid var(--anchor-active-color, var(--sd-primary));color:var(--anchor-active-color, var(--sd-primary));font-weight:700}.c-anchor-list .c-anchor-list-item.active .c-anchor-list-item-icon{color:var(--anchor-active-color, var(--sd-primary))}.c-anchor-list .c-anchor-list-item:not(.active){border-left:2px solid var(--sd-secondary-light);font-weight:400}\n"], dependencies: [{ kind: "component", type: SdIcon, selector: "sd-icon", inputs: ["name", "fontIcon", "color", "set", "fontSet", "size", "strokeWidth", "absoluteStrokeWidth", "ariaLabel"] }, { kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
71
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AnchorNav, deps: [], target: i0.ɵɵFactoryTarget.Component });
72
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: AnchorNav, isStandalone: true, selector: "anchor-nav", inputs: { sections: { classPropertyName: "sections", publicName: "sections", isSignal: true, isRequired: true, transformFunction: null }, activeSectionId: { classPropertyName: "activeSectionId", publicName: "activeSectionId", isSignal: true, isRequired: false, transformFunction: null }, ellipsis: { classPropertyName: "ellipsis", publicName: "ellipsis", isSignal: true, isRequired: false, transformFunction: null }, sidebarWidth: { classPropertyName: "sidebarWidth", publicName: "sidebarWidth", isSignal: true, isRequired: false, transformFunction: null }, parentAutoId: { classPropertyName: "parentAutoId", publicName: "parentAutoId", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clickSection: "clickSection" }, ngImport: i0, template: "<div\n class=\"c-anchor-list\"\n [style.width]=\"sidebarWidth()\"\n [style.--anchor-active-color]=\"cssActiveVar()\">\n @for (section of sections(); track section.id) {\n <div\n class=\"c-anchor-list-item\"\n [class.active]=\"section.id === activeSectionId()\"\n (click)=\"onClickSection(section.id)\"\n (keydown.enter)=\"onClickSection(section.id)\"\n [attr.data-autoId]=\"itemAutoId(section)\"\n tabindex=\"0\">\n @if (section.icon()) {\n <sd-icon class=\"c-anchor-list-item-icon\" [name]=\"section.icon()\"></sd-icon>\n }\n <div class=\"c-anchor-list-item-text\" [class.ellipsis]=\"ellipsis()\">\n {{ section.title() }}\n </div>\n </div>\n }\n</div>\n", styles: [".text-primary{color:var(--sd-primary)!important}.bg-primary{background:var(--sd-primary)!important}.border-primary{border-color:var(--sd-primary)!important}.text-primary-light{color:var(--sd-primary-light)!important}.bg-primary-light{background:var(--sd-primary-light)!important}.border-primary-light{border-color:var(--sd-primary-light)!important}.text-primary-dark{color:var(--sd-primary-dark)!important}.bg-primary-dark{background:var(--sd-primary-dark)!important}.border-primary-dark{border-color:var(--sd-primary-dark)!important}.text-primary-contrast{color:var(--sd-primary-contrast)!important}.bg-primary-contrast{background:var(--sd-primary-contrast)!important}.border-primary-contrast{border-color:var(--sd-primary-contrast)!important}.text-secondary{color:var(--sd-secondary)!important}.bg-secondary{background:var(--sd-secondary)!important}.border-secondary{border-color:var(--sd-secondary)!important}.text-secondary-light{color:var(--sd-secondary-light)!important}.bg-secondary-light{background:var(--sd-secondary-light)!important}.border-secondary-light{border-color:var(--sd-secondary-light)!important}.text-secondary-dark{color:var(--sd-secondary-dark)!important}.bg-secondary-dark{background:var(--sd-secondary-dark)!important}.border-secondary-dark{border-color:var(--sd-secondary-dark)!important}.text-secondary-contrast{color:var(--sd-secondary-contrast)!important}.bg-secondary-contrast{background:var(--sd-secondary-contrast)!important}.border-secondary-contrast{border-color:var(--sd-secondary-contrast)!important}.text-info{color:var(--sd-info)!important}.bg-info{background:var(--sd-info)!important}.border-info{border-color:var(--sd-info)!important}.text-info-light{color:var(--sd-info-light)!important}.bg-info-light{background:var(--sd-info-light)!important}.border-info-light{border-color:var(--sd-info-light)!important}.text-info-dark{color:var(--sd-info-dark)!important}.bg-info-dark{background:var(--sd-info-dark)!important}.border-info-dark{border-color:var(--sd-info-dark)!important}.text-info-contrast{color:var(--sd-info-contrast)!important}.bg-info-contrast{background:var(--sd-info-contrast)!important}.border-info-contrast{border-color:var(--sd-info-contrast)!important}.text-success{color:var(--sd-success)!important}.bg-success{background:var(--sd-success)!important}.border-success{border-color:var(--sd-success)!important}.text-success-light{color:var(--sd-success-light)!important}.bg-success-light{background:var(--sd-success-light)!important}.border-success-light{border-color:var(--sd-success-light)!important}.text-success-dark{color:var(--sd-success-dark)!important}.bg-success-dark{background:var(--sd-success-dark)!important}.border-success-dark{border-color:var(--sd-success-dark)!important}.text-success-contrast{color:var(--sd-success-contrast)!important}.bg-success-contrast{background:var(--sd-success-contrast)!important}.border-success-contrast{border-color:var(--sd-success-contrast)!important}.text-warning{color:var(--sd-warning)!important}.bg-warning{background:var(--sd-warning)!important}.border-warning{border-color:var(--sd-warning)!important}.text-warning-light{color:var(--sd-warning-light)!important}.bg-warning-light{background:var(--sd-warning-light)!important}.border-warning-light{border-color:var(--sd-warning-light)!important}.text-warning-dark{color:var(--sd-warning-dark)!important}.bg-warning-dark{background:var(--sd-warning-dark)!important}.border-warning-dark{border-color:var(--sd-warning-dark)!important}.text-warning-contrast{color:var(--sd-warning-contrast)!important}.bg-warning-contrast{background:var(--sd-warning-contrast)!important}.border-warning-contrast{border-color:var(--sd-warning-contrast)!important}.text-error{color:var(--sd-error)!important}.bg-error{background:var(--sd-error)!important}.border-error{border-color:var(--sd-error)!important}.text-error-light{color:var(--sd-error-light)!important}.bg-error-light{background:var(--sd-error-light)!important}.border-error-light{border-color:var(--sd-error-light)!important}.text-error-dark{color:var(--sd-error-dark)!important}.bg-error-dark{background:var(--sd-error-dark)!important}.border-error-dark{border-color:var(--sd-error-dark)!important}.text-error-contrast{color:var(--sd-error-contrast)!important}.bg-error-contrast{background:var(--sd-error-contrast)!important}.border-error-contrast{border-color:var(--sd-error-contrast)!important}.text-surface{color:var(--sd-surface)!important}.bg-surface{background:var(--sd-surface)!important}.border-surface{border-color:var(--sd-surface)!important}.text-surface-muted{color:var(--sd-surface-muted)!important}.bg-surface-muted{background:var(--sd-surface-muted)!important}.border-surface-muted{border-color:var(--sd-surface-muted)!important}.text-text{color:var(--sd-text)!important}.bg-text{background:var(--sd-text)!important}.border-text{border-color:var(--sd-text)!important}.text-text-secondary{color:var(--sd-text-secondary)!important}.bg-text-secondary{background:var(--sd-text-secondary)!important}.border-text-secondary{border-color:var(--sd-text-secondary)!important}.text-text-muted{color:var(--sd-text-muted)!important}.bg-text-muted{background:var(--sd-text-muted)!important}.border-text-muted{border-color:var(--sd-text-muted)!important}.text-border{color:var(--sd-border)!important}.bg-border{background:var(--sd-border)!important}.border-border{border-color:var(--sd-border)!important}.text-border-strong{color:var(--sd-border-strong)!important}.bg-border-strong{background:var(--sd-border-strong)!important}.border-border-strong{border-color:var(--sd-border-strong)!important}.text-disabled-bg{color:var(--sd-disabled-bg)!important}.bg-disabled-bg{background:var(--sd-disabled-bg)!important}.border-disabled-bg{border-color:var(--sd-disabled-bg)!important}.text-disabled-text{color:var(--sd-disabled-text)!important}.bg-disabled-text{background:var(--sd-disabled-text)!important}.border-disabled-text{border-color:var(--sd-disabled-text)!important}.text-white{color:#fff!important}.bg-white{background:#fff!important}.border-white{border-color:#fff!important}.text-black{color:#000!important}.bg-black{background:#000!important}.border-black{border-color:#000!important}.text-secondary{color:var(--sd-text-secondary)!important}.text-muted{color:var(--sd-text-muted)!important}.text-body{color:var(--sd-text)!important}.bg-muted{background:var(--sd-surface-muted)!important}.c-anchor-list{height:100%;display:flex;flex-direction:column}.c-anchor-list .c-anchor-list-item{border-left:2px solid var(--sd-secondary-light);color:var(--sd-text);padding:.5rem 1.5rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;min-width:0;overflow:hidden}.c-anchor-list .c-anchor-list-item .c-anchor-list-item-icon{flex:0 0 auto}.c-anchor-list .c-anchor-list-item .c-anchor-list-item-text{flex:1 1 0;min-width:0;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.c-anchor-list .c-anchor-list-item .c-anchor-list-item-text.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-anchor-list .c-anchor-list-item.active{border-left:2px solid var(--anchor-active-color, var(--sd-primary));color:var(--anchor-active-color, var(--sd-primary));font-weight:700}.c-anchor-list .c-anchor-list-item.active .c-anchor-list-item-icon{color:var(--anchor-active-color, var(--sd-primary))}.c-anchor-list .c-anchor-list-item:not(.active){border-left:2px solid var(--sd-secondary-light);font-weight:400}\n"], dependencies: [{ kind: "component", type: SdIcon, selector: "sd-icon", inputs: ["name", "fontIcon", "color", "set", "fontSet", "size", "strokeWidth", "absoluteStrokeWidth", "ariaLabel"] }, { kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
63
73
  }
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: AnchorNav, decorators: [{
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AnchorNav, decorators: [{
65
75
  type: Component,
66
76
  args: [{ selector: 'anchor-nav', changeDetection: ChangeDetectionStrategy.OnPush, imports: [SdIcon, CommonModule], standalone: true, template: "<div\n class=\"c-anchor-list\"\n [style.width]=\"sidebarWidth()\"\n [style.--anchor-active-color]=\"cssActiveVar()\">\n @for (section of sections(); track section.id) {\n <div\n class=\"c-anchor-list-item\"\n [class.active]=\"section.id === activeSectionId()\"\n (click)=\"onClickSection(section.id)\"\n (keydown.enter)=\"onClickSection(section.id)\"\n [attr.data-autoId]=\"itemAutoId(section)\"\n tabindex=\"0\">\n @if (section.icon()) {\n <sd-icon class=\"c-anchor-list-item-icon\" [name]=\"section.icon()\"></sd-icon>\n }\n <div class=\"c-anchor-list-item-text\" [class.ellipsis]=\"ellipsis()\">\n {{ section.title() }}\n </div>\n </div>\n }\n</div>\n", styles: [".text-primary{color:var(--sd-primary)!important}.bg-primary{background:var(--sd-primary)!important}.border-primary{border-color:var(--sd-primary)!important}.text-primary-light{color:var(--sd-primary-light)!important}.bg-primary-light{background:var(--sd-primary-light)!important}.border-primary-light{border-color:var(--sd-primary-light)!important}.text-primary-dark{color:var(--sd-primary-dark)!important}.bg-primary-dark{background:var(--sd-primary-dark)!important}.border-primary-dark{border-color:var(--sd-primary-dark)!important}.text-primary-contrast{color:var(--sd-primary-contrast)!important}.bg-primary-contrast{background:var(--sd-primary-contrast)!important}.border-primary-contrast{border-color:var(--sd-primary-contrast)!important}.text-secondary{color:var(--sd-secondary)!important}.bg-secondary{background:var(--sd-secondary)!important}.border-secondary{border-color:var(--sd-secondary)!important}.text-secondary-light{color:var(--sd-secondary-light)!important}.bg-secondary-light{background:var(--sd-secondary-light)!important}.border-secondary-light{border-color:var(--sd-secondary-light)!important}.text-secondary-dark{color:var(--sd-secondary-dark)!important}.bg-secondary-dark{background:var(--sd-secondary-dark)!important}.border-secondary-dark{border-color:var(--sd-secondary-dark)!important}.text-secondary-contrast{color:var(--sd-secondary-contrast)!important}.bg-secondary-contrast{background:var(--sd-secondary-contrast)!important}.border-secondary-contrast{border-color:var(--sd-secondary-contrast)!important}.text-info{color:var(--sd-info)!important}.bg-info{background:var(--sd-info)!important}.border-info{border-color:var(--sd-info)!important}.text-info-light{color:var(--sd-info-light)!important}.bg-info-light{background:var(--sd-info-light)!important}.border-info-light{border-color:var(--sd-info-light)!important}.text-info-dark{color:var(--sd-info-dark)!important}.bg-info-dark{background:var(--sd-info-dark)!important}.border-info-dark{border-color:var(--sd-info-dark)!important}.text-info-contrast{color:var(--sd-info-contrast)!important}.bg-info-contrast{background:var(--sd-info-contrast)!important}.border-info-contrast{border-color:var(--sd-info-contrast)!important}.text-success{color:var(--sd-success)!important}.bg-success{background:var(--sd-success)!important}.border-success{border-color:var(--sd-success)!important}.text-success-light{color:var(--sd-success-light)!important}.bg-success-light{background:var(--sd-success-light)!important}.border-success-light{border-color:var(--sd-success-light)!important}.text-success-dark{color:var(--sd-success-dark)!important}.bg-success-dark{background:var(--sd-success-dark)!important}.border-success-dark{border-color:var(--sd-success-dark)!important}.text-success-contrast{color:var(--sd-success-contrast)!important}.bg-success-contrast{background:var(--sd-success-contrast)!important}.border-success-contrast{border-color:var(--sd-success-contrast)!important}.text-warning{color:var(--sd-warning)!important}.bg-warning{background:var(--sd-warning)!important}.border-warning{border-color:var(--sd-warning)!important}.text-warning-light{color:var(--sd-warning-light)!important}.bg-warning-light{background:var(--sd-warning-light)!important}.border-warning-light{border-color:var(--sd-warning-light)!important}.text-warning-dark{color:var(--sd-warning-dark)!important}.bg-warning-dark{background:var(--sd-warning-dark)!important}.border-warning-dark{border-color:var(--sd-warning-dark)!important}.text-warning-contrast{color:var(--sd-warning-contrast)!important}.bg-warning-contrast{background:var(--sd-warning-contrast)!important}.border-warning-contrast{border-color:var(--sd-warning-contrast)!important}.text-error{color:var(--sd-error)!important}.bg-error{background:var(--sd-error)!important}.border-error{border-color:var(--sd-error)!important}.text-error-light{color:var(--sd-error-light)!important}.bg-error-light{background:var(--sd-error-light)!important}.border-error-light{border-color:var(--sd-error-light)!important}.text-error-dark{color:var(--sd-error-dark)!important}.bg-error-dark{background:var(--sd-error-dark)!important}.border-error-dark{border-color:var(--sd-error-dark)!important}.text-error-contrast{color:var(--sd-error-contrast)!important}.bg-error-contrast{background:var(--sd-error-contrast)!important}.border-error-contrast{border-color:var(--sd-error-contrast)!important}.text-surface{color:var(--sd-surface)!important}.bg-surface{background:var(--sd-surface)!important}.border-surface{border-color:var(--sd-surface)!important}.text-surface-muted{color:var(--sd-surface-muted)!important}.bg-surface-muted{background:var(--sd-surface-muted)!important}.border-surface-muted{border-color:var(--sd-surface-muted)!important}.text-text{color:var(--sd-text)!important}.bg-text{background:var(--sd-text)!important}.border-text{border-color:var(--sd-text)!important}.text-text-secondary{color:var(--sd-text-secondary)!important}.bg-text-secondary{background:var(--sd-text-secondary)!important}.border-text-secondary{border-color:var(--sd-text-secondary)!important}.text-text-muted{color:var(--sd-text-muted)!important}.bg-text-muted{background:var(--sd-text-muted)!important}.border-text-muted{border-color:var(--sd-text-muted)!important}.text-border{color:var(--sd-border)!important}.bg-border{background:var(--sd-border)!important}.border-border{border-color:var(--sd-border)!important}.text-border-strong{color:var(--sd-border-strong)!important}.bg-border-strong{background:var(--sd-border-strong)!important}.border-border-strong{border-color:var(--sd-border-strong)!important}.text-disabled-bg{color:var(--sd-disabled-bg)!important}.bg-disabled-bg{background:var(--sd-disabled-bg)!important}.border-disabled-bg{border-color:var(--sd-disabled-bg)!important}.text-disabled-text{color:var(--sd-disabled-text)!important}.bg-disabled-text{background:var(--sd-disabled-text)!important}.border-disabled-text{border-color:var(--sd-disabled-text)!important}.text-white{color:#fff!important}.bg-white{background:#fff!important}.border-white{border-color:#fff!important}.text-black{color:#000!important}.bg-black{background:#000!important}.border-black{border-color:#000!important}.text-secondary{color:var(--sd-text-secondary)!important}.text-muted{color:var(--sd-text-muted)!important}.text-body{color:var(--sd-text)!important}.bg-muted{background:var(--sd-surface-muted)!important}.c-anchor-list{height:100%;display:flex;flex-direction:column}.c-anchor-list .c-anchor-list-item{border-left:2px solid var(--sd-secondary-light);color:var(--sd-text);padding:.5rem 1.5rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;min-width:0;overflow:hidden}.c-anchor-list .c-anchor-list-item .c-anchor-list-item-icon{flex:0 0 auto}.c-anchor-list .c-anchor-list-item .c-anchor-list-item-text{flex:1 1 0;min-width:0;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.c-anchor-list .c-anchor-list-item .c-anchor-list-item-text.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-anchor-list .c-anchor-list-item.active{border-left:2px solid var(--anchor-active-color, var(--sd-primary));color:var(--anchor-active-color, var(--sd-primary));font-weight:700}.c-anchor-list .c-anchor-list-item.active .c-anchor-list-item-icon{color:var(--anchor-active-color, var(--sd-primary))}.c-anchor-list .c-anchor-list-item:not(.active){border-left:2px solid var(--sd-secondary-light);font-weight:400}\n"] }]
67
77
  }], ctorParameters: () => [], propDecorators: { sections: [{ type: i0.Input, args: [{ isSignal: true, alias: "sections", required: true }] }], activeSectionId: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeSectionId", required: false }] }], ellipsis: [{ type: i0.Input, args: [{ isSignal: true, alias: "ellipsis", required: false }] }], sidebarWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "sidebarWidth", required: false }] }], parentAutoId: [{ type: i0.Input, args: [{ isSignal: true, alias: "parentAutoId", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], clickSection: [{ type: i0.Output, args: ["clickSection"] }] } });
68
78
 
69
79
  class SdAnchor {
70
- wrapper = viewChild.required('wrapper');
71
- sections = contentChildren(SdAnchorItem, ...(ngDevMode ? [{ debugName: "sections" }] : /* istanbul ignore next */ []));
80
+ wrapper = viewChild.required('wrapper', /* @ts-ignore */
81
+ ...(ngDevMode ? [{ debugName: "wrapper" }] : /* istanbul ignore next */ []));
82
+ sections = contentChildren(SdAnchorItem, /* @ts-ignore */
83
+ ...(ngDevMode ? [{ debugName: "sections" }] : /* istanbul ignore next */ []));
72
84
  autoIdInput = input(undefined, { ...(ngDevMode ? { debugName: "autoIdInput" } : /* istanbul ignore next */ {}), alias: 'autoId' });
73
- autoId = computed(() => (this.autoIdInput() ? `components-anchor-${this.autoIdInput()}` : undefined), ...(ngDevMode ? [{ debugName: "autoId" }] : /* istanbul ignore next */ []));
74
- sidebarWidth = input('200px', ...(ngDevMode ? [{ debugName: "sidebarWidth" }] : /* istanbul ignore next */ []));
85
+ autoId = computed(() => (this.autoIdInput() ? `components-anchor-${this.autoIdInput()}` : undefined), /* @ts-ignore */
86
+ ...(ngDevMode ? [{ debugName: "autoId" }] : /* istanbul ignore next */ []));
87
+ sidebarWidth = input('200px', /* @ts-ignore */
88
+ ...(ngDevMode ? [{ debugName: "sidebarWidth" }] : /* istanbul ignore next */ []));
75
89
  ellipsis = input(false, { ...(ngDevMode ? { debugName: "ellipsis" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
76
90
  overScroll = input(false, { ...(ngDevMode ? { debugName: "overScroll" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
77
91
  // why: default cũ là `BrowserUtilities.isMobile()` — đọc UA ngay lúc class được KHỞI TẠO
@@ -84,11 +98,14 @@ class SdAnchor {
84
98
  // riêng, vì `hideNav=false` giờ là default nên không còn phân biệt được "không set" và "set false".
85
99
  hideNavOnMobile = input(true, { ...(ngDevMode ? { debugName: "hideNavOnMobile" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
86
100
  // Màu highlight active nav (text + icon + vertical bar). Default 'primary'.
87
- color = input('primary', ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
101
+ color = input('primary', /* @ts-ignore */
102
+ ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
88
103
  #viewport = inject(SdViewportService);
89
104
  // Trạng thái ẩn/hiện thực tế của nav: ép ẩn thủ công HOẶC đang ở breakpoint mobile.
90
- navHidden = computed(() => this.hideNav() || (this.hideNavOnMobile() && this.#viewport.isMobile()), ...(ngDevMode ? [{ debugName: "navHidden" }] : /* istanbul ignore next */ []));
91
- activeSectionId = signal('', ...(ngDevMode ? [{ debugName: "activeSectionId" }] : /* istanbul ignore next */ []));
105
+ navHidden = computed(() => this.hideNav() || (this.hideNavOnMobile() && this.#viewport.isMobile()), /* @ts-ignore */
106
+ ...(ngDevMode ? [{ debugName: "navHidden" }] : /* istanbul ignore next */ []));
107
+ activeSectionId = signal('', /* @ts-ignore */
108
+ ...(ngDevMode ? [{ debugName: "activeSectionId" }] : /* istanbul ignore next */ []));
92
109
  #initialized = false;
93
110
  #isClickScrolling = false;
94
111
  #clickScrollSubscription = null;
@@ -200,10 +217,10 @@ class SdAnchor {
200
217
  this.#cleanScrollSectionByClickObserver();
201
218
  this.#cleanIntersectionObserver();
202
219
  }
203
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SdAnchor, deps: [], target: i0.ɵɵFactoryTarget.Component });
204
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: SdAnchor, isStandalone: true, selector: "sd-anchor", inputs: { autoIdInput: { classPropertyName: "autoIdInput", publicName: "autoId", isSignal: true, isRequired: false, transformFunction: null }, sidebarWidth: { classPropertyName: "sidebarWidth", publicName: "sidebarWidth", isSignal: true, isRequired: false, transformFunction: null }, ellipsis: { classPropertyName: "ellipsis", publicName: "ellipsis", isSignal: true, isRequired: false, transformFunction: null }, overScroll: { classPropertyName: "overScroll", publicName: "overScroll", isSignal: true, isRequired: false, transformFunction: null }, hideNav: { classPropertyName: "hideNav", publicName: "hideNav", isSignal: true, isRequired: false, transformFunction: null }, hideNavOnMobile: { classPropertyName: "hideNavOnMobile", publicName: "hideNavOnMobile", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "sections", predicate: SdAnchorItem, isSignal: true }], viewQueries: [{ propertyName: "wrapper", first: true, predicate: ["wrapper"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"c-anchor-vertical\" [ngClass]=\"{ 'c-stop-scroll-propagation': !overScroll() }\" #wrapper>\n <div class=\"c-anchor-content\">\n <ng-content></ng-content>\n </div>\n\n @if (!navHidden()) {\n <div class=\"c-anchor-list\" [style.flex-basis]=\"sidebarWidth()\">\n <anchor-nav\n [sections]=\"sections()\"\n [ellipsis]=\"ellipsis()\"\n [sidebarWidth]=\"sidebarWidth()\"\n [activeSectionId]=\"activeSectionId()\"\n [parentAutoId]=\"autoId()\"\n [color]=\"color()\"\n (clickSection)=\"scrollSectionByClick($event)\">\n </anchor-nav>\n </div>\n }\n</div>\n", styles: ["@charset \"UTF-8\";.c-anchor-vertical{position:relative;display:flex;height:100%;width:100%;gap:16px;overflow-y:auto}.c-anchor-vertical.c-stop-scroll-propagation{overscroll-behavior:contain}.c-anchor-vertical .c-anchor-content{flex:1 1 auto;min-width:0}.c-anchor-vertical .c-anchor-list{flex:0 0 auto;position:sticky;top:0;right:6px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: AnchorNav, selector: "anchor-nav", inputs: ["sections", "activeSectionId", "ellipsis", "sidebarWidth", "parentAutoId", "color"], outputs: ["clickSection"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
220
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SdAnchor, deps: [], target: i0.ɵɵFactoryTarget.Component });
221
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: SdAnchor, isStandalone: true, selector: "sd-anchor", inputs: { autoIdInput: { classPropertyName: "autoIdInput", publicName: "autoId", isSignal: true, isRequired: false, transformFunction: null }, sidebarWidth: { classPropertyName: "sidebarWidth", publicName: "sidebarWidth", isSignal: true, isRequired: false, transformFunction: null }, ellipsis: { classPropertyName: "ellipsis", publicName: "ellipsis", isSignal: true, isRequired: false, transformFunction: null }, overScroll: { classPropertyName: "overScroll", publicName: "overScroll", isSignal: true, isRequired: false, transformFunction: null }, hideNav: { classPropertyName: "hideNav", publicName: "hideNav", isSignal: true, isRequired: false, transformFunction: null }, hideNavOnMobile: { classPropertyName: "hideNavOnMobile", publicName: "hideNavOnMobile", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "sections", predicate: SdAnchorItem, isSignal: true }], viewQueries: [{ propertyName: "wrapper", first: true, predicate: ["wrapper"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"c-anchor-vertical\" [ngClass]=\"{ 'c-stop-scroll-propagation': !overScroll() }\" #wrapper>\n <div class=\"c-anchor-content\">\n <ng-content></ng-content>\n </div>\n\n @if (!navHidden()) {\n <div class=\"c-anchor-list\" [style.flex-basis]=\"sidebarWidth()\">\n <anchor-nav\n [sections]=\"sections()\"\n [ellipsis]=\"ellipsis()\"\n [sidebarWidth]=\"sidebarWidth()\"\n [activeSectionId]=\"activeSectionId()\"\n [parentAutoId]=\"autoId()\"\n [color]=\"color()\"\n (clickSection)=\"scrollSectionByClick($event)\">\n </anchor-nav>\n </div>\n }\n</div>\n", styles: ["@charset \"UTF-8\";.c-anchor-vertical{position:relative;display:flex;height:100%;width:100%;gap:16px;overflow-y:auto}.c-anchor-vertical.c-stop-scroll-propagation{overscroll-behavior:contain}.c-anchor-vertical .c-anchor-content{flex:1 1 auto;min-width:0}.c-anchor-vertical .c-anchor-list{flex:0 0 auto;position:sticky;top:0;right:6px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: AnchorNav, selector: "anchor-nav", inputs: ["sections", "activeSectionId", "ellipsis", "sidebarWidth", "parentAutoId", "color"], outputs: ["clickSection"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
205
222
  }
206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SdAnchor, decorators: [{
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SdAnchor, decorators: [{
207
224
  type: Component,
208
225
  args: [{ selector: 'sd-anchor', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, AnchorNav], standalone: true, template: "<div class=\"c-anchor-vertical\" [ngClass]=\"{ 'c-stop-scroll-propagation': !overScroll() }\" #wrapper>\n <div class=\"c-anchor-content\">\n <ng-content></ng-content>\n </div>\n\n @if (!navHidden()) {\n <div class=\"c-anchor-list\" [style.flex-basis]=\"sidebarWidth()\">\n <anchor-nav\n [sections]=\"sections()\"\n [ellipsis]=\"ellipsis()\"\n [sidebarWidth]=\"sidebarWidth()\"\n [activeSectionId]=\"activeSectionId()\"\n [parentAutoId]=\"autoId()\"\n [color]=\"color()\"\n (clickSection)=\"scrollSectionByClick($event)\">\n </anchor-nav>\n </div>\n }\n</div>\n", styles: ["@charset \"UTF-8\";.c-anchor-vertical{position:relative;display:flex;height:100%;width:100%;gap:16px;overflow-y:auto}.c-anchor-vertical.c-stop-scroll-propagation{overscroll-behavior:contain}.c-anchor-vertical .c-anchor-content{flex:1 1 auto;min-width:0}.c-anchor-vertical .c-anchor-list{flex:0 0 auto;position:sticky;top:0;right:6px}\n"] }]
209
226
  }], ctorParameters: () => [], propDecorators: { wrapper: [{ type: i0.ViewChild, args: ['wrapper', { isSignal: true }] }], sections: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => SdAnchorItem), { isSignal: true }] }], autoIdInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoId", required: false }] }], sidebarWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "sidebarWidth", required: false }] }], ellipsis: [{ type: i0.Input, args: [{ isSignal: true, alias: "ellipsis", required: false }] }], overScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "overScroll", required: false }] }], hideNav: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideNav", required: false }] }], hideNavOnMobile: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideNavOnMobile", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });