@db-ux/ngx-core-components 4.4.0 → 4.4.1-footer-28739e3

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.
@@ -272,7 +272,7 @@ const getNotificationRole = ({ semantic, role, ariaLive }) => {
272
272
  }
273
273
  };
274
274
 
275
- const defaultProps$z = {};
275
+ const defaultProps$A = {};
276
276
  class DBAccordionItem {
277
277
  handleNameAttribute() {
278
278
  if (this._ref()?.nativeElement) {
@@ -426,7 +426,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
426
426
  </li> `, styles: [":host{display:contents}\n"] }]
427
427
  }], ctorParameters: () => [], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], defaultOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultOpen", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], className: [{ type: i0.Input, args: [{ isSignal: true, alias: "className", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], headlinePlain: [{ type: i0.Input, args: [{ isSignal: true, alias: "headlinePlain", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], toggle: [{ type: i0.Output, args: ["toggle"] }], _ref: [{ type: i0.ViewChild, args: ["_ref", { isSignal: true }] }] } });
428
428
 
429
- const defaultProps$y = {};
429
+ const defaultProps$z = {};
430
430
  class DBAccordion {
431
431
  convertItems() {
432
432
  try {
@@ -620,7 +620,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
620
620
  const AccordionVariantList = ['divider', 'card'];
621
621
  const AccordionBehaviorList = ['multiple', 'single'];
622
622
 
623
- const defaultProps$x = {};
623
+ const defaultProps$y = {};
624
624
  class DBBadge {
625
625
  constructor() {
626
626
  this.cls = cls;
@@ -731,7 +731,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
731
731
 
732
732
  const BadgePlacementList = ['inline', 'corner-top-left', 'corner-top-right', 'corner-center-left', 'corner-center-right', 'corner-bottom-left', 'corner-bottom-right'];
733
733
 
734
- const defaultProps$w = {};
734
+ const defaultProps$x = {};
735
735
  class DBBrand {
736
736
  constructor() {
737
737
  this.DEFAULT_ICON = DEFAULT_ICON;
@@ -811,7 +811,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
811
811
  </div> `, styles: [":host{display:contents}\n"] }]
812
812
  }], ctorParameters: () => [], propDecorators: { hideLogo: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideLogo", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], className: [{ type: i0.Input, args: [{ isSignal: true, alias: "className", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], _ref: [{ type: i0.ViewChild, args: ["_ref", { isSignal: true }] }] } });
813
813
 
814
- const defaultProps$v = {};
814
+ const defaultProps$w = {};
815
815
  class DBButton {
816
816
  getButtonType() {
817
817
  if (this.type()) {
@@ -938,7 +938,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
938
938
  const ButtonVariantList = ['outlined', 'brand', 'filled', 'ghost'];
939
939
  const ButtonTypeList = ['button', 'reset', 'submit'];
940
940
 
941
- const defaultProps$u = {};
941
+ const defaultProps$v = {};
942
942
  class DBCard {
943
943
  handleClick(event) {
944
944
  if (this.click) {
@@ -1075,7 +1075,7 @@ const addValueResetEventListener = (element, props, resetFunction, signal) => {
1075
1075
  }, signal);
1076
1076
  };
1077
1077
 
1078
- const defaultProps$t = {};
1078
+ const defaultProps$u = {};
1079
1079
  class DBInfotext {
1080
1080
  constructor() {
1081
1081
  this.cls = cls;
@@ -1157,7 +1157,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1157
1157
  > `, styles: [":host{display:contents}\n"] }]
1158
1158
  }], ctorParameters: () => [], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], className: [{ type: i0.Input, args: [{ isSignal: true, alias: "className", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], semantic: [{ type: i0.Input, args: [{ isSignal: true, alias: "semantic", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], _ref: [{ type: i0.ViewChild, args: ["_ref", { isSignal: true }] }] } });
1159
1159
 
1160
- const defaultProps$s = {};
1160
+ const defaultProps$t = {};
1161
1161
  class DBCheckbox {
1162
1162
  hasValidState() {
1163
1163
  return !!(this.validMessage() ?? this.validation() === "valid");
@@ -1893,13 +1893,13 @@ const handleFixedPopover = (element, parent, placement) => {
1893
1893
  element.dataset['correctedPlacement'] = correctedPlacement;
1894
1894
  };
1895
1895
 
1896
- const defaultProps$r = { width: "fixed" };
1896
+ const defaultProps$s = { width: "fixed" };
1897
1897
  class DBCustomSelectDropdown {
1898
1898
  constructor() {
1899
1899
  this.cls = cls;
1900
1900
  this.id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
1901
1901
  this.className = input(...(ngDevMode ? [undefined, { debugName: "className" }] : []));
1902
- this.width = input(defaultProps$r["width"], ...(ngDevMode ? [{ debugName: "width" }] : []));
1902
+ this.width = input(defaultProps$s["width"], ...(ngDevMode ? [{ debugName: "width" }] : []));
1903
1903
  this._ref = viewChild("_ref", ...(ngDevMode ? [{ debugName: "_ref" }] : []));
1904
1904
  }
1905
1905
  /**
@@ -1964,7 +1964,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1964
1964
  </article> `, styles: [":host{display:contents}\n"] }]
1965
1965
  }], ctorParameters: () => [], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], className: [{ type: i0.Input, args: [{ isSignal: true, alias: "className", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], _ref: [{ type: i0.ViewChild, args: ["_ref", { isSignal: true }] }] } });
1966
1966
 
1967
- const defaultProps$q = {};
1967
+ const defaultProps$r = {};
1968
1968
  class DBCustomSelectListItem {
1969
1969
  handleChange(event) {
1970
1970
  event.stopPropagation();
@@ -2147,7 +2147,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
2147
2147
  </li> `, styles: [":host{display:contents}\n"] }]
2148
2148
  }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], isGroupTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "isGroupTitle", required: false }] }], showDivider: [{ type: i0.Input, args: [{ isSignal: true, alias: "showDivider", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }, { type: i0.Output, args: ["checkedChange"] }], className: [{ type: i0.Input, args: [{ isSignal: true, alias: "className", required: false }] }], groupTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "groupTitle", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }, { type: i0.Output, args: ["disabledChange"] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], change: [{ type: i0.Output, args: ["change"] }], _ref: [{ type: i0.ViewChild, args: ["_ref", { isSignal: true }] }] } });
2149
2149
 
2150
- const defaultProps$p = {};
2150
+ const defaultProps$q = {};
2151
2151
  class DBCustomSelectList {
2152
2152
  constructor() {
2153
2153
  this.cls = cls;
@@ -2223,7 +2223,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
2223
2223
  </div> `, styles: [":host{display:contents}\n"] }]
2224
2224
  }], ctorParameters: () => [], propDecorators: { multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], className: [{ type: i0.Input, args: [{ isSignal: true, alias: "className", required: false }] }], _ref: [{ type: i0.ViewChild, args: ["_ref", { isSignal: true }] }] } });
2225
2225
 
2226
- const defaultProps$o = {};
2226
+ const defaultProps$p = {};
2227
2227
  class DBInput {
2228
2228
  hasValidState() {
2229
2229
  return !!(this.validMessage() ?? this.validation() === "valid");
@@ -2693,7 +2693,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
2693
2693
  </div> `, styles: [":host{display:contents}\n"] }]
2694
2694
  }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], invalidMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalidMessage", required: false }] }], dataListId: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataListId", required: false }] }], message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }], showMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMessage", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], validMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "validMessage", required: false }] }], validation: [{ type: i0.Input, args: [{ isSignal: true, alias: "validation", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], minLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minLength", required: false }] }], maxLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLength", required: false }] }], pattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "pattern", required: false }] }], dataList: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataList", required: false }] }], className: [{ type: i0.Input, args: [{ isSignal: true, alias: "className", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], showLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLabel", required: false }] }], showIconLeading: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIconLeading", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }], iconLeading: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconLeading", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], iconTrailing: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconTrailing", required: false }] }], showRequiredAsterisk: [{ type: i0.Input, args: [{ isSignal: true, alias: "showRequiredAsterisk", required: false }] }], showIconTrailing: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIconTrailing", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], fieldSizing: [{ type: i0.Input, args: [{ isSignal: true, alias: "fieldSizing", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], accept: [{ type: i0.Input, args: [{ isSignal: true, alias: "accept", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }, { type: i0.Output, args: ["disabledChange"] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], maxlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxlength", required: false }] }], minlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minlength", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], form: [{ type: i0.Input, args: [{ isSignal: true, alias: "form", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], autofocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autofocus", required: false }] }], enterkeyhint: [{ type: i0.Input, args: [{ isSignal: true, alias: "enterkeyhint", required: false }] }], inputmode: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputmode", required: false }] }], ariaDescribedBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaDescribedBy", required: false }] }], messageSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "messageSize", required: false }] }], messageIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "messageIcon", required: false }] }], validMessageSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "validMessageSize", required: false }] }], invalidMessageSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalidMessageSize", required: false }] }], input: [{ type: i0.Output, args: ["input"] }], change: [{ type: i0.Output, args: ["change"] }], blur: [{ type: i0.Output, args: ["blur"] }], focus: [{ type: i0.Output, args: ["focus"] }], _ref: [{ type: i0.ViewChild, args: ["_ref", { isSignal: true }] }] } });
2695
2695
 
2696
- const defaultProps$n = {};
2696
+ const defaultProps$o = {};
2697
2697
  class DBTooltip {
2698
2698
  handleClick(event) {
2699
2699
  event.stopPropagation();
@@ -2878,7 +2878,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
2878
2878
  ></i> `, styles: [":host{display:contents}\n"] }]
2879
2879
  }], ctorParameters: () => [], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], placement: [{ type: i0.Input, args: [{ isSignal: true, alias: "placement", required: false }] }], className: [{ type: i0.Input, args: [{ isSignal: true, alias: "className", required: false }] }], emphasis: [{ type: i0.Input, args: [{ isSignal: true, alias: "emphasis", required: false }] }], animation: [{ type: i0.Input, args: [{ isSignal: true, alias: "animation", required: false }] }], delay: [{ type: i0.Input, args: [{ isSignal: true, alias: "delay", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], showArrow: [{ type: i0.Input, args: [{ isSignal: true, alias: "showArrow", required: false }] }], _ref: [{ type: i0.ViewChild, args: ["_ref", { isSignal: true }] }] } });
2880
2880
 
2881
- const defaultProps$m = {};
2881
+ const defaultProps$n = {};
2882
2882
  class DBTag {
2883
2883
  handleRemove(event) {
2884
2884
  if (!event)
@@ -3013,7 +3013,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
3013
3013
  </div> `, styles: [":host{display:contents}\n"] }]
3014
3014
  }], ctorParameters: () => [], propDecorators: { removeButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "removeButton", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], className: [{ type: i0.Input, args: [{ isSignal: true, alias: "className", required: false }] }], semantic: [{ type: i0.Input, args: [{ isSignal: true, alias: "semantic", required: false }] }], emphasis: [{ type: i0.Input, args: [{ isSignal: true, alias: "emphasis", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], showCheckState: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCheckState", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }], noText: [{ type: i0.Input, args: [{ isSignal: true, alias: "noText", required: false }] }], overflow: [{ type: i0.Input, args: [{ isSignal: true, alias: "overflow", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], behavior: [{ type: i0.Input, args: [{ isSignal: true, alias: "behavior", required: false }] }], remove: [{ type: i0.Output, args: ["remove"] }], _ref: [{ type: i0.ViewChild, args: ["_ref", { isSignal: true }] }] } });
3015
3015
 
3016
- const defaultProps$l = {
3016
+ const defaultProps$m = {
3017
3017
  clearSelectionText: "Clear selection",
3018
3018
  showClearSelection: true,
3019
3019
  };
@@ -3495,8 +3495,8 @@ class DBCustomSelect {
3495
3495
  this.loadingText = input(...(ngDevMode ? [undefined, { debugName: "loadingText" }] : []));
3496
3496
  this.noResultsText = input(...(ngDevMode ? [undefined, { debugName: "noResultsText" }] : []));
3497
3497
  this.mobileCloseButtonText = input(...(ngDevMode ? [undefined, { debugName: "mobileCloseButtonText" }] : []));
3498
- this.showClearSelection = input(defaultProps$l["showClearSelection"], ...(ngDevMode ? [{ debugName: "showClearSelection" }] : []));
3499
- this.clearSelectionText = input(defaultProps$l["clearSelectionText"], ...(ngDevMode ? [{ debugName: "clearSelectionText" }] : []));
3498
+ this.showClearSelection = input(defaultProps$m["showClearSelection"], ...(ngDevMode ? [{ debugName: "showClearSelection" }] : []));
3499
+ this.clearSelectionText = input(defaultProps$m["clearSelectionText"], ...(ngDevMode ? [{ debugName: "clearSelectionText" }] : []));
3500
3500
  this.placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : []));
3501
3501
  this.messageIcon = input(...(ngDevMode ? [undefined, { debugName: "messageIcon" }] : []));
3502
3502
  this.amountChange = output();
@@ -4324,7 +4324,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
4324
4324
 
4325
4325
  const CustomSelectDropdownWidthList = ['fixed', 'auto', 'full'];
4326
4326
 
4327
- const defaultProps$k = {};
4327
+ const defaultProps$l = {};
4328
4328
  class DBCustomSelectFormField {
4329
4329
  constructor() {
4330
4330
  this.cls = cls;
@@ -4394,7 +4394,7 @@ const CustomSelectListItemTypeList = ['checkbox', 'radio'];
4394
4394
 
4395
4395
  const SelectedTypeList = ['amount', 'text', 'tag'];
4396
4396
 
4397
- const defaultProps$j = {};
4397
+ const defaultProps$k = {};
4398
4398
  class DBDivider {
4399
4399
  constructor() {
4400
4400
  this.cls = cls;
@@ -4471,7 +4471,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
4471
4471
  const DividerMarginList = ['none', '_'];
4472
4472
  const DividerVariantList = ['horizontal', 'vertical'];
4473
4473
 
4474
- const defaultProps$i = {};
4474
+ const defaultProps$j = {};
4475
4475
  class DBDrawer {
4476
4476
  handleClose(event, forceClose) {
4477
4477
  if (!event)
@@ -4703,6 +4703,121 @@ const DrawerDirectionList = ['left', 'right', 'up', 'down'];
4703
4703
  const DrawerVariantList = ['modal', 'inside'];
4704
4704
  const DrawerPositionList = ['fixed', 'absolute'];
4705
4705
 
4706
+ const defaultProps$i = {
4707
+ showCopyright: true,
4708
+ showMain: true,
4709
+ showMeta: true,
4710
+ };
4711
+ class DBFooter {
4712
+ constructor() {
4713
+ this.cls = cls;
4714
+ this.getBoolean = getBoolean;
4715
+ this.id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
4716
+ this.className = input(...(ngDevMode ? [undefined, { debugName: "className" }] : []));
4717
+ this.width = input(...(ngDevMode ? [undefined, { debugName: "width" }] : []));
4718
+ this.showMain = input(defaultProps$i["showMain"], ...(ngDevMode ? [{ debugName: "showMain" }] : []));
4719
+ this.showMeta = input(defaultProps$i["showMeta"], ...(ngDevMode ? [{ debugName: "showMeta" }] : []));
4720
+ this.showCopyright = input(defaultProps$i["showCopyright"], ...(ngDevMode ? [{ debugName: "showCopyright" }] : []));
4721
+ this._ref = viewChild("_ref", ...(ngDevMode ? [{ debugName: "_ref" }] : []));
4722
+ }
4723
+ /**
4724
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
4725
+ * @param element the ref for the component
4726
+ * @param customElementSelector the custom element like `my-component`
4727
+ */
4728
+ enableAttributePassing(element, customElementSelector) {
4729
+ const parent = element?.closest(customElementSelector);
4730
+ if (element && parent) {
4731
+ const attributes = parent.attributes;
4732
+ for (let i = 0; i < attributes.length; i++) {
4733
+ const attr = attributes.item(i);
4734
+ if (attr &&
4735
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
4736
+ element.setAttribute(attr.name, attr.value);
4737
+ parent.removeAttribute(attr.name);
4738
+ }
4739
+ if (attr && attr.name === "class") {
4740
+ const isWebComponent = attr.value.includes("hydrated");
4741
+ const value = attr.value.replace("hydrated", "").trim();
4742
+ const currentClass = element.getAttribute("class");
4743
+ element.setAttribute(attr.name, `${currentClass ? `${currentClass} ` : ""}${value}`);
4744
+ if (isWebComponent) {
4745
+ // Stencil is using this class for lazy loading component
4746
+ parent.setAttribute("class", "hydrated");
4747
+ }
4748
+ else {
4749
+ parent.removeAttribute(attr.name);
4750
+ }
4751
+ }
4752
+ }
4753
+ }
4754
+ }
4755
+ ngAfterViewInit() {
4756
+ if (typeof window !== "undefined") {
4757
+ const element = this._ref()?.nativeElement;
4758
+ this.enableAttributePassing(element, "db-footer");
4759
+ }
4760
+ }
4761
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DBFooter, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4762
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: DBFooter, isStandalone: true, selector: "db-footer", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, showMain: { classPropertyName: "showMain", publicName: "showMain", isSignal: true, isRequired: false, transformFunction: null }, showMeta: { classPropertyName: "showMeta", publicName: "showMeta", isSignal: true, isRequired: false, transformFunction: null }, showCopyright: { classPropertyName: "showCopyright", publicName: "showCopyright", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "_ref", first: true, predicate: ["_ref"], descendants: true, isSignal: true }], ngImport: i0, template: `<footer
4763
+ #_ref
4764
+ [attr.id]="id()"
4765
+ [class]="cls('db-footer', className())"
4766
+ [attr.data-width]="width()"
4767
+ >
4768
+ @if(getBoolean(showMain(), 'showMain')){
4769
+ <section class="db-footer-main">
4770
+ <div class="db-footer-content-container">
4771
+ <div class="db-footer-main-inner">
4772
+ <ng-content select="[main]"> </ng-content>
4773
+ </div>
4774
+ </div>
4775
+ </section>
4776
+ } @if(getBoolean(showMeta(), 'showMeta')){
4777
+ <section class="db-footer-meta">
4778
+ <div class="db-footer-content-container">
4779
+ <div class="db-footer-meta-inner">
4780
+ @if(getBoolean(showCopyright(), 'showCopyright')){
4781
+ <p class="db-footer-copyright">© Deutsche Bahn AG</p>
4782
+ }
4783
+ <ng-content select="[meta]"> </ng-content>
4784
+ </div>
4785
+ </div>
4786
+ </section>
4787
+ }
4788
+ </footer> `, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
4789
+ }
4790
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DBFooter, decorators: [{
4791
+ type: Component,
4792
+ args: [{ selector: "db-footer", standalone: true, imports: [CommonModule], template: `<footer
4793
+ #_ref
4794
+ [attr.id]="id()"
4795
+ [class]="cls('db-footer', className())"
4796
+ [attr.data-width]="width()"
4797
+ >
4798
+ @if(getBoolean(showMain(), 'showMain')){
4799
+ <section class="db-footer-main">
4800
+ <div class="db-footer-content-container">
4801
+ <div class="db-footer-main-inner">
4802
+ <ng-content select="[main]"> </ng-content>
4803
+ </div>
4804
+ </div>
4805
+ </section>
4806
+ } @if(getBoolean(showMeta(), 'showMeta')){
4807
+ <section class="db-footer-meta">
4808
+ <div class="db-footer-content-container">
4809
+ <div class="db-footer-meta-inner">
4810
+ @if(getBoolean(showCopyright(), 'showCopyright')){
4811
+ <p class="db-footer-copyright">© Deutsche Bahn AG</p>
4812
+ }
4813
+ <ng-content select="[meta]"> </ng-content>
4814
+ </div>
4815
+ </div>
4816
+ </section>
4817
+ }
4818
+ </footer> `, styles: [":host{display:contents}\n"] }]
4819
+ }], ctorParameters: () => [], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], className: [{ type: i0.Input, args: [{ isSignal: true, alias: "className", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], showMain: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMain", required: false }] }], showMeta: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMeta", required: false }] }], showCopyright: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCopyright", required: false }] }], _ref: [{ type: i0.ViewChild, args: ["_ref", { isSignal: true }] }] } });
4820
+
4706
4821
  const isEventTargetNavigationItem = (event) => {
4707
4822
  const { target } = event;
4708
4823
  return Boolean(!target?.classList?.contains('db-navigation-item-expand-button') && target?.parentElement?.classList.contains('db-navigation-item'));
@@ -8447,5 +8562,5 @@ const AlignmentList = ['start', 'center'];
8447
8562
  * Generated bundle index. Do not edit.
8448
8563
  */
8449
8564
 
8450
- export { AccordionBehaviorList, AccordionVariantList, AlignmentList, AutoCompleteList, BadgePlacementList, ButtonTypeList, ButtonVariantList, COLOR, COLORS, COLORS_SIMPLE, COLOR_CONST, COLOR_SIMPLE, CardBehaviorList, CardElevationLevelList, CustomSelectDropdownWidthList, CustomSelectListItemTypeList, DBAccordion, DBAccordionItem, DBBadge, DBBrand, DBButton, DBCard, DBCheckbox, DBCustomSelect, DBCustomSelectDropdown, DBCustomSelectFormField, DBCustomSelectList, DBCustomSelectListItem, DBDivider, DBDrawer, DBHeader, DBIcon, DBInfotext, DBInput, DBLink, DBNavigation, DBNavigationItem, DBNotification, DBPage, DBPopover, DBRadio, DBSection, DBSelect, DBStack, DBSwitch, DBTabItem, DBTabList, DBTabPanel, DBTabs, DBTag, DBTextarea, DBTooltip, DB_UX_LOCAL_STORAGE_FRAMEWORK, DB_UX_LOCAL_STORAGE_MODE, DEFAULT_BACK, DEFAULT_BURGER_MENU, DEFAULT_CLOSE_BUTTON, DEFAULT_DATALIST_ID_SUFFIX, DEFAULT_ICON, DEFAULT_ID, DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_LABEL_ID_SUFFIX, DEFAULT_MESSAGE, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER, DEFAULT_PLACEHOLDER_ID_SUFFIX, DEFAULT_REMOVE, DEFAULT_ROWS, DEFAULT_SELECTED, DEFAULT_SELECT_ID_SUFFIX, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, DEFAULT_VIEWPORT, DENSITIES, DENSITY, DENSITY_CONST, DESKTOP_VIEWPORT, DividerMarginList, DividerVariantList, DocumentClickListener, DocumentScrollListener, DrawerBackdropList, DrawerDirectionList, DrawerPositionList, DrawerVariantList, EmphasisList, FieldSizingList, GapSpacingList, IconWeightList, InputTypeList, LabelVariantHorizontalList, LabelVariantList, LinkContentList, LinkReferrerPolicyList, LinkSizeList, LinkTargetList, LinkVariantList, MarginList, MaxWidthList, MetaNavigationDirective, NavigationContentDirective, NavigationDirective, NavigationItemSafeTriangle, NotificationAriaLiveList, NotificationLinkVariantList, NotificationVariantList, OrientationList, PageDocumentOverflowList, PageVariantList, PlacementHorizontalList, PlacementList, PlacementVerticalList, PopoverDelayList, PopoverWidthList, SEMANTIC, SEMANTICS, SecondaryActionDirective, SelectedTypeList, SemanticList, SizeList, SpacingList, StackAlignmentList, StackDirectionList, StackJustifyContentList, StackVariantList, TESTING_VIEWPORTS, TabsBehaviorList, TabsInitialSelectedModeList, TagBehaviorList, TextareaResizeList, TextareaWrapList, TooltipVariantList, ValidationList, WidthList, addAttributeToChildren, cls, delay, getBoolean, getBooleanAsString, getFloatingProps, getHideProp, getInputValue, getNotificationRole, getNumber, getOptionKey, getSearchInput, getStep, handleDataOutside, handleFixedDropdown, handleFixedPopover, hasVoiceOver, isArrayOfStrings, isEventTargetNavigationItem, isIOSSafari, isKeyboardEvent, stringPropVisible, uuid };
8565
+ export { AccordionBehaviorList, AccordionVariantList, AlignmentList, AutoCompleteList, BadgePlacementList, ButtonTypeList, ButtonVariantList, COLOR, COLORS, COLORS_SIMPLE, COLOR_CONST, COLOR_SIMPLE, CardBehaviorList, CardElevationLevelList, CustomSelectDropdownWidthList, CustomSelectListItemTypeList, DBAccordion, DBAccordionItem, DBBadge, DBBrand, DBButton, DBCard, DBCheckbox, DBCustomSelect, DBCustomSelectDropdown, DBCustomSelectFormField, DBCustomSelectList, DBCustomSelectListItem, DBDivider, DBDrawer, DBFooter, DBHeader, DBIcon, DBInfotext, DBInput, DBLink, DBNavigation, DBNavigationItem, DBNotification, DBPage, DBPopover, DBRadio, DBSection, DBSelect, DBStack, DBSwitch, DBTabItem, DBTabList, DBTabPanel, DBTabs, DBTag, DBTextarea, DBTooltip, DB_UX_LOCAL_STORAGE_FRAMEWORK, DB_UX_LOCAL_STORAGE_MODE, DEFAULT_BACK, DEFAULT_BURGER_MENU, DEFAULT_CLOSE_BUTTON, DEFAULT_DATALIST_ID_SUFFIX, DEFAULT_ICON, DEFAULT_ID, DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_LABEL_ID_SUFFIX, DEFAULT_MESSAGE, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER, DEFAULT_PLACEHOLDER_ID_SUFFIX, DEFAULT_REMOVE, DEFAULT_ROWS, DEFAULT_SELECTED, DEFAULT_SELECT_ID_SUFFIX, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, DEFAULT_VIEWPORT, DENSITIES, DENSITY, DENSITY_CONST, DESKTOP_VIEWPORT, DividerMarginList, DividerVariantList, DocumentClickListener, DocumentScrollListener, DrawerBackdropList, DrawerDirectionList, DrawerPositionList, DrawerVariantList, EmphasisList, FieldSizingList, GapSpacingList, IconWeightList, InputTypeList, LabelVariantHorizontalList, LabelVariantList, LinkContentList, LinkReferrerPolicyList, LinkSizeList, LinkTargetList, LinkVariantList, MarginList, MaxWidthList, MetaNavigationDirective, NavigationContentDirective, NavigationDirective, NavigationItemSafeTriangle, NotificationAriaLiveList, NotificationLinkVariantList, NotificationVariantList, OrientationList, PageDocumentOverflowList, PageVariantList, PlacementHorizontalList, PlacementList, PlacementVerticalList, PopoverDelayList, PopoverWidthList, SEMANTIC, SEMANTICS, SecondaryActionDirective, SelectedTypeList, SemanticList, SizeList, SpacingList, StackAlignmentList, StackDirectionList, StackJustifyContentList, StackVariantList, TESTING_VIEWPORTS, TabsBehaviorList, TabsInitialSelectedModeList, TagBehaviorList, TextareaResizeList, TextareaWrapList, TooltipVariantList, ValidationList, WidthList, addAttributeToChildren, cls, delay, getBoolean, getBooleanAsString, getFloatingProps, getHideProp, getInputValue, getNotificationRole, getNumber, getOptionKey, getSearchInput, getStep, handleDataOutside, handleFixedDropdown, handleFixedPopover, hasVoiceOver, isArrayOfStrings, isEventTargetNavigationItem, isIOSSafari, isKeyboardEvent, stringPropVisible, uuid };
8451
8566
  //# sourceMappingURL=db-ux-ngx-core-components.mjs.map