@dso-toolkit/core 62.0.0 → 62.2.0
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.
- package/dist/cjs/dso-accordion-section.cjs.entry.js +39 -27
- package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-alert_5.cjs.entry.js +16 -7
- package/dist/cjs/dso-alert_5.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-output_3.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-date-picker.cjs.entry.js +8 -8
- package/dist/cjs/dso-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-expandable.cjs.entry.js +4 -0
- package/dist/cjs/dso-expandable.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-header.cjs.entry.js +4 -2
- package/dist/cjs/dso-header.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
- package/dist/cjs/dso-highlight-box.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-logo.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +32 -49
- package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/accordion/components/accordion-section.interfaces.js.map +1 -1
- package/dist/collection/components/accordion/components/accordion-section.js +129 -9
- package/dist/collection/components/accordion/components/accordion-section.js.map +1 -1
- package/dist/collection/components/date-picker/date-utils.js +8 -8
- package/dist/collection/components/date-picker/date-utils.js.map +1 -1
- package/dist/collection/components/document-component/document-component.js +36 -12
- package/dist/collection/components/document-component/document-component.js.map +1 -1
- package/dist/collection/components/document-component/document-component.models.js.map +1 -1
- package/dist/collection/components/expandable/expandable.js +25 -1
- package/dist/collection/components/expandable/expandable.js.map +1 -1
- package/dist/collection/components/header/header.css +20 -38
- package/dist/collection/components/header/header.interfaces.js.map +1 -1
- package/dist/collection/components/header/header.js +40 -3
- package/dist/collection/components/header/header.js.map +1 -1
- package/dist/collection/components/highlight-box/highlight-box.css +1 -0
- package/dist/collection/components/logo/logo.js +1 -1
- package/dist/collection/components/logo/logo.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content-mapper.js +15 -5
- package/dist/collection/components/ozon-content/ozon-content-mapper.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content.interfaces.js.map +1 -1
- package/dist/collection/components/ozon-content/ozon-content.js +11 -6
- package/dist/collection/components/ozon-content/ozon-content.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/document-panel.js +2 -2
- package/dist/collection/components/viewer-grid/components/document-panel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/main-panel.js +4 -3
- package/dist/collection/components/viewer-grid/components/main-panel.js.map +1 -1
- package/dist/collection/components/viewer-grid/components/sizing-buttons.js +4 -0
- package/dist/collection/components/viewer-grid/components/sizing-buttons.js.map +1 -0
- package/dist/collection/components/viewer-grid/viewer-grid.css +2 -97
- package/dist/collection/components/viewer-grid/viewer-grid.js +3 -9
- package/dist/collection/components/viewer-grid/viewer-grid.js.map +1 -1
- package/dist/components/attachments-counter.js +41 -0
- package/dist/components/attachments-counter.js.map +1 -0
- package/dist/components/document-component.js.map +1 -1
- package/dist/components/dso-accordion-section.js +50 -31
- package/dist/components/dso-accordion-section.js.map +1 -1
- package/dist/components/dso-attachments-counter.js +1 -37
- package/dist/components/dso-attachments-counter.js.map +1 -1
- package/dist/components/dso-date-picker.js +8 -8
- package/dist/components/dso-date-picker.js.map +1 -1
- package/dist/components/dso-header.js +6 -2
- package/dist/components/dso-header.js.map +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-highlight-box.js.map +1 -1
- package/dist/components/dso-logo.js.map +1 -1
- package/dist/components/dso-viewer-grid.js +32 -49
- package/dist/components/dso-viewer-grid.js.map +1 -1
- package/dist/components/expandable.js +4 -0
- package/dist/components/expandable.js.map +1 -1
- package/dist/components/ozon-content.js +16 -7
- package/dist/components/ozon-content.js.map +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js.map +1 -1
- package/dist/dso-toolkit/p-000f7731.entry.js +2 -0
- package/dist/dso-toolkit/p-000f7731.entry.js.map +1 -0
- package/dist/dso-toolkit/p-18152675.entry.js +2 -0
- package/dist/dso-toolkit/p-18152675.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-432df09a.entry.js → p-2719a53a.entry.js} +2 -2
- package/dist/dso-toolkit/p-2719a53a.entry.js.map +1 -0
- package/dist/dso-toolkit/{p-7d90b3b2.entry.js → p-4239e3d6.entry.js} +2 -2
- package/dist/dso-toolkit/p-4239e3d6.entry.js.map +1 -0
- package/dist/dso-toolkit/p-47e77e24.entry.js.map +1 -1
- package/dist/dso-toolkit/p-4e04b39f.entry.js +2 -0
- package/dist/dso-toolkit/p-4e04b39f.entry.js.map +1 -0
- package/dist/dso-toolkit/p-6dfe9062.entry.js.map +1 -1
- package/dist/dso-toolkit/p-753b5aa8.entry.js +2 -0
- package/dist/dso-toolkit/p-753b5aa8.entry.js.map +1 -0
- package/dist/dso-toolkit/p-7edafced.entry.js +2 -0
- package/dist/dso-toolkit/p-7edafced.entry.js.map +1 -0
- package/dist/esm/dso-accordion-section.entry.js +40 -28
- package/dist/esm/dso-accordion-section.entry.js.map +1 -1
- package/dist/esm/dso-alert_5.entry.js +16 -7
- package/dist/esm/dso-alert_5.entry.js.map +1 -1
- package/dist/esm/dso-annotation-output_3.entry.js.map +1 -1
- package/dist/esm/dso-date-picker.entry.js +8 -8
- package/dist/esm/dso-date-picker.entry.js.map +1 -1
- package/dist/esm/dso-expandable.entry.js +4 -0
- package/dist/esm/dso-expandable.entry.js.map +1 -1
- package/dist/esm/dso-header.entry.js +4 -2
- package/dist/esm/dso-header.entry.js.map +1 -1
- package/dist/esm/dso-highlight-box.entry.js +1 -1
- package/dist/esm/dso-highlight-box.entry.js.map +1 -1
- package/dist/esm/dso-logo.entry.js.map +1 -1
- package/dist/esm/dso-toolkit.js +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +32 -49
- package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/accordion/components/accordion-section.d.ts +15 -1
- package/dist/types/components/accordion/components/accordion-section.interfaces.d.ts +11 -1
- package/dist/types/components/document-component/document-component.d.ts +5 -5
- package/dist/types/components/document-component/document-component.models.d.ts +1 -0
- package/dist/types/components/expandable/expandable.d.ts +7 -1
- package/dist/types/components/header/header.d.ts +12 -1
- package/dist/types/components/header/header.interfaces.d.ts +1 -1
- package/dist/types/components/logo/logo.d.ts +1 -1
- package/dist/types/components/ozon-content/ozon-content-mapper.d.ts +4 -2
- package/dist/types/components/ozon-content/ozon-content.d.ts +2 -2
- package/dist/types/components/ozon-content/ozon-content.interfaces.d.ts +1 -0
- package/dist/types/components/viewer-grid/components/main-panel.d.ts +0 -1
- package/dist/types/components/viewer-grid/components/sizing-buttons.d.ts +10 -0
- package/dist/types/components/viewer-grid/viewer-grid.d.ts +0 -2
- package/dist/types/components.d.ts +61 -25
- package/package.json +2 -2
- package/dist/collection/components/accordion/components/handles/element.handle.js +0 -8
- package/dist/collection/components/accordion/components/handles/element.handle.js.map +0 -1
- package/dist/collection/components/accordion/components/handles/heading.handle.js +0 -15
- package/dist/collection/components/accordion/components/handles/heading.handle.js.map +0 -1
- package/dist/collection/components/accordion/components/handles/icon.handle.js +0 -14
- package/dist/collection/components/accordion/components/handles/icon.handle.js.map +0 -1
- package/dist/collection/components/accordion/components/handles/index.js +0 -5
- package/dist/collection/components/accordion/components/handles/index.js.map +0 -1
- package/dist/collection/components/accordion/components/handles/state-icon.handle.js +0 -19
- package/dist/collection/components/accordion/components/handles/state-icon.handle.js.map +0 -1
- package/dist/dso-toolkit/p-04662263.entry.js +0 -2
- package/dist/dso-toolkit/p-04662263.entry.js.map +0 -1
- package/dist/dso-toolkit/p-432df09a.entry.js.map +0 -1
- package/dist/dso-toolkit/p-6b42f0cc.entry.js +0 -2
- package/dist/dso-toolkit/p-6b42f0cc.entry.js.map +0 -1
- package/dist/dso-toolkit/p-7d90b3b2.entry.js.map +0 -1
- package/dist/dso-toolkit/p-a7186c03.entry.js +0 -2
- package/dist/dso-toolkit/p-a7186c03.entry.js.map +0 -1
- package/dist/dso-toolkit/p-c47aea93.entry.js +0 -2
- package/dist/dso-toolkit/p-c47aea93.entry.js.map +0 -1
- package/dist/dso-toolkit/p-dbea5bbd.entry.js +0 -2
- package/dist/dso-toolkit/p-dbea5bbd.entry.js.map +0 -1
- package/dist/types/components/accordion/components/handles/element.handle.d.ts +0 -6
- package/dist/types/components/accordion/components/handles/heading.handle.d.ts +0 -6
- package/dist/types/components/accordion/components/handles/icon.handle.d.ts +0 -7
- package/dist/types/components/accordion/components/handles/index.d.ts +0 -4
- package/dist/types/components/accordion/components/handles/state-icon.handle.d.ts +0 -5
package/dist/esm/loader.js
CHANGED
|
@@ -3,7 +3,7 @@ export { s as setNonce } from './index-f82ed648.js';
|
|
|
3
3
|
|
|
4
4
|
const defineCustomElements = (win, options) => {
|
|
5
5
|
if (typeof window === 'undefined') return undefined;
|
|
6
|
-
return bootstrapLazy([["dsot-document-component-demo",[[2,"dsot-document-component-demo",{"showCanvas":[516,"show-canvas"],"jsonFile":[1,"json-file"],"openDefault":[4,"open-default"],"response":[32],"openOrClosed":[32],"openedAnnotation":[32],"filtered":[32],"notApplicable":[32],"activeAnnotationSelectables":[32]}]]],["dso-map-base-layers",[[1,"dso-map-base-layers",{"group":[1],"baseLayers":[16]}]]],["dso-map-overlays",[[1,"dso-map-overlays",{"group":[1],"overlays":[16]}]]],["dso-
|
|
6
|
+
return bootstrapLazy([["dsot-document-component-demo",[[2,"dsot-document-component-demo",{"showCanvas":[516,"show-canvas"],"jsonFile":[1,"json-file"],"openDefault":[4,"open-default"],"response":[32],"openOrClosed":[32],"openedAnnotation":[32],"filtered":[32],"notApplicable":[32],"activeAnnotationSelectables":[32]}]]],["dso-map-base-layers",[[1,"dso-map-base-layers",{"group":[1],"baseLayers":[16]}]]],["dso-map-overlays",[[1,"dso-map-overlays",{"group":[1],"overlays":[16]}]]],["dso-accordion-section",[[1,"dso-accordion-section",{"handleTitle":[1,"handle-title"],"heading":[1],"handleUrl":[1,"handle-url"],"status":[1],"attachmentCount":[2,"attachment-count"],"icon":[1],"statusDescription":[1,"status-description"],"open":[516],"hasNestedAccordion":[516,"has-nested-accordion"],"hover":[32],"focusHandle":[64]}]]],["dso-toggletip",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-header",[[6,"dso-header",{"mainMenu":[16],"useDropDownMenu":[1,"use-drop-down-menu"],"authStatus":[1,"auth-status"],"loginUrl":[1,"login-url"],"logoutUrl":[1,"logout-url"],"showHelp":[4,"show-help"],"helpUrl":[1,"help-url"],"userProfileName":[1,"user-profile-name"],"userProfileUrl":[1,"user-profile-url"],"userHomeUrl":[1,"user-home-url"],"userHomeActive":[4,"user-home-active"],"showDropDown":[32],"overflowMenuItems":[32],"dropdownOptionsOffset":[32]}]]],["dso-map-controls",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32],"toggleVisibility":[64]}]]],["dso-modal",[[1,"dso-modal",{"fullscreen":[516],"modalTitle":[1,"modal-title"],"role":[1],"showCloseButton":[4,"show-close-button"],"ariaId":[32],"hasFooter":[32]}]]],["dso-pagination",[[1,"dso-pagination",{"totalPages":[2,"total-pages"],"currentPage":[2,"current-page"],"formatHref":[16],"availablePositions":[32]},[[0,"dsoSizeChange","sizeChangeHandler"]]]]],["dso-tree-view",[[1,"dso-tree-view",{"collection":[16],"focusItem":[64]}]]],["dso-action-list-item",[[1,"dso-action-list-item",{"step":[2],"itemTitle":[1,"item-title"],"flowLine":[4,"flow-line"],"warning":[4],"divider":[4]}]]],["dso-autosuggest",[[6,"dso-autosuggest",{"suggestions":[16],"loading":[4],"loadingLabel":[1,"loading-label"],"loadingDelayed":[2,"loading-delayed"],"notFoundLabel":[1,"not-found-label"],"suggestOnFocus":[4,"suggest-on-focus"],"showSuggestions":[32],"selectedSuggestion":[32],"notFound":[32],"showLoading":[32]},[[4,"click","onDocumentClick"]]]]],["dso-helpcenter-panel",[[1,"dso-helpcenter-panel",{"label":[1],"url":[1],"visibility":[32],"isOpen":[32],"slideState":[32],"loadIframe":[32]},[[8,"keydown","keyDownListener"]]]]],["dso-image-overlay",[[1,"dso-image-overlay",{"active":[32],"zoomable":[32]},[[2,"load","loadListener"]]]]],["dso-list-button",[[1,"dso-list-button",{"label":[1],"sublabel":[1],"count":[2],"min":[8],"max":[8],"checked":[516],"disabled":[516],"manual":[4],"manualInputWrapperElement":[32],"manualCount":[32]}]]],["dso-table",[[1,"dso-table",{"noModal":[516,"no-modal"],"isResponsive":[516,"is-responsive"],"modalActive":[32],"placeholderHeight":[32]}]]],["dso-accordion",[[1,"dso-accordion",{"variant":[513],"reverseAlign":[516,"reverse-align"],"_getState":[64]}]]],["dso-action-list",[[1,"dso-action-list",{"listTitle":[1,"list-title"]}]]],["dso-banner",[[1,"dso-banner",{"status":[513],"compact":[4],"noIcon":[4,"no-icon"]}]]],["dso-card",[[1,"dso-card",{"isSelectable":[516,"is-selectable"],"hasImage":[516,"has-image"],"clickable":[4],"imageShape":[513,"image-shape"]}]]],["dso-card-container",[[1,"dso-card-container",{"mode":[513]}]]],["dso-date-picker",[[2,"dso-date-picker",{"name":[1],"identifier":[1],"disabled":[516],"required":[516],"invalid":[516],"describedBy":[1,"described-by"],"dsoAutofocus":[4,"dso-autofocus"],"value":[513],"min":[1],"max":[1]}]]],["dso-highlight-box",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-logo",[[1,"dso-logo",{"label":[1],"ribbon":[1]}]]],["dso-progress-bar",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-viewer-grid",[[1,"dso-viewer-grid",{"mode":[513],"filterpanelOpen":[516,"filterpanel-open"],"overlayOpen":[516,"overlay-open"],"documentPanelOpen":[516,"document-panel-open"],"mainSize":[513,"main-size"],"activeTab":[1,"active-tab"],"documentPanelSize":[513,"document-panel-size"],"mainPanelExpanded":[4,"main-panel-expanded"],"mainPanelHidden":[4,"main-panel-hidden"],"tabView":[32],"_checkMainPanelVisibility":[64]}]]],["dso-attachments-counter",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-dropdown-menu",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"dropdownOptionsOffset":[2,"dropdown-options-offset"],"checkable":[4],"boundary":[1],"placement":[1],"strategy":[1]}]]],["dso-progress-indicator",[[1,"dso-progress-indicator",{"label":[1],"size":[513],"block":[4]}]]],["dso-scrollable",[[1,"dso-scrollable",{"scrollPosition":[32],"_setScrollState":[64]}]]],["dso-expandable",[[1,"dso-expandable",{"open":[516],"enableAnimation":[4,"enable-animation"],"minimumHeight":[2,"minimum-height"],"animationReady":[32]}]]],["dso-responsive-element",[[1,"dso-responsive-element",{"sizeAlias":[32],"sizeWidth":[32],"getSize":[64]}]]],["dso-info-button",[[1,"dso-info-button",{"active":[1540],"secondary":[4],"label":[1],"hover":[32],"setFocus":[64]}]]],["dso-tooltip",[[1,"dso-tooltip",{"descriptive":[516],"position":[1],"strategy":[1],"noArrow":[4,"no-arrow"],"stateless":[4],"small":[4],"active":[1540],"hidden":[32],"activate":[64],"deactivate":[64]}]]],["dso-icon",[[1,"dso-icon",{"icon":[1]}]]],["dso-info_2",[[6,"dso-selectable",{"type":[1],"identifier":[1],"name":[1],"value":[1],"invalid":[4],"describedById":[1,"described-by-id"],"labelledById":[1,"labelled-by-id"],"disabled":[4],"required":[4],"checked":[4],"indeterminate":[4],"infoFixed":[4,"info-fixed"],"infoActive":[32],"keyboardFocus":[32],"toggleInfo":[64]}],[1,"dso-info",{"fixed":[516],"active":[516]}]]],["dso-alert_5",[[1,"dso-label",{"compact":[4],"removable":[4],"status":[1],"truncate":[4],"removeHover":[32],"removeFocus":[32],"textHover":[32],"textFocus":[32],"isTruncated":[32],"labelText":[32],"_truncateLabel":[64]},[[4,"keydown","keyDownListener"]]],[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}],[0,"dso-annotation-button",{"identifier":[1],"open":[4]}],[1,"dso-badge",{"status":[1]}],[1,"dso-ozon-content",{"content":[1],"inline":[516],"state":[32]}]]],["dso-annotation-output_3",[[1,"dso-document-component",{"heading":[1],"label":[1],"nummer":[1],"opschrift":[1],"inhoud":[1],"open":[516],"filtered":[516],"notApplicable":[516,"not-applicable"],"genesteOntwerpInformatie":[516,"geneste-ontwerp-informatie"],"bevatOntwerpInformatie":[516,"bevat-ontwerp-informatie"],"annotated":[516],"gereserveerd":[4],"vervallen":[4],"openAnnotation":[4,"open-annotation"],"alternativeTitle":[1,"alternative-title"],"type":[513],"wijzigactie":[513]}],[4,"dso-annotation-output",{"identifier":[513],"annotationPrefix":[513,"annotation-prefix"],"open":[516]}],[4,"dso-slide-toggle",{"checked":[4],"disabled":[4],"accessibleLabel":[1,"accessible-label"],"labelledbyId":[1,"labelledby-id"],"identifier":[1],"hasVisibleLabel":[32]}]]]], options);
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
export { defineCustomElements };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { AccordionHeading, AccordionSectionAnimationEndEvent, AccordionSectionState, AccordionSectionToggleClickEvent } from "./accordion-section.interfaces";
|
|
2
|
+
import { AccordionHeading, AccordionSectionAnimationEndEvent, AccordionSectionState, AccordionSectionToggleClickEvent, AccordionSectionAnimationStartEvent } from "./accordion-section.interfaces";
|
|
3
3
|
export declare class AccordionSection implements ComponentInterface {
|
|
4
4
|
private accordionState?;
|
|
5
5
|
private sectionBody?;
|
|
@@ -37,21 +37,35 @@ export declare class AccordionSection implements ComponentInterface {
|
|
|
37
37
|
* Set the Accordion Section open.
|
|
38
38
|
*/
|
|
39
39
|
open: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Set when this Accordion Section contains or will contain an Accordion.
|
|
42
|
+
*/
|
|
40
43
|
hasNestedAccordion: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Calling this method will set focus to the handle.
|
|
46
|
+
*/
|
|
47
|
+
focusHandle(): Promise<void>;
|
|
41
48
|
hover: boolean;
|
|
49
|
+
get containsNestedAccordion(): boolean;
|
|
42
50
|
componentWillLoad(): void;
|
|
43
51
|
get isNeutral(): boolean;
|
|
44
52
|
private scrollIntoView;
|
|
45
53
|
private get accordion();
|
|
46
54
|
private handleClick;
|
|
55
|
+
private handleExpandableAnimationStart;
|
|
47
56
|
private handleExpandableAnimationEnd;
|
|
48
57
|
/**
|
|
49
58
|
* Emitted when the user activates the toggle button.
|
|
50
59
|
*/
|
|
51
60
|
dsoToggleClick: EventEmitter<AccordionSectionToggleClickEvent>;
|
|
61
|
+
/**
|
|
62
|
+
* Event emitted when the Accordion Section starts its toggle animation.
|
|
63
|
+
*/
|
|
64
|
+
dsoAnimationStart: EventEmitter<AccordionSectionAnimationStartEvent>;
|
|
52
65
|
/**
|
|
53
66
|
* Event emitted when the Accordion Section completes its toggle animation.
|
|
54
67
|
*/
|
|
55
68
|
dsoAnimationEnd: EventEmitter<AccordionSectionAnimationEndEvent>;
|
|
69
|
+
private handleElementRef?;
|
|
56
70
|
render(): any;
|
|
57
71
|
}
|
|
@@ -13,11 +13,21 @@ export interface AccordionSectionToggleClickEvent {
|
|
|
13
13
|
*/
|
|
14
14
|
open: boolean;
|
|
15
15
|
}
|
|
16
|
+
export interface AccordionSectionAnimationStartEvent {
|
|
17
|
+
/**
|
|
18
|
+
* Helper function to scroll the Accordion Section into view.
|
|
19
|
+
*/
|
|
20
|
+
scrollIntoView(behavior?: ScrollBehavior): void;
|
|
21
|
+
/**
|
|
22
|
+
* Whether or not the Accordion opening or closing.
|
|
23
|
+
*/
|
|
24
|
+
animation: "opening" | "closing";
|
|
25
|
+
}
|
|
16
26
|
export interface AccordionSectionAnimationEndEvent {
|
|
17
27
|
/**
|
|
18
28
|
* Helper function to scroll the Accordion Section into view.
|
|
19
29
|
*/
|
|
20
|
-
scrollIntoView(): void;
|
|
30
|
+
scrollIntoView(behavior?: ScrollBehavior): void;
|
|
21
31
|
/**
|
|
22
32
|
* The state of the Accordion Section after animation.
|
|
23
33
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import { DocumentComponentOpenToggleEvent, DocumentComponentToggleAnnotationEvent, DocumentComponentOzonContentAnchorClickEvent, DocumentComponentWijzigactie } from "./document-component.models";
|
|
2
|
+
import { DocumentComponentOpenToggleEvent, DocumentComponentToggleAnnotationEvent, DocumentComponentOzonContentAnchorClickEvent, DocumentComponentWijzigactie, DocumentComponentInputType } from "./document-component.models";
|
|
3
3
|
export declare class DocumentComponent implements ComponentInterface {
|
|
4
4
|
/**
|
|
5
5
|
* The heading element to use.
|
|
@@ -8,19 +8,19 @@ export declare class DocumentComponent implements ComponentInterface {
|
|
|
8
8
|
/**
|
|
9
9
|
* The Label XML.
|
|
10
10
|
*/
|
|
11
|
-
label?:
|
|
11
|
+
label?: DocumentComponentInputType;
|
|
12
12
|
/**
|
|
13
13
|
* The Nummer XML.
|
|
14
14
|
*/
|
|
15
|
-
nummer?:
|
|
15
|
+
nummer?: DocumentComponentInputType;
|
|
16
16
|
/**
|
|
17
17
|
* The Opschrift XML.
|
|
18
18
|
*/
|
|
19
|
-
opschrift?:
|
|
19
|
+
opschrift?: DocumentComponentInputType;
|
|
20
20
|
/**
|
|
21
21
|
* The Inhoud XML.
|
|
22
22
|
*/
|
|
23
|
-
inhoud?:
|
|
23
|
+
inhoud?: DocumentComponentInputType;
|
|
24
24
|
/**
|
|
25
25
|
* This boolean attribute indicates whether the children are visible.
|
|
26
26
|
*/
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export interface ExpandableAnimationStartEvent {
|
|
3
|
+
}
|
|
2
4
|
export interface ExpandableAnimationEndEvent {
|
|
3
5
|
bodyHeight: number | undefined;
|
|
4
6
|
}
|
|
@@ -23,7 +25,11 @@ export declare class Expandable implements ComponentInterface {
|
|
|
23
25
|
toggleOpen(): void;
|
|
24
26
|
toggleEnableAnimation(enableAnimation: boolean): void;
|
|
25
27
|
/**
|
|
26
|
-
* Fired
|
|
28
|
+
* Fired before expanding.
|
|
29
|
+
*/
|
|
30
|
+
dsoExpandableAnimationStart: EventEmitter<ExpandableAnimationStartEvent>;
|
|
31
|
+
/**
|
|
32
|
+
* Fired after expanding.
|
|
27
33
|
*/
|
|
28
34
|
dsoExpandableAnimationEnd: EventEmitter<ExpandableAnimationEndEvent>;
|
|
29
35
|
componentDidLoad(): void;
|
|
@@ -17,13 +17,24 @@ export declare class Header {
|
|
|
17
17
|
*/
|
|
18
18
|
authStatus: "none" | "loggedIn" | "loggedOut";
|
|
19
19
|
/**
|
|
20
|
-
* When the `authStatus` is `loggedOut` a loginUrl can be provided
|
|
20
|
+
* When the `authStatus` is `loggedOut` a loginUrl can be provided.
|
|
21
|
+
* The login button will then render as an anchor.
|
|
21
22
|
*/
|
|
22
23
|
loginUrl?: string;
|
|
23
24
|
/**
|
|
24
25
|
* The URL to open when the user activates "logout".
|
|
26
|
+
* If no URL is specified, a button element is used instead.
|
|
25
27
|
*/
|
|
26
28
|
logoutUrl?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Show a help-button or link in the header
|
|
31
|
+
*/
|
|
32
|
+
showHelp?: boolean | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The URL to open when the user activates "help".
|
|
35
|
+
* If no URL is specified, a button element is used instead.
|
|
36
|
+
*/
|
|
37
|
+
helpUrl?: string;
|
|
27
38
|
/**
|
|
28
39
|
* The name to show when the user is logged in.
|
|
29
40
|
*/
|
|
@@ -3,7 +3,7 @@ export interface HeaderMenuItem {
|
|
|
3
3
|
url: string;
|
|
4
4
|
active?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export type HeaderNavigationType = "menuItem" | "profile" | "logout" | "login" | "userHome";
|
|
6
|
+
export type HeaderNavigationType = "menuItem" | "profile" | "logout" | "login" | "userHome" | "help";
|
|
7
7
|
export interface HeaderClickEvent {
|
|
8
8
|
originalEvent: MouseEvent;
|
|
9
9
|
type: HeaderNavigationType;
|
|
@@ -7,7 +7,7 @@ export declare class Logo implements ComponentInterface {
|
|
|
7
7
|
label?: string;
|
|
8
8
|
/**
|
|
9
9
|
* The ribbon contains the text for a possible 'sticker' on top of the logo.
|
|
10
|
-
* Used to clarify
|
|
10
|
+
* Used to clarify the (non-production) server environment ("int", "kta", "pfm", "pre", or "dmo")
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
13
|
ribbon?: string;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { JSX } from "../../stencil-public-runtime";
|
|
2
2
|
import { OzonContentContext } from "./ozon-content-context.interface";
|
|
3
|
+
import { OzonContentInputType } from "./ozon-content.interfaces";
|
|
3
4
|
export declare class Mapper {
|
|
4
5
|
private mappers;
|
|
5
6
|
private skip;
|
|
6
7
|
private fallbackNode;
|
|
7
|
-
private domParser
|
|
8
|
+
private domParser?;
|
|
8
9
|
private findMapper;
|
|
9
10
|
mapNodeToJsx(node: Node | Node[] | NodeList, context: OzonContentContext, path: Node[]): JSX.Element;
|
|
10
|
-
transform(
|
|
11
|
+
transform(input: OzonContentInputType | undefined, context: OzonContentContext): JSX.Element;
|
|
12
|
+
private inputToXmlDocument;
|
|
11
13
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter, JSX } from "../../stencil-public-runtime";
|
|
2
|
-
import { OzonContentAnchorClickEvent } from "./ozon-content.interfaces";
|
|
2
|
+
import { OzonContentAnchorClickEvent, OzonContentInputType } from "./ozon-content.interfaces";
|
|
3
3
|
import { OzonContentNodeState } from "./ozon-content-node-state.interface";
|
|
4
4
|
export declare class OzonContent implements ComponentInterface {
|
|
5
5
|
/**
|
|
6
6
|
* The XML to be rendered.
|
|
7
7
|
*/
|
|
8
|
-
content
|
|
8
|
+
content?: OzonContentInputType;
|
|
9
9
|
/**
|
|
10
10
|
* Setting this property creates dso-ozon-content as inline element instead of a block element.
|
|
11
11
|
*/
|
|
@@ -9,7 +9,6 @@ export interface ViewerGridMainPanelProps {
|
|
|
9
9
|
mainPanelHidden: boolean;
|
|
10
10
|
shrinkMain: () => void;
|
|
11
11
|
expandMain: () => void;
|
|
12
|
-
expandContent: () => void;
|
|
13
12
|
toggleMainPanel: () => void;
|
|
14
13
|
dsoMainSizeChangeAnimationEnd: EventEmitter<ViewerGridChangeSizeAnimationEndEvent>;
|
|
15
14
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FunctionalComponent } from "../../../stencil-public-runtime";
|
|
2
|
+
import { ViewerGridPanelSize } from "../viewer-grid.interfaces";
|
|
3
|
+
interface SizingButtonProps {
|
|
4
|
+
panelLabel: string;
|
|
5
|
+
size: ViewerGridPanelSize;
|
|
6
|
+
expand: () => void;
|
|
7
|
+
shrink: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const SizingButtons: FunctionalComponent<SizingButtonProps>;
|
|
10
|
+
export {};
|
|
@@ -6,7 +6,6 @@ import { ViewerGridPanelSize, ViewerGridVdkTab, ViewerGridVrkTab, ViewerGridChan
|
|
|
6
6
|
* @slot filterpanel
|
|
7
7
|
* @slot overlay
|
|
8
8
|
* @slot document-panel - VDK only
|
|
9
|
-
* @slot main-expanded - VDK only
|
|
10
9
|
*/
|
|
11
10
|
export declare class ViewerGrid {
|
|
12
11
|
private mediaCondition;
|
|
@@ -111,7 +110,6 @@ export declare class ViewerGrid {
|
|
|
111
110
|
private emitExpandMain;
|
|
112
111
|
private shrinkDocumentPanel;
|
|
113
112
|
private expandDocumentPanel;
|
|
114
|
-
private expandContent;
|
|
115
113
|
private toggleMainPanel;
|
|
116
114
|
private changeListener;
|
|
117
115
|
private handleFilterpanelApply;
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { AccordionInternalState, AccordionVariant } from "./components/accordion/accordion.interfaces";
|
|
9
|
-
import { AccordionHeading, AccordionSectionAnimationEndEvent, AccordionSectionState, AccordionSectionToggleClickEvent } from "./components/accordion/components/accordion-section.interfaces";
|
|
9
|
+
import { AccordionHeading, AccordionSectionAnimationEndEvent, AccordionSectionAnimationStartEvent, AccordionSectionState, AccordionSectionToggleClickEvent } from "./components/accordion/components/accordion-section.interfaces";
|
|
10
10
|
import { AnnotationButtonClickEvent } from "./components/annotation-button/annotation-button";
|
|
11
11
|
import { AnnotationOutputCloseEvent } from "./components/annotation-output/annotation-output";
|
|
12
12
|
import { Suggestion } from "./components/autosuggest/autosuggest.interfaces";
|
|
13
13
|
import { DsoCardClickedEvent, ImageShape } from "./components/card/card.interfaces";
|
|
14
14
|
import { CardContainerMode } from "./components/card-container/card-container.interfaces";
|
|
15
15
|
import { DatePickerChangeEvent, DatePickerFocusEvent, DatePickerKeyboardEvent } from "./components/date-picker/date-picker.interfaces";
|
|
16
|
-
import { DocumentComponentOpenToggleEvent, DocumentComponentOzonContentAnchorClickEvent, DocumentComponentToggleAnnotationEvent, DocumentComponentWijzigactie } from "./components/document-component/document-component.models";
|
|
16
|
+
import { DocumentComponentInputType, DocumentComponentOpenToggleEvent, DocumentComponentOzonContentAnchorClickEvent, DocumentComponentToggleAnnotationEvent, DocumentComponentWijzigactie } from "./components/document-component/document-component.models";
|
|
17
17
|
import { Placement } from "@popperjs/core";
|
|
18
|
-
import { ExpandableAnimationEndEvent } from "./components/expandable/expandable";
|
|
18
|
+
import { ExpandableAnimationEndEvent, ExpandableAnimationStartEvent } from "./components/expandable/expandable";
|
|
19
19
|
import { HeaderEvent, HeaderMenuItem } from "./components/header/header.interfaces";
|
|
20
20
|
import { InfoButtonToggleEvent } from "./components/info-button/info-button.interfaces";
|
|
21
21
|
import { ListButtonChangeEvent, ListButtonSelectedEvent } from "./components/list-button/list-button.interfaces";
|
|
@@ -23,7 +23,7 @@ import { BaseLayer, BaseLayerChangeEvent } from "./components/map-base-layers/ma
|
|
|
23
23
|
import { MapControlsToggleEvent } from "./components/map-controls/map-controls.interfaces";
|
|
24
24
|
import { Overlay, OverlayChangeEvent } from "./components/map-overlays/map-overlays.interfaces";
|
|
25
25
|
import { ModalCloseEvent } from "./components/modal/modal.interfaces";
|
|
26
|
-
import { OzonContentAnchorClickEvent } from "./components/ozon-content/ozon-content.interfaces";
|
|
26
|
+
import { OzonContentAnchorClickEvent, OzonContentInputType } from "./components/ozon-content/ozon-content.interfaces";
|
|
27
27
|
import { PaginationSelectPageEvent } from "./components/pagination/pagination.interfaces";
|
|
28
28
|
import { ResponsiveElementSize } from "./components/responsive-element/responsive-element.interfaces";
|
|
29
29
|
import { DsoScrollEndEvent } from "./components/scrollable/scrollable.interfaces";
|
|
@@ -32,16 +32,16 @@ import { SlideToggleActiveEvent } from "./components/slide-toggle/slide-toggle.i
|
|
|
32
32
|
import { TreeViewItem, TreeViewPointerEvent } from "./components/tree-view/tree-view.interfaces";
|
|
33
33
|
import { ViewerGridActiveTabSwitchEvent, ViewerGridChangeSizeAnimationEndEvent, ViewerGridChangeSizeEvent, ViewerGridCloseOverlayEvent, ViewerGridFilterpanelApplyEvent, ViewerGridFilterpanelCancelEvent, ViewerGridMainExpandEvent, ViewerGridMainToggleEvent, ViewerGridMode, ViewerGridPanelSize, ViewerGridVdkTab, ViewerGridVrkTab } from "./components/viewer-grid/viewer-grid.interfaces";
|
|
34
34
|
export { AccordionInternalState, AccordionVariant } from "./components/accordion/accordion.interfaces";
|
|
35
|
-
export { AccordionHeading, AccordionSectionAnimationEndEvent, AccordionSectionState, AccordionSectionToggleClickEvent } from "./components/accordion/components/accordion-section.interfaces";
|
|
35
|
+
export { AccordionHeading, AccordionSectionAnimationEndEvent, AccordionSectionAnimationStartEvent, AccordionSectionState, AccordionSectionToggleClickEvent } from "./components/accordion/components/accordion-section.interfaces";
|
|
36
36
|
export { AnnotationButtonClickEvent } from "./components/annotation-button/annotation-button";
|
|
37
37
|
export { AnnotationOutputCloseEvent } from "./components/annotation-output/annotation-output";
|
|
38
38
|
export { Suggestion } from "./components/autosuggest/autosuggest.interfaces";
|
|
39
39
|
export { DsoCardClickedEvent, ImageShape } from "./components/card/card.interfaces";
|
|
40
40
|
export { CardContainerMode } from "./components/card-container/card-container.interfaces";
|
|
41
41
|
export { DatePickerChangeEvent, DatePickerFocusEvent, DatePickerKeyboardEvent } from "./components/date-picker/date-picker.interfaces";
|
|
42
|
-
export { DocumentComponentOpenToggleEvent, DocumentComponentOzonContentAnchorClickEvent, DocumentComponentToggleAnnotationEvent, DocumentComponentWijzigactie } from "./components/document-component/document-component.models";
|
|
42
|
+
export { DocumentComponentInputType, DocumentComponentOpenToggleEvent, DocumentComponentOzonContentAnchorClickEvent, DocumentComponentToggleAnnotationEvent, DocumentComponentWijzigactie } from "./components/document-component/document-component.models";
|
|
43
43
|
export { Placement } from "@popperjs/core";
|
|
44
|
-
export { ExpandableAnimationEndEvent } from "./components/expandable/expandable";
|
|
44
|
+
export { ExpandableAnimationEndEvent, ExpandableAnimationStartEvent } from "./components/expandable/expandable";
|
|
45
45
|
export { HeaderEvent, HeaderMenuItem } from "./components/header/header.interfaces";
|
|
46
46
|
export { InfoButtonToggleEvent } from "./components/info-button/info-button.interfaces";
|
|
47
47
|
export { ListButtonChangeEvent, ListButtonSelectedEvent } from "./components/list-button/list-button.interfaces";
|
|
@@ -49,7 +49,7 @@ export { BaseLayer, BaseLayerChangeEvent } from "./components/map-base-layers/ma
|
|
|
49
49
|
export { MapControlsToggleEvent } from "./components/map-controls/map-controls.interfaces";
|
|
50
50
|
export { Overlay, OverlayChangeEvent } from "./components/map-overlays/map-overlays.interfaces";
|
|
51
51
|
export { ModalCloseEvent } from "./components/modal/modal.interfaces";
|
|
52
|
-
export { OzonContentAnchorClickEvent } from "./components/ozon-content/ozon-content.interfaces";
|
|
52
|
+
export { OzonContentAnchorClickEvent, OzonContentInputType } from "./components/ozon-content/ozon-content.interfaces";
|
|
53
53
|
export { PaginationSelectPageEvent } from "./components/pagination/pagination.interfaces";
|
|
54
54
|
export { ResponsiveElementSize } from "./components/responsive-element/responsive-element.interfaces";
|
|
55
55
|
export { DsoScrollEndEvent } from "./components/scrollable/scrollable.interfaces";
|
|
@@ -74,6 +74,10 @@ export namespace Components {
|
|
|
74
74
|
* `attachmentCount` takes precedence over `icon`
|
|
75
75
|
*/
|
|
76
76
|
"attachmentCount"?: number;
|
|
77
|
+
/**
|
|
78
|
+
* Calling this method will set focus to the handle.
|
|
79
|
+
*/
|
|
80
|
+
"focusHandle": () => Promise<void>;
|
|
77
81
|
/**
|
|
78
82
|
* The title of the handle
|
|
79
83
|
*/
|
|
@@ -82,6 +86,10 @@ export namespace Components {
|
|
|
82
86
|
* When set the handle will render as a `<a>`. When undefined it renders as a `<button>`
|
|
83
87
|
*/
|
|
84
88
|
"handleUrl"?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Set when this Accordion Section contains or will contain an Accordion.
|
|
91
|
+
*/
|
|
92
|
+
"hasNestedAccordion": boolean;
|
|
85
93
|
/**
|
|
86
94
|
* Which heading element to use.
|
|
87
95
|
*/
|
|
@@ -315,11 +323,11 @@ export namespace Components {
|
|
|
315
323
|
/**
|
|
316
324
|
* The Inhoud XML.
|
|
317
325
|
*/
|
|
318
|
-
"inhoud"?:
|
|
326
|
+
"inhoud"?: DocumentComponentInputType;
|
|
319
327
|
/**
|
|
320
328
|
* The Label XML.
|
|
321
329
|
*/
|
|
322
|
-
"label"?:
|
|
330
|
+
"label"?: DocumentComponentInputType;
|
|
323
331
|
/**
|
|
324
332
|
* Marks this Document Component as not-applicable.
|
|
325
333
|
*/
|
|
@@ -327,7 +335,7 @@ export namespace Components {
|
|
|
327
335
|
/**
|
|
328
336
|
* The Nummer XML.
|
|
329
337
|
*/
|
|
330
|
-
"nummer"?:
|
|
338
|
+
"nummer"?: DocumentComponentInputType;
|
|
331
339
|
/**
|
|
332
340
|
* This boolean attribute indicates whether the children are visible.
|
|
333
341
|
*/
|
|
@@ -339,7 +347,7 @@ export namespace Components {
|
|
|
339
347
|
/**
|
|
340
348
|
* The Opschrift XML.
|
|
341
349
|
*/
|
|
342
|
-
"opschrift"?:
|
|
350
|
+
"opschrift"?: DocumentComponentInputType;
|
|
343
351
|
/**
|
|
344
352
|
* Type of Document Component.
|
|
345
353
|
*/
|
|
@@ -403,17 +411,25 @@ export namespace Components {
|
|
|
403
411
|
*/
|
|
404
412
|
"authStatus": "none" | "loggedIn" | "loggedOut";
|
|
405
413
|
/**
|
|
406
|
-
*
|
|
414
|
+
* The URL to open when the user activates "help". If no URL is specified, a button element is used instead.
|
|
415
|
+
*/
|
|
416
|
+
"helpUrl"?: string;
|
|
417
|
+
/**
|
|
418
|
+
* When the `authStatus` is `loggedOut` a loginUrl can be provided. The login button will then render as an anchor.
|
|
407
419
|
*/
|
|
408
420
|
"loginUrl"?: string;
|
|
409
421
|
/**
|
|
410
|
-
* The URL to open when the user activates "logout".
|
|
422
|
+
* The URL to open when the user activates "logout". If no URL is specified, a button element is used instead.
|
|
411
423
|
*/
|
|
412
424
|
"logoutUrl"?: string;
|
|
413
425
|
/**
|
|
414
426
|
* The main menu items.
|
|
415
427
|
*/
|
|
416
428
|
"mainMenu"?: HeaderMenuItem[];
|
|
429
|
+
/**
|
|
430
|
+
* Show a help-button or link in the header
|
|
431
|
+
*/
|
|
432
|
+
"showHelp"?: boolean | undefined;
|
|
417
433
|
/**
|
|
418
434
|
* Either have the dropdown menu appear automatically or always.
|
|
419
435
|
*/
|
|
@@ -562,7 +578,7 @@ export namespace Components {
|
|
|
562
578
|
*/
|
|
563
579
|
"label"?: string;
|
|
564
580
|
/**
|
|
565
|
-
* The ribbon contains the text for a possible 'sticker' on top of the logo. Used to clarify
|
|
581
|
+
* The ribbon contains the text for a possible 'sticker' on top of the logo. Used to clarify the (non-production) server environment ("int", "kta", "pfm", "pre", or "dmo")
|
|
566
582
|
*/
|
|
567
583
|
"ribbon"?: string;
|
|
568
584
|
}
|
|
@@ -623,7 +639,7 @@ export namespace Components {
|
|
|
623
639
|
/**
|
|
624
640
|
* The XML to be rendered.
|
|
625
641
|
*/
|
|
626
|
-
"content"
|
|
642
|
+
"content"?: OzonContentInputType;
|
|
627
643
|
/**
|
|
628
644
|
* Setting this property creates dso-ozon-content as inline element instead of a block element.
|
|
629
645
|
*/
|
|
@@ -1336,6 +1352,10 @@ declare namespace LocalJSX {
|
|
|
1336
1352
|
* When set the handle will render as a `<a>`. When undefined it renders as a `<button>`
|
|
1337
1353
|
*/
|
|
1338
1354
|
"handleUrl"?: string;
|
|
1355
|
+
/**
|
|
1356
|
+
* Set when this Accordion Section contains or will contain an Accordion.
|
|
1357
|
+
*/
|
|
1358
|
+
"hasNestedAccordion"?: boolean;
|
|
1339
1359
|
/**
|
|
1340
1360
|
* Which heading element to use.
|
|
1341
1361
|
*/
|
|
@@ -1348,6 +1368,10 @@ declare namespace LocalJSX {
|
|
|
1348
1368
|
* Event emitted when the Accordion Section completes its toggle animation.
|
|
1349
1369
|
*/
|
|
1350
1370
|
"onDsoAnimationEnd"?: (event: DsoAccordionSectionCustomEvent<AccordionSectionAnimationEndEvent>) => void;
|
|
1371
|
+
/**
|
|
1372
|
+
* Event emitted when the Accordion Section starts its toggle animation.
|
|
1373
|
+
*/
|
|
1374
|
+
"onDsoAnimationStart"?: (event: DsoAccordionSectionCustomEvent<AccordionSectionAnimationStartEvent>) => void;
|
|
1351
1375
|
/**
|
|
1352
1376
|
* Emitted when the user activates the toggle button.
|
|
1353
1377
|
*/
|
|
@@ -1621,11 +1645,11 @@ declare namespace LocalJSX {
|
|
|
1621
1645
|
/**
|
|
1622
1646
|
* The Inhoud XML.
|
|
1623
1647
|
*/
|
|
1624
|
-
"inhoud"?:
|
|
1648
|
+
"inhoud"?: DocumentComponentInputType;
|
|
1625
1649
|
/**
|
|
1626
1650
|
* The Label XML.
|
|
1627
1651
|
*/
|
|
1628
|
-
"label"?:
|
|
1652
|
+
"label"?: DocumentComponentInputType;
|
|
1629
1653
|
/**
|
|
1630
1654
|
* Marks this Document Component as not-applicable.
|
|
1631
1655
|
*/
|
|
@@ -1633,7 +1657,7 @@ declare namespace LocalJSX {
|
|
|
1633
1657
|
/**
|
|
1634
1658
|
* The Nummer XML.
|
|
1635
1659
|
*/
|
|
1636
|
-
"nummer"?:
|
|
1660
|
+
"nummer"?: DocumentComponentInputType;
|
|
1637
1661
|
/**
|
|
1638
1662
|
* Emitted when the user activates the annotation button.
|
|
1639
1663
|
*/
|
|
@@ -1657,7 +1681,7 @@ declare namespace LocalJSX {
|
|
|
1657
1681
|
/**
|
|
1658
1682
|
* The Opschrift XML.
|
|
1659
1683
|
*/
|
|
1660
|
-
"opschrift"?:
|
|
1684
|
+
"opschrift"?: DocumentComponentInputType;
|
|
1661
1685
|
/**
|
|
1662
1686
|
* Type of Document Component.
|
|
1663
1687
|
*/
|
|
@@ -1711,9 +1735,13 @@ declare namespace LocalJSX {
|
|
|
1711
1735
|
*/
|
|
1712
1736
|
"minimumHeight"?: number;
|
|
1713
1737
|
/**
|
|
1714
|
-
* Fired
|
|
1738
|
+
* Fired after expanding.
|
|
1715
1739
|
*/
|
|
1716
1740
|
"onDsoExpandableAnimationEnd"?: (event: DsoExpandableCustomEvent<ExpandableAnimationEndEvent>) => void;
|
|
1741
|
+
/**
|
|
1742
|
+
* Fired before expanding.
|
|
1743
|
+
*/
|
|
1744
|
+
"onDsoExpandableAnimationStart"?: (event: DsoExpandableCustomEvent<ExpandableAnimationStartEvent>) => void;
|
|
1717
1745
|
/**
|
|
1718
1746
|
* Set to `true` to expand the content.
|
|
1719
1747
|
*/
|
|
@@ -1725,11 +1753,15 @@ declare namespace LocalJSX {
|
|
|
1725
1753
|
*/
|
|
1726
1754
|
"authStatus"?: "none" | "loggedIn" | "loggedOut";
|
|
1727
1755
|
/**
|
|
1728
|
-
*
|
|
1756
|
+
* The URL to open when the user activates "help". If no URL is specified, a button element is used instead.
|
|
1757
|
+
*/
|
|
1758
|
+
"helpUrl"?: string;
|
|
1759
|
+
/**
|
|
1760
|
+
* When the `authStatus` is `loggedOut` a loginUrl can be provided. The login button will then render as an anchor.
|
|
1729
1761
|
*/
|
|
1730
1762
|
"loginUrl"?: string;
|
|
1731
1763
|
/**
|
|
1732
|
-
* The URL to open when the user activates "logout".
|
|
1764
|
+
* The URL to open when the user activates "logout". If no URL is specified, a button element is used instead.
|
|
1733
1765
|
*/
|
|
1734
1766
|
"logoutUrl"?: string;
|
|
1735
1767
|
/**
|
|
@@ -1740,6 +1772,10 @@ declare namespace LocalJSX {
|
|
|
1740
1772
|
* Emitted when something in the header is selected. `event.detail.type` indicates the functionality the user pressed. eg. `'login'` or `'menuItem'`
|
|
1741
1773
|
*/
|
|
1742
1774
|
"onDsoHeaderClick"?: (event: DsoHeaderCustomEvent<HeaderEvent>) => void;
|
|
1775
|
+
/**
|
|
1776
|
+
* Show a help-button or link in the header
|
|
1777
|
+
*/
|
|
1778
|
+
"showHelp"?: boolean | undefined;
|
|
1743
1779
|
/**
|
|
1744
1780
|
* Either have the dropdown menu appear automatically or always.
|
|
1745
1781
|
*/
|
|
@@ -1903,7 +1939,7 @@ declare namespace LocalJSX {
|
|
|
1903
1939
|
*/
|
|
1904
1940
|
"label"?: string;
|
|
1905
1941
|
/**
|
|
1906
|
-
* The ribbon contains the text for a possible 'sticker' on top of the logo. Used to clarify
|
|
1942
|
+
* The ribbon contains the text for a possible 'sticker' on top of the logo. Used to clarify the (non-production) server environment ("int", "kta", "pfm", "pre", or "dmo")
|
|
1907
1943
|
*/
|
|
1908
1944
|
"ribbon"?: string;
|
|
1909
1945
|
}
|
|
@@ -1983,7 +2019,7 @@ declare namespace LocalJSX {
|
|
|
1983
2019
|
/**
|
|
1984
2020
|
* The XML to be rendered.
|
|
1985
2021
|
*/
|
|
1986
|
-
"content"?:
|
|
2022
|
+
"content"?: OzonContentInputType;
|
|
1987
2023
|
/**
|
|
1988
2024
|
* Setting this property creates dso-ozon-content as inline element instead of a block element.
|
|
1989
2025
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dso-toolkit/core",
|
|
3
|
-
"version": "62.
|
|
3
|
+
"version": "62.2.0",
|
|
4
4
|
"description": "DSO Toolkit Web Components",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/components/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@types/animejs": "^3.1.7",
|
|
26
26
|
"animejs": "3.2.1",
|
|
27
27
|
"clsx": "^2.0.0",
|
|
28
|
-
"dso-toolkit": "^62.
|
|
28
|
+
"dso-toolkit": "^62.2.0",
|
|
29
29
|
"escape-string-regexp": "^5.0.0",
|
|
30
30
|
"focus-trap": "^7.5.2",
|
|
31
31
|
"popper-max-size-modifier": "^0.2.0",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
export const HandleElement = ({ handleUrl, onClick, open }, children) => {
|
|
3
|
-
if (handleUrl) {
|
|
4
|
-
return (h("a", { href: handleUrl, onClick: onClick, "aria-expanded": open ? "true" : "false" }, children));
|
|
5
|
-
}
|
|
6
|
-
return (h("button", { type: "button", onClick: onClick, "aria-expanded": open ? "true" : "false" }, children));
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=element.handle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"element.handle.js","sourceRoot":"","sources":["../../../../../src/components/accordion/components/handles/element.handle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,CAAC,EAAE,MAAM,eAAe,CAAC;AAEvD,MAAM,CAAC,MAAM,aAAa,GAIrB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,EAAE;EAC9C,IAAI,SAAS,EAAE;IACb,OAAO,CACL,SAAG,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,mBAAiB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,IACzE,QAAQ,CACP,CACL,CAAC;GACH;EAED,OAAO,CACL,cAAQ,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,OAAO,mBAAiB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,IAC3E,QAAQ,CACF,CACV,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { FunctionalComponent, h } from \"@stencil/core\";\r\n\r\nexport const HandleElement: FunctionalComponent<{\r\n handleUrl: string | undefined;\r\n open: boolean;\r\n onClick: (e: MouseEvent) => void;\r\n}> = ({ handleUrl, onClick, open }, children) => {\r\n if (handleUrl) {\r\n return (\r\n <a href={handleUrl} onClick={onClick} aria-expanded={open ? \"true\" : \"false\"}>\r\n {children}\r\n </a>\r\n );\r\n }\r\n\r\n return (\r\n <button type=\"button\" onClick={onClick} aria-expanded={open ? \"true\" : \"false\"}>\r\n {children}\r\n </button>\r\n );\r\n};\r\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
export const Handle = ({ heading, ref }, children) => {
|
|
3
|
-
switch (heading) {
|
|
4
|
-
default:
|
|
5
|
-
case "h2":
|
|
6
|
-
return (h("h2", { ref: ref, class: "dso-section-handle" }, children));
|
|
7
|
-
case "h3":
|
|
8
|
-
return (h("h3", { ref: ref, class: "dso-section-handle" }, children));
|
|
9
|
-
case "h4":
|
|
10
|
-
return (h("h4", { ref: ref, class: "dso-section-handle" }, children));
|
|
11
|
-
case "h5":
|
|
12
|
-
return (h("h5", { ref: ref, class: "dso-section-handle" }, children));
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=heading.handle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"heading.handle.js","sourceRoot":"","sources":["../../../../../src/components/accordion/components/handles/heading.handle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,CAAC,EAAE,MAAM,eAAe,CAAC;AAIvD,MAAM,CAAC,MAAM,MAAM,GAGd,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE;EAClC,QAAQ,OAAO,EAAE;IACf,QAAQ;IACR,KAAK,IAAI;MACP,OAAO,CACL,UAAI,GAAG,EAAE,GAAG,EAAE,KAAK,EAAC,oBAAoB,IACrC,QAAQ,CACN,CACN,CAAC;IACJ,KAAK,IAAI;MACP,OAAO,CACL,UAAI,GAAG,EAAE,GAAG,EAAE,KAAK,EAAC,oBAAoB,IACrC,QAAQ,CACN,CACN,CAAC;IACJ,KAAK,IAAI;MACP,OAAO,CACL,UAAI,GAAG,EAAE,GAAG,EAAE,KAAK,EAAC,oBAAoB,IACrC,QAAQ,CACN,CACN,CAAC;IACJ,KAAK,IAAI;MACP,OAAO,CACL,UAAI,GAAG,EAAE,GAAG,EAAE,KAAK,EAAC,oBAAoB,IACrC,QAAQ,CACN,CACN,CAAC;GACL;AACH,CAAC,CAAC","sourcesContent":["import { FunctionalComponent, h } from \"@stencil/core\";\r\n\r\nimport { AccordionHeading } from \"../accordion-section.interfaces\";\r\n\r\nexport const Handle: FunctionalComponent<{\r\n heading: AccordionHeading;\r\n ref: (element: HTMLHeadingElement | undefined) => void;\r\n}> = ({ heading, ref }, children) => {\r\n switch (heading) {\r\n default:\r\n case \"h2\":\r\n return (\r\n <h2 ref={ref} class=\"dso-section-handle\">\r\n {children}\r\n </h2>\r\n );\r\n case \"h3\":\r\n return (\r\n <h3 ref={ref} class=\"dso-section-handle\">\r\n {children}\r\n </h3>\r\n );\r\n case \"h4\":\r\n return (\r\n <h4 ref={ref} class=\"dso-section-handle\">\r\n {children}\r\n </h4>\r\n );\r\n case \"h5\":\r\n return (\r\n <h5 ref={ref} class=\"dso-section-handle\">\r\n {children}\r\n </h5>\r\n );\r\n }\r\n};\r\n"]}
|