@scania/tegel 1.18.0 → 1.19.0-disable-button-beta.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.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/tds-badge.cjs.entry.js +1 -1
- package/dist/cjs/tds-button.cjs.entry.js +3 -3
- package/dist/cjs/tds-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/tds-icon.cjs.entry.js +1 -1
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +4 -3
- package/dist/cjs/tds-popover-core.cjs.entry.js +20 -10
- package/dist/cjs/tds-popover-menu.cjs.entry.js +4 -3
- package/dist/cjs/tds-slider.cjs.entry.js +7 -10
- package/dist/cjs/tds-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/tds-text-field.cjs.entry.js +13 -7
- package/dist/cjs/tds-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tds-tooltip.cjs.entry.js +4 -3
- package/dist/cjs/tegel.cjs.js +1 -1
- package/dist/collection/assets/fonts/cyrillic/ScaniaSansCY-Bold.woff +0 -0
- package/dist/collection/assets/fonts/cyrillic/ScaniaSansCY-Italic.woff +0 -0
- package/dist/collection/assets/fonts/cyrillic/ScaniaSansCY-Regular.woff +0 -0
- package/dist/collection/assets/fonts/cyrillic/ScaniaSansCYCondensed-Bold.woff +0 -0
- package/dist/collection/assets/fonts/cyrillic/ScaniaSansCYCondensed-Italic.woff +0 -0
- package/dist/collection/assets/fonts/cyrillic/ScaniaSansCYCondensed-Regular.woff +0 -0
- package/dist/collection/assets/fonts/cyrillic/ScaniaSansCYHeadline-Bold.woff +0 -0
- package/dist/collection/assets/fonts/cyrillic/ScaniaSansCYHeadline-Regular.woff +0 -0
- package/dist/collection/assets/fonts/cyrillic/ScaniaSansCYSemiCondensed-Bold.woff +0 -0
- package/dist/collection/assets/fonts/cyrillic/ScaniaSansCYSemiCondensed-Italic.woff +0 -0
- package/dist/collection/assets/fonts/cyrillic/ScaniaSansCYSemiCondensed-Regular.woff +0 -0
- package/dist/collection/assets/fonts/latin/ScaniaSans-Bold.woff +0 -0
- package/dist/collection/assets/fonts/latin/ScaniaSans-Italic.woff +0 -0
- package/dist/collection/assets/fonts/latin/ScaniaSans-Regular.woff +0 -0
- package/dist/collection/assets/fonts/latin/ScaniaSansCondensed-Bold.woff +0 -0
- package/dist/collection/assets/fonts/latin/ScaniaSansCondensed-Italic.woff +0 -0
- package/dist/collection/assets/fonts/latin/ScaniaSansCondensed-Regular.woff +0 -0
- package/dist/collection/assets/fonts/latin/ScaniaSansHeadline-Bold.woff +0 -0
- package/dist/collection/assets/fonts/latin/ScaniaSansHeadline-Regular.woff +0 -0
- package/dist/collection/assets/fonts/latin/ScaniaSansSemiCondensed-Bold.woff +0 -0
- package/dist/collection/assets/fonts/latin/ScaniaSansSemiCondensed-Italic.woff +0 -0
- package/dist/collection/assets/fonts/latin/ScaniaSansSemiCondensed-Regular.woff +0 -0
- package/dist/collection/assets/logos/scania-symbol.png +0 -0
- package/dist/collection/assets/logos/scania-symbol.svg +1 -0
- package/dist/collection/assets/logos/scania-wordmark-white.svg +1 -0
- package/dist/collection/components/badge/badge.css +0 -1
- package/dist/collection/components/banner/banner.js +1 -1
- package/dist/collection/components/button/button.css +4 -38
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/dropdown/dropdown.css +5 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/iconsArray.js +4 -1
- package/dist/collection/components/popover-canvas/popover-canvas.js +24 -6
- package/dist/collection/components/popover-core/popover-core.js +42 -14
- package/dist/collection/components/popover-menu/popover-menu.js +24 -6
- package/dist/collection/components/slider/slider.js +7 -10
- package/dist/collection/components/table/table-footer/table-footer.css +1 -1
- package/dist/collection/components/text-field/text-field.css +17 -16
- package/dist/collection/components/text-field/text-field.js +12 -6
- package/dist/collection/components/textarea/textarea.css +1 -4
- package/dist/collection/components/tooltip/tooltip.js +24 -6
- package/dist/components/{p-dc461e7b.js → p-1e1cf7f4.js} +22 -10
- package/dist/components/{p-8e74bb22.js → p-410c202c.js} +1 -1
- package/dist/components/{p-a9609e88.js → p-cc6e8a0d.js} +6 -4
- package/dist/components/{p-1c256b8d.js → p-dba781c9.js} +1 -1
- package/dist/components/{p-f5531179.js → p-fac03847.js} +2 -2
- package/dist/components/p-fbc57b28.js +65 -0
- package/dist/components/tds-accordion-item.js +1 -1
- package/dist/components/tds-badge.js +1 -1
- package/dist/components/tds-banner.js +1 -1
- package/dist/components/tds-button.js +3 -3
- package/dist/components/tds-datetime.js +1 -1
- package/dist/components/tds-dropdown-option.js +1 -1
- package/dist/components/tds-dropdown.js +1 -1
- package/dist/components/tds-folder-tabs.js +1 -1
- package/dist/components/tds-footer-group.js +1 -1
- package/dist/components/tds-header-cell.js +1 -1
- package/dist/components/tds-header-dropdown.js +3 -3
- package/dist/components/tds-header-hamburger.js +1 -1
- package/dist/components/tds-header-launcher-button.js +1 -1
- package/dist/components/tds-header-launcher.js +4 -4
- package/dist/components/tds-icon.js +1 -1
- package/dist/components/tds-inline-tabs.js +1 -1
- package/dist/components/tds-message.js +1 -1
- package/dist/components/tds-modal.js +1 -1
- package/dist/components/tds-navigation-tabs.js +1 -1
- package/dist/components/tds-popover-canvas.js +1 -1
- package/dist/components/tds-popover-core.js +1 -1
- package/dist/components/tds-popover-menu.js +6 -4
- package/dist/components/tds-side-menu-close-button.js +1 -1
- package/dist/components/tds-side-menu-dropdown.js +1 -1
- package/dist/components/tds-slider.js +8 -11
- package/dist/components/tds-step.js +1 -1
- package/dist/components/tds-table-body-input-wrapper.js +1 -1
- package/dist/components/tds-table-footer.js +4 -4
- package/dist/components/tds-table-header-input-wrapper.js +1 -1
- package/dist/components/tds-table-toolbar.js +1 -1
- package/dist/components/tds-text-field.js +14 -8
- package/dist/components/tds-textarea.js +2 -2
- package/dist/components/tds-toast.js +1 -1
- package/dist/components/tds-tooltip.js +6 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tds-badge.entry.js +1 -1
- package/dist/esm/tds-button.entry.js +3 -3
- package/dist/esm/tds-dropdown_2.entry.js +1 -1
- package/dist/esm/tds-icon.entry.js +1 -1
- package/dist/esm/tds-popover-canvas.entry.js +4 -3
- package/dist/esm/tds-popover-core.entry.js +20 -10
- package/dist/esm/tds-popover-menu.entry.js +4 -3
- package/dist/esm/tds-slider.entry.js +7 -10
- package/dist/esm/tds-table-footer.entry.js +1 -1
- package/dist/esm/tds-text-field.entry.js +13 -7
- package/dist/esm/tds-textarea.entry.js +1 -1
- package/dist/esm/tds-tooltip.entry.js +4 -3
- package/dist/esm/tegel.js +1 -1
- package/dist/tegel/assets/fonts/cyrillic/ScaniaSansCY-Bold.woff +0 -0
- package/dist/tegel/assets/fonts/cyrillic/ScaniaSansCY-Italic.woff +0 -0
- package/dist/tegel/assets/fonts/cyrillic/ScaniaSansCY-Regular.woff +0 -0
- package/dist/tegel/assets/fonts/cyrillic/ScaniaSansCYCondensed-Bold.woff +0 -0
- package/dist/tegel/assets/fonts/cyrillic/ScaniaSansCYCondensed-Italic.woff +0 -0
- package/dist/tegel/assets/fonts/cyrillic/ScaniaSansCYCondensed-Regular.woff +0 -0
- package/dist/tegel/assets/fonts/cyrillic/ScaniaSansCYHeadline-Bold.woff +0 -0
- package/dist/tegel/assets/fonts/cyrillic/ScaniaSansCYHeadline-Regular.woff +0 -0
- package/dist/tegel/assets/fonts/cyrillic/ScaniaSansCYSemiCondensed-Bold.woff +0 -0
- package/dist/tegel/assets/fonts/cyrillic/ScaniaSansCYSemiCondensed-Italic.woff +0 -0
- package/dist/tegel/assets/fonts/cyrillic/ScaniaSansCYSemiCondensed-Regular.woff +0 -0
- package/dist/tegel/assets/fonts/latin/ScaniaSans-Bold.woff +0 -0
- package/dist/tegel/assets/fonts/latin/ScaniaSans-Italic.woff +0 -0
- package/dist/tegel/assets/fonts/latin/ScaniaSans-Regular.woff +0 -0
- package/dist/tegel/assets/fonts/latin/ScaniaSansCondensed-Bold.woff +0 -0
- package/dist/tegel/assets/fonts/latin/ScaniaSansCondensed-Italic.woff +0 -0
- package/dist/tegel/assets/fonts/latin/ScaniaSansCondensed-Regular.woff +0 -0
- package/dist/tegel/assets/fonts/latin/ScaniaSansHeadline-Bold.woff +0 -0
- package/dist/tegel/assets/fonts/latin/ScaniaSansHeadline-Regular.woff +0 -0
- package/dist/tegel/assets/fonts/latin/ScaniaSansSemiCondensed-Bold.woff +0 -0
- package/dist/tegel/assets/fonts/latin/ScaniaSansSemiCondensed-Italic.woff +0 -0
- package/dist/tegel/assets/fonts/latin/ScaniaSansSemiCondensed-Regular.woff +0 -0
- package/dist/tegel/assets/logos/scania-symbol.png +0 -0
- package/dist/tegel/assets/logos/scania-symbol.svg +1 -0
- package/dist/tegel/assets/logos/scania-wordmark-white.svg +1 -0
- package/dist/tegel/{p-137929b7.entry.js → p-26ae4a93.entry.js} +1 -1
- package/dist/tegel/p-340cadba.entry.js +1 -0
- package/dist/tegel/p-443d8501.entry.js +1 -0
- package/dist/tegel/p-945439c9.entry.js +1 -0
- package/dist/tegel/{p-52be41ce.entry.js → p-9d90d6b0.entry.js} +1 -1
- package/dist/tegel/{p-285d7485.entry.js → p-abfe76a9.entry.js} +1 -1
- package/dist/tegel/p-b810cf07.entry.js +1 -0
- package/dist/tegel/p-b8f8a973.entry.js +1 -0
- package/dist/tegel/p-bb86ab14.entry.js +1 -0
- package/dist/tegel/p-e77d409f.entry.js +1 -0
- package/dist/tegel/p-f04a31b1.entry.js +1 -0
- package/dist/tegel/{p-0f486a7c.entry.js → p-f1c172a4.entry.js} +1 -1
- package/dist/tegel/tegel.css +7 -3
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +4 -1
- package/dist/types/components/popover-core/popover-core.d.ts +9 -3
- package/dist/types/components/popover-menu/popover-menu.d.ts +3 -1
- package/dist/types/components/tooltip/tooltip.d.ts +3 -1
- package/dist/types/components.d.ts +40 -8
- package/dist/types/types/Icons.d.ts +1 -1
- package/package.json +9 -4
- package/scripts/copy-assets.mjs +118 -0
- package/dist/components/p-3e74be57.js +0 -65
- package/dist/tegel/p-1ce239bf.entry.js +0 -1
- package/dist/tegel/p-2b030cef.entry.js +0 -1
- package/dist/tegel/p-4bab99d5.entry.js +0 -1
- package/dist/tegel/p-73dd2dbb.entry.js +0 -1
- package/dist/tegel/p-831111e9.entry.js +0 -1
- package/dist/tegel/p-8ae952b6.entry.js +0 -1
- package/dist/tegel/p-cd289e17.entry.js +0 -1
- package/dist/tegel/p-f0d46e61.entry.js +0 -1
package/dist/tegel/tegel.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-2049fab2.js";export{s as setNonce}from"./p-2049fab2.js";import{g as a}from"./p-e1255160.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await a(),t(JSON.parse('[["p-06d2fa56",[[1,"tds-header-launcher",{"open":[32],"buttonEl":[32],"hasListTypeMenu":[32]},[[8,"click","onAnyClick"]]]]],["p-588a05aa",[[1,"tds-header-dropdown",{"label":[1],"noDropdownIcon":[4,"no-dropdown-icon"],"selected":[4],"open":[32],"buttonEl":[32]},[[4,"click","onAnyClick"]]]]],["p-0f486a7c",[[1,"tds-table-footer",{"pagination":[516],"paginationValue":[1538,"pagination-value"],"rowsperpage":[516],"rowsPerPageValues":[16],"pages":[514],"cols":[2],"columnsNumber":[32],"compactDesign":[32],"lastCorrectValue":[32],"tableId":[32],"horizontalScrollWidth":[32],"rowsPerPageValue":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"]]]]],["p-1bc2c73c",[[1,"tds-header-hamburger"]]],["p-54a105a4",[[1,"tds-header-brand-symbol"]]],["p-4ab7461e",[[1,"tds-side-menu-dropdown",{"defaultOpen":[4,"default-open"],"buttonLabel":[1,"button-label"],"selected":[4],"open":[4],"hoverState":[32],"collapsed":[32]},[[16,"internalTdsSideMenuPropChange","collapsedSideMenuEventHandler"],[1,"pointerenter","onEventPointerEnter"],[0,"focusin","onEventFocus"],[1,"pointerleave","onEventPointerLeave"],[0,"focusout","onEventBlur"]]]]],["p-dcbd977f",[[1,"tds-side-menu-user",{"heading":[1],"subheading":[1],"imgSrc":[1,"img-src"],"imgAlt":[1,"img-alt"]}]]],["p-930e767e",[[1,"tds-accordion-item",{"header":[1],"expandIconPosition":[1,"expand-icon-position"],"disabled":[4],"expanded":[4],"paddingReset":[4,"padding-reset"],"toggleAccordionItem":[64]}]]],["p-1a2f3852",[[1,"tds-banner",{"icon":[1],"header":[1],"subheader":[1],"variant":[1],"bannerId":[1,"banner-id"],"hidden":[516],"hideBanner":[64],"showBanner":[64]}]]],["p-d1cbe5be",[[1,"tds-card",{"modeVariant":[1,"mode-variant"],"imagePlacement":[1,"image-placement"],"header":[1],"subheader":[1],"bodyImg":[1,"body-img"],"bodyImgAlt":[1,"body-img-alt"],"bodyDivider":[4,"body-divider"],"clickable":[4],"stretch":[4],"cardId":[1,"card-id"]}]]],["p-91225c7a",[[2,"tds-datetime",{"type":[513],"value":[1537],"min":[1],"max":[1],"defaultValue":[1,"default-value"],"disabled":[4],"size":[1],"noMinWidth":[4,"no-min-width"],"modeVariant":[1,"mode-variant"],"name":[1],"state":[1],"autofocus":[4],"label":[1],"helper":[1],"focusInput":[32],"setValue":[64]},[[0,"focus","handleFocusIn"],[0,"focusout","handleFocusOut"]]]]],["p-c790ef93",[[1,"tds-folder-tabs",{"modeVariant":[1,"mode-variant"],"defaultSelectedIndex":[2,"default-selected-index"],"selectedIndex":[514,"selected-index"],"buttonWidth":[32],"showLeftScroll":[32],"showRightScroll":[32],"selectTab":[64],"reinitialize":[64]},null,{"selectedIndex":["handleSelectedIndexUpdate"]}]]],["p-b4c7099f",[[1,"tds-footer-group",{"titleText":[1,"title-text"],"open":[32]}]]],["p-987084a5",[[1,"tds-header-cell",{"cellKey":[513,"cell-key"],"cellValue":[513,"cell-value"],"customWidth":[513,"custom-width"],"sortable":[4],"textAlign":[513,"text-align"],"disablePadding":[516,"disable-padding"],"textAlignState":[32],"sortingDirection":[32],"sortedByMyKey":[32],"verticalDividers":[32],"compactDesign":[32],"noMinWidth":[32],"multiselect":[32],"enableToolbarDesign":[32],"tableId":[32],"expandableRows":[32]},[[16,"internalTdsPropChange","internalTdsPropChangeListener"],[16,"internalSortButtonClicked","updateOptionsContent"]]]]],["p-6938329a",[[4,"tds-header-launcher-list"]]],["p-5d0e8f1e",[[1,"tds-header-launcher-list-item"]]],["p-a642c800",[[1,"tds-inline-tabs",{"modeVariant":[1,"mode-variant"],"defaultSelectedIndex":[2,"default-selected-index"],"selectedIndex":[514,"selected-index"],"leftPadding":[514,"left-padding"],"showLeftScroll":[32],"showRightScroll":[32],"selectTab":[64],"reinitialize":[64]},null,{"selectedIndex":["handleSelectedIndexUpdate"]}]]],["p-a9654cd4",[[1,"tds-message",{"header":[1],"modeVariant":[1,"mode-variant"],"variant":[1],"noIcon":[4,"no-icon"],"minimal":[4]}]]],["p-5a891dd2",[[1,"tds-modal",{"header":[1],"prevent":[4],"size":[1],"actionsPosition":[1,"actions-position"],"selector":[1],"referenceEl":[16],"show":[4],"closable":[4],"isShown":[32],"showModal":[64],"closeModal":[64],"initializeModal":[64],"cleanupModal":[64]}]]],["p-91dcddd5",[[1,"tds-navigation-tabs",{"modeVariant":[1,"mode-variant"],"defaultSelectedIndex":[2,"default-selected-index"],"selectedIndex":[514,"selected-index"],"leftPadding":[514,"left-padding"],"showLeftScroll":[32],"showRightScroll":[32],"selectTab":[64],"reinitialize":[64]},null,{"selectedIndex":["handleSelectedIndexUpdate"]}]]],["p-4bab99d5",[[6,"tds-popover-menu",{"selector":[1],"referenceEl":[16],"show":[4],"placement":[1],"offsetSkidding":[2,"offset-skidding"],"offsetDistance":[2,"offset-distance"],"fluidWidth":[4,"fluid-width"],"childRef":[32],"close":[64]}]]],["p-c18b2746",[[1,"tds-side-menu-close-button"]]],["p-0f38bea7",[[1,"tds-side-menu-collapse-button",{"collapsed":[32]},[[16,"internalTdsSideMenuPropChange","collapseSideMenuEventHandler"]]]]],["p-2b030cef",[[0,"tds-slider",{"label":[1],"value":[1025],"min":[1],"max":[1],"ticks":[1],"showTickNumbers":[4,"show-tick-numbers"],"tooltip":[4],"disabled":[4],"readOnly":[4,"read-only"],"controls":[4],"input":[4],"step":[1],"name":[1],"thumbSize":[1,"thumb-size"],"snap":[4],"sliderId":[1,"slider-id"],"reset":[64]},[[0,"keydown","handleKeydown"],[9,"mouseup","handleRelease"],[9,"touchend","handleRelease"],[9,"mousemove","handleMove"],[9,"touchmove","handleMove"]],{"value":["handleValueUpdate"]}]]],["p-c917d8be",[[1,"tds-step",{"index":[1],"state":[1],"hideLabels":[32],"size":[32],"orientation":[32],"labelPosition":[32]},[[16,"internalTdsPropsChange","handlePropsChange"]]]]],["p-9de400f4",[[1,"tds-table-body-input-wrapper",{"showIcon":[4,"show-icon"],"renderSlot":[32],"inputFocused":[32],"compactDesign":[32],"tableId":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"]]]]],["p-9c2dfecc",[[1,"tds-table-body-row",{"selected":[516],"disabled":[516],"clickable":[516],"multiselect":[32],"mainCheckBoxStatus":[32],"verticalDividers":[32],"compactDesign":[32],"noMinWidth":[32],"tableId":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"]]]]],["p-1634247e",[[1,"tds-table-header",{"allSelected":[1540,"all-selected"],"selected":[1540],"disabled":[1540],"indeterminate":[4],"multiselect":[32],"expandableRows":[32],"mainCheckboxSelected":[32],"mainExpendSelected":[32],"verticalDividers":[32],"compactDesign":[32],"noMinWidth":[32],"whiteBackground":[32],"enableToolbarDesign":[32],"tableId":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"],[16,"internalTdsRowExpanded","internalTdsRowExpandedListener"]]]]],["p-ff5cd75f",[[1,"tds-table-header-input-wrapper",{"showIcon":[4,"show-icon"],"compactDesign":[4,"compact-design"],"renderSlot":[32],"inputFocused":[32],"tableId":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"]]]]],["p-bb129d43",[[1,"tds-table-toolbar",{"tableTitle":[513,"table-title"],"filter":[516],"verticalDividers":[32],"compactDesign":[32],"noMinWidth":[32],"whiteBackground":[32],"tableId":[32],"horizontalScrollWidth":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"]]]]],["p-831111e9",[[6,"tds-text-field",{"type":[513],"labelPosition":[1,"label-position"],"label":[1],"min":[8],"max":[8],"helper":[1],"placeholder":[1],"value":[513],"disabled":[4],"readOnly":[4,"read-only"],"size":[1],"modeVariant":[1,"mode-variant"],"noMinWidth":[4,"no-min-width"],"name":[1],"state":[1],"maxLength":[2,"max-length"],"autofocus":[4],"focusInput":[32]}]]],["p-52be41ce",[[2,"tds-textarea",{"label":[1],"name":[1],"helper":[1],"cols":[2],"rows":[2],"labelPosition":[1,"label-position"],"placeholder":[1],"value":[1],"disabled":[4],"readOnly":[4,"read-only"],"state":[1],"maxLength":[2,"max-length"],"modeVariant":[1,"mode-variant"],"autofocus":[4],"noMinWidth":[4,"no-min-width"],"focusInput":[32]}]]],["p-088bfcd4",[[1,"tds-toast",{"toastId":[1,"toast-id"],"header":[1],"subheader":[1],"variant":[1],"hidden":[516],"closable":[4],"toastRole":[1,"toast-role"],"hideToast":[64],"showToast":[64]}]]],["p-73dd2dbb",[[6,"tds-tooltip",{"text":[1],"selector":[1],"referenceEl":[16],"mouseOverTooltip":[4,"mouse-over-tooltip"],"trigger":[1],"show":[1028],"placement":[1],"offsetSkidding":[2,"offset-skidding"],"offsetDistance":[2,"offset-distance"]}]]],["p-47bf836e",[[1,"tds-accordion",{"modeVariant":[1,"mode-variant"],"hideLastBorder":[4,"hide-last-border"]}]]],["p-137929b7",[[1,"tds-badge",{"value":[1],"hidden":[516],"size":[1],"shape":[32],"text":[32]},null,{"value":["watchProps"],"size":["watchProps"]}]]],["p-db00f607",[[1,"tds-block",{"modeVariant":[1,"mode-variant"]}]]],["p-7a83cf55",[[1,"tds-body-cell",{"cellValue":[520,"cell-value"],"cellKey":[520,"cell-key"],"disablePadding":[516,"disable-padding"],"textAlign":[513,"text-align"],"textAlignState":[32],"activeSorting":[32],"verticalDividers":[32],"compactDesign":[32],"noMinWidth":[32],"tableId":[32]},[[16,"internalTdsPropChange","internalTdsPropChangeListener"],[16,"internalTdsHover","internalTdsHoverListener"],[16,"internalTdsTextAlign","internalTdsTextAlignListener"]]]]],["p-0df92ce7",[[1,"tds-breadcrumb",{"current":[4]}]]],["p-cd5219ac",[[1,"tds-breadcrumbs"]]],["p-8ae952b6",[[6,"tds-button",{"text":[1],"type":[1],"variant":[1],"size":[1],"disabled":[4],"fullbleed":[4],"modeVariant":[1,"mode-variant"],"onlyIcon":[32]}]]],["p-fe9b385f",[[6,"tds-chip",{"type":[1],"size":[1],"chipId":[1,"chip-id"],"checked":[1540],"name":[1],"value":[1],"disabled":[4]}]]],["p-e86f2d31",[[1,"tds-folder-tab",{"disabled":[4],"selected":[32],"tabWidth":[32],"setTabWidth":[64],"setSelected":[64]}]]],["p-bda3d846",[[1,"tds-footer",{"modeVariant":[1,"mode-variant"]}]]],["p-ed02ad2b",[[1,"tds-footer-item"]]],["p-7cb43ebe",[[4,"tds-header"]]],["p-ede11de8",[[1,"tds-header-dropdown-list-user",{"imgUrl":[1,"img-url"],"imgAlt":[1,"img-alt"],"header":[1],"subheader":[1]}]]],["p-f841f094",[[4,"tds-header-launcher-grid",{"headingElement":[32]}]]],["p-9bf7f5cd",[[1,"tds-header-launcher-grid-item"]]],["p-e65dba91",[[4,"tds-header-launcher-grid-title"]]],["p-50fcdc56",[[4,"tds-header-launcher-list-title"]]],["p-959a6780",[[1,"tds-header-title"]]],["p-b00bcf39",[[1,"tds-inline-tab",{"disabled":[4],"selected":[32],"setSelected":[64]}]]],["p-c3513f1f",[[1,"tds-link",{"disabled":[4],"underline":[4]}]]],["p-ff7ae8a3",[[1,"tds-navigation-tab",{"disabled":[4],"selected":[32],"setSelected":[64]}]]],["p-b21eb276",[[1,"tds-popover-menu-item",{"disabled":[4]}]]],["p-f9325536",[[6,"tds-radio-button",{"name":[1],"value":[1],"radioId":[1,"radio-id"],"checked":[516],"required":[4],"disabled":[4]}]]],["p-4a7a977b",[[1,"tds-side-menu",{"open":[4],"persistent":[4],"collapsed":[1028],"isUpperSlotEmpty":[32],"isCollapsed":[32],"initialCollapsedState":[32]},[[16,"internalTdsCollapse","collapsedSideMenuEventHandler"]],{"collapsed":["onCollapsedChange"]}]]],["p-b9e37cf2",[[1,"tds-side-menu-dropdown-list",{"collapsed":[32]},[[16,"internalTdsSideMenuPropChange","collapsedSideMenuEventHandler"]]]]],["p-2e44b4e9",[[1,"tds-side-menu-dropdown-list-item",{"selected":[4],"dropdownHasIcon":[32],"collapsed":[32]},[[16,"internalTdsSideMenuPropChange","collapseSideMenuEventHandler"]]]]],["p-6aabf7e1",[[1,"tds-side-menu-overlay"]]],["p-57f95a1b",[[0,"tds-spinner",{"size":[1],"variant":[1]}]]],["p-5db5c8f4",[[1,"tds-stepper",{"orientation":[1],"labelPosition":[1,"label-position"],"size":[1],"hideLabels":[4,"hide-labels"],"stepperId":[1,"stepper-id"]},null,{"orientation":["handleDirectionChange"],"labelPosition":["handleLabelPositionChange"],"size":["handleSizeChange"],"hideLabels":["handleHideLabelsChange"]}]]],["p-51e49417",[[1,"tds-table",{"verticalDividers":[516,"vertical-dividers"],"compactDesign":[516,"compact-design"],"noMinWidth":[516,"no-min-width"],"multiselect":[516],"expandableRows":[516,"expandable-rows"],"responsive":[516],"modeVariant":[513,"mode-variant"],"zebraMode":[513,"zebra-mode"],"horizontalScrollWidth":[1,"horizontal-scroll-width"],"tableId":[1,"table-id"],"enableHorizontalScrollToolbarDesign":[32],"enableHorizontalScrollFooterDesign":[32],"getSelectedRows":[64]},null,{"multiselect":["multiselectChanged"],"expandableRows":["enableExpandableRowsChanged"],"compactDesign":["compactDesignChanged"],"verticalDividers":["verticalDividersChanged"],"noMinWidth":["noMinWidthChanged"],"zebraMode":["zebraModeChanged"],"modeVariant":["modeVariantChanged"],"horizontalScrollWidth":["widthChanged"]}]]],["p-aed1c5cf",[[4,"tds-table-body",{"multiselect":[32],"enablePaginationTableBody":[32],"expandableRows":[32],"multiselectArray":[32],"multiselectArrayJSON":[32],"mainCheckboxStatus":[32],"columnsNumber":[32],"zebraMode":[32],"tableId":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"],[16,"internalTdsRowChange","bodyCheckboxListener"]]]]],["p-bcae4d3a",[[1,"tds-table-body-row-expandable",{"colSpan":[2,"col-span"],"rowId":[513,"row-id"],"expanded":[516],"overflow":[513],"autoCollapse":[4,"auto-collapse"],"isExpanded":[32],"tableId":[32],"columnsNumber":[32],"verticalDividers":[32],"compactDesign":[32],"noMinWidth":[32],"modeVariant":[32],"expand":[64],"collapse":[64]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"],[16,"tdsChange","handleRowExpand"]],{"expanded":["watchExpanded"]}]]],["p-19571a64",[[6,"tds-toggle",{"checked":[516],"required":[4],"size":[1],"name":[1],"headline":[1],"disabled":[4],"toggleId":[1,"toggle-id"],"toggle":[64]}]]],["p-e7108828",[[1,"tds-header-item",{"active":[4],"selected":[4]}],[1,"tds-core-header-item"]]],["p-b9ac3122",[[1,"tds-header-launcher-button",{"active":[4]}]]],["p-6b405a0f",[[1,"tds-divider",{"orientation":[1]}]]],["p-6c26e66f",[[1,"tds-header-dropdown-list",{"size":[513],"headingElement":[32]}]]],["p-de540cc0",[[1,"tds-header-dropdown-list-item",{"selected":[4],"size":[513]}]]],["p-a464920f",[[6,"tds-checkbox",{"name":[1],"checkboxId":[1,"checkbox-id"],"disabled":[4],"required":[4],"checked":[1540],"indeterminate":[1028],"value":[1],"toggleCheckbox":[64]},null,{"indeterminate":["handleIndeterminateState"]}]]],["p-285d7485",[[17,"tds-dropdown-option",{"value":[1],"disabled":[4],"selected":[32],"multiselect":[32],"size":[32],"setSelected":[64]}],[1,"tds-dropdown",{"name":[1],"disabled":[4],"helper":[1],"label":[1],"labelPosition":[1,"label-position"],"modeVariant":[1,"mode-variant"],"openDirection":[1,"open-direction"],"placeholder":[1],"size":[1],"error":[4],"multiselect":[4],"filter":[4],"normalizeText":[4,"normalize-text"],"noResultText":[1,"no-result-text"],"defaultValue":[1,"default-value"],"open":[32],"value":[32],"filterResult":[32],"filterFocus":[32],"reset":[64],"setValue":[64],"appendValue":[64],"removeValue":[64],"close":[64]},[[9,"mousedown","onAnyClick"],[0,"keydown","onKeyDown"]],{"open":["handleOpenState"]}]]],["p-f0d46e61",[[6,"tds-popover-canvas",{"selector":[1],"referenceEl":[16],"show":[4],"placement":[1],"offsetSkidding":[2,"offset-skidding"],"offsetDistance":[2,"offset-distance"],"modifiers":[16],"childRef":[32],"close":[64]}]]],["p-7d83ba98",[[1,"tds-side-menu-user-image",{"src":[1],"alt":[1]}],[1,"tds-side-menu-user-label",{"heading":[1],"subheading":[1]}]]],["p-a5a67770",[[1,"tds-side-menu-item",{"selected":[4],"active":[4],"collapsed":[32]},[[16,"internalTdsSideMenuPropChange","collapseSideMenuEventHandler"]]]]],["p-cd289e17",[[6,"tds-popover-core",{"selector":[1],"referenceEl":[16],"show":[4],"placement":[1],"offsetSkidding":[2,"offset-skidding"],"offsetDistance":[2,"offset-distance"],"modifiers":[16],"trigger":[1],"autoHide":[4,"auto-hide"],"renderedShowValue":[32],"popperInstance":[32],"target":[32],"isShown":[32],"close":[64]},[[8,"click","onAnyClick"],[8,"internalTdsShow","onTdsShow"]],{"show":["onShowChange"],"referenceEl":["onReferenceElChanged"],"trigger":["onTriggerChanged"]}]]],["p-1ce239bf",[[1,"tds-icon",{"name":[513],"size":[513],"svgTitle":[1,"svg-title"],"svgDescription":[1,"svg-description"],"icons_object":[32],"arrayOfIcons":[32]}]]]]'),e))));
|
|
1
|
+
import{p as e,b as t}from"./p-2049fab2.js";export{s as setNonce}from"./p-2049fab2.js";import{g as a}from"./p-e1255160.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await a(),t(JSON.parse('[["p-06d2fa56",[[1,"tds-header-launcher",{"open":[32],"buttonEl":[32],"hasListTypeMenu":[32]},[[8,"click","onAnyClick"]]]]],["p-588a05aa",[[1,"tds-header-dropdown",{"label":[1],"noDropdownIcon":[4,"no-dropdown-icon"],"selected":[4],"open":[32],"buttonEl":[32]},[[4,"click","onAnyClick"]]]]],["p-f1c172a4",[[1,"tds-table-footer",{"pagination":[516],"paginationValue":[1538,"pagination-value"],"rowsperpage":[516],"rowsPerPageValues":[16],"pages":[514],"cols":[2],"columnsNumber":[32],"compactDesign":[32],"lastCorrectValue":[32],"tableId":[32],"horizontalScrollWidth":[32],"rowsPerPageValue":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"]]]]],["p-1bc2c73c",[[1,"tds-header-hamburger"]]],["p-54a105a4",[[1,"tds-header-brand-symbol"]]],["p-4ab7461e",[[1,"tds-side-menu-dropdown",{"defaultOpen":[4,"default-open"],"buttonLabel":[1,"button-label"],"selected":[4],"open":[4],"hoverState":[32],"collapsed":[32]},[[16,"internalTdsSideMenuPropChange","collapsedSideMenuEventHandler"],[1,"pointerenter","onEventPointerEnter"],[0,"focusin","onEventFocus"],[1,"pointerleave","onEventPointerLeave"],[0,"focusout","onEventBlur"]]]]],["p-dcbd977f",[[1,"tds-side-menu-user",{"heading":[1],"subheading":[1],"imgSrc":[1,"img-src"],"imgAlt":[1,"img-alt"]}]]],["p-930e767e",[[1,"tds-accordion-item",{"header":[1],"expandIconPosition":[1,"expand-icon-position"],"disabled":[4],"expanded":[4],"paddingReset":[4,"padding-reset"],"toggleAccordionItem":[64]}]]],["p-1a2f3852",[[1,"tds-banner",{"icon":[1],"header":[1],"subheader":[1],"variant":[1],"bannerId":[1,"banner-id"],"hidden":[516],"hideBanner":[64],"showBanner":[64]}]]],["p-d1cbe5be",[[1,"tds-card",{"modeVariant":[1,"mode-variant"],"imagePlacement":[1,"image-placement"],"header":[1],"subheader":[1],"bodyImg":[1,"body-img"],"bodyImgAlt":[1,"body-img-alt"],"bodyDivider":[4,"body-divider"],"clickable":[4],"stretch":[4],"cardId":[1,"card-id"]}]]],["p-91225c7a",[[2,"tds-datetime",{"type":[513],"value":[1537],"min":[1],"max":[1],"defaultValue":[1,"default-value"],"disabled":[4],"size":[1],"noMinWidth":[4,"no-min-width"],"modeVariant":[1,"mode-variant"],"name":[1],"state":[1],"autofocus":[4],"label":[1],"helper":[1],"focusInput":[32],"setValue":[64]},[[0,"focus","handleFocusIn"],[0,"focusout","handleFocusOut"]]]]],["p-c790ef93",[[1,"tds-folder-tabs",{"modeVariant":[1,"mode-variant"],"defaultSelectedIndex":[2,"default-selected-index"],"selectedIndex":[514,"selected-index"],"buttonWidth":[32],"showLeftScroll":[32],"showRightScroll":[32],"selectTab":[64],"reinitialize":[64]},null,{"selectedIndex":["handleSelectedIndexUpdate"]}]]],["p-b4c7099f",[[1,"tds-footer-group",{"titleText":[1,"title-text"],"open":[32]}]]],["p-987084a5",[[1,"tds-header-cell",{"cellKey":[513,"cell-key"],"cellValue":[513,"cell-value"],"customWidth":[513,"custom-width"],"sortable":[4],"textAlign":[513,"text-align"],"disablePadding":[516,"disable-padding"],"textAlignState":[32],"sortingDirection":[32],"sortedByMyKey":[32],"verticalDividers":[32],"compactDesign":[32],"noMinWidth":[32],"multiselect":[32],"enableToolbarDesign":[32],"tableId":[32],"expandableRows":[32]},[[16,"internalTdsPropChange","internalTdsPropChangeListener"],[16,"internalSortButtonClicked","updateOptionsContent"]]]]],["p-6938329a",[[4,"tds-header-launcher-list"]]],["p-5d0e8f1e",[[1,"tds-header-launcher-list-item"]]],["p-a642c800",[[1,"tds-inline-tabs",{"modeVariant":[1,"mode-variant"],"defaultSelectedIndex":[2,"default-selected-index"],"selectedIndex":[514,"selected-index"],"leftPadding":[514,"left-padding"],"showLeftScroll":[32],"showRightScroll":[32],"selectTab":[64],"reinitialize":[64]},null,{"selectedIndex":["handleSelectedIndexUpdate"]}]]],["p-a9654cd4",[[1,"tds-message",{"header":[1],"modeVariant":[1,"mode-variant"],"variant":[1],"noIcon":[4,"no-icon"],"minimal":[4]}]]],["p-5a891dd2",[[1,"tds-modal",{"header":[1],"prevent":[4],"size":[1],"actionsPosition":[1,"actions-position"],"selector":[1],"referenceEl":[16],"show":[4],"closable":[4],"isShown":[32],"showModal":[64],"closeModal":[64],"initializeModal":[64],"cleanupModal":[64]}]]],["p-91dcddd5",[[1,"tds-navigation-tabs",{"modeVariant":[1,"mode-variant"],"defaultSelectedIndex":[2,"default-selected-index"],"selectedIndex":[514,"selected-index"],"leftPadding":[514,"left-padding"],"showLeftScroll":[32],"showRightScroll":[32],"selectTab":[64],"reinitialize":[64]},null,{"selectedIndex":["handleSelectedIndexUpdate"]}]]],["p-b8f8a973",[[6,"tds-popover-menu",{"selector":[1],"referenceEl":[16],"show":[4],"defaultShow":[4,"default-show"],"placement":[1],"offsetSkidding":[2,"offset-skidding"],"offsetDistance":[2,"offset-distance"],"fluidWidth":[4,"fluid-width"],"childRef":[32],"close":[64]}]]],["p-c18b2746",[[1,"tds-side-menu-close-button"]]],["p-0f38bea7",[[1,"tds-side-menu-collapse-button",{"collapsed":[32]},[[16,"internalTdsSideMenuPropChange","collapseSideMenuEventHandler"]]]]],["p-f04a31b1",[[0,"tds-slider",{"label":[1],"value":[1025],"min":[1],"max":[1],"ticks":[1],"showTickNumbers":[4,"show-tick-numbers"],"tooltip":[4],"disabled":[4],"readOnly":[4,"read-only"],"controls":[4],"input":[4],"step":[1],"name":[1],"thumbSize":[1,"thumb-size"],"snap":[4],"sliderId":[1,"slider-id"],"reset":[64]},[[0,"keydown","handleKeydown"],[9,"mouseup","handleRelease"],[9,"touchend","handleRelease"],[9,"mousemove","handleMove"],[9,"touchmove","handleMove"]],{"value":["handleValueUpdate"]}]]],["p-c917d8be",[[1,"tds-step",{"index":[1],"state":[1],"hideLabels":[32],"size":[32],"orientation":[32],"labelPosition":[32]},[[16,"internalTdsPropsChange","handlePropsChange"]]]]],["p-9de400f4",[[1,"tds-table-body-input-wrapper",{"showIcon":[4,"show-icon"],"renderSlot":[32],"inputFocused":[32],"compactDesign":[32],"tableId":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"]]]]],["p-9c2dfecc",[[1,"tds-table-body-row",{"selected":[516],"disabled":[516],"clickable":[516],"multiselect":[32],"mainCheckBoxStatus":[32],"verticalDividers":[32],"compactDesign":[32],"noMinWidth":[32],"tableId":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"]]]]],["p-1634247e",[[1,"tds-table-header",{"allSelected":[1540,"all-selected"],"selected":[1540],"disabled":[1540],"indeterminate":[4],"multiselect":[32],"expandableRows":[32],"mainCheckboxSelected":[32],"mainExpendSelected":[32],"verticalDividers":[32],"compactDesign":[32],"noMinWidth":[32],"whiteBackground":[32],"enableToolbarDesign":[32],"tableId":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"],[16,"internalTdsRowExpanded","internalTdsRowExpandedListener"]]]]],["p-ff5cd75f",[[1,"tds-table-header-input-wrapper",{"showIcon":[4,"show-icon"],"compactDesign":[4,"compact-design"],"renderSlot":[32],"inputFocused":[32],"tableId":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"]]]]],["p-bb129d43",[[1,"tds-table-toolbar",{"tableTitle":[513,"table-title"],"filter":[516],"verticalDividers":[32],"compactDesign":[32],"noMinWidth":[32],"whiteBackground":[32],"tableId":[32],"horizontalScrollWidth":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"]]]]],["p-e77d409f",[[6,"tds-text-field",{"type":[513],"labelPosition":[1,"label-position"],"label":[1],"min":[8],"max":[8],"helper":[1],"placeholder":[1],"value":[513],"disabled":[4],"readOnly":[4,"read-only"],"size":[1],"modeVariant":[1,"mode-variant"],"noMinWidth":[4,"no-min-width"],"name":[1],"state":[1],"maxLength":[2,"max-length"],"autofocus":[4],"focusInput":[32]}]]],["p-9d90d6b0",[[2,"tds-textarea",{"label":[1],"name":[1],"helper":[1],"cols":[2],"rows":[2],"labelPosition":[1,"label-position"],"placeholder":[1],"value":[1],"disabled":[4],"readOnly":[4,"read-only"],"state":[1],"maxLength":[2,"max-length"],"modeVariant":[1,"mode-variant"],"autofocus":[4],"noMinWidth":[4,"no-min-width"],"focusInput":[32]}]]],["p-088bfcd4",[[1,"tds-toast",{"toastId":[1,"toast-id"],"header":[1],"subheader":[1],"variant":[1],"hidden":[516],"closable":[4],"toastRole":[1,"toast-role"],"hideToast":[64],"showToast":[64]}]]],["p-443d8501",[[6,"tds-tooltip",{"text":[1],"selector":[1],"referenceEl":[16],"defaultShow":[4,"default-show"],"mouseOverTooltip":[4,"mouse-over-tooltip"],"trigger":[1],"show":[1028],"placement":[1],"offsetSkidding":[2,"offset-skidding"],"offsetDistance":[2,"offset-distance"]}]]],["p-47bf836e",[[1,"tds-accordion",{"modeVariant":[1,"mode-variant"],"hideLastBorder":[4,"hide-last-border"]}]]],["p-26ae4a93",[[1,"tds-badge",{"value":[1],"hidden":[516],"size":[1],"shape":[32],"text":[32]},null,{"value":["watchProps"],"size":["watchProps"]}]]],["p-db00f607",[[1,"tds-block",{"modeVariant":[1,"mode-variant"]}]]],["p-7a83cf55",[[1,"tds-body-cell",{"cellValue":[520,"cell-value"],"cellKey":[520,"cell-key"],"disablePadding":[516,"disable-padding"],"textAlign":[513,"text-align"],"textAlignState":[32],"activeSorting":[32],"verticalDividers":[32],"compactDesign":[32],"noMinWidth":[32],"tableId":[32]},[[16,"internalTdsPropChange","internalTdsPropChangeListener"],[16,"internalTdsHover","internalTdsHoverListener"],[16,"internalTdsTextAlign","internalTdsTextAlignListener"]]]]],["p-0df92ce7",[[1,"tds-breadcrumb",{"current":[4]}]]],["p-cd5219ac",[[1,"tds-breadcrumbs"]]],["p-945439c9",[[6,"tds-button",{"text":[1],"type":[1],"variant":[1],"size":[1],"disabled":[4],"fullbleed":[4],"modeVariant":[1,"mode-variant"],"onlyIcon":[32]}]]],["p-fe9b385f",[[6,"tds-chip",{"type":[1],"size":[1],"chipId":[1,"chip-id"],"checked":[1540],"name":[1],"value":[1],"disabled":[4]}]]],["p-e86f2d31",[[1,"tds-folder-tab",{"disabled":[4],"selected":[32],"tabWidth":[32],"setTabWidth":[64],"setSelected":[64]}]]],["p-bda3d846",[[1,"tds-footer",{"modeVariant":[1,"mode-variant"]}]]],["p-ed02ad2b",[[1,"tds-footer-item"]]],["p-7cb43ebe",[[4,"tds-header"]]],["p-ede11de8",[[1,"tds-header-dropdown-list-user",{"imgUrl":[1,"img-url"],"imgAlt":[1,"img-alt"],"header":[1],"subheader":[1]}]]],["p-f841f094",[[4,"tds-header-launcher-grid",{"headingElement":[32]}]]],["p-9bf7f5cd",[[1,"tds-header-launcher-grid-item"]]],["p-e65dba91",[[4,"tds-header-launcher-grid-title"]]],["p-50fcdc56",[[4,"tds-header-launcher-list-title"]]],["p-959a6780",[[1,"tds-header-title"]]],["p-b00bcf39",[[1,"tds-inline-tab",{"disabled":[4],"selected":[32],"setSelected":[64]}]]],["p-c3513f1f",[[1,"tds-link",{"disabled":[4],"underline":[4]}]]],["p-ff7ae8a3",[[1,"tds-navigation-tab",{"disabled":[4],"selected":[32],"setSelected":[64]}]]],["p-b21eb276",[[1,"tds-popover-menu-item",{"disabled":[4]}]]],["p-f9325536",[[6,"tds-radio-button",{"name":[1],"value":[1],"radioId":[1,"radio-id"],"checked":[516],"required":[4],"disabled":[4]}]]],["p-4a7a977b",[[1,"tds-side-menu",{"open":[4],"persistent":[4],"collapsed":[1028],"isUpperSlotEmpty":[32],"isCollapsed":[32],"initialCollapsedState":[32]},[[16,"internalTdsCollapse","collapsedSideMenuEventHandler"]],{"collapsed":["onCollapsedChange"]}]]],["p-b9e37cf2",[[1,"tds-side-menu-dropdown-list",{"collapsed":[32]},[[16,"internalTdsSideMenuPropChange","collapsedSideMenuEventHandler"]]]]],["p-2e44b4e9",[[1,"tds-side-menu-dropdown-list-item",{"selected":[4],"dropdownHasIcon":[32],"collapsed":[32]},[[16,"internalTdsSideMenuPropChange","collapseSideMenuEventHandler"]]]]],["p-6aabf7e1",[[1,"tds-side-menu-overlay"]]],["p-57f95a1b",[[0,"tds-spinner",{"size":[1],"variant":[1]}]]],["p-5db5c8f4",[[1,"tds-stepper",{"orientation":[1],"labelPosition":[1,"label-position"],"size":[1],"hideLabels":[4,"hide-labels"],"stepperId":[1,"stepper-id"]},null,{"orientation":["handleDirectionChange"],"labelPosition":["handleLabelPositionChange"],"size":["handleSizeChange"],"hideLabels":["handleHideLabelsChange"]}]]],["p-51e49417",[[1,"tds-table",{"verticalDividers":[516,"vertical-dividers"],"compactDesign":[516,"compact-design"],"noMinWidth":[516,"no-min-width"],"multiselect":[516],"expandableRows":[516,"expandable-rows"],"responsive":[516],"modeVariant":[513,"mode-variant"],"zebraMode":[513,"zebra-mode"],"horizontalScrollWidth":[1,"horizontal-scroll-width"],"tableId":[1,"table-id"],"enableHorizontalScrollToolbarDesign":[32],"enableHorizontalScrollFooterDesign":[32],"getSelectedRows":[64]},null,{"multiselect":["multiselectChanged"],"expandableRows":["enableExpandableRowsChanged"],"compactDesign":["compactDesignChanged"],"verticalDividers":["verticalDividersChanged"],"noMinWidth":["noMinWidthChanged"],"zebraMode":["zebraModeChanged"],"modeVariant":["modeVariantChanged"],"horizontalScrollWidth":["widthChanged"]}]]],["p-aed1c5cf",[[4,"tds-table-body",{"multiselect":[32],"enablePaginationTableBody":[32],"expandableRows":[32],"multiselectArray":[32],"multiselectArrayJSON":[32],"mainCheckboxStatus":[32],"columnsNumber":[32],"zebraMode":[32],"tableId":[32]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"],[16,"internalTdsRowChange","bodyCheckboxListener"]]]]],["p-bcae4d3a",[[1,"tds-table-body-row-expandable",{"colSpan":[2,"col-span"],"rowId":[513,"row-id"],"expanded":[516],"overflow":[513],"autoCollapse":[4,"auto-collapse"],"isExpanded":[32],"tableId":[32],"columnsNumber":[32],"verticalDividers":[32],"compactDesign":[32],"noMinWidth":[32],"modeVariant":[32],"expand":[64],"collapse":[64]},[[16,"internalTdsTablePropChange","internalTdsPropChangeListener"],[16,"tdsChange","handleRowExpand"]],{"expanded":["watchExpanded"]}]]],["p-19571a64",[[6,"tds-toggle",{"checked":[516],"required":[4],"size":[1],"name":[1],"headline":[1],"disabled":[4],"toggleId":[1,"toggle-id"],"toggle":[64]}]]],["p-e7108828",[[1,"tds-header-item",{"active":[4],"selected":[4]}],[1,"tds-core-header-item"]]],["p-b9ac3122",[[1,"tds-header-launcher-button",{"active":[4]}]]],["p-6b405a0f",[[1,"tds-divider",{"orientation":[1]}]]],["p-6c26e66f",[[1,"tds-header-dropdown-list",{"size":[513],"headingElement":[32]}]]],["p-de540cc0",[[1,"tds-header-dropdown-list-item",{"selected":[4],"size":[513]}]]],["p-a464920f",[[6,"tds-checkbox",{"name":[1],"checkboxId":[1,"checkbox-id"],"disabled":[4],"required":[4],"checked":[1540],"indeterminate":[1028],"value":[1],"toggleCheckbox":[64]},null,{"indeterminate":["handleIndeterminateState"]}]]],["p-abfe76a9",[[17,"tds-dropdown-option",{"value":[1],"disabled":[4],"selected":[32],"multiselect":[32],"size":[32],"setSelected":[64]}],[1,"tds-dropdown",{"name":[1],"disabled":[4],"helper":[1],"label":[1],"labelPosition":[1,"label-position"],"modeVariant":[1,"mode-variant"],"openDirection":[1,"open-direction"],"placeholder":[1],"size":[1],"error":[4],"multiselect":[4],"filter":[4],"normalizeText":[4,"normalize-text"],"noResultText":[1,"no-result-text"],"defaultValue":[1,"default-value"],"open":[32],"value":[32],"filterResult":[32],"filterFocus":[32],"reset":[64],"setValue":[64],"appendValue":[64],"removeValue":[64],"close":[64]},[[9,"mousedown","onAnyClick"],[0,"keydown","onKeyDown"]],{"open":["handleOpenState"]}]]],["p-bb86ab14",[[6,"tds-popover-canvas",{"selector":[1],"referenceEl":[16],"defaultShow":[4,"default-show"],"show":[4],"placement":[1],"offsetSkidding":[2,"offset-skidding"],"offsetDistance":[2,"offset-distance"],"modifiers":[16],"childRef":[32],"close":[64]}]]],["p-7d83ba98",[[1,"tds-side-menu-user-image",{"src":[1],"alt":[1]}],[1,"tds-side-menu-user-label",{"heading":[1],"subheading":[1]}]]],["p-a5a67770",[[1,"tds-side-menu-item",{"selected":[4],"active":[4],"collapsed":[32]},[[16,"internalTdsSideMenuPropChange","collapseSideMenuEventHandler"]]]]],["p-b810cf07",[[6,"tds-popover-core",{"selector":[1],"referenceEl":[16],"defaultShow":[4,"default-show"],"show":[4],"placement":[1],"offsetSkidding":[2,"offset-skidding"],"offsetDistance":[2,"offset-distance"],"modifiers":[16],"trigger":[1],"autoHide":[4,"auto-hide"],"renderedShowValue":[32],"popperInstance":[32],"target":[32],"isShown":[32],"disableLogic":[32],"close":[64]},[[8,"click","onAnyClick"],[8,"internalTdsShow","onTdsShow"]],{"show":["onShowChange"],"referenceEl":["onReferenceElChanged"],"trigger":["onTriggerChanged"]}]]],["p-340cadba",[[1,"tds-icon",{"name":[513],"size":[513],"svgTitle":[1,"svg-title"],"svgDescription":[1,"svg-description"],"icons_object":[32],"arrayOfIcons":[32]}]]]]'),e))));
|
|
@@ -9,8 +9,11 @@ export declare class TdsPopoverCanvas {
|
|
|
9
9
|
selector: string;
|
|
10
10
|
/** Element that will trigger the Popover (takes priority over selector) */
|
|
11
11
|
referenceEl?: HTMLElement | null;
|
|
12
|
+
/** Decides if the component should be visible from the start. */
|
|
13
|
+
defaultShow: boolean;
|
|
12
14
|
/** Controls whether the Popover is shown or not. If this is set hiding and showing
|
|
13
|
-
* will be decided by this prop and will need to be controlled from the outside.
|
|
15
|
+
* will be decided by this prop and will need to be controlled from the outside. This
|
|
16
|
+
* also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
14
17
|
*/
|
|
15
18
|
show: boolean;
|
|
16
19
|
/** Decides the placement of the Popover Canvas. See https://popper.js.org/docs/v2/constructors/#placement */
|
|
@@ -6,7 +6,12 @@ export declare class TdsPopoverCore {
|
|
|
6
6
|
selector: string;
|
|
7
7
|
/** Element that will trigger the pop-over (takes priority over selector) */
|
|
8
8
|
referenceEl?: HTMLElement | null;
|
|
9
|
-
/** Decides if the
|
|
9
|
+
/** Decides if the component should be visible from the start. */
|
|
10
|
+
defaultShow: boolean;
|
|
11
|
+
/** Controls whether the Popover is shown or not. If this is set hiding and showing
|
|
12
|
+
* will be decided by this prop and will need to be controlled from the outside. This
|
|
13
|
+
* also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
14
|
+
*/
|
|
10
15
|
show: boolean;
|
|
11
16
|
/** Decides the placement of the Popover Menu */
|
|
12
17
|
placement: Placement;
|
|
@@ -25,6 +30,7 @@ export declare class TdsPopoverCore {
|
|
|
25
30
|
popperInstance: Instance | null;
|
|
26
31
|
target?: HTMLElement | null;
|
|
27
32
|
isShown: boolean;
|
|
33
|
+
disableLogic: boolean;
|
|
28
34
|
/** Property for closing popover programmatically */
|
|
29
35
|
close(): Promise<void>;
|
|
30
36
|
private uuid;
|
|
@@ -34,7 +40,6 @@ export declare class TdsPopoverCore {
|
|
|
34
40
|
internalTdsClose: EventEmitter<{}>;
|
|
35
41
|
onAnyClick(event: MouseEvent): void;
|
|
36
42
|
onTdsShow(event: Event): void;
|
|
37
|
-
componentWillLoad(): void;
|
|
38
43
|
onShowChange(newValue: boolean): void;
|
|
39
44
|
onReferenceElChanged(newValue: HTMLElement, oldValue: HTMLElement): void;
|
|
40
45
|
onTriggerChanged(newValue: 'click' | 'hover' | 'hover-popover'): void;
|
|
@@ -44,7 +49,8 @@ export declare class TdsPopoverCore {
|
|
|
44
49
|
private handleHide;
|
|
45
50
|
private initialize;
|
|
46
51
|
private cleanUp;
|
|
47
|
-
|
|
52
|
+
connectedCallback(): void;
|
|
53
|
+
componentWillLoad(): void;
|
|
48
54
|
componentDidRender(): void;
|
|
49
55
|
disconnectedCallback(): void;
|
|
50
56
|
render(): any;
|
|
@@ -11,9 +11,11 @@ export declare class TdsPopoverMenu {
|
|
|
11
11
|
referenceEl?: HTMLElement | null;
|
|
12
12
|
/** Controls whether the Popover is shown or not. If this is set hiding and showing
|
|
13
13
|
* will be decided by this prop and will need to be controlled from the outside. This
|
|
14
|
-
* also means that clicking outside of the popover won't close it.
|
|
14
|
+
* also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
15
15
|
*/
|
|
16
16
|
show: boolean;
|
|
17
|
+
/** Decides if the component should be visible from the start. */
|
|
18
|
+
defaultShow: boolean;
|
|
17
19
|
/** Decides the placement of the Popover Menu */
|
|
18
20
|
placement: Placement;
|
|
19
21
|
/** Sets the offset skidding */
|
|
@@ -11,11 +11,13 @@ export declare class TdsTooltip {
|
|
|
11
11
|
selector: string;
|
|
12
12
|
/** Element that will trigger the Tooltip (takes priority over selector) */
|
|
13
13
|
referenceEl?: HTMLElement | null;
|
|
14
|
+
/** Decides if the component should be visible from the start. */
|
|
15
|
+
defaultShow: boolean;
|
|
14
16
|
/** Allow mouse over Tooltip. Useful when Tooltip contains clickable elements like link or button. */
|
|
15
17
|
mouseOverTooltip: boolean;
|
|
16
18
|
/** What triggers the popover to show */
|
|
17
19
|
trigger: 'click' | 'hover';
|
|
18
|
-
/** Prop in control of showing and hiding prop */
|
|
20
|
+
/** Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop. */
|
|
19
21
|
show: boolean;
|
|
20
22
|
/** Placement of Tooltip. */
|
|
21
23
|
placement: Placement;
|
|
@@ -757,6 +757,10 @@ export namespace Components {
|
|
|
757
757
|
* Property for closing popover programmatically
|
|
758
758
|
*/
|
|
759
759
|
"close": () => Promise<void>;
|
|
760
|
+
/**
|
|
761
|
+
* Decides if the component should be visible from the start.
|
|
762
|
+
*/
|
|
763
|
+
"defaultShow": boolean;
|
|
760
764
|
/**
|
|
761
765
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
762
766
|
*/
|
|
@@ -782,7 +786,7 @@ export namespace Components {
|
|
|
782
786
|
*/
|
|
783
787
|
"selector": string;
|
|
784
788
|
/**
|
|
785
|
-
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside.
|
|
789
|
+
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
786
790
|
*/
|
|
787
791
|
"show": boolean;
|
|
788
792
|
}
|
|
@@ -795,6 +799,10 @@ export namespace Components {
|
|
|
795
799
|
* Property for closing popover programmatically
|
|
796
800
|
*/
|
|
797
801
|
"close": () => Promise<void>;
|
|
802
|
+
/**
|
|
803
|
+
* Decides if the component should be visible from the start.
|
|
804
|
+
*/
|
|
805
|
+
"defaultShow": boolean;
|
|
798
806
|
/**
|
|
799
807
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
800
808
|
*/
|
|
@@ -820,7 +828,7 @@ export namespace Components {
|
|
|
820
828
|
*/
|
|
821
829
|
"selector": string;
|
|
822
830
|
/**
|
|
823
|
-
*
|
|
831
|
+
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
824
832
|
*/
|
|
825
833
|
"show": boolean;
|
|
826
834
|
/**
|
|
@@ -833,6 +841,10 @@ export namespace Components {
|
|
|
833
841
|
* Property for closing popover programmatically
|
|
834
842
|
*/
|
|
835
843
|
"close": () => Promise<void>;
|
|
844
|
+
/**
|
|
845
|
+
* Decides if the component should be visible from the start.
|
|
846
|
+
*/
|
|
847
|
+
"defaultShow": boolean;
|
|
836
848
|
/**
|
|
837
849
|
* If true this unsets the width (160px) of the Popover Menu
|
|
838
850
|
*/
|
|
@@ -858,7 +870,7 @@ export namespace Components {
|
|
|
858
870
|
*/
|
|
859
871
|
"selector": string;
|
|
860
872
|
/**
|
|
861
|
-
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it.
|
|
873
|
+
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
862
874
|
*/
|
|
863
875
|
"show": boolean;
|
|
864
876
|
}
|
|
@@ -1468,6 +1480,10 @@ export namespace Components {
|
|
|
1468
1480
|
"toggleId": string;
|
|
1469
1481
|
}
|
|
1470
1482
|
interface TdsTooltip {
|
|
1483
|
+
/**
|
|
1484
|
+
* Decides if the component should be visible from the start.
|
|
1485
|
+
*/
|
|
1486
|
+
"defaultShow": boolean;
|
|
1471
1487
|
/**
|
|
1472
1488
|
* Allow mouse over Tooltip. Useful when Tooltip contains clickable elements like link or button.
|
|
1473
1489
|
*/
|
|
@@ -1493,7 +1509,7 @@ export namespace Components {
|
|
|
1493
1509
|
*/
|
|
1494
1510
|
"selector": string;
|
|
1495
1511
|
/**
|
|
1496
|
-
* Prop in control of showing and hiding prop
|
|
1512
|
+
* Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
|
|
1497
1513
|
*/
|
|
1498
1514
|
"show": boolean;
|
|
1499
1515
|
/**
|
|
@@ -3400,6 +3416,10 @@ declare namespace LocalJSX {
|
|
|
3400
3416
|
"selectedIndex"?: number;
|
|
3401
3417
|
}
|
|
3402
3418
|
interface TdsPopoverCanvas {
|
|
3419
|
+
/**
|
|
3420
|
+
* Decides if the component should be visible from the start.
|
|
3421
|
+
*/
|
|
3422
|
+
"defaultShow"?: boolean;
|
|
3403
3423
|
/**
|
|
3404
3424
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
3405
3425
|
*/
|
|
@@ -3425,7 +3445,7 @@ declare namespace LocalJSX {
|
|
|
3425
3445
|
*/
|
|
3426
3446
|
"selector"?: string;
|
|
3427
3447
|
/**
|
|
3428
|
-
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside.
|
|
3448
|
+
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
3429
3449
|
*/
|
|
3430
3450
|
"show"?: boolean;
|
|
3431
3451
|
}
|
|
@@ -3434,6 +3454,10 @@ declare namespace LocalJSX {
|
|
|
3434
3454
|
* Decides if the popover should hide automatically. Alternatevly it can be hidden externally based on emitted events.
|
|
3435
3455
|
*/
|
|
3436
3456
|
"autoHide"?: boolean;
|
|
3457
|
+
/**
|
|
3458
|
+
* Decides if the component should be visible from the start.
|
|
3459
|
+
*/
|
|
3460
|
+
"defaultShow"?: boolean;
|
|
3437
3461
|
/**
|
|
3438
3462
|
* Array of modifier objects to pass to popper.js. See https://popper.js.org/docs/v2/modifiers/
|
|
3439
3463
|
*/
|
|
@@ -3459,7 +3483,7 @@ declare namespace LocalJSX {
|
|
|
3459
3483
|
*/
|
|
3460
3484
|
"selector"?: string;
|
|
3461
3485
|
/**
|
|
3462
|
-
*
|
|
3486
|
+
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
3463
3487
|
*/
|
|
3464
3488
|
"show"?: boolean;
|
|
3465
3489
|
/**
|
|
@@ -3468,6 +3492,10 @@ declare namespace LocalJSX {
|
|
|
3468
3492
|
"trigger"?: 'click' | 'hover' | 'hover-popover';
|
|
3469
3493
|
}
|
|
3470
3494
|
interface TdsPopoverMenu {
|
|
3495
|
+
/**
|
|
3496
|
+
* Decides if the component should be visible from the start.
|
|
3497
|
+
*/
|
|
3498
|
+
"defaultShow"?: boolean;
|
|
3471
3499
|
/**
|
|
3472
3500
|
* If true this unsets the width (160px) of the Popover Menu
|
|
3473
3501
|
*/
|
|
@@ -3493,7 +3521,7 @@ declare namespace LocalJSX {
|
|
|
3493
3521
|
*/
|
|
3494
3522
|
"selector"?: string;
|
|
3495
3523
|
/**
|
|
3496
|
-
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it.
|
|
3524
|
+
* Controls whether the Popover is shown or not. If this is set hiding and showing will be decided by this prop and will need to be controlled from the outside. This also means that clicking outside of the popover won't close it. Takes precedence over `defaultShow` prop.
|
|
3497
3525
|
*/
|
|
3498
3526
|
"show"?: boolean;
|
|
3499
3527
|
}
|
|
@@ -4194,6 +4222,10 @@ declare namespace LocalJSX {
|
|
|
4194
4222
|
"toggleId"?: string;
|
|
4195
4223
|
}
|
|
4196
4224
|
interface TdsTooltip {
|
|
4225
|
+
/**
|
|
4226
|
+
* Decides if the component should be visible from the start.
|
|
4227
|
+
*/
|
|
4228
|
+
"defaultShow"?: boolean;
|
|
4197
4229
|
/**
|
|
4198
4230
|
* Allow mouse over Tooltip. Useful when Tooltip contains clickable elements like link or button.
|
|
4199
4231
|
*/
|
|
@@ -4219,7 +4251,7 @@ declare namespace LocalJSX {
|
|
|
4219
4251
|
*/
|
|
4220
4252
|
"selector"?: string;
|
|
4221
4253
|
/**
|
|
4222
|
-
* Prop in control of showing and hiding prop
|
|
4254
|
+
* Prop in control of showing and hiding prop. Takes precedence over `defaultOpen` prop.
|
|
4223
4255
|
*/
|
|
4224
4256
|
"show"?: boolean;
|
|
4225
4257
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type IconNames = 'arrow_diagonal' | 'arrow_down' | 'arrow_left' | 'arrow_right' | 'arrow_up' | 'back' | 'bento' | 'burger' | 'calendar_inactive' | 'calendar' | 'card' | 'cart' | 'chevron_down' | 'chevron_left' | 'chevron_right' | 'chevron_up' | 'clock_inactive' | 'clock' | 'contact_inactive' | 'contact' | 'copy' | 'cross' | 'dashboard' | 'document_check' | 'document_doc' | 'document_eye' | 'document_pdf' | 'document_ppt' | 'document_tool' | 'document_wrong' | 'document_xls' | 'document' | 'dollar' | 'doner' | 'double_kebab' | 'download' | 'edit_inactive' | 'edit' | 'email' | 'error' | 'export_inactive' | 'export' | 'eye_inactive' | 'eye' | 'face_dissatisfied' | 'face_neutral' | 'face_satisfied' | 'filters_inactive' | 'filters' | 'folder' | 'fuel_gauge_inactive' | 'fuel_gauge' | 'global' | 'heart_inactive' | 'heart' | 'home_inactive' | 'home' | 'image_add' | 'image_inactive' | 'image_set' | 'image' | 'info' | 'insights' | 'kebab' | 'link_broken' | 'link' | 'lock_inactive' | 'lock' | 'meatballs' | 'message_inactive' | 'message' | 'mileage_inactive' | 'mileage' | 'minus' | 'notification_inactive' | 'notification' | 'phone_inactive' | 'phone' | 'pin_inactive' | 'pin' | 'plus' | 'print_inactive' | 'print' | 'profile_inactive' | 'profile' | 'proportions_inactive' | 'proportions' | 'redirect' | 'refresh' | 'report_inactive' | 'report' | 'save_inactive' | 'save' | 'search' | 'send_inactive' | 'send' | 'settings' | 'share' | 'skip_backwards' | 'skip_forward' | 'smartphone_inactive' | 'smartphone' | 'sorting' | 'speedometer_inactive' | 'speedometer' | 'star' | 'support' | 'tick' | 'timer' | 'tool_inactive' | 'tool' | 'trash_inactive' | 'trash' | 'truck' | 'upload' | 'wallet' | 'warning' | 'wifi_inactive' | 'wifi';
|
|
1
|
+
export type IconNames = 'arrow_diagonal' | 'arrow_down' | 'arrow_left' | 'arrow_right' | 'arrow_up' | 'back' | 'bento' | 'burger' | 'calendar_inactive' | 'calendar' | 'card' | 'cart' | 'chevron_down' | 'chevron_left' | 'chevron_right' | 'chevron_up' | 'clock_inactive' | 'clock' | 'contact_inactive' | 'contact' | 'copy' | 'cross' | 'dashboard' | 'document_check' | 'document_doc' | 'document_eye' | 'document_pdf' | 'document_ppt' | 'document_tool' | 'document_wrong' | 'document_xls' | 'document' | 'dollar' | 'doner' | 'double_kebab' | 'download' | 'edit_inactive' | 'edit' | 'email' | 'error' | 'export_inactive' | 'export' | 'eye_inactive' | 'eye' | 'face_dissatisfied' | 'face_neutral' | 'face_satisfied' | 'filters_inactive' | 'filters' | 'flash' | 'folder' | 'fuel_gauge_inactive' | 'fuel_gauge' | 'global' | 'heart_inactive' | 'heart' | 'history' | 'home_inactive' | 'home' | 'image_add' | 'image_inactive' | 'image_set' | 'image' | 'info' | 'insights' | 'kebab' | 'link_broken' | 'link' | 'lock_inactive' | 'lock' | 'meatballs' | 'message_inactive' | 'message' | 'mileage_inactive' | 'mileage' | 'minus' | 'notification_inactive' | 'notification' | 'phone_inactive' | 'phone' | 'pin_inactive' | 'pin' | 'plus' | 'print_inactive' | 'print' | 'profile_inactive' | 'profile' | 'proportions_inactive' | 'proportions' | 'redirect' | 'refresh' | 'report_inactive' | 'report' | 'save_inactive' | 'save' | 'search' | 'send_inactive' | 'send' | 'settings' | 'share' | 'skip_backwards' | 'skip_forward' | 'smartphone_inactive' | 'smartphone' | 'sorting' | 'speedometer_inactive' | 'speedometer' | 'star' | 'support' | 'tick' | 'timer' | 'tool_inactive' | 'tool' | 'trailer' | 'trash_inactive' | 'trash' | 'truck' | 'upload' | 'wallet' | 'warning' | 'wifi_inactive' | 'wifi';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scania/tegel",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.0-disable-button-beta.1",
|
|
4
4
|
"description": "Tegel Design System",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -358,11 +358,15 @@
|
|
|
358
358
|
},
|
|
359
359
|
"files": [
|
|
360
360
|
"dist/",
|
|
361
|
-
"loader/"
|
|
361
|
+
"loader/",
|
|
362
|
+
"scripts/copy-assets.mjs"
|
|
362
363
|
],
|
|
363
364
|
"publishConfig": {
|
|
364
365
|
"access": "public"
|
|
365
366
|
},
|
|
367
|
+
"bin": {
|
|
368
|
+
"copy-assets": "./scripts/copy-assets.mjs"
|
|
369
|
+
},
|
|
366
370
|
"scripts": {
|
|
367
371
|
"build": "stencil build && stencil build --docs",
|
|
368
372
|
"_comment": "Due to stencil bug with types creation, we need to run build two times!",
|
|
@@ -372,6 +376,7 @@
|
|
|
372
376
|
"update-snapshots": "docker run --rm --network host -v $(pwd):/work/ -w /work/ mcr.microsoft.com/playwright:v1.46.1-jammy /bin/bash -c 'npm install && npx playwright test --update-snapshots && exit'",
|
|
373
377
|
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
374
378
|
"generate": "stencil generate",
|
|
379
|
+
"copy-assets": "node scripts/copy-assets.mjs",
|
|
375
380
|
"build-stencil:watch": "stencil build --docs-readme --watch",
|
|
376
381
|
"commit": "npm run --prefix ../ commit",
|
|
377
382
|
"build-storybook": "build-storybook --quiet",
|
|
@@ -382,10 +387,10 @@
|
|
|
382
387
|
"dependencies": {
|
|
383
388
|
"@popperjs/core": "2.11.8",
|
|
384
389
|
"@stencil/core": "4.19.2",
|
|
385
|
-
"date-fns": "2.30.0"
|
|
386
|
-
"prettier": "2.7.1"
|
|
390
|
+
"date-fns": "2.30.0"
|
|
387
391
|
},
|
|
388
392
|
"devDependencies": {
|
|
393
|
+
"prettier": "2.7.1",
|
|
389
394
|
"@babel/core": "7.19.1",
|
|
390
395
|
"@mdx-js/react": "3.0.1",
|
|
391
396
|
"@playwright/test": "1.46.1",
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import fs from 'fs';
|
|
3
|
+
import path from 'path';
|
|
4
|
+
import { fileURLToPath } from 'url';
|
|
5
|
+
|
|
6
|
+
const currentFilePath = fileURLToPath(import.meta.url);
|
|
7
|
+
const currentDirPath = path.dirname(currentFilePath);
|
|
8
|
+
|
|
9
|
+
// Configuration options
|
|
10
|
+
const config = {
|
|
11
|
+
defaultTargetDir: 'public/assets',
|
|
12
|
+
dryRun: false,
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
// Get custom path from command line argument, if provided
|
|
16
|
+
const targetDir = path.resolve(process.cwd(), process.argv[2] || config.defaultTargetDir);
|
|
17
|
+
|
|
18
|
+
// Determine if we're running from the installed package or from the monorepo
|
|
19
|
+
const isInstalledPackage = currentDirPath.includes('node_modules');
|
|
20
|
+
|
|
21
|
+
// Define the source directories
|
|
22
|
+
const sourceDirs = {
|
|
23
|
+
fonts: isInstalledPackage
|
|
24
|
+
? path.join(currentDirPath, '..', 'dist', 'tegel', 'assets', 'fonts')
|
|
25
|
+
: path.join(currentDirPath, '..', '..', '..', 'assets', 'fonts'),
|
|
26
|
+
logos: isInstalledPackage
|
|
27
|
+
? path.join(currentDirPath, '..', 'dist', 'tegel', 'assets', 'logos')
|
|
28
|
+
: path.join(currentDirPath, '..', '..', '..', 'assets', 'logos')
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
function copyFonts(sourceDir, targetDir) {
|
|
32
|
+
// Create target directory if it doesn't exist
|
|
33
|
+
if (!config.dryRun) {
|
|
34
|
+
fs.mkdirSync(targetDir, { recursive: true });
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
try {
|
|
38
|
+
const files = fs.readdirSync(sourceDir);
|
|
39
|
+
|
|
40
|
+
files.forEach(file => {
|
|
41
|
+
const srcPath = path.join(sourceDir, file);
|
|
42
|
+
const destPath = path.join(targetDir, file);
|
|
43
|
+
|
|
44
|
+
// Skip if not a file
|
|
45
|
+
if (!fs.statSync(srcPath).isFile()) return;
|
|
46
|
+
|
|
47
|
+
if (config.dryRun) {
|
|
48
|
+
console.log(`Would copy: ${srcPath} to ${destPath}`);
|
|
49
|
+
} else {
|
|
50
|
+
fs.copyFileSync(srcPath, destPath);
|
|
51
|
+
console.log(`Copied: ${destPath}`);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
} catch (error) {
|
|
55
|
+
console.error(`Error copying fonts from ${sourceDir}:`, error);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function copyLogos(sourceDir, targetDir) {
|
|
60
|
+
const logoTargetDir = path.join(targetDir, 'logos');
|
|
61
|
+
|
|
62
|
+
if (!config.dryRun) {
|
|
63
|
+
fs.mkdirSync(logoTargetDir, { recursive: true });
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Copy only the local fallback logos
|
|
67
|
+
const fallbackLogos = [
|
|
68
|
+
'scania-wordmark-white.svg',
|
|
69
|
+
'scania-symbol.svg',
|
|
70
|
+
'scania-symbol.png'
|
|
71
|
+
];
|
|
72
|
+
|
|
73
|
+
for (const logo of fallbackLogos) {
|
|
74
|
+
const srcPath = path.join(sourceDir, logo);
|
|
75
|
+
const destPath = path.join(logoTargetDir, logo);
|
|
76
|
+
|
|
77
|
+
if (config.dryRun) {
|
|
78
|
+
console.log(`Would copy: ${srcPath} to ${destPath}`);
|
|
79
|
+
} else if (fs.existsSync(srcPath)) {
|
|
80
|
+
fs.copyFileSync(srcPath, destPath);
|
|
81
|
+
console.log(`Copied: ${destPath}`);
|
|
82
|
+
} else {
|
|
83
|
+
console.warn(`Warning: Logo file not found: ${srcPath}`);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
console.log('Asset copying script started');
|
|
89
|
+
|
|
90
|
+
// Copy fonts
|
|
91
|
+
if (!fs.existsSync(sourceDirs.fonts)) {
|
|
92
|
+
console.error(`Error: Fonts directory does not exist: ${sourceDirs.fonts}`);
|
|
93
|
+
} else {
|
|
94
|
+
['cyrillic', 'latin'].forEach(subdir => {
|
|
95
|
+
const subSourceDir = path.join(sourceDirs.fonts, subdir);
|
|
96
|
+
const subTargetDir = path.join(targetDir, 'fonts', subdir);
|
|
97
|
+
|
|
98
|
+
if (fs.existsSync(subSourceDir)) {
|
|
99
|
+
copyFonts(subSourceDir, subTargetDir);
|
|
100
|
+
} else {
|
|
101
|
+
console.warn(`Warning: ${subdir} subdirectory not found in fonts source.`);
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// Copy logos
|
|
107
|
+
if (!fs.existsSync(sourceDirs.logos)) {
|
|
108
|
+
console.error(`Error: Logos directory does not exist: ${sourceDirs.logos}`);
|
|
109
|
+
} else {
|
|
110
|
+
copyLogos(sourceDirs.logos, targetDir);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
console.log('Asset copying process complete!');
|
|
114
|
+
if (config.dryRun) {
|
|
115
|
+
console.log('This was a dry run. No files were actually copied.');
|
|
116
|
+
}
|
|
117
|
+
console.log(`Target directory: ${targetDir}`);
|
|
118
|
+
console.log('Please ensure your application is configured to serve static files from this location.');
|