@rxap/ngx-material-localize 22.0.0-dev.0 → 22.0.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/compodoc/architecture.html +222 -0
  3. package/compodoc/changelog.html +61 -5
  4. package/compodoc/components/LanguageSelectorComponent.html +176 -75
  5. package/compodoc/components/LanguageSelectorMenuItemComponent.html +104 -23
  6. package/compodoc/dependencies.html +104 -25
  7. package/compodoc/index.html +46 -5
  8. package/compodoc/injectables/I18nMatDatepickerIntl.html +92 -23
  9. package/compodoc/injectables/I18nMatPaginatorIntl.html +77 -17
  10. package/compodoc/injectables/I18nMatStepperIntl.html +68 -17
  11. package/compodoc/js/architecture-graph.js +288 -0
  12. package/compodoc/js/libs/bootstrap-native.js +4 -2
  13. package/compodoc/js/libs/jszip.min.js +13 -0
  14. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
  15. package/compodoc/js/libs/tablesort.min.js +3 -3
  16. package/compodoc/js/libs/tablesort.number.min.js +3 -3
  17. package/compodoc/js/libs/vis-network.min.js +78 -0
  18. package/compodoc/js/menu-wc.js +25 -12
  19. package/compodoc/js/menu.js +10 -11
  20. package/compodoc/js/routes/routes_index.js +1 -0
  21. package/compodoc/js/routes.js +142 -34
  22. package/compodoc/js/search/search-lunr.js +6 -8
  23. package/compodoc/js/search/search.js +118 -66
  24. package/compodoc/js/search/search_index.js +2 -2
  25. package/compodoc/js/tabs.js +98 -15
  26. package/compodoc/js/tree.js +44 -7
  27. package/compodoc/license.html +48 -6
  28. package/compodoc/llms.txt +110 -0
  29. package/compodoc/miscellaneous/functions.html +60 -14
  30. package/compodoc/miscellaneous/variables.html +60 -13
  31. package/compodoc/modules.html +44 -3
  32. package/compodoc/overview.html +54 -3
  33. package/compodoc/properties.html +45 -4
  34. package/compodoc/routes.html +227 -0
  35. package/compodoc/styles/compodoc.css +365 -44
  36. package/compodoc/styles/dark.css +16 -0
  37. package/compodoc/template-playground/default-templates.json +192 -0
  38. package/compodoc/template-playground/hbs-render.service.ts +217 -0
  39. package/compodoc/template-playground/main.ts +9 -0
  40. package/compodoc/template-playground/template-editor.service.ts +173 -0
  41. package/compodoc/template-playground/template-playground.component.ts +614 -0
  42. package/compodoc/template-playground/template-playground.module.ts +29 -0
  43. package/compodoc/template-playground/zip-export.service.ts +86 -0
  44. package/compodoc/template-playground-app/app.js +1389 -0
  45. package/compodoc/template-playground-app/index.html +462 -0
  46. package/docs/documentation.json +254 -164
  47. package/docs/html/assets/highlight.css +1 -1
  48. package/docs/html/assets/icons.js +1 -1
  49. package/docs/html/assets/icons.svg +1 -1
  50. package/docs/html/assets/main.js +5 -5
  51. package/docs/html/assets/search.js +1 -1
  52. package/docs/html/assets/style.css +265 -228
  53. package/docs/html/classes/I18nMatDatepickerIntl.html +261 -40
  54. package/docs/html/classes/I18nMatPaginatorIntl.html +131 -16
  55. package/docs/html/classes/I18nMatStepperIntl.html +104 -10
  56. package/docs/html/classes/LanguageSelectorComponent.html +110 -7
  57. package/docs/html/classes/LanguageSelectorMenuItemComponent.html +56 -2
  58. package/docs/html/functions/ProvideI18nMatDatepickerIntl.html +38 -1
  59. package/docs/html/functions/ProvideI18nMatIntl.html +38 -1
  60. package/docs/html/functions/ProvideI18nMatPaginatorIntl.html +38 -1
  61. package/docs/html/functions/ProvideI18nMatStepperIntl.html +38 -1
  62. package/docs/html/hierarchy.html +29 -0
  63. package/docs/html/index.html +40 -4
  64. package/docs/html/modules.html +44 -1
  65. package/docs/html/variables/I18N_MAT_DATEPICKER_INTL_PROVIDER.html +33 -1
  66. package/docs/html/variables/I18N_MAT_PAGINATOR_INTL_PROVIDER.html +33 -1
  67. package/docs/html/variables/I18N_MAT_STEPPER_INTL_PROVIDER.html +33 -1
  68. package/docs/markdown/README.md +1 -1
  69. package/docs/markdown/classes/I18nMatDatepickerIntl.md +30 -24
  70. package/docs/markdown/classes/I18nMatPaginatorIntl.md +13 -13
  71. package/docs/markdown/classes/I18nMatStepperIntl.md +9 -9
  72. package/docs/markdown/classes/LanguageSelectorComponent.md +10 -10
  73. package/docs/markdown/classes/LanguageSelectorMenuItemComponent.md +5 -5
  74. package/docs/markdown/functions/ProvideI18nMatDatepickerIntl.md +2 -2
  75. package/docs/markdown/functions/ProvideI18nMatIntl.md +2 -2
  76. package/docs/markdown/functions/ProvideI18nMatPaginatorIntl.md +2 -2
  77. package/docs/markdown/functions/ProvideI18nMatStepperIntl.md +2 -2
  78. package/docs/markdown/globals.md +2 -2
  79. package/docs/markdown/variables/I18N_MAT_DATEPICKER_INTL_PROVIDER.md +2 -2
  80. package/docs/markdown/variables/I18N_MAT_PAGINATOR_INTL_PROVIDER.md +2 -2
  81. package/docs/markdown/variables/I18N_MAT_STEPPER_INTL_PROVIDER.md +2 -2
  82. package/docs/wiki/Class.I18nMatDatepickerIntl.md +29 -23
  83. package/docs/wiki/Class.I18nMatPaginatorIntl.md +12 -12
  84. package/docs/wiki/Class.I18nMatStepperIntl.md +8 -8
  85. package/docs/wiki/Class.LanguageSelectorComponent.md +9 -9
  86. package/docs/wiki/Class.LanguageSelectorMenuItemComponent.md +4 -4
  87. package/docs/wiki/Function.ProvideI18nMatDatepickerIntl.md +1 -1
  88. package/docs/wiki/Function.ProvideI18nMatIntl.md +1 -1
  89. package/docs/wiki/Function.ProvideI18nMatPaginatorIntl.md +1 -1
  90. package/docs/wiki/Function.ProvideI18nMatStepperIntl.md +1 -1
  91. package/docs/wiki/Variable.I18N_MAT_DATEPICKER_INTL_PROVIDER.md +1 -1
  92. package/docs/wiki/Variable.I18N_MAT_PAGINATOR_INTL_PROVIDER.md +1 -1
  93. package/docs/wiki/Variable.I18N_MAT_STEPPER_INTL_PROVIDER.md +1 -1
  94. package/docs/wiki/globals.md +1 -1
  95. package/fesm2022/rxap-ngx-material-localize.mjs +2 -2
  96. package/fesm2022/rxap-ngx-material-localize.mjs.map +1 -1
  97. package/package.json +26 -26
@@ -1,21 +1,104 @@
1
1
  document.addEventListener('DOMContentLoaded', function() {
2
- var tabs = document.getElementsByClassName('nav-tabs'),
3
- updateAddress = function(e) {
4
- if(history.pushState && e.target.dataset.link) {
5
- history.pushState(null, null, '#' + e.target.dataset.link);
2
+ var tabContainers = document.getElementsByClassName('nav-tabs');
3
+ var tabLinks = [];
4
+ var tabAliasMap = {
5
+ 'template': 'templateData',
6
+ 'dom-tree': 'tree'
7
+ };
8
+
9
+ function updateAddress(e) {
10
+ if (history.pushState && e.target.dataset.link) {
11
+ history.pushState(null, null, '#' + e.target.dataset.link);
12
+ }
13
+ }
14
+
15
+ function findTabLinkByDataLink(dataLink) {
16
+ for (var i = 0; i < tabLinks.length; i++) {
17
+ if (tabLinks[i].dataset.link === dataLink) {
18
+ return tabLinks[i];
19
+ }
20
+ }
21
+ return null;
22
+ }
23
+
24
+ function getClosestTabPane(element) {
25
+ if (!element) {
26
+ return null;
27
+ }
28
+ if (element.closest) {
29
+ return element.closest('.tab-pane');
30
+ }
31
+ var node = element;
32
+ while (node) {
33
+ if (node.classList && node.classList.contains('tab-pane')) {
34
+ return node;
6
35
  }
7
- };
8
- if (tabs.length > 0) {
9
- tabs = tabs[0].querySelectorAll('li');
10
- for (var i = 0; i < tabs.length; i++) {
11
- tabs[i].addEventListener('click', updateAddress);
12
- var linkTag = tabs[i].querySelector('a');
13
- if (location.hash !== '') {
14
- var currentHash = location.hash.substr(1);
15
- if (currentHash === linkTag.dataset.link) {
16
- linkTag.click();
17
- }
36
+ node = node.parentElement;
37
+ }
38
+ return null;
39
+ }
40
+
41
+ function findAnchorTarget(hashValue) {
42
+ if (!hashValue) {
43
+ return null;
44
+ }
45
+
46
+ var targetById = document.getElementById(hashValue);
47
+ if (targetById) {
48
+ return targetById;
49
+ }
50
+
51
+ var targetsByName = document.getElementsByName(hashValue);
52
+ if (targetsByName && targetsByName.length > 0) {
53
+ return targetsByName[0];
54
+ }
55
+
56
+ return null;
57
+ }
58
+
59
+ function activateTabFromHash() {
60
+ if (location.hash === '') {
61
+ return;
62
+ }
63
+
64
+ var currentHash = decodeURIComponent(location.hash.substr(1));
65
+ if (!currentHash) {
66
+ return;
67
+ }
68
+
69
+ var resolvedHash = tabAliasMap[currentHash] || currentHash;
70
+ var directMatch = findTabLinkByDataLink(resolvedHash);
71
+ if (directMatch) {
72
+ directMatch.click();
73
+ return;
74
+ }
75
+
76
+ if (currentHash.indexOf('source.') === 0) {
77
+ var sourceTabLink = findTabLinkByDataLink('source');
78
+ if (sourceTabLink) {
79
+ sourceTabLink.click();
80
+ return;
18
81
  }
19
82
  }
83
+
84
+ var targetAnchor = findAnchorTarget(currentHash);
85
+ var tabPane = getClosestTabPane(targetAnchor);
86
+ if (!tabPane || !tabPane.id) {
87
+ return;
88
+ }
89
+
90
+ var tabLink = findTabLinkByDataLink(tabPane.id);
91
+ if (tabLink) {
92
+ tabLink.click();
93
+ }
94
+ }
95
+
96
+ if (tabContainers.length > 0) {
97
+ tabLinks = tabContainers[0].querySelectorAll('a[data-link]');
98
+ for (var i = 0; i < tabLinks.length; i++) {
99
+ tabLinks[i].addEventListener('click', updateAddress);
100
+ }
101
+ activateTabFromHash();
102
+ window.addEventListener('hashchange', activateTabFromHash, false);
20
103
  }
21
104
  });
@@ -58,10 +58,18 @@ document.addEventListener('DOMContentLoaded', function() {
58
58
  type
59
59
  } of it) {
60
60
  if (type === 'NonIterableObject' && typeof key !== 'undefined' && value.type === 'tag') {
61
+ var parentId = parentNode && parentNode._parent ? parentNode._parent._id : null,
62
+ parentLevel = parentNode && parentNode._parent && typeof parentNode._parent._level === 'number'
63
+ ? parentNode._parent._level
64
+ : 0,
65
+ nodeLevel = parentLevel + 1;
66
+ value._level = nodeLevel;
67
+
61
68
  var newNode = {
62
69
  id: value._id,
63
70
  label: value.name,
64
- type: value.type
71
+ type: value.type,
72
+ level: nodeLevel
65
73
  };
66
74
  for(var i = 0; i < COMPONENTS.length; i++) {
67
75
  if (COMPONENTS[i].selector === value.name) {
@@ -88,17 +96,29 @@ document.addEventListener('DOMContentLoaded', function() {
88
96
  }
89
97
  }
90
98
  newNodes.push(newNode);
91
- newEdges.push({
92
- from: parentNode._parent._id,
93
- to: value._id,
94
- arrows: 'to'
95
- });
99
+ if (parentId !== null && typeof parentId !== 'undefined') {
100
+ newEdges.push({
101
+ from: parentId,
102
+ to: value._id
103
+ });
104
+ }
96
105
  }
97
106
  }
98
107
 
99
108
  newNodes.shift();
100
109
 
110
+ var stripHtml = function(value) {
111
+ return String(value || '').replace(/<[^>]*>/g, '');
112
+ },
113
+ longestLabelLength = newNodes.reduce(function(max, node) {
114
+ var labelLength = stripHtml(node.label).length;
115
+ return Math.max(max, labelLength);
116
+ }, 0),
117
+ uniformNodeWidth = Math.max(40, Math.ceil(longestLabelLength * 8 + 28));
118
+
101
119
  var container = document.getElementById('tree-container'),
120
+ isDarkMode = document.body && document.body.classList.contains('dark'),
121
+ treeFontColor = isDarkMode ? '#f0f0f0' : '#2d2d2d',
102
122
  data = {
103
123
  nodes: newNodes,
104
124
  edges: newEdges
@@ -107,12 +127,29 @@ document.addEventListener('DOMContentLoaded', function() {
107
127
  layout: {
108
128
  hierarchical: {
109
129
  sortMethod: 'directed',
130
+ shakeTowards: 'roots',
131
+ levelSeparation: 130,
110
132
  enabled: true
111
133
  }
112
134
  },
135
+ edges: {
136
+ smooth: {
137
+ enabled: true,
138
+ type: 'cubicBezier',
139
+ forceDirection: 'vertical',
140
+ roundness: 0.45
141
+ }
142
+ },
113
143
  nodes: {
114
144
  shape: 'ellipse',
115
- fixed: true
145
+ fixed: true,
146
+ font: {
147
+ color: treeFontColor
148
+ },
149
+ widthConstraint: {
150
+ minimum: uniformNodeWidth,
151
+ maximum: uniformNodeWidth
152
+ }
116
153
  }
117
154
  },
118
155
 
@@ -61,6 +61,20 @@
61
61
  }
62
62
  toggleDarkMode(darkModeState);
63
63
  </script>
64
+ <script>
65
+ // --- Iframe navigation tracking for Template Playground ---
66
+ function sendCurrentUrlToParent() {
67
+ if (window.parent && window.parent !== window) {
68
+ window.parent.postMessage({
69
+ type: 'compodoc-iframe-navigate',
70
+ url: window.location.pathname + window.location.hash
71
+ }, '*');
72
+ }
73
+ }
74
+ window.addEventListener('hashchange', sendCurrentUrlToParent, false);
75
+ window.addEventListener('popstate', sendCurrentUrlToParent, false);
76
+ window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
77
+ </script>
64
78
 
65
79
  <div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
66
80
  <div class="d-flex">
@@ -70,7 +84,14 @@
70
84
  </div>
71
85
 
72
86
  <div class="xs-menu menu" id="mobile-menu">
73
- <div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
87
+ <div id="book-search-input" role="search">
88
+ <input type="text" placeholder="Type to search">
89
+ <button type="button"
90
+ class="search-input-clear"
91
+ aria-label="Clear search"
92
+ data-search-input-clear>&times;</button>
93
+ </div>
94
+ <compodoc-menu></compodoc-menu>
74
95
  </div>
75
96
 
76
97
  <div class="container-fluid main">
@@ -79,9 +100,13 @@
79
100
  <compodoc-menu mode="normal"></compodoc-menu>
80
101
  </div>
81
102
  <!-- START CONTENT -->
82
- <div class="content getting-started">
103
+ <div class="content license">
83
104
  <div class="content-data">
84
105
 
106
+
107
+
108
+
109
+
85
110
  <b>Example :</b><div><pre class="line-numbers"><code class="language-none"> GNU GENERAL PUBLIC LICENSE
86
111
  Version 3, 29 June 2007</code></pre></div><p> Copyright (C) 2007 Free Software Foundation, Inc. <a href="https://fsf.org/">https://fsf.org/</a>
87
112
  Everyone is permitted to copy and distribute verbatim copies
@@ -636,7 +661,8 @@ reviewing courts shall apply local law that most closely approximates
636
661
  an absolute waiver of all civil liability in connection with the
637
662
  Program, unless a warranty or assumption of liability accompanies a
638
663
  copy of the Program in return for a fee.</p>
639
- <b>Example :</b><div><pre class="line-numbers"><code class="language-none"> END OF TERMS AND CONDITIONS</code></pre></div>
664
+ <b>Example :</b><div><pre class="line-numbers"><code class="language-none"> END OF TERMS AND CONDITIONS
665
+ </code></pre></div>
640
666
 
641
667
 
642
668
 
@@ -682,13 +708,31 @@ copy of the Program in return for a fee.</p>
682
708
 
683
709
  <script>
684
710
  var COMPODOC_CURRENT_PAGE_DEPTH = 0;
685
- var COMPODOC_CURRENT_PAGE_CONTEXT = 'getting-started';
711
+ var COMPODOC_CURRENT_PAGE_CONTEXT = 'license';
686
712
  var COMPODOC_CURRENT_PAGE_URL = 'license.html';
687
713
  var MAX_SEARCH_RESULTS = 15;
688
714
  </script>
689
715
 
690
716
  <script>
691
717
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
718
+ var updateDarkModeSwitchOffset = function () {
719
+ var content = document.querySelector('.content');
720
+ var scrollbarWidth = 0;
721
+
722
+ if (content) {
723
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
724
+ }
725
+
726
+ document.documentElement.style.setProperty(
727
+ '--content-scrollbar-width',
728
+ scrollbarWidth + 'px'
729
+ );
730
+ };
731
+
732
+ updateDarkModeSwitchOffset();
733
+ requestAnimationFrame(updateDarkModeSwitchOffset);
734
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
735
+
692
736
  checkToggle(darkModeState);
693
737
  if ($darkModeToggleSwitchers.length > 0) {
694
738
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -704,14 +748,12 @@ copy of the Program in return for a fee.</p>
704
748
  <script src="./js/libs/lit-html.js"></script>
705
749
 
706
750
  <script src="./js/menu-wc.js" defer></script>
707
- <script nomodule src="./js/menu-wc_es5.js" defer></script>
708
751
 
709
752
  <script src="./js/libs/bootstrap-native.js"></script>
710
753
 
711
754
  <script src="./js/libs/es6-shim.min.js"></script>
712
755
  <script src="./js/libs/EventDispatcher.js"></script>
713
756
  <script src="./js/libs/promise.min.js"></script>
714
- <script src="./js/libs/zepto.min.js"></script>
715
757
 
716
758
  <script src="./js/compodoc.js"></script>
717
759
 
@@ -0,0 +1,110 @@
1
+ # angular-material-localize
2
+
3
+ > Provides components and services to simplify internationalization (i18n) in Angular Material applications. It offers components for language selection and utilities to localize Material components like Datepicker, Paginator and Stepper. This package aims to streamline the process of adapting your Angular Material UI to different languages.
4
+
5
+ > Generated by compodoc 2.0.0 at 2026-11-23T22:34:18.239Z, llm-md export.
6
+
7
+ ## Components
8
+
9
+ ### LanguageSelectorComponent
10
+
11
+ File: `src/lib/language-selector/language-selector.component.ts`
12
+ Selector: `rxap-language-selector`
13
+ Change detection: `ChangeDetectionStrategy.OnPush`
14
+
15
+ Inputs:
16
+ - `autoReload: boolean = true`
17
+
18
+ Properties:
19
+ - `hasLanguages: unknown = computed(() => this.language.hasLanguages())`
20
+ - `languages: unknown = computed(() => this.language.languages())`
21
+ - `selectedLanguage: unknown = computed(() => this.language.selectedLanguage())`
22
+
23
+ Methods:
24
+ - `selectLanguage(language: string): any`
25
+
26
+ ### LanguageSelectorMenuItemComponent
27
+
28
+ File: `src/lib/language-selector-menu-item/language-selector-menu-item.component.ts`
29
+ Selector: `rxap-language-selector-menu-item`
30
+ Change detection: `ChangeDetectionStrategy.OnPush`
31
+
32
+ ## Services / Injectables
33
+
34
+ ### I18nMatDatepickerIntl
35
+
36
+ File: `src/lib/datepicker.ts`
37
+
38
+ Properties:
39
+ - `` calendarLabel: string = $localize`:@@calendarLabelMatDatepicker:Calendar` `` — A label for the calendar popup (used by screen readers).
40
+ - `changes: Subject<void> = new Subject<void>()` — Stream that emits whenever the labels here are changed. Use this to notify components if the labels have changed after initialization.
41
+ - `` closeCalendarLabel: string = $localize`:@@closeCalendarLabelMatDatepicker:Close calendar` `` — Label for the button used to close the calendar popup.
42
+ - `` comparisonDateLabel: string = $localize`:@@comparisonDateLabelMatDatepicker:Comparison date` ``
43
+ - `` endDateLabel: string = $localize`:@@endDateLabelMatDatepicker:End date` `` (deprecated: Provide your own internationalization string.) — A label for the last date of a range of dates (used by screen readers). 17.0.0
44
+ - `` nextMonthLabel: string = $localize`:@@nextMonthLabelMatDatepicker:Next month` `` — A label for the next month button (used by screen readers).
45
+ - `` nextMultiYearLabel: string = $localize`:@@nextMultiYearLabelMatDatepicker:Next 24 years` `` — A label for the next multi-year button (used by screen readers).
46
+ - `` nextYearLabel: string = $localize`:@@nextYearLabelMatDatepicker:Next year` `` — A label for the next year button (used by screen readers).
47
+ - `` openCalendarLabel: string = $localize`:@@openCalendarLabelMatDatepicker:Open calendar` `` — A label for the button used to open the calendar popup (used by screen readers).
48
+ - `` prevMonthLabel: string = $localize`:@@prevMonthLabelMatDatepicker:Previous month` `` — A label for the previous month button (used by screen readers).
49
+ - `` prevMultiYearLabel: string = $localize`:@@prevMultiYearLabelMatDatepicker:Previous 24 years` `` — A label for the previous multi-year button (used by screen readers).
50
+ - `` prevYearLabel: string = $localize`:@@prevYearLabelMatDatepicker:Previous year` `` — A label for the previous year button (used by screen readers).
51
+ - `` startDateLabel: string = $localize`:@@startDateLabelMatDatepicker:Start date` `` (deprecated: Provide your own internationalization string.) — A label for the first date of a range of dates (used by screen readers). 17.0.0
52
+ - `` switchToMonthViewLabel: string = $localize`:@@switchToMonthViewLabelMatDatepicker:Choose date` `` — A label for the 'switch to month view' button (used by screen readers).
53
+ - `` switchToMultiYearViewLabel: string = $localize`:@@switchToMultiYearViewLabelMatDatepicker:Choose month and year` `` — A label for the 'switch to year view' button (used by screen readers).
54
+
55
+ Methods:
56
+ - `formatYearRange(start: string, end: string): string` — Formats a range of years (used for visuals).
57
+ - `formatYearRangeLabel(start: string, end: string): string` — Formats a label for a range of years (used by screen readers).
58
+
59
+ ### I18nMatPaginatorIntl
60
+
61
+ File: `src/lib/paginator.ts`
62
+
63
+ Properties:
64
+ - `changes: unknown = new Subject<void>()`
65
+ - `` firstPageLabel: string = $localize`:@@firstPageLabelMatPaginator:First page` `` — A label for the button that moves to the first page.
66
+ - `getRangeLabel: function = () => {...}` — A label for the range of items within the current page and the length of the whole list.
67
+ - `` itemsPerPageLabel: string = $localize`:@@itemsPerPageLabelMatPaginator:Items per page` `` — A label for the page size selector.
68
+ - `` lastPageLabel: string = $localize`:@@lastPageLabelMatPaginator:Last page` `` — A label for the button that moves to the last page.
69
+ - `` nextPageLabel: string = $localize`:@@nextPageLabelMatPaginator:Next page` `` — A label for the button that increments the current page.
70
+ - `` previousPageLabel: string = $localize`:@@previousPageLabelMatPaginator:Previous page` `` — A label for the button that decrements the current page.
71
+
72
+ ### I18nMatStepperIntl
73
+
74
+ File: `src/lib/stepper.ts`
75
+
76
+ Properties:
77
+ - `changes: Subject<void> = new Subject<void>()` — Stream that emits whenever the labels here are changed. Use this to notify components if the labels have changed after initialization.
78
+ - `` completedLabel: string = $localize`:@@completedLabelMatStepper:Completed` `` — Label that is used to indicate step as completed to screen readers.
79
+ - `` editableLabel: string = $localize`:@@editableLabelMatStepper:Editable` `` — Label that is used to indicate step as editable to screen readers.
80
+ - `` optionalLabel: string = $localize`:@@optionalLabelMatStepper:Optional` `` — Label that is rendered below optional steps.
81
+
82
+ ## Public functions
83
+
84
+ - `initGenerator(tree: Tree, options: InitGeneratorSchema)`
85
+ Defined in `src/generators/init/generator.ts`
86
+ - `ProvideI18nMatDatepickerIntl()`
87
+ Defined in `src/lib/datepicker.ts`
88
+ - `ProvideI18nMatIntl()`
89
+ Defined in `src/lib/provide.ts`
90
+ - `ProvideI18nMatPaginatorIntl()`
91
+ Defined in `src/lib/paginator.ts`
92
+ - `ProvideI18nMatStepperIntl()`
93
+ Defined in `src/lib/stepper.ts`
94
+
95
+ ## Public variables
96
+
97
+ - `$localize: any`
98
+ Defined in `src/lib/datepicker.ts`
99
+ - `$localize: any`
100
+ Defined in `src/lib/paginator.ts`
101
+ - `$localize: any`
102
+ Defined in `src/lib/stepper.ts`
103
+ - `I18N_MAT_DATEPICKER_INTL_PROVIDER: StaticProvider = { provide: MatDatepickerIntl, useClass: I18nMatDatepickerIntl, }`
104
+ Defined in `src/lib/datepicker.ts`
105
+ - `I18N_MAT_PAGINATOR_INTL_PROVIDER: StaticProvider = { provide: MatPaginatorIntl, useClass: I18nMatPaginatorIntl, }`
106
+ Defined in `src/lib/paginator.ts`
107
+ - `I18N_MAT_STEPPER_INTL_PROVIDER: StaticProvider = { provide: MatStepperIntl, useClass: I18nMatStepperIntl, }`
108
+ Defined in `src/lib/stepper.ts`
109
+ - `schematic: unknown = convertNxGenerator(generator)`
110
+ Defined in `src/generators/init/index.ts`
@@ -61,6 +61,20 @@
61
61
  }
62
62
  toggleDarkMode(darkModeState);
63
63
  </script>
64
+ <script>
65
+ // --- Iframe navigation tracking for Template Playground ---
66
+ function sendCurrentUrlToParent() {
67
+ if (window.parent && window.parent !== window) {
68
+ window.parent.postMessage({
69
+ type: 'compodoc-iframe-navigate',
70
+ url: window.location.pathname + window.location.hash
71
+ }, '*');
72
+ }
73
+ }
74
+ window.addEventListener('hashchange', sendCurrentUrlToParent, false);
75
+ window.addEventListener('popstate', sendCurrentUrlToParent, false);
76
+ window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
77
+ </script>
64
78
 
65
79
  <div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
66
80
  <div class="d-flex">
@@ -70,7 +84,14 @@
70
84
  </div>
71
85
 
72
86
  <div class="xs-menu menu" id="mobile-menu">
73
- <div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
87
+ <div id="book-search-input" role="search">
88
+ <input type="text" placeholder="Type to search">
89
+ <button type="button"
90
+ class="search-input-clear"
91
+ aria-label="Clear search"
92
+ data-search-input-clear>&times;</button>
93
+ </div>
94
+ <compodoc-menu></compodoc-menu>
74
95
  </div>
75
96
 
76
97
  <div class="container-fluid main">
@@ -97,6 +118,10 @@
97
118
 
98
119
 
99
120
 
121
+
122
+
123
+
124
+
100
125
 
101
126
 
102
127
  <ol class="breadcrumb">
@@ -112,19 +137,19 @@
112
137
  <td class="col-md-4">
113
138
  <ul class="index-list">
114
139
  <li>
115
- <a href="#initGenerator" title="src/generators/init/generator.ts" ><b>initGenerator</b>&nbsp;&nbsp;&nbsp;(src/.../generator.ts)</a>
140
+ <a href="#initGenerator" title="src/generators/init/generator.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>initGenerator</b>&nbsp;&nbsp;&nbsp;(src/.../generator.ts)</span></a>
116
141
  </li>
117
142
  <li>
118
- <a href="#ProvideI18nMatDatepickerIntl" title="src/lib/datepicker.ts" ><b>ProvideI18nMatDatepickerIntl</b>&nbsp;&nbsp;&nbsp;(src/.../datepicker.ts)</a>
143
+ <a href="#ProvideI18nMatDatepickerIntl" title="src/lib/datepicker.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>ProvideI18nMatDatepickerIntl</b>&nbsp;&nbsp;&nbsp;(src/.../datepicker.ts)</span></a>
119
144
  </li>
120
145
  <li>
121
- <a href="#ProvideI18nMatIntl" title="src/lib/provide.ts" ><b>ProvideI18nMatIntl</b>&nbsp;&nbsp;&nbsp;(src/.../provide.ts)</a>
146
+ <a href="#ProvideI18nMatIntl" title="src/lib/provide.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>ProvideI18nMatIntl</b>&nbsp;&nbsp;&nbsp;(src/.../provide.ts)</span></a>
122
147
  </li>
123
148
  <li>
124
- <a href="#ProvideI18nMatPaginatorIntl" title="src/lib/paginator.ts" ><b>ProvideI18nMatPaginatorIntl</b>&nbsp;&nbsp;&nbsp;(src/.../paginator.ts)</a>
149
+ <a href="#ProvideI18nMatPaginatorIntl" title="src/lib/paginator.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>ProvideI18nMatPaginatorIntl</b>&nbsp;&nbsp;&nbsp;(src/.../paginator.ts)</span></a>
125
150
  </li>
126
151
  <li>
127
- <a href="#ProvideI18nMatStepperIntl" title="src/lib/stepper.ts" ><b>ProvideI18nMatStepperIntl</b>&nbsp;&nbsp;&nbsp;(src/.../stepper.ts)</a>
152
+ <a href="#ProvideI18nMatStepperIntl" title="src/lib/stepper.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>ProvideI18nMatStepperIntl</b>&nbsp;&nbsp;&nbsp;(src/.../stepper.ts)</span></a>
128
153
  </li>
129
154
  </ul>
130
155
  </td>
@@ -148,7 +173,7 @@
148
173
  </tr>
149
174
  <tr>
150
175
  <td class="col-md-4">
151
- <code>initGenerator(tree: Tree, options: InitGeneratorSchema)</code>
176
+ <code>initGenerator(tree: <a href="https://angular.dev/api/aria/tree/Tree" target="_blank">Tree</a>, options: InitGeneratorSchema)</code>
152
177
  </td>
153
178
  </tr>
154
179
 
@@ -173,7 +198,7 @@
173
198
  <tr>
174
199
  <td>tree</td>
175
200
  <td>
176
- <code>Tree</code>
201
+ <code><a href="https://angular.dev/api/aria/tree/Tree" target="_blank" >Tree</a></code>
177
202
  </td>
178
203
 
179
204
  <td>
@@ -201,7 +226,8 @@
201
226
  </tr>
202
227
  </tbody>
203
228
  </table>
204
- </section> <h3>src/lib/datepicker.ts</h3>
229
+ </section>
230
+ <h3>src/lib/datepicker.ts</h3>
205
231
  <section data-compodoc="block-methods">
206
232
  <h3></h3> <table class="table table-sm table-bordered">
207
233
  <tbody>
@@ -225,7 +251,8 @@
225
251
 
226
252
  </tbody>
227
253
  </table>
228
- </section> <h3>src/lib/provide.ts</h3>
254
+ </section>
255
+ <h3>src/lib/provide.ts</h3>
229
256
  <section data-compodoc="block-methods">
230
257
  <h3></h3> <table class="table table-sm table-bordered">
231
258
  <tbody>
@@ -249,7 +276,8 @@
249
276
 
250
277
  </tbody>
251
278
  </table>
252
- </section> <h3>src/lib/paginator.ts</h3>
279
+ </section>
280
+ <h3>src/lib/paginator.ts</h3>
253
281
  <section data-compodoc="block-methods">
254
282
  <h3></h3> <table class="table table-sm table-bordered">
255
283
  <tbody>
@@ -273,7 +301,8 @@
273
301
 
274
302
  </tbody>
275
303
  </table>
276
- </section> <h3>src/lib/stepper.ts</h3>
304
+ </section>
305
+ <h3>src/lib/stepper.ts</h3>
277
306
  <section data-compodoc="block-methods">
278
307
  <h3></h3> <table class="table table-sm table-bordered">
279
308
  <tbody>
@@ -300,6 +329,7 @@
300
329
  </section>
301
330
 
302
331
 
332
+
303
333
  </div><div class="search-results">
304
334
  <div class="has-results">
305
335
  <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
@@ -332,6 +362,24 @@
332
362
 
333
363
  <script>
334
364
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
365
+ var updateDarkModeSwitchOffset = function () {
366
+ var content = document.querySelector('.content');
367
+ var scrollbarWidth = 0;
368
+
369
+ if (content) {
370
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
371
+ }
372
+
373
+ document.documentElement.style.setProperty(
374
+ '--content-scrollbar-width',
375
+ scrollbarWidth + 'px'
376
+ );
377
+ };
378
+
379
+ updateDarkModeSwitchOffset();
380
+ requestAnimationFrame(updateDarkModeSwitchOffset);
381
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
382
+
335
383
  checkToggle(darkModeState);
336
384
  if ($darkModeToggleSwitchers.length > 0) {
337
385
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -347,14 +395,12 @@
347
395
  <script src="../js/libs/lit-html.js"></script>
348
396
 
349
397
  <script src="../js/menu-wc.js" defer></script>
350
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
351
398
 
352
399
  <script src="../js/libs/bootstrap-native.js"></script>
353
400
 
354
401
  <script src="../js/libs/es6-shim.min.js"></script>
355
402
  <script src="../js/libs/EventDispatcher.js"></script>
356
403
  <script src="../js/libs/promise.min.js"></script>
357
- <script src="../js/libs/zepto.min.js"></script>
358
404
 
359
405
  <script src="../js/compodoc.js"></script>
360
406