@oiz/stzh-components 2.11.0 → 2.11.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 (156) hide show
  1. package/dist/cjs/{app-globals-909813e1.js → app-globals-7697372c.js} +2 -2
  2. package/dist/cjs/{app-globals-909813e1.js.map → app-globals-7697372c.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/stzh-components.cjs.js +2 -2
  5. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +2 -4
  6. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js.map +1 -1
  7. package/dist/components/index.js +1 -1
  8. package/dist/components/stzh-radiogroup2.js +1 -1
  9. package/dist/esm/{app-globals-8bdc0f78.js → app-globals-1a77c38b.js} +2 -2
  10. package/dist/esm/{app-globals-8bdc0f78.js.map → app-globals-1a77c38b.js.map} +1 -1
  11. package/dist/esm/loader.js +2 -2
  12. package/dist/esm/stzh-components.js +2 -2
  13. package/dist/esm-es5/{app-globals-8bdc0f78.js → app-globals-1a77c38b.js} +2 -2
  14. package/dist/esm-es5/loader.js +1 -1
  15. package/dist/esm-es5/loader.js.map +1 -1
  16. package/dist/esm-es5/stzh-components.js +1 -1
  17. package/dist/esm-es5/stzh-components.js.map +1 -1
  18. package/dist/stzh-components/{p-0c972915.system.js → p-84ae2651.system.js} +2 -2
  19. package/dist/stzh-components/{p-ca32a687.js → p-98b60fb7.js} +2 -2
  20. package/dist/stzh-components/{p-428eacce.system.js → p-bde8bb45.system.js} +2 -2
  21. package/dist/stzh-components/{p-428eacce.system.js.map → p-bde8bb45.system.js.map} +1 -1
  22. package/dist/stzh-components/stzh-components.esm.js +1 -1
  23. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  24. package/dist/stzh-components/stzh-components.js +1 -1
  25. package/dist/types/components/stzh-accordion/stzh-accordion.d.ts +15 -0
  26. package/dist/types/components/stzh-accordion-item/stzh-accordion-item.d.ts +73 -0
  27. package/dist/types/components/stzh-actions/stzh-actions.d.ts +16 -0
  28. package/dist/types/components/stzh-actionset/stzh-actionset.d.ts +45 -0
  29. package/dist/types/components/stzh-amount/stzh-amount.d.ts +73 -0
  30. package/dist/types/components/stzh-appnav/stzh-appnav.d.ts +23 -0
  31. package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +73 -0
  32. package/dist/types/components/stzh-audio/stzh-audio.d.ts +58 -0
  33. package/dist/types/components/stzh-button/stzh-button.d.ts +105 -0
  34. package/dist/types/components/stzh-buttongroup/stzh-buttongroup.d.ts +7 -0
  35. package/dist/types/components/stzh-calendar/stzh-calendar.d.ts +88 -0
  36. package/dist/types/components/stzh-card/stzh-card.d.ts +127 -0
  37. package/dist/types/components/stzh-card-list/stzh-card-list.d.ts +31 -0
  38. package/dist/types/components/stzh-carousel/stzh-carousel.d.ts +175 -0
  39. package/dist/types/components/stzh-chart/stzh-chart.d.ts +15 -0
  40. package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +57 -0
  41. package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +64 -0
  42. package/dist/types/components/stzh-chip/stzh-chip.d.ts +74 -0
  43. package/dist/types/components/stzh-chip-select/stzh-chip-select.d.ts +46 -0
  44. package/dist/types/components/stzh-clamp/stzh-clamp.d.ts +49 -0
  45. package/dist/types/components/stzh-contact/stzh-contact.d.ts +54 -0
  46. package/dist/types/components/stzh-datalist/stzh-datalist.d.ts +51 -0
  47. package/dist/types/components/stzh-datalist-item/stzh-datalist-item.d.ts +62 -0
  48. package/dist/types/components/stzh-datamessagelist/stzh-datamessagelist.d.ts +6 -0
  49. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.d.ts +57 -0
  50. package/dist/types/components/stzh-datatable/stzh-datatable.d.ts +103 -0
  51. package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +91 -0
  52. package/dist/types/components/stzh-details/stzh-details.d.ts +35 -0
  53. package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +64 -0
  54. package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +173 -0
  55. package/dist/types/components/stzh-figure/stzh-figure.d.ts +21 -0
  56. package/dist/types/components/stzh-flyingfocus/stzh-flyingfocus.d.ts +35 -0
  57. package/dist/types/components/stzh-footer/stzh-footer.d.ts +27 -0
  58. package/dist/types/components/stzh-gallery/stzh-gallery.d.ts +54 -0
  59. package/dist/types/components/stzh-ghettobox/stzh-ghettobox.d.ts +50 -0
  60. package/dist/types/components/stzh-header/stzh-header.d.ts +68 -0
  61. package/dist/types/components/stzh-hr/stzh-hr.d.ts +7 -0
  62. package/dist/types/components/stzh-iframe/stzh-iframe.d.ts +60 -0
  63. package/dist/types/components/stzh-imagecomparison/stzh-imagecomparison.d.ts +29 -0
  64. package/dist/types/components/stzh-input/stzh-input.d.ts +104 -0
  65. package/dist/types/components/stzh-invert/stzh-invert.d.ts +7 -0
  66. package/dist/types/components/stzh-langnav/stzh-langnav.d.ts +19 -0
  67. package/dist/types/components/stzh-link/stzh-link.d.ts +88 -0
  68. package/dist/types/components/stzh-list/stzh-list.d.ts +9 -0
  69. package/dist/types/components/stzh-list-item/stzh-list-item.d.ts +7 -0
  70. package/dist/types/components/stzh-loader/stzh-loader.d.ts +13 -0
  71. package/dist/types/components/stzh-loadingbar/stzh-loadingbar.d.ts +12 -0
  72. package/dist/types/components/stzh-logo/stzh-logo.d.ts +9 -0
  73. package/dist/types/components/stzh-menu-item/stzh-menu-item.d.ts +50 -0
  74. package/dist/types/components/stzh-message/stzh-message.d.ts +37 -0
  75. package/dist/types/components/stzh-metanav/stzh-metanav.d.ts +11 -0
  76. package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.d.ts +33 -0
  77. package/dist/types/components/stzh-monthyearpicker/stzh-monthyearpicker.d.ts +98 -0
  78. package/dist/types/components/stzh-olmap/stzh-olmap.d.ts +124 -0
  79. package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +34 -0
  80. package/dist/types/components/stzh-page-skiplinks/stzh-page-skiplinks.d.ts +11 -0
  81. package/dist/types/components/stzh-pagebottom/stzh-pagebottom.d.ts +29 -0
  82. package/dist/types/components/stzh-pagetitle/stzh-pagetitle.d.ts +15 -0
  83. package/dist/types/components/stzh-pagetitle-hero/stzh-pagetitle-hero.d.ts +25 -0
  84. package/dist/types/components/stzh-pagination/stzh-pagination.d.ts +52 -0
  85. package/dist/types/components/stzh-panorama/stzh-panorama.d.ts +74 -0
  86. package/dist/types/components/stzh-popover/stzh-popover.d.ts +73 -0
  87. package/dist/types/components/stzh-print/stzh-print.d.ts +12 -0
  88. package/dist/types/components/stzh-progressbar/stzh-progressbar.d.ts +49 -0
  89. package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +34 -0
  90. package/dist/types/components/stzh-radio/stzh-radio.d.ts +57 -0
  91. package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +66 -0
  92. package/dist/types/components/stzh-ratio/stzh-ratio.d.ts +22 -0
  93. package/dist/types/components/stzh-readspeaker/stzh-readspeaker.d.ts +18 -0
  94. package/dist/types/components/stzh-richtext/stzh-richtext.d.ts +22 -0
  95. package/dist/types/components/stzh-saptcha/stzh-saptcha.d.ts +28 -0
  96. package/dist/types/components/stzh-scrollup/stzh-scrollup.d.ts +12 -0
  97. package/dist/types/components/stzh-share/stzh-share.d.ts +21 -0
  98. package/dist/types/components/stzh-show/stzh-show.d.ts +22 -0
  99. package/dist/types/components/stzh-sitemap/stzh-sitemap.d.ts +14 -0
  100. package/dist/types/components/stzh-skiplink/stzh-skiplink.d.ts +38 -0
  101. package/dist/types/components/stzh-sortable/stzh-sortable.d.ts +59 -0
  102. package/dist/types/components/stzh-status/stzh-status.d.ts +14 -0
  103. package/dist/types/components/stzh-sticky/stzh-sticky.d.ts +58 -0
  104. package/dist/types/components/stzh-table/stzh-table.d.ts +43 -0
  105. package/dist/types/components/stzh-textandimage/stzh-textandimage.d.ts +14 -0
  106. package/dist/types/components/stzh-timeline/stzh-timeline.d.ts +23 -0
  107. package/dist/types/components/stzh-timeline-item/stzh-timeline-item.d.ts +78 -0
  108. package/dist/types/components/stzh-timepicker/stzh-timepicker.d.ts +62 -0
  109. package/dist/types/components/stzh-toast/stzh-toast.d.ts +39 -0
  110. package/dist/types/components/stzh-toastbar/stzh-toastbar.d.ts +41 -0
  111. package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +59 -0
  112. package/dist/types/components/stzh-tooltip/stzh-tooltip.d.ts +80 -0
  113. package/dist/types/components/stzh-upload/stzh-upload.d.ts +236 -0
  114. package/dist/types/components/stzh-vbz-carousel/stzh-vbz-carousel.d.ts +14 -0
  115. package/dist/types/components/stzh-vbz-linechip/stzh-vbz-linechip.d.ts +37 -0
  116. package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.d.ts +41 -0
  117. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +34 -0
  118. package/dist/types/components/stzh-youtube/stzh-youtube.d.ts +30 -0
  119. package/dist/types/index.d.ts +899 -0
  120. package/dist/types/libraries/tom-select/types/constants.d.ts +12 -0
  121. package/dist/types/libraries/tom-select/types/contrib/highlight.d.ts +13 -0
  122. package/dist/types/libraries/tom-select/types/contrib/microevent.d.ts +20 -0
  123. package/dist/types/libraries/tom-select/types/contrib/microplugin.d.ts +71 -0
  124. package/dist/types/libraries/tom-select/types/defaults.d.ts +51 -0
  125. package/dist/types/libraries/tom-select/types/getSettings.d.ts +3 -0
  126. package/dist/types/libraries/tom-select/types/plugins/caret_position/plugin.d.ts +16 -0
  127. package/dist/types/libraries/tom-select/types/plugins/change_listener/plugin.d.ts +16 -0
  128. package/dist/types/libraries/tom-select/types/plugins/checkbox_options/plugin.d.ts +16 -0
  129. package/dist/types/libraries/tom-select/types/plugins/clear_button/plugin.d.ts +17 -0
  130. package/dist/types/libraries/tom-select/types/plugins/clear_button/types.d.ts +5 -0
  131. package/dist/types/libraries/tom-select/types/plugins/drag_drop/plugin.d.ts +16 -0
  132. package/dist/types/libraries/tom-select/types/plugins/dropdown_header/plugin.d.ts +17 -0
  133. package/dist/types/libraries/tom-select/types/plugins/dropdown_header/types.d.ts +8 -0
  134. package/dist/types/libraries/tom-select/types/plugins/dropdown_input/plugin.d.ts +16 -0
  135. package/dist/types/libraries/tom-select/types/plugins/input_autogrow/plugin.d.ts +15 -0
  136. package/dist/types/libraries/tom-select/types/plugins/no_active_items/plugin.d.ts +15 -0
  137. package/dist/types/libraries/tom-select/types/plugins/no_backspace_delete/plugin.d.ts +15 -0
  138. package/dist/types/libraries/tom-select/types/plugins/optgroup_columns/plugin.d.ts +16 -0
  139. package/dist/types/libraries/tom-select/types/plugins/remove_button/plugin.d.ts +17 -0
  140. package/dist/types/libraries/tom-select/types/plugins/remove_button/types.d.ts +6 -0
  141. package/dist/types/libraries/tom-select/types/plugins/restore_on_backspace/plugin.d.ts +21 -0
  142. package/dist/types/libraries/tom-select/types/plugins/virtual_scroll/plugin.d.ts +16 -0
  143. package/dist/types/libraries/tom-select/types/tom-select.complete.d.ts +2 -0
  144. package/dist/types/libraries/tom-select/types/tom-select.d.ts +596 -0
  145. package/dist/types/libraries/tom-select/types/tom-select.popular.d.ts +2 -0
  146. package/dist/types/libraries/tom-select/types/types/core.d.ts +48 -0
  147. package/dist/types/libraries/tom-select/types/types/index.d.ts +2 -0
  148. package/dist/types/libraries/tom-select/types/types/settings.d.ts +78 -0
  149. package/dist/types/libraries/tom-select/types/utils.d.ts +76 -0
  150. package/dist/types/libraries/tom-select/types/vanilla.d.ts +76 -0
  151. package/dist/types/types/svg.d.ts +4 -0
  152. package/package.json +1 -1
  153. package/dist/vscode-data.json +0 -7511
  154. /package/dist/esm-es5/{app-globals-8bdc0f78.js.map → app-globals-1a77c38b.js.map} +0 -0
  155. /package/dist/stzh-components/{p-0c972915.system.js.map → p-84ae2651.system.js.map} +0 -0
  156. /package/dist/stzh-components/{p-ca32a687.js.map → p-98b60fb7.js.map} +0 -0
@@ -0,0 +1,15 @@
1
+ import { StzhAccordionItemOpenEvent } from "../../index";
2
+ /**
3
+ * @slot - Slot for `stzh-accordion-item` elements
4
+ */
5
+ export declare class StzhAccordion {
6
+ /** Whether folds are collapsible */
7
+ collapsible: boolean;
8
+ /** Whether multiple folds can be opened at once */
9
+ multiselectable: boolean;
10
+ element: HTMLStzhAccordionElement;
11
+ openListener(event: CustomEvent<StzhAccordionItemOpenEvent>): void;
12
+ /** Set focus to accordion item */
13
+ setItemFocus(accordionItem: HTMLStzhAccordionItemElement, action: string): Promise<void>;
14
+ render(): any;
15
+ }
@@ -0,0 +1,73 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { StzhAccordionItemOpenEvent, StzhAccordionItemOpenedEvent, StzhAccordionItemCloseEvent, StzhAccordionItemClosedEvent, StzhAccordionItemFocusEvent, StzhAccordionItemBlurEvent } from "../../index";
3
+ /**
4
+ * @slot - Slot for any content
5
+ * @slot icon - Slot for icon element
6
+ */
7
+ export declare class StzhAccordionItem {
8
+ /** Whether fold is collapsible (overwrites collapsible from timeline parent) */
9
+ collapsible: boolean;
10
+ /** Whether fold is open */
11
+ open: boolean;
12
+ /** Whether fold disabled */
13
+ disabled: boolean;
14
+ /** Heading title */
15
+ heading: string;
16
+ /** Subtitle */
17
+ subtitle: string;
18
+ /** Description */
19
+ description: string;
20
+ /** Icon (use instead of icon slot) */
21
+ icon: string;
22
+ /** Badge */
23
+ badge: string;
24
+ /** Whether badge should be displayed empty */
25
+ badgeEmpty: boolean;
26
+ /** Badge type */
27
+ badgeType: "default" | "success" | "warning" | "error" | "info";
28
+ /** Heading level */
29
+ headingLevel: "1" | "2" | "3" | "4";
30
+ /**
31
+ * For Adobe Analytics.
32
+ * Will be rendered as value of `s-object-id` attribute to the button element.
33
+ * Default value will be taken from `heading` prop.
34
+ */
35
+ analyticsId: string;
36
+ element: HTMLStzhAccordionItemElement;
37
+ /** Open event */
38
+ stzhOpen: EventEmitter<StzhAccordionItemOpenEvent>;
39
+ /** Opened event (after animation) */
40
+ stzhOpened: EventEmitter<StzhAccordionItemOpenedEvent>;
41
+ /** Close event */
42
+ stzhClose: EventEmitter<StzhAccordionItemCloseEvent>;
43
+ /** Closed event (after animation) */
44
+ stzhClosed: EventEmitter<StzhAccordionItemClosedEvent>;
45
+ openWatcher(newValue: boolean): Promise<void>;
46
+ /** Show accordion item content */
47
+ show(): Promise<void>;
48
+ /** Hide accordion item content */
49
+ hide(): Promise<void>;
50
+ /** Toggle accordion item content */
51
+ toggle(): Promise<void>;
52
+ /** Set focus to button */
53
+ setFocus(): Promise<void>;
54
+ /** Focus event */
55
+ stzhFocus: EventEmitter<StzhAccordionItemFocusEvent>;
56
+ /** Input blur event */
57
+ stzhBlur: EventEmitter<StzhAccordionItemBlurEvent>;
58
+ private toggledByMethod;
59
+ private bodyElement;
60
+ private buttonElement;
61
+ private accordionItemId;
62
+ private accordion;
63
+ private handleHeaderClick;
64
+ private onFocus;
65
+ private onBlur;
66
+ private onButtonKeydown;
67
+ private onContentKeydown;
68
+ componentWillLoad(): void;
69
+ componentDidLoad(): void;
70
+ connectedCallback(): Promise<void>;
71
+ disconnectedCallback(): void;
72
+ render(): any;
73
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @slot primary - Slot for primary button
3
+ * @slot secondary - Slot for secondary button
4
+ */
5
+ export declare class StzhActions {
6
+ /** Variant determining what position the action buttons are */
7
+ variant: "form" | "dialog" | "process" | "cta";
8
+ /** With border separator */
9
+ withBorder: boolean;
10
+ element: HTMLStzhActionsElement;
11
+ private observer;
12
+ private init;
13
+ connectedCallback(): void;
14
+ disconnectedCallback(): void;
15
+ render(): any;
16
+ }
@@ -0,0 +1,45 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { StzhActionsetItem, StzhActionsetItemClickEvent } from "../../index";
3
+ import { StzhActionsetLocalizedText } from './stzh-actionset.localization';
4
+ import { Placement } from "@floating-ui/dom";
5
+ /**
6
+ */
7
+ export declare class StzhActionset {
8
+ /** Translation strings */
9
+ localization: StzhActionsetLocalizedText;
10
+ /** Variant determining what position the action buttons are */
11
+ variant: "stack" | "overflow";
12
+ /** Button variant of popover button (button thats holds collapsed actions) */
13
+ popoverButtonVariant: "" | "default" | "secondary" | "input" | "tertiary";
14
+ /** Button size of popover button (button that holds collapsed actions) */
15
+ popoverButtonSize: "" | "default" | "small" | "tiny";
16
+ /** Popover placement of button that holds collapsed actions */
17
+ popoverPlacement: Placement;
18
+ /**
19
+ * Card header actions.
20
+ * Array of objects that can include the button attributes `id`, `variant`, `icon`, `size`, `iconPosition`, `iconOnly`, `label` or `badge`:
21
+ * `[{"id":"action-1", "icon": "alarm-bell", "label": "Lorem"}, {"id":"action-2", "icon": "mail", "label": "Lorem"}]`
22
+ */
23
+ actions: StzhActionsetItem[] | string;
24
+ private _actions;
25
+ /** Header action click event */
26
+ stzhActionClick: EventEmitter<StzhActionsetItemClickEvent>;
27
+ element: HTMLStzhActionsetElement;
28
+ actionsWatcher(newValue: StzhActionsetItem[] | string): void;
29
+ actionsCollapsed: StzhActionsetItem[];
30
+ dynamicActions: boolean;
31
+ isSmall: boolean;
32
+ isMedium: boolean;
33
+ private actionsElement;
34
+ private debounceResize;
35
+ private resizeObserver;
36
+ private actionClick;
37
+ private update;
38
+ private handleResize;
39
+ private mediaChangeHandler;
40
+ componentWillLoad(): Promise<void>;
41
+ connectedCallback(): void;
42
+ disconnectedCallback(): void;
43
+ componentDidLoad(): void;
44
+ render(): any;
45
+ }
@@ -0,0 +1,73 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { StzhAmountChangeEvent } from "../../index";
3
+ import { StzhAmountLocalizedText } from './stzh-amount.localization';
4
+ export declare class StzhAmount {
5
+ /** The lowest allowed amount (can be negative). */
6
+ minValue: number;
7
+ /** The highest allowed amount. */
8
+ maxValue: number;
9
+ /** The lowest amount as option in the dropdown. Needs to be set to initially display a dropdown. */
10
+ minValueDropdown: number | null;
11
+ /** The highest amount as option in the dropdown. Needs to be set to initially display a dropdown. */
12
+ maxValueDropdown: number | null;
13
+ private _showDropdown;
14
+ private _dropdownOptions;
15
+ /** The initial value of the amount element */
16
+ value: string;
17
+ /** The step the amount can be increased or decreased */
18
+ step: number;
19
+ /** Name of the element (hidden select element in case of dropdown) */
20
+ name: string;
21
+ /** Size variant */
22
+ size: "default" | "small";
23
+ /** Whether the amount component is disabled */
24
+ disabled: boolean;
25
+ /** Popover placement for the dropdown (if applicable) */
26
+ popoverPlacement: "bottom" | "bottom-end" | "bottom-center" | "top" | "top-end" | "top-center";
27
+ /** Label */
28
+ label: string;
29
+ /** Whether label is hidden. */
30
+ labelHidden: boolean;
31
+ /** Invalid status */
32
+ invalid: boolean;
33
+ /** Required status */
34
+ required: boolean;
35
+ /** Whether clearable button is showing for the input field (does not apply to dropdown) */
36
+ clearable: boolean;
37
+ /** Show text in label depending on whether field is optional/required */
38
+ showMarker: boolean;
39
+ /** Description placed below the amount */
40
+ description: string;
41
+ /** Long description message appearing in a popover */
42
+ descriptionLong: string;
43
+ /** One or multiple error message(s) */
44
+ error: string | string[];
45
+ /** Id of the element which describes the input */
46
+ a11yDescribedby: string;
47
+ /** Translation strings. */
48
+ localization: StzhAmountLocalizedText;
49
+ minMaxValueDropdownWatcher(): void;
50
+ /** Amount change event */
51
+ stzhChange: EventEmitter<StzhAmountChangeEvent>;
52
+ element: HTMLStzhAmountElement;
53
+ private amountId;
54
+ private stepperInputId;
55
+ private input;
56
+ private onRootFocus;
57
+ /** Fill the dropdown with options according to maxValueDropdown & minValueDropdown. */
58
+ private setDropdownOptions;
59
+ /** Handling dropdown changes (switch to input stepper if the plus option is selected in the dropdown). */
60
+ private onDropdownChange;
61
+ /** Handling the minus button. */
62
+ private onInputMinusStepClick;
63
+ /** Handling the plus button. */
64
+ private onInputPlusStepClick;
65
+ /** Handling manual value change of the stepper input. */
66
+ private onStepperInputChange;
67
+ /** Making sure, that the value is rounded correctly according to the step */
68
+ private roundToStep;
69
+ componentWillLoad(): Promise<void>;
70
+ private renderDropdown;
71
+ private renderInputStepper;
72
+ render(): any;
73
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @slot - Slot for `stzh-link` elements
3
+ */
4
+ export declare class StzhAppnav {
5
+ /** App title shown on tablet/desktop */
6
+ appTitle: string;
7
+ /** Status displayed next to app title (only displayed if `app-title` is defined) */
8
+ appStatus: string;
9
+ /** Link of app title (only used if `app-title` is defined) */
10
+ appHref: string;
11
+ /**
12
+ * For Adobe Analytics.
13
+ * Will be rendered as value of `s-object-id` attribute to the app title link element.
14
+ * Default value will be taken from `appTitle` prop or default slot.
15
+ */
16
+ appAnalyticsId: string;
17
+ element: HTMLStzhAppnavElement;
18
+ private observer;
19
+ private init;
20
+ connectedCallback(): void;
21
+ disconnectedCallback(): void;
22
+ render(): any;
23
+ }
@@ -0,0 +1,73 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { StzhAppointmentsChangeEvent } from "../../index";
3
+ import { StzhLocaleAdapter } from "../../utils/date-adapter";
4
+ import { StzhAppointmentsLocalizedText } from "./stzh-appointments.localization";
5
+ /**
6
+ * @slot - Slot for any content
7
+ */
8
+ export declare class StzhAppointments {
9
+ /** Translation strings */
10
+ localization: StzhAppointmentsLocalizedText;
11
+ /** Sort by */
12
+ sortBy: "start" | "place";
13
+ private _sortBy;
14
+ /** Initial selected values */
15
+ appointments: any[] | string;
16
+ private _appointments;
17
+ private appointmentsShown;
18
+ /** Current selected date (if undefined, earliest appointment date in list is taken or current selected one by value) */
19
+ currentDate: Date | string;
20
+ private _currentDate;
21
+ value: string;
22
+ name: string;
23
+ /** Nr of items shown */
24
+ showItems: number;
25
+ /** Nr of items shown when more link is clicked */
26
+ stepItems: number;
27
+ /** Overwrite default calendar title */
28
+ calendarTitle: string;
29
+ /** Overwrite default appointments title */
30
+ appointmentsTitle: string;
31
+ /**
32
+ * Date adapter, for custom parsing/formatting.
33
+ * Must be object with a `parse` function which accepts a `string` and returns a `Date`,
34
+ * and a `format` function which accepts a `Date` and returns a `string`.
35
+ */
36
+ dateAdapter: StzhLocaleAdapter;
37
+ element: HTMLStzhAppointmentsElement;
38
+ /** Appointments change event */
39
+ stzhChange: EventEmitter<StzhAppointmentsChangeEvent>;
40
+ currentDateWatcher(newValue: Date | string): void;
41
+ sortByWatcher(): void;
42
+ valueWatcher(): void;
43
+ appointmentsWatcher(newValue: any[] | string): void;
44
+ private dateByValue;
45
+ private earliestDate;
46
+ private latestDate;
47
+ private nextDate;
48
+ private showMoreLink;
49
+ private moreItemsLeft;
50
+ private showCalendar;
51
+ private showSort;
52
+ private showSortStart;
53
+ private showSortPlace;
54
+ private showAppointmentsTitle;
55
+ private allAppointsmentOnSameDay;
56
+ private sortOptions;
57
+ private inputElement;
58
+ private datepickerElement;
59
+ private datepickerElementMedium;
60
+ private updateDateByValue;
61
+ private getCurrentDateAppointments;
62
+ private setValueToFirstAppointmentOfCurrentDate;
63
+ private isDateDisabled;
64
+ private onNextActiveDateClick;
65
+ private onMoreClick;
66
+ private onDropdownChange;
67
+ private onDatepickerChange;
68
+ private onRadioChange;
69
+ componentWillLoad(): Promise<void>;
70
+ componentWillRender(): void;
71
+ componentDidRender(): void;
72
+ render(): any;
73
+ }
@@ -0,0 +1,58 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { StzhAudioPlayEvent, StzhAudioPlayingEvent, StzhAudioPauseEvent, StzhAudioReplayEvent, StzhAudioEndEvent, StzhAudioEndedEvent, StzhAudioErrorEvent } from "../../index";
3
+ import "@vidstack/player/dist/prod/define/vds-media.js";
4
+ import "@vidstack/player/dist/prod/define/vds-audio.js";
5
+ import "@vidstack/player/dist/prod/define/vds-play-button.js";
6
+ import "@vidstack/player/dist/prod/define/vds-mute-button.js";
7
+ import "@vidstack/player/dist/prod/define/vds-time-slider.js";
8
+ import "@vidstack/player/dist/prod/define/vds-volume-slider.js";
9
+ import "@vidstack/player/dist/prod/define/vds-slider-value-text.js";
10
+ import "@vidstack/player/dist/prod/define/vds-time.js";
11
+ import { StzhAudioLocalizedText } from './stzh-audio.localization';
12
+ /**
13
+ * @slot transcript - Slot for transcript text
14
+ */
15
+ export declare class StzhAudio {
16
+ /** Translation strings */
17
+ localization: StzhAudioLocalizedText;
18
+ /** Path to audio file */
19
+ src: string;
20
+ /** Preload strategy */
21
+ preload: "none" | "metadata" | "auto";
22
+ /** Transcript text (alternative for slot) */
23
+ transcript: string;
24
+ /** Whether transcript should be shown */
25
+ transcriptShown: boolean;
26
+ /**
27
+ * For Adobe Analytics.
28
+ * Will be rendered as value of `s-object-id` attribute to the download link element.
29
+ * Default value will be taken from translations.
30
+ */
31
+ downloadAnalyticsId: string;
32
+ /**
33
+ * For Adobe Analytics.
34
+ * Will be rendered as value of `s-object-id` attribute to the transcript button element.
35
+ * Default value will be taken from translations.
36
+ */
37
+ transcriptAnalyticsId: string;
38
+ /** Fired when the paused property is changed from true to false, as a result of the play() method, or the autoplay attribute. */
39
+ stzhPlay: EventEmitter<StzhAudioPlayEvent>;
40
+ /** Fired when playback is ready to start after having been paused or delayed due to lack of data. */
41
+ stzhPlaying: EventEmitter<StzhAudioPlayingEvent>;
42
+ /** Fired when a request to pause an activity is handled and the activity has entered its paused state, most commonly after the media has been paused through a call to the pause() method. */
43
+ stzhPause: EventEmitter<StzhAudioPauseEvent>;
44
+ /** Fired when media playback starts again after being in an ended state. This is fired when the loop property is true and media loops, whereas the vds-play event is not. */
45
+ stzhReplay: EventEmitter<StzhAudioReplayEvent>;
46
+ /** Fired each time media playback has reached the end. This is fired even if the loop property is true, which is generally when you'd reach for this event over the MediaEndedEvent if you want to be notified of media looping. */
47
+ stzhEnd: EventEmitter<StzhAudioEndEvent>;
48
+ /** Fired when playback or streaming has stopped because the end of the media was reached or because no further data is available. This is not fired if playback will start from the beginning again due to the loop property being true (see MediaReplayEvent and MediaEndEvent). */
49
+ stzhEnded: EventEmitter<StzhAudioEndedEvent>;
50
+ /** Fired when media loading or playback has encountered any issues (for example, a network connectivity problem). The event detail contains a potential message containing more information about the error (empty string if nothing available), and a code that identifies the general type of error that occurred. */
51
+ stzhError: EventEmitter<StzhAudioErrorEvent>;
52
+ element: HTMLStzhAudioElement;
53
+ play(): Promise<void>;
54
+ pause(): Promise<void>;
55
+ private vsdAudioElement;
56
+ componentWillLoad(): Promise<void>;
57
+ render(): any;
58
+ }
@@ -0,0 +1,105 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { StzhButtonFocusEvent, StzhButtonBlurEvent, StzhButtonChangeEvent } from "../../index";
3
+ import { StzhLocaleComponent } from "../../utils/translation-utils";
4
+ /**
5
+ * @slot - Slot for label/text content
6
+ * @slot icon - Slot for icon element
7
+ */
8
+ export declare class StzhButton {
9
+ /** Translation strings */
10
+ localization: StzhLocaleComponent;
11
+ /** Display a badge aligned to button or icons */
12
+ badge: string;
13
+ /** Badge type */
14
+ badgeType: "default" | "success" | "warning" | "error" | "info";
15
+ /** Badge position */
16
+ badgePosition: "icon" | "button";
17
+ /** Whether badge should be displayed empty */
18
+ badgeEmpty: boolean;
19
+ /** Whether the button is full width */
20
+ fullwidth: boolean;
21
+ /** Whether the button is rounded */
22
+ rounded: boolean;
23
+ /** Whether the button is floating */
24
+ floating: boolean;
25
+ /** Size variant */
26
+ size: "default" | "small" | "tiny";
27
+ /** Text alignment */
28
+ textAlign: "left" | "center" | "right" | "space-between" | "default";
29
+ /** Variant style */
30
+ variant: "default" | "secondary" | "input" | "tertiary";
31
+ /** Icon (use instead of icon slot) */
32
+ icon: string;
33
+ /** Icon Position */
34
+ iconPosition: "left" | "right";
35
+ /** Checked status (if type is radio) */
36
+ checked: boolean;
37
+ /** The name of the input element (if type is button or radio) */
38
+ name: string;
39
+ /** The value of the input element (if type is button or radio) */
40
+ value: string;
41
+ /** `href` if the button should be used as link */
42
+ href: string;
43
+ /** Rel (if href is used) */
44
+ rel: string;
45
+ /** Target if the button is used as link (if `href` used) */
46
+ target: string;
47
+ /** Download attribute of link (if `href` used) */
48
+ download: string;
49
+ /** Type of the button */
50
+ type: "button" | "submit" | "reset" | "radio";
51
+ /** Whether the button is disabled */
52
+ disabled: boolean;
53
+ /** Whether the button is active */
54
+ active: boolean;
55
+ /** Label */
56
+ label: string;
57
+ /** Effect/Animation used */
58
+ effect: "default" | "cta";
59
+ /** Whether only an icon is used inside the button */
60
+ iconOnly: boolean;
61
+ /** Access key of link (usually a number e.g. 1) */
62
+ linkAccesskey: string;
63
+ /** Accessible label for screen readers to replace visible text */
64
+ a11yLabel: string;
65
+ /** Id for element which describes the button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */
66
+ a11yDescribedby: string;
67
+ /** Aria expanded of link/button */
68
+ a11yExpanded: boolean;
69
+ /** Aria disabled of link/button */
70
+ a11yDisabled: boolean;
71
+ /** Aria controls of link/button */
72
+ a11yControls: string;
73
+ /** Tabindex of link/button */
74
+ a11yTabindex: string;
75
+ /**
76
+ * For Adobe Analytics.
77
+ * Will be rendered as value of `s-object-id` attribute to the link/button element.
78
+ * Default value will be taken from `label` prop or default slot.
79
+ */
80
+ analyticsId: string;
81
+ element: HTMLStzhButtonElement;
82
+ /** Focus button */
83
+ setFocus(): Promise<void>;
84
+ /** Input focus event */
85
+ stzhFocus: EventEmitter<StzhButtonFocusEvent>;
86
+ /** Input blur event */
87
+ stzhBlur: EventEmitter<StzhButtonBlurEvent>;
88
+ /** Change event (only called if type is radio) */
89
+ stzhChange: EventEmitter<StzhButtonChangeEvent>;
90
+ private button;
91
+ private input;
92
+ private text;
93
+ private focusedByInput;
94
+ private onInput;
95
+ private onRootFocus;
96
+ private onFocus;
97
+ private onBlur;
98
+ private onClick;
99
+ private renderIcon;
100
+ private renderContent;
101
+ private renderInner;
102
+ componentWillLoad(): Promise<void>;
103
+ componentDidRender(): void;
104
+ render(): any;
105
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @slot - Slot for buttons
3
+ */
4
+ export declare class StzhButtongroup {
5
+ element: HTMLStzhButtongroupElement;
6
+ render(): any;
7
+ }
@@ -0,0 +1,88 @@
1
+ import { ComponentInterface, EventEmitter } from "../../stencil-public-runtime";
2
+ import { DaysOfWeek } from "../../utils/date-utils";
3
+ import { StzhCalendarChangeEvent } from "../../index";
4
+ import { StzhCalendarDateDisabledPredicate } from "../../index";
5
+ import { StzhCalendarLocalizedText } from "./stzh-calendar.localization";
6
+ export declare class StzhCalendar implements ComponentInterface {
7
+ /** Date value. Must be in IS0-8601 format: YYYY-MM-DD. */
8
+ value: string;
9
+ /**
10
+ * Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.
11
+ * This setting can be used alone or together with the max property.
12
+ */
13
+ min: string;
14
+ /**
15
+ * Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.
16
+ * This setting can be used alone or together with the min property.
17
+ */
18
+ max: string;
19
+ /**
20
+ * Which day is considered first day of the week? `0` for Sunday, `1` for Monday, etc.
21
+ * Default is Monday.
22
+ */
23
+ firstDayOfWeek: DaysOfWeek;
24
+ /** Day names, month names, etc, used for localization. */
25
+ localization: StzhCalendarLocalizedText;
26
+ /**
27
+ * Controls which days are disabled and therefore disallowed.
28
+ * For example, this can be used to disallow selection of weekends.
29
+ */
30
+ isDateDisabled: StzhCalendarDateDisabledPredicate;
31
+ /**
32
+ * For Adobe Analytics.
33
+ * Will be rendered as value of `s-object-id` attribute to the previous month button element.
34
+ * Default value will be taken from translations.
35
+ */
36
+ prevMonthAnalyticsId: string;
37
+ /**
38
+ * For Adobe Analytics.
39
+ * Will be rendered as value of `s-object-id` attribute to the next month button element.
40
+ * Default value will be taken from translations.
41
+ */
42
+ nextMonthAnalyticsId: string;
43
+ activeFocus: boolean;
44
+ focusedDay: Date;
45
+ /** Event emitted when a date is selected. */
46
+ stzhChange: EventEmitter<StzhCalendarChangeEvent>;
47
+ createDateFormatters(): void;
48
+ valueWatcher(newValue: string): void;
49
+ /** Set focused day element by a JS Date object */
50
+ setFocusedDay(day: Date): Promise<void>;
51
+ /** Set value by a JS Date object */
52
+ setDate(date: Date): Promise<void>;
53
+ element: HTMLStzhCalendarElement;
54
+ private monthSelectId;
55
+ private yearSelectId;
56
+ private dialogLabelId;
57
+ private initialTouchX;
58
+ private initialTouchY;
59
+ /**
60
+ * To format dates exclusively for the benefit of screen readers.
61
+ *
62
+ * We prefer DateTimeFormat over date.toLocaleDateString, as the former has
63
+ * better performance when formatting large number of dates. See:
64
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString#Performance
65
+ */
66
+ private dateFormatShort;
67
+ private enableActiveFocus;
68
+ private disableActiveFocus;
69
+ private addDays;
70
+ private addMonths;
71
+ private addYears;
72
+ private startOfWeek;
73
+ private endOfWeek;
74
+ private setMonth;
75
+ private setYear;
76
+ private handleTouchStart;
77
+ private handleTouchEnd;
78
+ private handleNextMonthClick;
79
+ private handlePreviousMonthClick;
80
+ private handleKeyboardNavigation;
81
+ private handleDaySelect;
82
+ private handleMonthSelect;
83
+ private handleYearSelect;
84
+ private processFocusedDayNode;
85
+ componentWillLoad(): Promise<void>;
86
+ connectedCallback(): void;
87
+ render(): any;
88
+ }