@onecx/angular-accelerator 9.0.0-rc.2 → 9.0.0-rc.4

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.
@@ -2,4 +2,6 @@
2
2
 
3
3
  @import '/node_modules/primeflex/primeflex.scss';
4
4
 
5
- @import '../src/lib/directives/loading-indicator.directive.scss';
5
+ @import '../src/lib/directives/loading-indicator.directive.scss';
6
+
7
+ @import '../src/lib/directives/content.directive.scss';
@@ -174,7 +174,7 @@ class OcxContentDirective {
174
174
  }
175
175
  addContentStyles() {
176
176
  const addClasses = (classes) => this.el.nativeElement.classList.add(...classes);
177
- addClasses(['card']);
177
+ addClasses(['ocx-card']);
178
178
  }
179
179
  prependTitle() {
180
180
  const titleElementId = this.titleElementId();
@@ -981,7 +981,7 @@ class PageHeaderComponent {
981
981
  }
982
982
  const breadcrumbItems = breadcrumbHost.querySelectorAll(`.p-breadcrumb-item .p-breadcrumb-item-link`);
983
983
  breadcrumbItems.forEach((item, index) => {
984
- const text = item.innerText.trim();
984
+ const text = item?.innerText?.trim();
985
985
  if (!text)
986
986
  return;
987
987
  this.translateService.get('OCX_PAGE_HEADER.BREADCRUMB_ARIA_LABEL', { breadcrumb: text }).subscribe((ariaLabel) => {
@@ -5788,7 +5788,7 @@ class DynamicLocaleId {
5788
5788
  }
5789
5789
 
5790
5790
  const LIB_NAME = '@onecx/angular-accelerator';
5791
- const LIB_VERSION = '9.0.0-rc.2';
5791
+ const LIB_VERSION = '9.0.0-rc.4';
5792
5792
 
5793
5793
  class AngularAcceleratorMissingTranslationHandler extends MultiLanguageMissingTranslationHandler {
5794
5794
  }
@@ -6122,7 +6122,7 @@ function _hasShowTime(datePickers, formKey) {
6122
6122
  /**
6123
6123
  * Safely builds the search criteria based on form values
6124
6124
  * @param formRawValue the raw value of the form to use
6125
- * @param datePickers a list of primeng datePickers of the form (use `@ViewChildren(DatePicker) datePickers!: QueryList<DatePicker>;`)
6125
+ * @param datePickers a list of primeng datePickers of the form (use `viewChildren` to get list of datePickers)
6126
6126
  * @param parameters {@link BuildSearchCriteriaParameters} to use when building the search criteria
6127
6127
  * @returns the search criteria as a partial of T (T = type of the search criteria)
6128
6128
  */