@oiz/stzh-components-angular 4.0.0-beta3 → 4.0.1-beta

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.
@@ -1,6 +1,5 @@
1
- /*
2
- * Public API Surface of stzh-components-angular
3
- */
1
+ /** Public API Surface of stzh-components-angular*/
2
+ import './lib/passive-event-patch';
4
3
  export * from './stzh-components-angular.module';
5
4
  export { DIRECTIVES } from './lib/stencil-generated';
6
5
  export * from './lib/stencil-generated/proxies';
@@ -8,4 +7,4 @@ export * from './lib/stencil-generated/boolean-value-accessor';
8
7
  export * from './lib/stencil-generated/number-value-accessor';
9
8
  export * from './lib/stencil-generated/select-value-accessor';
10
9
  export * from './lib/stencil-generated/text-value-accessor';
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3N0emgtY29tcG9uZW50cy1hbmd1bGFyL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0seUJBQXlCLENBQUM7QUFDbkQsY0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCxjQUFjLGdEQUFnRCxDQUFDO0FBQy9ELGNBQWMsK0NBQStDLENBQUM7QUFDOUQsY0FBYywrQ0FBK0MsQ0FBQTtBQUM3RCxjQUFjLDZDQUE2QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBzdHpoLWNvbXBvbmVudHMtYW5ndWxhclxuICovXG5leHBvcnQgKiBmcm9tICcuL3N0emgtY29tcG9uZW50cy1hbmd1bGFyLm1vZHVsZSc7XG5leHBv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ygc3R6aC1jb21wb25lbnRzLWFuZ3VsYXIqL1xuaW1wb3J0ICcuL2xpYi9wYXNzaXZlLWV2ZW50LXBhdGNoJztcbmV4cG9ydCAqIGZyb20gJy4vc3R6aC1jb21wb25lbnRzLWFuZ3VsYXIubW9kdWxlJztcbmV4cG9ydCB7RElSRUNUSVZFU30gZnJvbSAnLi9saWIvc3RlbmNpbC1nZW5lcmF0ZWQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvc3RlbmNpbC1nZW5lcmF0ZWQvcHJveGllcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zdGVuY2lsLWdlbmVyYXRlZC9ib29sZWFuLXZhbHVlLWFjY2Vzc29yJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3N0ZW5jaWwtZ2VuZXJhdGVkL251bWJlci12YWx1ZS1hY2Nlc3Nvcic7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zdGVuY2lsLWdlbmVyYXRlZC9zZWxlY3QtdmFsdWUtYWNjZXNzb3InXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zdGVuY2lsLWdlbmVyYXRlZC90ZXh0LXZhbHVlLWFjY2Vzc29yJztcbiJdfQ==
@@ -5,6 +5,29 @@ import { fromEvent } from 'rxjs';
5
5
  import { defineCustomElements } from '@oiz/stzh-components/loader';
6
6
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
7
 
8
+ "use strict";
9
+ /**
10
+ * Patch to force 'mousedown', 'touchstart', and 'touchmove' event listeners to be registered as non-passive (see PDESI-1450).
11
+ *
12
+ * This workaround is necessary for Angular applications using Zone.js, which may otherwise
13
+ * register these event listeners as passive by default. Passive listeners prevent the use
14
+ * of event.preventDefault(), causing issues with custom components (like stzh-dropdown / TomSelect)
15
+ * that rely on preventing default behavior for correct interaction.
16
+ *
17
+ */
18
+ (function () {
19
+ if (window.Zone) {
20
+ const orig = EventTarget.prototype.addEventListener;
21
+ EventTarget.prototype.addEventListener = function (type, listener, options) {
22
+ if ((type === 'mousedown' || type === 'touchstart' || type === 'touchmove')
23
+ && typeof options !== 'boolean') {
24
+ options = { ...(options || {}), passive: false };
25
+ }
26
+ return orig.call(this, type, listener, options);
27
+ };
28
+ }
29
+ })();
30
+
8
31
  /* eslint-disable */
9
32
  /* tslint:disable */
10
33
  const proxyInputs = (Cmp, inputs) => {
@@ -519,11 +542,11 @@ let StzhCard = class StzhCard {
519
542
  proxyOutputs(this, this.el, ['stzhClick', 'stzhCollapse', 'stzhSubtitleClick', 'stzhStarClick', 'stzhHeaderActionClick']);
520
543
  }
521
544
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StzhCard, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
522
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StzhCard, selector: "stzh-card", inputs: { analyticsId: "analyticsId", checked: "checked", collapsed: "collapsed", collapsible: "collapsible", disabled: "disabled", footerActions: "footerActions", headerActions: "headerActions", headerActionsBadge: "headerActionsBadge", headerActionsBadgeType: "headerActionsBadgeType", heading: "heading", headingLevel: "headingLevel", hideMovementActions: "hideMovementActions", href: "href", hyphensEnabled: "hyphensEnabled", localization: "localization", name: "name", selectable: "selectable", sortableDisabled: "sortableDisabled", starrable: "starrable", starred: "starred", subtitle: "subtitle", subtitleInteractive: "subtitleInteractive", target: "target", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
545
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StzhCard, selector: "stzh-card", inputs: { analyticsId: "analyticsId", backgroundColor: "backgroundColor", checked: "checked", collapsed: "collapsed", collapsible: "collapsible", disabled: "disabled", footerActions: "footerActions", headerActions: "headerActions", headerActionsBadge: "headerActionsBadge", headerActionsBadgeType: "headerActionsBadgeType", heading: "heading", headingLevel: "headingLevel", hideMovementActions: "hideMovementActions", href: "href", hyphensEnabled: "hyphensEnabled", localization: "localization", name: "name", selectable: "selectable", sortableDisabled: "sortableDisabled", starrable: "starrable", starred: "starred", subtitle: "subtitle", subtitleInteractive: "subtitleInteractive", target: "target", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
523
546
  };
524
547
  StzhCard = __decorate([
525
548
  ProxyCmp({
526
- inputs: ['analyticsId', 'checked', 'collapsed', 'collapsible', 'disabled', 'footerActions', 'headerActions', 'headerActionsBadge', 'headerActionsBadgeType', 'heading', 'headingLevel', 'hideMovementActions', 'href', 'hyphensEnabled', 'localization', 'name', 'selectable', 'sortableDisabled', 'starrable', 'starred', 'subtitle', 'subtitleInteractive', 'target', 'value', 'variant']
549
+ inputs: ['analyticsId', 'backgroundColor', 'checked', 'collapsed', 'collapsible', 'disabled', 'footerActions', 'headerActions', 'headerActionsBadge', 'headerActionsBadgeType', 'heading', 'headingLevel', 'hideMovementActions', 'href', 'hyphensEnabled', 'localization', 'name', 'selectable', 'sortableDisabled', 'starrable', 'starred', 'subtitle', 'subtitleInteractive', 'target', 'value', 'variant']
527
550
  })
528
551
  ], StzhCard);
529
552
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StzhCard, decorators: [{
@@ -533,7 +556,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
533
556
  changeDetection: ChangeDetectionStrategy.OnPush,
534
557
  template: '<ng-content></ng-content>',
535
558
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
536
- inputs: ['analyticsId', 'checked', 'collapsed', 'collapsible', 'disabled', 'footerActions', 'headerActions', 'headerActionsBadge', 'headerActionsBadgeType', 'heading', 'headingLevel', 'hideMovementActions', 'href', 'hyphensEnabled', 'localization', 'name', 'selectable', 'sortableDisabled', 'starrable', 'starred', 'subtitle', 'subtitleInteractive', 'target', 'value', 'variant'],
559
+ inputs: ['analyticsId', 'backgroundColor', 'checked', 'collapsed', 'collapsible', 'disabled', 'footerActions', 'headerActions', 'headerActionsBadge', 'headerActionsBadgeType', 'heading', 'headingLevel', 'hideMovementActions', 'href', 'hyphensEnabled', 'localization', 'name', 'selectable', 'sortableDisabled', 'starrable', 'starred', 'subtitle', 'subtitleInteractive', 'target', 'value', 'variant'],
537
560
  }]
538
561
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
539
562
  let StzhCardNavigation = class StzhCardNavigation {
@@ -1059,11 +1082,11 @@ let StzhDatalistItem = class StzhDatalistItem {
1059
1082
  proxyOutputs(this, this.el, ['stzhItemActionClick', 'stzhClick']);
1060
1083
  }
1061
1084
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StzhDatalistItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
1062
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StzhDatalistItem, selector: "stzh-datalist-item", inputs: { a11yControls: "a11yControls", a11yExpanded: "a11yExpanded", download: "download", href: "href", icon: "icon", iconHref: "iconHref", iconLabel: "iconLabel", iconPosition: "iconPosition", iconTooltip: "iconTooltip", label: "label", leadingIcon: "leadingIcon", localization: "localization", meta: "meta", noTextTruncate: "noTextTruncate", readspeakerHref: "readspeakerHref", readspeakerLabel: "readspeakerLabel", rel: "rel", statusLabel: "statusLabel", statusType: "statusType", target: "target", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1085
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StzhDatalistItem, selector: "stzh-datalist-item", inputs: { a11yControls: "a11yControls", a11yExpanded: "a11yExpanded", download: "download", href: "href", icon: "icon", iconHref: "iconHref", iconLabel: "iconLabel", iconPosition: "iconPosition", iconTooltip: "iconTooltip", label: "label", leadingIcon: "leadingIcon", localization: "localization", meta: "meta", readspeakerHref: "readspeakerHref", readspeakerLabel: "readspeakerLabel", rel: "rel", statusLabel: "statusLabel", statusType: "statusType", target: "target", value: "value", valueTruncate: "valueTruncate" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1063
1086
  };
1064
1087
  StzhDatalistItem = __decorate([
1065
1088
  ProxyCmp({
1066
- inputs: ['a11yControls', 'a11yExpanded', 'download', 'href', 'icon', 'iconHref', 'iconLabel', 'iconPosition', 'iconTooltip', 'label', 'leadingIcon', 'localization', 'meta', 'noTextTruncate', 'readspeakerHref', 'readspeakerLabel', 'rel', 'statusLabel', 'statusType', 'target', 'value']
1089
+ inputs: ['a11yControls', 'a11yExpanded', 'download', 'href', 'icon', 'iconHref', 'iconLabel', 'iconPosition', 'iconTooltip', 'label', 'leadingIcon', 'localization', 'meta', 'readspeakerHref', 'readspeakerLabel', 'rel', 'statusLabel', 'statusType', 'target', 'value', 'valueTruncate']
1067
1090
  })
1068
1091
  ], StzhDatalistItem);
1069
1092
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StzhDatalistItem, decorators: [{
@@ -1073,7 +1096,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1073
1096
  changeDetection: ChangeDetectionStrategy.OnPush,
1074
1097
  template: '<ng-content></ng-content>',
1075
1098
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1076
- inputs: ['a11yControls', 'a11yExpanded', 'download', 'href', 'icon', 'iconHref', 'iconLabel', 'iconPosition', 'iconTooltip', 'label', 'leadingIcon', 'localization', 'meta', 'noTextTruncate', 'readspeakerHref', 'readspeakerLabel', 'rel', 'statusLabel', 'statusType', 'target', 'value'],
1099
+ inputs: ['a11yControls', 'a11yExpanded', 'download', 'href', 'icon', 'iconHref', 'iconLabel', 'iconPosition', 'iconTooltip', 'label', 'leadingIcon', 'localization', 'meta', 'readspeakerHref', 'readspeakerLabel', 'rel', 'statusLabel', 'statusType', 'target', 'value', 'valueTruncate'],
1077
1100
  }]
1078
1101
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1079
1102
  let StzhDatamessagelist = class StzhDatamessagelist {
@@ -4022,9 +4045,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
4022
4045
  }]
4023
4046
  }] });
4024
4047
 
4025
- /*
4026
- * Public API Surface of stzh-components-angular
4027
- */
4048
+ /** Public API Surface of stzh-components-angular*/
4028
4049
 
4029
4050
  /**
4030
4051
  * Generated bundle index. Do not edit.